/* Page framing and editorial sections */
.page-hero,
.content-hero,
.home-hero,
.shop-hero {
  position: relative;
  display: grid;
  min-height: clamp(27rem, 64vh, 42rem);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.page-hero::before,
.content-hero::before,
.shop-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.9) 52%, rgba(5, 4, 3, 0.54) 100%),
    radial-gradient(circle at 78% 38%, rgba(201, 161, 74, 0.19), transparent 22rem),
    var(--ink-900);
  content: "";
}

.page-hero::after,
.content-hero::after,
.shop-hero::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: max(3vw, calc((100vw - var(--content-width)) / 2));
  width: clamp(14rem, 30vw, 27rem);
  aspect-ratio: 7 / 8;
  transform: translateY(-44%);
  background: url("../images/vlora-hero.webp") center / contain no-repeat;
  content: "";
  filter: saturate(0.75) contrast(1.06);
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 78%, transparent 100%);
}

.page-hero--home,
.home-hero {
  min-height: min(50rem, calc(100svh - var(--header-height)));
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.94) 0%, rgba(5, 4, 3, 0.82) 35%, rgba(5, 4, 3, 0.18) 67%, rgba(5, 4, 3, 0.04) 100%),
    url("../images/mozaikessence-hero.webp") 68% center / cover no-repeat;
}

.page-hero--home::before,
.page-hero--home::after,
.home-hero::before,
.home-hero::after {
  display: none;
}

.page-hero__content,
.hero-content,
.page-hero > .container,
.page-hero > .section-inner,
.content-hero > .section-inner {
  width: min(100% - clamp(2rem, 6vw, 5rem), var(--content-width));
  margin-inline: auto;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.page-hero__content > *,
.hero-content > *,
.page-hero > .section-inner > * {
  max-width: 42rem;
}

.page-hero__content h1,
.hero-content h1,
.page-hero > .section-inner h1 {
  max-width: 12ch;
}

.content-hero .page-hero__content,
.shop-hero .page-hero__content,
.content-hero > .section-inner,
.shop-hero > .section-inner {
  padding-right: min(34vw, 28rem);
}

.page-hero .actions,
.hero-content .actions {
  margin-top: 2rem;
}

.content-hero > .section-inner > p:last-child:not(.eyebrow) {
  max-width: 60ch;
  color: var(--ivory-200);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.section {
  position: relative;
  width: min(100% - clamp(2rem, 6vw, 5rem), var(--content-width));
  margin-inline: auto;
  padding-block: var(--space-section);
  isolation: isolate;
}

.section--compact {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.section--tinted::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-block: 1px solid rgba(201, 161, 74, 0.12);
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 161, 74, 0.07), transparent 22rem),
    rgba(255, 250, 240, 0.018);
  content: "";
}

.section-header {
  display: grid;
  max-width: 50rem;
  gap: 0.4rem;
  margin-bottom: clamp(2rem, 5vw, 3.75rem);
}

.section-header h2,
.section-header p {
  margin-bottom: 0;
}

.section-header > p:last-child:not(.eyebrow) {
  max-width: 60ch;
  color: var(--ivory-400);
  font-size: 1.05rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.split-layout > :last-child {
  color: var(--ivory-400);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-grid .card,
.card-grid > .card {
  min-height: 100%;
}

.card-grid > .card {
  display: grid;
  align-content: start;
}

.card-grid > .card .text-link {
  align-self: end;
  margin-top: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps .card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 14rem;
}

.steps__number {
  margin-bottom: 1.5rem;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.steps h3 {
  color: var(--ivory-50);
}

.steps p {
  margin: 0;
  color: var(--ivory-400);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3.75rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(201, 161, 74, 0.12), transparent 50%),
    var(--ink-850);
  box-shadow: var(--shadow-sm);
}

.contact-panel::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(201, 161, 74, 0.025), 0 0 0 5rem rgba(201, 161, 74, 0.018);
  content: "";
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel h2 {
  max-width: 15ch;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.contact-panel .actions {
  align-content: center;
}

.contact-panel address {
  font-style: normal;
}

.contact-panel address p {
  margin-bottom: 0.85rem;
}

.contact-panel address strong {
  color: var(--gold-300);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Lean home and policy pages */
.home-collections {
  padding-block: clamp(3.25rem, 7vw, 5.75rem);
}

.home-collections__intro {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.home-collections__intro > p:last-child {
  margin-bottom: 0;
}

.home-order-strip {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.home-order-strip h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.home-order-strip__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1.5rem 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
  list-style: none;
}

.home-order-strip__steps li {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem;
  background: var(--ink-850);
}

.home-order-strip__steps strong {
  color: var(--gold-300);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-order-strip__steps span {
  color: var(--ivory-400);
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-order-strip .notice {
  margin-bottom: 0;
}

.legal-heading {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.legal-heading__copy {
  max-width: 52rem;
}

.legal-heading__copy h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
}

.legal-heading__copy .lede {
  margin-bottom: 0;
}

.legal-policies {
  max-width: 62rem;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

/* Private order status */
.order-page {
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}

.order-heading {
  width: min(100% - clamp(2rem, 6vw, 5rem), var(--content-width));
  margin-inline: auto;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.order-heading h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
}

.order-heading .lede {
  max-width: 42rem;
  margin-bottom: 0;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.45fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  width: min(100% - clamp(2rem, 6vw, 5rem), 68rem);
  margin-inline: auto;
  padding-top: clamp(2rem, 5vw, 4rem);
}

.order-private-link {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.order-private-link h2,
.order-private-link p,
.order-private-link label {
  margin: 0;
}

.order-private-link h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
}

.order-private-link input {
  direction: ltr;
  font-size: 0.75rem;
}

.order-private-link .button {
  justify-self: start;
}

.order-copy-status {
  min-height: 1.45em;
  color: var(--success-400);
  font-size: 0.78rem;
}

.order-status-panel {
  min-width: 0;
  min-height: 12rem;
}

.order-loading {
  margin: 0;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ivory-400);
}

.order-status-panel > .notice {
  margin: 0;
}

.order-status-panel > .notice .button {
  margin-top: 0.5rem;
}

.order-details {
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow-sm);
}

.order-details__header {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.order-details__header .eyebrow,
.order-reference {
  margin-bottom: 0;
}

.order-reference {
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 850;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.order-status {
  flex: 0 0 auto;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(201, 161, 74, 0.08);
  color: var(--gold-300);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-status--confirmed,
.order-status--fulfilled {
  border-color: rgba(159, 203, 159, 0.42);
  background: rgba(159, 203, 159, 0.08);
  color: var(--success-400);
}

.order-status--cancelled {
  border-color: rgba(230, 160, 142, 0.42);
  background: rgba(230, 160, 142, 0.08);
  color: var(--danger-400);
}

.order-facts,
.order-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  margin-block: 1.25rem 0;
}

.order-fact {
  min-width: 0;
}

.order-fact dt {
  color: var(--ivory-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.order-fact dd {
  margin: 0.18rem 0 0;
  color: var(--ivory-100);
  overflow-wrap: anywhere;
}

.order-section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.order-section h3 {
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-item-list {
  display: grid;
  gap: 0.55rem;
}

.order-item {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 240, 0.025);
}

.order-item__description,
.order-item__price {
  display: grid;
  gap: 0.08rem;
}

.order-item__description span,
.order-item__price span {
  color: var(--ivory-500);
  font-size: 0.76rem;
}

.order-item__price {
  flex: 0 0 auto;
  align-content: start;
  text-align: right;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
  padding: 1rem;
  border-top: 1px solid var(--line-strong);
}

.order-total span {
  color: var(--ivory-400);
}

.order-total strong {
  color: var(--gold-300);
  font-size: 1.2rem;
}

.order-details > .notice {
  margin-block: 1.5rem 0;
}

.order-details > .actions {
  margin-top: 1.25rem;
}

.policy-list {
  gap: 0.65rem;
}

.policy-list summary {
  display: grid;
  gap: 0.22rem;
  padding-block: 1rem;
}

.policy-list summary .eyebrow {
  margin: 0;
  font-size: 0.62rem;
}

.policy-summary__title {
  max-width: 38ch;
  color: var(--ivory-50);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.2;
}

.policy-detail__body {
  padding-bottom: 0.1rem;
}

.policy-detail__body p,
.policy-detail__body li {
  color: var(--ivory-400);
}

.policy-detail__body h3 {
  margin-top: 1.5rem;
  color: var(--gold-300);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.policy-detail__body li + li {
  margin-top: 0.45rem;
}

.policy-detail__body code {
  padding: 0.1rem 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  background: rgba(5, 4, 3, 0.5);
  color: var(--gold-300);
  font-size: 0.86em;
}

/* Guide and policy content */
body[data-page="guide"] .guide-page {
  background:
    radial-gradient(circle at 82% 22rem, rgba(201, 161, 74, 0.07), transparent 25rem),
    var(--ink-950);
}

body[data-page="guide"] .guide-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(201, 161, 74, 0.09), transparent 44%),
    var(--ink-900);
}

body[data-page="guide"] .guide-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.6fr);
  column-gap: clamp(2.5rem, 8vw, 7rem);
  align-items: end;
  padding-block: clamp(3.25rem, 6vw, 5rem);
}

body[data-page="guide"] .guide-hero h1 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

body[data-page="guide"] .guide-hero .lede {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 55ch;
  margin-bottom: 0;
}

body[data-page="guide"] .guide-section {
  padding-block: clamp(3.25rem, 7vw, 5.75rem);
  border-bottom: 1px solid var(--line);
}

body[data-page="guide"] .guide-section__header {
  max-width: 47rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

body[data-page="guide"] .guide-section__header h2 {
  max-width: 15ch;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

body[data-page="guide"] .guide-section__header > p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--ivory-400);
}

.scent-structure {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(24rem, 1.28fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
}

.scent-structure__intro h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.3vw, 3.8rem);
}

.scent-structure__intro > p:last-child {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--ivory-400);
}

.scent-pyramid {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scent-pyramid__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7rem, 0.5fr) minmax(4rem, 0.3fr) minmax(12rem, 1.2fr);
  gap: 1rem;
  align-items: center;
  min-height: 5.5rem;
  margin-inline: auto;
  padding: 1rem clamp(1rem, 3vw, 1.8rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(201, 161, 74, 0.13), rgba(255, 250, 240, 0.025));
}

.scent-pyramid__stage::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--gold-400);
  content: "";
}

.scent-pyramid__stage--top {
  width: 74%;
  border-color: rgba(234, 212, 154, 0.38);
}

.scent-pyramid__stage--heart {
  width: 87%;
  background: linear-gradient(90deg, rgba(201, 161, 74, 0.11), rgba(255, 250, 240, 0.025));
}

.scent-pyramid__stage--base {
  width: 100%;
  background: linear-gradient(90deg, rgba(159, 118, 48, 0.15), rgba(255, 250, 240, 0.025));
}

.scent-pyramid__time {
  color: var(--ivory-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scent-pyramid__stage strong {
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.scent-pyramid__stage > span:last-child {
  color: var(--ivory-400);
  font-size: 0.87rem;
  line-height: 1.5;
}

body[data-page="guide"] .guide-section--explorer {
  background: rgba(255, 250, 240, 0.018);
}

.note-explorer {
  min-height: 19rem;
}

.note-explorer__fallback {
  max-width: 48rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.note-explorer__fallback h3 {
  color: var(--gold-300);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.note-explorer__fallback p,
.note-explorer__error {
  margin-bottom: 0;
  color: var(--ivory-400);
}

.note-explorer__error {
  max-width: 48rem;
}

.note-explorer__interface {
  display: grid;
  grid-template-columns: minmax(13rem, 0.3fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
}

.note-explorer__control {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-900);
}

.note-explorer__control label {
  color: var(--gold-300);
  line-height: 1.4;
}

.note-profile {
  min-width: 0;
  padding: clamp(1.5rem, 4.5vw, 3rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 5%, rgba(201, 161, 74, 0.12), transparent 16rem),
    var(--ink-850);
  box-shadow: var(--shadow-sm);
}

.note-profile__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.note-profile__family {
  margin-bottom: 0.45rem;
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-profile__header h3 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.note-profile__positions,
.note-profile__moods ul,
.note-profile__pairings > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.note-profile__positions {
  justify-content: flex-end;
}

.note-position,
.note-profile__moods li,
.note-pairing-button {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(5, 4, 3, 0.45);
  color: var(--ivory-400);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.note-position--top {
  border-color: rgba(234, 212, 154, 0.48);
  color: var(--gold-300);
}

.note-position--heart {
  border-color: rgba(201, 161, 74, 0.42);
}

.note-position--base {
  border-color: rgba(159, 118, 48, 0.55);
}

.note-profile__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.note-profile__body p:last-child,
.note-profile__origin p,
.note-profile__catalogue p {
  color: var(--ivory-400);
}

.note-profile__label {
  margin-bottom: 0.45rem;
  color: var(--gold-300);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.note-profile__moods,
.note-profile__pairings,
.note-profile__origin,
.note-profile__catalogue {
  margin-top: 1.75rem;
}

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

.note-profile__moods li {
  color: var(--ivory-200);
}

.note-pairing-button {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--gold-300);
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.note-pairing-button:hover {
  border-color: var(--gold-300);
  background: rgba(201, 161, 74, 0.1);
  color: var(--ivory-50);
}

.note-profile__origin {
  border-block: 1px solid var(--line);
}

.note-profile__origin summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  color: var(--ivory-200);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.note-profile__origin summary::-webkit-details-marker {
  display: none;
}

.note-profile__origin summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--gold-300);
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.note-profile__origin[open] summary::after {
  content: "−";
}

.note-profile__origin p {
  max-width: 65ch;
  padding-bottom: 1rem;
}

.note-profile__catalogue {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.note-profile__catalogue p {
  max-width: 35rem;
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}

.note-explorer__noscript {
  max-width: 48rem;
  margin-top: 1rem;
}

.practical-guide {
  display: grid;
  grid-template-columns: minmax(15rem, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.practical-guide .guide-section__header {
  margin-bottom: 0;
}

.practical-guide__content {
  padding-bottom: 0.2rem;
}

.practical-guide__content p {
  max-width: 68ch;
}

.practical-guide__content strong {
  color: var(--gold-300);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.policy-card {
  padding: clamp(1.35rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.policy-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.policy-card h3 {
  margin-top: 1.75rem;
  color: var(--gold-300);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-card p,
.policy-card li {
  color: var(--ivory-400);
}

.policy-card li + li {
  margin-top: 0.55rem;
}

.policy-card code {
  padding: 0.1rem 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  background: rgba(5, 4, 3, 0.5);
  color: var(--gold-300);
  font-size: 0.86em;
}

.notice h2 {
  margin-bottom: 0.35rem;
  color: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 850;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* Shop */
.shop-page {
  padding-bottom: var(--space-section);
}

.shop-layout,
.shop-shell,
.catalogue,
.section-inner {
  width: min(100% - clamp(2rem, 6vw, 5rem), var(--content-width));
  margin-inline: auto;
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.category-nav,
.filter-chips,
.active-filters,
.category-chips {
  display: flex;
  gap: 0.55rem;
  padding-block: 0.25rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.category-nav {
  margin-bottom: 1.25rem;
}

.category-chips {
  margin-block: 1.25rem 0.25rem;
}

.category-nav button,
.filter-chip,
.active-filter-chip,
.category-chip {
  flex: 0 0 auto;
  min-height: 2.4rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ivory-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.category-nav button:hover,
.category-nav button[aria-pressed="true"],
.category-nav .is-active,
.filter-chip:hover,
.filter-chip[aria-pressed="true"],
.category-chip:hover,
.category-chip[aria-pressed="true"],
.category-chip.is-active {
  border-color: var(--gold-500);
  background: rgba(201, 161, 74, 0.11);
  color: var(--gold-300);
}

.shop-controls,
.filters-panel,
.filter-panel {
  position: relative;
  z-index: 4;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 13, 10, 0.96);
  box-shadow: var(--shadow-sm);
}

.shop-layout.section-inner {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.shop-layout > .shop-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.shop-layout > .shop-toolbar h2 {
  margin: 0;
}

.shop-layout > .shop-toolbar .eyebrow {
  margin-bottom: 0.35rem;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.filter-panel .field-wide {
  grid-column: span 2;
}

.filter-panel .filter-reset {
  align-self: end;
}

.shop-toolbar,
.controls-row {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto minmax(10rem, 0.3fr);
  gap: 0.8rem;
  align-items: end;
}

.search-field {
  position: relative;
}

.search-field input {
  padding-left: 2.7rem;
}

.search-field::before {
  position: absolute;
  z-index: 1;
  bottom: 0.85rem;
  left: 0.9rem;
  color: var(--gold-400);
  content: "⌕";
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
}

.filter-toggle {
  white-space: nowrap;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.filter-field,
.filter-group {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.filter-group legend {
  margin-bottom: 0.4rem;
  color: var(--ivory-200);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.filter-reset {
  align-self: end;
  justify-self: start;
  min-height: 3rem;
  padding: 0.7rem;
  border: 0;
  background: transparent;
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.shop-status,
.catalogue-status,
.filter-results-head {
  display: flex;
  min-height: 4.25rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ivory-400);
  font-size: 0.87rem;
}

.shop-status strong,
.catalogue-status strong,
.filter-results-head strong {
  color: var(--gold-300);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.product-card__media,
.product-image,
.product-card__image,
.product-card-media {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, #fffaf0 0, #eee2cf 55%, #d9cab4 100%);
}

button.product-card-media {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
}

.product-card__media img,
.product-image img,
img.product-card__image,
.product-card-media > img {
  width: 100%;
  height: 100%;
  padding: 0.6rem;
  object-fit: contain;
  transition: transform 400ms ease;
}

.product-card:hover .product-card__media img,
.product-card:hover .product-image img,
.product-card:hover img.product-card__image,
.product-card:hover .product-card-media > img {
  transform: scale(1.035);
}

.product-card .badge,
.product-badge,
.product-card-media .product-badge {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 0.7rem;
}

.product-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 1.7rem;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(5, 4, 3, 0.76);
  color: var(--gold-300);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-card__body,
.product-info,
.product-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 0.55rem;
  min-width: 0;
  padding: 1rem;
}

.product-card__category,
.product-category,
.product-brand {
  margin: 0;
  color: var(--gold-400);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h2,
.product-card h3,
.product-title {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ivory-50);
  font-family: var(--font-display);
  font-size: clamp(1.17rem, 1.8vw, 1.45rem);
  line-height: 1.15;
}

.product-card__description,
.product-description,
.product-summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ivory-400);
  font-size: 0.82rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-notes,
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.product-notes span,
.product-tags span {
  color: var(--ivory-500);
  font-size: 0.7rem;
}

.product-notes span + span::before,
.product-tags span + span::before {
  margin-right: 0.3rem;
  color: var(--gold-600);
  content: "·";
}

.product-card__footer,
.product-purchase-row,
.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.product-price,
.price {
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
}

.product-card .button,
.product-card .btn {
  min-height: 2.6rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.67rem;
}

.product-title {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

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

.product-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--ivory-200);
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 4rem;
}

.product-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.note-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.note-pill {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ivory-400);
  font-size: 0.7rem;
}

.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.variant-options,
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 0.25rem;
}

.variant-options label,
.size-options label {
  position: relative;
}

.variant-options input,
.size-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.variant-options span,
.size-options span {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ivory-400);
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
}

.variant-options input:checked + span,
.size-options input:checked + span {
  border-color: var(--gold-500);
  background: rgba(201, 161, 74, 0.13);
  color: var(--gold-300);
}

.variant-options input:focus-visible + span,
.size-options input:focus-visible + span {
  outline: 3px solid var(--gold-300);
  outline-offset: 3px;
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 68rem) {
  .steps,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--three > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 52rem) {
  body[data-page="guide"] .guide-hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body[data-page="guide"] .guide-hero .lede {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1.25rem;
  }

  .page-hero,
  .content-hero,
  .shop-hero {
    min-height: 25rem;
  }

  .page-hero::after,
  .content-hero::after,
  .shop-hero::after {
    right: -2rem;
    width: 17rem;
    opacity: 0.2;
  }

  .content-hero .page-hero__content,
  .shop-hero .page-hero__content,
  .content-hero > .section-inner,
  .shop-hero > .section-inner {
    padding-right: 20vw;
  }

  .page-hero--home,
  .home-hero {
    min-height: min(46rem, calc(100svh - var(--header-height)));
    align-items: end;
    background:
      linear-gradient(0deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.85) 40%, rgba(5, 4, 3, 0.18) 78%, rgba(5, 4, 3, 0.08) 100%),
      url("../images/mozaikessence-hero.webp") 70% center / cover no-repeat;
  }

  .split-layout,
  .contact-panel,
  .legal-heading,
  .scent-structure,
  .note-explorer__interface,
  .practical-guide {
    grid-template-columns: 1fr;
  }

  .legal-heading {
    align-items: start;
  }

  .scent-structure {
    gap: 2.25rem;
  }

  .note-explorer__control {
    max-width: 24rem;
  }

  .practical-guide {
    gap: 1.75rem;
  }

  .shop-toolbar,
  .controls-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sort-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 38rem) {
  .page-hero__content,
  .hero-content,
  .page-hero > .container,
  .page-hero > .section-inner,
  .content-hero > .section-inner {
    width: min(100% - 2rem, var(--content-width));
    padding-block: 4rem;
  }

  .content-hero .page-hero__content,
  .shop-hero .page-hero__content,
  .content-hero > .section-inner,
  .shop-hero > .section-inner {
    padding-right: 1rem;
  }

  .page-hero--home,
  .home-hero {
    min-height: 41rem;
    background-position: 73% center;
  }

  .section,
  .shop-layout,
  .shop-shell,
  .catalogue,
  .section-inner {
    width: min(100% - 2rem, var(--content-width));
  }

  .card-grid--two,
  .card-grid--three,
  .steps,
  .product-grid,
  .filter-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .card-grid--three > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .steps .card {
    min-height: 0;
  }

  .home-order-strip__steps,
  .note-profile__body {
    grid-template-columns: 1fr;
  }

  .home-order-strip {
    padding: 1.25rem;
  }

  .legal-heading {
    padding-top: 3rem;
  }

  body[data-page="guide"] .guide-hero__inner {
    padding-block: 3.5rem;
  }

  body[data-page="guide"] .guide-section {
    padding-block: 3rem;
  }

  .scent-pyramid__stage {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.12rem;
  }

  .scent-pyramid__stage strong {
    font-size: 1.25rem;
  }

  .note-profile {
    padding: 1.25rem;
  }

  .note-profile__header,
  .note-profile__catalogue {
    align-items: flex-start;
    flex-direction: column;
  }

  .note-profile__positions {
    justify-content: flex-start;
  }

  .note-profile__catalogue .button {
    width: 100%;
  }

  .shop-toolbar,
  .controls-row {
    grid-template-columns: 1fr;
  }

  .filter-toggle,
  .sort-field {
    grid-column: auto;
  }

  .filter-panel .field-wide {
    grid-column: auto;
  }

  .shop-status,
  .catalogue-status,
  .filter-results-head {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.85rem;
  }

  .product-card__media,
  .product-image,
  .product-card__image,
  .product-card-media {
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 90rem) {
  .product-grid {
    gap: 1.5rem;
  }

  .page-hero--home,
  .home-hero {
    background-position: center;
  }
}

@media (max-width: 52rem) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 38rem) {
  .order-heading,
  .order-layout {
    width: min(100% - 2rem, var(--content-width));
  }

  .order-heading {
    padding-top: 3rem;
  }

  .order-details__header,
  .order-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-status {
    align-self: flex-start;
  }

  .order-facts,
  .order-contact {
    grid-template-columns: 1fr;
  }

  .order-item__price {
    text-align: left;
  }
}
