:root {
  --paper: #f0e9dc;
  --paper-2: #e6ddcb;
  --ink: #17170f;
  --olive: #4a5233;
  --rust: #b9502c;
  --line: #17170f;
  --ease: cubic-bezier(.22,.72,.2,1);
}
* { box-sizing: border-box; }
html[lang="ar"] .en, html[lang="en"] .ar { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Almarai", "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
html[lang="en"] body { font-family: "Archivo", "Almarai", system-ui, sans-serif; }
body.ready { opacity: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.muted { color: #6f6a58; }

/* top ticker */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; }
.ticker-run {
  display: flex; align-items: center; gap: 28px; white-space: nowrap;
  padding: 9px 0; font-size: 12px; letter-spacing: .06em;
  animation: slide 34s linear infinite;
}
.ticker-run i { width: 5px; height: 5px; background: var(--rust); border-radius: 50%; }
@keyframes slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-33.33%,0,0); } }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1.5px solid var(--line);
  transition: padding .3s var(--ease), background .3s;
}
.head-in { display: flex; align-items: center; gap: 24px; padding: 18px 0; transition: padding .3s var(--ease); }
.site-head.tight .head-in { padding: 10px 0; }
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 800; }
.brand-ar { font-size: 22px; }
.brand-en { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--olive); }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a {
  font-size: 13px; letter-spacing: .04em; padding-bottom: 3px;
  border-bottom: 1.5px solid transparent; transition: border-color .25s, color .25s;
}
.nav a:hover, .nav a.is-here { border-color: var(--rust); }
.head-tools { display: flex; align-items: center; gap: 10px; }
.lang, .cartbtn, .menu {
  font: inherit; font-size: 12px; letter-spacing: .08em;
  background: transparent; border: 1.5px solid var(--line);
  padding: 7px 11px; cursor: pointer; color: var(--ink);
  transition: background .2s, color .2s;
}
.lang:hover, .cartbtn:hover { background: var(--ink); color: var(--paper); }
.cartbtn { display: inline-flex; align-items: center; gap: 8px; }
.cartbtn b {
  display: none; min-width: 18px; height: 18px; place-items: center;
  background: var(--rust); color: var(--paper); font-size: 11px; font-weight: 700;
}
.cartbtn b.on { display: inline-grid; }
.menu { display: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; border-bottom: 1.5px solid var(--line); }
.hero-copy { padding: 56px clamp(24px, 4vw, 64px) 40px; display: flex; flex-direction: column; justify-content: center; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin-bottom: 20px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .92; letter-spacing: -.03em; }
.hero h1 .line { display: block; transform: translateY(120%); transition: transform .9s var(--ease); }
body.ready .hero h1 .line { transform: none; }
body.ready .hero h1 .line:nth-child(2) { transition-delay: .08s; }
body.ready .hero h1 .line:nth-child(3) { transition-delay: .16s; }
.hero h1 .accent { color: var(--rust); }
.lede { max-width: 40ch; margin-top: 22px; font-size: 17px; color: #3a3a2c; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; gap: 34px; margin: 40px 0 0; padding-top: 18px; border-top: 1.5px solid var(--line); }
.hero-facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6f6a58; }
.hero-facts dd { margin: 2px 0 0; font-size: 22px; font-weight: 800; }
.hero-media { position: relative; margin: 0; overflow: hidden; min-height: 420px; border-inline-start: 1.5px solid var(--line); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-media figcaption {
  position: absolute; inset-inline-start: 0; bottom: 0;
  background: var(--paper); border-top: 1.5px solid var(--line); border-inline-end: 1.5px solid var(--line);
  padding: 7px 14px; font-size: 11px; letter-spacing: .08em;
}

/* button */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px;
  letter-spacing: .02em; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--rust);
  transform: translateY(101%); transition: transform .42s var(--ease); z-index: -1;
}
.btn:hover::before { transform: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { color: var(--paper); border-color: var(--rust); }
.btn.wide { width: 100%; }
.btn.ok { background: var(--olive); }

/* marquee band */
.band { background: var(--olive); color: var(--paper); border-bottom: 1.5px solid var(--line); overflow: hidden; }
.band-run {
  display: flex; align-items: center; gap: 26px; padding: 12px 0;
  font-size: 15px; font-weight: 800; letter-spacing: .16em; white-space: nowrap;
  animation: slide 26s linear infinite reverse;
}
.band-run b { color: var(--rust); font-size: 13px; }

/* sections */
.sec { padding: 72px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1.5px solid var(--line); margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); display: flex; align-items: baseline; gap: 14px; }
.sec-head h2 em { font-style: normal; font-size: 12px; letter-spacing: .18em; color: var(--rust); }
.txtlink { font-size: 13px; letter-spacing: .06em; border-bottom: 1.5px solid var(--rust); padding-bottom: 2px; }
.txtlink:hover { color: var(--rust); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--line); border: 1.5px solid var(--line); }
.card { background: var(--paper); display: block; position: relative; overflow: hidden; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; border-top: 1.5px solid var(--line); }
.card-meta h3 { font-size: 16px; font-weight: 700; }
.card-meta .price { font-size: 14px; font-weight: 700; color: var(--olive); white-space: nowrap; }
.card::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--rust);
  transform: scaleX(0); transform-origin: var(--o, left); transition: transform .4s var(--ease);
}
html[dir="rtl"] .card::after { transform-origin: right; }
.card:hover::after { transform: scaleX(1); }

/* usp */
.usp-sec { padding-top: 0; }
.usp { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--line); }
.usp > div { padding: 26px 24px; border-inline-end: 1.5px solid var(--line); }
.usp > div:last-child { border-inline-end: 0; }
.usp em { font-style: normal; font-size: 12px; letter-spacing: .18em; color: var(--rust); }
.usp h3 { font-size: 18px; margin: 8px 0 6px; }
.usp p { font-size: 14px; color: #4b4b3c; }

/* story */
.story { border-top: 1.5px solid var(--line); }
.story-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.story-in figure { margin: 0; border: 1.5px solid var(--line); }
.story-in img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-copy em { font-style: normal; font-size: 12px; letter-spacing: .18em; color: var(--rust); }
.story-copy h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 10px 0 16px; }
.story-copy p { color: #3a3a2c; max-width: 52ch; }
blockquote {
  margin: 26px 0; padding: 18px 0 18px 22px; border-inline-start: 3px solid var(--rust);
  font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--olive);
}

/* footer */
.site-foot { background: var(--ink); color: var(--paper); margin-top: 72px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 52px 0 34px; }
.foot-brand { display: flex; flex-direction: column; gap: 4px; }
.foot-brand span:first-child { font-size: 34px; font-weight: 800; }
.foot-brand span:last-child { font-size: 12px; letter-spacing: .34em; color: #a9a48d; }
.foot-col h4 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #a9a48d; margin-bottom: 12px; }
.foot-col a, .foot-col p { display: block; font-size: 14px; padding: 3px 0; color: #e2dccb; }
.foot-col a:hover { color: var(--rust); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 26px; border-top: 1px solid #33322a; font-size: 11px; color: #8c8874; }

/* floating whatsapp */
.wa-fab {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 45;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--olive); border: 1.5px solid var(--ink);
  transition: transform .25s var(--ease), background .25s;
}
.wa-fab svg { width: 26px; height: 26px; fill: var(--paper); }
.wa-fab:hover { transform: translateY(-3px); background: var(--rust); }

/* inner pages */
.shop-page { padding: 44px 0 24px; }
.page-head { border-bottom: 1.5px solid var(--line); padding-bottom: 20px; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 54px); }
.page-head p { margin-top: 8px; color: #4b4b3c; max-width: 60ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  font: inherit; font-size: 13px; padding: 8px 15px; background: transparent;
  border: 1.5px solid var(--line); cursor: pointer; transition: background .2s, color .2s;
}
.chip:hover { background: var(--paper-2); }
.chip.on { background: var(--ink); color: var(--paper); }

/* product detail */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 36px 0 12px; }
.pdp-media { border: 1.5px solid var(--line); overflow: hidden; }
.pdp-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp-info { display: flex; flex-direction: column; justify-content: center; }
.crumb { display: flex; gap: 8px; font-size: 12px; letter-spacing: .06em; color: #6f6a58; margin-bottom: 14px; }
.crumb a:hover { color: var(--rust); }
.pdp-info h1 { font-size: clamp(28px, 3.6vw, 46px); }
.pdp-price { font-size: 20px; font-weight: 800; color: var(--olive); margin: 10px 0 16px; }
.pdp-desc { color: #3a3a2c; max-width: 46ch; }
.field-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6f6a58; margin: 24px 0 8px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  font: inherit; font-size: 13px; min-width: 46px; padding: 9px 12px;
  border: 1.5px solid var(--line); background: transparent; cursor: pointer;
  transition: background .2s, color .2s;
}
.size.on { background: var(--ink); color: var(--paper); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); }
.stepper button { font: inherit; width: 40px; height: 40px; background: transparent; border: 0; cursor: pointer; font-size: 18px; }
.stepper button:hover { background: var(--paper-2); }
.stepper span { min-width: 34px; text-align: center; font-weight: 700; }
.stepper.sm { border-width: 1px; }
.stepper.sm button { width: 28px; height: 28px; font-size: 14px; }
.pdp-info .btn { margin-top: 22px; }
.pdp-info .btn.ghost { margin-top: 10px; }
.perks { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1.5px solid var(--line); font-size: 13px; color: #4b4b3c; }
.perks li { padding: 4px 0; }
.perks li::before { content: "—"; margin-inline-end: 8px; color: var(--rust); }
.related-sec { padding-top: 56px; }

/* cart */
.cart { display: grid; grid-template-columns: 1.5fr .9fr; gap: 40px; align-items: start; padding-bottom: 30px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1.5px solid var(--line); }
.cart-line img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border: 1.5px solid var(--line); }
.cl-main h3 { font-size: 16px; }
.cl-main p { font-size: 13px; color: #6f6a58; margin: 2px 0 8px; }
.cl-end { text-align: end; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.link { font: inherit; font-size: 12px; background: none; border: 0; border-bottom: 1px solid var(--rust); cursor: pointer; padding: 0; }
.cart-sum { border: 1.5px solid var(--line); padding: 24px; background: var(--paper-2); }
.cart-sum h3 { font-size: 18px; margin-bottom: 14px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.row.total { border-top: 1.5px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 17px; }
.cart-sum .btn { margin-top: 16px; }
.empty { padding: 60px 0; text-align: center; }
.empty p { margin-bottom: 18px; color: #6f6a58; }

/* checkout */
.demo-note { border: 1.5px dashed var(--rust); padding: 12px 16px; font-size: 13px; background: #f6e9df; margin-bottom: 26px; }
.checkout { display: grid; grid-template-columns: 1.35fr .85fr; gap: 40px; align-items: start; padding-bottom: 20px; }
.cform fieldset { border: 1.5px solid var(--line); padding: 20px 20px 24px; margin: 0 0 18px; }
.cform legend { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 0 8px; color: var(--olive); font-weight: 700; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 12px;
  border: 1.5px solid var(--line); background: #fbf7ee; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rust); box-shadow: 3px 3px 0 rgba(185,80,44,.18);
}
.field [aria-invalid="true"] { border-color: var(--rust); background: #fbeee8; }
.err { display: block; min-height: 15px; font-size: 12px; color: var(--rust); padding-top: 3px; }
.with-prefix { display: flex; align-items: stretch; }
.with-prefix span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-inline-end: 0; background: var(--paper-2); font-size: 14px; }
.pay { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); padding: 13px 14px; margin-bottom: 10px; cursor: pointer; transition: background .2s; }
.pay:hover { background: #f7f1e4; }
.pay input { margin-top: 4px; accent-color: var(--rust); }
.pay-body b { display: block; font-size: 15px; }
.pay-body small { color: #6f6a58; font-size: 12.5px; }
.democard { display: none; border: 1.5px solid var(--line); background: var(--paper-2); padding: 14px; font-size: 13px; margin-top: 4px; }
.democard.on { display: block; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fine { font-size: 12px; color: #6f6a58; margin-top: 10px; }
.csum { border: 1.5px solid var(--line); padding: 22px; background: var(--paper-2); position: sticky; top: 100px; }
.csum h3 { font-size: 17px; margin-bottom: 12px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 5px 0; border-bottom: 1px solid #d3c8b2; }
.done { display: none; border: 1.5px solid var(--olive); background: #e8ecdf; padding: 22px; margin-top: 18px; }
.done.on { display: block; animation: drop .4s var(--ease); }
.done h2 { font-size: 20px; margin-bottom: 8px; }
.done .btn { margin-top: 14px; }

/* shipping */
.ship-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.rates { width: 100%; border-collapse: collapse; border: 1.5px solid var(--line); }
.rates caption { text-align: start; font-weight: 800; font-size: 20px; padding-bottom: 12px; }
.rates th, .rates td { border-bottom: 1px solid #d3c8b2; padding: 11px 12px; font-size: 14px; text-align: start; }
.rates thead th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6f6a58; background: var(--paper-2); }
.rates tbody tr:hover { background: #f7f1e4; }
.steps h2, .ship-notes h2 { font-size: 22px; margin-bottom: 14px; }
.steps ol { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1.5px solid var(--line); font-size: 14px; }
.steps b { color: var(--rust); font-size: 13px; letter-spacing: .1em; }
.ship-notes { margin-top: 44px; border-top: 1.5px solid var(--line); padding-top: 26px; }
.ship-notes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ship-notes li { font-size: 14px; color: #3a3a2c; padding-inline-start: 18px; position: relative; }
.ship-notes li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--rust); }

/* motion */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
.grid .card { animation: rise .7s var(--ease) both; }
.grid .card:nth-child(2) { animation-delay: .06s; }
.grid .card:nth-child(3) { animation-delay: .12s; }
.grid .card:nth-child(4) { animation-delay: .18s; }
.grid .card:nth-child(5) { animation-delay: .24s; }
.grid .card:nth-child(6) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 320px; border-inline-start: 0; border-top: 1.5px solid var(--line); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .usp { grid-template-columns: 1fr; }
  .usp > div { border-inline-end: 0; border-bottom: 1.5px solid var(--line); }
  .usp > div:last-child { border-bottom: 0; }
  .story-in, .pdp, .cart, .checkout, .ship-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .csum { position: static; }
  .nav { display: none; }
  .menu { display: inline-grid; gap: 4px; place-items: center; padding: 9px 10px; }
  .menu span { display: block; width: 16px; height: 1.5px; background: var(--ink); }
  body.nav-open .nav {
    display: flex; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1.5px solid var(--line); padding: 8px 24px 16px;
  }
  body.nav-open .nav a { padding: 10px 0; border-bottom: 1px solid #d3c8b2; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(38px, 12vw, 58px); }
  .hero-facts { gap: 20px; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cl-end { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body, .rv { opacity: 1 !important; transform: none !important; }
}

@view-transition { navigation: auto; }
.collection .card, .grid .card { animation: none; }
