/* =====================================================
   Global Aggregator – Buyer Frontend Styles
   ===================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; color: #333; background: #f5f5f5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
select { cursor: pointer; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Variables ---------- */
:root {
  --red:        #e62e04;
  --red-dark:   #c02000;
  --red-light:  #ff5722;
  --orange:     #ff6600;
  --yellow:     #ffcc00;
  --green:      #00b300;
  --blue:       #1890ff;
  --gray-1:     #f5f5f5;
  --gray-2:     #ebebeb;
  --gray-3:     #ccc;
  --gray-4:     #888;
  --gray-5:     #555;
  --text:       #222;
  --white:      #fff;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --radius:     4px;
  --radius-lg:  8px;
  --transition: .2s ease;
}

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

/* =====================================================
   HEADER
   ===================================================== */
.header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* --- Main Bar --- */
.header__main { background: #fff; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.main-inner { display: flex; align-items: center; gap: 20px; }

/* Logo */
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo-img { height: 64px; width: auto; object-fit: contain; display: block; }

/* Search */
.header-search {
  flex: 1; display: flex; align-items: stretch;
  border: 2px solid #222; border-radius: 28px;
  overflow: hidden; max-width: 680px; position: relative; background: #fff;
  transition: border-color var(--transition);
  height: 42px;
}
.header-search:focus-within { border-color: var(--orange); }
.search-mode-select {
  padding: 0 10px 0 14px; font-size: 13px; font-weight: 600; color: #333;
  background: #f5f5f5; border: none; border-right: 1px solid #e0e0e0;
  cursor: pointer; outline: none; appearance: auto;
  border-radius: 26px 0 0 26px; min-width: 100px;
}
.search-input {
  flex: 1; padding: 0 18px; font-size: 15px; border: none; outline: none;
  color: var(--text); background: transparent;
}
.search-btn {
  background: #222; color: #fff; padding: 0 26px;
  font-size: 18px; border-radius: 0 26px 26px 0;
  transition: background var(--transition); display: flex; align-items: center;
}
.search-btn:hover { background: #000; }
.search-suggestions {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); z-index: 200;
}
.suggestion-item { padding: 10px 14px; cursor: pointer; font-size: 13px; }
.suggestion-item:hover { background: var(--gray-1); color: var(--red); }
.suggestion-shop {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  cursor: pointer; transition: background .2s;
}
.suggestion-shop:hover { background: var(--gray-1); }
.suggestion-shop-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--orange);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.suggestion-shop-info { flex: 1; min-width: 0; }
.suggestion-shop-name { font-size: 13px; font-weight: 600; color: #222; }
.suggestion-shop-meta { font-size: 11px; color: #888; margin-top: 2px; }
.suggestion-shop-badge { font-size: 10px; color: var(--orange); font-weight: 600; margin-left: 6px; }
.shop-result-card {
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 16px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  position: relative;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.shop-result-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
  border-color: #ffd9c6;
}
.shop-result-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.shop-result-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234,88,12,.25);
}
.shop-result-main { min-width: 0; width: 100%; }
.shop-result-name-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.shop-result-name {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: #1e293b;
}
.shop-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #b42318;
  background: linear-gradient(135deg, #fff5f0, #ffe8de);
  border: 1px solid #ffd9c6;
  border-radius: 999px;
  padding: 3px 10px;
}
.shop-result-rating {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.shop-result-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
  font-size: 12px;
}
.shop-result-score {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.shop-result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
.shop-result-metrics span {
  font-size: 11px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}
.shop-result-metrics strong {
  color: #0f172a;
  font-weight: 800;
  font-size: 14px;
  display: block;
}
.shop-result-ship {
  font-size: 12px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.shop-result-btn {
  margin-top: auto;
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  box-shadow: 0 3px 10px rgba(234,88,12,.2);
}
.shop-result-btn:hover { opacity: .9; transform: translateY(-1px); }

.shop-search-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-products .product-grid.shop-search-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shop-search-empty {
  grid-column: 1 / -1;
  padding: 20px;
  border: 1px dashed #d0d7e2;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-search-empty {
  grid-column: 1 / -1;
  padding: 20px;
  border: 1px dashed #d0d7e2;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-search-layout {
  grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
  .shop-search-grid,
  .cat-products .product-grid.shop-search-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}
@media (max-width: 760px) {
  .shop-search-grid,
  .cat-products .product-grid.shop-search-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .shop-result-name {
    font-size: 18px;
  }
}

/* Header Actions (right side) */
.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

/* Common action group */
.action-group {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: var(--radius);
  cursor: pointer; color: #333; transition: background var(--transition);
  position: relative; white-space: nowrap;
}
.action-group:hover { background: #f5f5f5; }
.action-icon-lg { font-size: 22px; color: #222; flex-shrink: 0; }
.action-lines { display: flex; flex-direction: column; font-size: 12px; line-height: 1.4; }

/* App download */
.action-app .action-lines span { color: #555; }
.action-app .action-lines span:last-child { font-weight: 600; color: #222; }

/* Language / Currency trigger */
.action-lang { gap: 8px; user-select: none; }
.lang-flag-img { width: 26px; height: auto; border-radius: 2px; flex-shrink: 0; display: block; }
.action-lang .action-lines { gap: 0; }
.lang-curr-top { font-size: 12px; font-weight: 600; color: #222; display: flex; align-items: center; gap: 3px; }
.lang-curr-bottom { font-size: 11px; color: #888; }
.lang-chevron { font-size: 9px; color: #888; transition: transform .2s; }
.action-lang.open .lang-chevron { transform: rotate(180deg); }

/* Lang popup panel */
.lang-popup {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 1px solid #e0e0e0; border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.14); z-index: 1001;
  width: 288px; padding: 20px 20px 16px;
}
.action-lang.open .lang-popup { display: block; }
.lang-popup-section { margin-bottom: 16px; }
.lang-popup-label { font-size: 13px; font-weight: 700; color: #222; margin-bottom: 8px; }
/* Ship to: flag + select */
.ship-select-wrap, .popup-sel-wrap {
  display: flex; align-items: center;
  border: 1px solid #d0d0d0; border-radius: 6px;
  overflow: hidden; position: relative; background: #fff;
}
.ship-select-wrap:focus-within, .popup-sel-wrap:focus-within { border-color: #222; }
.popup-country-flag { width: 26px; height: auto; margin-left: 10px; flex-shrink: 0; border-radius: 2px; display: block; }
.lang-popup-native-select {
  flex: 1; border: none; outline: none; background: transparent;
  padding: 10px 32px 10px 10px; font-size: 13px; color: #222;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.popup-sel-chevron {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: #888; pointer-events: none;
}
.lang-popup-save {
  width: 100%; padding: 11px; background: #222; color: #fff;
  border-radius: 6px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .2s; margin-top: 4px;
}
.lang-popup-save:hover { background: #000; }

/* User */
.action-user { gap: 8px; position: relative; z-index: 2; }
.action-welcome { font-size: 11px; color: #888; }
.action-signin { font-size: 12px; font-weight: 600; color: #222; cursor: pointer; }
.user-dropdown {
  display: none; position: absolute; top: 100%; right: 0;
  background: #fff; border: 1px solid var(--gray-2); border-radius: var(--radius-lg);
  min-width: 180px; box-shadow: var(--shadow-md); z-index: 999;
  padding-top: 4px;
}
/* CSS-only hover fallback: show dropdown on hover */
.action-user:hover .user-dropdown { display: block; }
/* Invisible bridge fills the gap so mouse can move from trigger to dropdown */
.user-dropdown::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.dropdown-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  color: var(--text); font-size: 13px; transition: background var(--transition);
}
.dropdown-item:hover { background: var(--gray-1); color: var(--red); }
.dropdown-divider { border-top: 1px solid var(--gray-2); margin: 4px 0; }

/* Cart */
.action-cart { display: flex; align-items: center; gap: 6px; color: #222; font-size: 13px; font-weight: 600; }
.cart-icon-wrap { position: relative; display: flex; align-items: center; }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: #222; color: #fff; font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-label { font-size: 13px; font-weight: 600; }
.cart-btn { position: relative; }
.mini-cart {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 1px solid var(--gray-2); border-radius: var(--radius-lg);
  width: 320px; box-shadow: var(--shadow-md); padding: 20px; z-index: 999;
  text-align: center;
}
.action-cart:hover .mini-cart { display: block; }
.mini-cart-empty p { color: var(--gray-4); margin: 10px 0; font-size: 13px; }

/* --- Nav Bar --- */
.header__nav { background: #fff; border-top: 1px solid #f0f0f0; }
.nav-inner { display: flex; align-items: stretch; }

/* All Categories */
.nav-all-cats {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: #f0f0f0; color: #333; font-size: 14px;
  font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  border-radius: var(--radius) var(--radius) 0 0; margin: 4px 0 0;
  transition: background var(--transition);
}
.nav-all-cats:hover { background: #e4e4e4; }
.nav-all-cats:hover .mega-menu { display: flex; }

/* Mega Menu */
.mega-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--gray-2);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md); z-index: 999;
  flex-direction: row; gap: 0; min-width: 720px;
}
.mega-col { padding: 20px 16px; flex: 1; border-right: 1px solid var(--gray-2); }
.mega-col:last-child { border-right: none; }
.mega-col h4 { font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 10px; text-transform: uppercase; }
.mega-col a { display: block; font-size: 13px; color: var(--gray-5); padding: 4px 0; transition: color var(--transition); }
.mega-col a:hover { color: var(--red); padding-left: 4px; }
.mega-sub-l2 { font-weight: 600; margin-top: 6px; }
.mega-sub-l3 { padding-left: 12px !important; font-size: 12px !important; color: var(--gray-4) !important; }
.mega-sub-l3:hover { color: var(--red) !important; }

/* Nav Links */
.nav-links { display: flex; align-items: center; overflow-x: auto; flex: 1; padding-left: 4px; }
.nav-link {
  padding: 10px 14px; color: #444; font-size: 13px; white-space: nowrap;
  transition: color var(--transition); display: flex; align-items: center; gap: 4px;
  position: relative;
}
.nav-link:hover { color: #000; }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--orange); border-radius: 1px;
  transition: left .3s ease, right .3s ease;
}
.nav-link.active::after {
  left: 14px; right: 14px;
}
.nav-deal { color: var(--red); font-weight: 600; }
.nav-deal:hover { color: var(--red-dark); }
.nav-premium { color: #a0522d; font-weight: 600; }
.nav-premium:hover { color: #7a3e20; }
.nav-foryou { color: #a855f7; font-weight: 600; }
.nav-foryou:hover { color: #7c3aed; }
.nav-clearance { color: var(--red); font-weight: 700; }
.nav-clearance:hover { color: var(--red-dark); }
.nav-more { color: #666; }
.topbar-sep { color: #555; }
.topbar-select {
  background: transparent; color: #bbb; border: none; font-size: 12px;
  padding: 0 2px; outline: none; -webkit-appearance: none;
}
.topbar-select option { background: #333; color: #fff; }

/* User Dropdown */
.topbar-user { position: relative; display: flex; align-items: center; gap: 4px; cursor: pointer; }
/* topbar-user dropdown also JS-controlled – no duplicate rule needed */
.dropdown-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  color: var(--text); font-size: 13px; transition: background var(--transition);
}
.dropdown-item:hover { background: var(--gray-1); color: var(--red); }
.dropdown-divider { border-top: 1px solid var(--gray-2); margin: 4px 0; }

/* =====================================================
   STATIC PAGES (About Us, Investor Relations, etc.)
   ===================================================== */
.static-breadcrumb {
  padding: 14px 0 0;
  font-size: 13px; color: #888;
}
.static-breadcrumb a { color: var(--orange); }
.static-breadcrumb a:hover { text-decoration: underline; }

/* Hero banner */
.sp-hero {
  border-radius: var(--radius-lg); margin: 20px 0 36px;
  padding: 72px 56px; color: #fff;
}
.sp-hero-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.sp-hero-title {
  font-size: 40px; font-weight: 900; line-height: 1.2;
  margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.sp-hero-sub { font-size: 16px; color: rgba(255,255,255,.82); max-width: 560px; line-height: 1.7; }

/* Sections */
.sp-section { padding: 48px 0; }
.sp-section--alt { background: var(--gray-1); border-radius: var(--radius-lg); padding: 48px 40px; margin: 0 -40px 0; }
.sp-section h2 { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.sp-section p { font-size: 15px; line-height: 1.8; color: #555; margin-bottom: 16px; }

/* Two-column layout */
.sp-2col { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.sp-2col-text p:last-child { margin-bottom: 0; }
.sp-2col-graphic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-stat-card {
  background: #fff; border-radius: var(--radius); padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.sp-stat-num { font-size: 26px; font-weight: 900; color: var(--orange); line-height: 1; }
.sp-stat-label { font-size: 12px; color: #888; margin-top: 6px; }

/* Mission quote */
.sp-mission-text {
  font-size: 22px; font-style: italic; font-weight: 600;
  color: var(--text); border-left: 4px solid var(--orange);
  padding-left: 24px; line-height: 1.6; margin: 0 !important;
}

/* Pillars grid */
.sp-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.sp-pillar {
  background: #fff; border-radius: var(--radius); padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.sp-pillar i { font-size: 32px; color: var(--orange); margin-bottom: 14px; }
.sp-pillar strong { font-size: 15px; margin-bottom: 8px; display: block; }
.sp-pillar p { font-size: 13px; color: #777; margin: 0; line-height: 1.5; }

/* Blackstone card */
.sp-bx-card {
  background: #1a1a2e; border-radius: var(--radius-lg); padding: 36px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.sp-bx-logo { margin-bottom: 16px; }
.sp-bx-name { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.sp-bx-ticker { font-size: 13px; color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.sp-bx-tagline { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; }
.sp-bx-aum { font-size: 15px; font-weight: 700; color: #fff; background: rgba(255,102,0,.2); padding: 6px 14px; border-radius: 20px; margin-top: 8px; }

/* Investor Relations org chart */
.sp-org-chart { display: flex; flex-direction: column; align-items: center; padding: 20px 0; }
.sp-org-node { width: 100%; max-width: 500px; }
.sp-org-box {
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}
.sp-org-box i { font-size: 28px; margin-bottom: 10px; }
.sp-org-box strong { font-size: 16px; font-weight: 800; display: block; margin-bottom: 4px; }
.sp-org-box span { font-size: 13px; color: #777; }
.sp-org-box small { font-size: 12px; margin-top: 8px; padding: 3px 10px; border-radius: 20px; }
.sp-org-bx { background: #1a1a2e; color: #fff; }
.sp-org-bx span { color: rgba(255,255,255,.6); }
.sp-org-bx i { color: var(--orange); }
.sp-org-bx small { background: rgba(255,102,0,.2); color: var(--orange); }
.sp-org-gs { background: #f0f4ff; }
.sp-org-gs i { color: #3b6fd4; }
.sp-org-gs small { background: #dce8ff; color: #3b6fd4; }
.sp-org-gm { background: #fff7ee; }
.sp-org-gm i { color: var(--orange); }
.sp-org-gm small { background: #ffe5cc; color: var(--orange); }
.sp-org-line {
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, #ccc 0%, #ccc 100%);
  margin: 0 auto;
}

/* BX facts */
.sp-bx-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.sp-bx-fact {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border-radius: var(--radius); padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.sp-bx-fact i { font-size: 24px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.sp-bx-fact strong { font-size: 16px; font-weight: 800; display: block; margin-bottom: 4px; }
.sp-bx-fact p { font-size: 13px; color: #777; margin: 0; }

/* KPI grid */
.sp-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.sp-kpi {
  background: #fff; border-radius: var(--radius); padding: 28px 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.sp-kpi-val { font-size: 32px; font-weight: 900; color: var(--orange); line-height: 1; }
.sp-kpi-label { font-size: 13px; color: #777; margin-top: 8px; line-height: 1.4; }
.sp-ir-disclaimer {
  font-size: 12px; color: #aaa; font-style: italic;
  border: 1px solid #e8e8e8; border-radius: var(--radius); padding: 10px 14px;
  margin-bottom: 0 !important;
}

/* Steps */
.sp-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.sp-step { display: flex; gap: 20px; align-items: flex-start; }
.sp-step-num { background: var(--orange); color: #fff; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.sp-step strong { display: block; font-size: 15px; margin-bottom: 4px; }
.sp-step p { font-size: 14px; color: #555; margin: 0; }

/* FAQ */
.sp-faq { display: flex; flex-direction: column; gap: 0; }
.sp-faq-item { padding: 16px 0; border-bottom: 1px solid #eee; }
.sp-faq-item:last-child { border-bottom: none; }
.sp-faq-item strong { display: block; font-size: 15px; margin-bottom: 6px; color: #222; }
.sp-faq-item p { font-size: 14px; color: #555; margin: 0; }

/* Lists */
.sp-list { padding-left: 20px; margin: 12px 0; color: #444; }
.sp-list li { margin-bottom: 6px; font-size: 14px; }
.sp-list a { color: var(--orange); }

/* Table */
.sp-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.sp-table th { background: #f5f5f5; text-align: left; padding: 10px 14px; font-weight: 700; border-bottom: 2px solid #e0e0e0; }
.sp-table td { padding: 10px 14px; border-bottom: 1px solid #eee; }
.sp-table tr:last-child td { border-bottom: none; }

/* CTA button */
.sp-cta-btn { display: inline-block; background: var(--orange); color: #fff; padding: 12px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: none; cursor: pointer; }
.sp-cta-btn:hover { opacity: .9; }

/* Cookie Settings page */
.sp-cookie-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.sp-cookie-card { background: #f9f9f9; border: 1px solid #e0e0e0; border-radius: 12px; padding: 20px; }
.sp-cookie-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sp-cookie-head strong { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.sp-cookie-head strong i { color: var(--orange); }
.sp-cookie-badge { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.sp-cookie-always { background: #e8f5e9; color: #2e7d32; }
.sp-cookie-card p { font-size: 13px; color: #555; margin: 0 0 10px; line-height: 1.6; }
.sp-cookie-card .sp-list { font-size: 13px; color: #666; }
.sp-cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.sp-cookie-toggle input { opacity: 0; width: 0; height: 0; }
.sp-toggle-slider {
  position: absolute; inset: 0; background: #ccc; border-radius: 24px;
  cursor: pointer; transition: background .25s;
}
.sp-toggle-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%;
  transition: transform .25s;
}
.sp-cookie-toggle input:checked + .sp-toggle-slider { background: var(--orange); }
.sp-cookie-toggle input:checked + .sp-toggle-slider::before { transform: translateX(20px); }

/* Cookie consent banner */
.cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999; background: rgba(26,26,42,.97); backdrop-filter: blur(10px); color: #fff; padding: 0; box-shadow: 0 -4px 24px rgba(0,0,0,.3); align-items: center; justify-content: center; }
.cookie-banner-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 20px 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner-icon { font-size: 32px; color: var(--orange); flex-shrink: 0; }
.cookie-banner-text { display: flex; align-items: flex-start; gap: 16px; flex: 1; min-width: 280px; }
.cookie-banner-text strong { font-size: 16px; display: block; margin-bottom: 4px; }
.cookie-banner-text p { font-size: 13px; color: #ccc; margin: 0; line-height: 1.5; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn { padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: opacity .2s, transform .15s; }
.cookie-btn:hover { opacity: .9; transform: translateY(-1px); }
.cookie-btn-primary { background: var(--orange); color: #fff; }
.cookie-btn-secondary { background: #444; color: #fff; }
.cookie-btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; padding: 16px; gap: 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; padding: 11px 10px; font-size: 13px; }
}

/* Cookie status bar (on settings page) */
.sp-cookie-status { margin-top: 20px; padding: 14px 18px; background: #f0f4ff; border: 1px solid #d0d8f0; border-radius: 10px; font-size: 13px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.sp-cookie-status i { color: #5b7bde; }
.sp-cookie-status-necessary { font-weight: 600; color: #2e7d32; }
.sp-cookie-status-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.sp-pill-on { background: #e8f5e9; color: #2e7d32; }
.sp-pill-off { background: #fce4ec; color: #c62828; }

/* Track form */
.sp-track-form { display: flex; gap: 12px; margin-top: 20px; max-width: 520px; }
.sp-track-input { flex: 1; padding: 12px 16px; border: 1px solid #ddd; border-radius: var(--radius); font-size: 14px; }
.sp-track-btn { background: var(--orange); color: #fff; border: none; border-radius: var(--radius); padding: 12px 24px; font-weight: 700; cursor: pointer; }

/* Form */
.sp-form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin-top: 20px; }
.sp-form-row { display: flex; flex-direction: column; gap: 6px; }
.sp-form-row label { font-size: 13px; font-weight: 700; color: #444; }
.sp-form-input { padding: 10px 14px; border: 1px solid #ddd; border-radius: var(--radius); font-size: 14px; font-family: inherit; }
.sp-form-textarea { min-height: 120px; resize: vertical; }
.sp-form-submit { background: var(--orange); color: #fff; border: none; border-radius: var(--radius); padding: 12px 24px; font-weight: 700; font-size: 15px; cursor: pointer; align-self: flex-start; }

/* Jobs */
.sp-jobs { display: flex; flex-direction: column; gap: 0; border: 1px solid #eee; border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
.sp-job { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #eee; font-size: 14px; }
.sp-job:last-child { border-bottom: none; }
.sp-job strong { display: block; font-weight: 700; color: #222; margin-bottom: 2px; }
.sp-job span { font-size: 12px; color: #888; }
.sp-job-apply { background: var(--orange); color: #fff; border-radius: 999px; padding: 6px 18px; font-size: 13px; font-weight: 700; text-decoration: none; flex-shrink: 0; }

/* News grid */
.sp-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 20px; }
.sp-news-card { border: 1px solid #eee; border-radius: var(--radius); padding: 20px; }
.sp-news-date { font-size: 12px; color: var(--orange); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.sp-news-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: #222; }
.sp-news-card p { font-size: 13px; color: #555; margin: 0; }

/* Sitemap grid */
.sp-sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.sp-sitemap-grid h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: #222; }

@media (max-width: 768px) {
  .sp-news-grid { grid-template-columns: 1fr; }
  .sp-sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-track-form { flex-direction: column; }
}

/* Contact box */
.sp-contact-box { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; max-width: 480px; }
.sp-contact-item { display: flex; align-items: flex-start; gap: 16px; }
.sp-contact-item i { font-size: 20px; color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.sp-contact-item strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.sp-contact-item a, .sp-contact-item span { font-size: 14px; color: #555; }
.sp-contact-item a:hover { color: var(--orange); text-decoration: underline; }

@media (max-width: 768px) {
  .sp-hero { padding: 40px 24px; }
  .sp-hero-title { font-size: 26px; }
  .sp-2col { grid-template-columns: 1fr; }
  .sp-pillars { grid-template-columns: repeat(2, 1fr); }
  .sp-bx-facts { grid-template-columns: 1fr; }
  .sp-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-section--alt { margin: 0; padding: 32px 20px; }
}

/* Hero Banner */
.hero-banner {
  border-radius: var(--radius-lg); margin-bottom: 32px;
  overflow: hidden; position: relative; line-height: 0;
}
.hero-bg-img { width: 100%; height: auto; display: block; object-fit: cover; border-radius: var(--radius-lg); }
.hero-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding: 0 56px;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
  border-radius: var(--radius-lg);
}
.hero-overlay-inner { max-width: 520px; }
.hero-sub { font-size: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.hero-title { font-size: 38px; font-weight: 900; line-height: 1.2; color: #fff; margin-bottom: 14px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-desc  { font-size: 15px; color: rgba(255,255,255,.88); margin-bottom: 24px; line-height: 1.6; }
.hero-cta {
  display: inline-block; background: var(--orange); color: #fff;
  padding: 16px 40px; border-radius: 30px; font-size: 16px; font-weight: 700;
  transition: background .2s, transform .2s; box-shadow: 0 4px 14px rgba(255,102,0,.4);
}
.hero-cta:hover { background: #e55c00; transform: translateY(-2px); }

/* ── Hero Carousel ── */
.hero-carousel-wrap {
  width: 100%; margin-bottom: 32px;
  overflow: hidden; position: relative;
  height: 520px;
}
/* 底部渐变遮罩，使图片下边缘自然过渡到页面背景 */
.hero-carousel-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px; pointer-events: none; z-index: 5;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.6) 100%);
}
.hero-slides-container { overflow: hidden; line-height: 0; height: 100%; }
.hero-slides-track {
  display: flex; height: 100%;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.hero-slide { min-width: 100%; position: relative; line-height: 0; height: 100%; }
.hero-slide-img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }

/* Nav buttons */
.hero-carousel-btn {
  display: flex;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.38); color: #fff; font-size: 26px; font-weight: 300;
  align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; border: none; outline: none;
  transition: background .2s;
  user-select: none;
}
.hero-carousel-btn:hover { background: rgba(0,0,0,.62); }
.hero-carousel-prev { left: 14px; }
.hero-carousel-next { right: 14px; }

/* Dots */
.hero-carousel-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.hero-carousel-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.55); border: none; cursor: pointer;
  transition: background .25s, transform .25s; padding: 0;
}
.hero-carousel-dot.active { background: #fff; transform: scale(1.3); }

/* Buttons */
.btn-primary {
  display: inline-block; background: var(--orange); color: #fff;
  padding: 10px 24px; border-radius: var(--radius); font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #e55c00; transform: translateY(-1px); }
.btn-primary.btn-large { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }

/* Section */
.section { margin-bottom: 32px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-title { font-size: 20px; font-weight: 700; color: var(--text); }

/* ── Brand Grid ── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-card {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 18px 10px 14px;
  text-decoration: none; color: var(--text);
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.12);
}
.brand-card-logo {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.brand-card-logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter .3s;
}
.brand-card:hover .brand-card-logo img {
  filter: grayscale(0%);
}
.brand-card span {
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  max-width: 120px; color: #333;
}
@media (max-width: 992px) {
  .brand-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 576px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-card { padding: 12px 6px 10px; border-radius: 10px; }
  .brand-card-logo { width: 56px; height: 56px; margin-bottom: 6px; }
  .brand-card span { font-size: 11px; max-width: 80px; }
}

/* Strip Banner Carousel */
.strip-carousel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  margin-bottom: 28px; line-height: 0;
}
.strip-track {
  display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.strip-slide { flex: 0 0 100%; display: block; }
.strip-slide img { width: 100%; height: auto; display: block; object-fit: cover; }
.strip-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.strip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.55); border: none; cursor: pointer;
  transition: background .2s; padding: 0;
}
.strip-dot.active { background: #fff; }

/* New In grid */
.new-in-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.new-in-card {
  position: relative; display: block; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/3; text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
}
.new-in-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.new-in-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.new-in-card:hover img { transform: scale(1.04); }
.new-in-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.08) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 22px;
}
.new-in-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 9px;
  border-radius: 20px; letter-spacing: .5px; text-transform: uppercase;
}
.new-in-label {
  color: #fff; font-size: 20px; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  margin-bottom: 10px;
}
.new-in-cta {
  display: inline-block; background: #fff; color: var(--text);
  font-size: 13px; font-weight: 600; padding: 7px 18px;
  border-radius: 20px; align-self: flex-start;
  transition: background .2s, color .2s;
}
.new-in-card:hover .new-in-cta { background: var(--orange); color: #fff; }
@media (max-width: 480px) { .new-in-grid { grid-template-columns: 1fr; gap: 10px; } }
.section-more { font-size: 13px; color: var(--red); display: flex; align-items: center; gap: 4px; }
.section-more:hover { text-decoration: underline; }

/* Zone Section (Women / Men) */
.zone-section { margin-bottom: 8px; }
.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.zone-card {
  position: relative; display: block; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 5/3; text-decoration: none;
  background: var(--zc-bg, #eee);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
}
.zone-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.zone-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .4s;
}
.zone-card:hover img { transform: scale(1.04); }
.zone-card-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.08) 50%, transparent 100%);
}
.zone-card-label {
  font-size: 20px; font-weight: 800; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  margin-bottom: 10px; line-height: 1.2;
}
.zone-card-cta {
  display: inline-block; background: #fff; color: var(--text);
  font-size: 12px; font-weight: 700; padding: 6px 16px;
  border-radius: 20px; transition: background .2s, color .2s;
}
.zone-card:hover .zone-card-cta { background: var(--orange); color: #fff; }
@media (max-width: 768px) { .zone-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .zone-grid { grid-template-columns: 1fr; gap: 10px; } }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-main .product-grid { grid-template-columns: repeat(4, 1fr); }
.product-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  cursor: pointer; transition: box-shadow .25s, transform .25s;
  position: relative; border: 1px solid #f0f0f0;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-4px); border-color: #e0e0e0; }
.product-img {
  height: 180px; background: var(--gray-1); display: flex;
  align-items: center; justify-content: center; font-size: 60px; color: var(--gray-3);
}
/* Real image product card */
.product-img-wrap {
  aspect-ratio: 1 / 1; overflow: hidden; background: #f8f9fa; position: relative;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badge {
  position: absolute; top: 8px; left: 8px;
  background: linear-gradient(135deg, #ee4d2d, #ff6533); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; z-index: 2;
  letter-spacing: .3px;
}
.product-info { padding: 10px 12px 6px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-size: 13px; color: #1a1a2e; margin-bottom: 8px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 500;
}
.product-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-now, .price-current { font-size: 17px; font-weight: 700; color: var(--red); }
.price-old { font-size: 12px; color: #999; text-decoration: line-through; }
.product-rating { font-size: 12px; color: var(--orange); margin-bottom: 0; margin-top: auto; }
.product-rating i, .stars i { color: #fbbf24; font-size: 11px; }
.rating-count { color: #999; font-size: 11px; }
.review-count { color: #999; font-size: 11px; }
.product-card-actions {
  display: flex; gap: 6px; padding: 8px 10px 10px;
}
.btn-add-cart, .btn-buy-now {
  flex: 1; padding: 7px 0; border-radius: 6px;
  font-size: 12px; font-weight: 600; transition: all .2s;
  white-space: nowrap; text-align: center; border: none; cursor: pointer;
  letter-spacing: .2px;
}
.btn-add-cart {
  background: linear-gradient(135deg, #ff8a00, #e07000); color: #fff;
}
.btn-add-cart:hover { background: linear-gradient(135deg, #e07000, #cc6200); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(224,112,0,.3); }
.btn-buy-now {
  background: linear-gradient(135deg, #ee4d2d, #d63a1a); color: #fff;
}
.btn-buy-now:hover { background: linear-gradient(135deg, #d63a1a, #c02d10); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(238,77,45,.3); }

@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } .cat-main .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } .cat-main .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cat-main .product-grid { grid-template-columns: repeat(2, 1fr); } }

/* Trust Section */
.trust-section {
  background: #fff; border-radius: var(--radius-lg); padding: 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 32px;
}
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item > i { font-size: 28px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-size: 14px; margin-bottom: 3px; }
.trust-item p { font-size: 12px; color: var(--gray-4); line-height: 1.5; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: #1a1a2e; color: #aaa; }

/* App Strip */
.footer__app-strip { background: #16213e; border-bottom: 1px solid #2a2a3e; padding: 18px 0; }
.app-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.app-strip-text strong { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.app-strip-text span  { font-size: 13px; }
.app-strip-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-btn {
  display: flex; align-items: center; gap: 10px; background: #0f3460;
  border: 1px solid #2a4a7f; color: #fff; padding: 8px 16px;
  border-radius: var(--radius-lg); transition: background var(--transition);
  font-size: 13px;
}
.app-btn:hover { background: #1a5276; }
.app-btn i { font-size: 24px; }
.qr-code { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #aaa; font-size: 11px; }
.qr-placeholder { background: #fff; padding: 4px; border-radius: 4px; color: #333; }

/* Main Footer */
.footer__main { padding: 40px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.4fr; gap: 24px; }
.footer-col__title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col__list li { margin-bottom: 8px; }
.footer-col__list a { font-size: 13px; color: #888; transition: color var(--transition); }
.footer-col__list a:hover { color: #fff; padding-left: 4px; }

/* Payment */
.footer-pay, .footer-social, .footer-trust { margin-bottom: 22px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-icon {
  background: #fff; color: #333; padding: 4px 8px; border-radius: 4px;
  font-size: 22px; display: flex; align-items: center;
}

/* Social */
.social-icons { display: flex; gap: 8px; }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; transition: opacity var(--transition), transform var(--transition);
}
.social-icon:hover { opacity: .85; transform: scale(1.1); }
.social-icon--fb { background: #1877f2; }
.social-icon--tw { background: #000; }
.social-icon--ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-icon--yt { background: #ff0000; }
.social-icon--tt { background: #010101; }
.social-icon--pi { background: #e60023; }

/* Trust Badges */
.trust-badges-footer { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-footer {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #16213e; border: 1px solid #2a2a3e; border-radius: var(--radius);
  padding: 10px 12px; min-width: 70px; text-align: center;
}
.badge-footer i { font-size: 20px; color: var(--green); }
.badge-footer small { font-size: 10px; color: #888; line-height: 1.3; }

/* Footer Bottom */
.footer__bottom { background: #111; padding: 14px 0; border-top: 1px solid #222; }
.bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #666; }
.footer-logo-sm { height: 22px; width: auto; object-fit: contain; vertical-align: middle; margin-right: 8px; display: inline-block; }
.bottom-center { display: flex; align-items: center; gap: 8px; }
.bottom-center a { color: #666; }
.bottom-center a:hover { color: #aaa; text-decoration: underline; }
.bottom-right { display: flex; align-items: center; gap: 6px; }

/* =====================================================
   AUTH DRAWER
   ===================================================== */
.auth-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 10000;
  animation: authFadeIn .25s ease;
}
.auth-overlay.open { display: block; }
@keyframes authFadeIn { from { opacity: 0; } to { opacity: 1; } }

.auth-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(480px, 100vw);
  background: #fff; z-index: 10001;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.32,.74,.32,1);
  overflow-y: auto; box-shadow: -4px 0 32px rgba(0,0,0,.18);
}
.auth-drawer.open { transform: translateX(0); }

.auth-drawer-close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gray-1); border: none; cursor: pointer;
  font-size: 16px; color: #555;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.auth-drawer-close:hover { background: var(--gray-2); color: #222; }

/* Tabs */
.auth-tabs {
  display: flex; border-bottom: 2px solid var(--gray-2);
  padding: 56px 32px 0; flex-shrink: 0;
}
.auth-tab {
  flex: 1; padding: 10px 0; font-size: 15px; font-weight: 600;
  background: none; border: none; cursor: pointer;
  color: #aaa; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: color .2s, border-color .2s;
}
.auth-tab.active { color: var(--orange); border-bottom-color: var(--orange); }

/* Panel */
.auth-panel { padding: 24px 32px 40px; }

.auth-logo { height: 56px; display: block; margin: 0 auto 8px; }
.auth-brand { text-align: center; margin-bottom: 22px; display: flex; flex-direction: column; align-items: center; }
.auth-brand-sub { font-size: 13px; color: #888; margin-top: 4px; }

/* Social buttons */
.auth-social { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.auth-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 18px; border: 1.5px solid var(--gray-3); border-radius: var(--radius);
  background: #fff; cursor: pointer; font-size: 13px; font-weight: 500;
  transition: background .15s, border-color .15s;
}
.auth-social-btn:hover { background: var(--gray-1); border-color: #bbb; }

/* Divider */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #bbb; font-size: 12px; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background:var(--gray-2); }

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 5px; }
.auth-field > label { font-size: 12px; font-weight: 600; color: #444; }
.auth-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.auth-input-wrap {
  position: relative; display: flex; align-items: center;
}
.auth-input-wrap > i:first-child {
  position: absolute; left: 12px; color: #bbb; font-size: 13px; pointer-events: none;
}
.auth-input-wrap input {
  width: 100%; padding: 10px 40px 10px 36px;
  border: 1.5px solid var(--gray-3); border-radius: var(--radius);
  font-size: 13px; outline: none; transition: border-color .2s;
}
.auth-input-wrap input:focus { border-color: var(--orange); }
.auth-eye {
  position: absolute; right: 10px;
  background: none; border: none; cursor: pointer;
  color: #bbb; font-size: 13px; padding: 4px;
}
.auth-eye:hover { color: #555; }

/* Options row */
.auth-options { display: flex; justify-content: space-between; align-items: center; }
.auth-remember { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #666; cursor: pointer; }
.auth-forgot { font-size: 12px; color: var(--orange); }
.auth-forgot:hover { text-decoration: underline; }

/* Error */
.auth-error { font-size: 12px; color: var(--red); min-height: 16px; }

/* Submit */
.auth-submit {
  width: 100%; padding: 13px; background: var(--orange); color: #fff;
  border: none; border-radius: var(--radius); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-submit:hover { background: #e55c00; }
.auth-switch { text-align: center; font-size: 13px; color: #888; margin-top: 16px; }
.auth-switch a { color: var(--orange); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* Password strength bar */
.auth-strength { height: 4px; border-radius: 2px; background: var(--gray-2); margin-top: 5px; overflow: hidden; }
#regStrengthFill { height: 100%; width: 0; border-radius: 2px; transition: width .3s, background .3s; }
.auth-strength-label { font-size: 11px; color: #888; margin-top: 2px; }

/* Auth mode tabs (Email / Phone) */
.auth-mode-tabs {
  display: flex; margin-bottom: 18px;
  border: 1.5px solid var(--gray-3); border-radius: var(--radius); overflow: hidden;
}
.auth-mode-tab {
  flex: 1; padding: 8px 0; font-size: 13px; font-weight: 600;
  background: #fff; border: none; cursor: pointer; color: #aaa;
  transition: background .15s, color .15s;
}
.auth-mode-tab.active { background: var(--orange); color: #fff; }

/* Phone input row */
.auth-phone-wrap {
  display: flex; border: 1.5px solid var(--gray-3); border-radius: var(--radius); overflow: visible;
  transition: border-color .2s; position: relative;
}
.auth-phone-wrap:focus-within { border-color: var(--orange); }
.auth-phone-wrap > input[type="tel"] {
  flex: 1; padding: 9px 12px; border: none; outline: none; font-size: 13px;
  border-radius: 0 var(--radius) var(--radius) 0; min-width: 0;
}

/* Flag-code custom dropdown */
.flag-code-select { position: relative; flex-shrink: 0; }
.fcs-trigger {
  display: flex; align-items: center; gap: 5px;
  padding: 0 10px; height: 100%; min-height: 40px;
  background: var(--gray-1); border: none; border-right: 1px solid var(--gray-3);
  cursor: pointer; outline: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 13px; color: #444;
}
.fcs-trigger:hover { background: var(--gray-2); }
.fcs-flag  { width: 22px; height: auto; border-radius: 2px; display: block; flex-shrink: 0; }
.fcs-code  { font-size: 12px; font-weight: 600; color: #333; white-space: nowrap; }
.fcs-arrow { font-size: 9px; color: #999; }

.fcs-drop {
  position: absolute; top: calc(100% + 4px); left: 0;
  width: 240px; background: #fff;
  border: 1px solid var(--gray-2); border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.12); z-index: 20000;
}
.fcs-search-wrap { padding: 8px 8px 4px; }
.fcs-search {
  width: 100%; padding: 6px 10px; border: 1px solid var(--gray-3);
  border-radius: 4px; font-size: 12px; outline: none;
}
.fcs-search:focus { border-color: var(--orange); }
.fcs-list { max-height: 220px; overflow-y: auto; }
.fcs-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; width: 100%; background: none; border: none;
  cursor: pointer; text-align: left; font-size: 13px;
  transition: background .12s;
}
.fcs-item:hover { background: var(--gray-1); }
.fcs-name  { flex: 1; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcs-code2 { color: #888; font-size: 12px; flex-shrink: 0; }

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  background: #222; color: #fff; padding: 12px 28px; border-radius: 30px;
  font-size: 14px; box-shadow: var(--shadow-md); z-index: 9999;
  transition: bottom .4s cubic-bezier(.34,1.56,.64,1);
}
.toast.show { bottom: 32px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-col--wide { grid-column: span 3; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .trust-section { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; }
  .topbar-right { display: none; }
  .main-inner { flex-wrap: wrap; }
  .header-search { order: 3; flex-basis: 100%; max-width: 100%; }
  .search-category { display: none; }
  .hero-banner { flex-direction: column; text-align: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--wide { grid-column: span 2; grid-template-columns: 1fr 1fr; }
  .trust-section { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-menu { min-width: 100vw; flex-wrap: wrap; }
  .mega-col { flex-basis: 50%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bottom-inner { flex-direction: column; text-align: center; }
}

/* =====================================================
   CATEGORY PAGES
   ===================================================== */
/* ---------- Category Sidebar + Flyout ---------- */
.cat-layout { display: flex; gap: 20px; }
.cat-main { flex: 1; min-width: 0; }

.cat-sidebar {
  width: 230px; flex-shrink: 0;
  background: #fff; border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  align-self: flex-start;
  position: sticky; top: 80px;
  z-index: 50;
}
.cat-sidebar-head {
  padding: 12px 16px; font-weight: 700; font-size: 15px;
  border-bottom: 1px solid #f1f5f9; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.cat-sidebar-l1 {
  list-style: none; margin: 0; padding: 4px 0;
}
.cat-sb-item {
  position: relative;
}
.cat-sb-link {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: 13.5px; color: var(--text);
  text-decoration: none; transition: background .15s, color .15s;
  cursor: pointer; white-space: nowrap;
}
.cat-sb-link:hover, .cat-sb-item:hover > .cat-sb-link {
  background: #fef2f2; color: var(--red);
}

.cat-sb-arrow {
  margin-left: auto; font-size: 11px; opacity: .4; transition: opacity .15s;
}
.cat-sb-item:hover .cat-sb-arrow { opacity: .8; }

/* L2 flyout */
.cat-flyout-l2 {
  position: absolute; left: 100%; top: 0;
  min-width: 210px;
  background: #fff; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  padding: 6px 0; z-index: 9999;
}
.cat-fly-item { position: relative; }
.cat-fly-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px; font-size: 13px; color: var(--text);
  text-decoration: none; transition: background .15s, color .15s;
  white-space: nowrap;
}
.cat-fly-link:hover { background: #fef2f2; color: var(--red); }
.cat-fly-arrow { font-size: 10px; opacity: .4; margin-left: 12px; }

/* L3 flyout */
.cat-flyout-l3 {
  position: absolute; left: 100%; top: 0;
  min-width: 190px; max-height: 380px; overflow-y: auto;
  background: #fff; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  padding: 6px 0; z-index: 10000;
}
.cat-flyout-l3 a {
  display: block; padding: 7px 16px; font-size: 13px;
  color: var(--text); text-decoration: none; transition: background .15s, color .15s;
  white-space: nowrap;
}
.cat-flyout-l3 a:hover { background: #fef2f2; color: var(--red); }

/* Hide sidebar on mobile */
@media (max-width: 768px) {
  .cat-layout { flex-direction: column; }
  .cat-sidebar { display: none; }
}

.cat-page-wrap { padding: 24px 16px 48px; }

.cat-breadcrumb {
  font-size: 13px; color: var(--gray-4); margin-bottom: 16px;
}
.cat-breadcrumb a { color: var(--gray-4); }
.cat-breadcrumb a:hover { color: var(--red); text-decoration: underline; }
.cat-breadcrumb span { color: var(--text); font-weight: 500; }

.cat-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.cat-title { font-size: 22px; font-weight: 700; color: var(--text); }
.cat-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-5); }
.cat-sort-select {
  border: 1px solid var(--gray-3); border-radius: var(--radius); padding: 6px 10px;
  font-size: 13px; background: #fff;
}

/* Category toolbar */
.cat-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-radius: 10px; padding: 10px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 20px;
  flex-wrap: wrap; gap: 10px;
}
.cat-toolbar-left { display: flex; align-items: center; gap: 12px; }
.cat-result-count { font-size: 13px; color: #64748b; font-weight: 500; }
.cat-toolbar-right { display: flex; align-items: center; gap: 8px; }
.cat-sort-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.cat-sort-pills button {
  border: none; background: #f1f5f9; color: #475569; font-size: 13px;
  padding: 6px 14px; border-radius: 20px; cursor: pointer;
  font-weight: 500; transition: all .2s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
}
.cat-sort-pills button:hover { background: #e2e8f0; color: #1e293b; }
.cat-sort-pills button.active { background: var(--red); color: #fff; }
@media (max-width: 560px) {
  .cat-toolbar { padding: 8px 10px; }
  .cat-sort-pills button { padding: 5px 10px; font-size: 12px; }
}


.cat-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }

.cat-filters {
  background: #fff; border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow-sm); position: sticky; top: 80px;
}
.cat-filter-section { margin-bottom: 20px; }
.cat-filter-section:last-child { margin-bottom: 0; }
.cat-filter-title {
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--gray-5); margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-2);
}
.cat-filter-option {
  display: flex; align-items: center; gap: 7px; font-size: 13px;
  color: var(--text); padding: 4px 0; cursor: pointer;
}
.cat-filter-option input { accent-color: var(--red); }

/* Brand filter – luxury items */
.brand-filter-logo {
  width: 20px; height: 20px; object-fit: contain; border-radius: 3px;
  flex-shrink: 0;
}
.brand-luxury-item { font-weight: 600; }
.brand-filter-collapsed { display: none !important; }
.brand-toggle-btn {
  display: inline-block; font-size: 12px; color: var(--red);
  cursor: pointer; padding: 6px 0 2px; font-weight: 600;
  text-decoration: none;
}
.brand-toggle-btn:hover { text-decoration: underline; }
.brand-filter-divider {
  height: 1px; background: var(--gray-2); margin: 8px 0;
}
/* Brand logo in static pages */
.sp-brand-logo {
  width: 80px; height: 80px; object-fit: contain;
  background: #fff; border-radius: 16px; padding: 10px;
  margin-bottom: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.cat-products { min-width: 0; }

/* Responsive grid for category/filter pages: wider screens fit more cards, narrower screens fit fewer. */
.cat-products .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .cat-products .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  }
}

@media (max-width: 560px) {
  .cat-products .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
  }
}

.cat-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 32px; padding-top: 16px;
}
.cat-page-btn {
  min-width: 36px; height: 36px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid var(--gray-3); background: #fff; font-size: 14px;
  color: var(--text); transition: var(--transition);
}
.cat-page-btn:hover { border-color: var(--red); color: var(--red); }
.cat-page-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

/* mega-menu head hover */
.mega-cat-head { cursor: pointer; }
.mega-cat-head:hover { color: var(--red); }

@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-filters { position: static; display: flex; flex-wrap: wrap; gap: 16px; }
  .cat-filter-section { margin-bottom: 0; flex: 1 1 160px; }
}

/* Filter – brand search input */
.filter-search-input {
  width: 100%; border: 1px solid var(--gray-3); border-radius: var(--radius);
  padding: 5px 8px; font-size: 12px; margin-bottom: 8px;
  outline: none; transition: border-color var(--transition);
}
.filter-search-input:focus { border-color: var(--red); }

/* Filter – brand scrollable list */
.cat-filter-scroll {
  max-height: 180px; overflow-y: auto; padding-right: 4px;
}
.cat-filter-scroll::-webkit-scrollbar { width: 4px; }
.cat-filter-scroll::-webkit-scrollbar-thumb { background: var(--gray-3); border-radius: 4px; }

/* Filter – size grid */
.cat-size-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-size-btn {
  min-width: 40px; padding: 4px 8px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--gray-3); border-radius: var(--radius);
  background: #fff; color: var(--text); transition: var(--transition);
}
.cat-size-btn:hover { border-color: var(--red); color: var(--red); }
.cat-size-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

/* Filter – colour swatches */
.cat-colour-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.cat-colour-btn {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.cat-colour-btn:hover { transform: scale(1.18); box-shadow: 0 0 0 2px var(--red); }
.cat-colour-btn.active { box-shadow: 0 0 0 2px var(--red), 0 0 0 4px #fff inset; border-color: var(--red); }

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */
.pd-breadcrumb { font-size:13px; color:#888; padding:16px 0 12px; }
.pd-breadcrumb a { color:#888; }
.pd-breadcrumb a:hover { color:var(--orange); }
.pd-breadcrumb span { color:#333; }

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 40px;
}

/*  Gallery  */
.pd-gallery { position: sticky; top: 80px; display: flex; gap: 12px; }
.pd-main-img-wrap {
  position: relative; background: #f7f7f7; border-radius: 12px;
  overflow: hidden; aspect-ratio: 4 / 3; flex: 1; min-width: 0; max-height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.pd-main-img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .2s; }
.pd-badge {
  position: absolute; top: 12px; left: 12px;
  background: #e62e04; color: #fff; font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; pointer-events: none;
}
.pd-thumbs { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; width: 72px; max-height: 420px; overflow-y: auto; order: -1; }
.pd-thumbs::-webkit-scrollbar { width: 3px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.pd-thumb-wrap {
  position: relative; width: 68px; height: 68px; border-radius: 8px;
  border: 2px solid #e0e0e0; cursor: pointer; overflow: hidden;
  transition: border-color .15s; flex-shrink: 0;
}
.pd-thumb-wrap:hover, .pd-thumb-wrap.active { border-color: var(--orange); }
.pd-thumb {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border: none; border-radius: 0; cursor: pointer;
}
.pd-thumb-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35); color: #fff; font-size: 18px; transition: background .15s;
}
.pd-thumb-wrap:hover .pd-thumb-play { background: rgba(0,0,0,.5); }
.pd-actions-row { display: flex; gap: 12px; margin-top: 14px; }
.pd-action-btn {
  flex: 1; padding: 9px 16px;
  border: 1px solid #e0e0e0; border-radius: var(--radius);
  background: #fff; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s, border-color .15s, color .15s;
}
.pd-action-btn:hover { background: #fdf5ee; border-color: var(--orange); color: var(--orange); }

/*  Info column  */
.pd-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pd-brand-tag { font-size: 12px; font-weight: 700; color: #1565c0; background: #e3f2fd; padding: 3px 10px; border-radius: 999px; }
.pd-official-badge { font-size: 12px; color: #0070f3; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.pd-title { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; color: #111; }

.pd-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; flex-wrap: wrap; }
.pd-stars { color: #f59e0b; }
.pd-rating-num { font-weight: 700; color: #333; }
.pd-review-link { color: var(--orange); text-decoration: underline; }
.pd-sep { color: #ccc; }
.pd-sold { color: #888; }

.pd-price-section { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pd-price-current { font-size: 32px; font-weight: 800; color: #e62e04; }
.pd-price-old { font-size: 16px; color: #bbb; text-decoration: line-through; }
.pd-price-save { font-size: 13px; background: #fff3e0; color: #e65100; padding: 3px 10px; border-radius: 999px; font-weight: 600; }

/* Variants */
.pd-variants-wrap { margin-bottom: 20px; }
.pd-variant-row { margin-bottom: 14px; }
.pd-v-label { font-size: 13px; font-weight: 700; color: #555; margin-right: 4px; }
.pd-v-selected { font-size: 13px; font-weight: 600; color: #111; margin-right: 8px; }
.pd-colours { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pd-colour-swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.pd-colour-swatch:hover { transform: scale(1.15); }
.pd-colour-swatch.active { border-color: var(--orange); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--orange); }
.pd-sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pd-size-pill {
  padding: 6px 14px; border: 1px solid #ddd; border-radius: var(--radius);
  font-size: 13px; cursor: pointer; background: #fff; transition: all .15s;
}
.pd-size-pill:hover { border-color: var(--orange); color: var(--orange); }
.pd-size-pill.active { background: var(--orange); color: #fff; border-color: var(--orange); font-weight: 700; }

/* SKU Attribute Selector */
.pd-sku-section { margin-bottom: 20px; }
.pd-sku-group { margin-bottom: 14px; }
.pd-sku-label { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 8px; }
.pd-sku-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-sku-opt {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px; border: 1px solid #ddd; border-radius: var(--radius);
  font-size: 13px; cursor: pointer; background: #fff; transition: all .15s;
  line-height: 1; white-space: nowrap;
}
.pd-sku-opt:hover { border-color: var(--orange); color: var(--orange); }
.pd-sku-opt.active { background: var(--orange); color: #fff; border-color: var(--orange); font-weight: 700; }
.pd-sku-opt.active .pd-sku-color { box-shadow: 0 0 0 2px var(--orange), 0 0 0 3px #fff; }
.pd-sku-color {
  display: inline-block; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12); flex-shrink: 0;
}

/* Qty */
.pd-qty-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.pd-qty-label { font-size: 14px; font-weight: 700; color: #555; }
.pd-qty-ctrl { display: flex; align-items: center; border: 1px solid #ddd; border-radius: var(--radius); overflow: hidden; }
.pd-qty-btn { width: 36px; height: 36px; font-size: 18px; background: #f5f5f5; border: none; cursor: pointer; transition: background .15s; }
.pd-qty-btn:hover { background: #e0e0e0; }
.pd-qty-input { width: 50px; text-align: center; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; height: 36px; font-size: 15px; font-weight: 700; background: #fff; }
.pd-stock-info { font-size: 13px; }
.pd-low-stock { color: #e53935; font-weight: 700; }
.pd-in-stock { color: #2e7d32; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* CTA */
.pd-cta-btns { display: flex; gap: 12px; margin-bottom: 20px; }
.pd-btn-add-cart {
  flex: 1; padding: 14px 24px;
  border: 2px solid var(--orange); background: #fff; color: var(--orange);
  border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s;
}
.pd-btn-add-cart:hover { background: #fdf5ee; }
.pd-btn-buy-now {
  flex: 1; padding: 14px 24px;
  border: none; background: var(--orange); color: #fff;
  border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity .15s;
}
.pd-btn-buy-now:hover { opacity: .9; }

/* Trust */
.pd-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pd-trust-chip { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #555; background: #f5f5f5; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pd-trust-chip i { color: var(--orange); font-size: 13px; }

/* Seller */
.pd-seller-box { border: 1px solid #e8e8e8; border-radius: var(--radius); padding: 16px; background: #fafafa; }
.pd-seller-inner { display: flex; align-items: center; gap: 14px; }
.pd-seller-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pd-seller-info { flex: 1; min-width: 0; }
.pd-seller-name { font-size: 14px; font-weight: 700; color: #222; margin-bottom: 4px; }
.pd-seller-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #666; }
.pd-seller-meta span { display: flex; align-items: center; gap: 4px; }
.pd-seller-visit { background: #fff; border: 1px solid var(--orange); color: var(--orange); padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.pd-seller-visit:hover { background: #fdf5ee; }

/* Product detail page class alignment + visual polish */
.pd-info {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 14px;
  padding: 20px;
}
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pd-ship-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #4b5563;
}
.pd-ship-row i { color: #111827; }
.pd-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.pd-btn {
  border-radius: 10px;
  border: 1px solid #d9e0e8;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
  transition: all .18s ease;
}
.pd-btn:hover { border-color: var(--orange); color: var(--orange); background: #fffaf5; }
.pd-btn-cart {
  border-color: var(--orange);
  color: var(--orange);
  background: #fff7ef;
}
.pd-btn-buy {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.pd-btn-buy:hover { opacity: .92; color: #fff; }
.pd-btn-contact {
  border-color: #c8dafc;
  color: #1d4ed8;
  background: #f4f8ff;
}
.pd-btn-contact:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
  background: #e9f1ff;
}
.pd-btn-wish { width: 42px; padding: 10px 0; }
.pd-seller-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-seller-contact {
  background: #f4f8ff;
  border: 1px solid #c8dafc;
  color: #1d4ed8;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.pd-seller-contact:hover { background: #e9f1ff; }

/* Message center product-card bubble */
.msg-product-card {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 220px;
  max-width: 320px;
  background: rgba(255,255,255,.9);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
}
.msg-bubble-row.me .msg-product-card {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.45);
}
.msg-product-card img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.msg-product-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.msg-product-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.msg-product-price {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #0f766e;
}
.msg-compose-draft {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(100% + 8px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  z-index: 3;
}
.msg-draft-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.msg-draft-left img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.msg-draft-meta { display: flex; flex-direction: column; min-width: 0; }
.msg-draft-title { font-size: 12px; font-weight: 700; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-draft-price { margin-top: 2px; font-size: 12px; font-weight: 800; color: #0f766e; }
.msg-draft-actions { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.msg-draft-send {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #c2410c;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.msg-draft-send:hover { background: #ffedd5; }
.msg-draft-remove {
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 14px;
}
.msg-draft-remove:hover { color: #ef4444; }

/*  Tabs  */
.pd-tabs { margin-top: 40px; border: 1px solid #e8ecf1; border-radius: 14px; overflow: hidden; background: #fff; }
.pd-tabs-nav { display: flex; border-bottom: 2px solid #eee; background: #f9fafb; overflow-x: auto; }
.pd-tab { flex: 1; padding: 15px 20px; font-size: 14px; font-weight: 600; color: #666; border: none; background: transparent; cursor: pointer; border-bottom: 3px solid transparent; transition: all .18s; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.pd-tab:hover { color: var(--orange); background: #fff7f0; }
.pd-tab.active { color: var(--orange); border-bottom-color: var(--orange); background: #fff; }
.pd-tab i { font-size: 13px; }
.pd-tab-badge { font-size: 11px; font-weight: 700; background: var(--orange); color: #fff; padding: 1px 7px; border-radius: 999px; margin-left: 2px; }
.pd-tab-content { padding: 28px; }

/* Description video */
.pd-desc-video { margin-bottom: 24px; }

/* Rich content (tables, images from supplier) */
.pd-rich-content { overflow-x: auto; max-width: 900px; margin: 0 auto; }
.pd-rich-content h1, .pd-rich-content h2, .pd-rich-content h3, .pd-rich-content h4 { margin: 20px 0 12px; }
.pd-rich-content ul, .pd-rich-content ol { padding-left: 24px; margin: 8px 0; }
.pd-rich-content table { width: 100% !important; border-collapse: collapse; font-size: 13px; line-height: 1.6; border-radius: 10px; overflow: hidden; border: 1px solid #e5e7eb; margin-bottom: 20px; }
.pd-rich-content table tr:first-child td, .pd-rich-content table tr:first-child th { background: linear-gradient(135deg, #1e293b, #334155) !important; color: #fff !important; font-weight: 700; font-size: 15px; text-align: center !important; padding: 14px 16px; }
.pd-rich-content table tr:first-child td *, .pd-rich-content table tr:first-child th * { color: #fff !important; }
.pd-rich-content table td, .pd-rich-content table th { padding: 10px 14px; border: 1px solid #e5e7eb; vertical-align: middle; }
.pd-rich-content table tr:nth-child(even) { background: #f8fafc; }
.pd-rich-content table tr:nth-child(odd) { background: #fff; }
.pd-rich-content table tr:not(:first-child) td:first-child, .pd-rich-content table tr:not(:first-child) td:nth-child(3) { font-weight: 600; color: #374151; background: rgba(79,70,229,.04) !important; white-space: nowrap; min-width: 100px; }
.pd-rich-content table tr:not(:first-child) td:nth-child(2), .pd-rich-content table tr:not(:first-child) td:nth-child(4), .pd-rich-content table tr:not(:first-child) td:nth-child(5) { color: #555; }
.pd-rich-content table tr:hover:not(:first-child) { background: #eef2ff !important; }
.pd-rich-content table tr:hover:not(:first-child) td { background: inherit !important; }
.pd-rich-content img { display: block; max-width: 100%; width: 100%; height: auto; border-radius: 10px; margin: 12px auto; }
.pd-rich-content p { margin: 8px 0; line-height: 1.7; color: #444; }
.pd-rich-text-block { margin-bottom: 16px; font-size: 14px; color: #444; line-height: 1.7; }

/* ── Taobao-style rich description ── */
.pd-desc-hero { margin-bottom: 28px; border-radius: 12px; overflow: hidden; }
.pd-desc-hero img { width: 100%; display: block; object-fit: cover; max-height: 400px; }
.pd-desc-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.pd-desc-feat-card { display: flex; gap: 14px; padding: 20px; background: #f8fafc; border-radius: 12px; border: 1px solid #e8ecf1; transition: box-shadow .2s, transform .2s; }
.pd-desc-feat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.pd-desc-feat-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #ff6a00, #ee0979); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.pd-desc-feat-text h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #1e293b; }
.pd-desc-feat-text p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.5; }
.pd-desc-gallery { margin-bottom: 32px; }
.pd-desc-gallery img { width: 100%; display: block; border-radius: 12px; margin-bottom: 16px; object-fit: cover; }
.pd-desc-gallery img:last-child { margin-bottom: 0; }
.pd-desc-highlights { background: #f8fafc; border-radius: 12px; padding: 24px 28px; margin-bottom: 32px; border: 1px solid #e2e8f0; }
.pd-desc-highlights h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: #1e293b; }
.pd-desc-highlights ul { list-style: disc; padding: 0 0 0 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pd-desc-highlights li { font-size: 14px; color: #475569; line-height: 1.6; }
.pd-desc-service { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px; background: #f0fdf4; border-radius: 12px; border: 1px solid #bbf7d0; }
.pd-desc-service-item { display: flex; gap: 12px; align-items: flex-start; }
.pd-desc-service-item > i { font-size: 22px; color: #16a34a; margin-top: 2px; flex-shrink: 0; }
.pd-desc-service-item div { display: flex; flex-direction: column; }
.pd-desc-service-item strong { font-size: 14px; color: #14532d; margin-bottom: 2px; }
.pd-desc-service-item span { font-size: 12px; color: #4ade80; line-height: 1.4; }
@media (max-width: 768px) {
  .pd-desc-features { grid-template-columns: 1fr; }
  .pd-desc-service { grid-template-columns: 1fr; gap: 12px; }
}
.pd-tab-pane { padding: 28px; }

/* Share row */
.pd-share-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.pd-share-label { font-size: 13px; color: #888; font-weight: 600; }
.pd-share-icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e0e0e0; background: #fff; color: #666; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.pd-share-icon:hover { border-color: var(--orange); color: var(--orange); background: #fff7f0; }

/* Description */
.pd-highlights { margin-bottom: 28px; }
.pd-highlights h3, .pd-description h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; color: #222; }
.pd-highlights ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-highlights ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #444; line-height: 1.5; }
.pd-highlights ul li i { color: #2e7d32; margin-top: 2px; flex-shrink: 0; }
.pd-description { max-width: 900px; margin: 0 auto; }
.pd-description p { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 12px; }
.pd-description img { display: block; max-width: 100%; width: 100%; height: auto; border-radius: 10px; margin: 12px auto; }

/* Specs — enhanced */
.pd-specs-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pd-specs-header h3 { font-size: 16px; font-weight: 700; color: #222; margin: 0; }
.pd-specs-header .pd-specs-count { font-size: 13px; color: #888; }
.pd-specs-table { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: 8px; overflow: hidden; }
.pd-specs-table tr { border-bottom: 1px solid #f0f0f0; }
.pd-specs-table tr:last-child { border-bottom: none; }
.pd-specs-table tr:hover { background: #fafbfc; }
.pd-spec-label { width: 36%; padding: 13px 16px; font-weight: 700; color: #555; background: #f7f8fa; vertical-align: top; }
.pd-spec-val { padding: 13px 16px; color: #333; }
.pd-spec-label i { margin-right: 8px; color: var(--orange); font-size: 12px; width: 16px; text-align: center; }
.pd-specs-extra { margin-top: 20px; padding: 16px; background: #f7f8fa; border-radius: 10px; }
.pd-specs-extra h4 { font-size: 14px; font-weight: 700; color: #333; margin: 0 0 10px; }
.pd-specs-extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.pd-specs-extra-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; }
.pd-specs-extra-item i { color: #2e7d32; font-size: 12px; flex-shrink: 0; }

/* Reviews — enhanced */
.pd-reviews-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.pd-reviews-header h3 { font-size: 16px; font-weight: 700; color: #222; margin: 0; }
.pd-reviews-sort { display: flex; align-items: center; gap: 8px; }
.pd-reviews-sort label { font-size: 13px; color: #888; font-weight: 600; }
.pd-reviews-sort select { padding: 6px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 13px; background: #fff; cursor: pointer; }
.pd-reviews-summary { display: flex; gap: 40px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid #eee; margin-bottom: 20px; flex-wrap: wrap; }
.pd-reviews-big { text-align: center; min-width: 130px; }
.pd-reviews-score { font-size: 52px; font-weight: 800; color: #111; display: block; line-height: 1; }
.pd-reviews-recommend { font-size: 12px; color: #2e7d32; font-weight: 600; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.pd-reviews-stars { color: #f59e0b; font-size: 20px; margin: 4px 0; }
.pd-reviews-total { font-size: 13px; color: #888; }
.pd-reviews-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.pd-bar-row { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 2px 0; border-radius: 4px; transition: background .15s; }
.pd-bar-row:hover { background: #f5f5f5; }
.pd-bar-label { font-size: 12px; width: 22px; text-align: right; color: #666; flex-shrink: 0; }
.pd-bar-track { flex: 1; height: 10px; background: #f0f0f0; border-radius: 999px; overflow: hidden; }
.pd-bar-fill { height: 100%; border-radius: 999px; transition: width .3s ease; }
.pd-bar-fill-5 { background: #22c55e; }
.pd-bar-fill-4 { background: #84cc16; }
.pd-bar-fill-3 { background: #f59e0b; }
.pd-bar-fill-2 { background: #f97316; }
.pd-bar-fill-1 { background: #ef4444; }
.pd-bar-pct { font-size: 12px; color: #888; width: 32px; flex-shrink: 0; }
.pd-bar-count { font-size: 11px; color: #aaa; width: 36px; flex-shrink: 0; }

/* Review filter tags */
.pd-review-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.pd-review-filter { padding: 6px 14px; border: 1px solid #e0e0e0; border-radius: 999px; font-size: 12px; font-weight: 600; color: #555; background: #fff; cursor: pointer; transition: all .15s; }
.pd-review-filter:hover { border-color: var(--orange); color: var(--orange); }
.pd-review-filter.active { background: var(--orange); color: #fff; border-color: var(--orange); }

.pd-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.pd-review-card { padding: 18px; border: 1px solid #f0f0f0; border-radius: 12px; transition: box-shadow .15s; }
.pd-review-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.pd-review-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.pd-reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #e8e8e8, #d0d0d0); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #666; flex-shrink: 0; }
.pd-reviewer-name { font-size: 14px; font-weight: 700; color: #333; }
.pd-verified { font-size: 11px; font-weight: 600; color: #2e7d32; margin-left: 6px; }
.pd-review-stars { color: #f59e0b; font-size: 13px; margin-top: 2px; }
.pd-review-date { margin-left: auto; font-size: 12px; color: #aaa; white-space: nowrap; padding-left: 8px; }
.pd-review-variant { font-size: 12px; color: #888; margin-bottom: 8px; }
.pd-review-variant i { margin-right: 4px; }
.pd-review-card p { font-size: 13px; color: #555; line-height: 1.6; margin: 4px 0; }
.pd-review-photos { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pd-review-photo { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; border: 1px solid #e0e0e0; cursor: pointer; transition: border-color .15s; }
.pd-review-photo:hover { border-color: var(--orange); }
.pd-review-footer { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f5f5f5; }
.pd-review-helpful { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #888; cursor: pointer; background: none; border: none; padding: 4px 10px; border-radius: 999px; transition: all .15s; }
.pd-review-helpful:hover { background: #f5f5f5; color: #555; }
.pd-review-helpful.voted { color: var(--orange); }
.pd-review-helpful i { font-size: 13px; }
.pd-review-report { margin-left: auto; font-size: 12px; color: #ccc; cursor: pointer; background: none; border: none; transition: color .15s; }
.pd-review-report:hover { color: #ef4444; }

.pd-write-review-box { margin-top: 24px; padding: 20px; border: 1px solid #e8ecf1; border-radius: 12px; background: #f9fafb; }
.pd-write-review-box h4 { font-size: 15px; font-weight: 700; color: #222; margin: 0 0 12px; }
.pd-write-review-stars-input { display: flex; gap: 4px; margin-bottom: 12px; }
.pd-write-review-stars-input i { font-size: 24px; color: #ddd; cursor: pointer; transition: color .15s; }
.pd-write-review-stars-input i.active, .pd-write-review-stars-input i:hover { color: #f59e0b; }
.pd-write-review-textarea { width: 100%; min-height: 80px; border: 1px solid #ddd; border-radius: 10px; padding: 12px; font-size: 13px; resize: vertical; font-family: inherit; }
.pd-write-review-textarea:focus { border-color: var(--orange); outline: none; }
.pd-write-review-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pd-write-review-submit { padding: 10px 24px; background: var(--orange); color: #fff; border: none; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity .15s; }
.pd-write-review-submit:hover { opacity: .9; }
.pd-write-review-photo-btn { padding: 8px 16px; border: 1px solid #ddd; border-radius: 999px; font-size: 12px; color: #666; background: #fff; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all .15s; }
.pd-write-review-photo-btn:hover { border-color: var(--orange); color: var(--orange); }

/* Q&A — enhanced */
.pd-qa-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.pd-qa-header h3 { font-size: 16px; font-weight: 700; color: #222; margin: 0; }
.pd-qa-search { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 999px; overflow: hidden; background: #fff; }
.pd-qa-search input { border: none; padding: 8px 14px; font-size: 13px; width: 200px; outline: none; }
.pd-qa-search button { border: none; background: none; padding: 8px 12px; color: #888; cursor: pointer; }
.pd-qa-search button:hover { color: var(--orange); }
.pd-qa-list { display: flex; flex-direction: column; }
.pd-qa-item { padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.pd-qa-item:last-child { border-bottom: none; }
.pd-qa-q { font-size: 14px; font-weight: 700; color: #222; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.pd-qa-q i { color: var(--orange); margin-top: 3px; flex-shrink: 0; font-size: 15px; }
.pd-qa-q .pd-qa-toggle { margin-left: auto; color: #bbb; font-size: 12px; transition: transform .2s; }
.pd-qa-q .pd-qa-toggle.open { transform: rotate(180deg); }
.pd-qa-a { font-size: 13px; color: #555; line-height: 1.7; display: flex; gap: 10px; align-items: flex-start; padding-left: 28px; margin-bottom: 6px; }
.pd-qa-a i { color: #1565c0; margin-top: 3px; flex-shrink: 0; }
.pd-qa-meta { display: flex; align-items: center; gap: 12px; padding-left: 28px; margin-top: 6px; }
.pd-qa-author { font-size: 12px; color: #999; }
.pd-qa-author strong { color: #555; }
.pd-qa-helpful { font-size: 12px; color: #888; background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.pd-qa-helpful:hover { color: var(--orange); }
.pd-qa-answer-count { font-size: 12px; color: #888; margin-left: auto; }

.pd-qa-ask-box { margin-top: 24px; padding: 20px; border: 1px solid #e8ecf1; border-radius: 12px; background: #f9fafb; }
.pd-qa-ask-box h4 { font-size: 15px; font-weight: 700; color: #222; margin: 0 0 12px; }
.pd-qa-ask-input { width: 100%; border: 1px solid #ddd; border-radius: 10px; padding: 12px; font-size: 13px; font-family: inherit; resize: vertical; min-height: 60px; }
.pd-qa-ask-input:focus { border-color: var(--orange); outline: none; }
.pd-qa-ask-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pd-qa-ask-submit { padding: 10px 24px; background: var(--orange); color: #fff; border: none; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity .15s; }
.pd-qa-ask-submit:hover { opacity: .9; }
.pd-qa-ask-note { font-size: 12px; color: #aaa; }

.pd-load-more-btn { padding: 10px 28px; border: 1px solid #ddd; border-radius: 999px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; color: #555; transition: all .15s; display: inline-flex; align-items: center; gap: 6px; }
.pd-load-more-btn:hover { border-color: var(--orange); color: var(--orange); background: #fff7f0; }

/* Related */
.pd-related-wrap { margin-top: 48px; padding-bottom: 48px; }
.pd-related-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: #111; }

/*  Responsive  */
@media (max-width: 960px) {
  .pd-layout { grid-template-columns: 1fr; gap: 24px; }
  .pd-gallery { position: static; flex-direction: column-reverse; }
  .pd-thumbs { flex-direction: row; width: auto; max-height: none; overflow-x: auto; overflow-y: hidden; order: 0; }
  .pd-thumb-wrap { width: 60px; height: 60px; }
  .pd-main-img-wrap { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .pd-info { padding: 14px; border-radius: 12px; }
  .pd-actions { gap: 8px; }
  .pd-btn-contact { width: 100%; }
  .pd-seller-actions { width: 100%; margin-left: 0; justify-content: flex-start; margin-top: 8px; }
  .pd-cta-btns { flex-direction: column; }
  .pd-title { font-size: 18px; }
  .pd-price-current { font-size: 26px; }
  .pd-reviews-summary { flex-direction: column; gap: 20px; }
  .pd-tab-pane { padding: 20px 16px; }
  .pd-spec-label { width: 40%; font-size: 12px; }
  .pd-spec-val { font-size: 12px; }
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page-wrap { padding: 32px 0 60px; }
.cart-page-topbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.cart-page-title { font-size:24px; font-weight:700; color:#1a1a2e; display:flex; align-items:center; gap:10px; }
.cart-page-title i { color:#e62e04; }
.cart-continue-link { font-size:13px; color:#e62e04; text-decoration:none; display:flex; align-items:center; gap:5px; }
.cart-continue-link:hover { text-decoration:underline; }
.cart-page-layout { display:grid; grid-template-columns:1fr 340px; gap:24px; align-items:start; }
@media(max-width:860px){ .cart-page-layout { grid-template-columns:1fr; } }
.cart-left-col { min-width: 0; }

/* Select bar */
.cart-select-bar { display:flex; align-items:center; justify-content:space-between; background:#fff; border:1px solid #eee; border-radius:10px; padding:12px 18px; margin-bottom:14px; }
.cart-select-all-label { display:flex; align-items:center; gap:8px; font-size:14px; color:#1a1a2e; cursor:pointer; font-weight:500; }
.cart-select-all-label input[type="checkbox"] { width:18px; height:18px; accent-color:#e62e04; cursor:pointer; }
.cart-delete-selected { background:none; border:none; color:#aaa; font-size:13px; cursor:pointer; display:flex; align-items:center; gap:5px; transition:color .2s; }
.cart-delete-selected:hover { color:#e62e04; }

/* Cart item card */
.cart-item-card { display:flex; gap:16px; background:#fff; border:1px solid #eee; border-radius:12px; padding:16px; margin-bottom:14px; align-items:flex-start; transition:box-shadow .2s, border-color .2s; }
.cart-item-card:hover { box-shadow:0 2px 12px rgba(0,0,0,.06); border-color:#ddd; }
.cart-item-check { display:flex; align-items:center; padding-top:2px; flex-shrink:0; }
.cart-item-check input[type="checkbox"] { width:18px; height:18px; accent-color:#e62e04; cursor:pointer; }
.cart-item-img { width:100px; height:100px; object-fit:cover; border-radius:10px; flex-shrink:0; cursor:pointer; transition:transform .2s; }
.cart-item-img:hover { transform:scale(1.04); }
.cart-item-info { flex:1; min-width:0; }
.cart-item-name { font-size:14px; font-weight:600; color:#1a1a2e; margin-bottom:4px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; cursor:pointer; }
.cart-item-name:hover { color:#e62e04; }
.cart-item-variant { font-size:12px; color:#888; margin-bottom:4px; }
.cart-item-variant i { margin-right:3px; }
.cart-item-seller { font-size:12px; color:#aaa; margin-bottom:6px; }
.cart-item-seller i { margin-right:3px; }
.cart-item-delivery { font-size:12px; color:#52c41a; display:flex; align-items:center; gap:4px; }
.cart-item-delivery i { font-size:11px; }
.cart-item-price { font-size:15px; font-weight:700; color:#e62e04; margin-bottom:2px; }
.cart-item-price-original { font-size:12px; color:#bbb; text-decoration:line-through; margin-left:6px; font-weight:400; }
.cart-item-right { display:flex; flex-direction:column; align-items:flex-end; gap:10px; flex-shrink:0; }
.cart-item-qty-ctrl { display:flex; align-items:center; border:1px solid #e0e0e0; border-radius:8px; overflow:hidden; }
.cart-qty-btn { background:#f5f5f5; border:none; width:34px; height:34px; cursor:pointer; font-size:16px; transition:background .2s; display:flex; align-items:center; justify-content:center; }
.cart-qty-btn:hover { background:#e0e0e0; }
.cart-item-qty-val { width:40px; text-align:center; font-weight:600; font-size:15px; border-left:1px solid #e0e0e0; border-right:1px solid #e0e0e0; }
.cart-item-line-total { font-size:16px; font-weight:700; color:#1a1a2e; }
.cart-item-actions { display:flex; gap:12px; }
.cart-item-remove { background:none; border:none; color:#aaa; font-size:12px; cursor:pointer; padding:0; display:flex; align-items:center; gap:4px; transition:color .2s; }
.cart-item-remove:hover { color:#e62e04; }
.cart-item-save { background:none; border:none; color:#aaa; font-size:12px; cursor:pointer; padding:0; display:flex; align-items:center; gap:4px; transition:color .2s; }
.cart-item-save:hover { color:#e62e04; }

/* Free shipping progress bar */
.cart-freeship-bar { background:#f0faf0; border:1px solid #d4edda; border-radius:10px; padding:12px 14px; margin-bottom:18px; }
.cart-freeship-text { font-size:12px; color:#555; margin-bottom:6px; }
.cart-freeship-text b { color:#e62e04; }
.cart-freeship-text .done { color:#52c41a; font-weight:600; }
.cart-freeship-track { height:6px; background:#eee; border-radius:4px; overflow:hidden; }
.cart-freeship-fill { height:100%; background:linear-gradient(90deg,#52c41a,#73d13d); border-radius:4px; transition:width .4s ease; }

/* Summary box */
.cart-summary-box { background:#fff; border:1px solid #eee; border-radius:14px; padding:24px; position:sticky; top:90px; }
.cart-summary-title { font-size:17px; font-weight:700; margin-bottom:18px; color:#1a1a2e; }
.cart-summary-row { display:flex; justify-content:space-between; font-size:14px; color:#555; margin-bottom:12px; }
.cart-summary-total { display:flex; justify-content:space-between; font-size:18px; font-weight:700; color:#1a1a2e; border-top:1px solid #eee; padding-top:16px; margin-top:6px; margin-bottom:18px; }
.cart-coupon-wrap { display:flex; gap:8px; margin-bottom:6px; }
.cart-coupon-input { flex:1; border:1px solid #ddd; border-radius:8px; padding:9px 12px; font-size:13px; outline:none; transition:border-color .2s; }
.cart-coupon-input:focus { border-color:#e62e04; }
.cart-coupon-btn { background:#1a1a2e; color:#fff; border:none; border-radius:8px; padding:9px 16px; font-size:13px; cursor:pointer; white-space:nowrap; transition:background .2s; }
.cart-coupon-btn:hover { background:#0f3460; }
.cart-coupon-msg { font-size:12px; margin-bottom:10px; padding:0 2px; min-height:16px; }
.cart-coupon-msg.success { color:#52c41a; }
.cart-coupon-msg.error { color:#e62e04; }
.cart-checkout-btn { display:block; width:100%; background:#e62e04; color:#fff; border:none; border-radius:10px; padding:14px; font-size:15px; font-weight:700; cursor:pointer; margin-bottom:14px; transition:background .2s; display:flex; align-items:center; justify-content:center; gap:8px; }
.cart-checkout-btn:hover { background:#c42200; }
.cart-trust-row { display:flex; flex-wrap:wrap; gap:8px 16px; font-size:12px; color:#888; }
.cart-trust-row span { display:flex; align-items:center; gap:4px; }
.cart-trust-row span i { color:#52c41a; font-size:13px; }

/* Cart empty state */
.cart-empty-state { text-align:center; padding:80px 20px; }
.cart-empty-state i.empty-icon { font-size:72px; color:#e0e0e0; display:block; margin-bottom:20px; }
.cart-empty-state h3 { font-size:20px; font-weight:700; color:#1a1a2e; margin-bottom:8px; }
.cart-empty-state p { font-size:14px; color:#888; margin-bottom:24px; }
.cart-empty-state .btn-start-shopping { background:#e62e04; color:#fff; border:none; border-radius:10px; padding:12px 32px; font-size:14px; font-weight:600; cursor:pointer; transition:background .2s; }
.cart-empty-state .btn-start-shopping:hover { background:#c42200; }

/* ============================================================
   MY ORDERS PAGE
   ============================================================ */
.orders-page-wrap { padding:32px 0 60px; }
.orders-page-title { font-size:24px; font-weight:700; color:#1a1a2e; margin-bottom:20px; }
.orders-tab-bar { display:flex; gap:4px; border-bottom:2px solid #f0f0f0; margin-bottom:24px; flex-wrap:wrap; }
.orders-tab { background:none; border:none; padding:10px 18px; font-size:14px; cursor:pointer; color:#888; border-bottom:2px solid transparent; margin-bottom:-2px; transition:all .2s; border-radius:6px 6px 0 0; }
.orders-tab:hover { color:#e62e04; background:#fef0ed; }
.orders-tab.active { color:#e62e04; border-bottom-color:#e62e04; font-weight:600; }

.order-card { background:#fff; border:1px solid #eee; border-radius:14px; margin-bottom:16px; overflow:hidden; }
.order-card-header { display:flex; justify-content:space-between; align-items:center; padding:14px 20px; background:#fafafa; border-bottom:1px solid #f0f0f0; }
.order-id { font-size:13px; font-weight:700; color:#1a1a2e; margin-right:12px; }
.order-date { font-size:12px; color:#aaa; }
.order-items-list { padding:16px 20px; display:flex; flex-direction:column; gap:12px; }
.order-item-preview { display:flex; gap:12px; align-items:center; }
.order-item-preview img { width:56px; height:56px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.order-item-name { font-size:13px; font-weight:600; color:#1a1a2e; }
.order-item-meta { font-size:12px; color:#888; margin-top:3px; }
.order-card-footer { display:flex; justify-content:space-between; align-items:center; padding:14px 20px; border-top:1px solid #f0f0f0; flex-wrap:wrap; gap:8px; }
.order-total { font-size:14px; color:#555; }
.order-total strong { color:#e62e04; }
.order-actions { display:flex; gap:8px; }
.order-action-btn { background:#1a1a2e; color:#fff; border:none; border-radius:8px; padding:8px 14px; font-size:12px; cursor:pointer; transition:background .2s; }
.order-action-btn:hover { background:#0f3460; }
.order-action-btn.outline { background:#fff; color:#1a1a2e; border:1px solid #1a1a2e; }
.order-action-btn.outline:hover { background:#f0f0f0; }
.order-action-btn.primary { background:#e62e04; }
.order-action-btn.primary:hover { background:#c42200; }

/* ============================================================
   WISH LIST PAGE
   ============================================================ */
.wishlist-page-wrap { padding:32px 0 60px; }
.wishlist-page-title { font-size:24px; font-weight:700; color:#1a1a2e; margin-bottom:24px; }
.wishlist-count { font-size:16px; font-weight:400; color:#888; }

/* ============================================================
   MESSAGE CENTER PAGE
   ============================================================ */
.msg-page-wrap { padding:32px 0 60px; }
.msg-page-title { font-size:24px; font-weight:700; color:#1a1a2e; margin-bottom:20px; }
.msg-layout { display:grid; grid-template-columns:280px 1fr; gap:0; border:1px solid #eee; border-radius:14px; overflow:hidden; min-height:520px; }
@media(max-width:720px){ .msg-layout{ grid-template-columns:1fr; } .msg-sidebar{ border-right:none; border-bottom:1px solid #eee; } }
.msg-sidebar { background:#fafafa; border-right:1px solid #eee; display:flex; flex-direction:column; }
.msg-sidebar-header { padding:16px 20px; font-weight:700; font-size:14px; color:#555; border-bottom:1px solid #eee; }
.msg-conv-item { display:flex; gap:12px; align-items:center; padding:14px 16px; cursor:pointer; transition:background .2s; border-bottom:1px solid #f5f5f5; }
.msg-conv-item:hover { background:#f0f0f0; }
.msg-conv-item.active { background:#fef0ed; }
.msg-conv-avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.msg-conv-info { flex:1; min-width:0; position:relative; padding-right:28px; }
.msg-conv-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.msg-conv-name { font-size:13px; font-weight:600; color:#1a1a2e; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.msg-conv-time { font-size:11px; color:#9ca3af; flex-shrink:0; }
.msg-unread-badge {
  background:#e62e04; color:#fff; border-radius:10px; font-size:10px; padding:1px 6px;
  position:absolute; right:0; top:50%; transform:translateY(-50%);
}
.msg-conv-preview { font-size:12px; color:#aaa; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; margin-top:2px; max-width:180px; }
.msg-sidebar #msgConversationList { overflow-y:auto; }
.msg-main { display:flex; flex-direction:column; background:#fff; }
.msg-thread-header { padding:16px 20px; font-weight:700; font-size:15px; color:#1a1a2e; border-bottom:1px solid #eee; }
.msg-thread-body { flex:1; overflow-y:auto; padding:20px; display:flex; flex-direction:column; gap:12px; min-height:340px; max-height:420px; }
.msg-bubble-row { display:flex; flex-direction:column; max-width:68%; }
.msg-bubble-row.me { align-self:flex-end; align-items:flex-end; }
.msg-bubble-row.them { align-self:flex-start; align-items:flex-start; }
.msg-bubble { padding:10px 14px; border-radius:16px; font-size:14px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; }
.msg-bubble-row.me .msg-bubble { background:#e62e04; color:#fff; border-bottom-right-radius:4px; }
.msg-bubble-row.them .msg-bubble { background:#f0f0f0; color:#1a1a2e; border-bottom-left-radius:4px; }
.msg-time { font-size:11px; color:#bbb; margin-top:4px; }
.msg-compose { display:flex; gap:10px; padding:14px 16px; border-top:1px solid #eee; background:#fafafa; position:relative; }
.msg-input { flex:1; border:1px solid #ddd; border-radius:14px; padding:10px 14px; font-size:14px; line-height:1.5; outline:none; min-height:42px; max-height:140px; resize:vertical; font-family:inherit; }
.msg-input:focus { border-color:#e62e04; }
.msg-send-btn { background:#e62e04; color:#fff; border:none; border-radius:50%; width:40px; height:40px; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .2s; }
.msg-send-btn:hover { background:#c42200; }

/* ============================================================
   MY STORE PAGE
   ============================================================ */
.my-store-setup { max-width:640px; margin:48px auto; text-align:center; padding:0 16px 60px; }
.my-store-setup-icon { font-size:72px; color:#e62e04; margin-bottom:20px; }
.my-store-setup h2 { font-size:28px; font-weight:800; color:#1a1a2e; margin-bottom:10px; }
.my-store-setup p { color:#666; font-size:15px; margin-bottom:28px; }
.my-store-features { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:32px; text-align:left; }
@media(max-width:540px){ .my-store-features{ grid-template-columns:1fr; } }
.my-store-feature { background:#f8f9fa; border-radius:12px; padding:18px; display:flex; flex-direction:column; gap:4px; }
.my-store-feature i { font-size:22px; color:#e62e04; margin-bottom:6px; }
.my-store-feature strong { font-size:14px; color:#1a1a2e; }
.my-store-feature span { font-size:12px; color:#888; }
.my-store-open-btn { background:#e62e04; color:#fff; border:none; border-radius:12px; padding:14px 36px; font-size:16px; font-weight:700; cursor:pointer; margin-bottom:14px; transition:background .2s; }
.my-store-open-btn:hover { background:#c42200; }
.my-store-terms { font-size:12px; color:#aaa; }
.my-store-terms a { color:#e62e04; }
.open-store-form { max-width:500px; margin:28px auto 0; background:#fff; border:1px solid #eee; border-radius:16px; padding:28px; text-align:left; }
.open-store-form h3 { font-size:18px; font-weight:700; margin-bottom:20px; color:#1a1a2e; }

/* Store dashboard */
.my-store-dash { padding-bottom:60px; }
.my-store-banner { background:linear-gradient(135deg,#1a1a2e 0%,#0f3460 100%); border-radius:16px; margin-bottom:24px; }
.my-store-banner-inner { display:flex; align-items:center; gap:20px; padding:28px 32px; flex-wrap:wrap; }
.my-store-logo { width:72px; height:72px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,.3); flex-shrink:0; }
.my-store-name { font-size:22px; font-weight:800; color:#fff; }
.my-store-tagline { font-size:13px; color:rgba(255,255,255,.7); margin-top:4px; }
.my-store-banner-actions { margin-left:auto; display:flex; flex-direction:column; gap:8px; align-items:flex-end; }
.my-store-manage-btn { background:#e62e04; color:#fff; text-decoration:none; border-radius:10px; padding:10px 20px; font-size:14px; font-weight:600; white-space:nowrap; }
.my-store-follow-btn { background:transparent; color:#fff; border:2px solid #fff; border-radius:10px; padding:8px 20px; font-size:14px; font-weight:600; white-space:nowrap; cursor:pointer; transition:all .2s; }
.my-store-follow-btn:hover { background:rgba(255,255,255,.15); }
.my-store-follow-btn.following { background:rgba(255,255,255,.18); }
.my-store-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.my-store-stat { background:#fff; border:1px solid #eee; border-radius:12px; padding:24px; text-align:center; }
.my-store-stat strong { display:block; font-size:28px; font-weight:800; color:#e62e04; margin-bottom:4px; }
.my-store-stat span { font-size:13px; color:#888; }

/* Account settings */
.account-settings-wrap { display:flex; flex-direction:column; gap:18px; padding-bottom:56px; }
.account-card {
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:14px;
  padding:18px;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
}
.account-card h3 { font-size:18px; font-weight:700; color:#1a1a2e; display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.account-card h3 i { color:#e62e04; }
.account-card-sub { font-size:13px; color:#7a7a8a; margin-bottom:16px; }
.account-avatar-row { display:flex; align-items:center; justify-content:center; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.account-avatar-clickable {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.account-avatar-img,
.account-avatar-placeholder {
  width:78px;
  height:78px;
  border-radius:50%;
  border:2px solid #f1f5f9;
  flex-shrink:0;
}
.account-avatar-img { object-fit:cover; }
.account-avatar-placeholder {
  background:linear-gradient(135deg,#fb923c,#e62e04);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  font-weight:800;
}
.account-avatar-tip {
  position: static;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 2px 8px;
  margin-top: 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .08);
}
.account-avatar-clickable:hover .account-avatar-img,
.account-avatar-clickable:hover .account-avatar-placeholder {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}
.account-avatar-uploading {
  opacity: .7;
  pointer-events: none;
}
.account-avatar-uploading .account-avatar-tip {
  color: #c2410c;
}
.account-file-btn {
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:fit-content;
  border:1px solid #d9d9d9;
  border-radius:8px;
  padding:7px 11px;
  font-size:12px;
  font-weight:700;
  background:#fff;
  color:#334155;
  cursor:pointer;
}
.account-file-btn:hover { border-color:#e62e04; color:#e62e04; }
.account-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px 14px; }
.account-grid-full { grid-column:1 / -1; }
.account-actions { margin-top:12px; display:flex; justify-content:flex-end; }

.account-country-picker {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: stretch;
}
.account-country-picker .form-control {
  padding-right: 12px;
}
.account-country-toggle {
  border: 1px solid var(--gray-3);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff;
  color: #64748b;
}
.account-country-picker.open .account-country-toggle {
  color: #e62e04;
}
.account-country-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  display: none;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
  z-index: 20;
}
.account-country-option {
  width: 100%;
  text-align: left;
  border: none;
  background: #fff;
  padding: 9px 10px;
  font-size: 13px;
  color: #1f2937;
}
.account-country-option:hover {
  background: #fff7ed;
  color: #c2410c;
}
.account-country-empty {
  padding: 10px;
  color: #94a3b8;
  font-size: 12px;
}

@media (max-width: 760px) {
  .account-grid { grid-template-columns:1fr; }
  .account-actions { justify-content:stretch; }
  .account-actions .btn { width:100%; justify-content:center; }
  .account-avatar-controls { min-width:0; width:100%; }
}

.store-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px;
}
.store-cat-chip {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.store-cat-chip span {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}
.store-cat-chip:hover {
  border-color: #f97316;
  color: #c2410c;
  background: #fff7ed;
}
.store-cat-chip.active {
  background: #e62e04;
  border-color: #e62e04;
  color: #fff;
}
.store-cat-chip.active span {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}

@media (max-width: 640px) {
  .store-cat-filter {
    gap: 8px;
  }
  .store-cat-chip {
    padding: 6px 10px;
    font-size: 11px;
  }
}

/* Shared empty-state */
.empty-state { text-align:center; padding:80px 0; color:#888; }
.empty-state h3 { font-size:20px; font-weight:700; color:#1a1a2e; margin:12px 0 8px; }
.empty-state p { font-size:14px; margin-bottom:20px; }

/* ============================================================
   SELLER TERMS PAGE  legal layout components
   ============================================================ */
.sp-legal-wrap { max-width: 900px; margin: 0 auto; }

/* TOC card */
.sp-toc-card { background: #f8f9fa; border: 1px solid #e8e8e8; border-radius: 14px; padding: 24px 28px; margin-bottom: 36px; }
.sp-toc-title { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 14px; }
.sp-toc-title i { margin-right: 8px; color: #0d47a1; }
.sp-toc-list { margin: 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
@media(max-width: 600px) { .sp-toc-list { grid-template-columns: 1fr; } }
.sp-toc-list li { font-size: 13px; }
.sp-toc-list a { color: #0d47a1; text-decoration: none; }
.sp-toc-list a:hover { text-decoration: underline; }

/* Legal sections */
.sp-legal-section { margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid #f0f0f0; scroll-margin-top: 80px; }
.sp-legal-section:last-child { border-bottom: none; }
.sp-legal-h { font-size: 20px; font-weight: 800; color: #1a1a2e; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid #0d47a1; }

/* Obligation cards grid */
.sp-obligation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
@media(max-width: 860px) { .sp-obligation-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 540px) { .sp-obligation-grid { grid-template-columns: 1fr; } }
.sp-obligation-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 20px; }
.sp-obligation-card i { font-size: 22px; color: #0d47a1; margin-bottom: 10px; display: block; }
.sp-obligation-card strong { display: block; font-size: 14px; color: #1a1a2e; margin-bottom: 6px; }
.sp-obligation-card p { font-size: 12px; color: #666; margin: 0; line-height: 1.6; }

/* Prohibited items grid */
.sp-prohibited-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
@media(max-width: 600px) { .sp-prohibited-grid { grid-template-columns: 1fr; } }
.sp-prohibited-item { background: #fff5f5; border: 1px solid #ffd6d6; border-radius: 10px; padding: 12px 16px; font-size: 13px; color: #c62828; display: flex; align-items: center; gap: 10px; }
.sp-prohibited-item i { color: #c62828; flex-shrink: 0; }

/* Fee table */
.sp-fee-table-wrap { overflow-x: auto; margin: 16px 0; }

/* KPI grid */
.sp-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
@media(max-width: 720px) { .sp-kpi-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 480px) { .sp-kpi-grid { grid-template-columns: 1fr; } }
.sp-kpi-card { background: #e8f5e9; border: 1px solid #c8e6c9; border-radius: 12px; padding: 20px; text-align: center; }
.sp-kpi-val { font-size: 22px; font-weight: 800; color: #2e7d32; margin-bottom: 6px; }
.sp-kpi-label { font-size: 12px; color: #555; line-height: 1.4; }

/* Notice boxes */
.sp-notice-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; margin: 16px 0; }
.sp-notice-box i { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.sp-notice-box p { margin: 0; font-size: 13px; line-height: 1.6; }
.sp-notice--info  { background: #e3f2fd; border: 1px solid #90caf9; }
.sp-notice--info  i { color: #1565c0; }
.sp-notice--success { background: #e8f5e9; border: 1px solid #a5d6a7; }
.sp-notice--success i { color: #2e7d32; }
.sp-notice--warning { background: #fffde7; border: 1px solid #fff176; }
.sp-notice--warning i { color: #f57f17; }

/* ============================================================
   CART PAGINATION
   ============================================================ */
.cart-pagination-wrap { margin-bottom: 8px; }
.cart-pagination { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 0 4px; }
.cart-pg-btn { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 7px 16px; font-size: 13px; cursor: pointer; color: #1a1a2e; transition: all .2s; display: flex; align-items: center; gap: 6px; }
.cart-pg-btn:hover:not(.disabled) { background: #f5f5f5; border-color: #bbb; }
.cart-pg-btn.disabled { opacity: .4; cursor: not-allowed; }
.cart-pg-dot { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #ddd; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; color: #555; transition: all .2s; }
.cart-pg-dot:hover { background: #f5f5f5; }
.cart-pg-dot.active { background: #e62e04; color: #fff; border-color: #e62e04; }
.cart-pg-info { margin-left: auto; font-size: 12px; color: #aaa; white-space: nowrap; }

/* ============================================================
   CREATE STORE MODAL
   ============================================================ */
.cs-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 1200; backdrop-filter: blur(3px);
}
.cs-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(.96);
  width: min(600px, 96vw); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 36px 40px 32px;
  z-index: 1201; opacity: 0; pointer-events: none;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), opacity .22s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
}
.cs-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) scale(1); }
@media(max-width:540px){ .cs-modal{ padding: 28px 20px 24px; border-radius: 16px; } }

.cs-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: #f0f0f0; border: none; border-radius: 50%;
  width: 36px; height: 36px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #555;
  transition: background .2s;
}
.cs-modal-close:hover { background: #e0e0e0; }

.cs-modal-header { text-align: center; margin-bottom: 24px; }
.cs-modal-icon { font-size: 40px; color: #e62e04; margin-bottom: 10px; }
.cs-modal-title { font-size: 22px; font-weight: 800; color: #1a1a2e; margin-bottom: 6px; }
.cs-modal-sub { font-size: 13px; color: #888; }

/* Step indicators */
.cs-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 28px;
}
.cs-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 72px;
}
.cs-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: #eee; color: #aaa; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
}
.cs-step-label { font-size: 11px; color: #aaa; transition: color .25s; }
.cs-step.active .cs-step-num  { background: #e62e04; color: #fff; box-shadow: 0 0 0 4px rgba(230,46,4,.15); }
.cs-step.active .cs-step-label{ color: #e62e04; font-weight: 600; }
.cs-step.done   .cs-step-num  { background: #52c41a; color: #fff; }
.cs-step.done   .cs-step-label{ color: #52c41a; }
.cs-step-divider { flex: 1; height: 2px; background: #eee; min-width: 32px; max-width: 60px; margin-bottom: 16px; }

/* Form fields */
.cs-form-row { margin-bottom: 18px; }
.cs-label { display: block; font-size: 13px; font-weight: 600; color: #1a1a2e; margin-bottom: 7px; }
.cs-required { color: #e62e04; }
.cs-input-wrap { position: relative; }
.cs-input-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #bbb; font-size: 13px; pointer-events: none; }
.cs-input {
  width: 100%; border: 1.5px solid #e0e0e0; border-radius: 10px;
  padding: 11px 14px 11px 36px; font-size: 14px; color: #1a1a2e;
  outline: none; transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box; background: #fff;
}
.cs-input:focus { border-color: #e62e04; box-shadow: 0 0 0 3px rgba(230,46,4,.1); }
.cs-input--err  { border-color: #e62e04 !important; }
.cs-select { padding-left: 36px; appearance: none; cursor: pointer; }
.cs-country-wrap { position: relative; }
.cs-country-flag { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 22px; height: auto; border-radius: 2px; pointer-events: none; z-index: 1; }
.cs-select-flag { padding-left: 42px; }

/* Custom flag dropdown */
.flag-dd { position: relative; }
.flag-dd-trigger {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid #d0d0d0; border-radius: 6px; padding: 8px 32px 8px 10px;
  background: #fff; font-size: 13px; color: #222; position: relative;
  transition: border-color .2s; user-select: none; min-height: 20px;
}
.flag-dd-trigger:hover { border-color: #aaa; }
.flag-dd-trigger.flag-dd-open { border-color: #222; }
.flag-dd-trigger .flag-dd-flag { width: 24px; height: auto; border-radius: 2px; flex-shrink: 0; }
.flag-dd-trigger .flag-dd-chevron {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: #888; pointer-events: none; transition: transform .2s;
}
.flag-dd-trigger.flag-dd-open .flag-dd-chevron { transform: translateY(-50%) rotate(180deg); }
.flag-dd-list {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid #d0d0d0; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.13); z-index: 1100;
  max-height: 260px; overflow-y: auto; padding: 4px 0;
}
.flag-dd-list.flag-dd-show { display: block; }
.flag-dd-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  cursor: pointer; font-size: 13px; color: #222; transition: background .12s;
}
.flag-dd-item:hover { background: #f5f5f5; }
.flag-dd-item.flag-dd-active { background: #fff3ed; font-weight: 600; }
.flag-dd-item img { width: 24px; height: auto; border-radius: 2px; flex-shrink: 0; }
.flag-dd-list::-webkit-scrollbar { width: 6px; }
.flag-dd-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* store form variant */
.flag-dd--form .flag-dd-trigger {
  border: 1.5px solid #e0e0e0; border-radius: 10px; padding: 11px 36px 11px 12px;
  font-size: 14px; color: #1a1a2e;
}
.flag-dd--form .flag-dd-trigger:focus, .flag-dd--form .flag-dd-trigger.flag-dd-open { border-color: #e62e04; box-shadow: 0 0 0 3px rgba(230,46,4,.1); }
.flag-dd--form .flag-dd-trigger .flag-dd-flag { width: 22px; }
.flag-dd--form .flag-dd-item img { width: 22px; }
.flag-dd--form .flag-dd-list { border-radius: 10px; max-height: 220px; }

/* Hide native select when custom flag dropdown is present */
.flag-dd + select,
.flag-dd ~ select { display: none !important; position: absolute !important; width: 0 !important; height: 0 !important; pointer-events: none !important; opacity: 0 !important; overflow: hidden !important; }
.cs-textarea { padding: 11px 14px; resize: vertical; min-height: 80px; }
.cs-char-count { text-align: right; font-size: 11px; color: #bbb; margin-top: 4px; }
.cs-field-hint { font-size: 11px; color: #aaa; margin-top: 5px; }
.cs-field-err  { font-size: 12px; color: #e62e04; margin-top: 5px; min-height: 18px; }

/* Agree checkbox */
.cs-agree-row { margin: 18px 0; }
.cs-checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #555; cursor: pointer; }
.cs-checkbox-label input[type=checkbox] { margin-top: 2px; accent-color: #e62e04; width: 15px; height: 15px; flex-shrink: 0; }
.cs-checkbox-label a { color: #e62e04; }

/* Buttons */
.cs-btn-next {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: #e62e04; color: #fff; border: none;
  border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .2s, transform .15s;
  margin-top: 6px;
}
.cs-btn-next:hover { background: #c42200; transform: translateY(-1px); }
.cs-btn-row { display: flex; gap: 12px; margin-top: 6px; }
.cs-btn-back {
  display: flex; align-items: center; gap: 6px;
  background: #f5f5f5; color: #555; border: none;
  border-radius: 12px; padding: 13px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .2s; flex-shrink: 0;
}
.cs-btn-back:hover { background: #e8e8e8; }
.cs-btn-row .cs-btn-next { flex: 1; margin-top: 0; }
.cs-btn-create {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1; background: #52c41a; color: #fff; border: none;
  border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .2s, transform .15s;
}
.cs-btn-create:hover { background: #389e0d; transform: translateY(-1px); }

/* Review card */
.cs-review-card {
  background: #f8f9fa; border: 1px solid #e8e8e8; border-radius: 14px;
  padding: 20px 24px; margin-bottom: 22px;
}
.cs-review-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid #f0f0f0; gap: 16px;
}
.cs-review-row:last-child { border-bottom: none; }
.cs-review-row span { font-size: 12px; color: #888; flex-shrink: 0; }
.cs-review-row strong { font-size: 14px; color: #1a1a2e; text-align: right; word-break: break-word; }

/* 
   KYC Step  Create Store Modal
    */

/* KYC info note */
.cs-kyc-note {
  display: flex; align-items: flex-start; gap: 12px;
  background: #e8f4fd; border: 1px solid #b3d9f7; border-radius: 10px;
  padding: 14px 16px; font-size: 13px; color: #1a5276;
  line-height: 1.6; margin-bottom: 20px;
}
.cs-kyc-note i { color: #1a7fc1; font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* Two-column form row */
.cs-form-row--2col { display: flex; gap: 14px; }
.cs-form-row--2col .cs-col { flex: 1; min-width: 0; }
@media(max-width:520px) { .cs-form-row--2col { flex-direction: column; gap: 0; } }

/* Optional label modifier */
.cs-optional { font-size: 11px; color: #999; font-weight: 400; }

/* File upload area */
.cs-upload-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 22px 16px;
  border: 2px dashed #cdd5de; border-radius: 10px;
  cursor: pointer; transition: all .2s;
  background: #fafbfc; text-align: center;
  font-size: 13px; color: #666;
  position: relative;
}
.cs-upload-wrap:hover { border-color: #e53935; background: #fff8f8; }
.cs-upload-wrap i { font-size: 24px; color: #b0b8c4; margin-bottom: 2px; }
.cs-upload-hint { font-size: 11px; color: #aaa; }
.cs-upload-input { display: none; }
.cs-upload-wrap.cs-upload-wrap--preview {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-style: solid;
}
.cs-upload-wrap.cs-upload-wrap--preview i,
.cs-upload-wrap.cs-upload-wrap--preview > span {
  opacity: 0;
}
.cs-upload-name {
  font-size: 12px; color: #43a047; font-weight: 600;
  margin-top: 5px; min-height: 16px;
}
.cs-upload-thumb {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dfe7df;
  background: #fff;
  display: block;
  margin: 2px 0 6px;
}
.cs-upload-fileline {
  font-size: 12px;
  color: #43a047;
  font-weight: 600;
  word-break: break-all;
}

/* 
   My Store  Verification Banner
    */
.ms-verif-banner {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ms-verif-banner--warn {
  background: #fff8e1; border: 1.5px solid #ffe082;
}
.ms-verif-banner--info {
  background: #e3f2fd; border: 1.5px solid #90caf9;
}
.ms-verif-banner-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.ms-verif-banner--warn .ms-verif-banner-icon { background: #fff3cd; color: #e65100; }
.ms-verif-banner--info .ms-verif-banner-icon { background: #bbdefb; color: #1565c0; }
.ms-verif-banner-body { flex: 1; }
.ms-verif-banner-body strong { display: block; font-size: 14px; color: #1a1a2e; margin-bottom: 3px; }
.ms-verif-banner-body p { margin: 0; font-size: 13px; color: #555; line-height: 1.5; }
.ms-verif-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #fff; border: none; border-radius: 9px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: opacity .2s;
}
.ms-verif-btn:hover { opacity: .85; }
@media(max-width:540px) { .ms-verif-btn { width: 100%; justify-content: center; margin-top: 8px; } }

/* =====================================================
   MOBILE HAMBURGER & MOBILE NAV
   ===================================================== */
.mobile-menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; font-size: 20px;
  color: #222; background: transparent; border: none; cursor: pointer;
  flex-shrink: 0;
}
.mobile-menu-btn:hover { background: #f5f5f5; }
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 999;
}

/* =====================================================
   MOBILE DRAWER (hamburger side panel)
   ===================================================== */
.mobile-drawer {
  display: none; position: fixed; top: 0; left: 0;
  width: 300px; max-width: 85vw; height: 100%;
  background: #fff; z-index: 1001; overflow-y: auto;
  box-shadow: 2px 0 12px rgba(0,0,0,.15);
  animation: drawerSlideIn .25s ease;
}
@keyframes drawerSlideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.mobile-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #eee;
}
.mobile-drawer-logo { height: 34px; }
.mobile-drawer-close {
  width: 36px; height: 36px; border: none; background: transparent;
  font-size: 20px; color: #555; cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mobile-drawer-close:hover { background: #f0f0f0; }
.mobile-drawer-body { padding: 8px 0; }
.mobile-drawer-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; font-size: 14px; color: #333;
  text-decoration: none; cursor: pointer; transition: background .15s;
}
.mobile-drawer-item:hover { background: #f5f5f5; }
.mobile-drawer-item i { font-size: 18px; color: #666; width: 22px; text-align: center; flex-shrink: 0; }
.mobile-drawer-flag { width: 24px; height: 18px; border-radius: 2px; flex-shrink: 0; }
.mobile-drawer-divider { border-top: 1px solid #eee; margin: 6px 0; }
.mobile-drawer-lang {
  padding: 8px 20px 14px; background: #f9f9f9;
}
.mobile-drawer-lang .lang-popup-section { margin-bottom: 10px; }
.mobile-drawer-lang .lang-popup-label { font-size: 12px; color: #666; margin-bottom: 4px; }
.mobile-drawer-lang .lang-popup-native-select {
  width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px;
}
.mobile-drawer-lang .lang-popup-save {
  width: 100%; padding: 10px; background: #e53935; color: #fff;
  border: none; border-radius: 4px; font-size: 14px; cursor: pointer; margin-top: 6px;
}
.mobile-drawer-lang .lang-popup-save:hover { background: #c62828; }

/* Brand Show More button */
.brand-show-more {
  text-align: center; margin-top: 16px;
}
.brand-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 28px; font-size: 14px; font-weight: 500;
  color: #e53935; background: #fff; border: 1.5px solid #e53935;
  border-radius: 24px; cursor: pointer; transition: all .2s;
}
.brand-more-btn:hover { background: #e53935; color: #fff; }
.brand-more-btn i { font-size: 12px; }

/* Hide product card action buttons globally */
.product-card-actions { display: none !important; }

/* =====================================================
   COMPREHENSIVE MOBILE RESPONSIVE
   ===================================================== */

/* ── 768px: Tablet & below ── */
@media (max-width: 768px) {
  /* Show hamburger */
  .mobile-menu-btn { display: flex; }
  .mobile-nav-overlay { display: block; }
  .mobile-drawer { display: block; }

  /* Hide app download action in header */
  .action-app { display: none !important; }

  /* Search bar — full-width below logo on mobile */
  .search-mode-select { display: none; }

  /* Compact logo */
  .header-logo-img { height: 44px; }

  /* Main inner wrap */

  /* Nav bar — horizontal scroll with no-wrap */
  .header__nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-inner { gap: 0; overflow-x: auto; flex-wrap: nowrap; }
  .nav-all-cats { display: none; }
  .nav-links {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 0;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-link { white-space: nowrap; padding: 10px 12px; font-size: 13px; }

  /* Hide topbar on mobile */
  .topbar-right { display: none; }
  .topbar-inner { justify-content: center; }

  /* Footer app strip — stack vertically */
  .footer__app-strip { display: none; }

  /* Strip banner carousel — taller on mobile */
  .strip-slide { min-height: 80px; }
  .strip-slide img { height: 80px; object-fit: cover; }

  /* Hero banner responsive */
  .hero-banner { flex-direction: column; text-align: center; padding: 32px 16px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-carousel-wrap { height: 380px; }
  .hero-overlay { padding: 0 20px; }
  .hero-overlay-inner { max-width: 100%; }
  .hero-sub { font-size: 12px; letter-spacing: 1.5px; margin-bottom: 6px; }
  .hero-title { font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
  .hero-desc { font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
  .hero-cta { padding: 10px 28px; font-size: 14px; }
  .hero-carousel-btn { width: 32px; height: 32px; font-size: 20px; }
  .hero-carousel-prev { left: 6px; }
  .hero-carousel-next { right: 6px; }

  /* Header actions — hide on mobile, moved into drawer */
  .header-actions { display: none !important; }
  .main-inner { flex-wrap: wrap; gap: 10px; justify-content: space-between; }
  .header-logo { order: 0; }
  .mobile-menu-btn { order: 1; }
  .header-search { order: 2; flex-basis: 100%; max-width: 100%; margin-top: 4px; height: 40px; }

  /* Brand grid — 3 columns on tablet */
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand-card { padding: 12px 6px 10px; }

  /* Hide add-to-cart / buy-now on product cards (mobile already hidden) */

  /* Static page hero */
  .sp-hero { padding: 32px 20px; margin: 12px 0 20px; }
  .sp-hero-title { font-size: 22px; }
  .sp-hero-sub { font-size: 13px; }
  .sp-2col { grid-template-columns: 1fr; gap: 24px; }

  /* Product grid: 2 cols */

  /* Product detail */
  .pd-layout { grid-template-columns: 1fr; gap: 20px; }
  .pd-gallery { position: static; flex-direction: column-reverse; }
  .pd-thumbs { flex-direction: row; width: auto; max-height: none; overflow-x: auto; }
  .pd-main-img-wrap { max-width: 100%; max-height: 360px; }

  /* Tabs */
  .pd-tab-content { padding: 16px 12px; }

  /* Cart */
  .cart-page-layout { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--wide { grid-column: span 2; grid-template-columns: 1fr 1fr; }

  /* Trust section */
  .trust-section { grid-template-columns: 1fr; }

  /* Mega menu full width */
  .mega-menu { min-width: 100vw; flex-wrap: wrap; }
  .mega-col { flex-basis: 50%; }

  /* Category sidebar overlay on mobile */
  .cat-sidebar { display: none; }
  .cat-layout { grid-template-columns: 1fr; }
}

/* ── 480px: Small phone ── */
@media (max-width: 480px) {
  /* Even smaller header */
  .header-logo-img { height: 32px; }
  .header-search { height: 36px; border-width: 1.5px; }
  .search-input { padding: 0 10px; font-size: 13px; }
  .search-btn { padding: 0 14px; font-size: 15px; }
  .mobile-menu-btn { width: 34px; height: 34px; font-size: 18px; }

  /* Hero even more compact */
  .hero-carousel-wrap { height: 320px; }
  .hero-overlay { padding: 0 16px; }
  .hero-sub { font-size: 11px; }
  .hero-title { font-size: 18px; }
  .hero-desc { font-size: 12px; margin-bottom: 12px; }
  .hero-cta { padding: 8px 22px; font-size: 13px; }

  /* Hide cart label text */
  .cart-label { display: none; }

  /* Product card compact */
  .product-card { border-radius: 8px; }
  .product-card-body { padding: 8px; }
  .product-card-name { font-size: 12px; -webkit-line-clamp: 2; }
  .product-card-price { font-size: 14px; }

  /* Product detail mobile tweaks */
  .pd-title { font-size: 16px; }
  .pd-price-current { font-size: 24px; }
  .pd-info { padding: 12px; }
  .pd-cta-btns { flex-direction: column; }
  .pd-btn-contact { width: 100%; }

  /* Footer single column */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .bottom-inner { flex-direction: column; text-align: center; }

  /* Rich description */
  .pd-rich-content { max-width: 100%; }
  .pd-desc-features { grid-template-columns: 1fr; }
  .pd-desc-service { grid-template-columns: 1fr; }

  /* Orders / Account pages */
  .order-item { flex-direction: column; }
}
