/* ==========================================================================
   Resin Tales — storefront
   Sea palette from the brand questionnaire, warmed with coral, amber and
   lilac so the pages carry colour the way a poured piece does.
   Layout follows the designer's wireframe: burger · centred logo · basket.
   ========================================================================== */

:root {
  /* sea */
  --deep:      #0b2a33;
  --deep-soft: #17454f;
  --lagoon:    #10707c;
  --lagoon-dk: #0b545e;
  --turquoise: #35a9ac;
  --seafoam:   #9fd6c3;
  --mint:      #e3f3ed;

  /* shore */
  --sand:      #e9d7bb;
  --sand-soft: #f7efe2;
  --shell:     #f5f8f6;
  --paper:     #ffffff;

  /* warmth */
  --coral:     #e2725b;
  --coral-dk:  #c25743;
  --blush:     #fbeae4;
  --amber:     #f0b429;
  --lilac:     #8d7fd3;
  --lilac-soft:#efecfb;

  /* ink */
  --line:      #dfe8e4;
  --line-soft: #edf3f0;
  --muted:     #57706f;
  --danger:    #a8443c;

  --radius:    6px;
  --radius-lg: 14px;
  --shadow-soft: 0 18px 40px -26px rgba(11, 42, 51, .5);
  --shadow-lift: 0 26px 50px -30px rgba(11, 42, 51, .6);
  --wrap: 1180px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .68, .3, 1);
}

/* Arabic gets a face that was drawn for it. */
[dir="rtl"] {
  --font-display: "Cairo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Cairo", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--shell);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--lagoon-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-dk); }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.3; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 40px); margin-inline: auto; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 .8em;
  font-weight: 700;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; }

.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ----------------------------------------------------------- announcement */
.announce {
  background: linear-gradient(90deg, var(--deep), var(--lagoon) 55%, var(--lilac));
  color: #eaf6f1;
  font-size: .82rem;
  letter-spacing: .04em;
  text-align: center;
  padding: 9px 16px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 248, 246, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  transition: padding .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -24px rgba(11,42,51,.6); }
.site-header.is-stuck .site-header__inner { padding: 8px 0; }
.site-header.is-stuck .brand__mark { width: 46px; height: 46px; }
.site-header.is-stuck .brand__name { font-size: 1.05rem; }

.header-left { display: flex; align-items: center; gap: 10px; }
.header-right { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }

/* burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
}
.burger span {
  display: block;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), width .3s var(--ease), background .2s var(--ease);
}
.burger span:nth-child(1) { width: 26px; }
.burger span:nth-child(2) { width: 20px; }
.burger span:nth-child(3) { width: 26px; }
.burger:hover span { width: 26px; background: var(--coral); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* centred logo */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--deep);
  text-align: center;
}
.brand__mark {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--seafoam), var(--turquoise) 55%, var(--lilac));
  color: #fff;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(11,42,51,.12);
  transition: width .25s var(--ease), height .25s var(--ease), transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.brand__tag {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
[dir="rtl"] .brand__tag { letter-spacing: 0; font-size: .68rem; }

/* basket + language */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--deep);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { background: var(--deep); color: #fff; transform: translateY(-2px); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn__count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease);
}
.icon-btn__count.is-bumped { transform: scale(1.4); }

.lang-pill {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--deep);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.lang-pill:hover { background: var(--lilac); border-color: var(--lilac); color: #fff; }

/* ----------------------------------------------------------------- drawer */
.drawer-veil {
  position: fixed;
  inset: 0;
  background: rgba(11, 42, 51, .45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  z-index: 70;
}
.drawer-veil.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(370px, 86vw);
  background: var(--deep);
  color: #d8e8e2;
  padding: 26px 28px 34px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(-102%);
  transition: transform .38s var(--ease);
  overflow-y: auto;
}
[dir="rtl"] .drawer { transform: translateX(102%); }
.drawer.is-open { transform: translateX(0); }

.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer__title { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.drawer__close {
  background: none;
  border: 1px solid rgba(216,232,226,.3);
  color: #d8e8e2;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}
.drawer__close:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

.drawer nav { display: grid; gap: 2px; }
.drawer nav a {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid rgba(216,232,226,.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: color .2s var(--ease);
}
.drawer.is-open nav a { animation: drawer-in .45s var(--ease) forwards; }
.drawer.is-open nav a:nth-child(1) { animation-delay: .06s; }
.drawer.is-open nav a:nth-child(2) { animation-delay: .12s; }
.drawer.is-open nav a:nth-child(3) { animation-delay: .18s; }
.drawer.is-open nav a:nth-child(4) { animation-delay: .24s; }
.drawer.is-open nav a:nth-child(5) { animation-delay: .30s; }
.drawer.is-open nav a:nth-child(6) { animation-delay: .36s; }
.drawer nav a:hover { color: var(--seafoam); }
.drawer nav a .arrow { color: var(--coral); font-size: 1rem; }

@keyframes drawer-in { to { opacity: 1; transform: translateY(0); } }

.drawer__langs { display: flex; gap: 8px; }
.drawer__langs a {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216,232,226,.3);
  color: #d8e8e2;
  text-decoration: none;
  font-size: .9rem;
}
.drawer__langs a.is-active { background: var(--seafoam); color: var(--deep); border-color: var(--seafoam); font-weight: 700; }

.drawer__foot { margin-top: auto; font-size: .9rem; display: grid; gap: 6px; }
.drawer__foot a { color: var(--seafoam); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--deep);
  color: #fff;
  border: 1px solid var(--deep);
  border-radius: 999px;
  padding: 13px 30px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover {
  background: var(--lagoon-dk); border-color: var(--lagoon-dk); color: #fff;
  transform: translateY(-2px); box-shadow: var(--shadow-soft);
}
.btn[disabled], .btn.is-disabled {
  background: var(--line); border-color: var(--line); color: var(--muted);
  cursor: not-allowed; transform: none; box-shadow: none;
}

/* the wireframe's solid rectangle */
.btn--block-shape { border-radius: var(--radius); padding: 15px 34px; }

.btn--accent { background: var(--coral); border-color: var(--coral); }
.btn--accent:hover { background: var(--coral-dk); border-color: var(--coral-dk); }
.btn--ghost { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn--ghost:hover { background: var(--deep); color: #fff; }
.btn--light { background: var(--paper); color: var(--deep); border-color: var(--line); }
.btn--light:hover { background: var(--sand-soft); color: var(--deep); border-color: var(--sand); }
.btn--small { padding: 9px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--pill-lg { padding: 14px 44px; font-size: 1rem; }

/* ------------------------------------------------------------- our story */
.story {
  position: relative;
  overflow: hidden;
  padding: 64px 0 84px;
  background:
    radial-gradient(90% 70% at 8% 0%, rgba(159, 214, 195, .5), transparent 62%),
    radial-gradient(70% 60% at 95% 10%, rgba(141, 127, 211, .26), transparent 60%),
    radial-gradient(60% 50% at 60% 100%, rgba(226, 114, 91, .16), transparent 65%),
    linear-gradient(180deg, var(--shell), var(--sand-soft));
}
.story__title { text-align: center; margin-bottom: 40px; }
.story__title h1 { margin-bottom: .18em; }
.story__rule {
  width: 92px; height: 3px; margin: 0 auto;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--turquoise), var(--coral));
}
.story__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.story__text { font-size: 1.06rem; color: var(--deep-soft); max-width: 54ch; }
.story__text p:last-child { margin-bottom: 0; }

.story__figure { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.circle-frame {
  position: relative;
  width: min(340px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: conic-gradient(from 210deg, var(--seafoam), var(--turquoise), var(--lilac), var(--coral), var(--seafoam));
  box-shadow: var(--shadow-lift);
  animation: float 7s ease-in-out infinite;
}
.circle-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(255,255,255,.4), rgba(255,255,255,0) 46%);
}
.circle-frame img { width: 100%; height: 100%; object-fit: cover; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* -------------------------------------------------------------- sections */
.section { padding: 76px 0; }
.section--tight { padding: 48px 0; }
.section--paper { background: var(--paper); }
.section--mint { background: var(--mint); }
.section--sand { background: var(--sand-soft); }
.section--blush { background: var(--blush); }
.section--lilac { background: var(--lilac-soft); }
.section--deep {
  background:
    radial-gradient(80% 90% at 10% 0%, rgba(53,169,172,.35), transparent 60%),
    radial-gradient(60% 70% at 90% 100%, rgba(141,127,211,.35), transparent 60%),
    var(--deep);
  color: #d8e8e2;
}
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .eyebrow { color: var(--seafoam); }
.section--deep a { color: var(--seafoam); }

.section__head { max-width: 62ch; margin-bottom: 36px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .story__rule { margin-top: 14px; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------------------------------------------------------------- reveal */
/* Content is visible by default. Only when the script has run (and added
   .js-reveal) does it start hidden and animate in — so a JS hiccup can never
   leave the page blank. */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); }
.js-reveal .reveal.is-in { animation: reveal-up .7s var(--ease) forwards; }
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }

/* ------------------------------------------------------ product carousel */
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(216px, 24vw, 270px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.carousel__track > * { scroll-snap-align: start; }
.carousel__track::-webkit-scrollbar { height: 6px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }

.carousel__arrows { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.carousel__arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--deep);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.carousel__arrow:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 36px 26px;
}

/* ---------------------------------------------------------- product card */
/* The picture and the text are two links; the quick-add button is a sibling,
   so nothing interactive is ever nested inside an anchor. */
.card-product-wrap { display: flex; flex-direction: column; }
.card-product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--sand-soft), var(--seafoam));
  box-shadow: 0 12px 28px -24px rgba(11,42,51,.7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card-product__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.card-product-wrap:hover .card-product__media { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card-product-wrap:hover .card-product__media img { transform: scale(1.06); }

.card-product__body {
  padding-top: 14px;
  display: flex; flex-direction: column; gap: 3px;
  text-decoration: none; color: inherit;
}
.card-product__name { font-family: var(--font-display); font-size: 1.06rem; }
.card-product__price { font-weight: 700; color: var(--lagoon-dk); }
.card-product__price del { color: var(--muted); font-weight: 400; margin-inline-end: 8px; }

.card-product__quick {
  position: absolute;
  inset-inline: 10px;
  bottom: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.card-product-wrap:hover .card-product__quick,
.card-product-wrap:focus-within .card-product__quick { opacity: 1; transform: translateY(0); }
.card-product__quick .btn { width: 100%; padding: 10px 16px; font-size: .85rem; }

.tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--deep);
  z-index: 2;
}
.tag--sold { background: var(--deep); color: #fff; }
.tag--sale { background: var(--coral); color: #fff; }
[dir="rtl"] .tag { letter-spacing: 0; }

/* --------------------------------------------------------- custom banner */
.custom-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(70% 80% at 85% 15%, rgba(240,180,41,.3), transparent 60%),
    radial-gradient(70% 90% at 10% 90%, rgba(141,127,211,.3), transparent 60%),
    var(--blush);
}
.custom-banner__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.custom-banner h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.06;
  margin-bottom: .3em;
}
.custom-banner h2 em { font-style: normal; color: var(--coral); }
.custom-banner__lead { font-size: 1.06rem; max-width: 46ch; }
.custom-banner__figure {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--lilac), var(--coral) 60%, var(--amber));
  box-shadow: var(--shadow-lift);
}
.custom-banner__figure img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ categories */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--deep);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover { transform: translateY(-2px); color: var(--deep); }
.chips .chip:nth-child(5n+1):hover { background: var(--mint); border-color: var(--seafoam); }
.chips .chip:nth-child(5n+2):hover { background: var(--blush); border-color: var(--coral); }
.chips .chip:nth-child(5n+3):hover { background: var(--lilac-soft); border-color: var(--lilac); }
.chips .chip:nth-child(5n+4):hover { background: var(--sand-soft); border-color: var(--sand); }
.chips .chip:nth-child(5n+5):hover { background: #fdf3d9; border-color: var(--amber); }
.chip.is-active { background: var(--deep); color: #fff; border-color: var(--deep); }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 0 26px; }
.filters__search { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.filters__search input[type="search"] { margin: 0; width: 190px; }
.filters__search select { margin: 0; width: auto; }

/* ------------------------------------------------------- product details */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 46px 0 24px; }
.gallery__main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--sand-soft), var(--seafoam));
  box-shadow: var(--shadow-soft);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button {
  width: 74px; height: 74px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: none; cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.gallery__thumbs button:hover { transform: translateY(-2px); }
.gallery__thumbs button.is-active { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product__price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--lagoon-dk);
  margin: 6px 0 18px;
}
.product__price del { font-size: 1.05rem; color: var(--muted); margin-inline-end: 10px; }

.specs { border-top: 1px solid var(--line); margin-top: 28px; }
.specs div {
  display: flex; gap: 16px; padding: 11px 0;
  border-bottom: 1px solid var(--line-soft); font-size: .93rem;
}
.specs dt { width: 130px; flex: none; color: var(--muted); }
.specs dd { margin: 0; }

.faq { border-top: 1px solid var(--line); margin: 26px 0 0; }
.faq > div { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.faq dt { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 4px; }
.faq dd { margin: 0; color: var(--muted); }

.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; background: var(--paper);
}
.qty button {
  width: 42px; height: 46px; border: 0; background: none; cursor: pointer;
  font-size: 1.1rem; color: var(--deep);
}
.qty button:hover { background: var(--mint); }
.qty input {
  width: 46px; height: 46px; border: 0; text-align: center;
  font: inherit; background: none; color: var(--deep); -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.stock-note { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.stock-note strong { color: var(--coral-dk); }

/* ----------------------------------------------------------- cart/tables */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: start; padding: 16px 12px;
  border-bottom: 1px solid var(--line); vertical-align: middle;
}
.table th {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
[dir="rtl"] .table th { letter-spacing: 0; }
.table .num { text-align: end; }

.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); }

.summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.summary__row--discount { color: var(--coral-dk); font-weight: 600; }
.summary__row--total {
  border-top: 1px solid var(--line);
  margin-top: 10px; padding-top: 14px;
  font-family: var(--font-display); font-size: 1.3rem;
}

.layout-split { display: grid; grid-template-columns: 1.6fr .9fr; gap: 40px; align-items: start; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 18px; }
.form label { display: block; font-size: .92rem; color: var(--deep); font-weight: 600; }
.form label > span.hint { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 2px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="date"], input[type="search"], input[type="url"],
select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--deep);
  font: inherit;
  font-size: .95rem;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus {
  border-color: var(--turquoise); outline: none; box-shadow: 0 0 0 3px rgba(53,169,172,.2);
}
input[type="file"] { margin-top: 6px; font-size: .9rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { width: auto; margin-top: 5px; }
.required { color: var(--coral); }

.coupon-form { display: flex; gap: 8px; align-items: center; }
.coupon-form input { margin-top: 0; }

/* ---------------------------------------------------------------- notices */
.notice {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: .94rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.notice ul { margin: 0; padding-inline-start: 18px; }
.notice--success { border-color: #b7dbc8; background: #edf7f1; color: #23573f; }
.notice--error { border-color: #eec6bd; background: var(--blush); color: #8a3325; }
.notice--info { border-color: var(--sand); background: var(--sand-soft); color: var(--deep); }

/* ----------------------------------------------------------------- toast */
.toast {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 90;
  background: var(--deep);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  max-width: min(360px, calc(100vw - 44px));
}
.toast.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast a { color: var(--seafoam); font-weight: 600; }

/* -------------------------------------------------------------- instapay */
.instapay {
  border: 1px dashed var(--turquoise);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(159,214,195,.22), rgba(255,255,255,0));
  padding: 26px;
}
.instapay__badge {
  display: inline-block;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: #fff; background: var(--turquoise);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 12px;
}
[dir="rtl"] .instapay__badge { letter-spacing: 0; }
.instapay dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 14px; }
.instapay dt { color: var(--muted); font-size: .88rem; }
.instapay dd { margin: 0; font-weight: 700; }
.copy-btn {
  border: 1px solid var(--line); background: var(--paper); color: var(--deep);
  border-radius: 999px; padding: 3px 12px; font: inherit; font-size: .78rem;
  cursor: pointer; margin-inline-start: 8px;
}
.copy-btn:hover { background: var(--mint); border-color: var(--seafoam); }

/* ------------------------------------------------------------ custom page */
.custom-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  color: #e8f4ef;
  background:
    radial-gradient(80% 120% at 18% 0%, rgba(53,169,172,.45), transparent 60%),
    radial-gradient(60% 90% at 88% 20%, rgba(226,114,91,.4), transparent 60%),
    linear-gradient(180deg, var(--deep), #10404b);
}
.custom-hero h1 { color: #fff; }
.custom-hero__lead { max-width: 54ch; font-size: 1.1rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step { position: relative; padding-top: 32px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 12px; inset-inline-start: 0;
  font-family: var(--font-display);
  font-size: .85rem; letter-spacing: .1em; font-weight: 600;
  color: var(--coral);
}
.step h3 { margin-top: 6px; }
.section--deep .step { border-top-color: rgba(216,232,226,.28); }
.section--deep .step::before { color: var(--amber); }

.custom-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.fieldset-title {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral); margin: 8px 0 0; font-weight: 700;
}
[dir="rtl"] .fieldset-title { letter-spacing: 0; }

.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list li::before { content: "◆"; color: var(--coral); font-size: .8rem; line-height: 1.9; }

/* ----------------------------------------------------------------- quote */
.quote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; max-width: 24ch; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature__dot {
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(140deg, var(--seafoam), var(--turquoise));
}
.feature:nth-child(2) .feature__dot { background: linear-gradient(140deg, var(--sand), var(--amber)); }
.feature:nth-child(3) .feature__dot { background: linear-gradient(140deg, var(--lilac), var(--turquoise)); }
.feature:nth-child(4) .feature__dot { background: linear-gradient(140deg, var(--coral), var(--amber)); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--deep);
  color: #c9ddd6;
  padding: 64px 0 28px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--turquoise), var(--lilac), var(--coral), var(--amber));
}
.site-footer a { color: var(--seafoam); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 14px; font-weight: 700;
}
[dir="rtl"] .site-footer h4 { letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(201,221,214,.18);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: #9ab5ad;
}

/* --------------------------------------------------------------- empties */
.empty {
  text-align: center;
  padding: 66px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .story__grid { grid-template-columns: 1fr; gap: 36px; }
  .story__figure { order: -1; }
  .story__text { max-width: none; }
  .custom-banner__grid { grid-template-columns: 1fr; gap: 32px; }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .layout-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .story { padding: 44px 0 60px; }
  .custom-banner { padding: 58px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filters__search { margin-inline-start: 0; width: 100%; flex-wrap: wrap; }
  .filters__search input[type="search"] { width: 100%; flex: 1 1 100%; }
  .filters__search select { flex: 1 1 auto; }
  .brand__mark { width: 52px; height: 52px; }
  .brand__name { font-size: 1.05rem; }
  .brand__tag { display: none; }
  .lang-pill { padding: 0 11px; }
  .table thead { display: none; }
  .table td { display: block; border: 0; padding: 6px 0; }
  .table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table .num { text-align: start; }
  .specs dt { width: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}


/* ------------------------------------------------------------ honeypot */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ WhatsApp */
.btn--whatsapp { background: #1c9e50; border-color: #1c9e50; color: #fff; }
.btn--whatsapp:hover { background: #157e3f; border-color: #157e3f; color: #fff; }

/* ------------------------------------------------------ category tiles */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
  justify-content: center;
  gap: 22px;
}
.cat-tile { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: inherit; text-align: center; }
.cat-tile__img {
  display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden;
  background: linear-gradient(150deg, var(--seafoam), var(--turquoise) 60%, var(--lilac));
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile:hover .cat-tile__img { transform: translateY(-5px) rotate(-2deg); box-shadow: var(--shadow-lift); }
.cat-tile__name { font-family: var(--font-display); font-size: 1.12rem; margin-top: 10px; color: var(--deep); }

/* ------------------------------------------------------ order tracking */
.track-steps { list-style: none; margin: 26px 0; padding: 0; }
.track-steps li { position: relative; padding-inline-start: 34px; padding-bottom: 22px; color: var(--muted); }
.track-steps li::before {
  content: ""; position: absolute; inset-inline-start: 5px; top: 7px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--line);
}
.track-steps li::after {
  content: ""; position: absolute; inset-inline-start: 11px; top: 23px; bottom: 0;
  width: 2px; background: var(--line);
}
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li:last-child::after { display: none; }
.track-steps li.is-done { color: var(--deep); }
.track-steps li.is-done::before, .track-steps li.is-done::after { background: var(--turquoise); }
.track-steps li.is-current { color: var(--deep); font-weight: 700; }
.track-steps li.is-current::before { background: var(--coral); box-shadow: 0 0 0 5px rgba(226,114,91,.2); }
