/* ============================================================
   Paradise Store — styles
   Brand: sage #99B094 · cream #F2E1CB · pink #FFB6B9 · aqua #BEEBE9
   Green text & buttons use the deeper sage #5E7559.
   ============================================================ */

/* Fonts are served from this site (no Google request, cached for a year).
   Arabic text falls through to the Arabic faces via unicode-range. */
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/alegreya-sans-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/alegreya-sans-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Baloo Bhaijaan 2'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/baloo-bhaijaan-2-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/fredoka-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-arabic-400-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-arabic-500-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
:root {
  --sage: #99B094;
  --sage-ink: #5E7559;
  --sage-ink-hover: #4D6249;
  --sage-soft: #E6EDE4;
  --cream: #F2E1CB;
  --cream-soft: #FBF5EC;
  --pink: #FFB6B9;
  --pink-soft: #FFE6E7;
  --aqua: #BEEBE9;
  --aqua-soft: #E7F7F6;
  --blush: #F6E0D8;
  --ink: #2B2B2B;
  --muted: #66625C;
  --line: #EAE1D4;
  --white: #FFFFFF;
  --danger: #A8433F;

  --font-head: "Fredoka", "Baloo Bhaijaan 2", system-ui, sans-serif;
  --font-body: "Alegreya Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(64, 52, 38, .08);
  --container: 1240px;
  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 28px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[dir="rtl"] body { font-size: 1rem; line-height: 1.75; }
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: 2px solid var(--sage-ink); outline-offset: 3px; border-radius: 6px; }
b, strong { font-weight: inherit; }

/* Typography: only the main headlines are bold */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.005em; }
h1, h2 { font-weight: 600; }
h3, h4 { font-weight: 400; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3, h2.h3 { font-size: 1.2rem; }
h2.h3 { font-weight: 400; }
p { margin: 0; }
.muted { color: var(--muted); }
.green { color: var(--sage-ink); }
.eyebrow { font-family: var(--font-head); color: var(--sage-ink); font-size: .95rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(44px, 7vw, 84px); }
.section-tight { padding-block: clamp(28px, 4vw, 48px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head p { margin-top: 6px; }
.link-more { font-family: var(--font-head); color: var(--sage-ink); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-more:hover { color: var(--sage-ink-hover); }
.link-more svg { width: 18px; height: 18px; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 8px; }
.icon { width: 22px; height: 22px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--font-head); font-size: 1.02rem;
  transition: background .2s, color .2s, border-color .2s, transform .15s; border: 1.5px solid transparent; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sage-ink); color: #fff; }
.btn-primary:hover { background: var(--sage-ink-hover); }
.btn-outline { border-color: var(--sage-ink); color: var(--sage-ink); background: transparent; }
.btn-outline:hover { background: var(--sage-ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream-soft); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--cream-soft); }
.count-badge {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--pink); color: var(--ink); font-size: .72rem; line-height: 18px; text-align: center; font-family: var(--font-head);
}
.count-badge:empty, .count-badge[data-n="0"] { display: none; }

/* ---------- Top bars ---------- */
.preview-bar { background: var(--ink); color: #fff; font-size: .82rem; text-align: center; padding: 5px 40px; position: relative; }
.preview-bar button { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); color: #fff; opacity: .7; width: 28px; height: 28px; }
.announce { background: var(--cream); color: var(--ink); font-size: .92rem; height: 38px; overflow: hidden; position: relative; }
.announce-track { display: grid; height: 100%; }
.announce-item { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 48px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; text-align: center; }
.announce-item.on { opacity: 1; transform: none; }
.announce-item svg { width: 16px; height: 16px; color: var(--sage-ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: auto; height: calc(var(--header-h) - 14px); }
.logo-word { height: 30px; width: auto; }
@media (min-width: 768px) { .logo-word { height: 38px; } }
.header-actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.lang-btn { font-family: var(--font-head); font-size: .95rem; padding: 0 12px; height: 40px; border-radius: 99px; border: 1px solid var(--line); }
.lang-btn:hover { border-color: var(--sage-ink); color: var(--sage-ink); }
@media (min-width: 1024px) { .only-mobile { display: none !important; } }
@media (max-width: 1023px) { .only-desktop { display: none !important; } }
@media (max-width: 1023px) {
  .header-row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header-row .logo { justify-self: center; }
  .header-row .logo-word { height: 21px; }
  .header-row .logo { gap: 6px; }
  .header-row .logo-mark { height: calc(var(--header-h) - 18px); }
  .header-actions { margin: 0; justify-self: end; }
  .header-start { justify-self: start; display: flex; }
}
@media (max-width: 380px) { .header-actions .hide-xs { display: none; } }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: stretch; height: 100%; margin-inline-start: 22px; gap: 4px; }
}
.nav-item { position: static; display: flex; align-items: center; }
.nav-link { font-family: var(--font-head); font-size: 1rem; padding: 8px 14px; border-radius: 99px; display: inline-flex; align-items: center; gap: 4px; transition: background .2s, color .2s; }
.nav-link:hover, .nav-item:focus-within > .nav-link { background: var(--cream-soft); }
.nav-link.active { color: var(--sage-ink); }
.nav-link svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }
.mega {
  position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.site-header.nav-closed .mega { opacity: 0 !important; visibility: hidden !important; }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 28px; padding-block: 28px 32px; }
.mega-inner.brands-mega { grid-template-columns: repeat(3, 1fr) 1.2fr; }
.mega h4 { font-size: 1rem; color: var(--sage-ink); margin-bottom: 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega ul a { display: block; padding: 4px 0; color: var(--ink); transition: color .15s, padding .15s; }
.mega ul a:hover { color: var(--sage-ink); padding-inline-start: 4px; }
.mega-feature { background: var(--cream-soft); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; align-self: start; }
.mega-feature img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 10px; }
.mega-feature .tag { display: inline-block; background: var(--pink); font-size: .75rem; padding: 2px 8px; border-radius: 99px; margin-bottom: 6px; font-family: var(--font-head); }
.mega-feature .name { font-family: var(--font-head); line-height: 1.3; }

/* ---------- Drawers / overlays ---------- */
.scrim { position: fixed; inset: 0; background: rgba(43, 43, 43, .38); z-index: 90; opacity: 0; transition: opacity .25s; }
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 92vw); background: #fff; z-index: 100;
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .32s var(--ease); box-shadow: var(--shadow);
}
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.start { inset-inline-end: auto; inset-inline-start: 0; transform: translateX(-105%); }
[dir="rtl"] .drawer.start { transform: translateX(105%); }
.drawer.on { transform: none !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.25rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: var(--cream-soft); }
body.locked { overflow: hidden; }

.menu-drawer .drawer-body { padding: 8px 18px 24px; }
.menu-acc { border-bottom: 1px solid var(--line); }
.menu-acc summary, .menu-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; font-family: var(--font-head); font-size: 1.08rem; list-style: none; cursor: pointer; }
.menu-acc summary::-webkit-details-marker { display: none; }
.menu-acc summary svg { width: 18px; height: 18px; transition: transform .2s; }
.menu-acc[open] summary svg { transform: rotate(180deg); }
.menu-acc ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.menu-acc ul a { display: block; padding: 8px 12px; border-radius: 10px; }
.menu-acc ul a:hover { background: var(--cream-soft); }
.menu-link { border-bottom: 1px solid var(--line); }
.menu-group-title { font-size: .85rem; color: var(--sage-ink); padding: 8px 12px 2px; font-family: var(--font-head); }

.search-panel { position: fixed; inset-inline: 0; top: 0; z-index: 100; background: #fff; transform: translateY(-105%); transition: transform .3s var(--ease); box-shadow: var(--shadow); max-height: 88vh; display: flex; flex-direction: column; }
.search-panel.on { transform: none; }
.search-bar { display: flex; align-items: center; gap: 10px; padding-block: 14px; }
.search-input { flex: 1; height: 52px; border: 1.5px solid var(--line); border-radius: 99px; padding-inline: 48px 18px; font-size: 1.05rem; background: var(--cream-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235E7559' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat; background-position: left 18px center; }
[dir="ltr"] .search-input { padding-inline: 48px 18px; }
[dir="rtl"] .search-input { padding-inline: 18px 48px; background-position: right 18px center; }
.search-input:focus { outline: none; border-color: var(--sage-ink); background-color: #fff; }
.search-results { overflow-y: auto; padding-bottom: 22px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.search-list { display: grid; gap: 6px; }
.search-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; }
.search-row:hover, .search-row:focus-visible { background: var(--cream-soft); }
.search-row img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.search-row .b { font-size: .85rem; color: var(--sage-ink); }
.search-row .n { font-family: var(--font-head); line-height: 1.3; }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: .95rem; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--sage-ink); color: var(--sage-ink); }
.chip.on { background: var(--sage-ink); border-color: var(--sage-ink); color: #fff; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chip-row::-webkit-scrollbar { display: none; }

/* ---------- Brand stripes & paper (the Instagram look) ---------- */
.stripes { background: var(--cream) url("../img/stripes.svg") center / 100% 100% no-repeat; }
.paper {
  position: relative; background: linear-gradient(-45deg, transparent var(--fold, 22px), #fff 0);
  filter: drop-shadow(0 8px 16px rgba(80, 64, 44, .10));
}
.paper::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: calc(var(--fold, 22px) * 1.4142); height: calc(var(--fold, 22px) * 1.4142);
  background: linear-gradient(to top left, transparent 50%, #E9E3DA 50%, #F8F5F0 100%);
  border-top-left-radius: calc(var(--fold, 22px) * .45);
  filter: drop-shadow(-2px -2px 2px rgba(0, 0, 0, .08));
}

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; } }
@media (min-width: 1100px) { .grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; gap: 12px; position: relative; min-width: 0; }
.pcard-media { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.pcard-media .paper { --fold: 18px; width: 80%; aspect-ratio: 1; display: grid; place-items: center; transition: transform .45s var(--ease); }
.pcard-img { width: 86%; height: 86%; object-fit: contain; }
.pcard:hover .pcard-media .paper { transform: translateY(-4px) rotate(-1deg); }
.pcard-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.badge { font-family: var(--font-head); font-size: .78rem; padding: 3px 10px; border-radius: 99px; background: #fff; color: var(--ink); line-height: 1.4; }
.badge.sale { background: var(--pink); }
.badge.new { background: var(--sage-ink); color: #fff; }
.badge.warn { background: #fff; color: var(--danger); border: 1px solid #EBC9C5; }
.badge.out { background: var(--ink); color: #fff; }
.badge.low { background: #fff; color: var(--danger); border: 1px solid #EBC9C5; }
.stock-line { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 99px; font-size: .95rem; }
.stock-line .icon { width: 18px; height: 18px; }
.stock-line.is-in { background: var(--sage-soft); color: var(--sage-ink); }
.stock-line.is-low { background: #FDF1F0; color: var(--danger); font-family: var(--font-head); }
.stock-line.is-out { background: #F1EEEA; color: var(--muted); }
.vchip.out { opacity: .55; }
.vchip.out span { text-decoration: line-through; }
.stock-warn { display: flex; align-items: center; gap: 6px; color: var(--danger); font-size: .85rem; margin-top: 2px; }
.stock-warn .icon { width: 15px; height: 15px; }
.wish-btn { position: absolute; top: 8px; inset-inline-end: 8px; width: 38px; height: 38px; border-radius: 99px; background: rgba(255, 255, 255, .92); display: grid; place-items: center; z-index: 2; transition: transform .15s, color .2s; color: var(--ink); }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn svg { width: 19px; height: 19px; }
.wish-btn.on { color: #D9575D; }
.wish-btn.on svg path { fill: currentColor; }
.pcard-body { display: grid; gap: 3px; }
.pcard-brand { font-size: .88rem; color: var(--sage-ink); }
.pcard-name { font-family: var(--font-head); font-size: 1.02rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-family: var(--font-head); display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: .9em; }
.price .now.sale { color: var(--danger); }
.pcard-add { margin-top: 6px; }
.pcard-add .btn { width: 100%; min-height: 42px; font-size: .95rem; }

/* Carousel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; scroll-behavior: smooth; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
@media (min-width: 700px) { .carousel-track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; } }
@media (min-width: 1100px) { .carousel-track { grid-auto-columns: calc((100% - 60px) / 4); } }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.carousel-nav button:hover { border-color: var(--sage-ink); color: var(--sage-ink); }
.carousel-nav svg { width: 18px; height: 18px; }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; }
.hero .stripes { position: absolute; inset: 0; }
.hero-inner { position: relative; display: grid; gap: 32px; align-items: center; padding-block: clamp(36px, 6vw, 72px) clamp(44px, 7vw, 88px); }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.hero-copy { background: rgba(255, 255, 255, .9); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); max-width: 620px; }
.hero-copy h1 { margin: 12px 0 14px; }
.hero-copy p { color: var(--muted); font-size: 1.12rem; max-width: 48ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art { position: relative; min-height: 340px; display: grid; place-items: center; }
.hero-art .paper.main { --fold: 34px; width: min(420px, 82%); aspect-ratio: .94; display: grid; place-items: center; transform: rotate(-2deg); }
.hero-art .paper.main img { width: 76%; }
.hero-art .paper.mini { --fold: 14px; position: absolute; width: clamp(96px, 26%, 150px); aspect-ratio: 1; display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.hero-art .paper.mini img { width: 84%; }
.hero-art .mini.m1 { top: 0; inset-inline-end: 2%; transform: rotate(6deg); }
.hero-art .mini.m2 { bottom: -10%; inset-inline-start: 2%; transform: rotate(-7deg); animation-delay: -3s; }
@media (max-width: 899px) { .hero-art .mini.m2 { bottom: -4%; } }

/* Mobile sticky add-to-cart on product pages */
.pdp-sticky { position: fixed; inset-inline: 0; bottom: calc(61px + env(safe-area-inset-bottom)); z-index: 55; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding-block: 10px; transform: translateY(130%); transition: transform .3s var(--ease); }
.pdp-sticky.on { transform: none; }
.pdp-sticky .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pdp-sticky .n { font-family: var(--font-head); font-size: .92rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-sticky .btn { min-height: 44px; flex: none; }
@keyframes float { 50% { translate: 0 -8px; } }

.trust { background: var(--cream-soft); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; padding-block: 22px; }
@media (min-width: 900px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .ic { width: 44px; height: 44px; border-radius: 99px; background: #fff; display: grid; place-items: center; color: var(--sage-ink); flex: none; }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item h2 { font-size: 1rem; font-weight: 400; }
.trust-item p { font-size: .9rem; color: var(--muted); line-height: 1.45; }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.cat-tile { border-radius: var(--radius-lg); padding: 14px 14px 16px; display: grid; gap: 10px; justify-items: center; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-tile .img { width: 100%; aspect-ratio: 1; background: #fff; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.cat-tile .img img { width: 82%; height: 82%; object-fit: contain; }
.cat-tile .img img.art { opacity: .8; width: 60%; }
.cat-tile h3 { font-size: 1.05rem; }
.cat-tile .n { font-size: .85rem; color: var(--muted); }
.bg-cream { background: var(--cream); } .bg-pink { background: var(--pink-soft); } .bg-aqua { background: var(--aqua-soft); } .bg-sage { background: var(--sage-soft); }
.bg-cream-soft { background: var(--cream-soft); }

.concern-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .concern-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.concern-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 20px; border-radius: var(--radius); font-family: var(--font-head); font-size: 1.05rem; transition: transform .25s var(--ease); min-height: 76px; }
.concern-card:hover { transform: translateY(-3px); }
.concern-card svg { width: 20px; height: 20px; color: var(--sage-ink); flex: none; }

.pharm-band { border-radius: var(--radius-lg); overflow: hidden; display: grid; background: var(--blush); }
@media (min-width: 800px) { .pharm-band { grid-template-columns: 1fr 1.3fr; } }
.pharm-band .art { min-height: 220px; display: grid; place-items: center; padding: 24px; }
.pharm-band .art img { max-height: 260px; width: auto; }
.pharm-band .copy { padding: clamp(24px, 4vw, 48px); display: grid; gap: 14px; align-content: center; background: rgba(255, 255, 255, .55); }
.pharm-band .copy p { color: var(--muted); max-width: 46ch; }
.pharm-band .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.brand-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .brand-row { grid-template-columns: repeat(5, 1fr); } }
.brand-pill { border: 1px solid var(--line); border-radius: var(--radius); min-height: 88px; display: grid; place-items: center; text-align: center; padding: 12px; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .02em; transition: border-color .2s, background .2s, color .2s; }
.brand-pill:hover { border-color: var(--sage-ink); color: var(--sage-ink); background: var(--cream-soft); }
.brand-pill small { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--muted); letter-spacing: 0; }

.loy-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.loy-band .stripes { position: absolute; inset: 0; }
.loy-band-inner { position: relative; display: grid; gap: 24px; padding: clamp(20px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .loy-band-inner { grid-template-columns: 1fr 1fr; } }
.loy-band .paper { --fold: 26px; padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 12px; }
.loy-band .paper p { color: var(--muted); }
.tier-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tier-mini > div { background: #fff; border-radius: var(--radius); padding: 16px 10px; text-align: center; box-shadow: var(--shadow); }
.tier-mini .tname { font-family: var(--font-head); font-size: 1.1rem; }
.tier-mini small { color: var(--muted); display: block; }

.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 900px) { .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.ig-tile { aspect-ratio: 4 / 5; display: grid; place-items: center; border-radius: 10px; overflow: hidden; position: relative; }
.ig-tile .paper { --fold: 12px; width: 78%; aspect-ratio: 1; display: grid; place-items: center; transition: transform .35s var(--ease); }
.ig-tile .paper img { width: 86%; }
.ig-tile:hover .paper { transform: scale(1.04); }

/* ---------- Page header / breadcrumbs ---------- */
.page-head { background: var(--cream-soft); border-bottom: 1px solid var(--line); }
.page-head .container { padding-block: clamp(22px, 4vw, 40px); }
.page-head p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--sage-ink); }
.crumbs svg { width: 14px; height: 14px; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 250px 1fr; gap: 36px; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-inline-end: 6px; } }
.fgroup { border-bottom: 1px solid var(--line); padding-block: 6px; }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 10px 0; font-family: var(--font-head); font-size: 1.02rem; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary svg { width: 16px; height: 16px; transition: transform .2s; }
.fgroup[open] summary svg { transform: rotate(180deg); }
.fopts { display: grid; gap: 2px; padding-bottom: 10px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .98rem; }
.fopt input { width: 18px; height: 18px; accent-color: var(--sage-ink); margin: 0; }
.fopt .n { margin-inline-start: auto; color: var(--muted); font-size: .85rem; }
.shop-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.shop-bar .count { color: var(--muted); }
.select { height: 42px; border: 1px solid var(--line); border-radius: 99px; padding-inline: 16px 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%232B2B2B' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; cursor: pointer; }
[dir="rtl"] .select { padding-inline: 36px 16px; background-position: left 14px center; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters .chip { height: 34px; background: var(--cream-soft); }
.active-filters .chip svg { width: 14px; height: 14px; }
.empty { text-align: center; padding: 56px 16px; display: grid; gap: 12px; justify-items: center; }
.empty img { width: 120px; opacity: .8; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 28px; padding-block: 20px 56px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 28px; } }
.pdp-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1.05; display: grid; place-items: center; }
@media (min-width: 900px) { .pdp-media { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.pdp-media .paper { --fold: 34px; width: 78%; aspect-ratio: 1; display: grid; place-items: center; }
.pdp-media .paper img { width: 88%; height: 88%; object-fit: contain; }
.pdp-info { display: grid; gap: 18px; align-content: start; }
.pdp-brand { color: var(--sage-ink); font-family: var(--font-head); font-size: 1.05rem; }
.pdp-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.pdp-type { color: var(--muted); }
.pdp-price { font-size: 1.6rem; }
.variant-pick { display: grid; gap: 8px; }
.variant-pick .lbl { font-family: var(--font-head); }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { display: inline-grid; justify-items: center; min-width: 84px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; line-height: 1.3; transition: border-color .2s, background .2s; }
.vchip small { color: var(--muted); font-size: .82rem; }
.vchip:hover { border-color: var(--sage); }
.vchip.on { border-color: var(--sage-ink); background: var(--sage-soft); }
.vchip:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 2px; }
.price .from { font-family: var(--font-body); font-size: .82em; color: var(--muted); }
/* Latin product names inside RTL pages: keep "SPF50+ PA++++" in the right order */
.pcard-name, .pdp-info h1, .pdp-sticky .n, .cart-line .name, .search-row .n, .mega-feature .name, .summary-item > div:first-of-type, .crumbs > span:last-child { unicode-bidi: plaintext; }
html[dir="rtl"] :is(.pcard-name, .pdp-info h1, .pdp-sticky .n, .cart-line .name, .search-row .n, .mega-feature .name, .summary-item > div:first-of-type) { text-align: right; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .88rem; padding: 4px 12px; border-radius: 99px; background: var(--cream-soft); border: 1px solid var(--line); }
.tag.aqua { background: var(--aqua-soft); border-color: #CFEDEB; }
.warn-box { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #FDF1F0; color: var(--danger); border: 1px solid #F2D3D0; }
.warn-box svg { width: 20px; height: 20px; flex: none; }
.earn-box { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--aqua-soft); }
.earn-box svg { width: 20px; height: 20px; color: var(--sage-ink); flex: none; }
.earn-box a { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 3px; }
.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; height: 48px; }
.qty button { width: 42px; height: 100%; display: grid; place-items: center; }
.qty button svg { width: 16px; height: 16px; }
.qty input { width: 36px; text-align: center; border: 0; background: transparent; font-family: var(--font-head); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 36px; }
.qty.sm button { width: 32px; }
.qty.sm input { width: 28px; }
.pdp-wish { width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 99px; display: grid; place-items: center; }
.pdp-wish.on { color: #D9575D; border-color: #F2C7C9; }
.pdp-wish.on svg path { fill: currentColor; }
.pdp-wish svg { width: 20px; height: 20px; }
.pdp-trust { display: grid; gap: 8px; padding: 16px; border-radius: var(--radius); background: var(--cream-soft); }
.pdp-trust div { display: flex; gap: 10px; align-items: center; }
.pdp-trust svg { width: 18px; height: 18px; color: var(--sage-ink); flex: none; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-head); font-size: 1.08rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { width: 22px; height: 22px; position: relative; flex: none; }
.acc summary .plus::before, .acc summary .plus::after { content: ""; position: absolute; inset: 50% 3px auto; height: 1.5px; background: currentColor; transition: transform .25s; }
.acc summary .plus::after { transform: rotate(90deg); }
.acc details[open] summary .plus::after { transform: rotate(0); }
.acc .acc-body { padding: 0 0 18px; color: #4A4744; animation: accIn .3s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } }
.ing-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ing-list li { padding: 4px 12px; border-radius: 99px; background: var(--sage-soft); font-size: .92rem; }
.tip-box { display: flex; gap: 12px; background: var(--blush); border-radius: 12px; padding: 14px; }
.tip-box img { width: 44px; height: auto; flex: none; align-self: flex-start; }

/* ---------- Cart ---------- */
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line img { width: 76px; height: 76px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cart-line .top { display: flex; justify-content: space-between; gap: 8px; }
.cart-line .name { font-family: var(--font-head); line-height: 1.3; font-size: .98rem; }
.cart-line .meta { font-size: .85rem; color: var(--muted); }
.cart-line .bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-line .rm { color: var(--muted); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 99px; }
.cart-line .rm:hover { color: var(--danger); background: #FDF1F0; }
.cart-line .rm svg { width: 17px; height: 17px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; }
.sum-row.total { font-family: var(--font-head); font-size: 1.15rem; padding-top: 8px; border-top: 1px solid var(--line); }
.sum-row .green { font-family: var(--font-head); }
.points-hint { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--sage-ink); }
.points-hint svg { width: 18px; height: 18px; }

.cart-page { display: grid; gap: 28px; padding-block: 28px 64px; }
@media (min-width: 900px) { .cart-page { grid-template-columns: 1.5fr 1fr; gap: 44px; } }
.summary-card { background: var(--cream-soft); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 12px; align-self: start; }
@media (min-width: 900px) { .summary-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary-card :is(h2, h3) { font-size: 1.2rem; }
.summary-items { display: grid; gap: 10px; max-height: 280px; overflow-y: auto; }
.summary-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; font-size: .92rem; }
.summary-item img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.summary-item .q { font-size: .8rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); display: grid; gap: 16px; }
.form-card :is(h2, h3) { font-size: 1.2rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: .95rem; }
.field label .req { color: var(--danger); }
.input { height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding-inline: 14px; background: #fff; width: 100%; transition: border-color .2s; }
textarea.input { height: auto; min-height: 90px; padding-block: 12px; resize: vertical; }
.input:focus { outline: none; border-color: var(--sage-ink); }
.input.invalid { border-color: var(--danger); }
.row-2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card:has(input:checked) { border-color: var(--sage-ink); background: var(--sage-soft); }
.radio-card input { width: 18px; height: 18px; accent-color: var(--sage-ink); margin: 0; }
.radio-card .r-end { margin-inline-start: auto; color: var(--muted); font-size: .9rem; }
.radio-card[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.form-error { color: var(--danger); font-size: .92rem; }
.note { font-size: .9rem; color: var(--muted); }

/* ---------- Loyalty ---------- */
.loy-hero { position: relative; overflow: hidden; }
.loy-hero .stripes { position: absolute; inset: 0; }
.loy-hero-inner { position: relative; padding-block: clamp(36px, 6vw, 72px); display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .loy-hero-inner { grid-template-columns: 1.1fr .9fr; } }
.loy-hero .paper { --fold: 30px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; justify-items: start; }
.loy-hero .paper p { color: var(--muted); font-size: 1.1rem; }
.points-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.points-card .big { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--sage-ink); }
.tier-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-family: var(--font-head); font-size: .9rem; }
.tier-badge.bud { background: var(--cream); } .tier-badge.bloom { background: var(--pink); } .tier-badge.paradise { background: var(--aqua); }
.tier-badge svg { width: 16px; height: 16px; }
.progress { height: 10px; border-radius: 99px; background: var(--cream-soft); overflow: hidden; border: 1px solid var(--line); }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--sage-ink)); border-radius: 99px; transition: width .8s var(--ease); }
[dir="rtl"] .progress > span { background: linear-gradient(-90deg, var(--sage), var(--sage-ink)); }
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 22px; border-radius: var(--radius-lg); background: var(--cream-soft); display: grid; gap: 8px; }
.step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 99px; background: var(--sage-ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); }
.tiers { display: grid; gap: 16px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); position: relative; overflow: hidden; }
.tier .head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tier :is(h2, h3) { font-size: 1.5rem; font-weight: 400; }
.tier .from { color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; }
.tier li svg { width: 18px; height: 18px; color: var(--sage-ink); flex: none; margin-top: 3px; }
.tier.bud { background: var(--cream-soft); } .tier.bloom { background: var(--pink-soft); } .tier.paradise { background: var(--aqua-soft); }
.tier.current { border: 2px solid var(--sage-ink); }
.tier .you { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--sage-ink); color: #fff; font-size: .78rem; padding: 2px 10px; border-radius: 99px; font-family: var(--font-head); }
.earn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .earn-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.earn-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; transition: border-color .2s, transform .25s var(--ease); }
.earn-card:hover { border-color: var(--sage); transform: translateY(-2px); }
.earn-card .ic { width: 44px; height: 44px; border-radius: 99px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-ink); margin-bottom: 4px; }
.earn-card .ic svg { width: 22px; height: 22px; }
.earn-card p { color: var(--muted); font-size: .92rem; }
.redeem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.redeem-card { border-radius: var(--radius-lg); padding: 20px 14px; text-align: center; display: grid; gap: 4px; }
.redeem-card .pts { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); }
.redeem-card .val { color: var(--sage-ink); font-family: var(--font-head); }
.calc { border-radius: var(--radius-lg); background: var(--cream-soft); padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; }
.calc input[type=range] { width: 100%; accent-color: var(--sage-ink); }
.calc .amount { font-family: var(--font-head); font-size: 1.5rem; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc-results > div { background: #fff; border-radius: var(--radius); padding: 14px 10px; text-align: center; }
.calc-results .n { font-family: var(--font-head); font-size: 1.6rem; color: var(--sage-ink); }
.calc-results small { color: var(--muted); display: block; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-head); font-size: 1.08rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .plus { width: 22px; height: 22px; position: relative; flex: none; }
.faq-list .plus::before, .faq-list .plus::after { content: ""; position: absolute; inset: 50% 3px auto; height: 1.5px; background: currentColor; transition: transform .25s; }
.faq-list .plus::after { transform: rotate(90deg); }
.faq-list details[open] .plus::after { transform: rotate(0); }
.faq-list .ans { padding-bottom: 18px; color: var(--muted); animation: accIn .3s var(--ease); max-width: 70ch; }

/* Account */
.acc-grid { display: grid; gap: 22px; padding-block: 28px 64px; }
@media (min-width: 900px) { .acc-grid { grid-template-columns: 1fr 1.3fr; gap: 36px; } }
.history { display: grid; }
.history-row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.history-row .d { font-size: .82rem; color: var(--muted); }
.history-row .pts { font-family: var(--font-head); white-space: nowrap; }
.history-row .pts.plus { color: var(--sage-ink); }
.history-row .pts.minus { color: var(--danger); }
.code-box { display: flex; gap: 8px; align-items: center; }
.code-box code { flex: 1; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .08em; background: #fff; border: 1.5px dashed var(--sage); border-radius: 12px; padding: 10px 14px; text-align: center; direction: ltr; }

/* Content pages */
.prose { max-width: 760px; display: grid; gap: 18px; padding-block: 32px 64px; }
.prose .lead { font-size: 1.25rem; font-family: var(--font-head); line-height: 1.5; }
.prose p { color: #4A4744; }
.prose ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; color: #4A4744; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 20px; border-radius: var(--radius); display: grid; gap: 6px; }
.value p { font-size: .95rem; }
.contact-cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; gap: 16px; align-items: center; transition: border-color .2s, background .2s; }
.contact-card:hover { border-color: var(--sage-ink); background: var(--cream-soft); }
.contact-card .ic { width: 52px; height: 52px; border-radius: 99px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-ink); flex: none; }
.contact-card .ic svg { width: 26px; height: 26px; }
.contact-card .v { color: var(--muted); direction: ltr; unicode-bidi: isolate; }

.brands-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding-block: 28px 64px; }
@media (min-width: 700px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
.brand-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; transition: border-color .2s, transform .25s var(--ease); }
.brand-card:hover { border-color: var(--sage-ink); transform: translateY(-2px); }
.brand-card h2 { font-weight: 400; font-size: 1.35rem; margin-bottom: 4px; }
.brand-card p { color: var(--muted); font-size: .95rem; }
.brand-card .imgs { display: flex; }
.brand-card .imgs img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-inline-start: -14px; }
.brand-card .imgs img:first-child { margin-inline-start: 0; }

.order-done { max-width: 640px; margin-inline: auto; text-align: center; display: grid; gap: 16px; justify-items: center; padding-block: 48px 72px; }
.order-done .check { width: 72px; height: 72px; border-radius: 99px; background: var(--sage-soft); color: var(--sage-ink); display: grid; place-items: center; }
.order-done .check svg { width: 36px; height: 36px; }
.order-done .num { font-family: var(--font-head); font-size: 1.3rem; direction: ltr; }
.order-done .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.celebrate { background: var(--aqua-soft); border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 10px; align-items: center; }
.celebrate svg { width: 22px; height: 22px; color: var(--sage-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); margin-top: 0; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .site-footer { padding-bottom: 0; } }
.footer-grid { display: grid; gap: 32px; padding-block: 48px 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img.word { height: 40px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: #5A564F; max-width: 36ch; }
.site-footer h2 { font-size: 1.05rem; font-weight: 400; margin-bottom: 12px; }
/* long product lists: the browser skips drawing cards that are off screen */
.shop-grid > .pcard { content-visibility: auto; contain-intrinsic-size: auto 360px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: #4A4744; transition: color .15s; }
.site-footer ul a:hover { color: var(--sage-ink); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 99px; background: #fff; display: grid; place-items: center; color: var(--sage-ink); transition: background .2s, color .2s; }
.social a:hover { background: var(--sage-ink); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(0, 0, 0, .08); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .9rem; color: #5A564F; }
.pay-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-pills span { background: #fff; border-radius: 8px; padding: 4px 10px; font-size: .82rem; font-family: var(--font-head); }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav { position: fixed; bottom: 0; inset-inline: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 1024px) { .bottom-nav { display: none; } }
.bottom-nav a, .bottom-nav button { display: grid; justify-items: center; gap: 2px; padding: 8px 0 7px; font-size: .74rem; color: var(--muted); position: relative; transition: color .2s; }
.bottom-nav svg { width: 23px; height: 23px; }
.bottom-nav .active { color: var(--sage-ink); }
.bottom-nav .active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--sage-ink); }
.bottom-nav .count-badge { top: 3px; inset-inline-end: calc(50% - 22px); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 150; inset-inline: 0; bottom: calc(80px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 16px; }
@media (min-width: 1024px) { .toasts { bottom: 28px; } }
.toast { background: var(--ink); color: #fff; border-radius: 99px; padding: 10px 18px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); animation: toastIn .35s var(--ease); pointer-events: auto; max-width: 100%; }
.toast svg { width: 18px; height: 18px; color: var(--aqua); flex: none; }
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Page transitions ---------- */
#app { view-transition-name: page; min-height: 60vh; outline: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-old(page) { animation: 160ms ease-in both vt-out; }
::view-transition-new(page) { animation: 320ms var(--ease) both vt-in; }
html[data-nav="back"]::view-transition-new(page) { animation-name: vt-in-back; }
::view-transition-group(product-media) { animation-duration: 380ms; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes vt-in-back { from { opacity: 0; transform: translateY(-10px); } }
.page-enter { animation: vt-in 320ms var(--ease) both; }
.route-progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 300; background: var(--sage-ink); transform-origin: left; transform: scaleX(0); opacity: 0; }
[dir="rtl"] .route-progress { transform-origin: right; }
.route-progress.go { animation: progress .45s var(--ease) forwards; }
@keyframes progress { 0% { opacity: 1; transform: scaleX(0); } 70% { opacity: 1; transform: scaleX(.9); } 100% { opacity: 0; transform: scaleX(1); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.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; }
  .reveal { opacity: 1; transform: none; }
}
.noscript { padding: 40px 16px; text-align: center; }
/* Until app.js fills them, the header/footer/bars are empty: don't paint them, otherwise
   they appear in one place and jump when the page is drawn (layout shift). */
#topbars:empty, .site-header:empty, .site-footer:empty, .bottom-nav:empty { display: none; }

/* ---------- order tracking ---------- */
.order-track { width: 100%; }
.order-track:empty { display: none; }
.tracker { width: 100%; text-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.tracker-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.track-steps li { position: relative; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center; padding-bottom: 20px; }
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li::before { content: ""; position: absolute; inset-inline-start: 13px; top: 30px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line); }
.track-steps li:last-child::before { display: none; }
.track-steps li.line::before { background: var(--sage-ink); }
.track-steps .dot { grid-row: 1 / span 2; align-self: start; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: #fff; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.track-steps .dot .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.track-steps .done .dot { background: var(--sage-ink); border-color: var(--sage-ink); }
.track-steps .now .dot { box-shadow: 0 0 0 5px var(--sage-soft); }
.track-steps .lbl { font-family: var(--font-head); color: var(--muted); line-height: 28px; }
.track-steps .done .lbl { color: var(--ink); }
.track-steps .now .lbl { color: var(--sage-ink); }
.track-steps small { grid-column: 2; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.track-note { background: var(--sage-soft); border-radius: 12px; padding: 10px 12px; }
.track-note.is-cancelled { background: var(--pink-soft); color: var(--danger); }
.status-chip { display: inline-block; font-family: var(--font-head); font-size: .78rem; line-height: 1.4; padding: 3px 10px; border-radius: 99px; white-space: nowrap; background: #FFF1C7; color: #7A5600; }
.status-chip.st-confirmed { background: #DDEBFA; color: #22528C; }
.status-chip.st-shipping { background: #EEE3F9; color: #5B3590; }
.status-chip.st-delivered { background: var(--sage-soft); color: #3F5A3B; }
.status-chip.st-cancelled { background: var(--pink-soft); color: var(--danger); }
.history-row .row-end { display: flex; align-items: center; gap: 10px; flex: none; }
.track-page { max-width: 640px; display: grid; gap: 18px; padding-block: 24px 64px; }
.track-page .summary-card h2 { margin-bottom: 4px; }
