/* ==========================================================================
   Occasion — base styles
   Colors, fonts and widths come from theme settings (snippets/theme-styles).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
::selection { background: var(--c-accent); color: var(--c-accent-text); }

h1, h2, h3, h4 {
  font-family: var(--f-heading);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0;
  font-optical-sizing: auto;
}
p { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--c-primary); color: var(--c-bg); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout ---------- */
.page-width {
  --gutter: clamp(16px, 4vw, 48px);
  width: 100%;
  max-width: calc(var(--page-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-width--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding-block: clamp(28px, 4vw, 52px); }
.section--tight { padding-block: clamp(12px, 2vw, 24px) clamp(32px, 5vw, 64px); }
.section-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: var(--c-primary);
}
.eyebrow {
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 10px;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--c-primary); }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .6em 1.45em;
  border: 1.5px solid transparent; border-radius: 8px;
  background: var(--c-accent); color: var(--c-accent-text);
  font-size: 1.0625rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover {
  background: color-mix(in srgb, var(--c-accent) 86%, var(--c-primary));
  box-shadow: 0 6px 18px -10px rgba(var(--c-primary-rgb), .6);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.25em; height: 1.25em; transition: transform .2s; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: .7em 1.6em; font-size: 1.25rem; }
.btn--full { width: 100%; }
.btn--outline { background: transparent; border-color: currentColor; color: var(--c-primary); }
.btn--outline:hover { background: rgba(var(--c-primary-rgb), .06); }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 150px; min-height: 40px; padding: .35em 1.5em;
  border: 1.5px solid var(--c-primary); border-radius: 999px;
  background: transparent; color: var(--c-text);
  font-size: 1.0625rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.pill:hover { background: rgba(var(--c-primary-rgb), .07); }
.pill[aria-selected="true"],
input:checked + .pill { background: var(--c-primary); color: var(--c-bg); }
input:focus-visible + .pill { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.pill--sm { min-width: 0; min-height: 38px; padding: .3em 1.1em; font-size: .9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; color: var(--c-primary); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-muted { font-size: .875rem; color: var(--c-muted); }

/* ---------- Header ---------- */
.site-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  z-index: 50;
}
.header-section:has(.site-header--sticky) { position: sticky; top: 0; z-index: 50; }
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav icons";
  align-items: center;
  column-gap: 24px;
  min-height: 64px;
}
.site-header .menu-toggle { grid-area: toggle; display: none; }
.site-header__logo-wrap { grid-area: logo; margin: 0; font-size: inherit; }
.nav { grid-area: nav; }
.header-icons { grid-area: icons; display: flex; align-items: center; gap: 4px; justify-self: end; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--c-primary); text-decoration: none;
  font-family: var(--f-heading); font-weight: 700;
  font-size: 1.75rem; line-height: 1; letter-spacing: .015em; text-transform: uppercase;
}
.logo__mark { width: 1.3em; height: 1.3em; }
.logo__image { display: block; height: auto; max-height: 56px; width: auto; }
.logo--light { color: var(--c-bg); }

.nav__list { display: flex; justify-content: center; gap: clamp(20px, 4vw, 52px); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 0; font-size: 1.125rem; text-decoration: none; cursor: pointer; list-style: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .25s;
}
.nav__link::-webkit-details-marker { display: none; }
.nav__link:hover, .nav__link.is-active, .nav__link[aria-current="page"] { background-size: 100% 1.5px; }
.nav__link .icon { width: 16px; height: 16px; }
.nav__dropdown[open] .icon--chevron { transform: rotate(180deg); }
.nav__submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 220px; padding: 10px; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-surface); box-shadow: 0 18px 40px -24px rgba(var(--c-primary-rgb), .55);
}
.nav__submenu a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; }
.nav__submenu a:hover { background: rgba(var(--c-primary-rgb), .07); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--c-primary);
  text-decoration: none; cursor: pointer;
}
.icon-btn:hover { background: rgba(var(--c-primary-rgb), .07); }
.icon-btn .icon { width: 26px; height: 26px; }
.cart-count {
  position: absolute; top: 3px; right: 1px;
  display: grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--c-primary); color: var(--c-bg);
  font-size: 11px; font-weight: 800; line-height: 1;
}
.cart-count.is-bumped { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

@media (max-width: 899px) {
  .site-header__inner {
    grid-template-columns: 44px 1fr auto;
    grid-template-areas: "toggle logo icons";
    column-gap: 8px;
    min-height: 58px;
  }
  .site-header .menu-toggle { display: inline-grid; margin-left: -10px; }
  .site-header__logo-wrap { justify-self: center; }
  .nav, .icon-btn--desktop { display: none; }
  .header-icons { margin-right: -10px; }
  .logo { font-size: 1.5rem; }
}

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .3s; }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__overlay {
  position: absolute; inset: 0; background: rgba(var(--c-primary-rgb), .45);
  opacity: 0; transition: opacity .3s;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column; gap: 24px;
  width: min(88vw, 380px); padding: 12px 24px 28px;
  background: var(--c-bg); overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 46px; }
.drawer__top .logo { font-size: 1.375rem; }
.drawer__nav a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--c-line);
  color: var(--c-primary); text-decoration: none;
  font-family: var(--f-heading); font-size: 1.75rem; font-weight: 600;
}
.drawer__sub a { padding: 8px 0 8px 16px; font-family: var(--f-body); font-size: 1.0625rem; font-weight: 400; color: var(--c-text); }
.drawer__footer { margin-top: auto; display: flex; gap: 20px; }
body.has-drawer { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, var(--hero-panel, 44fr)) minmax(0, var(--hero-media, 56fr));
  min-height: clamp(400px, 33vw, 600px);
  background: var(--c-primary);
  color: var(--c-bg);
}
.hero__content {
  --gutter: clamp(16px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-block: clamp(36px, 4vw, 72px);
  padding-right: clamp(20px, 3vw, 48px);
  padding-left: max(var(--gutter), calc((100vw - var(--page-width)) / 2));
}
.hero__heading {
  font-size: clamp(3.25rem, 6.6vw, 7rem);
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.025em;
  color: var(--c-bg);
}
.hero__text {
  max-width: 30ch;
  margin: .7em 0 1.5em;
  font-size: clamp(1.0625rem, 1.55vw, 1.4rem);
  line-height: 1.35;
  opacity: .95;
}
.hero__media { position: relative; min-height: 280px; }
.hero__img { position: absolute; inset: 0; overflow: hidden; }
.hero__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: hero-in 1.2s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes hero-in { from { transform: scale(1.06); opacity: .4; } }

@media (max-width: 749px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding: 28px 20px 26px; }
  .hero__heading { font-size: clamp(3rem, 15vw, 4.25rem); }
  .hero__text { max-width: 22ch; margin: .45em 0 1em; }
  .hero .btn--lg { min-height: 48px; font-size: 1.125rem; }
  .hero__media { aspect-ratio: 16 / 10; min-height: 0; }
}

/* ---------- Shop by occasion ---------- */
.occasion__head {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px clamp(32px, 6vw, 80px);
  margin-bottom: clamp(20px, 2.6vw, 32px);
}
.tabs { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.occasion__more { margin-top: 24px; text-align: right; }

@media (max-width: 749px) {
  .occasion__head { gap: 14px; }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; width: 100%; }
  .tabs .pill { min-width: 0; width: 100%; }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
}
@media (max-width: 989px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 749px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-grid--slider {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    scrollbar-width: none;
  }
  .card-grid--slider::-webkit-scrollbar { display: none; }
  .card-grid--slider > * { scroll-snap-align: start; }
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card--highlight { border-color: var(--c-primary); }
.card:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -22px rgba(var(--c-primary-rgb), .6);
}
.card:focus-within { border-color: var(--c-primary); }
.card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: color-mix(in srgb, var(--c-primary) 10%, var(--c-bg));
}
.card__media img, .card__media svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .card__media img { transform: scale(1.04); }
.placeholder { fill: rgba(var(--c-primary-rgb), .35); background: color-mix(in srgb, var(--c-primary) 8%, var(--c-bg)); }
.badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--c-primary); color: var(--c-bg);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge--sale { background: var(--c-accent); color: var(--c-accent-text); }
.card__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  align-items: end;
  column-gap: 12px;
  padding: 14px clamp(16px, 2vw, 24px) 18px;
}
.card__title {
  grid-column: 1 / -1;
  align-self: start;
  font-size: clamp(1.625rem, 2.3vw, 2.125rem);
  color: var(--c-primary);
  line-height: 1.1;
}
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.card__sub {
  grid-column: 1 / -1;
  align-self: start;
  margin-top: 6px;
  font-size: 1rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__title { grid-row: 1; }
.card__sub { grid-row: 2; }
.card__meta { grid-column: 1; grid-row: 3; margin-top: 10px; font-size: .875rem; color: var(--c-muted); }
.card__price { grid-column: 1; grid-row: 3; margin-top: 12px; }
.card__price .price { font-size: 1.375rem; }
.card__arrow {
  grid-column: 2; grid-row: 3;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-accent-text);
  transition: transform .25s;
}
.card__arrow .icon { width: 22px; height: 22px; }
.card:hover .card__arrow { transform: translateX(3px); }
.card--text .card__body { min-height: 180px; }

/* ---------- Price ---------- */
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 800; }
.price__compare { font-weight: 400; font-size: .8em; color: var(--c-muted); }
.price--sale .price__current { color: var(--c-primary); }

/* ---------- Build your own box ---------- */
.build {
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(18px, 2.6vw, 36px);
  border: 2px solid var(--c-primary);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
  padding-right: clamp(16px, 2.6vw, 30px);
}
.build__media { align-self: stretch; min-height: 96px; position: relative; }
.build__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.build__content { padding-block: 18px; }
.build__title { font-size: clamp(1.875rem, 3.2vw, 2.75rem); color: var(--c-primary); }
.build__text { margin-top: 6px; color: var(--c-muted); }
.build__btn { white-space: nowrap; }

@media (max-width: 749px) {
  .build { grid-template-columns: 1fr; padding: 0; }
  .build__media { aspect-ratio: 4 / 1; min-height: 0; }
  .build__content { padding: 18px 20px 12px; }
  .build__btn { margin: 0 20px 20px; justify-self: start; }
}

/* ---------- Rich text ---------- */
.rich-text { display: flex; flex-direction: column; gap: 16px; }
.rich-text--center { align-items: center; text-align: center; }
.rich-text--center .rte { max-width: 60ch; }

.rte { line-height: 1.65; }
.rte > * + * { margin-top: 1em; }
.rte h2, .rte h3 { color: var(--c-primary); margin-top: 1.4em; }
.rte img { border-radius: var(--radius); }
.rte a { color: var(--c-primary); text-underline-offset: 3px; }
.rte ul, .rte ol { padding-left: 1.2em; }
.rte table { width: 100%; border-collapse: collapse; }
.rte td, .rte th { border: 1px solid var(--c-line); padding: 8px; }

/* ---------- Page header & toolbar ---------- */
.page-header { margin-bottom: clamp(20px, 3vw, 36px); }
.page-title { font-size: clamp(2.25rem, 4.4vw, 3.75rem); color: var(--c-primary); }
.page-header__text { max-width: 65ch; margin-top: 12px; }
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line);
}
.toolbar__count { color: var(--c-muted); font-size: .9375rem; margin-top: 10px; }
.toolbar .toolbar__count { margin-top: 0; }
.toolbar__sort { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; }
.select, .field__input {
  min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--c-line); border-radius: 8px;
  background: var(--c-surface); color: var(--c-text);
}
.select:focus, .field__input:focus { outline: none; border-color: var(--c-primary); }
.empty-state { padding-block: clamp(32px, 6vw, 80px); text-align: center; display: grid; justify-items: center; gap: 14px; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination__item {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px;
  border: 1.5px solid var(--c-line); border-radius: 999px; text-decoration: none;
}
.pagination__item:hover { border-color: var(--c-primary); }
.pagination__item.is-current { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-bg); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field__label { font-weight: 700; font-size: .9375rem; }
textarea.field__input { resize: vertical; min-height: 90px; line-height: 1.45; }
.form-error { color: #b0283c; font-size: .9375rem; margin-top: 8px; }

.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--c-line); border-radius: 8px; background: var(--c-surface);
  width: max-content;
}
.qty__btn {
  display: grid; place-items: center; width: 44px; height: 46px;
  border: 0; background: none; color: var(--c-primary); cursor: pointer;
}
.qty__btn .icon { width: 18px; height: 18px; }
.qty__input {
  width: 48px; height: 46px; border: 0; background: none; text-align: center; font-weight: 700;
  -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { width: 36px; height: 38px; }
.qty--sm .qty__input { width: 36px; height: 38px; }

/* ---------- Product ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.gallery__main { border-radius: var(--radius); overflow: hidden; background: var(--c-surface); border: 1.5px solid var(--c-line); }
.gallery__slide img, .gallery__slide video, .gallery__slide iframe { width: 100%; height: auto; display: block; }
.gallery__slide model-viewer, .gallery__slide iframe { width: 100%; aspect-ratio: 1; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery__thumb {
  flex: none; width: 80px; aspect-ratio: 1; padding: 0; overflow: hidden;
  border: 1.5px solid var(--c-line); border-radius: 8px; background: none; cursor: pointer;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--c-primary); }

.product__info { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; }
.product__title { font-size: clamp(2.375rem, 4.4vw, 4rem); color: var(--c-primary); line-height: .98; }
.product__price .price { font-size: 1.625rem; }
.product__text { color: var(--c-muted); font-size: 1.0625rem; }
.option { border: 0; padding: 0; margin: 0 0 14px; }
.option:last-of-type { margin-bottom: 0; }
.option__legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: .9375rem; }
.option__legend span { font-weight: 400; }
.option__values { display: flex; flex-wrap: wrap; gap: 10px; }
.product__buy .shopify-payment-button { margin-top: 12px; }
.product__buy .shopify-payment-button__button { border-radius: 8px; min-height: 52px; }
.product__desc { border-top: 1px solid var(--c-line); padding-top: 20px; }

.accordion { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.accordion + .accordion { border-top: 0; }
.accordion__summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--f-heading); font-size: 1.25rem; color: var(--c-primary);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion[open] .icon--chevron { transform: rotate(180deg); }
.accordion__content { padding-bottom: 18px; }

@media (max-width: 899px) {
  .product { grid-template-columns: 1fr; }
  .product__info { position: static; }
}

.related__title { margin-bottom: clamp(20px, 2.6vw, 32px); }

/* ---------- Cart ---------- */
.cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.cart__items { border-top: 1px solid var(--c-line); }
.cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
}
.cart-item__media { border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: var(--c-surface); }
.cart-item__media img, .cart-item__media svg { width: 100%; height: 100%; object-fit: cover; }
.cart-item__title { font-family: var(--f-heading); font-size: 1.5rem; color: var(--c-primary); text-decoration: none; line-height: 1.1; }
.cart-item__meta { font-size: .9375rem; color: var(--c-muted); margin-top: 4px; overflow-wrap: anywhere; }
.cart-item__discount { color: var(--c-primary); }
.cart-item__price { margin-top: 8px; font-weight: 700; }
.cart-item__qty { display: grid; justify-items: center; gap: 8px; }
.cart-item__total { font-weight: 800; font-size: 1.125rem; min-width: 80px; text-align: right; }
.cart__summary {
  display: grid; gap: 16px;
  padding: 24px; border: 2px solid var(--c-primary); border-radius: var(--radius);
  background: var(--c-surface);
  position: sticky; top: 90px;
}
.cart__row { display: flex; justify-content: space-between; gap: 12px; }
.cart__subtotal { font-weight: 800; font-size: 1.25rem; }
.cart__taxes { font-size: .875rem; color: var(--c-muted); }
.cart__additional { display: grid; gap: 8px; }

@media (max-width: 899px) {
  .cart { grid-template-columns: 1fr; }
  .cart__summary { position: static; }
}
@media (max-width: 599px) {
  .cart-item { grid-template-columns: 84px minmax(0, 1fr); gap: 12px 14px; }
  .cart-item__qty { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; gap: 16px; }
  .cart-item__total { grid-column: 2; text-align: left; }
}

/* ---------- Search ---------- */
.search-form { display: flex; gap: 10px; max-width: 560px; margin-top: 18px; }
.search-form .field__input { flex: 1; min-height: 50px; }
.search-form .btn { min-height: 50px; padding-inline: 16px; }

/* ---------- Article ---------- */
.article__image { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(40px, 5vw, 64px) 0 24px;
  background: var(--c-primary);
  color: var(--c-bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.3fr);
  gap: 36px;
}
.footer-brand__text { margin-top: 14px; max-width: 34ch; opacity: .85; }
.footer-heading { font-size: 1.375rem; margin-bottom: 14px; }
.footer-menu li + li { margin-top: 8px; }
.footer-menu a { text-decoration: none; opacity: .85; }
.footer-menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 6px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.social a:hover { background: rgba(255, 255, 255, .1); }
.social .icon { width: 18px; height: 18px; }
.newsletter__field { display: flex; gap: 8px; }
.newsletter__field input {
  flex: 1; min-width: 0; min-height: 48px; padding: 8px 14px;
  border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 8px;
  background: rgba(255, 255, 255, .06); color: inherit;
}
.newsletter__field input::placeholder { color: inherit; opacity: .65; }
.newsletter__field input:focus { outline: none; border-color: var(--c-accent); }
.newsletter__success { color: var(--c-accent); font-weight: 700; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .875rem; opacity: .85;
}
.footer-bottom a { text-decoration: none; }
.site-footer .footer__credit { margin: 0; }
.site-footer .footer__credit a { color: var(--c-accent); font-weight: 700; text-decoration: none; }
.site-footer .footer__credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-icon { width: 38px; height: 24px; }

@media (max-width: 749px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Color schemes for sections ---------- */
.scheme-surface { background: var(--c-surface); }
.scheme-primary { background: var(--c-primary); color: var(--c-bg); --c-muted: color-mix(in srgb, var(--c-bg) 72%, var(--c-primary)); }
.scheme-primary .section-title,
.scheme-primary .eyebrow { color: inherit; }
.scheme-primary .eyebrow { color: var(--c-accent); }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(22px, 3vw, 40px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head .eyebrow { margin-bottom: 0; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Announcement bar ---------- */
.announcement { background: var(--c-primary); color: var(--c-bg); font-size: .875rem; font-weight: 600; letter-spacing: .02em; }
.announcement__inner { display: grid; min-height: 36px; text-align: center; }
.announcement__item {
  grid-area: 1 / 1; align-self: center; padding: 6px 0;
  opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s;
  pointer-events: none;
}
.announcement__item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.announcement a { text-underline-offset: 3px; }

/* ---------- Benefits ---------- */
.benefits { border-bottom: 1px solid var(--c-line); }
.benefits__list {
  display: grid;
  grid-template-columns: repeat(var(--items, 4), minmax(0, 1fr));
  gap: 16px 28px;
  padding-block: clamp(18px, 2.4vw, 28px);
}
.benefit { display: flex; align-items: center; gap: 14px; }
.benefit__icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-accent-text);
}
.benefit__icon .icon { width: 24px; height: 24px; }
.benefit__body { display: grid; line-height: 1.3; }
.benefit__title { font-size: 1rem; }
.benefit__text { font-size: .875rem; color: var(--c-muted); }
@media (max-width: 989px) { .benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .benefit { flex-direction: column; align-items: flex-start; gap: 8px; }
  .benefit__icon { width: 40px; height: 40px; }
}

/* ---------- How it works ---------- */
.steps__list {
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(var(--items, 3), minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: 0; padding: 0; list-style: none;
  position: relative;
}
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; left: calc(50% + 52px); right: calc(-50% - clamp(28px, 4vw, 56px) + 52px);
  border-top: 2px dashed currentColor; opacity: .3;
}
.step__num {
  display: grid; place-items: center;
  width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-accent-text);
  font-family: var(--f-heading); font-size: 2.25rem; font-weight: 600; line-height: 1;
}
.step__title { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.step__text { max-width: 30ch; opacity: .85; }
@media (max-width: 749px) {
  .steps__list { grid-template-columns: 1fr; gap: 24px; }
  .step { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; }
  .step__num { grid-row: span 2; width: 56px; height: 56px; font-size: 1.75rem; margin: 0; }
  .step:not(:last-child)::after { display: none; }
}

/* ---------- Image with text ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__content { display: grid; justify-items: start; gap: 18px; }
.split__content .eyebrow { margin: 0; }
.split__text { font-size: 1.0625rem; max-width: 52ch; }
@media (max-width: 749px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Testimonials ---------- */
.testimonials__rating { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: #E0A93B; }
.stars .icon { width: 18px; height: 18px; }
.quote {
  margin: 0;
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-text);
}
.quote__text { margin: 0; flex: 1; font-family: var(--f-heading); font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.35; color: var(--c-primary); }
.quote__author { display: grid; gap: 2px; font-size: .9375rem; }
.quote__author span { color: var(--c-muted); }
.quote__author a { color: var(--c-primary); }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.faq__text { margin-top: 14px; color: var(--c-muted); }
.faq__text a { color: var(--c-primary); }
@media (max-width: 749px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Newsletter section ---------- */
.signup {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px clamp(24px, 4vw, 64px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--c-primary);
  color: var(--c-bg);
}
.signup__mark { position: absolute; right: -40px; bottom: -60px; width: 240px; color: var(--c-bg); opacity: .07; pointer-events: none; }
.signup__mark svg { width: 100%; height: auto; }
.signup__title { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.signup__text { margin-top: 10px; opacity: .85; max-width: 44ch; }
.signup__form { position: relative; }
@media (max-width: 749px) { .signup { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .newsletter__field { flex-direction: column; } }

/* ==========================================================================
   Premium / fun sections
   ========================================================================== */
.scheme-rose { background: var(--c-rose); color: var(--c-primary); }
.scheme-rose .eyebrow { color: var(--c-primary); opacity: .75; }
.scheme-accent { background: var(--c-accent); color: var(--c-accent-text); }
.scheme-accent .eyebrow { color: inherit; opacity: .75; }
.section-head__text { color: var(--c-muted); max-width: 46ch; margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px) rotate(-6deg); } }
@keyframes wiggle { 25% { rotate: 6deg; } 50% { rotate: -6deg; } 75% { rotate: 3deg; } }

/* ---------- Hero sticker ---------- */
.sticker {
  position: absolute; left: 0; bottom: 12%; z-index: 2;
  display: grid; place-items: center;
  width: clamp(112px, 10vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: var(--c-accent); color: var(--c-primary);
  transform: translateX(-50%);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55);
}
.sticker__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker__ring text { font-family: var(--f-body); font-size: 10px; font-weight: 800; letter-spacing: .14em; fill: currentColor; }
.sticker__center svg { width: 34px; height: 34px; }
.sticker:hover .sticker__ring { animation-duration: 4s; }
@media (max-width: 749px) {
  .sticker { left: auto; right: 16px; bottom: auto; top: 0; width: 96px; transform: translateY(-50%); }
  .sticker__center svg { width: 26px; height: 26px; }
}

/* ---------- Card sticker ---------- */
.card__sticker {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  padding: 6px 13px; border-radius: 999px;
  background: var(--c-accent); color: var(--c-accent-text);
  font-size: .8125rem; font-weight: 800; letter-spacing: .02em;
  transform: rotate(6deg);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45);
  transition: transform .35s cubic-bezier(.2, 1.4, .4, 1);
}
.card__sticker--rose { background: var(--c-rose); color: var(--c-primary); }
.card:hover .card__sticker { transform: rotate(-5deg) scale(1.08); }

/* ---------- Marquee ---------- */
.section-marquee { overflow: hidden; }
.marquee { padding-block: clamp(18px, 2.6vw, 34px); overflow: hidden; }
.marquee__band {
  padding-block: clamp(10px, 1.4vw, 16px);
  background: var(--c-accent); color: var(--c-accent-text);
  border-block: 2px solid var(--c-primary);
}
.marquee--primary .marquee__band { background: var(--c-primary); color: var(--c-bg); }
.marquee--rose .marquee__band { background: var(--c-rose); color: var(--c-primary); }
.marquee--tilt .marquee__band { transform: rotate(-1.6deg); margin-inline: -24px; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--speed, 36s) linear infinite; }
.marquee__track--reverse { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  padding-inline: clamp(16px, 2vw, 28px);
  font-family: var(--f-heading); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 600;
  line-height: 1.1; white-space: nowrap;
}
.marquee__item--italic { font-style: italic; font-weight: 500; }
.marquee__sep { display: grid; }
.marquee__sep svg { width: clamp(22px, 2.4vw, 32px); height: auto; animation: spin 8s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Gift finder ---------- */
.finder {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 56px);
  border-radius: calc(var(--radius) + 10px);
  background: var(--c-rose); color: var(--c-primary);
}
.finder .eyebrow { color: var(--c-primary); opacity: .75; }
.finder__title { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1; }
.finder__text { margin-top: 14px; max-width: 36ch; font-size: 1.0625rem; }
.finder__deco { display: flex; gap: 12px; margin-top: 26px; font-size: 2.25rem; }
.finder__deco span { display: inline-block; animation: float 3.2s ease-in-out infinite; }
.finder__deco span:nth-child(2) { animation-delay: .4s; }
.finder__deco span:nth-child(3) { animation-delay: .8s; }
.finder__panel {
  position: relative; min-height: 340px;
  padding: clamp(20px, 3vw, 36px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--c-bg); color: var(--c-text);
  box-shadow: 0 28px 50px -30px rgba(var(--c-primary-rgb), .65);
}
.finder__progress { height: 6px; margin-bottom: 22px; border-radius: 3px; background: rgba(var(--c-primary-rgb), .1); overflow: hidden; }
.finder__progress span { display: block; width: 33%; height: 100%; border-radius: inherit; background: var(--c-primary); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.finder__count { font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.finder__q { margin: 6px 0 18px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); color: var(--c-primary); }
.finder__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.finder__option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1.5px solid var(--c-line); border-radius: 12px;
  background: var(--c-surface); text-align: left; font-size: 1.0625rem; font-weight: 700; cursor: pointer;
  transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), border-color .2s, background-color .2s, color .2s;
}
.finder__option:hover { border-color: var(--c-primary); transform: translateY(-2px) rotate(-.8deg); }
.finder__option.is-picked { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-bg); }
.finder__emoji { font-size: 1.625rem; line-height: 1; transition: transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.finder__option:hover .finder__emoji { transform: scale(1.25) rotate(-10deg); }
.finder__back { margin-top: 18px; padding: 0; border: 0; background: none; color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.finder__step.is-active { animation: step-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }
.finder__result { display: grid; justify-items: start; gap: 4px; }
.finder__party { font-size: 3rem; line-height: 1; animation: pop .7s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }
.finder__summary { margin-bottom: 16px; font-size: 1.0625rem; font-weight: 700; }
@media (max-width: 749px) { .finder { grid-template-columns: 1fr; } .finder__deco { display: none; } }
@media (max-width: 419px) { .finder__options { grid-template-columns: 1fr; } }

/* ---------- Hotspots ---------- */
.spots { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.spots--reverse .spots__media { order: -1; }
.spots__content { display: grid; justify-items: start; gap: 18px; }
.spots__content .eyebrow { margin: 0; }
.spots__text { color: var(--c-muted); }
.spots__list { display: grid; gap: 2px; width: 100%; }
.spots__list-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 10px; background: none;
  font-size: 1.0625rem; text-align: left; cursor: pointer; transition: background-color .2s;
}
.spots__list-item:hover, .spots__list-item.is-active { background: rgba(var(--c-primary-rgb), .07); }
.spots__num {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-primary); color: var(--c-bg); font-size: .875rem; font-weight: 800;
}
.spots__list-item.is-active .spots__num { background: var(--c-accent); color: var(--c-accent-text); }
.spots__media { position: relative; aspect-ratio: 4 / 3; }
.spots__media > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.spot { position: absolute; left: var(--x); top: var(--y); z-index: 1; transform: translate(-50%, -50%); }
.spot.is-open { z-index: 3; }
.spot__dot {
  position: relative; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 3px solid var(--c-bg); border-radius: 50%;
  background: var(--c-accent); color: var(--c-accent-text); font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .55);
  transition: transform .25s cubic-bezier(.2, 1.6, .4, 1), background-color .2s;
}
.spot__dot::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--c-accent);
  animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; animation-delay: var(--delay, 0s);
}
@keyframes ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }
.spot__dot:hover, .spot.is-open .spot__dot { transform: scale(1.15); }
.spot.is-open .spot__dot { background: var(--c-primary); color: var(--c-bg); }
.spot__pop {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: max-content; max-width: 240px; padding: 12px 14px;
  border-radius: 12px; background: var(--c-bg); color: var(--c-text);
  font-size: .9375rem; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
  transform: translateX(-50%);
  animation: pop-in .35s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes pop-in { from { opacity: 0; scale: .85; } }
.spot--above .spot__pop { top: auto; bottom: calc(100% + 12px); }
.spot--start .spot__pop { left: -6px; transform: none; }
.spot--end .spot__pop { left: auto; right: -6px; transform: none; }
.spot__pop strong { display: block; font-family: var(--f-heading); font-size: 1.125rem; color: var(--c-primary); }
.spot__pop p { margin-top: 2px; color: var(--c-muted); }
.spot__product { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.spot__product img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
@media (max-width: 749px) {
  .spots { grid-template-columns: 1fr; }
  .spots__media, .spots--reverse .spots__media { order: -1; }
  .spot__dot { width: 30px; height: 30px; font-size: .8125rem; }
}

/* ---------- Note preview ---------- */
.note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.note__content { display: grid; justify-items: start; gap: 18px; }
.note__content .eyebrow { margin: 0; }
.note__content .field { width: 100%; }
.note__text { max-width: 44ch; font-size: 1.0625rem; }
.note__count { font-size: .8125rem; color: var(--c-muted); text-align: right; }
.scheme-rose .note__count { color: inherit; opacity: .7; }
.note__stage { position: relative; display: grid; place-items: center; min-height: 380px; }
.note__envelope {
  position: absolute; width: 78%; aspect-ratio: 1.5; border-radius: 8px;
  background: var(--c-primary);
  transform: rotate(6deg) translate(6%, 12%);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6);
}
.note__envelope::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 56%; border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--c-primary) 82%, #fff);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.note__card {
  position: relative; display: flex; align-items: center;
  width: min(86%, 440px); aspect-ratio: 1.45;
  padding: clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px) 22%;
  border-radius: 6px;
  background: #FFFDF8 repeating-linear-gradient(0deg, transparent 0 31px, rgba(var(--c-primary-rgb), .06) 31px 32px);
  box-shadow: 0 30px 60px -30px rgba(var(--c-primary-rgb), .6);
  transform: rotate(-4deg);
  transition: transform .6s cubic-bezier(.2, 1.2, .3, 1);
}
.note__stage:hover .note__card { transform: rotate(-1deg) translateY(-8px); }
.note__ribbon {
  position: absolute; top: -10px; bottom: -10px; left: 10%; width: 22px;
  background: color-mix(in srgb, var(--c-primary) 72%, var(--c-rose));
  box-shadow: inset -4px 0 0 rgba(0, 0, 0, .08);
}
.note__hand {
  position: relative; margin: 0;
  font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12;
  color: var(--c-primary);
  overflow-wrap: anywhere; white-space: pre-line;
}
.note__hand.is-long { font-size: clamp(1.4rem, 2.2vw, 1.875rem); }
.note__hand.is-xlong { font-size: clamp(1.125rem, 1.7vw, 1.4rem); }
.note__hand.is-typing::after { content: "|"; margin-left: 2px; font-weight: 400; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.note__seal {
  position: absolute; right: -16px; bottom: -16px;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-primary);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
  transform: rotate(12deg);
}
.note__seal svg { width: 30px; height: 30px; }
.note__doodle { position: absolute; font-size: 2.25rem; color: var(--c-primary); animation: float 3s ease-in-out infinite; }
.note__doodle--1 { top: 4%; right: 8%; }
.note__doodle--2 { bottom: 4%; left: 6%; animation-delay: 1s; }
@media (max-width: 749px) {
  .note { grid-template-columns: 1fr; }
  .note__stage { order: -1; min-height: 260px; }
}

.mini-note {
  position: relative; overflow: hidden;
  margin-top: 4px; padding: 16px 20px 16px 56px;
  border: 1px solid var(--c-line); border-radius: 8px;
  background: #FFFDF8;
  box-shadow: 0 12px 24px -18px rgba(var(--c-primary-rgb), .55);
  transform: rotate(-1deg);
}
.mini-note .note__ribbon { top: 0; bottom: 0; left: 22px; width: 14px; }
.mini-note .note__hand { font-size: 1.625rem; }
.mini-note .note__hand.is-long { font-size: 1.375rem; }
.mini-note .note__hand.is-xlong { font-size: 1.125rem; }

/* ---------- Countdown ---------- */
.countdown {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "content timer" "content btn";
  align-items: center; gap: 20px clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: calc(var(--radius) + 10px);
}
.countdown__content { grid-area: content; }
.countdown__title { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.countdown__text { margin-top: 10px; opacity: .85; }
.countdown__timer { grid-area: timer; display: flex; gap: clamp(8px, 1.2vw, 14px); }
.countdown__btn { grid-area: btn; justify-self: end; }
.countdown__unit { display: grid; justify-items: center; gap: 6px; }
.countdown__num {
  display: grid; place-items: center;
  min-width: clamp(62px, 7vw, 92px); height: clamp(70px, 8vw, 100px); border-radius: 12px;
  background: var(--c-bg); color: var(--c-primary);
  font-family: var(--f-heading); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -5px 0 rgba(var(--c-primary-rgb), .12);
}
.countdown__num.is-tick { animation: tick .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes tick { from { opacity: .4; transform: translateY(-6px) scale(.94); } }
.countdown__label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
@media (max-width: 749px) {
  .countdown { grid-template-columns: 1fr; grid-template-areas: "content" "timer" "btn"; }
  .countdown__timer { justify-content: space-between; }
  .countdown__num { min-width: 0; width: 100%; }
  .countdown__unit { flex: 1; }
  .countdown__btn { justify-self: start; }
}

/* ---------- Shop by recipient ---------- */
.recipients__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(16px, 3vw, 40px); }
.recipient__link { display: grid; justify-items: center; text-decoration: none; }
.recipient__circle {
  width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%;
  border: 4px solid var(--c-bg); box-shadow: 0 0 0 2px var(--c-primary);
  transition: transform .45s cubic-bezier(.2, 1.4, .4, 1);
}
.recipient__circle img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.recipient__label {
  position: relative; margin-top: -22px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--c-accent); color: var(--c-accent-text);
  font-family: var(--f-heading); font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; white-space: nowrap;
  transform: rotate(-4deg);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45);
}
.recipient--2 .recipient__label { background: var(--c-rose); color: var(--c-primary); transform: rotate(3deg); }
.recipient--3 .recipient__label { background: var(--c-primary); color: var(--c-bg); transform: rotate(-2deg); }
.recipient--4 .recipient__label { background: var(--c-surface); color: var(--c-primary); border: 1.5px solid var(--c-primary); transform: rotate(4deg); }
.recipient__link:hover .recipient__circle { transform: scale(1.04) rotate(-3deg); }
.recipient__link:hover .recipient__circle img { transform: scale(1.1); }
.recipient__link:hover .recipient__label { animation: wiggle .5s ease; }
@media (max-width: 749px) {
  .recipients__list {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
  }
  .recipients__list::-webkit-scrollbar { display: none; }
  .recipient { scroll-snap-align: start; }
}

/* ---------- Shop by budget ---------- */
.budget { display: grid; grid-template-columns: repeat(var(--items, 3), minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.budget__tile {
  position: relative; overflow: hidden;
  display: grid; align-content: end;
  min-height: clamp(220px, 22vw, 300px);
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px);
  border-radius: calc(var(--radius) + 6px);
  text-decoration: none;
  transition: transform .4s cubic-bezier(.2, 1.4, .4, 1), box-shadow .4s;
}
.budget__tile:hover { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 0 26px 40px -24px rgba(var(--c-primary-rgb), .75); }
.budget__tile:nth-child(even):hover { transform: translateY(-6px) rotate(1.2deg); }
.budget__tile--accent { background: var(--c-accent); color: var(--c-accent-text); }
.budget__tile--rose { background: var(--c-rose); color: var(--c-primary); }
.budget__tile--primary { background: var(--c-primary); color: var(--c-bg); }
.budget__tile--surface { background: var(--c-surface); color: var(--c-primary); border: 2px solid var(--c-primary); }
.budget__mark { position: absolute; top: -34px; right: -34px; width: 160px; opacity: .14; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.budget__mark svg { width: 100%; height: auto; }
.budget__tile:hover .budget__mark { transform: rotate(90deg) scale(1.1); }
.budget__small { font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.budget__big { font-family: var(--f-heading); font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 600; line-height: .9; letter-spacing: -.03em; }
.budget__text { margin-top: 8px; padding-right: 56px; font-size: 1.0625rem; }
.budget__arrow {
  position: absolute; right: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.4vw, 32px);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-bg); color: var(--c-primary);
  transition: transform .3s;
}
.budget__arrow .icon { width: 22px; height: 22px; }
.budget__tile:hover .budget__arrow { transform: translateX(4px) rotate(-12deg); }
@media (max-width: 749px) {
  .budget { grid-template-columns: 1fr; }
  .budget__tile { min-height: 170px; }
}

/* ---------- Photo gallery ---------- */
.ugc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 16vw, 240px); gap: clamp(10px, 1.2vw, 16px); }
.ugc__tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.ugc__tile:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.ugc__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ugc__tile:hover img { transform: scale(1.07) rotate(.5deg); }
.ugc__caption {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--c-primary);
  font-size: .8125rem; font-weight: 800;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.ugc__caption .icon { width: 14px; height: 14px; }
.ugc__tile:hover .ugc__caption { opacity: 1; transform: none; }
@media (hover: none) { .ugc__caption { opacity: 1; transform: none; } }
@media (max-width: 749px) {
  .ugc { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
}

/* ---------- Scroll reveal & confetti ---------- */
.reveal { opacity: 0; translate: 0 32px; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), translate .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; translate: none; }
.reveal :is(.card-grid, .budget, .recipients__list, .steps__list, .ugc, .benefits__list) > * {
  opacity: 0; translate: 0 24px;
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), translate .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible :is(.card-grid, .budget, .recipients__list, .steps__list, .ugc, .benefits__list) > * { opacity: 1; translate: none; }
.reveal :is(.card-grid, .budget, .recipients__list, .steps__list, .ugc, .benefits__list) > :nth-child(2) { transition-delay: .08s; }
.reveal :is(.card-grid, .budget, .recipients__list, .steps__list, .ugc, .benefits__list) > :nth-child(3) { transition-delay: .16s; }
.reveal :is(.card-grid, .budget, .recipients__list, .steps__list, .ugc, .benefits__list) > :nth-child(4) { transition-delay: .24s; }
.reveal :is(.card-grid, .budget, .recipients__list, .steps__list, .ugc, .benefits__list) > :nth-child(5) { transition-delay: .32s; }
.reveal :is(.card-grid, .budget, .recipients__list, .steps__list, .ugc, .benefits__list) > :nth-child(n + 6) { transition-delay: .4s; }

.confetti-piece { position: fixed; z-index: 300; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 120;
  display: flex; align-items: center; gap: 16px;
  max-width: calc(100vw - 32px); padding: 14px 18px 14px 20px;
  border-radius: 12px; background: var(--c-primary); color: var(--c-bg);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
  transform: translateX(-50%);
  animation: toast-in .35s cubic-bezier(.2, .7, .2, 1);
}
.toast__link { color: var(--c-accent); font-weight: 700; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Password & gift card ---------- */
.password {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: var(--c-primary);
}
.password__card {
  width: min(100%, 520px); padding: clamp(28px, 5vw, 48px);
  display: grid; gap: 18px; justify-items: center; text-align: center;
  background: var(--c-bg); border-radius: calc(var(--radius) + 6px);
}
.password__title { font-size: clamp(2.25rem, 6vw, 3.25rem); color: var(--c-primary); }
.password .newsletter, .password__login { width: 100%; }
.password .newsletter__field input { border-color: var(--c-line); background: var(--c-surface); }
.password__login summary { cursor: pointer; color: var(--c-muted); margin-bottom: 12px; }
.password__owner { margin-top: 12px; font-size: .875rem; color: var(--c-muted); }
.gift-card__balance { font-family: var(--f-heading); font-size: 3rem; color: var(--c-primary); }
.gift-card__code { font-size: 1.375rem; font-weight: 800; letter-spacing: .1em; }
.gift-card__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .gift-card__actions { display: none; }
}
