/* World Luxe site styles. Black, white and grey with one grotesk font, in the spirit of
   Saint Laurent and Byredo. The brass globe is the only colour on the page. */
:root {
  --ink: #000;
  --paper: #fff;
  --grey: #f3f3f3;
  --ink-soft: #333;
  --muted: #767676;
  --line: #e2e2e2;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --max: 1440px;
  --header-h: 60px;
}

@media (min-width: 750px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
}
button, input, select, textarea { font: inherit; color: inherit; }
/* No single word left alone on the last line: headings even out, body text avoids orphans */
h1, h2, h3, .hero-heading, .section-heading, .product-title, .about-lede { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 13px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--paper); padding: 10px 14px; }
.skip-link:focus { left: 8px; }

.eyebrow {
  margin: 0 0 14px;
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons and fields */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 500 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: #333; border-color: #333; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); border-color: var(--ink); }

.field { margin-bottom: 20px; }
.field-label {
  display: block;
  margin-bottom: 8px;
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.input, .select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  font-size: 16px;
}
textarea.input { min-height: 120px; resize: vertical; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.input:focus, .select:focus { border-color: var(--ink); outline: none; }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); background: #fff; min-height: 48px; }
.qty button { width: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty input {
  width: 48px; border: 0; text-align: center; font-size: 16px; -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }

.form-success { color: #2f5d3a; }
.form-error { color: #9b2c1f; font-size: 14px; margin-top: 12px; }
.form-error ul { margin: 0; padding-left: 18px; }

/* Rich text */
.rte > *:last-child { margin-bottom: 0; }
.rte a { color: var(--ink); }

/* Announcement bar */
.announcement {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 9px var(--gutter);
  font: 500 10px/1.5 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.announcement p { margin: 0; }
.announcement a { text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
}
.header-right { justify-self: end; }
.wordmark {
  font: 700 18px/1 var(--sans);
  letter-spacing: .16em;
  padding-left: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-logo { width: 116px; height: auto; }
@media (min-width: 750px) { .wordmark { font-size: 22px; } .wordmark-logo { width: 150px; } }

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 -10px;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
}
.cart-count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font: 500 10px/16px var(--sans);
  text-align: center;
}
.menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none;
  font: 500 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }

/* Five links need about 430px beside the centred logo, so the menu button stays up to 1149px */
@media (max-width: 1149px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    padding: 8px var(--gutter) 32px;
    background: var(--paper);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility 0s .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .2s; }
  .site-nav a {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 1150px) {
  .menu-toggle { display: none; }
  .site-nav ul { display: flex; gap: 28px; white-space: nowrap; }
}

/* Sections */
.section { padding: 64px 0; }
.section--first { padding-top: 40px; }
.section--tint { background: var(--paper); } /* was off-white grey, all sections white now (Nate, 4 Oct) */
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: #9a9a9a; }
.section--dark .btn { background: #fff; border-color: #fff; color: var(--ink); }
.section--dark .btn:hover { background: #d9d9d9; border-color: #d9d9d9; }
@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .section--first { padding-top: 64px; }
}
.section-head { max-width: 720px; margin: 0 0 36px; }
.center .section-head, .section-head.center { margin-left: auto; margin-right: auto; }
.section-heading { font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
.section-intro { color: var(--muted); }
.section-foot { margin-top: 40px; text-align: center; }
.empty { color: var(--muted); }

/* Hero: black, the globe lit like a product shot */
.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero-inner {
  display: grid;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 56px;
}
.hero .eyebrow { color: #9a9a9a; }
.hero-heading {
  font-size: clamp(34px, 6.4vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-heading em { display: block; font-style: normal; }
.hero-text { max-width: 26em; font-size: 15px; color: #bdbdbd; margin-bottom: 32px; }
.hero .btn {
  min-height: 0;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid #fff;
  background: none;
  color: #fff;
}
.hero .btn:hover { color: #bdbdbd; border-color: #bdbdbd; }
.hero-media { position: relative; width: 100%; max-width: 500px; margin: 0 auto; }
.hero-globe, .hero-image { position: relative; }
.hero-image, .split-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--grey); }
.hero-image { background: #1a1a1a; }
@media (max-width: 899px) {
  .hero-media { order: -1; max-width: 280px; }
}
/* Hero with photos: full bleed, two photos side by side on desktop, words at the bottom */
.hero--photo { position: relative; background: #1a1a1a; }
/* The row is the box's height, so each photo is cropped to fit and its position (content.js) picks what stays in view */
.hero-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: minmax(0, 1fr); height: min(86svh, 940px); min-height: 520px; }
.hero--photo .hero-image { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.hero-image--second { display: none; }
.hero--photo::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .5));
  pointer-events: none;
}
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 44px; text-align: center; }
.hero--photo .eyebrow { color: rgba(255, 255, 255, .8); }
.hero--photo .hero-heading { font-size: clamp(30px, 5vw, 60px); margin-bottom: 24px; }
.hero--photo .hero-text { display: none; }
@media (min-width: 900px) {
  .hero-image--second { display: block; }
  .hero-overlay { padding-bottom: 64px; }
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
    min-height: min(calc(100svh - var(--header-h) - 34px), 820px);
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .hero-media { align-self: center; }
}

/* Product grid and cards: product on grey, name and price below */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 2px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 2px; } }
.card { display: block; text-decoration: none; }
.card-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--grey);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card-globe { width: 58%; transition: transform .7s ease; }
.card:hover .card-media img, .card:hover .card-globe { transform: scale(1.03); }
.card-title {
  margin: 14px 0 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card-price { margin: 0; color: var(--muted); font-size: 12px; }
.card--empty { opacity: .65; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  background: var(--paper);
  font: 500 10px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price-compare { color: var(--muted); }

/* Features */
.features { display: grid; gap: 36px; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.feature { max-width: 380px; }
.feature-rule { display: block; width: 24px; height: 1px; margin: 0 0 20px; background: currentColor; }
.feature-number { margin: 0 0 14px; font: 500 11px/1 var(--sans); letter-spacing: .14em; color: var(--muted); }
.feature-title {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feature-text { margin: 0; color: var(--muted); font-size: 14px; }
.section--dark .feature-text { color: #bdbdbd; }

/* Image with text */
.split { display: grid; gap: 40px; align-items: center; }
.split-media img { width: 100%; }
.split-globe { width: 72%; max-width: 380px; margin: 0 auto; }
.split-copy { max-width: 480px; }
.split-copy .rte { font-size: 15px; margin-bottom: 28px; }
.section--dark .split-copy .rte { color: #bdbdbd; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 96px; }
  .split--reverse .split-media { order: 2; }
}

/* Newsletter */
.newsletter { text-align: center; max-width: 560px; }
.newsletter-text { color: var(--muted); margin-bottom: 28px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; }
.newsletter-form .input { flex: 1 1 240px; padding-left: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; }
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter-form .form-error, .newsletter-form .form-success { flex-basis: 100%; }

/* Product page */
.product { display: grid; gap: 28px; padding-top: 16px; padding-bottom: 24px; }
.product-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.product-gallery::-webkit-scrollbar { display: none; }
.product-gallery-item { scroll-snap-align: start; background: var(--grey); }
.product-gallery-item img { width: 100%; }
.product-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 0 calc(var(--gutter) * -1);
  padding: 16%;
  background: var(--grey);
}
.product-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-price { font-size: 15px; margin-bottom: 28px; }
.product-text { color: var(--muted); }
.product-buy { margin-bottom: 32px; }
.product-description { margin-bottom: 28px; color: var(--ink-soft); font-size: 14px; }
.accordion { border-top: 1px solid var(--line); }
.accordion:last-of-type { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 300 18px/1 var(--sans); }
.accordion[open] summary::after { content: "\2212"; }
.accordion .rte { padding-bottom: 20px; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.2fr .8fr; gap: 72px; padding-top: 32px; padding-bottom: 32px; }
  .product-gallery { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 2px; overflow: visible; margin: 0; }
  .product-placeholder { margin: 0; }
  .product-info { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* Cart */
.cart { max-width: 920px; }
.cart > .section-heading { margin-bottom: 32px; }
.cart-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 4px 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-media { grid-row: span 2; background: var(--grey); aspect-ratio: 1; display: grid; place-items: center; padding: 12px; }
.cart-item-title { font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.cart-item-variant, .cart-item-price { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.cart-item-actions { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.cart-item-total { grid-column: 2; margin: 0; font-size: 14px; }
.link-quiet { font-size: 12px; color: var(--muted); }
.cart-summary { max-width: 400px; margin: 32px 0 0 auto; }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cart-summary .btn { margin-top: 12px; }
.cart-empty { padding: 8px 0 0; color: var(--muted); }
.cart-suggest { padding-top: 0; }
@media (min-width: 750px) {
  .cart-item { grid-template-columns: 110px 1fr auto; }
  .cart-item-media { grid-row: auto; }
  .cart-item-total { grid-column: auto; text-align: right; }
}

/* Search, pagination */
.search-form { display: flex; gap: 10px; margin-top: 24px; }
.pagination { margin-top: 48px; text-align: center; }
.pagination span { margin: 0 6px; }

/* Footer */
.site-footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); padding: 56px 0 24px; font-size: 13px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { gap: 40px; } .footer-brand { grid-column: auto; } }
.footer-wordmark { font: 700 18px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-wordmark .wordmark-logo { width: 120px; }
.footer-blurb { max-width: 28em; color: var(--muted); }
.footer-heading { font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-nav ul, .footer-policies, .payment-icons { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-top: 56px;
  padding-top: 24px;
  position: relative;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; }
.site-credit { margin-left: auto !important; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.payment-icon { width: 38px; height: 24px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* Notices and spam trap */
.notice { margin: 0 0 20px; padding: 12px 16px; background: var(--grey); border-left: 2px solid var(--ink); font-size: 14px; }
.notice--error { border-left-color: #9b2c1f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cart line forms */
.cart-qty-form { display: inline-flex; }
.cart-checkout { margin-top: 32px; }
.link-button { border: 0; padding: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qty-value { display: grid; place-items: center; min-width: 40px; font-size: 15px; }

/* Lifestyle gallery: swipe on phones, 4 across on desktop */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery-item { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--grey); scroll-snap-align: center; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: var(--max); margin: 0 auto; }
}

/* Product photo thumbnails, phones only */
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.product-thumbs::-webkit-scrollbar { display: none; }
.product-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--grey);
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s, border-color .2s;
}
.product-thumb[aria-current="true"] { opacity: 1; border-color: var(--ink); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .product-thumbs { display: none; } }

/* Product photo lightbox */
.product-gallery img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 56px 16px;
  background: var(--paper);
}
.lightbox[hidden] { display: none; }
.lightbox-image { width: auto; max-width: 100%; max-height: calc(100dvh - 112px); object-fit: contain; }
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.lightbox button[hidden] { display: none; }
.lightbox-close { top: 8px; right: 8px; }
.lightbox-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font: 500 11px/1 var(--sans);
  letter-spacing: .14em;
  color: var(--muted);
}
body.lightbox-open { overflow: hidden; }
@media (min-width: 900px) {
  .lightbox { padding: 64px 96px; }
  .lightbox-image { max-height: calc(100dvh - 128px); }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
  .lightbox-close { top: 16px; right: 16px; }
}

/* Product page: format and quantity on one row, scent notes, 4-across grid */
.product-options { display: flex; gap: 12px; align-items: flex-end; }
.product-options .field--grow { flex: 1 1 auto; min-width: 0; }
.product-description { margin-bottom: 28px; }
.product-description .product-notes {
  margin-bottom: 12px;
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 900px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* About page */
.hero--short .hero-photos { height: min(70svh, 760px); min-height: 440px; }
.about-intro { text-align: center; }
.about-lede { font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; margin-bottom: 24px; }
.about-intro p:not(.about-lede) { color: var(--muted); }
.scent-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.scent-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.scent-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Contact page: words and details on the left, form on the right */
.contact-layout { display: grid; gap: 40px; }
.contact-details { margin: 28px 0 0; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.contact-details dt { font: 500 11px/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-details dd { margin: 0; }
.contact-photo { display: none; }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
  .contact-photo { display: block; margin-top: 40px; max-width: 420px; }
  .contact-main { padding-top: 34px; }
}

/* Header bag: "BAG (0)" in words on desktop, icon on phones */
.cart-link { display: flex; align-items: center; text-decoration: none; }
.cart-text { display: none; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 900px) {
  .cart-text { display: inline; }
  .cart-icon { display: none; }
}

/* Product cards, Byredo style: second photo on hover, quick add bag, type and size lines */
.card { position: relative; }
.card-media { display: grid; text-decoration: none; }
.card-media > img, .card-media > .card-globe { grid-area: 1 / 1; }
.card-media > img { transition: opacity .4s ease, transform .7s ease; }
.card-hover { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-hover { opacity: 1; }
  .card:hover .card-media > img { transform: none; }
}
.card-body { display: block; text-decoration: none; }
.card-type { margin: 12px 0 2px; font: 400 10px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-type + .card-title { margin-top: 0; }
.card-size { margin: 4px 0 0; font-size: 11px; letter-spacing: .04em; }
.card-size span { margin-left: 6px; color: var(--muted); text-transform: uppercase; }
.card-quick { position: absolute; top: 8px; right: 8px; z-index: 1; margin: 0; }
.card-quick-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s;
}
.card-quick-button:hover, .card:hover .card-quick-button { background: #fff; }
.card .badge { top: 12px; left: 12px; padding: 5px 8px; font-size: 10px; }
.count { margin-left: 4px; font-size: .45em; font-weight: 400; vertical-align: super; letter-spacing: 0; }

/* Product page, Byredo style */
.pdp-stage { position: relative; }
.pdp-stage .product-gallery { margin: 0; gap: 0; background: var(--grey); }
.pdp-stage .product-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-stage .product-placeholder { margin: 0; }
.pdp-badge { position: absolute; top: 16px; left: 16px; z-index: 2; text-decoration: none; }
.pdp-arrow {
  position: absolute;
  top: calc(50vw - 24px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.pdp-arrow--prev { left: 4px; }
.pdp-arrow--next { right: 4px; }
.pdp-progress { position: absolute; top: calc(100vw - 20px); left: 50%; width: 64px; height: 1px; transform: translateX(-50%); background: rgba(0, 0, 0, .15); overflow: hidden; }
.pdp-progress span { display: block; height: 100%; background: var(--ink); transition: transform .2s; }
.pdp-card-wrap { padding-top: 24px; }
.pdp-card .product-title { margin-top: 0; }
.service-lines { list-style: none; margin: 16px 0 0; padding: 0; font-size: 12px; color: var(--muted); }
.service-lines li { padding: 3px 0; }
.service-lines li::before { content: "\2713"; margin-right: 8px; color: var(--ink); }
.pdp-details { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 72px; }
.pdp-story .product-description { font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 34em; }
.tag-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 0; padding-left: 18px; color: var(--ink); }

/* Format as boxes, like Byredo's size boxes */
.format { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.format legend { padding: 0; }
.format-options { display: flex; gap: 8px; }
.format-option { position: relative; flex: 1 1 0; }
.format-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.format-option span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font: 500 11px/1.2 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--muted);
  transition: border-color .2s, color .2s;
}
.format-option input:checked + span { border-color: var(--ink); color: var(--ink); }
.format-option input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 2px; }
.pdp-card .qty button { width: 34px; }
.pdp-card .qty input { width: 34px; }

@media (min-width: 900px) {
  .pdp-stage .product-gallery { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 50%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .pdp-arrow { top: calc(25vw - 20px); }
  .pdp-arrow--prev { left: 16px; }
  .pdp-arrow--next { left: calc(50% - 56px); right: auto; }
  .pdp-progress { top: auto; bottom: 24px; left: 25%; }
  .pdp-card-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-top: 0; pointer-events: none; }
  .pdp-card { width: min(400px, 40vw); padding: 32px; background: #fff; pointer-events: auto; }
  .pdp-details { grid-template-columns: 1fr 1fr; gap: 96px; padding-top: 72px; padding-bottom: 96px; }
}

/* Footer: email sign-up under the logo, three link columns */
.footer-brand .footer-heading { margin-top: 28px; }
.footer-blurb + .footer-signup { margin-top: 24px; }
.footer-signup { display: flex; max-width: 360px; border-bottom: 1px solid var(--ink); }
.footer-signup .input { min-height: 44px; padding: 8px 0; border: 0; background: transparent; font-size: 14px; }
.footer-signup-button { border: 0; background: none; padding: 0 0 0 12px; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.footer-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
/* FAQ */
.faq-group { margin-top: 40px; }
.faq-heading { margin: 0 0 8px; font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.faq-group .accordion summary { font-size: 12px; }
.faq-group .accordion .rte a, .rte a { text-underline-offset: 3px; }

/* About page scent list: colour dot per scent, photo swaps to the box on hover */
.split-media { position: relative; }
.scent-overlay { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.scent-overlay.is-on { opacity: 1; }
.scent-list li { position: relative; padding-left: 30px; cursor: pointer; transition: color .2s; }
.scent-list li:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.scent-swatch { position: absolute; left: 0; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.scent-list li.is-active, .scent-list li:hover { color: var(--ink); }
.scent-list li.is-active strong { text-decoration: underline; text-underline-offset: 4px; }

/* Phones: thumb-sized tap areas (44px) for small links */
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.cart-link { min-width: 44px; min-height: 44px; justify-content: flex-end; }
.hero .btn { padding: 14px 0 6px; }
.footer-nav li { margin-bottom: 0; }
.footer-nav a { display: inline-block; padding: 7px 0; }
.cart-item-title { display: inline-block; padding: 6px 0; }
.link-button { padding: 10px 0; }
.pdp-badge { padding: 8px 10px; }
@media (min-width: 900px) {
  .footer-nav a { padding: 3px 0; }
}

/* Mood words on cards and the 12 g line under the price */
.card-moods { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.size-note { margin: -4px 0 20px; font-size: 12px; color: var(--muted); }

/* Finder tile at the end of the Shop all grid: photo, white words on top */
.card-finder { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--ink); color: var(--paper); text-decoration: none; }
.card-finder-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .7s ease, opacity .4s ease; }
.card-finder:hover .card-finder-image { transform: scale(1.03); opacity: .5; }
.card-finder-copy { position: absolute; inset: auto 0 0; display: grid; gap: 8px; padding: 16px; }
.card-finder-eyebrow, .card-finder-link { font: 500 10px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.card-finder-heading { font-size: 17px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.card-finder-link { justify-self: start; padding-bottom: 2px; border-bottom: 1px solid currentColor; }
@media (min-width: 900px) {
  .card-finder-copy { padding: 28px; gap: 12px; }
  .card-finder-heading { font-size: 24px; }
}

/* Scent finder page: photo on the left, one question at a time on the right */
.finder { display: grid; }
.finder-media { position: relative; height: 32svh; min-height: 220px; background: var(--grey); overflow: hidden; }
.finder-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finder-main { padding: 36px var(--gutter) 72px; }
/* Same type as every other heading on the site: capitals, medium weight */
.finder-heading { margin: 0 0 12px; font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
.finder-heading:focus { outline: none; }
.finder-intro { margin-bottom: 32px; color: var(--muted); }
.finder-step { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.finder-step:focus { outline: none; }
.finder-question { display: block; margin-bottom: 16px; padding: 0; font-size: 20px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.finder-count { display: block; margin-bottom: 6px; font: 500 11px/1.4 var(--sans); letter-spacing: .14em; color: var(--muted); }
.finder-options { display: grid; gap: 8px; }
.finder-option { position: relative; display: block; }
.finder-option input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.finder-option span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font: 500 11px/1.3 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: border-color .2s;
}
.finder-option input:checked + span { border-color: var(--ink); }
.finder-option input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .finder-option:hover span { border-color: var(--ink); } }
.finder-back { margin-right: 24px; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.finder-submit[disabled] { opacity: .35; cursor: default; }
.finder-result .card-moods { margin-bottom: 20px; font-size: 13px; }
.finder-result .product-description { margin-bottom: 28px; color: var(--ink-soft); }
.finder-links { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 16px 0 0; font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.finder-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .finder { grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header-h)); }
  .finder-media { height: auto; min-height: 0; }
  .finder-main { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(32px, 6vw, 112px); }
  .finder-form, .finder-results { width: 100%; max-width: 480px; }
}

/* Gift guide: one row per "who is it for", words left, two scents right */
.gift-guide { padding-top: 0; }
.gift-group { display: grid; gap: 20px; padding: 32px 0 40px; border-top: 1px solid var(--line); }
.gift-group-heading { margin: 0 0 8px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.gift-group-text { max-width: 380px; margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .gift-group { grid-template-columns: 1fr 1fr; gap: 2px; padding: 48px 0 56px; }
  .gift-group-copy { padding: 8px 48px 0 0; }
  .gift-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Product page: scent finder line under the buy box */
.pdp-finder { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pdp-finder a { color: var(--ink); text-underline-offset: 3px; }

/* Product page: "What is solid perfume?" strip, facts left, square photo right */
.solid { display: grid; gap: 32px; align-items: center; }
.solid-image { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--grey); }
.solid-list { margin: 28px 0 0; border-top: 1px solid var(--line); }
.solid-list div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.solid-list dt { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.solid-list dd { margin: 0; color: var(--muted); font-size: 14px; }
.solid-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .solid { grid-template-columns: 7fr 5fr; gap: 96px; }
  .solid-media { order: 2; }
  .solid-list div { grid-template-columns: 180px 1fr; gap: 24px; }
}
