/* LGL Storefront theme (Let's Get Launched). Colours and fonts come from theme settings; see layout/theme.liquid. */
:root {
  --cream: #f8f2ea;
  --paper: #fffaf4;
  --sage: #56644f;
  --sage-dark: #3f4a3a;
  --sage-soft: #dfe5d6;
  --rose: #b5545f;
  --rose-soft: #f3d9d8;
  --peach-soft: #f6e4d6;
  --ink: #2c2825;
  --muted: #6d625b;
  --line: #e7dccf;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(70, 55, 40, .10);
  --script: "Allura", cursive;
  --body: "Nunito", system-ui, sans-serif;
  --caps: "Josefin Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--rose); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.caps { font-family: var(--caps); text-transform: uppercase; letter-spacing: .2em; }
.heart { color: var(--rose); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: 8px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

/* Announcement */
.announcement { background: var(--sage-dark); color: #f1ece4; text-align: center; font-family: var(--caps); letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; padding: 9px 16px; }
.announcement a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(248, 242, 234, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.brand { font-family: var(--script); font-size: 2.1rem; color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-family: var(--caps); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.nav-links a:hover { color: var(--rose); }
.header-actions { display: flex; gap: 4px; align-items: center; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); text-decoration: none; position: relative;
}
.icon-btn:hover { background: var(--paper); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-bubble {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; border-radius: 999px; padding: 0 5px;
  background: var(--rose); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center;
}
.cart-bubble.is-empty { display: none; }
.menu-toggle { display: none; }
@media (max-width: 800px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .brand { font-size: 1.8rem; }
}

/* Drawers (menu + cart) */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(44, 40, 37, .4); opacity: 0; transition: opacity .25s; border: 0; width: 100%; cursor: pointer; }
.drawer .panel {
  position: absolute; top: 0; bottom: 0; background: var(--paper); transition: transform .25s;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.drawer-left .panel { left: 0; width: min(320px, 85vw); transform: translateX(-100%); padding: 20px 22px; }
.drawer-right .panel { right: 0; width: min(420px, 100vw); transform: translateX(100%); }
.drawer.open { pointer-events: auto; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-family: var(--script); font-weight: 400; font-size: 2.4rem; margin: 0; line-height: 1; }
.drawer-left nav a { display: block; color: var(--ink); text-decoration: none; font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.drawer-right .drawer-head { padding: 20px 22px 6px; }
.cart-body { flex: 1; overflow-y: auto; padding: 0 22px; }
.cart-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; font-weight: 600;
  padding: 15px 28px; border-radius: 999px; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-block { display: block; width: 100%; }

/* Hero */
.hero { padding: 60px 0; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { margin: 0; font-family: var(--script); font-weight: 400; font-size: clamp(4rem, 10vw, 7.2rem); line-height: .9; }
.hero .sub { font-family: var(--caps); letter-spacing: .5em; font-size: 1.2rem; margin: 6px 0 14px 6px; display: flex; align-items: center; gap: 14px; }
.hero .sub::before, .hero .sub::after { content: ""; height: 1px; width: 40px; background: var(--ink); }
.hero .tagline { font-family: var(--script); font-size: 2.6rem; margin: 0 0 18px; line-height: 1.1; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 30em; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-art .photo { position: absolute; inset: 4%; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; overflow: hidden; box-shadow: var(--shadow); }
.hero-art .photo img { width: 100%; height: 100%; object-fit: cover; }
.blob { position: absolute; inset: 6% 4%; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; background: var(--sage-soft); }
.hero-badge {
  position: absolute; right: 0; bottom: 4%; background: var(--paper); border-radius: 14px; padding: 12px 18px;
  box-shadow: var(--shadow); font-family: var(--script); font-size: 1.7rem; line-height: 1.05; text-align: center; transform: rotate(-4deg);
}
@media (max-width: 860px) {
  .hero { padding-top: 34px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { max-width: 420px; width: 100%; margin: 0 auto; }
}

/* Offer boxes */
.deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deal { border-radius: var(--radius); padding: 24px; text-align: center; }
.deal .big { font-family: var(--script); font-size: 3.2rem; line-height: 1; }
.deal p { margin: 6px 0 0; }
.d1 { background: var(--rose-soft); }
.d2 { background: var(--sage-soft); }
.d3 { background: var(--peach-soft); }
@media (max-width: 760px) { .deals { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-family: var(--script); font-weight: 400; font-size: clamp(3rem, 7vw, 4.6rem); margin: 0; line-height: 1.05; }
.section-head .caps { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.brush {
  display: inline-block; background: var(--sage); color: #fff; padding: 10px 50px 16px;
  border-radius: 60% 40% 55% 45% / 40% 60% 40% 60%;
}
@media (max-width: 600px) { .section { padding: 60px 0; } }

/* Product grid */
.shop-tools { display: flex; flex-direction: column; gap: 16px; align-items: center; margin-bottom: 28px; }
.search {
  width: 100%; max-width: 420px; padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); font: inherit; color: var(--ink);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 16px; cursor: pointer;
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem;
}
.chip:hover { border-color: var(--sage); }
.chip[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.scent {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s;
}
.scent.in-cart { border-color: var(--sage); box-shadow: 0 0 0 2px var(--sage-soft); }
.scent.sold-out { opacity: .55; }
.scent-top { display: flex; gap: 12px; align-items: center; }
.scent h3 { margin: 0; font-size: 1rem; line-height: 1.25; font-weight: 700; }
.scent h3 a { color: inherit; text-decoration: none; }
.scent h3 a:hover { color: var(--rose); }
.scent small { color: var(--muted); font-size: .78rem; }
.scent .price { font-weight: 700; color: var(--sage); }
.scent-img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--cream); }
.scent-img img { width: 100%; height: 100%; object-fit: cover; }
.swatch {
  flex: none; width: 46px; height: 38px; border-radius: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.07), inset 0 3px 0 rgba(255,255,255,.5);
}
.swatch i { border-radius: 4px; background: rgba(255,255,255,.25); }
.qty { display: flex; align-items: center; justify-content: space-between; background: var(--cream); border-radius: 999px; padding: 4px; }
.qty button {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.2rem; line-height: 1;
  background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.qty button:hover { background: var(--sage); color: #fff; }
.qty output { font-weight: 700; min-width: 2ch; text-align: center; }
.qty input { width: 4ch; border: 0; background: transparent; padding: 0; font: inherit; font-weight: 700; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sold { justify-content: center; font-weight: 700; color: var(--muted); padding: 10px; }
.is-busy .qty button { pointer-events: none; opacity: .6; }
.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 30px; }
.coming { text-align: center; margin: 26px 0 0; font-family: var(--script); font-size: 2rem; color: var(--sage); }

/* Why */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.feature svg { width: 70px; height: 70px; margin: 0 auto 12px; }
.feature .caps { font-size: .8rem; letter-spacing: .16em; line-height: 1.6; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.promise { border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.promise .big { font-family: var(--script); font-size: 2.8rem; line-height: 1; white-space: nowrap; }
.promise p { margin: 4px 0 0; }
@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .promises { grid-template-columns: 1fr; }
}

/* Image with text */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story.reverse .story-media { order: 2; }
.story-media { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sage-soft); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story h2 { font-family: var(--script); font-weight: 400; font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 16px; }
.story .body { color: var(--muted); font-size: 1.05rem; }
.story .btn { margin-top: 12px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 28px; } .story.reverse .story-media { order: 0; } }

/* How to use */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--rose-soft); color: var(--rose); font-family: var(--script); font-size: 2.2rem; line-height: 1;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); }
.safety { text-align: center; color: var(--muted); font-size: .9rem; margin: 22px 0 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--rose); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer p { margin: 0 0 8px; }

/* Newsletter */
.newsletter { background: var(--sage); color: #fff; border-radius: 28px; padding: 48px 28px; text-align: center; }
.newsletter h2 { font-family: var(--script); font-weight: 400; font-size: clamp(2.6rem, 6vw, 3.6rem); margin: 0; line-height: 1.05; }
.newsletter p { opacity: .92; margin: 10px 0 22px; }
.newsletter form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter input[type="email"] { flex: 1 1 220px; border: 0; border-radius: 999px; padding: 14px 20px; }
.newsletter .btn { background: var(--ink); color: #fff; }
.newsletter .note { font-weight: 700; margin: 14px 0 0; }

/* Contact */
.contact { text-align: center; }
.contact-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-links a {
  display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; color: var(--ink); text-decoration: none; font-weight: 600; max-width: 100%; overflow-wrap: anywhere;
}
.contact-links a:hover { border-color: var(--sage); }
.contact-links svg { width: 20px; height: 20px; flex: none; }

/* Footer */
.site-footer { background: var(--sage-dark); color: #f1ece4; padding: 50px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-grid h3 { font-family: var(--caps); text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; margin: 0 0 12px; font-weight: 600; }
.footer-grid a { color: #f1ece4; text-decoration: none; display: block; padding: 3px 0; opacity: .85; overflow-wrap: anywhere; }
.footer-grid a:hover { opacity: 1; }
.footer-grid p { margin: 8px 0 0; opacity: .85; }
.footer-brand { font-family: var(--script); font-size: 2.6rem; line-height: 1; }
.footer-thanks { text-align: center; border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 22px; }
.footer-thanks .caps { font-size: .78rem; letter-spacing: .22em; }
.footer-thanks small { display: block; margin-top: 8px; opacity: .7; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating cart button */
.float-cart {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140px); transition: transform .25s;
  z-index: 25; box-shadow: 0 10px 30px rgba(0,0,0,.2); white-space: nowrap;
}
.float-cart.show { transform: translate(-50%, 0); }

/* Cart lines (drawer + page) */
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-line a { color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.25; }
.cart-line .line-discount { font-size: .8rem; color: var(--sage); font-weight: 700; }
.cart-line .qty { width: 118px; margin-top: 6px; padding: 2px; }
.cart-line .qty button { width: 30px; height: 30px; font-size: 1rem; }
.cart-line .line-price { text-align: right; font-weight: 700; white-space: nowrap; }
.cart-line .line-price s { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.progress { background: var(--rose-soft); border-radius: 12px; padding: 12px 14px; margin: 14px 0 4px; font-size: .92rem; }
.progress .bar { height: 6px; background: rgba(255,255,255,.75); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.progress .bar span { display: block; height: 100%; background: var(--rose); border-radius: 999px; transition: width .3s; }
.totals { display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .save { color: var(--sage); font-weight: 700; }
.totals .grand { font-size: 1.2rem; font-weight: 700; border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 4px; }
.cart-note-label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
.cart-note { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; resize: vertical; }
.fine { font-size: .82rem; color: var(--muted); margin: 10px 0 14px; }
.cart-empty { text-align: center; padding: 40px 10px; }
.cart-empty p { color: var(--muted); }

/* Cart page */
.cart-page { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 12px; font-family: var(--script); font-weight: 400; font-size: 2.4rem; line-height: 1; }
@media (max-width: 860px) { .cart-page { grid-template-columns: 1fr; } }

/* Forms */
.field-label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
.input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); }
.errors { color: var(--rose); font-weight: 600; }
.errors ul { margin: 0; padding-left: 18px; }

/* Product */
.page-wrap { padding: 44px 0 80px; min-height: 50vh; }
.breadcrumb { font-family: var(--caps); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.product-media { position: sticky; top: 90px; }
.product-main-media {
  border-radius: 28px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); aspect-ratio: 1;
  display: grid; place-items: center;
}
.product-main-media img { width: 100%; height: 100%; object-fit: cover; }
.product-main-media .swatch { width: 62%; height: 50%; border-radius: 30px; gap: 12px; padding: 16px; }
.product-main-media .swatch i { border-radius: 16px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 70px; height: 70px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--paper); }
.thumbs button[aria-current="true"] { border-color: var(--sage); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product h1 { font-family: var(--script); font-weight: 400; font-size: clamp(3rem, 7vw, 4.4rem); line-height: 1; margin: 0 0 6px; }
.product .family { font-family: var(--caps); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; color: var(--muted); }
.price-lg { font-size: 1.7rem; font-weight: 700; margin: 12px 0 4px; }
.price-lg s { font-size: 1rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.deal-line { display: inline-block; background: var(--rose-soft); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; margin: 6px 0 18px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 8px 0 22px; }
.buy-row .qty { width: 140px; }
.buy-row .btn { flex: 1 1 200px; }
.product .description { color: var(--muted); }
.perks { list-style: none; padding: 20px; margin: 22px 0 0; display: grid; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.perks li::before { content: "✓ "; color: var(--rose); font-weight: 700; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 28px; } .product-media { position: static; } }

/* Misc */
.rte { max-width: 760px; margin: 0 auto; }
.rte img { border-radius: var(--radius); }
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.search-form { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.toast {
  position: fixed; top: 84px; left: 50%; transform: translate(-50%, -20px); opacity: 0; transition: .25s; z-index: 90;
  background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: .9rem; pointer-events: none; text-align: center; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Product cards with options, cart photos, option pills */
.btn-choose { padding: 11px 18px; font-size: .75rem; text-align: center; }
.line-img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: var(--cream); }
.variant-picker { border: 0; padding: 0; margin: 0 0 6px; }
.variant-picker legend { padding: 0; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .92rem; transition: border-color .15s, background .15s; }
.pill:hover span { border-color: var(--sage); }
.pill input:checked + span { background: var(--sage); border-color: var(--sage); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.pill.is-disabled span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

/* Font pairings. "script" is the default set in :root. Non-script display
   fonts run much larger per em than Allura, so their display sizes come down. */
body.font-serif { --script: "DM Serif Display", Georgia, serif; }
body.font-elegant { --script: "Cormorant Garamond", Georgia, serif; --body: "Lato", system-ui, sans-serif; }
body.font-modern { --script: "Poppins", system-ui, sans-serif; --caps: "Poppins", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif; }
body:not(.font-script) .hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; }
body:not(.font-script) .hero .tagline { font-size: 1.6rem; }
body:not(.font-script) .section-head h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
body:not(.font-script) .brand { font-size: 1.5rem; }
body:not(.font-script) .deal .big, body:not(.font-script) .promise .big { font-size: 2rem; }
body:not(.font-script) .story h2, body:not(.font-script) .newsletter h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
body:not(.font-script) .product h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); }
body:not(.font-script) .card h3, body:not(.font-script) .drawer-head h2, body:not(.font-script) .footer-brand { font-size: 1.7rem; }
body:not(.font-script) .hero-badge, body:not(.font-script) .coming { font-size: 1.2rem; }
body:not(.font-script) .step::before { font-size: 1.5rem; }
body.font-modern .hero h1, body.font-modern .section-head h2, body.font-modern .product h1 { font-weight: 700; }
body.font-elegant .hero h1, body.font-elegant .section-head h2, body.font-elegant .product h1, body.font-elegant .story h2 { font-weight: 600; }

/* Two cards per row on phones so big catalogues don't mean endless scrolling. */
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scent { padding: 10px; gap: 10px; }
  .scent h3 { font-size: .92rem; }
  .scent .qty button { width: 30px; height: 30px; }
  .btn-choose { padding: 9px 8px; font-size: .68rem; letter-spacing: .08em; }
}
