/* The public front page (costaaroma.es). Same paper, ink and gold as the
   labels: Montserrat for the label lettering and the small print, EB Garamond
   for the voice of the house. Each collection takes its label's
   ground. */
:root {
  /* The colours and type come from brand.css, shared with the workshop app. */
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { font-size: clamp(16px, 0.45vw + 11px, 20px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text-ink); font: 400 1.0625rem/1.7 var(--sans); }
.site { background: var(--paper) var(--ca-paper) 0 0 / 420px; overflow-x: clip; }
img { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(2.2rem, 4.6vw, 3.8rem)/1.1 var(--serif); letter-spacing: -0.005em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { top: 12px; }

/* Masthead: the wordmark in the middle, as on every label. */
html { scroll-padding-top: 110px; }
.masthead { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 18px var(--gutter); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.14em;
  background: rgba(250, 247, 242, 0.93); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: padding 0.3s, border-color 0.3s, box-shadow 0.3s; }
.masthead.stuck { padding-top: 10px; padding-bottom: 10px; border-bottom-color: rgba(170, 122, 45, 0.45); box-shadow: 0 8px 24px -18px rgba(40, 30, 10, 0.35); }
.masthead nav, .masthead-end { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); white-space: nowrap; }
.masthead-end { justify-content: flex-end; }
.masthead a { text-decoration: none; }
.masthead a:hover { text-decoration: underline; }
/* The wordmark on one line: the label's own foil lettering, set side by side. */
.masthead-word { display: block; height: 40px; width: auto; object-fit: contain; transition: height 0.3s; }
@media (max-width: 1560px) and (min-width: 641px) { .masthead-word { height: 32px; } .masthead nav, .masthead-end { gap: clamp(10px, 1.5vw, 24px); } }
@media (max-width: 1180px) and (min-width: 641px) { .masthead-word, .masthead.stuck .masthead-word { height: 22px; } .masthead { font-size: 0.84rem; letter-spacing: 0.1em; } }
.masthead.stuck .masthead-word { height: 30px; }
@media (max-width: 400px) { .masthead nav { gap: 10px; font-size: 0.86rem; letter-spacing: 0.08em; } }
.lang { display: inline-flex; align-items: baseline; gap: 0.35em; color: var(--gold-ink); letter-spacing: 0.12em; }
.lang > span[aria-hidden] { color: var(--muted); }
.lang-on { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* Hero: the label's double gold frame beside a photograph from each collection. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 32px);
  width: min(100% - 2 * var(--gutter), 1560px); height: min(calc(100svh - 124px), 880px); min-height: 580px; margin: clamp(14px, 2.4vh, 30px) auto 0; }
.hero-card { position: relative; display: grid; place-items: center; padding: clamp(36px, 6vh, 72px) 24px; text-align: center; }
.hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: url(#site-gold); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.hero-frame .inner { stroke-width: 2.4; }
html:not(.framed) .hero-card { outline: 1px solid var(--gold); outline-offset: -1px; }
.framed .hero-frame path, .framed .hero-frame .inner { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(.6, 0, .2, 1) 0.2s forwards; }
.framed .hero-frame .inner { animation-delay: 0.7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-fly { width: clamp(150px, 15vw, 250px); height: auto; margin-bottom: clamp(14px, 2.4vh, 28px); animation: appear 1.8s ease 0.4s both; }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } }
.hero h1 img { display: block; width: clamp(240px, 26vw, 430px); height: auto; }
.hero-line { margin: clamp(18px, 3vh, 32px) 0 6px; font: italic 400 clamp(1.4rem, 2.1vw, 1.95rem)/1.3 var(--serif); text-wrap: balance; }
.hero-place { margin: 0 0 clamp(24px, 3.6vh, 40px); font-size: 0.86rem; font-weight: 500; letter-spacing: 0.22em; color: var(--muted); }
.hero-links { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 0; }
.hero-link { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.18em; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.hero-cta { display: inline-block; padding: 18px 34px; background: var(--ink); color: #f1dc9a; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; text-decoration: none; transition: background 0.25s, transform 0.25s; }
.hero-cta:hover { background: #2a241d; color: #fff2b2; transform: translateY(-2px); }
.hero-show { position: relative; overflow: hidden; background: #e9e2d6; }
.hero-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s 1.4s; color: #fffdf8; text-decoration: none; }
.hero-slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.4s ease; z-index: 1; }
.hero-slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-slide.is-on img { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.07); } }
.hero-slide::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(20, 16, 12, 0.72)); }
.hero-caption { position: absolute; z-index: 1; left: clamp(18px, 2.4vw, 36px); right: 96px; bottom: clamp(18px, 3vh, 34px); display: grid; gap: 6px; }
.hero-caption-name { font: 600 clamp(1rem, 1.5vw, 1.35rem)/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.hero-caption-line { font: italic 400 1.15rem/1.3 var(--serif); color: #f1dc9a; }
.hero-slide:hover { color: #fffdf8; }
.hero-slide:hover .hero-caption-line { text-decoration: underline; text-underline-offset: 0.3em; }
.hero-dots { position: absolute; z-index: 2; right: clamp(14px, 2vw, 30px); bottom: clamp(18px, 3vh, 34px); display: flex; gap: 4px; }
.hero-dots[hidden] { display: none; }
.hero-dots button { width: 22px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dots button::before { content: ""; display: block; width: 9px; height: 9px; margin: auto; border: 1px solid #f1dc9a; transform: rotate(45deg); transition: background 0.3s; }
.hero-dots button[aria-pressed="true"]::before { background: #f1dc9a; }

/* Manifesto: the words from the back of the business card. */
.manifesto { padding: clamp(72px, 9vw, 120px) var(--gutter); text-align: center; }
.manifesto blockquote { margin: 0 auto; max-width: 30em; }
.manifesto p { margin: 0; font: 400 clamp(1.55rem, 2.8vw, 2.35rem)/1.45 var(--serif); text-wrap: balance; }
.manifesto p::before, .manifesto p::after { content: ""; display: block; width: 1px; height: 44px; margin: 0 auto 28px; background: var(--gold); }
.manifesto p::after { margin: 28px auto 0; }

/* Find your scent: three questions, one at a time, then the scent that fits. */
.finder { max-width: 1240px; margin: 0 auto clamp(72px, 9vw, 120px); padding: clamp(40px, 5vw, 68px) var(--gutter) clamp(36px, 4vw, 56px); text-align: center;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.finder[hidden], .finder [hidden] { display: none; }
.finder-eyebrow { margin: 0 0 10px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.finder-intro { max-width: 30em; margin: 14px auto 0; font: italic 400 1.3rem/1.45 var(--serif); }
.finder.is-done .finder-head, .finder.is-done .finder-steps { display: none; }
.finder-steps { display: flex; justify-content: center; gap: 14px; list-style: none; margin: 26px 0 0; padding: 0; }
.finder-steps li { width: 10px; height: 10px; border: 1px solid var(--gold); transform: rotate(45deg); transition: background 0.3s; }
.finder-steps li.is-on { background: var(--gold); }
.finder-step { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; animation: settle 0.5s ease; }
.finder-step legend { width: 100%; padding: 0; margin-bottom: 22px; font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.25 var(--serif); }
.finder-options { display: grid; gap: clamp(8px, 1.2vw, 16px); }
.finder-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.finder-formats { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.finder-words { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }
.finder-options button { position: relative; display: flex; flex-direction: column; padding: 0; border: 1px solid rgba(176, 132, 48, 0.45); background: #fffdf8; color: var(--text-ink);
  cursor: pointer; text-align: left; font: inherit; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.finder-options button:hover, .finder-options button:focus-visible { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 18px 34px -22px rgba(40, 30, 10, 0.55); }
.finder-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.finder-photos button > span { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; font: 400 1.22rem/1.3 var(--serif); }
.finder-photos em { font: 500 1.1rem/1.2 var(--serif); color: var(--gold-ink); }
.finder-words button { gap: 6px; padding: 22px 22px 24px; }
.finder-words button > span { font: 600 0.92rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.finder-words em { font: italic 400 1.12rem/1.4 var(--serif); color: var(--muted); }
.finder-nav { margin: 22px 0 0; }
.finder-nav button { padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--gold); background: none; cursor: pointer; color: var(--text-ink);
  font: 500 0.78rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.finder-results { animation: settle 0.6s ease; }
.finder-result { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); max-width: 980px; margin: 14px auto 0; text-align: left;
  background: var(--ground); border: 1px solid rgba(176, 132, 48, 0.45); }
.finder-photo { aspect-ratio: 1000 / 1241; overflow: hidden; }
.finder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.finder-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 3.4vw, 48px); }
.finder-name { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font: 600 clamp(1.3rem, 2.2vw, 1.8rem)/1.25 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.finder-line { margin: 14px 0 20px; font: 400 1.5rem/1.4 var(--serif); }
.finder-result .finder-add { margin-top: 26px; }
.finder-format { margin: 10px 0 0; font: italic 400 1.08rem/1.3 var(--serif); color: var(--gold-ink); }
.finder-result .scent-order { align-self: flex-start; }
.finder-also { margin-top: 26px; }
.finder-also p { margin: 0 0 8px; font: italic 400 1.15rem/1.4 var(--serif); }
.finder-also ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; list-style: none; margin: 0; padding: 0; }
.finder-also button { padding: 4px 0; border: 0; border-bottom: 1px solid var(--gold); background: none; cursor: pointer;
  font: 600 0.84rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }

/* The four collections, each a swatch of its own label paper. */
.collections-head { padding: 0 var(--gutter) clamp(56px, 7vw, 90px); text-align: center; }
.collections-head > p { max-width: 36em; margin: 18px auto 0; color: var(--muted); }
.collection-index { list-style: none; padding: 0; margin: clamp(44px, 6vw, 72px) auto 0; max-width: 1280px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 18px); }
.collection-index a { display: flex; flex-direction: column; height: 100%; background: var(--ground); text-decoration: none; text-align: left; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease; }
.collection-index .index-costa a { background-image: var(--ca-paper-costa); }
.collection-index .index-hammam a { background-image: var(--ca-paper-hammam); }
.collection-index .index-reserva a { background-image: var(--ca-paper-reserva); }
.collection-index .index-navidad a { background-image: var(--ca-paper-navidad); background-color: var(--ground); background-blend-mode: soft-light; }
.collection-index img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.8s ease; }
.collection-index a:hover img { transform: scale(1.04); }
.index-text { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 20px 22px; }
.index-name { font: 400 1.6rem/1.15 var(--serif); }
.index-scents { font-size: 0.8rem; line-height: 1.6; color: var(--muted); }
.index-count { margin-top: auto; padding-top: 8px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.collection-index a:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(40, 30, 10, 0.55); }

/* A collection: its ground full width, and a stage where one scent at a time shows its photo, label, notes and prices. */
.collection { --text: var(--text-ink); padding: clamp(64px, 7vw, 104px) max(var(--gutter), calc((100vw - 1400px) / 2)); background: var(--ground) 0 0 / 420px; color: var(--text); }
.collection[data-collection="costa"] { --text: #173b45; background-image: var(--ca-paper-costa); }
.collection[data-collection="hammam"] { --text: #2f3a2c; background-image: var(--ca-paper-hammam); }
.collection[data-collection="reserva"] { --text: #40301a; background-image: var(--ca-paper-reserva); }
.collection[data-collection="navidad"] { --text: #3a1c1e; background-image: var(--ca-paper-navidad); background-blend-mode: soft-light; }
.collection-top { text-align: center; }
.collection-top h2 { color: var(--text); }
.scent-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(14px, 2.4vw, 40px); margin: clamp(26px, 3.4vw, 44px) 0 clamp(30px, 4vw, 56px);
  padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.scent-tab { position: relative; padding: 10px 2px; border: 0; background: none; cursor: pointer; font: 600 0.86rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.62; transition: opacity 0.3s; }
.scent-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.35s ease; }
.scent-tab:hover, .scent-tab[aria-selected="true"] { opacity: 1; }
.scent-tab[aria-selected="true"]::after { transform: scaleX(1); }
.scent-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: center; max-width: 1180px; margin: 0 auto; }
.scent-panel[hidden] { display: none; }
.scent-panel:not([hidden]) { animation: settle 0.6s ease; }
.collection:nth-of-type(even) .scent-show { order: 2; }
.scent-show { position: relative; max-width: 470px; width: 100%; justify-self: center; }
.scent-gallery figure { margin: 0; background: rgba(0, 0, 0, 0.06); overflow: hidden; }
.scent-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; transition: opacity 0.3s; }
.scent-gallery img:hover { opacity: 0.9; }
.scent-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 0.8vw, 12px); margin-top: clamp(6px, 0.8vw, 12px); width: 62%; }
.scent-show .label-card { position: absolute; right: calc(-1 * clamp(16px, 4vw, 64px)); bottom: clamp(10px, 2vw, 28px); pointer-events: none; }
.collection:nth-of-type(even) .scent-show .label-card { right: auto; left: calc(-1 * clamp(16px, 4vw, 64px)); }
.collection:nth-of-type(even) .scent-thumbs { margin-left: auto; }
.label-card { margin: 0; }
.label-card .ca-label { zoom: 0.8; box-shadow: 0 1px 2px rgba(40, 30, 10, 0.12), 0 22px 44px -18px rgba(40, 30, 10, 0.5); }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } }
.scent-text { max-width: 540px; }
.scent-title { display: flex; flex-direction: column; gap: 4px; font: 600 clamp(1.4rem, 2.5vw, 2.1rem)/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.scent-title .scent-en { font-size: 1.45rem; }
.scent-en { font: italic 400 1.05rem/1.3 var(--serif); letter-spacing: 0.04em; text-transform: none; color: var(--text); font-weight: 500; }
.scent-line { margin: 16px 0 24px; font: 400 clamp(1.4rem, 2vw, 1.75rem)/1.4 var(--serif); }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; font-size: 0.92rem; line-height: 1.55; }
.notes dt { font-weight: 600; font-size: 0.76rem; letter-spacing: 0.16em; margin-bottom: 4px; }
.notes dd { margin: 0; }
.scent-prices { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.scent-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 0.9rem; }
.scent-only { margin: 14px 0 0; font: italic 400 1.1rem/1.4 var(--serif); color: var(--gold-ink); }
.scent-buy { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 22px; letter-spacing: 0.18em; }
.scent-from { font: 500 1.2rem/1 var(--serif); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.scent-order { display: inline-block; margin-top: 16px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.scent-order:hover { color: var(--gold-ink); }
.collection-line { margin: 14px 0 0; font: italic 400 1.55rem/1.4 var(--serif); }
.collection-specs { margin-top: clamp(36px, 5vw, 64px); text-align: center; }
.collection-specs p { margin: 0; font: italic 400 1.15rem/1.4 var(--serif); opacity: 0.8; }
/* The collection's photos in one row, all the same height. */
/* Wider than the text on big screens, so the photos are not lost in the ground. */
.gallery { grid-column: 1 / -1; justify-self: center; width: min(100vw - 2 * var(--gutter), 1800px); display: flex; gap: clamp(8px, 1.2vw, 16px); margin-bottom: clamp(24px, 4vw, 56px); }
.gallery figure { flex: var(--ratio) 1 0; margin: 0; aspect-ratio: var(--ratio); min-width: 0; background: rgba(0, 0, 0, 0.06); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-hint { grid-column: 1 / -1; margin: calc(-1 * clamp(14px, 3vw, 44px)) 0 clamp(24px, 4vw, 48px); font: italic 400 1.05rem/1.4 var(--serif); color: var(--gold-ink); }
.gallery img { cursor: zoom-in; transition: opacity 0.3s; }
.gallery img:hover { opacity: 0.9; }

/* Lightbox: a tapped photo, full screen. */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 16, 12, 0.97); color: #f6f1e8; }
.lightbox button:focus:not(:focus-visible) { outline: none; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: lb-in 0.3s ease; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; padding: 64px 72px 56px; width: 100%; height: 100%; box-sizing: border-box; justify-content: center; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.lightbox figcaption { max-width: 40em; text-align: center; font: italic 400 1.15rem/1.4 var(--serif); }
.lightbox button { position: absolute; border: 0; background: none; color: inherit; cursor: pointer; font: 300 2.6rem/1 var(--sans); padding: 12px 18px; opacity: 0.8; }
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; color: var(--gold); }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
.lb-count { position: absolute; top: 22px; left: 0; right: 0; margin: 0; text-align: center; font-size: 0.8rem; letter-spacing: 0.2em; opacity: 0.7; pointer-events: none; }
@media (max-width: 700px) {
  .lightbox figure { padding: 56px 12px 40px; }
  .lb-prev, .lb-next { top: auto; bottom: 6px; transform: none; font-size: 2.6rem; }
}
/* Formats: a photo tile for each one sold online, leading into the shop on that format. */
.smells { padding: clamp(64px, 8vw, 110px) max(var(--gutter), calc((100vw - 1400px) / 2)); background: var(--ink); color: #f4ecd9; }
.smells-head { text-align: center; }
.smells-eyebrow { margin: 0 0 14px; font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: #f1dc9a; }
.smells-head h2 { color: #f4ecd9; text-wrap: balance; }
.smell-tiles { list-style: none; margin: clamp(36px, 5vw, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.smell-tiles a { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: clamp(26px, 3vw, 40px) 22px clamp(24px, 2.6vw, 34px);
  text-align: center; text-decoration: none; color: inherit; border: 1px solid rgba(241, 220, 154, 0.32); transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.smell-tiles a:hover, .smell-tiles a:focus-visible { background: rgba(241, 220, 154, 0.08); border-color: #f1dc9a; transform: translateY(-4px); color: inherit; }
.smell-photos { display: flex; justify-content: center; margin-bottom: 14px; }
.smell-photos img { width: clamp(58px, 5.4vw, 78px); height: clamp(58px, 5.4vw, 78px); border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -14px; }
.smell-photos img:first-child { margin-left: 0; }
.smell-name { font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.15 var(--serif); color: #f4ecd9; }
.smell-notes { font: italic 400 1.08rem/1.4 var(--serif); color: rgba(244, 236, 217, 0.78); }
.smell-go { margin-top: auto; padding-top: 16px; font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #f1dc9a; }
.smell-go::after { content: " \2192"; }
@media (max-width: 900px) { .smell-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .smell-tiles a { padding: 22px 12px 20px; } .smell-notes { font-size: 0.96rem; } .smell-go { letter-spacing: 0.1em; font-size: 0.66rem; } .smell-go::after { content: ""; } }
.formats { padding: clamp(64px, 8vw, 110px) max(var(--gutter), calc((100vw - 1400px) / 2)); }
.formats-head { text-align: center; }
.formats-head p { color: var(--muted); max-width: 34em; margin: 18px auto 0; }
.format-tiles { list-style: none; margin: clamp(36px, 5vw, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 18px); }
.format-tiles a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fffdf8; border: 1px solid rgba(176, 132, 48, 0.4); overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease; }
.format-tiles a:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(40, 30, 10, 0.55); }
.format-tiles img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.format-tile-text { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 20px 22px; }
.format-tile-name { font: 400 1.55rem/1.2 var(--serif); }
.format-tile-detail { font-size: 0.9rem; color: var(--muted); }
.format-tile-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 16px; }
.format-tile-foot .buy-price { font-size: 1.5rem; }
.format-tile-go { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 3px; text-align: right; }
.format-list { max-width: 760px; margin: clamp(28px, 4vw, 48px) auto 0; }
.format-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.format-list > div:last-child { border-bottom: 1px solid var(--rule); }
.format-list dt { font: 400 1.35rem/1.3 var(--serif); }
.format-list dd { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* How long each format lasts, under the format tiles. */
.lasting-title { max-width: 760px; margin: clamp(40px, 5vw, 64px) auto 0; font: 400 1.6rem/1.25 var(--serif); text-align: center; }
.lasting-list { margin-top: 20px; }

/* Delivery and returns, plain on the front page. */
.delivery { padding: clamp(56px, 7vw, 96px) var(--gutter); text-align: center; border-top: 1px solid var(--rule); }
.delivery h2 { margin: 0; }
.delivery-facts { list-style: none; padding: 0; margin: clamp(32px, 4vw, 56px) auto 0; max-width: 1120px; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); text-align: left; }
.delivery-facts li { padding-top: 18px; border-top: 1px solid var(--gold); }
.delivery-facts h3 { font: 400 1.35rem/1.25 var(--serif); }
.delivery-facts p { margin: 10px 0 0; color: var(--muted); font-size: 0.96rem; }
.delivery-terms { margin: clamp(28px, 4vw, 44px) 0 0; }
@media (max-width: 900px) { .delivery-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .delivery-facts { grid-template-columns: minmax(0, 1fr); } }

/* The house. */
.house { padding: clamp(64px, 8vw, 110px) var(--gutter); text-align: center; border-top: 1px solid var(--rule); }
.house-fly { width: 92px; height: auto; margin-bottom: 26px; }
/* The dragonfly, the title and the text share one centred column, and the text's lines are
   evened out so its edges don't look ragged. */
.house > .house-fly, .house > h2, .house-text, .house-coords { display: block; max-width: 640px; margin-left: auto; margin-right: auto; }
/* The engraved dragonfly needs size for its fine lines to read: small, it turns faint and grainy. */
.house > .house-fly { width: clamp(150px, 14vw, 200px); max-width: none; margin-bottom: 30px; }
.house h2 { margin-top: 0; margin-bottom: 0; text-wrap: balance; }
.house-text { margin-top: 30px; margin-bottom: 0; font: 400 1.3rem/1.6 var(--serif); text-wrap: balance; }
.house-text p { margin: 0 0 1em; }
.house-text p:last-child { margin-bottom: 0; }
.house-coords { margin-top: 28px; margin-bottom: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em; color: var(--gold-ink); }
.ethos { list-style: none; padding: 0; margin: clamp(44px, 5vw, 72px) auto 0; max-width: 1120px; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); text-align: left; }
.ethos li { padding-top: 22px; border-top: 1px solid var(--gold); }
.ethos h3 { font: 400 1.6rem/1.25 var(--serif); }
.ethos p { margin: 12px 0 0; color: var(--muted); font-size: 0.98rem; }

/* Contact: the only dark ground, with the gold wordmark. */
.foot { background: var(--ink); color: #efe9df; text-align: center; padding: clamp(64px, 8vw, 100px) var(--gutter) 44px; }
.foot h2 { color: #f6f1e8; }
.foot > p:not(.foot-small) { max-width: 32em; margin: 18px auto 0; font-size: 1.08rem; color: #ddd5c8; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 30px !important; font: 500 1.7rem/1.3 var(--serif); }
.foot a { color: #e8d7a8; }
.foot a:hover { color: #fff2b2; }
.foot-mark { display: block; width: clamp(220px, 22vw, 320px); height: auto; margin: clamp(52px, 6vw, 80px) auto 18px; }
.foot-small { margin: 14px 0 0; font-size: 0.92rem; letter-spacing: 0.16em; color: #bdb4a6; }
.foot-small a { margin: 0 12px; color: #bdb4a6; }

/* The shop. Its buttons show only once site.js has the basket ready; until
   then each scent keeps its order-by-email link. */
html:not(.shop-ready) .shop-only { display: none !important; }
.shop-ready .no-shop { display: none; }
.basket-open { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  font: inherit; letter-spacing: inherit; }
.basket-open:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; }
.bag-icon { display: block; }
/* Share: the icon alone in the masthead; the menu only where there is no share sheet. */
.share { position: relative; display: inline-flex; }
.share[hidden] { display: none; }
.share-open { display: inline-flex; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.share-open:hover { color: var(--gold-ink); }
.share-icon { display: block; }
.share-menu { position: absolute; top: calc(100% + 12px); right: -12px; z-index: 30; display: grid; min-width: 12rem; padding: 6px 0;
  background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 14px 34px -18px rgba(40, 30, 10, 0.45); }
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button { display: block; width: 100%; padding: 10px 18px; border: 0; background: none; color: var(--ink);
  font: inherit; font-size: 0.82rem; letter-spacing: 0.12em; text-align: left; text-decoration: none; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: rgba(200, 157, 66, 0.12); text-decoration: none; }
.basket-count { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 0.4em; border: 1px solid var(--gold);
  border-radius: 999px; font-size: 0.78em; letter-spacing: 0; color: var(--gold-ink); transition: background 0.3s, color 0.3s; }
.has-basket .basket-count { background: var(--ink); border-color: var(--ink); color: #f1dc9a; }
.buy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.buy-add, .set-add { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; cursor: pointer; text-align: left;
  border: 1px solid var(--rule); background: rgba(255, 253, 248, 0.6); color: var(--text-ink);
  font: 500 0.72rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.buy-price { white-space: nowrap; font: 500 1.25rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--gold-ink); }
@media (hover: hover) {
  .buy-add:hover, .set-add:hover { background: var(--ink); border-color: var(--ink); color: #efe9df; }
  .buy-add:hover .buy-price { color: #f1dc9a; }
}
.buy-add:active, .set-add:active { transform: translateY(1px); }
.scent-soon { color: var(--gold-ink); }
.ship-line { margin: 14px 0 0 !important; font: 400 0.86rem/1.5 var(--sans) !important; color: var(--muted); }

.basket { width: min(460px, 100vw); height: 100dvh; max-height: none; max-width: none; margin: 0 0 0 auto; padding: 0;
  border: 0; border-left: 1px solid var(--gold); background: var(--paper); color: var(--text-ink); }
.basket[open] { display: flex; flex-direction: column; animation: basket-in 0.35s ease; }
@keyframes basket-in { from { transform: translateX(40px); opacity: 0; } }
.basket::backdrop { background: rgba(20, 16, 12, 0.45); }
.basket-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 18px; border-bottom: 1px solid var(--rule); }
.basket-head h2 { font-size: 2.2rem; }
.basket-close { border: 0; background: none; cursor: pointer; font: 300 2.2rem/1 var(--sans); color: inherit; padding: 4px 8px; }
.basket-empty { margin: 28px; font: italic 400 1.2rem/1.5 var(--serif); }
.basket:not(.is-empty) .basket-empty { display: none; }
.basket.is-empty .basket-sums, .basket.is-empty .basket-note { display: none; }
.basket-lines { flex: 1 1 auto; overflow-y: auto; list-style: none; margin: 0; padding: 0 28px; }
.basket-lines li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "pic name price" "pic format format" "pic qty remove";
  gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid rgba(176, 132, 48, 0.35); }
.bl-photo { grid-area: pic; display: block; width: 64px; height: 80px; margin-right: 6px; object-fit: cover; }
.bl-name { grid-area: name; font: 600 0.9rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.bl-format { grid-area: format; font: italic 400 1.05rem/1.3 var(--serif); }
.bl-price { grid-area: price; font: 500 1.15rem/1.3 var(--serif); }
.bl-qty { grid-area: qty; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.bl-qty button { width: 32px; height: 32px; border: 1px solid var(--rule); background: none; cursor: pointer; font: 400 1.1rem/1 var(--sans); color: inherit; }
.bl-qty button:disabled { opacity: 0.35; cursor: default; }
.bl-qty output { min-width: 2em; text-align: center; font-weight: 600; }
.bl-remove { grid-area: remove; justify-self: end; align-self: end; border: 0; background: none; cursor: pointer; padding: 4px 0; color: var(--muted);
  font: 500 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 0.3em; }
.basket-sums { margin: 0; padding: 18px 28px 0; }
.basket-sums > div { display: flex; justify-content: space-between; padding: 3px 0; font-size: 0.92rem; }
.basket-sums dd { margin: 0; }
.basket-total { margin-top: 8px; padding-top: 10px !important; border-top: 1px solid var(--gold); font: 500 1.35rem/1.3 var(--serif) !important; }
.basket-note { margin: 10px 28px 0; font-size: 0.8rem; color: var(--muted); }
.basket-pay { margin: 18px 28px 0; padding: 16px; border: 0; cursor: pointer; background: var(--ink); color: #f1dc9a;
  font: 600 0.82rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; transition: background 0.25s; }
.basket-pay:hover { background: #2a241d; }
.basket-pay:disabled { opacity: 0.4; cursor: default; }
.basket-error { margin: 12px 28px 0; font-size: 0.9rem; color: #8a2a1a; }
.basket-small { margin: 14px 28px 24px; font-size: 0.76rem; line-height: 1.5; color: var(--muted); }
.basket-toast { position: fixed; left: 50%; bottom: 22px; z-index: 30; margin: 0; padding: 12px 20px; transform: translate(-50%, 20px); opacity: 0;
  pointer-events: none; cursor: pointer; background: var(--ink); color: #efe9df; font-size: 0.86rem; letter-spacing: 0.04em;
  border: 1px solid var(--gold); transition: opacity 0.3s, transform 0.3s; max-width: calc(100vw - 32px); }
.basket-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.basket-thanks { max-width: min(520px, calc(100vw - 32px)); padding: 44px 36px 36px; border: 1px solid var(--gold); background: var(--paper);
  color: var(--text-ink); text-align: center; }
.basket-thanks::backdrop { background: rgba(20, 16, 12, 0.45); }
.basket-thanks img { width: 120px; height: auto; }
.basket-thanks h2 { margin-top: 12px; font-size: 2.4rem; }
.basket-thanks p { margin: 16px 0 26px; font: 400 1.2rem/1.5 var(--serif); }
.basket-thanks button { border: 0; border-bottom: 2px solid var(--gold); background: none; cursor: pointer; color: inherit; font-family: var(--sans); text-transform: uppercase; }
.foot-legal { margin-top: 20px !important; font-size: 0.78rem !important; }

/* The shop page: a grid of scent cards, each on its collection's ground. */
.shop-head { padding: clamp(48px, 7vw, 96px) var(--gutter) 12px; text-align: center; }
.shop-head h1 { font: 400 clamp(2.8rem, 6vw, 4.6rem)/1.05 var(--serif); }
.shop-intro { max-width: 34em; margin: 18px auto 0; font: italic 400 1.35rem/1.45 var(--serif); }
.shop-ship { margin: 14px 0 0; font-size: 0.86rem; letter-spacing: 0.06em; color: var(--muted); }
.shop-tools { display: grid; gap: 12px; justify-items: center;
  padding: 18px var(--gutter) 16px; background: rgba(250, 247, 242, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(176, 132, 48, 0.35); }
.shop-search { width: min(560px, 100%); }
.shop-search input { width: 100%; padding: 12px 18px; border: 1px solid var(--rule); border-radius: 999px; background: #fffdf8;
  font: 400 1rem/1.3 var(--sans); color: var(--text-ink); }
.shop-search input:focus { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.shop-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.shop-chips button { padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; background: var(--ground, transparent);
  color: var(--text-ink); font: 500 0.74rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.shop-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #f1dc9a; }
.shop-family-notes { margin: -2px 0 0; font: italic 400 1.05rem/1.3 var(--serif); color: var(--text-ink); text-align: center; }
.pdp-families { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.pdp-families a { padding: 6px 13px; border: 1px solid var(--rule); border-radius: 999px; color: var(--text-ink); text-decoration: none;
  font: 500 0.7rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.pdp-families a:hover, .pdp-families a:focus-visible { background: var(--ink); border-color: var(--ink); color: #f1dc9a; }
.shop-count { margin: 0; font: italic 400 1rem/1.2 var(--serif); color: var(--gold-ink); }
.products { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(18px, 2.4vw, 32px);
  max-width: 1400px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(64px, 8vw, 110px); }
.product { display: flex; flex-direction: column; background: var(--ground); border: 1px solid rgba(176, 132, 48, 0.4); scroll-margin-top: 240px; }
.product:target { outline: 2px solid var(--gold); outline-offset: 4px; }
.product[hidden] { display: none; }
.product-photo { aspect-ratio: 1000 / 1241; overflow: hidden; background: rgba(0, 0, 0, 0.04); }
.product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-photo img[hidden] { display: none; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.product-collection { margin: 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.product-name { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font: 600 1.05rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.product-line { margin: 10px 0 6px; font: 400 1.22rem/1.4 var(--serif); }
.product-notes { margin: 0 0 16px; font-size: 0.84rem; line-height: 1.5; color: var(--muted); }
.product-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.product-formats button { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 4px; padding: 9px 10px; cursor: pointer; text-align: left;
  border: 1px solid var(--rule); background: rgba(255, 253, 248, 0.55); color: var(--text-ink);
  font: 500 0.68rem/1.25 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.product-formats .buy-price { font-size: 1.05rem; }
.product-formats button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fffdf8; }
.product-only { margin: auto 0 0; font: italic 400 1.05rem/1.4 var(--serif); color: var(--gold-ink); }
.product-add { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 10px; padding: 14px 16px;
  background: var(--ink); border-color: var(--ink); color: #f1dc9a; font-size: 0.78rem; letter-spacing: 0.22em; }
.product-add .buy-price { color: #f1dc9a; font-size: 1.3rem; }
.product .scent-order { align-self: flex-start; margin-top: auto; }
.product .product-only + .scent-order, .product .product-formats + .scent-order { margin-top: 14px; }
.product-add[hidden], .product-reserve[hidden], .product-stock[hidden] { display: none; }
.product-stock { margin: 10px 0 0; font: italic 400 1.05rem/1.3 var(--serif); color: var(--gold-ink); }
.product-stock.is-out { font: 500 0.74rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #8a2a1a; }
.product-stock.is-out.is-soon { color: var(--gold-ink); }
.product .product-stock + .product-reserve { margin-top: 10px; }
.shop-none { margin: 0 auto; padding: 0 var(--gutter) 80px; text-align: center; font: italic 400 1.3rem/1.4 var(--serif); }
.masthead nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); }

.product-photo { display: block; }
.product-name a { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; }
.product-name a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.35em; text-decoration-thickness: 1px; }

/* A scent's own page: its photos beside the notes, formats and basket button, on its collection's ground. */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 72px); align-items: start; border: 0;
  padding: clamp(20px, 3vw, 44px) max(var(--gutter), calc((100vw - 1400px) / 2)) clamp(48px, 6vw, 84px); background: var(--ground); }
.pdp[data-collection="costa"] { background-image: var(--ca-paper-costa); }
.pdp[data-collection="hammam"] { background-image: var(--ca-paper-hammam); }
.pdp[data-collection="reserva"] { background-image: var(--ca-paper-reserva); }
.pdp[data-collection="navidad"] { background-image: var(--ca-paper-navidad); background-blend-mode: soft-light; }
.pdp-gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; position: sticky; top: 96px; }
.pdp-gallery .product-photo { grid-column: 2; grid-row: 1; max-height: calc(100svh - 130px); justify-self: start; width: 100%; }
.pdp-gallery .product-photo:only-child { grid-column: 1 / -1; }
.pdp-thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 10px; align-content: start; }
.pdp-thumbs button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: 0.65; transition: opacity 0.25s, border-color 0.25s; }
.pdp-thumbs button[aria-pressed="true"], .pdp-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.pdp-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp-body { padding: clamp(4px, 2vw, 28px) 0 0; max-width: 560px; }
.pdp-crumbs { margin: 0 0 18px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.pdp-crumbs a { text-decoration: none; }
.pdp-crumbs a:hover { text-decoration: underline; }
.pdp-name { margin: 0; font-size: clamp(1.5rem, 2.9vw, 2.3rem); line-height: 1.2; letter-spacing: 0.18em; }
.pdp-name .scent-en { font-size: 1.5rem; }
.pdp-line { margin: 18px 0 22px; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.pdp-notes { margin-bottom: 28px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pdp .product-formats { margin-top: 0; gap: 8px; }
.pdp .product-formats button { padding: 13px 14px; font-size: 0.74rem; }
.pdp .product-formats .buy-price { font-size: 1.3rem; }
.pdp-detail p { margin: 12px 0 0; font: italic 400 1.15rem/1.4 var(--serif); }
.pdp .product-add { margin-top: 16px; padding: 20px 22px; font-size: 0.86rem; }
.pdp .product-add .buy-price { font-size: 1.55rem; }
.pdp .product-only { margin: 0; }
.pdp .scent-order { margin-top: 16px; }
.pdp-ship { margin: 16px 0 0; font-size: 0.84rem; color: var(--muted); }
.pdp-promises { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; gap: 6px; font: 400 1.12rem/1.4 var(--serif); }
.pdp-promises li::before { content: "◆"; margin-right: 0.9em; font-size: 0.55em; vertical-align: 0.25em; color: var(--gold); }
.pdp-story { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  max-width: 1400px; margin: 0 auto; padding: clamp(64px, 8vw, 110px) var(--gutter); }
.pdp-story .label-card .ca-label { zoom: 1.35; }
.pdp-story-line { margin: 14px 0 0; font: italic 400 1.5rem/1.4 var(--serif); }
.pdp-story .ethos { margin-top: clamp(28px, 4vw, 48px); gap: clamp(20px, 3vw, 40px); }
.pdp-more { padding: clamp(56px, 7vw, 96px) max(var(--gutter), calc((100vw - 1400px) / 2)); background: var(--ground); text-align: center; }
.pdp-more ul { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(10px, 1.6vw, 24px); text-align: left; }
.pdp-more a { display: grid; gap: 8px; text-decoration: none; }
.pdp-more img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 6px; transition: opacity 0.3s; }
.pdp-more a:hover img { opacity: 0.88; }
.pdp-more-name { font: 600 0.88rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.pdp-more-line { font: 400 1.1rem/1.4 var(--serif); color: var(--text-ink); }
.pdp-more > p { margin: clamp(32px, 4vw, 52px) 0 0; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; padding-top: 0; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; margin: 0 calc(-1 * var(--gutter)); }
  .pdp-gallery .product-photo { grid-column: 1; aspect-ratio: 1; max-height: none; }
  .pdp-thumbs { grid-column: 1; grid-row: 2; grid-auto-flow: column; grid-auto-columns: 64px; justify-content: center; }
  .pdp-body { max-width: none; padding-top: 0; }
  .pdp-story { grid-template-columns: 1fr; justify-items: center; }
  .pdp-story .ethos { grid-template-columns: 1fr; }
  .pdp-more ul { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}

/* The line above the masthead that leads to the gifts. */
.gift-bar { margin: 0; padding: 9px var(--gutter); background: var(--ink); color: #efe9df; text-align: center; font-size: 0.78rem; letter-spacing: 0.1em; line-height: 1.4;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 2.2em; }
.gift-bar-ship { color: #f1dc9a; }
.gift-bar a { color: #efe9df; text-decoration: none; }
.gift-bar strong { margin-left: 0.6em; font-weight: 600; color: #f1dc9a; border-bottom: 1px solid var(--gold); white-space: nowrap; }
.gift-bar a:hover { color: #fff; }
@media (max-width: 640px) { .gift-bar { gap: 4px 1.2em; } .gift-bar a span { display: none; } .gift-bar strong { margin: 0; } .gift-bar strong::before { content: "◆ "; font-size: 0.7em; } }

/* The gift page: each set a wide card with its pieces' photos side by side. */
.gift-sets { list-style: none; max-width: 1400px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(40px, 5vw, 72px); display: grid; gap: clamp(22px, 3vw, 44px); }
.gift-set { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--ground); border: 1px solid rgba(176, 132, 48, 0.4); scroll-margin-top: 110px; }
.gift-set:nth-child(even) .gift-photos { order: 2; }
/* Each piece keeps enough of its photo to read its label: two side by side, three as one
   tall photo beside two, four as a square of four. Never narrow strips. */
.gift-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 2px; min-height: 100%; }
.gift-photos-3 a:first-child { grid-row: span 2; }
.gift-photos a { display: block; overflow: hidden; min-height: 280px; }
.gift-photos-2 a { min-height: 460px; }
.gift-photos img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gift-photos a:hover img { transform: scale(1.03); }
.gift-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.4vw, 52px); }
.gift-name { margin-top: 10px; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.gift-body .product-line { margin: 12px 0 18px; font-size: 1.3rem; }
.gift-pieces { list-style: none; margin: 0 0 6px; padding: 0; border-top: 1px solid var(--rule); }
.gift-pieces li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 0.88rem; }
.gift-pieces a { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.gift-pieces a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.gift-piece-price { font: 500 1.1rem/1.2 var(--serif); color: var(--gold-ink); }
.gift-body .product-add { margin-top: 16px; padding: 18px 20px; }
.gift-body .scent-order { align-self: flex-start; }
.set-add[hidden], .set-stock[hidden], .set-reserve[hidden] { display: none; }
.gifts-own { max-width: 40em; margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 110px); text-align: center; }
.gifts-own p { margin: 16px 0 0; font: 400 1.3rem/1.5 var(--serif); }
.gifts-own p:last-child { margin-top: 30px; }
@media (max-width: 900px) {
  .gift-set { grid-template-columns: 1fr; }
  .gift-set:nth-child(even) .gift-photos { order: 0; }
  .gift-photos a, .gift-photos-2 a { min-height: 0; aspect-ratio: 4 / 5; }
  .gift-photos-3 a:first-child { aspect-ratio: auto; }
}

/* Weddings, businesses and commissions: a short brief with its summary beside it. */
.brief-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  max-width: 1400px; margin: 0 auto; padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(40px, 5vw, 72px); }
.brief-hero h1 { font: 400 clamp(2.5rem, 5vw, 4.2rem)/1.05 var(--serif); text-wrap: balance; }
.brief-hero .shop-intro { margin: 20px 0 22px; max-width: 30em; }
.brief-hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.2vw, 16px); }
.brief-hero-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.brief-hero-photos img:last-child { margin-top: clamp(24px, 4vw, 56px); }
.brief { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: start;
  max-width: 1400px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(64px, 8vw, 110px); border-top: 1px solid var(--gold); }
.brief-form h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.brief-lead { margin: 12px 0 8px; font: italic 400 1.25rem/1.45 var(--serif); }
.brief-form fieldset { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.brief-form legend, .brief-field > span { display: block; padding: 0; margin-bottom: 10px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.brief-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.brief-chips label { position: relative; cursor: pointer; }
.brief-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.brief-chips span { display: block; padding: 11px 18px; border: 1px solid var(--rule); background: #fffdf8; font: 400 1.12rem/1.2 var(--serif); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.brief-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #f1dc9a; }
.brief-chips input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.brief-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brief-field { display: block; margin-top: 26px; }
.brief-field input, .brief-field select, .brief-field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--rule); border-radius: 0; background: #fffdf8;
  color: var(--text-ink); font: 400 1.05rem/1.4 var(--sans); }
.brief-field textarea { resize: vertical; }
.brief-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; font: 400 1.2rem/1.35 var(--serif); cursor: pointer; }
.brief-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: #15110d; }
.brief-card { position: sticky; top: 110px; padding: clamp(26px, 3vw, 44px); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -8px; background: #fffdf8; text-align: center; }
.brief-card > img { width: 84px; height: auto; }
.brief-card h2 { margin-top: 6px; font-size: 2.1rem; }
.brief-summary { margin: 20px 0 26px; text-align: left; }
.brief-summary > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--rule); }
.brief-summary > div:last-child { border-bottom: 1px solid var(--rule); }
.brief-summary dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.7; }
.brief-summary dd { margin: 0; font: 400 1.15rem/1.35 var(--serif); overflow-wrap: anywhere; }
.brief-summary dd.is-empty { font-style: italic; color: var(--muted); }
.brief-card .hero-cta { display: block; margin-top: 22px; }
.brief-small { margin: 16px 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.foot-brief { margin-top: 28px !important; }
.foot-cta { display: inline-block; padding: 16px 28px; border: 1px solid var(--gold); color: #f1dc9a !important; text-decoration: none; font: 600 0.8rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s; }
.foot-cta:hover { background: #f1dc9a; color: var(--ink) !important; }
.gifts-own-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 36px; }
@media (max-width: 900px) {
  .brief-hero, .brief { grid-template-columns: 1fr; }
  .brief-card { position: static; }
  .brief-row { grid-template-columns: 1fr; gap: 0; }
}

/* The wish list: hearts on the cards and the scent pages, and the list's own page. */
.product { position: relative; }
.wish { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text-ink); }
.product > .wish { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; justify-content: center; border-radius: 999px;
  background: rgba(255, 253, 248, 0.88); box-shadow: 0 6px 16px -8px rgba(20, 16, 12, 0.5); transition: transform 0.25s, background 0.25s; }
.product > .wish:hover { transform: scale(1.08); background: #fffdf8; }
.wish[aria-pressed="true"] .heart-icon { fill: #a23b33; stroke: #a23b33; animation: beat 0.4s ease; }
@keyframes beat { 40% { transform: scale(1.3); } }
.wish-words { font: 500 0.78rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.wish-words:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; }
.pdp-wish { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 18px 0 0; }
.wish-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.wish-link:hover span:not(.wish-count) { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; }
.wish-link .heart-icon { width: 18px; height: 18px; }
.has-wishes .wish-link .heart-icon { fill: #a23b33; stroke: #a23b33; }
.wish-count { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 0.4em; border: 1px solid var(--gold); border-radius: 999px; letter-spacing: 0; color: var(--gold-ink); }
html:not(.has-wishes) .pdp-wish .wish-link { display: none; }
.basket-toast a { margin-left: 12px; color: #f1dc9a; white-space: nowrap; }
.wish-page .house-fly { margin-bottom: 14px; }
.wish-list { list-style: none; max-width: 860px; margin: clamp(20px, 3vw, 40px) auto 0; padding: 0 var(--gutter); }
.wish-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "pic name price" "pic format do"; gap: 4px 20px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--rule); }
.wish-list li:last-child { border-bottom: 1px solid var(--rule); }
.wl-photo { grid-area: pic; display: block; }
.wl-photo img { display: block; width: 96px; height: 120px; object-fit: cover; }
.wl-name { grid-area: name; align-self: end; font: 600 0.98rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; }
.wl-format { grid-area: format; align-self: start; font: italic 400 1.2rem/1.3 var(--serif); }
.wl-price { grid-area: price; align-self: end; justify-self: end; font: 500 1.4rem/1.2 var(--serif); color: var(--gold-ink); }
.wl-do { grid-area: do; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; align-items: center; }
.wl-add { padding: 10px 14px; border: 1px solid var(--ink); background: var(--ink); color: #f1dc9a; cursor: pointer; font: 600 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.wl-add:disabled { background: none; color: var(--gold-ink); border-color: var(--rule); cursor: default; }
.wl-remove { padding: 4px 0; border: 0; background: none; cursor: pointer; color: var(--muted); font: 500 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 0.3em; }
.wl-remove[hidden], .wish-actions[hidden], .wish-empty[hidden], .wish-share[hidden], .wish-own[hidden] { display: none; }
.wish-actions { max-width: 860px; margin: 0 auto; padding: 26px var(--gutter) clamp(64px, 8vw, 110px); text-align: center; }
.wish-all { width: 100%; padding: 20px 22px; }
.wish-all:disabled { opacity: 0.4; cursor: default; }
.wish-share { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 12px 30px; margin: 34px 0 0; font: italic 400 1.3rem/1.4 var(--serif); }
.wish-share .hero-link, .wish-own .hero-link { border-top: 0; border-left: 0; border-right: 0; background: none; cursor: pointer; color: var(--text-ink); font-family: var(--sans); font-style: normal; text-transform: uppercase; }
.wish-own { margin: 30px 0 0; }
.wish-empty { max-width: 34em; margin: 0 auto; padding: 10px var(--gutter) clamp(64px, 8vw, 110px); text-align: center; }
.wish-empty p { margin: 0 0 28px; font: italic 400 1.3rem/1.5 var(--serif); }
@media (max-width: 640px) {
  .wish-list li { grid-template-areas: "pic name name" "pic format price" "pic do do"; gap: 4px 14px; }
  .wl-photo img { width: 80px; height: 100px; }
  .wl-do { justify-self: start; justify-content: flex-start; margin-top: 6px; }
  .wl-price { align-self: start; }
}

/* The legal pages: plain reading pages in the house type. */
.legal { min-height: 100vh; }
.legal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); border-bottom: 1px solid var(--rule);
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.14em; }
.legal-head img { display: block; height: 28px; width: auto; }
.legal-head a { text-decoration: none; }
.legal-body { max-width: 44em; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); font-size: 1rem; }
.legal-body h1 { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1.1 var(--serif); }
.legal-body h2 { margin: 36px 0 8px; font: 500 1.6rem/1.2 var(--serif); }
.legal-body h3 { margin: 24px 0 8px; font: 600 0.84rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.legal-date { color: var(--muted); font-size: 0.86rem; }
.legal-form { margin: 0; padding: 4px 22px; border-left: 2px solid var(--gold); font: italic 400 1.1rem/1.5 var(--serif); }
.legal-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 32px var(--gutter) 48px; background: var(--ink);
  font-size: 0.84rem; letter-spacing: 0.14em; }
.legal-foot a { color: #e8d7a8; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-show { order: -1; height: 52svh; min-height: 300px; }
  .collection-index { grid-template-columns: repeat(2, 1fr); }
  .format-tiles { grid-template-columns: 1fr 1fr; }
  .scent-panel { grid-template-columns: 1fr; gap: 28px; }
  .collection:nth-of-type(even) .scent-show { order: 0; }
  .scent-show { max-width: 520px; }
  .scent-show .label-card, .collection:nth-of-type(even) .scent-show .label-card { right: -6px; left: auto; bottom: 8px; }
  .collection:nth-of-type(even) .scent-thumbs { margin-left: 0; }
  .label-card .ca-label { zoom: 0.6; }
  .pdp-story .label-card .ca-label { zoom: 1.1; }
  .scent-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 10px var(--gutter); gap: 22px; }
  .scent-tabs::-webkit-scrollbar { display: none; }
  .scent-tab { flex: 0 0 auto; white-space: nowrap; font-size: 0.78rem; letter-spacing: 0.16em; }
  .scent-text { max-width: none; }
  .ethos { grid-template-columns: 1fr; }
  /* Side padding of half the spare width, so every photo, the first and last too, can snap to the centre. */
  .gallery { width: auto; justify-self: stretch; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 0 calc((100vw - min(82vw, 380px)) / 2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery figure { flex: 0 0 auto; width: min(82vw, 380px); aspect-ratio: 4 / 5; scroll-snap-align: center; }
}
@media (max-width: 640px) {
  .masthead { grid-template-columns: 1fr auto; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .masthead-word { height: 18px; }
  .masthead.stuck .masthead-word { height: 16px; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .masthead-mark { justify-self: start; }
  .masthead-end > a:first-child { display: none; }
  .masthead-end { gap: 10px; }
  /* The photograph first, then the framed title, both on the first screen. */
  .hero { margin-top: 0; width: 100%; }
  .hero-show { height: 40svh; }
  .hero-card { margin: 12px var(--gutter) 0; padding: 24px 16px 26px; }
  .hero-fly { width: 92px; margin-bottom: 8px; }
  .hero h1 img { width: min(52vw, 220px); }
  .hero-line { margin: 12px 0 2px; font-size: 1.18rem; }
  .hero-place { margin-bottom: 16px; font-size: 0.72rem; letter-spacing: 0.14em; }
  .hero-links { gap: 14px; }
  .hero-cta { padding: 14px 26px; font-size: 0.78rem; }
  .hero-link { font-size: 0.76rem; letter-spacing: 0.14em; padding-bottom: 4px; }
  .collection-index { grid-template-columns: 1fr; }
  .collection-index a { flex-direction: row; }
  .collection-index img { width: 38%; aspect-ratio: 1; }
  .format-tile-text { padding: 14px 12px 16px; }
  .format-tile-name { font-size: 1.2rem; }
  .format-tile-foot { flex-direction: column; gap: 8px; }
  .format-tile-go { text-align: left; align-self: flex-start; }
  .finder { margin-left: var(--gutter); margin-right: var(--gutter); padding-left: 0; padding-right: 0; }
  .finder-photos { grid-template-columns: 1fr 1fr; }
  .finder-photos img { aspect-ratio: 1; }
  .finder-photos button > span { padding: 10px 12px 12px; font-size: 1.05rem; }
  .finder-formats { grid-template-columns: 1fr; }
  .finder-formats button { flex-direction: row; align-items: center; }
  .finder-formats img { width: 34%; }
  .finder-words { grid-template-columns: 1fr 1fr; }
  .finder-words button { padding: 14px 12px 16px; }
  .finder-words button > span { font-size: 0.78rem; letter-spacing: 0.14em; }
  .finder-words em { font-size: 1rem; }
  .finder-result { grid-template-columns: 1fr; }
  .finder-photo { aspect-ratio: 5 / 4; }
  .notes { grid-template-columns: 1fr 1fr; }
  .notes > div:last-child { grid-column: 1 / -1; }
  .format-list > div { grid-template-columns: 1fr; gap: 4px; }
  .buy { grid-template-columns: 1fr 1fr; }
  .basket-head, .basket-lines { padding-left: 18px; padding-right: 18px; }
  .basket-sums { padding: 14px 18px 0; }
  .basket-note, .basket-pay, .basket-error, .basket-small, .basket-more { margin-left: 18px; margin-right: 18px; }
  .basket-progress { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .framed .hero-frame path, .framed .hero-frame .inner { stroke-dashoffset: 0; }
  .hero-slide.is-on img { transform: none; }
}

/* Safety information on each card: safe use, the hazard label and who made it (CLP, GPSR). */
.product-safety { margin-top: 14px; font-size: 0.82rem; line-height: 1.5; }
.product-safety summary { cursor: pointer; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem; }
.product-safety p { margin: 8px 0 0; }
.safety-title { font-weight: 600; }
.safety-pics { display: flex; gap: 6px; margin-bottom: 6px; }
.safety-maker { color: var(--muted); }
/* A size that has sold out says so on its button. */
.product-formats button.is-out { opacity: 0.6; }
.format-out { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8a2a1a; }
.shop-closed-note { max-width: 34em; margin: 10px auto 0; font-size: 0.92rem; }
.basket-free, .basket-closed { margin: 10px 28px 0; font-size: 0.86rem; }
.basket-free { color: var(--gold-ink); }
/* The line that fills towards free delivery, and the pieces that go with the basket. */
.basket-progress { padding: 14px 28px 16px; border-bottom: 1px solid var(--rule); background: rgba(200, 157, 66, 0.08); }
.basket-progress[hidden], .basket-more[hidden], .basket-bar[hidden] { display: none; }
.basket-progress .basket-free { margin: 0 0 9px; font: italic 400 1.08rem/1.3 var(--serif); color: var(--text-ink); }
.basket-progress.is-done .basket-free { color: var(--gold-ink); }
.basket-meter { height: 4px; background: rgba(176, 132, 48, 0.25); }
.basket-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #9e722a, #d4af37 60%, #f1dc9a); transition: width 0.6s ease; }
.basket-more { margin: 20px 28px 0; padding: 14px 16px 6px; border: 1px solid rgba(176, 132, 48, 0.4); background: #fffdf8; }
.basket-more > p { margin: 0 0 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.basket-more ul { list-style: none; margin: 0; padding: 0; }
.basket-more li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "pic name add" "pic format add"; gap: 0 12px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(176, 132, 48, 0.25); }
.basket-more li:first-child { border-top: 0; }
.basket-more img { grid-area: pic; display: block; width: 48px; height: 60px; object-fit: cover; }
.bm-name { grid-area: name; align-self: end; font: 600 0.76rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.bm-format { grid-area: format; align-self: start; font: italic 400 1rem/1.3 var(--serif); }
.basket-more button { grid-area: add; padding: 9px 12px; border: 1px solid var(--ink); background: none; cursor: pointer; color: var(--text-ink);
  font: 600 0.68rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.basket-more button:hover { background: var(--ink); color: #f1dc9a; }
.basket-bar { display: none; }
@media (max-width: 900px) {
  .basket-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    padding: 14px 18px; border: 1px solid var(--gold); background: var(--ink); color: #f1dc9a; cursor: pointer; text-align: left;
    font: 600 0.78rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; box-shadow: 0 16px 34px -14px rgba(20, 16, 12, 0.7); animation: settle 0.4s ease; }
  .bb-count { display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; border: 1px solid #f1dc9a; border-radius: 999px; letter-spacing: 0; }
  .bb-total { font: 500 1.3rem/1 var(--serif); letter-spacing: 0; text-transform: none; }
  .has-basket .foot { padding-bottom: 104px; }
  .has-basket .basket-toast { bottom: 96px; }
}

/* The whole basket scrolls on a short screen, so no line hides under the totals. */
.basket[open] { overflow-y: auto; }
.basket-lines { flex: 0 0 auto; overflow: visible; }

/* On a phone, the products come sooner: a shorter heading and one sideways row per filter. */
@media (max-width: 700px) {
  .shop-head { padding: 28px var(--gutter) 4px; }
  .shop-intro { font-size: 1.1rem; margin-top: 10px; }
  .shop-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .shop-chips::-webkit-scrollbar { display: none; }
  .shop-chips button { flex: 0 0 auto; white-space: nowrap; }
}

/* Motion. Pages cross-fade into one another and a scent's photo glides from its card
   to its own page; the masthead stays put. Blocks rise into place as they scroll into
   view. Both only where the browser can do them, and never for visitors who ask for
   less motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .masthead { view-transition-name: masthead; }
  .pdp .product-photo { view-transition-name: scent-photo; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.32s; }
  ::view-transition-group(scent-photo) { animation-duration: 0.5s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.1, 1); }
  ::view-transition-old(scent-photo), ::view-transition-new(scent-photo) { height: 100%; object-fit: cover; }
  @supports (animation-timeline: view()) {
    .products .product, .gift-set, .collection-index li, .format-tiles li, .ethos li, .finder, .pdp-story, .pdp-more li, .house-text > * {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(34px); } }

/* The buying bar at the foot of a scent's page on phones. */
.buy-bar { display: none; }
@media (max-width: 900px) {
  .buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 24; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fbf8f1; border-top: 1px solid var(--gold); box-shadow: 0 -14px 30px -20px rgba(20, 16, 12, 0.5); animation: settle 0.3s ease; }
  .buy-bar[hidden] { display: none; }
  .buy-bar-text { display: grid; gap: 3px; min-width: 0; }
  .buy-bar-name { font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar-format { font: italic 400 0.98rem/1.2 var(--serif); color: var(--muted); }
  .buy-bar button { flex: none; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 0; background: var(--ink); color: #f1dc9a; cursor: pointer;
    font: 600 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
  .buy-bar .buy-price { font-size: 1.2rem; letter-spacing: 0; color: inherit; }
  .has-buy-bar .basket-bar { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .has-buy-bar .foot { padding-bottom: 96px; }
  .has-buy-bar.has-basket .foot { padding-bottom: 170px; }
}

/* A collection's own page: its story beside three of its photographs on the collection's
   paper, then its scents as the shop's cards, its gift sets and the other collections. */
.col-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(36px, 5vw, 76px) max(var(--gutter), calc((100vw - 1400px) / 2)); background-color: var(--ground); border-bottom: 1px solid rgba(176, 132, 48, 0.4); }
.col-costa { background-image: var(--ca-paper-costa); }
.col-hammam { background-image: var(--ca-paper-hammam); }
.col-reserva { background-image: var(--ca-paper-reserva); }
.col-navidad { background-image: var(--ca-paper-navidad); background-blend-mode: soft-light; }
.col-words { max-width: 34em; }
.col-hero h1 { margin: 0; font: 400 clamp(3rem, 6.4vw, 5.4rem)/1 var(--serif); color: var(--text); text-wrap: balance; }
.col-line { margin: 18px 0 0; font: italic 400 clamp(1.3rem, 2vw, 1.7rem)/1.4 var(--serif); }
.col-story { margin: 22px 0 0; font: 400 1.22rem/1.65 var(--serif); color: var(--text-ink); }
.col-go { margin: 32px 0 0; }
.col-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(6px, 0.8vw, 12px); }
.col-photos img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; box-shadow: 0 26px 50px -34px rgba(40, 30, 10, 0.7); }
.col-photos img:first-child { grid-row: span 2; aspect-ratio: auto; }
.col-scents { padding: clamp(48px, 6vw, 88px) 0 0; text-align: center; }
.col-scents h2, .col-gifts h2, .col-others h2 { font: 400 clamp(2rem, 3.6vw, 2.9rem)/1.1 var(--serif); margin: 0; }
.col-scents .shop-ship { margin-top: 12px; }
.col-scents .products { text-align: left; }
.col-gifts { margin-top: clamp(40px, 6vw, 80px); padding: clamp(48px, 6vw, 84px) max(var(--gutter), calc((100vw - 1400px) / 2)); background: var(--ground); text-align: center; }
.col-gifts ul { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 2vw, 28px); text-align: left; }
.col-gifts a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding-bottom: 20px; background: #fffdf8; border: 1px solid rgba(176, 132, 48, 0.4); text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease; }
.col-gifts a:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(40, 30, 10, 0.55); }
.col-gift-photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; margin-bottom: 10px; }
.col-gift-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.col-gift-name, .col-gift-line, .col-gifts .buy-price { padding: 0 20px; }
.col-gift-name { font: 400 1.55rem/1.2 var(--serif); }
.col-gift-line { font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.col-gifts .buy-price { margin-top: auto; padding-top: 8px; font-size: 1.5rem; }
.col-others { padding-top: clamp(56px, 7vw, 96px); }
.col-others .collection-index { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
.col-all { margin: clamp(32px, 4vw, 52px) 0 0; }
.collection-see { margin: 18px 0 0; }
@media (max-width: 900px) {
  .col-hero { grid-template-columns: 1fr; }
  .col-photos { order: -1; }
  .col-words { max-width: none; text-align: center; margin: 0 auto; }
}
@media (max-width: 640px) {
  .col-others .collection-index { grid-template-columns: 1fr; }
}

/* Search from any page: a sheet under the masthead with every scent, collection and gift set. */
.search-open { display: inline-flex; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.search-open[hidden] { display: none; }
.search-open:hover { color: var(--gold-ink); }
.search { width: min(760px, calc(100vw - 24px)); max-width: none; max-height: min(86dvh, 820px); margin: clamp(12px, 6vh, 72px) auto auto; padding: 0;
  border: 1px solid rgba(176, 132, 48, 0.5); background: #faf7f2; color: var(--text-ink); box-shadow: 0 40px 80px -30px rgba(20, 14, 4, 0.6); overflow: hidden; }
.search[open] { display: flex; flex-direction: column; }
.search::backdrop { background: rgba(18, 15, 12, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.search-bar { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid rgba(176, 132, 48, 0.4); color: var(--gold-ink); }
.search-bar input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 400 clamp(1.25rem, 2.6vw, 1.6rem)/1.3 var(--serif); color: var(--text-ink); }
.search-bar input::placeholder { font-style: italic; color: var(--muted); }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-close { border: 0; background: none; cursor: pointer; padding: 6px 0; color: var(--text-ink); font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.search-close:hover { color: var(--gold-ink); }
.search-body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 22px; }
.search-start[hidden], .search-results[hidden], .search-none[hidden] { display: none; }
.search-label { margin: 18px 0 10px; font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.search-chips a { padding: 8px 15px; border: 1px solid var(--rule); border-radius: 999px; background: var(--ground, transparent); color: var(--text-ink); text-decoration: none;
  font: 500 0.74rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.search-chips a:hover, .search-chips a:focus-visible { background: var(--ink); border-color: var(--ink); color: #f1dc9a; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { border-bottom: 1px solid rgba(176, 132, 48, 0.25); }
.search-results a { display: flex; align-items: center; gap: 16px; padding: 12px 8px; margin: 0 -8px; text-decoration: none; color: inherit; }
.search-results a:hover, .search-results a:focus-visible { background: var(--ground, rgba(200, 157, 66, 0.12)); }
.search-results img { flex: 0 0 auto; width: 64px; height: 80px; object-fit: cover; }
.search-text { display: grid; gap: 2px; min-width: 0; }
.search-kind { font: 600 0.64rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.search-name { font: 400 1.4rem/1.2 var(--serif); }
.search-sub { font-size: 0.88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-none { margin: 26px 0 8px; font: italic 400 1.2rem/1.4 var(--serif); text-align: center; }
@media (max-width: 640px) {
  .search { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border: 0; }
  .search-bar { padding: 14px 16px; } .search-body { padding: 4px 16px 20px; }
}

/* Recently viewed: a row of the scents this visitor has opened, above the footer on every page. */
.seen { padding: clamp(40px, 5vw, 68px) max(var(--gutter), calc((100vw - 1400px) / 2)) clamp(44px, 5vw, 72px); background: #fffdf8; border-top: 1px solid rgba(176, 132, 48, 0.35); }
.seen[hidden] { display: none; }
.seen-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.seen-head h2 { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--serif); margin: 0; }
.seen-clear { border: 0; background: none; padding: 0 0 3px; border-bottom: 1px solid var(--gold); cursor: pointer; color: var(--text-ink);
  font: 600 0.68rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.seen-list { list-style: none; margin: clamp(20px, 2.6vw, 32px) 0 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(132px, 13vw, 170px);
  gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
.seen-list li { scroll-snap-align: start; }
.seen-list a { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.seen-list img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 8px; transition: opacity 0.3s; }
.seen-list a:hover img { opacity: 0.88; }
.seen-kind { font: 600 0.6rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.seen-name { font: 400 1.2rem/1.2 var(--serif); }

/* Build your box: the melts by collection, and a tray stuck to the foot of the screen that fills as you choose. */
.box-band { margin: 0; padding: 14px var(--gutter) clamp(20px, 3vw, 36px); text-align: center; }
.box-band a { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; padding: 14px 26px; border: 1px solid rgba(176, 132, 48, 0.55);
  background: #fffdf8; text-decoration: none; color: var(--text-ink); }
.box-band a:hover { background: var(--ink); color: #f1dc9a; }
.box-band strong { font: 600 0.74rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.box-band span { font: italic 400 1.15rem/1.3 var(--serif); }
.box-groups { max-width: 1400px; margin: 0 auto; padding: clamp(20px, 3vw, 40px) var(--gutter) clamp(40px, 5vw, 72px); display: grid; gap: clamp(36px, 5vw, 64px); }
.box-group h2 { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--serif); text-align: center; margin: 0 0 clamp(18px, 2.4vw, 30px); }
.box-melts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 210px), 1fr)); gap: clamp(10px, 1.6vw, 22px); }
.box-melt { display: flex; flex-direction: column; background: var(--ground); border: 1px solid rgba(176, 132, 48, 0.35); transition: box-shadow 0.25s, border-color 0.25s; }
.box-melt.is-picked { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.box-melt-photo { position: relative; display: block; }
.box-melt-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.box-melt-count { position: absolute; top: 10px; right: 10px; min-width: 38px; padding: 7px 8px; border-radius: 999px; background: var(--ink); color: #f1dc9a; text-align: center;
  font: 600 0.82rem/1 var(--sans); letter-spacing: 0.06em; }
.box-melt-count[hidden] { display: none; }
.box-melt h3 { margin: 14px 14px 0; font: 600 0.8rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.box-melt h3 a { color: inherit; text-decoration: none; }
.box-melt > p { margin: 6px 14px 14px; font: 400 1.02rem/1.35 var(--serif); color: var(--text-ink); }
.box-pick { margin: auto 14px 14px; padding: 12px 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  font: 600 0.68rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.box-pick:hover:not(:disabled) { background: var(--ink); color: #f1dc9a; }
.box-pick:disabled { opacity: 0.35; cursor: default; }
.box-pick[hidden], .box-melt-out[hidden] { display: none; }
.box-melt-out { font-style: italic; color: var(--muted) !important; }
.box-tray { position: sticky; bottom: 0; z-index: 15; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px clamp(16px, 2.4vw, 32px);
  padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: rgba(250, 247, 242, 0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(176, 132, 48, 0.5); box-shadow: 0 -18px 36px -28px rgba(40, 30, 10, 0.5); }
.box-slots { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.box-slot { display: grid; place-items: center; width: clamp(44px, 5vw, 58px); height: clamp(44px, 5vw, 58px); padding: 0; border-radius: 50%; overflow: hidden;
  border: 1px dashed rgba(138, 100, 30, 0.7); background: #fffdf8; color: var(--gold-ink); font: 400 1.15rem/1 var(--serif); }
.box-slot.is-full { border: 2px solid var(--ink); cursor: pointer; }
.box-slot img { width: 100%; height: 100%; object-fit: cover; }
.box-slot.is-full:hover img { opacity: 0.6; }
.box-status { margin: 0; min-width: 15em; font: italic 400 1.12rem/1.3 var(--serif); color: var(--text-ink); text-align: center; }
.box-tray.is-free .box-status { color: var(--gold-ink); font-weight: 500; }
.box-tray .box-add { width: auto; min-width: min(100%, 340px); margin: 0; gap: 22px; }
.box-tray .box-add:disabled { opacity: 0.4; cursor: default; }
@media (max-width: 760px) {
  .box-tray { gap: 8px 14px; padding-top: 10px; }
  .box-status { min-width: 0; flex: 1 1 100%; order: -1; font-size: 1rem; }
  .box-tray .box-add { flex: 1 1 100%; padding-top: 14px; padding-bottom: 14px; }
}

/* The winter band on the front page: Navidad's paper, two photographs and three ways in. */
.season { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px);
  padding: clamp(56px, 7vw, 100px) max(var(--gutter), calc((100vw - 1400px) / 2)); background: var(--ground); }
.season[hidden] { display: none; }
.season-photos { position: relative; padding: 0 0 clamp(40px, 6vw, 80px) 0; }
.season-photos img { display: block; height: auto; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 50px -34px rgba(40, 20, 20, 0.6); }
.season-photos img:first-child { width: 66%; }
.season-photos img:last-child { position: absolute; right: 0; bottom: 0; width: 46%; border: 8px solid var(--ground); }
.season-eyebrow { margin: 0 0 14px; font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); }
.season h2 { text-wrap: balance; }
.season-line { margin: 18px 0 0; font: italic 400 1.35rem/1.45 var(--serif); max-width: 26em; }
.season-links { list-style: none; margin: clamp(22px, 3vw, 34px) 0; padding: 0; border-top: 1px solid rgba(138, 100, 30, 0.45); max-width: 34em; }
.season-links a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px; padding: 16px 2px; border-bottom: 1px solid rgba(138, 100, 30, 0.45);
  text-decoration: none; color: var(--text-ink); transition: padding 0.25s; }
.season-links a:hover { padding-left: 10px; color: var(--ink); }
.season-links strong { font: 400 1.5rem/1.2 var(--serif); }
.season-links span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 900px) {
  .season { grid-template-columns: 1fr; }
  .season-photos { max-width: 520px; }
}

/* The footer's site map: four short columns under the contact links. */
.foot-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); max-width: 1080px; margin: clamp(48px, 6vw, 76px) auto 0;
  padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid rgba(232, 215, 168, 0.28); text-align: left; }
.foot-map h3 { margin: 0 0 14px; font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: #f1dc9a; }
.foot-map ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-map a, .foot-search { color: #ddd5c8; text-decoration: none; font: 400 1.18rem/1.3 var(--serif); }
.foot-map a:hover, .foot-search:hover { color: #fff2b2; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot-search { padding: 0; border: 0; background: none; cursor: pointer; }
.foot-search[hidden] { display: none; }
@media (max-width: 760px) { .foot-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The gallery: a wall of every photograph, some large, each a link to its scent. */
.gallery-tools { display: grid; gap: 12px; justify-items: center; padding: 18px var(--gutter) 16px; }
.gallery-tools[hidden] { display: none; }
.gallery { list-style: none; margin: 0 auto; padding: clamp(20px, 3vw, 40px) var(--gutter) clamp(56px, 7vw, 96px); max-width: 1600px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(6px, 0.9vw, 14px); }
.gallery > li[hidden] { display: none; }
.gallery-big { grid-column: span 2; grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery a { position: relative; display: block; height: 100%; overflow: hidden; background: var(--ground); }
.gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 1000 / 1241; object-fit: cover; transition: transform 0.6s ease; }
.gallery-wide img { aspect-ratio: auto; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3px; padding: 42px 16px 14px; color: #fff8e6;
  background: linear-gradient(to top, rgba(18, 15, 12, 0.72), rgba(18, 15, 12, 0)); opacity: 0; transition: opacity 0.3s; }
.gallery a:hover .gallery-cap, .gallery a:focus-visible .gallery-cap { opacity: 1; }
.gallery-name { font: 600 0.8rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.gallery-format { font: italic 400 1rem/1.2 var(--serif); }
@media (hover: none) { .gallery-cap { opacity: 1; padding: 30px 10px 9px; } .gallery-name { font-size: 0.62rem; letter-spacing: 0.14em; } .gallery-format { font-size: 0.88rem; } }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.collections-head > .collections-gallery { margin-top: clamp(28px, 3.4vw, 44px); }

/* A scent's notes as a path: what you notice first, its character, what lingers. Each note leads to the scents that share it. */
.pdp-journey { list-style: none; margin: 0 0 28px; padding: 22px 0 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; gap: 0; }
.pdp-journey li { position: relative; display: grid; grid-template-columns: minmax(0, 11.5em) minmax(0, 1fr); gap: 8px 22px; align-items: baseline; padding: 0 0 20px 30px; }
.pdp-journey li:last-child { padding-bottom: 0; }
.pdp-journey li::before { content: ""; position: absolute; left: 4px; top: 0.42em; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-ink); background: var(--ground, #faf7f2); z-index: 1; }
.pdp-journey li:first-child::before { background: var(--gold-ink); }
.pdp-journey li::after { content: ""; position: absolute; left: 8.5px; top: 0.9em; bottom: -0.4em; width: 1px; background: rgba(138, 100, 30, 0.55); }
.pdp-journey li:last-child::after { display: none; }
.journey-step { margin: 0; display: grid; gap: 2px; }
.journey-step strong { font: 600 0.76rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.journey-step span { font: italic 400 1rem/1.3 var(--serif); color: var(--muted); }
.journey-notes { margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.journey-notes a { padding: 6px 13px; border: 1px solid rgba(138, 100, 30, 0.5); border-radius: 999px; background: rgba(255, 253, 248, 0.55); color: var(--text-ink); text-decoration: none;
  font: 400 1.02rem/1.2 var(--serif); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.journey-notes a:hover, .journey-notes a:focus-visible { background: var(--ink); border-color: var(--ink); color: #f1dc9a; }
@media (max-width: 560px) { .pdp-journey li { grid-template-columns: 1fr; } }

/* Gifts by budget: chips over the sets, and single pieces for a small gift. */
.gift-budgets { padding: 4px var(--gutter) 0; }
.gift-budgets[hidden], .gift-set[hidden] { display: none; }
.gift-small { padding: clamp(24px, 4vw, 56px) max(var(--gutter), calc((100vw - 1400px) / 2)) clamp(56px, 7vw, 96px); }
.gift-small-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .gift-small-tiles { grid-template-columns: 1fr; max-width: 420px; } }

/* Sending it as a gift: a tick in the basket opens a card to write on, ruled like note paper inside the label's double gold rule. */
.basket.is-empty .gift { display: none; }
.gift { margin: 16px 28px 0; }
.gift-toggle { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; cursor: pointer; border: 1px solid var(--rule);
  background: rgba(200, 157, 66, 0.07); transition: background 0.2s; }
.gift-toggle:hover { background: rgba(200, 157, 66, 0.14); }
.gift-toggle input { flex: none; appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1px solid var(--gold-ink); background: var(--paper);
  cursor: pointer; display: grid; place-content: center; }
.gift-toggle input::after { content: ""; width: 11px; height: 6px; border: solid #f1dc9a; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); opacity: 0; }
.gift-toggle input:checked { background: var(--ink); border-color: var(--ink); }
.gift-toggle input:checked::after { opacity: 1; }
.gift-toggle input:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.gift-toggle strong { display: block; font: 600 0.8rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.gift-toggle small { display: block; margin-top: 4px; font-size: 0.84rem; line-height: 1.45; color: var(--muted); }
.basket.is-gift .gift-toggle { border-bottom-color: transparent; }
.gift-card { position: relative; padding: 18px 20px 14px; background: #fffdf8; border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 4px #fffdf8, inset 0 0 0 5px rgba(176, 132, 48, 0.75), 0 10px 24px -16px rgba(40, 28, 12, 0.45); }
.gift-card[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .gift-card:not([hidden]) { animation: gift-in 0.3s ease; } }
@keyframes gift-in { from { opacity: 0; transform: translateY(-6px); } }
.gift-card label { display: block; font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.gift-note { display: block; width: 100%; box-sizing: border-box; margin: 6px 0 0; padding: 0 2px; resize: vertical; min-height: calc(4 * 1.9rem);
  border: 0; background: transparent repeating-linear-gradient(to bottom, transparent 0 calc(1.9rem - 1px), rgba(176, 132, 48, 0.4) calc(1.9rem - 1px) 1.9rem);
  font: italic 400 1.2rem/1.9rem var(--serif); color: var(--text-ink); }
.gift-note::placeholder { color: rgba(60, 50, 40, 0.42); }
.gift-note:focus { outline: none; }
.gift-card:focus-within { border-color: var(--gold-ink); }
.gift-left { margin: 6px 0 0; text-align: right; font-size: 0.74rem; color: var(--muted); }
.gift-address { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid rgba(176, 132, 48, 0.35); font-size: 0.84rem; line-height: 1.45; }
@media (max-width: 720px) { .gift { margin-left: 18px; margin-right: 18px; } .gift-card { padding: 16px 16px 12px; } }

/* The gifts page: what "It's a gift" does, beside a little card. */
.gift-send { display: grid; grid-template-columns: auto minmax(0, 34rem); gap: clamp(24px, 4vw, 56px); align-items: center; justify-content: center;
  margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--gutter); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.gift-send h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.gift-send ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; }
.gift-send li { counter-increment: step; position: relative; padding: 10px 0 10px 46px; border-bottom: 1px solid rgba(176, 132, 48, 0.35); }
.gift-send li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; display: grid; place-content: center;
  border: 1px solid var(--gold); border-radius: 50%; font: 400 1.05rem/1 var(--serif); color: var(--gold-ink); }
.gift-send-card { width: 220px; aspect-ratio: 5 / 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px; box-sizing: border-box; background: #fffdf8; border: 1px solid var(--gold); transform: rotate(-3deg);
  box-shadow: inset 0 0 0 5px #fffdf8, inset 0 0 0 6px rgba(176, 132, 48, 0.75), 0 18px 34px -20px rgba(40, 28, 12, 0.55); }
.gift-send-card img { width: 56px; height: auto; }
.gift-send-card p { margin: 0; text-align: center; font: italic 400 1.45rem/1.3 var(--serif); }
@media (max-width: 720px) {
  .gift-send { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .gift-send-card { width: 170px; }
  .gift-send > div:last-child { width: 100%; }
}
