/* ============================================================
   DÉCOROUS PLUS — zbox studio layout (Impact-theme design system)
   Fonts: Montserrat (from zboxstudio.com theme)
   Palette: scheme-1 neutral (bg #f1f1f1, text #1c1c1c, accent #494949)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: Montserrat; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/a17a7cb2d07f0728.woff2) format("woff2"), url(../fonts/71b2feea0d4ee5e4.woff) format("woff"); }
@font-face { font-family: Montserrat; font-weight: 600; font-style: italic; font-display: swap; src: url(../fonts/a757bdba666cb5db.woff2) format("woff2"), url(../fonts/72f713c34ea47fb4.woff) format("woff"); }
@font-face { font-family: Montserrat; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/92e8dff465a5c406.woff2) format("woff2"), url(../fonts/80134d541c2c0e9f.woff) format("woff"); }
@font-face { font-family: Montserrat; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/021e743f1e6703b9.woff2) format("woff2"), url(../fonts/75298667fbb0f727.woff) format("woff"); }
@font-face { font-family: Montserrat; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/fae4c7f60a1b9a27.woff2) format("woff2"), url(../fonts/8d1fbbc8d92c9ff3.woff) format("woff"); }
@font-face { font-family: Montserrat; font-weight: 700; font-style: italic; font-display: swap; src: url(../fonts/c5551cbd8e64ed84.woff2) format("woff2"), url(../fonts/808f01b63e4ed8d0.woff) format("woff"); }

/* ---------- Native cross-document page transitions (progressive enhancement) ---------- */
/* Supported browsers get a smooth built-in crossfade with zero added latency; */
/* unsupported browsers just ignore this and fall back to the JS fade in ink.js. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation-duration: .22s;
  animation-timing-function: ease-out;
}
::view-transition-new(root) {
  animation-duration: .22s;
  animation-timing-function: ease-in;
}

/* ---------- Design tokens (scheme-1) ---------- */
:root {
  --accent: 73 73 73;
  --text-color: 28 28 28;
  --background: 241 241 241;
  --border-color: 209 209 209;
  --button-background: 73 73 73;
  --button-text-color: 255 255 255;

  --page-bg: rgb(var(--background));
  --text: rgb(var(--text-color));
  --accent-solid: rgb(var(--accent));
  --border: rgb(var(--border-color));
  --btn-bg: rgb(var(--button-background));
  --btn-text: rgb(var(--button-text-color));
  --dark-bg: #1c1c1c;
  --dark-text: #f1f1f1;
  --gold: rgb(var(--accent));

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --heading-weight: 600;
  --heading-transform: uppercase;
  --heading-spacing: 0.02em;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-lg: 1rem;
  --text-xl: 1.125rem;
  --text-h1: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  --text-h2: clamp(1.375rem, 1.1rem + 1.1vw, 2.125rem);
  --text-h3: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);

  --radius: 0.25rem;
  --shadow: 0 5px 15px rgb(0 0 0 / 0.05);
  --shadow-md: 0 5px 30px rgb(0 0 0 / 0.08);

  --container: 1400px;
  --gutter: 24px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; border-style: solid; border-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font: 400 var(--text-base) / 1.7 var(--font-body);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header (zbox style: black bar, centered logo) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: #141414;
  border-bottom-color: #ffffff1f;
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; min-height: var(--header-h); gap: 24px;
  max-width: none;
}
.header-left { display: flex; align-items: center; gap: 8px; }
.header-left .nav-lang-btn { display: none; }
.header-logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.15; text-align: center; padding-block: 8px;
}
.header-logo-name {
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: clamp(13px, 2.1vw, 16px); color: #fff;
}
.header-logo-tag {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.32em;
  color: #ffffff73; margin-top: 3px;
}
.header-nav { display: flex; align-items: center; gap: 38px; }
.header-nav-link {
  font-size: var(--text-sm); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #fff; opacity: 0.75; position: relative; padding: 6px 0;
}
.header-nav-link:hover { opacity: 1; }
.header-nav-link.active { opacity: 1; }
.header-nav-link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff;
}
.header-actions { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 8px; border: 0; border-radius: 0;
  color: #fff; background: transparent; opacity: 0.9;
  transition: opacity 0.2s ease;
}
.icon-btn:hover { opacity: 1; }
.nav-cart-btn { position: relative; overflow: visible; }
.cart-count {
  position: absolute; top: -5px; inset-inline-end: -7px; min-width: 15px; height: 15px;
  padding: 0 3px; box-sizing: border-box; border-radius: 8px;
  background: #fff; color: #141414;
  font-size: 9px; font-weight: 600; line-height: 1;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 999px; padding-inline: 3px;
}
.nav-lang-btn { gap: 5px; }
.lang-code { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; min-width: 20px; text-align: center; }
.nav-hamburger {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  color: #fff; opacity: 0.9; background: transparent; border: 0;
}
.nav-hamburger:hover { opacity: 1; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 480;
  background: rgb(0 0 0 / 0.78); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 13vh 20px 40px;
}
.search-overlay.open { display: flex; }
.search-box { width: 100%; max-width: 560px; }
.search-input {
  width: 100%; background: #141414; color: #fff;
  border: 1px solid #ffffff38; border-radius: var(--radius);
  padding: 16px 18px; font-size: 15px; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.search-input:focus { outline: none; border-color: #fff; }
.search-input::placeholder { color: #ffffff55; }
.search-close {
  position: absolute; top: 20px; inset-inline-end: 24px; color: #fff; font-size: 26px;
  opacity: 0.75; line-height: 1;
}
.search-close:hover { opacity: 1; }
.search-results { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.search-count { color: #ffffff99; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 8px; }
.search-no-results { color: #ffffff80; font-size: var(--text-sm); letter-spacing: 0.06em; }
.search-quick-link {
  color: #fff; opacity: 0.85; padding: 10px 0;
  border-bottom: 1px solid #ffffff1f;
  font-size: var(--text-sm); letter-spacing: 0.1em; text-transform: uppercase;
}
.search-quick-link:hover { opacity: 1; color: #fff; }
.search-hidden { display: none !important; }

/* ---------- Hero ---------- */
.hero { position: relative; aspect-ratio: 16 / 9; min-height: 0; display: flex; align-items: flex-end; overflow: hidden; background: #d8d8d8; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.08) 0%, rgb(0 0 0 / 0.28) 55%, rgb(0 0 0 / 0.7) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding-block: 0 56px; max-width: 720px; }
.hero-eyebrow {
  font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.28em; color: #ffffffb3; margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-heading); font-weight: var(--heading-weight);
  text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 1.05rem + 1.8vw, 2.5rem); line-height: 1.08; margin-bottom: 16px;
}
.hero-title em { font-style: italic; font-weight: 400; }
.hero-sub { font-size: 0.9375rem; color: #ffffffcc; max-width: 520px; margin-bottom: 26px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-text);
  font-size: var(--text-sm); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 30px; border-radius: var(--radius);
  border: 1px solid var(--btn-bg);
  transition: all 0.2s ease; cursor: pointer; text-align: center;
}
.button:hover { background: rgb(var(--text-color)); border-color: rgb(var(--text-color)); }
.button--outline { background: transparent; color: var(--text); border-color: rgb(var(--text-color)); }
.button--outline:hover { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.button--on-dark { background: #fff; color: var(--dark-bg); border-color: #fff; }
.button--on-dark:hover { background: #dcdcdc; border-color: #dcdcdc; }
.button--on-dark-outline { background: transparent; color: #fff; border-color: #ffffffaa; }
.button--on-dark-outline:hover { background: #fff; color: var(--dark-bg); border-color: #fff; }
.button--sm { padding: 10px 18px; font-size: var(--text-xs); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section--bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.24em; margin-bottom: 14px;
}
.section-title, .h2 {
  font-family: var(--font-heading); font-weight: var(--heading-weight);
  text-transform: var(--heading-transform); letter-spacing: 0.02em;
  font-size: var(--text-h2); line-height: 1.18; margin-bottom: 12px;
}
.section-title em { font-style: italic; font-weight: 400; }
.section-sub { font-size: var(--text-base); color: #666; max-width: 520px; margin-inline: auto; }

/* ---------- Product grid / cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.product-grid--3col { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #e4e4e4; aspect-ratio: 3 / 4;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  background: rgb(var(--accent)); color: #fff;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 5px 10px; border-radius: 2px;
}
.product-card__quick-add {
  position: absolute; inset-inline-end: 12px; bottom: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all 0.2s ease;
  font-size: 18px; font-weight: 400; line-height: 1;
}
.product-card__quick-add:hover { background: var(--btn-bg); color: var(--btn-text); }
.product-card__info { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card__title { font-size: var(--text-base); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.product-card__sash { font-size: var(--text-xs); color: #777; }
.product-card__price { font-size: var(--text-sm); font-weight: 600; margin-top: 4px; }
.product-card__cta { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }

/* ---------- Dark bands ---------- */
.band-dark { background: var(--dark-bg); color: var(--dark-text); padding-block: 84px; text-align: center; }
.band-dark .eyebrow { color: #999; }
.band-dark .section-title { color: #fff; }
.band-dark .section-sub { color: #ffffff80; margin-inline: auto; }
.band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.gold-text { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #d9d9d9; border-top: 1px solid #c9c9c9; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 64px 48px; }
.footer-title { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 20px; }
.footer-about { font-size: var(--text-sm); color: #666; max-width: 300px; margin-bottom: 18px; }
.footer-logo-img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: var(--text-sm); color: #444; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer-copy { font-size: var(--text-xs); color: #888; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-social { display: flex; gap: 18px; }
.footer-social a {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  color: #666; transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--text); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--dark-bg); color: #fff; padding-block: 76px 72px; text-align: center; }
.page-hero .eyebrow { color: #999; }
.page-hero h1 { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--text-h1); line-height: 1.1; }
.page-hero p { color: #ffffff99; max-width: 560px; margin: 16px auto 0; font-size: var(--text-base); }
.page-hero--img {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 130px 96px;
}
.page-hero--img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(20 18 15 / 0.66) 0%, rgb(20 18 15 / 0.42) 55%, rgb(20 18 15 / 0.55) 100%);
}
.page-hero--img > .container { position: relative; z-index: 1; }
@media (max-width: 767px) {
  .page-hero--img { min-height: 300px; padding-block: 108px 72px; }
}

/* ============================================================
   DÉCOROUS interactive components — restyled to match
   ============================================================ */

/* ---------- Cart overlay + drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgb(28 28 28 / 0.5); z-index: 400; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; inset-inline-end: 0; bottom: 0; width: 420px; max-width: 94vw;
  background: var(--page-bg); border-inline-start: 1px solid var(--border); z-index: 401;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: -8px 0 40px rgb(0 0 0 / 0.12);
}
.cart-drawer.open, .cart-overlay.open ~ .cart-drawer { transform: translateX(0); }
/* RTL (Arabic): the cart button lives on the opposite side of the header
   because .header-inner is a mirrored grid, so the drawer must dock and
   slide from that same edge (inset-inline-end already flips it there —
   only the closed-state transform and shadow direction need to flip too). */
html[dir="rtl"] .cart-drawer { transform: translateX(-100%); box-shadow: 8px 0 40px rgb(0 0 0 / 0.12); }
html[dir="rtl"] .cart-drawer.open, html[dir="rtl"] .cart-overlay.open ~ .cart-drawer { transform: translateX(0); }
.cart-drawer-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-title { font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--text-base); }
.cart-close-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--text); opacity: 0.65; }
.cart-close-btn:hover { opacity: 1; }
.cart-empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #999; }
.cart-empty-icon svg { stroke-width: 1.2; }
.cart-empty-text { font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--text-sm); color: var(--text); }
.cart-empty-sub { font-size: var(--text-xs); }
.cart-items-list { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.cart-item img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius); background: #e4e4e4; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.cart-item-name { font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: var(--text-sm); }
.cart-item-price { font-weight: 600; font-size: var(--text-sm); }
.cart-footer { border-top: 1px solid var(--border); padding: 20px 24px 24px; }
.cart-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cart-sum-row { display: flex; justify-content: space-between; font-size: var(--text-sm); }
.cart-sum-row.total { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; font-weight: 600; font-size: var(--text-base); }
.pay-section { display: flex; flex-direction: column; gap: 8px; }
.pay-bulk-note { font-size: var(--text-xs); color: #888; text-align: center; margin-top: 10px; }

/* ---------- Product modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgb(28 28 28 / 0.6); z-index: 500; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; padding: 24px; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--page-bg); border-radius: var(--radius); width: 960px; max-width: 100%;
  max-height: 92vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr;
  position: relative; transform: translateY(14px); transition: transform 0.25s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 5; width: 38px; height: 38px; background: #fff; border-radius: 50%; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--text); opacity: 0.85; }
.modal-close:hover { opacity: 1; }
.modal-img-col { position: relative; background: #e4e4e4; min-height: 420px; overflow: hidden; }
.modal-gallery {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.modal-gallery::-webkit-scrollbar { display: none; }
.modal-gallery img {
  flex: 0 0 100%; width: 100%; height: 100%;
  object-fit: cover; scroll-snap-align: start;
}
.modal-gallery-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.modal-gdot { width: 8px; height: 8px; border-radius: 50%; background: #ffffff80; cursor: pointer; transition: background 0.2s ease; }
.modal-gdot.on { background: #fff; }
.modal-body-col { padding: 36px 34px; }
.modal-set-label { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: #999; margin-bottom: 8px; }
.modal-name { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.4rem; margin-bottom: 6px; }
.modal-sub { font-size: var(--text-xs); color: #888; margin-bottom: 14px; }
.modal-price { font-size: 1.05rem; font-weight: 600; margin-bottom: 22px; }
.modal-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.modal-tab { padding: 10px 18px; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: #888; border-bottom: 2px solid transparent; }
.modal-tab.on { color: var(--text); border-bottom-color: var(--text); }
.modal-sec { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin: 18px 0 10px; }
.modal-size-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-sz { min-width: 46px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: var(--text-sm); font-weight: 600; text-transform: uppercase; }
.modal-sz:hover { border-color: var(--text); }
.modal-sz.on { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.modal-qty-row { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); width: fit-content; }
.modal-qty-btn { width: 40px; height: 40px; font-size: 16px; }
.modal-qty-btn:hover { background: #e6e6e6; }
.modal-qty-num { min-width: 44px; text-align: center; font-weight: 600; }
.form-input { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; font-size: var(--text-sm); background: #fff; }
.form-input:focus { outline: none; border-color: rgb(var(--accent)); }
.modal-velvet { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; }
.modal-velvet img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); background: #e4e4e4; }
.modal-vcheck { width: 22px; height: 22px; border: 1.5px solid var(--border); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.modal-velvet.on .modal-vcheck { background: var(--btn-bg); border-color: var(--btn-bg); }
.modal-velvet.on .modal-vcheck::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.modal-add-btn { width: 100%; margin-top: 24px; }

/* Per-item rows (quantity > 1) */
.modal-names-list { display: flex; flex-direction: column; gap: 10px; }
.modal-name-row { display: flex; align-items: center; gap: 10px; }
.modal-name-num { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--btn-bg); color: var(--btn-text); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.modal-item-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.modal-sz-sm { min-width: 38px; padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; background: transparent; cursor: pointer; }
.modal-sz-sm:hover { border-color: var(--text); }
.modal-sz-sm.on { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.modal-name-row .form-input { min-width: 0; }
.size-tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.size-tbl th, .size-tbl td { padding: 9px 10px; text-align: start; border-bottom: 1px solid var(--border); }
.size-tbl th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: #666; }
.size-note-sm { font-size: var(--text-xs); color: #888; margin-top: 12px; }

/* ---------- Toast ---------- */
.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 600; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: var(--dark-bg); color: #fff; border-radius: var(--radius); padding: 13px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md); pointer-events: all; min-width: 280px; animation: toastIn 0.28s ease; }
@keyframes toastIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.toast-icon { width: 28px; height: 28px; background: rgb(var(--accent) / 0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.toast-msg { font-size: var(--text-sm); font-weight: 600; }
.toast-sub { font-size: var(--text-xs); color: #ffffff80; }

/* ---------- Splash ---------- */
#splashScreen { position: fixed; inset: 0; z-index: 900; background: var(--page-bg); display: none; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
#splashScreen.active { display: flex; }
#splashScreen.fade-out { opacity: 0; pointer-events: none; }
.splash-content { text-align: center; }
.splash-logo-wrap { display: inline-block; position: relative; margin-bottom: 18px; }
.splash-logo { width: 72px; height: 72px; border-radius: 16px; }
.splash-name { font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.95rem; }
.splash-tagline { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.2em; color: #999; margin-top: 6px; }
.splash-bar-wrap { width: 160px; height: 2px; background: #ddd; margin: 22px auto 0; overflow: hidden; }
.splash-bar { height: 100%; width: 40%; background: var(--btn-bg); animation: splashSlide 1.1s ease infinite; }
@keyframes splashSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ---------- Order form ---------- */
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
.qty-row { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); width: fit-content; background: #fff; }
.qty-row button { width: 42px; height: 42px; font-size: 16px; }
.qty-row button:hover { background: #eee; }
.qty-row .qty-num { min-width: 46px; text-align: center; font-weight: 600; }

/* ---------- Category slider ---------- */
.cat-slider-wrap { position: relative; }
.cat-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: visible;
}
.cat-slider .product-card { min-width: 0; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow); opacity: 0.9; transition: opacity 0.2s;
}
.slider-arrow:hover { opacity: 1; }
.slider-arrow svg { display: block; }
.slider-arrow--prev { inset-inline-start: -14px; }
.slider-arrow--next { inset-inline-end: -14px; }
/* RTL: "previous" now sits on the visual right and should point back
   toward the start of the (mirrored) strip, so the chevrons mirror too. */
html[dir="rtl"] .slider-arrow svg { transform: scaleX(-1); }
@media (min-width: 1000px) {
  .slider-arrow { display: none; }
}

/* ---------- Value props ---------- */
.vp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; text-align: center; }
.vp-item-title { font-family: var(--font-heading); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.vp-item-desc { font-size: var(--text-sm); color: #666; line-height: 1.7; max-width: 300px; margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 999px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .cat-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: 20px;
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cat-slider::-webkit-scrollbar { display: none; }
  .cat-slider .product-card { flex: 0 0 48%; scroll-snap-align: start; min-width: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --header-h: 60px; --gutter: 18px; }
  .hero { aspect-ratio: 4 / 5; }
  .header-nav { display: none; }
  .nav-hamburger { display: inline-flex; }
  .header-actions .icon-btn { padding: 8px; }
  .header-actions .nav-wa-btn { display: none; }
  .header-actions .nav-lang-btn { display: none; }
  .header-left .nav-lang-btn { display: inline-flex; }
  .header-logo-name { font-size: 12px; letter-spacing: 0.14em; }
  .header-logo-tag { font-size: 8px; letter-spacing: 0.24em; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .product-grid--carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .product-grid--carousel::-webkit-scrollbar { display: none; }
  .product-grid--carousel .product-card {
    flex: 0 0 74%;
    scroll-snap-align: start;
    min-width: 0;
  }
  .product-card__cta { flex-direction: column; }
  .product-card__cta .button { width: 100%; padding: 11px 10px; font-size: var(--text-xs); }
  .hero-sub, .hero-eyebrow { display: none; }
  .hero-title { margin-bottom: 12px; text-shadow: 0 1px 16px rgb(0 0 0 / 0.55); }
  .hero-content { padding: 0 16px 24px; }
  /* Section headers: reduce bottom margin and left-align on mobile for tighter feel */
  .section-header { text-align: start; margin-bottom: 32px; }
  .section-header .section-sub { margin-inline: 0; max-width: none; }
  /* Value props: already switches to 1-col, keep left-aligned */
  .vp-grid { grid-template-columns: 1fr; gap: 24px; text-align: start; }
  .vp-item-desc { max-width: none; margin-inline: 0; }
  /* Band-dark: stay centered on mobile (it's a full-width CTA band) */
  .band-dark { padding-block: 56px; text-align: center; }
  .band-dark .section-sub { max-width: none; }
  /* Made-to-order overrides band-dark to left-align — keep that consistent on mobile */
  .made-to-order { text-align: start; }
  .made-to-order .section-header { text-align: start; }
  .made-to-order .section-sub { margin-inline: 0; }
  /* Page hero: reduce padding and ensure text doesn't overflow */
  .page-hero { padding-block: 56px 48px; }
  .page-hero p { margin-inline: 0; max-width: none; }
  .cat-slider { gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .cat-slider .product-card { flex-basis: 74%; }
  .slider-arrow { display: none; }
  .section { padding-block: 48px; }
  .site-footer { display: none; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-img-col { min-height: 300px; }
  .modal-body-col { padding: 24px 20px; }
  .cart-drawer { width: 100%; max-width: 100vw; }
}

/* ---------- Mobile drawer (zbox style: left side, grey, white items) ---------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgb(0 0 0 / 0.4);
  z-index: 210; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0;
  width: min(320px, 70vw);
  background: #141414;
  border-inline-end: 1px solid #ffffff1f;
  z-index: 220;
  display: flex; flex-direction: column;
  padding: 20px 24px 26px;
  transform: translateX(-102%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.mobile-drawer.open { transform: translateX(0); }
/* RTL (Arabic): inset-inline-start:0 flips to the right edge; only the
   closed-state transform must point the other way. */
html[dir="rtl"] .mobile-drawer { transform: translateX(102%); }
html[dir="rtl"] .mobile-drawer.open { transform: translateX(0); }
.drawer-close {
  align-self: flex-start; color: #fff; font-size: 22px; line-height: 1;
  padding: 4px; margin-bottom: 16px; opacity: 0.9;
}
.drawer-close:hover { opacity: 1; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav-link {
  color: #fff; font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 18px 2px; border-bottom: 1px solid #ffffff40; opacity: 0.9;
}
.drawer-nav-link:hover, .drawer-nav-link.active { opacity: 1; }
.drawer-secondary { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.drawer-sec-link {
  color: #fff; font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.1em; opacity: 0.78;
}
.drawer-sec-link:hover { opacity: 1; }
.drawer-social { margin-top: auto; display: flex; gap: 18px; padding-top: 20px; }
.drawer-social a { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0.85; }
.drawer-social a:hover { opacity: 1; }
.drawer-social svg { width: 17px; height: 17px; }

/* ---------- Made to Order ---------- */
.made-to-order { text-align: start; position: relative; overflow: hidden; }
.made-to-order::before { content: ''; position: absolute; inset: 0; background: radial-gradient(620px 320px at 12% 18%, rgb(var(--accent) / 0.14), transparent 62%); pointer-events: none; }
.mto-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; }
.mto-content .section-sub { margin-inline: 0; }
.mto-media { position: relative; padding-bottom: 34px; }
.mto-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.mto-media img:first-child { width: 70%; display: block; }
.mto-media img:last-child { width: 56%; position: absolute; inset-inline-end: 0; bottom: 0; border: 6px solid var(--dark-bg); }

@media (max-width: 767px) {
  .mto-grid { grid-template-columns: 1fr; gap: 36px; }
  .mto-media { display: none; }
  /* Align buttons to match left-aligned text in this section */
  .made-to-order .band-actions { justify-content: flex-start; margin-top: 24px; }
}

/* ---------- Size guide: diagram + table side by side ---------- */
.size-guide-grid { display: grid; grid-template-columns: 44% 1fr; gap: 32px; align-items: start; margin: 10px 0 4px; }
.size-guide-diagram img { width: 100%; border-radius: 4px; object-fit: contain; }
.size-guide-table .size-note-sm { margin-top: 12px; }

@media (max-width: 767px) {
  .size-guide-grid { grid-template-columns: 1fr; gap: 18px; }
  /* Size guide section headings: left-align on mobile to match stacked layout */
  .size-wrap h3 { text-align: start !important; }
  /* Size wrap: remove max-width constraint on mobile so it fills the gutter properly */
  .size-wrap { max-width: none !important; margin-inline: 0 !important; }
}

/* ---------- Ink opening reveal (video splash, see assets/js/ink.js) ---------- */
.ink-reveal { position: fixed; inset: 0; z-index: 950; overflow: hidden; pointer-events: none; }
.ink-reveal.is-blocking { pointer-events: auto; cursor: pointer; }
.ink-reveal .ink-water { position: absolute; inset: 0; background: #f1f1f1; }
.ink-reveal .ink-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #f1f1f1; }
.ink-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(0 0 0 / 0.28) 0%, transparent 46%, rgb(0 0 0 / 0.5) 100%); pointer-events: none; }
.ink-brand { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; opacity: 0; }
.ink-brand-name { font-weight: 600; text-transform: uppercase; font-size: clamp(1.1rem, 3vw, 1.6rem); letter-spacing: .6em; color: #f1f1f1; text-indent: .6em; text-shadow: 0 2px 22px rgb(0 0 0 / 0.65); }
.ink-brand-line { width: 64px; height: 1px; background: #f1f1f1; opacity: .5; }
.ink-brand-tag { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .3em; color: #c9c9c9; text-shadow: 0 2px 14px rgb(0 0 0 / 0.7); }

/* phase: brand */
.ink-reveal.is-brand .ink-brand { animation: inkBrandIn .95s cubic-bezier(.22,1,.36,1) both; }

/* phase: dissolving */
.ink-reveal.is-dissolving { animation: inkDissolve .65s cubic-bezier(.5,0,.8,.4) both; }
.ink-reveal.is-dissolving .ink-brand { animation: inkBrandOut .5s ease-in both; }
.ink-reveal.is-gone { display: none; }

@keyframes inkBrandIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes inkBrandOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes inkDissolve { to { opacity: 0; transform: scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  .ink-reveal { display: none !important; }
}

/* ---------- Section color variants ---------- */
.section--grey { background: #d9d9d9; }
.made-to-order { background: var(--dark-bg); padding-block: 84px; }

/* ---------- Dark footer (matches header & splash) ---------- */
.site-footer { background: var(--dark-bg); border-top-color: #2a2a2a; color: #f1f1f1; }
.site-footer .footer-title { color: #f1f1f1; }
.site-footer .footer-about { color: #9a9a9a; }
.site-footer .footer-links a { color: #cfcfcf; }
.site-footer .footer-links a:hover { color: #fff; }
.site-footer .footer-bottom { border-top-color: #2a2a2a; }
.site-footer .footer-copy { color: #8a8a8a; }
.site-footer .footer-social a { color: #cfcfcf; }
.site-footer .footer-logo-img { filter: invert(1); mix-blend-mode: screen; }

/* ---------- Cart restyle (simple reference look) ---------- */
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.cart-item-det { color: #777; }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cart-qty-row { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); background: #f7f7f7; }
.cart-qty-btn { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text); background: transparent; border: none; cursor: pointer; }
.cart-qty-btn:hover { background: #e8e8e8; }
.cart-qty-num { min-width: 30px; text-align: center; font-weight: 600; font-size: var(--text-sm); }
.cart-rm-btn { background: none; border: none; padding: 4px 2px; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; color: #999; text-decoration: underline; cursor: pointer; }
.cart-rm-btn:hover { color: var(--text); }
.cart-footer { background: #f1f1f1; border-top: 1px solid var(--border); padding: 20px 24px 24px; }
.pay-label { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: #666; margin-bottom: 10px; }
.pay-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--btn-bg); color: var(--btn-text); border: none; border-radius: var(--radius); padding: 14px 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: var(--text-sm); cursor: pointer; transition: opacity .2s ease; }
.pay-btn:hover { opacity: .9; }
.pay-btn.bulk { background: var(--text); }
.pay-btn svg { flex-shrink: 0; }

/* ---------- Mobile hero: tall crop, framed on the models ---------- */
@media (max-width: 767px) {
  .hero { aspect-ratio: 4 / 5; height: auto; }
  .hero-media { object-position: 82% 30%; }
}

/* ---------- Shop by Category: symmetric mobile padding ---------- */
@media (max-width: 767px) {
  .cat-slider { margin-inline: 0; padding-inline: 0; }
}

/* ---------- Minimal mobile footer ---------- */
.footer-mobile { display: none; }
@media (max-width: 767px) {
  .footer-mobile { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 18px 36px; background: var(--dark-bg); border-top: 1px solid #2a2a2a; }
  .footer-mobile-brand { color: #f1f1f1; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; font-size: 12px; }
  .fm-social { display: flex; gap: 16px; }
  .fm-social a { color: #cfcfcf; width: 40px; height: 40px; border: 1px solid #ffffff2e; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
  .fm-social a:hover { color: #fff; border-color: #ffffff66; }
  .fm-copy { color: #8a8a8a; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
}

/* ---------- Cart taxes note ---------- */
.cart-taxes { margin-top: 10px; font-size: 11px; color: #999; }

/* ---------- Search: zbox drop-down style (mobile) ---------- */
@media (max-width: 767px) {
  .search-overlay { top: var(--header-h); bottom: auto; min-height: 0; padding: 14px 18px 26px; background: #1c1c1c; backdrop-filter: none; align-items: flex-start; }
  .search-box { max-width: none; }
  .search-input { background: transparent; border: 0; border-bottom: 1px solid #ffffff2e; border-radius: 0; padding: 12px 2px; }
  .search-input:focus { border-color: #ffffff70; }
  .search-close { top: 12px; inset-inline-end: 16px; }
}

/* ---------- Shop toolbar: filter / sort / view ---------- */
.shop-toolbar { display: flex; align-items: stretch; border-bottom: 1px solid var(--border); background: #f7f7f7; position: sticky; top: var(--header-h); z-index: 60; }
.st-cell { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #555; border-inline-end: 1px solid var(--border); background: transparent; cursor: pointer; }
.st-cell:last-child { border-inline-end: 0; }
.st-cell.st-view { flex: 0 0 56px; }
.st-cell.st-view.on { color: var(--text); }
.st-chev { transition: transform .2s ease; }
.st-filter-sheet, .st-sort-menu { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 14px 14px 0 0; z-index: 620; padding: 20px; transform: translateY(110%); transition: transform .32s cubic-bezier(.22,1,.36,1); max-height: 72vh; overflow: auto; }
.st-filter-sheet.open, .st-sort-menu.open { transform: translateY(0); }
.st-sheet-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: var(--text-sm); margin-bottom: 14px; }
.st-sheet-close { font-size: 22px; color: #999; cursor: pointer; background: none; border: 0; }
.st-filter-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.st-fopt { border: 1px solid var(--border); border-radius: 20px; padding: 8px 14px; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: #555; cursor: pointer; background: #fff; }
.st-fopt.on { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.st-sheet-apply { width: 100%; margin-top: 18px; }
.st-sort-menu { display: flex; flex-direction: column; }
.st-sort-opt { padding: 14px 4px; text-align: start; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .08em; color: #555; border-bottom: 1px solid var(--border); background: none; cursor: pointer; }
.st-sort-opt.on { color: var(--text); font-weight: 600; }
.st-scrim { position: fixed; inset: 0; background: rgb(0 0 0 / 0.45); z-index: 610; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.st-scrim.open { opacity: 1; pointer-events: auto; }

/* list view */
body.shop-list .product-grid { grid-template-columns: 1fr; }
body.shop-list .product-card { flex-direction: row; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); }
body.shop-list .product-card__media { flex: 0 0 120px; }
body.shop-list .product-card__info { flex: 1; min-width: 0; }
body.shop-list .product-card__cta { margin-inline-start: auto; }

/* ---------- Page fade transitions ---------- */
body.page-fade-in { opacity: 0; transition: opacity .25s ease; }
body.page-fade-in.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  body.page-fade-in { opacity: 1; transition: none; }
}

/* ---------- Header logo: always one line ---------- */
.header-logo-name { white-space: nowrap; }
@media (max-width: 767px) {
  .header-logo-name { font-size: 10px; letter-spacing: 0.08em; }
  .header-logo-tag { font-size: 7.5px; letter-spacing: 0.2em; }
}

/* ---------- Drawer: collapsible categories + safe-area ---------- */
.mobile-drawer { overflow-y: auto; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.drawer-cat-head { display: flex; align-items: center; border-bottom: 1px solid #ffffff40; }
.drawer-cat-head .drawer-nav-link { flex: 1; border-bottom: 0; padding: 18px 2px; }
.drawer-cat-toggle { background: none; border: 0; color: #fff; opacity: 0.7; padding: 0 10px; height: 100%; cursor: pointer; display: flex; align-items: center; }
.drawer-cat-toggle:hover { opacity: 1; }
.drawer-cat-toggle svg { transition: transform 0.25s ease; }
.drawer-cat.open .drawer-cat-toggle svg { transform: rotate(180deg); }
.drawer-sub { display: none; }
.drawer-cat.open .drawer-sub { display: block; }
.drawer-social { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }

/* ---- Checkout form (delivery + contact details) ---- */
.checkout-view { display: flex; flex-direction: column; gap: 16px; }
.checkout-back-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; font-size: var(--text-sm); color: var(--text); cursor: pointer; }
.checkout-back-btn:hover { text-decoration: underline; }
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-field-error { display: none; color: #b3261e; font-size: var(--text-xs); }
.checkout-field-error.show { display: block; }
.form-input.field-invalid { border-color: #b3261e; }
.checkout-summary-mini { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.pay-btn[disabled] { opacity: .6; cursor: not-allowed; }
[dir="rtl"] .checkout-back-btn svg { transform: scaleX(-1); }
