/* ============================================================
   Gallery Sticker — ستايل المتجر
   ستايل مستوحى بالكامل من شكل stickaeg.com:
   أبيض، أوليف نوار ‎#46513D، كريمي ‎#E6DBC5، أحمر للخصم، خط واحد
   هندسي، كروت بحواف 6px، أزرار Pill بحواف 60px.
   ============================================================ */

@font-face {
  font-family: "Cairo";
  src: url("fonts/cairo-arabic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF,
    U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  src: url("fonts/cairo-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  /* identity: Olive Noir + the cream from the logo */
  --olive: #46513d;
  --olive-deep: #333b2c;
  --olive-soft: #5a6750;
  --olive-12: rgba(70, 81, 61, 0.12);
  --cream: #e6dbc5;
  --cream-soft: #f2ebda;
  --ink: #22271e;
  --ink-70: rgba(34, 39, 30, 0.72);
  --ink-55: rgba(34, 39, 30, 0.56);
  --line: rgba(70, 81, 61, 0.16);
  --yellow: #46513d;
  --yellow-bright: #e6dbc5;
  --red: #b4462b;  /* terracotta: reads as a discount, passes AA on white and on cream */
  --green: #333b2c;
  --green-soft: #46513d;
  --r-card: 6px;
  --r-pill: 60px;
  --r-input: 8px;
  --r-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.1);
  --shadow-md: 0 5px 30px rgba(26, 26, 26, 0.1);
  --shadow-block: 0 18px 50px rgba(26, 26, 26, 0.1);
  --gutter: 20px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}

.wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------------- Announcement bar ---------------- */
.annbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: 39px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.annbar__track {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: ann-scroll 28.4s linear infinite;
  padding-inline: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.annbar__track span { display: inline-flex; align-items: center; gap: 26px; }
.annbar__track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-soft);
  display: inline-block;
}
@keyframes ann-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .annbar__track { animation: none; }
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
body[data-page="home"] .site-header {
  position: absolute;
  inset-inline: 0;
  top: 39px;
  background: transparent;
  color: #fff;
}
body[data-page="home"] .site-header .logo-word { color: #fff; }

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.header-side {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-side--end { justify-content: flex-end; }

.icon-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  color: inherit;
}
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icon-btn--menu svg { stroke-width: 1.8; }

.cart-count {
  position: absolute;
  top: -2px;
  inset-inline-start: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 60px;
  background: var(--olive);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  display: none;
  place-items: center;
  line-height: 1;
}
.cart-count.is-on { display: grid; }

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.logo-word {
  font-size: 15px;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.logo-mark { width: 26px; height: 16px; object-fit: contain; }
body[data-page="home"] .logo-mark { filter: brightness(0) invert(1); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  transition: transform 0.12s ease, opacity 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.985); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--yellow { background: var(--olive); color: var(--cream); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
}
.btn--block { width: 100%; }
.btn--sm { height: 48px; padding: 0 24px; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  aspect-ratio: 390 / 470;
  max-height: 78vh;
  overflow: hidden;
  background: #dfe6ea;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.3) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 24px 8px;
  gap: 14px;
}
.hero__eyebrow {
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero__title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  width: 190px;
}

/* ---------------- Sections ---------------- */
.section { padding-block: 30px; }
.section--tight { padding-block: 20px; }
.section__eyebrow {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section__title { font-size: 30px; }
.section__link { font-size: 13px; font-weight: 700; color: var(--ink-70); white-space: nowrap; }

/* ---------------- Category cards ---------------- */
.cat-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 48vw;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-card {
  position: relative;
  aspect-ratio: 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #f2f2f2;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card:hover img { transform: scale(1.03); }
.cat-card__label {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  line-height: 1.3;
  white-space: nowrap;
}

/* ---------------- Product grid ---------------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 8px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.card__fig {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #fff;
}
.card__fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}
.card:hover .card__fig img { transform: scale(1.04); }
.card__save {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  line-height: 1.4;
}
.quick-add {
  position: absolute;
  bottom: 8px;
  inset-inline-end: 8px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 0;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.quick-add:active { transform: scale(0.92); }
.quick-add svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.card__info { text-align: center; padding: 10px 4px 0; }
.card__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__price {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--red);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
.card__price--plain { color: var(--ink); }
.card__price s { color: var(--ink-55); font-size: 13px; }

/* ---------------- Page head (category) ---------------- */
.page-head {
  text-align: center;
  padding: 26px 0 14px;
}
.page-head h1 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.page-count {
  text-align: center;
  font-size: 13px;
  color: var(--ink-70);
  margin: 6px 0 18px;
}

.chips {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fff;
  padding: 12px var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 60px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px); }
.chip:active { transform: translateY(0); }
.chip.is-active { background: var(--olive); color: var(--cream); border-color: var(--olive); }

/* ---------------- Pagination (copied from the reference) ---------------- */
.pager-wrap {
  display: flex;
  justify-content: center;
  padding: 26px 0 36px;
}
.pager {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 60px;
  font-size: 16px;
  line-height: 1;
}
.pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--ink);
}
.pager__item svg { width: 18px; height: 18px; }
.pager__item--disabled { opacity: 0.32; pointer-events: none; }
.pager__current { padding: 0 6px; font-size: 16px; white-space: nowrap; }

.strip--page { margin-top: 4px; }

/* ---------------- Product page ---------------- */
.pdp { padding-top: 10px; }
.pdp__media {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  border-radius: var(--r-card);
  overflow: hidden;
}
.pdp__media img { width: 100%; height: 100%; object-fit: contain; }
.pdp__zoom {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.pdp__zoom svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.7; }

.pdp__prices {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 16px;
}
.pdp__price { color: var(--red); font-weight: 400; }
.pdp__compare { color: var(--ink-55); font-size: 15px; }
.pdp__save {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.pdp__sku { font-size: 11px; color: var(--ink-70); margin: 8px 0 0; }
.pdp__title { font-size: 28px; margin: 10px 0 0; }

.accordion {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
}
.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: 0;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.accordion__chev {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.accordion__chev svg { width: 12px; height: 12px; stroke: var(--ink); fill: none; stroke-width: 2; }
.accordion[open] .accordion__chev { transform: rotate(180deg); }
.accordion__body {
  font-size: 14px;
  color: var(--ink-70);
  padding: 0 0 16px;
  line-height: 1.75;
}

.pdp__tags {
  font-size: 12px;
  color: var(--ink-70);
  margin: 16px 0 0;
  line-height: 1.9;
  direction: ltr;
  text-align: right;
}

.opt-label { font-size: 14px; font-weight: 700; margin: 22px 0 8px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.opt.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.qty-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 22px 0 18px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  height: 46px;
  overflow: hidden;
}
.qty button {
  width: 42px;
  height: 100%;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.qty input {
  width: 38px;
  border: 0;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  background: none;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp__buy { margin-bottom: 8px; }
.pdp__note {
  font-size: 12px;
  color: var(--ink-70);
  text-align: center;
  margin: 10px 0 0;
}

/* ---------------- Green strip ---------------- */
.strip {
  background: var(--olive);
  color: var(--cream);
  text-align: center;
  padding: 34px 24px;
}
.strip__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
}
.strip__icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.6; }
.strip h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.strip p { font-size: 14px; margin: 0; opacity: 0.95; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--cream-soft);
  border-top: 0;
  padding: 34px 0 28px;
  margin-top: 10px;
}
.newsletter h3 { font-size: 22px; margin: 0 0 14px; line-height: 1.35; }
.newsletter__field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  height: 52px;
  padding-inline: 14px 6px;
  gap: 8px;
}
.newsletter__field input {
  flex: 1;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.newsletter__go {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #f1f1f1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.newsletter__go svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 2; }

.foot-links { margin: 30px 0 0; }
.foot-links h4 { font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { font-size: 14px; color: var(--ink-70); }

.socials { display: flex; gap: 18px; margin: 26px 0 0; }
.socials a { display: grid; place-items: center; }
.socials svg { width: 20px; height: 20px; fill: var(--ink); }

.foot-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-70);
}
.pay-icons { display: flex; gap: 6px; margin-top: 18px; }
.pay-icons span {
  width: 38px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  color: var(--ink-70);
  letter-spacing: 0.02em;
}
.copyright { font-size: 11px; color: var(--ink-55); margin: 18px 0 26px; }

/* ---------------- Cart drawer ---------------- */
.cart-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
}
.cart-layer.is-open { visibility: visible; }
.cart-layer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cart-layer.is-open .cart-layer__scrim { opacity: 1; }
.cart-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(92vw, 420px);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: var(--shadow-block);
}
[dir="rtl"] .cart-panel { transform: translateX(-100%); }
.cart-layer.is-open .cart-panel { transform: translateX(0); }
.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.cart-panel__head h3 { font-size: 18px; font-weight: 700; }
.cart-panel__close {
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cart-panel__close svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.cart-lines { flex: 1; overflow-y: auto; padding: 4px 18px; }
.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line__img {
  width: 76px;
  height: 76px;
  border-radius: var(--r-card);
  background: #fafafa;
  overflow: hidden;
}
.cart-line__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-line__name { font-size: 14px; font-weight: 700; line-height: 1.4; margin: 0; }
.cart-line__meta { font-size: 12px; color: var(--ink-70); margin: 2px 0 0; }
.cart-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.cart-line__price { font-size: 14px; font-weight: 700; }
.cart-line__remove {
  border: 0;
  background: none;
  font-size: 12px;
  color: var(--ink-55);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.qty--sm { height: 34px; }
.qty--sm button { width: 32px; font-size: 15px; }
.qty--sm input { width: 28px; font-size: 13px; }

.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty p { font-size: 14px; color: var(--ink-70); margin: 0 0 18px; }
.cart-panel__foot {
  border-top: 1px solid var(--line);
  padding: 16px 18px 20px;
  background: #fff;
}
.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cart-ship-note { font-size: 12px; color: var(--ink-70); margin: 0 0 12px; }

/* ---------------- Sticky product bar ---------------- */
.buybar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 12px;
}
.buybar.is-on { display: flex; }
body[data-page="product"] { padding-bottom: 86px; }
@media (min-width: 900px) { body[data-page="product"] { padding-bottom: 0; } }
.buybar__name { font-size: 13px; font-weight: 700; flex: 1; line-height: 1.3; }
.buybar__price { font-size: 13px; color: var(--red); font-weight: 700; }
.buybar .btn { height: 46px; padding: 0 22px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 24px;
  margin: auto;
  width: max-content;
  max-width: 90vw;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  z-index: 120;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translateY(0); }

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(255, 255, 255, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-on { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ---------------- Desktop ---------------- */
@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 76px; }
  .annbar { height: 44px; }
  .annbar__track { font-size: 13px; }
  body[data-page="home"] .site-header { top: 44px; }
  .logo-word { font-size: 20px; }
  .hero { aspect-ratio: 16 / 7; max-height: 640px; }
  .hero__title { font-size: 64px; }
  .hero__eyebrow { font-size: 18px; }
  .hero__actions { flex-direction: row; width: auto; }
  .section { padding-block: 52px; }
  .section__title { font-size: 40px; }
  .cat-grid { grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .cat-card__label { font-size: 14px; top: 14px; inset-inline-start: 14px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 30px 12px; }
  .card__name { font-size: 15px; }
  .page-head h1 { font-size: 34px; }
  .pdp__wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
  .pdp__title { font-size: 34px; }
  .buybar { display: none !important; }
  .site-footer { padding-top: 46px; }
  .foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
}

.more-wrap { text-align: center; padding: 26px 0 8px; }
.more-btn { background: #fff; }

/* ============================================================
   Fidelity pass: green announcement bar, menu drawer, language
   button, search page, add-to-cart feedback, motion.
   ============================================================ */

/* announcement bar — his olive with the logo cream */
.annbar { background: var(--olive); border-bottom: 0; }
.annbar__track { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--cream); animation-duration: 28s; }
.annbar__track a { color: var(--cream); }
.annbar__track span::after { background: var(--cream); opacity: 0.85; }

/* header + button motion, as measured on the reference */
.site-header { transition: color 0.25s, background 0.25s; }
.btn { transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
.btn--yellow:hover { background: var(--olive-deep); }
.btn:hover { box-shadow: 0 4px 14px rgba(26, 26, 26, 0.12); }

/* language button */
.lang-btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: inherit;
  opacity: 0.9;
}
.lang-btn:hover { opacity: 1; }

/* badge pop when a product is added */
@keyframes badgePop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.cart-count.pop { animation: badgePop 0.35s ease; }

/* quick add: plus turns into a tick, no drawer */
.quick-add .ico-check { display: none; }
.quick-add.is-added { background: var(--olive); }
.quick-add.is-added .ico-plus { display: none; }
.quick-add.is-added .ico-check { display: block; }
.quick-add.is-added svg { stroke: var(--cream); }
.quick-add svg { transition: opacity 0.15s ease; }
.btn.is-added { background: var(--olive-deep); color: var(--cream); }

/* menu drawer */
.menu-layer { position: fixed; inset: 0; z-index: 110; visibility: hidden; }
.menu-layer.is-open { visibility: visible; }
.menu-layer__scrim {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity 0.25s ease;
}
.menu-layer.is-open .menu-layer__scrim { opacity: 1; }
.menu-panel {
  position: absolute; inset-inline: 0; bottom: 0;
  height: 50vh; max-height: 50vh;
  background: #fff; display: flex; flex-direction: column;
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.menu-layer.is-open .menu-panel { transform: translateY(0); }
@media (min-width: 900px) {
  .menu-panel {
    inset-inline: auto; inset-inline-start: 0; top: 0; bottom: 0;
    width: min(86vw, 380px); max-height: none; border-radius: 0;
    transform: translateX(-100%);
  }
  [dir="rtl"] .menu-panel { transform: translateX(100%); }
  .menu-layer.is-open .menu-panel { transform: translateX(0); }
}
.menu-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.menu-panel__close { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.menu-panel__close svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.menu-panel__body { flex: 1; overflow-y: auto; padding: 18px; }
.menu-group { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-55); margin: 0 0 8px; }
.menu-nav { display: grid; gap: 2px; margin-bottom: 22px; }
.menu-link { font-size: 17px; padding: 9px 0; border-bottom: 1px solid rgba(26, 26, 26, 0.06); }
.menu-foot { padding-top: 8px; }
.menu-lang {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill);
  padding: 9px 18px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}

/* offer tiles */
.offer-card {
  background: var(--cream-soft); border-radius: var(--r-card); padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; min-height: 118px;
}
.offer-card strong { font-size: 20px; font-weight: 800; }
.offer-card span { font-size: 12px; color: var(--ink-70); line-height: 1.5; }

/* search */
.search-box {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  border-radius: var(--r-input); height: 52px; padding-inline: 14px; margin-bottom: 8px;
}
.search-box svg { width: 18px; height: 18px; stroke: var(--ink-70); fill: none; stroke-width: 1.7; flex: 0 0 auto; }
.search-box input { flex: 1; border: 0; outline: none; font-family: inherit; font-size: 15px; background: none; }
.search-empty { text-align: center; color: var(--ink-70); font-size: 14px; padding: 40px 0; grid-column: 1 / -1; }

/* page enter */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 0.25s ease both; }
@media (prefers-reduced-motion: reduce) {
  body, .menu-panel, .cart-panel, .annbar__track { animation: none !important; transition: none !important; }
}

/* English cards already carry their own printed label */
[dir="ltr"] .cat-card__label { display: none; }

/* ============================================================
   Bulk-orders carousel (4 slides + dots) — like the reference
   ============================================================ */
.bulk {
  background: var(--green-soft);
  color: #fff;
  padding: 38px 0 20px;
  text-align: center;
}
.bulk__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.bulk__track::-webkit-scrollbar { display: none; }
.bulk__slide { scroll-snap-align: center; padding: 0 24px; }
.bulk__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
}
.bulk__icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.6; }
.bulk__title { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.bulk__text { font-size: 14px; line-height: 1.5; margin: 0 auto; max-width: 36ch; opacity: 0.95; }
.bulk__dots { display: flex; justify-content: center; gap: 14px; margin-top: 20px; }
.bulk__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease;
}
.bulk__dot.is-active { background: #fff; }

/* ============================================================
   Filter and sort: floating pill + drawer
   ============================================================ */
.fpill {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 60px;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}
.fpill__icon { width: 18px; height: 18px; }
.fpill__icon path { stroke: currentColor; fill: none; stroke-width: 1.6; }
.fpill__icon circle { fill: currentColor; stroke: none; }

.cat-tools { display: none; justify-content: flex-end; padding-bottom: 4px; }
.desk-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 0;
}
.desk-sort svg { width: 8px; height: 6px; color: var(--ink-55); }

.facets-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.facets-layer.is-open { visibility: visible; opacity: 1; }
.facets-layer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.facets-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(86vw, 380px);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[dir="rtl"] .facets-panel { transform: translateX(100%); }
.facets-layer.is-open .facets-panel { transform: none; }
.facets-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.facets-panel__head .h5 { margin: 0; font-size: 18px; font-weight: 700; }
.facets-close { background: none; border: 0; padding: 4px; cursor: pointer; }
.facets-close svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.facets-panel__body { flex: 1; overflow-y: auto; padding: 0 20px; }
.facet-row { border-bottom: 1px solid var(--line); padding: 18px 0; }
.facet-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.facet-row summary::-webkit-details-marker { display: none; }
.facet-chev { width: 8px; height: 6px; color: var(--ink-55); transition: transform 0.2s ease; }
.facet-row[open] .facet-chev { transform: rotate(180deg); }
.facet-list { display: grid; gap: 13px; padding-top: 14px; }
.facet-opt { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.facet-opt input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.facet-row--toggle { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; }
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__ui { position: absolute; inset: 0; background: #dcdcdc; border-radius: 60px; transition: background 0.2s ease; }
.switch__ui::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.switch input:checked + .switch__ui { background: var(--ink); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
[dir="rtl"] .switch input:checked + .switch__ui::after { transform: translateX(-18px); }
.facet-price { display: flex; align-items: center; gap: 8px; padding-top: 14px; font-size: 13px; color: var(--ink-70); }
.facet-price input {
  width: 76px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}
.facet-cur { font-size: 13px; color: var(--ink-70); }
.facets-panel__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.facets-apply {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 60px;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
@media (min-width: 900px) {
  .fpill { display: none; }
  .cat-tools { display: flex; }
}

/* close buttons rotate on hover, like the reference drawer */
.menu-panel__close, .facets-close, .cart-panel__close {
  transition: transform 0.2s ease-in-out;
}
.menu-panel__close:hover, .facets-close:hover, .cart-panel__close:hover {
  transform: rotate(90deg);
}

/* free-shipping progress in the cart, like the reference */
.fsb { padding: 0 0 16px; }
.fsb__msg { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.fsb__track { position: relative; height: 6px; border-radius: 60px; background: rgba(26, 26, 26, 0.12); }
.fsb__fill { height: 100%; border-radius: 60px; background: var(--green-soft); transition: width 0.3s ease; }
.fsb__truck { position: absolute; top: -8px; font-size: 15px; line-height: 1; transition: inset-inline-start 0.3s ease; }

/* full-screen search overlay, like the reference */
.search-layer {
  position: fixed; inset: 0; z-index: 95; background: #fff;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.search-layer.is-open { transform: translateY(0); }
.search-layer__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search-layer__ico { width: 20px; height: 20px; flex: none; stroke: var(--ink); fill: none; stroke-width: 1.7; }
#ovSearch { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
#ovSearch::-webkit-search-cancel-button { display: none; }
.search-layer__close { border: 0; background: none; padding: 6px; cursor: pointer; line-height: 0; }
.search-layer__close svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.7; }
.search-layer__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px; }
.search-layer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 8px; }
.search-layer__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .search-layer__body { padding: 26px 40px; }
  .search-layer__grid { grid-template-columns: repeat(4, 1fr); gap: 30px 12px; }
  .search-layer__bar { padding: 16px 40px; }
  .search-layer__foot { padding: 16px 40px; }
}

/* popular searches in the search overlay */
.search-layer__pop { padding: 0 0 18px; }
.search-layer__pop[hidden] { display: none; }
.search-layer__popTitle { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-55); margin: 0 0 12px; }
.search-layer__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pop-chip {
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
  border: 1px solid #e0e0e0; border-radius: 60px; padding: 9px 18px; cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pop-chip:hover { border-color: var(--ink); transform: translateY(-1px); }

/* desktop filter sidebar, like the reference */
.cat-body { display: block; }
.cat-side { display: none; }
@media (min-width: 900px) {
  .cat-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 36px; align-items: start; }
  .cat-side { display: block; position: sticky; top: 88px; }
  .cat-side__group { padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
  .cat-side__group:last-child { border-bottom: 0; }
  .cat-side__title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
  .cat-side .facet-list { gap: 10px; }
  .cat-side .facet-price { flex-wrap: wrap; }
  .cat-side .facet-price input { width: 76px; }
  .cat-side__apply { margin-top: 14px; height: 42px; padding: 0 22px; background: var(--ink); color: #fff; border-radius: 60px; font-size: 13px; }
  .cat-body .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .cat-body { grid-template-columns: 260px minmax(0, 1fr); gap: 44px; }
  .cat-body .grid { grid-template-columns: repeat(4, 1fr); }
}

/* extra sidebar filter groups */
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.side-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.side-link span:last-child { color: var(--ink-55); font-size: 12px; }
.side-link:hover { text-decoration: underline; }
.side-link.is-active { font-weight: 700; }
.facet-opt--check span em { font-style: normal; color: var(--ink-55); font-size: 12px; }
.cat-side .facet-row--toggle { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }


/* ============================================================
   Olive Noir identity pass: accents, focus, selection.
   ============================================================ */
.logo-word { color: var(--olive); }
.menu-link:hover, .foot-links a:hover, .card__name a:hover { color: var(--olive); }
.chip:hover { border-color: var(--olive); }
.pop-chip:hover { border-color: var(--olive); }
.fpill { background: var(--olive); color: var(--cream); }
.cat-side__apply { background: var(--olive); color: var(--cream); }
.cat-side__apply:hover { background: var(--olive-deep); }
.side-link.is-active { color: var(--olive); }
.switch input:checked + .switch__ui { background: var(--olive); }
.facet-opt input:checked + span { color: var(--olive); }
.desk-sort:hover { color: var(--olive); }
.newsletter__go { background: var(--olive); color: var(--cream); }
::selection { background: var(--cream); color: var(--olive-deep); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.annbar :focus-visible, .strip :focus-visible, .btn--yellow:focus-visible, .fpill:focus-visible { outline-color: var(--cream); }
.fsb__fill { background: var(--olive); }
.cart-line__remove { color: var(--ink-70); }
.cart-line__remove:hover { color: var(--olive); }

/* hero: the cream carries the primary action over photography */
.hero .btn--yellow { background: var(--cream); color: var(--olive-deep); }
.hero .btn--yellow:hover { background: #fff; }


/* ---------------- Hero: studio photo, type over its lower edge ---------------- */
.hero.hero--over {
  position: relative;
  display: block;
  aspect-ratio: 390 / 400;
  max-height: 86vh;
  overflow: hidden;
  background: #dfe3d9;
}
.hero.hero--over::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(28, 33, 25, 0.96) 0%,
    rgba(28, 33, 25, 0.95) 12%,
    rgba(28, 33, 25, 0.93) 22%,
    rgba(28, 33, 25, 0.92) 30%,
    rgba(28, 33, 25, 0.78) 35%,
    rgba(28, 33, 25, 0.50) 40%,
    rgba(28, 33, 25, 0.28) 45%,
    rgba(28, 33, 25, 0.12) 50%,
    rgba(28, 33, 25, 0.03) 56%,
    rgba(28, 33, 25, 0) 62%);
}
.hero.hero--over .hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero.hero--over .hero__inner {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  height: auto;
  justify-content: flex-end;
  color: var(--cream);
  padding: 0 16px 18px;
  gap: 6px;
}
.hero.hero--over .hero__eyebrow {
  color: var(--cream);
  text-shadow: none;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}
.hero.hero--over .hero__title {
  color: var(--cream);
  text-shadow: none;
  font-size: 30px;
}
.hero.hero--over .hero__actions {
  flex-direction: row;
  width: auto;
  min-width: 0;
  gap: 10px;
  margin-top: 4px;
}
.hero.hero--over .hero__actions .btn { height: 48px; padding: 0 14px; font-size: 14px; }
.hero.hero--over .btn--yellow { background: var(--cream); color: var(--olive-deep); }
.hero.hero--over .btn--yellow:hover { background: #fff; }
.hero.hero--over .btn--outline {
  color: var(--cream);
  border-color: rgba(230, 219, 197, 0.65);
}

@media (min-width: 941px) {
  .hero.hero--over {
    aspect-ratio: auto;
    height: 74vh;
    min-height: 560px;
    max-height: 700px;
  }
  .hero.hero--over .hero__photo { object-position: center 6%; }
  .hero.hero--over::after {
    background: linear-gradient(to top,
      rgba(28, 33, 25, 0.96) 0%,
      rgba(28, 33, 25, 0.95) 12%,
      rgba(28, 33, 25, 0.93) 22%,
      rgba(28, 33, 25, 0.88) 30%,
      rgba(28, 33, 25, 0.72) 35%,
      rgba(28, 33, 25, 0.50) 40%,
      rgba(28, 33, 25, 0.28) 45%,
      rgba(28, 33, 25, 0.12) 50%,
      rgba(28, 33, 25, 0.03) 56%,
      rgba(28, 33, 25, 0) 62%);
  }
  .hero.hero--over .hero__inner { padding: 0 24px 40px; gap: 10px; }
  .hero.hero--over .hero__eyebrow { font-size: 12px; }
  .hero.hero--over .hero__title { font-size: 58px; }
  .hero.hero--over .hero__actions .btn { height: 54px; padding: 0 18px; }
  .hero.hero--over .hero__actions { min-width: 0; }
}

/* the studio photo is light, so the home header sits above it instead of over it */
body[data-page="home"] .site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  color: var(--ink);
}
body[data-page="home"] .site-header .logo-word { color: var(--ink); }

/* ---------------- checkout step: name, governorate, address ---------------- */
.cart-panel__foot {
  max-height: 78vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -10px 14px -12px rgba(34, 39, 30, 0.35);
}
.co__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin: 0 0 8px;
}
.co__field { display: block; margin: 0 0 8px; }
.co__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-70);
  margin: 0 0 4px;
}
.co__field input,
.co__field select,
.co__field textarea {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.co__field textarea { resize: none; min-height: 56px; }
.co__field input::placeholder,
.co__field textarea::placeholder { color: var(--ink-40, #9a9f95); }
.co__field input:focus,
.co__field select:focus,
.co__field textarea:focus {
  outline: 0;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(70, 81, 61, 0.14);
}
.co__field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346513D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-inline-end: 38px;
  height: 48px;
  text-overflow: ellipsis;
}
[dir="rtl"] .co__field select { background-position: left 12px center; }
.co__field select:invalid,
.co__field select option[value=""] { color: var(--ink-70); }

.co__sum {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.co__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-70);
  padding: 3px 0;
}
.co__row > span:last-child { text-align: end; }
.co__row .co__free { color: var(--olive); font-weight: 700; }
.co__row--total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.co__hint {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-70);
  margin: 8px 0 0;
}
.co__hint.is-warn { color: var(--red); font-weight: 600; }
.co__btn { margin-top: 8px; }
.co__btn.is-off {
  opacity: 0.5;
  filter: grayscale(1);
  cursor: default;
}

/* ---------------- checkout page ---------------- */
.co-page { padding: 16px 0 44px; }
.co-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-70);
  text-decoration: none;
  margin: 0 0 14px;
}
.co-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
[dir="rtl"] .co-back svg { transform: scaleX(-1); }
.co-page__grid { max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
@media (min-width: 860px) {
  .co-page__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; }
}
.co-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.co-card__head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin: 0 0 12px;
}
.coline {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.coline:last-of-type { border-bottom: 0; }
.coline__img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #f6f4ee;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.coline__img img { width: 100%; height: 100%; object-fit: contain; }
.coline__name { font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.coline__qty { font-size: 12.5px; color: var(--ink-70); margin: 0; }
.coline__price { font-size: 14px; font-weight: 700; }
.co-edit {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-70);
  text-decoration: underline;
}
.co-page .co__field input,
.co-page .co__field select { height: 52px; padding: 14px 12px; }
.co-page .co__field textarea { min-height: 78px; }
.co-page .co__row { font-size: 14px; line-height: 1.35; }
.co-page .co__row--total { font-size: 16px; }
.co-page .co__btn {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
[data-page="checkout"] .site-footer { display: none; }

/* ---------- page to page: a short, calm fade ----------
   The page already fades in on load (pageIn). This adds the other half: a tap on
   a link on this site fades the page out before the next one arrives. Both halves
   are CSS, so a browser that cannot animate simply shows the page, and the
   reduced-motion block above switches it off. */
@media (prefers-reduced-motion: no-preference) {
  html { background: var(--bg); }
  body { transition: opacity 140ms ease; }
  html.gs-leaving body { opacity: 0; animation: none; pointer-events: none; }
}
