/* monisue storefront. Mobile-first. Colours come from the owner's jar label and leaflet:
   label sage, forest-green lettering, batana orange from the cut fruit, on the leaflet's warm cream.
   The page is a stack of full-width bands; each band centres its content in a .wrap. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-600-latin.bf1e09fb81d7.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500italic-latin.9b8a16c9964e.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f6f0e4;
  --paper-deep: #ede4d2;
  --surface: #fffaf1;
  --sage: #cdd6b4;
  --sage-deep: #9fae80;
  --ink: #1f1c18;
  --ink-soft: #4f4a40;
  --forest: #1f3a24;
  --forest-ink: #f6f0e4;
  --batana: #a8481a;          /* text and buttons: 5:1 on cream */
  --batana-bright: #d7652a;   /* decoration only, never text */
  --line: #d9cdb7;
  --focus: #b5651d;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.8rem, 4.5vw, 2.5rem);
  --step-3: clamp(2.3rem, 6.5vw, 3.9rem);
  --gutter: 1rem;
  --measure: 38rem;
  --page: 70rem;
  --band: 3.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  /* A short page (sign in, a code) still puts the footer at the bottom of the screen: it takes the leftover space. */
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--forest); text-underline-offset: 0.2em; }
a:hover { color: var(--batana); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  color: var(--forest);
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-family: var(--sans); font-weight: 650; line-height: 1.3; color: var(--ink); }

p { margin: 0 0 1em; max-width: var(--measure); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -3rem;
  background: var(--forest); color: var(--forest-ink); padding: 0.5rem 1rem; border-radius: 4px; z-index: 10;
}
.skip-link:focus { top: 0.5rem; }

/* Dev and UAT only (ENV_LABEL): a strip that says this isn't the live shop. */
.env-banner {
  margin: 0; max-width: none; padding: 0.4rem var(--gutter); text-align: center; font-size: 0.875rem;
  background: var(--batana); color: var(--forest-ink);
}

/* First visit to monisue.com (SC-3): "Prefer English?" as a forest band above the header; a sheet at the bottom on a phone. */
.lang-prompt {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 0;
  padding: 1rem var(--gutter); background: var(--forest); color: var(--forest-ink);
}
.lang-prompt-text { flex: 1 1 20rem; min-width: 0; }
.lang-prompt-text p { margin: 0; max-width: 40rem; font-size: 0.95rem; opacity: 0.9; }
.lang-prompt-text .lang-prompt-title { font: 600 var(--step-1)/1.15 var(--serif); font-size: 1.45rem; opacity: 1; }
.lang-prompt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.lang-prompt .lang-prompt-yes { background: var(--forest-ink); color: var(--forest); }
.lang-prompt .lang-prompt-yes:hover { background: var(--sage); color: var(--forest); }
.lang-prompt .lang-prompt-no { color: var(--forest-ink); border-color: var(--forest-ink); }
.lang-prompt .lang-prompt-no:hover { background: var(--forest-ink); color: var(--forest); }
.lang-prompt-close {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 1.5px solid rgb(246 240 228 / 0.5); border-radius: 999px; background: transparent; color: var(--forest-ink);
}
.lang-prompt-close:hover { border-color: var(--forest-ink); }
.lang-prompt :focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
@media (max-width: 40rem) {
  .lang-prompt {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; flex-direction: column; align-items: stretch;
    padding: 1.1rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0; box-shadow: 0 -10px 30px rgb(31 28 24 / 0.25);
  }
  .lang-prompt-text { flex: none; padding-right: 3rem; }
  .lang-prompt-actions { flex-direction: column; align-items: stretch; }
  .lang-prompt-close { position: absolute; top: 0.75rem; right: var(--gutter); }
}

/* Header: wordmark left, cart right. The wordmark stands in until the owner's logo file arrives. */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; max-width: var(--page); margin: 0 auto; padding: 0.9rem var(--gutter);
}
.wordmark {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; color: var(--forest);
}

/* Bands and their content column. */
.band { padding-block: var(--band); }
.band-sage { background: var(--sage); }
.band-paper { background: var(--paper-deep); }
.band-forest { background: var(--forest); color: var(--forest-ink); }
.band-forest h2 { color: var(--forest-ink); }
.wrap { max-width: var(--page); margin: 0 auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 48rem; }

.eyebrow {
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--batana);
  margin-bottom: 0.75rem;
}
.tagline {
  font: italic 500 clamp(1.55rem, 3.4vw, 1.9rem)/1.2 var(--serif); color: var(--batana); margin-bottom: 0.6rem;
}
.lede { font-size: 1.1rem; }
.section-lede { color: inherit; opacity: 0.92; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.75rem 1.5rem; border-radius: 999px;
  background: var(--batana); color: var(--forest-ink); font: 650 var(--step-0)/1.2 var(--sans); text-decoration: none;
  border: 0; cursor: pointer;
}
.button:hover { background: var(--forest); color: var(--forest-ink); }

/* Hero: text, then the photo, then the buy box. On desktop the photo sits beside the text and the buy box. */
.hero { padding-top: 2rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.pledge { display: grid; gap: 0.2rem; margin-bottom: 1.5rem; }
.pledge strong { font: 600 clamp(1.45rem, 3.2vw, 1.75rem)/1.15 var(--serif); color: var(--forest); }
.pledge span { font-size: 0.82rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
/* The arch echoes the jar's round lid; it frames the photo instead of a plain box. */
.hero-image img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50% 50% 8px 8px / 32% 32% 8px 8px;
}

.buy {
  display: grid; gap: 0.6rem; justify-items: start;
  background: var(--surface); border-radius: 10px; padding: 1.1rem 1.2rem;
  max-width: 30rem; box-shadow: 0 1px 0 var(--sage-deep);
}
.buy p { margin: 0; }
.product-name { font-weight: 650; }
.price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--forest); line-height: 1; font-variant-numeric: tabular-nums; }
/* One price per country, when more than one country is priced. */
.prices { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; color: var(--ink-soft); }
.prices .price { font-size: 1.6rem; }
.buy-note { font-size: 0.92rem; color: var(--ink-soft); }
/* Quantity, then "Add to cart". The − and + buttons appear with stepper.js; without it, a number field. */
.add-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; }
.stepper { display: grid; gap: 0.25rem; }
.stepper label { font-size: 0.92rem; font-weight: 650; }
.stepper-controls { display: flex; align-items: stretch; }
.stepper-controls input {
  font: inherit; width: 4.5rem; min-height: 44px; padding: 0.5rem; text-align: center;
  border: 1px solid var(--ink-soft); border-radius: 6px; background: var(--surface); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stepper-button {
  font: inherit; font-size: 1.25rem; min-width: 44px; min-height: 44px; padding: 0 0.5rem; cursor: pointer;
  border: 1px solid var(--ink-soft); background: var(--surface); color: var(--forest);
}
.stepper-button:hover:not(:disabled) { background: var(--sage-deep); }
.stepper-button:disabled { color: var(--ink-soft); cursor: default; opacity: 0.6; }
.stepper-button[data-step="-1"] { border-radius: 6px 0 0 6px; border-right: 0; }
.stepper-button[data-step="1"] { border-radius: 0 6px 6px 0; border-left: 0; }
.stepper-button:not([hidden]) + input { border-radius: 0; }

/* Text beside a photo; the photo goes under the text on phones. */
.split { display: grid; gap: 2rem; align-items: center; }
.split-media { margin: 0; }
.split-media img { width: 100%; border-radius: 8px; }
.split-media figcaption { font: italic 500 1.15rem/1.3 var(--serif); color: var(--ink-soft); margin-top: 0.6rem; }

/* Four facts, each said once. */
.facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.facts li { border-top: 2px solid var(--batana-bright); padding-top: 0.9rem; min-width: 0; }
.facts p { margin-bottom: 0.5em; }

/* Benefits on forest: the one place the page lists what batana does. */
.benefits .section-lede { max-width: 44rem; }
.benefit-list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 0.7rem; }
.benefit-list li { position: relative; padding-left: 1.5rem; }
.benefit-list li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.6rem; height: 0.6rem;
  border-radius: 50%; background: var(--batana-bright);
}
.fuller {
  background: var(--sage); color: var(--ink); border-radius: 10px; padding: 1.25rem 1.3rem 0.3rem; max-width: 44rem;
}
.fuller h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--forest); }

.usage-list { display: grid; gap: 0.9rem; margin: 1.5rem 0; }
.usage-list div { border-left: 3px solid var(--sage-deep); padding-left: 0.9rem; min-width: 0; }
.usage-list dt { font-weight: 650; }
.usage-list dd { margin: 0.15rem 0 0; }
.callout { background: var(--paper-deep); border-radius: 8px; padding: 0.9rem 1rem; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative;
  font-weight: 650; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.3rem; color: var(--batana); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 0.5rem; }

.closing .wrap { display: grid; justify-items: center; text-align: center; gap: 0.25rem; }
.closing h2 { margin-bottom: 0.2em; }
.closing .tagline { margin-bottom: 1.25rem; }

.prose { max-width: var(--page); margin: 0 auto; padding: 1rem var(--gutter) 3rem; }
.prose ul { padding-left: 1.2rem; max-width: var(--measure); }
.prose li { margin-bottom: 0.5rem; }
.meta { color: var(--ink-soft); font-size: 0.9rem; }

.site-footer { margin-top: auto; background: var(--forest); color: var(--forest-ink); }
.site-footer a { color: var(--forest-ink); }
.site-footer a:hover { color: var(--sage); }
.footer-grid {
  max-width: var(--page); margin: 0 auto; padding: 2.25rem var(--gutter);
  display: grid; gap: 1.5rem; font-size: 0.92rem;
}
.footer-grid h2 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.footer-grid p { margin-bottom: 0.4rem; overflow-wrap: anywhere; }

/* Coming soon: one forest-green screen, no images. Shown on "/" while SHOP_COMING_SOON is on. */
.coming-soon {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--forest); color: var(--forest-ink);
}
.coming-soon .site-header { width: 100%; }
.coming-soon .wordmark, .coming-soon a { color: var(--forest-ink); }
.coming-soon a:hover { color: var(--paper-deep); }
.coming-soon :focus-visible { outline-color: var(--paper); }
.coming-soon main { flex: 1; display: grid; place-items: center; width: 100%; padding-inline: var(--gutter); }
.soon { text-align: center; display: grid; justify-items: center; padding-block: 3rem; }
.soon h1 { color: var(--forest-ink); font-size: clamp(2.8rem, 12vw, 5.5rem); margin-bottom: 0.4em; }
.soon .eyebrow { color: #e0b48f; }
.soon p { margin-inline: auto; }
.soon-lede { font-size: 1.15rem; max-width: 30rem; }
.soon-rule { display: block; width: 3.5rem; height: 3px; background: #c7814f; border-radius: 2px; margin: 1.25rem 0 1.5rem; }
.soon-footer { text-align: center; padding: 1.25rem var(--gutter); font-size: 0.85rem; }

/* Header tools: the cart pill. Hover or keyboard focus opens its summary panel; a tap follows the link. */
.header-tools { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.cart-pill { position: relative; }
.cart-link {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.45rem 0.9rem;
  font-weight: 650; text-decoration: none; color: var(--forest);
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.cart-link:hover { border-color: var(--forest); }
.cart-icon { flex: none; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.35rem;
  border-radius: 999px; background: var(--batana); color: var(--forest-ink); font-size: 0.8rem;
}
.cart-amount { font-variant-numeric: tabular-nums; color: var(--ink); }
.cart-panel {
  display: none; position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 10;
  width: min(20rem, calc(100vw - 2 * var(--gutter))); padding: 1rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 30px rgb(31 28 24 / 0.14);
}
/* A bridge over the gap, so the panel doesn't close on the way down to it. */
.cart-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -0.5rem; height: 0.5rem; }
.cart-pill:hover .cart-panel, .cart-pill:focus-within .cart-panel { display: block; }
.cart-panel-lines { list-style: none; margin: 0 0 0.75rem; padding: 0; font-size: 0.92rem; }
.cart-panel-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.cart-panel-totals { display: grid; gap: 0.25rem; margin: 0 0 0.9rem; }
.cart-panel-totals div { display: flex; justify-content: space-between; gap: 1rem; }
.cart-panel-totals dt { font-weight: 650; }
.cart-panel-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-panel-totals div:last-child dd { font-weight: 700; font-size: 1.1rem; color: var(--forest); }
.cart-panel-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cart-panel-actions .button { margin: 0; }
/* On small phones the word "Cart" is read out but not shown. */
@media (max-width: 480px) {
  .cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* The buy box when the jar can't be bought: plain text, never a dead button or an email link. */
.sold-out { font-weight: 650; color: var(--forest); background: var(--paper-deep); border-radius: 8px; padding: 0.75rem 1rem; }

/* Cart, checkout and order placed. */
.shop h1 { font-size: var(--step-2); }
.notice { background: var(--sage); border-radius: 8px; padding: 0.75rem 1rem; }
.cart-lines, .summary-lines { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.cart-line {
  display: grid; gap: 0.6rem; padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.cart-line p { margin: 0; }
.cart-name { font-weight: 650; }
.cart-total, .totals dd { font-variant-numeric: tabular-nums; }
.cart-total { font-weight: 650; }
.qty { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.qty select, .checkout-form input[type="text"], .checkout-form input[type="tel"], .checkout-form input[type="email"] {
  font: inherit; min-height: 44px; padding: 0.5rem 0.7rem; border: 1px solid var(--ink-soft); border-radius: 6px;
  background: var(--surface); color: var(--ink);
}
.link-button {
  font: inherit; background: none; border: 0; padding: 0.5rem 0.25rem; min-height: 44px;
  color: var(--forest); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer;
}
.link-button:hover { color: var(--batana); }
.totals { display: grid; gap: 0.5rem; margin: 0 0 1.25rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { font-weight: 650; }
.totals dd { margin: 0; text-align: right; }
.pay-note { background: var(--paper-deep); border-radius: 8px; padding: 0.75rem 1rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }

/* Review & checkout and the billing page: content left, a sticky order summary right (stacked on phones). */
.steps { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: step; font-size: 0.92rem; }
.steps li { counter-increment: step; color: var(--ink-soft); }
.steps li::before { content: counter(step) ". "; }
.steps li[aria-current="step"] { color: var(--forest); font-weight: 650; }
.shop-grid { display: grid; gap: 1.5rem; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; margin: 0; min-width: 0; }
.card h2 { font-size: var(--step-1); margin: 0 0 0.8rem; }
fieldset.card legend { padding: 0; float: left; width: 100%; }
fieldset.card legend + * { clear: both; }
.cart-card { padding-block: 0.6rem; }
.cart-head {
  display: none; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.cart-card .cart-lines { margin-bottom: 0; }
.cart-line:last-child { border-bottom: 0; }
.cart-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.9rem 0 0.4rem; border-top: 1px solid var(--line);
}
.cart-foot form { margin: 0; }
.button-quiet { background: transparent; color: var(--forest); border: 1px solid var(--forest); }
.button-quiet:hover { background: var(--forest); color: var(--forest-ink); }
.button-wide { width: 100%; }
.summary .totals { margin-bottom: 0.9rem; }
.grand-total { border-top: 1px solid var(--line); padding-top: 0.6rem; align-items: baseline; }
.grand-total dt { font-size: var(--step-1); font-family: var(--serif); }
.grand-total dd { font-size: var(--step-1); font-weight: 700; color: var(--forest); }
.pay-later { background: var(--paper-deep); border-radius: 8px; padding: 0.6rem 0.8rem; font-size: 0.95rem; }

.checkout-form { display: grid; gap: 1.1rem; min-width: 0; }
.checkout-form .field { display: grid; gap: 0.3rem; width: 100%; margin: 0 0 0.9rem; border: 0; padding: 0; min-width: 0; }
.checkout-form .card > .field:last-child, .field-row:last-child .field { margin-bottom: 0; }
.field-row { display: grid; gap: 0 1rem; }
.checkout-form label, .field-label { font-weight: 650; }
.checkout-form input[type="text"], .checkout-form input[type="tel"], .checkout-form input[type="email"], .checkout-form textarea {
  font: inherit; width: 100%; min-height: 44px; padding: 0.5rem 0.7rem; border: 1px solid var(--ink-soft); border-radius: 6px;
  background: var(--surface); color: var(--ink);
}
.checkout-form textarea { resize: vertical; }
.has-error input, .has-error textarea, .checkout-form [aria-invalid="true"] { border-color: var(--batana); border-width: 2px; }
.with-prefix { display: flex; align-items: stretch; }
.with-prefix .prefix {
  display: grid; place-items: center; padding: 0 0.7rem; border: 1px solid var(--ink-soft); border-right: 0;
  border-radius: 6px 0 0 6px; background: var(--paper-deep); font-variant-numeric: tabular-nums;
}
.with-prefix input { border-radius: 0 6px 6px 0 !important; }
.fixed-value { margin: 0; padding: 0.5rem 0; }
.pay-cards { display: grid; gap: 0.6rem; }
/* The PostNord pickup-point picker under the delivery cards (pickup-points.js). */
.pickup { margin-top: 1.2rem; }
.pickup-title { margin: 0 0 0.3rem; font-size: 1rem; }
.pickup .pay-cards { margin-top: 0.6rem; }
.pay-card {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.85rem 1rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-weight: 400 !important;
}
.pay-card:hover { border-color: var(--forest); }
.pay-card:has(input:checked) { border: 2px solid var(--forest); padding: calc(0.85rem - 1px) calc(1rem - 1px); background: var(--surface); }
.pay-card input { width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; accent-color: var(--forest); flex: none; }
.pay-card-text { display: grid; gap: 0.15rem; }
.pay-card-title { font-weight: 650; }
.pay-card-desc { font-size: 0.92rem; color: var(--ink-soft); }
.pay-card-only { cursor: default; }
.pay-card-only:hover { border-color: var(--line); }
.pay-logos { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.3rem; }
.pay-logo {
  padding: 0.05rem 0.45rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
  font-size: 0.75rem; font-weight: 650; color: var(--ink-soft);
}
.pay-card-soon { cursor: not-allowed; background: var(--paper-deep); border-style: dashed; }
.pay-card-soon:hover { border-color: var(--line); }
.soon-badge {
  display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px;
  background: var(--forest); color: var(--forest-ink); font-size: 0.75rem; font-weight: 650; vertical-align: 0.1em;
}
.consent .choice { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--forest); flex: none; }
.consent.has-error .choice { outline: 2px solid var(--batana); outline-offset: 6px; border-radius: 4px; }
.checkout-form > .button { justify-self: start; }
/* The honeypot: off-screen for everyone, so only bots fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.help { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.field-error, .form-error { color: var(--batana); font-weight: 650; margin: 0; }
.form-error { border: 2px solid var(--batana); border-radius: 8px; padding: 0.75rem 1rem; background: var(--surface); }
.summary { align-self: start; }
.summary h2 { font-size: var(--step-1); }

@media (min-width: 860px) {
  :root { --gutter: 2rem; --band: 5rem; }
  .hero { padding-top: 3rem; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr; gap: 2rem 4rem;
    grid-template-areas: "text image" "buy image";
  }
  .hero-text { grid-area: text; align-self: end; }
  .hero-image { grid-area: image; }
  .buy { grid-area: buy; align-self: start; }
  .split { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .split-reverse .split-media { order: -1; }
  .split-reverse { grid-template-columns: 0.85fr 1.15fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
  .benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 1fr); gap: 2rem; }
  .summary { position: sticky; top: 1rem; }
  .cart-head { display: flex; }
  .cart-line { grid-template-columns: 1fr auto auto; align-items: center; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Customer accounts (ADR 0009): sign-in pages, account overview, order history. */
.account-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 0.9rem;
  font-weight: 650; color: var(--forest); text-decoration: none; border-radius: 999px;
}
.account-link:hover { color: var(--batana); text-decoration: underline; }
.messages { padding-top: 1rem; display: grid; gap: 0.5rem; }
.messages .notice { margin: 0; }
.account-page { max-width: 44rem; margin: 0 auto; padding: 2rem var(--gutter) 3.5rem; }
.account-page .messages { padding: 0 0 1.25rem; }
.account-page h1 { font-size: var(--step-2); margin-bottom: 0.75rem; }
.account-form { display: grid; gap: 0; margin: 1rem 0 1.25rem; max-width: 28rem; }
.account-form .field { display: grid; gap: 0.3rem; margin: 0 0 0.9rem; min-width: 0; }
.account-form label { font-weight: 650; }
.account-form input[type="text"], .account-form input[type="email"], .account-form input[type="password"],
.account-form input[type="tel"] {
  font: inherit; width: 100%; min-height: 44px; padding: 0.5rem 0.7rem; border: 1px solid var(--ink-soft); border-radius: 6px;
  background: var(--surface); color: var(--ink);
}
.account-form .consent .choice { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; }
.account-form .consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--forest); flex: none; }
.form-actions, .button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0.25rem 0 0; }
.providers { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0.6rem; max-width: 28rem; }
.providers form { margin: 0; }
.provider-button { width: 100%; }
.divider { display: flex; align-items: center; gap: 0.75rem; max-width: 28rem; color: var(--ink-soft); font-size: 0.92rem; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.account-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 40rem) { .account-grid { grid-template-columns: 1fr 1fr; } }
.account-card { display: grid; gap: 0.6rem; align-content: start; }
.account-card h2 { font-size: var(--step-1); margin: 0; }
.account-card p, .account-card form { margin: 0; }
.plain-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.order-list { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; gap: 0.6rem; }
.order-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; padding-block: 0.8rem; }
.order-ref { font-weight: 650; font-variant-numeric: tabular-nums; }
.order-total { margin-left: auto; font-weight: 650; font-variant-numeric: tabular-nums; }
.status { font-size: 0.85rem; font-weight: 650; padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--sage); color: var(--forest); }
.status-cancelled { background: var(--paper-deep); color: var(--ink-soft); }

/* Header language switch (monisue.com): a pill with the language on screen, opening a card that ticks it. */
.lang-switch { position: relative; }
.lang-switch summary {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.25rem 0.75rem 0.25rem 0.3rem;
  list-style: none; cursor: pointer; font-weight: 650; color: var(--forest);
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--forest); }
.lang-switch[open] .lang-chevron { transform: rotate(180deg); }
.lang-mono {
  display: inline-grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 999px;
  background: var(--forest); color: var(--forest-ink);
  font: 600 1rem/1 var(--serif); letter-spacing: 0.06em;
}
.lang-panel {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 20; width: 18.5rem; margin: 0; padding: 0.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 14px 36px rgb(31 28 24 / 0.16);
}
.lang-heading {
  margin: 0.25rem 0.5rem 0.6rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--batana);
}
.lang-option {
  display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: 3.6rem; margin-bottom: 0.25rem;
  padding: 0.6rem; border: 0; border-radius: 10px; background: transparent; color: var(--ink);
  font: inherit; text-align: left; cursor: pointer;
}
.lang-option:hover { background: var(--paper); }
.lang-option .lang-mono {
  width: 2.6rem; height: 2.6rem; border-radius: 10px; font-size: 1.2rem;
  background: var(--paper-deep); color: var(--forest);
}
.lang-option[aria-current="true"] { background: #e3e9cf; }
.lang-option[aria-current="true"] .lang-mono { background: var(--forest); color: var(--forest-ink); }
.lang-text { display: flex; flex-direction: column; flex: 1; gap: 0.1rem; }
.lang-text .lang-name { font-weight: 650; }
.lang-note { font-size: 0.82rem; color: var(--ink-soft); }
.lang-tick { flex: none; color: var(--forest); }
.lang-foot { margin: 0.5rem 0.5rem 0.25rem; font-size: 0.8rem; color: var(--ink-soft); }
/* The country picker (SC-4) reuses the language switch, with a flag for the monogram and links for the options. */
.flag { flex: none; width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgb(31 28 24 / 0.15); }
.country-switch summary { padding-left: 0.75rem; }
a.lang-option { text-decoration: none; }
.lang-option[aria-current="page"] { background: #e3e9cf; }
.lang-option.is-soon { cursor: default; color: var(--ink-soft); }
.lang-option.is-soon:hover { background: transparent; }
.soon-badge {
  flex: none; font-size: 0.72rem; font-weight: 650; padding: 0.15rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
}
/* A phone: only the monogram in the header, and the choices come up as a sheet from the bottom. */
@media (max-width: 40rem) {
  .lang-switch summary { gap: 0.25rem; padding-right: 0.5rem; }
  .lang-switch summary .lang-name { display: none; }
  .lang-switch[open] summary::before {
    content: ""; position: fixed; inset: 0; z-index: 19; background: rgb(31 28 24 / 0.35); cursor: default;
  }
  .lang-panel {
    position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto;
    padding: 1rem var(--gutter) 1.75rem; border-radius: 20px 20px 0 0;
  }
  .lang-option { min-height: 4rem; }
}
