/*
 * Serinity — editorial component layer.
 *
 * Hand-written components for the discovery architecture (Discover Serinity,
 * Shop by…, The Serinity Difference, Shop the Space, guided finders, festival
 * pages, calendar, trust surfaces, packaging, mega-menu).
 *
 * It is NOT a second design system: every colour is a token from
 * assets/css/src/serinity.src.css (:root), the type families are the same four,
 * and buttons/eyebrows/inputs reuse .btn-luxe, .btn-ghost-luxe, .eyebrow and
 * .label-luxe. Component classes are prefixed `s-` so they cannot collide with
 * the compiled utilities, motion.css (`m-`) or premium.css (`p-`).
 *
 * Load order (includes/head.php): serinity.css → motion.css → premium.css →
 * editorial.css → per-page styles.
 *
 * Breakpoints match the utilities: 640 / 768 / 1024 / 1280.
 */

:root {
  --s-display: "Playfair Display", "Cormorant Garamond", serif;
  --s-serif: "Cormorant Garamond", "Playfair Display", serif;
  --s-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --s-ui: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  --s-line: rgba(62, 39, 35, 0.12);
  --s-line-gold: rgba(212, 175, 55, 0.35);
  --s-muted: #7a6a5a;
  --s-ease: cubic-bezier(.2, .8, .2, 1);
  --s-gutter: 24px;
}
@media (min-width: 1024px) { :root { --s-gutter: 40px; } }

/* ------------------------------------------------------------------ *
 * Layout primitives
 * ------------------------------------------------------------------ */

.s-wrap { max-width: 80rem; margin-inline: auto; padding-inline: var(--s-gutter); }
.s-wrap--narrow { max-width: 56rem; }
.s-section { padding-block: 64px; }
@media (min-width: 1024px) { .s-section { padding-block: 104px; } }
.s-section--tint { background: color-mix(in srgb, var(--sandal-soft) 42%, var(--ivory)); border-block: 1px solid var(--s-line); }
.s-section--dark { background: var(--earth); color: var(--ivory); }
.s-section--tight { padding-block: 48px; }

.s-kicker {
  font-family: var(--s-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold);
}
.s-h1 { font-family: var(--s-display); font-weight: 600; color: var(--earth); font-size: clamp(36px, 7vw, 64px); line-height: 1.04; letter-spacing: -.02em; }
.s-h2 { font-family: var(--s-display); font-weight: 600; color: var(--earth); font-size: clamp(30px, 5vw, 48px); line-height: 1.08; letter-spacing: -.015em; }
.s-h3 { font-family: var(--s-display); font-weight: 600; color: var(--earth); font-size: clamp(21px, 2.4vw, 26px); line-height: 1.2; }
.s-h1 em, .s-h2 em, .s-h3 em { font-family: var(--s-serif); font-style: italic; font-weight: 500; color: var(--maroon); }
.s-section--dark .s-h2, .s-section--dark .s-h3 { color: var(--ivory); }
.s-section--dark .s-h2 em { color: var(--gold-soft); }
.s-lede { font-family: var(--s-sans); font-size: 15.5px; line-height: 1.75; color: var(--s-muted); max-width: 36rem; }
.s-section--dark .s-lede { color: rgba(248, 245, 240, .72); }

.s-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.s-head .s-h2 { margin-top: 14px; }
.s-head .s-lede { margin-top: 14px; }
@media (min-width: 768px) {
  .s-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .s-head--center { flex-direction: column; align-items: center; text-align: center; }
}
.s-head--center { align-items: center; text-align: center; }
.s-head--center .s-lede { margin-inline: auto; }

.s-link {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--s-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .3s, color .3s;
}
.s-link:hover { border-color: currentColor; }
.s-section--dark .s-link { color: var(--gold-soft); }

/* ------------------------------------------------------------------ *
 * Hero — one headline, one sentence, one action
 * ------------------------------------------------------------------ */

.s-hero { position: relative; overflow: hidden; background: var(--ivory); }
.s-hero__grid { display: grid; gap: 0; }
.s-hero__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sandal-soft); }
.s-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: s-hero-settle 2.4s var(--s-ease) forwards; }
.s-hero__copy { padding: 36px var(--s-gutter) 48px; }
.s-hero__copy .s-h1 { margin-top: 18px; max-width: 14ch; }
.s-hero__lede { margin-top: 20px; font-family: var(--s-sans); font-size: 16px; line-height: 1.7; color: rgba(62, 39, 35, .76); max-width: 30rem; }
.s-hero__cta { margin-top: 32px; }
.s-hero__equation {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-family: var(--s-ui); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--s-muted);
}
.s-hero__equation span[aria-hidden] { color: var(--gold); }
@media (min-width: 1024px) {
  .s-hero__grid { grid-template-columns: 1fr 1.08fr; min-height: min(88vh, 820px); align-items: stretch; }
  .s-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 64px 72px max(var(--s-gutter), calc((100vw - 80rem) / 2 + var(--s-gutter))); }
  .s-hero__media { aspect-ratio: auto; order: 2; }
}
@keyframes s-hero-settle { to { transform: scale(1); } }

/* ------------------------------------------------------------------ *
 * Discover Serinity — four entry points
 * ------------------------------------------------------------------ */

.s-discover { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.s-entry {
  position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--earth);
  color: var(--ivory); text-decoration: none; aspect-ratio: 3 / 4; isolation: isolate;
}
.s-entry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.2s var(--s-ease), opacity .6s; z-index: -2; }
.s-entry::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(62,39,35,0) 35%, rgba(42,24,20,.82) 100%); }
.s-entry:hover img, .s-entry:focus-visible img { transform: scale(1.05); opacity: .9; }
.s-entry__copy { position: absolute; inset: auto 0 0 0; padding: 18px 16px 18px; }
.s-entry__index { font-family: var(--s-serif); font-style: italic; font-size: 15px; color: var(--gold-soft); }
.s-entry__index, .s-entry__title, .s-entry__go { display: block; }
.s-entry__go { display: inline-flex; }
.s-entry__title { margin-top: 4px; font-family: var(--s-display); font-size: clamp(19px, 2.4vw, 28px); line-height: 1.12; }
.s-entry__desc { margin-top: 6px; font-family: var(--s-sans); font-size: 12.5px; line-height: 1.5; color: rgba(248, 245, 240, .78); display: none; }
.s-entry__go { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--s-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
@media (min-width: 768px) {
  .s-entry__copy { padding: 26px 24px; }
  .s-entry__desc { display: block; }
}
@media (min-width: 1024px) {
  .s-discover { grid-template-columns: 1.25fr 1fr 1fr 1.25fr; align-items: end; gap: 18px; }
  .s-entry:nth-child(1), .s-entry:nth-child(4) { aspect-ratio: 3 / 4.3; }
  .s-entry:nth-child(2), .s-entry:nth-child(3) { aspect-ratio: 3 / 3.7; }
}

/* ------------------------------------------------------------------ *
 * Shop by… — deity strip + facet columns
 * ------------------------------------------------------------------ */

.s-deities { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--s-gutter) * -1); padding-inline: var(--s-gutter); scrollbar-width: thin; }
.s-deity { flex: 0 0 132px; scroll-snap-align: start; text-align: center; text-decoration: none; color: var(--earth); }
.s-deity__img { display: block; aspect-ratio: 1; border-radius: 999px; overflow: hidden; background: var(--sandal-soft); border: 1px solid var(--s-line-gold); transition: border-color .3s, transform .5s var(--s-ease); }
.s-deity__img img { width: 100%; height: 100%; object-fit: cover; }
.s-deity:hover .s-deity__img, .s-deity:focus-visible .s-deity__img { border-color: var(--gold); transform: translateY(-3px); }
.s-deity__name { display: block; margin-top: 12px; font-family: var(--s-display); font-size: 17px; }
.s-deity__count { display: block; margin-top: 2px; font-family: var(--s-ui); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--s-muted); }
@media (min-width: 1024px) { .s-deities { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; gap: 22px; } .s-deity { flex-basis: 140px; } }

.s-ways { margin-top: 48px; display: grid; gap: 28px; grid-template-columns: 1fr; border-top: 1px solid var(--s-line); padding-top: 36px; }
@media (min-width: 640px) { .s-ways { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .s-ways { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.s-way__title { font-family: var(--s-ui); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--earth); }
.s-way ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.s-way a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-family: var(--s-sans); font-size: 14.5px; color: rgba(62, 39, 35, .85); text-decoration: none; border-bottom: 1px solid transparent; transition: color .25s; }
.s-way a:hover { color: var(--maroon); }
.s-way a small { font-family: var(--s-ui); font-size: 11px; color: var(--s-muted); }
.s-way a.is-empty small { font-style: italic; letter-spacing: 0; }

/* ------------------------------------------------------------------ *
 * The Serinity Difference — six pillars
 * ------------------------------------------------------------------ */

.s-pillars { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(248, 245, 240, .14); }
@media (min-width: 640px) { .s-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .s-pillars { grid-template-columns: repeat(3, 1fr); } }
.s-pillar { padding: 26px 0; border-bottom: 1px solid rgba(248, 245, 240, .14); }
@media (min-width: 640px) { .s-pillar { padding: 32px 28px 32px 0; } }
.s-pillar__n { font-family: var(--s-serif); font-style: italic; font-size: 30px; color: var(--gold-soft); line-height: 1; }
.s-pillar__t { margin-top: 14px; font-family: var(--s-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); }
.s-pillar__q { margin-top: 8px; font-family: var(--s-sans); font-size: 14px; line-height: 1.65; color: rgba(248, 245, 240, .68); }

/* Full page blocks */
.s-block { display: grid; gap: 28px; padding-block: 48px; border-top: 1px solid var(--s-line); }
@media (min-width: 1024px) { .s-block { grid-template-columns: 4fr 7fr; gap: 72px; padding-block: 72px; } }
.s-block__body { font-family: var(--s-sans); font-size: 15.5px; line-height: 1.85; color: rgba(62, 39, 35, .82); }
.s-block__body p + p { margin-top: 1em; }
.s-block__body ul { margin-top: 1em; padding-left: 1.2em; list-style: disc; }
.s-block__body li + li { margin-top: .4em; }
.s-block__img { margin-top: 28px; border-radius: 4px; overflow: hidden; }
.s-evidence { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.s-evidence__label { width: 100%; font-family: var(--s-ui); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--s-muted); }
.s-pending {
  border: 1px dashed var(--s-line-gold); background: color-mix(in srgb, var(--sandal-soft) 30%, transparent);
  border-radius: 6px; padding: 18px 20px; font-family: var(--s-sans); font-size: 14px; line-height: 1.65; color: var(--s-muted);
}
.s-pending strong { color: var(--earth); font-weight: 600; }
.s-admin-note {
  margin-top: 12px; border-left: 3px solid var(--maroon); background: #fff; padding: 12px 16px;
  font-family: var(--s-sans); font-size: 13px; line-height: 1.6; color: var(--earth);
}
.s-admin-note b { font-family: var(--s-ui); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); display: block; margin-bottom: 4px; }

/* ------------------------------------------------------------------ *
 * Shop the Space
 * ------------------------------------------------------------------ */

.s-scene { display: grid; gap: 28px; }
@media (min-width: 1024px) { .s-scene { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; } }
.s-scene__stage { position: relative; overflow: hidden; border-radius: 4px; background: var(--sandal-soft); aspect-ratio: 4 / 3.2; }
.s-scene__stage img { width: 100%; height: 100%; object-fit: cover; }
.s-hotspot {
  position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 999px; border: 0;
  background: rgba(248, 245, 240, .92); color: var(--maroon); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 0 0 6px rgba(248, 245, 240, .28); transition: transform .3s var(--s-ease), box-shadow .3s;
}
.s-hotspot:hover, .s-hotspot:focus-visible, .s-hotspot[aria-expanded="true"] { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 9px rgba(248, 245, 240, .34); }
.s-hotspot__card {
  position: absolute; z-index: 3; min-width: 200px; max-width: 240px; background: var(--ivory); border: 1px solid var(--s-line-gold);
  border-radius: 6px; padding: 12px 14px; box-shadow: 0 24px 40px -24px rgba(62,39,35,.45); text-decoration: none; color: var(--earth);
  transform: translate(-50%, 24px);
}
.s-hotspot__card[hidden] { display: none; }
.s-scene__list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--s-line); }
.s-scene__item a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--s-line); text-decoration: none; color: var(--earth); }
.s-scene__thumb { width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: var(--sandal-soft); }
.s-scene__thumb img { width: 100%; height: 100%; object-fit: cover; }
.s-scene__name { font-family: var(--s-display); font-size: 16px; line-height: 1.25; }
.s-scene__item a:hover .s-scene__name { color: var(--maroon); }
.s-scene__price { font-family: var(--s-ui); font-size: 13px; font-weight: 600; color: var(--maroon); }
.s-scene__n { font-family: var(--s-ui); font-size: 10px; font-weight: 700; color: var(--gold); margin-right: 6px; }

/* ------------------------------------------------------------------ *
 * The Edit — asymmetric curated products
 * ------------------------------------------------------------------ */

.s-edit { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) {
  .s-edit { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .s-edit > :first-child { grid-column: span 2; grid-row: span 2; }
  .s-edit > :first-child .aspect-\[4\/5\] { aspect-ratio: 4 / 4.6; }
}

/* ------------------------------------------------------------------ *
 * Gifting teaser
 * ------------------------------------------------------------------ */

.s-gift { display: grid; gap: 36px; }
@media (min-width: 1024px) { .s-gift { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; } }
.s-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .s-choices { grid-template-columns: repeat(3, 1fr); } }
.s-choice {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 104px; padding: 16px 18px;
  border: 1px solid var(--s-line); border-radius: 4px; background: var(--ivory); color: var(--earth); text-decoration: none;
  transition: border-color .3s, background .3s, transform .4s var(--s-ease);
}
.s-choice:hover, .s-choice:focus-visible { border-color: var(--gold); background: #fff; transform: translateY(-2px); }
.s-choice__label { font-family: var(--s-display); font-size: 19px; line-height: 1.2; }
.s-choice__hint { font-family: var(--s-sans); font-size: 12.5px; line-height: 1.5; color: var(--s-muted); }
.s-choice__go { align-self: flex-end; color: var(--maroon); }
.s-choice.is-selected { border-color: var(--maroon); background: #fff; box-shadow: inset 0 0 0 1px var(--maroon); }

/* ------------------------------------------------------------------ *
 * Rituals editorial cards
 * ------------------------------------------------------------------ */

.s-rituals { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .s-rituals { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 1024px) { .s-rituals.has-lead { grid-template-columns: 1.6fr 1fr 1fr; } }
.s-ritual__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--sandal-soft); }
.s-ritual__media img { transition: transform 1s var(--s-ease); }
.s-ritual:hover .s-ritual__media img { transform: scale(1.04); }
.s-ritual.is-lead .s-ritual__media { aspect-ratio: 4 / 3; }
.s-ritual__copy { padding-top: 18px; }
.s-ritual__meta { font-family: var(--s-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.s-ritual__title { margin-top: 10px; font-family: var(--s-display); font-size: 21px; line-height: 1.25; color: var(--earth); }
.s-ritual.is-lead .s-ritual__title { font-size: clamp(22px, 2.6vw, 30px); }
.s-ritual__title a { color: inherit; text-decoration: none; }
.s-ritual__title a:hover { color: var(--maroon); }
.s-ritual__excerpt { margin-top: 10px; font-family: var(--s-sans); font-size: 14px; line-height: 1.7; color: var(--s-muted); }

/* ------------------------------------------------------------------ *
 * The Serinity Calendar
 * ------------------------------------------------------------------ */

.s-cal { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--s-line); }
.s-cal__row a {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 20px 0;
  border-bottom: 1px solid var(--s-line); text-decoration: none; color: var(--earth); transition: background .3s;
}
.s-cal__row a:hover { background: color-mix(in srgb, var(--sandal-soft) 30%, transparent); }
.s-cal__date { text-align: center; line-height: 1; }
.s-cal__day { display: block; font-family: var(--s-display); font-size: 34px; color: var(--maroon); }
.s-cal__mon { display: block; margin-top: 6px; font-family: var(--s-ui); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--s-muted); }
.s-cal__name { font-family: var(--s-display); font-size: clamp(19px, 2.4vw, 26px); line-height: 1.2; }
.s-cal__sum { margin-top: 4px; font-family: var(--s-sans); font-size: 13.5px; line-height: 1.55; color: var(--s-muted); }
.s-cal__when { font-family: var(--s-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 639px) { .s-cal__when { display: none; } .s-cal__row a { grid-template-columns: 56px 1fr 16px; } }
@media (min-width: 1024px) { .s-cal__row a { grid-template-columns: 96px 1fr 200px; padding: 26px 12px; } }
.s-cal__tbc .s-cal__day { font-size: 22px; color: var(--s-muted); }

/* ------------------------------------------------------------------ *
 * Trust surfaces
 * ------------------------------------------------------------------ */

/* Wrapping rows rather than a fixed grid: 6 or 7 links (WhatsApp is
   optional) fill every row instead of leaving empty cells. */
.s-trust { display: flex; flex-wrap: wrap; gap: 1px; background: var(--s-line); border: 1px solid var(--s-line); }
.s-trust a { flex: 1 1 100%; }
@media (min-width: 640px) { .s-trust a { flex-basis: calc(50% - 1px); } }
@media (min-width: 1024px) { .s-trust a { flex-basis: 260px; } }
.s-trust a { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; background: var(--ivory); color: var(--earth); text-decoration: none; transition: background .3s; }
.s-trust a:hover { background: #fff; }
.s-trust__icon { flex: 0 0 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--s-line-gold); color: var(--maroon); }
.s-trust__label { display: block; font-family: var(--s-display); font-size: 16px; }
.s-trust__copy { display: block; margin-top: 3px; font-family: var(--s-sans); font-size: 12.5px; line-height: 1.55; color: var(--s-muted); }

.s-trust-panel { margin-top: 36px; border: 1px solid var(--s-line-gold); background: color-mix(in srgb, var(--sandal-soft) 38%, var(--ivory)); border-radius: 14px; padding: 22px 22px 18px; }
.s-trust-panel__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.s-trust-panel__list li { display: flex; gap: 12px; align-items: flex-start; }
.s-trust-panel__icon { color: var(--maroon); margin-top: 2px; }
.s-trust-panel__label { display: block; font-family: var(--s-ui); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--earth); text-decoration: none; }
.s-trust-panel__label:hover { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.s-trust-panel__copy { display: block; margin-top: 2px; font-family: var(--s-sans); font-size: 12.5px; line-height: 1.55; color: var(--s-muted); }
.s-trust-panel__help { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--s-line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-family: var(--s-sans); font-size: 12.5px; color: var(--s-muted); }
.s-trust-panel__help a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-family: var(--s-ui); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); text-decoration: none; }

/* Customer proof — placements that stay empty until there is real content */
.s-proof { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .s-proof { grid-template-columns: repeat(3, 1fr); } }
.s-proof figure { margin: 0; padding: 28px; border: 1px solid var(--s-line); border-radius: 6px; background: #fff; }
.s-proof blockquote { margin: 14px 0 0; font-family: var(--s-serif); font-size: 19px; line-height: 1.55; color: var(--earth); }
.s-proof figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--s-line); font-family: var(--s-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--s-muted); }
.s-proof__img { margin-top: 14px; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.s-verified { color: var(--maroon); margin-left: 8px; }

/* ------------------------------------------------------------------ *
 * Packaging selector + discovery tags (product page)
 * ------------------------------------------------------------------ */

.s-pack { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.s-pack__options { display: grid; gap: 10px; }
.s-pack__option { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--s-line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .25s, box-shadow .25s; }
.s-pack__option input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--maroon); flex: none; }
.s-pack__option:has(input:checked) { border-color: var(--maroon); box-shadow: inset 0 0 0 1px var(--maroon); }
.s-pack__option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.s-pack__body { display: grid; gap: 3px; min-width: 0; }
.s-pack__name { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-family: var(--s-ui); font-size: 13px; font-weight: 600; color: var(--earth); }
.s-pack__price { font-weight: 600; color: var(--maroon); }
.s-pack__desc { font-family: var(--s-sans); font-size: 12.5px; line-height: 1.5; color: var(--s-muted); }
.s-pack__note { margin-top: 8px; font-family: var(--s-sans); font-size: 12px; color: var(--s-muted); }
.s-line-pack { display: block; margin-top: 4px; font-family: var(--s-sans); font-size: 12px; color: var(--s-muted); }

.s-tags__list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.s-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 14px; border: 1px solid var(--s-line); border-radius: 999px; font-family: var(--s-ui); font-size: 12px; font-weight: 500; color: var(--earth); text-decoration: none; transition: border-color .25s, color .25s; }
.s-tag:hover { border-color: var(--gold); color: var(--maroon); }
.s-tag__facet { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--s-muted); }

/* ------------------------------------------------------------------ *
 * Guided finders — Find a Gift, Find Your Sacred Piece
 * ------------------------------------------------------------------ */

.s-finder { min-height: 70vh; }
.s-finder__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.s-progress { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.s-progress li { display: flex; align-items: center; gap: 6px; font-family: var(--s-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--s-muted); }
.s-progress li::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--s-line); }
.s-progress li:first-child::before { display: none; }
.s-progress li.is-done, .s-progress li.is-current { color: var(--maroon); }
.s-progress li.is-done::before, .s-progress li.is-current::before { background: var(--maroon); }
.s-progress__label { display: none; }
@media (min-width: 768px) { .s-progress__label { display: inline; } }
.s-progress__dot { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; border: 1px solid currentColor; font-size: 10px; letter-spacing: 0; }
.s-progress li.is-done .s-progress__dot { background: var(--maroon); color: var(--ivory); border-color: var(--maroon); }

.s-finder__q { margin-top: 48px; }
.s-finder__q .s-h2 { max-width: 20ch; }
.s-finder__options { margin-top: 32px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .s-finder__options { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .s-finder__options { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.s-finder__options .s-choice { min-height: 132px; padding: 22px; }
.s-finder__options .s-choice__label { font-size: 22px; }
.s-finder__nav { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.s-finder__summary { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.s-finder__summary a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line-gold); font-family: var(--s-ui); font-size: 12px; color: var(--earth); text-decoration: none; }
.s-finder__summary a:hover { border-color: var(--maroon); color: var(--maroon); }
.s-finder__summary small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--s-muted); }
.s-finder__note { margin-top: 28px; }
.s-finder__results { margin-top: 36px; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .s-finder__results { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

/* ------------------------------------------------------------------ *
 * Page heads + festival page
 * ------------------------------------------------------------------ */

.s-pagehead { padding-block: 56px 40px; border-bottom: 1px solid var(--s-line); background: color-mix(in srgb, var(--sandal-soft) 26%, var(--ivory)); }
@media (min-width: 1024px) { .s-pagehead { padding-block: 88px 64px; } }
.s-pagehead .s-h1 { margin-top: 16px; max-width: 18ch; }
.s-pagehead .s-lede { margin-top: 18px; }

.s-fest-hero { position: relative; overflow: hidden; background: var(--earth); color: var(--ivory); isolation: isolate; }
.s-fest-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -1; }
.s-fest-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(42,24,20,.88), rgba(42,24,20,.35)); }
.s-fest-hero .s-wrap { padding-block: 88px 64px; }
@media (min-width: 1024px) { .s-fest-hero .s-wrap { padding-block: 140px 96px; } }
.s-fest-hero .s-h1 { color: var(--ivory); margin-top: 16px; }
.s-fest-hero .s-lede { color: rgba(248, 245, 240, .78); margin-top: 18px; }
.s-fest-date { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid rgba(232, 207, 131, .5); border-radius: 999px; font-family: var(--s-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.s-fest-toc { position: sticky; top: 72px; z-index: 5; background: rgba(248, 245, 240, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--s-line); }
.s-fest-toc ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.s-fest-toc a { display: block; padding: 14px 0; white-space: nowrap; font-family: var(--s-ui); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--s-muted); text-decoration: none; }
.s-fest-toc a:hover { color: var(--maroon); }
.s-prose { font-family: var(--s-sans); font-size: 16px; line-height: 1.85; color: rgba(62, 39, 35, .84); }
.s-prose p + p, .s-prose ul, .s-prose ol, .s-prose h3 { margin-top: 1em; }
.s-prose h3 { font-family: var(--s-display); font-size: 22px; color: var(--earth); margin-top: 1.6em; }
.s-prose ul { list-style: disc; padding-left: 1.2em; }
.s-prose ol { list-style: decimal; padding-left: 1.2em; }
.s-prose a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.s-split { display: grid; gap: 24px; }
@media (min-width: 1024px) { .s-split { grid-template-columns: 4fr 7fr; gap: 72px; } }

/* ------------------------------------------------------------------ *
 * Mega-menu (Shop) and mobile accordion
 * ------------------------------------------------------------------ */

.s-mega { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 32px; }
.s-mega__col p { font-family: var(--s-ui); font-size: 9.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.s-mega__col ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.s-mega__col a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-family: var(--s-sans); font-size: 13.5px; color: var(--earth); text-decoration: none; transition: color .2s; }
.s-mega__col a:hover, .s-mega__col a:focus-visible { color: var(--maroon); }
.s-mega__col a small { font-family: var(--s-ui); font-size: 10.5px; color: var(--s-muted); }
.s-mega__more { margin-top: 10px; display: inline-block; font-family: var(--s-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); text-decoration: none; }
.s-mega__feature { border-left: 1px solid var(--s-line); padding-left: 28px; display: grid; gap: 16px; align-content: start; }
.s-mega__card { display: block; padding: 16px 18px; border-radius: 12px; background: color-mix(in srgb, var(--sandal-soft) 45%, var(--ivory)); text-decoration: none; color: var(--earth); transition: background .3s; }
.s-mega__card:hover { background: var(--sandal-soft); }
.s-mega__card strong { display: block; font-family: var(--s-display); font-size: 17px; font-weight: 600; }
.s-mega__card span { display: block; margin-top: 4px; font-family: var(--s-sans); font-size: 12.5px; line-height: 1.5; color: var(--s-muted); }

.s-macc { border-top: 1px solid var(--s-line); }
.s-macc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 10px 12px; cursor: pointer; font-family: var(--s-display); font-size: 19px; color: var(--earth); }
.s-macc summary::-webkit-details-marker { display: none; }
.s-macc summary svg { transition: transform .3s; }
.s-macc[open] summary svg { transform: rotate(180deg); }
.s-macc__body { padding: 0 12px 16px; display: grid; gap: 18px; }
.s-macc__group p { font-family: var(--s-ui); font-size: 9.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.s-macc__group div { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.s-macc__group a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--s-line); font-family: var(--s-ui); font-size: 12.5px; color: var(--earth); text-decoration: none; }
.s-macc__group a:hover { border-color: var(--gold); color: var(--maroon); }

/* ------------------------------------------------------------------ *
 * Listing: landing intro + empty curation state
 * ------------------------------------------------------------------ */

.s-curating { margin-top: 32px; padding: 28px; border: 1px dashed var(--s-line-gold); border-radius: 8px; background: #fff; }
.s-curating .s-h3 { font-size: 22px; }
.s-curating p { margin-top: 8px; font-family: var(--s-sans); font-size: 14px; line-height: 1.7; color: var(--s-muted); max-width: 40rem; }
.s-bandchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ------------------------------------------------------------------ *
 * WhatsApp floating action (only rendered when a number is configured)
 * ------------------------------------------------------------------ */

.s-wa {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--earth); color: var(--ivory); text-decoration: none; font-family: var(--s-ui); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 18px 36px -18px rgba(62,39,35,.6);
}
.s-wa:hover { background: var(--maroon); }
@media (max-width: 1023px) { body[data-page="product-details"] .s-wa, body[data-page="checkout"] .s-wa { bottom: calc(84px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
  .s-hero__media img { animation: none; transform: none; }
  .s-entry img, .s-ritual__media img, .s-choice, .s-deity__img { transition: none; }
}

/* ------------------------------------------------------------------ *
 * Announcement bar (moved from homepage.css so it is styled site-wide)
 * ------------------------------------------------------------------ */

.home-announce {
  position: relative;
  z-index: 60;
  width: 100%;
  max-width: 100%;
  height: 2.5rem;
  overflow: hidden;
}

.home-announce[hidden] {
  display: none !important;
}

.home-announce > div {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding-right: 2.5rem;
}

.home-announce .animate-marquee {
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
}

.home-announce__dismiss {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
}

/* ------------------------------------------------------------------ *
 * Narrow phones: four 44px header icons (176px) do not fit beside the
 * centred mark under ~420px, and the cart icon was clipped at 375px.
 * Account moves to the mobile menu (which carries sign-in / account /
 * orders for every visitor); tap targets stay 44px.
 * ------------------------------------------------------------------ */
@media (max-width: 419px) {
  [data-sticky-nav] .p-icon-cluster > .group\/account { display: none; }
}

/* Phones: two short columns instead of one long list. */
@media (max-width: 639px) {
  .s-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .s-way a { font-size: 13.5px; padding: 7px 0; }
  .s-way a.is-empty small { display: none; }
  .s-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .s-pillar { padding: 20px 0; }
  .s-pillar__n { font-size: 24px; }
  .s-pillar__t { font-size: 10.5px; letter-spacing: .18em; }
  .s-pillar__q { font-size: 13px; }
}
@media (max-width: 639px) {
  .s-finder__options .s-choice { min-height: 0; padding: 18px 18px 16px; flex-direction: row; align-items: center; }
  .s-finder__options .s-choice__label { font-size: 20px; }
  .s-finder__q { margin-top: 32px; }
}

/* Touch devices of any width (tablets in landscape included): the card's
   Add to bag must not depend on hover. */
@media (hover: none) {
  .product-card .p-quick-add { opacity: 1 !important; transform: none !important; }
}

/* Search overlay states */
.s-search-state { display: flex; align-items: center; gap: 10px; padding: 18px 0; font-family: var(--s-sans); font-size: 14px; color: var(--s-muted); }
.s-search-spin { width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--s-line); border-top-color: var(--maroon); animation: s-spin .8s linear infinite; }
@keyframes s-spin { to { transform: rotate(360deg); } }
.s-search-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; min-height: 44px; font-family: var(--s-ui); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--maroon); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .s-search-spin { animation: none; } }

/* Headings edited in the CMS carry a bare <em>; give it the brand's italic. */
.font-display em:not([class]), h1 em:not([class]), h2 em:not([class]) {
  font-family: var(--s-serif); font-style: italic; font-weight: 500; color: var(--maroon);
}
.s-section--dark h2 em:not([class]), .h-hero h1 em:not([class]), .h-gift h2 em:not([class]) { color: var(--gold-soft); }

/* Admin preview of unpublished drafts */
.s-preview-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 300;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px;
  background: #1d1311; color: #f8f5f0; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  font-family: var(--s-ui); font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.s-preview-bar b { color: var(--gold-soft); letter-spacing: .18em; text-transform: uppercase; font-size: 10.5px; }
.s-preview-bar a { color: var(--gold-soft); }
.s-on-dark em:not([class]) { color: var(--gold-soft); }
