/*
Theme Name:  Artomall Global
Theme URI:   https://artomall.com
Author:      Artomall
Description: Premium worldwide marketplace theme — Deep Blue & Gold
Version:     1.0.0
Text Domain: artomall
*/

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* Brand */
  --navy:        #0f172a;
  --navy-mid:    #1e293b;
  --navy-light:  #334155;
  --gold:        #f59e0b;
  --gold-dark:   #d97706;
  --gold-light:  #fbbf24;
  --gold-pale:   #fffbeb;
  --gold-border: #fde68a;

  /* Neutrals */
  --text:        #0f172a;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --border:      #e2e8f0;
  --bg:          #ffffff;
  --bg-soft:     #f8fafc;
  --bg-dark:     #0f172a;

  /* Status */
  --green:   #10b981;
  --red:     #ef4444;
  --blue:    #3b82f6;
  --orange:  #f97316;

  /* Effects */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.15);
  --shadow-gold:0 4px 20px rgba(245,158,11,.25);

  /* Geometry */
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl:28px;

  /* Layout */
  --font:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:    1320px;
  --header-h: 72px;
  --util-h:   38px;
  --nav-h:    46px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--nav-h) + 8px); overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--bg-dark); }

/* ================================================================
   UTILITY BAR
   ================================================================ */
.util-bar {
  background: var(--navy);
  height: var(--util-h);
  display: flex;
  align-items: center;
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  position: sticky;
  top: 0;
  z-index: 200;
}
.util-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; overflow: hidden; }
.util-left, .util-right { display: flex; align-items: center; gap: 20px; }
.util-left a, .util-right a { color: rgba(255,255,255,.7); transition: color .15s; white-space: nowrap; }
.util-left a:hover, .util-right a:hover { color: var(--gold); }
.util-divider { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
.util-lang { display: flex; align-items: center; gap: 4px; }
.util-currency { display: flex; align-items: center; gap: 4px; }

/* ================================================================
   SITE HEADER
   ================================================================ */
.site-header {
  background: var(--navy-mid);
  position: sticky;
  top: var(--util-h);
  z-index: 190;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.logo-text { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.logo-text span { color: var(--gold); }

/* Search */
.header-search { flex: 1; max-width: 680px; }
.search-form { display: flex; align-items: center; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid transparent; transition: .2s; }
.search-form:focus-within { border-color: var(--gold); }
.search-cat {
  border: none; border-right: 1px solid var(--border);
  padding: 0 12px; height: 46px; font-size: .82rem;
  color: var(--text); background: var(--bg-soft);
  outline: none; max-width: 140px; cursor: pointer;
}
.search-input {
  flex: 1; border: none; padding: 0 16px; height: 46px;
  font-size: .95rem; outline: none; color: var(--text);
}
.search-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy);
  border: none; padding: 0 20px; height: 46px;
  font-size: .9rem; font-weight: 700;
  transition: background .2s; white-space: nowrap;
}
.search-btn:hover { background: var(--gold-light); }

/* Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy);
  padding: 9px 18px; border-radius: var(--radius);
  font-weight: 700; font-size: .85rem;
  border: none; transition: .2s; text-decoration: none;
}
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: #fff;
  padding: 9px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.3);
  transition: .2s; text-decoration: none;
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: #fff;
  padding: 9px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: .85rem;
  border: none; transition: .2s; text-decoration: none;
}
.btn-navy:hover { background: var(--navy-light); }
.cart-btn {
  position: relative; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; transition: .2s; text-decoration: none;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: var(--navy);
  width: 18px; height: 18px; border-radius: 50%;
  font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.mobile-toggle {
  display: none; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  width: 44px; height: 44px; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}

/* Category nav */
.cat-nav {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  height: var(--nav-h);
  overflow: hidden;
}
.cat-nav-inner {
  display: flex; align-items: center; gap: 0;
  height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 0 16px; height: 100%;
  color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 500;
  white-space: nowrap; transition: .15s; border-bottom: 2px solid transparent;
  text-decoration: none;
}
.cat-nav-link:hover, .cat-nav-link.active { color: var(--gold); border-bottom-color: var(--gold); }
.cat-nav-link.highlight { color: var(--gold); font-weight: 700; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; left: -320px; width: 300px; height: 100%;
  background: var(--navy-mid); z-index: 1000; transition: left .3s ease;
  overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-drawer.open { left: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer-close { background: none; border: none; color: #fff; font-size: 1.4rem; }
.drawer-nav { display: flex; flex-direction: column; padding: 12px 0; }
.drawer-nav a { padding: 12px 20px; color: rgba(255,255,255,.8); font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.06); transition: .15s; }
.drawer-nav a:hover { background: rgba(255,255,255,.06); color: var(--gold); }
.drawer-nav a.highlight { color: var(--gold); font-weight: 700; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 999; display: none; }
.drawer-overlay.show { display: block; }

/* ================================================================
   HOMEPAGE HERO
   ================================================================ */
.g-hero {
  background: linear-gradient(135deg, #020617 0%, #0f172a 40%, #1e1b4b 70%, #0f172a 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.g-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%);
  pointer-events: none;
}
.g-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,.1) 0%, transparent 70%);
  pointer-events: none;
}
.g-hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.g-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); border-radius: 50px; padding: 6px 14px; font-size: .75rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.g-hero-badge-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.g-hero h1 { font-size: 3.2rem; font-weight: 900; color: #fff; line-height: 1.08; margin-bottom: 16px; letter-spacing: -.03em; }
.g-hero-accent { background: linear-gradient(90deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.g-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.65); margin-bottom: 32px; line-height: 1.7; }
.g-hero-search { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-xl); padding: 6px; display: flex; align-items: center; margin-bottom: 20px; backdrop-filter: blur(10px); }
.g-hero-search-input { flex: 1; background: none; border: none; padding: 12px 16px; font-size: 1rem; color: #fff; outline: none; }
.g-hero-search-input::placeholder { color: rgba(255,255,255,.4); }
.g-hero-search-btn { background: var(--gold); color: var(--navy); border: none; padding: 12px 24px; border-radius: var(--radius-lg); font-weight: 700; font-size: .95rem; transition: .2s; white-space: nowrap; }
.g-hero-search-btn:hover { background: var(--gold-light); }
.g-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.g-hero-tag { color: rgba(255,255,255,.5); font-size: .8rem; }
.g-hero-tag a { color: rgba(255,255,255,.7); transition: color .15s; }
.g-hero-tag a:hover { color: var(--gold); }

/* Hero stat cards */
.g-hero-cards { display: flex; flex-direction: column; gap: 12px; }
.g-hcard {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: .2s;
}
.g-hcard:hover { border-color: rgba(245,158,11,.4); background: rgba(255,255,255,.09); }
.g-hcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.g-hcard-label { font-size: .78rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.g-hcard-icon { font-size: 1.4rem; }
.g-hcard-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.g-hcard-stat-val { font-size: 1.2rem; font-weight: 800; color: #fff; }
.g-hcard-stat-lbl { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.g-hcard-seller { background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(245,158,11,.05)); border-color: rgba(245,158,11,.3); }
.g-hcard-seller-body { text-align: center; }
.g-hcard-seller-title { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.g-hcard-seller-sub { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.g-hcard-commission { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; }
.g-hcard-comm-item { text-align: center; }
.g-hcard-comm-val { font-size: 1rem; font-weight: 800; color: var(--gold); }
.g-hcard-comm-lbl { font-size: .68rem; color: rgba(255,255,255,.5); }

/* ================================================================
   GLOBAL STATS BAR
   ================================================================ */
.g-stats-bar { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); padding: 14px 0; }
.g-stats-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.g-stat-item { display: flex; align-items: center; gap: 8px; padding: 6px 24px; border-right: 1px solid rgba(255,255,255,.1); }
.g-stat-item:last-child { border-right: none; }
.g-stat-icon { font-size: 1.1rem; }
.g-stat-val { font-size: .95rem; font-weight: 800; color: var(--gold); }
.g-stat-lbl { font-size: .75rem; color: rgba(255,255,255,.55); }

/* ================================================================
   CATEGORY STRIP
   ================================================================ */
.g-cat-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 0; }
.g-cat-strip-inner { display: flex; align-items: stretch; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.g-cat-strip-inner::-webkit-scrollbar { display: none; }
.g-cat-link { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 18px; font-size: .75rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: .15s; text-decoration: none; flex-shrink: 0; }
.g-cat-link:hover, .g-cat-link.active { color: var(--navy); border-bottom-color: var(--gold); }
.g-cat-link-icon { font-size: 1.4rem; }

/* ================================================================
   SECTIONS
   ================================================================ */
.g-section { padding: 56px 0; }
.g-section-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.g-section-head-text { flex: 1; }
.g-section-tag { display: inline-block; background: var(--gold-pale); color: var(--gold-dark); border: 1px solid var(--gold-border); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; margin-bottom: 6px; }
.g-section-head h2 { font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.g-section-head p { font-size: .9rem; color: var(--text-muted); margin-top: 4px; }
.g-view-all { color: var(--gold-dark); font-weight: 700; font-size: .85rem; display: flex; align-items: center; gap: 4px; white-space: nowrap; text-decoration: none; }
.g-view-all:hover { text-decoration: underline; }

/* ================================================================
   DEAL SECTION
   ================================================================ */
.g-deals-bar { background: var(--navy); border-radius: var(--radius-xl); padding: 16px 24px; display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.g-deals-fire { font-size: 1.6rem; }
.g-deals-title { font-size: 1.1rem; font-weight: 800; color: #fff; flex: 1; }
.g-deals-ends { font-size: .82rem; color: rgba(255,255,255,.6); }
.g-deals-countdown { display: flex; align-items: center; gap: 4px; }
.g-deals-count-unit { background: var(--gold); color: var(--navy); font-weight: 800; font-size: .9rem; padding: 4px 10px; border-radius: 6px; min-width: 36px; text-align: center; }
.g-deals-count-sep { color: rgba(255,255,255,.6); font-weight: 700; }

/* ================================================================
   PRODUCT GRID
   ================================================================ */
.g-product-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.g-prod-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: .2s; }
.g-prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-border); }
.g-prod-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.g-prod-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-prod-card:hover .g-prod-img { transform: scale(1.06); }
.g-prod-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #cbd5e1; }
.g-prod-badge { position: absolute; top: 10px; left: 10px; background: #ef4444; color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 50px; }
.g-prod-badge-gold { background: var(--gold); color: var(--navy); }
.g-prod-wishlist { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; background: rgba(255,255,255,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; opacity: 0; transition: opacity .2s; cursor: pointer; border: none; }
.g-prod-card:hover .g-prod-wishlist { opacity: 1; }
.g-prod-body { padding: 14px; }
.g-prod-title { font-size: .83rem; font-weight: 600; color: var(--navy); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; text-decoration: none; display: block; }
.g-prod-title:hover { color: var(--gold-dark); }
.g-prod-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.g-prod-stars { color: var(--gold); font-size: .85rem; }
.g-prod-reviews { font-size: .72rem; color: var(--text-light); }
.g-prod-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.g-prod-price { font-size: 1rem; font-weight: 800; color: var(--navy); }
.g-prod-reg { font-size: .78rem; color: var(--text-light); text-decoration: line-through; }
.g-prod-shipping { font-size: .72rem; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.g-prod-atc { width: 100%; background: var(--navy); color: #fff; border: 1px solid var(--navy); padding: 8px; border-radius: var(--radius); font-size: .8rem; font-weight: 600; transition: .2s; }
.g-prod-atc:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ================================================================
   CATEGORY FEATURE GRID
   ================================================================ */
.g-cat-feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.g-cat-feature-card { border-radius: var(--radius-xl); padding: 28px 20px; text-align: center; cursor: pointer; transition: .2s; text-decoration: none; display: block; position: relative; overflow: hidden; }
.g-cat-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.g-cat-feature-card::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.1); opacity: 0; transition: opacity .2s; }
.g-cat-feature-card:hover::before { opacity: 1; }
.gcf-icon { font-size: 2.8rem; margin-bottom: 12px; display: block; }
.gcf-name { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.gcf-count { font-size: .78rem; opacity: .75; }

/* ================================================================
   TRUST / ASSURANCE SECTION
   ================================================================ */
.g-trust { background: var(--navy); padding: 40px 0; }
.g-trust-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; }
.g-trust-item { text-align: center; }
.g-trust-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.g-trust-title { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.g-trust-sub { font-size: .75rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ================================================================
   SELLER SECTION
   ================================================================ */
.g-seller-section { background: linear-gradient(135deg, #020617, #0f172a, #1e1b4b); padding: 72px 0; }
.g-seller-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.g-seller-text h2 { font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 16px; line-height: 1.1; letter-spacing: -.02em; }
.g-seller-text h2 span { color: var(--gold); }
.g-seller-text p { font-size: 1rem; color: rgba(255,255,255,.65); margin-bottom: 32px; line-height: 1.7; }
.g-seller-perks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.g-seller-perk { display: flex; align-items: center; gap: 12px; }
.g-seller-perk-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.g-seller-perk span { font-size: .9rem; color: rgba(255,255,255,.8); }
.g-seller-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.g-seller-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-seller-stat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-xl); padding: 24px; }
.g-seller-stat-card.featured { background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(245,158,11,.05)); border-color: rgba(245,158,11,.3); }
.g-ssc-val { font-size: 2rem; font-weight: 900; color: var(--gold); margin-bottom: 4px; }
.g-ssc-lbl { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ================================================================
   PAYMENT PAGE
   ================================================================ */
.g-payment-hero { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); padding: 56px 0; text-align: center; color: #fff; }
.g-payment-hero h1 { font-size: 2.4rem; font-weight: 900; margin-bottom: 12px; }
.g-payment-hero p { font-size: 1rem; color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto; }
.g-pay-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.g-pay-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; transition: .2s; }
.g-pay-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.g-pay-card-icon { font-size: 2.5rem; margin-bottom: 14px; display: block; }
.g-pay-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.g-pay-card p { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.g-pay-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 50px; }
.g-pay-badge-green { background: #d1fae5; color: #065f46; }
.g-pay-badge-blue  { background: #dbeafe; color: #1e40af; }
.g-pay-badge-gold  { background: var(--gold-pale); color: var(--gold-dark); }
.g-pay-badge-gray  { background: #f1f5f9; color: #475569; }

/* Payment logos strip */
.g-pay-logos { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 24px; background: var(--bg-soft); border-radius: var(--radius-xl); border: 1px solid var(--border); }
.g-pay-logo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 18px; font-size: .8rem; font-weight: 700; color: var(--navy); }

/* Security badges */
.g-security-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.g-sec-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.g-sec-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.g-sec-title { font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.g-sec-sub { font-size: .75rem; color: var(--text-muted); }

/* ================================================================
   PAGE HERO
   ================================================================ */
.g-page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); padding: 48px 0; color: #fff; }
.g-page-hero h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 8px; }
.g-page-hero p { font-size: .95rem; color: rgba(255,255,255,.65); }
.g-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.g-breadcrumb a { color: var(--gold); }
.g-breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ================================================================
   AUTH PAGES
   ================================================================ */
.g-auth-page { min-height: calc(100vh - var(--header-h) - var(--util-h) - var(--nav-h)); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.g-auth-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.g-auth-box-wide { max-width: 560px; }
.g-auth-logo { text-align: center; margin-bottom: 24px; }
.g-auth-logo a { font-size: 1.4rem; font-weight: 900; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.g-auth-logo .logo-mark { width: 36px; height: 36px; font-size: .95rem; }
.g-auth-title { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; text-align: center; }
.g-auth-sub { font-size: .88rem; color: var(--text-muted); margin-bottom: 28px; text-align: center; }
.g-auth-tag { display: inline-block; background: var(--gold-pale); color: var(--gold-dark); border: 1px solid var(--gold-border); font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; letter-spacing: .06em; margin-bottom: 8px; }
.g-form-group { margin-bottom: 18px; }
.g-form-label { display: block; font-size: .83rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.g-form-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .9rem; color: var(--text); outline: none; transition: border-color .15s; background: #fff; }
.g-form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,158,11,.1); }
.g-form-input-wrap { position: relative; }
.g-pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: .9rem; cursor: pointer; color: var(--text-muted); }
.g-btn-form { width: 100%; background: var(--navy); color: #fff; border: none; padding: 13px; border-radius: var(--radius); font-size: .95rem; font-weight: 700; transition: .2s; margin-top: 4px; }
.g-btn-form:hover { background: var(--navy-light); }
.g-btn-form-gold { background: var(--gold); color: var(--navy); }
.g-btn-form-gold:hover { background: var(--gold-light); }
.g-auth-divider { text-align: center; position: relative; margin: 20px 0; }
.g-auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.g-auth-divider span { background: #fff; padding: 0 12px; position: relative; font-size: .8rem; color: var(--text-muted); }
.g-auth-switch { text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: 16px; }
.g-auth-switch a { color: var(--gold-dark); font-weight: 600; text-decoration: none; }
.g-auth-switch a:hover { text-decoration: underline; }
.g-auth-check { display: flex; align-items: flex-start; gap: 8px; font-size: .83rem; color: var(--text-muted); cursor: pointer; line-height: 1.5; }
.g-auth-check input { margin-top: 2px; flex-shrink: 0; }
.g-auth-link { color: var(--gold-dark); }
.g-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-form-row-split { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: .83rem; }
.g-auth-notice { padding: 12px 16px; border-radius: var(--radius); font-size: .85rem; margin-bottom: 20px; }
.g-auth-notice.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }

/* Social login */
.g-social-login { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.g-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .88rem; font-weight: 600; cursor: pointer; background: #fff; transition: .15s; color: var(--navy); }
.g-social-btn:hover { border-color: var(--gold); background: var(--gold-pale); }

/* ================================================================
   PROSE (static pages)
   ================================================================ */
.g-prose { max-width: 820px; margin: 0 auto; }
.g-prose h2 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: 32px 0 10px; }
.g-prose p { font-size: .93rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.g-prose a { color: var(--gold-dark); text-decoration: underline; }
.g-prose strong { color: var(--navy); }

/* ================================================================
   SELLER DASHBOARD
   ================================================================ */
.g-dash-page { background: var(--bg-soft); min-height: 100vh; padding: 32px 0; }
.g-dash-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.g-dash-sidebar { background: var(--navy); border-radius: var(--radius-xl); padding: 20px; position: sticky; top: 160px; height: fit-content; }
.g-dash-user { text-align: center; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 16px; }
.g-dash-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.g-dash-username { font-weight: 700; color: #fff; font-size: .9rem; }
.g-dash-tier { font-size: .72rem; color: var(--gold); font-weight: 600; }
.g-dash-nav { display: flex; flex-direction: column; gap: 2px; }
.g-dash-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); color: rgba(255,255,255,.7); font-size: .84rem; font-weight: 500; transition: .15s; text-decoration: none; }
.g-dash-link:hover, .g-dash-link.active { background: rgba(245,158,11,.15); color: var(--gold); }
.g-dash-main { display: flex; flex-direction: column; gap: 20px; }
.g-dash-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.g-dash-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 20px; }
.g-dash-card-val { font-size: 1.6rem; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.g-dash-card-lbl { font-size: .78rem; color: var(--text-muted); margin-bottom: 12px; }
.g-dash-card-change { font-size: .78rem; font-weight: 600; }
.g-dash-card-change.up { color: var(--green); }
.g-dash-card-change.down { color: var(--red); }
.g-dash-card.gold { border-color: var(--gold-border); background: linear-gradient(135deg, var(--gold-pale), #fff); }
.g-dash-card.gold .g-dash-card-val { color: var(--gold-dark); }
.g-dash-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.g-dash-table-head { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.g-dash-table-title { font-weight: 700; font-size: .95rem; }
.g-dash-table { width: 100%; border-collapse: collapse; }
.g-dash-table th { background: var(--bg-soft); padding: 10px 16px; text-align: left; font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--border); }
.g-dash-table td { padding: 12px 16px; font-size: .84rem; border-bottom: 1px solid var(--border); color: var(--text); }
.g-dash-table tr:last-child td { border-bottom: none; }
.g-status { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: .72rem; font-weight: 700; }
.g-status-paid { background: #d1fae5; color: #065f46; }
.g-status-pending { background: var(--gold-pale); color: var(--gold-dark); }
.g-status-processing { background: #dbeafe; color: #1e40af; }

/* Earnings calculator */
.g-calc-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; }
.g-calc-wrap h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--navy); }
.g-calc-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.g-calc-result { background: linear-gradient(135deg, var(--gold-pale), #fff); border: 1px solid var(--gold-border); border-radius: var(--radius-lg); padding: 16px; text-align: center; }
.g-calc-result-lbl { font-size: .8rem; color: var(--text-muted); margin-bottom: 6px; }
.g-calc-result-val { font-size: 2rem; font-weight: 900; color: var(--gold-dark); }

/* ================================================================
   TRACK ORDER
   ================================================================ */
.g-track-section { padding: 48px 0; }
.g-track-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 40px; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow); }
.g-track-form { display: flex; gap: 10px; margin-bottom: 32px; }
.g-track-input { flex: 1; }
.g-timeline { position: relative; padding-left: 32px; }
.g-timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.g-timeline-step { position: relative; margin-bottom: 28px; }
.g-timeline-dot { position: absolute; left: -26px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--border); border: 2px solid #fff; }
.g-timeline-step.done .g-timeline-dot { background: var(--green); }
.g-timeline-step.active .g-timeline-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
.g-timeline-title { font-weight: 700; font-size: .9rem; margin-bottom: 2px; color: var(--text-muted); }
.g-timeline-step.done .g-timeline-title, .g-timeline-step.active .g-timeline-title { color: var(--navy); }
.g-timeline-date { font-size: .78rem; color: var(--text-light); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: .15s; }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-col h4 { font-size: .8rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom-left { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-payment-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.f-pay-badge { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 6px; white-space: nowrap; }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.4); transition: color .15s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ================================================================
   BECOME-SELLER (global)
   ================================================================ */
.g-sell-hero { background: linear-gradient(135deg, #020617, #0f172a, #1a1040); padding: 80px 0; position: relative; overflow: hidden; }
.g-sell-hero::before { content:''; position:absolute; top:-60%; right:-10%; width:600px; height:600px; background:radial-gradient(circle,rgba(245,158,11,.12),transparent 70%); pointer-events:none; }
.g-sell-hero-inner { display: grid; grid-template-columns: 1fr 460px; gap: 60px; align-items: center; position: relative; z-index:1; }
.g-sell-hero h1 { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; letter-spacing: -.03em; }
.g-sell-hero h1 span { color: var(--gold); }
.g-sell-hero p { font-size: 1rem; color: rgba(255,255,255,.65); margin-bottom: 28px; line-height: 1.7; }
.g-sell-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.g-sell-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.g-sell-trust span { font-size: .82rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 4px; }
.g-sell-trust .check { color: var(--gold); }
.g-sell-earnings-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-2xl); padding: 28px; backdrop-filter: blur(10px); }
.g-sec-avatar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.g-sec-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.g-sec-name { font-weight: 700; color: #fff; }
.g-sec-loc { font-size: .78rem; color: rgba(255,255,255,.5); }
.g-sec-badge { margin-left: auto; background: rgba(245,158,11,.2); border: 1px solid rgba(245,158,11,.4); color: var(--gold); font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 50px; white-space: nowrap; }
.g-sec-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.g-sec-stat-val { font-size: 1.1rem; font-weight: 900; color: var(--gold); }
.g-sec-stat-lbl { font-size: .72rem; color: rgba(255,255,255,.5); }
.g-sec-bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-bottom: 10px; }
.g-sec-bar { flex: 1; background: linear-gradient(to top, var(--gold-dark), var(--gold-light)); border-radius: 4px 4px 0 0; opacity: .85; }
.g-sec-footer { font-size: .78rem; color: rgba(255,255,255,.5); }
.g-sell-stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap:0; background: var(--navy-mid); }
.g-sell-stat { padding: 20px 0; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.g-sell-stat:last-child { border-right: none; }
.g-sell-stat-val { font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.g-sell-stat-lbl { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.g-tier-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.g-tier-card { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-xl); padding: 24px 16px; text-align: center; position: relative; transition: .2s; }
.g-tier-card:hover, .g-tier-card.featured { border-color: var(--gold); box-shadow: 0 8px 32px rgba(245,158,11,.15); }
.g-tier-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: .65rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; white-space: nowrap; letter-spacing: .06em; }
.g-tier-name { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: #fff; padding: 4px 12px; border-radius: 50px; display: inline-block; margin-bottom: 12px; }
.g-tier-rate { font-size: 2.4rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.g-tier-sales { font-size: .76rem; color: var(--text-muted); margin-bottom: 16px; }
.g-tier-perks { text-align: left; font-size: .8rem; color: var(--text-muted); margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.g-tier-perks li::before { content: '✓ '; color: var(--gold-dark); font-weight: 700; }

/* ================================================================
   SINGLE PRODUCT PAGE — ALIBABA STYLE
   ================================================================ */

/* Breadcrumb bar */
.sp-breadcrumb-bar { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 10px 0; font-size: .82rem; }
.sp-breadcrumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--text-muted); }
.sp-breadcrumb a { color: var(--gold-dark); text-decoration: none; }
.sp-breadcrumb a:hover { text-decoration: underline; }
.sp-bc-current { color: var(--text); font-weight: 500; }

/* Main grid */
.sp-wrap { padding: 32px 0; background: var(--bg); }
.sp-grid { display: grid; grid-template-columns: 520px 1fr; gap: 40px; align-items: start; }

/* Gallery */
.sp-gallery { position: sticky; top: calc(var(--util-h) + var(--header-h) + 16px); }
.sp-main-img-wrap {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center; cursor: zoom-in;
}
.sp-main-img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.sp-img-ph { font-size: 5rem; }
.sp-badge-sale {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 5px 10px; border-radius: 20px;
}
.sp-zoom-btn {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(255,255,255,.9); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: .2s;
}
.sp-zoom-btn:hover { background: var(--gold); border-color: var(--gold); }

/* Thumbnails */
.sp-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.sp-thumb {
  width: 72px; height: 72px; border: 2px solid var(--border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: border-color .15s; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sp-thumb.active, .sp-thumb:hover { border-color: var(--gold); }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Share/wishlist row */
.sp-actions-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.sp-act-btn {
  display: flex; align-items: center; gap: 5px; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: 20px; font-size: .82rem;
  background: #fff; cursor: pointer; color: var(--text-muted); transition: .2s;
}
.sp-act-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.sp-act-btn.saved { color: var(--red); border-color: var(--red); }
.sp-sku { margin-left: auto; font-size: .78rem; color: var(--text-muted); }

/* Product info */
.sp-title { font-size: 1.5rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 12px; }

/* Meta row */
.sp-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sp-stars { display: flex; align-items: center; gap: 2px; }
.sp-star { font-size: 1rem; }
.sp-star.filled { color: var(--gold); }
.sp-star.empty { color: var(--border); }
.sp-star-num { font-size: .85rem; font-weight: 600; color: var(--gold-dark); margin-left: 4px; }
.sp-review-link { font-size: .85rem; color: var(--gold-dark); text-decoration: underline; }
.sp-sold { font-size: .82rem; color: var(--text-muted); }
.sp-in-stock { font-size: .82rem; font-weight: 600; color: var(--green); }
.sp-out-stock { font-size: .82rem; font-weight: 600; color: var(--red); }

/* Price block */
.sp-price-block { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 20px; }
.sp-price-sale { font-size: 2rem; font-weight: 800; color: var(--gold); }
.sp-price-sale .woocommerce-Price-amount { font-size: 2rem; font-weight: 800; color: var(--gold) !important; }
.sp-price-sale ins { text-decoration: none; }
.sp-price-sale del { display: none; }
.sp-price-reg-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.sp-label-was { font-size: .82rem; color: rgba(255,255,255,.5); }
.sp-price-reg { font-size: 1rem; color: rgba(255,255,255,.5); text-decoration: line-through; }
.sp-price-reg .woocommerce-Price-amount { color: rgba(255,255,255,.5); }
.sp-save-badge { background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; }
.sp-price-single { font-size: 2rem; font-weight: 800; color: var(--gold); }
.sp-price-single .woocommerce-Price-amount { font-size: 2rem; font-weight: 800; color: var(--gold) !important; }

/* Shipping info */
.sp-shipping-block { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 18px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.sp-ship-item { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); }
.sp-ship-icon { font-size: 1rem; }

/* WooCommerce ATC form overrides */
.sp-atc-wrap .quantity { display: flex; align-items: center; gap: 0; margin-bottom: 12px; }
.sp-atc-wrap .qty {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 10px 16px;
  font-size: 1rem; font-weight: 600; width: 80px; text-align: center;
  color: var(--navy); outline: none;
}
.sp-atc-wrap .qty:focus { border-color: var(--gold); }
.sp-atc-wrap .single_add_to_cart_button {
  width: 100%; padding: 15px 24px; font-size: 1rem; font-weight: 700;
  background: var(--navy); color: #fff; border: none; border-radius: var(--radius-lg);
  cursor: pointer; transition: .2s; letter-spacing: .02em;
}
.sp-atc-wrap .single_add_to_cart_button:hover { background: var(--navy-light); }
.sp-atc-wrap .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 12px; }

/* Buy Now button */
.sp-buy-now-wrap { margin-top: 12px; }
.sp-btn-buy {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 24px; font-size: 1rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy); border: none; border-radius: var(--radius-lg);
  cursor: pointer; transition: .2s; text-decoration: none;
  box-shadow: 0 4px 16px rgba(245,158,11,.4); letter-spacing: .02em;
}
.sp-btn-buy:hover { box-shadow: 0 6px 24px rgba(245,158,11,.6); transform: translateY(-1px); }

/* Trust badges */
.sp-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sp-trust-item { display: flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; color: var(--text-muted); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; }
.sp-trust-item span { font-size: .9rem; }

/* Quick specs */
.sp-quick-specs { margin-top: 16px; }
.sp-spec-row { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--bg-soft); font-size: .85rem; }
.sp-spec-label { font-weight: 600; color: var(--text-muted); min-width: 110px; flex-shrink: 0; }
.sp-instock-txt { color: var(--green); font-weight: 600; }
.sp-outstock-txt { color: var(--red); font-weight: 600; }

/* Tabs */
.sp-tabs-wrap { background: var(--bg); border-top: 4px solid var(--bg-soft); padding: 0 0 40px; }
.sp-tabs-nav { display: flex; border-bottom: 2px solid var(--border); max-width: var(--max-w); margin: 0 auto; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.sp-tabs-nav::-webkit-scrollbar { display: none; }
.sp-tab-btn {
  padding: 16px 24px; font-size: .9rem; font-weight: 600; color: var(--text-muted);
  background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
  white-space: nowrap; cursor: pointer; transition: .15s;
}
.sp-tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.sp-tab-btn:hover { color: var(--navy); }
.sp-tab-content { max-width: var(--max-w); margin: 0 auto; padding: 28px 24px; }
.sp-hidden { display: none; }

/* Tab: prose */
.sp-prose { font-size: .95rem; color: var(--text-muted); line-height: 1.8; }
.sp-prose h2, .sp-prose h3 { color: var(--navy); margin: 20px 0 10px; }
.sp-prose img { max-width: 100%; border-radius: var(--radius); margin: 12px 0; }
.sp-prose ul, .sp-prose ol { padding-left: 20px; margin: 12px 0; }

/* Specs table */
.sp-specs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sp-specs-table th, .sp-specs-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.sp-specs-table th { background: var(--bg-soft); font-weight: 600; color: var(--navy); width: 200px; }
.sp-specs-table td { color: var(--text-muted); }
.sp-specs-table tr:last-child th, .sp-specs-table tr:last-child td { border-bottom: none; }

/* Shipping detail */
.sp-shipping-detail h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.sp-shipping-detail h3:not(:first-child) { margin-top: 28px; }

/* Related products */
.sp-related-wrap { background: var(--bg-soft); padding: 40px 0; }

/* Lightbox */
.sp-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999;
  display: none; align-items: center; justify-content: center;
}
.sp-lightbox.active { display: flex; }
.sp-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius-lg); }
.sp-lb-close {
  position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 1.4rem;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.sp-lb-close:hover { background: var(--red); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media(max-width:1200px){
  .g-product-grid { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .g-tier-grid { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:1024px){
  .g-hero-inner { grid-template-columns: 1fr; }
  .g-hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .g-seller-inner { grid-template-columns: 1fr; }
  .g-sell-hero-inner { grid-template-columns: 1fr; }
  .g-dash-grid { grid-template-columns: 1fr; }
  .g-dash-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  /* Product page */
  .sp-grid { grid-template-columns: 1fr; gap: 24px; }
  .sp-gallery { position: static; }
}
@media(max-width:900px){
  .g-product-grid { grid-template-columns: repeat(3,1fr); }
  .g-cat-feature-grid { grid-template-columns: 1fr 1fr; }
  .g-trust-grid { grid-template-columns: repeat(3,1fr); }
  .g-pay-methods { grid-template-columns: 1fr 1fr; }
  .g-security-bar { grid-template-columns: 1fr 1fr; }
  .g-tier-grid { grid-template-columns: 1fr 1fr; }
  .g-dash-cards { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px){
  :root { --header-h: 60px; --util-h: 0px; }
  /* Kill util-bar completely on mobile */
  .util-bar { display: none !important; }
  /* Header layout */
  .site-header { width: 100vw; max-width: 100vw; overflow: hidden; }
  .header-main { gap: 10px; padding: 0 14px; width: 100%; max-width: 100%; overflow: hidden; }
  /* Kill search & text buttons */
  .header-search { display: none !important; }
  .btn-outline-white, .btn-navy { display: none !important; }
  /* Show hamburger */
  .mobile-toggle { display: flex !important; flex-shrink: 0; }
  /* Compact gold button */
  .btn-gold { padding: 8px 12px; font-size: .8rem; white-space: nowrap; flex-shrink: 0; }
  .cart-btn { width: 38px; height: 38px; font-size: 1rem; flex-shrink: 0; }
  /* Logo shrink */
  .site-logo { flex-shrink: 0; }
  /* Actions stay in one line */
  .header-actions { gap: 8px; flex-shrink: 0; overflow: hidden; }
  /* Hide cat nav */
  .cat-nav { display: none !important; }
  /* Layouts */
  .g-product-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g-hero h1 { font-size: 2rem; }
  .g-sell-hero h1 { font-size: 2rem; }
  .g-tier-grid { grid-template-columns: 1fr; }
  .g-sell-stats-row { grid-template-columns: 1fr 1fr; }
  .g-pay-methods { grid-template-columns: 1fr; }
  .g-form-row-2 { grid-template-columns: 1fr; }
  .g-calc-row { grid-template-columns: 1fr; }
  /* Product page */
  .sp-grid { grid-template-columns: 1fr; gap: 20px; }
  .sp-gallery { position: static; }
}
@media(max-width:480px){
  .g-product-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .g-stat-item { padding: 6px 12px; }
  .g-hero h1 { font-size: 1.7rem; }
  .g-hero-cards { grid-template-columns: 1fr; }
  .g-trust-grid { grid-template-columns: 1fr 1fr; }
  .g-dash-cards { grid-template-columns: 1fr; }
  .header-main { padding: 0 10px; }
  .logo-text { font-size: 1.05rem; }
  .logo-mark { width: 32px; height: 32px; font-size: .9rem; border-radius: 8px; }
  /* Product page mobile */
  .sp-title { font-size: 1.15rem; }
  .sp-price-sale, .sp-price-single { font-size: 1.5rem; }
  .sp-price-sale .woocommerce-Price-amount, .sp-price-single .woocommerce-Price-amount { font-size: 1.5rem; }
  .sp-thumbs { gap: 6px; }
  .sp-thumb { width: 56px; height: 56px; }
  .sp-tab-btn { padding: 11px 14px; font-size: .8rem; }
  .sp-trust-badges { gap: 5px; }
  .sp-trust-item { font-size: .7rem; padding: 4px 7px; }
}
