/* ═══════════════════════════════════════════════════════════
   ADIVASI FASHION — Main Stylesheet
   Mobile = App UI  |  Desktop = Web App Dashboard
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --c-primary:      #8B4513;
  --c-primary-d:    #6B3410;
  --c-primary-l:    #D2691E;
  --c-secondary:    #C4A882;
  --c-accent:       #E8C547;
  --c-gold:         #D4AF37;
  /* Complementary accent — teal/olive for freshness */
  --c-teal:         #2A7A6F;
  --c-teal-l:       #3DA899;
  --c-olive:        #6B7C3A;

  /* UI Colors */
  --c-bg:           #F8F5F0;
  --c-bg-alt:       #F0EBE3;
  --c-surface:      #FFFFFF;
  --c-border:       #E8DDD2;
  --c-border-l:     #F0EAE0;

  /* Text */
  --c-text:         #1A0E08;
  --c-text-2:       #5C4033;
  --c-text-muted:   #9E8070;
  --c-text-light:   #B8A090;

  /* Semantic */
  --c-success:      #22C55E;
  --c-error:        #EF4444;
  --c-warning:      #F59E0B;
  --c-info:         #3B82F6;

  /* Typography */
  --font-head:      'Poppins', 'Inter', sans-serif;
  --font-body:      'Inter', -apple-system, sans-serif;

  /* Spacing */
  --gap:            16px;
  --gap-sm:         8px;
  --gap-lg:         24px;
  --gap-xl:         40px;

  /* Radius */
  --r-sm:           6px;
  --r-md:           10px;
  --r-lg:           16px;
  --r-xl:           24px;
  --r-full:         9999px;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:      0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --shadow-card:    0 2px 8px rgba(139,69,19,.08);

  /* Layout */
  --sidebar-w:      220px;
  --sidebar-w-c:    64px;
  --header-h:       58px;
  --bottom-nav-h:   64px;
  --content-max:    1280px;

  /* Transitions */
  --t-fast:         .15s ease;
  --t-med:          .25s ease;
  --t-slow:         .35s ease;

  /* Z-index */
  --z-sidebar:      100;
  --z-header:       200;
  --z-dropdown:     300;
  --z-modal:        400;
  --z-toast:        500;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.app-splash{
  position:fixed;inset:0;z-index:9999;background:#FAF7F2;
  display:flex;align-items:center;justify-content:center;
  transition:opacity .28s ease, visibility .28s ease;
}
.app-splash.hide{opacity:0;visibility:hidden;pointer-events:none;}
.app-splash-box{display:flex;flex-direction:column;align-items:center;gap:6px}
.app-splash-box img{width:74px;height:74px;border-radius:16px;box-shadow:0 8px 20px rgba(139,69,19,.18)}
.app-splash-box strong{font-family:var(--font-head);font-size:20px;color:#8B4513;letter-spacing:.3px}
.app-splash-box small{font-size:12px;color:#9E8070;letter-spacing:1.4px;text-transform:uppercase}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Utilities ──────────────────────────────────────────── */
.d-none    { display: none !important; }
.d-flex    { display: flex !important; }
.container { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gap); }
.relative  { position: relative; }

@media (min-width: 1024px) {
  .d-lg-none   { display: none !important; }
  .d-lg-flex   { display: flex !important; }
  .d-lg-grid   { display: grid !important; }
  .d-none.d-lg-flex { display: flex !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
  .d-lg-block  { display: block !important; }
}

/* ══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR — Ticker
   ══════════════════════════════════════════════════════════ */
.announcement-bar {
  background: linear-gradient(90deg, #3D1505, #6B2D0E, #3D1505);
  color: #FAF7F2;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  overflow: hidden;
  position: relative;
  z-index: calc(var(--z-header) + 1);
}
.announcement-marquee { overflow: hidden; width: 100%; }
.announcement-track {
  display: inline-flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.ann-item { padding: 0 14px; }
.ann-sep  { color: #E8C547; font-size: 10px; flex-shrink: 0; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ══════════════════════════════════════════════════════════
   SITE HEADER
   ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  padding: 0 var(--gap);
  gap: var(--gap);
  box-shadow: var(--shadow-sm);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 8px; line-height: 1; text-decoration: none; flex-shrink: 0; }
.logo-brand { display: flex; flex-direction: column; justify-content: center; }
.logo-text { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--c-primary); letter-spacing: .6px; }
.logo-sub  { font-size: 10px; font-weight: 600; color: var(--c-secondary); letter-spacing: 1.8px; margin-top: 1px; text-transform: uppercase; }
.site-logo-img { height: 34px; width: auto; object-fit: contain; display: block; }
.sidebar-logo-img { height: 34px; width: auto; object-fit: contain; display: block; margin: 0 auto; }

/* Desktop Search */
.header-search {
  flex: 1;
  max-width: 440px;
  display: none;
}
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 0 14px;
  gap: 8px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-wrap:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(139,69,19,.1); }
.search-wrap svg { color: var(--c-text-muted); flex-shrink: 0; }
.search-input { flex: 1; background: none; border: none; outline: none; padding: 10px 0; font-size: 14px; color: var(--c-text); }
.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-dropdown);
  display: none;
  overflow: hidden;
}
.search-suggestions.visible { display: block; }
.suggestion-item { padding: 10px 16px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.suggestion-item:hover { background: var(--c-bg); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  color: var(--c-text-2);
  transition: background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--c-bg); color: var(--c-primary); }

.icon-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--c-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--c-surface);
}

/* User Menu */
.user-menu-wrap { position: relative; }
.user-btn { width: auto; padding: 4px 8px; gap: 6px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.user-avatar-initial {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-l));
  color: #fff; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: var(--z-dropdown);
  overflow: hidden;
  display: none;
  animation: dropIn .2s ease;
}
.user-dropdown.open { display: block; }
@keyframes dropIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
.user-dropdown-header { padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.user-dropdown-header strong { display: block; font-size: 14px; }
.user-dropdown-header span  { font-size: 12px; color: var(--c-text-muted); }
.dropdown-item { display: flex; align-items: center; gap: 8px; padding: 11px 16px; font-size: 13px; transition: background var(--t-fast); }
.dropdown-item:hover { background: var(--c-bg); }
.dropdown-divider { border: none; border-top: 1px solid var(--c-border); margin: 4px 0; }

/* ══════════════════════════════════════════════════════════
   APP LAYOUT (Sidebar + Main)
   ══════════════════════════════════════════════════════════ */
.app-layout {
  display: flex;
  min-height: calc(100vh - var(--header-h));
}

/* ── Sidebar (Desktop only) ──────────────────────────── */
.sidebar {
  display: none;
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  transition: width var(--t-med);
  z-index: var(--z-sidebar);
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 2px; }

.sidebar-brand {
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-border);
}
.sidebar-logo { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--c-primary); line-height: 1.2; }
.sidebar-logo small { font-family: var(--font-body); font-size: 9px; font-weight: 600; color: var(--c-secondary); letter-spacing: 2px; display: block; }
.sidebar-collapse-btn { width: 28px; height: 28px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--c-text-muted); transition: background var(--t-fast), transform var(--t-med); cursor: pointer; border: none; background: none; }
.sidebar-collapse-btn:hover { background: var(--c-bg); color: var(--c-primary); }

/* ── Collapsed Sidebar ──────────────────────────────────── */
.sidebar.collapsed { width: 56px; }
.sidebar.collapsed .sidebar-logo { display: none; }
.sidebar.collapsed .nav-section { opacity: 0; height: 0; padding: 0; overflow: hidden; }
.sidebar.collapsed .nav-item span { opacity: 0; width: 0; overflow: hidden; pointer-events: none; }
.sidebar.collapsed .nav-item { justify-content: center; gap: 0; padding: 12px 0; }
.sidebar.collapsed .nav-badge { display: none; }
.sidebar.collapsed .sidebar-brand { justify-content: center; padding: 14px 8px; }
.sidebar.collapsed .sidebar-collapse-btn svg { transform: rotate(180deg); }
.sidebar.collapsed + .main-content { max-width: calc(100vw - 56px); }

.sidebar-nav { padding: 8px 0 100px; }
.nav-section { display: block; padding: 12px 16px 4px; font-size: 9px; font-weight: 700; color: var(--c-text-light); letter-spacing: 1.5px; text-transform: uppercase; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--c-text-2);
  border-radius: var(--r-md);
  margin: 1px 6px;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  overflow: hidden;
}
.nav-item:hover { background: var(--c-bg-alt); color: var(--c-primary); }
.nav-item.active { background: rgba(139,69,19,.1); color: var(--c-primary); font-weight: 600; }
.nav-item .ni { width: 18px; height: 18px; flex-shrink: 0; }
.nav-badge { background: var(--c-primary); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: var(--r-full); margin-left: auto; }

/* Main Content */
.main-content {
  flex: 1;
  min-width: 0;
  padding-bottom: calc(var(--bottom-nav-h) + 16px);
}

/* ── Filter Sidebar (products page) ──────────────────── */
#products-page > div:first-child {
  padding: 20px 16px 20px 20px !important;
  min-width: 220px;
}
#filter-form .inp { padding: 8px 12px; font-size: 13px; }
#filter-form .form-control { padding: 8px 12px; }
#filter-form a { transition: color .15s, font-weight .15s; }
#filter-form a:hover { color: var(--c-primary) !important; }
.filter-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--c-text-muted);
  padding: 12px 0 6px; display: block;
  border-top: 1px solid var(--c-border); margin-top: 8px;
}
.filter-section-label:first-child { border-top: none; margin-top: 0; padding-top: 0; }

/* Mobile Search Bar */
.mobile-search-bar { padding: 10px var(--gap); }
.mobile-search-link {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--c-text-muted);
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-full);
  cursor: pointer; border: none;
  transition: all var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-l));
  color: #FAF7F2;
  box-shadow: 0 2px 8px rgba(139,69,19,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(139,69,19,.4); }
.btn-primary:active { transform: none; }

.btn-white  { background: #fff; color: var(--c-primary); }
.btn-white:hover { background: #FAF7F2; }

.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

.btn-ghost  { background: transparent; color: var(--c-text-2); border: 1.5px solid var(--c-border); }
.btn-ghost:hover { background: var(--c-bg); border-color: var(--c-primary); color: var(--c-primary); }

.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(139,69,19,.45);
}
@media (min-width: 1024px) {
  .hero-section { border-radius: 20px; margin: 16px; }
}

.hero-slider { position: relative; height: 220px; }
@media (min-width: 640px)  { .hero-slider { height: 250px; } }
@media (min-width: 1024px) { .hero-slider { height: 300px; } }

.hero-slide {
  position: absolute; inset: 0;
  display: block;
  padding: 0;
  opacity: 0;
  transition: opacity var(--t-slow);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide:nth-child(1) { background: url('../images/hero/desktop/d-1.jpg') center/cover no-repeat; }
.hero-slide:nth-child(2) { background: url('../images/hero/desktop/d-2.jpg') center/cover no-repeat; }
.hero-slide:nth-child(3) { background: url('../images/hero/desktop/d-3.jpg') center/cover no-repeat; }

.hero-content, .mhs-body { display: none !important; }

/* Hero visual / pattern */
.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  opacity: .15;
  pointer-events: none;
}
.hero-pattern {
  width: 100%; height: 100%;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.3) 0, rgba(255,255,255,.3) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}

/* Arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(255,255,255,.2);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background var(--t-fast);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,.35); }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }

/* Dots */
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.hdot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  transition: all var(--t-fast);
}
.hdot.active { width: 20px; border-radius: 3px; background: #fff; }

/* ══════════════════════════════════════════════════════════
   USP STRIP
   ══════════════════════════════════════════════════════════ */
.usp-strip {
  display: flex; flex-wrap: wrap;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.usp-item {
  flex: 1; min-width: 140px;
  display: flex; align-items: center; gap: 10px;
  padding: 14px var(--gap);
  border-right: 1px solid var(--c-border);
}
.usp-item:last-child { border-right: none; }
.usp-icon { width: 22px; height: 22px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--c-primary); }
.usp-icon svg { width: 100%; height: 100%; }
.usp-item strong { display: block; font-size: 12px; font-weight: 600; }
.usp-item small  { font-size: 11px; color: var(--c-text-muted); }
.usp-modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 540; display: none; align-items: flex-end; justify-content: center; padding: 12px; }
.usp-modal.open { display: flex; }
.usp-modal-card {
  width: 100%; max-width: 420px; background: #fff; border-radius: 16px; border: 1px solid var(--c-border);
  padding: 16px 14px 14px; box-shadow: 0 16px 34px rgba(0,0,0,.18); position: relative;
}
.usp-modal-close { position: absolute; top: 6px; right: 10px; font-size: 28px; line-height: 1; color: var(--c-text-muted); }
.usp-modal-card h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 6px; color: var(--c-text); }
.usp-modal-card p { font-size: 13px; line-height: 1.65; color: var(--c-text-2); }

/* ══════════════════════════════════════════════════════════
   HOME SECTIONS
   ══════════════════════════════════════════════════════════ */
.home-section { padding: 24px var(--gap) 8px; }
@media (min-width: 1024px) { .home-section { padding: 32px 24px; } }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 16px;
}
.section-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--c-text); }
@media (min-width: 1024px) { .section-title { font-size: 24px; } }
.section-sub   { font-size: 13px; color: var(--c-text-muted); margin-top: 2px; }
.section-more  { font-size: 13px; font-weight: 600; color: var(--c-primary); white-space: nowrap; }
.section-more:hover { text-decoration: underline; }

/* ── Category Scroll ─────────────────────────────────── */
.cat-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-scroll::-webkit-scrollbar { display: none; }

/* Image-only promo strip (desktop 4.5 cards, mobile 1 card) */
.promo-strip { padding: 8px var(--gap) 0; }
.promo-strip-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.promo-strip-track::-webkit-scrollbar { display: none; }
.promo-card {
  flex: 0 0 100%;
  aspect-ratio: 3.2/1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.promo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Staggered fade-in animation for category chips */
@keyframes cat-pop {
  0%   { opacity: 0; transform: translateY(14px) scale(.92); }
  100% { opacity: 1; transform: none; }
}
.cat-chip {
  display: flex; flex-direction: column; align-items: center;
  gap: 7px; flex-shrink: 0;
  min-width: 74px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  animation: cat-pop .45s cubic-bezier(.34,1.56,.64,1) forwards;
}
/* stagger each chip */
.cat-chip:nth-child(1)  { animation-delay: .05s; }
.cat-chip:nth-child(2)  { animation-delay: .10s; }
.cat-chip:nth-child(3)  { animation-delay: .15s; }
.cat-chip:nth-child(4)  { animation-delay: .20s; }
.cat-chip:nth-child(5)  { animation-delay: .25s; }
.cat-chip:nth-child(6)  { animation-delay: .30s; }
.cat-chip:nth-child(7)  { animation-delay: .35s; }
.cat-chip:nth-child(8)  { animation-delay: .40s; }
.cat-chip:nth-child(9)  { animation-delay: .45s; }
.cat-chip:nth-child(10) { animation-delay: .50s; }

.cat-chip-img {
  width: 66px; height: 66px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2.5px solid var(--c-border);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cat-chip-icon {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--c-bg-alt);
  border: 2.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cat-chip span {
  font-size: 11px; font-weight: 600;
  color: var(--c-text-2);
  white-space: nowrap;
  transition: color .2s;
}
.cat-chip:hover .cat-chip-img,
.cat-chip:hover .cat-chip-icon {
  border-color: var(--c-primary);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 18px rgba(139,69,19,.2);
}
.cat-chip:hover span { color: var(--c-primary); }

/* ── Products Grid ───────────────────────────────────── */
.products-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px)  { .products-grid-home { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 640px)  { .products-grid-home { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid-home { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (min-width: 1280px) { .products-grid-home { grid-template-columns: repeat(5, 1fr); } }

.products-row {
  display: flex; gap: 12px; overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.products-row::-webkit-scrollbar { display: none; }
.products-row .pcard { flex: 0 0 160px; }
@media (min-width: 640px) { .products-row .pcard { flex: 0 0 200px; } }

/* ── Product Card ────────────────────────────────────── */
.pcard {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border-l);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pcard-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--c-bg);
}
.pcard-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.pcard:hover .pcard-img { transform: scale(1.05); }

.pcard-tag {
  position: absolute;
  bottom: 10px;
  left: 9px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  line-height: 1;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 6px 14px rgba(0,0,0,.16);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.tag-new {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ecfeff;
}
.tag-sale {
  background: linear-gradient(135deg, #7f1d1d, #ef4444);
  color: #fff5f5;
  bottom: 10px;
  left: 88px;
  right: auto;
}

.pcard-wish {
  position: absolute; top: 6px; right: 6px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-fast);
  backdrop-filter: blur(4px);
}
.pcard-wish:hover, .pcard-wish.wishlisted { color: var(--c-error); }
.pcard-wish.wishlisted svg { fill: var(--c-error); stroke: var(--c-error); }

.pcard-body { padding: 10px 10px 12px; }
.pcard-cat  { font-size: 10px; font-weight: 600; color: var(--c-secondary); text-transform: uppercase; letter-spacing: .5px; }
.pcard-name {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--c-text);
  margin: 3px 0;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-name:hover { color: var(--c-primary); }

.pcard-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.stars { color: #F59E0B; font-size: 11px; letter-spacing: .5px; }
.rating-val { font-size: 11px; color: var(--c-text-muted); }

.pcard-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pcard-price  { display: flex; flex-direction: column; gap: 1px; }
.price-current { font-size: 15px; font-weight: 700; color: var(--c-primary); line-height: 1; }
.price-orig    { font-size: 11px; color: var(--c-text-muted); text-decoration: line-through; }

.pcard-cart-btn {
  width: 32px; height: 32px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
  box-shadow: 0 2px 6px rgba(139,69,19,.3);
}
.pcard-cart-btn:hover { background: var(--c-primary-d); transform: scale(1.1); }
.pcard-cart-btn.loading { opacity: .6; pointer-events: none; }

/* ══════════════════════════════════════════════════════════
   FLASH SALE SECTION
   ══════════════════════════════════════════════════════════ */
.flash-sale-section {
  background: linear-gradient(135deg, #124219, #4da437);
  border-radius: 16px;
  margin: 0 var(--gap) 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 24px rgba(23,58,15,.22);
  overflow: hidden;
}
.flash-landing-grid {
  display: grid;
  grid-template-columns: 1.55fr .95fr;
  gap: 8px;
}
.flash-showcase {
 border: 1px solid #fff;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.2);
  backdrop-filter: blur(3px);
}
.flash-badges { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.flash-mini-tag {
  font-size: 9px; font-weight: 700; text-transform: uppercase; color: #13220f;
  background: #f8ffdf; border-radius: 999px; padding: 3px 8px;
}
.flash-main-off {
  font-size: 18px; font-weight: 800; color: #fff;
  text-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.flash-title { color: #fff; margin: 0 0 2px; font-size: clamp(15px,1.8vw,21px); line-height: 1.1; }
.flash-subtitle { color: rgba(255,255,255,.88); margin: 0 0 6px; font-size: 11px; }
.flash-featured-card {
  display: flex; gap: 10px; align-items: center;
  background: rgba(255,255,255,.95); border-radius: 12px; padding: 8px;
  min-height: 100%;
  overflow: hidden;
}
.flash-featured-card img {
  width: 48px; height: 48px; border-radius: 9px; object-fit: cover;
}
.flash-featured-card h3 { margin: 0 0 2px; font-size: 12px; color: #233019; line-height: 1.2; }
.flash-featured-card small { display: block; color: #56754c; font-size: 10px; margin-bottom: 2px; }
.flash-featured-card p { margin: 0; font-size: 11px; color: #45603a; }
.flash-marquee {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  margin-top: 6px;
}
.flash-marquee-track {
  display: inline-flex; gap: 20px; white-space: nowrap; padding: 4px 0;
  min-width: max-content; animation: flashMarq 22s linear infinite;
}
.flash-marquee-track span {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.96);
}
@keyframes flashMarq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.flash-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.4);
}
.ft-block { text-align: center; }
.ft-block span {
  display: block; background: rgba(13,42,16,.45); color: #fff;
  font-size: clamp(13px,1.7vw,17px); font-weight: 800;
  min-width: 30px; padding: 3px; border-radius: 7px; line-height: 1; font-family: monospace;
}
.ft-block small { font-size: 7px; color: rgba(255,255,255,.84); text-transform: uppercase; letter-spacing: .7px; margin-top: 2px; display: block; }

@media (min-width: 1024px) {
  .flash-sale-section { margin: 0 24px 14px; border-radius: 18px; }
  .flash-featured-card {
    padding: 10px 12px;
    min-height: 122px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,252,246,.95));
    border: 2px solid #2D1505;
  }
  .flash-featured-card img {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
  }
  .flash-featured-card h3 { font-size: 22px; margin-bottom: 6px; }
  .flash-featured-card small { font-size: 15px; margin-bottom: 5px; }
  .flash-featured-card p { font-size: 20px; }
}
@media (max-width: 992px) {
  .flash-sale-section {
    padding: 8px;
    margin: 0 10px 7px;
  }
  .flash-landing-grid { grid-template-columns: 1fr; gap: 7px; }
  .flash-showcase { border-radius: 11px; padding: 8px; }
  .flash-main-off { font-size: 16px; }
  .flash-title { font-size: 16px; }
  .flash-subtitle { font-size: 10px; margin-bottom: 5px; }
  .flash-featured-card { border-radius: 11px; }
}

.flash-sale-section .pcard { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.flash-sale-section .pcard-name { color: #fff; }
.flash-sale-section .price-current { color: var(--c-accent); }
.flash-sale-section .price-orig { color: rgba(255,255,255,.4); }

/* AI sticky launcher */
.ai-chat-launcher {
  position: fixed;
  right: 16px;
  bottom: calc(var(--bottom-nav-h) + 18px);
  z-index: 520;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 8px 20px rgba(74,42,20,.28);
  padding: 0;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.ai-chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(74,42,20,.34); }
.ai-chat-launcher img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.34);
  z-index: 528;
  display: none;
}
.ai-chat-overlay.open { display: block; }
.ai-chat-box {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, calc(100vw - 24px));
  max-height: min(88vh, 680px);
  background: #fffdfb;
  border-radius: 20px;
  border: 1px solid #eaded4;
  box-shadow: 0 24px 44px rgba(51,30,16,.22);
  z-index: 530;
  display: none;
  overflow: hidden;
}
.ai-chat-box.open { display: block; }
.ai-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-bottom: 1px solid #f0e4da;
  background: #fff9f4;
  color: #4c3323;
  border-radius: 20px 20px 0 0;
}
.ai-chat-head button { color: #8a6f5c; font-size: 30px; line-height: 1; }
.ai-chat-title-wrap strong { display: block; font-size: 16px; line-height: 1.2; color: #4b2f1f; }
.ai-chat-title-wrap small { display: block; font-size: 11px; color: #8b7566; margin-top: 2px; }
.ai-chat-messages {
  max-height: 240px; overflow-y: auto; overflow-x: hidden; padding: 10px 10px 8px; background: #fffdfb;
}
.ai-chat-msg {
  margin-bottom: 8px; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; word-break: break-word;
}
.ai-chat-msg.user { background: #f4e7dc; margin-left: 24px; border-bottom-right-radius: 5px; color: #4b2f1f; }
.ai-chat-msg.bot { background: #fff; border: 1px solid #eadfd6; margin-right: 24px; border-bottom-left-radius: 5px; color: #3f2e21; }
.ai-chat-chips {
  display: flex; gap: 8px; padding: 8px 10px; border-top: 1px solid #f0e6df; border-bottom: 1px solid #f0e6df; overflow-x: auto; background:#fff9f5;
}
.ai-chat-chips::-webkit-scrollbar { display: none; }
.ai-chip {
  white-space: nowrap; border: 1px solid #dfcfc2; border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 12px; color: #6d4328; background: #fbf4ee;
}
.ai-chat-form { padding: 10px; display: grid; gap: 8px; background:#fff; overflow: hidden; }
.ai-chat-input-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(92px, auto); gap: 8px; align-items: stretch; }
.ai-chat-input-row textarea {
  width: 100%;
  border: 1px solid #e1d1c3;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  min-height: 42px;
  max-height: 110px;
  resize: none;
  overflow-y: auto;
}
.ai-send-btn {
  border-radius: 14px;
  background: linear-gradient(135deg, #8B4513, #B3642A);
  color: #fff;
  padding: 0 12px;
  height: 44px;
  width: 100%;
  min-width: 92px;
  font-size: 14px;
  font-weight: 700;
}
.ai-chat-subrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: center; }
.ai-chat-subrow input {
  border: 1px solid #e7d9cd; border-radius: 8px; padding: 6px 8px; font-size: 12px;
}
.ai-chat-save { font-size: 12px; color: #6f594b; display: flex; gap: 5px; align-items: center; white-space: normal; grid-column: 1 / -1; justify-content: flex-end; }
@media (max-width: 767px) {
  .ai-chat-launcher { width: 54px; height: 54px; right: 12px; }
  .ai-chat-box {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: calc(100vw - 14px);
    max-width: none;
    max-height: min(86vh, 640px);
    border-radius: 18px;
  }
  .ai-chat-head { border-radius: 18px 18px 0 0; padding: 12px; }
  .ai-chat-messages { max-height: 30vh; }
  .ai-chat-input-row { grid-template-columns: minmax(0,1fr) minmax(90px,auto); gap: 7px; }
  .ai-send-btn { height: 42px; font-size: 13px; min-width: 90px; }
  .ai-chat-subrow { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
  .ai-chat-save { grid-column: 1 / -1; justify-content: flex-start; font-size: 11px; }
}

/* ══════════════════════════════════════════════════════════
   HERITAGE BANNER
   ══════════════════════════════════════════════════════════ */
.heritage-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px var(--gap);
  margin: 0 var(--gap) 16px;
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) {
  .heritage-banner { grid-template-columns: 1fr 1fr; margin: 0 24px 16px; padding: 40px 40px; }
}
.hb-points { display: grid; gap: 9px; margin: 0 0 18px; }
.hb-points span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--c-text-2); font-weight: 600; }
.hb-points svg { width: 14px; height: 14px; color: var(--c-primary); flex-shrink: 0; }
.hb-visual-card {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(150deg, #fff, #f5eee6);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
}
.hb-v-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--c-text-muted); text-transform: uppercase; margin-bottom: 10px; }
.hb-v-item { padding: 10px 0; border-top: 1px dashed var(--c-border); }
.hb-v-item:first-of-type { border-top: none; padding-top: 0; }
.hb-v-item strong { display: block; font-size: 13px; color: var(--c-primary); margin-bottom: 2px; }
.hb-v-item span { font-size: 12px; color: var(--c-text-muted); }
.hb-label { font-size: 10px; font-weight: 700; color: var(--c-secondary); letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.hb-title { font-family: var(--font-head); font-size: clamp(22px, 4vw, 36px); font-weight: 700; color: var(--c-text); line-height: 1.2; margin-bottom: 14px; }
.hb-desc  { font-size: 14px; color: var(--c-text-2); line-height: 1.8; margin-bottom: 24px; }
.hb-visual { display: flex; align-items: center; justify-content: center; }
.hb-motif {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
  opacity: .4;
}
.hb-diamond {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-l));
  transform: rotate(45deg);
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonials-section { padding-bottom: 20px; }
/* ── Testimonials Slider ── */
.testimonials-section { overflow: hidden; }

.tslider-arrows { display: flex; gap: 8px; }
.tslider-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.tslider-arrow:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #FAF7F2;
}

.tslider-wrap {
  overflow: hidden;
  margin: 0 -4px;
}

.tslider-track {
  display: flex;
  gap: 16px;
  padding: 4px 4px 8px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  transition: scroll-left .3s;
}
.tslider-track::-webkit-scrollbar { display: none; }

.tcard {
  flex: 0 0 calc(85% - 8px);      /* mobile: ~1 card + peek */
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 22px 20px 18px;
  scroll-snap-align: start;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
@media (min-width: 640px)  { .tcard { flex: 0 0 calc(48% - 8px); } }
@media (min-width: 1024px) { .tcard { flex: 0 0 calc(31% - 8px); } }

.tcard:hover { box-shadow: 0 6px 24px rgba(139,69,19,.1); transform: translateY(-2px); }

.tcard-quote {
  font-size: 36px;
  line-height: 1;
  color: var(--c-primary);
  opacity: .25;
  font-family: Georgia, serif;
  margin-bottom: 4px;
}
.tcard-stars { color: #F59E0B; font-size: 13px; margin-bottom: 12px; letter-spacing: 1px; }
.tcard p {
  font-size: 13px; color: var(--c-text-2);
  line-height: 1.75; margin-bottom: 16px;
  font-style: italic;
  flex: 1;
}
.tcard-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
}
.tcard-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #FAF7F2; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tcard-author strong { font-size: 13px; font-weight: 600; display: block; }
.tcard-author span   { font-size: 11px; color: var(--c-text-muted); }

.tslider-dots {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 16px;
}
.tslider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-border); border: none; cursor: pointer;
  transition: all .25s; padding: 0;
}
.tslider-dot.active { width: 20px; border-radius: 3px; background: var(--c-primary); }

/* ══════════════════════════════════════════════════════════
   BOTTOM NAVIGATION (Mobile)
   ══════════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(8px, env(safe-area-inset-bottom));
  height: calc(var(--bottom-nav-h) - 4px);
  background: #fff;
  border: 1px solid #eadacb;
  border-radius: 18px;
  display: flex;
  align-items: center;
  z-index: var(--z-header);
  box-shadow: 0 10px 28px rgba(34, 18, 10, .18);
  backdrop-filter: saturate(140%) blur(3px);
}
.bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; height: 100%;
  color: var(--c-text-muted);
  font-size: 10px; font-weight: 600;
  transition: color var(--t-fast);
  position: relative;
  border-radius: 12px;
  margin: 4px 3px;
}
.bnav-item svg { transition: transform var(--t-fast); }
.bnav-item.bnav-active {
  color: #f97316;
  background: #fbe8dd;
}
.bnav-item.bnav-active svg { transform: scale(1.1); }

.bnav-cart { flex: 0 0 64px; }
.bnav-cart-btn {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-l));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(139,69,19,.36);
  position: relative;
  margin-top: -24px;
  border: 3px solid #fff;
}
.bnav-badge {
  position: absolute; top: -2px; right: -4px;
  min-width: 16px; height: 16px;
  background: var(--c-error);
  color: #fff; font-size: 9px; font-weight: 700;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--c-surface);
}
@media (max-width: 767px) {
  .bottom-nav {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    height: calc(var(--bottom-nav-h) - 6px);
  }
}

/* ══════════════════════════════════════════════════════════
   SITE FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: #1A0E08;
  color: rgba(250,247,242,.8);
  margin-top: 14px;
}
.join-tribe-wrap {
  background: linear-gradient(130deg,#5C2C0E,#8B4513);
  padding: 26px 18px;
}
.join-tribe-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.join-tribe-title {
  font-family: var(--font-head);
  color: #FAF7F2;
  font-size: clamp(18px,2vw,24px);
  margin-bottom: 4px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.join-tribe-icon { width: 18px; height: 18px; color: #E8C547; }
.join-tribe-icon svg { width: 100%; height: 100%; }
.join-tribe-desc { font-size: 13px; color: rgba(250,247,242,.65); }
.join-tribe-form { flex: 1; min-width: 280px; max-width: 430px; display: flex; gap: 8px; }
.join-tribe-form input {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 13px;
}
.join-tribe-form button {
  padding: 11px 22px;
  background: #FAF7F2;
  color: #8B4513;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.footer-inner { max-width: var(--content-max); margin: 0 auto; padding: 40px var(--gap) 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(250,247,242,.1);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand-col { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand-col { grid-column: auto; } }
.footer-logo { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #FAF7F2; margin-bottom: 10px; }
.footer-logo span { color: var(--c-secondary); }
.footer-logo-img { height: 34px; width: auto; object-fit: contain; }
.footer-brand-col p { font-size: 13px; line-height: 1.7; color: rgba(250,247,242,.5); max-width: 280px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(250,247,242,.08);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,247,242,.6);
  transition: background var(--t-fast), color var(--t-fast);
}
.footer-social a:hover { background: var(--c-primary); color: #fff; }
.footer-chip {
  background: rgba(255,255,255,.08);
  color: rgba(250,247,242,.66);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-chip svg { width: 12px; height: 12px; }

.footer-title { font-size: 12px; font-weight: 700; color: rgba(250,247,242,.9); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(250,247,242,.5); transition: color var(--t-fast); }
.footer-links a:hover { color: rgba(250,247,242,.9); }

.footer-newsletter {
  padding: 28px 0;
  border-bottom: 1px solid rgba(250,247,242,.1);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-newsletter h3 { font-family: var(--font-head); font-size: 18px; color: #FAF7F2; margin-bottom: 4px; }
.footer-newsletter p  { font-size: 13px; color: rgba(250,247,242,.5); }
.newsletter-form { display: flex; gap: 0; flex: 1; max-width: 400px; }
.newsletter-form input {
  flex: 1; background: rgba(250,247,242,.08); border: 1px solid rgba(250,247,242,.15); border-right: none;
  padding: 10px 14px; color: #FAF7F2; border-radius: var(--r-full) 0 0 var(--r-full);
  font-size: 13px; outline: none;
}
.newsletter-form input::placeholder { color: rgba(250,247,242,.3); }
.newsletter-form button {
  background: var(--c-primary); color: #FAF7F2; border: none;
  padding: 10px 20px; font-size: 13px; font-weight: 600;
  border-radius: 0 var(--r-full) var(--r-full) 0; cursor: pointer;
  transition: background var(--t-fast);
}
.newsletter-form button:hover { background: var(--c-primary-d); }

.footer-bottom {
  padding-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 12px; color: rgba(250,247,242,.3);
}
.footer-pay-badges { display: flex; gap: 8px; }
.footer-pay-badges span { background: rgba(250,247,242,.08); padding: 3px 10px; border-radius: var(--r-sm); font-size: 11px; color: rgba(250,247,242,.5); display: inline-flex; align-items: center; gap: 5px; }
.footer-pay-badges svg { width: 12px; height: 12px; }
@media (max-width: 767px) {
  .testimonials-section { padding-bottom: 8px; }
  .usp-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 8px 10px;
    -webkit-overflow-scrolling: touch;
  }
  .usp-strip::-webkit-scrollbar { display: none; }
  .usp-item {
    flex: 0 0 44px;
    min-width: 44px;
    width: 44px;
    height: 44px;
    border-right: none;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    padding: 0;
    justify-content: center;
    cursor: pointer;
    background: #fff;
  }
  .usp-item > div { display: none; }
  .usp-icon { width: 18px; height: 18px; }
  .join-tribe-wrap {
    padding: 10px 9px;
    border-radius: 12px;
    margin: 0 6px 6px;
    background: linear-gradient(145deg,#6b2f0f,#8a4015);
  }
  .join-tribe-inner { gap: 10px; }
  .join-tribe-title { font-size: 14px; margin-bottom: 2px; }
  .join-tribe-desc { font-size: 10px; opacity: .95; }
  .join-tribe-form { min-width: 100%; max-width: 100%; }
  .join-tribe-form input {
    padding: 9px 10px;
    font-size: 11px;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
  }
  .join-tribe-form button {
    padding: 9px 10px;
    font-size: 11px;
    border-radius: 12px;
    font-weight: 700;
  }
  .site-footer { border-radius: 12px 12px 0 0; overflow: hidden; margin-top: 4px; }
  .footer-inner {
    padding: 8px 7px 68px;
    background: linear-gradient(180deg,rgba(255,255,255,.01),rgba(0,0,0,.07));
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 6px; padding-bottom: 8px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-logo-img { height: 28px; }
  .footer-title { font-size: 9px; margin-bottom: 4px; letter-spacing: .6px; }
  .footer-links { gap: 3px; }
  .footer-links a { font-size: 9px; }
  .footer-brand-col p { font-size: 9px; margin: 4px 0 5px; line-height: 1.35; }
  .footer-social { gap: 7px; }
  .footer-social a { width: 22px; height: 22px; border-radius: 6px; }
  .footer-chip { font-size: 8.5px; padding: 2px 7px; }
  .footer-bottom { gap: 5px; font-size: 8px; padding-top: 6px; }
  .footer-pay-badges { gap: 6px; flex-wrap: wrap; }
  .footer-pay-badges span { font-size: 7.8px; padding: 2px 5px; border-radius: 8px; }
}

/* ══════════════════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════════════════ */
#scroll-top {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 16px);
  right: 16px;
  width: 40px; height: 40px;
  background: var(--c-primary);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: var(--z-fixed);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--t-med), transform var(--t-med);
}
#scroll-top.visible { opacity: 1; pointer-events: auto; transform: none; }

/* ══════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed; top: calc(var(--header-h) + 12px); right: 16px;
  z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: 8px;
  max-width: 340px; width: calc(100vw - 32px);
}
.toast {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  display: flex; gap: 10px; align-items: flex-start;
  animation: toastIn .3s ease;
}
.toast.toast-success { border-left-color: var(--c-success); }
.toast.toast-error   { border-left-color: var(--c-error); }
.toast.toast-warning { border-left-color: var(--c-warning); }
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } }

/* ══════════════════════════════════════════════════════════
   PWA INSTALL BANNER
   ══════════════════════════════════════════════════════════ */
.pwa-install-banner {
  position: fixed; bottom: calc(var(--bottom-nav-h) + 12px); left: 12px; right: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: none; align-items: center; gap: 12px;
  z-index: calc(var(--z-header) - 1);
  animation: slideUp .3s ease;
}
.pwa-install-banner.visible { display: flex; }
@keyframes slideUp { from { transform:translateY(20px); opacity:0; } }
.pwa-text strong { display: block; font-size: 13px; font-weight: 600; }
.pwa-text span   { font-size: 11px; color: var(--c-text-muted); }

/* ══════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--c-text-2); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 10px 14px;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 14px; font-family: inherit; color: var(--c-text);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(139,69,19,.1); background: var(--c-surface); }

/* Alert */
.alert { padding: 12px 16px; border-radius: var(--r-md); font-size: 13px; margin-bottom: 12px; }
.alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.alert-error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ══════════════════════════════════════════════════════════
   MODAL / DRAWER
   ══════════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: calc(var(--z-modal) - 1);
  display: none; opacity: 0;
  transition: opacity var(--t-med);
}
.drawer-overlay.open { display: block; opacity: 1; }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: var(--z-modal);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  padding: 24px;
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity:0; transform:scale(.95); } }

/* ══════════════════════════════════════════════════════════
   AUTH PAGES
   ══════════════════════════════════════════════════════════ */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  padding: 24px var(--gap);
  background: var(--c-bg);
}
.auth-card {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-title   { font-family: var(--font-head); font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: var(--c-text-muted); margin-bottom: 24px; }

/* OTP Inputs */
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 16px 0; }
.otp-input {
  width: 44px; height: 52px;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  text-align: center; font-size: 20px; font-weight: 700;
  background: var(--c-bg);
  outline: none;
  transition: border-color var(--t-fast);
}
.otp-input:focus { border-color: var(--c-primary); background: var(--c-surface); }

/* ══════════════════════════════════════════════════════════
   PRODUCT CARDS (generic - for other pages)
   ══════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════ */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-text-muted); padding: 12px var(--gap); flex-wrap: wrap; }
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb span { color: var(--c-text); font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════ */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 24px var(--gap); flex-wrap: wrap; }
.page-btn {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 500;
  color: var(--c-text-2);
  transition: all var(--t-fast);
}
.page-btn:hover, .page-btn.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ══════════════════════════════════════════════════════════
   STATUS BADGES (shared)
   ══════════════════════════════════════════════════════════ */
.badge-status { display: inline-flex; padding: 3px 8px; border-radius: var(--r-full); font-size: 11px; font-weight: 600; }
.badge-pending   { background: #FEF3C7; color: #92400E; }
.badge-confirmed { background: #DBEAFE; color: #1E40AF; }
.badge-shipped   { background: #EDE9FE; color: #5B21B6; }
.badge-delivered { background: #D1FAE5; color: #065F46; }
.badge-cancelled { background: #FEE2E2; color: #991B1B; }

/* ══════════════════════════════════════════════════════════
   DESKTOP ENHANCEMENTS
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .sidebar { display: flex; flex-direction: column; }
  .header-search { display: flex; }
  .main-content { padding-bottom: 0; }
  .d-lg-none { display: none !important; }
  .bottom-nav { display: none !important; }

  #scroll-top { bottom: 24px; }

  .hero-slide { padding: 48px; }
  .hero-content { max-width: 560px; }

  .home-section { padding: 32px 24px; }
  .cat-scroll {
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .cat-chip-img, .cat-chip-icon { width: 82px; height: 82px; font-size: 30px; }
  .cat-chip span { font-size: 12px; }
  .cat-chip {
    min-width: calc((100% - 7 * 12px) / 8);
    scroll-snap-align: start;
  }
  .promo-strip { padding: 14px 24px 0; }
  .promo-strip-track { gap: 12px; }
  .promo-card {
    flex: 0 0 calc((100% - 4 * 12px) / 4.5);
    aspect-ratio: 2.75/1;
  }
}

/* ══════════════════════════════════════════════════════════
   SKELETON LOADERS
   ══════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--c-bg) 25%, var(--c-bg-alt) 50%, var(--c-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ══════════════════════════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════════════════════════ */
.cart-page { padding: 16px var(--gap); }
@media (min-width: 1024px) { .cart-page { padding: 24px; } }

.cart-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 360px; gap: 24px; } }

.cart-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
}
.cart-item img { width: 80px; height: 96px; object-fit: cover; border-radius: var(--r-md); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   PRODUCT PAGE
   ══════════════════════════════════════════════════════════ */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 16px var(--gap); }
@media (min-width: 1024px) { .product-layout { grid-template-columns: 1fr 1fr; padding: 24px; gap: 40px; } }

.gallery-main { aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: var(--c-bg); position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumb { width: 60px; height: 60px; border-radius: var(--r-md); overflow: hidden; flex-shrink: 0; cursor: pointer; border: 2px solid transparent; transition: border-color var(--t-fast); }
.gallery-thumb.active { border-color: var(--c-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.size-selector { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.size-btn {
  min-width: 40px; height: 40px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast); padding: 0 10px;
  background: var(--c-surface);
}
.size-btn:hover { border-color: var(--c-primary); }
.size-btn.selected { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.size-btn.out-stock { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.color-selector { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.color-btn { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: border-color var(--t-fast); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.color-btn.selected { border-color: var(--c-primary); }

.qty-control { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--c-border); border-radius: var(--r-full); overflow: hidden; width: fit-content; }
.qty-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: none; color: var(--c-text); cursor: pointer; transition: background var(--t-fast); }
.qty-btn:hover { background: var(--c-bg); }
.qty-val { min-width: 40px; text-align: center; font-size: 15px; font-weight: 600; }

/* Sticky Add to Cart (mobile) */
.sticky-cta {
  position: fixed; bottom: var(--bottom-nav-h); left: 0; right: 0;
  padding: 10px var(--gap);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  display: flex; gap: 10px; z-index: 50;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ══════════════════════════════════════════════════════════
   PAGE HERO
   ══════════════════════════════════════════════════════════ */
.page-hero {
  padding: 20px var(--gap) 12px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 16px;
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(20px,4vw,28px); color: var(--c-primary); }
.page-hero p  { color: var(--c-text-muted); font-size: 14px; margin-top: 4px; }

/* Keep Add to Cart readable on list cards */
.product-card-actions .btn-primary,
.product-card .btn-primary,
.products-grid .btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-l));
  color: #fff;
  border: 1px solid rgba(139,69,19,.2);
}

/* ══════════════════════════════════════════════════════════
   CHECKOUT
   ══════════════════════════════════════════════════════════ */
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 16px var(--gap); }
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: 1fr 380px; gap: 28px; padding: 24px; } }

/* New premium checkout */
.checkoutx-page { padding: 12px var(--gap) 100px; }
.checkoutx-head { padding: 8px 0 14px; }
.checkoutx-head h1 { font-family: var(--font-head); font-size: clamp(24px,4vw,34px); line-height: 1.1; }
.checkoutx-head p { color: var(--c-text-muted); margin-top: 4px; font-size: 13px; }
.checkoutx-layout { display: grid; grid-template-columns: 1fr; gap: 14px; }
.checkoutx-main { display: flex; flex-direction: column; gap: 12px; }
.checkoutx-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.checkoutx-card-head h3 { font-family: var(--font-head); font-size: 16px; margin-bottom: 10px; }
.checkoutx-address-list { display: flex; flex-direction: column; gap: 8px; }
.checkoutx-address {
  text-align: left;
  width: 100%;
  border: 1.5px solid var(--c-border);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.checkoutx-address strong { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.checkoutx-address strong small { font-size: 10px; background: var(--c-bg-alt); border-radius: 99px; padding: 1px 6px; color: var(--c-text-muted); }
.checkoutx-address span { display: block; font-size: 11px; color: var(--c-text-muted); margin-top: 3px; }
.checkoutx-address.active { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(139,69,19,.11); }
.checkoutx-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.checkoutx-full { grid-column: 1 / -1; }
.checkoutx-save { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--c-text-2); margin-top: 4px; }
.checkoutx-paylist { display: grid; gap: 8px; }
.checkoutx-pay {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.checkoutx-pay strong { display: block; font-size: 13px; }
.checkoutx-pay span { display: block; font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }
.checkoutx-pay.active { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(139,69,19,.11); }
.checkoutx-side { position: static; }
.checkoutx-summary { position: sticky; top: calc(var(--header-h) + 10px); }
.checkoutx-items { display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow: auto; padding-right: 2px; }
.checkoutx-item { display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.checkoutx-item img { width: 52px; height: 64px; border-radius: 9px; object-fit: cover; }
.checkoutx-item strong { font-size: 12.5px; line-height: 1.25; display: block; }
.checkoutx-item span { display: block; font-size: 10.5px; color: var(--c-text-muted); margin-top: 2px; }
.checkoutx-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.checkoutx-item-row b { color: var(--c-primary); font-size: 12.5px; }
.checkoutx-total { border-top: 1px dashed var(--c-border); margin-top: 10px; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.checkoutx-total > div { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.checkoutx-total .ok { color: var(--c-success); }
.checkoutx-total .grand { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--c-border); font-size: 15px; font-weight: 700; }
.checkoutx-total .grand strong { color: var(--c-primary); }
.checkoutx-place { margin-top: 10px; }
.checkoutx-secure { font-size: 10px; color: var(--c-text-light); text-align: center; margin-top: 8px; }
.checkoutx-mobile-bar {
  position: fixed;
  left: 10px; right: 10px; bottom: calc(var(--bottom-nav-h) + 8px);
  background: rgba(255,255,255,.98);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  padding: 8px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  z-index: 90;
}
.checkoutx-mobile-bar small { display: block; font-size: 10px; color: var(--c-text-muted); line-height: 1; }
.checkoutx-mobile-bar strong { font-size: 15px; color: var(--c-primary); line-height: 1.2; }
.checkoutx-mobile-bar .btn { padding: 10px 14px; font-size: 12px; border-radius: 10px; }
@media (min-width: 1024px) {
  .checkoutx-page { padding: 16px 24px 24px; }
  .checkoutx-layout { grid-template-columns: minmax(0,1fr) 390px; gap: 18px; }
  .checkoutx-card { padding: 14px; }
  .checkoutx-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .checkoutx-mobile-bar { display: none; }
}

/* Legal content pages */
.legal-page { padding: 14px var(--gap) 28px; }
.legal-head h1 { font-family: var(--font-head); font-size: clamp(22px,3vw,34px); line-height: 1.15; }
.legal-head p { color: var(--c-text-muted); font-size: 12px; margin-top: 5px; }
.legal-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.legal-card h3 { font-family: var(--font-head); font-size: 15px; margin: 12px 0 6px; }
.legal-card p { font-size: 13px; line-height: 1.7; color: var(--c-text-2); }
.legal-back { margin-top: 12px; }

/* ══════════════════════════════════════════════════════════
   ACCOUNT / ORDERS
   ══════════════════════════════════════════════════════════ */
.account-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 16px var(--gap); }
@media (min-width: 1024px) { .account-grid { grid-template-columns: 280px 1fr; gap: 24px; padding: 24px; } }

.order-timeline { position: relative; padding: 0 0 0 24px; }
.order-timeline::before { content:''; position:absolute; left:7px; top:0; bottom:0; width:2px; background:var(--c-border); }
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-item::before { content:''; position:absolute; left:-20px; top:5px; width:12px; height:12px; border-radius:50%; border:2px solid var(--c-border); background:var(--c-surface); }
.timeline-item.done::before { background:var(--c-primary); border-color:var(--c-primary); }

/* ══════════════════════════════════════════════════════════
   ADMIN QUICK ACCESS (shown if admin is logged in on store)
   ══════════════════════════════════════════════════════════ */
.admin-bar {
  background: #1A0E08; color: #FAF7F2;
  padding: 6px var(--gap);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
}
.admin-bar a { color: var(--c-accent); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   PRODUCT CARDS (pcard)
   ══════════════════════════════════════════════════════════ */
.products-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px)  { .products-grid-home { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid-home { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1280px) { .products-grid-home { grid-template-columns: repeat(5, 1fr); } }

.pcard {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.pcard:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.pcard-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--c-bg); }
.pcard-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard-img { transform: scale(1.04); }

.pcard-tag {
  position: absolute;
  bottom: 10px;
  left: 9px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 6px 14px rgba(0,0,0,.16);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.tag-new {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ecfeff;
}
.tag-sale {
  background: linear-gradient(135deg, #7f1d1d, #ef4444);
  color: #fff5f5;
  bottom: 10px;
  left: 88px;
  right: auto;
}

.pcard-wish {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted); transition: color .2s, background .2s;
}
.pcard-wish:hover, .pcard-wish.active { color: #EF4444; background: #fff; }
.pcard-wish.active svg { fill: #EF4444; stroke: #EF4444; }

.pcard-body { padding: 10px 10px 8px; }
.pcard-cat { font-size: 10px; color: var(--c-text-muted); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.pcard-name {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--c-text); margin: 3px 0 6px;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  line-height: 1.35;
}
.pcard-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pcard-price { display: flex; align-items: baseline; gap: 5px; }
.price-current { font-weight: 700; font-size: 14px; color: var(--c-primary); }
.price-orig    { font-size: 11px; color: var(--c-text-muted); text-decoration: line-through; }

.pcard-cart-btn {
  width: 32px; height: 32px; border-radius: var(--r-md);
  background: var(--c-primary); color: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.pcard-cart-btn:hover { background: var(--c-primary-d); }

/* pagination */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 24px 0; flex-wrap: wrap; }
.page-btn {
  width: 36px; height: 36px; border-radius: var(--r-md);
  border: 1.5px solid var(--c-border); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--c-text-2);
  transition: all .15s;
}
.page-btn:hover, .page-btn.active {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
}

/* ══════════════════════════════════════════════════════════
   IMPROVED HEADER
   ══════════════════════════════════════════════════════════ */
.site-header {
  background: linear-gradient(135deg, #fff 0%, #FAFAF8 100%);
  border-bottom: 2px solid var(--c-border);
}
.logo-text { background: linear-gradient(135deg, var(--c-primary), #D2691E); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo-sub  { -webkit-text-fill-color: var(--c-secondary); }
@media (max-width: 767px) {
  .logo {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px;
    white-space: nowrap;
  }
  .logo-brand {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
  }
  .site-logo-img { height: 30px; }
  .logo-text { font-size: 14px; }
  .logo-sub { font-size: 8px; letter-spacing: 1.2px; }
}

/* Announcement bar marquee */
.announcement-bar {
  background: linear-gradient(90deg, #5C2C0E, #8B4513, #5C2C0E);
  background-size: 200% 100%;
  animation: announceBg 4s linear infinite;
}
@keyframes announceBg { 0%{background-position:0%} 100%{background-position:200%} }

/* ══════════════════════════════════════════════════════════
   IMPROVED FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(135deg, #1A0E08 0%, #2D1505 100%);
}

/* ══════════════════════════════════════════════════════════
   HOME HERO DESKTOP — background image
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .hero-section { position: relative; overflow: hidden; min-height: 300px; }
  .hero-desktop-bg {
    position: absolute !important;
    inset: 0;
    background: none;
    filter: none;
    z-index: 0 !important;
  }
  .hero-slider  { position: relative; z-index: 1; min-height: 300px; }
  .hero-dots    { position: relative; z-index: 2; }
  .hero-arrow   { z-index: 2; }
  .hero-slide { min-height: 300px; }
  .hero-content h1, .hero-content p { text-shadow: 0 2px 12px rgba(0,0,0,.5); }
}

/* ══════════════════════════════════════════════════════════
   HOME MOBILE — card peek slider
   ══════════════════════════════════════════════════════════ */
/* ── Mobile Hero Slider — Credit Card Style ── */
.mobile-hero-slider {
  padding: 8px 0 10px;
  background: #EDE8E0;
  border: 1px solid rgba(139,69,19,.45);
  border-radius: 12px;
}
.mhs-track {
  display: flex;
  gap: 10px;
  padding: 6px 52px 6px;          /* more side padding = narrower card + better peek */
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 52px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mhs-track::-webkit-scrollbar { display: none; }
.mhs-card {
  flex: 0 0 calc(100% - 104px);
  height: 142px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  cursor: pointer;
  /* subtle emboss border like a real card */
  border: 1px solid rgba(255,255,255,.15);
}
.mhs-card:not(.active-card) {
  transform: scale(.93);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  opacity: .85;
}
.mhs-card.active-card { transform: scale(1); opacity: 1; }

/* gradient overlay — darker at bottom like credit card branding area */
.mhs-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,.06) 0%,
    rgba(0,0,0,.22) 45%,
    rgba(10,4,0,.82) 100%
  );
}

/* top-right chip decoration (visual credit-card feel) */
.mhs-card::before {
  content: '';
  position: absolute; top: 14px; right: 16px; z-index: 3;
  width: 26px; height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255,220,100,.55), rgba(255,200,50,.25));
  border: 1px solid rgba(255,220,100,.4);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.3);
}

.mhs-body {
  position: absolute;
  bottom: 13px; left: 15px; right: 60px;
  z-index: 2;
  color: #FAF7F2;
}
.mhs-label {
  font-size: 8px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(232,197,71,.9);
  margin-bottom: 3px; display: block;
}
.mhs-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 700; line-height: 1.25;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.mhs-title em { color: #E8C547; font-style: normal; }
.mhs-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px;
  background: rgba(139,69,19,.85); color: #FAF7F2;
  border-radius: 50px; font-size: 10px; font-weight: 700;
  text-decoration: none; letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(139,69,19,.45);
  backdrop-filter: blur(4px);
}
.mhs-dots { display: flex; gap: 5px; justify-content: center; margin-top: 10px; }
.mhs-dot { width: 5px; height: 5px; border-radius: 50%; background: #C4A882; transition: all .3s; }
.mhs-dot.active { width: 20px; border-radius: 3px; background: #8B4513; }

/* ══════════════════════════════════════════════════════════
   SIDEBAR NAV ITEM TOOLTIP (collapsed mode)
   ══════════════════════════════════════════════════════════ */
.sidebar.collapsed .nav-item { position: relative; }
.sidebar.collapsed .nav-item::after {
  content: attr(data-label);
  position: absolute; left: 60px; top: 50%;
  transform: translateY(-50%);
  background: #1A0E08; color: #FAF7F2;
  font-size: 12px; font-weight: 600; padding: 5px 10px;
  border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .15s;
  z-index: 999;
}
.sidebar.collapsed .nav-item:hover::after { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS IMPROVEMENTS
   ══════════════════════════════════════════════════════════ */
.section-title-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--c-text);
  position: relative;
}
.section-heading::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-teal));
  border-radius: 2px;
  margin-top: 4px;
}
.section-link { font-size: 13px; color: var(--c-primary); font-weight: 600; white-space: nowrap; }

/* Mini category strip between New + Featured */
.mini-cat-wrap { padding-top: 8px; padding-bottom: 6px; }
.mini-cat-desktop {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 10px;
}
.mini-cat-viewport {
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-surface);
  padding: 8px;
}
.mini-cat-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 7 * 8px) / 8);
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.mini-cat-track::-webkit-scrollbar { display: none; }
.mini-cat-nav {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-2);
  display: flex; align-items: center; justify-content: center;
}
.mini-cat-nav svg { width: 16px; height: 16px; }
.mini-cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 7px 4px;
  border-radius: 10px;
  text-align: center;
}
.mini-cat-item:hover { background: var(--c-bg); }
.mini-cat-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
}
.mini-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-cat-item span {
  font-size: 10.5px; font-weight: 600; color: var(--c-text-2);
  line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%;
}
.mini-cat-mobile {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

/* ══════════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
  background: linear-gradient(135deg, #1A0E08 0%, #3D1505 100%);
  border: none;
}
@media (max-width: 640px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
  .stat-sep { display: none; }
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 10px; text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  position: relative;
}
.stat-item:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.stat-ic {
  width: 26px;
  height: 26px;
  color: rgba(232,197,71,.95);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stat-ic svg { width: 100%; height: 100%; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  color: #E8C547;
  line-height: 1;
  letter-spacing: -0.5px;
}
.stat-lbl { font-size: 10.5px; color: rgba(250,247,242,.68); margin-top: 4px; font-weight: 600; letter-spacing: .2px; }
.stat-sep { display: none; }

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════ */
.about-section {
  display: grid; grid-template-columns: 1fr;
  gap: 0; padding: 0;
  background: var(--c-bg);
}
@media (min-width: 900px) {
  .about-section { grid-template-columns: 1fr 1fr; min-height: 480px; }
}
.about-img-col { position: relative; min-height: 280px; overflow: hidden; }
@media (min-width: 900px) { .about-img-col { min-height: 100%; } }
.about-img-col img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 12px 16px;
  display: flex; gap: 10px; align-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.ab-ic { width: 24px; height: 24px; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; }
.ab-ic svg { width: 100%; height: 100%; }
.about-badge strong { display: block; font-size: 13px; font-weight: 700; color: var(--c-text); }
.about-badge span   { font-size: 11px; color: var(--c-text-muted); }

.about-text-col { padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; background: #FEFDFB; }
@media (min-width: 900px) { .about-text-col { padding: 48px 40px; } }
.about-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--c-secondary); background: rgba(139,69,19,.08); padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.about-heading { font-family: 'Poppins', sans-serif; font-size: clamp(20px, 2.8vw, 32px); font-weight: 700; color: var(--c-text); line-height: 1.25; margin-bottom: 14px; }
.about-text-col p { font-size: 14px; color: var(--c-text-2); line-height: 1.7; margin-bottom: 10px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.af-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--c-text-2); }
.af-ic { width: 14px; height: 14px; color: #0f766e; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.af-ic svg { width: 100%; height: 100%; }

/* ══════════════════════════════════════════════════════════
   WHY CHOOSE US
   ══════════════════════════════════════════════════════════ */
.why-section { background: var(--c-surface); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.why-card {
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 20px 16px;
  text-align: center; transition: transform .2s, box-shadow .2s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(42,122,111,.12); border-color: var(--c-teal-l); }
.why-icon { font-size: 32px; margin-bottom: 10px; }
.why-icon svg { width: 34px; height: 34px; color: var(--c-primary); }
.why-card h3 { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; color: var(--c-text); margin-bottom: 6px; }
.why-card p { font-size: 12px; color: var(--c-text-muted); line-height: 1.6; }
.why-mobile-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 4px;
  scrollbar-width: none;
}
.why-mobile-slider::-webkit-scrollbar { display: none; }
.why-m-icon {
  min-width: 86px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 14px 8px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.why-m-icon svg { width: 28px; height: 28px; color: var(--c-primary); margin: 0 auto 6px; display: block; }
.why-m-icon span { font-size: 11px; font-weight: 600; color: var(--c-text-2); }
.why-modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 450; display: none; align-items: flex-end; justify-content: center; padding: 10px; }
.why-modal.open { display: flex; }
.why-modal-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 16px 16px;
  box-shadow: var(--shadow-lg);
  animation: whyUp .2s ease;
  position: relative;
}
.why-modal-card h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 8px; color: var(--c-text); }
.why-modal-card p { font-size: 13px; color: var(--c-text-2); line-height: 1.7; }
.why-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 24px;
  color: var(--c-text-muted);
  line-height: 1;
}
@keyframes whyUp { from { transform: translateY(20px); opacity: .6; } to { transform: none; opacity: 1; } }

/* ══════════════════════════════════════════════════════════
   ARTISAN SECTION
   ══════════════════════════════════════════════════════════ */
.artisan-section {
  background: linear-gradient(135deg, #1A0E08, #3D1505);
  display: grid; grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 900px) { .artisan-section { grid-template-columns: 1fr 1fr; } }
.artisan-text { padding: 40px 28px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .artisan-text { padding: 56px 48px; } }
.artisan-heading { color: #FAF7F2; margin-bottom: 10px; }
.artisan-copy { color: rgba(250,247,242,.72) !important; max-width: 520px; }
.artisan-stats { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.artisan-stat { min-width: 88px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 12px; text-align: center; }
.artisan-stat-num { font-size: 24px; font-weight: 800; color: #E8C547; font-family: 'Poppins', sans-serif; line-height: 1; }
.artisan-stat-lbl { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 4px; }
.artisan-btn { display: inline-flex; margin-top: 18px; background: #FAF7F2; color: #8B4513; font-weight: 700; }

@media (max-width: 1023px) {
  .why-grid { display: none; }
  .artisan-imgs { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8px; padding: 0 12px 14px; }
  .ai-main { min-height: 160px; border-radius: 12px; }
}
.artisan-imgs { display: none; }
@media (min-width: 900px) {
  .artisan-imgs { display: flex; gap: 12px; padding: 24px; overflow: hidden; }
  .ai-main { flex: 2; border-radius: 16px; background-size: cover; background-position: center; }
  .ai-side { flex: 1; display: flex; flex-direction: column; gap: 12px; }
}

/* ══════════════════════════════════════════════════════════
   WISHLIST + CART PREMIUM REDESIGN
   ══════════════════════════════════════════════════════════ */
.wl-page,.cartx-page { padding-bottom: 92px; }
.wl-head,.cartx-head {
  display:flex; align-items:end; justify-content:space-between; gap:12px;
  padding: 14px 0 18px; margin-bottom: 10px; border-bottom:1px solid var(--c-border);
}
.wl-head h1,.cartx-head h1 { font-family: var(--font-head); font-size: clamp(22px,3vw,32px); }
.wl-head p,.cartx-head p { font-size: 12.5px; color: var(--c-text-muted); }

.wl-empty,.cartx-empty {
  text-align:center; padding:52px 18px; background:var(--c-surface);
  border:1px solid var(--c-border); border-radius: 18px;
}
.wl-empty-ic,.cartx-empty-ic { width:60px; height:60px; margin:0 auto 12px; color:var(--c-primary); }
.wl-empty-ic svg,.cartx-empty-ic svg { width:100%; height:100%; }
.wl-empty h2,.cartx-empty h2 { font-family: var(--font-head); font-size: 22px; margin-bottom: 6px; }
.wl-empty p,.cartx-empty p { color: var(--c-text-muted); margin-bottom: 18px; }

.wl-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;
}
@media (min-width: 760px){ .wl-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; } }
@media (min-width: 1024px){ .wl-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width: 1280px){ .wl-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }

.wl-card { background: var(--c-surface); border:1px solid var(--c-border); border-radius:16px; overflow:hidden; position:relative; box-shadow:var(--shadow-sm); }
.wl-img { display:block; aspect-ratio:3/4; background: var(--c-bg); }
.wl-img img { width:100%; height:100%; object-fit:cover; }
.wl-badge {
  position:absolute; top:8px; left:8px; background:#7f1d1d; color:#fff;
  font-size:10px; font-weight:700; padding:3px 8px; border-radius:999px;
}
.wl-remove {
  position:absolute; top:8px; right:8px; width:32px; height:32px; border-radius:50%;
  background:rgba(255,255,255,.92); color:#dc2626; display:flex; align-items:center; justify-content:center;
}
.wl-remove svg { width:16px; height:16px; }
.wl-body { padding:10px; }
.wl-cat { font-size:10px; text-transform:uppercase; letter-spacing:.6px; color:var(--c-text-muted); font-weight:700; }
.wl-name {
  display:block; margin:4px 0 6px; font-weight:600; font-size:13px; color:var(--c-text);
  line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.wl-price { display:flex; align-items:baseline; gap:6px; margin-bottom:8px; }
.wl-price strong { font-size:15px; color:var(--c-primary); }
.wl-price span { font-size:12px; text-decoration:line-through; color:var(--c-text-muted); }
.wl-actions { display:flex; gap:8px; }
.wl-actions .btn { flex:1; padding:8px 10px; font-size:12px; border-radius:10px; }
.wl-foot-actions { text-align:center; margin-top:18px; }

.cartx-layout { display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width: 1024px) { .cartx-layout { grid-template-columns:minmax(0,1fr) 360px; gap:20px; } }
.cartx-list { display:flex; flex-direction:column; gap:10px; }
.cartx-item {
  background:var(--c-surface); border:1px solid var(--c-border); border-radius:14px;
  padding:10px; display:flex; gap:10px; align-items:flex-start;
  box-shadow: 0 8px 22px rgba(44,20,8,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cartx-item:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(44,20,8,.12); border-color: rgba(139,69,19,.28); }
.cartx-img { width:84px; height:98px; border-radius:10px; overflow:hidden; flex-shrink:0; background:var(--c-bg); }
.cartx-img img { width:100%; height:100%; object-fit:cover; }
.cartx-meta { flex:1; min-width:0; }
.cartx-name { display:block; font-weight:700; font-size:14px; line-height:1.35; color:var(--c-text); margin-bottom:3px; }
.cartx-variant { font-size:12px; color:var(--c-text-muted); margin-bottom:5px; }
.cartx-price { font-size:15px; font-weight:700; color:var(--c-primary); margin-bottom:8px; }
.cartx-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.cartx-actions .btn { border-radius:10px; }
.cartx-coupon {
  margin-top:14px; padding:14px; background:var(--c-surface);
  border:1px solid var(--c-border); border-radius:14px;
}
.cartx-coupon-form { display:flex; gap:8px; }
.cartx-summary {
  background:var(--c-surface); border:1px solid var(--c-border);
  border-radius:16px; padding:16px; position:sticky; top:calc(var(--header-h) + 12px); height:fit-content;
  box-shadow: 0 14px 32px rgba(44,20,8,.08);
}
.cartx-summary h3 { font-family:var(--font-head); font-size:18px; margin-bottom:12px; }
.cartx-totals { display:flex; flex-direction:column; gap:8px; }
.cartx-totals > div { display:flex; justify-content:space-between; align-items:center; font-size:13.5px; }
.cartx-total { margin-top:6px; padding-top:10px; border-top:1px dashed var(--c-border); font-size:16px !important; font-weight:700; }
.cartx-total strong { color:var(--c-primary); }
.cartx-shipping-note { margin:12px 0; background:var(--c-bg-alt); border-radius:12px; padding:10px 12px; font-size:12px; color:var(--c-text-muted); }
.cartx-continue { display:block; text-align:center; margin-top:10px; font-size:12.5px; color:var(--c-text-muted); }
@media (max-width: 767px) {
  .cartx-item { border-radius: 16px; padding: 11px; }
  .cartx-img { width: 96px; height: 112px; border-radius: 12px; }
  .cartx-name { font-size: 14.5px; }
}

/* Desktop quick drawer */
.quick-drawer { position: fixed; inset: 0; z-index: 430; pointer-events: none; }
.quick-drawer-overlay { position:absolute; inset:0; background:rgba(0,0,0,.35); opacity:0; transition:.2s; }
.quick-drawer-panel {
  position:absolute; top:0; right:-370px; width:min(340px,100%); height:100%;
  background:#fff; padding:10px; box-shadow:-8px 0 32px rgba(0,0,0,.15);
  transition:right .24s ease; overflow-y:auto;
}
.quick-drawer.open { pointer-events: auto; }
.quick-drawer.open .quick-drawer-overlay { opacity:1; }
.quick-drawer.open .quick-drawer-panel { right:0; }
.quick-drawer-close { position:absolute; top:8px; right:10px; font-size:28px; color:var(--c-text-muted); line-height:1; }
.quick-drawer-panel img { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:14px; margin-bottom:10px; }
.qd-meta { font-size:11px; color:var(--c-text-muted); text-transform:uppercase; letter-spacing:.7px; font-weight:700; }
.quick-drawer-panel h3 { font-family:var(--font-head); font-size:22px; line-height:1.25; margin:6px 0; }
.qd-price { display:flex; align-items:baseline; gap:8px; margin-bottom:8px; }
.qd-price strong { color:var(--c-primary); font-size:20px; }
.qd-price span { color:var(--c-text-muted); font-size:12px; text-decoration:line-through; }
.qd-stock { font-size:13px; color:var(--c-text-muted); margin-bottom:10px; }
.qd-actions { display:flex; flex-direction:column; gap:8px; }
@media (max-width:1023px){ .quick-drawer { display:none; } }

/* Hero overlap + mobile width tuning */
@media (min-width:1024px){
  .hero-slide { align-items: flex-start; padding-top: 54px; }
  .hero-content { max-width: 540px; }
  .hero-title { font-size: clamp(36px,4.6vw,58px); line-height: 1.02; margin-bottom: 10px; }
  .hero-desc { max-width: 520px; font-size: 14px; line-height: 1.55; margin-bottom: 14px; }
  .hero-btns { gap: 10px; }
  .hero-dots { bottom: 18px; z-index: 4; }
}
.mhs-track {
  gap: 10px;
  padding: 6px 26px 6px;
  scroll-padding: 0 26px;
}
.mhs-card {
  flex: 0 0 calc(100% - 52px);
  height: 142px;
}
