/* ==========================================================================
   Self-hosted fonts
   Downloaded once from Google Fonts and served from assets/fonts/ — no
   request to fonts.googleapis.com / fonts.gstatic.com at runtime. Each
   weight is still split by unicode-range (vietnamese/latin/latin-ext)
   exactly as Google served it, so a page only downloads the glyph subsets
   it actually uses instead of one giant font file per weight.
   ========================================================================== */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-400-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-600-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-700-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-800-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dancing-script-700-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dancing-script-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dancing-script-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Bếp Phù Sa – Design tokens & reset
   ========================================================================== */
:root {
  --maroon-darker: #5c0f1a;
  --maroon-dark: #68131f;
  --maroon: #8b1e2d;
  --maroon-accent: #7a1726;
  --gold: #c99a48;
  --gold-hover: #d9ab5b;
  --gold-light: #e7b85c;
  --brown-dark: #42230f;

  --bg-page: #faf7f2;
  --bg-header: #fffdfb;
  --bg-alt: #f6ede2;
  --bg-soft: #fbf3e9;
  --border: #eadfd3;
  --border-soft: #f0dcc4;

  --text-main: #3b241b;
  --text-muted: #75645d;
  --text-muted-2: #a89a90;
  --text-light: #f0d9c4;
  --text-lighter: #fbeede;

  --footer-bg: #3b1a1f;
  --footer-text: #e6cbb8;
  --footer-text-muted: #c9a996;
  --footer-text-faint: #b09384;
  --footer-heading: #f6d99a;

  --star: #e0a92e;
  --placeholder-1: #efe3d2;
  --placeholder-2: #e7d7c1;

  --leaf: #4f7a3a;
  --leaf-dark: #3c5f2c;
  --leaf-bg: #edf3e6;
  --zalo: #0068ff;
  --ember: #c2461f;
  --ember-dark: #9c2f16;

  --success: #1f9d55;
  --success-bg: #e6f7ea;
  --success-on-dark: #8ef0a0;
  --error: #c0392b;
  --error-bg: #fbe9e7;
  --error-on-dark: #ffbcae;

  --font-body: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-script: 'Dancing Script', cursive;

  --shadow-header: 0 2px 14px rgba(59, 36, 27, .08);
  --shadow-card: 0 16px 32px rgba(59, 36, 27, .14);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: var(--maroon);
  text-decoration: none;
}

/* Mobile touch polish: kill the default gray/blue tap-flash so our own
   :active feedback below is the only "pressed" state a finger sees, and
   tell the browser these are simple taps (no need to wait and see if a
   double-tap/zoom gesture is coming) so presses register immediately. */
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:active,
a:active {
  opacity: .7;
}

ul {
  list-style: none;
}

table {
  border-collapse: collapse;
}

/* The [hidden] attribute must win over any explicit `display` set by a
   component class (e.g. a grid layout toggled hidden by JS). */
[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

::selection {
  background: var(--gold);
  color: #fff;
}

/* ==========================================================================
   Shared "photo placeholder" pattern
   Every image stand-in across the site (product photos, avatars, gallery,
   article covers...) uses the same diagonal-stripe swatch. The stripe width
   is the only thing that varies per usage, so each consuming selector just
   sets --ph-size; swap these two rules out once real <img> tags replace
   the placeholders.
   ========================================================================== */
.category-card__img,
.product-card__img,
.featured-card__img,
.review-card__avatar,
.review-card__photo,
.insta-tile,
.gallery-main,
.gallery-thumb,
.content-photo,
.news-featured__media,
.news-card__media,
.cert-strip__logo,
.article-meta__avatar,
.article-cover,
.related-item__thumb,
.cart-line__img {
  background: repeating-linear-gradient(
    135deg,
    var(--placeholder-1),
    var(--placeholder-1) var(--ph-size, 10px),
    var(--placeholder-2) var(--ph-size, 10px),
    var(--placeholder-2) calc(var(--ph-size, 10px) * 2)
  );
}

.category-card__img,
.product-card__img,
.featured-card__img,
.review-card__photo,
.insta-tile,
.gallery-main,
.gallery-thumb,
.content-photo,
.news-featured__media,
.news-card__media,
.cert-strip__logo,
.article-cover,
.cart-line__img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  color: #8a755f;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--maroon);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

@keyframes bpsToast {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  body.has-bottom-nav {
    padding-bottom: 64px;
  }
}

/* ==========================================================================
   Top announcement bar
   ========================================================================== */
.topbar {
  background: var(--maroon-dark);
  color: var(--text-light);
}

.topbar__inner {
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.topbar__left,
.topbar__right {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.topbar__item {
  display: flex;
  gap: 7px;
  align-items: center;
}

.topbar__support {
  color: var(--text-light);
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 600;
}

.topbar__social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.topbar__social a {
  color: var(--text-light);
}

/* On phones the bar was wrapping to 3 rows and pushing price/CTA below
   the fold: keep only the free-shipping hook (the hotline now lives in
   the floating call button). */
@media (max-width: 768px) {
  .topbar__inner {
    justify-content: center;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 12px;
  }

  .topbar__left .topbar__item:first-child,
  .topbar__right {
    display: none;
  }
}

.icon-gold {
  stroke: var(--gold);
}

/* ==========================================================================
   Site header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  box-shadow: var(--shadow-header);
  font-family: var(--font-body);
}

.header-main {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--maroon);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  flex-shrink: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 20px;
  font-family: var(--font-script);
}

.brand__name {
  display: block;
  font-weight: 800;
  font-size: 21px;
  color: var(--maroon);
}

.brand__tagline {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-search {
  flex: 1;
  display: flex;
  max-width: 640px;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.header-search:focus-within {
  border-color: var(--gold);
}

.header-search__cat {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 16px;
  background: var(--bg-alt);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-right: 2px solid var(--border);
}

.header-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 14px;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
}

.header-search__submit {
  background: var(--maroon);
  color: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
}

.header-account,
.header-cart {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--text-main);
  position: relative;
}

.header-actions__label {
  line-height: 1.15;
  font-size: 13px;
  text-align: left;
}

.header-actions__label span {
  display: block;
}

/* Very small phones (320px): the header was ~26px wider than the screen */
@media (max-width: 360px) {
  .header-main {
    gap: 12px;
  }

  .header-cart .header-actions__label {
    display: none;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .brand__name {
    font-size: 19px;
  }

  .brand__tagline {
    letter-spacing: 1px;
  }
}

.header-actions__label .muted {
  color: var(--text-muted);
}

.header-actions__label .strong {
  font-weight: 700;
}

.cart-icon-wrap {
  position: relative;
  display: inline-flex;
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop nav */
.desktop-nav {
  border-top: 1px solid var(--border);
  background: var(--bg-header);
}

.desktop-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.desktop-nav__list {
  display: flex;
  gap: 4px;
}

.desktop-nav__link {
  display: block;
  padding: 14px 15px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--text-main);
  text-transform: uppercase;
}

.desktop-nav__link.is-active {
  color: var(--maroon);
}

.desktop-nav__promise {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
}

.desktop-nav__promise strong {
  color: var(--text-main);
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(59, 26, 31, .55);
  transition: opacity .3s;
  opacity: 0;
  pointer-events: none;
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 151;
  width: min(310px, 84vw);
  background: var(--bg-header);
  box-shadow: 6px 0 30px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  /* hidden (not just off-screen) while closed so its links drop out of the
     Tab order; visibility flips only after the slide-out finishes */
  visibility: hidden;
  transition: transform .32s ease, visibility 0s linear .32s;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .32s ease, visibility 0s;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--maroon-dark);
  color: var(--text-lighter);
}

.drawer__title {
  font-weight: 800;
  font-size: 18px;
  font-family: var(--font-script);
  color: var(--footer-heading);
}

.drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer__nav {
  padding: 8px 0;
  overflow-y: auto;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}

/* Bottom mobile nav */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 14px rgba(59, 36, 27, .1);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  padding: 9px 0;
  min-height: 56px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  position: relative;
}

.bottom-nav__badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 22px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--brown-dark);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hamburger-btn { display: inline-flex; }
  .header-search,
  .header-account { display: none !important; }
}

@media (max-width: 768px) {
  .bottom-nav { display: grid; }
  .back-top { bottom: 82px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(120deg, var(--maroon-dark), var(--maroon) 55%, var(--maroon-darker));
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: center;
  gap: 32px;
  min-height: 440px;
}

.hero__copy {
  padding: 48px 0;
  color: var(--text-lighter);
}

.hero__title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero__title-script {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-weight: 700;
  font-size: clamp(42px, 6.4vw, 76px);
  display: inline-block;
  margin-top: 6px;
}

.hero__desc {
  max-width: 440px;
  font-size: 16px;
  color: var(--text-light);
  margin: 18px 0 26px;
}

.btn-cta {
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  padding: 15px 30px;
  border-radius: 12px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: transform .2s, background .2s;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

/* Secondary hero action: the brand story sits one tap from the headline */
.hero__story-link {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(231, 184, 92, .5);
}

.hero__usps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 22px;
  margin-top: 36px;
  max-width: 520px;
}

.hero__usp {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}

.hero__usp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 154, 72, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

/* Phones: keep the 4 USPs as a compact 2 x 2 instead of a 4-row column */
@media (max-width: 420px) {
  .hero__usps {
    gap: 12px;
    margin-top: 24px;
  }

  .hero__usp {
    gap: 8px;
    font-size: 12px;
    line-height: 1.3;
  }

  .hero__usp-icon {
    width: 32px;
    height: 32px;
  }

  .hero__usp-icon svg {
    width: 16px;
    height: 16px;
  }
}

.hero__visual {
  position: relative;
  padding: 24px 0;
  display: flex;
  justify-content: center;
}

.hero__photo {
  width: min(420px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, #7a3b26, #7a3b26 12px, #8a4630 12px, #8a4630 24px);
  border: 6px solid rgba(201, 154, 72, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-family: ui-monospace, monospace;
  font-size: 13px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.hero__badge {
  position: absolute;
  right: 6%;
  top: 14%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}

.hero__badge-num {
  font-size: 24px;
}

.hero__badge-label {
  font-size: 9px;
  letter-spacing: .5px;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__controls {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding-bottom: 22px;
}

.hero__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__dots {
  display: flex;
}

/* The visible dot stays 9x9 (26x9 when active) via background-clip, but
   padding pushes the actual tap target out to a comfortable ~29-46px —
   same look, a finger can actually hit it. */
.hero__dot {
  width: 9px;
  height: 9px;
  padding: 10px;
  background-color: rgba(255, 255, 255, .4);
  background-clip: content-box;
  box-sizing: content-box;
  border-radius: 9px;
  transition: all .3s;
}

.hero__dot.is-active {
  width: 26px;
  background-color: var(--gold);
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px;
}

/* Category strip under the hero: breathing room from the hero edge, and a
   shorter gap below so it leads straight into the best-sellers. */
.section--categories {
  padding-top: 36px;
  padding-bottom: 12px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--maroon);
}

.section-title--center {
  justify-content: center;
  text-align: center;
}

.section-title--spaced {
  margin-bottom: 28px;
}

.section-link {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
}

/* Phones: smaller section titles so "Xem tất cả" stays on the title row */
@media (max-width: 640px) {
  .section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section-head {
    flex-wrap: nowrap;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 20px;
    gap: 8px;
    min-width: 0;
  }

  .section-link {
    flex-shrink: 0;
    font-size: 13px;
  }
}

/* ==========================================================================
   Categories
   ========================================================================== */
/* 6 categories: 6 across on desktop, 3 + 3 below that (auto-fit left a
   lone orphan on the last row at tablet widths). */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 20px;
}

@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  text-align: center;
  color: var(--text-main);
}

.category-card__img {
  --ph-size: 9px;
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(59, 36, 27, .1);
  font-size: 10px;
  padding: 8px;
  text-align: center;
}

.category-card__name {
  display: block;
  font-weight: 700;
  font-size: 15px;
}

.category-card__cta {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* Phones: 3 across with smaller circles, so the 6 categories take two
   short rows instead of a whole screen. */
@media (max-width: 640px) {
  .section--categories {
    padding-top: 24px;
    padding-bottom: 4px;
  }

  .category-grid {
    gap: 20px 12px;
  }

  .category-card__img {
    width: 76px;
    height: 76px;
    margin-bottom: 8px;
    font-size: 9px;
  }

  .category-card__name {
    font-size: 13px;
    line-height: 1.3;
  }

  .category-card__cta {
    display: none;
  }
}

/* ==========================================================================
   Product cards (shared: home / listing / related)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.product-card__media {
  position: relative;
  display: block;
}

.product-card__img {
  aspect-ratio: 1;
  font-size: 11px;
  text-align: center;
  padding: 10px;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 7px;
  letter-spacing: .3px;
}

.badge--best,
.badge--sale {
  background: var(--maroon);
  color: #fff;
}

.badge--combo {
  background: var(--gold);
  color: var(--brown-dark);
}

.product-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.product-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--gold);
  text-transform: uppercase;
}

.product-card__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 41px;
}

.product-card__name a {
  color: var(--text-main);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.stars {
  color: var(--star);
  letter-spacing: 1px;
}

.product-card__sold {
  font-size: 12px;
  color: var(--text-muted);
}

.product-card__price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: auto;
}

.price {
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
}

.price--old {
  font-size: 13px;
  color: var(--text-muted-2);
  text-decoration: line-through;
}

.btn-add {
  margin-top: 6px;
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 11px;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

/* Phones: 2 products per row (the 180px minimum fell back to 1 column,
   so shoppers saw one product per screen). Card internals are tightened
   to fit a ~165px column. */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-card__badge {
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 4px 7px;
    border-radius: 6px;
  }

  .product-card__body {
    padding: 10px;
    gap: 5px;
  }

  .product-card__cat {
    font-size: 10px;
  }

  .product-card__name {
    font-size: 13px;
    line-height: 1.35;
    min-height: calc(13px * 1.35 * 2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  .product-card__rating,
  .product-card__sold {
    font-size: 11px;
  }

  .product-card__rating .stars {
    letter-spacing: 0;
  }

  .product-card__price-row {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
  }

  .price {
    font-size: 15px;
  }

  .price--old {
    font-size: 11px;
  }

  .btn-add {
    font-size: 12px;
    padding: 8px 6px;
    gap: 6px;
    min-height: 40px;
    border-radius: 9px;
  }

  .btn-add svg {
    width: 15px;
    height: 15px;
  }
}

/* 320px phones: a ~108px button can't fit icon + label on one line */
@media (max-width: 360px) {
  .btn-add svg {
    display: none;
  }
}

/* ==========================================================================
   Promo banners
   ========================================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.promo-card {
  color: var(--text-lighter);
  border-radius: 16px;
  padding: 22px;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

/* Each offer gets its own color so the four read as four different deals:
   ember = urgency (flash sale), gold = savings (combo), brand maroon =
   Tết gifting, leaf green = free / natural (free shipping). */
.promo-card--1 {
  background: linear-gradient(135deg, var(--ember-dark), var(--ember));
}

.promo-card--1 .promo-card__title { color: #ffe9c2; }

.promo-card--1 .promo-card__sub { color: #fff4e6; }

.promo-card--1 .promo-card__cta {
  background: #fff;
  color: var(--ember-dark);
}

.promo-card--2 {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-dark);
}

.promo-card--2 .promo-card__title { color: var(--brown-dark); }

.promo-card--2 .promo-card__sub { color: #5a3414; }

.promo-card--2 .promo-card__big { color: var(--maroon); }

.promo-card--2 .promo-card__cta {
  background: var(--maroon);
  color: #fff;
}

.promo-card--3 {
  background: linear-gradient(135deg, var(--maroon-darker), var(--maroon));
  box-shadow: inset 0 0 0 1px rgba(231, 184, 92, .45);
}

.promo-card--4 {
  background: linear-gradient(135deg, var(--leaf-dark), var(--leaf));
}

.promo-card--4 .promo-card__sub { color: #fff; }

.promo-card__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--footer-heading);
}

.promo-card__sub {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
}

.promo-card__sub--narrow {
  margin-top: 8px;
  max-width: 180px;
}

.promo-card__big {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.promo-card__cta {
  align-self: flex-start;
  margin-top: 14px;
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 9px 16px;
  border-radius: 9px;
}

.countdown {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.countdown__part {
  text-align: center;
}

.countdown__value {
  display: block;
  background: rgba(0, 0, 0, .28);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  min-width: 42px;
}

.countdown__label {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  color: var(--text-light);
}

/* ==========================================================================
   Featured strip
   ========================================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.featured-card {
  display: block;
  color: var(--text-main);
}

.featured-card__img {
  aspect-ratio: 1.05;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  font-size: 11px;
  box-shadow: 0 6px 16px rgba(59, 36, 27, .08);
}

.featured-card__name {
  display: block;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

.featured-card__more {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Phones: 5 featured cards stacked one per row were ~2 screens tall; a
   swipeable row shows ~2.3 cards so the next one hints there's more. */
@media (max-width: 640px) {
  .featured-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    margin: 0 -24px;
    padding: 0 24px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .featured-card {
    flex: 0 0 40%;
    scroll-snap-align: start;
  }

  .featured-card__img {
    margin-bottom: 8px;
  }

  .featured-card__name {
    font-size: 14px;
  }
}

/* ==========================================================================
   Stats
   ========================================================================== */
/* full-width white band between cream sections (home rhythm) */
.stats-section,
.home-band {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.stat-item {
  text-align: center;
  padding: 0 8px;
}

.stat-item__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-alt);
  color: var(--maroon);
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.stat-item__value {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--maroon);
  line-height: 1;
}

.stat-item__label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  max-width: 170px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }

  /* 5 stats: the last one spans the row instead of sitting alone on the left */
  .stat-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .stat-item__value {
    font-size: 26px;
  }

  .stat-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 8px;
  }
}

/* ==========================================================================
   Reviews carousel
   ========================================================================== */
.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform .5s ease;
}

.review-card {
  flex: 0 0 340px;
  max-width: 82vw;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.review-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.review-card__avatar {
  --ph-size: 6px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

.review-card__name {
  display: block;
  font-weight: 700;
  font-size: 15px;
}

.review-card__stars {
  display: block;
  color: var(--star);
  letter-spacing: 1px;
  font-size: 13px;
}

.review-card__text {
  font-size: 14px;
  color: var(--text-main);
  min-height: 66px;
}

.review-card__product {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.review-card__product a {
  font-weight: 700;
}

.review-card__photo {
  --ph-size: 9px;
  margin-top: 12px;
  height: 96px;
  border-radius: 10px;
  font-size: 10px;
}

.carousel-arrows {
  display: flex;
  gap: 10px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Story / video section
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 22px;
}

.story-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  background: repeating-linear-gradient(135deg, #5a3020, #5a3020 14px, #6b3a26 14px, #6b3a26 28px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: var(--text-lighter);
}

.story-video__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-video__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, .35);
  padding: 6px 12px;
  border-radius: 20px;
}

.story-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
  transition: transform .2s;
}

.story-video__title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  position: relative;
}

.story-video__duration {
  position: absolute;
  bottom: 20px;
  right: 22px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0, 0, 0, .4);
  padding: 4px 10px;
  border-radius: 8px;
}

.story-panel {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-panel__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--maroon);
}

.story-panel__text {
  font-size: 14px;
  color: var(--text-main);
}

.story-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.story-points li {
  display: flex;
  gap: 9px;
  font-size: 13px;
  color: var(--text-main);
}

.story-points svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--leaf);
}

.story-panel__photo {
  height: 120px;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, #dfeecf, #dfeecf 12px, #d3e5bf 12px, #d3e5bf 24px);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #6d7c58;
  display: flex;
  align-items: center;
  justify-content: center;
}

img.story-panel__photo {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.btn-outline-cta {
  align-self: flex-start;
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 11px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: rgba(20, 8, 10, .82);
  align-items: center;
  justify-content: center;
  padding: 24px;
  display: none;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__inner {
  width: min(880px, 100%);
  position: relative;
}

.video-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal__screen {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: repeating-linear-gradient(135deg, #3a1c14, #3a1c14 18px, #4a271b 18px, #4a271b 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-family: ui-monospace, monospace;
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

/* ==========================================================================
   Instagram grid
   ========================================================================== */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.insta-tile {
  --ph-size: 9px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden; /* Clip images to square bounds */
  font-size: 10px;
}

.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill tile and crop to square, centered */
  object-position: center;
}

.insta-tile--more {
  background: var(--maroon);
  color: var(--text-lighter);
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
}

@media (max-width: 640px) {
  .insta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .insta-tile--more {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    flex-direction: row;
    min-height: 52px;
  }

  .insta-tile--more br {
    display: none;
  }
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter {
  background: var(--maroon-dark);
  color: var(--text-lighter);
}

.newsletter__inner {
  padding-top: 34px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  align-items: center;
}

.newsletter__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--footer-heading);
}

.newsletter__desc {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 6px;
}

.newsletter__form {
  display: flex;
  margin-top: 16px;
  max-width: 440px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.newsletter__form:focus-within {
  box-shadow: 0 0 0 3px var(--gold);
}

.newsletter__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-main);
  font-family: inherit;
}

.newsletter__submit {
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .5px;
  padding: 0 24px;
}

.newsletter__msg {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}

.newsletter__msg.is-ok {
  color: var(--success-on-dark);
}

.newsletter__msg.is-error {
  color: var(--error-on-dark);
}

/* 4 promises: a fixed 2 x 2 (auto-fit left a lone orphan once the copy grew) */
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.trust-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}

.trust-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(201, 154, 72, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.trust-item strong {
  display: block;
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  padding: 44px 24px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.footer-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-family: var(--font-script);
  font-size: 18px;
}

.footer-brand__name {
  font-weight: 800;
  font-size: 19px;
  color: var(--footer-heading);
}

.footer-about {
  font-size: 13px;
  line-height: 1.7;
  color: var(--footer-text-muted);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--footer-heading);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13px;
  color: var(--footer-text-muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13px;
  color: var(--footer-text-muted);
}

.footer-contact li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.footer-contact li.align-start {
  align-items: flex-start;
}

.footer-contact svg {
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--footer-heading);
  font-weight: 700;
}

.trust-item a {
  color: inherit;
}

.footer-payments {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-payments span {
  width: 44px;
  height: 28px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .9);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 12px;
  color: var(--footer-text-faint);
  text-align: center;
}

/* Back to top */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(59, 36, 27, .3);
  transition: opacity .3s, transform .3s, visibility 0s linear .3s;
  opacity: 0;
  visibility: hidden; /* out of the Tab order while invisible */
  pointer-events: none;
  transform: translateY(10px);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .3s, transform .3s, visibility 0s;
}

/* Quick contact (Zalo + call): most specialty-food orders in VN close in chat */
.quick-contact {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s ease;
}

.quick-contact__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 36, 27, .28);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.quick-contact__btn:active {
  transform: scale(.94);
}

.quick-contact__btn--zalo {
  background: var(--zalo);
}

/* The ring pulse animates only transform/opacity on a pseudo-element so it
   stays on the compositor instead of repainting a box-shadow every frame. */
.quick-contact__btn--call {
  position: relative;
  background: var(--leaf);
}

.quick-contact__btn--call::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(79, 122, 58, .45);
  animation: bpsRing 2.4s ease-in-out infinite;
  pointer-events: none;
}

.quick-contact__zalo {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;
}

@keyframes bpsRing {
  0% { transform: scale(1); opacity: 1; }
  50%, 100% { transform: scale(1.46); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .quick-contact__btn--call::after { animation: none; opacity: 0; }
}

@media (max-width: 768px) {
  .quick-contact {
    left: 14px;
    bottom: 82px;
    gap: 10px;
    transition: transform .3s ease, opacity .25s ease, visibility 0s;
  }

  .quick-contact__btn {
    width: 46px;
    height: 46px;
  }

  body.is-scrolling-down .quick-contact,
  body.is-scrolling-down .back-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, opacity .25s ease, visibility 0s linear .25s;
  }
}

/* Toast */
.toast-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  pointer-events: none;
}

.toast-wrap.toast-wrap--above-nav {
  bottom: 82px;
}

.toast {
  display: flex;
  gap: 11px;
  align-items: center;
  background: var(--text-main);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  font-size: 14px;
  font-weight: 600;
  max-width: 320px;
  animation: bpsToast .3s ease;
}

.toast svg {
  flex-shrink: 0;
}

/* ==========================================================================
   Page hero banner (Products listing)
   ========================================================================== */
.page-banner {
  background: linear-gradient(120deg, var(--maroon-dark), var(--maroon));
}

.page-banner__inner {
  padding: 30px 24px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb .current {
  color: #fff;
}

.breadcrumb--plain {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb--plain a {
  color: var(--maroon);
}

.breadcrumb--plain .current {
  color: var(--text-main);
}

.detail-main-inner {
  padding-top: 24px;
  padding-bottom: 40px;
}

.related-section {
  margin-top: 36px;
}

.related-section__title {
  margin-bottom: 20px;
}

.page-banner__title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: #fff;
}

.page-banner__desc {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 4px;
}

/* ==========================================================================
   Products listing layout
   ========================================================================== */
.listing-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
}

.filters {
  flex: 1 1 230px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 180px;
}

.filters__heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 14px;
}

.filters__heading--spaced {
  margin: 22px 0 12px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-btn {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-btn.is-active {
  font-weight: 800;
  color: var(--maroon);
  background: var(--bg-alt);
}

.filter-btn__count {
  font-size: 12px;
  color: var(--text-muted-2);
}

.price-filter {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

.price-filter label {
  display: flex;
  gap: 9px;
  align-items: center;
  cursor: pointer;
}

.price-filter input {
  accent-color: var(--maroon);
}

.listing-results {
  flex: 999 1 460px;
  min-width: 0;
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.results-bar__count {
  font-size: 14px;
  color: var(--text-muted);
}

.results-bar__count strong {
  color: var(--text-main);
}

.results-bar__clear {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.sort-select-wrap {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  background: var(--bg-page);
  color: var(--text-main);
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.pagination a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.pagination a[aria-current="page"] {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

/* Phones/tablets: the filter box stacked above the results but stayed
   position: sticky, so while scrolling it stuck to the top and the
   product grid slid underneath it. It also filled a whole screen before
   the first product. Here it becomes two swipeable chip rows. */
@media (max-width: 780px) {
  .listing-layout {
    padding: 16px 24px 28px;
    gap: 14px;
  }

  .filters {
    position: static;
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }

  .filters__heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .filter-list,
  .price-filter {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-list::-webkit-scrollbar,
  .price-filter::-webkit-scrollbar {
    display: none;
  }

  .price-filter {
    margin-top: 10px;
  }

  .filter-list li,
  .price-filter li {
    flex-shrink: 0;
  }

  .filter-btn {
    width: auto;
    min-height: 38px;
    padding: 8px 14px;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    white-space: nowrap;
  }

  /* extra class so the desktop-only :hover background can't wash it out */
  .filter-list .filter-btn.is-active {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
  }

  .filter-btn.is-active .filter-btn__count {
    color: rgba(255, 255, 255, .75);
  }

  .price-filter label {
    min-height: 36px;
    padding: 6px 12px;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Mirror the category chips' selected state so the active price range
     reads at a glance, not only through the small native radio dot. */
  .price-filter label:has(input:checked) {
    border-color: var(--maroon);
    color: var(--maroon);
    font-weight: 700;
    background: var(--bg-alt);
  }

  .results-bar {
    padding: 10px 12px;
    margin-bottom: 14px;
    gap: 8px;
  }

  .results-bar__count,
  .sort-select-wrap,
  .sort-select {
    font-size: 13px;
  }

  .sort-select {
    padding: 7px 10px;
  }
}

/* ==========================================================================
   Product detail page
   ========================================================================== */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 36px;
  align-items: start;
}

.gallery-main {
  --ph-size: 12px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-size: 13px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.gallery-thumb {
  --ph-size: 8px;
  aspect-ratio: 1;
  border-radius: 11px;
  border: 2px solid var(--border);
  cursor: pointer;
  font-size: 9px;
}

.gallery-thumb.is-active {
  border-color: var(--maroon);
}

.detail-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--gold);
  text-transform: uppercase;
}

.detail-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin: 8px 0 12px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.detail-meta__divider {
  color: var(--border);
}

.detail-price-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.detail-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--maroon);
}

.detail-price-old {
  font-size: 17px;
  color: var(--text-muted-2);
  text-decoration: line-through;
}

.detail-discount {
  background: var(--maroon);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
}

.detail-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.detail-highlights li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.detail-highlights svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--leaf);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
}

.qty-stepper button {
  width: 46px;
  height: 48px;
  font-size: 20px;
  color: var(--maroon);
}

.qty-stepper__value {
  width: 52px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.btn-add-cart {
  flex: 1;
  min-width: 200px;
  background: var(--maroon);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.btn-buy-now {
  min-width: 120px;
  text-align: center;
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 800;
  font-size: 15px;
  padding: 15px 22px;
  border-radius: 12px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* On the product page "Mua ngay" is the highest-intent action, so it gets
   the solid brand color and "Thêm vào giỏ" steps down to an outline. */
.detail-actions .btn-buy-now {
  flex: 1;
  min-width: 160px;
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 8px 18px rgba(139, 30, 45, .28);
}

.detail-actions .btn-add-cart {
  flex: 0 1 auto;
  min-width: 170px;
  background: #fff;
  color: var(--maroon);
  box-shadow: inset 0 0 0 2px var(--maroon);
}

/* Mobile sticky buy bar (product page) */
.sticky-buy {
  display: none;
}

@media (max-width: 768px) {
  .sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 64px;
    z-index: 85;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 18px rgba(59, 36, 27, .12);
    transform: translateY(calc(100% + 64px));
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }

  .sticky-buy.is-visible {
    transform: translateY(0);
    visibility: visible;
    transition: transform .3s ease, visibility 0s;
  }

  .sticky-buy__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .sticky-buy__name {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-buy__price {
    font-size: 17px;
    font-weight: 800;
    color: var(--maroon);
  }

  .sticky-buy__old {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted-2);
    text-decoration: line-through;
  }

  .sticky-buy__add {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon);
    box-shadow: inset 0 0 0 2px var(--maroon);
    background: #fff;
  }

  .sticky-buy__now {
    height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    background: var(--maroon);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
  }

  .sticky-buy__add:active,
  .sticky-buy__now:active {
    transform: scale(.96);
  }

  body.has-sticky-buy .quick-contact {
    transform: translateY(-66px);
  }

  body.has-sticky-buy .back-top {
    bottom: 148px;
  }

  body.has-sticky-buy .toast-wrap--above-nav {
    bottom: 148px;
  }

  /* Keep the end of the page (footer) scrollable into view above the bar:
     64px bottom nav + 67px bar. */
  body.has-bottom-nav.has-sticky-buy {
    padding-bottom: 131px;
  }
}

/* Buy boosters under the PDP buttons: freeship-by-quantity, first-order
   code, Zalo consult */
.buy-boost {
  margin-top: 16px;
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* plain text flow (not flex) so inline <strong> keeps normal word spacing */
.buy-boost__row {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-main);
}

.buy-boost__row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.buy-boost__row--ship::before {
  background: var(--leaf);
}

.buy-boost__row--ship strong {
  color: var(--leaf-dark);
}

.buy-boost__row--coupon::before {
  background: var(--gold);
}

.buy-boost__row--coupon strong {
  color: var(--maroon);
  letter-spacing: .3px;
}

.buy-boost__zalo {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--zalo);
  min-height: 32px;
}

.buy-boost__zalo-badge {
  background: var(--zalo);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
}

.detail-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.detail-promises span {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Tabs */
.tabs-section {
  margin-top: 44px;
}

.tabs-list {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.is-active {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
}

.tab-panel {
  padding: 22px 0;
  max-width: 820px;
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.8;
}

.tab-pane {
  display: none;
}

.tab-pane.is-active {
  display: block;
}

.tab-pane p {
  margin-bottom: 14px;
}

.tab-pane ul {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-table {
  width: 100%;
  font-size: 14px;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  text-align: left;
  padding: 11px 0;
  width: 200px;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-table td {
  padding: 11px 0;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-list-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.review-list-item__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.review-list-item__text {
  margin-top: 8px;
  color: var(--text-main);
}

/* Responsive helpers: on phones the quantity and "Thêm vào giỏ" share a
   row and "Mua ngay" takes the full width below, instead of three
   stacked rows with a half-empty quantity bar. */
@media (max-width: 620px) {
  .detail-actions {
    gap: 10px;
  }

  .detail-actions .qty-stepper {
    flex: 0 0 auto;
  }

  .detail-actions .btn-add-cart {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }

  .detail-actions .btn-buy-now {
    flex: 1 1 100%;
  }
}

@media (max-width: 360px) {
  .detail-actions .qty-stepper button {
    width: 36px;
  }

  .detail-actions .qty-stepper__value {
    width: 36px;
  }

  .detail-actions .btn-add-cart svg {
    display: none;
  }
}

/* ==========================================================================
   Shared "inner page" building blocks (About, Contact, News, Policy)
   ========================================================================== */
.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px;
  align-items: center;
}

.content-kicker {
  font-family: var(--font-script);
  font-size: 30px;
  color: var(--gold);
}

.content-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--maroon);
  margin: 6px 0 16px;
}

.content-text {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 14px;
}

.content-text:last-child {
  margin-bottom: 0;
}

.content-photo {
  --ph-size: 12px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-size: 12px;
  text-align: center;
  padding: 12px;
}

.content-section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title--block {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 32px;
}

/* Value / feature cards (About) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.value-card {
  text-align: center;
  padding: 24px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
}

.value-card__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--maroon);
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-card__title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.value-card__text {
  font-size: 14px;
  color: var(--text-muted);
}

/* Process steps (About) */
.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}

.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
}

.process-step__num {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--footer-heading);
  font-weight: 800;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.process-step__title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.process-step__text {
  font-size: 14px;
  color: var(--text-muted);
}

/* Dark stats strip (About) */
.stats-dark {
  background: var(--maroon-dark);
  color: var(--text-lighter);
}

.stats-dark__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  list-style: none;
  text-align: center;
}

.stats-dark__value {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--footer-heading);
}

.stats-dark__label {
  font-size: 14px;
  color: var(--text-light);
}

/* Closing CTA (About) */
.cta-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

.cta-section__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 12px;
}

.cta-section__text {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 22px;
}

.btn-solid-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: var(--maroon);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 20px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-item__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__title {
  display: block;
  font-size: 15px;
}

.contact-info-item__value {
  font-size: 14px;
  color: var(--text-muted);
}

.map-placeholder {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, #dfeecf, #dfeecf 12px, #d3e5bf 12px, #d3e5bf 24px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #6d7c58;
  text-align: center;
  padding: 12px;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-form-card__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 6px;
}

.contact-form-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.form-input,
.form-textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: #fff;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px var(--gold);
}

.form-textarea {
  resize: vertical;
}

.btn-block {
  background: var(--maroon);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 15px;
  border-radius: var(--radius-sm);
  min-height: 48px;
}

/* reassurance right under "Đặt hàng" */
.checkout-assure {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--leaf-bg);
}

.checkout-assure li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-main);
}

.checkout-assure li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}

.form-msg {
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}

.form-msg.is-ok {
  color: var(--success);
}

.form-msg.is-error {
  color: var(--error);
}

/* Checkbox group inside forms (B2B quote request) */
.form-checks {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.form-checks__legend {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-checks label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  min-height: 32px;
}

.form-checks input {
  width: 18px;
  height: 18px;
  accent-color: var(--maroon);
}

/* Quà biếu doanh nghiệp page */
.product-grid--pair {
  max-width: 560px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.b2b-stories {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.b2b-stories a {
  font-weight: 700;
}

.b2b-form-section {
  scroll-margin-top: 140px;
}

.b2b-form-card {
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   News listing page
   ========================================================================== */
.news-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
}

.news-featured__media {
  --ph-size: 12px;
  min-height: 280px;
  font-size: 12px;
}

.news-featured__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag-pill {
  align-self: flex-start;
  background: var(--maroon);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.news-featured__title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-main);
}

.news-featured__excerpt {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.news-featured__meta {
  font-size: 13px;
  color: var(--text-muted-2);
}

.tag-filter-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 20px;
}

.tag-btn {
  padding: 9px 18px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background: #fff;
  border: 1px solid var(--border);
}

.tag-btn.is-active {
  color: #fff;
  background: var(--maroon);
  border-color: var(--maroon);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.news-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .news-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid--home .news-card:nth-child(3) {
    display: none;
  }
}

/* phones: swipe through the articles instead of three tall stacked cards */
@media (max-width: 640px) {
  .news-grid--home {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -24px;
    padding: 0 24px 4px;
    scroll-padding-left: 24px;
    scrollbar-width: none;
  }

  .news-grid--home::-webkit-scrollbar {
    display: none;
  }

  .news-grid--home .news-card,
  .news-grid--home .news-card:nth-child(3) {
    display: flex;
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

/* certification / partner logo slots under the home stats */
.cert-strip {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  text-align: center;
}

.cert-strip__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* flex + center: a short last row stays centred instead of hanging left */
.cert-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cert-strip__logo {
  --ph-size: 8px;
  width: 132px;
  height: 64px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  text-align: center;
  padding: 6px;
}

@media (max-width: 640px) {
  .cert-strip__list {
    gap: 10px;
  }

  /* the <li> is the flex item, so it carries the 3-per-row width */
  .cert-strip__list li {
    width: calc((100% - 24px) / 3);
  }

  .cert-strip__logo {
    width: 100%;
    height: 56px;
  }
}

.home-faq__more {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
}

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.news-card__media {
  aspect-ratio: 16 / 10;
  font-size: 11px;
}

.news-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-card__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.news-card__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.news-card__title a {
  color: var(--text-main);
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.news-card__meta {
  font-size: 13px;
  color: var(--text-muted-2);
}

.news-card.is-hidden {
  display: none;
}

/* ==========================================================================
   News detail page
   ========================================================================== */
.article-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
}

.article-main {
  flex: 999 1 480px;
  min-width: 0;
  max-width: 760px;
}

.article-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.article-meta__author {
  display: flex;
  gap: 8px;
  align-items: center;
}

.article-meta__avatar {
  --ph-size: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.article-cover {
  --ph-size: 12px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-size: 12px;
  margin-bottom: 26px;
}

.prose {
  font-size: 16px;
  color: var(--text-main);
}

.prose p {
  margin-bottom: 18px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--maroon);
  margin: 26px 0 12px;
}

.prose blockquote {
  border-left: 4px solid var(--gold);
  background: var(--bg-soft);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  font-style: italic;
  color: var(--text-main);
  margin: 24px 0;
}

.share-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.share-list__label {
  font-size: 13px;
  color: var(--text-muted);
  align-self: center;
}

.share-list a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-aside {
  flex: 1 1 280px;
  min-width: 0;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 180px;
}

.sidebar-card__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 16px;
}

.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-item {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
}

.related-item__thumb {
  --ph-size: 8px;
  width: 72px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.related-item__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.related-item__date {
  display: block;
  font-size: 12px;
  color: var(--text-muted-2);
  margin-top: 3px;
}

.btn-cta-block {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px;
  border-radius: 11px;
}

/* Product mentioned in an article: lets the reader buy without leaving */
.article-product {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding: 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.article-product__img {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #8a755f;
  background: repeating-linear-gradient(135deg, var(--placeholder-1), var(--placeholder-1) 12px, var(--placeholder-2) 12px, var(--placeholder-2) 24px);
}

.article-product__kicker {
  display: inline-block;
  background: var(--leaf-bg);
  color: var(--leaf-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.article-product__name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.article-product__name a {
  color: var(--text-main);
}

.article-product__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-product__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-main);
}

.article-product__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.article-product__list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--leaf);
}

.article-product__price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin-bottom: 14px;
}

.article-product__save {
  font-size: 13px;
  font-weight: 700;
  color: var(--ember-dark);
}

.article-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-product__actions .btn-add-cart {
  min-width: 0;
  flex: 1 1 180px;
}

.article-product__actions .btn-buy-now {
  flex: 1 1 120px;
}

.article-product__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-offer {
  margin-top: 20px;
  padding: 16px;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-md);
  background: #fffaf0;
}

.sidebar-offer__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ember-dark);
}

.sidebar-offer__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
  margin: 4px 0 6px;
}

.sidebar-offer__text {
  font-size: 13px;
  color: var(--text-muted);
}

.sidebar-offer__code {
  color: var(--maroon);
  letter-spacing: .04em;
}

@media (max-width: 600px) {
  .article-product {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  .article-product__img {
    aspect-ratio: 16 / 9;
  }
}

/* ==========================================================================
   Policy page
   ========================================================================== */
.policy-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.policy-nav {
  flex: 1 1 230px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  position: sticky;
  top: 180px;
}

.policy-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy-nav-btn {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  display: flex;
  gap: 10px;
  align-items: center;
}

.policy-nav-btn.is-active {
  font-weight: 800;
  color: var(--maroon);
  background: var(--bg-alt);
}

.policy-article {
  flex: 999 1 460px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.policy-article__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 18px;
}

.policy-panel {
  display: none;
}

.policy-panel.is-active {
  display: block;
}

.policy-block {
  margin-bottom: 20px;
}

.policy-block__head {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.policy-block__text {
  font-size: 15px;
  color: var(--text-main);
}

.help-box {
  margin-top: 12px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--text-main);
}

.help-box svg {
  flex-shrink: 0;
}

.help-box strong {
  color: var(--maroon);
}

/* ==========================================================================
   Cart page
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 28px;
  align-items: start;
}

/* An explicit grid column still reserves its space even when the item
   inside it is display:none, so an empty cart otherwise leaves a dead gap
   where the summary sidebar used to be. Collapse to one column instead. */
.cart-layout:has(.cart-summary[hidden]),
.cart-layout.is-empty {
  grid-template-columns: minmax(0, 1fr);
}

.cart-main {
  min-width: 0;
}

/* "Thêm một món để được freeship" suggestions under the cart lines */
.cart-upsell {
  margin-top: 28px;
}

.cart-upsell__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 14px;
}

.cart-upsell__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .cart-upsell__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -24px;
    padding: 0 24px 4px;
    scroll-padding-left: 24px;
    scrollbar-width: none;
  }

  .cart-upsell__grid::-webkit-scrollbar {
    display: none;
  }

  .cart-upsell__grid .product-card {
    flex: 0 0 46%;
    scroll-snap-align: start;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.cart-line__img {
  --ph-size: 8px;
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  text-align: center;
  padding: 6px;
}

.cart-line__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-line__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.cart-line__price {
  font-size: 13px;
  color: var(--text-muted);
}

.cart-line__qty {
  flex-shrink: 0;
}

.cart-line__qty button {
  width: 38px;
  height: 40px;
  font-size: 18px;
}

.cart-line__qty .qty-stepper__value {
  width: 42px;
}

.cart-line__total {
  font-size: 16px;
  font-weight: 800;
  color: var(--maroon);
  white-space: nowrap;
}

.cart-line__remove {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-empty {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}

.cart-empty__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--maroon);
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cart-empty__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.cart-empty__cta {
  margin-top: 18px;
}

.btn-outline {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 2px solid var(--maroon);
  color: var(--maroon);
  font-weight: 800;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
}

.cart-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 180px;
}

.cart-summary__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 16px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
}

.cart-summary__row--total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.cart-summary__row--total span:last-child {
  color: var(--maroon);
}

.cart-summary__note {
  font-size: 12px;
  color: var(--text-muted-2);
  margin: 8px 0 16px;
}

.cart-summary__row--discount span:last-child {
  color: var(--leaf);
  font-weight: 700;
}

/* Free-shipping progress nudge */
.freeship {
  background: var(--leaf-bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.freeship__text {
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.freeship__text strong {
  color: var(--leaf-dark);
}

.freeship__track {
  height: 8px;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.freeship__bar {
  display: block;
  height: 100%;
  width: var(--freeship-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--leaf));
  transition: width .4s ease;
}

.freeship.is-done .freeship__bar {
  background: var(--leaf);
}

/* Discount code box */
.coupon {
  border-bottom: 1px dashed var(--border);
  padding-bottom: 14px;
  margin-bottom: 8px;
}

.coupon__form {
  display: flex;
  gap: 8px;
}

.coupon__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 16px;
  text-transform: uppercase;
  background: #fff;
  color: var(--text-main);
}

.coupon__input::placeholder {
  text-transform: none;
  color: var(--text-muted-2);
}

.coupon__input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.coupon__btn {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--text-main);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.coupon__applied {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--leaf-bg);
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 700;
}

.coupon__applied svg {
  flex-shrink: 0;
}

.coupon__label {
  flex: 1;
  min-width: 0;
}

.coupon__remove {
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: underline;
  padding: 6px 2px;
  flex-shrink: 0;
}

.coupon__msg {
  font-size: 12px;
  margin-top: 6px;
}

.coupon__msg:empty {
  display: none;
}

.coupon__msg.is-ok {
  color: var(--leaf-dark);
}

.coupon__msg.is-error,
.coupon__note {
  color: var(--error);
}

.coupon__note {
  font-size: 12px;
  margin-top: 6px;
}

.coupon__hint {
  font-size: 12px;
  color: var(--text-muted-2);
  margin-top: 8px;
}

.coupon__applied:not([hidden]) ~ .coupon__hint {
  display: none;
}

.coupon__hint strong {
  color: var(--maroon);
  letter-spacing: .3px;
}

.cart-summary__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cart-summary__checkout.is-disabled {
  opacity: .5;
  pointer-events: none;
}

.cart-summary__continue {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
}

@media (max-width: 780px) {
  /* minmax(0, ...) not 1fr: a plain 1fr track grows to its widest child
     (cart line, upsell row) and pushed the page wider than the phone */
  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-line {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas: "img info" "img qty" "img total";
    row-gap: 8px;
  }

  .cart-line__img { grid-area: img; width: 64px; height: 64px; }
  .cart-line__info { grid-area: info; }
  .cart-line__qty { grid-area: qty; }
  .cart-line__total { grid-area: total; }
  .cart-line__remove { position: absolute; top: 10px; right: 10px; }
  .cart-line { position: relative; }
  .cart-line__info { padding-right: 34px; } /* keep the name clear of the remove button */

  /* phones: lines -> summary with the checkout button -> upsell, so the
     button isn't pushed below the suggestions */
  .cart-main { display: contents; }
  .cart-items { order: 1; }
  .cart-summary { order: 2; position: static; }
  .cart-upsell { order: 3; margin-top: 0; }
}

/* ==========================================================================
   Checkout page
   ========================================================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

.checkout-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.checkout-form-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 18px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14px;
}

.payment-method:has(input:checked),
.payment-method.is-selected {
  border-color: var(--maroon);
  background: var(--bg-soft);
}

.payment-method input {
  accent-color: var(--maroon);
}

.payment-method__title {
  font-weight: 700;
  display: block;
}

.payment-method__desc {
  font-size: 12px;
  color: var(--text-muted);
}

.order-summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 180px;
}

.order-summary-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 16px;
}

.order-summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.order-summary-item__name {
  color: var(--text-main);
  font-weight: 600;
}

.order-summary-item__qty {
  color: var(--text-muted-2);
  font-weight: 400;
}

.order-summary-item__price {
  white-space: nowrap;
  color: var(--text-muted);
}

.checkout-empty {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 780px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 400px) {
  .checkout-form-card,
  .order-summary-card {
    padding: 18px;
  }
}

/* ==========================================================================
   Order success page
   ========================================================================== */
.success-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}

.success-box__icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-box__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.success-box__text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.success-box__order-id {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--maroon);
  font-weight: 800;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* what happens after ordering */
.success-steps {
  list-style: none;
  counter-reset: step;
  text-align: left;
  margin: 24px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  font-size: 14px;
  color: var(--text-muted);
}

.success-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--maroon);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-steps strong {
  display: block;
  color: var(--text-main);
}

.success-help {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.success-box__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Auth pages (login / register)
   ========================================================================== */
.auth-section {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.auth-card__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 8px;
  text-align: center;
}

.auth-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}

.auth-card__switch {
  margin-top: 18px;
  font-size: 14px;
  text-align: center;
  color: var(--text-muted);
}

.auth-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: -8px 0 22px;
  padding: 14px 16px;
  background: var(--leaf-bg);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-main);
}

.auth-perks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.auth-perks svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--leaf);
}

.auth-guest {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
}

/* ==========================================================================
   Hover-only affordances
   Guarded so touch devices never get a hover style stuck "on" after a tap
   (the classic mobile sticky-hover bug). Devices with a real pointer still
   get every hover effect exactly as before.
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--maroon-dark);
  }

  .topbar__support:hover {
    color: #fff;
  }

  .topbar__social a:hover {
    color: var(--gold);
  }

  .header-search__submit:hover {
    background: var(--maroon-dark);
  }

  .header-account:hover,
  .header-cart:hover {
    color: var(--maroon);
  }

  .desktop-nav__link:hover {
    color: var(--maroon);
  }

  .drawer__link:hover {
    background: var(--bg-alt);
    color: var(--maroon);
  }

  .bottom-nav__item:hover {
    color: var(--maroon);
  }

  .btn-cta:hover {
    background: var(--gold-hover);
    color: var(--brown-dark);
    transform: translateY(-2px);
  }

  .hero__arrow:hover {
    background: rgba(255, 255, 255, .28);
  }

  .category-card:hover {
    color: var(--maroon);
  }

  .category-card:hover .category-card__img {
    border-color: var(--gold);
  }

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

  .product-card__name a:hover {
    color: var(--maroon);
  }

  .btn-add:hover {
    background: var(--maroon-dark);
  }

  /* Prevent the generic a:hover color rule from hiding the icon/label inside
     the anchor-variant of .btn-add (used for variable products). */
  a.btn-add:hover {
    color: #fff;
  }

  .hero__story-link:hover {
    color: #fff;
    border-bottom-color: #fff;
  }

  .promo-card__cta:hover {
    background: var(--gold-hover);
  }

  .promo-card--1 .promo-card__cta:hover {
    background: #ffe9c2;
  }

  .promo-card--2 .promo-card__cta:hover {
    background: var(--maroon-dark);
  }

  .featured-card:hover {
    color: var(--maroon);
  }

  .carousel-arrow:hover {
    background: var(--maroon);
    color: #fff;
  }

  .story-video__play:hover {
    transform: translate(-50%, -50%) scale(1.08);
  }

  .btn-outline-cta:hover {
    background: var(--maroon-dark);
  }

  .video-modal__close:hover {
    background: rgba(255, 255, 255, .3);
  }

  .insta-tile:hover {
    opacity: .85;
  }

  .insta-tile--more:hover {
    background: var(--maroon-dark);
    color: var(--text-lighter);
  }

  .newsletter__submit:hover {
    background: var(--gold-hover);
  }

  .footer-social a:hover {
    background: var(--maroon);
    color: #fff;
  }

  .footer-links a:hover {
    color: var(--footer-heading);
  }

  .back-top:hover {
    background: var(--maroon-dark);
  }

  .filter-btn:hover {
    background: var(--bg-alt);
  }

  .pagination a:hover {
    border-color: var(--gold);
  }

  .btn-add-cart:hover {
    background: var(--maroon-dark);
  }

  .btn-buy-now:hover {
    background: var(--gold-hover);
  }

  .detail-actions .btn-buy-now:hover {
    background: var(--maroon-dark);
  }

  .detail-actions .btn-add-cart:hover {
    background: var(--bg-soft);
  }

  .btn-solid-cta:hover {
    background: var(--maroon-dark);
    color: #fff;
  }

  .btn-block:hover {
    background: var(--maroon-dark);
  }

  .news-featured:hover {
    box-shadow: var(--shadow-card);
    color: inherit;
  }

  .tag-btn:hover {
    border-color: var(--gold);
  }

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

  .news-card__title a:hover {
    color: var(--maroon);
  }

  .share-list a:hover {
    background: var(--maroon);
    color: #fff;
  }

  .related-item:hover {
    opacity: .85;
    color: inherit;
  }

  .btn-cta-block:hover {
    background: var(--maroon-dark);
    color: #fff;
  }

  .policy-nav-btn:hover {
    background: var(--bg-alt);
  }

  .cart-line__name:hover {
    color: var(--maroon);
  }

  .cart-line__remove:hover {
    background: var(--error-bg);
    color: var(--error);
  }

  .btn-outline:hover {
    background: var(--maroon);
    color: #fff;
  }
}

/* ==========================================================================
   Storytelling landing pages (founder story + per-product deep-dive pages)
   ========================================================================== */
:root {
  --ocean-dark: #16303d;
  --ocean: #1f5064;
  --ocean-light: #6fa8bd;
  --terracotta-dark: #6b3312;
  --terracotta: #b85a26;
  --terracotta-light: #e2a565;
  --river-dark: #3d2817;
  --river: #6b4226;
  --river-light: #a67c4e;
}

.story-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--text-lighter);
  position: relative;
}

.story-hero--founder {
  background: linear-gradient(135deg, var(--maroon-darker), var(--maroon-dark) 55%, var(--maroon));
}

.story-hero--khoca {
  background: linear-gradient(135deg, var(--river-dark), var(--river) 55%, var(--river-light));
}

.story-hero--khomuc {
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean) 55%, var(--ocean-light));
}

.story-hero--tomkho {
  background: linear-gradient(135deg, var(--terracotta-dark), var(--terracotta) 55%, var(--terracotta-light));
}

.story-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px;
  align-items: center;
  width: 100%;
}

.story-hero__kicker {
  font-family: var(--font-script);
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--footer-heading);
  display: block;
  margin-bottom: 6px;
}

.story-hero__title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
}

.story-hero__desc {
  font-size: 16px;
  max-width: 480px;
  margin-top: 18px;
  color: var(--text-light);
  line-height: 1.7;
}

.story-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 26px;
}

.story-hero__meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-light);
}

.story-hero__meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.story-hero__visual {
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .12) 12px, rgba(255, 255, 255, .04) 12px, rgba(255, 255, 255, .04) 24px);
  border: 6px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  padding: 20px;
  max-width: 380px;
  margin: 0 auto;
}

.story-hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
  animation: storyBounce 2.2s ease-in-out infinite;
}

@keyframes storyBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.story-breadcrumb {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 13px;
  color: var(--text-light);
  padding: 0 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.story-breadcrumb a {
  color: var(--text-light);
}

.story-breadcrumb .current {
  color: #fff;
}

/* Alternating narrative sections */
.story-section {
  padding: 72px 24px;
}

/* in-page anchors (e.g. story-kho-ca-loc.html#quy-trinh) clear the sticky header */
.story-section[id] {
  scroll-margin-top: 130px;
}

.story-section--alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  align-items: center;
}

.story-section__inner--single {
  grid-template-columns: 1fr;
}

.story-timeline-intro {
  text-align: center;
  margin-bottom: 36px;
}

.story-timeline-intro .story-section__eyebrow {
  display: block;
}

.story-section__media {
  order: 2;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #8a755f;
  text-align: center;
  padding: 16px;
  background: repeating-linear-gradient(135deg, var(--placeholder-1), var(--placeholder-1) 12px, var(--placeholder-2) 12px, var(--placeholder-2) 24px);
}

.story-section--media-left .story-section__media {
  order: 0;
}

.story-section__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.story-section__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin: 10px 0 16px;
  color: var(--maroon);
}

.story-section__text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-main);
}

.story-section__text + .story-section__text {
  margin-top: 14px;
}

.story-section__list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-section__list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--text-main);
}

.story-section__list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--leaf);
}

/* Pull quote */
.story-quote {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}

.story-quote__text {
  font-family: var(--font-script);
  font-size: clamp(26px, 3.2vw, 38px);
  color: var(--maroon);
  line-height: 1.35;
}

.story-quote__author {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Timeline (founder story) */
.story-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.story-timeline-item {
  position: relative;
  padding-bottom: 34px;
}

.story-timeline-item:last-child {
  padding-bottom: 0;
}

.story-timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--border);
}

.story-timeline-item__year {
  font-weight: 800;
  color: var(--maroon);
  font-size: 14px;
  letter-spacing: .3px;
}

.story-timeline-item__title {
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 6px;
  color: var(--text-main);
}

.story-timeline-item__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Highlight strip (why it's different) */
.story-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.story-highlight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
}

.story-highlight-card__icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--bg-alt);
  color: var(--maroon);
}

.story-highlight-card__icon--khoca {
  background: #f1e9dd;
  color: var(--river);
}

.story-highlight-card__icon--khomuc {
  background: #e6eef1;
  color: var(--ocean);
}

.story-highlight-card__icon--tomkho {
  background: #f7e8db;
  color: var(--terracotta);
}

.story-highlight-card__title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.story-highlight-card__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buy card embedded in a story page */
.story-buy {
  background: var(--bg-alt);
  padding: 64px 24px;
}

.story-buy-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.story-buy-card__img {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #8a755f;
  background: repeating-linear-gradient(135deg, var(--placeholder-1), var(--placeholder-1) 12px, var(--placeholder-2) 12px, var(--placeholder-2) 24px);
}

.story-buy-card__badge {
  display: inline-block;
  background: var(--maroon);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.story-buy-card__name {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.story-buy-card__rating {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.story-buy-card__price-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 20px;
}

.story-buy-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-buy-card__name a {
  color: inherit;
}

/* Founder story: three picks side by side instead of one centered card */
.founder-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.founder-picks .story-buy-card {
  max-width: none;
  margin: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.founder-picks .story-buy-card__badge {
  align-self: center;
}

.founder-picks .story-buy-card__actions {
  margin-top: auto;
}

.founder-picks .btn-add-cart {
  min-width: 0;
}

.founder-picks__note {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .founder-picks {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -24px;
    padding: 0 24px 6px;
    scroll-padding-left: 24px;
  }

  .founder-picks .story-buy-card {
    flex: 0 0 min(78%, 300px);
    scroll-snap-align: start;
  }
}

.story-buy-card__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted-2);
}

/* FAQ accordion */
.story-faq {
  max-width: 760px;
  margin: 0 auto;
}

.story-faq-item {
  border-bottom: 1px solid var(--border);
}

.story-faq-item__q {
  width: 100%;
  text-align: left;
  padding: 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
}

.story-faq-item__q svg {
  flex-shrink: 0;
  color: var(--maroon);
  transition: transform .25s ease;
}

.story-faq-item.is-open .story-faq-item__q svg {
  transform: rotate(180deg);
}

.story-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0 4px;
}

.story-faq-item.is-open .story-faq-item__a {
  max-height: 320px;
  padding-bottom: 20px;
}

/* Closing CTA banner */
.story-cta {
  padding: 68px 24px;
  text-align: center;
  color: var(--text-lighter);
}

.story-cta__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.story-cta__text {
  font-size: 15px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 28px;
}

.story-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cross-links to the other story pages */
.story-related {
  padding: 64px 24px;
  background: #fff;
}

.story-related__title {
  margin-bottom: 24px;
}

.story-related__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.story-related-card {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-lighter);
  position: relative;
  min-height: 160px;
  align-items: flex-end;
  padding: 22px;
}

.story-related-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 65%);
}

.story-related-card__content {
  position: relative;
}

.story-related-card__label {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 6px;
}

.story-related__lead {
  max-width: 560px;
  margin: -12px auto 24px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .story-related--home {
    padding: 44px 24px;
  }

  .story-related--home .story-related__grid {
    gap: 12px;
  }

  .story-related--home .story-related-card {
    min-height: 116px;
    padding: 18px;
  }
}

.story-related-card__title {
  position: relative;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}

/* Buying guide: how to spot the genuine article vs. low-quality imitations */
.story-compare {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.story-compare__col {
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid var(--border);
}

.story-compare__col--good {
  border-color: var(--leaf);
  background: var(--leaf-bg);
}

.story-compare__col--bad {
  border-color: var(--error);
  background: var(--error-bg);
}

.story-compare__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.story-compare__col--good .story-compare__heading {
  color: var(--leaf-dark);
}

.story-compare__col--bad .story-compare__heading {
  color: var(--error);
}

.story-compare__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-compare__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.story-compare__list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.story-compare__col--good svg {
  color: var(--leaf);
}

.story-compare__col--bad svg {
  color: var(--error);
}

/* Recipe suggestions */
.story-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.story-recipe-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.story-recipe-card__img {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #8a755f;
  text-align: center;
  padding: 16px;
  background: repeating-linear-gradient(135deg, var(--placeholder-1), var(--placeholder-1) 12px, var(--placeholder-2) 12px, var(--placeholder-2) 24px);
}

.story-recipe-card__body {
  padding: 20px;
}

.story-recipe-card__title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.story-recipe-card__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Customer reviews specific to a story page (static grid, no carousel) */
.story-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.story-review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.story-review-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.story-review-card__avatar {
  --ph-size: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: repeating-linear-gradient(135deg, var(--placeholder-1), var(--placeholder-1) 6px, var(--placeholder-2) 6px, var(--placeholder-2) 12px);
}

.story-review-card__name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}

.story-review-card__stars {
  display: block;
  color: var(--star);
  letter-spacing: 1px;
  font-size: 13px;
}

.story-review-card__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Scroll-reveal utility, shared with the fade-in-on-scroll behaviour */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .story-section {
    padding: 52px 24px;
  }

  .story-hero__inner {
    padding: 56px 24px;
  }
}
