/* =========================================================================
   QUÝ THU — MOCKUP STYLESHEET
   Màu lấy từ logo (xanh dừa, đỏ, vàng) + bao bì (nâu kraft).
   ========================================================================= */
:root {
  --palm-900: #123524;
  --palm-800: #184630;
  --palm-700: #1F5B3A;
  --palm-500: #3E8A4E;
  --palm-100: #E3EDDC;
  --palm-50:  #F2F6EE;
  --red:      #C21F2A;
  --red-dark: #9C1720;
  --gold:     #EFA81A;
  --gold-soft:#FCEFD0;
  --kraft:    #EDE3D1;
  --ink:      #17251C;
  --muted:    #5B695F;
  --line:     #DCE4D5;
  --bg:       #FFFFFF;
  --bg-alt:   var(--palm-50);
  --radius-s: 10px;
  --radius:   16px;
  --radius-l: 28px;
  --shadow:   0 18px 40px -22px rgba(18, 53, 36, .35);
  --container: 1280px;
  --ff-display: 'Fraunces', 'Times New Roman', serif;
  --ff-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--ff-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; font-variation-settings: 'SOFT' 60, 'opsz' 72; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--palm-700); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--b); color: var(--c); font-weight: 600; font-size: .95rem;
  border: 1.5px solid var(--b); transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--b); }
.btn:active { transform: translateY(0); }
.btn--red { --b: var(--red); }
.btn--gold { --b: var(--gold); --c: var(--palm-900); }
.btn--ghost { background: transparent; color: var(--b); }
.btn--ghost:hover { background: var(--b); color: var(--c); }
.btn--light { --b: #fff; --c: var(--palm-900); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { font-weight: 600; color: var(--palm-700); border-bottom: 1.5px solid currentColor; padding-bottom: 1px; transition: color .2s; }
.link:hover { color: var(--red); }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Announcement ---------- */
.announce { background: var(--palm-900); color: #E9F1E3; font-size: .85rem; }
.announce .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.announce a:hover { color: var(--gold); }
.announce__msg { display: flex; align-items: center; gap: 8px; }
.announce__msg .star { color: var(--gold); }
.announce__right { display: none; gap: 20px; }
@media (min-width: 900px) { .announce__right { display: flex; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(18, 53, 36, .4); }
.hdr-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 72px; transition: min-height .3s; }
.site-header.is-scrolled .hdr-top { min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 54px; height: auto; transition: width .3s; }
.site-header.is-scrolled .logo img { width: 46px; }
.logo__text { display: none; line-height: 1.1; }
.logo__text b { font-family: var(--ff-display); font-size: 1.3rem; color: var(--red); display: block; letter-spacing: .01em; }
.logo__text small { color: var(--muted); font-size: .72rem; }
@media (min-width: 420px) { .logo__text { display: block; } }

.search { position: relative; display: none; max-width: 520px; width: 100%; justify-self: center; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--palm-50); padding: 0 52px 0 20px; transition: border-color .2s, background .2s; }
.search input:focus { outline: none; border-color: var(--palm-500); background: #fff; }
.search > button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%; background: var(--palm-700); color: #fff; display: grid; place-items: center; }
.search > button .icon { width: 18px; height: 18px; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: none; z-index: 80; max-height: 70vh; overflow: auto; }
.suggest.is-open { display: block; }
.suggest__label { font-size: .78rem; color: var(--muted); padding: 6px 10px 4px; }
.suggest__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--palm-50); border: 1px solid var(--line); font-size: .85rem; transition: background .2s, border-color .2s; }
.chip:hover, .chip.is-active { background: var(--palm-700); border-color: var(--palm-700); color: #fff; }
.suggest__item { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-s); }
.suggest__item:hover, .suggest__item.is-active { background: var(--palm-50); }
.suggest__item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: #f3f3f1; }
.suggest__item b { display: block; font-weight: 600; font-size: .93rem; }
.suggest__item small { color: var(--muted); font-size: .8rem; }
.suggest__item mark { background: var(--gold-soft); color: inherit; border-radius: 3px; }
.suggest__empty { padding: 14px 10px; color: var(--muted); font-size: .9rem; }

.hdr-actions { display: flex; align-items: center; gap: 4px; grid-column: 3; justify-self: end; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--palm-50); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; transition: transform .3s var(--ease); }
.badge[hidden] { display: none; }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.hdr-b2b { display: none; margin-left: 8px; }
.burger { display: grid; }
.hdr-search-mobile { padding: 0 0 12px; }
.hdr-search-mobile .search { display: block; max-width: none; }
@media (min-width: 1024px) {
  .search { display: block; }
  .hdr-search-mobile { display: none; }
  .hdr-b2b { display: inline-flex; }
  .burger { display: none; }
  .hdr-top { gap: 32px; }
}

/* Primary nav */
.nav { display: none; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .nav { display: block; } }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 6px; }
.nav__item { position: static; }
.nav__item.has-drop { position: relative; }
.nav__item.is-mega { position: static; }
.nav__link { display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 16px; font-weight: 500; font-size: .96rem; position: relative; transition: color .2s; }
.nav__link::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 10px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link[aria-current="page"] { color: var(--palm-700); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav__item:hover .chev, .nav__item.is-open .chev { transform: rotate(180deg); }
.nav__link--hl { color: var(--red); font-weight: 700; }
.nav__link--hl::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.drop, .mega { position: absolute; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s var(--ease), visibility .22s; z-index: 70; }
.nav__item:hover > .drop, .nav__item:hover > .mega, .nav__item.is-open > .drop, .nav__item.is-open > .mega, .nav__item:focus-within > .drop, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.drop { left: 0; min-width: 260px; list-style: none; margin: 0; padding: 10px; }
.drop a { display: block; padding: 10px 14px; border-radius: var(--radius-s); font-size: .94rem; transition: background .2s, color .2s; }
.drop a:hover { background: var(--palm-50); color: var(--palm-700); }
.mega { left: 0; right: 0; border-radius: 0 0 var(--radius-l) var(--radius-l); }
.mega__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; padding: 28px 32px 32px; max-width: var(--container); margin: 0 auto; }
.mega__col h4 { font-family: var(--ff-body); font-size: .98rem; font-weight: 700; margin-bottom: 4px; }
.mega__col h4 a:hover { color: var(--red); }
.mega__col p { color: var(--muted); font-size: .84rem; margin: 0 0 12px; }
.mega__lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mega__line strong { display: block; font-size: .85rem; color: var(--palm-700); margin-bottom: 6px; }
.mega__line a { display: block; font-size: .9rem; padding: 3px 0; color: var(--ink); transition: color .2s, transform .2s; }
.mega__line a:hover { color: var(--red); transform: translateX(3px); }
.mega__tile { display: block; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.mega__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__tile:hover img { transform: scale(1.05); }
.mega__tile span { position: absolute; left: 12px; bottom: 12px; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; }
.mega__feature { background: var(--palm-900); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; position: relative; overflow: hidden; }
.mega__feature h4 { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 600; }
.mega__feature p { color: #C9DCC5; font-size: .88rem; margin: 0; }
.mega__feature svg { position: absolute; color: #fff; right: -30px; bottom: -40px; width: 150px; opacity: .14; transform: rotate(-12deg); pointer-events: none; }
.mega__feature img { position: absolute; right: -30px; bottom: -40px; width: 150px; opacity: .25; transform: rotate(-12deg); }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(12, 30, 20, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 90; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.mnav { position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: #fff; z-index: 95; transform: translateX(-102%); transition: transform .38s var(--ease); display: flex; flex-direction: column; }
.mnav.is-open { transform: none; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mnav__body { overflow: auto; padding: 8px 16px 24px; flex: 1; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav__link { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; font-weight: 600; list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .chev { transition: transform .25s; width: 16px; height: 16px; }
.mnav details[open] summary .chev { transform: rotate(180deg); }
.mnav__sub { padding: 0 0 12px 10px; }
.mnav__sub a { display: block; padding: 7px 0; color: var(--muted); }
.mnav__sub b { display: block; font-size: .8rem; color: var(--palm-700); margin-top: 8px; }
.mnav__link { border-bottom: 1px solid var(--line); }
.mnav__foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* Cart drawer */
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(94vw, 420px); background: #fff; z-index: 95; transform: translateX(102%); transition: transform .38s var(--ease); display: flex; flex-direction: column; }
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart__head h3 { font-size: 1.3rem; }
.cart__body { flex: 1; overflow: auto; padding: 12px 20px; }
.cart__foot { border-top: 1px solid var(--line); padding: 18px 20px; display: grid; gap: 10px; }
.cart__row { display: flex; justify-content: space-between; font-size: .95rem; }
.cart__row b { font-size: 1.15rem; color: var(--red); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.cart-item img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; background: #f3f3f1; }
.cart-item h4 { font-family: var(--ff-body); font-size: .93rem; font-weight: 600; }
.cart-item small { color: var(--muted); }
.cart-item__price { font-weight: 700; white-space: nowrap; }
.cart-item__rm { color: var(--muted); font-size: .8rem; margin-top: 6px; text-decoration: underline; }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.cart-empty .icon { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--palm-500); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; font-size: 1.1rem; }
.qty input { width: 34px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--lg button { width: 44px; height: 46px; }
.qty--lg input { width: 44px; font-weight: 600; }
.ship-note { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--palm-900); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .92rem; display: flex; gap: 10px; align-items: center; opacity: 0; visibility: hidden; transition: all .3s var(--ease); z-index: 120; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { color: var(--gold); width: 20px; height: 20px; }
@media (min-width: 768px) { .toast { bottom: 28px; } }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--palm-900); overflow: hidden; touch-action: pan-y; }
.hero__track { display: flex; aspect-ratio: 2048 / 868; will-change: transform; transition: transform .75s cubic-bezier(.65, .05, .25, 1); cursor: grab; user-select: none; }
.hero__track.is-dragging { transition: none; cursor: grabbing; }
.hero__track.no-anim { transition: none; }
.hero__slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.hero__cta { position: absolute; z-index: 3; left: 16px; bottom: 16px; }
@media (min-width: 768px) { .hero__cta { left: 6%; bottom: 12%; } }
.hero__cta .btn { opacity: 0; transform: translateY(14px); transition: opacity .5s .35s, transform .5s .35s var(--ease); }
.hero__slide.is-active .hero__cta .btn { opacity: 1; transform: none; }
.hero__count { color: #fff; font-weight: 600; font-size: .85rem; min-width: 44px; text-align: center; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
@media (max-width: 575px) { .hero__count { display: none; } }
.hero__ui { position: absolute; z-index: 4; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; }
@media (min-width: 768px) { .hero__ui { right: 4%; bottom: 10%; } }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .45); overflow: hidden; position: relative; }
.hero__dot i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i { animation: prog var(--dur, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active i { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }
.hero__arrow { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--palm-900); display: none; place-items: center; transition: background .2s, transform .2s; }
.hero__arrow:hover { background: #fff; transform: scale(1.06); }
@media (min-width: 768px) { .hero__arrow { display: grid; } }
@media (max-width: 575px) { .hero__cta .btn { min-height: 36px; padding: 0 14px; font-size: .8rem; } .hero__dot { width: 22px; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 48px 0; }
@media (min-width: 1024px) { .section { padding: 104px 0; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.sec-head__txt { max-width: 640px; }
.sec-head__kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.sec-head__kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.sec-head p { color: var(--muted); margin: 12px 0 0; font-size: 1.04rem; }

/* Trust row */
.trust { border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; }
.trust__item { display: flex; gap: 14px; align-items: center; padding: 22px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__item:nth-child(2n) { border-right: 0; }
.trust__item:nth-last-child(-n+2) { border-bottom: 0; }
.trust__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--palm-50); color: var(--palm-700); display: grid; place-items: center; }
.trust__ico--gold { background: var(--gold-soft); color: #A46A00; }
.trust__item b { display: block; font-size: .95rem; line-height: 1.3; }
@media (max-width: 899px) { .trust__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 14px; } .trust__ico { width: 40px; height: 40px; border-radius: 12px; } .trust__item b { font-size: .88rem; } }
.trust__item small { color: var(--muted); font-size: .82rem; line-height: 1.35; display: block; }
@media (min-width: 900px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item { padding: 28px 24px; border-bottom: 0; }
  .trust__item:nth-child(2n) { border-right: 1px solid var(--line); }
  .trust__item:last-child { border-right: 0; }
}

/* Category mosaic */
.cats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.cat-tile { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--kraft); min-height: 220px; display: flex; isolation: isolate; color: #fff; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.cat-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(10, 26, 17, .78) 100%); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__txt { margin-top: auto; padding: 18px; width: 100%; }
.cat-tile__txt h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
.cat-tile__txt p { display: none; font-size: .9rem; color: #E7EFE3; margin: 8px 0 0; max-width: 34ch; }
.cat-tile__count { display: inline-block; font-size: .78rem; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .35); padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.cat-tile__go { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--palm-900); display: grid; place-items: center; transform: rotate(-45deg) scale(.85); opacity: 0; transition: all .35s var(--ease); }
.cat-tile:hover .cat-tile__go { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .cats { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 290px 290px; gap: 18px; }
  .cats .cat-tile:first-child { grid-row: span 2; }
  .cats .cat-tile:nth-child(4) { grid-column: span 2; }
  .cat-tile__txt { padding: 28px; }
  .cat-tile__txt p { display: block; }
}
@media (max-width: 899px) { .cats .cat-tile:first-child, .cats .cat-tile:nth-child(4) { grid-column: span 2; } .cats .cat-tile:first-child { min-height: 300px; } }

/* Product card */
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); }
.pcard__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: #F1F0EC; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .8s var(--ease); }
.pcard__media .alt { opacity: 0; }
.pcard:hover .pcard__media .alt { opacity: 1; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.tag { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #fff; color: var(--palm-900); }
.tag--hot { background: var(--red); color: #fff; }
.tag--new { background: var(--gold); color: var(--palm-900); }
.tag--ocop { background: var(--palm-900); color: var(--gold); }
.pcard__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; transform: translateY(12px); opacity: 0; transition: all .35s var(--ease); }
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { transform: none; opacity: 1; }
@media (hover: none) { .pcard__quick { display: none; } }
.pcard__body { padding: 14px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.pcard__line { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pcard__line i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--palm-500)); }
.pcard__name { font-family: var(--ff-body); font-weight: 600; font-size: 1rem; line-height: 1.35; margin: 6px 0 4px; }
.pcard__name a:hover { color: var(--palm-700); }
.pcard__tagline { font-size: .85rem; color: var(--muted); margin: 0 0 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; color: var(--red); font-size: 1.06rem; }
.price small { color: var(--muted); font-weight: 500; font-size: .78rem; }
@media (max-width: 599px) { .pcard .price small { display: none; } .pcard__name { font-size: .93rem; } }
.add-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--palm-50); color: var(--palm-700); display: grid; place-items: center; border: 1.5px solid var(--line); transition: all .25s; flex: none; }
.add-btn:hover { background: var(--palm-700); border-color: var(--palm-700); color: #fff; }
.add-btn .icon { width: 19px; height: 19px; }

.pgrid { display: grid; gap: 28px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } }
@media (min-width: 1200px) { .pgrid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Carousel */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (min-width: 600px) { .carousel__track { grid-auto-columns: 42%; } }
@media (min-width: 900px) { .carousel__track { grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; } }
.carousel__nav { display: flex; gap: 8px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; transition: all .2s; }
.round-btn:hover:not(:disabled) { background: var(--palm-900); color: #fff; border-color: var(--palm-900); }
.round-btn:disabled { opacity: .35; cursor: default; }
.carousel__bar { height: 3px; background: var(--line); border-radius: 3px; margin-top: 28px; overflow: hidden; }
.carousel__bar i { display: block; height: 100%; width: 30%; background: var(--palm-700); border-radius: 3px; transition: transform .2s; }

/* ---------- Flavor explorer (điểm nhấn) ---------- */
.flavor { --fc: #8B3A2C; background: var(--fc); color: #fff; transition: background-color .6s ease; overflow: hidden; position: relative; }
.flavor__grid { display: grid; }
.flavor__info { padding: 56px 16px 36px; position: relative; z-index: 2; }
.flavor__kicker { font-weight: 600; font-size: .92rem; color: rgba(255, 255, 255, .78); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.flavor__kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.flavor__title { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .98; font-weight: 600; font-variation-settings: 'SOFT' 100, 'opsz' 144; margin-bottom: 18px; min-height: 2em; }
.flavor__title span { display: block; font-size: .36em; font-weight: 500; opacity: .8; margin-bottom: 8px; letter-spacing: 0; }
.flavor__desc { font-size: 1.05rem; color: rgba(255, 255, 255, .88); max-width: 40ch; min-height: 3.4em; }
.flavor__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 22px 0 32px; }
.flavor__price { font-size: 1.5rem; font-weight: 700; }
.flavor__price small { font-size: .85rem; font-weight: 500; opacity: .75; }
.flavor__picker { display: grid; gap: 14px; }
.flavor__group b { display: block; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.flavor__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { padding: 7px 14px 7px 8px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; color: #fff; }
.fchip i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255, 255, 255, .85); }
.fchip:hover { border-color: #fff; }
.fchip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }
.flavor__media { position: relative; min-height: 380px; background: #F1F1EF; }
.flavor__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s ease, transform 1.2s var(--ease); }
.flavor__media img.is-leaving { opacity: 0; transform: scale(1.04); }
.flavor__pack { position: absolute; left: 16px; bottom: 16px; width: 112px; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); border: 4px solid #fff; transform: rotate(-4deg); transition: transform .5s var(--ease); background: #fff; z-index: 2; }
.flavor__pack img { position: static; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; }
.flavor__counter { position: absolute; right: 16px; top: 16px; z-index: 2; background: rgba(255, 255, 255, .9); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; }
@media (min-width: 1024px) {
  .flavor__grid { grid-template-columns: 1fr 1fr; min-height: 720px; }
  .flavor__info { padding: 96px 56px 96px max(32px, calc((100vw - var(--container)) / 2 + 32px)); display: flex; flex-direction: column; justify-content: center; }
  .flavor__media { min-height: auto; }
  .flavor__pack { left: 32px; bottom: 32px; width: 168px; }
}

/* Story split */
.story { display: grid; gap: 32px; align-items: center; }
.story__media { position: relative; }
.story__media .main { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/5; }
.story__media .main img { width: 100%; height: 100%; object-fit: cover; }
.story__media .sub { position: absolute; right: -8px; bottom: -28px; width: 48%; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); aspect-ratio: 16/10; }
.story__media .sub img { width: 100%; height: 100%; object-fit: cover; }
.story__seal { position: absolute; left: -10px; top: 24px; width: 118px; height: 118px; border-radius: 50%; background: var(--gold); color: var(--palm-900); display: grid; place-items: center; text-align: center; font-weight: 700; line-height: 1.1; box-shadow: var(--shadow); }
.story__seal svg { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.story__seal strong { font-family: var(--ff-display); font-size: 2rem; display: block; }
.story__seal small { font-size: .7rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.story__txt h2 { margin-bottom: 20px; }
.story__txt p { color: var(--muted); font-size: 1.04rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 28px 0; }
.facts > div { background: #fff; padding: 18px; }
.facts b { font-family: var(--ff-display); font-size: 1.9rem; color: var(--palm-700); display: block; line-height: 1.1; }
.facts small { color: var(--muted); font-size: .85rem; }
@media (min-width: 1024px) { .story { grid-template-columns: 1fr 1fr; gap: 88px; } .story__media .sub { right: -40px; } }

/* Gift band */
.gift { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--red-dark); color: #fff; display: grid; isolation: isolate; }
.gift__bg { position: absolute; inset: 0; z-index: -1; opacity: .16; background-image: radial-gradient(circle at 20% 30%, var(--gold) 0 2px, transparent 3px); background-size: 28px 28px; }
.gift__txt { padding: 40px 24px; }
.gift__txt h2 { margin-bottom: 16px; }
.gift__txt p { color: #F6D9D6; max-width: 46ch; }
.gift__list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.gift__list li { display: flex; gap: 10px; align-items: flex-start; }
.gift__list .icon { color: var(--gold); flex: none; width: 20px; height: 20px; margin-top: 3px; }
.gift__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.gift__media { min-height: 320px; position: relative; }
.gift__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gift { grid-template-columns: 1.05fr 1fr; } .gift__txt { padding: 64px 56px; } }

/* Marquee */
.marquee { overflow: hidden; background: var(--gold); color: var(--palm-900); padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--ff-display); font-size: 1.35rem; font-weight: 600; white-space: nowrap; }
.marquee__track span::after { content: ''; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
@keyframes marq { to { transform: translateX(-50%); } }

/* News */
.news-grid { display: grid; gap: 28px; }
.ncard { display: flex; flex-direction: column; }
.ncard__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--palm-50); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.05); }
.ncard__meta { display: flex; gap: 12px; align-items: center; font-size: .82rem; color: var(--muted); margin: 14px 0 8px; }
.ncard__cat { color: var(--red); font-weight: 600; }
.ncard h3 { font-family: var(--ff-body); font-size: 1.12rem; font-weight: 600; line-height: 1.4; }
.ncard h3 a:hover { color: var(--palm-700); }
.ncard p { color: var(--muted); font-size: .92rem; margin: 8px 0 0; }
.ncard--big .ncard__media { aspect-ratio: 4/5; }
.ncard--big h3 { font-family: var(--ff-display); font-size: 1.55rem; font-weight: 600; line-height: 1.25; }
.ncard-stack { display: grid; gap: 28px; align-content: start; }
.nlist { list-style: none; margin: 0; padding: 0; }
.nlist li { border-top: 1px solid var(--line); }
.nlist li:last-child { border-bottom: 1px solid var(--line); }
.nlist a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; transition: padding .25s var(--ease); }
.nlist a:hover { padding-left: 8px; }
.nlist a:hover b { color: var(--palm-700); }
.nlist b { font-weight: 600; line-height: 1.45; }
.nlist small { color: var(--muted); grid-column: 1; font-size: .82rem; }
.nlist .icon { grid-row: span 2; align-self: center; color: var(--muted); width: 18px; }
@media (min-width: 1024px) { .news-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; } .news-grid .nlist-wrap { grid-column: 2 / span 2; } }
@media (min-width: 1024px) { .news-home { grid-template-columns: 1fr 1fr 1.1fr; } .news-home .nlist-wrap { grid-column: auto; } }

/* Press */
.press { display: grid; gap: 16px; }
.press__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 18px; transition: border-color .25s, transform .25s var(--ease); }
.press__card:hover { border-color: var(--palm-500); transform: translateY(-3px); }
.press__card q { font-family: var(--ff-display); font-size: 1.2rem; line-height: 1.4; quotes: '“' '”'; }
.press__src { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--muted); }
.press__src b { color: var(--ink); }
@media (min-width: 900px) { .press { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Newsletter */
.newsletter { background: var(--palm-900); color: #fff; border-radius: var(--radius-l); padding: 40px 24px; display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.newsletter h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.newsletter p { color: #C9DCC5; margin: 0; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1 1 220px; height: 50px; border-radius: 999px; border: 0; padding: 0 22px; color: var(--ink); }
.newsletter .palm { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .08; pointer-events: none; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; padding: 56px; } }

/* ---------- Footer ---------- */
.footer { background: #0F2C1E; color: #C6D6C4; padding: 72px 0 0; margin-top: 0; font-size: .93rem; }
.footer a:hover { color: var(--gold); }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer__brand img { width: 64px; background: #fff; border-radius: 16px; padding: 6px; }
.footer__brand b { font-family: var(--ff-display); color: #fff; font-size: 1.5rem; display: block; }
.footer__brand small { color: #9FB59C; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer h4 { font-family: var(--ff-body); color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #fff; transition: all .2s; }
.socials a:hover { background: var(--gold); color: var(--palm-900); border-color: var(--gold); }
.ocop-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(239, 168, 26, .5); border-radius: var(--radius); color: #fff; margin-bottom: 18px; }
.ocop-badge .stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.ocop-badge b { display: block; font-size: .95rem; }
.ocop-badge small { color: #9FB59C; font-size: .78rem; }
.footer__sub { display: flex; gap: 8px; margin-top: 10px; }
.footer__sub input { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 16px; }
.footer__sub input::placeholder { color: #9FB59C; }
.footer__map { border-radius: var(--radius); overflow: hidden; height: 150px; margin-top: 18px; border: 1px solid rgba(255, 255, 255, .12); background: #18392A; }
.footer__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .84rem; color: #9FB59C; }
.pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay span { background: #fff; color: var(--ink); border-radius: 6px; padding: 4px 10px; font-weight: 800; font-size: .74rem; letter-spacing: .02em; }
.pay span.momo { background: #A50064; color: #fff; }
.pay span.vnpay { color: #005BAA; }
.pay span.vnpay i { color: var(--red); font-style: normal; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.35fr 1fr 1fr 1.25fr 1.2fr; gap: 40px; } }

/* Mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .3); }
.mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 9px; font-size: .72rem; font-weight: 600; color: var(--ink); position: relative; }
.mbar .icon { width: 22px; height: 22px; }
.mbar .mbar__cta { background: var(--red); color: #fff; }
.mbar .badge { top: 3px; right: calc(50% - 22px); }
body { padding-bottom: 62px; }
@media (min-width: 768px) { .mbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--palm-50); padding: 28px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 14px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 12px 0 0; font-size: 1.04rem; }
.page-hero--img { position: relative; color: #fff; background: var(--palm-900); border: 0; padding: 40px 0 64px; overflow: hidden; isolation: isolate; }
.page-hero--img img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 44, 30, .9) 0%, rgba(15, 44, 30, .55) 60%, rgba(15, 44, 30, .25) 100%); }
.page-hero--img p { color: #DDE8D9; }
.page-hero--img .crumbs, .page-hero--img .crumbs a { color: #C9DCC5; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero--img .crumbs [aria-current] { color: #fff; }

/* Shop layout */
.shop { display: grid; gap: 32px; padding: 40px 0 88px; }
@media (min-width: 1024px) { .shop { grid-template-columns: 260px 1fr; gap: 48px; } }
.filters { display: none; }
.filters.is-open { display: block; position: fixed; inset: 0; z-index: 96; background: #fff; overflow: auto; padding: 20px; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: 140px; align-self: start; } .filters .filters__close { display: none; } }
.fgroup { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fgroup:first-of-type { padding-top: 0; }
.fgroup h4 { font-family: var(--ff-body); font-size: .95rem; font-weight: 700; margin-bottom: 12px; }
.fgroup label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .93rem; cursor: pointer; }
.fgroup input[type=checkbox], .fgroup input[type=radio] { width: 18px; height: 18px; accent-color: var(--palm-700); }
.fgroup .count { margin-left: auto; color: var(--muted); font-size: .8rem; }
.fgroup .swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.toolbar__count { color: var(--muted); font-size: .93rem; }
.toolbar select { height: 42px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 36px 0 16px; background: #fff; }
.filter-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filter-toggle { display: none; } }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.subnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 22px 0 0; padding-bottom: 2px; }
.subnav::-webkit-scrollbar { display: none; }
.subnav .chip { white-space: nowrap; background: #fff; }
.subnav .chip.is-active { background: var(--palm-700); color: #fff; }
.empty-state { text-align: center; padding: 64px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state h3 { color: var(--ink); margin-bottom: 8px; }

/* Product detail */
.pd { display: grid; gap: 36px; padding: 32px 0 72px; }
@media (min-width: 1024px) { .pd { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.gallery { display: grid; gap: 12px; }
.gallery__main { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/5; background: #F1F0EC; position: relative; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__main.is-zoom img { transform: scale(1.8); cursor: zoom-out; }
.gallery__thumbs { display: flex; gap: 10px; }
.gallery__thumbs button { width: 78px; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: all .2s; background: #f1f0ec; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--palm-700); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .gallery { grid-template-columns: 84px 1fr; position: sticky; top: 140px; align-self: start; } .gallery__thumbs { flex-direction: column; order: -1; } }
.pd__info h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 10px 0 12px; }
.pd__line { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.pd__line i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.pd__tagline { color: var(--muted); font-size: 1.06rem; }
.pd__price { font-size: 2rem; font-weight: 700; color: var(--red); margin: 18px 0; display: flex; align-items: baseline; gap: 10px; }
.pd__price--contact { font-size: 1.45rem; flex-wrap: wrap; }
.pd__price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.opt-label { font-weight: 600; font-size: .92rem; margin-bottom: 10px; display: block; }
.variants { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.variant { padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 500; transition: all .2s; text-align: left; }
.variant small { display: block; color: var(--muted); font-size: .8rem; }
.variant[aria-pressed="true"] { border-color: var(--palm-700); background: var(--palm-50); box-shadow: inset 0 0 0 1px var(--palm-700); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy-row .qty { margin: 0; }
.buy-row .btn { flex: 1 1 180px; min-height: 50px; }
.pd__assure { display: grid; gap: 10px; margin: 26px 0; padding: 18px; border-radius: var(--radius); background: var(--palm-50); }
.pd__assure div { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.pd__assure .icon { color: var(--palm-700); flex: none; }
.pd__assure a { color: var(--palm-700); font-weight: 600; text-decoration: underline; }
.pd__cert { display: flex; gap: 10px; flex-wrap: wrap; }
.tabs { margin-top: 64px; }
.tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__btn { padding: 14px 18px; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; }
.tabs__btn[aria-selected="true"] { color: var(--ink); border-color: var(--red); }
.tabs__panel { padding: 28px 0; max-width: 760px; }
.tabs__panel[hidden] { display: none; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 600; color: var(--muted); }
.review-empty { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.stars-input { display: inline-flex; gap: 4px; font-size: 1.6rem; color: var(--line); margin: 10px 0; }
.stars-input button { color: inherit; transition: color .15s, transform .15s; }
.stars-input button.on { color: var(--gold); }
.stars-input button:hover { transform: scale(1.15); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 62px; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: flex; gap: 12px; align-items: center; transform: translateY(120%); transition: transform .35s var(--ease); }
.sticky-buy.is-show { transform: none; }
.sticky-buy img { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; }
.sticky-buy b { display: block; font-size: .88rem; line-height: 1.3; }
.sticky-buy .btn { margin-left: auto; }
@media (min-width: 768px) { .sticky-buy { bottom: 0; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 10px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--palm-500); box-shadow: 0 0 0 4px rgba(62, 138, 78, .14); }
.field small { color: var(--muted); font-size: .8rem; }
.field.is-error input, .field.is-error select { border-color: var(--red); }
.field__err { color: var(--red); font-size: .82rem; margin-top: 4px; display: none; }
.field.is-error .field__err { display: block; }
.field label.check { display: flex; font-weight: 500; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--palm-700); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; }
@media (min-width: 768px) { .card { padding: 40px; } }

/* Contact */
.contact { display: grid; gap: 32px; padding: 56px 0 96px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.25fr; gap: 56px; } }
.cinfo { display: grid; gap: 14px; }
.cinfo__item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--palm-50); }
.cinfo__item .trust__ico { background: #fff; }
.cinfo__item b { display: block; }
.cinfo__item span, .cinfo__item a { color: var(--muted); font-size: .95rem; display: block; }
.cinfo__item a:hover { color: var(--red); }
.seg { display: inline-flex; background: var(--palm-50); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.seg button { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .25s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .2); }
.map-frame { border-radius: var(--radius-l); overflow: hidden; height: 360px; border: 1px solid var(--line); background: var(--palm-50); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.success { text-align: center; padding: 32px 12px; }
.success__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--palm-700); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; animation: pop .5s var(--ease); }
.success__ico .icon { width: 36px; height: 36px; stroke-width: 2.4; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: none; opacity: 1; } }

/* About */
.about-intro { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .about-intro { grid-template-columns: 1fr 1fr; gap: 72px; } }
.about-intro__img { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16/11; }
.about-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.subnav-sticky { position: sticky; top: 72px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .subnav-sticky { top: 122px; } }
.subnav-sticky .subnav { margin: 0; padding: 12px 0; }
.values { display: grid; gap: 16px; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.value { padding: 28px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); }
.value__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--palm-50); color: var(--palm-700); display: grid; place-items: center; margin-bottom: 18px; }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--muted); margin: 0; font-size: .96rem; }
.value--dark { background: var(--palm-900); color: #fff; border-color: var(--palm-900); }
.value--dark p { color: #C9DCC5; }
.value--dark .value__ico { background: rgba(255, 255, 255, .1); color: var(--gold); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; left: 39px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 18px 0; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 33px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--palm-700); }
.timeline li:last-child::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px var(--gold-soft); }
.timeline b { font-family: var(--ff-display); font-size: 1.5rem; color: var(--palm-700); padding-top: 14px; text-align: right; padding-right: 30px; }
.timeline span { padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.certs { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .certs { grid-template-columns: repeat(4, 1fr); } }
.cert { border-radius: var(--radius); padding: 22px; background: #fff; border: 1px solid var(--line); }
.cert .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.cert b { display: block; margin: 8px 0 4px; line-height: 1.35; }
.cert small { color: var(--muted); }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 40px 0 80px; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 14px 0 16px; }
.article__meta { color: var(--muted); font-size: .9rem; display: flex; gap: 14px; flex-wrap: wrap; }
.article__cover { border-radius: var(--radius-l); overflow: hidden; margin: 28px 0; }
.article__body { font-size: 1.08rem; line-height: 1.8; }
.article__body h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.article__body a { color: var(--palm-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article__body blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--ff-display); font-size: 1.2rem; }
.inline-product { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); margin: 28px 0; }
.inline-product img { width: 96px; height: 110px; object-fit: cover; border-radius: 10px; }
.inline-product b { display: block; }
.inline-product small { color: var(--muted); }
@media (max-width: 520px) { .inline-product { grid-template-columns: 72px 1fr; } .inline-product img { width: 72px; height: 88px; } .inline-product .btn { grid-column: span 2; } }
.note-cms { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--gold-soft); color: #6B4A00; font-size: .88rem; margin: 20px 0; }

/* Checkout */
.steps { display: flex; list-style: none; padding: 0; margin: 0 0 36px; counter-reset: st; gap: 6px; }
.steps li { flex: 1; counter-increment: st; display: flex; flex-direction: column; gap: 8px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.steps li::before { content: counter(st); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--palm-50); border: 1.5px solid var(--line); font-size: .9rem; transition: all .3s; }
.steps li.is-done::before { content: '✓'; background: var(--palm-700); border-color: var(--palm-700); color: #fff; }
.steps li.is-current { color: var(--ink); }
.steps li.is-current::before { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(194, 31, 42, .15); }
.checkout { display: grid; gap: 32px; padding: 40px 0 96px; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1fr 400px; gap: 48px; } .summary { position: sticky; top: 140px; align-self: start; } }
.summary { background: var(--palm-50); border-radius: var(--radius-l); padding: 26px; }
.summary h3 { margin-bottom: 14px; }
.summary .cart-item { grid-template-columns: 58px 1fr auto; }
.summary .cart-item img { width: 58px; height: 70px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; }
.sum-row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-weight: 700; font-size: 1.15rem; }
.sum-row--total span:last-child { color: var(--red); }
.coupon { display: flex; gap: 8px; margin: 14px 0; }
.coupon input { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 16px; }
.paym { display: grid; gap: 10px; }
.paym label { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: all .2s; }
.paym label:has(input:checked) { border-color: var(--palm-700); background: var(--palm-50); }
.paym input { accent-color: var(--palm-700); width: 18px; height: 18px; }
.paym b { display: block; font-size: .95rem; }
.paym small { color: var(--muted); }
.paym .pay { margin-left: auto; }
.cart-table .cart-item { grid-template-columns: 88px 1fr auto; padding: 18px 0; }
.cart-table .cart-item img { width: 88px; height: 106px; }
.track { display: grid; gap: 0; list-style: none; padding: 0; margin: 20px 0; }
.track li { display: flex; gap: 14px; padding: 10px 0; color: var(--muted); }
.track li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); margin-top: 6px; flex: none; }
.track li.on { color: var(--ink); font-weight: 600; }
.track li.on::before { background: var(--palm-700); border-color: var(--palm-700); }

/* Account */
.auth { max-width: 480px; margin: 0 auto; padding: 56px 0 96px; }
.acc { display: grid; gap: 32px; padding: 48px 0 96px; }
@media (min-width: 1024px) { .acc { grid-template-columns: 260px 1fr; } }
.acc__nav { display: grid; gap: 4px; align-content: start; }
.acc__nav button { text-align: left; padding: 12px 16px; border-radius: 12px; font-weight: 500; transition: background .2s; }
.acc__nav button[aria-selected="true"], .acc__nav button:hover { background: var(--palm-50); color: var(--palm-700); font-weight: 600; }
.otable { width: 100%; border-collapse: collapse; font-size: .93rem; }
.otable th, .otable td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.otable th { color: var(--muted); font-weight: 600; font-size: .82rem; }
.status { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 600; background: var(--gold-soft); color: #7A5200; }
.status--ok { background: var(--palm-100); color: var(--palm-800); }

/* Policy */
.policy { display: grid; gap: 32px; padding: 48px 0 96px; }
@media (min-width: 1024px) { .policy { grid-template-columns: 260px 1fr; gap: 56px; } .policy aside { position: sticky; top: 140px; align-self: start; } }
.policy aside a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.policy aside a:hover { background: var(--palm-50); color: var(--palm-700); }
.policy section { scroll-margin-top: 150px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.policy section h2 { font-size: 1.8rem; margin-bottom: 16px; }
.policy section p, .policy section li { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--palm-700); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .8s ease, transform .9s var(--ease); }
.js [data-reveal="up"] { transform: translateY(28px); }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
}
body.no-scroll { overflow: hidden; }
