/* ============================================================
   DigiVerse.shop — Global Design System
   Primary bg: #efebe4 | Gold: #b88a3b | Text: #171717
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:           #efebe4;
  --bg-card:      #fbf8f3;
  --bg-alt:       #f7f4f0;
  --bg-dark:      #171717;
  --text:         #171717;
  --text-2:       #66615b;
  --text-inv:     #ffffff;
  --gold:         #b88a3b;
  --gold-hover:   #96702e;
  --gold-light:   #f5e9d5;
  --gold-pale:    #fdf6eb;
  --border:       #ded7cc;
  --border-focus: #b88a3b;
  --success:      #3a7d44;
  --success-bg:   #ecf6ee;
  --warning:      #a05c00;
  --warning-bg:   #fff4e0;
  --error:        #9b1c1c;
  --error-bg:     #fef2f2;
  --info:         #1e5a94;
  --info-bg:      #eff6ff;

  /* Typography */
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:      0.75rem;
  --text-sm:      0.875rem;
  --text-base:    1rem;
  --text-lg:      1.125rem;
  --text-xl:      1.25rem;
  --text-2xl:     1.5rem;
  --text-3xl:     1.875rem;
  --text-4xl:     2.25rem;
  --text-5xl:     3rem;
  --fw-normal:    400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --lh-tight:     1.2;
  --lh-snug:      1.4;
  --lh-normal:    1.6;
  --lh-relaxed:   1.75;

  /* Spacing */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Layout */
  --max-w:   1280px;
  --max-w-sm: 640px;
  --max-w-md: 768px;
  --max-w-lg: 1024px;
  --gutter:  1.25rem;

  /* Radius */
  --r-sm:   0.375rem;
  --r-md:   0.625rem;
  --r-lg:   0.875rem;
  --r-xl:   1.25rem;
  --r-2xl:  1.5rem;
  --r-3xl:  2rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(23,23,23,.06), 0 1px 2px rgba(23,23,23,.04);
  --shadow-md:  0 4px 12px rgba(23,23,23,.08), 0 2px 4px rgba(23,23,23,.04);
  --shadow-lg:  0 8px 24px rgba(23,23,23,.10), 0 4px 8px rgba(23,23,23,.06);
  --shadow-xl:  0 20px 40px rgba(23,23,23,.12);
  --shadow-gold:0 0 0 3px rgba(184,138,59,.25);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms ease;

  /* Z-index */
  --z-base:   1;
  --z-sticky: 100;
  --z-overlay:200;
  --z-modal:  300;
  --z-toast:  400;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: var(--lh-tight); font-weight: var(--fw-semibold); }
p { line-height: var(--lh-relaxed); }

/* ── Layout Helpers ─────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
  box-sizing: border-box;
}

/* Guarantee horizontal gutters are preserved everywhere even if combined with .section */
.wrap.section,
.section.wrap,
.wrap.section-sm,
.section-sm.wrap,
.wrap.section-lg,
.section-lg.wrap {
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
}

.section {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
  padding-left: 0;
  padding-right: 0;
}
.section-sm {
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
  padding-left: 0;
  padding-right: 0;
}
.section-lg {
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
  padding-left: 0;
  padding-right: 0;
}

/* ── Luxury Showcase Section (Warm Ambient Backdrop) ──────── */
.section-luxury-showcase {
  background: 
    radial-gradient(ellipse 85% 65% at 50% 0%, rgba(255, 248, 235, 0.95) 0%, rgba(246, 240, 230, 0.65) 55%, transparent 100%),
    linear-gradient(180deg, #f7f2ea 0%, #ebe3d5 100%);
  border-top: 1px solid rgba(184, 138, 59, 0.22);
  border-bottom: 1px solid rgba(184, 138, 59, 0.22);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}

/* ── Announcement Bar ──────────────────────────────────────── */
#announce-bar {
  background: var(--bg-dark);
  color: var(--text-inv);
  text-align: center;
  font-size: var(--text-sm);
  padding: 0.4rem 1rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  transition: all var(--t-fast);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
#announce-bar a { color: var(--gold); text-decoration: underline; font-weight: 600; flex-shrink: 0; }
#announce-bar.hidden { display: none !important; }
.announce-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.announce-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0 0.4rem;
  line-height: 1;
  margin-left: 0.4rem;
  transition: color var(--t-fast);
  flex-shrink: 0;
}
.announce-close:hover { color: #fff; }

/* ── Header / Nav ──────────────────────────────────────────── */
#hdr {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-fast);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--gold); }
.logo-img {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.logo:hover .logo-img {
  opacity: 0.94;
  transform: scale(1.02);
}
.footer-logo-img {
  filter: brightness(0) invert(1);
  height: 34px;
  max-width: 185px;
}
.header-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg);
  font-size: var(--text-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.header-search input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-gold);
}
.header-search .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-2);
  pointer-events: none;
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 14px 34px -4px rgba(23, 23, 23, 0.14), 0 3px 8px rgba(23, 23, 23, 0.05);
  z-index: 1050;
  display: none;
  overflow: hidden;
  animation: searchDrop 150ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes searchDrop {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-suggestions.open {
  display: flex;
  flex-direction: column;
}

.search-suggestion-item {
  display: grid !important;
  grid-template-columns: 38px 1fr auto !important;
  align-items: center !important;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid rgba(222, 215, 204, 0.35);
  transition: background var(--t-fast);
}
.search-suggestion-item:last-of-type {
  border-bottom: none;
}
.search-suggestion-item:hover,
.search-suggestion-item.active {
  background: rgba(184, 138, 59, 0.08);
  outline: none;
}
.search-suggestion-item:hover .search-item-title,
.search-suggestion-item.active .search-item-title {
  color: var(--gold);
}

.search-item-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 3px;
  justify-self: start;
}
.search-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.search-item-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.search-item-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  padding: 0 8px;
  transition: color var(--t-fast);
}

.search-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-align: right;
  justify-self: end;
}

.search-suggestions-footer {
  padding: 9px 16px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.search-footer-count {
  color: var(--text-2);
}
.search-footer-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast);
}
.search-footer-link:hover {
  color: var(--gold-hover);
  text-decoration: underline;
}

/* Empty & Loading states */
.search-empty {
  padding: 22px 18px;
  text-align: center;
}
.search-empty-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.search-empty-text {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 4px;
}
.search-empty-hints {
  font-size: 0.76rem;
  color: var(--text-2);
  margin-bottom: 12px;
}
.search-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.search-pill-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: all var(--t-fast);
}
.search-pill-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.search-loading {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.search-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@media (max-width: 640px) {
  .search-suggestions {
    min-width: 100%;
    max-width: 100%;
  }
}
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.main-nav a {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text);
  background: var(--bg-alt);
}
.main-nav a.active { color: var(--gold); }
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: auto;
}
.hdr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-2);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.hdr-btn:hover { color: var(--text); background: var(--bg-alt); }
.hdr-btn svg { width: 20px; height: 20px; }
.hdr-search-toggle { display: none; }
.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: var(--fw-bold);
  min-width: 16px;
  height: 16px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  color: var(--text);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.hamburger:hover { color: var(--gold); background: var(--bg-alt); }
.hamburger svg { width: 22px; height: 22px; }

/* Mobile Search Bar */
.mobile-search-bar {
  display: none;
}

/* Mobile Nav Drawer */
#mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 10000 !important;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.28s ease;
}
#mobile-nav.open {
  pointer-events: auto;
  visibility: visible;
  z-index: 10000 !important;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
#mobile-nav.open .mobile-nav-overlay {
  opacity: 1;
}
.mobile-nav-panel {
  position: relative;
  width: min(320px, 84vw);
  background: var(--bg-card);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 32px rgba(0, 0, 0, 0.15);
}
#mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: all var(--t-fast);
}
.mobile-nav-close:hover {
  background: var(--gold-pale);
  color: var(--gold);
  border-color: var(--gold);
}
.mobile-nav-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding: 0.25rem 0.6rem;
  margin-top: 0.45rem;
  margin-bottom: 0.2rem;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-nav-link:hover {
  background: var(--bg-alt);
  color: var(--gold);
}
.mobile-nav-link.active {
  color: var(--gold);
  background: var(--gold-pale);
  font-weight: 600;
}
.mobile-nav-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.mobile-nav-link.active .mobile-nav-item-icon {
  color: var(--gold);
}
.drawer-cart-badge {
  display: none !important;
}
.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  text-align: center;
}
.mobile-nav-footer-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}
.mobile-nav-footer-sub {
  font-size: 0.72rem;
  color: var(--text-2);
  margin-top: 2px;
}

/* ── Page Hero & Breadcrumbs ────────────────────────────────── */
.page-hero {
  background: var(--bg-alt);
  color: var(--text);
  padding: 0.5rem 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb,
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
  color: var(--text-2);
}
.page-hero .breadcrumb a,
.breadcrumb a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.page-hero .breadcrumb a:hover,
.breadcrumb a:hover {
  color: var(--gold);
}
.page-hero .breadcrumb .sep,
.breadcrumb .sep {
  color: var(--text-2);
  opacity: 0.5;
}
.page-hero .breadcrumb .current,
.breadcrumb .current {
  color: var(--gold-hover);
  font-weight: 600;
}
.page-hero h1 {
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.page-hero p {
  color: var(--text-2);
  font-size: 0.85rem;
  margin: 0.15rem 0 0;
}
.page-hero + .section,
.page-hero + main.section {
  padding-top: 1.5rem;
}
@media (max-width: 768px) {
  .page-hero + .section,
  .page-hero + main.section {
    padding-top: 1.15rem;
  }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.625rem 1.375rem;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform 80ms;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--gold);
  color: var(--text);
  border-color: var(--gold);
}
.btn-primary:hover:not(:disabled) { background: var(--gold-hover); border-color: var(--gold-hover); }

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-inv);
}
.btn-dark:hover:not(:disabled) { background: #333; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover:not(:disabled) { background: var(--bg-alt); border-color: var(--text-2); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: transparent;
}
.btn-ghost:hover:not(:disabled) { background: var(--bg-alt); color: var(--text); }

.btn-danger {
  background: var(--error);
  color: #fff;
  border-color: var(--error);
}
.btn-danger:hover:not(:disabled) { background: #7f1515; }

.btn-sm { padding: 0.375rem 0.875rem; font-size: var(--text-xs); }
.btn-lg { padding: 0.875rem 1.875rem; font-size: var(--text-base); }
.btn-xl { padding: 1rem 2.25rem; font-size: var(--text-lg); border-radius: var(--r-lg); }
.btn-full { width: 100%; }
.btn-icon { padding: 0.5rem; border-radius: var(--r-sm); }

/* ── Form Elements ──────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
}
.form-label .req { color: var(--error); margin-left: 2px; }
.form-control {
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  color: var(--text);
  font-size: var(--text-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-gold);
}
.form-control.error { border-color: var(--error); }
.form-control::placeholder { color: var(--text-2); opacity: 0.7; }

/* Phone Input Group with +91 Country Prefix */
.phone-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  position: relative;
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 0.85rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-right: none;
  border-top-left-radius: var(--r-md);
  border-bottom-left-radius: var(--r-md);
  color: var(--text);
  font-weight: 600;
  font-size: var(--text-sm);
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.phone-prefix .flag-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.phone-input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  flex: 1;
}

.phone-input-group:focus-within .phone-prefix {
  border-color: var(--border-focus);
  box-shadow: -2px 0 0 1px rgba(184, 138, 59, 0.2);
}
.form-error {
  font-size: var(--text-xs);
  color: var(--error);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.form-hint {
  font-size: var(--text-xs);
  color: var(--text-2);
}
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366615b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.card:hover { box-shadow: var(--shadow-md); border-color: #c8bfb5; }
.card-body { padding: var(--sp-5); }

/* ============================================================
   Modern Premium Product Card Design
   ============================================================ */
.product-card {
  background: linear-gradient(180deg, #fbf8f2 0%, #f4ede1 100%);
  border: 1px solid rgba(184, 138, 59, 0.22);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px -4px rgba(70, 50, 20, 0.07), 0 1px 3px rgba(70, 50, 20, 0.03);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 138, 59, 0.55);
  box-shadow: 0 20px 42px -12px rgba(184, 138, 59, 0.24),
              0 6px 18px -4px rgba(70, 50, 20, 0.08),
              0 0 0 1px rgba(184, 138, 59, 0.3);
}

/* Image Container */
.product-card-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #ede6d8 0%, #e2d8c5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 138, 59, 0.18);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: var(--bg-alt);
}

/* Badges & Bars on Image - Hidden so product image remains clean */
.product-card-badges-top,
.product-card-delivery-bar,
.pc-badge,
.pc-delivery-pill {
  display: none !important;
}

.pc-discount-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 3px;
  align-self: center;
}

/* Card Body */
.product-card-body {
  padding: 1rem 1.15rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.product-card-provider {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.product-card-plan-pill {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(184, 138, 59, 0.1);
  color: var(--gold);
  border: 1px solid rgba(184, 138, 59, 0.28);
  padding: 1px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

/* Modern Luxury Platform Pill (Light Theme) */
.product-card-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 2.5px 8px 2.5px 5px;
  border-radius: 99px;
  white-space: nowrap;
  text-transform: none !important;
  line-height: 1.3;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.product-card-platform-pill img,
.product-card-platform-pill svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.product-card-platform-pill.plat-pc {
  background: rgba(23, 26, 33, 0.05);
  color: #171d25;
  border: 1px solid rgba(23, 26, 33, 0.16);
}
.product-card-platform-pill.plat-pc:hover {
  background: rgba(23, 26, 33, 0.09);
  border-color: rgba(23, 26, 33, 0.25);
}

.product-card-platform-pill.plat-playstation {
  background: rgba(0, 55, 145, 0.07);
  color: #003791;
  border: 1px solid rgba(0, 55, 145, 0.2);
}
.product-card-platform-pill.plat-playstation svg {
  fill: #003791;
}

.product-card-platform-pill.plat-xbox {
  background: rgba(14, 110, 14, 0.07);
  color: #0e6e0e;
  border: 1px solid rgba(14, 110, 14, 0.2);
}
.product-card-platform-pill.plat-xbox svg {
  fill: #0e6e0e;
}

.product-card-platform-pill.plat-mobile {
  background: rgba(2, 132, 199, 0.07);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.product-card-platform-pill.plat-multi {
  background: rgba(51, 65, 85, 0.07);
  color: #334155;
  border: 1px solid rgba(51, 65, 85, 0.18);
}

.product-card-title-link {
  text-decoration: none;
  color: inherit;
}

.product-card-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0.2rem 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.product-card:hover .product-card-name {
  color: var(--gold-hover);
}

.product-card-desc {
  font-size: 0.76rem;
  color: var(--text-2);
  line-height: 1.4;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pricing Row */
.product-card-pricing {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(184, 138, 59, 0.28);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.product-card-price-group {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pc-price-from {
  font-size: 0.72rem;
  color: var(--text-2);
  font-weight: 500;
}

.pc-price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pc-price-original {
  font-size: 0.8rem;
  color: var(--text-2);
  text-decoration: line-through;
}

.pc-validity-label {
  font-size: 0.72rem;
  color: var(--text-2);
  font-weight: 500;
}

/* Actions Row — Buy Now (large) + Cart (small icon) in 1 line */
.product-card-actions {
  padding: 0 1.15rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pc-btn-buy {
  flex: 1;
  min-width: 0;
  height: 38px;
  background: linear-gradient(135deg, #c79743 0%, #b88a3b 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 0.85rem;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(184, 138, 59, 0.3);
  text-decoration: none;
}

.pc-btn-buy:hover {
  background: linear-gradient(135deg, #b88a3b 0%, #a2762e 100%);
  box-shadow: 0 4px 14px rgba(184, 138, 59, 0.45);
  transform: translateY(-1px);
}

.pc-btn-cart {
  width: 38px;
  height: 38px;
  min-width: 38px;
  max-width: 38px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border: 1px solid rgba(184, 138, 59, 0.38);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  box-sizing: border-box;
}

.pc-btn-cart:hover {
  background: #ede5d5;
  border-color: var(--gold);
  color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(184, 138, 59, 0.18);
}

.pc-btn-cart svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.pc-btn-cart:active,
.pc-btn-buy:active {
  transform: translateY(0);
}

.pc-btn-details {
  border: 1px solid rgba(184, 138, 59, 0.32);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.5rem 0.5rem;
  border-radius: var(--r-md);
  text-align: center;
  text-decoration: none;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-btn-details:hover {
  background: #ede5d5;
  border-color: var(--gold);
  color: var(--gold-hover);
}

/* ── Product Card & Mobile Spacing Optimization ───────────────── */
@media (max-width: 768px) {
  :root {
    --gutter: 1.15rem;
  }

  .wrap {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }

  .wrap.section,
  .section.wrap,
  .wrap.section-sm,
  .section-sm.wrap,
  .wrap.section-lg,
  .section-lg.wrap {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }

  .section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .section-sm {
    padding-top: 1.85rem;
    padding-bottom: 1.85rem;
  }

  .product-card {
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(70, 50, 20, 0.05);
  }

  .product-card-img {
    aspect-ratio: 1 / 1;
  }

  .product-card-badges-top {
    top: 6px;
    left: 6px;
    right: 6px;
    gap: 4px;
  }

  .pc-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  }

  .product-card-delivery-bar {
    bottom: 6px;
    left: 6px;
    right: 6px;
  }

  .pc-delivery-pill {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 7px;
    max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-card-body {
    padding: 0.65rem 0.65rem 0.45rem;
  }

  .product-card-meta {
    margin-bottom: 0.2rem;
    gap: 0.25rem;
    min-height: 18px;
  }

  .product-card-provider {
    font-size: 0.62rem;
  }

  .product-card-plan-pill {
    font-size: 0.64rem;
    padding: 1px 6px;
    font-weight: 600;
  }

  .product-card-name {
    font-size: 0.88rem;
    line-height: 1.25;
    margin: 0.15rem 0 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2rem; /* Guarantees uniform card heights */
  }

  .product-card-desc {
    display: none; /* Removes vertical clutter and clipped 1-line text */
  }

  .product-card-pricing {
    padding-top: 0.45rem;
    margin-top: auto;
    border-top: 1px dashed rgba(184, 138, 59, 0.22);
    align-items: baseline;
    gap: 0.25rem;
  }

  .pc-price-current {
    font-size: 1.15rem;
    font-weight: 800;
  }

  .pc-price-original {
    font-size: 0.72rem;
  }

  .pc-validity-label {
    font-size: 0.66rem;
    white-space: nowrap;
  }

  .product-card-actions {
    padding: 0 0.65rem 0.65rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  /* Details is accessible via card tap; show Buy Now (large) + Cart (small icon) in 1 line */
  .pc-btn-details {
    display: none;
  }

  .pc-btn-buy {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--r-md);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
    background: linear-gradient(135deg, #c79743 0%, #b88a3b 100%);
    color: #ffffff !important;
    box-shadow: 0 2px 7px rgba(184, 138, 59, 0.28);
    border: none;
  }

  .pc-btn-cart {
    width: 34px;
    height: 34px;
    min-width: 34px;
    max-width: 34px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    padding: 0 !important;
    border-radius: var(--r-md);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(184, 138, 59, 0.35);
    color: var(--text);
    box-shadow: none;
  }

  .pc-btn-cart svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 1rem;
  }
  .wrap {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .wrap.section,
  .section.wrap,
  .wrap.section-sm,
  .section-sm.wrap,
  .wrap.section-lg,
  .section-lg.wrap {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 360px) {
  .products-grid {
    gap: 0.5rem;
  }
  .product-card-body {
    padding: 0.55rem 0.55rem 0.4rem;
  }
  .product-card-actions {
    padding: 0 0.55rem 0.55rem;
  }
  .product-card-name {
    font-size: 0.82rem;
    min-height: 2.1rem;
  }
  .pc-price-current {
    font-size: 1.05rem;
  }
  .pc-btn-buy {
    font-size: 0.74rem;
    height: 32px;
    padding: 0 0.35rem;
  }
  .pc-btn-cart {
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: 32px;
  }
  .pc-btn-cart svg {
    width: 14px;
    height: 14px;
  }
}

/* Skeleton Loading Animation */
.skeleton {
  background: linear-gradient(90deg, #e6dfd1 25%, #f2ebe0 50%, #e6dfd1 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite ease-in-out;
  border-radius: var(--r-sm);
}

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

.skeleton-card {
  pointer-events: none;
  background: linear-gradient(180deg, #fbf8f2 0%, #f4ede1 100%);
  border-color: rgba(184, 138, 59, 0.2);
}

.skeleton-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 0;
}

.skeleton-line {
  height: 12px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 18px;
  width: 80%;
  margin-bottom: 10px;
}

.skeleton-price {
  height: 24px;
  width: 45%;
  margin-top: 12px;
}

.w-2-3 { width: 66.66% !important; }
.w-1-2 { width: 50% !important; }
.w-1-3 { width: 33.33% !important; }


/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  white-space: nowrap;
}
.badge-gold { background: var(--gold); color: var(--text); }
.badge-dark { background: var(--bg-dark); color: #fff; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-error { background: var(--error-bg); color: var(--error); }
.badge-outline { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.badge-premium { background: linear-gradient(135deg, var(--gold) 0%, #e0b060 100%); color: var(--text); }

/* ── Grid Layouts ───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-5);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
}
@media (max-width: 420px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(184,138,59,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
  max-width: 680px;
}
.hero h1 span { color: var(--gold); }
.hero-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.7);
  margin-bottom: var(--sp-8);
  max-width: 500px;
  line-height: var(--lh-relaxed);
}
.hero-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: var(--text-3xl); font-weight: var(--fw-bold); color: var(--gold); }
.hero-stat-label { font-size: var(--text-sm); color: rgba(255,255,255,.6); }

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-8);
  gap: var(--sp-4);
  width: 100%;
}
.section-header-text {
  flex: 1;
  width: 100%;
  min-width: 0;
}
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  margin-top: var(--sp-2);
  line-height: var(--lh-relaxed);
}
.section-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.35rem;
  gap: 0.5rem;
}
.section-eyebrow-row .section-eyebrow {
  margin-bottom: 0;
  line-height: 1.2;
}
.section-view-all {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: rgba(184, 138, 59, 0.09);
  border: 1px solid rgba(184, 138, 59, 0.28);
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: auto;
  line-height: 1.2;
  flex-shrink: 0;
}
.section-view-all:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(184, 138, 59, 0.3);
}
.section-view-all svg {
  transition: transform 0.2s;
}
.section-view-all:hover svg {
  transform: translateX(2px);
}
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .section-header-text {
    width: 100%;
    align-self: stretch;
  }
  .section-eyebrow-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 640px) {
  .section-header {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: var(--sp-5);
  }
  .section-header-text {
    width: 100%;
    align-self: stretch;
  }
  .section-title { font-size: var(--text-xl); }
  .section-eyebrow-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .section-view-all {
    font-size: 0.75rem;
    padding: 3px 10px;
    margin-left: auto;
  }
}

/* ── Category Cards ─────────────────────────────────────────── */
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
  transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}
.cat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.cat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--bg-alt);
}
.cat-name {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text);
}
.cat-count {
  font-size: var(--text-xs);
  color: var(--text-2);
}

/* ── Filters ────────────────────────────────────────────────── */
.filters-bar {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--sp-6);
  padding: var(--sp-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.filter-group { display: flex; flex-direction: column; gap: var(--sp-1); flex: 1; min-width: 140px; }
.filter-label { font-size: var(--text-xs); font-weight: var(--fw-medium); color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; }
.filter-chips {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  background: var(--gold-light);
  color: var(--gold-hover);
  border: 1px solid var(--gold);
}
.chip-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  line-height: 1;
  display: flex;
  align-items: center;
  padding: 0;
  font-size: 14px;
}

/* ── Skeletons ──────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, #ede9e2 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { border-radius: var(--r-lg); overflow: hidden; }
.skeleton-img { height: 180px; }
.skeleton-line { height: 14px; margin: 8px 12px; }
.skeleton-line.w-2-3 { width: 66%; }
.skeleton-line.w-1-2 { width: 50%; }
.skeleton-line.w-1-3 { width: 33%; }

/* ── Empty States ───────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  grid-column: 1 / -1;
}
.empty-state-icon { font-size: 3rem; margin-bottom: var(--sp-4); }
.empty-state-title { font-size: var(--text-xl); font-weight: var(--fw-semibold); color: var(--text); margin-bottom: var(--sp-2); }
.empty-state-desc { font-size: var(--text-sm); color: var(--text-2); margin-bottom: var(--sp-6); }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-10);
}
.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t-fast);
}
.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--text); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Modals ─────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--t-base);
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.modal-title { font-size: var(--text-lg); font-weight: var(--fw-semibold); }
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-2);
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  display: flex;
  transition: background var(--t-fast);
}
.modal-close:hover { background: var(--bg-alt); }
.modal-body { padding: var(--sp-6); }
.modal-footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--sp-3);
  justify-content: flex-end;
}

/* ── Toast ──────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  max-width: 360px;
  font-size: var(--text-sm);
  animation: slideInToast 0.25s ease;
}
.toast.removing { animation: slideOutToast 0.25s ease forwards; }
@keyframes slideInToast { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutToast { to { transform: translateX(110%); opacity: 0; } }
.toast-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.toast-content { flex: 1; }
.toast-title { font-weight: var(--fw-semibold); margin-bottom: 2px; }
.toast-msg { color: var(--text-2); }
.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-2);
  padding: 2px;
  flex-shrink: 0;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--error); }
.toast.warning { border-left: 3px solid var(--warning); }
.toast.info { border-left: 3px solid var(--info); }

/* ── Tables ─────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
thead { background: var(--bg-alt); }
th {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-weight: var(--fw-semibold);
  font-size: var(--text-xs);
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
td {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
tr:hover td { background: var(--bg-alt); }

/* ── Sidebar Layout ─────────────────────────────────────────── */
.page-layout {
  display: flex;
  min-height: calc(100vh - 68px);
}
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: var(--sp-6) 0;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}
.sidebar-section { margin-bottom: var(--sp-2); }
.sidebar-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--sp-3) var(--sp-5) var(--sp-1);
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-2);
  border-left: 2px solid transparent;
  transition: all var(--t-fast);
  cursor: pointer;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-right: var(--sp-3);
}
.sidebar-link:hover { background: var(--bg-alt); color: var(--text); }
.sidebar-link.active { background: var(--gold-pale); color: var(--gold-hover); border-left-color: var(--gold); font-weight: var(--fw-semibold); }
.sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--text);
  font-size: 10px;
  font-weight: var(--fw-bold);
  padding: 2px 6px;
  border-radius: var(--r-full);
}
.page-content { flex: 1; overflow: hidden; padding: var(--sp-6); min-width: 0; }

/* ── Admin Dashboard Metrics ────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-4);
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.metric-label { font-size: var(--text-xs); font-weight: var(--fw-semibold); color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-2); }
.metric-value { font-size: var(--text-3xl); font-weight: var(--fw-bold); color: var(--text); letter-spacing: -0.02em; }
.metric-change {
  font-size: var(--text-xs);
  margin-top: var(--sp-1);
}
.metric-change.up { color: var(--success); }
.metric-change.down { color: var(--error); }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid;
  font-size: var(--text-sm);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.alert-success { background: var(--success-bg); border-color: #b8e0bf; color: var(--success); }
.alert-warning { background: var(--warning-bg); border-color: #f0cc85; color: var(--warning); }
.alert-error { background: var(--error-bg); border-color: #fca5a5; color: var(--error); }
.alert-info { background: var(--info-bg); border-color: #93c5fd; color: var(--info); }

/* ── Tags ───────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  background: var(--bg-alt);
  color: var(--text-2);
  border: 1px solid var(--border);
}

/* ── Divider ────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: var(--sp-6) 0; }

/* ── Star Rating ────────────────────────────────────────────── */
.stars { display: flex; gap: 2px; color: var(--gold); font-size: 0.875rem; }

/* ── Accordion / FAQ ────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--text);
  text-align: left;
}
.accordion-icon { flex-shrink: 0; transition: transform var(--t-base); color: var(--text-2); }
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.accordion-content.open { max-height: 1000px; }
.accordion-body { padding-bottom: var(--sp-5); color: var(--text-2); font-size: var(--text-sm); line-height: var(--lh-relaxed); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-2);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-2); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); font-weight: var(--fw-medium); }

/* ── Footer ─────────────────────────────────────────────────── */
#site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); } }
.footer-brand .logo { color: #fff; font-size: var(--text-xl); }
.footer-brand .logo span { color: var(--gold); }
.footer-desc { font-size: var(--text-sm); color: rgba(255,255,255,.55); margin-top: var(--sp-4); line-height: var(--lh-relaxed); max-width: 280px; }
.footer-socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background var(--t-fast), color var(--t-fast);
}
.footer-social-link:hover { background: var(--gold); color: var(--text); }
.footer-col-title { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: #fff; margin-bottom: var(--sp-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,.6); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: var(--sp-4); }
.footer-bottom-links a { color: rgba(255,255,255,.4); transition: color var(--t-fast); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ── Loading Spinner ────────────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  border-radius: inherit;
}

/* ── Quantity Selector ──────────────────────────────────────── */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.qty-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  transition: background var(--t-fast);
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  background: var(--bg-card);
  padding: 0.4rem;
}
.qty-input:focus { outline: none; }

/* ── Image Upload ───────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-10);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--gold); background: var(--gold-pale); }
.upload-zone input[type="file"] { display: none; }

/* ── Tabs ───────────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid var(--border); gap: 0; margin-bottom: var(--sp-6); }
.tab-btn {
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-2);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: var(--fw-semibold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Account Layout ─────────────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.account-layout > div {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

/* ── Listing Layout ─────────────────────────────────────────── */
.listing-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.listing-layout > div {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 768px) {
  .listing-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  background: var(--bg);
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: var(--sp-8); }
.auth-title { font-size: var(--text-2xl); font-weight: var(--fw-bold); text-align: center; margin-bottom: var(--sp-2); }
.auth-subtitle { text-align: center; color: var(--text-2); font-size: var(--text-sm); margin-bottom: var(--sp-8); }
.auth-divider {
  display: flex; align-items: center; gap: var(--sp-4);
  font-size: var(--text-xs); color: var(--text-2);
  margin: var(--sp-6) 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-footer { text-align: center; font-size: var(--text-sm); margin-top: var(--sp-6); color: var(--text-2); }
.auth-footer a { color: var(--gold); font-weight: var(--fw-medium); }

/* ── Checkout ───────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-8);
  align-items: start;
}
@media (max-width: 1024px) {
  .checkout-layout {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
  }
  .order-summary,
  .checkout-summary {
    order: -1;
    position: static !important;
  }
}
.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: sticky;
  top: 90px;
}
.checkout-summary-title { font-size: var(--text-base); font-weight: var(--fw-semibold); margin-bottom: var(--sp-4); }
.order-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.order-line:last-child { border-bottom: none; }
.order-total { font-size: var(--text-lg); font-weight: var(--fw-bold); }

/* ── Blog (see primary .blog-card definition in Components section) ── */

/* ── Ticket ─────────────────────────────────────────────────── */
.ticket-msg {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.ticket-msg.customer { flex-direction: row-reverse; }
.ticket-avatar {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  flex-shrink: 0;
}
.ticket-bubble {
  max-width: 80%;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
}
.ticket-msg.customer .ticket-bubble { background: var(--gold-light); }
.ticket-bubble-meta { font-size: var(--text-xs); color: var(--text-2); margin-top: var(--sp-1); }

/* ── Responsive Header & Mobile Navigation ──────────────────── */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-search { max-width: 260px; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  /* Prevent fixed bottom bar from covering content & footer */
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  /* Sleek top mobile header */
  #site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(251, 248, 243, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .header-inner {
    height: 56px;
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    align-items: center;
    gap: 0;
  }
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--text);
    border-radius: var(--r-full);
  }
  .hamburger svg {
    width: 22px;
    height: 22px;
  }
  .logo {
    justify-self: center;
    text-align: center;
    margin: 0 auto;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .logo-img {
    height: 30px;
    max-width: 160px;
  }
  .header-search {
    display: none;
  }
  .hdr-desktop-only {
    display: none !important;
  }
  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
  }
  .hdr-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--r-full);
    padding: 0;
    color: var(--text);
  }
  .hdr-search-toggle:hover {
    color: var(--gold);
    background: var(--bg-alt);
  }
  .hdr-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--r-full);
  }

  /* Expandable mobile search bar */
  .mobile-search-bar {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--bg-card);
    border-bottom: 1px solid transparent;
    transition: max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
    padding: 0;
  }
  .mobile-search-bar.open {
    max-height: 80px;
    opacity: 1;
    padding: 0.5rem 0 0.65rem;
    border-bottom-color: var(--border);
    overflow: visible;
  }
  .mobile-search-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .mobile-search-box {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
  }
  .mobile-search-box .search-icon {
    position: absolute;
    left: 0.85rem;
    color: var(--text-2);
    pointer-events: none;
    display: flex;
    align-items: center;
  }
  .mobile-search-box input {
    width: 100%;
    height: 40px;
    padding: 0 2.25rem 0 2.4rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-full);
    background: var(--bg);
    font-size: 0.88rem;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .mobile-search-box input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    background: #fff;
  }
  .mobile-search-clear {
    position: absolute;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    color: var(--text-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .mobile-search-cancel {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    white-space: nowrap;
  }
  .mobile-search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: 0 16px 36px -4px rgba(23, 23, 23, 0.16);
    z-index: 1060;
    max-height: 65vh;
    overflow-y: auto;
    display: none;
  }
  .mobile-search-suggestions.open {
    display: block;
    animation: searchDrop 160ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* ── Mobile Bottom Navigation Bar ── */
  .mobile-bottom-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(251, 248, 243, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(222, 215, 204, 0.85);
    box-shadow: 0 -4px 20px rgba(23, 23, 23, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mobile-bottom-bar-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 58px;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 4px;
  }

  .bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.18s ease, transform 0.15s ease;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .bnav-item:active {
    transform: scale(0.92);
  }

  .bnav-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
  }

  .bnav-icon-wrap svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.85;
    transition: stroke 0.18s ease, transform 0.18s ease;
  }

  .bnav-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
    transition: color 0.18s ease, font-weight 0.18s ease;
  }

  /* Active state */
  .bnav-item.active {
    color: var(--gold);
  }

  .bnav-item.active .bnav-label {
    font-weight: 700;
    color: var(--gold);
  }

  .bnav-item.active .bnav-icon-wrap svg {
    stroke: var(--gold);
    transform: translateY(-1px);
  }

  .bnav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    width: 22px;
    height: 2.5px;
    background: var(--gold);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(184, 138, 59, 0.45);
  }

  /* Cart badge on bottom nav */
  .bnav-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--gold);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 1.5px solid var(--bg-card);
    line-height: 1;
  }

  /* Toast notification position adjustment */
  #toast-container {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    right: 1rem !important;
    left: 1rem !important;
  }
}

@media (max-width: 480px) {
  #announce-bar {
    font-size: 0.74rem;
    padding: 0.35rem 0.5rem;
    gap: 0.35rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
  }
  .announce-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
    max-width: 100%;
  }
  .announce-link {
    flex-shrink: 0;
    font-size: 0.74rem;
  }
}

@media print {
  .mobile-bottom-bar, #mobile-nav {
    display: none !important;
  }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-2); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-lg { font-size: var(--text-lg); }
.fw-bold { font-weight: var(--fw-bold); }
.fw-semibold { font-weight: var(--fw-semibold); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Focus Styles ───────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Notification not-configured ────────────────────────────── */
.not-configured {
  background: var(--warning-bg);
  border: 1px solid #f0cc85;
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  text-align: center;
  color: var(--warning);
}
.not-configured code {
  background: rgba(0,0,0,.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: var(--text-sm);
  font-family: monospace;
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  #site-header, #site-footer, #announce-bar, .no-print { display: none !important; }
}

/* ── Toast Notifications ────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1.125rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  font-size: .875rem;
  max-width: 360px;
  min-width: 260px;
  pointer-events: all;
  animation: toast-in .25s ease;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}
.toast.removing { animation: toast-out .2s ease forwards; }
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--error); }
.toast.warning { border-color: #f0cc85; }
.toast.info    { border-color: #93c5fd; }
.toast-icon    { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.toast-content { flex: 1; min-width: 0; }
.toast-title   { font-weight: 700; font-size: .875rem; margin-bottom: 2px; }
.toast-msg     { font-size: .8rem; color: var(--text-2); line-height: 1.4; }
.toast-close   { background: none; border: none; cursor: pointer; color: var(--text-2); padding: 0; font-size: 1rem; line-height: 1; margin-top: 1px; }
.toast-close:hover { color: var(--text); }
@keyframes toast-in  { from { transform: translateY(8px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toast-out { to   { transform: translateY(8px) scale(.97); opacity: 0; } }
@media (max-width: 480px) {
  #toast-container { left: 1rem; right: 1rem; bottom: 1rem; }
  .toast { max-width: 100%; }
}

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 2rem 1rem;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: .375rem; }
.auth-subtitle { font-size: .875rem; color: var(--text-2); text-align: center; margin-bottom: 1.75rem; }
.auth-footer { text-align: center; font-size: .875rem; color: var(--text-2); margin-top: 1.5rem; }
.auth-footer a { color: var(--gold); font-weight: 500; }

/* ── Alert boxes ────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: var(--r-md);
  font-size: .875rem;
  line-height: 1.5;
}
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #a7d5b1; }
.alert-error   { background: var(--error-bg);   color: var(--error);   border: 1px solid #f5c6c6; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #f0cc85; }
.alert-info    { background: var(--info-bg);    color: var(--info);    border: 1px solid #93c5fd; }
.hidden { display: none !important; }

/* ── Support Ticket Chat Bubbles ────────────────────────────── */
.ticket-msg {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.ticket-msg.customer { flex-direction: row-reverse; }
.ticket-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ticket-bubble {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: .625rem .875rem;
  font-size: .875rem;
  max-width: 460px;
  line-height: 1.55;
}
.ticket-msg.customer .ticket-bubble {
  background: var(--gold-pale);
  border-color: var(--gold-light);
}
.ticket-bubble-meta {
  font-size: .72rem;
  color: var(--text-2);
  margin-top: .375rem;
}

/* ── Chip (active filter tags) ──────────────────────────────── */
.filter-chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.chip {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .275rem .75rem;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: var(--r-full);
  font-size: .78rem;
  font-weight: 500;
  color: var(--gold-hover);
}
.chip-remove {
  background: none; border: none;
  cursor: pointer; color: var(--gold-hover);
  font-size: .85rem; padding: 0; line-height: 1;
}
.chip-remove:hover { color: var(--error); }

/* ── Qty Selector ───────────────────────────────────────────── */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  height: 38px;
}
.qty-btn {
  width: 36px; height: 100%;
  background: var(--bg-alt);
  border: none; cursor: pointer;
  font-size: 1.1rem; font-weight: 500;
  color: var(--text);
  transition: background .15s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--gold-pale); color: var(--gold-hover); }
.qty-input {
  width: 48px; text-align: center;
  border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  background: var(--bg-card);
  font: inherit; font-size: .9rem; font-weight: 600;
  height: 100%; outline: none;
}
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Form control size sm ────────────────────────────────────── */
.form-control-sm { padding: .3rem .625rem; font-size: .8rem; }

/* ── Additional badges ──────────────────────────────────────── */
.badge-dark    { background: var(--bg-dark); color: #fff; }
.badge-gold    { background: var(--gold); color: #fff; }
.badge-outline { background: transparent; border: 1px solid var(--border); color: var(--text-2); }
.badge-info    { background: var(--info-bg); color: var(--info); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-error   { background: var(--error-bg); color: var(--error); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }

/* ── Spinner ────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 24px; height: 24px;
  border: 3px solid rgba(0,0,0,.12);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Category card ──────────────────────────────────────────── */
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex; flex-direction: column; align-items: center; gap: .375rem;
}
.cat-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-icon { font-size: 1.75rem; }
.cat-name { font-weight: 700; font-size: .875rem; }
.cat-count { font-size: .75rem; color: var(--text-2); }

/* ── Blog card (Premium, Proportional & Responsive) ─────────── */
.blog-card {
  background: linear-gradient(180deg, #fbf8f2 0%, #f4ede1 100%);
  border: 1px solid rgba(184, 138, 59, 0.22);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px -4px rgba(70, 50, 20, 0.07), 0 1px 3px rgba(70, 50, 20, 0.03);
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 138, 59, 0.55);
  box-shadow: 0 18px 38px -10px rgba(184, 138, 59, 0.22),
              0 6px 16px -4px rgba(70, 50, 20, 0.08);
}

/* Image Container */
.blog-card-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #ede6d8 0%, #e2d8c5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(184, 138, 59, 0.16);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
}

/* Floating Category Tag on Cover */
.blog-card-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(23, 23, 23, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e5b964;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid rgba(184, 138, 59, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 2;
  pointer-events: none;
}

/* Card Body */
.blog-card-body {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 0.45rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: 0.825rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 0.875rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Card Footer */
.blog-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(184, 138, 59, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.blog-card-meta {
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
}

.blog-card-read-more {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: transform 0.2s, color 0.2s;
}

.blog-card:hover .blog-card-read-more {
  transform: translateX(3px);
  color: var(--gold-hover);
}

/* Grid Layout for Blog Previews */
#blog-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
  gap: 1.5rem;
  justify-content: center;
}
@media (min-width: 900px) {
  #blog-preview {
    justify-content: flex-start;
  }
}

/* ── Grid helpers ───────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid-3 { grid-template-columns: 1fr; } }

/* ── Empty & Not-configured ─────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.empty-state-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.empty-state-desc { color: var(--text-2); margin-bottom: 1.5rem; font-size: .875rem; max-width: 360px; margin-left: auto; margin-right: auto; }

/* ── Skeleton loading ───────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%); background-size: 200% 100%; animation: skeleton-pulse 1.4s ease infinite; border-radius: var(--r-md); }
.skeleton-line { height: 14px; margin-bottom: .5rem; }
.skeleton-img { height: 200px; }
.w-1-3 { width: 33%; }
.w-1-2 { width: 50%; }
.w-2-3 { width: 66%; }
@keyframes skeleton-pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { pointer-events: none; }

/* ── Tabs ───────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: .25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.tab-btn {
  padding: .625rem 1.125rem;
  font-size: .875rem; font-weight: 600;
  background: none; border: none; cursor: pointer;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--text); }
.tab-panel { display: none; padding: 0; }
.tab-panel.active { display: block; padding: 0; }

/* ── Accordion ──────────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .9rem; text-align: left;
  color: var(--text); gap: 1rem;
}
.accordion-icon { flex-shrink: 0; transition: transform .25s; }
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-content {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease;
}
.accordion-content.open { grid-template-rows: 1fr; }
.accordion-body { overflow: hidden; padding-bottom: 1rem; font-size: .875rem; color: var(--text-2); line-height: 1.7; }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.45); backdrop-filter: blur(2px);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  animation: modal-in .2s ease;
  transition: max-width .2s ease;
}
.modal.modal-lg { max-width: 780px; }
@keyframes modal-in { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: 1rem; font-weight: 700; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-2); font-size: 1.1rem; padding: 0; }
.modal-body { padding: 1.25rem 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; gap: .625rem; justify-content: flex-end; }

/* ── Rich Description & Admin WYSIWYG Editor ── */
.desc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-bottom: none;
  border-radius: var(--r-md) var(--r-md) 0 0;
  padding: .375rem .5rem;
  align-items: center;
}
.btn-tool {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .78rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  user-select: none;
}
.btn-tool:hover {
  background: rgba(184,138,59,0.12);
  border-color: var(--gold);
  color: var(--gold-hover);
}
.btn-tool:active { transform: translateY(1px); }
#pf-desc-editor {
  min-height: 180px;
  max-height: 320px;
  overflow-y: auto;
  line-height: 1.7;
  padding: .875rem 1rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 0 0 var(--r-md) var(--r-md);
  outline: none;
  font-size: .9rem;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
#pf-desc-editor:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,138,59,.15);
}
#pf-desc-editor:empty:before {
  content: attr(data-placeholder);
  color: var(--text-3);
  pointer-events: none;
  display: block;
}
#pf-desc-editor h2,
#pf-desc-editor h3,
#pf-desc-editor h4 {
  margin-top: .75rem;
  margin-bottom: .35rem;
  font-weight: 700;
  color: var(--text);
}
#pf-desc-editor h2 { font-size: 1.25rem; }
#pf-desc-editor h2.game-desc-title,
#pf-desc-editor h2:first-child,
#pf-desc-editor h3:first-child {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold);
  margin-top: 0;
}
#pf-desc-editor h3 { font-size: 1.1rem; color: var(--gold-hover); }
#pf-desc-editor ul,
#pf-desc-editor ol {
  margin: .5rem 0 .75rem 1.25rem;
  padding-left: .5rem;
}
#pf-desc-editor ul { list-style-type: disc; }
#pf-desc-editor ol { list-style-type: decimal; }
#pf-desc-editor li { margin-bottom: .25rem; }

/* Displayed Rich Description on Product Page */
.product-rich-desc {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.8;
  max-width: 820px;
  padding-top: 0 !important;
}
.product-rich-desc > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.product-rich-desc > h2:first-child,
.product-rich-desc > h3:first-child,
.product-rich-desc h2.game-desc-title,
.product-rich-desc h3.game-desc-title {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: var(--gold) !important;
  margin-top: 0 !important;
  margin-bottom: .85rem !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em !important;
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
}
.product-rich-desc h2,
.product-rich-desc h3,
.product-rich-desc h4 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-top: 1.35rem;
  margin-bottom: .625rem;
  line-height: 1.35;
}
.product-rich-desc h2 { font-size: 1.3rem; }
.product-rich-desc h3 { font-size: 1.1rem; color: var(--gold-hover); }
.product-rich-desc h4 { font-size: 1rem; }
.product-rich-desc p {
  margin-bottom: 1rem;
  color: var(--text-2);
  line-height: 1.7;
}
.product-rich-desc strong,
.product-rich-desc b {
  color: var(--text);
  font-weight: 700;
}
.product-rich-desc ul {
  list-style: none !important;
  padding: 0 !important;
  margin: .85rem 0 1.25rem 0 !important;
}
.product-rich-desc ul li {
  list-style: none !important;
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .8rem 1.05rem;
  margin-bottom: .55rem !important;
  font-size: .91rem;
  line-height: 1.6;
  color: var(--text-2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: border-color .2s, background .2s;
}
.product-rich-desc ul li:hover {
  border-color: rgba(184, 138, 59, 0.4);
  background: rgba(184, 138, 59, 0.04);
}
.product-rich-desc ol {
  list-style: none !important;
  counter-reset: rich-step-counter;
  padding: 0 !important;
  margin: .85rem 0 1.25rem 0 !important;
}
.product-rich-desc ol li {
  counter-increment: rich-step-counter;
  list-style: none !important;
  position: relative;
  display: block;
  padding: .8rem 1.05rem .8rem 2.9rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: .55rem !important;
  font-size: .91rem;
  line-height: 1.6;
  color: var(--text-2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.product-rich-desc ol li::before {
  content: counter(rich-step-counter);
  position: absolute;
  left: .95rem;
  top: .8rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a34b, #b88a3b);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(184, 138, 59, 0.3);
}
.product-rich-desc hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}
.desc-callout-gold {
  background: rgba(184, 138, 59, 0.08);
  border: 1px solid rgba(184, 138, 59, 0.3);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: .875rem 1.125rem;
  margin: 1.25rem 0;
  font-size: .9rem;
  color: var(--text);
}
.desc-callout-info {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--text-2);
  border-radius: var(--r-md);
  padding: .875rem 1.125rem;
  margin: 1.25rem 0;
  font-size: .9rem;
  color: var(--text-2);
}

/* ── Mobile Nav ─────────────────────────────────────────────── */
#mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 10000 !important;
  display: none;
  pointer-events: none;
}
#mobile-nav.open {
  display: block !important;
  pointer-events: all !important;
  z-index: 10000 !important;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: 0;
  width: min(320px, 88vw);
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card);
  padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  z-index: 2;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.25);
  animation: slide-in-left .25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: none; } }

/* When mobile side nav is open, push bottom navbar behind */
body.mobile-nav-open .mobile-bottom-bar,
#mobile-nav.open ~ .mobile-bottom-bar {
  z-index: 100 !important;
  pointer-events: none !important;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; font-size: .8rem; margin-bottom: .75rem; }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--text-2); }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ── Mobile Filter Bottom Sheet Drawer ─────────────────────── */
@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
    opacity: 0.7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .listing-sidebar.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9999 !important;
    background: rgba(15, 12, 8, 0.58) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
    overflow: hidden !important;
  }

  .listing-sidebar.mobile-open .listing-sidebar-inner {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: 84vh !important;
    max-height: 84dvh !important;
    margin: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    border: none !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 0 -10px 42px rgba(0, 0, 0, 0.25) !important;
    padding: 0.75rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) 1.25rem !important;
    background: var(--bg-card) !important;
    color: var(--text) !important;
    cursor: default;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 10000 !important;
    animation: slideUpSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .listing-sidebar.mobile-open .listing-sidebar-inner::before {
    content: '';
    display: block;
    width: 44px;
    height: 5px;
    background: rgba(184, 138, 59, 0.35);
    border-radius: 99px;
    margin: 0 auto 0.75rem;
    flex-shrink: 0;
  }

  .close-sidebar-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
    background: var(--bg-alt) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: background 0.15s, border-color 0.15s;
  }

  .close-sidebar-btn:hover {
    background: var(--bg-card) !important;
    border-color: var(--gold) !important;
  }
}

.clear-filters-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.28rem 0.65rem;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.clear-filters-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(184, 138, 59, 0.08);
}

@media (min-width: 901px) {
  .close-sidebar-btn,
  .mobile-drawer-footer {
    display: none !important;
  }
}

/* ── Checkout Step Indicator ── */
.step-indicator {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 2rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.step {
  flex: 1;
  padding: 0.65rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-2);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.step:last-child {
  border-right: none;
}

.step.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.step.done {
  background: var(--bg-alt);
  color: var(--success);
}

@media (max-width: 480px) {
  .step {
    padding: 0.55rem 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Floating WhatsApp Support Button
   ═══════════════════════════════════════════════════════════════ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, bottom 0.25s ease;
}

.floating-whatsapp-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.62), 0 4px 12px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp-btn:active {
  transform: scale(0.95);
}

.floating-whatsapp-svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
  transition: transform 0.22s ease;
}

.floating-whatsapp-btn:hover .floating-whatsapp-svg {
  transform: scale(1.06);
}

/* Subtle attention-grabbing pulse ring */
.floating-whatsapp-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  z-index: -1;
  pointer-events: none;
  animation: waPulseRing 2.4s cubic-bezier(0.25, 0, 0.2, 1) infinite;
}

@keyframes waPulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Desktop hover tooltip */
.floating-whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #171717;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.floating-whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #171717;
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Mobile responsive positioning */
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }
  .floating-whatsapp-btn {
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp-tooltip {
    display: none;
  }
}


