/* =========================================================================
   CozyGhar — storefront styles
   Brand: Forest Green #174B32 · Warm Beige #F5EBDD · Terracotta #C96A32 · White
   ========================================================================= */
@font-face { font-family: 'Jost'; src: url('/fonts/jost.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --green: #174B32;
  --green-700: #113a26;
  --green-900: #0c2a1c;
  --green-50: #e9f0ec;
  --beige: #F5EBDD;
  --beige-50: #FBF7F1;
  --beige-200: #ecdfcc;
  --terracotta: #C96A32;
  --terracotta-700: #a9551f;
  --terracotta-50: #f8ebe2;
  --white: #FFFFFF;
  --ink: #1c2420;
  --ink-2: #3c4641;
  --muted: #6b736e;
  --line: #e9e1d5;
  --error: #b42318;
  --ok: #1f7a4a;

  --font-head: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(23, 75, 50, .06), 0 2px 8px rgba(23, 75, 50, .05);
  --shadow: 0 10px 30px -12px rgba(23, 50, 35, .22);
  --shadow-lg: 0 30px 60px -20px rgba(23, 50, 35, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
svg { width: 22px; height: 22px; flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: inline-block; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 .9rem; text-decoration: none; }
.eyebrow--light { color: var(--beige); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--tint { background: var(--beige-50); }
.section--beige { background: var(--beige); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { font-size: clamp(1.75rem, 3.4vw, 2.75rem); margin: 0; }
.section__lead { color: var(--muted); max-width: 560px; margin: .8rem auto 0; }
.page-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .4em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--green); text-decoration: none; white-space: nowrap; letter-spacing: .02em; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: #fff; --bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--primary:hover { --bg: var(--green-700); --bd: var(--green-700); box-shadow: var(--shadow); }
.btn--accent { --bg: var(--terracotta); --bd: var(--terracotta); }
.btn--accent:hover { --bg: var(--terracotta-700); --bd: var(--terracotta-700); box-shadow: 0 12px 26px -12px rgba(201, 106, 50, .7); }
.btn--outline { --bg: transparent; --fg: var(--green); --bd: var(--green); }
.btn--outline:hover:not(:disabled) { --bg: var(--green); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bd: var(--ink); }
.btn--light { --bg: rgba(255, 255, 255, .94); --fg: var(--ink); --bd: transparent; backdrop-filter: blur(6px); }
.btn--light:hover { --bg: #fff; }
.btn--glass { --bg: rgba(255, 255, 255, .12); --fg: #fff; --bd: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn--glass:hover { --bg: #fff; --fg: var(--green); --bd: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .78rem; }
.btn--lg { min-height: 54px; padding: 0 32px; }
.btn--block { width: 100%; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; min-width: 44px; height: 44px; padding: 0 8px; border: 0; background: transparent; border-radius: 999px; color: var(--ink); text-decoration: none; transition: background .2s; font-size: .85rem; }
.icon-btn:hover { background: var(--beige-50); }
.icon-btn--round { border: 1px solid var(--line); background: #fff; width: 44px; padding: 0; }
.icon-btn--round:hover { border-color: var(--green); color: var(--green); background: #fff; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--terracotta); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Tags & price ---------- */
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tag--sale { background: var(--terracotta); }
.tag--muted { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0; font-weight: 600; }
.price__from { font-size: .8rem; color: var(--muted); font-weight: 500; }
.price__now { color: var(--ink); }
.price__now--sale { color: var(--terracotta); }
.price__was { color: var(--muted); font-weight: 400; font-size: .9em; }
.price--lg { font-size: 1.6rem; font-family: var(--font-head); font-weight: 500; margin: .4rem 0 1rem; align-items: center; }
.price--lg .tag { font-family: var(--font-body); }
.stars { display: inline-flex; gap: 2px; color: #d8cdbd; vertical-align: middle; }
.stars svg { width: 16px; height: 16px; }
.stars svg.on { color: var(--terracotta); }
.sample-flag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff4d6; color: #7a5a00; border: 1px dashed #d9b44a; padding: 3px 8px; border-radius: 6px; }

/* ---------- Announcement ---------- */
.announce { background: var(--green); color: var(--beige); font-size: .8rem; letter-spacing: .06em; text-align: center; }
.announce__track { position: relative; height: 38px; overflow: hidden; }
.announce__item { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0 16px; opacity: 0; transform: translateY(100%); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.announce__item.is-active { opacity: 1; transform: none; }
.announce__item.is-out { opacity: 0; transform: translateY(-100%); }
.announce__all { display: none; }
@media (min-width: 1000px) {
  .announce__track { display: none; }
  .announce__all { display: flex; justify-content: center; align-items: center; gap: 22px; height: 38px; }
  .announce__all i { color: var(--terracotta); font-style: normal; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); border-color: var(--line); }
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.header__left, .header__right { display: flex; align-items: center; gap: 2px; }
.header__right { justify-content: flex-end; }
.header__logo img { height: 52px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .header__logo img { height: 44px; }
.header__menu { display: none; }
.main-nav { border-top: 1px solid var(--line); }
.main-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px; list-style: none; margin: 0; padding-block: 0; }
.main-nav a { position: relative; display: block; padding: 14px 0; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--green); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .header__menu { display: inline-flex; }
  .header__logo img { height: 44px; }
  .site-header.is-scrolled .header__logo img { height: 40px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .header__logo img { height: 40px; }
}

/* ---------- Drawers, modal, overlays ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(12, 30, 21, .45); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 80; backdrop-filter: blur(2px); }
.backdrop.is-open { opacity: 1; pointer-events: auto; }
body.is-locked { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; transition: visibility 0s .45s; }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(440px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); width: min(360px, 88vw); }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 1.25rem; margin: 0; }
.drawer__logo { height: 44px; width: auto; }
.mnav { display: flex; flex-direction: column; padding: 8px 0; overflow-y: auto; }
.mnav a { padding: 15px 24px; font-family: var(--font-head); font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--beige-50); }
.mnav a:hover { background: var(--beige-50); color: var(--green); }
.mnav__foot { margin-top: auto; padding: 18px 24px 28px; display: grid; gap: 14px; background: var(--beige-50); }
.mnav__foot a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; }
.mnav__foot svg { color: var(--green); }

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 18px; }
.cart-drawer__foot { padding: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--beige-50); }
.cart-drawer__foot .muted { margin: 0; }

.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.modal { visibility: hidden; }
.modal.is-open { pointer-events: auto; opacity: 1; visibility: visible; }
.modal__panel { position: relative; background: #fff; border-radius: var(--radius-lg); width: min(960px, 100%); max-height: calc(100dvh - 32px); overflow: auto; transform: translateY(20px) scale(.98); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__img { background: var(--beige-50); aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.qv__img img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: 36px 32px; display: flex; flex-direction: column; gap: 6px; }
.qv__info h2 { font-size: 1.7rem; }
@media (max-width: 720px) {
  .qv { grid-template-columns: 1fr; }
  .qv__img { aspect-ratio: 1; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .qv__info { padding: 22px 20px 26px; }
}

.search-overlay { position: fixed; inset: 0 0 auto 0; z-index: 95; background: #fff; padding: 18px 0 22px; transform: translateY(-105%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; box-shadow: var(--shadow); }
.search-overlay.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.search-overlay__form { display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--ink); }
.search-overlay__form input { flex: 1; border: 0; outline: 0; font-family: var(--font-head); font-size: clamp(1.2rem, 3vw, 1.8rem); padding: 14px 0; background: transparent; min-width: 0; }
.search-overlay__hints { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 14px; font-size: .9rem; color: var(--muted); }
.search-overlay__hints a { color: var(--green); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%); visibility: hidden; background: var(--green-900); color: #fff; padding: 14px 20px; border-radius: 14px; z-index: 120; display: flex; align-items: center; gap: 12px; font-size: .92rem; box-shadow: var(--shadow-lg); transition: transform .45s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--beige); font-weight: 600; white-space: nowrap; }
.toast--error { background: var(--error); }

.loader { width: 28px; height: 28px; margin: 40px auto; border-radius: 50%; border: 2.5px solid var(--beige-200); border-top-color: var(--green); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(560px, 86vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__media img { animation: heroZoom 14s var(--ease) forwards; transform-origin: 60% 50%; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(10, 32, 21, .78) 0%, rgba(10, 32, 21, .45) 42%, rgba(10, 32, 21, .05) 75%); }
.hero__content { padding-block: 80px; }
.hero__content > * { max-width: 640px; animation: rise .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__content > *:nth-child(4) { animation-delay: .24s; }
.hero__content > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; margin-bottom: .35em; }
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .9); max-width: 520px; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: rgba(255, 255, 255, .88); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 20px; height: 20px; color: var(--beige); }
@media (max-width: 700px) {
  .hero { min-height: 82svh; align-items: flex-end; }
  .hero__overlay { background: linear-gradient(0deg, rgba(10, 32, 21, .88) 0%, rgba(10, 32, 21, .55) 50%, rgba(10, 32, 21, .1) 100%); }
  .hero__content { padding-block: 48px 40px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Page hero ---------- */
.page-hero { background: var(--beige); padding-block: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: .3em; }
.page-hero p { color: var(--ink-2); max-width: 620px; margin: 0; }
.page-hero--image { color: #fff; padding-block: clamp(56px, 9vw, 120px); }
.page-hero--image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 32, 21, .78), rgba(10, 32, 21, .25)); z-index: -1; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image h1, .page-hero--image p, .page-hero--image .crumbs a, .page-hero--image .crumbs { color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; letter-spacing: .04em; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.crumbs--dark { padding-top: 22px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--beige); text-decoration: none; isolation: isolate; }
.cat-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 32, 21, .7)); z-index: 0; }
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card__label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; color: #fff; font-family: var(--font-head); font-size: 1.08rem; line-height: 1.2; }
.cat-card__label svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); transition: background .3s, color .3s, transform .3s var(--ease); }
.cat-card:hover .cat-card__label svg { background: var(--terracotta); transform: translateX(2px); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cat-card__label { font-size: .98rem; left: 12px; right: 12px; bottom: 12px; } }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } }
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--beige-50); aspect-ratio: 4/5; }
.pcard__imgwrap { display: block; position: absolute; inset: 0; }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .6s var(--ease); }
.pcard__img--alt { opacity: 0; }
.pcard:hover .pcard__img { transform: scale(1.04); }
.pcard:hover .pcard__img--alt { opacity: 1; }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.pcard__wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); transition: transform .25s var(--ease), color .2s; box-shadow: var(--shadow-sm); }
.pcard__wish svg { width: 19px; height: 19px; }
.pcard__wish:hover { transform: scale(1.08); color: var(--terracotta); }
.pcard__wish.is-on, .pdp__wish.is-on { color: var(--terracotta); }
.pcard__actions { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.pcard:hover .pcard__actions, .pcard:focus-within .pcard__actions { opacity: 1; transform: none; }
@media (hover: none) { .pcard__actions { display: none; } }
.pcard__body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { margin: 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard__title { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin: 0; line-height: 1.35; letter-spacing: 0; }
.pcard__title a { text-decoration: none; }
.pcard__title a:hover { color: var(--green); }
.pcard .price { margin-bottom: 8px; }
.pcard .btn { margin-top: auto; }
@media (max-width: 480px) {
  .pcard__title { font-size: .92rem; }
  .pcard .btn { font-size: .7rem; letter-spacing: .04em; padding: 0 8px; }
  .pcard__wish { width: 34px; height: 34px; top: 8px; right: 8px; }
}

/* ---------- Rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; min-width: 0; }
.rail-nav { display: flex; align-items: center; gap: 10px; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; } }
@media (max-width: 768px) {
  .rail { grid-auto-columns: 46%; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .rail-nav .icon-btn { display: none; }
}

/* ---------- Lifestyle banner ---------- */
.banner { position: relative; min-height: clamp(520px, 72vh, 720px); display: flex; align-items: center; justify-content: flex-end; padding: 40px var(--gutter); overflow: hidden; isolation: isolate; }
.banner__media, .banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.banner__card { background: rgba(251, 247, 241, .95); backdrop-filter: blur(8px); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); max-width: 500px; margin-right: clamp(0px, 5vw, 80px); box-shadow: var(--shadow-lg); }
.banner__card h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.banner__card p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 1.6rem; }
@media (max-width: 700px) { .banner { align-items: flex-end; justify-content: center; padding: 24px 16px; } .banner__card { margin: 0; } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { text-align: center; padding: 34px 24px; border-radius: var(--radius); background: var(--beige-50); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.feature__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--green); color: var(--beige); }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .4em; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { gap: 12px; } .feature { padding: 24px 14px; } .feature__icon { width: 52px; height: 52px; } .feature h3 { font-size: 1.02rem; } .feature p { font-size: .84rem; } }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); position: relative; }
.review-card .sample-flag { align-self: flex-start; }
.review-card__title { font-size: 1.15rem; margin: 0; }
.review-card blockquote { margin: 0; color: var(--ink-2); font-size: .98rem; flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.review-card figcaption span { display: flex; flex-direction: column; line-height: 1.3; }
.review-card figcaption small { color: var(--muted); }
.review-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.review-card__avatar--initial { display: grid; place-items: center; background: var(--green); color: var(--beige); font-family: var(--font-head); font-size: 1.2rem; }
.review-card__product { font-size: .82rem; color: var(--green); }
@media (max-width: 1000px) { .reviews-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- Instagram ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding-inline: 6px; }
.insta-tile { position: relative; aspect-ratio: 1; overflow: hidden; display: block; background: var(--beige); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.insta-tile__hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(23, 75, 50, .45); color: #fff; opacity: 0; transition: opacity .35s; }
.insta-tile__hover svg { width: 32px; height: 32px; }
.insta-tile:hover img { transform: scale(1.07); }
.insta-tile:hover .insta-tile__hover { opacity: 1; }
@media (max-width: 700px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--green); color: var(--beige); padding-block: clamp(48px, 7vw, 84px); position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(245, 235, 221, .12); right: -160px; top: -220px; }
.newsletter__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; }
.newsletter h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.newsletter p { margin: 0; color: rgba(245, 235, 221, .85); }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input { flex: 1 1 240px; min-height: 54px; border-radius: 999px; border: 1px solid rgba(245, 235, 221, .35); background: rgba(255, 255, 255, .08); color: #fff; padding: 0 22px; outline: none; }
.newsletter__form input::placeholder { color: rgba(245, 235, 221, .7); }
.newsletter__form input:focus { border-color: var(--beige); background: rgba(255, 255, 255, .14); }
.newsletter__form .btn { min-height: 54px; }
.newsletter__msg { flex-basis: 100%; font-size: .9rem; min-height: 1.4em; }
@media (max-width: 800px) { .newsletter__inner { grid-template-columns: 1fr; gap: 24px; } .newsletter__form .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(245, 235, 221, .82); padding-top: clamp(48px, 6vw, 80px); font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 10px 16px; margin-bottom: 18px; }
.footer__logo img { height: 64px; width: auto; }
.footer__brand p { max-width: 340px; }
.footer__brand p:first-of-type { font-family: var(--font-head); font-size: 1.15rem; color: var(--beige); margin-bottom: .5em; }
.footer__muted { color: rgba(245, 235, 221, .65); }
.site-footer h3 { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(245, 235, 221, .85); transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(245, 235, 221, .25); }
.footer__social a:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(245, 235, 221, .12); font-size: .82rem; }
.footer__bottom p { margin: 0; }
.footer__pay { display: flex; align-items: center; gap: 8px; }
.footer__pay svg { color: var(--beige); width: 20px; height: 20px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { gap: 30px 20px; } }

/* ---------- Listing ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 22px; }
.chips::-webkit-scrollbar { display: none; }
.chips--center { justify-content: center; flex-wrap: wrap; }
.chip { white-space: nowrap; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .85rem; font-weight: 500; transition: all .2s; background: #fff; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toolbar p { margin: 0; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.sort select { border: 1px solid var(--line); border-radius: 999px; padding: 9px 36px 9px 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23174B32' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination a { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pagination a.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.empty { text-align: center; padding: 60px 16px; max-width: 560px; margin: 0 auto; }
.empty h2 { font-size: 1.8rem; }
.empty p { color: var(--muted); }
.search-page__form { display: flex; gap: 10px; margin-bottom: 20px; max-width: 640px; }
.search-page__form input { flex: 1; min-height: 50px; border: 1px solid var(--line); border-radius: 999px; padding: 0 20px; min-width: 0; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: 18px 72px; align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 60px); display: grid; gap: 14px; }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--beige-50); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; border: 0; padding: 0; background: none; aspect-ratio: 4/5; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out; will-change: transform; }
.gallery__slide.is-zooming .gallery__img { transform: scale(2); transition: none; }
.gallery__tag { position: absolute; top: 16px; left: 16px; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; opacity: 0; transition: opacity .3s; }
.gallery__nav--prev { left: 14px; } .gallery__nav--next { right: 14px; }
.gallery__main:hover .gallery__nav { opacity: 1; }
.gallery__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); transition: all .3s; }
.gallery__dots span.is-active { background: #fff; width: 22px; border-radius: 4px; }
.gallery__hint { position: absolute; right: 14px; bottom: 14px; font-size: .72rem; background: rgba(255, 255, 255, .9); padding: 5px 10px; border-radius: 999px; pointer-events: none; color: var(--ink-2); }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumb { flex: 0 0 86px; aspect-ratio: 4/5; border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; background: var(--beige-50); opacity: .7; transition: all .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--green); opacity: 1; }
.pdp__info { padding-top: 8px; }
.pdp__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: .3em; }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); text-decoration: none; }
.pdp__lead { color: var(--ink-2); font-size: 1.04rem; }
.pdp__form { display: grid; gap: 14px; margin: 22px 0 26px; }
.opt { border: 0; padding: 0; margin: 0; }
.opt legend { font-size: .9rem; margin-bottom: 10px; color: var(--ink-2); }
.opt__list { display: flex; flex-wrap: wrap; gap: 10px; }
.opt__pill input { position: absolute; opacity: 0; pointer-events: none; }
.opt__pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-size: .92rem; transition: all .2s; background: #fff; }
.opt__pill:hover span { border-color: var(--ink-2); }
.opt__pill input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.opt__pill input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.opt__pill.is-disabled span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.stock-note { margin: 0; min-height: 0; font-size: .88rem; color: var(--terracotta); font-weight: 600; }
.stock-note:empty { display: none; }
.pdp__buy { display: flex; gap: 10px; }
.pdp__add { flex: 1; }
.pdp__wish { width: 54px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: all .2s; }
.pdp__wish:hover { border-color: var(--terracotta); color: var(--terracotta); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 54px; flex: none; background: #fff; }
.qty button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.qty button svg { width: 16px; height: 16px; }
.qty button:hover { color: var(--terracotta); }
.qty input { width: 40px; text-align: center; border: 0; outline: 0; background: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 30px; font-size: .9rem; }
.trust-list { list-style: none; padding: 20px; margin: 0 0 26px; display: grid; gap: 14px; background: var(--beige-50); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list svg { color: var(--green); margin-top: 1px; }
.trust-list a { color: var(--green); font-weight: 600; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-size: 1.12rem; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--green); transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > *:not(summary) { padding-bottom: 20px; }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; }
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--green); font-weight: 500; }
.prose--page { max-width: 760px; margin-inline: auto; font-size: 1.04rem; }
.prose--page > :first-child { margin-top: 0; }
.about-img { max-width: 900px; margin: 0 auto 40px; border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); padding-top: 6px; }
  .pdp__gallery { position: static; margin-inline: calc(var(--gutter) * -1); }
  .gallery__main { border-radius: 0; }
  .gallery__thumbs { display: none; }
  .gallery__nav { display: none; }
}

/* reviews block */
.reviews-block { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.reviews-block__head { position: sticky; top: calc(var(--header-h) + 60px); }
.review-form-wrap summary { list-style: none; margin-top: 8px; }
.review-form-wrap summary::-webkit-details-marker { display: none; }
.review-form { margin-top: 18px; }
.reviews-list { display: grid; gap: 16px; }
.review { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.review h3 { font-size: 1.1rem; margin-bottom: .3em; }
.review p { margin-bottom: .6em; color: var(--ink-2); }
.review__photo { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.rate-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate-input input { position: absolute; opacity: 0; }
.rate-input label { cursor: pointer; color: #d8cdbd; }
.rate-input label svg { width: 28px; height: 28px; }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: var(--terracotta); }
.rate-input input:focus-visible + label { outline: 2px solid var(--terracotta); border-radius: 4px; }
@media (max-width: 900px) { .reviews-block { grid-template-columns: 1fr; } .reviews-block__head { position: static; } }

/* sticky add to cart (mobile) */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .4s var(--ease); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .3); }
.sticky-atc.is-visible { transform: none; }
.sticky-atc__info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sticky-atc__info img { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; }
.sticky-atc__name { margin: 0; font-size: .85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc__price { margin: 0; font-weight: 700; color: var(--green); font-size: .92rem; }
.sticky-atc .btn { min-height: 46px; padding: 0 20px; }
@media (max-width: 900px) { .sticky-atc { display: flex; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(12, 20, 16, .94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox { visibility: hidden; }
.lightbox.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; touch-action: pinch-zoom; }
.lightbox__stage img { max-width: 94vw; max-height: 90vh; object-fit: contain; transition: transform .3s var(--ease); cursor: zoom-in; }
.lightbox__stage img.is-zoomed { transform: scale(2); cursor: zoom-out; }
.lightbox__close { position: absolute; top: 14px; right: 14px; color: #fff; z-index: 2; }
.lightbox__close:hover { background: rgba(255, 255, 255, .1); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__nav--prev { left: 14px; } .lightbox__nav--next { right: 14px; }

/* ---------- Cart ---------- */
.cline { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cline__img { width: 84px; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--beige-50); display: block; }
.cline__img img { width: 100%; height: 100%; object-fit: cover; }
.cline__name { font-weight: 500; text-decoration: none; display: block; line-height: 1.35; }
.cline__var { font-size: .82rem; color: var(--muted); margin: 2px 0 8px; }
.cline__price { font-weight: 600; text-align: right; white-space: nowrap; }
.cline__price s { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.cline__row { display: flex; align-items: center; gap: 10px; }
.cline__remove { border: 0; background: none; color: var(--muted); display: inline-flex; padding: 6px; border-radius: 8px; }
.cline__remove:hover { color: var(--error); background: #fdf0ef; }
.cline__remove svg { width: 18px; height: 18px; }
.cart-empty { text-align: center; padding: 48px 12px; }
.cart-empty svg { width: 48px; height: 48px; color: var(--beige-200); margin-bottom: 12px; }
.cart-notice { font-size: .85rem; background: var(--terracotta-50); color: var(--terracotta-700); padding: 10px 14px; border-radius: 10px; margin: 10px 0; }
.ship-progress { font-size: .85rem; color: var(--ink-2); }
.ship-progress__bar { height: 6px; background: var(--beige-200); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ship-progress__bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; transition: width .5s var(--ease); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .95rem; }
.sum-row--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 1.12rem; }
.sum-row--total strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--green); white-space: nowrap; }
.sum-row--total { align-items: center; }
.place-order + p, [data-submit-error] + .place-order { margin-top: 0; }
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.cart-page .cline { grid-template-columns: 110px 1fr auto; }
.cart-page .cline__img { width: 110px; }
.summary { background: var(--beige-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: calc(var(--header-h) + 60px); display: grid; gap: 4px; }
.summary h2 { font-size: 1.35rem; }
.summary .btn { margin: 14px 0 6px; }
.trust-mini { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; font-size: .85rem; color: var(--ink-2); }
.trust-mini li { display: flex; gap: 10px; align-items: center; }
.trust-mini svg { color: var(--green); width: 19px; height: 19px; }
.trust-mini a { color: var(--green); font-weight: 600; }
@media (max-width: 900px) { .cart-page { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 480px) { .cart-page .cline { grid-template-columns: 80px 1fr; } .cart-page .cline__img { width: 80px; } .cart-page .cline__price { grid-column: 2; text-align: left; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.label i { color: var(--terracotta); font-style: normal; }
.label em { color: var(--muted); font-weight: 400; font-style: normal; }
.field input, .field textarea, .field select, .form input:not([type=radio]):not([type=checkbox]):not(.hp), .form textarea, .form select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; font-size: 16px;
}
.form textarea { min-height: 0; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 75, 50, .1); }
.field__hint { font-size: .8rem; color: var(--muted); }
.field__error { font-size: .82rem; color: var(--error); font-weight: 500; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); background: #fffafa; }
.field.has-error .field__hint { display: none; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.card__title { font-size: 1.25rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .85rem; font-family: var(--font-body); font-weight: 700; flex: none; }
.alert { padding: 14px 18px; border-radius: 12px; background: var(--beige-50); border: 1px solid var(--line); margin: 0; font-size: .94rem; }
.alert--error { background: #fdf0ef; border-color: #f3c9c4; color: #8a1c13; }
.alert--ok { background: #ecf6f0; border-color: #bcdcc8; color: #145c37; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.checkout__form .card { display: grid; gap: 16px; }
.checkout__form .card__title { margin-bottom: 4px; }
.pay-option { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--green); border-radius: 14px; background: var(--green-50); cursor: pointer; }
.pay-option input { accent-color: var(--green); width: 18px; height: 18px; }
.pay-option__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.pay-option small { display: block; color: var(--ink-2); font-size: .85rem; }
.place-order { position: relative; }
.place-order .spinner { display: none; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.place-order.is-loading .place-order__label { opacity: .85; }
.place-order.is-loading .spinner { display: inline-block; }
.place-order.is-loading { pointer-events: none; }
.checkout__summary { padding: 0; overflow: hidden; }
.summary__toggle { display: none; width: 100%; border: 0; background: var(--beige); padding: 16px 20px; justify-content: space-between; align-items: center; font-weight: 600; }
.summary__toggle::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); margin-left: 10px; transition: transform .3s; }
.summary__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
.summary__toggle span { flex: 1; text-align: left; }
.summary__body { padding: 24px; display: grid; gap: 4px; }
.summary__lines { display: grid; gap: 14px; margin-bottom: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sline { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; font-size: .92rem; }
.sline__img { position: relative; width: 64px; aspect-ratio: 4/5; border-radius: 10px; overflow: visible; background: var(--beige-50); }
.sline__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.sline__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink-2); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.sline__info p { margin: 0; font-weight: 500; line-height: 1.35; }
.sline__info small { color: var(--muted); }
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { order: -1; position: static; }
  .summary__toggle { display: flex; }
  .summary__body { display: none; }
  .summary__body.is-open { display: grid; }
}

/* ---------- Confirmation / account ---------- */
.confirm { text-align: center; max-width: 1000px; }
.confirm__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; animation: pop .6s var(--ease) both; }
.confirm__icon svg { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.confirm__id { font-size: 1.15rem; display: inline-block; background: var(--beige); padding: 10px 22px; border-radius: 999px; }
.confirm__lead { max-width: 620px; margin: 1rem auto 2rem; color: var(--ink-2); }
.confirm__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; text-align: left; }
.confirm__grid .btn { margin-top: 12px; }
.steps-list { padding-left: 1.2em; color: var(--ink-2); }
.inline-ico { width: 18px; height: 18px; vertical-align: -3px; color: var(--green); }
@media (max-width: 800px) { .confirm__grid { grid-template-columns: 1fr; } }
.tracker { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(5, 1fr); font-size: .8rem; text-align: center; color: var(--muted); }
.tracker li { position: relative; display: grid; justify-items: center; gap: 8px; }
.tracker li span { width: 16px; height: 16px; border-radius: 50%; background: var(--beige-200); position: relative; z-index: 1; }
.tracker li::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--beige-200); }
.tracker li:first-child::before { display: none; }
.tracker li.is-done { color: var(--green); font-weight: 600; }
.tracker li.is-done span, .tracker li.is-done::before { background: var(--green); }
.plain-list { padding-left: 1.1em; color: var(--ink-2); }
.account-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.account-link, .contact__item { display: flex; gap: 14px; align-items: center; text-decoration: none; transition: border-color .2s, transform .2s; }
.account-link:hover, a.contact__item:hover { border-color: var(--green); transform: translateY(-2px); }
.account-link span, .contact__item span { display: flex; flex-direction: column; }
.account-link small, .contact__item small { color: var(--muted); }
.account-link svg, .contact__item svg { color: var(--green); width: 26px; height: 26px; }
@media (max-width: 600px) { .account-links { grid-template-columns: 1fr; } }
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; text-decoration: none; padding: 0 20px 0 14px; height: 54px; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--ease), bottom .4s var(--ease); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); }
@media (max-width: 900px) {
  .wa-float { padding: 0; width: 54px; justify-content: center; }
  .wa-float span { display: none; }
  body.has-sticky-atc .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
  body.page-checkout .wa-float { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

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