/* ==========================================================================
   EBDAE · Maison de parfums — design system
   One stylesheet for the whole storefront (product page extras live in ebdae-product.css).
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ivory: #F7F3ED;
  --paper: #FFFFFF;
  --sand: #EFE7DB;
  --sand-deep: #E5D9C7;
  --line: #E4DACB;
  --line-strong: #CDBFA9;
  --ink: #15130F;
  --ink-soft: #2B2721;
  --ink-line: rgba(247, 243, 237, .14);
  --muted: #6B645A;
  --gold: #C6A15B;
  --gold-bright: #E3C27E;
  --gold-deep: #85621A;
  --success: #2F5D50;
  --danger: #9B2C2C;

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-mark: 'Cinzel', 'Cormorant Garamond', Georgia, serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(21, 19, 15, .05), 0 6px 18px -8px rgba(21, 19, 15, .12);
  --shadow-md: 0 24px 48px -24px rgba(21, 19, 15, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Colours read by YouCan's product and checkout components (RGB triplets) */
  --color-foreground: 21, 19, 15;
  --color-background: 247, 243, 237;
  --color-button: 21, 19, 15;
  --color-button-text: 247, 243, 237;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 64px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold-bright); color: var(--ink); }

.site-main { display: block; min-height: 50vh; }
.site-main:focus { outline: none; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 14px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.icon { flex: 0 0 auto; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* 3. Layout ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ebdae-section {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
}
.ebdae-section.space-compact { padding-block: clamp(36px, 5vw, 64px); }
.ebdae-section.space-large { padding-block: clamp(72px, 11vw, 150px); }

.tone-ivory { background: var(--ivory); }
.tone-white { background: var(--paper); }
.tone-sand { background: var(--sand); }
.tone-ink { background: var(--ink); color: var(--ivory); }

/* 4. Typography ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.tone-ink .eyebrow { color: var(--gold-bright); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.section-title--xl { font-size: clamp(40px, 5.6vw, 72px); }
.section-title em {
  font-style: italic;
  color: var(--gold-deep);
}
.tone-ink .section-title em { color: var(--gold-bright); }

.section-lead {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.tone-ink .section-lead { color: rgba(247, 243, 237, .72); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head__text { min-width: 0; }
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center .section-lead { margin-inline: auto; }
.section-head__count {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tone-ink .section-head__count { border-color: var(--ink-line); color: rgba(247, 243, 237, .7); }

.editor-note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .6);
  color: var(--muted);
  font-size: 14px;
}

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--flip { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon--flip { transform: scaleX(-1) translateX(3px); }

.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: var(--ink-soft); color: var(--ivory); }
.btn--outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--ivory); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-bright); color: var(--ink); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn--block { width: 100%; }
.tone-ink .btn--primary { background: var(--ivory); color: var(--ink); }
.tone-ink .btn--outline { border-color: rgba(247, 243, 237, .5); color: var(--ivory); }
.tone-ink .btn--outline:hover { background: var(--ivory); color: var(--ink); }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background-color .2s;
}
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn:hover { background: rgba(21, 19, 15, .06); }

/* 6. Announcement bar ----------------------------------------------------- */
.announce {
  background: var(--ink);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.announce__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 38px;
  padding: 8px var(--gutter);
  text-align: center;
}
.announce__item a { color: inherit; text-decoration: none; }
.announce__item a:hover { color: var(--gold-bright); }
.announce__item--ar {
  font-family: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.announce__sep { color: var(--gold); font-size: 8px; }

@media (max-width: 760px) {
  .announce__track { position: relative; min-height: 36px; padding-block: 6px; }
  .announce__sep { display: none; }
  .js .announce__track[data-rotating] .announce__item {
    position: absolute;
    inset-inline: var(--gutter);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .js .announce__track[data-rotating] .announce__item.is-active { opacity: 1; transform: none; }
  .announce__track:not([data-rotating]) .announce__item:not(:first-child) { display: none; }
}

/* 7. Header ---------------------------------------------------------------- */
.section-header,
body > .ebdae-header-shell {
  position: sticky;
  top: 0;
  z-index: 100;
}
.ebdae-header-shell {
  position: relative;
  isolation: isolate;
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on the shell itself
   would trap the fixed mobile drawer inside the header. */
.ebdae-header-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 243, 237, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow .3s var(--ease);
}
.is-scrolled .ebdae-header-shell::before { box-shadow: 0 10px 30px -22px rgba(21, 19, 15, .55); }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.site-header__left,
.site-header__right { display: flex; align-items: center; gap: 4px; min-width: 0; }
.site-header__right { justify-content: flex-end; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); min-width: 0; }
.site-nav .nav-item { position: relative; display: flex; align-items: center; }
.site-nav .nav-link {
  position: relative;
  padding: 10px 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav .nav-item:hover .nav-link::after,
.site-nav .nav-link:focus-visible::after { transform: scaleX(1); }
.site-nav .has-sub > .nav-link { padding-inline-end: 14px; }
.site-nav .has-sub > .nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 0;
  width: 5px;
  height: 5px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.site-nav .nav-sub {
  position: absolute;
  z-index: 20;
  top: 100%;
  inset-inline-start: -18px;
  display: none;
  min-width: 230px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.site-nav .nav-item:hover .nav-sub,
.site-nav .nav-item:focus-within .nav-sub { display: grid; }
.site-nav .nav-sub a {
  padding: 10px 18px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav .nav-sub a:hover { background: var(--ivory); color: var(--gold-deep); }

/* Logo on the left (used automatically with more than 4 menu links) */
@media (min-width: 1101px) {
  .site-header--left { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; }
  .site-header--left .site-header__left { display: contents; }
  .site-header--left .brand { grid-column: 1; grid-row: 1; }
  .site-header--left .site-nav { grid-column: 2; grid-row: 1; justify-content: center; }
  .site-header--left .site-header__right { grid-column: 3; grid-row: 1; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { width: 27px; height: 44px; object-fit: contain; }
.brand__image { width: auto; height: 44px; object-fit: contain; }
.brand--light { color: var(--ivory); }
.brand--light .brand__mark { width: 33px; height: 54px; }
.wordmark {
  font-family: var(--font-mark);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .34em;
  margin-inline-end: -.34em;
  white-space: nowrap;
}
.wordmark--sm { font-size: 18px; }

.cart-link .cart-count-bubble {
  position: absolute;
  top: 3px;
  inset-inline-end: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.cart-link.is-bumped .cart-count-bubble { animation: ebdae-bump .5s var(--ease); }
@keyframes ebdae-bump { 40% { transform: scale(1.35); } }

/* Mobile drawer (details/summary: works without JavaScript) */
.drawer { display: none; }
.drawer > summary { list-style: none; }
.drawer > summary::-webkit-details-marker { display: none; }
.drawer__panel {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  width: min(88vw, 380px);
  overflow-y: auto;
  background: var(--ivory);
  box-shadow: var(--shadow-md);
  animation: ebdae-drawer-in .35s var(--ease);
}
[dir="rtl"] .drawer__panel { animation-name: ebdae-drawer-in-rtl; }
@keyframes ebdae-drawer-in { from { transform: translateX(-100%); } }
@keyframes ebdae-drawer-in-rtl { from { transform: translateX(100%); } }
.drawer[open] > summary::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(21, 19, 15, .45);
  cursor: default;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: 24px 12px;
  border-bottom: 1px solid var(--line);
}
.drawer__nav { display: grid; padding: 12px 24px; }
.drawer__nav .nav-item { border-bottom: 1px solid var(--line); }
.drawer__nav .nav-link {
  display: block;
  padding: 18px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}
.drawer__nav .nav-sub { display: grid; gap: 2px; margin-top: -6px; padding: 0 0 14px 14px; }
.drawer__nav .nav-sub a { padding: 8px 0; color: var(--muted); font-size: 16px; text-decoration: none; }
.drawer__foot { display: grid; gap: 14px; margin-top: auto; padding: 24px; }
.drawer__note { color: var(--muted); font-size: 13px; text-align: center; }

/* Search panel */
.search-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(21, 19, 15, .45);
  animation: ebdae-fade-down .25s var(--ease);
}
@keyframes ebdae-fade-down { from { opacity: 0; transform: translateY(-6px); } }
.search-panel__inner { padding-block: 22px 30px; }
.search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
}
[dir="rtl"] .search-form { padding: 6px 18px 6px 6px; }
.search-form:focus-within { border-color: var(--ink); }
.search-form__icon { color: var(--muted); }
.search-form__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form__submit {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}
.search-panel__status { margin-top: 14px; color: var(--muted); font-size: 14px; }
.search-panel__results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 10px;
  margin-top: 14px;
}
.search-hit {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-hit:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.search-hit img { width: 64px; height: 80px; object-fit: cover; border-radius: 2px; background: var(--sand); }
.search-hit__name { display: block; font-size: 14px; font-weight: 500; line-height: 1.35; }
.search-hit__price { display: block; margin-top: 4px; color: var(--gold-deep); font-size: 14px; font-weight: 600; }

@media (max-width: 1100px) {
  .site-nav, .icon-btn--desktop { display: none; }
  .drawer { display: block; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header { gap: 8px; }
  .brand { gap: 10px; }
  .brand__mark { width: 22px; height: 36px; }
  .wordmark { font-size: 18px; letter-spacing: .28em; margin-inline-end: -.28em; }
  .search-form__submit { display: none; }
}

/* 8. Hero ------------------------------------------------------------------ */
.ebdae-hero {
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(198, 161, 91, .18), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(229, 217, 199, .7), transparent 60%),
    var(--ivory);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.hero__eyebrow { margin-bottom: 24px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.4vw, 96px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold-deep); }
.hero__text {
  max-width: 500px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__actions .btn { padding: 0 24px; letter-spacing: .16em; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}
.hero__trust .icon { color: var(--gold-deep); }

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
  margin-inline-end: 22px;
}
.hero__arch,
.hero__arch-outline {
  border-radius: 999px 999px 6px 6px;
}
.hero__arch {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}
.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero__arch:hover img { transform: scale(1.03); }
.hero__arch-outline {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  opacity: .8;
}
[dir="rtl"] .hero__arch-outline { inset: 22px 22px -22px -22px; }
.hero__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 40%, var(--paper), var(--sand));
}
.hero__placeholder img { width: 38%; height: auto; object-fit: contain; }

.hero__seal {
  position: absolute;
  z-index: 3;
  top: 9%;
  inset-inline-start: -54px;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-bright);
  box-shadow: var(--shadow-md);
}
.hero__seal-text {
  direction: ltr;
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  animation: ebdae-spin 26s linear infinite;
}
.hero__seal-text text {
  fill: currentColor;
  font-family: var(--font-sans);
  font-size: 8.6px;
  font-weight: 500;
  letter-spacing: .2em;
}
.hero__seal-mark { width: 26px; height: 42px; object-fit: contain; }
@keyframes ebdae-spin { to { transform: rotate(360deg); } }

.hero__card {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  inset-inline-start: -48px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(330px, calc(100% + 24px));
  padding: 14px 16px 14px 20px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s var(--ease);
}
.hero__card:hover { transform: translateY(-3px); }
.hero__card-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.hero__card-label {
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__card-name {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hero__card-price { flex: 0 0 auto; font-size: 15px; font-weight: 600; }
.hero__card-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { justify-self: center; width: min(100% - 40px, 420px); margin-inline: 0; }
}
@media (max-width: 560px) {
  .ebdae-hero { padding-top: 34px; }
  .hero__eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: .2em; }
  .hero__title { font-size: clamp(40px, 11.5vw, 52px); }
  .hero__text { margin-top: 18px; font-size: 15px; }
  .hero__actions { display: grid; margin-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 10px 18px; margin-top: 28px; padding-top: 20px; }
  .hero__trust li { font-size: 12px; }
  .hero__visual { width: min(100% - 34px, 340px); }
  .hero__arch-outline { inset: 14px -14px -14px 14px; }
  [dir="rtl"] .hero__arch-outline { inset: 14px 14px -14px -14px; }
  .hero__seal { top: 6%; inset-inline-start: -26px; width: 92px; height: 92px; }
  .hero__seal-text text { font-size: 9.4px; }
  .hero__seal-mark { width: 18px; height: 30px; }
  .hero__card { inset-inline-start: -16px; bottom: 18px; width: calc(100% + 8px); padding: 10px 12px 10px 14px; gap: 10px; }
  .hero__card-name { font-size: 16px; }
  .hero__card-price { font-size: 14px; }
  .hero__card-arrow { width: 30px; height: 30px; }
}

/* 9. Trust bar ------------------------------------------------------------- */
.ebdae-trust { padding-block: 0; border-block: 1px solid var(--line); }
.ebdae-trust.tone-ink { border-color: transparent; }
.trust__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
}
.trust__item + .trust__item { border-inline-start: 1px solid var(--line); }
.tone-ink .trust__item + .trust__item { border-color: var(--ink-line); }
.trust__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-deep);
}
.tone-ink .trust__icon { border-color: rgba(227, 194, 126, .4); color: var(--gold-bright); }
.trust__copy { display: grid; gap: 2px; min-width: 0; }
.trust__copy strong { font-size: 15px; font-weight: 500; line-height: 1.3; }
.trust__copy span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.tone-ink .trust__copy span { color: rgba(247, 243, 237, .65); }

@media (max-width: 960px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item { padding: 20px 14px; gap: 12px; }
  .trust__item + .trust__item { border-inline-start: 0; }
  .trust__item:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trust__icon { width: 42px; height: 42px; }
  .trust__copy strong { font-size: 14px; }
  .trust__copy span { font-size: 12px; }
}
@media (max-width: 420px) {
  .trust__item { flex-direction: column; align-items: flex-start; }
}

/* 10. Shop intro + sticky tabs -------------------------------------------- */
.ebdae-intro { padding-bottom: clamp(24px, 4vw, 40px); }
.intro__inner { max-width: 760px; text-align: center; }
.intro__inner .section-lead { margin-inline: auto; }

.groupnav {
  position: sticky;
  top: var(--header-live, var(--header-h));
  z-index: 60;
  background: rgba(247, 243, 237, .92);
  border-block: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.groupnav__inner {
  display: flex;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 12px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.groupnav__inner::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip__count {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}
.chip.is-active .chip__count { background: rgba(247, 243, 237, .16); color: var(--ivory); }

/* 11. Product grid + card -------------------------------------------------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cols-m1 .pgrid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .cols-d2 .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .cols-d3 .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-d2 .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
@media (hover: hover) {
  .pcard:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-4px); }
}
.tone-ink .pcard { border-color: transparent; }

.pcard__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.pcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), opacity .6s var(--ease);
}
.pcard__img--alt { opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard__img { transform: scale(1.045); }
  .pcard:hover .pcard__img--alt { opacity: 1; }
}
.pcard__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--paper), var(--sand));
  color: var(--muted);
}
.pcard__placeholder img { width: 22%; height: auto; opacity: .85; }
.pcard.is-soldout .pcard__img { filter: grayscale(.6); opacity: .75; }

.pcard__badges {
  position: absolute;
  z-index: 2;
  top: 12px;
  inset-inline-start: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.badge {
  display: inline-block;
  padding: 7px 10px 6px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}
.badge--gold { background: var(--gold); color: var(--ink); }
.badge--ink { background: var(--ink); color: var(--ivory); }
.badge--light { background: var(--paper); color: var(--ink); }

.pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
}
.pcard__title {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pcard__link { color: inherit; text-decoration: none; }
.pcard__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pcard__meta { color: var(--muted); font-size: 12px; }
.pcard__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 2px;
}
.pcard__amount { font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.pcard__compare { color: var(--muted); font-size: 13px; }

.pcard__actions { position: relative; z-index: 2; margin-top: auto; padding-top: 12px; }
.pcard__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pcard__btn:hover { background: var(--ink); color: var(--ivory); }
.pcard__btn--muted { border-color: var(--line-strong); color: var(--muted); }
.pcard__btn-label--short { display: none; }
.pcard__btn[disabled] { cursor: wait; opacity: .7; }
.pcard__btn.is-loading .icon { animation: ebdae-pulse .9s ease-in-out infinite; }
.pcard__btn.is-added { border-color: var(--success); background: var(--success); color: var(--paper); }
@keyframes ebdae-pulse { 50% { opacity: .25; } }

.pcard--empty { border-style: dashed; background: transparent; }

@media (max-width: 759px) {
  .pcard__body { gap: 4px; padding: 12px 12px 14px; }
  .pcard__title { font-size: 13.5px; }
  .pcard__amount { font-size: 15px; }
  .pcard__compare { font-size: 12px; }
  .pcard__meta { font-size: 11px; }
  .pcard__btn { min-height: 40px; gap: 6px; font-size: 10px; letter-spacing: .14em; }
  .pcard__btn-label--long { display: none; }
  .pcard__btn-label--short { display: inline; }
  .pcard__badges { top: 8px; inset-inline-start: 8px; }
  .badge { padding: 6px 8px 5px; font-size: 9px; letter-spacing: .12em; }
  .cols-m1 .pcard__btn-label--long { display: inline; }
  .cols-m1 .pcard__btn-label--short { display: none; }
  .cols-m1 .pcard__title { font-size: 15px; }
}

/* Small groups (1 to 3 products): title on the left, products on the right */
@media (min-width: 760px) {
  .ebdae-group[data-layout="auto"]:is([data-count="1"], [data-count="2"], [data-count="3"]) .pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .ebdae-group[data-layout="auto"]:is([data-count="1"], [data-count="2"], [data-count="3"]) > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
    align-items: start;
    gap: clamp(40px, 5vw, 80px);
  }
  .ebdae-group[data-layout="auto"]:is([data-count="1"], [data-count="2"], [data-count="3"]) .section-head {
    position: sticky;
    top: calc(var(--header-live, var(--header-h)) + 96px);
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    padding-top: 8px;
  }
  .ebdae-group[data-layout="auto"]:is([data-count="1"], [data-count="2"], [data-count="3"]) .section-head--center { align-items: flex-start; text-align: start; }
  .ebdae-group[data-layout="auto"][data-count="3"] .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ebdae-group[data-layout="auto"][data-count="1"] .pgrid { grid-template-columns: minmax(0, 380px); }
}

.catalogue-status { margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }

/* 12. Story band ----------------------------------------------------------- */
.ebdae-story { overflow: hidden; }
.story__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23C6A15B' stroke-width='1'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 36h8M64 36h8M36 0v8M36 64v8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  opacity: .09;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 25% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 25% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}
.tone-sand .story__pattern,
.tone-ivory .story__pattern { opacity: .16; }
.story__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.story__visual { display: grid; place-items: center; }
.story__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
}
.story__mark::before {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(227, 194, 126, .35);
  border-radius: 50%;
}
.story__mark::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 161, 91, .28), transparent 70%);
}
.story__mark img {
  position: relative;
  z-index: 1;
  width: 44%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45));
}
.story__mark-caption {
  position: absolute;
  bottom: 2%;
  color: var(--gold-bright);
  font-size: 15px;
  letter-spacing: .1em;
  opacity: .8;
}
.story__photo {
  width: min(100%, 480px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 6px 6px;
}
.story__text {
  max-width: 560px;
  margin-top: 20px;
  color: rgba(247, 243, 237, .76);
  font-size: 17px;
  line-height: 1.8;
}
.tone-sand .story__text, .tone-ivory .story__text { color: var(--muted); }
.story__signature {
  margin-top: 26px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
}
.tone-sand .story__signature, .tone-ivory .story__signature { color: var(--gold-deep); }
.story__copy .btn { margin-top: 34px; }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; text-align: center; }
  .story__text { margin-inline: auto; }
  .story__mark { width: min(100%, 300px); }
  .story__copy .eyebrow { justify-content: center; }
}

/* 13. Steps ---------------------------------------------------------------- */
.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.steps__item {
  position: relative;
  padding: 34px clamp(20px, 3vw, 40px) 10px;
}
.steps__item + .steps__item { border-inline-start: 1px solid var(--line); }
.tone-ink .steps__list, .tone-ink .steps__item + .steps__item { border-color: var(--ink-line); }
.steps__number {
  display: block;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 64px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}
.tone-ink .steps__number { color: var(--gold-bright); }
.steps__icon {
  position: absolute;
  top: 40px;
  inset-inline-end: clamp(20px, 3vw, 40px);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
}
.tone-ink .steps__icon { border-color: var(--ink-line); color: var(--ivory); }
.steps__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
}
.steps__text { margin-top: 10px; color: var(--muted); line-height: 1.7; }
.tone-ink .steps__text { color: rgba(247, 243, 237, .7); }
@media (max-width: 760px) {
  .steps__list { grid-template-columns: 1fr; border-top: 0; }
  .steps__item { padding: 26px 0; border-top: 1px solid var(--line); }
  .steps__item + .steps__item { border-inline-start: 0; }
  .steps__icon { top: 30px; inset-inline-end: 0; }
  .steps__number { font-size: 52px; }
  .steps__title { margin-top: 14px; font-size: 25px; }
}

/* 14. FAQ ------------------------------------------------------------------ */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .btn { margin-top: 30px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.faq__answer {
  max-width: 620px;
  padding: 0 0 26px;
  color: var(--muted);
  line-height: 1.75;
  animation: ebdae-fade-down .3s var(--ease);
}
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

/* 15. Contact card --------------------------------------------------------- */
.ebdae-contact { padding-top: 0; }
.ebdae-contact:first-child { padding-top: clamp(56px, 8vw, 112px); }
.contact__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(198, 161, 91, .18), transparent 70%),
    var(--sand);
}
.tone-sand .contact__card { background: var(--paper); }
.contact__mark { width: 66px; height: auto; }
.contact__copy .section-lead { margin-top: 12px; }
.contact__actions { display: grid; justify-items: center; gap: 18px; }
.contact__social { display: flex; gap: 6px; }
.contact__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.contact__social a:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
@media (max-width: 860px) {
  .contact__card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .contact__copy .eyebrow { justify-content: center; }
  .contact__copy .section-lead { margin-inline: auto; }
  .contact__mark { width: 52px; }
}

/* 16. Promo banner --------------------------------------------------------- */
.banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.banner__grid--reverse .banner__media { order: 2; }
.banner__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  border-radius: var(--radius);
  background: var(--sand-deep);
}
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner__placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.banner__placeholder img { width: 30%; height: auto; object-fit: contain; }
.banner__price { margin-top: 22px; font-size: 22px; font-weight: 600; }
.banner__price s { margin-inline-start: 10px; color: var(--muted); font-size: 16px; font-weight: 400; }
.banner__copy .btn { margin-top: 30px; }
@media (max-width: 860px) {
  .banner__grid { grid-template-columns: 1fr; }
  .banner__grid--reverse .banner__media { order: 0; }
  .banner__media { aspect-ratio: 4 / 4.4; }
}

/* 17. Footer --------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 88px) 28px;
  background: var(--ink);
  color: var(--ivory);
}
.footer__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23C6A15B' stroke-width='1'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 36h8M64 36h8M36 0v8M36 64v8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  opacity: .05;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  pointer-events: none;
}
.site-footer .wrap { position: relative; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__text {
  max-width: 360px;
  margin-top: 22px;
  color: rgba(247, 243, 237, .66);
  font-size: 15px;
  line-height: 1.75;
}
.footer__social { display: flex; gap: 6px; margin-top: 24px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  color: var(--ivory);
  transition: border-color .2s, color .2s;
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold-bright); }
.footer__title {
  margin-bottom: 20px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.footer__col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer__col a {
  color: rgba(247, 243, 237, .82);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s;
}
.footer__col a:hover { color: var(--gold-bright); }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact .icon { color: var(--gold); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  color: rgba(247, 243, 237, .5);
  font-size: 13px;
}
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.footer__badges li { display: inline-flex; align-items: center; gap: 8px; }
.footer__badges .icon { color: var(--gold); }
@media (max-width: 960px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* 18. Floating WhatsApp ---------------------------------------------------- */
.wa-float {
  position: fixed;
  z-index: 90;
  bottom: calc(20px + env(safe-area-inset-bottom));
  inset-inline-end: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(227, 194, 126, .55);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(21, 19, 15, .6);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.wa-float .icon { color: var(--gold-bright); }
.wa-float:hover { transform: translateY(-3px); color: var(--ivory); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
@media (max-width: 760px) {
  .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 16px; }
  .wa-float__label { display: none; }
  .template-product .wa-float { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* 19. Toast ---------------------------------------------------------------- */
.yc-alert.ebdae-toast {
  position: fixed;
  z-index: 9999;
  top: calc(var(--header-live, var(--header-h)) + 12px);
  inset-inline-end: 16px;
  bottom: auto;
  left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(400px, calc(100% - 32px));
  min-height: 56px;
  margin: 0;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(227, 194, 126, .35);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
[dir="rtl"] .yc-alert.ebdae-toast { right: auto; }
.yc-alert.ebdae-toast.show { opacity: 1; visibility: visible; transform: none; }
.yc-alert.ebdae-toast.error { border-color: rgba(255, 255, 255, .2); background: var(--danger); }
.yc-alert.ebdae-toast .icon { display: none; width: 20px; height: 20px; color: var(--gold-bright); }
.yc-alert.ebdae-toast.error .icon { color: #fff; }
.yc-alert.ebdae-toast .alert-msg { flex: 1; min-width: 0; color: inherit; font-size: 14px; font-weight: 500; line-height: 1.4; }
.yc-alert.ebdae-toast .toast-action {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(247, 243, 237, .4);
  border-radius: 2px;
  color: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.yc-alert.ebdae-toast .toast-action:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* 20. Cart page ------------------------------------------------------------ */
.cart-page { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 8vw, 110px); }
.cart-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(24px, 4vw, 40px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cart-page__title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); font-weight: 500; line-height: 1; }
.cart-page__subtitle { margin-top: 10px; color: var(--muted); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}
.link-arrow:hover { color: var(--gold-deep); }
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}
.cart-items { display: grid; gap: 12px; }
.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: opacity .2s;
}
.cart-item[aria-busy="true"] { opacity: .55; pointer-events: none; }
.cart-item__image { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 2px; background: var(--sand); }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { min-width: 0; }
.cart-item__name { font-size: 16px; font-weight: 500; line-height: 1.35; }
.cart-item__name a { color: inherit; text-decoration: none; }
.cart-item__name a:hover { color: var(--gold-deep); }
.cart-item__variant { margin-top: 4px; color: var(--muted); font-size: 13px; }
.cart-item__unit { margin-top: 6px; color: var(--muted); font-size: 14px; }
.cart-item__side { display: grid; justify-items: end; gap: 12px; }
.cart-item__total { font-size: 17px; font-weight: 600; white-space: nowrap; }
.cart-item__remove {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.cart-item__remove:hover { background: var(--sand); color: var(--ink); }
.qty {
  display: inline-grid;
  grid-template-columns: 40px 44px 40px;
  align-items: center;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
}
.qty button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.qty button:hover { background: var(--sand); }
.qty input {
  width: 44px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--ivory);
}
.cart-summary__title { margin-bottom: 18px; font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--ink-line);
  color: rgba(247, 243, 237, .72);
  font-size: 15px;
}
.cart-summary__row strong { color: var(--ivory); font-weight: 500; text-align: end; }
.cart-summary__row--free strong { color: var(--gold-bright); }
.cart-summary__row--total { padding-top: 18px; color: var(--ivory); font-size: 17px; }
.cart-summary__row--total strong { font-size: 24px; font-weight: 600; }
.cart-summary .btn { width: 100%; margin-top: 18px; }
.cart-summary__note {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  color: rgba(247, 243, 237, .7);
  font-size: 13px;
}
.cart-summary__note li { display: flex; align-items: center; gap: 10px; }
.cart-summary__note .icon { color: var(--gold-bright); }

.cart-state {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(48px, 8vw, 96px) 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-align: center;
}
.cart-state__mark { width: 44px; height: auto; margin-bottom: 6px; }
.cart-state h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); font-weight: 500; line-height: 1.1; }
.cart-state p { max-width: 440px; color: var(--muted); }
.cart-state .btn { margin-top: 12px; }
.cart-state--loading .spinner {
  width: 34px;
  height: 34px;
  border: 2px solid var(--line);
  border-top-color: var(--gold-deep);
  border-radius: 50%;
  animation: ebdae-spin .8s linear infinite;
}
@media (max-width: 1000px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .cart-item__info { padding-inline-end: 30px; }
  .cart-item__side { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: space-between; align-items: center; }
  .cart-summary { padding: 22px; }
}

/* 21. Search page ---------------------------------------------------------- */
.search-page { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 8vw, 110px); }
.search-page__head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.search-page__head .section-lead { margin-inline: auto; }
.search-page .search-form { max-width: 680px; margin: 28px auto 0; }
.search-page__status { margin: 0 0 22px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 960px) { .search-page .search-form__submit { display: inline-block; } }
@media (max-width: 420px) { .search-page .search-form__submit { padding: 0 14px; } }

/* 22. Simple pages: 404, page, collection, thank you ---------------------- */
.notfound {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-block: clamp(72px, 12vw, 150px);
  text-align: center;
}
.notfound__code {
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: clamp(96px, 16vw, 180px);
  font-style: italic;
  font-weight: 500;
  line-height: .9;
}
.notfound p { max-width: 460px; color: var(--muted); }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

.page-content { padding-block: clamp(40px, 7vw, 88px); }
.page-content__head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.rte { max-width: 760px; margin-inline: auto; color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.rte > * + * { margin-top: 1em; }
.rte h2, .rte h3 { margin-top: 1.6em; font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
.rte h2 { font-size: 34px; }
.rte h3 { font-size: 26px; }
.rte a { color: var(--gold-deep); }
.rte ul, .rte ol { padding-inline-start: 1.3em; }
.rte img { border-radius: var(--radius); }
.rte table { width: 100%; border-collapse: collapse; }
.rte td, .rte th { padding: 10px; border: 1px solid var(--line); }

.thankyou { padding-block: clamp(40px, 7vw, 88px); }
.thankyou__card {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.thankyou__head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.thankyou__check {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-bright);
}
.thankyou__image { width: 96px; height: 96px; object-fit: contain; }
.thankyou__title { font-family: var(--font-display); font-size: clamp(32px, 4.5vw, 48px); font-weight: 500; line-height: 1.08; }
.thankyou__subtitle { color: var(--gold-deep); font-family: var(--font-display); font-size: 22px; font-style: italic; }
.thankyou__text { max-width: 520px; color: var(--muted); line-height: 1.7; }
.thankyou__items { margin-top: 32px; border-top: 1px solid var(--line); }
.thankyou__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.thankyou__item-name { font-weight: 500; }
.thankyou__item-name a { color: inherit; text-decoration: none; }
.thankyou__item-meta { color: var(--muted); font-size: 14px; }
.thankyou__item-total { grid-row: span 2; align-self: center; font-weight: 600; }
.thankyou__summary { margin-top: 20px; }
.thankyou__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: var(--muted); }
.thankyou__row strong { color: var(--ink); font-weight: 500; }
.thankyou__row--total { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 18px; }
.thankyou__row--total strong { font-size: 22px; font-weight: 600; }
.thankyou__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Collections list (/collections) */
.cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.ccard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.ccard:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ccard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ccard:hover .ccard__media img { transform: scale(1.04); }
.ccard__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, var(--paper), var(--sand)); }
.ccard__placeholder img { width: 44px; height: auto; object-fit: contain; }
.ccard__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.ccard__copy { display: grid; gap: 2px; min-width: 0; }
.ccard__name { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.ccard__count { color: var(--muted); font-size: 13px; }
.ccard__arrow { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--ivory); }

/* Upsell page */
.upsell__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}
.upsell__content, .upsell__footer { max-width: none; margin: 0; }
.upsell__content img, .upsell__footer img { width: 100%; height: auto; border-radius: var(--radius); }
.upsell__footer { grid-column: 1; }
.upsell__panel {
  position: sticky;
  top: calc(var(--header-live, var(--header-h)) + 24px);
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.upsell__panel .eyebrow { margin-bottom: 0; }
.upsell__title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.1; }
.upsell__actions { display: grid; gap: 10px; margin-top: 6px; }
.upsell__actions .btn { white-space: normal; text-align: center; line-height: 1.3; }
.upsell__actions .btn[aria-busy="true"] { opacity: .7; cursor: wait; }
.upsell__note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.upsell__note .icon { color: var(--gold-deep); }
@media (max-width: 860px) {
  .upsell__grid { grid-template-columns: 1fr; }
  .upsell__panel { position: static; grid-column: auto; grid-row: auto; }
  .upsell__footer { grid-column: auto; }
}

/* 23. Reveal on scroll (only when JavaScript is running) ------------------ */
.reveal-ready [data-reveal] {
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-ready [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(18px);
}

/* 24. Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal-ready [data-reveal]:not(.is-revealed) { opacity: 1; transform: none; }
  .hero__seal-text { animation: none; }
}
