/* ===========================
   Gen Dimension — Global Styles
   =========================== */

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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── Core Palette ──────────────────────────── */
  --primary:      #1C1C1A;
  --primary-soft: #2c2c2a;
  --accent:       #C5913B;
  --accent-dark:  #A0793F;
  --accent-light: #F5ECD8;
  --accent-bright: #E4AE45;
  --accent-glow:  rgba(197,145,59,0.18);
  --accent-gradient: linear-gradient(135deg, #E4AE45 0%, #C5913B 50%, #A0793F 100%);

  /* ── Brand tones ───────────────────────────── */
  --cream:        #F5F0E8;
  --warm:         #FDFBF6;
  --dark:         #1C1C1A;
  --mid:          #5A5A56;

  /* ── Surfaces ──────────────────────────────── */
  --light:        #F5F0E8;
  --surface-1:    #ffffff;
  --surface-2:    #f0efe9;
  --surface-3:    #e8e6df;
  --white:        #ffffff;
  --text:         #1C1C1A;
  --text-soft:    #444440;
  --muted:        #7a7a72;
  --border:       rgba(28,28,26,0.09);
  --border-light: rgba(28,28,26,0.05);

  /* ── Shadows ───────────────────────────────── */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-accent: 0 8px 32px rgba(197,145,59,0.22);

  /* ── Radii ─────────────────────────────────── */
  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── Motion ────────────────────────────────── */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --duration:   0.25s;
  --duration-lg: 0.45s;

  /* ── Spacing scale ─────────────────────────── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 5rem;
  --space-12: 6rem;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

img, video, svg, iframe {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(197,145,59,0.25);
  color: var(--primary);
}

img { max-width: 100%; height: auto; display: block; }

/* ─── Navigation ────────────────────────────────────────────── */
header {
  background: rgba(20,20,18,0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--duration) var(--ease);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  padding-left: max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
  gap: 2rem;
}

.logo {
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-link {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 90px;
  width: auto;
  max-width: 260px;
  margin-left: -8px;
  display: block;
  object-fit: contain;
}
.hero-logo-mobile { display: none; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(197,145,59,0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ─── Hamburger ─────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--duration);
}

.hamburger:hover { background: rgba(255,255,255,0.07); }

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Mobile Nav ────────────────────────────────────────────── */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: max-height 0.38s var(--ease);
}

.mobile-nav.open { max-height: 360px; }

.mobile-nav ul { list-style: none; padding: 0.5rem 0 0.75rem; }

.mobile-nav ul li a {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  height: 50px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--duration), color var(--duration);
}

.mobile-nav ul li a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent);
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--primary);
  padding: 0.65rem 1.5rem;
  min-height: 44px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn:hover::after { transform: translateX(100%); }

.btn:active { transform: translateY(0); }

.btn-full {
  width: 100%;
  text-align: center;
  padding: 0.85rem;
  font-size: 0.95rem;
}

.btn-ghost {
  padding: 0.75rem 1.8rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
  background: transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--duration), color var(--duration), background var(--duration);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(197,145,59,0.06);
}

.btn-outline {
  background: none;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.2rem;
  min-height: 44px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background var(--duration), color var(--duration), transform var(--duration);
  flex-shrink: 0;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  min-height: 36px;
  border-radius: var(--radius-sm);
}

/* ─── Focus rings ────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

.hero-content {
  flex: 0 0 58%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem clamp(1.5rem, 5vw, 5rem);
  position: relative;
  z-index: 2;
  background: var(--primary);
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.3s var(--ease) forwards;
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.6rem;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: wordRise 0.7s var(--ease) forwards;
}

@keyframes wordRise {
  to { opacity: 1; transform: none; }
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 1s var(--ease) forwards;
}

.hero-panel {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
}

.hero-panel-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #1a1a18 0%, #2e261e 100%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}

.hero-panel-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  animation: kenBurns 14s var(--ease-out) infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1);    }
  to   { transform: scale(1.07) translate(-1%, -1%); }
}

.hero-panel-caption {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-panel-caption .panel-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.hero-panel-caption .panel-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Products ──────────────────────────────────────────────── */
#products { position: relative; }

.products {
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.products h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* ── Product Card ─────────────────────────────────────────────── */
.product-card {
  background: var(--surface-1);
  border: 0.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.product-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.11);
  transform: translateY(-5px);
}

/* Image */
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f0efe9;
  flex-shrink: 0;
}
.product-card-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0.5rem;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.03); }

/* Hover overlay — slides up from bottom */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,18,0.72) 0%, rgba(20,20,18,0.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.product-card:hover .product-card-overlay { opacity: 1; }

/* Quick view button */
.btn-quick-view {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  color: var(--primary);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.2s;
}
.product-card:hover .btn-quick-view { transform: none; opacity: 1; }
.btn-quick-view:hover { background: #fff; }

/* Card body */
.product-card .card-body {
  padding: 1.1rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

/* Category label */
.card-category-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Product name */
.product-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.25;
  margin: 0;
}

/* Short description */
.card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0.1rem 0 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer: price + button */
.card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 0.5px solid var(--border);
}
.product-card .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

/* Add to Cart button */
.btn-add-cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  background: var(--primary);
  color: var(--accent);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-add-cart:hover { background: #333; }
.btn-add-cart:active { transform: scale(0.98); }

/* Sold Out state */
.btn-sold-out {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: #e5e5e5;
  color: #999;
  border: none;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: not-allowed;
  white-space: nowrap;
}

.sold-out-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(28,28,26,0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  pointer-events: none;
}

.product-card.is-sold-out .product-card-img-wrap img {
  filter: grayscale(60%) opacity(0.75);
}

/* ── Ad Placements ────────────────────────────────────────────── */

.ad-container {
  width: 100%;
  background: var(--cream);
  padding: 0.6rem 0;
  text-align: center;
  border-top: 0.5px solid rgba(28,28,26,0.09);
  border-bottom: 0.5px solid rgba(28,28,26,0.09);
  margin: 1.5rem 0;
  min-height: 100px;
}

.ad-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.ad-leaderboard { min-height: 90px; }

.ad-in-content {
  grid-column: 1 / -1;
  min-height: 250px;
  padding: 1rem;
  margin: 0.5rem 0;
}

.ad-footer-banner {
  min-height: 90px;
  background: #2A2A28;
  border-color: rgba(255,255,255,0.05);
  margin: 0;
}

.ad-footer-banner .ad-label { color: rgba(255,255,255,0.35); }

/* Sticky Sidebar Ad */
.ad-sidebar-sticky {
  display: none;
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  z-index: 90;
  background: var(--warm);
  border: 0.5px solid rgba(28,28,26,0.09);
  padding: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.ad-sidebar-sticky.visible { display: block; }

.ad-sidebar-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  .ad-sidebar-sticky { display: none !important; }
}

/* Mobile Interstitial Ad */
.ad-interstitial {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,28,26,0.7);
  z-index: 400;
  align-items: center;
  justify-content: center;
}

.ad-interstitial.visible { display: flex; }

.ad-interstitial-inner {
  background: var(--warm);
  width: 90%;
  max-width: 360px;
  padding: 1.5rem;
  position: relative;
  min-height: 300px;
  border-radius: 8px;
}

.ad-interstitial-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 12px;
  letter-spacing: 0.05em;
  background: var(--cream);
  border: 0.5px solid rgba(28,28,26,0.09);
  color: var(--mid);
  cursor: pointer;
  padding: 4px 10px;
  font-family: inherit;
  border-radius: 4px;
}

@media (min-width: 769px) {
  .ad-interstitial { display: none !important; }
}

/* Filter buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-bar button,
.filter-bar .filter-btn {
  min-height: 40px;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--surface-1);
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  letter-spacing: 0.02em;
  touch-action: manipulation;
}

.filter-bar button:hover,
.filter-bar .filter-btn:hover,
.filter-bar button.active,
.filter-bar .filter-btn.active {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ─── Section decorative elements ───────────────────────────── */
.section-num-bg {
  position: absolute;
  top: -0.3em;
  left: -0.05em;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(197,145,59,0.15);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ─── Scroll animations ──────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

[data-animate="fade-up"]    { transform: translateY(36px); }
[data-animate="fade-left"]  { transform: translateX(-36px); }
[data-animate="fade-right"] { transform: translateX(36px); }
[data-animate="scale-in"]   { transform: scale(0.93); }
[data-animate="reveal"]     { clip-path: inset(0 100% 0 0); opacity: 1; transition: clip-path 0.95s var(--ease); }

[data-animate].is-visible              { opacity: 1; transform: none; }
[data-animate="reveal"].is-visible     { clip-path: inset(0 0% 0 0); }

/* ─── About sections ─────────────────────────────────────────── */
.about {
  background-color: var(--surface-1);
  padding: 5rem 2rem;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-hero {
  padding: 7rem 2rem;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.about-hero h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.2rem;
}

.about-hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
}

.about-rule {
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  margin: 1.4rem auto 0;
  transition: width 1.2s var(--ease);
}

.about-rule.is-visible { width: 80px; }

/* About — Story */
.about-story {
  padding: 6rem 2rem;
  background: var(--light);
}

.about-story-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-story-text h2,
.about-story-text h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.about-underline-phrase {
  position: relative;
  display: inline;
}

.about-underline-phrase::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 1s 0.3s var(--ease);
}

.about-underline-phrase.underline-active::after { width: 100%; }

.about-story-text p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.about-story-image { position: relative; }

.about-story-image-inner {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #ece5d8, #d8cfc0);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-placeholder {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  color: rgba(44,44,44,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About — Mission */
.about-mission {
  padding: 6rem 2rem;
  background: var(--surface-1);
}

.about-mission-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about-mission h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.about-mission p,
.about-mission-sub {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

.about-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  margin: 0 0 1.4rem;
  letter-spacing: -0.01em;
}

/* About — Stats */
.about-stats {
  padding: 5rem 2rem;
  background: var(--primary);
}

.about-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num,
.about-stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-label,
.about-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.5rem;
  display: block;
}

/* About — Team */
.about-team {
  padding: 6rem 2rem;
  background: var(--light);
}

.about-team-inner { max-width: 1100px; margin: 0 auto; }

.about-team h2,
.about-team h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-team > .about-team-inner > p {
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: transform var(--duration-lg) var(--ease),
              box-shadow var(--duration-lg) var(--ease);
}

.team-card-top-border {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.45s var(--ease);
}

.team-card:hover .team-card-top-border { width: 100%; }

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(197,145,59,0.3);
}

.team-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* About — Values */
.about-values {
  padding: 6rem 2rem;
  background: var(--surface-1);
}

.about-values-inner { max-width: 1100px; margin: 0 auto; }

.about-values h2,
.about-values h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-values > .about-values-inner > p {
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.75rem;
}

.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.value-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(197,145,59,0.1);
  transform: translateY(-3px);
}

.value-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(197,145,59,0.12);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
  transition: color var(--duration);
}

.value-card:hover .value-num { color: rgba(197,145,59,0.24); }

.value-icon { font-size: 1.6rem; margin-bottom: 0.85rem; }

.value-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonials {
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonials-grid > * {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--duration-lg) var(--ease),
              box-shadow var(--duration-lg) var(--ease);
}

.testimonials-grid > *:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ─── Contact ───────────────────────────────────────────────── */
.contact {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-col #contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-reply-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.contact-reply-note a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
}

.contact-reply-note a:hover { text-decoration: underline; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-detail-item svg { margin-top: 2px; flex-shrink: 0; }

.contact-detail-item div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-detail-item strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 600;
}

.contact-detail-item span,
.contact-detail-item a {
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
}

.contact-detail-item a:hover { color: var(--accent-dark); }

.contact-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ─── Form inputs (global) ───────────────────────────────────── */
input, textarea, select {
  font-family: inherit;
  font-size: 0.93rem;
}

/* Shared input standard — applied to all site forms */
#contact-form input,
#contact-form textarea,
#contact-form select,
#order-form input,
#order-form textarea,
#order-form select,
#add-product-form input,
#add-product-form textarea,
#add-product-form select {
  padding: 0.8rem 1rem;
  min-height: 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus,
#order-form input:focus,
#order-form textarea:focus,
#order-form select:focus,
#add-product-form input:focus,
#add-product-form textarea:focus,
#add-product-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197,145,59,0.12);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder,
#order-form input::placeholder,
#order-form textarea::placeholder,
#add-product-form input::placeholder,
#add-product-form textarea::placeholder {
  color: var(--muted);
  font-size: 0.88rem;
}

#contact-form textarea { min-height: 130px; resize: vertical; }
#order-form textarea   { resize: vertical; min-height: 70px; }
#add-product-form textarea { resize: vertical; }

/* ─── Newsletter ─────────────────────────────────────────────── */
.newsletter {
  padding: 5.5rem 2rem;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(197,145,59,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.newsletter-left  { flex: 1; min-width: 0; }
.newsletter-right { flex: 0 0 420px; }

.newsletter h2,
.newsletter-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.newsletter p,
.newsletter-sub {
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  font-size: 0.93rem;
  line-height: 1.7;
}

.newsletter-privacy {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--duration), background var(--duration);
  min-height: 46px;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.38); }

.newsletter-form input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

.newsletter-btn {
  padding: 0.85rem 1.6rem;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, transform var(--duration) var(--ease);
}

.newsletter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ease);
  z-index: 0;
}

.newsletter-btn:hover::before { transform: scaleX(1); }
.newsletter-btn:hover { color: var(--accent); transform: translateY(-1px); }
.newsletter-btn span  { position: relative; z-index: 1; }

#newsletter-success {
  display: none;
  margin-top: 1rem;
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 500;
}


/* ─── Footer ─────────────────────────────────────────────────── */
.footer-main {
  background-color: #151513;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 26px 26px;
  color: rgba(255,255,255,0.55);
  padding: 5rem 2rem 2rem;
  position: relative;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-logo {
  font-size: 1.95rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  line-height: 1;
}

.footer-logo-gen { color: rgba(255,255,255,0.82); }
.footer-logo-dim { color: var(--accent); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.68;
  margin-bottom: 0.35rem;
}

.footer-delivery-note {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.6rem;
}

.footer-tagline-rule {
  display: block;
  margin-bottom: 1.4rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: background var(--duration) var(--ease),
              border-color var(--duration),
              color var(--duration),
              transform 0.3s var(--ease);
}

.social-icon:hover {
  background: rgba(197,145,59,0.14);
  border-color: rgba(197,145,59,0.4);
  color: var(--accent);
  transform: translateY(-3px);
}

.footer-col-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.25rem;
}

.footer-col-title-text { pointer-events: none; }

.footer-accordion-btn {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 0;
  transition: transform 0.3s var(--ease);
}

.footer-accordion-btn.open { transform: rotate(180deg); }

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.footer-links a {
  color: rgba(255,255,255,0.46);
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: color var(--duration), gap var(--duration);
}

.footer-links a::before {
  content: "→";
  font-size: 0.78rem;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity var(--duration), width var(--duration);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.85);
  gap: 0.4rem;
}

.footer-links a:hover::before {
  opacity: 1;
  width: 1em;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(255,255,255,0.46);
  line-height: 1.55;
}

.footer-contact-list a {
  color: rgba(255,255,255,0.46);
  text-decoration: none;
  transition: color var(--duration);
}

.footer-contact-list a:hover { color: var(--accent); }

.footer-icon { flex-shrink: 0; margin-top: 2px; }
.footer-icon-wa { margin-top: 2px; }
.footer-hours-item { align-items: flex-start; }

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-hours span { font-size: 0.8rem; color: rgba(255,255,255,0.38); }

.footer-divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 0.5px;
  background: rgba(255,255,255,0.08);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.28);
}

.footer-bottom-center { text-align: center; }

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.28);
}

.footer-legal-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.28);
  font-size: 0.73rem;
  cursor: pointer;
  padding: 0;
  transition: color var(--duration);
  font-family: inherit;
}

.footer-legal-btn:hover { color: var(--accent); }

/* Legal modal */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.legal-modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 2.75rem;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.legal-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration), transform var(--duration);
  color: var(--primary);
}

.legal-modal-close:hover {
  background: var(--surface-3);
  transform: rotate(90deg);
}

#legal-modal-title {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

#legal-modal-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

#legal-modal-body p { margin-bottom: 0.9rem; }

/* ─── Admin Section Header ───────────────────────────────────── */
.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-section-header h2 { margin-bottom: 0; }

/* ─── Status Badge ───────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-new        { background: var(--accent); color: var(--primary); }
.status-processing { background: #2563eb; }
.status-done       { background: #16a34a; }
.status-cancelled  { background: var(--muted); }

/* ─── Payment Status Badges ──────────────────────────────────── */
.pay-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.pay-paid    { background: #dcfce7; color: #166534; }
.pay-pending { background: #fef9c3; color: #854d0e; }
.pay-unpaid  { background: #fee2e2; color: #991b1b; }

/* ─── WhatsApp Floating Button ───────────────────────────────── */
@keyframes wa-pulse {
  0%,  100% { box-shadow: 0 4px 18px rgba(37,211,102,0.4); }
  50%        { box-shadow: 0 4px 30px rgba(37,211,102,0.65); }
}

.wa-btn {
  position: fixed;
  bottom: max(26px, env(safe-area-inset-bottom));
  right: max(26px, env(safe-area-inset-right));
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  text-decoration: none;
  animation: wa-pulse 2.8s var(--ease) infinite;
  transition: background var(--duration), transform var(--duration) var(--ease);
}

.wa-btn:hover {
  background: #1DA851;
  transform: scale(1.08);
  animation: none;
}

.wa-icon { width: 28px; height: 28px; fill: #ffffff; flex-shrink: 0; }

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration);
}

.wa-btn:hover .wa-tooltip { opacity: 1; }

/* ─── Progress bar ───────────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ─── Custom cursor ──────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor { cursor: none; }
  body.has-cursor a,
  body.has-cursor button { cursor: none; }
}

#cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

#cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(197,145,59,0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.38s var(--ease), height 0.38s var(--ease), opacity 0.38s;
  opacity: 0.6;
}

#cursor-ring.cursor-expand {
  width: 54px;
  height: 54px;
  opacity: 0.35;
}

@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ─── Back to top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  border: 1.5px solid rgba(197,145,59,0.4);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease),
              background var(--duration), box-shadow var(--duration);
  z-index: 500;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-accent);
}

/* ─── Cookie consent ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: rgba(22,22,20,0.96);
  backdrop-filter: blur(16px);
  color: rgba(255,255,255,0.82);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197,145,59,0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 540px;
  width: 90%;
  z-index: 8000;
  animation: cookieSlide 0.5s 1.8s var(--ease) forwards;
  font-size: 0.86rem;
  box-shadow: var(--shadow-xl);
}

.cookie-banner p { flex: 1; line-height: 1.6; }

.cookie-banner .btn-sm { white-space: nowrap; padding: 0.45rem 1rem; font-size: 0.8rem; }

@keyframes cookieSlide {
  to { transform: translateX(-50%) translateY(0); }
}

/* ─── Order Modal ────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal h2 {
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--surface-2);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  min-width: 36px;
  min-height: 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration), color var(--duration), transform var(--duration);
}

.modal-close:hover {
  background: var(--surface-3);
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
}

.modal-product-info span:last-child { color: var(--accent-dark); }

#order-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

#order-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.modal-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-light);
  font-size: 1rem;
}

.modal-total-row strong { font-size: 1.2rem; color: var(--accent-dark); }

/* ─── Modal Steps ────────────────────────────────────────────── */
.modal-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.75rem;
}

.modal-step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration), color var(--duration);
  border: 1.5px solid var(--border);
}

.step-label {
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--duration);
}

.modal-step.active .step-num {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(197,145,59,0.15);
}

.modal-step.active .step-label { color: var(--primary); font-weight: 700; }

.step-connector {
  flex: 1;
  height: 1.5px;
  background: var(--border);
  margin: 0 0.75rem;
}

/* ─── Order Summary Box (modal step 1) ──────────────────────── */
.order-summary-box {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.order-summary-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.22rem 0;
  color: var(--text-soft);
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 0.55rem;
  margin-top: 0.45rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
}

.order-summary-total strong { color: var(--accent-dark); }

/* ─── Step 2: Order Summary ──────────────────────────────────── */
.step-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 1.4rem 0 0.65rem;
}

.order-summary {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.28rem 0;
}

.fee-note {
  font-size: 11px;
  color: #aaa;
  font-style: italic;
  margin-top: 0.4rem;
  text-align: right;
}

.summary-divider {
  border-top: 1px solid var(--border);
  margin: 0.55rem 0;
}

.summary-total-row { font-size: 1rem; font-weight: 600; }
.summary-total-row strong { color: var(--accent-dark); font-size: 1.1rem; }

/* ─── Step 2: Payment Method Cards ──────────────────────────── */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.payment-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color var(--duration), background var(--duration), transform var(--duration);
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
}

.payment-card:hover {
  border-color: rgba(197,145,59,0.5);
  background: rgba(197,145,59,0.03);
  transform: translateX(2px);
}

.payment-card.selected {
  border-color: var(--accent);
  background: rgba(197,145,59,0.05);
}

.payment-card.selected .pm-check { opacity: 1; }

.pm-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.55rem;
}

.pm-left { display: flex; align-items: center; gap: 0.75rem; }

.pm-icons { display: flex; gap: 0.4rem; flex-shrink: 0; }

.pm-icons svg { width: 22px; height: 22px; color: var(--muted); }

.pm-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.1rem;
  font-weight: 600;
}

.pm-info span { font-size: 0.78rem; color: var(--muted); }

.pm-check {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration);
}

/* ─── Province / Delivery ────────────────────────────────────── */
.courier-info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #F5ECD8;
  border-left: 3px solid #C5913B;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 0.5rem 0 0.25rem;
  font-size: 0.85rem;
  color: #5a3e28;
  line-height: 1.55;
}
.courier-info-box p { margin: 0; }


.cart-delivery-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.2rem 0;
}

.confirm-breakdown {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 0.5rem auto 0;
  max-width: 320px;
  text-align: left;
  font-size: 0.9rem;
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  color: var(--text-soft);
}
.confirm-total { font-size: 1rem; font-weight: 600; color: var(--text); }
.confirm-divider {
  border-top: 1px solid var(--border);
  margin: 0.4rem 0;
}
.confirm-courier {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  text-align: center;
}

/* ─── Step 2: Actions ────────────────────────────────────────── */
.terms-agree {
  margin: 0.75rem 0 0.25rem;
}
.terms-agree-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-soft);
  cursor: pointer;
}
.terms-agree-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.terms-agree-label a {
  color: var(--accent-dark);
  text-decoration: underline;
}
.terms-agree-label a:hover { color: var(--accent); }

.payment-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ─── Order Success Banner ───────────────────────────────────── */
.order-success-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197,145,59,0.2);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  z-index: 300;
  white-space: nowrap;
}

.order-success-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Payment Banners ────────────────────────────────────────── */
.payment-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  z-index: 90;
}

.payment-banner--success {
  background: #f0fdf4;
  border-bottom: 2px solid #16a34a;
  color: #14532d;
}

.payment-banner--cancel {
  background: #fffbeb;
  border-bottom: 2px solid #d97706;
  color: #78350f;
}

.payment-banner a { color: inherit; font-weight: 700; text-decoration: underline; }

.payment-banner-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.55;
  line-height: 1;
  padding: 0 0.25rem;
  flex-shrink: 0;
  transition: opacity var(--duration);
}

.payment-banner-close:hover { opacity: 1; }

/* ─── Product Image Upload (admin) ──────────────────────────── */
.product-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.product-img-card {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  transition: box-shadow var(--duration), border-color var(--duration);
}

.product-img-card:hover {
  border-color: rgba(197,145,59,0.35);
  box-shadow: var(--shadow-sm);
}

.product-img-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  background: var(--surface-3);
}

.product-img-card-body { padding: 0.85rem; }

.product-img-card-body strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-soft);
}

.product-img-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.btn-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  min-height: 34px;
  transition: background var(--duration);
}

.btn-upload:hover { background: var(--primary-soft); }

.btn-remove-img {
  background: none;
  border: 1.5px solid var(--border);
  color: #dc2626;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  min-height: 34px;
  transition: background var(--duration), border-color var(--duration);
}

.btn-remove-img:hover { background: #fef2f2; border-color: #dc2626; }

.img-size-warning {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.4rem;
  display: none;
}

/* ─── Admin (legacy) ─────────────────────────────────────────── */
.admin-body { background-color: var(--surface-2); }

.admin-main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.admin-main h1 { margin-bottom: 2rem; letter-spacing: -0.02em; }

.admin-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.admin-section h2 { margin-bottom: 1rem; letter-spacing: -0.01em; }

#add-product-form { display: flex; flex-direction: column; gap: 0.85rem; }

/* Orders table */
#orders-table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }

#orders-table-container table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

#orders-table-container th,
#orders-table-container td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

#orders-table-container th {
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#orders-table-container tr:hover td { background: var(--surface-2); }

/* ─── Cart Button (nav) ──────────────────────────────────────── */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  transition: background var(--duration);
}

.cart-btn:hover { background: rgba(255,255,255,0.09); }

.cart-icon-svg { width: 22px; height: 22px; color: var(--white); flex-shrink: 0; }

.cart-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 17px;
  height: 17px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(20,20,18,0.9);
}

/* ─── Cart Overlay ───────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.cart-overlay.visible { opacity: 1; pointer-events: auto; }

/* ─── Cart Sidebar ───────────────────────────────────────────── */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 310;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  box-shadow: -8px 0 40px rgba(0,0,0,0.14);
}

.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-sidebar-header h2 { font-size: 1.05rem; font-weight: 700; margin: 0; }

.cart-close {
  background: var(--surface-2);
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--duration), color var(--duration), transform var(--duration);
}

.cart-close:hover {
  background: var(--surface-3);
  color: var(--primary);
  transform: rotate(90deg);
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.93rem;
}

/* ─── Cart Item ──────────────────────────────────────────────── */
.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-sub  { font-size: 0.76rem; color: var(--muted); }

.cart-item-price {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-top: 0.2rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration), border-color var(--duration);
  flex-shrink: 0;
}

.qty-btn:hover { background: var(--surface-3); border-color: rgba(0,0,0,0.16); }

.cart-item-qty {
  min-width: 22px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  color: #ccc;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration), background var(--duration);
  flex-shrink: 0;
}

.cart-item-remove:hover { color: #dc2626; background: #fef2f2; }

/* ─── Cart Footer ────────────────────────────────────────────── */
.cart-sidebar-footer {
  padding: 1.1rem 1.5rem 1.6rem;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.93rem;
}

.cart-totals strong { font-size: 1.1rem; color: var(--accent-dark); font-weight: 700; }

/* ─── Cart Toast ─────────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197,145,59,0.15);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  z-index: 400;
  white-space: nowrap;
  pointer-events: none;
}

.cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Modal Cart Summary (step 1) ────────────────────────────── */
.modal-cart-summary {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.3rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
}

/* ─── Multi-item cell (admin table) ─────────────────────────── */
.multi-items { font-size: 0.83rem; }

.item-count-badge {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.3rem;
}

.multi-item-row { color: var(--muted); line-height: 1.65; }

/* ─── Quick View modal ───────────────────────────────────────── */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.qv-overlay.active { opacity: 1; pointer-events: auto; }

.qv-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.93);
  transition: transform 0.38s var(--ease);
  box-shadow: var(--shadow-xl);
}

.qv-overlay.active .qv-modal { transform: scale(1); }

.qv-close {
  position: sticky;
  top: 0.75rem;
  float: right;
  margin: 0.75rem 0.75rem 0 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--duration), transform var(--duration);
  color: var(--primary);
}

.qv-close:hover { background: var(--surface-3); transform: rotate(90deg); }

.qv-body {
  display: grid;
  grid-template-columns: 55% 1fr;
  min-height: 420px;
  clear: both;
}

.qv-image-col {
  display: flex;
  flex-direction: column;
}

.qv-image-block {
  background: linear-gradient(135deg, #ece5d8, #d8cfc0);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  overflow: hidden;
  min-height: 380px;
  flex: 1;
}

.qv-image-block img { width: 100%; height: 100%; object-fit: cover; }

.qv-info-col {
  padding: 2rem 2rem 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.qv-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.qv-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.12;
}

.qv-rating-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.qv-price { font-size: 1.55rem; font-weight: 700; color: var(--primary); }
.qv-price span { color: var(--accent-dark); }


.qv-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 0.2rem 0;
}

.qv-specs { list-style: none; }

.qv-specs li,
.qv-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.qv-specs li span:first-child,
.qv-spec-row > span:first-child { color: var(--muted); }

.qv-swatch-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.qv-swatches { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.qv-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--duration) var(--ease), border-color var(--duration);
  outline: none;
}

.qv-swatch:hover,
.qv-swatch.active { border-color: var(--accent); transform: scale(1.15); }

.qv-qty-row { display: flex; align-items: center; gap: 0.6rem; }

.qv-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qv-qty-row label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.qv-qty-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration), background var(--duration);
  color: var(--primary);
}

.qv-qty-btn:hover { border-color: var(--accent); background: var(--accent-glow); }

#qv-qty-display,
#qv-qty-val {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--primary);
}

.qv-actions { display: flex; gap: 0.75rem; margin-top: auto; }

.qv-btn-cart {
  flex: 1;
  padding: 0.85rem;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration), color var(--duration), transform var(--duration);
}

.qv-btn-cart:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
}

.qv-btn-wish,
.qv-wishlist-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration), background var(--duration);
  color: var(--primary);
  font-family: inherit;
  white-space: nowrap;
}

.qv-btn-wish:hover,
.qv-wishlist-btn:hover { border-color: var(--accent); background: var(--accent-glow); }

#qv-reviews {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* ─── Reviews ────────────────────────────────────────────────── */
.reviews-section { font-size: 0.88rem; }

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reviews-avg { display: flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; color: var(--muted); }
.reviews-avg strong { color: var(--primary); font-size: 0.95rem; }

.stars-row { display: inline-flex; gap: 2px; vertical-align: middle; }
.reviews-count { font-size: 0.8rem; color: var(--muted); }

.btn-write-review {
  padding: 0.38rem 0.9rem;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration), color var(--duration);
}

.btn-write-review:hover { background: var(--accent); color: var(--primary); }

.write-review-wrap { margin-bottom: 1rem; overflow: hidden; }

.write-review-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.star-picker { display: flex; gap: 0.25rem; }

.star-pick-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  line-height: 0;
  transition: transform 0.15s var(--ease);
}

.star-pick-btn:hover { transform: scale(1.3); }

.rv-input {
  padding: 0.8rem 1rem;
  min-height: 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.93rem;
  background: var(--surface-1);
  color: var(--text);
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: border-color var(--duration), box-shadow var(--duration);
}

.rv-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197,145,59,0.12);
}

.reviews-list { display: flex; flex-direction: column; gap: 0.9rem; }

.review-item { border-bottom: 1px solid var(--border-light); padding-bottom: 0.9rem; }

.review-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.review-name  { font-weight: 700; color: var(--primary); font-size: 0.86rem; }
.review-date  { font-size: 0.76rem; color: var(--muted); margin-left: auto; }
.review-text  { color: var(--muted); font-size: 0.86rem; line-height: 1.65; }

.btn-load-more {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.55rem;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--duration), color var(--duration);
}

.btn-load-more:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ─── Services Section ───────────────────────────────────────── */
.services-section {
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.services-section > h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.services-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-lg) var(--ease),
              box-shadow var(--duration-lg) var(--ease),
              border-color var(--duration) var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  transition: width 0.45s var(--ease);
}

.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(197,145,59,0.25); }
.service-card:hover::before { width: 100%; }

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-dark);
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.service-card > p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(197,145,59,0.08);
  border: 1px solid rgba(197,145,59,0.2);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.7rem;
  letter-spacing: 0.02em;
}

/* ─── Google Font helper classes ─────────────────────────────── */
.cg        { font-family: 'Cormorant Garamond', Georgia, serif; }
.cg-italic { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* ── ≤ 900px ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { flex-direction: column; min-height: auto; }
  .hero-content { flex: none; padding: 4rem 2rem; }
  .hero-panel { flex: none; height: 320px; }

  .about-story-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .team-grid--two    { grid-template-columns: repeat(2, 1fr); }
  .values-grid       { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }

  .qv-body         { grid-template-columns: 1fr; }
  .qv-image-block  { border-radius: var(--radius-xl) var(--radius-xl) 0 0; min-height: 260px; }
}

/* ── Tablet: ≤ 768px ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav {
    padding: 0.5rem 1.25rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-top: max(0.5rem, env(safe-area-inset-top));
  }
  .nav-logo-img { height: 72px; max-width: 210px; }

  .newsletter-inner  { flex-direction: column; gap: 2.5rem; }
  .newsletter-right  { flex: none; width: 100%; }
  .newsletter-left,
  .newsletter-right  { text-align: center; }

  .hero { padding: 0; }
  .hero-logo-mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: auto; }

  .products, .about, .about-story, .about-mission, .about-team,
  .about-values, .testimonials, .contact { padding: 3rem 1.25rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  .about-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-image { order: 1; }
  .about-text  { order: 0; }

  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .newsletter-form { flex-direction: column; }
  .newsletter-btn  { width: 100%; }

  .team-grid--two { grid-template-columns: 1fr; max-width: 480px; }
  .values-grid    { grid-template-columns: 1fr; }

  .filter-bar button { padding: 0.38rem 0.9rem; font-size: 0.82rem; }

  /* Modal */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    max-width: 100%;
    width: 100%;
    max-height: 95vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 1.75rem 1.25rem;
    overflow-y: auto;
  }

  .order-success-banner { white-space: normal; text-align: center; width: 90%; }

  /* Footer mobile accordion */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
  }

  .footer-brand {
    padding-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .footer-brand .footer-social { justify-content: center; }

  .footer-col:not(.footer-brand) {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0;
  }

  .footer-col-title {
    padding: 1rem 0;
    margin-bottom: 0;
    cursor: pointer;
  }

  .footer-accordion-btn { display: flex; }

  .footer-accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s var(--ease);
  }

  .footer-accordion-content.open {
    max-height: 400px;
    padding-bottom: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    align-items: center;
  }

  .footer-bottom-center { order: -1; }
  .footer-legal-links   { justify-content: center; }

  section { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Dashboard body */
  .dashboard-body { padding: 1.25rem; }

  #contact-form { padding: 1.75rem 1.25rem; }
}

/* ── Mobile: ≤ 480px (most Android & iPhone) ─────────────── */
@media (max-width: 480px) {
  .nav-logo-img { height: 62px; max-width: 180px; }
  .product-grid       { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .contact-row        { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }

  .hero-content { padding: 2.5rem 1.25rem; }
  .hero h1      { font-size: 2.2rem; }

  section { padding-left: 1rem; padding-right: 1rem; }
  .products, .about, .about-story, .about-mission, .about-team,
  .about-values, .testimonials, .contact { padding: 2.5rem 1rem; }

  .about-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .qv-info-col { padding: 1.5rem; }
  .qv-name     { font-size: 1.55rem; }

  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-banner .btn-sm { width: 100%; }

  .team-grid--two { grid-template-columns: 1fr; }
  .team-card      { padding: 2rem 1.5rem; }

  .cart-sidebar { width: 100vw; }

  .cart-toast {
    white-space: normal;
    text-align: center;
    width: 88%;
    bottom: 80px;
  }

  .wa-btn { width: 50px; height: 50px; bottom: max(80px, calc(64px + env(safe-area-inset-bottom))); right: max(16px, env(safe-area-inset-right)); }
  .wa-icon { width: 24px; height: 24px; }
  .wa-tooltip { display: none; }

  .back-to-top { bottom: max(90px, calc(72px + env(safe-area-inset-bottom))); right: max(16px, env(safe-area-inset-right)); }

  /* Prevent any child from overflowing the viewport */
  * { max-width: 100%; }
  table { max-width: 100%; }
  pre, code { white-space: pre-wrap; word-break: break-word; }

  /* Auth modal full-screen on small phones */
  .auth-modal { max-width: 100%; }
  .auth-brand { padding: 1rem 1.25rem; }
  .auth-tab-pane { padding: 1.25rem 1.25rem 1.5rem; }
  .auth-grid { grid-template-columns: 1fr; }

  /* Account page */
  .account-header { flex-wrap: wrap; gap: 1rem; }
  .acct-stats { grid-template-columns: 1fr 1fr; }
  .acct-tab { font-size: 11px; padding: 0.6rem 0.5rem; }

  /* Product cards single column — tighter padding */
  .product-card .card-body { padding: 0.9rem 1rem 1rem; }
  .card-footer { gap: 0.5rem; }
  .btn-add-cart { padding: 0.6rem 0.65rem; font-size: 10px; }

  /* Nav right area */
  .nav-register-btn { display: none; }
  #navAuthArea .nav-auth-btn { font-size: 11px; }

  /* Tables scroll horizontally */
  .table-wrap, .order-items-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ── Small phones: ≤ 375px (iPhone SE, 360px Android) ────── */
@media (max-width: 375px) {
  .nav-logo-img { height: 54px; max-width: 160px; }
  nav {
    padding: 0.4rem 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero h1 { font-size: 1.95rem; }
  .hero p  { font-size: 0.93rem; }
  .hero-content { padding: 2rem 1rem; }

  section { padding-left: 0.875rem; padding-right: 0.875rem; }
  .products, .about, .about-story, .about-mission, .about-team,
  .about-values, .testimonials, .contact { padding: 2rem 0.875rem; }

  .modal {
    padding: 1.25rem 1rem;
  }

  .cart-sidebar { width: 100vw; }

  .hero-logo-mobile img { height: 70px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   AUTH SYSTEM
═══════════════════════════════════════════════════════════════ */

/* ── Page system ────────────────────────────────────────────── */
.page { display: none; }

/* ── Auth modal ─────────────────────────────────────────────── */
.auth-modal {
  max-width: 480px;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

/* Brand header */
.auth-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.25rem 1.75rem;
  background: var(--primary);
}
.auth-brand-mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.auth-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .06em;
  line-height: 1.2;
}
.auth-brand-sub {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Tabs */
.auth-tabs { display: flex; }
.auth-tab-btn {
  flex: 1;
  padding: 1rem;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--surface-2);
  border: none;
  border-bottom: 2px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  transition: all .2s;
}
.auth-tab-btn.active {
  background: #fff;
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.auth-tab-btn:hover:not(.active) {
  background: var(--surface-1);
  color: var(--primary);
}

/* Panes */
.auth-tab-pane { display: none; padding: 1.75rem 1.75rem 2rem; }
.auth-tab-pane.active { display: block; }
.auth-header { margin-bottom: 1.4rem; }
.auth-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: .2rem;
  line-height: 1.2;
}
.auth-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Form layout */
.auth-form { display: grid; gap: .8rem; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

/* Field wrapper with icon */
.auth-field { position: relative; display: flex; align-items: center; }
.auth-field-icon {
  position: absolute;
  left: 13px;
  width: 14px;
  height: 14px;
  color: #b0b0a8;
  pointer-events: none;
  flex-shrink: 0;
  transition: color .2s;
}
.auth-field:focus-within .auth-field-icon { color: var(--accent); }
.auth-field input {
  width: 100%;
  padding: .8rem 2.75rem .8rem 2.5rem;
  border: 1.5px solid var(--border);
  background: var(--surface-1);
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.auth-field input::placeholder { color: var(--muted); font-size: 0.88rem; }
.auth-field input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(197,145,59,0.12);
}

/* Password show/hide toggle */
.auth-pw-toggle {
  position: absolute;
  right: 0;
  top: 0; bottom: 0;
  width: 40px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #c0c0b8;
  transition: color .2s;
  padding: 0;
}
.auth-pw-toggle:hover { color: var(--primary); }
.auth-pw-toggle svg { width: 14px; height: 14px; }

/* Password strength */
.pw-strength { display: none; align-items: center; gap: .6rem; margin-top: -.1rem; }
.pw-strength.visible { display: flex; }
.pw-strength-bar {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.pw-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  transition: width .3s ease, background .3s ease;
}
.pw-strength-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  min-width: 44px;
  text-align: right;
}

/* Row (remember + forgot) */
.auth-row { display: flex; align-items: center; justify-content: space-between; }
.auth-check {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: 12px;
  color: var(--text-soft);
  cursor: pointer;
  user-select: none;
}
.auth-check input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.auth-link {
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .15s;
}
.auth-link:hover { opacity: .7; }
.auth-switch { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }
.auth-msg {
  font-size: 12px;
  min-height: 0;
  padding: 0;
  display: none;
  line-height: 1.5;
}
.auth-msg.error   { display: block; background: #FCEBEB; color: #791F1F; padding: .55rem .85rem; }
.auth-msg.success { display: block; background: #EAF3DE; color: #27500A; padding: .55rem .85rem; }

/* ── btn-primary ────────────────────────────────────────────── */
.btn-primary {
  display: block;
  width: 100%;
  background: #C5913B;
  color: #FDFBF6;
  border: none;
  padding: 14px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .1s;
  text-align: center;
  text-decoration: none;
}
.btn-primary:hover:not(:disabled) { background: #A0793F; }
.btn-primary:active:not(:disabled) { transform: translateY(1px); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }

/* ── Nav auth area ──────────────────────────────────────────── */
#navAuthArea {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-auth-btn {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: color .2s;
  white-space: nowrap;
}
.nav-auth-btn:hover { color: var(--accent); }
.nav-register-btn {
  padding: 7px 16px !important;
  font-size: 11px !important;
}
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  transition: color .2s;
}
.nav-user-btn:hover { color: var(--accent); }
.nav-user-name { white-space: nowrap; }
.nav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F5ECD8;
  color: #C5913B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #C5913B;
  flex-shrink: 0;
}
.nav-user-menu { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface-1);
  border: 0.5px solid var(--border);
  min-width: 180px;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.nav-dropdown.open { display: block; }
.nav-dropdown a {
  display: block;
  padding: .8rem 1.2rem;
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.nav-dropdown a:hover { background: var(--surface-2); }
.nav-dropdown-divider {
  height: 0.5px;
  background: var(--border);
  margin: .3rem 0;
}
.nav-dropdown-logout { color: #A32D2D !important; }

/* ── Wishlist heart on product cards ────────────────────────── */
.wishlist-btn {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 32px;
  height: 32px;
  background: var(--surface-1);
  border: 0.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  z-index: 5;
}
.wishlist-btn:hover,
.wishlist-btn.wishlisted {
  background: var(--accent);
  border-color: var(--accent);
}
.wishlist-btn svg {
  width: 14px;
  height: 14px;
  transition: fill .2s, stroke .2s;
}
.wishlist-btn.wishlisted svg { fill: white; stroke: white; }
.wishlist-btn:hover svg { stroke: white; }

/* ═══════════════════════════════════════════════════════════════
   ACCOUNT PAGE
═══════════════════════════════════════════════════════════════ */

.account-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface-2);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #F5ECD8;
  color: #C5913B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  border: 1px solid #C5913B;
  flex-shrink: 0;
}
.account-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
}
.account-email { font-size: 13px; color: var(--muted); }
.account-since { font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: .04em; }
.account-tabs {
  display: flex;
  gap: 0;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.acct-tab {
  padding: .9rem 1.4rem;
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-family: 'DM Sans', 'Inter', sans-serif;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.acct-tab.active,
.acct-tab:hover { color: var(--primary); border-bottom-color: var(--accent); }
.acct-pane { display: none; }
.acct-pane.active { display: block; }

.acct-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.acct-stat-card {
  background: var(--surface-2);
  padding: 1.2rem;
  text-align: center;
}
.acct-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
}
.acct-stat-lbl {
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.acct-actions {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.acct-action-btn {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 0.5px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-family: 'DM Sans', 'Inter', sans-serif;
  transition: all .2s;
}
.acct-action-btn:hover {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}
.sec-tag {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}
.user-order-card {
  background: var(--surface-2);
  padding: 1.2rem 1.4rem;
  margin-bottom: 8px;
}
.uoc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: .6rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.uoc-id { font-family: monospace; font-size: 12px; color: var(--primary); font-weight: 600; }
.uoc-total { font-size: 15px; font-weight: 500; color: var(--primary); }
.uoc-items { display: flex; gap: .5rem; flex-wrap: wrap; }
.uoc-item {
  font-size: 11px;
  background: var(--surface-1);
  padding: 3px 9px;
  color: var(--text-soft);
  border: 0.5px solid var(--border);
}
.btn-outline-sm {
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 0.5px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-family: 'DM Sans', 'Inter', sans-serif;
  margin-left: auto;
  transition: all .2s;
  white-space: nowrap;
}
.btn-outline-sm:hover { border-color: var(--primary); color: var(--primary); }
.profile-form { display: grid; gap: 1rem; max-width: 560px; }

/* ── Wishlist grid in account ────────────────────────────────── */
.wish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.wish-card {
  background: var(--surface-2);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.wish-name { font-size: 14px; font-weight: 500; color: var(--primary); }
.wish-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.wish-price { font-size: 15px; font-weight: 600; color: var(--primary); }
.porder-btn {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 0.5px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-family: 'DM Sans', 'Inter', sans-serif;
  transition: all .2s;
  white-space: nowrap;
}
.porder-btn:hover { background: var(--primary); color: var(--accent); border-color: var(--primary); }
.porder-btn--remove { border-color: #e0b0b0; color: #A32D2D; }
.porder-btn--remove:hover { background: #A32D2D; color: #fff; border-color: #A32D2D; }

@media (max-width: 768px) {
  .auth-modal { max-width: 100%; border-radius: 0; }
  .auth-grid { grid-template-columns: 1fr; }
  .nav-register-btn { display: none; }
  .account-header { flex-wrap: wrap; }
  .acct-stats { grid-template-columns: 1fr 1fr; }
  .btn-outline-sm { margin-left: 0; width: 100%; }
  #navAuthArea { gap: .4rem; }
}
