/* ==========================================================
   Storefront — white background, black text, Hebrew RTL
   ========================================================== */
/* Every colour, font, radius and spacing value the storefront paints with is a
   token. theme.css overrides these per version — nothing below hardcodes a
   colour, so a theme can change the whole look without touching this file. */
:root{
  /* palette */
  --ink:#000;            /* text, strong borders, filled buttons */
  --surface:#fff;        /* page background */
  --soft:#f6f6f6;        /* panel / placeholder fill */
  --line:#e3e3e3;        /* hairline border */
  --line-2:#e0e0e0;      /* input border */
  --muted:#5f5f5f;       /* secondary text */
  --muted-2:#757575;     /* floating field label */
  --muted-3:#9e9e9e;     /* textarea placeholder */
  --ph:#c9c9c9;          /* empty-image icon */
  --ph-2:#bdbdbd;        /* empty-state icon */
  --prose:#2b2b2b;       /* long-form body copy */
  --danger:#c22;
  --ok:#137333;
  --pick:#1f6feb;        /* radio accent */
  /* accents — default to the ink so the mono theme is unchanged */
  --accent:var(--ink);          /* button / badge fill */
  --accent-ink:var(--surface);  /* text on that fill */
  --bar:var(--ink);             /* announcement bar */
  --bar-ink:var(--surface);
  --sk-a:#f3f3f3;
  --sk-b:#e9e9e9;
  --scrim:rgba(0,0,0,.42);
  --glass:rgba(255,255,255,.94);
  --cap:rgba(0,0,0,.78);
  /* type */
  --font:'Heebo',-apple-system,'Segoe UI',Arial,sans-serif;
  --font-head:var(--font);
  --head-weight:700;
  --head-track:-.015em;
  --brand-weight:900;
  --brand-track:-.03em;
  --body-size:16px;
  --body-line:1.65;
  /* shape + density */
  --radius:2px;
  --radius-lg:8px;
  --radius-pill:2px;
  --btn-weight:600;
  --btn-pad:13px 26px;
  --sec-pad:64px;
  --hero-pad:86px 0 78px;
  --grid-gap:26px;
  --header-h:74px;
  --card-shadow:none;
  --card-radius:0px;
  --card-border:1px solid var(--line);
  --max:1240px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--surface);
  color:var(--ink);
  font-family:var(--font);
  font-size:var(--body-size);
  line-height:var(--body-line);
  -webkit-font-smoothing:antialiased;
}
a{color:var(--ink);text-decoration:none}
button{font-family:inherit}
img{max-width:100%;display:block}
h1,h2,h3,h4{margin:0;font-family:var(--font-head);font-weight:var(--head-weight);letter-spacing:var(--head-track);line-height:1.2}
.boot{min-height:70vh;display:grid;place-items:center;font-size:26px;color:var(--ink)}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.muted{color:var(--muted)}
.center{text-align:center}

/* ---------- top bar ---------- */
.topbar{
  background:var(--bar);color:var(--bar-ink);
  font-size:13px;letter-spacing:.02em;
}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:38px;gap:16px}
.topbar .wrap.center{justify-content:center;text-align:center}
.topbar a{color:var(--bar-ink)}

/* ---------- header ---------- */
header.site{
  position:sticky;top:0;z-index:50;
  background:var(--surface);border-bottom:1px solid var(--line);
}
.header-row{display:flex;align-items:center;gap:24px;height:var(--header-h)}
.brand{font-size:24px;font-family:var(--font-head);font-weight:var(--brand-weight);letter-spacing:var(--brand-track);white-space:nowrap}
.brand span{display:inline-block;border-bottom:3px solid var(--ink);padding-bottom:2px}
/* Uploaded logo replacing the brand text. Height is owner-controlled inline;
   width follows the file's own proportions and is capped so a wide logo can
   never push the header icons off a phone screen. */
.brand-logo{display:inline-block;width:auto;max-width:100%;object-fit:contain;vertical-align:middle}
nav.main{display:flex;gap:26px;flex:1;font-size:15px;font-weight:500}
nav.main a{padding:6px 0;border-bottom:2px solid transparent}
nav.main a:hover,nav.main a.active{border-bottom-color:var(--ink)}
.header-actions{display:flex;align-items:center;gap:8px}
.icon-btn{
  background:none;border:1px solid transparent;color:var(--ink);
  width:42px;height:42px;border-radius:var(--radius);cursor:pointer;font-size:17px;
  display:grid;place-items:center;position:relative;
}
.icon-btn:hover{border-color:var(--ink)}
.cart-count{
  position:absolute;top:2px;left:2px;background:var(--accent);color:var(--accent-ink);
  min-width:19px;height:19px;border-radius:19px;font-size:11px;font-weight:700;
  display:grid;place-items:center;padding:0 4px;
}
.burger{display:none}

/* search bar */
.searchbar{border-bottom:1px solid var(--line);background:var(--surface);display:none}
.searchbar.open{display:block}
.searchbar form{display:flex;gap:10px;padding:14px 0}
.searchbar input{
  flex:1;border:1px solid var(--ink);background:var(--surface);color:var(--ink);
  padding:12px 14px;font-size:15px;border-radius:var(--radius-lg);font-family:inherit;
}
.searchbar input:focus{outline:2px solid var(--ink);outline-offset:-2px}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:var(--btn-pad);border-radius:var(--radius-pill);font-size:15px;font-weight:var(--btn-weight);
  cursor:pointer;border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink);
  transition:.15s ease;line-height:1;text-align:center;
}
.btn:hover{background:var(--surface);color:var(--accent)}
.btn.outline{background:var(--surface);color:var(--accent)}
.btn.outline:hover{background:var(--accent);color:var(--accent-ink)}
.btn.block{width:100%}
.btn.sm{padding:9px 16px;font-size:13px}
.btn:disabled{opacity:.35;cursor:not-allowed}
.btn.link{border:none;background:none;color:var(--ink);text-decoration:underline;padding:6px 0}

/* ---------- hero ---------- */
.hero{border-bottom:1px solid var(--line);padding:var(--hero-pad);text-align:center}
.hero h1{font-size:clamp(34px,6vw,62px);font-weight:900;margin-bottom:18px}
.hero p{font-size:clamp(16px,2vw,20px);color:var(--muted);max-width:620px;margin:0 auto 32px}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* feature strip — sits site-wide directly above the footer */
.features{border-top:1px solid var(--line);margin-top:44px}
.features .wrap{display:grid;grid-template-columns:repeat(4,1fr)}
.feature{padding:24px 14px;text-align:center;border-inline-start:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;gap:10px}
.feature:first-child{border-inline-start:none}
.feature i{font-size:18px}
.feature b{font-size:14.5px;font-weight:500}

/* ---------- sections ---------- */
section.block{padding:var(--sec-pad) 0}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:30px}
.section-head h2{font-size:clamp(22px,3vw,32px)}
.section-head p{margin:6px 0 0;color:var(--muted);font-size:14.5px}

/* ---------- product grid ---------- */
.grid{display:grid;gap:var(--grid-gap);grid-template-columns:repeat(4,1fr)}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.card{border:var(--card-border);border-radius:var(--card-radius);background:var(--surface);display:flex;flex-direction:column;box-shadow:var(--card-shadow);overflow:hidden;transition:.15s}
.card:hover{border-color:var(--accent);box-shadow:var(--card-shadow-h,var(--card-shadow))}
.card-img{
  aspect-ratio:1/1;background:var(--soft);display:grid;place-items:center;
  overflow:hidden;position:relative;
}
.card-img img{width:100%;height:100%;object-fit:cover}
.card-img .ph{color:var(--ph);font-size:34px}
.badge{
  position:absolute;top:10px;inset-inline-start:10px;background:var(--accent);color:var(--accent-ink);
  font-size:11px;font-weight:700;padding:4px 9px;letter-spacing:.03em;border-radius:var(--radius);
}
.badge.light{background:var(--surface);color:var(--ink);border:1px solid var(--ink)}
.card-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-cat{font-size:11.5px;color:var(--muted);letter-spacing:.04em}
.card-name{font-size:15.5px;font-weight:600;line-height:1.35}
.price-row{display:flex;align-items:baseline;gap:9px;margin-top:auto}
.price{font-size:19px;font-weight:800}
.price-old{font-size:13.5px;color:var(--muted);text-decoration:line-through}
.stock-note{font-size:12px;color:var(--muted)}
.stock-note.out{color:var(--ink);font-weight:700}

/* ---------- empty states ---------- */
.empty{
  border:1px dashed var(--line);padding:64px 26px;text-align:center;
}
.empty i{font-size:38px;color:var(--ph-2);margin-bottom:14px;display:block}
.empty h3{font-size:20px;margin-bottom:8px}
.empty p{color:var(--muted);margin:0 auto 20px;max-width:460px;font-size:14.5px}

/* ---------- catalog layout ---------- */
.catalog{display:grid;grid-template-columns:236px 1fr;gap:38px;padding:40px 0 72px}
.side h4{font-size:13px;letter-spacing:.06em;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--ink)}
.side ul{list-style:none;margin:0 0 28px;padding:0}
.side li a{display:flex;justify-content:space-between;padding:8px 0;font-size:14.5px;color:var(--muted)}
.side li a:hover,.side li a.active{color:var(--ink);font-weight:600}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px;flex-wrap:wrap}
select.sel{
  border:1px solid var(--ink);background:var(--surface);color:var(--ink);
  padding:10px 12px;font-size:14px;border-radius:var(--radius);font-family:inherit;cursor:pointer;
}
.pager{display:flex;gap:8px;justify-content:center;margin-top:40px}
.pager button{
  border:1px solid var(--line);background:var(--surface);color:var(--ink);
  min-width:40px;height:40px;cursor:pointer;font-weight:600;border-radius:var(--radius);
}
.pager button.active,.pager button:hover:not(:disabled){border-color:var(--ink)}
.pager button.active{background:var(--ink);color:var(--surface)}
.pager button:disabled{opacity:.35;cursor:not-allowed}

/* ---------- product page ---------- */
.crumbs{font-size:13px;color:var(--muted);padding:20px 0}
.crumbs a:hover{text-decoration:underline}
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:52px;padding:12px 0 70px}
.pdp-img{border:1px solid var(--line);aspect-ratio:1/1;background:var(--soft);display:grid;place-items:center;overflow:hidden}
.pdp-img img{width:100%;height:100%;object-fit:cover}
.pdp-img .ph{font-size:56px;color:var(--ph)}
.pdp h1{font-size:clamp(24px,3.4vw,38px);margin-bottom:12px}
.pdp .price{font-size:30px}
/* product description block (replaces the old VAT/shipping/returns meta list) */
.pdp-desc{margin-top:28px;border-top:1px solid var(--line);padding-top:22px}
.pdp-desc h2{font-size:18px;margin-bottom:12px;font-weight:700}
.pdp-desc .desc{color:var(--prose);font-size:15.5px;line-height:1.85}
.pdp-desc .desc p{margin:0 0 12px}
.pdp-desc .desc p:last-child{margin-bottom:0}
.pdp-desc .sku-line{margin-top:16px;font-size:13.5px}

/* ---------- product gallery / carousel ---------- */
.gallery{display:flex;flex-direction:column;gap:12px;min-width:0}
.gal-main{position:relative;border:1px solid var(--line);background:var(--soft);
  aspect-ratio:1/1;overflow:hidden}
.gal-track{display:flex;height:100%;transition:transform .35s ease}
.gal-slide{min-width:100%;height:100%}
.gal-slide img{width:100%;height:100%;object-fit:cover;display:block}
.gal-nav{position:absolute;top:50%;transform:translateY(-50%);
  width:42px;height:42px;border:1px solid var(--line);background:var(--glass);
  color:var(--ink);cursor:pointer;display:grid;place-items:center;font-size:15px;
  transition:background .15s,color .15s}
.gal-nav:hover{background:var(--ink);color:var(--surface)}
.gal-nav.prev{inset-inline-start:12px}
.gal-nav.next{inset-inline-end:12px}
.gal-counter{position:absolute;bottom:12px;inset-inline-end:12px;
  background:var(--cap);color:var(--cap-ink,#fff);font-size:12.5px;padding:4px 10px;letter-spacing:.04em;
  direction:ltr} /* keep "1 / 3" from being reordered by RTL bidi */
.gal-hints{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.gal-hint{flex:0 0 78px;width:78px;height:78px;padding:0;cursor:pointer;
  border:1px solid var(--line);background:var(--soft);overflow:hidden;opacity:.6;
  transition:opacity .15s,border-color .15s}
.gal-hint img{width:100%;height:100%;object-fit:cover;display:block}
.gal-hint:hover{opacity:.9}
.gal-hint.active{opacity:1;border-color:var(--ink);border-width:2px}
.qty{display:inline-flex;border:1px solid var(--ink);border-radius:var(--radius);overflow:hidden}
.qty button{width:42px;height:46px;border:none;background:var(--surface);color:var(--ink);font-size:18px;cursor:pointer}
.qty button:hover{background:var(--ink);color:var(--surface)}
.qty input{
  width:56px;height:46px;border:none;border-inline:1px solid var(--ink);
  text-align:center;font-size:16px;font-weight:600;background:var(--surface);color:var(--ink);
  font-family:inherit;
}
.buy-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:8px}

/* product option dropdowns (colour + variants) */
.opt-picks{display:grid;gap:14px;margin:20px 0 4px;padding:18px 0;border-block:1px solid var(--line)}
.opt-pick{display:grid;gap:7px}
.opt-pick label{font-size:13px;font-weight:700;letter-spacing:.01em}
.opt-select{position:relative;display:flex;align-items:center}
.opt-select select{
  width:100%;appearance:none;-webkit-appearance:none;
  border:1px solid var(--ink);background:var(--surface);color:var(--ink);
  padding:13px 44px 13px 14px;font-size:15px;font-family:inherit;
  border-radius:var(--radius);cursor:pointer;
}
html[dir="rtl"] .opt-select select{padding:13px 14px 13px 44px}
.opt-select select:focus{outline:2px solid var(--ink);outline-offset:-2px}
/* Chevron sits on the trailing edge, mirrored automatically for RTL. */
.opt-select>i{
  position:absolute;inset-inline-end:16px;font-size:11px;
  pointer-events:none;color:var(--ink)
}
/* Colours as round swatches with a black ring — the colour is its own label,
   so it is shown rather than named in a dropdown. */
.opt-lab{font-size:13px;font-weight:700;letter-spacing:.01em}
.opt-chosen{font-weight:400;color:var(--muted)}
.opt-chosen:not(:empty)::before{content:" · "}
.opt-dots{display:flex;flex-wrap:wrap;gap:10px;padding-top:2px}
.opt-dot{
  width:30px;height:30px;flex:0 0 30px;padding:0;
  border:1px solid var(--ink);border-radius:50%;
  background:var(--dot,var(--surface));cursor:pointer;
  position:relative;transition:transform .12s
}
.opt-dot:hover{transform:scale(1.08)}
.opt-dot:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* Picked state: a white gap then a black ring outside the dot, so the marker
   reads on any fill colour — including white and black themselves. */
.opt-dot.on{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--ink)}
.opt-err{
  font-size:13px;font-weight:600;padding:10px 12px;
  border:1px solid var(--ink);background:var(--soft)
}

/* ---------- cart drawer ---------- */
.overlay{position:fixed;inset:0;background:var(--scrim);z-index:90;opacity:0;pointer-events:none;transition:.2s}
.overlay.show{opacity:1;pointer-events:auto}
.drawer{
  position:fixed;inset-block:0;inset-inline-start:0;width:min(420px,100%);
  background:var(--surface);z-index:100;display:flex;flex-direction:column;
  transform:translateX(-100%);transition:transform .25s ease;border-inline-end:1px solid var(--ink);
}
html[dir="rtl"] .drawer{transform:translateX(100%)}
.drawer.show{transform:translateX(0)!important}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--ink)}
.drawer-head h3{font-size:17px}
.drawer-body{flex:1;overflow-y:auto;padding:6px 20px}
.drawer-foot{border-top:1px solid var(--ink);padding:18px 20px;display:grid;gap:12px}
.line{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.line-img{width:74px;height:74px;flex:none;background:var(--soft);display:grid;place-items:center;overflow:hidden;border:1px solid var(--line)}
.line-img img{width:100%;height:100%;object-fit:cover}
.line-info{flex:1;min-width:0}
.line-name{font-size:14.5px;font-weight:600;margin-bottom:4px}
.line-meta{font-size:12.5px;color:var(--muted)}
/* chosen colour / variant shown under the product name */
.line-opts{font-size:12.5px;font-weight:600;margin-bottom:3px}
.line-opts.warn{font-weight:700;text-decoration:underline}
.line-actions{display:flex;align-items:center;gap:10px;margin-top:8px}
.mini-qty{display:inline-flex;border:1px solid var(--line)}
.mini-qty button{width:28px;height:28px;border:none;background:var(--surface);cursor:pointer;color:var(--ink)}
.mini-qty span{width:34px;height:28px;display:grid;place-items:center;font-size:13px;font-weight:600;border-inline:1px solid var(--line)}
.rm{border:none;background:none;color:var(--muted);cursor:pointer;font-size:12.5px;text-decoration:underline;padding:0}
.rm:hover{color:var(--ink)}
.totals{display:grid;gap:6px;font-size:14px}
.totals div{display:flex;justify-content:space-between}
.totals .big{font-size:19px;font-weight:800;border-top:1px solid var(--line);padding-top:10px;margin-top:4px}

/* ---------- forms / checkout ---------- */
.checkout{display:grid;grid-template-columns:1.35fr 1fr;gap:44px;padding:32px 0 76px}
.field{margin-bottom:16px}
.field label{display:block;font-size:13.5px;font-weight:600;margin-bottom:6px}
.field .req{color:var(--ink)}
.field input,.field textarea,.field select{
  width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);
  padding:12px 14px;font-size:15px;border-radius:var(--radius-lg);font-family:inherit;
}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--ink)}
.field textarea{min-height:96px;resize:vertical}
.field small{color:var(--muted);font-size:12px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.panel{border:1px solid var(--line);border-radius:var(--radius-lg);padding:24px}
.panel h3{font-size:17px;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.summary-line{display:flex;justify-content:space-between;padding:8px 0;font-size:14.5px}
.summary-line.total{border-top:1px solid var(--ink);margin-top:10px;padding-top:12px;font-size:19px;font-weight:800}
.alert{border:1px solid var(--ink);padding:12px 14px;font-size:14px;margin-bottom:16px}

/* checkout: plain stacked sections with a bold heading per block */
.co-block{margin-bottom:38px}
.co-block > h2{font-size:18px;font-weight:800;margin-bottom:12px}
/* the first block's title doubles as the page heading, so it is a step larger */
.co-block > h2.co-title{font-size:24px;margin-bottom:14px}
.co-block .row2{gap:13px;margin-bottom:0}

/* field with the label INSIDE the box: centred while empty, shrunk to the top
   edge on focus / once filled, so the typed value is never covered */
.cofield{position:relative;margin-bottom:13px}
.cofield input,.cofield textarea{
  width:100%;height:55px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface);
  color:var(--ink);font-family:inherit;font-size:15px;padding:20px 14px 6px;
  transition:border-color .15s}
.cofield input:focus,.cofield textarea:focus{outline:none;border-color:var(--ink)}
.cofield label{
  position:absolute;top:50%;inset-inline-start:15px;transform:translateY(-50%);
  display:flex;align-items:center;gap:4px;pointer-events:none;
  font-size:15px;font-weight:400;color:var(--muted-2);transition:top .15s,font-size .15s}
.cofield label .req{color:var(--danger);font-weight:400}
/* placeholder=" " makes :placeholder-shown mean "field is empty" */
.cofield input:focus + label,
.cofield input:not(:placeholder-shown) + label{top:15px;font-size:11.5px}
.cofield.area{margin-bottom:0}
.cofield.area textarea{height:135px;padding:16px 14px;resize:vertical}
.cofield.area textarea::placeholder{color:var(--muted-3)}

/* delivery method row */
.ship-opt{display:flex;align-items:center;gap:12px;border:1px solid var(--line-2);border-radius:8px;
  padding:0 16px;height:55px;cursor:pointer;font-size:15px}
.ship-opt input{accent-color:var(--pick);width:18px;height:18px;flex:0 0 auto;margin:0}
.ship-label{display:flex;align-items:center;gap:10px;flex:1}
.ship-label i{font-size:16px}
.ship-price{font-weight:400;white-space:nowrap;direction:ltr}

/* order summary with product thumbnails */
.co-summary{position:sticky;top:20px}
.sum-items{display:flex;flex-direction:column;gap:14px;margin-bottom:6px}
.sum-item{display:flex;align-items:center;gap:12px}
/* no overflow:hidden here — it would clip the qty badge; the img is clipped instead */
.sum-thumb{position:relative;flex:0 0 62px;width:62px;height:62px;border:1px solid var(--line);
  background:var(--soft);display:grid;place-items:center}
.sum-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.sum-thumb i{color:var(--ph);font-size:18px}
.sum-qty{position:absolute;top:-7px;inset-inline-end:-7px;min-width:20px;height:20px;
  background:var(--ink);color:var(--surface);border-radius:999px;font-size:11.5px;font-weight:700;
  display:grid;place-items:center;padding:0 5px}
.sum-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.sum-info a{font-size:14.5px;font-weight:600;line-height:1.35}
.sum-info a:hover{text-decoration:underline}
.sum-info small{font-size:12.5px}
.sum-opts{font-size:12.5px;font-weight:600;color:var(--ink)}
.summary-line .sum-opts{display:block;font-weight:600;margin-top:2px}
.sum-price{font-weight:700;font-size:14.5px;white-space:nowrap}

/* coupon box */
.coupon{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}
.coupon > label{display:block;font-size:13.5px;font-weight:600;margin-bottom:8px}
.coupon-row{display:flex;gap:8px}
.coupon-row input{flex:1;min-width:0;border:1px solid var(--line-2);background:var(--surface);
  color:var(--ink);padding:12px 14px;font-size:14.5px;border-radius:8px;font-family:inherit}
.coupon-row input:focus{outline:none;border-color:var(--ink)}
.coupon-row input:focus{outline:none;border-color:var(--ink)}
.coupon-row .btn{flex:0 0 auto;padding-inline:20px}
.coupon-err,.coupon-ok{font-size:13px;margin-top:8px;display:flex;align-items:center;gap:6px}
.coupon-err{color:var(--danger)}
.coupon-ok{color:var(--ok)}
.summary-line.discount{color:var(--ok);font-weight:600}
.coupon-x{background:none;border:none;color:inherit;cursor:pointer;padding:0 4px;font-size:12px;opacity:.7}
.coupon-x:hover{opacity:1}

/* thank you */
.thanks{padding:80px 0;text-align:center;max-width:620px;margin:0 auto}
.thanks .tick{width:76px;height:76px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-size:32px;margin:0 auto 22px}
.thanks h1{font-size:32px;margin-bottom:12px}
.order-box{border:1px solid var(--ink);padding:20px;margin:26px 0;text-align:start}

/* static pages */
.static-page{padding:34px 0 80px;max-width:820px}
.static-page h1{font-size:34px;margin:10px 0 8px}
.static-page p,.static-page li{color:var(--prose);font-size:15.5px;line-height:1.75}
.static-page a{text-decoration:underline;text-underline-offset:2px}
/* digits stay in logical order inside RTL prose (otherwise "1–3" shows as "3–1") */
.static-page .num{direction:ltr;unicode-bidi:isolate;display:inline-block}
.legal-updated{font-size:13px;color:var(--muted);margin-bottom:18px}
.legal-lead{font-size:17px;line-height:1.7;padding-bottom:8px}

/* table of contents */
.legal-toc{border:1px solid var(--line);background:var(--soft);padding:20px 24px;margin:26px 0 8px}
.legal-toc h2{font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px;color:var(--muted)}
.legal-toc ol{margin:0;padding-inline-start:20px;display:grid;gap:7px}
.legal-toc li{font-size:14.5px}
.legal-toc a{text-decoration:none;color:var(--prose)}
.legal-toc a:hover{text-decoration:underline;color:var(--ink)}

/* one policy section */
.legal-sec{padding-top:30px;scroll-margin-top:20px}
.legal-sec h2{font-size:21px;font-weight:800;margin:0 0 12px;padding-bottom:10px;
  border-bottom:1px solid var(--line)}
.legal-sec p{margin:0 0 12px}
.legal-sec p:last-child{margin-bottom:0}
.legal-sec ul,.legal-sec ol{margin:0 0 12px;padding-inline-start:22px;display:grid;gap:8px}
.legal-sec .muted{color:var(--muted);font-size:14.5px}

/* numbered how-to list */
.static-page ol.steps{padding-inline-start:22px;gap:11px}
.static-page ol.steps li{padding-inline-start:2px}

/* highlighted note */
.callout{border-inline-start:3px solid var(--ink);background:var(--soft);
  padding:14px 18px;margin:0 0 14px}
.callout p{margin:0;font-size:15px}

/* policy comparison tables */
.table-scroll{overflow-x:auto;margin:0 0 14px}
.legal-table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:460px}
.legal-table th,.legal-table td{border:1px solid var(--line);padding:11px 13px;text-align:start;
  vertical-align:top;line-height:1.6}
.legal-table th{background:var(--soft);font-weight:700;font-size:13.5px}

/* contact list inside a policy page */
.legal-contact{list-style:none;padding:0!important;margin:0;display:grid;gap:10px}
.legal-contact li{display:flex;align-items:center;gap:10px;font-size:15px}
.legal-contact i{width:18px;text-align:center;color:var(--muted);flex:0 0 auto}

/* cross-links to the other policy pages */
.legal-more{margin-top:44px;border-top:1px solid var(--ink);padding-top:24px}
.legal-more h2{font-size:15px;margin:0 0 14px}
.legal-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.legal-links a{border:1px solid var(--line);padding:15px 16px;font-size:14.5px;font-weight:600;
  text-decoration:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.legal-links a:hover{border-color:var(--ink)}
.legal-links i{font-size:12px;color:var(--muted)}

/* ---------- footer ---------- */
footer.site{border-top:1px solid var(--ink);margin-top:0;padding:52px 0 0}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:40px}
.foot-grid h5{font-size:13px;letter-spacing:.06em;margin:0 0 14px}
.foot-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:9px;font-size:14px}
.foot-grid a{color:var(--muted)}
.foot-grid a:hover{color:var(--ink);text-decoration:underline}
.foot-brand p{color:var(--muted);font-size:14px;max-width:280px}
.foot-bottom{border-top:1px solid var(--line);padding:18px 0;display:flex;justify-content:space-between;gap:14px;font-size:12.5px;color:var(--muted);flex-wrap:wrap}

/* toast */
.toast{
  position:fixed;bottom:24px;inset-inline-start:24px;z-index:200;
  background:var(--ink);color:var(--surface);padding:14px 20px;font-size:14px;font-weight:500;
  transform:translateY(140%);transition:.25s ease;max-width:330px;
}
.toast.show{transform:translateY(0)}

/* skeleton */
.sk{background:linear-gradient(90deg,var(--sk-a) 25%,var(--sk-b) 37%,var(--sk-a) 63%);background-size:400% 100%;animation:sk 1.3s infinite}
@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}
.sk-card{border:1px solid var(--line)}
.sk-card .a{aspect-ratio:1/1}
.sk-card .b{height:14px;margin:14px 16px}
.sk-card .c{height:18px;width:45%;margin:0 16px 18px}

/* ---------- responsive ---------- */
@media(max-width:1000px){
  .grid,.grid.cols-3{grid-template-columns:repeat(3,1fr)}
  .catalog{grid-template-columns:1fr;gap:24px}
  .side{display:grid;grid-template-columns:1fr 1fr;gap:20px}
  .checkout{grid-template-columns:1fr;gap:28px}
  .co-summary{position:static}
  .pdp{grid-template-columns:1fr;gap:28px}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .grid,.grid.cols-3{grid-template-columns:repeat(2,1fr);gap:16px}
  nav.main{display:none}
  .burger{display:grid}
  .features .wrap{grid-template-columns:1fr 1fr}
  .feature:nth-child(3){border-inline-start:none}
  .feature{border-top:1px solid var(--line)}
  .feature:nth-child(1),.feature:nth-child(2){border-top:none}
  .feature{padding:18px 10px;gap:8px;font-size:13.5px}
  .feature b{font-size:13.5px}
  .header-row{height:64px;gap:10px}
  .gal-nav{width:36px;height:36px}
  .gal-hint{flex:0 0 62px;width:62px;height:62px}
  .hero{padding:56px 0 50px}
  section.block{padding:44px 0}
  .row2{grid-template-columns:1fr}
  /* checkout keeps its paired fields side-by-side on phones */
  .co-block .row2{grid-template-columns:1fr 1fr;gap:12px}
  .static-page h1{font-size:27px}
  .static-page .legal-lead{font-size:16px}
  .legal-sec h2{font-size:19px}
  .legal-toc{padding:16px 18px}
  .legal-links{grid-template-columns:1fr}
}
@media(max-width:420px){
  .grid,.grid.cols-3{grid-template-columns:1fr}
  .feature{flex-direction:column;gap:6px;text-align:center}
}

/* mobile nav sheet */
.mnav{border-bottom:1px solid var(--line);display:none}
.mnav.open{display:block}
.mnav a{display:block;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px;font-weight:500}
.mnav a:last-child{border-bottom:none}
