/* =============================================
   Marketplace Custom CSS - Googly Fashion Style
   ============================================= */

:root {
  --primary: #cc0000;
  --primary-dark: #990000;
  --primary-light: #ff3333;
  --orange: #FF9900;
  --orange-dark: #e68a00;
  /* Text/icon colour on top of the brand fill. Overridden per super admin colour in the layout. */
  --on-primary: #111111;
  --topbar-bg: #131921;
  --nav-bg: #131921;
  --nav-hover: #37475a;
  --header-bg: #131921;
  --gray-light: #f3f3f3;
  --gray-mid: #e7e7e7;
  --gray-border: #ddd;
  --text-dark: #0f1111;
  --text-mid: #333;
  --text-gray: #565959;
  --text-light: #888;
  --star-color: #FFA41C;
  --flash-sale-bg: #cc0000;
  --delivery-bg: #FFC107;
  --app-bg: #1a1a2e;
  --font: 'Poppins', sans-serif;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1);
  --shadow-md: 0 2px 8px rgba(0,0,0,.15);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.18);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); background: #fff; font-size: 14px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select { font-family: var(--font); }

.container { max-width: 1300px; margin: 0 auto; padding: 0 16px; }

/* =============================================
   TOPBAR
   ============================================= */
.mp-topbar {
  background: var(--topbar-bg);
  color: #ccc;
  font-size: 12px;
  padding: 6px 0;
}
.mp-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mp-topbar-left { display: flex; align-items: center; gap: 6px; }
.mp-topbar-left i { color: var(--orange); font-size: 11px; }
.mp-topbar-center { font-weight: 500; color: #ddd; }
.mp-topbar-right { display: flex; align-items: center; gap: 14px; }
.mp-topbar-right a { color: #ccc; transition: color .2s; }
.mp-topbar-right a:hover { color: #fff; }
.mp-topbar-right .sep { color: #555; }
.mp-topbar-lang { display: flex; align-items: center; gap: 4px; }
.mp-topbar-lang select {
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 12px;
  cursor: pointer;
  outline: none;
  font-family: var(--font);
}
.mp-topbar-lang select option { background: var(--topbar-bg); color: #ccc; }

/* =============================================
   HEADER
   ============================================= */
.mp-header {
  background: var(--header-bg);
  padding: 10px 0;
  border-bottom: 1px solid #232f3e;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-sm);
}
.mp-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.mp-logo { flex-shrink: 0; min-width: 120px; }
.mp-logo a { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.mp-logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}
.mp-logo-first { color: #fff; }
.mp-logo-last { color: var(--orange); }

/* Search Bar */
.mp-search { flex: 1; display: flex; height: 42px; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--orange); }
.mp-search-cat {
  background: var(--gray-light);
  border: none;
  border-right: 1px solid var(--gray-mid);
  padding: 0 10px;
  font-size: 12px;
  color: var(--text-mid);
  min-width: 120px;
  cursor: pointer;
  outline: none;
  font-family: var(--font);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
}
.mp-search-input {
  flex: 1;
  border: none;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  background: #fff;
}
.mp-search-input::placeholder { color: #aaa; }
.mp-search-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.mp-search-btn:hover { background: var(--orange-dark); }
.mp-search-btn i { font-size: 15px; }

/* Header Right Icons */
.mp-header-icons { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.mp-header-icon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 8px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
}
.mp-header-icon:hover { background: var(--nav-hover); color: #fff; }
.mp-header-icon-top { font-size: 11px; color: #ccc; display: flex; align-items: center; gap: 4px; }
.mp-header-icon-top i { font-size: 12px; }
.mp-header-icon-bottom { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 3px; }
.mp-header-icon-bottom i { font-size: 11px; }
.mp-cart-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius);
  transition: background .15s;
  color: #fff;
  font-weight: 700;
  position: relative;
}
.mp-cart-icon:hover { background: var(--nav-hover); color: #fff; }
.mp-cart-icon i { font-size: 26px; }
.mp-cart-icon .mp-cart-count {
  position: absolute;
  top: 0;
  left: 24px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mp-cart-label { font-size: 13px; font-weight: 700; }

/* Dropdown menus */
.mp-header-icon { position: relative; }
.mp-icon-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  z-index: 1000;
  display: none;
  padding: 6px 0;
}
.mp-header-icon:hover .mp-icon-dropdown { display: block; }
.mp-icon-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-dark);
  transition: background .15s;
}
.mp-icon-dropdown a:hover { background: var(--gray-light); }
.mp-icon-dropdown .mp-dropdown-heading {
  font-size: 15px;
  font-weight: 700;
  padding: 8px 14px 4px;
  border-bottom: 1px solid var(--gray-mid);
  margin-bottom: 4px;
}

/* =============================================
   NAVIGATION BAR
   ============================================= */
.mp-navbar {
  background: var(--nav-bg);
  position: sticky;
  top: 63px;
  z-index: 998;
}
.mp-navbar .container {
  display: flex;
  align-items: stretch;
  height: 40px;
  overflow: hidden;
}
.mp-navbar-link {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.mp-navbar-link:hover { background: var(--nav-hover); color: #fff; }
.mp-navbar-link.deals {
  background: var(--primary);
  font-weight: 700;
  margin-left: auto;
  padding: 0 16px;
}
.mp-navbar-link.deals:hover { background: var(--primary-dark); }

/* All Categories mega dropdown */
.mp-all-cats {
  position: relative;
}
.mp-all-cats-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  height: 100%;
  background: var(--nav-hover);
  transition: background .15s;
  border: none;
  white-space: nowrap;
}
.mp-all-cats-btn:hover { background: #4a5568; }
.mp-cats-dropdown {
  /* fixed so the panel is not clipped by .mp-navbar .container overflow */
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  display: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.mp-all-cats.open .mp-cats-dropdown { display: block; }
.mp-cats-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-light);
  transition: background .15s;
}
.mp-cats-dropdown a:last-child { border-bottom: none; }
.mp-cats-dropdown a:hover { background: var(--gray-light); color: var(--primary); }
.mp-cats-dropdown a i { font-size: 11px; color: #999; }

/* =============================================
   HERO SECTION
   ============================================= */
.mp-hero { background: var(--gray-light); padding: 12px 0; }
.mp-hero .container { display: grid; grid-template-columns: 1fr 280px; gap: 12px; align-items: start; }

/* Hero Banner Slider */
.mp-banner-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: #e8e0f0; height: 380px; }
.mp-banner-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  display: flex; align-items: center;
}
.mp-banner-slide.active { opacity: 1; }
.mp-banner-slide img { position: absolute; right: 0; top: 0; height: 100%; width: 55%; object-fit: cover; object-position: top; }
.mp-banner-content {
  position: relative; z-index: 2;
  padding: 40px 40px;
  max-width: 55%;
}
.mp-banner-tag {
  display: inline-block;
  background: rgba(0,0,0,.15);
  color: #333;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.mp-banner-content h2 { font-size: 14px; font-weight: 600; color: #555; margin-bottom: 4px; }
.mp-banner-content h1 { font-size: 36px; font-weight: 900; line-height: 1.1; color: var(--text-dark); margin-bottom: 8px; }
.mp-banner-content .mp-banner-off {
  font-size: 42px; font-weight: 900; color: var(--primary); line-height: 1;
  margin-bottom: 20px;
}
.mp-banner-content .mp-banner-off span { font-size: 28px; }
.mp-banner-shop-btn {
  display: inline-block;
  background: var(--text-dark);
  color: #fff;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius);
  transition: background .2s, transform .1s;
}
.mp-banner-shop-btn:hover { background: #333; transform: translateY(-1px); }

/* Slider dots */
.mp-banner-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.mp-banner-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer; border: 1px solid rgba(0,0,0,.2);
  transition: background .2s;
}
.mp-banner-dot.active { background: var(--text-dark); }

/* Hero right panels */
.mp-hero-right { display: flex; flex-direction: column; gap: 10px; }

/* Flash Sale card */
.mp-flash-card {
  border-radius: var(--radius);
  background: var(--flash-sale-bg);
  color: #fff;
  padding: 14px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.mp-flash-card::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.mp-flash-top { position: relative; z-index: 1; }
.mp-flash-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: .85; }
.mp-flash-title { font-size: 20px; font-weight: 900; line-height: 1.1; }
.mp-flash-off { font-size: 13px; font-weight: 600; opacity: .9; }
.mp-flash-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 20px;
  margin-top: 6px;
}
.mp-flash-link:hover { background: rgba(255,255,255,.3); color: #fff; }
.mp-flash-timer { display: flex; align-items: center; gap: 3px; font-size: 22px; font-weight: 900; letter-spacing: 1px; position: relative; z-index: 1; }
.mp-flash-timer span.sep { opacity: .7; }
.mp-flash-img {
  position: absolute; right: 10px; top: 10px; bottom: 10px;
  width: 100px;
  display: flex; align-items: center; justify-content: center;
}
.mp-flash-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }

/* Promo cards */
.mp-promo-card {
  border-radius: var(--radius); height: 90px;
  display: flex; align-items: center; gap: 14px; padding: 0 16px;
  overflow: hidden; position: relative;
}
.mp-promo-delivery { background: var(--delivery-bg); }
.mp-promo-app { background: var(--app-bg); color: #fff; }
.mp-promo-icon { font-size: 28px; flex-shrink: 0; }
.mp-promo-delivery .mp-promo-icon { color: #5d4037; }
.mp-promo-app .mp-promo-icon { color: #90caf9; }

.mp-promo-title { font-size: 13px; font-weight: 800; line-height: 1.2; }
.mp-promo-delivery .mp-promo-title { color: #3e2723; }
.mp-promo-app .mp-promo-title { color: #fff; }
.mp-promo-sub { font-size: 11px; font-weight: 500; }
.mp-promo-delivery .mp-promo-sub { color: #5d4037; }
.mp-promo-app .mp-promo-sub { color: #90caf9; }
.mp-promo-stores { display: flex; gap: 6px; margin-top: 4px; }
.mp-promo-stores a { background: rgba(255,255,255,.15); color: #fff; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 3px; }
.mp-promo-stores a:hover { background: rgba(255,255,255,.25); }

/* =============================================
   TRUST BADGES
   ============================================= */
.mp-badges { background: #fff; border-bottom: 1px solid var(--gray-mid); padding: 14px 0; }
.mp-badges .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mp-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px;
  border-right: 1px solid var(--gray-mid);
}
.mp-badge:last-child { border-right: none; }
.mp-badge-icon { font-size: 24px; color: var(--text-gray); flex-shrink: 0; }
.mp-badge-text h4 { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.mp-badge-text p { font-size: 11px; color: var(--text-gray); }

/* =============================================
   MAIN CONTENT - 3 COLUMN SECTION
   ============================================= */
.mp-main-section { background: var(--gray-light); padding: 20px 0; }
.mp-main-section .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; align-items: start; }

.mp-section-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-mid); }
.mp-section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--gray-mid);
}
.mp-section-head h3 { font-size: 16px; font-weight: 800; color: var(--text-dark); }
.mp-section-head a { font-size: 12px; color: #0066c0; font-weight: 600; }
.mp-section-head a:hover { text-decoration: underline; color: var(--primary); }

/* Top Categories */
.mp-top-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-mid);
  padding: 0;
}
.mp-cat-item {
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.mp-cat-item:hover { background: #fafafa; }
.mp-cat-thumb {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gray-light);
  overflow: hidden; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center;
}
.mp-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mp-cat-thumb i { font-size: 20px; color: var(--text-gray); }
.mp-cat-name { font-size: 11px; font-weight: 600; color: var(--text-dark); line-height: 1.3; }

/* Deal of the Day */
.mp-deal-body { padding: 16px; }
.mp-deal-img-wrap { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; background: var(--gray-light); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.mp-deal-img-wrap img { max-height: 100%; max-width: 100%; object-fit: contain; }
.mp-deal-name { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3; }
.mp-stars { display: flex; align-items: center; gap: 3px; margin-bottom: 8px; }
.mp-stars i { color: var(--star-color); font-size: 13px; }
.mp-stars span { font-size: 12px; color: var(--text-gray); margin-left: 3px; }
.mp-deal-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.mp-deal-price .sale { font-size: 20px; font-weight: 800; color: var(--primary); }
.mp-deal-price .orig { font-size: 13px; color: var(--text-gray); text-decoration: line-through; }
.mp-deal-price .badge-off { background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.mp-deal-timer-label { font-size: 12px; color: var(--text-gray); font-weight: 600; margin-bottom: 6px; }
.mp-deal-timer { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.mp-timer-block { background: var(--text-dark); color: #fff; font-size: 18px; font-weight: 800; width: 42px; height: 42px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.mp-timer-sep { font-size: 18px; font-weight: 800; color: var(--text-dark); }
.mp-add-to-cart-btn {
  width: 100%;
  background: var(--nav-bg);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font);
}
.mp-add-to-cart-btn:hover { background: #2a3542; }
.mp-deal-buy-now { width: 100%; height: auto; margin-top: 8px; padding: 11px; font-size: 14px; font-weight: 700; border-radius: var(--radius); }

/* Best Sellers */
.mp-bestsellers-wrap { padding: 10px 12px; position: relative; }
.mp-bestsellers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mp-product-mini {
  border: 1px solid var(--gray-mid); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: box-shadow .2s;
  text-decoration: none; display: block;
}
.mp-product-mini:hover { box-shadow: var(--shadow-md); }
.mp-product-mini-img { height: 110px; background: var(--gray-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mp-product-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-product-mini-info { padding: 8px; }
.mp-product-mini-name { font-size: 12px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mp-product-mini-stars { display: flex; align-items: center; gap: 2px; margin-bottom: 4px; }
.mp-product-mini-stars i { color: var(--star-color); font-size: 10px; }
.mp-product-mini-stars span { font-size: 10px; color: var(--text-gray); margin-left: 2px; }
.mp-product-mini-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.mp-product-mini-price .sale { font-size: 13px; font-weight: 700; color: var(--primary); }
.mp-product-mini-price .orig { font-size: 11px; color: var(--text-gray); text-decoration: line-through; }
.mp-product-mini .mp-card-actions { padding: 0 8px 8px; gap: 5px; }
.mp-product-mini .mp-add-cart-btn,
.mp-product-mini .mp-buy-now-btn { height: 30px; font-size: 11px; gap: 4px; }
.mp-product-mini .mp-add-cart-btn i { font-size: 12px; }
.mp-product-mini .mp-buy-now-btn i { font-size: 10px; }

/* =============================================
   COLLECTION BANNERS
   ============================================= */
.mp-collections { padding: 20px 0 24px; background: #fff; }
.mp-collections .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mp-collection-card {
  border-radius: var(--radius); overflow: hidden;
  height: 200px; position: relative;
  display: flex; align-items: flex-end;
  padding: 20px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.mp-collection-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mp-collection-card .mp-col-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.mp-collection-card .mp-col-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}
.mp-collection-content { position: relative; z-index: 1; color: #fff; }
.mp-collection-content h3 { font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.mp-collection-content p { font-size: 12px; opacity: .9; margin-bottom: 10px; }
.mp-collection-content .mp-shop-now {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: #fff;
  border: 1.5px solid rgba(255,255,255,.8); padding: 4px 12px; border-radius: 3px;
  transition: background .2s;
}
.mp-collection-content .mp-shop-now:hover { background: rgba(255,255,255,.2); }
/* Collection color themes */
.mp-col-men .mp-col-bg { background-color: #1a237e; }
.mp-col-women .mp-col-bg { background-color: #880e4f; }
.mp-col-kids .mp-col-bg { background-color: #e65100; }
.mp-col-beauty .mp-col-bg { background-color: #1b5e20; }

/* =============================================
   ALL PRODUCTS ROW (optional featured section)
   ============================================= */
.mp-featured { background: var(--gray-light); padding: 20px 0; }
.mp-featured-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mp-featured-head h2 { font-size: 20px; font-weight: 800; color: var(--text-dark); }
.mp-featured-head a { font-size: 13px; color: #0066c0; font-weight: 600; }
.mp-featured-head a:hover { text-decoration: underline; }
.mp-products-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }

/* Standard Product Card */
.mp-product-card {
  background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .15s;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--text-dark);
}
.mp-product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mp-product-img { width: 100%; height: 160px; background: var(--gray-light); overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.mp-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mp-product-card:hover .mp-product-img img { transform: scale(1.05); }
.mp-product-badge { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.mp-product-info { padding: 10px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mp-product-name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-product-stars { display: flex; align-items: center; gap: 2px; }
.mp-product-stars i { color: var(--star-color); font-size: 11px; }
.mp-product-stars span { font-size: 11px; color: var(--text-gray); margin-left: 2px; }
.mp-product-prices { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.mp-product-prices .sale { font-size: 15px; font-weight: 700; color: var(--primary); }
.mp-product-prices .orig { font-size: 11px; color: var(--text-gray); text-decoration: line-through; }
.mp-product-prices .off { font-size: 11px; color: var(--primary); font-weight: 600; }

/* =============================================
   FOOTER
   ============================================= */

/* ── Back to top ──────────────────────────────── */
.gf-footer { font-family: inherit; }
.gf-back-top { background: #37475a; padding: 14px 0; text-align: center; }
.gf-back-top a { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .3px; }
.gf-back-top a:hover { text-decoration: underline; }

/* ── 6-col link grid ──────────────────────────── */
.gf-footer-links { background: #131921; padding: 40px 0 30px; }
.gf-footer-links .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.gf-fcol h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; white-space: nowrap; }
.gf-fcol ul { list-style: none; padding: 0; margin: 0; }
.gf-fcol ul li { margin-bottom: 9px; }
.gf-fcol ul li a { font-size: 12.5px; color: #c8cdd3; transition: color .15s; }
.gf-fcol ul li a:hover { color: var(--orange); }
.gf-warehouse-list li { font-size: 12.5px; color: #c8cdd3; margin-bottom: 9px; }
.gf-warehouse-list li i { color: var(--orange); margin-right: 6px; font-size: 11px; }

/* ── Info bar ─────────────────────────────────── */
.gf-footer-info { background: #1a2332; padding: 36px 0; border-top: 1px solid #2a3a4a; }
.gf-footer-info .container { display: grid; grid-template-columns: 1.4fr 1.3fr 1.8fr 1fr 1.4fr; gap: 32px; align-items: start; }

/* Brand */
.gf-brand-logo { line-height: 1; margin-bottom: 12px; }
.gf-logo-big { display: block; font-size: 32px; font-weight: 900; color: #fff; letter-spacing: 2px; }
.gf-logo-sub { display: block; font-size: 13px; font-weight: 600; color: var(--orange); letter-spacing: 5px; }
.gf-brand p { font-size: 12.5px; color: #8fa0b3; line-height: 1.5; }

/* Info blocks */
.gf-info-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gf-info-head i { font-size: 20px; color: var(--orange); }
.gf-info-head strong { font-size: 13.5px; color: #fff; font-weight: 700; }
.gf-info-block p { font-size: 12.5px; color: #c8cdd3; margin-bottom: 6px; line-height: 1.5; }
.gf-ic { color: var(--orange); margin-right: 6px; width: 14px; }
.gf-map-link { font-size: 12.5px; color: var(--orange); font-weight: 600; }
.gf-map-link:hover { text-decoration: underline; color: var(--orange); }
.gf-map-link i { font-size: 10px; margin-left: 3px; }

/* Social */
.gf-socials { display: flex; gap: 8px; flex-wrap: nowrap; }
.gf-soc { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; transition: opacity .2s, transform .2s; }
.gf-soc img { width: 40px !important; height: 40px !important; object-fit: contain; }
.gf-soc:hover { opacity: .85; transform: translateY(-2px); color: #fff; }
.gf-soc-fb { background: #1877f2; }
.gf-soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.gf-soc-yt { background: #ff0000; }
.gf-soc-li { background: #0a66c2; }
.gf-soc-tt { background: #010101; }

/* App buttons */
.gf-app-btn { display: flex; align-items: center; gap: 10px; background: #000; border: 1.5px solid #555; border-radius: 8px; padding: 8px 14px; margin-bottom: 10px; color: #fff; transition: border-color .2s; text-decoration: none; }
.gf-app-btn:hover { border-color: var(--orange); color: #fff; }
.gf-app-btn i { font-size: 22px; }
.gf-app-btn span { font-size: 13px; font-weight: 600; line-height: 1.3; }
.gf-app-btn small { font-size: 10px; font-weight: 400; color: #aaa; display: block; }

/* ── Policy bar ───────────────────────────────── */
.gf-footer-policy { background: #0d1117; padding: 14px 0; border-top: 1px solid #222d3a; }
.gf-footer-policy .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gf-policy-links { display: flex; flex-wrap: wrap; gap: 0; }
.gf-policy-links a { font-size: 12px; color: #8fa0b3; padding: 0 12px; border-right: 1px solid #3a4a5a; line-height: 1; }
.gf-policy-links a:first-child { padding-left: 0; }
.gf-policy-links a:last-child { border-right: none; }
.gf-policy-links a:hover { color: var(--orange); }
.gf-payment-icons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gf-pay-img { height: 22px; width: auto; background: #fff; border-radius: 4px; padding: 2px 5px; object-fit: contain; }
.gf-pay-label { font-size: 11px; font-weight: 800; border-radius: 4px; padding: 3px 8px; letter-spacing: .3px; }
.gf-bkash { background: #e2136e; color: #fff; }
.gf-nagad { background: #f05a28; color: #fff; }
.gf-ssl { font-size: 12px; color: #8fa0b3; display: flex; align-items: center; gap: 5px; }
.gf-ssl i { color: #2ecc71; }

/* ── Copyright ────────────────────────────────── */
.gf-copyright { background: #0d1117; padding: 12px 0; border-top: 1px solid #1a2332; }
.gf-copyright .container { display: flex; justify-content: center; }
.gf-copyright p { font-size: 12px; color: #5a6a7a; margin: 0; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1100px) {
  .gf-footer-links .container { grid-template-columns: repeat(3,1fr); }
  .gf-footer-info .container { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 700px) {
  .gf-footer-links .container { grid-template-columns: repeat(2,1fr); }
  .gf-footer-info .container { grid-template-columns: 1fr 1fr; }
  .gf-footer-policy .container { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   UTILITIES
   ============================================= */
.d-none { display: none !important; }

/* Mobile search overlay */
.mp-mobile-search { display: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .mp-products-grid { grid-template-columns: repeat(4, 1fr); }
  .mp-header-icon .mp-header-icon-bottom { font-size: 12px; }
}

@media (max-width: 1024px) {
  .mp-hero .container { grid-template-columns: 1fr; }
  .mp-hero-right { flex-direction: row; }
  .mp-flash-card { flex: 1; }
  .mp-promo-card { flex: 1; }
  .mp-banner-wrap { height: 300px; }
  .mp-main-section .container { grid-template-columns: 1fr 1fr; }
  .mp-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .mp-topbar-left, .mp-topbar-center { display: none; }
  .mp-topbar-right { margin-left: auto; }
  .mp-header .container { flex-wrap: wrap; }
  .mp-search { order: 3; width: 100%; flex-basis: 100%; }
  .mp-search-cat { display: none; }
  .mp-header-icon .mp-header-icon-top,
  .mp-header-icon .mp-header-icon-bottom { font-size: 11px; }
  .mp-navbar .container { overflow-x: auto; scrollbar-width: none; }
  .mp-navbar .container::-webkit-scrollbar { display: none; }
  .mp-navbar-link { padding: 0 10px; font-size: 12px; }
  .mp-hero-right { flex-direction: column; }
  .mp-main-section .container { grid-template-columns: 1fr; }
  .mp-collections .container { grid-template-columns: repeat(2, 1fr); }
  .mp-badges .container { grid-template-columns: repeat(2, 1fr); }
  .mp-badge { border-right: none; border-bottom: 1px solid var(--gray-mid); }
  .mp-products-grid { grid-template-columns: repeat(2, 1fr); }
  /* footer responsive handled in gf-footer block above */
}

@media (max-width: 480px) {
  .mp-banner-content h1 { font-size: 24px; }
  .mp-banner-content .mp-banner-off { font-size: 28px; }
  .mp-banner-img { display: none; }
  .mp-collections .container { grid-template-columns: 1fr 1fr; }
  .mp-footer-main .container { grid-template-columns: 1fr; }
}

/* =============================================
   BREADCRUMB
   ============================================= */
.mp-breadcrumb {
  background: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
  padding: 10px 0;
  font-size: 13px;
  color: #555;
}
.mp-breadcrumb a { color: #0066c0; text-decoration: none; }
.mp-breadcrumb a:hover { text-decoration: underline; }
.mp-breadcrumb .fas { margin: 0 5px; font-size: 10px; color: #999; }

/* =============================================
   SHARED PRODUCT GRID
   ============================================= */
.mp-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.mp-product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.mp-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.mp-product-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #f5f5f5; }
.mp-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mp-product-card:hover .mp-product-img img { transform: scale(1.05); }
.mp-product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 48px; }
.mp-badge-discount { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.mp-wishlist-btn { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; width: 30px; height: 30px; cursor: pointer; color: #666; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: color .2s; }
.mp-wishlist-btn:hover { color: var(--primary); }
.mp-product-info { padding: 10px 12px; flex: 1; }
.mp-product-name { font-size: 13px; font-weight: 500; color: #333; line-height: 1.4; margin-bottom: 4px; }
.mp-product-vendor { font-size: 11px; color: #0066c0; margin-bottom: 4px; }
.mp-product-rating { font-size: 12px; color: var(--star-color); margin-bottom: 6px; }
.mp-product-rating span { color: #777; margin-left: 4px; }
.mp-product-price { display: flex; align-items: center; gap: 6px; }
.mp-price-current { font-size: 16px; font-weight: 700; color: var(--primary); }
.mp-price-old { font-size: 13px; color: #999; text-decoration: line-through; }
.mp-in-stock { font-size: 11px; color: #007600; margin-top: 4px; display: block; }
.mp-out-stock { font-size: 11px; color: var(--primary); margin-top: 4px; display: block; }
/* Card action row: icon-only Add to Cart (20%) + Buy at <price> (80%), same line */
.mp-card-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
  padding: 0 12px 12px;
  margin-top: auto;
}
.mp-add-cart-btn,
.mp-buy-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 6px;
  border: none;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
/* Icon-only, fixed 20% of the row */
.mp-add-cart-btn {
  flex: 0 0 20%;
  min-width: 0;
  background: var(--nav-bg);
  color: #fff;
}
.mp-add-cart-btn i { font-size: 14px; color: #fff; }
.mp-add-cart-btn:hover { background: #2a3542; color: #fff; }
/* Fills the remaining ~80%, in the super admin brand colour */
.mp-buy-now-btn {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--orange);
  color: var(--on-primary);
  overflow: hidden;
}
.mp-buy-now-btn i { font-size: 12px; color: var(--on-primary); }
.mp-buy-now-btn:hover { background: var(--orange-dark); color: var(--on-primary); filter: brightness(.93); }

/* =============================================
   PRODUCT LIST PAGE
   ============================================= */
.mp-product-list-page { padding: 24px 0 48px; }
.mp-pl-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.mp-pl-sidebar { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 16px; height: fit-content; position: sticky; top: 80px; }
.mp-filter-block { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.mp-filter-block:last-child { margin-bottom: 0; border-bottom: none; }
.mp-filter-block h4 { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.mp-filter-block ul { list-style: none; padding: 0; margin: 0; }
.mp-filter-block ul li { margin-bottom: 6px; }
.mp-filter-block ul li a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 3px;
}
.mp-filter-block ul li a:hover, .mp-filter-block ul li a.active { color: var(--primary); background: #fff5f5; font-weight: 600; }
.mp-cat-icon {
  font-size: 15px;
  color: #777;
  width: 20px;
  text-align: center;
  margin-right: 4px;
  transition: color .2s;
}
.mp-filter-block ul li a:hover .mp-cat-icon,
.mp-filter-block ul li a.active .mp-cat-icon {
  color: var(--primary);
}
.mp-price-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mp-price-inputs input { flex: 1; padding: 6px 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; width: 60px; }
.mp-filter-apply-btn { background: var(--primary); color: #fff; border: none; padding: 7px 16px; border-radius: 4px; cursor: pointer; font-size: 13px; width: 100%; }
.mp-filter-block label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; cursor: pointer; }
.mp-pl-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.mp-pl-count { font-size: 14px; color: #555; }
.mp-pl-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mp-pl-sort select { padding: 6px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.mp-pl-main { min-height: 400px; }
.mp-loading { text-align: center; padding: 48px; color: #999; font-size: 18px; }
.mp-empty { text-align: center; padding: 64px 20px; }
.mp-empty i { font-size: 56px; color: #ddd; margin-bottom: 16px; display: block; }
.mp-empty p { color: #777; font-size: 16px; margin-bottom: 16px; }

/* =============================================
   PAGINATION
   ============================================= */
.mp-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.mp-page-link { padding: 7px 13px; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; font-size: 13px; color: #333; transition: background .2s; }
.mp-page-link.active, .mp-page-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.mp-pagination-wrap { margin-top: 24px; display: flex; justify-content: center; }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.mp-product-detail-page { padding: 24px 0 48px; }
.mp-pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.mp-pd-main-img { position: relative; border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: #f5f5f5; transition: box-shadow .3s ease, border-color .3s ease; cursor: zoom-in; }
.mp-pd-main-img:hover { box-shadow: 0 2px 12px rgba(0,0,0,.15); border-color: var(--orange); }
.mp-pd-main-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.mp-pd-main-img:hover img { transform: scale(1.1); }
.mp-pd-zoom-lens { position: absolute; display: none; border: 2px solid var(--orange); background: rgba(255,153,0,.1); pointer-events: none; }
.mp-pd-zoom-result { display: none; position: absolute; left: 110%; top: 0; width: 400px; height: 400px; border: 1px solid #ddd; overflow: hidden; background: #fff; }
.mp-pd-zoom-result img { position: absolute; width: 400%; height: 400%; }
.mp-pd-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 96px; color: #ddd; }
.mp-pd-discount-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.mp-pd-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mp-pd-thumb { width: 64px; height: 64px; object-fit: cover; border: 2px solid #e8e8e8; border-radius: 4px; cursor: pointer; transition: border-color .2s; }
.mp-pd-thumb.active, .mp-pd-thumb:hover { border-color: var(--primary); }
.mp-pd-video-thumb { width: 64px; height: 64px; background: #000; border: 2px solid #e8e8e8; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }
.mp-pd-video-thumb:hover { border-color: var(--primary); background: #111; }
.mp-pd-video-thumb i { color: #fff; font-size: 20px; }
.mp-pd-title { font-size: 22px; font-weight: 700; color: #111; margin-bottom: 12px; line-height: 1.3; }
.mp-pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; color: var(--star-color); }
.mp-pd-rating-count { color: #0066c0; font-size: 13px; }
.mp-pd-sold { color: #555; font-size: 12px; }
.mp-pd-price-block { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.mp-pd-price { font-size: 32px; font-weight: 700; color: var(--primary); }
.mp-pd-price-old { font-size: 18px; color: #999; text-decoration: line-through; }
.mp-pd-save { background: var(--orange); color: #111; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 3px; }
.mp-pd-variant-price { font-size: 14px; color: #555; margin-bottom: 8px; }
.mp-pd-stock { margin-bottom: 16px; }
.mp-pd-instock { color: #007600; font-size: 14px; font-weight: 600; }
.mp-pd-outstock { color: var(--primary); font-size: 14px; font-weight: 600; }
.mp-pd-short-desc { font-size: 14px; color: #555; margin-bottom: 16px; line-height: 1.6; }
.mp-pd-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.mp-pd-qty { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.mp-pd-qty button { width: 36px; height: 44px; background: #f5f5f5; border: none; cursor: pointer; font-size: 18px; font-weight: 700; }
.mp-pd-qty input { width: 50px; height: 44px; text-align: center; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; font-size: 16px; }
.mp-pd-add-cart { flex: 1; height: 44px; background: var(--nav-bg); color: #fff; border: none; border-radius: 4px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.mp-pd-add-cart i { color: #fff; }
.mp-pd-add-cart:hover { background: #2a3542; }
.mp-pd-buy-now { flex: 1; height: 44px; background: var(--orange); color: var(--on-primary); border: none; border-radius: 4px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; white-space: nowrap; }
.mp-pd-buy-now i { color: var(--on-primary); }
.mp-pd-buy-now:hover { background: var(--orange-dark); filter: brightness(.93); }
.mp-pd-wishlist { width: 44px; height: 44px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; font-size: 18px; color: #666; transition: color .2s; }
.mp-pd-wishlist:hover { color: var(--primary); }
.mp-pd-delivery-info { background: #f8f8f8; border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.mp-pd-delivery-info div { font-size: 13px; color: #444; }
.mp-pd-delivery-info .fas { color: var(--primary); width: 20px; }
.mp-pd-vendor { font-size: 14px; color: #555; padding: 12px 0; border-top: 1px solid #f0f0f0; }
.mp-pd-vendor-link { color: #0066c0; text-decoration: none; font-weight: 600; }
.mp-pd-vendor-link:hover { text-decoration: underline; }
.mp-pd-tabs { margin-top: 32px; }
.mp-tab-nav { display: flex; gap: 0; border-bottom: 2px solid #e8e8e8; margin-bottom: 24px; }
.mp-tab-btn { padding: 12px 24px; background: none; border: none; font-size: 15px; font-weight: 600; color: #555; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .2s; }
.mp-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.mp-tab-content { display: none; }
.mp-tab-content.active { display: block; }
.mp-pd-desc { font-size: 14px; line-height: 1.8; color: #444; }
.mp-qa-item { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.mp-qa-q { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 6px; }
.mp-qa-a { font-size: 13px; color: #555; padding-left: 16px; }
.mp-qa-q .fas, .mp-qa-a .fas { color: var(--orange); margin-right: 6px; }
.mp-related-section { margin-top: 48px; }
.mp-related-section h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: #111; }

/* =============================================
   CART PAGE
   ============================================= */
.mp-cart-page { padding: 24px 0 48px; }
.mp-page-title { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 24px; }
.mp-cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.mp-cart-vendor-group { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; margin-bottom: 16px; overflow: hidden; }
.mp-cart-vendor-header { background: #f5f5f5; padding: 10px 16px; font-size: 14px; font-weight: 700; color: #333; border-bottom: 1px solid #e8e8e8; }
.mp-cart-item { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 16px; padding: 16px; align-items: center; border-bottom: 1px solid #f0f0f0; }
.mp-cart-item:last-child { border-bottom: none; }
.mp-cart-item-img { width: 80px; height: 80px; }
.mp-cart-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; border: 1px solid #e8e8e8; }
.mp-cart-img-ph { width: 100%; height: 100%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: #ccc; font-size: 28px; }
.mp-cart-item-name { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 4px; }
.mp-cart-item-variant { font-size: 12px; color: #777; margin-bottom: 6px; }
.mp-cart-item-price { font-size: 15px; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.mp-cart-item-qty-wrap { display: flex; align-items: center; gap: 0; border: 1px solid #ddd; border-radius: 4px; width: fit-content; }
.mp-cart-item-qty-wrap button { width: 28px; height: 28px; background: #f5f5f5; border: none; cursor: pointer; font-size: 16px; font-weight: 700; }
.mp-cart-item-qty-wrap span { width: 36px; text-align: center; font-size: 14px; border-left: 1px solid #ddd; border-right: 1px solid #ddd; line-height: 28px; }
.mp-cart-item-total { font-size: 16px; font-weight: 700; color: #111; white-space: nowrap; }
.mp-cart-remove { background: none; border: none; color: #999; cursor: pointer; font-size: 18px; padding: 4px; transition: color .2s; }
.mp-cart-remove:hover { color: var(--primary); }

/* =============================================
   ORDER SUMMARY (shared cart/checkout)
   ============================================= */
.mp-order-summary { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 20px; }
.mp-order-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: #111; border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; }
.mp-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 10px; }
.mp-summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: #111; border-top: 2px solid #e8e8e8; padding-top: 12px; margin-top: 6px; margin-bottom: 16px; }
.mp-checkout-btn, .mp-place-order-btn {
  display: block; width: 100%; padding: 13px; background: var(--orange); color: #111;
  border: none; border-radius: 4px; font-size: 16px; font-weight: 700; cursor: pointer;
  text-align: center; text-decoration: none; transition: background .2s; margin-bottom: 10px;
}
.mp-checkout-btn:hover, .mp-place-order-btn:hover { background: #e68900; }
.mp-continue-shopping { display: block; text-align: center; color: #0066c0; font-size: 13px; text-decoration: none; }
.mp-continue-shopping:hover { text-decoration: underline; }
.mp-empty-cart { text-align: center; padding: 64px; }

/* =============================================
   CHECKOUT PAGE
   ============================================= */
.mp-checkout-page { padding: 24px 0 48px; }
.mp-checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.mp-checkout-section { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 20px; margin-bottom: 16px; }
.mp-checkout-section h3 { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.mp-checkout-section h3 .fas { color: var(--primary); }
.mp-payment-methods { display: flex; flex-direction: column; gap: 10px; }
.mp-payment-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid #e8e8e8; border-radius: 6px; cursor: pointer; font-size: 14px; transition: border-color .2s; }
.mp-payment-option:hover, .mp-payment-option:has(input:checked) { border-color: var(--primary); background: #fff5f5; }
.mp-payment-icon { color: var(--primary); font-size: 18px; }
.mp-coupon-form { display: flex; gap: 8px; }
.mp-coupon-form input { flex: 1; padding: 9px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.mp-coupon-form button { padding: 9px 16px; background: var(--nav-bg); color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; }
.mp-summary-item { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #f5f5f5; }
.mp-si-name { color: #333; flex: 1; padding-right: 8px; }
.mp-si-price { color: #111; font-weight: 600; white-space: nowrap; }
.mp-checkout-secure { font-size: 12px; color: #777; text-align: center; margin-top: 8px; }

/* =============================================
   AUTH PAGES
   ============================================= */
.mp-auth-page { padding: 48px 0; background: #f5f5f5; min-height: 60vh; display: flex; align-items: center; }
.mp-auth-box { background: #fff; max-width: 440px; margin: 0 auto; border: 1px solid #e8e8e8; border-radius: 8px; padding: 32px; }
.mp-auth-box-wide { max-width: 680px; }
.mp-auth-header { text-align: center; margin-bottom: 24px; }
.mp-auth-header h2 { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 6px; }
.mp-auth-header p { font-size: 14px; color: #777; }
.mp-auth-form { display: flex; flex-direction: column; gap: 16px; }
.mp-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mp-form-full { grid-column: 1 / -1; }
.mp-form-group { display: flex; flex-direction: column; gap: 5px; }
.mp-form-group label { font-size: 14px; font-weight: 600; color: #333; display: flex; justify-content: space-between; align-items: center; }
.mp-form-group input, .mp-form-group textarea, .mp-form-group select {
  padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px;
  font-family: inherit; transition: border-color .2s;
}
.mp-form-group input:focus, .mp-form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(204,0,0,.1); }
.mp-form-group textarea { resize: vertical; }
.mp-field-error { font-size: 12px; color: var(--primary); }
.mp-forgot-link { font-size: 13px; color: #0066c0; text-decoration: none; font-weight: 400; }
.mp-forgot-link:hover { text-decoration: underline; }
.mp-input-pw { position: relative; }
.mp-input-pw input { width: 100%; padding-right: 42px; box-sizing: border-box; }
.mp-input-pw button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #777; cursor: pointer; }
.mp-form-check label { font-size: 13px; color: #555; display: flex; align-items: center; gap: 6px; }
.mp-form-terms { font-size: 12px; color: #777; line-height: 1.5; }
.mp-form-terms a { color: #0066c0; }
.mp-auth-btn {
  padding: 12px; background: var(--orange); color: #111; border: none; border-radius: 4px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s; width: 100%;
}
.mp-auth-btn:hover { background: #e68900; }
.mp-auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: #555; border-top: 1px solid #f0f0f0; padding-top: 16px; }
.mp-auth-footer a { color: #0066c0; text-decoration: none; font-weight: 600; }
.mp-alert { padding: 12px 14px; border-radius: 4px; margin-bottom: 16px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.mp-alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.mp-alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.req { color: var(--primary); }

/* =============================================
   ACCOUNT PAGES
   ============================================= */
.mp-account-page { padding: 24px 0 48px; }
.mp-account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.mp-account-sidebar { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 20px; height: fit-content; position: sticky; top: 80px; }
.mp-account-user { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; overflow: hidden; }
.mp-account-avatar { font-size: 36px; color: #ccc; flex-shrink: 0; }
.mp-account-user > div:last-child { flex: 1; min-width: 0; overflow: hidden; }
.mp-account-user strong { display: block; font-size: 14px; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-account-user small { display: block; font-size: 12px; color: #777; word-break: break-all; }
.mp-account-nav { display: flex; flex-direction: column; gap: 2px; }
.mp-account-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 4px; font-size: 14px; color: #444; text-decoration: none; transition: background .2s; }
.mp-account-nav a:hover, .mp-account-nav a.active { background: #fff5f5; color: var(--primary); font-weight: 600; }
.mp-account-logout { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 4px; font-size: 14px; color: #444; background: none; border: none; cursor: pointer; width: 100%; font-family: inherit; transition: background .2s; }
.mp-account-logout:hover { background: #fff5f5; color: var(--primary); }
.mp-account-main { min-width: 0; }
.mp-account-main h2 { font-size: 22px; font-weight: 700; color: #111; margin-bottom: 20px; }
.mp-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mp-section-header h2, .mp-section-header h3 { font-size: 20px; font-weight: 700; color: #111; margin: 0; }
.mp-section-header a { font-size: 13px; color: #0066c0; text-decoration: none; }
.mp-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.mp-stat-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 16px; display: flex; align-items: center; gap: 14px; }
.mp-stat-card .fas { font-size: 28px; color: var(--primary); opacity: .7; }
.mp-stat-val { display: block; font-size: 24px; font-weight: 700; color: #111; }
.mp-stat-label { display: block; font-size: 12px; color: #777; }
.mp-account-section { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 20px; margin-bottom: 16px; }
.mp-account-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: #111; }
.mp-orders-table-wrap { overflow-x: auto; }
.mp-orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mp-orders-table th { background: #f5f5f5; padding: 10px 14px; text-align: left; font-weight: 700; color: #333; border-bottom: 2px solid #e8e8e8; white-space: nowrap; }
.mp-orders-table td { padding: 12px 14px; border-bottom: 1px solid #f0f0f0; color: #444; vertical-align: middle; }
.mp-orders-table tr:last-child td { border-bottom: none; }
.mp-order-status { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.mp-status-green { background: #d4edda; color: #155724; }
.mp-status-orange { background: #fff3cd; color: #856404; }
.mp-status-red { background: #f8d7da; color: #721c24; }
.mp-status-blue { background: #d1ecf1; color: #0c5460; }
.mp-status-purple { background: #e2d9f3; color: #5a1f7e; }
.mp-status-teal { background: #d1f2eb; color: #0e6655; }
.mp-status-gray { background: #e9ecef; color: #495057; }
.mp-pay-status { font-size: 12px; font-weight: 600; }
.mp-pay-status.paid { color: #155724; }
.mp-pay-status.unpaid { color: #856404; }
.mp-btn-sm { display: inline-block; padding: 5px 12px; background: var(--primary); color: #fff; border-radius: 4px; font-size: 12px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: background .2s; }
.mp-btn-sm:hover { background: #aa0000; }
.mp-btn-primary { display: inline-block; padding: 10px 24px; background: var(--orange); color: #111; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; }
.mp-empty-small { text-align: center; padding: 32px; color: #777; }
.mp-empty-small i { font-size: 40px; color: #ddd; display: block; margin-bottom: 12px; }
.mp-order-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.mp-order-filter-tab { padding: 5px 12px; border: 1px solid #ddd; border-radius: 20px; font-size: 13px; color: #555; text-decoration: none; transition: background .2s; }
.mp-order-filter-tab.active, .mp-order-filter-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.mp-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.mp-address-card { background: #fff; border: 2px solid #e8e8e8; border-radius: 6px; padding: 16px; position: relative; font-size: 14px; line-height: 1.6; color: #444; }
.mp-address-card.mp-addr-default { border-color: var(--primary); }
.mp-addr-badge { position: absolute; top: -1px; right: 12px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 0 0 4px 4px; }

/* =============================================
   ORDER DETAIL PAGE
   ============================================= */
.mp-order-timeline { display: flex; align-items: center; gap: 0; margin-bottom: 32px; background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 20px; }
.mp-timeline-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; font-size: 12px; color: #999; text-align: center; }
.mp-timeline-step::before { content:''; position: absolute; top: 15px; left: calc(-50% + 15px); right: calc(50% + 15px); height: 2px; background: #e8e8e8; }
.mp-timeline-step:first-child::before { display: none; }
.mp-timeline-step.done::before { background: var(--primary); }
.mp-timeline-dot { width: 30px; height: 30px; border-radius: 50%; background: #e8e8e8; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; z-index: 1; }
.mp-timeline-step.done .mp-timeline-dot { background: var(--primary); color: #fff; }
.mp-timeline-step.done { color: var(--primary); font-weight: 600; }
.mp-order-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.mp-od-products { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 20px; }
.mp-od-products h3, .mp-od-summary-col .mp-order-summary h3, .mp-od-address h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.mp-od-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; align-items: flex-start; }
.mp-od-item:last-child { border-bottom: none; }
.mp-od-item-img { width: 64px; height: 64px; flex-shrink: 0; }
.mp-od-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; border: 1px solid #e8e8e8; }
.mp-od-item-name { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 4px; }
.mp-od-item-vendor { font-size: 12px; color: #0066c0; margin-bottom: 3px; }
.mp-od-item-variant { font-size: 12px; color: #777; margin-bottom: 4px; }
.mp-od-item-price { font-size: 13px; color: #555; }
.mp-od-item-total { font-size: 15px; font-weight: 700; color: #111; margin-left: auto; white-space: nowrap; }
.mp-od-address { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 16px; margin-top: 16px; font-size: 14px; line-height: 1.6; color: #444; }
.mp-od-notes { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 20px; margin-top: 20px; }
.mp-note-item { font-size: 14px; color: #555; padding: 10px; background: #f9f9f9; border-radius: 4px; margin-bottom: 8px; }

/* =============================================
   SELLER PAGE
   ============================================= */
.mp-seller-page { padding: 24px 0 48px; }
.mp-seller-header { display: flex; align-items: flex-start; gap: 24px; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 24px; margin-bottom: 32px; }
.mp-seller-logo { width: 100px; height: 100px; border: 2px solid #e8e8e8; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.mp-seller-logo img { width: 100%; height: 100%; object-fit: contain; }
.mp-seller-logo-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #ccc; background: #f5f5f5; }
.mp-seller-info h1 { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 8px; }
.mp-seller-meta { display: flex; gap: 20px; font-size: 14px; color: #555; margin-bottom: 10px; }
.mp-seller-meta span .fas { color: var(--primary); margin-right: 5px; }
.mp-seller-desc { font-size: 14px; color: #555; line-height: 1.6; }
.mp-seller-products h2 { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: #111; }

/* =============================================
   STATIC PAGES (about, privacy, faq)
   ============================================= */
.mp-static-page { padding: 40px 0 64px; }
.mp-static-page h2 { font-size: 28px; font-weight: 700; margin-bottom: 24px; color: #111; }
.mp-static-content { font-size: 15px; line-height: 1.8; color: #444; max-width: 800px; }
.mp-faq-item { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; margin-bottom: 10px; overflow: hidden; }
.mp-faq-q { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 600; color: #333; transition: background .2s; }
.mp-faq-q:hover, .mp-faq-q.open { background: #fff5f5; color: var(--primary); }
.mp-faq-q.open .fa-chevron-down { transform: rotate(180deg); }
.mp-faq-q .fa-chevron-down { transition: transform .3s; }
.mp-faq-a { max-height: 0; overflow: hidden; padding: 0 20px; font-size: 14px; color: #555; line-height: 1.7; transition: max-height .3s, padding .3s; }
.mp-faq-a.open { max-height: 300px; padding: 14px 20px; border-top: 1px solid #f0f0f0; }

/* =============================================
   RESPONSIVE - NEW PAGES
   ============================================= */
@media (max-width: 1024px) {
  .mp-pl-layout { grid-template-columns: 200px 1fr; }
  .mp-pd-layout { grid-template-columns: 1fr; }
  .mp-cart-layout, .mp-checkout-layout { grid-template-columns: 1fr; }
  .mp-order-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mp-pl-layout { grid-template-columns: 1fr; }
  .mp-pl-sidebar { position: static; }
  .mp-account-layout { grid-template-columns: 1fr; }
  .mp-account-sidebar { position: static; }
  .mp-account-stats { grid-template-columns: 1fr 1fr; }
  .mp-auth-grid { grid-template-columns: 1fr; }
  .mp-products-grid { grid-template-columns: repeat(2, 1fr); }
  .mp-cart-item { grid-template-columns: 60px 1fr; }
  .mp-cart-item-total, .mp-cart-remove { grid-column: 2; }
  .mp-seller-header { flex-direction: column; }
  .mp-order-timeline { gap: 4px; }
  .mp-timeline-step span { font-size: 10px; }
}
@media (max-width: 480px) {
  .mp-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mp-account-stats { grid-template-columns: 1fr; }
  .mp-auth-box { margin: 0 12px; }
  .mp-pd-actions { flex-wrap: wrap; }
  .mp-pd-add-cart { order: 1; flex: 1 1 100%; }
  .mp-pd-buy-now { order: 2; flex: 1 1 100%; }
  .mp-card-actions { padding: 0 8px 8px; gap: 5px; }
  .mp-add-cart-btn, .mp-buy-now-btn { height: 32px; font-size: 11px; gap: 4px; }
  .mp-add-cart-btn i { font-size: 12px; }
}

/* =============================================
   MODAL STYLING (Location selection)
   ============================================= */
.mp-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.mp-modal.active {
  display: flex;
}
.mp-modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 450px;
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.mp-modal-header {
  padding: 16px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mp-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.mp-modal-header h3 i {
  color: var(--primary);
  margin-right: 6px;
}
.mp-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
}
.mp-modal-close:hover {
  color: #333;
}
.mp-modal-body {
  padding: 20px;
}
.mp-modal-body p {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.mp-modal-body .form-group {
  margin-bottom: 16px;
}
.mp-modal-body .form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.mp-modal-body .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  color: #333;
}
.mp-modal-body .form-control:focus {
  border-color: var(--primary);
}
.mp-modal-footer {
  padding: 14px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.mp-modal-footer .btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.mp-modal-footer .btn-secondary {
  background: #e9ecef;
  color: #495057;
}
.mp-modal-footer .btn-secondary:hover {
  background: #dee2e6;
}
.mp-modal-footer .btn-primary {
  background: var(--orange);
  color: #fff;
}
.mp-modal-footer .btn-primary:hover {
  background: #e07000;
}

/* =============================================
   SKELETON LOADER
   ============================================= */
.mp-skeleton-item {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  gap: 16px;
  padding: 16px;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}
.mp-skeleton-img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
}
.mp-skeleton-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mp-skeleton-line {
  height: 12px;
  border-radius: 4px;
}
.mp-skeleton-line.title {
  width: 60%;
  height: 16px;
}
.mp-skeleton-line.price {
  width: 30%;
}
.mp-skeleton-line.qty {
  width: 80px;
  height: 24px;
}
.mp-skeleton-total {
  height: 18px;
  width: 70px;
  border-radius: 4px;
  justify-self: end;
}

.mp-skeleton-summary {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mp-skeleton-btn {
  height: 44px;
  border-radius: 4px;
  width: 100%;
}

/* Shimmer Animation */
.mp-skeleton-img,
.mp-skeleton-line,
.mp-skeleton-total,
.mp-skeleton-btn {
  background-image: linear-gradient(
    90deg,
    #f2f2f2 25%,
    #e6e6e6 50%,
    #f2f2f2 75%
  );
  background-size: 200% 100%;
  animation: mp-shimmer 1.5s infinite linear;
}

@keyframes mp-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Product Grid Skeleton Loader */
.mp-product-skeleton {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mp-product-skeleton .mp-sk-image {
  width: 100%;
  aspect-ratio: 1;
  background-color: #f5f5f5;
}
.mp-sk-details {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.mp-sk-line {
  height: 12px;
  border-radius: 4px;
}
.mp-sk-line.title {
  width: 80%;
  height: 16px;
}
.mp-sk-line.rating {
  width: 40%;
}
.mp-sk-line.price {
  width: 60%;
  height: 14px;
}
.mp-product-skeleton .mp-sk-button {
  height: 38px;
  border-radius: 4px;
  width: calc(100% - 24px);
  margin: 0 12px 12px 12px;
}

/* Include in Shimmer Animation */
.mp-sk-image,
.mp-sk-line,
.mp-sk-button {
  background-image: linear-gradient(
    90deg,
    #f2f2f2 25%,
    #e6e6e6 50%,
    #f2f2f2 75%
  );
  background-size: 200% 100%;
  animation: mp-shimmer 1.5s infinite linear;
}

/* Wishlist Active & Animation Styles */
.mp-wishlist-btn.active,
.mp-pd-wishlist.active {
  color: #ff3b30 !important;
}
.mp-wishlist-btn.active i,
.mp-pd-wishlist.active i {
  color: #ff3b30 !important;
}
@keyframes heart-beat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.heart-beat-animation {
  animation: heart-beat 0.45s ease-in-out;
  display: inline-block;
}

/* Wishlist Page Styling */
.mp-wishlist-page {
  padding: 24px 0 48px;
}
.wishlist-table-section {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.wishlist-table-section table {
  width: 100% !important;
  border-collapse: collapse;
}
.wishlist-table-section table th {
  background: #1f3a63 !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
}
.wishlist-table-section table td {
  padding: 16px;
  vertical-align: middle;
}
.wishlist-table-section table tbody tr:hover {
  background-color: #fafafa;
}

/* Wishlist Skeleton Specifics */
.mp-wish-skeleton-row .mp-sk-image {
  width: 80px !important;
  height: 80px !important;
  background-color: #f5f5f5;
  border-radius: 6px;
  flex-shrink: 0;
}
.mp-wish-skeleton-row .mp-sk-line {
  background-color: #f2f2f2;
}
.mp-wish-skeleton-row .mp-sk-button {
  width: 110px !important;
  height: 38px !important;
  background-color: #f2f2f2;
  border-radius: 4px;
}

/* Wishlist Table Content Fixes (Vanilla CSS Fallbacks) */
.wishlist-table-section table tbody tr td:first-child > div {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}
.wishlist-table-section table tbody tr td:first-child div.h-20 {
  width: 80px !important;
  height: 80px !important;
  flex-shrink: 0 !important;
  border: 1px solid #e8e8e8 !important;
  background-color: #f8f9fa !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.wishlist-table-section table tbody tr td:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.wishlist-table-section table tbody tr td:first-child h3 {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0 0 4px 0 !important;
}
.wishlist-table-section table tbody tr td:first-child a {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.wishlist-table-section table tbody tr td:first-child a:hover {
  color: #1f3a63 !important;
}
.wishlist-table-section table tbody tr td:last-child > div {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
}
.wishlist-table-section table td .addcart-btn-globaly,
.wishlist-table-section table td .addtocart-btn {
  background-color: #1f3a63 !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: background-color 0.2s !important;
  text-decoration: none !important;
}
.wishlist-table-section table td .addcart-btn-globaly:hover,
.wishlist-table-section table td .addtocart-btn:hover {
  background-color: #152844 !important;
}
.wishlist-table-section table td .delete_wishlist {
  background: none !important;
  border: 1px solid #ff3b30 !important;
  color: #ff3b30 !important;
  padding: 7px 14px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s !important;
}
.wishlist-table-section table td .delete_wishlist:hover {
  background-color: #ff3b30 !important;
  color: #fff !important;
}

/* Wishlist Text Alignment Helpers */
.wishlist-table-section table th.text-center,
.wishlist-table-section table td.text-center {
  text-align: center !important;
}
.wishlist-table-section table th.text-left,
.wishlist-table-section table td.text-left {
  text-align: left !important;
}
.wishlist-table-section table th.text-right,
.wishlist-table-section table td.text-right {
  text-align: right !important;
}
