/* Luxury Notes storefront.

   The conventional store layout on purpose: a photo-led grid, a product page with a
   variant picker, a cart drawer. People already know how to use this shape, and a
   fragrance shop is not the place to teach anyone a new one.

   Everything is sized in one scale and spaced with gap rather than per-element margins,
   so a row of cards keeps its baselines whatever it holds. */

:root{
  --bg:#ffffff; --surface:#f6f7f8; --sunk:#eef1f2;
  --line:#e4e7e9; --line-2:#d4d9dc;
  --ink:#1f2b33; --ink-2:#3d4d58; --muted:#61727e; --faint:#8b9aa4;
  --slate:#2f3c48; --slate-hi:#3f5160;
  --gold:#a8862f; --low:#a8503a;
  --sans:"IBM Plex Sans Arabic",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --tap:44px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
/* The page is a column that is at least as tall as the window, with the main content
   allowed to grow. Without this a short page — a one-line cart, an order confirmation —
   leaves the footer floating halfway up with blank space beneath it. dvh rather than vh
   so a phone's collapsing address bar does not leave a gap either. */
body{background:var(--bg);color:var(--ink);font-family:var(--sans);
  font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;
  min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
main{flex:1 0 auto}
footer{margin-top:auto}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.num{unicode-bidi:isolate}

.ann{background:var(--slate);color:#fff;text-align:center;font-size:12.5px;padding:8px 16px}

header{position:sticky;top:0;z-index:40;background:var(--bg);border-bottom:1px solid var(--line)}
.hbar{display:flex;align-items:center;gap:16px;height:62px}
.brand{font-size:17px;font-weight:600;letter-spacing:.02em;white-space:nowrap}
.brand em{font-style:normal;color:var(--gold)}
.search{flex:1;min-width:0}
.search input{width:100%;height:38px;border:1px solid var(--line-2);border-radius:3px;
  background:var(--surface);padding:0 12px;font:inherit;font-size:14px;color:var(--ink)}
.search input:focus{outline:2px solid var(--slate);outline-offset:-1px;background:var(--bg)}
.hacts{display:flex;align-items:center;gap:4px}
.icon{height:var(--tap);min-width:var(--tap);border:0;background:none;display:grid;
  place-items:center;border-radius:3px;position:relative}
.icon:hover{background:var(--surface)}
.icon:focus-visible{outline:2px solid var(--slate);outline-offset:-2px}
.count{position:absolute;top:5px;inset-inline-end:5px;background:var(--slate);color:#fff;
  font-size:10.5px;line-height:1;min-width:17px;height:17px;border-radius:9px;
  display:grid;place-items:center;padding:0 4px;font-variant-numeric:tabular-nums}
.lang{display:flex;border:1px solid var(--line-2);border-radius:3px;overflow:hidden}
.lang a{font-size:12px;padding:7px 11px;line-height:1;color:var(--muted)}
.lang a.on{background:var(--slate);color:#fff}

.chips{display:flex;gap:8px;overflow-x:auto;padding:14px 0;border-bottom:1px solid var(--line);
  scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{border:1px solid var(--line-2);background:var(--bg);border-radius:100px;
  padding:7px 15px;font-size:13.5px;white-space:nowrap;color:var(--ink-2)}
.chip.on{background:var(--slate);border-color:var(--slate);color:#fff}
.chip:focus-visible{outline:2px solid var(--slate);outline-offset:2px}

.tools{display:flex;align-items:baseline;justify-content:space-between;padding:22px 0 14px;gap:12px}
.tools h1{font-size:20px;font-weight:600;margin:0}
.tools span{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:26px 20px;padding-bottom:56px}
.card{display:flex;flex-direction:column;gap:9px}
.shot{aspect-ratio:1;background:var(--surface);border:1px solid var(--line);border-radius:3px;
  overflow:hidden;position:relative;display:grid;place-items:center}
.shot img{width:100%;height:100%;object-fit:cover}
.ph{width:44%;color:var(--faint);opacity:.4}
.tag{position:absolute;top:8px;inset-inline-start:8px;background:var(--bg);
  border:1px solid var(--line-2);font-size:10.5px;padding:3px 7px;border-radius:2px;
  color:var(--low)}
.card:hover .shot{border-color:var(--line-2)}
.card:focus-visible{outline:2px solid var(--slate);outline-offset:3px}
.chouse{font-size:11px;color:var(--faint);letter-spacing:.07em;text-transform:uppercase}
.cname{font-size:14.5px;font-weight:500;line-height:1.35;margin:0;
  /* Two lines' worth whether the name needs them or not, so the price sits on the same
     line across a row. Fragrance names vary wildly in length and a price that drifts
     down one card in five makes a tidy grid look accidental. */
  min-height:2.7em}
.cprice{font-size:14px;color:var(--ink-2);font-variant-numeric:tabular-nums}
.cprice b{font-weight:600}
.none{grid-column:1/-1;padding:50px 0;text-align:center;color:var(--muted)}
.none strong{display:block;color:var(--ink);font-size:16px;margin-bottom:5px}

/* product page */
.crumb{padding:16px 0 0;font-size:13px;color:var(--muted)}
.pdgrid{display:grid;grid-template-columns:1fr;gap:24px;padding:14px 0 40px}
.gal{background:var(--surface);border:1px solid var(--line);border-radius:4px;
  aspect-ratio:1;display:grid;place-items:center;overflow:hidden}
.gal img{width:100%;height:100%;object-fit:cover}
.gal .ph{width:38%}
.phouse{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
.pname{font-size:26px;font-weight:600;margin:3px 0 10px;line-height:1.22;text-wrap:balance}
.pprice{font-size:23px;font-weight:600;font-variant-numeric:tabular-nums}
.pstock{font-size:13px;color:var(--muted);margin-top:3px}
.pstock.low{color:var(--low)}
.vlabel{font-size:12.5px;font-weight:500;margin:20px 0 8px}
.vars{display:flex;flex-wrap:wrap;gap:8px}
.var{border:1px solid var(--line-2);background:var(--bg);border-radius:3px;padding:9px 14px;
  font-size:14px;min-width:72px;text-align:center;font-variant-numeric:tabular-nums}
.var.on{border-color:var(--slate);background:var(--slate);color:#fff}
.var:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.var:focus-visible{outline:2px solid var(--slate);outline-offset:2px}
.add{width:100%;margin-top:20px;background:var(--slate);color:#fff;border:0;border-radius:3px;
  height:50px;font-size:15.5px;font-weight:500}
.add:hover{background:var(--slate-hi)}
.add:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.acc{margin-top:22px;border-top:1px solid var(--line)}
.acc details{border-bottom:1px solid var(--line)}
.acc summary{padding:13px 0;font-size:14px;font-weight:500;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"+";color:var(--muted)}
.acc details[open] summary::after{content:"−"}
.acc .body{padding:0 0 15px;font-size:14px;color:var(--ink-2)}
.pyr{display:grid;grid-template-columns:86px 1fr;gap:8px 12px;font-size:13.5px;margin:0}
.pyr dt{color:var(--faint)}
.pyr dd{margin:0}

/* cart drawer */
.scrim{position:fixed;inset:0;background:rgba(16,24,28,.44);z-index:50;opacity:0;
  pointer-events:none;transition:opacity .2s}
.scrim.on{opacity:1;pointer-events:auto}
.cart{position:fixed;z-index:60;top:0;bottom:0;inset-inline-end:0;width:min(400px,92vw);
  background:var(--bg);display:flex;flex-direction:column;
  transform:translateX(101%);transition:transform .26s ease;
  visibility:hidden;pointer-events:none}
[dir="rtl"] .cart{transform:translateX(-101%)}
.cart.on{transform:none!important;visibility:visible;pointer-events:auto}
.chead{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;
  border-bottom:1px solid var(--line)}
.chead h2{font-size:16px;font-weight:600;margin:0}
.clines{flex:1;overflow:auto;padding:6px 18px}
.line{display:grid;grid-template-columns:54px 1fr auto;gap:12px;padding:13px 0;
  border-bottom:1px solid var(--line)}
.line .th{aspect-ratio:1;background:var(--surface);border:1px solid var(--line);
  border-radius:3px;overflow:hidden;display:grid;place-items:center}
.line .th .ph{width:50%}
.lname{font-size:13.5px;font-weight:500;line-height:1.3}
.lsize{font-size:12px;color:var(--muted);margin-top:2px}
.lqty{display:flex;align-items:center;gap:9px;margin-top:6px}
.lqty button{border:1px solid var(--line-2);background:var(--bg);width:26px;height:26px;
  border-radius:3px;line-height:1}
.lqty span{font-size:13px;font-variant-numeric:tabular-nums;min-width:14px;text-align:center}
.lprice{font-size:14px;font-variant-numeric:tabular-nums;text-align:end}
.empty{padding:44px 0;text-align:center;color:var(--muted);font-size:14px}
.cfoot{border-top:1px solid var(--line);padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.srow{display:flex;justify-content:space-between;font-size:14px}
.srow.total{font-size:16px;font-weight:600}
.srow span:last-child{font-variant-numeric:tabular-nums}
.co{background:var(--slate);color:#fff;border:0;border-radius:3px;height:48px;
  font-size:15px;font-weight:500}
.co:hover{background:var(--slate-hi)}
.cnote{font-size:12px;color:var(--muted);text-align:center;margin:0}

footer{border-top:1px solid var(--line);background:var(--surface);padding:30px 0 44px;
  font-size:13px;color:var(--muted)}
.fgrid{display:flex;flex-wrap:wrap;gap:26px;justify-content:space-between}
footer b{display:block;color:var(--ink);font-weight:600;font-size:13px;margin-bottom:5px}

@media (min-width:760px){
  .pdgrid{grid-template-columns:1fr 1fr;gap:34px;align-items:start}
}
@media (max-width:560px){
  .grid{grid-template-columns:repeat(2,1fr);gap:20px 14px}
  .hbar{height:auto;padding:10px 0;flex-wrap:wrap}
  .search{order:3;flex-basis:100%}
  .pyr{grid-template-columns:76px 1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---- checkout ----------------------------------------------------------------
   One column on a phone, two on a desktop, with the summary beside the form rather
   than below it: a customer filling in an address should be able to see what they
   are paying for without scrolling away from the field they are typing in. */

.co-wrap{padding-bottom:60px}
.co-title{font-size:22px;font-weight:600;margin:24px 0 16px}
.co-err{background:#fdf1ef;border:1px solid #e8c4bb;color:var(--low);
  padding:11px 14px;border-radius:3px;font-size:14px;margin:0 0 18px}

.co-form{display:grid;grid-template-columns:1fr;gap:26px;align-items:start}
.co-sec h2{font-size:15px;font-weight:600;margin:0 0 14px}
.co-sec .co-sum-h{margin-top:26px}

.field{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}
.field label{font-size:13px;color:var(--ink-2);font-weight:500}
.field input,.field textarea,.field select{
  border:1px solid var(--line-2);border-radius:3px;background:var(--bg);
  padding:10px 12px;font:inherit;font-size:15px;color:var(--ink);width:100%}
.field textarea{resize:vertical;line-height:1.5}
.field input:focus,.field textarea:focus,.field select:focus{
  outline:2px solid var(--slate);outline-offset:-1px}
.field .help{font-size:12px;color:var(--muted)}

.pay{display:flex;gap:11px;align-items:flex-start;border:1px solid var(--line-2);
  border-radius:3px;padding:13px 14px;margin-bottom:10px;cursor:pointer}
.pay:has(input:checked){border-color:var(--slate);background:var(--surface)}
.pay input{margin-top:3px;accent-color:var(--slate)}
.pay span{display:flex;flex-direction:column;gap:2px}
.pay b{font-weight:500;font-size:14.5px}

.co-sum{border:1px solid var(--line);border-radius:3px;padding:14px;background:var(--surface)}
.co-sum .srow{padding:4px 0;gap:14px}
.co-sum .srow i{font-style:normal;color:var(--muted);font-size:12.5px}
.co-sum .srow.total{border-top:1px solid var(--line-2);margin-top:7px;padding-top:9px}
.add:disabled{opacity:.5;cursor:not-allowed}

/* ---- order confirmation ---- */
.done{max-width:560px}
.done-ref{display:flex;flex-direction:column;gap:3px;border:1px solid var(--line-2);
  border-radius:3px;padding:15px 16px;margin:0 0 16px;background:var(--surface)}
.done-ref span{font-size:12.5px;color:var(--muted)}
.done-ref strong{font-size:25px;font-weight:600;letter-spacing:.06em}
.done-body{margin:0 0 22px;color:var(--ink-2)}
.insta{border:1px solid var(--line-2);border-radius:3px;padding:16px}
.insta h2{font-size:15px;font-weight:600;margin:0 0 12px}
.insta-row{display:flex;justify-content:space-between;gap:14px;padding:6px 0;font-size:14px}
.insta-row strong{font-weight:600;font-variant-numeric:tabular-nums}
.insta .help{display:block;font-size:12.5px;color:var(--muted);margin:9px 0 0}
.insta-go{display:grid;place-items:center;text-decoration:none;margin-top:14px}
.done-back{display:inline-block;margin-top:22px;font-size:14px;color:var(--muted);
  text-decoration:underline}

@media (min-width:820px){
  .co-form{grid-template-columns:1.25fr 1fr;gap:40px}
}

/* ---- tracking an order --------------------------------------------------------
   A narrow column: this page is read, not browsed, and it is usually opened on a
   phone from a message with the reference in it. */

.track{max-width:560px}
.track-form{border:1px solid var(--line-2);border-radius:3px;padding:16px;margin-bottom:22px}
.track-intro{margin:0 0 14px}
.track-form .add{margin-top:6px}

.found{border:1px solid var(--line-2);border-radius:3px;padding:16px;margin-bottom:20px}
.found-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding-bottom:12px;margin-bottom:6px;border-bottom:1px solid var(--line)}
.found-head strong{font-size:21px;font-weight:600;letter-spacing:.06em}
.found-items-h{margin:12px 0 4px}
.found .srow{padding:4px 0}
.found .srow i{font-style:normal;color:var(--muted);font-size:12.5px}
.found .srow.total{border-top:1px solid var(--line-2);margin-top:8px;padding-top:9px;
  font-weight:600;font-size:15.5px}

/* Status as a shape as well as a word, so the state reads before the sentence does. */
.pill{font-size:12px;padding:4px 10px;border-radius:100px;white-space:nowrap;
  border:1px solid var(--line-2);background:var(--surface);color:var(--ink-2)}
.pill-confirmed{background:#eaf4ef;border-color:#bcdcca;color:#215c41}
.pill-cancelled{background:#fdf1ef;border-color:#e8c4bb;color:var(--low)}

.others h2{font-size:15px;font-weight:600;margin:0 0 10px}
.other-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;
  padding:11px 0;border-bottom:1px solid var(--line)}
.other-row:last-child{border-bottom:0}
.other-ref{display:flex;flex-direction:column;gap:1px;min-width:0}
.other-ref strong{font-weight:600;letter-spacing:.04em}
.other-total{font-variant-numeric:tabular-nums;font-size:14px}

.foot-link{text-decoration:underline;color:var(--muted)}

@media (max-width:480px){
  .other-row{grid-template-columns:1fr auto}
  .other-total{grid-column:2}
  .other-row .pill{grid-column:1/-1;justify-self:start}
}

.scent-desc{margin:12px 0 0;font-size:14px;line-height:1.6;color:var(--ink-2)}
