/* ==========================================================================
   HARMONYGOODS.ID — MASTER DESIGN PRESERVATION STYLESHEET
   Directly derived from "Harmonygoods.id – Landing Page.html"
   Typography: Fraunces (Headings/Display), Outfit (Body/Controls)
   Palette: --bg (#fbfcf6), --surf (#fff), --ink (#241810), --mut (#6a6358),
            --line (#e3e8d3), --panel (#cfe1a4), --acc (#4d6e22), --accbg (#e8f1d2),
            --choc (#3a2418), --onchoc (#f6f1e7), --pist (#8fb04d)
   ========================================================================== */

:root {
  --bg: #fbfcf6;
  --surf: #fff;
  --ink: #241810;
  --mut: #6a6358;
  --line: #e3e8d3;
  --panel: #cfe1a4;
  --acc: #4d6e22;
  --accbg: #e8f1d2;
  --choc: #3a2418;
  --onchoc: #f6f1e7;
  --pist: #8fb04d;
  --cream: #f6f1e7;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --bg: #150f0a;
    --surf: #201710;
    --ink: #f6f1e7;
    --mut: #b3aa9a;
    --line: #33281d;
    --panel: #26331a;
    --acc: #b7d57d;
    --accbg: #2a3a1a;
    --choc: #0d0804;
    --onchoc: #f6f1e7;
    --pist: #b7d57d;
    --cream: #f6f1e7;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #150f0a;
  --surf: #201710;
  --ink: #f6f1e7;
  --mut: #b3aa9a;
  --line: #33281d;
  --panel: #26331a;
  --acc: #b7d57d;
  --accbg: #2a3a1a;
  --choc: #0d0804;
  --onchoc: #f6f1e7;
  --pist: #b7d57d;
  --cream: #f6f1e7;
  color-scheme: dark;
}

/* --- High-Contrast Dark Mode Enhancements --- */
:root[data-theme="dark"] .pn {
  background: var(--surf);
  border-color: var(--line);
}

:root[data-theme="dark"] .pn.d {
  background: #140d07;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

:root[data-theme="dark"] .btn:not(.alt) {
  background: var(--pist);
  color: #150f0a;
  font-weight: 700;
}

:root[data-theme="dark"] .btn.alt {
  color: var(--ink);
  border-color: var(--line);
}

:root[data-theme="dark"] .btn.alt:hover {
  border-color: var(--acc);
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea {
  background-color: #241a12 !important;
  color: var(--ink) !important;
  border-color: #3d2f23 !important;
}

:root[data-theme="dark"] select option {
  background-color: #241a12 !important;
  color: #f6f1e7 !important;
}

:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
  color: var(--mut) !important;
  opacity: 0.85;
}

:root[data-theme="dark"] .callout-box {
  background: rgba(183, 213, 125, 0.12) !important;
  border-color: rgba(183, 213, 125, 0.3) !important;
}

:root[data-theme="dark"] .callout-box strong,
:root[data-theme="dark"] .callout-box p,
:root[data-theme="dark"] .callout-box div {
  color: #f6f1e7 !important;
}

:root[data-theme="dark"] .stp .s b {
  background: #2a2016;
  color: var(--mut);
}

:root[data-theme="dark"] .stp .s b.active,
:root[data-theme="dark"] .stp .s b[style*="var(--acc)"],
:root[data-theme="dark"] .stp .s b[style*="var(--pist)"] {
  background: var(--acc) !important;
  color: #150f0a !important;
}

* { box-sizing: border-box; }

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 76px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(16px, 1vw + 12px, 19px)/1.6 Outfit, system-ui, sans-serif;
  transition: background .5s, color .5s;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--bg);
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.7rem, 9vw + .5rem, 6.6rem); }
h2 { font-size: clamp(2rem, 5vw + .4rem, 3.8rem); }
h3 { font-size: 1.4rem; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--acc);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

svg { max-width: 100%; }

/* ==========================================================================
   ORIGINAL HEADER & NAVIGATION
   ========================================================================== */
header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 1.2rem Fraunces, serif;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  min-height: 44px;
}

.brand svg { width: 38px; height: 38px; color: var(--ink); }

@media(max-width: 400px) {
  .brand span { display: none; }
}

nav { display: flex; gap: 2px; align-items: center; }

.nb {
  background: none;
  border: 0;
  color: var(--mut);
  font: 500 .95rem Outfit, sans-serif;
  padding: 10px 12px;
  border-radius: 99px;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nb:hover, .nb.on {
  color: var(--ink);
  background: var(--accbg);
}

.ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: 0 4px;
  transition: transform .5s;
  position: relative;
  text-decoration: none;
}

.ic:hover { transform: rotate(25deg); }
.ic svg { width: 20px; height: 20px; }

.sun { display: none; }
:root[data-theme="dark"] .sun { display: block; }
:root[data-theme="dark"] .moon { display: none; }

@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) .sun { display: block; }
  :root:not([data-theme="light"]) .moon { display: none; }
}

/* ==========================================================================
   ORIGINAL BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--choc);
  color: var(--onchoc);
  border: 0;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 26px;
  font: 700 1rem Outfit, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, border-radius .3s;
}

.btn:hover {
  transform: translateY(-3px) rotate(-1deg);
  border-radius: 4px 14px 14px 14px;
}

.btn.alt {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.sm {
  min-height: 44px;
  padding: 8px 18px;
}

@media(max-width: 560px) {
  .hide-s { display: none; }
}

:focus-visible {
  outline: 3px solid var(--pist);
  outline-offset: 3px;
}

/* ==========================================================================
   ORIGINAL HERO SECTION (.hp) WITH SCALLOPED BOTTOM & ANIMATED BOX
   ========================================================================== */
.hp {
  position: relative;
  background: var(--panel);
  transition: background .5s;
  margin-bottom: 34px;
  overflow: hidden;
}

.mk {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hp::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  height: 22px;
  background: radial-gradient(circle at 18px 0, var(--panel) 17px, transparent 18px) 0 0/36px 22px repeat-x;
}

.mark {
  position: absolute;
  right: -8%;
  top: -6%;
  width: min(70vw, 640px);
  color: var(--ink);
  opacity: .07;
  animation: spin 90s linear infinite;
  pointer-events: none;
}

.hero {
  position: relative;
  display: grid;
  gap: 32px;
  padding-block: 44px 64px;
  align-items: center;
}

@media(min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr .95fr;
    padding-block: 72px 92px;
    gap: 48px;
  }
}

/* ==========================================================================
   HERO MODE SWITCHER (Direct vs Reseller)
   High-contrast active pill states for both Light and Dark modes
   ========================================================================== */
.sw {
  display: inline-flex;
  background: #ffffff;
  border: 1.5px solid rgba(215, 224, 196, 0.95);
  border-radius: 99px;
  padding: 5px;
  margin-bottom: 22px;
  max-width: 100%;
  box-shadow: 0 4px 18px rgba(36, 24, 16, 0.08);
}

.sw button, .sw a {
  border: 0;
  background: transparent;
  color: #5c4738;
  font: 700 .92rem Outfit, sans-serif;
  padding: 10px 18px;
  border-radius: 99px;
  cursor: pointer;
  min-height: 42px;
  transition: all .25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.sw button:hover:not(.on):not([aria-selected="true"]):not([aria-pressed="true"]) {
  color: #241810;
  background: rgba(36, 24, 16, 0.05);
}

/* Light Mode: Selected Tab (Rich Dark Chocolate Pill with Pure White Text) */
.sw button.on,
.sw button[aria-selected="true"],
.sw button[aria-pressed="true"],
.sw a.on {
  background: #2b1810 !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(43, 24, 16, 0.28);
}

/* Dark Mode: Switcher Container & Unselected / Selected Buttons */
:root[data-theme="dark"] .sw,
[data-theme="dark"] .sw {
  background: #140d07;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}

:root[data-theme="dark"] .sw button,
:root[data-theme="dark"] .sw a,
[data-theme="dark"] .sw button,
[data-theme="dark"] .sw a {
  color: #c4b5a5;
  background: transparent;
}

:root[data-theme="dark"] .sw button:hover:not(.on):not([aria-selected="true"]):not([aria-pressed="true"]),
[data-theme="dark"] .sw button:hover:not(.on):not([aria-selected="true"]):not([aria-pressed="true"]) {
  color: #f6f1e7;
  background: rgba(255, 255, 255, 0.08);
}

/* Dark Mode: Selected Tab (Vibrant Pistachio Green Pill with Deep Chocolate Text) */
:root[data-theme="dark"] .sw button.on,
:root[data-theme="dark"] .sw button[aria-selected="true"],
:root[data-theme="dark"] .sw button[aria-pressed="true"],
:root[data-theme="dark"] .sw a.on,
[data-theme="dark"] .sw button.on,
[data-theme="dark"] .sw button[aria-selected="true"],
[data-theme="dark"] .sw button[aria-pressed="true"],
[data-theme="dark"] .sw a.on {
  background: #9fc04c !important;
  color: #120c06 !important;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(159, 192, 76, 0.4);
}

@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) .sw {
    background: #140d07;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
  }
  :root:not([data-theme="light"]) .sw button,
  :root:not([data-theme="light"]) .sw a {
    color: #c4b5a5;
    background: transparent;
  }
  :root:not([data-theme="light"]) .sw button:hover:not(.on):not([aria-selected="true"]):not([aria-pressed="true"]) {
    color: #f6f1e7;
    background: rgba(255, 255, 255, 0.08);
  }
  :root:not([data-theme="light"]) .sw button.on,
  :root:not([data-theme="light"]) .sw button[aria-selected="true"],
  :root:not([data-theme="light"]) .sw button[aria-pressed="true"],
  :root:not([data-theme="light"]) .sw a.on {
    background: #9fc04c !important;
    color: #120c06 !important;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(159, 192, 76, 0.4);
  }
}

.lead {
  font-size: 1.2em;
  max-width: 30ch;
  margin: 20px 0 28px;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stage {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.stage svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   AUTHENTIC BEST SELLER SHOWCASE CARD (Hero Luxury Graphic Card)
   Matching User Reference Image (media_1794066522247_209ddc0d.jpg)
   ========================================================================== */
.hero-luxury-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  max-width: 440px;
  margin: 0 auto;
}

[data-theme="dark"] .hero-luxury-card {
  background: #2a1a12;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
}

.hero-luxury-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
}

.hlc-inner {
  background: radial-gradient(circle at 50% 48%, #2e1c12 0%, #1e110a 65%, #140905 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hlc-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  background: rgba(36, 44, 18, 0.7);
  border: 1.5px solid #8ca648;
  border-radius: 8px;
  padding: 6px 14px;
  color: #cadf8e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.hlc-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Dynamic Product Slide Track & Presentation */
.hlc-slides-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.hlc-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hlc-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 3;
}

.hlc-photo-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
}

.hlc-ambient-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 180, 75, 0.22) 0%, rgba(200, 160, 90, 0.12) 40%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  filter: blur(24px);
}

.hlc-pedestal-shadow {
  position: absolute;
  bottom: 48px;
  width: 290px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 72%);
  pointer-events: none;
}

.hlc-prod-img {
  max-width: 90%;
  max-height: 82%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.55));
  transition: transform 0.4s ease;
  animation: hlcFloat 4.5s ease-in-out infinite;
}

.hero-luxury-card:hover .hlc-prod-img {
  transform: scale(1.04) translateY(-3px);
}

/* Interactive Navigation Dots */
.hlc-dots {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 10, 5, 0.72);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
}

.hlc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hlc-dot.is-active {
  width: 18px;
  border-radius: 9px;
  background: #cadf8e;
  box-shadow: 0 0 8px rgba(202, 223, 142, 0.6);
}

/* Discrete Nav Arrows */
.hlc-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(28, 16, 10, 0.65);
  border: 1px solid rgba(255,255,255,0.15);
  color: #efe8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-luxury-card:hover .hlc-nav-btn {
  opacity: 1;
}

.hlc-nav-btn:hover {
  background: rgba(45, 25, 15, 0.95);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.hlc-nav-btn.prev {
  left: 10px;
}

.hlc-nav-btn.next {
  right: 10px;
}

.hlc-floating-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 10;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 18px 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  animation: hlcFloat 4s ease-in-out infinite;
}

[data-theme="dark"] .hlc-floating-badge {
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

@keyframes hlcFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hlc-heart-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #feebeb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hlc-heart-circle svg {
  width: 22px;
  height: 22px;
  fill: #eb4d4b;
  animation: hlcPulse 2.2s ease-in-out infinite;
}

@keyframes hlcPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.hlc-badge-title {
  display: block;
  color: #22120a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.hlc-badge-sub {
  display: block;
  color: #79685e;
  font-size: 0.76rem;
  font-weight: 500;
  margin-top: 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 600px) {
  .hero-luxury-card {
    border-radius: 24px;
    padding: 8px;
  }
  .hlc-inner {
    border-radius: 18px;
  }
  .hlc-badge {
    top: 12px;
    left: 12px;
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  .hlc-floating-badge {
    left: 10px;
    bottom: 10px;
    padding: 8px 12px;
    gap: 8px;
  }
  .hlc-heart-circle {
    width: 32px;
    height: 32px;
  }
  .hlc-heart-circle svg {
    width: 17px;
    height: 17px;
  }
  .hlc-badge-title {
    font-size: 0.82rem;
  }
  .hlc-badge-sub {
    font-size: 0.68rem;
  }
}

.cap {
  text-align: center;
  margin-top: 8px;
  font: italic 500 1.05rem Fraunces, serif;
}

/* Original SVG Box Animation */
.br {
  transform-box: fill-box;
  transform-origin: center;
  animation: drop .8s cubic-bezier(.3, 1.5, .5, 1) both;
}
.br:nth-of-type(2) { animation-delay: .12s; }
.br:nth-of-type(3) { animation-delay: .24s; }
.br:nth-of-type(4) { animation-delay: .36s; }
.br:nth-of-type(5) { animation-delay: .48s; }
.br:nth-of-type(6) { animation-delay: .6s; }
.lid { animation: lid 1s cubic-bezier(.2, .9, .3, 1) 1.3s both; }
.nut { animation: fall 2.4s ease-in 1.2s both; }
.stage:hover .br { animation: wig .6s ease both; }

@keyframes drop { from { transform: translateY(-190px) rotate(-14deg); opacity: 0; } }
@keyframes lid { from { transform: translateY(-120px) rotate(-6deg); opacity: 0; } }
@keyframes fall { from { transform: translateY(-230px); opacity: 0; } 30% { opacity: 1; } }
@keyframes wig { 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { to { transform: translateX(-50%); } }

.t { animation: up .9s cubic-bezier(.2, .8, .2, 1) both; }
.t2 { animation-delay: .15s; }
.t3 { animation-delay: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } }

/* ==========================================================================
   ORIGINAL ROTATED RIBBON (.rb)
   ========================================================================== */
.rb {
  background: var(--choc);
  color: var(--onchoc);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  transform: rotate(-1deg);
  margin: 12px 0 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media(min-width: 900px) {
  .rb {
    margin: 12px -2vw 0;
    width: calc(100% + 4vw);
    max-width: none;
  }
}

.rb div {
  display: inline-flex;
  gap: 36px;
  animation: slide var(--marquee-duration, 55s) linear infinite;
  font: italic 500 1.4rem Fraunces, serif;
  padding-right: 36px;
}

.rb:hover div {
  animation-play-state: paused;
}

.rb svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--pist);
}

.rb span {
  display: inline-flex;
  gap: 36px;
  align-items: center;
}

/* ==========================================================================
   ORIGINAL SECTIONS & CARDS (.pn, .pn.d, .stp, .posts, .post)
   ========================================================================== */
section {
  padding: clamp(56px, 9vw, 110px) 0;
}

.sub {
  color: var(--mut);
  max-width: 50ch;
  margin-top: 14px;
}

.split {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

@media(min-width: 760px) {
  .split { grid-template-columns: 1.2fr 1fr; }
}

.pn {
  border-radius: 30px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--surf);
  border: 1.5px solid var(--line);
  transition: background .5s;
}

.pn.d {
  background: var(--choc);
  color: var(--onchoc);
  border-color: var(--choc);
  border-radius: 30px 30px 30px 90px;
}

@media(min-width: 760px) {
  .pn.d { margin-top: 34px; }
}

.pn ul {
  padding: 0;
  margin: 18px 0 26px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pn li { display: flex; gap: 12px; }
.pn li svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 3px;
  color: var(--pist);
}

.pn p { margin-top: 10px; opacity: .8; }
.pn.d .btn { background: var(--pist); color: #1c1308; }

.stp {
  display: grid;
  gap: 26px;
  margin-top: 44px;
  position: relative;
}

@media(min-width: 760px) {
  .stp {
    grid-template-columns: repeat(3, 1fr);
  }
  .stp::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 27px;
    border-top: 2px dashed var(--line);
  }
}

.s { position: relative; }
.s b {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pist);
  color: #1c1308;
  font: 700 1.5rem Fraunces, serif;
  position: relative;
  margin-bottom: 14px;
}

.s p { color: var(--mut); }

.fm {
  background: var(--accbg);
  border-radius: 40px;
  padding: clamp(24px, 5vw, 60px);
  display: grid;
  gap: 30px;
  transition: background .5s;
}

@media(min-width: 900px) {
  .fm { grid-template-columns: .9fr 1.1fr; }
}

form { display: grid; gap: 14px; }
label { font-weight: 700; font-size: .9rem; display: grid; gap: 6px; }

input, select, textarea {
  font: 400 1rem Outfit, sans-serif;
  padding: 13px 14px;
  min-height: 48px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}

input::placeholder, textarea::placeholder {
  color: var(--mut);
  opacity: .85;
}

select, select option {
  background-color: var(--surf);
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(183, 213, 125, 0.25);
}

.callout-box {
  background: var(--accbg) !important;
  border: 1.5px solid var(--line) !important;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink) !important;
}

.callout-box strong, .callout-box p, .callout-box div {
  color: var(--ink) !important;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
  color: #F87171 !important;
}

:root:not([data-theme="dark"]) .alert-error {
  background: #FFF5F5 !important;
  border-color: #FEB2B2 !important;
  color: #C53030 !important;
}

.row { display: grid; gap: 14px; }
@media(min-width: 520px) {
  .row { grid-template-columns: 1fr 1fr; }
}

.note { font-size: .85rem; color: var(--mut); }

/* ==========================================================================
   ORIGINAL NEWS POSTS (.posts, .post, .tag)
   ========================================================================== */
.ph { padding-block: clamp(40px, 7vw, 80px) 0; }

.posts {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.post {
  background: var(--surf);
  border: 1.5px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, background .5s;
}

.post:hover {
  transform: translateY(-6px) rotate(-.4deg);
}

.post .th {
  height: 180px;
  display: grid;
  place-items: center;
  color: #f6f1e7;
  background-size: cover;
  background-position: center;
  position: relative;
}

.post .th svg { width: 76px; height: 76px; }
.post .bd { padding: 24px; display: grid; gap: 10px; align-content: start; flex: 1; }
.post time { color: var(--mut); font-size: .88rem; }

.tag {
  justify-self: start;
  background: var(--accbg);
  color: var(--acc);
  font-weight: 700;
  font-size: .82rem;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post p { color: var(--mut); }

@media(min-width: 900px) {
  .posts {
    grid-template-columns: repeat(3, 1fr);
  }
  .post.f {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .post.f .th {
    width: 38%;
    height: auto;
    min-height: 260px;
  }
  .post.f h3 { font-size: 2rem; }
}

/* ==========================================================================
   ORIGINAL PRICE LIST (.pl, .pr, .pv)
   ========================================================================== */
.pl {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.pr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  background: var(--surf);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  align-items: center;
  transition: background .5s;
}

.pr > div:first-child { grid-column: 1 / -1; }
.pr h3 { display: flex; gap: 10px; align-items: center; }
.pr span { color: var(--mut); font-size: .92rem; }

.pv small {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--mut);
}

.pv b {
  font: 700 1.5rem Fraunces, serif;
}

@media(min-width: 720px) {
  .pr {
    grid-template-columns: 2fr 1fr 1fr;
    padding: 24px 30px;
  }
  .pr > div:first-child { grid-column: auto; }
}

.pn2 {
  margin-top: 22px;
  color: var(--mut);
  max-width: 60ch;
}

/* ==========================================================================
   ORIGINAL FOOTER
   ========================================================================== */
footer {
  background: var(--choc);
  color: var(--onchoc);
  padding: 56px 0 40px;
  margin-top: 40px;
}

footer .wrap { display: grid; gap: 22px; }
footer .big {
  font: 700 clamp(2.2rem, 9vw, 6rem)/1 Fraunces, serif;
  letter-spacing: -.03em;
}

footer .fl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  opacity: .75;
  font-size: .92rem;
}

footer a, footer .lk {
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* ==========================================================================
   ORIGINAL ICONS & CUSTOM DROPDOWN
   ========================================================================== */
.i {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.22em;
  flex: none;
}

.nb .i { margin-right: 6px; }
.ic .i { width: 20px; height: 20px; margin: 0; }
.s b .i { width: 26px; height: 26px; }

@media(max-width: 560px) {
  .lb { display: none; }
  .nb .i { margin: 0; width: 22px; height: 22px; }
  .nb { padding: 10px 12px; }
}

.lab {
  font-weight: 700;
  font-size: .9rem;
  display: grid;
  gap: 6px;
  align-content: start;
}

.dd { position: relative; }
.dt {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  font: 400 1rem Outfit, sans-serif;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}

.dt:hover, .dd.open .dt { border-color: var(--pist); }
.dd.open .dt { box-shadow: 0 0 0 4px color-mix(in srgb, var(--pist) 28%, transparent); }
.dv { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dv .i { color: var(--acc); }
.ch { transition: transform .25s; }
.dd.open .ch { transform: rotate(180deg); }

.dl {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  z-index: 25;
  left: 0;
  top: calc(100% + 8px);
  min-width: 100%;
  width: max-content;
  max-width: min(92vw, 340px);
  display: grid;
  gap: 4px;
  background: var(--surf);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 48px -12px rgba(20,12,6,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.97);
  transform-origin: top left;
  transition: opacity .2s, transform .25s cubic-bezier(.2,.9,.3,1), visibility .2s;
}

.dd.open .dl { opacity: 1; visibility: visible; transform: none; }
.dl li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 400;
  outline: 0;
}

.dl li:hover, .dl li:focus-visible, .dl li[aria-selected=true] { background: var(--accbg); }
.oi {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--pist);
  color: #1c1308;
}

.ot { display: grid; line-height: 1.3; flex: 1; }
.ot b { font-size: 1rem; }
.ot small { color: var(--mut); font-size: .82rem; font-weight: 400; }
.ok { color: var(--acc); opacity: 0; }
.dl li[aria-selected=true] .ok { opacity: 1; }

/* ==========================================================================
   EXTENSION COMPONENTS FOR E-COMMERCE (100% Matching Original Visual Rules)
   ========================================================================== */
.cart-counter-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--choc);
  color: var(--onchoc);
  border: 2px solid var(--surf);
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Category Filter Pills */
.cat-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.cat-pill {
  border: 1.5px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  font: 700 0.92rem Outfit, sans-serif;
  padding: 10px 18px;
  border-radius: 99px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cat-pill:hover, .cat-pill.on {
  background: var(--choc);
  color: var(--onchoc);
  border-color: var(--choc);
}

/* Product Card Extension */
.product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

/* ==========================================================================
   LUXURY SHOPPING BAG & SLIDE-IN CART DRAWER
   ========================================================================== */
.cart-bag-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: 0 4px;
  transition: transform .25s, border-color .25s;
  text-decoration: none;
}

.cart-bag-btn:hover {
  transform: translateY(-2px);
  border-color: var(--pist);
}

.cart-bag-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--pist);
  color: #1c1308;
  font: 700 0.72rem Outfit, sans-serif;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transform: scale(0);
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-bag-badge.visible {
  transform: scale(1);
}

.cart-bag-badge.bump {
  animation: bagBounce .4s ease;
}

@keyframes bagBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Cart Drawer Backdrop Overlay */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 11, 7, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.cart-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Slide-in Cart Drawer Panel */
.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 94vw);
  background: var(--surf);
  color: var(--ink);
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(18, 11, 7, 0.45);
  border-left: 1.5px solid var(--line);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), visibility .35s ease;
}

.cart-drawer-panel.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-header {
  padding: 22px 24px;
  border-bottom: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--surf) 92%, var(--choc));
}

.cart-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-drawer-title-wrap h2 {
  font: 700 1.45rem Fraunces, Georgia, serif;
  margin: 0;
  color: var(--ink);
}

.cart-drawer-badge {
  font: 700 0.8rem Outfit, sans-serif;
  background: var(--accbg);
  color: var(--acc);
  padding: 3px 10px;
  border-radius: 99px;
}

.cart-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.cart-drawer-close:hover {
  transform: rotate(90deg);
  background: var(--accbg);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-drawer-thumb {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: var(--accbg);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cart-drawer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-drawer-name {
  font: 700 0.98rem Outfit, sans-serif;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-drawer-variant {
  font-size: 0.82rem;
  color: var(--mut);
}

.cart-drawer-price {
  font: 700 0.95rem Fraunces, serif;
  color: var(--ink);
  margin-top: 2px;
}

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cart-drawer-del {
  background: none;
  border: none;
  color: var(--mut);
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
}

.cart-drawer-del:hover {
  color: #E53E3E;
}

.cart-drawer-empty {
  text-align: center;
  padding: 60px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: auto 0;
}

.cart-drawer-empty h3 {
  font: 700 1.4rem Fraunces, serif;
  color: var(--ink);
  margin: 0;
}

.cart-drawer-empty p {
  color: var(--mut);
  font-size: 0.92rem;
  max-width: 260px;
  line-height: 1.5;
  margin: 0;
}

.cart-drawer-footer {
  padding: 20px 24px 26px;
  border-top: 1.5px solid var(--line);
  background: color-mix(in srgb, var(--surf) 94%, var(--choc));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-subtotal span {
  font: 500 1rem Outfit, sans-serif;
  color: var(--mut);
}

.cart-drawer-subtotal strong {
  font: 700 1.5rem Fraunces, Georgia, serif;
  color: var(--ink);
}

.cart-drawer-note {
  font-size: 0.8rem;
  color: var(--mut);
  margin: 0;
}

.cart-drawer-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.cart-drawer-continue {
  background: none;
  border: none;
  color: var(--mut);
  font: 500 0.88rem Outfit, sans-serif;
  cursor: pointer;
  text-align: center;
  padding: 6px;
  transition: color .2s;
}

.cart-drawer-continue:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ==========================================================================
   PREMIUM PRODUCT CARD REDESIGN (.prod-card & .prod-grid)
   ========================================================================== */
.prod-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media(max-width: 767px) {
  .prod-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.prod-card {
  background: var(--surf);
  border: 1.5px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s, border-color .3s;
  position: relative;
}

.prod-card:hover {
  transform: translateY(-6px);
  border-color: var(--panel);
  box-shadow: 0 16px 36px -12px rgba(20, 12, 6, 0.18);
}

.prod-th {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--accbg);
  display: grid;
  place-items: center;
}

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

.prod-card:hover .prod-th img {
  transform: scale(1.05);
}

.prod-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.badge-bestseller {
  background: #8A4B22;
  color: #FFF;
}

.badge-new {
  background: #4D6E22;
  color: #FFF;
}

.badge-featured {
  background: var(--choc);
  color: var(--onchoc);
  border: 1px solid var(--pist);
}

.prod-bd {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.prod-category-tag {
  justify-self: start;
  align-self: flex-start;
  background: var(--accbg);
  color: var(--acc);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.prod-title {
  font: 700 1.32rem Fraunces, Georgia, serif;
  line-height: 1.25;
  margin: 2px 0 0;
  color: var(--ink);
}

.prod-title a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}

.prod-title a:hover {
  color: var(--acc);
}

.prod-desc {
  font: 400 0.9rem/1.5 Outfit, sans-serif;
  color: var(--mut);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.prod-price {
  font: 700 1.45rem Fraunces, Georgia, serif;
  color: var(--ink);
}

.prod-var-hint {
  font-size: 0.8rem;
  color: var(--mut);
  font-weight: 500;
}

.prod-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.btn-add-bag {
  background: var(--choc);
  color: var(--onchoc);
  gap: 6px;
  transition: transform .2s, background .2s;
}

.btn-add-bag:hover {
  background: #4D6E22;
  color: #FFF;
}

/* Mobile-First Tweaks for 381px & Narrow Devices */
@media(max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
  .nav {
    height: 64px;
  }
  .brand {
    font-size: 1.1rem;
  }
  .brand svg {
    width: 32px;
    height: 32px;
  }
  .hero {
    padding-block: 28px 44px;
    gap: 24px;
  }
  h1 {
    font-size: clamp(2.1rem, 7.5vw, 3rem);
  }
  .lead {
    font-size: 1rem;
    line-height: 1.5;
  }
  .sw button {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .prod-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .prod-actions .btn {
    padding: 10px 12px;
    font-size: 0.88rem;
    min-height: 44px;
  }
  .fm {
    padding: 24px 18px;
    border-radius: 24px;
  }
  .pn {
    padding: 22px 18px;
    border-radius: 24px;
  }
  .pn.d {
    border-radius: 24px 24px 24px 50px;
  }
}

/* Cart & Checkout Specific */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surf);
  overflow: hidden;
}

.qty-stepper button {
  width: 36px;
  height: 38px;
  background: none;
  border: none;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s;
}

.qty-stepper button:hover {
  background: var(--accbg);
}

.qty-stepper input {
  width: 44px;
  height: 38px;
  border: none;
  background: none;
  text-align: center;
  font: 700 0.95rem Outfit, sans-serif;
  color: var(--ink);
  padding: 0;
  min-height: unset;
}

/* Toast Message */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  background: var(--choc);
  color: var(--onchoc);
  padding: 14px 22px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 10px 25px rgba(36,24,16,0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 0.92rem Outfit, sans-serif;
  animation: up .3s ease;
  border-left: 4px solid var(--pist);
}


/* =========================================================================
   VIDEO SHOWCASE & REELS SECTION (Harmonygoods Artisan & Viral Showcase)
   ========================================================================= */
.video-showcase-section {
  padding: 56px 0 32px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.video-showcase-header {
  text-align: center;
  margin-bottom: 36px;
}

.video-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accbg);
  color: var(--acc);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.video-title {
  font-family: Fraunces, serif;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 auto 10px;
  max-width: 24ch;
}

.video-title em {
  font-style: italic;
  color: var(--acc);
}

.video-subtitle {
  color: var(--mut);
  font-size: 1rem;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.55;
}

.reels-container-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reel-card {
  background: #140d08;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
  min-height: 520px;
  box-shadow: 0 16px 40px rgba(24,16,10,0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid rgba(143,176,77,0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.reel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(24,16,10,0.26);
  border-color: rgba(143,176,77,0.55);
}

.reel-media-holder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: #120c07;
}

.reel-video-element,
.reel-iframe-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* Fallback & artistic placeholder styles */
.reel-bg-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.reel-bg-visual-1 {
  background: radial-gradient(circle at 50% 35%, #422818 0%, #1a100a 75%, #0d0805 100%);
}

.reel-bg-visual-2 {
  background: radial-gradient(circle at 50% 35%, #2a3d16 0%, #151e0b 75%, #0a0e05 100%);
}

.reel-bg-visual-3 {
  background: radial-gradient(circle at 50% 35%, #442a1d 0%, #1c110b 75%, #0b0704 100%);
}

.reel-center-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 2;
}

/* Autoplay Switch Toggle Button on Landing Header */
.video-autoplay-toolbar {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-autoplay-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px 6px 14px;
  border-radius: 999px;
  color: #e6edd9;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.video-autoplay-switch-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.autoplay-switch-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.autoplay-switch-label {
  letter-spacing: 0.01em;
}

.autoplay-switch-track {
  width: 38px;
  height: 20px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  position: relative;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  display: inline-block;
  vertical-align: middle;
}

.autoplay-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.video-autoplay-switch-btn.is-active {
  background: rgba(143, 176, 77, 0.18);
  border-color: rgba(143, 176, 77, 0.6);
  box-shadow: 0 4px 18px rgba(143, 176, 77, 0.25);
  color: #f4faea;
}

.video-autoplay-switch-btn.is-active .autoplay-switch-track {
  background: #8fb04d;
  box-shadow: 0 0 10px rgba(143, 176, 77, 0.6);
}

.video-autoplay-switch-btn.is-active .autoplay-switch-thumb {
  transform: translateX(18px);
}

.autoplay-switch-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #adb5bd;
  transition: all 0.25s ease;
}

.video-autoplay-switch-btn.is-active .autoplay-switch-badge {
  background: #8fb04d;
  color: #17240a;
  box-shadow: 0 0 8px rgba(143, 176, 77, 0.5);
}

.reel-card.is-playing {
  border-color: rgba(143, 176, 77, 0.85);
  box-shadow: 0 20px 48px rgba(143, 176, 77, 0.26);
}

/* Smart Facade Cover Layer (Zero initial payload, load on demand) */
.reel-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  background: #140d08;
}

.reel-facade.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.reel-facade-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  filter: brightness(0.85);
}

.reel-facade-play {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.reel-facade-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(18, 12, 7, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(143,176,77,0.55); }
  70% { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(143,176,77,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(143,176,77,0); }
}

.reel-play-circle.pulse {
  animation: pulseGlow 2.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.reel-top-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  pointer-events: none;
}

.reel-badge-pill {
  background: rgba(18, 12, 7, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: auto;
}

.reel-audio-btn {
  background: rgba(18, 12, 7, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.15s ease, background 0.15s ease;
}

.reel-audio-btn:hover {
  transform: scale(1.08);
  background: rgba(18, 12, 7, 0.9);
}

.reel-play-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.reel-play-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pist, #8fb04d);
  color: #120c06;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-play-circle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transform: translateX(2px);
}

.reel-card:hover .reel-play-circle {
  transform: scale(1.1);
}

.reel-bottom-sheet {
  position: relative;
  z-index: 3;
  padding: 40px 18px 18px 18px;
  background: linear-gradient(to top, rgba(16,10,6,0.96) 0%, rgba(16,10,6,0.72) 65%, transparent 100%);
  pointer-events: auto;
}

.reel-views-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cfe1a4;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.reel-title {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.reel-avatar-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pist, #8fb04d);
  color: #120c06;
  font-weight: 800;
  font-size: 0.68rem;
  display: grid;
  place-items: center;
}

.reel-author-tag {
  color: #e2e8d0;
  font-size: 0.76rem;
  font-weight: 600;
}

.reel-cta-action {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--pist, #8fb04d);
  color: #120c06;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(143,176,77,0.35);
  transition: all 0.2s ease;
}

.reel-cta-action:hover {
  background: #9ec254;
  color: #0f0904;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(143,176,77,0.5);
}

.reel-mobile-dots {
  display: none;
}

/* Responsive: Mobile Phone view */
@media (max-width: 768px) {
  .video-showcase-section {
    padding: 40px 0 24px 0;
    overflow: hidden;
  }

  .video-showcase-header {
    margin-bottom: 24px;
  }

  .reels-container-wrapper {
    overflow: hidden;
    max-width: 100%;
  }

  .reels-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 20px 4px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .reels-grid::-webkit-scrollbar {
    display: none;
  }

  .reel-card {
    flex: 0 0 82%;
    max-width: 310px;
    min-height: 480px;
    scroll-snap-align: center;
    border-radius: 22px;
  }

  .reel-mobile-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
  }

  .reel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--line, #e2e8d0);
    transition: all 0.2s ease;
  }

  .reel-dot.active {
    width: 20px;
    border-radius: 99px;
    background: var(--brand, #4d6e22);
  }
}
