/*
  Bento r12 (Phase C-1): design tokens and shared components, from the approved preview v7.4
  (BentoDemo/2026-10-28-frontend-previews-v7-4/assets/site.css).

  Every new front-end piece (header, sheets, cart drawer, colour pop-up, footer, homepage) sits inside
  an element with class "bx". All rules below are scoped to ".bento .bx" so they win over Storefront's
  element rules (button:hover etc.) and the older bento.css, which still styles the shop, product,
  cart and checkout pages until r13/r14. Tokens live on .bx for the same reason: the old pages keep
  their own :root values.
*/

@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/web/hanken-grotesk-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/web/newsreader-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 400; font-display: swap; src: url(../fonts/web/newsreader-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Page background and room for the floating header (the homepage hero runs under it). */
body.bento { background: #faf8f3; padding-top: 112px; }
body.bento.has-photo-hero { padding-top: 0; }
@media (max-width: 900px) { body.bento { padding-top: 100px; } body.bento.has-photo-hero { padding-top: 0; } }
html.no-scroll, html.no-scroll body { overflow: hidden; overscroll-behavior: none; }

/* Page transition: opacity only (a transform on <body> would break position:fixed). */
body.bento.pt { animation: bx-pt-in .42s cubic-bezier(0.22, 1, 0.36, 1) both; }
body.bento.pt-leave { opacity: 0; transition: opacity .32s ease; }
@keyframes bx-pt-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.bento.pt, body.bento.pt-leave { animation: none; opacity: 1; } }

.bento .bx {
	--paper: #faf8f3;
	--paper-deep: #f1ede4;
	--stage: #d3d2ce;
	--stage-soft: #e2e1dd;
	--ink: #1b1b18;
	--ink-soft: #4a4a44;
	--muted: #62615a;
	--line: #e3ded2;
	--forest: #12331a;
	--green: #1e7d22;
	--white: #ffffff;
	--serif: "Newsreader", ui-serif, Georgia, serif;
	--sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 48px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	letter-spacing: normal;
	-webkit-font-smoothing: antialiased;
}

.bento .bx *, .bento .bx *::before, .bento .bx *::after { box-sizing: border-box; }
.bento .bx img { display: block; max-width: 100%; height: auto; border-radius: 0; }
.bento .bx picture { display: contents; }
.bento .bx a { color: inherit; }
.bento .bx p { margin: 0 0 1em; text-wrap: pretty; }
.bento .bx h1, .bento .bx h2, .bento .bx h3, .bento .bx h4 { color: inherit; font-family: inherit; letter-spacing: inherit; }
.bento .bx ul { margin: 0; }
/* Storefront styles every <button>: start from nothing inside Bento's own UI. */
.bento .bx button { font: inherit; color: inherit; background: none; background-color: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; font-weight: inherit; text-shadow: none; box-shadow: none; display: inline-block; -webkit-appearance: none; appearance: none; }
.bento .bx input, .bento .bx select, .bento .bx textarea { font: inherit; color: inherit; }
.bento .bx :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .bento .bx * { transition: none !important; animation: none !important; } }

.bento .bx .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.bento .bx .serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.015em; line-height: 1.04; font-optical-sizing: auto; }
.bento .bx .h-xxl { font-size: clamp(44px, 7.2vw, 96px); }
.bento .bx .h-xl { font-size: clamp(36px, 5vw, 64px); }
.bento .bx .h-l { font-size: clamp(30px, 3.4vw, 44px); }
.bento .bx .h-m { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.bento .bx .lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); max-width: 36em; }
.bento .bx .small { font-size: 14px; }
.bento .bx .muted { color: var(--muted); }
.bento .bx .soft { color: var(--ink-soft); }
.bento .bx .label { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.bento .bx .section { padding: clamp(64px, 9vw, 128px) 0; }
.bento .bx .section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.bento .bx .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Buttons: pill, the label rolls up on hover, the arrow slides. */
.bento .bx .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); overflow: hidden;
	background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.2; letter-spacing: normal; white-space: nowrap;
	cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.bento .bx .btn:hover { background: #000; color: var(--paper); }
.bento .bx .btn:active { transform: scale(.98); }
.bento .bx .btn-forest { background: var(--forest); border-color: var(--forest); color: #fff; }
.bento .bx .btn-forest:hover { background: #0b2411; color: #fff; }
.bento .bx .btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.bento .bx .btn-light:hover { background: #fff; color: var(--ink); }
.bento .bx .btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.bento .bx .btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bento .bx .btn-block { width: 100%; }
.bento .bx .btn:disabled, .bento .bx .btn[aria-disabled="true"] { opacity: .45; cursor: default; }
.bento .bx .roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: middle; }
.bento .bx .roll > span { display: block; transition: transform .5s var(--ease); }
.bento .bx .roll > span::after { content: attr(data-t); display: block; }
.bento .bx .btn:hover .roll > span { transform: translateY(-50%); }
.bento .bx .btn .arr { transition: transform .45s var(--ease); }
.bento .bx .btn:hover .arr { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .bento .bx .btn:hover .roll > span { transform: none; } }

/* Text link with an arrow and a line that grows on hover. */
.bento .bx .line-link { position: relative; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; padding: 6px 0; color: inherit; }
.bento .bx .line-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 18px; background: currentColor; opacity: .5; transition: width .45s var(--ease), opacity .25s ease; }
.bento .bx .line-link:hover::after { width: 100%; opacity: 1; }
.bento .bx .line-link .arr { transition: transform .45s var(--ease); }
.bento .bx .line-link:hover .arr { transform: translateX(4px); }
.bento .bx .arr { width: 22px; height: 10px; flex: none; }
.bento .bx .link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bento .bx .link:hover { color: var(--green); }

/* Prices: small strikethrough, no badge. */
.bento .bx .price { font-variant-numeric: tabular-nums; }
.bento .bx .price s { color: var(--muted); margin-right: 6px; font-size: .82em; text-decoration-thickness: 1px; }
.bento .bx .price ins { text-decoration: none; color: var(--ink); font-weight: 400; background: none; }
.bento .bx .sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); display: inline-block; }

/* Icons: hairline strokes that take the text colour. */
.bento .bx .ico { display: inline-flex; flex: none; width: 32px; height: 32px; color: inherit; }
.bento .bx .ico svg { width: 100%; height: 100%; display: block; overflow: visible; }
.bento .bx .ico svg * { vector-effect: non-scaling-stroke; stroke-width: 1.1px; }

/* Shared add-to-cart "+": 32 px visible circle inside a 44 px tap area. */
.bento .bx .plus {
	position: relative; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; color: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
	transition: color .3s var(--ease), transform .3s var(--ease);
}
.bento .bx .plus::before { content: ""; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 1px solid rgba(27,27,24,.45); background: rgba(250,248,243,.78);
	transition: background .3s var(--ease), border-color .3s var(--ease); }
.bento .bx .plus svg { position: relative; width: 13px; height: 13px; transition: transform .4s var(--ease); }
.bento .bx .plus:hover { color: var(--paper); background: none; }
.bento .bx .plus:hover::before { background: var(--ink); border-color: var(--ink); }
.bento .bx .plus:hover svg { transform: rotate(90deg); }
.bento .bx .plus:active { transform: scale(.9); }
.bento .bx .plus.done, .bento .bx .plus.done:hover { color: #fff; }
.bento .bx .plus.done::before { background: var(--green); border-color: var(--green); }
.bento .bx .plus.is-busy { pointer-events: none; }
.bento .bx .plus.is-busy svg { opacity: .35; }
