﻿/* ROOT — botanical store. Palette from the brand brief; linen matches the account's posts. */
:root {
  --forest: #243424;
  --forest-2: #2f4430;
  --olive: #7D8375;
  --olive-ink: #5d6356;
  --sand: #C8B79E;
  --sand-soft: #e3d9c9;
  --linen: #EEECE6;
  --paper: #F7F6F2;
  --bark: #322C25;
  --amber: #D7A35A;
  --danger: #9b3b2a;
  --line: rgba(50, 44, 37, .16);

  --f-display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mark: "Michroma", "Reem Kufi", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--bark);
  font: 400 16px/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; color: var(--forest); margin: 0; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--forest); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--olive-ink); }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.mark { font-family: var(--f-mark); font-size: 21px; letter-spacing: .28em; color: var(--forest); text-decoration: none; direction: ltr; padding-inline-end: .1em; }
.nav { display: flex; gap: 22px; margin-inline-end: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--olive-ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); border-color: var(--forest); }
.head-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  background: none; border: 0; cursor: pointer; height: 40px; min-width: 40px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--forest); border-radius: 999px;
}
.icon-btn:hover { background: var(--linen); }
.icon-btn svg { width: 21px; height: 21px; }
.lang-btn { font-size: 14px; font-weight: 500; }
.cart-count {
  min-width: 20px; height: 20px; border-radius: 10px; background: var(--forest); color: var(--paper);
  font-size: 12px; display: inline-grid; place-items: center; padding: 0 5px;
}
.cart-count:empty { display: none; }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-header .wrap { gap: 10px; }
  .head-actions { margin-inline-start: auto; }
}

/* ---------- buttons & fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border: 1px solid var(--forest); border-radius: 2px;
  background: var(--forest); color: var(--paper); text-decoration: none; cursor: pointer;
  font-weight: 500; font-size: 16px; transition: background .15s;
}
.btn:hover { background: var(--forest-2); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--linen); }
.btn.wa { background: #1f5d3a; border-color: #1f5d3a; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; color: var(--olive-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 2px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(36,52,36,.12); }
.field .err { color: var(--danger); font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

.choice {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; border-radius: 2px;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #fbfaf7; }
.choice:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.choice .price { margin-inline-start: auto; font-size: 14px; color: var(--olive-ink); }
.choice img { width: 52px; height: 52px; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 16px;
  font-size: 14px; cursor: pointer; text-decoration: none; color: var(--bark);
}
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(calc(100vh - var(--header-h)), 820px); background: var(--linen); }
.hero-media { position: relative; overflow: hidden; background: #d9b07c; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(36px, 6vw, 88px); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
html[lang="en"] .hero h1 { letter-spacing: -.02em; }
.hero .sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--olive-ink); max-width: 34ch; }
.hero .tagline { font-family: var(--f-mark); font-size: 11px; letter-spacing: .22em; color: var(--olive); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--olive-ink); padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { aspect-ratio: 4 / 4.2; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.linen { background: var(--linen); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--olive-ink); max-width: 52ch; margin-top: 6px; }

/* categories strip */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; background: var(--sand); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover img { transform: scale(1.03); }
.cat span {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff; font-family: var(--f-display); font-size: 1.25rem;
  background: linear-gradient(to top, rgba(28,32,24,.72), transparent);
}
@media (max-width: 860px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* product grid */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 20px; }
.card { display: grid; gap: 10px; text-decoration: none; position: relative; }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .code {
  position: absolute; top: 12px; inset-inline-start: 12px; background: #fff; color: var(--bark); font-size: 11px;
  font-family: var(--f-mark); letter-spacing: .12em; padding: 5px 8px 5px 10px; border-inline-start: 4px solid var(--bark);
}
.card .flag { position: absolute; bottom: 12px; inset-inline-start: 12px; background: var(--bark); color: var(--paper); font-size: 12px; padding: 3px 10px; }
.card h3 { font-size: 1.08rem; font-weight: 500; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.price-tag { font-weight: 500; color: var(--forest); white-space: nowrap; }
.card .from { font-size: 13px; color: var(--olive-ink); }

/* gift band on home */
.gift-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.gift-band .steps { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.gift-band .steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; }
.gift-band .steps li::before { content: counter(s); font-family: var(--f-mark); font-size: 12px; color: var(--olive); }
.gift-band .visual { position: relative; }
.gift-band .visual > img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .gift-band { grid-template-columns: 1fr; } }

/* ---------- the ROOT stake card (signature element) ---------- */
.stake { position: absolute; top: 9%; inset-inline-end: 8%; width: min(46%, 230px); transform: rotate(-3deg); transform-origin: bottom center; filter: drop-shadow(0 10px 18px rgba(30, 24, 16, .22)); }
.stake-card {
  background: #fdfcf9; min-height: 150px; padding: 16px 16px 18px 22px; position: relative; direction: rtl;
  display: grid; align-content: start; gap: 8px;
}
.stake-card::before { content: ""; position: absolute; inset-block: 0; left: 0; width: 9px; background: #1d1d1b; }
.stake-card .stake-mark { font-family: var(--f-mark); font-size: 13px; letter-spacing: .26em; color: #2a2a28; direction: ltr; text-align: left; }
.stake-card .stake-to { font-family: var(--f-display); font-size: 15px; color: var(--forest); }
.stake-card .stake-msg { font-size: 13.5px; line-height: 1.6; color: var(--bark); white-space: pre-wrap; overflow-wrap: anywhere; }
.stake-card .stake-from { font-size: 12px; color: var(--olive-ink); }
.stake-card[dir="ltr"] { direction: ltr; }
.stake-wire { width: 2px; height: 70px; margin-inline: auto; background: linear-gradient(#9a9a96, #d6d5d0); }
.stake-wire::before { content: ""; display: block; width: 18px; height: 16px; margin: -2px 0 0 -8px; border: 2px solid #a9a8a3; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; border-top: 0; }

/* ---------- shop ---------- */
.page-head { padding-block: clamp(36px, 5vw, 60px) 26px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { color: var(--olive-ink); margin-top: 8px; max-width: 60ch; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.shop-bar select { min-height: 40px; border: 1px solid var(--line); background: #fff; padding: 0 12px; border-radius: 2px; }
.empty { padding: 60px 0; text-align: center; color: var(--olive-ink); display: grid; gap: 16px; justify-items: center; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); padding-block: 36px 80px; align-items: start; }
.gallery { display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { aspect-ratio: 4 / 5; background: var(--sand-soft); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: 0 0 72px; height: 88px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .7; }
.thumbs button[aria-current="true"] { border-color: var(--forest); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 22px; }
.crumbs { font-size: 14px; color: var(--olive-ink); }
.crumbs a { text-decoration: none; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.pdp-price { font-size: 1.45rem; color: var(--forest); font-weight: 500; }
.pdp-desc { color: var(--bark); max-width: 56ch; }
.opt-group { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.opt-group legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.opt-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.wrap-grid { display: grid; gap: 8px; }
.qty { display: inline-flex; border: 1px solid var(--line); background: #fff; height: 50px; }
.qty button { width: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty output { width: 40px; display: grid; place-items: center; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.care-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.care-strip > div { padding: 14px 6px; display: grid; gap: 2px; }
.care-strip > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 14px; }
.care-strip small { color: var(--olive-ink); font-size: 13px; }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.dots i.on { background: var(--forest); }
.gift-toggle { border: 1px dashed var(--sand); padding: 16px; display: grid; gap: 12px; background: #fbfaf6; }
.oos { background: var(--linen); padding: 18px; display: grid; gap: 12px; }
.oos form { display: flex; gap: 8px; flex-wrap: wrap; }
.oos input { flex: 1; min-width: 160px; min-height: 46px; border: 1px solid var(--line); padding: 0 12px; }
.estimate-note { font-size: 12.5px; color: var(--olive-ink); }
@media (max-width: 860px) { .pdp { grid-template-columns: minmax(0, 1fr); } .gallery { position: static; } }

/* ---------- gift builder ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(28px, 5vw, 64px); padding-block: 10px 90px; align-items: start; }
.builder-steps { display: grid; gap: 14px; }
.bstep { border: 1px solid var(--line); background: #fff; }
.bstep > button.bstep-head {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: start;
}
.bstep-num { font-family: var(--f-mark); font-size: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--forest); display: grid; place-items: center; color: var(--forest); flex: none; }
.bstep.done .bstep-num { background: var(--forest); color: var(--paper); }
.bstep-title { font-family: var(--f-display); font-size: 1.15rem; color: var(--forest); }
.bstep-sum { margin-inline-start: auto; font-size: 14px; color: var(--olive-ink); text-align: end; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bstep-body { padding: 0 20px 22px; display: grid; gap: 16px; }
.bstep:not(.open) .bstep-body { display: none; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.pick { position: relative; display: grid; gap: 6px; cursor: pointer; font-size: 14px; }
.pick input { position: absolute; opacity: 0; }
.pick img { aspect-ratio: 1; object-fit: cover; width: 100%; outline: 1px solid transparent; outline-offset: 2px; }
.pick:has(input:checked) img { outline: 2px solid var(--forest); }
.pick:has(input:focus-visible) img { outline: 2px solid var(--amber); }
.pick small { color: var(--olive-ink); }
.preview { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.preview-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-soft); }
.preview-stage > img { width: 100%; height: 100%; object-fit: cover; }
.preview-stage .stake { top: 7%; inset-inline-end: 6%; width: min(52%, 220px); }
.preview-stage .stake-card { min-height: 128px; }
.pot-inset { position: absolute; bottom: 14px; inset-inline-start: 14px; margin: 0; width: 108px; background: #fff; padding: 6px 6px 8px; box-shadow: 0 8px 20px rgba(30,24,16,.2); }
.pot-inset img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pot-inset figcaption { font-size: 11.5px; line-height: 1.4; margin-top: 5px; color: var(--bark); }
.summary-lines { display: grid; gap: 6px; font-size: 15px; }
.summary-lines div { display: flex; justify-content: space-between; gap: 12px; }
.summary-lines .total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-weight: 600; color: var(--forest); font-size: 1.1rem; }
.counter { font-size: 12px; color: var(--olive-ink); text-align: end; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { font-size: 13px; border: 1px solid var(--line); background: var(--paper); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
@media (max-width: 600px) {
  .stake, .preview-stage .stake { width: 44%; }
  .stake-card, .preview-stage .stake-card { min-height: 90px; padding: 10px 10px 12px 16px; gap: 4px; }
  .stake-card .stake-msg { font-size: 12px; }
  .stake-wire { height: 44px; }
}
@media (max-width: 900px) { .builder { grid-template-columns: minmax(0, 1fr); } .preview { position: static; order: -1; } .preview-stage { aspect-ratio: 4/3.4; } }

/* ---------- cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(28, 26, 20, .4); z-index: 60; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(430px, 100%); background: var(--paper); z-index: 70;
  display: flex; flex-direction: column; transform: translateX(var(--off, 100%)); transition: transform .28s ease; visibility: hidden;
}
html[dir="rtl"] .drawer { --off: -100%; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.3rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 88px; object-fit: cover; }
.line h3 { font-size: 1rem; font-weight: 500; font-family: var(--f-body); color: var(--bark); }
.line .meta { font-size: 13px; color: var(--olive-ink); }
.line .ctrl { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.line .qty { height: 34px; }
.line .qty button { width: 30px; font-size: 15px; }
.line .qty output { width: 28px; font-size: 14px; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 5vw, 64px); padding-block: 10px 90px; align-items: start; }
.checkout form { display: grid; gap: 34px; }
.checkout fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.checkout legend { font-family: var(--f-display); font-size: 1.3rem; color: var(--forest); margin-bottom: 14px; padding: 0; }
.order-box { background: var(--linen); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.coupon input { min-width: 0; }
.order-box h2 { font-size: 1.25rem; }
.mini-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-line img { width: 52px; height: 62px; object-fit: cover; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-height: 44px; border: 1px solid var(--line); padding: 0 12px; text-transform: uppercase; background: #fff; }
.pay-grid { display: grid; gap: 8px; }
@media (max-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr); } .order-box { position: static; } }

/* thanks */
.thanks { max-width: 620px; margin: 0 auto; text-align: center; padding-block: 80px 110px; display: grid; gap: 20px; justify-items: center; }
.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.thanks .order-id { font-family: var(--f-mark); letter-spacing: .14em; font-size: 14px; background: var(--linen); padding: 8px 14px; }

/* ---------- care guide ---------- */
.care-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--line); margin-bottom: 50px; }
.care-intro > div { padding: 24px clamp(14px, 2.5vw, 30px); display: grid; gap: 8px; }
.care-intro > div + div { border-inline-start: 1px solid var(--line); }
.care-intro h3 { font-size: 1.2rem; }
.care-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.care-table th, .care-table td { padding: 12px 10px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.care-table th { font-weight: 500; color: var(--olive-ink); font-size: 14px; }
.care-table td:first-child { display: flex; align-items: center; gap: 12px; }
.care-table img { width: 44px; height: 54px; object-fit: cover; }
@media (max-width: 760px) {
  .care-intro { grid-template-columns: 1fr; }
  .care-intro > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .care-table thead { display: none; }
  .care-table tr { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .care-table td { border: 0; padding: 4px 6px; font-size: 14px; }
  .care-table td:first-child { grid-column: 1 / -1; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--forest); color: #dfe3d9; padding-block: 60px 30px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer .mark { color: var(--paper); }
.site-footer h3 { color: var(--sand); font-size: 15px; font-family: var(--f-body); font-weight: 500; margin-bottom: 10px; }
.site-footer a { text-decoration: none; display: block; padding: 3px 0; color: #dfe3d9; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; font-size: 13px; color: #aab3a4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer .slogan { font-family: var(--f-mark); font-size: 11px; letter-spacing: .2em; margin-top: 14px; color: var(--sand); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* floating whatsapp */
.wa-float { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; background: #1f5d3a; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.wa-float svg { width: 27px; height: 27px; }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; background: var(--bark); color: var(--paper); padding: 12px 20px; z-index: 90; transition: transform .25s ease, opacity .25s ease, visibility .25s; font-size: 15px; max-width: calc(100% - 40px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- admin ---------- */
.admin { padding-block: 30px 90px; }
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.admin-tabs button { background: none; border: 0; padding: 12px 16px; cursor: pointer; color: var(--olive-ink); border-bottom: 2px solid transparent; white-space: nowrap; }
.admin-tabs button[aria-selected="true"] { color: var(--forest); border-color: var(--forest); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 28px; }
.stats > div { background: var(--paper); padding: 18px; display: grid; gap: 4px; }
.stats strong { font-size: 1.6rem; color: var(--forest); font-weight: 500; }
.stats span { font-size: 13px; color: var(--olive-ink); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
.tbl th { background: var(--linen); font-weight: 500; color: var(--olive-ink); white-space: nowrap; }
.tbl input[type="text"], .tbl input[type="number"], .tbl select { min-height: 36px; border: 1px solid var(--line); padding: 0 8px; width: 100%; min-width: 70px; background: #fff; }
.tbl img { width: 44px; height: 52px; object-fit: cover; }
.tbl tr.low td { background: #fbf3ea; }
.status { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--linen); }
.status.new { background: #f3e3c4; } .status.confirmed { background: #dfe8d6; } .status.delivered { background: var(--forest); color: var(--paper); } .status.cancelled { background: #ecd6d0; }
.order-card { border: 1px solid var(--line); background: #fff; padding: 18px; display: grid; gap: 10px; margin-bottom: 12px; }
.order-card header { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.order-card .items { font-size: 14px; color: var(--bark); }
.order-card .meta { font-size: 13px; color: var(--olive-ink); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.admin-form { display: grid; gap: 16px; max-width: 760px; background: #fff; border: 1px solid var(--line); padding: 22px; margin-top: 24px; }
.login { max-width: 380px; margin: 70px auto 120px; display: grid; gap: 16px; }
.note { font-size: 13px; color: var(--olive-ink); background: var(--linen); padding: 12px 14px; border-inline-start: 3px solid var(--sand); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
