/* ===== Khulood Cosmetics — store ===== */
:root {
  --g900: #15241C;   /* brand forest (logo background) */
  --g800: #1D3829;
  --g700: #2B5440;
  --g500: #5E8A6E;
  --sage-50: #F5F8F3;
  --sage-100: #ECF2E8;
  --sage-200: #DCE6D5;
  --leaf: #ECF6D1;   /* brand light (logo) */
  --gold: #C99A3A;
  --gold-600: #B3852A;
  --text: #17211C;
  --muted: #66756C;
  --line: #E3E8E0;
  --white: #fff;
  --wa: #25A55A;
  --danger: #B3392B;

  --font: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(21, 36, 28, .04), 0 4px 14px rgba(21, 36, 28, .05);
  --wrap: 1392px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; top: -60px; inset-inline-start: 16px; z-index: 100; background: var(--g900); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip:focus { top: 10px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-weight: 700; font-size: 15px; transition: background-color .2s, border-color .2s, color .2s; }
.btn--green { background: var(--g900); color: #fff; }
.btn--green:hover { background: var(--g800); }
.btn--gold { background: var(--gold); color: var(--g900); }
.btn--gold:hover { background: #D6A84A; }
.btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--wa { width: 100%; background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1f8f4d; }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--g900); }
.round:hover { border-color: var(--g700); }

/* ===== Top strip ===== */
.topstrip { background: var(--sage-100); color: var(--g800); font-size: 13.5px; }
.topstrip__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topstrip p { display: flex; align-items: center; gap: 8px; }
.topstrip .i { width: 16px; height: 16px; color: var(--g700); }
.topstrip__social { display: flex; gap: 14px; }
.topstrip__social a:hover { color: var(--g900); }

/* ===== Header ===== */
.header { background: #fff; position: relative; z-index: 20; }
.header__in { display: grid; grid-template-columns: auto minmax(0, 760px) auto; align-items: center; justify-content: space-between; gap: 32px; padding-block: 14px; }
.logo img { width: 100px; height: auto; }
.search { display: flex; align-items: stretch; height: 52px; border: 1.5px solid var(--g900); border-radius: 12px; overflow: hidden; background: #fff; }
.search__cat { position: relative; display: flex; align-items: center; border-inline-end: 1px solid var(--line); }
.search__cat select { appearance: none; border: 0; background: transparent; padding: 0 20px 0 44px; height: 100%; font-weight: 600; color: var(--g800); cursor: pointer; }
.search__cat .i { position: absolute; inset-inline-end: 14px; width: 16px; height: 16px; pointer-events: none; color: var(--g800); }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 18px; outline: none; }
.search input::placeholder { color: #8A968F; }
.search button { width: 60px; border: 0; background: var(--g900); color: #fff; display: grid; place-items: center; }
.search button:hover { background: var(--g800); }
.header__tools { display: flex; align-items: center; gap: 12px; }
.tool { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 0; border-radius: 12px; background: transparent; text-align: start; }
.tool:hover { background: var(--sage-50); }
.tool--cart { background: var(--sage-100); }
.tool--cart:hover { background: var(--sage-200); }
.tool__icon { position: relative; color: var(--g900); }
.tool__icon .i { width: 26px; height: 26px; }
.dot { position: absolute; top: -8px; inset-inline-start: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--g900); font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.dot.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
.tool__txt { display: flex; flex-direction: column; line-height: 1.3; font-weight: 800; font-size: 15px; color: var(--g900); }
.tool__txt small { font-weight: 500; font-size: 12px; color: var(--muted); }

.catnav { border-block: 1px solid var(--line); }
.catnav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--text); }
.catnav a .i { width: 18px; height: 18px; color: var(--g700); }
.catnav a:hover { background: var(--sage-50); }
.catnav a.is-active { background: var(--sage-100); color: var(--g900); }
.offer-btn { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--gold); color: var(--g900); font-weight: 700; white-space: nowrap; }
.offer-btn:hover { background: #D6A84A; }
.offer-btn .i { width: 18px; height: 18px; }

/* ===== Hero slider ===== */
.hero { position: relative; height: clamp(440px, 46vw, 640px); background: var(--g900); overflow: hidden; }
.hero__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.on { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.on img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(15, 28, 21, .82) 0%, rgba(15, 28, 21, .55) 40%, rgba(15, 28, 21, 0) 72%); }
.slide__copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: min(var(--wrap), 100% - 48px); margin-inline: auto; color: #fff; }
.slide__copy > * { max-width: 560px; }
.slide__kicker { display: flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.slide__kicker::after { content: ""; width: 26px; height: 2px; background: var(--gold); }
.slide__title { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: 1.25; white-space: pre-line; }
.slide__text { margin-top: 14px; font-size: clamp(15px, 1.3vw, 18px); color: rgba(255, 255, 255, .88); }
.slide__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.slide__btns .btn--green { background: var(--leaf); color: var(--g900); }
.slide__btns .btn--green:hover { background: #fff; }
.slide .slide__copy > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.slide.on .slide__copy > * { opacity: 1; transform: none; }
.slide.on .slide__copy > *:nth-child(2) { transition-delay: .1s; }
.slide.on .slide__copy > *:nth-child(3) { transition-delay: .2s; }
.slide.on .slide__copy > *:nth-child(4) { transition-delay: .3s; }
.hero__controls { position: absolute; z-index: 2; bottom: 28px; inset-inline-end: max(24px, calc((100% - var(--wrap)) / 2)); display: flex; align-items: center; gap: 10px; direction: ltr; }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); color: #fff; }
.hero__arrow:hover { background: rgba(255, 255, 255, .18); }
.hero__dots { display: flex; gap: 6px; margin-inline-end: 8px; }
.hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: width .3s, background-color .3s; }
.hero__dots button[aria-selected="true"] { width: 28px; background: #fff; }

/* ===== Trust row ===== */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.trust > div { display: flex; align-items: center; gap: 14px; }
.trust .i { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--sage-100); color: var(--g700); stroke-width: 1.6; }
.trust p { display: flex; flex-direction: column; line-height: 1.45; }
.trust b { font-size: 15px; color: var(--g900); }
.trust span { font-size: 13px; color: var(--muted); }

/* ===== Blocks ===== */
.block { padding-block: 56px 8px; }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1.5px solid var(--line); position: relative; }
.block__head h2 { font-size: 27px; font-weight: 800; color: var(--g900); position: relative; }
.block__head h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -16px; width: 100%; height: 2px; background: var(--gold); }
.more { font-weight: 700; color: var(--g700); font-size: 14px; }
.more:hover { color: var(--g900); text-decoration: underline; text-underline-offset: 5px; }

/* ===== Categories ===== */
/* columns follow the number of cards (set inline as --cats), so 4 or 5 cards always fill the row */
.cats { --cats: 5; display: grid; grid-template-columns: repeat(var(--cats), 1fr); gap: 18px; }
.cat { display: block; padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; transition: border-color .2s, box-shadow .2s; }
.cat:hover { border-color: var(--sage-200); box-shadow: var(--shadow); }
.cat__img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--sage-100); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat h3 { margin-top: 14px; font-size: 17px; font-weight: 800; color: var(--g900); }
.cat span { font-size: 13px; color: var(--muted); }
.cat--advice .cat__img { background: var(--g900); display: grid; place-items: center; color: var(--leaf); }
.cat--advice .cat__img .i { width: 46px; height: 46px; stroke-width: 1.5; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.tabs button { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--g800); white-space: nowrap; }
.tabs button:hover { background: var(--sage-50); }
.tabs button[aria-selected="true"] { background: var(--g900); color: #fff; }
.results-note { margin: -6px 0 18px; color: var(--muted); }
.results-note button { border: 0; background: none; color: var(--g700); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding: 0 6px; }

/* ===== Product cards ===== */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.card:hover { border-color: var(--sage-200); box-shadow: var(--shadow); }
.card__img { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--sage-100); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.badge { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1; padding: 2px 10px; border-radius: 7px; background: #fff; color: var(--g900); font-size: 12px; font-weight: 800; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.badge--gold { background: var(--gold); color: var(--g900); }
.fav { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--g900); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.fav .i { width: 18px; height: 18px; }
.fav[aria-pressed="true"] { color: var(--danger); }
.fav[aria-pressed="true"] .i { fill: currentColor; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 6px 4px; }
.card__cat { font-size: 12.5px; color: var(--muted); }
.card__name { font-size: 17px; font-weight: 800; color: var(--g900); line-height: 1.45; margin-top: 2px; }
.card__name button { all: unset; cursor: pointer; }
.card__name button:hover { text-decoration: underline; text-underline-offset: 4px; }
.card__sub { font-size: 13px; color: var(--muted); }
.card__price { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.card__price b { font-size: 21px; font-weight: 800; color: var(--g900); }
.card__price small { font-size: 14px; font-weight: 700; }
.card__price s { font-size: 13px; color: var(--muted); }
.add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; margin-top: 14px; border: 0; border-radius: var(--radius-sm); background: var(--sage-100); color: var(--g800); font-weight: 700; font-size: 14.5px; transition: background-color .2s, color .2s; }
.add .i { width: 18px; height: 18px; }
.add:hover, .add.added { background: var(--g900); color: #fff; }

/* ===== Green panel ===== */
.panel { margin-top: 64px; padding: 44px 36px 36px; border-radius: 18px; background: var(--g900); color: #fff; overflow: hidden; position: relative; }
.panel::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -260px; border: 1.5px solid rgba(236, 246, 209, .12); }
.panel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 30px; position: relative; }
.kicker { display: block; color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.panel h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.35; }
.panel__side { max-width: 470px; }
.panel__side p { color: rgba(255, 255, 255, .82); }
.panel__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.concerns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.concern { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--g800); }
.concern img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.concern:hover img { transform: scale(1.06); }
.concern::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 28, 21, .85), rgba(15, 28, 21, 0) 55%); }
.concern__txt { position: absolute; z-index: 1; inset-inline: 20px; bottom: 18px; }
.concern h3 { font-size: 21px; font-weight: 800; }
.concern__txt span { font-size: 14px; color: rgba(255, 255, 255, .82); }
.show-more { display: flex; align-items: center; width: fit-content; margin: 28px auto 0; height: 48px; padding: 0 34px; border: 1.5px solid var(--g900); border-radius: var(--radius-sm); background: #fff; color: var(--g900); font-weight: 700; }
.show-more:hover { background: var(--g900); color: #fff; }
.concern__go { position: absolute; z-index: 1; top: 16px; inset-inline-start: 16px; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--g900); display: grid; place-items: center; }

/* ===== Row carousel ===== */
.row-arrows { display: flex; gap: 8px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.row::-webkit-scrollbar { display: none; }
.row > .card { scroll-snap-align: start; }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reviews figure { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sage-50); display: flex; flex-direction: column; gap: 10px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.reviews blockquote { margin: 0; font-size: 17px; font-weight: 700; color: var(--g900); line-height: 1.6; flex: 1; }
.reviews figcaption { font-size: 13px; color: var(--muted); }

/* ===== Steps ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li > b { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--g900); color: var(--leaf); font-size: 18px; }
.steps h3 { font-size: 17px; font-weight: 800; color: var(--g900); }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ===== Footer ===== */
.footer { margin-top: 80px; background: var(--sage-100); border-top: 3px solid; border-image: linear-gradient(to left, var(--g900), var(--gold)) 1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px 40px; padding-block: 52px 36px; }
.footer__brand img { width: 120px; height: auto; }
.footer__brand p { margin-top: 12px; color: var(--muted); max-width: 30ch; }
.footer h3 { font-size: 16px; font-weight: 800; color: var(--g900); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer ul a { color: var(--text); font-size: 15px; }
.footer ul a:hover { color: var(--g700); text-decoration: underline; text-underline-offset: 4px; }
.footer__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer__pills > * { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; }
.footer__pills .i { width: 17px; height: 17px; color: var(--g700); }
.footer__pills a:hover { border-color: var(--g700); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 18px 22px; border-top: 1px solid var(--sage-200); font-size: 13px; color: var(--muted); }
.footer__bottom span { display: flex; align-items: center; gap: 6px; }
.footer__bottom .i { width: 16px; height: 16px; }

/* ===== WhatsApp float ===== */
.wa-float { position: fixed; z-index: 30; bottom: 22px; left: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 165, 90, .35); }
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover { background: #1f8f4d; }

/* ===== Drawer ===== */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(15, 28, 21, .45); opacity: 0; transition: opacity .25s; }
.scrim.on { opacity: 1; }
.drawer { position: fixed; z-index: 50; top: 0; bottom: 0; left: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: #fff; transform: translateX(-100%); visibility: hidden; transition: transform .3s cubic-bezier(.3, .7, .2, 1), visibility .3s; }
.drawer.open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 20px; font-weight: 800; color: var(--g900); }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px 20px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--sage-50); }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--sage-100); }
.line__name { font-weight: 800; color: var(--g900); line-height: 1.4; }
.line__price { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line); border-radius: 9px; }
.qty button { width: 32px; height: 32px; border: 0; background: transparent; font-size: 18px; color: var(--g900); border-radius: 8px; }
.qty button:hover { background: var(--sage-100); }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }
.line__sum { text-align: end; font-weight: 800; color: var(--g900); white-space: nowrap; align-self: start; }
.line__remove { display: block; margin-top: 6px; margin-inline-start: auto; border: 0; background: none; padding: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--danger); }
.empty { display: grid; justify-items: center; gap: 14px; padding: 56px 0; color: var(--muted); }
.empty .i { width: 48px; height: 48px; color: var(--sage-200); stroke-width: 1.4; }
.checkout { margin-top: 22px; display: grid; gap: 12px; }
.checkout h3 { font-size: 16px; font-weight: 800; color: var(--g900); }
.checkout label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--g800); }
.checkout .opt { font-weight: 400; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout input, .checkout select, .checkout textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; }
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { outline: none; border-color: var(--g700); box-shadow: 0 0 0 3px rgba(43, 84, 64, .12); }
.checkout [aria-invalid="true"] { border-color: var(--danger); }
.form-error { min-height: 1.2em; color: var(--danger); font-size: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { color: var(--muted); }
.total b { font-size: 24px; font-weight: 800; color: var(--g900); }
.total-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }

/* ===== Product dialog ===== */
.pd { width: min(940px, 100% - 32px); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 18px; overflow: auto; }
.pd::backdrop { background: rgba(15, 28, 21, .55); }
.pd__close { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; }
.pd__in { display: grid; grid-template-columns: 1fr 1fr; }
.pd__img { background: var(--sage-100); }
.pd__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.pd__copy { padding: 40px 34px 32px; display: flex; flex-direction: column; gap: 8px; }
.pd__copy h2 { font-size: 30px; font-weight: 800; color: var(--g900); line-height: 1.3; }
.pd__copy h3 { margin-top: 12px; font-size: 15px; font-weight: 800; color: var(--g900); }
.pd__copy ul { margin: 0; padding-inline-start: 20px; }
.pd__copy li::marker { color: var(--g500); }
.pd__usage { color: var(--muted); }
.pd__buy { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 20px; flex-wrap: wrap; }
.pd__buy .card__price { margin: 0; }
.pd__buy .btn { flex: 1; }

/* ===== Toast ===== */
.toast { position: fixed; z-index: 60; bottom: 26px; left: 50%; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 10px 22px; border-radius: 10px; background: var(--g900); color: #fff; font-weight: 600; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Responsive ===== */
/* =====================================================================
   Multi-page components
   ===================================================================== */
.btn--ghost { border-color: var(--line); background: #fff; color: var(--g900); }
.btn--ghost:hover { border-color: var(--g700); }
.btn--leaf { background: var(--leaf); color: var(--g900); }
.btn--leaf:hover { background: #fff; }
.btn--wa-line { border-color: var(--wa); color: #1d7f45; background: #fff; width: 100%; }
.btn--wa-line:hover { background: #f0faf3; }
.muted { color: var(--muted); }
.card__cat:hover { color: var(--g700); }
.card__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.reviews figcaption a { color: var(--g700); font-weight: 700; }
.dot--inline { position: static; display: inline-grid; margin-inline-start: 4px; }

/* page head + breadcrumbs */
.pagehead { background: var(--sage-100); padding-block: 26px 30px; }
.pagehead h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--g900); margin-top: 6px; }
.pagehead h1 small { font-size: 16px; font-weight: 600; color: var(--muted); }
.pagehead p { color: var(--muted); max-width: 68ch; margin-top: 4px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumbs .i { width: 14px; height: 14px; opacity: .7; }
.crumbs span { font-weight: 700; }
.crumbs--dark { color: var(--muted); }
.crumbs--dark span { color: var(--g900); }

/* category banner */
.banner { position: relative; min-height: 300px; display: flex; align-items: flex-end; background: var(--g900); overflow: hidden; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(15, 28, 21, .88), rgba(15, 28, 21, .5) 50%, rgba(15, 28, 21, .05) 85%); }
.banner__copy { position: relative; z-index: 1; padding-block: 34px; color: #fff; }
.banner__copy h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-top: 8px; }
.banner__copy p { max-width: 54ch; color: rgba(255, 255, 255, .88); }
.catneeds { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding-block: 22px 0; }
.catneeds > span { font-weight: 700; color: var(--g900); }
.catneeds__list { display: flex; flex-wrap: wrap; gap: 8px; }
.need-pill { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--g800); }
.need-pill:hover { border-color: var(--g700); }
.need-pill.on { background: var(--g900); border-color: var(--g900); color: #fff; }

/* shop layout */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; padding-block: 28px 0; }
.filters { position: sticky; top: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filters__head h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--g900); }
.filters__close { display: none; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); margin: 12px 0 0; padding: 14px 0 0; min-width: 0; }
.filters legend { display: contents; font-weight: 800; color: var(--g900); font-size: 15px; }
.filters legend::after { content: ""; display: block; height: 6px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14.5px; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--sage-200); border-radius: 6px; display: grid; place-items: center; background: #fff; color: transparent; transition: background-color .15s, border-color .15s; }
.check__box .i { width: 14px; height: 14px; stroke-width: 2.6; }
.check input:checked + .check__box { background: var(--g900); border-color: var(--g900); color: #fff; }
.check input:focus-visible + .check__box { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.check:hover .check__box { border-color: var(--g700); }
.check__label { flex: 1; }
.check__n { font-size: 12px; color: var(--muted); background: var(--sage-50); border-radius: 999px; padding: 0 8px; }
.filters__foot { display: none; }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sage-50); }
.toolbar__filter { display: none; min-height: 40px; padding: 0 16px; }
.toolbar__count { font-weight: 700; color: var(--g900); }
.toolbar__sort { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.toolbar__sort select { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-weight: 700; color: var(--g900); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chips:empty { margin: 8px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--sage-200); border-radius: 999px; background: var(--sage-100); font-size: 13.5px; font-weight: 700; color: var(--g900); }
.chip .i { width: 14px; height: 14px; }
.chip:hover { border-color: var(--g700); }
.chip--clear { background: #fff; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.grid--shop { grid-template-columns: repeat(4, 1fr); }
.no-results { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 56px 16px; text-align: center; border: 1px dashed var(--sage-200); border-radius: var(--radius); }
.no-results > .i { width: 44px; height: 44px; color: var(--sage-200); }
.no-results h3 { font-size: 19px; color: var(--g900); }
.no-results p { color: var(--muted); margin-bottom: 8px; }
.other-cats { padding-top: 56px; }
.other-cats h2 { font-size: 22px; font-weight: 800; color: var(--g900); margin-bottom: 16px; }
.other-cats__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other-cat { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.other-cat:hover { border-color: var(--sage-200); box-shadow: var(--shadow); }
.other-cat img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.other-cat span { flex: 1; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.other-cat b { font-size: 16px; color: var(--g900); }
.other-cat > .i { color: var(--g700); }

/* product page */
.product-page { padding-top: 22px; }
.pp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 18px; align-items: start; }
.pp__media { position: relative; border-radius: 18px; overflow: hidden; background: var(--sage-100); position: sticky; top: 16px; }
.pp__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pp__media .badge { top: 16px; inset-inline-end: 16px; font-size: 13px; padding: 4px 12px; }
.pp__info { display: flex; flex-direction: column; gap: 10px; }
.pp__info h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--g900); line-height: 1.3; }
.pp__sub { color: var(--muted); font-size: 17px; margin-top: -6px; }
.pp__price b { font-size: 32px; font-weight: 800; color: var(--g900); }
.pp__price small { font-size: 18px; }
.pp__price s { color: var(--muted); margin-inline-start: 10px; }
.pp__desc { font-size: 16.5px; line-height: 1.9; }
.pp__needs { display: flex; flex-wrap: wrap; gap: 8px; }
.pp__buy { display: flex; gap: 10px; align-items: stretch; margin-top: 10px; }
.pp__add { flex: 1; }
.qty--lg { margin: 0; height: 48px; border-radius: 10px; }
.qty--lg button { width: 42px; height: 100%; }
.qty--lg input { width: 44px; border: 0; text-align: center; font-weight: 800; font-size: 16px; -moz-appearance: textfield; }
.qty--lg input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fav-lg { width: 48px; height: 48px; border-radius: 10px; }
.fav-lg[aria-pressed="true"] { color: var(--danger); }
.fav-lg[aria-pressed="true"] .i { fill: currentColor; }
.pp__trust { list-style: none; margin: 10px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14.5px; }
.pp__trust li { display: flex; align-items: center; gap: 8px; }
.pp__trust .i { color: var(--g700); }
.pp__trust a { text-decoration: underline; text-underline-offset: 4px; }
.pp__tabs { margin-top: 48px; }
.pp__tabs .tabs { width: fit-content; }
.pp__panel { padding: 22px 4px 0; max-width: 75ch; }
.pp__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp__panel li { display: flex; gap: 10px; align-items: flex-start; }
.pp__panel li .i { color: var(--g700); margin-top: 4px; }
.pp__panel a { color: var(--g700); font-weight: 700; }

/* drawer extras */
.drawer__added { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 20px; background: #EDF7EF; color: #1d7f45; font-weight: 700; font-size: 14px; }
.drawer__added .i { width: 18px; height: 18px; stroke-width: 2.4; }
.drawer__btns { display: grid; gap: 8px; }
.drawer__suggest h3 { font-size: 15px; font-weight: 800; color: var(--g900); margin: 20px 0 10px; }
.suggest { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px dashed var(--sage-200); border-radius: 12px; background: var(--sage-50); }
.suggest img { width: 60px; height: 60px; border-radius: 9px; object-fit: cover; }
.round--add { background: var(--g900); color: #fff; border-color: var(--g900); }
.round--add:hover { background: var(--g800); }
.line__name { display: block; }
a.line__name:hover { text-decoration: underline; text-underline-offset: 4px; }

/* cart page */
.checkout-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: s; font-size: 14px; }
.checkout-steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; color: var(--muted); font-weight: 600; }
.checkout-steps li::before { content: counter(s, arabic-indic); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-200); font-size: 12px; color: var(--g900); }
.checkout-steps li.on { color: var(--g900); }
.checkout-steps li.on::before { background: var(--g900); color: #fff; }
.cart-layout { display: grid; grid-template-columns: 1fr 420px; gap: 28px; align-items: start; padding-top: 28px; }
.cart-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.cart-box__head { display: flex; justify-content: space-between; align-items: center; }
.cart-box h2 { font-size: 19px; font-weight: 800; color: var(--g900); }
.cart-box .lines { margin-bottom: 16px; }
.cart-side { position: sticky; top: 16px; }
.cart-side .checkout { margin-top: 0; }
.link-btn { border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.link-btn:hover { color: var(--danger); }
.summary { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--sage-50); font-size: 14.5px; }
.summary > div { display: flex; justify-content: space-between; gap: 10px; }
.summary__total { padding-top: 8px; border-top: 1px solid var(--line); }
.summary__total b { font-size: 22px; color: var(--g900); }
.sent { display: flex; gap: 8px; padding: 12px; border-radius: 10px; background: #EDF7EF; color: #1d7f45; font-weight: 600; font-size: 14px; }
.fine { font-size: 12.5px; color: var(--muted); }
.fine a { text-decoration: underline; }
.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 64px 16px; text-align: center; }
.cart-empty > .i { width: 56px; height: 56px; color: var(--sage-200); stroke-width: 1.4; }
.cart-empty h2 { font-size: 22px; color: var(--g900); }
.cart-empty p { color: var(--muted); margin-bottom: 10px; }
.wish-actions { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.wish-actions:has([hidden]) { display: none; }

/* docs (policies, help) */
.doc { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; padding-top: 36px; }
.doc__body { min-width: 0; max-width: 78ch; }
.doc__side { position: sticky; top: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.doc__side h2 { font-size: 16px; font-weight: 800; color: var(--g900); margin-bottom: 8px; }
.doc__side ul { list-style: none; margin: 0; padding: 0; display: grid; }
.doc__side li a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; }
.doc__side li a:hover { background: var(--sage-50); }
.doc__side li a[aria-current] { background: var(--sage-100); font-weight: 700; color: var(--g900); }
.doc__help { margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--sage-100); display: grid; gap: 4px; }
.doc__help b { color: var(--g900); }
.doc__help p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.doc__help .btn { min-height: 42px; }
.prose h2 { font-size: 21px; font-weight: 800; color: var(--g900); margin: 30px 0 8px; }
.prose h2:first-child, .prose .muted:first-child + h2 { margin-top: 0; }
.prose p, .prose li { line-height: 1.95; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 6px 0; }
.prose li::marker { color: var(--g500); }
.prose a, .doc__body a { color: var(--g700); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); }
th { background: var(--sage-50); color: var(--g900); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.todo { background: #FFF3CD; outline: 1px dashed #D9A400; border-radius: 4px; padding: 0 4px; }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px; border-radius: 12px; background: var(--sage-50); border: 1px solid var(--line); }
.note .i { color: var(--g700); margin-top: 4px; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.howto li { display: flex; gap: 18px; position: relative; padding-bottom: 28px; }
.howto li:not(:last-child)::after { content: ""; position: absolute; top: 48px; bottom: 6px; inset-inline-start: 23px; width: 2px; background: var(--sage-200); }
.howto li > b { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--g900); color: var(--leaf); font-size: 19px; }
.howto h2 { font-size: 19px; font-weight: 800; color: var(--g900); margin-top: 8px; }
.howto p { color: var(--text); margin-top: 4px; }
.faq__group { font-size: 19px; font-weight: 800; color: var(--g900); margin: 30px 0 10px; }
.faq__group:first-child { margin-top: 0; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 700; color: var(--g900); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-100); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--sage-50); }
.faq details p { padding: 0 18px 18px; color: var(--text); line-height: 1.9; }

/* about */
.about { padding-top: 40px; }
.about__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about__img { border-radius: 18px; overflow: hidden; }
.about__img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about__copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--g900); margin-bottom: 12px; }
.about__copy p { font-size: 16.5px; line-height: 1.95; margin-bottom: 12px; }
.kicker--dark { color: var(--gold-600); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.values > div { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.values .i { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--sage-100); color: var(--g700); }
.values h3 { font-size: 17px; font-weight: 800; color: var(--g900); margin: 12px 0 4px; }
.values p { font-size: 14.5px; color: var(--muted); }
.about__cta { margin-top: 56px; padding: 36px; border-radius: 18px; background: var(--g900); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.about__cta h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.about__cta > div { display: flex; gap: 12px; flex-wrap: wrap; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 36px; align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard { display: flex; flex-direction: column; gap: 2px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
a.ccard:hover { border-color: var(--g700); box-shadow: var(--shadow); }
.ccard .i { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--sage-100); color: var(--g700); margin-bottom: 8px; }
.ccard b { font-size: 17px; color: var(--g900); }
.ccard span { font-weight: 700; }
.ccard small { color: var(--muted); font-size: 13px; }
.contact__form { margin-top: 0; }

/* 404 */
.notfound { display: grid; justify-items: center; text-align: center; gap: 8px; padding-block: 64px 16px; }
.notfound__code { font-size: 96px; line-height: 1; font-weight: 800; color: var(--sage-200); }
.notfound h1 { font-size: 26px; color: var(--g900); }
.notfound p { color: var(--muted); }
.notfound > .i { width: 48px; height: 48px; color: var(--sage-200); }
.notfound__btns { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 1200px) {
  .grid--shop { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .row { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .cats { grid-template-columns: repeat(var(--cats), minmax(160px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .tool__txt { display: none; }
}
@media (max-width: 960px) {
  .header__in { grid-template-columns: auto 1fr auto; gap: 16px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .logo img { width: 66px; }
  .header__tools { grid-column: 3; }
  .offer-btn { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .row { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .trust { grid-template-columns: 1fr 1fr; }
  .concerns { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pd__in { grid-template-columns: 1fr; }
  .pd__img img { aspect-ratio: 4 / 3; }
  /* filters become a slide-in panel */
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 55; top: 0; bottom: 0; right: 0; width: min(360px, 90%); border-radius: 0; border: 0; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.3, .7, .2, 1), visibility .3s; display: flex; flex-direction: column; }
  .filters.open { transform: none; visibility: visible; }
  .filters__close { display: grid; }
  .filters__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 18px; position: sticky; bottom: -18px; background: #fff; padding-bottom: 18px; }
  .scrim--filters { z-index: 54; opacity: 1; }
  .toolbar__filter { display: inline-flex; }
  .grid--shop { grid-template-columns: repeat(3, 1fr); }
  .pp { grid-template-columns: 1fr; gap: 24px; }
  .pp__media { position: relative; top: 0; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .doc { grid-template-columns: 1fr; }
  .doc__side { position: static; }
  .about__intro, .contact { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .other-cats__list { grid-template-columns: 1fr; }
  .slide::after { background: linear-gradient(to top, rgba(15, 28, 21, .9) 0%, rgba(15, 28, 21, .55) 50%, rgba(15, 28, 21, .1) 100%); }
  .slide__copy { justify-content: flex-end; padding-bottom: 92px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hide-sm { display: none !important; }
  .topstrip { font-size: 12.5px; }
  .header__in { padding-block: 10px; }
  .search { height: 48px; }
  .search__cat { display: none; }
  .search button { width: 52px; }
  .tool { padding: 8px; }
  .hero { height: 560px; }
  .slide__copy { padding-bottom: 86px; }
  .slide__btns .btn { flex: 1 1 auto; padding: 0 18px; }
  .hero__controls { inset-inline-end: 16px; bottom: 22px; }
  .trust { gap: 14px; padding-block: 22px; }
  .trust > div { flex-direction: column; text-align: center; gap: 8px; }
  .trust span { display: none; }
  .block { padding-block: 44px 4px; }
  .block__head h2 { font-size: 22px; }
  .cats { grid-template-columns: repeat(var(--cats), 42%); }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .row { grid-auto-columns: 46%; gap: 12px; }
  .card { padding: 8px; }
  .card__body { padding: 10px 2px 2px; }
  .card__name { font-size: 15px; }
  .card__sub { display: none; }
  .card__price b { font-size: 18px; }
  .add { height: 40px; font-size: 13.5px; }
  .fav { top: 14px; inset-inline-start: 14px; width: 32px; height: 32px; }
  .badge { top: 8px; inset-inline-end: 8px; font-size: 11px; }
  .panel { margin-top: 48px; padding: 30px 18px 18px; border-radius: 16px; }
  .concerns { gap: 10px; }
  .concern__txt { inset-inline: 12px; bottom: 12px; }
  .concern h3 { font-size: 16px; }
  .concern__txt span { font-size: 12.5px; }
  .concern__go { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .pd__copy { padding: 24px 20px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
  .grid--shop { grid-template-columns: 1fr 1fr; gap: 12px; }
  .toolbar { padding: 8px 10px; gap: 8px; }
  .toolbar__count { order: 3; width: 100%; font-size: 14px; }
  .toolbar__sort { font-size: 0; }
  .toolbar__sort select { font-size: 14px; }
  .banner { min-height: 240px; }
  .pp__buy { flex-wrap: wrap; }
  .pp__add { order: 3; flex-basis: 100%; }
  .pp__trust { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact__cards, .values { grid-template-columns: 1fr; }
  .about__cta { padding: 24px; }
  .cart-box { padding: 16px; }
  .line { grid-template-columns: 64px 1fr auto; }
  .line img { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================
   WordPress additions
   ===================================================================== */
.card[hidden], .card.is-hidden { display: none !important; }
.stars__off { opacity: .25; }
.add--out { background: #fff; border: 1px dashed var(--sage-200); color: var(--muted); font-weight: 600; text-decoration: none; }
.add--out:hover { background: var(--sage-50); color: var(--g900); }
.pp__main { position: relative; }
.pp__thumbs { display: flex; gap: 10px; padding: 12px; background: #fff; }
.pp__thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--sage-100); }
.pp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp__thumb.on { border-color: var(--g900); }
.pp__size { font-size: 15px; }
.pp__out { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 10px; background: #FFF3E6; color: #8A4B00; font-weight: 700; }
.fine p { margin: 0; }
.prose > *:first-child { margin-top: 0; }
.prose figure { margin: 14px 0; }
.prose .wp-block-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose .wp-block-table table { margin: 0; }
.prose .wp-block-table td, .prose .wp-block-table th { border: 0; border-bottom: 1px solid var(--line); }
.prose .wp-block-table thead { border: 0; }
.prose img { height: auto; border-radius: 12px; }
.prose blockquote { margin: 16px 0; padding: 12px 18px; border-inline-start: 3px solid var(--gold); background: var(--sage-50); border-radius: 8px; }
.prose mark.todo, mark.todo { background: #FFF3CD; outline: 1px dashed #D9A400; border-radius: 4px; padding: 0 4px; color: inherit; }
.faq__a { padding: 0 18px 18px; line-height: 1.9; }
.faq__a p { padding: 0; margin: 0 0 8px; }
.faq__intro { margin-bottom: 24px; }
.about__copy .prose p { font-size: 16.5px; line-height: 1.95; margin-bottom: 12px; }
.about__more { margin-top: 40px; max-width: 78ch; }
.howto .prose p { margin: 4px 0 0; }
.post-item { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-extra, .contact-extra { margin-top: 32px; max-width: 78ch; }
.admin-bar .filters.open { top: 46px; }
@media (min-width: 783px) { .admin-bar .filters.open { top: 32px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* product page: specs, steps, faq */
.pp__panel li span b { color: var(--g900); }
.pp__steps { margin: 0; padding-inline-start: 0; list-style: none; counter-reset: st; display: grid; gap: 12px; }
.pp__steps li { counter-increment: st; display: flex; gap: 12px; align-items: flex-start; }
.pp__steps li::before { content: counter(st, arabic-indic); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--g900); color: var(--leaf); font-weight: 700; font-size: 14px; margin-top: 2px; }
.pp__specs { width: 100%; max-width: 640px; border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.pp__specs th { width: 34%; background: var(--sage-50); vertical-align: top; }
.pp__specs tr:last-child th, .pp__specs tr:last-child td { border-bottom: 0; }
.pp__panel--wide { max-width: 860px; }

/* ===== Product info card (tabs) ===== */
.pinfo { margin-top: 56px; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.pinfo__nav { display: flex; gap: 2px; padding: 0 14px; background: var(--sage-50); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pinfo__nav::-webkit-scrollbar { display: none; }
.pinfo__nav button { display: flex; align-items: center; gap: 8px; padding: 18px 16px 15px; border: 0; border-bottom: 3px solid transparent; background: none; font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; transition: color .2s, border-color .2s; }
.pinfo__nav button .i { width: 18px; height: 18px; }
.pinfo__nav button:hover { color: var(--g900); }
.pinfo__nav button[aria-selected="true"] { color: var(--g900); border-bottom-color: var(--gold); }
.pinfo__nav button[aria-selected="true"] .i { color: var(--gold-600); }
.pinfo__body { padding: 30px 32px 34px; }
.pinfo__panel { max-width: none; }
.pfeat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pfeat li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--sage-50); }
.pfeat__ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--g900); color: var(--leaf); }
.pfeat__ic .i { width: 18px; height: 18px; stroke-width: 2.2; }
.pfeat b { display: block; color: var(--g900); font-size: 15.5px; margin-bottom: 2px; }
.pfeat p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--text); }
.psteps { list-style: none; margin: 0; padding: 0; counter-reset: ps; display: grid; }
.psteps li { counter-increment: ps; position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.psteps li::before { content: counter(ps, arabic-indic); flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--g900); color: var(--leaf); font-weight: 800; font-size: 16px; z-index: 1; }
.psteps li:not(:last-child)::after { content: ""; position: absolute; top: 42px; bottom: 0; inset-inline-start: 19px; width: 2px; background: var(--sage-200); }
.psteps li p { margin: 0; padding: 8px 16px; flex: 1; border-radius: 12px; background: var(--sage-50); line-height: 1.85; }
.pnote { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--sage-50); border: 1px solid var(--line); }
.pnote p { margin: 0; line-height: 1.9; }
.pspecs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pspecs > div { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--sage-50); }
.pspecs dt { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.pspecs dd { margin: 0; color: var(--g900); font-weight: 700; line-height: 1.7; }
.pship { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 16px; background: var(--g900); color: #fff; }
.pship__ic { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(236, 246, 209, .12); color: var(--gold); }
.pship__ic .i { width: 28px; height: 28px; }
.pship__txt p { margin: 0; color: rgba(255, 255, 255, .9); line-height: 1.9; }
.pship__txt a { color: var(--gold); }
.pship__countries { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pship__countries li { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; }
.pship__countries .i { width: 15px; height: 15px; color: var(--g700); }
.pship__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.pship__steps > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.pship__steps b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-100); color: var(--g900); }
.pship__steps span { font-size: 14px; color: var(--muted); line-height: 1.7; }
.pship__steps strong { display: block; color: var(--g900); font-size: 15px; }
@media (max-width: 760px) {
  .pinfo { border-radius: 16px; margin-top: 40px; }
  .pinfo__nav { padding: 0 6px; }
  .pinfo__nav button { padding: 15px 12px 12px; font-size: 14px; }
  .pinfo__body { padding: 20px 16px 22px; }
  .pfeat, .pspecs, .pship__steps { grid-template-columns: 1fr; }
  .pship { flex-direction: column; align-items: flex-start; }
}

/* ===== Bundle contents ===== */
.pbundle { margin: 6px 0 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--sage-50); overflow: hidden; }
.pbundle__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.pbundle__head h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--g900); }
.pbundle__head h2 .i { color: var(--gold-600); }
.pbundle__head h2 span { color: var(--muted); font-weight: 600; }
.pbundle__value { font-size: 13px; font-weight: 700; color: var(--gold-600); background: #FBF3E2; padding: 3px 10px; border-radius: 999px; }
.pbundle ul { list-style: none; margin: 0; padding: 6px 8px; display: grid; }
.pbundle li a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; }
.pbundle li a:hover { background: #fff; }
.pbundle img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--sage-100); }
.pbundle span { display: flex; flex-direction: column; line-height: 1.4; }
.pbundle b { color: var(--g900); font-size: 14.5px; }
.pbundle small { color: var(--muted); font-size: 12.5px; }
.pbundle em { font-style: normal; font-weight: 700; color: var(--g900); font-size: 14px; white-space: nowrap; }
