/* ==========================================================================
   layout.css — page shell, containers, header, footer, grids, drawers
   ========================================================================== */

/* ------------------------------ shell -------------------------------- */

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-main {
  flex: 1 0 auto;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.6);
}

.section--alt {
  background:
    radial-gradient(900px 380px at 100% 0%, rgba(47, 128, 121, 0.07), transparent 60%),
    linear-gradient(180deg, var(--cream-100), var(--bg-alt));
  border-block: 1px solid var(--line-soft);
}

.section--navy {
  background: var(--grad-navy-deep);
  background-color: var(--navy-800);
  color: var(--cream-200);
  --heading: var(--cream-100);
  --text: var(--cream-200);
  --text-soft: var(--cream-300);
  --text-mute: var(--cream-400);
  overflow: hidden;
}

.section--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--texture-weave);
  pointer-events: none;
}

.section--navy::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--grad-gold-glow);
  pointer-events: none;
}

.section--navy > * {
  position: relative;
  z-index: 1;
}

/* Anchors inside navy sections are gold, but real buttons keep their own
   colouring — the old `a` rule out-specified `.btn--primary` and painted the
   gold button text gold-on-gold (1.3:1). Buttons get their own handling. */
.section--navy a:not(.btn) {
  color: var(--gold-300);
}

.section--navy a:not(.btn):hover {
  color: var(--gold-400);
}

.section--navy .btn--primary {
  color: var(--navy-900);
}

.section--navy .btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-900);
  border-color: rgba(255, 255, 255, 0.6);
}

.section--navy .btn--outline {
  color: var(--cream-100);
  border-color: rgba(255, 255, 255, 0.45);
}

.section--navy .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.section--cream {
  background: var(--grad-cream);
  border-block: 1px solid var(--line-soft);
}

/* Gold-tinted band: a warm wash used to break up long cream stretches. */
.section--tint {
  background:
    radial-gradient(760px 340px at 12% 10%, rgba(201, 164, 92, 0.16), transparent 62%),
    radial-gradient(700px 340px at 88% 90%, rgba(47, 128, 121, 0.1), transparent 60%),
    linear-gradient(180deg, #fbf6ea, var(--cream-100));
}

/* Ribbon divider drawn at the top edge of a section. */
.section--ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-ribbon);
  opacity: 0.85;
}

.section-head {
  max-width: 720px;
  margin: 0 auto var(--sp-7);
  text-align: center;
  position: relative;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

/* Small ornament above centred section titles, so headings are not just
   plain text floating over a grid. */
.section-head:not(.section-head--left)::before {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 auto var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--grad-ribbon);
}

.section-head p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-200);
  margin-bottom: var(--sp-3);
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-pill);
  background: rgba(6, 20, 38, 0.82);
  border: 1px solid rgba(232, 211, 164, 0.42);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 auto;
}

.eyebrow--center {
  display: inline-flex;
  text-align: center;
}

.lead {
  font-size: var(--fs-lg);
  color: var(--text-soft);
}

.title-balance {
  text-wrap: balance;
}

/* ---------------------------- announcement ---------------------------- */

.announcement {
  position: relative;
  z-index: calc(var(--z-header) + 5);
  background: var(--grad-navy);
  color: var(--cream-200);
  font-size: var(--fs-xs);
  line-height: 1.4;
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
}

/* Gold hairline under the announcement bar ties it to the header. */
.announcement::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--grad-ribbon);
  opacity: 0.75;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
}

.announcement__message {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
}

.announcement__message span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Single-message bar (no links): centre the copy for the clean, editorial
   look premium beauty brands use at the very top of the page. */
.announcement--centered .announcement__message {
  flex: 1 1 auto;
  justify-content: center;
}

.announcement__links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex: 0 0 auto;
}

.announcement__links a {
  color: var(--gold-300);
  font-weight: 600;
  white-space: nowrap;
}

.announcement__links a:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

.announcement__close {
  background: none;
  border: 0;
  color: var(--cream-300);
  cursor: pointer;
  padding: var(--sp-1);
  line-height: 0;
  border-radius: var(--r-sm);
}

.announcement__close:hover {
  color: var(--gold-300);
}

/* ------------------------------- header ------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(253, 251, 247, 0.86);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

/* Gold-to-teal hairline that only shows once the bar is floating over
   content, so the sticky state reads as a distinct layer. */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--grad-ribbon);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.site-header.is-stuck {
  background: rgba(253, 251, 247, 0.94);
  box-shadow: var(--sh-card-hover);
}

.site-header.is-stuck::after {
  opacity: 0.9;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.site-header__branding {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: 0 0 auto;
  color: var(--heading);
}

.site-header__branding:hover {
  color: var(--heading);
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 22%;
  background: #07231a;
  box-shadow: 0 0 0 2px rgba(201, 164, 92, 0.55), var(--sh-card);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__tag {
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-800);
  font-weight: 600;
}

/* primary nav */
.primary-nav {
  margin-inline: auto;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav__list li {
  margin: 0;
}

.primary-nav__link {
  display: block;
  position: relative;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--r-pill);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.primary-nav__link::after {
  content: '';
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 2px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.primary-nav__link:hover,
.primary-nav__link.is-active {
  color: var(--heading);
  background: rgba(201, 164, 92, 0.12);
}

.primary-nav__link:hover::after,
.primary-nav__link.is-active::after {
  transform: scaleX(1);
}

/* header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 0 0 auto;
}

.header-actions__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--r-pill);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.header-actions__link:hover {
  background: var(--cream-200);
  color: var(--heading);
}

.header-actions__link--partner {
  color: var(--teal-600);
}

.header-actions__link--partner:hover {
  background: var(--success-bg);
  color: var(--teal-600);
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--ink-700);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.icon-btn:hover {
  background: var(--cream-200);
  color: var(--heading);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.6;
}

.icon-btn__badge {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  background: var(--brand);
  border: 2px solid var(--bg);
  border-radius: var(--r-pill);
}

.icon-btn__badge:empty,
.icon-btn__badge[data-count='0'] {
  display: none;
}

.menu-toggle {
  display: none;
}

/* search field inside header (mobile) / modal (desktop) */
.site-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 300px;
}

.site-search input {
  padding-left: 2.4rem;
  background: var(--cream-100);
  border-radius: var(--r-pill);
}

.site-search__icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--ink-400);
  pointer-events: none;
}

.site-search__clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--ink-400);
  cursor: pointer;
  padding: var(--sp-1);
  display: none;
  line-height: 0;
}

.site-search.has-value .site-search__clear {
  display: block;
}

.header-search-wrap {
  display: none;
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 88vw);
  background: var(--surface);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur);
  box-shadow: var(--sh-lg);
}

.drawer.is-open {
  transform: none;
  visibility: visible;
}

.drawer--cart {
  width: min(430px, 92vw);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line-soft);
  flex: 0 0 auto;
}

.drawer__title {
  margin: 0;
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-5);
  -webkit-overflow-scrolling: touch;
}

.drawer__foot {
  flex: 0 0 auto;
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--line-soft);
  background: var(--cream-50);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 38, 0.5);
  backdrop-filter: blur(2px);
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer__nav-list {
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
}

.drawer__nav-list li {
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
}

.drawer__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-1);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-700);
}

.drawer__nav-link.is-active {
  color: var(--brand-dark);
}

.drawer__nav-link svg {
  width: 16px;
  height: 16px;
  color: var(--ink-300);
}

/* ------------------------------- footer ------------------------------- */

.site-footer {
  background: var(--grad-navy-deep);
  background-color: var(--navy-900);
  color: var(--cream-300);
  padding-top: var(--sp-9);
  font-size: var(--fs-sm);
  position: relative;
  overflow: hidden;
}

/* Ribbon across the top of the footer, plus a soft gold glow so the page
   ends on something other than a flat dark rectangle. */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-ribbon);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -220px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--grad-gold-glow);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: var(--cream-300);
}

.site-footer a:hover {
  color: var(--gold-300);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr;
  gap: var(--sp-6) var(--sp-5);
  padding-bottom: var(--sp-7);
}

.footer__col h4 {
  font-size: var(--fs-md);
  color: var(--white);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.02em;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li {
  margin-bottom: var(--sp-2);
}

.footer__about {
  max-width: 34ch;
  color: var(--cream-400);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  color: var(--white);
}

.footer__brand:hover {
  color: var(--white);
}

.footer__brand .brand__name {
  color: var(--white);
}

.footer__brand .brand__tag {
  color: var(--gold-300);
}

.footer__social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250, 246, 239, 0.2);
  border-radius: 50%;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.footer__social a:hover {
  background: rgba(201, 164, 92, 0.18);
  border-color: var(--gold-500);
}

.footer__social svg {
  width: 17px;
  height: 17px;
}

.footer__trust {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--cream-400);
  background: rgba(250, 246, 239, 0.06);
  border: 1px solid rgba(250, 246, 239, 0.12);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin-top: var(--sp-4);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(250, 246, 239, 0.12);
  font-size: var(--fs-xs);
  color: var(--cream-400);
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__legal-links li {
  margin: 0;
}

/* ------------------------- floating UI pieces ------------------------- */

.fab-stack {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: flex-end;
}

.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--sh-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    visibility var(--dur);
  text-decoration: none;
}

.fab svg {
  width: 24px;
  height: 24px;
}

.fab--whatsapp {
  background: #1faa54;
  color: var(--white);
}

.fab--whatsapp:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(31, 170, 84, 0.36);
}

.back-to-top {
  width: 44px;
  height: 44px;
  background: var(--navy-800);
  color: var(--cream-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--navy-600);
  color: var(--white);
  transform: translateY(-2px);
}

/* toast host */
.toast-host {
  position: fixed;
  left: 50%;
  bottom: var(--sp-5);
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--navy-800);
  color: var(--cream-100);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  font-size: var(--fs-sm);
  pointer-events: auto;
  animation: toast-in 0.32s var(--ease-out) both;
}

.toast.is-leaving {
  animation: toast-out 0.26s var(--ease) both;
}

.toast--success {
  background: var(--success);
}
.toast--error {
  background: var(--danger);
}
.toast--warn {
  background: var(--warn);
}
.toast--info {
  background: var(--info);
}

.toast__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.toast__body {
  flex: 1 1 auto;
}

.toast__title {
  font-weight: 600;
  display: block;
}

.toast__text {
  opacity: 0.92;
}

.toast__close {
  background: none;
  border: 0;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  flex: 0 0 auto;
}

.toast__close:hover {
  opacity: 1;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 38, 0.6);
}

.modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: var(--sp-6);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--dur) var(--ease-out);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
}

/* ------------------------- common page grids -------------------------- */

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--wide-left {
  grid-template-columns: 1.2fr 1fr;
}

.split--narrow {
  grid-template-columns: 0.9fr 1.1fr;
}

.split--top {
  align-items: start;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  font-size: var(--fs-xs);
  color: var(--text-mute);
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--ink-400);
}

.breadcrumb a {
  color: var(--text-soft);
}

.page-header {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(201, 164, 92, 0.18), transparent 60%),
    radial-gradient(560px 280px at 5% 100%, rgba(47, 128, 121, 0.12), transparent 62%),
    linear-gradient(180deg, var(--cream-100), var(--bg));
  padding-block: clamp(2rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--grad-ribbon);
  opacity: 0.55;
}

.page-header h1 {
  margin-bottom: var(--sp-2);
}

.page-header p {
  max-width: 68ch;
  color: var(--text-soft);
  margin-bottom: 0;
}

/* Tinted hero used by the partner + about pages. */
.page-hero {
  background: linear-gradient(160deg, var(--teal-600), var(--navy-800) 70%);
  color: var(--cream-50);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
  --text-mute: rgba(255, 255, 255, 0.85);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -60% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.28), transparent 70%);
  pointer-events: none;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero .breadcrumb li + li::before {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero h1 {
  color: #fff;
  max-width: 20ch;
}

.page-hero p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.page-hero--gold {
  background: linear-gradient(160deg, var(--navy-800), var(--teal-600) 75%);
}

/* ---------------------------------------------------------------- *
 * Page banners
 * A banner is artwork supplied in /assets/. The image file is the only
 * thing that changes when a new banner is dropped in: the band centres
 * it, keeps the whole picture visible and stops very wide artwork from
 * being cropped on phones.
 * ---------------------------------------------------------------- */

.page-banner {
  margin: 0;
  overflow: hidden;
  background: var(--cream-100);
  border-bottom: 1px solid var(--line-soft);
}

/* Sized with max-width AND max-height rather than width:100%, so a
   banner is never cropped. Wide artwork spans the full width at its own
   proportion; square or portrait artwork scales down and centres inside
   the band instead of being cut off. */
.page-banner__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(58vh, 520px);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .page-banner__img {
    max-height: 42vh;
  }
}

/* Tighter band used when a banner sits between two content sections
   rather than directly under the page header. */
.page-banner--inline {
  margin-block: var(--sp-7);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}

.page-banner--inline .page-banner__img {
  max-height: min(42vh, 400px);
}

/* --------------------------------------------------------------------
   Page intro — the copy + banner block that sits under a page header.

   Two layouts, one component (see LHComponents.intro):
     .page-intro--stack  copy centred above a full-bleed banner (home, shop)
     .page-intro--split  copy left, banner filling the right column

   Both pin the media box with an aspect-ratio and object-fit:cover, so the
   artwork always fills its slot edge to edge on any screen instead of
   leaving a letterboxed gap.
   -------------------------------------------------------------------- */

.page-intro {
  padding-block: var(--section-y);
  background:
    radial-gradient(820px 360px at 90% 0%, rgba(47, 128, 121, 0.09), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line-soft);
}

.page-intro__grid {
  display: grid;
  gap: var(--sp-8) var(--sp-9);
  align-items: center;
}

/* ---------------------------- stack layout --------------------------- */

.page-intro--stack .page-intro__grid {
  grid-template-columns: minmax(0, 1fr);
}

.page-intro__copy--center {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

.page-intro--stack .page-intro__media {
  /* Each banner keeps its own real proportions (--intro-ratio is set from
     the file's intrinsic size), so the artwork fills the band edge to edge
     with no letterbox and no crop on a desktop screen. */
  width: 100%;
  aspect-ratio: var(--intro-ratio, 2103 / 748);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

/* ---------------------------- split layout --------------------------- */

.page-intro--split .page-intro__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--sp-9);
}

.page-intro--split .page-intro__copy {
  max-width: 54ch;
}

.page-intro--split .page-intro__media {
  width: 100%;
  aspect-ratio: var(--intro-ratio, 4 / 3);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

/* ------------------------------- copy -------------------------------- */

.page-intro__title {
  margin-block: var(--sp-2) var(--sp-3);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, var(--fs-3xl));
  line-height: var(--lh-tight);
  color: var(--heading);
  text-wrap: balance;
}

.page-intro__lead {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
}

/* ----------------------------- media -------------------------------- */

.page-intro__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --------------------------- typewriter ----------------------------- */

.typewriter {
  margin-block: var(--sp-4) 0;
  min-height: 1.9em;
}

.typewriter__line {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  font-weight: 500;
  font-style: italic;
  color: var(--teal-600);
}

/* The typed characters. This element has no box of its own; it exists so
   initTypewriters() has a node to write into, and it must be allowed to wrap
   onto a second line so a long intro does not overflow the band. */
.typewriter__text {
  min-width: 1ch;
}

.typewriter__caret {
  display: inline-block;
  flex: 0 0 auto;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: var(--gold-500);
  transform: translateY(2px);
  animation: typewriter-caret 1s steps(1, end) infinite;
}

.typewriter:not([data-typing]) .typewriter__caret {
  animation: none;
}

@keyframes typewriter-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter__caret {
    animation: none;
  }
}

/* ---------------------------- responsive ---------------------------- */

@media (max-width: 900px) {
  .page-intro--split .page-intro__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-7);
  }

  .page-intro--split .page-intro__copy {
    max-width: none;
  }

  .page-intro--split .page-intro__media {
    aspect-ratio: 16 / 10;
  }

  .page-intro--stack .page-intro__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .page-intro {
    padding-block: var(--sp-8);
  }

  .typewriter__line {
    font-size: var(--fs-lg);
  }

  .page-intro--split .page-intro__media,
  .page-intro--stack .page-intro__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
  }
}

/* Contact page number styling for the WhatsApp channel cards. */
.channel-card__number {
  font-weight: 600;
  color: var(--teal-600);
  font-variant-numeric: tabular-nums;
}

/* sidebar layout used by shop / account / dashboard */
.with-sidebar {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--announce-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.sidebar__panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-card);
  overflow: hidden;
}

/* Gold hairline along the panel top ties it to the card family. */
.sidebar__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0.75;
}

.sidebar__panel h2, .sidebar__panel h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-4);
}

/* toolbars above grids */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line-soft);
}

.toolbar__group {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.toolbar__count {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
