/*
  Bento r12 (Phase C-1): the global shell. Floating frosted header, desktop Collections panel,
  phone menu sheet (menu + Collections card grid), search sheet, cart drawer, colour pop-up,
  toast, guarantee strip and footer. From preview v7.4 site.css (final values of the v2-v7.3 layers).
  Scoped to ".bento .bx" like tokens.css.
*/

/* Storefront's own header and footer boxes stay in the page but carry no styling of their own. */
body.bento #masthead.site-header { position: static; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
body.bento #colophon.site-footer { margin: 0; padding: 0; background: none; border: 0; color: inherit; }
body.bento #colophon.site-footer > .col-full { max-width: none; padding: 0; margin: 0; }
body.bento .site-content { padding-top: 0; }
body.bento.bento-front #content > .col-full { max-width: none; padding: 0; }

/* ---------- Header: floating frosted bar, taller at the top, compact after 40 px ---------- */
.bento .bx .site-head {
	position: fixed; z-index: 50; top: calc(12px + var(--wp-admin--admin-bar--height, 0px)); left: 12px; right: 12px; width: auto;
	border-radius: 16px; border: 1px solid rgba(255,255,255,.55);
	background: rgba(250,248,243,.66); color: var(--ink);
	-webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
	box-shadow: 0 10px 30px -18px rgba(27,27,24,.35);
	transition: background .3s var(--ease), box-shadow .3s var(--ease), border-radius .3s var(--ease);
}
.bento .bx .site-head.is-scrolled { background: rgba(250,248,243,.82); }
.bento .bx .site-head.is-open { background: rgba(250,248,243,.97); border-radius: 16px 16px 0 0; }
.bento .bx .head-row { display: flex; align-items: center; gap: 28px; max-width: none; margin: 0; padding: 20px 18px 20px 22px; transition: padding .2s ease; }
.bento .bx .site-head.is-scrolled .head-row { padding-top: 10px; padding-bottom: 10px; }
.bento .bx .head-row > * { align-self: center; }
.bento .bx .logo { display: inline-flex; align-items: center; text-decoration: none; }
.bento .bx .logo img { height: 22px; width: auto; }
.bento .bx .site-head .logo { padding: 11px 6px; margin: -11px -6px; } /* r17: 44 px hit area on every screen */
.bento .bx .nav { display: flex; gap: 28px; margin-left: 12px; }
.bento .bx .nav a, .bento .bx .nav button { position: relative; background: none; border: 0; padding: 10px 0; font-size: 15px; line-height: 1.55; text-decoration: none; cursor: pointer; color: var(--ink); }
.bento .bx .nav a::after, .bento .bx .nav button::after {
	content: ""; position: absolute; left: 0; bottom: 4px; height: 1px; width: 10px;
	background: currentColor; opacity: 0; transition: width .45s var(--ease), opacity .25s ease;
}
.bento .bx .nav a:hover::after, .bento .bx .nav button:hover::after, .bento .bx .nav button[aria-expanded="true"]::after, .bento .bx .nav a[aria-current="page"]::after { width: 100%; opacity: 1; }
.bento .bx .nav .tag { font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 2px 7px; margin-left: 6px; border-radius: 20px; background: var(--forest); color: #fff; vertical-align: 2px; }
.bento .bx .head-tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.bento .bx .icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 50%; cursor: pointer; position: relative; text-decoration: none; color: var(--ink);
	transition: background .2s ease, transform .25s var(--ease); }
.bento .bx .icon-btn:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.bento .bx .icon-btn:active { transform: scale(.92); }
.bento .bx .icon-btn svg { width: 21px; height: 21px; }
.bento .bx .cart-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--green); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.bento .bx .cart-count:empty { display: none; }
.bento .bx .menu-btn { display: none; }
@media (max-width: 900px) {
	.bento .bx .site-head { top: calc(8px + var(--wp-admin--admin-bar--height, 0px)); left: 8px; right: 8px; border-radius: 14px; }
	.bento .bx .head-row { gap: 8px; padding: 16px 8px; }
	.bento .bx .site-head.is-scrolled .head-row { padding-top: 8px; padding-bottom: 8px; }
	.bento .bx .nav { display: none; }
	.bento .bx .menu-btn { display: inline-flex; }
	.bento .bx .site-head .logo { padding: 11px 6px; margin: -11px -6px; }
}

/* ---------- Desktop Collections panel: links left, four photos right, opens with a soft drop ---------- */
.bento .bx .mega {
	position: absolute; left: -1px; right: -1px; top: calc(100% - 1px); color: var(--ink);
	display: block; visibility: hidden; opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0);
	border: 1px solid rgba(255,255,255,.55); border-top: 0; border-radius: 0 0 16px 16px;
	background: rgba(250,248,243,.97); box-shadow: 0 30px 50px -30px rgba(27,27,24,.45);
	transition: clip-path .5s var(--ease), opacity .3s ease, transform .5s var(--ease), visibility 0s linear .5s;
}
.bento .bx .mega.is-open { visibility: visible; opacity: 1; transform: none; clip-path: inset(0 0 0 0); transition: clip-path .55s var(--ease), opacity .3s ease, transform .55s var(--ease), visibility 0s; }
.bento .bx .mega-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 30px 22px; }
.bento .bx .mega-side { display: flex; flex-direction: column; }
.bento .bx .mega-side a { position: relative; display: block; padding: 5px 0; font-size: 16px; width: fit-content; text-decoration: none; color: var(--ink); }
.bento .bx .mega-side a::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 0; background: currentColor; transition: width .4s var(--ease); }
.bento .bx .mega-side a:hover { color: var(--ink); }
.bento .bx .mega-side a:hover::after { width: 100%; }
.bento .bx .mega-side hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; width: 100%; height: 0; background: none; }
.bento .bx .mega-side a sup { font-size: 11px; color: var(--muted); margin-left: 3px; }
.bento .bx .mega-feature { display: flex; flex-direction: column; }
.bento .bx .mega-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.bento .bx .mega-tile { position: relative; display: block; background: var(--paper); text-decoration: none; overflow: hidden; color: var(--ink); }
.bento .bx .mega-tile .ph { display: block; background: var(--stage); overflow: hidden; }
.bento .bx .mega-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; transition: transform .5s var(--ease); }
.bento .bx .mega-tile:hover img { transform: scale(1.04); }
.bento .bx .mega-tile > span:last-child { display: flex; flex-direction: column; padding: 10px 2px 0; font-size: 15px; background: var(--paper); line-height: 1.55; }
.bento .bx .mega-tile b { font-weight: 500; }
.bento .bx .mega-tile em { font-style: normal; font-size: 13px; color: var(--ink-soft); }
.bento .bx .mega.is-open .mega-tile { animation: bx-tile-in .6s var(--ease) both; }
.bento .bx .mega.is-open .mega-tile:nth-child(2) { animation-delay: .05s; }
.bento .bx .mega.is-open .mega-tile:nth-child(3) { animation-delay: .1s; }
.bento .bx .mega.is-open .mega-tile:nth-child(4) { animation-delay: .15s; }
@keyframes bx-tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bento .bx .mega-all { align-self: flex-end; margin-top: 14px; }
@media (max-width: 900px) { .bento .bx .mega { display: none; } }

/* ---------- Phone menu: a full-height frosted sheet with two panes (menu, Collections) ---------- */
.bento .bx .mobile-menu { position: fixed; inset: 0; z-index: 80; height: 100vh; height: 100dvh; overflow: hidden;
	background: rgba(250,248,243,.86); -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .22s ease-out, transform .24s ease-out, visibility 0s linear .24s; }
.bento .bx .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease-out, transform .24s ease-out, visibility 0s; }
@media (min-width: 901px) { .bento .bx .mobile-menu, .bento .bx .sheet { display: none; } }
.bento .bx .mm-pane { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 0 max(var(--gutter), env(safe-area-inset-left)) env(safe-area-inset-bottom); overflow-y: auto; overscroll-behavior: contain;
	transition: transform .24s ease-out, opacity .2s ease-out; }
.bento .bx .mm-sub { transform: translateX(100%); opacity: 0; }
.bento .bx .mobile-menu.mm-sub-open .mm-sub { transform: none; opacity: 1; }
.bento .bx .mobile-menu.mm-sub-open .mm-main { transform: translateX(-18%); opacity: 0; }
.bento .bx .mm-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; position: relative; }
.bento .bx .mm-head .logo { padding: 11px 6px; margin: -11px -6px; }
.bento .bx .mm-title { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--serif); font-weight: 300; font-size: 22px; pointer-events: none; }
.bento .bx .mm-close, .bento .bx .sheet-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(27,27,24,.16); background: rgba(255,255,255,.6); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--ink);
	transition: background .2s ease-out, transform .2s ease-out; }
.bento .bx .mm-close:hover, .bento .bx .sheet-close:hover { background: #fff; color: var(--ink); }
.bento .bx .mm-close:active, .bento .bx .sheet-close:active { transform: scale(.92); background: #fff; }
.bento .bx .mm-close svg, .bento .bx .sheet-close svg { width: 20px; height: 20px; }
.bento .bx .mm-back { height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px 0 8px; margin-left: -8px; border: 0; background: none; font-size: 16px; cursor: pointer; border-radius: 22px; color: var(--ink); }
.bento .bx .mm-back:active { background: rgba(27,27,24,.06); }
.bento .bx .mm-back svg { width: 9px; height: 14px; }
.bento .bx .mm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 0 2px; margin: 0; border: 0; border-bottom: 1px solid rgba(27,27,24,.1); border-radius: 0; background: none; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer;
	font-family: var(--serif); font-weight: 300; font-size: 27px; letter-spacing: -.01em; line-height: 1.2; transition: background .2s ease-out; }
.bento .bx .mm-row:hover { color: var(--ink); background: none; }
.bento .bx .mm-row:active { background: rgba(27,27,24,.05); }
.bento .bx .mm-row .tag { font-family: var(--sans); font-size: 12px; font-weight: 600; padding: 2px 8px; margin-left: 10px; border-radius: 20px; background: var(--forest); color: #fff; letter-spacing: .02em; vertical-align: 3px; }
.bento .bx .mm-meta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); }
.bento .bx .mm-meta svg { width: 8px; height: 13px; color: var(--muted); }
.bento .bx .mm-more { display: flex; gap: 6px 22px; flex-wrap: wrap; padding-top: 6px; }
.bento .bx .mm-more a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; color: var(--ink-soft); }
.bento .bx .mm-foot { margin-top: auto; display: grid; gap: 10px; padding: 18px 0 22px; }
/* Collections pane: a 2-column grid of small cards (4:5 photo, 6 px corners, 8 px gaps), "View all chairs" below. */
.bento .bx .mm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px 0 6px; }
.bento .bx .mm-card { display: block; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.bento .bx .mm-card .ph { display: block; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--stage); }
.bento .bx .mm-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bento .bx .mm-card:active img { transform: scale(1.03); }
.bento .bx .mm-card .t { display: block; padding: 8px 2px 12px; }
.bento .bx .mm-card b { display: block; font-weight: 500; font-size: 15px; line-height: 1.25; }
.bento .bx .mm-card em { display: block; font-style: normal; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.bento .bx .mm-all { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 18px; padding: 0 2px; border-top: 1px solid rgba(27,27,24,.1); text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 500; }
.bento .bx .mm-all svg { width: 8px; height: 13px; color: var(--muted); }
.bento .bx .mm-all:active { background: rgba(27,27,24,.05); }
.bento .bx .mm-sub .mm-head { position: sticky; top: 0; z-index: 2; margin: 0 calc(-1 * max(var(--gutter), env(safe-area-inset-left))); padding: 0 max(var(--gutter), env(safe-area-inset-left)); background: rgba(250,248,243,.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }

/* Bottom sheet (used by the shop filter in r13): grab handle, closes by tap, Esc, close button or swipe down. */
.bento .bx .sheet { position: fixed; inset: 0; z-index: 85; visibility: hidden; pointer-events: none; transition: visibility 0s linear .26s; }
.bento .bx .sheet.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.bento .bx .sheet-back { position: absolute; inset: 0; background: rgba(27,27,24,.4); opacity: 0; transition: opacity .22s ease-out; }
.bento .bx .sheet.is-open .sheet-back { opacity: 1; }
.bento .bx .sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh;
	background: rgba(250,248,243,.9); -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
	border-radius: 22px 22px 0 0; box-shadow: 0 -24px 50px -26px rgba(27,27,24,.45); padding-bottom: env(safe-area-inset-bottom);
	transform: translateY(100%); transition: transform .26s ease-out; }
.bento .bx .sheet.is-open .sheet-panel { transform: none; }
.bento .bx .sheet-panel.is-dragging { transition: none; }
.bento .bx .sheet-grab { flex: none; padding-top: 8px; touch-action: none; cursor: grab; }
.bento .bx .sheet-grab::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: rgba(27,27,24,.22); margin: 0 auto; }

/* ---------- Search: fades in, the panel drops 12 px ---------- */
.bento .bx .search { position: fixed; inset: 0; z-index: 90; background: rgba(27,27,24,.35); opacity: 0; visibility: hidden; transition: opacity .22s ease-out, visibility 0s linear .22s; }
.bento .bx .search.is-open { opacity: 1; visibility: visible; transition: opacity .22s ease-out, visibility 0s; }
.bento .bx .search-panel { background: var(--paper); padding: 26px 0 34px; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; transform: translateY(-12px); transition: transform .24s ease-out; }
.bento .bx .search.is-open .search-panel { transform: none; }
.bento .bx .search-row { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; margin: 0; }
.bento .bx .search-row > svg { width: 26px; height: 26px; flex: none; }
.bento .bx .search-row input, .bento .bx .search-row input:focus { flex: 1; border: 0; border-radius: 0; background: none; box-shadow: none; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4vw, 44px); padding: 4px 0; outline: none; min-width: 0; color: var(--ink); }
.bento .bx .search-row input[type="search"]::-webkit-search-cancel-button, .bento .bx .search-row input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.bento .bx .search-hint { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.bento .bx .search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; margin-top: 22px; }
.bento .bx .sr { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px; text-decoration: none; background: #fff; color: var(--ink); }
.bento .bx .sr:hover { background: var(--stage-soft); }
.bento .bx .sr img { width: 76px; height: 76px; object-fit: cover; object-position: 50% 62%; background: var(--stage); }
.bento .bx .sr b { display: block; font-weight: 500; }
.bento .bx .sr:hover .price s { color: var(--ink-soft); }

/* ---------- Cart drawer: the window's height; the list scrolls, totals and buttons stay pinned ---------- */
.bento .bx .drawer-back { position: fixed; inset: 0; z-index: 95; background: rgba(27,27,24,.4); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.bento .bx .drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 96; width: min(440px, 100vw); height: 100vh; height: 100dvh; max-height: 100dvh; background: var(--paper); transform: translateX(100%); transition: transform .32s var(--ease), visibility 0s linear .32s; display: flex; flex-direction: column; visibility: hidden; }
.bento .bx .drawer.is-open { visibility: visible; transform: none; transition: transform .32s var(--ease), visibility 0s; }
.bento .bx .drawer-back.is-open { opacity: 1; pointer-events: auto; }
.bento .bx .drawer-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.bento .bx .drawer-head .serif { font-size: 28px; margin: 0; }
.bento .bx .drawer-added { flex: none; margin: 0; padding: 12px 24px; background: var(--forest); color: #fff; font-size: 14px; }
.bento .bx .drawer-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px; }
.bento .bx .drawer.is-busy .drawer-body { opacity: .6; transition: opacity .2s; }
.bento .bx .line-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bento .bx .line-item img { width: 88px; height: 88px; object-fit: cover; object-position: 50% 62%; background: var(--stage); }
.bento .bx .line-item b { font-weight: 500; display: block; }
.bento .bx .line-item b a { text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; } /* r17: 21 px tall link -> 45 px hit area, same layout */
.bento .bx .line-item .colour-line { display: block; font-size: 13px; color: var(--ink-soft); }
.bento .bx .line-item .line-note { display: block; font-size: 13px; color: #8a2a12; margin-top: 4px; }
.bento .bx .qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; margin-top: 10px; background: #fff; }
.bento .bx .qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink); text-align: center; }
.bento .bx .qty button:disabled { opacity: .35; cursor: default; }
.bento .bx .qty span { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.bento .bx .remove { background: none; border: 0; padding: 0; margin-top: 10px; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.bento .bx .remove:hover { color: var(--ink); }
/* r17: a 20 px tall Remove / Start again link gets a 40 px hit area on every screen, not just phones */
.bento .bx .remove, .bento .bx .answers .link { position: relative; }
.bento .bx .remove::before, .bento .bx .answers .link::before { content: ""; position: absolute; left: -8px; right: -8px; top: -10px; bottom: -10px; }
.bento .bx .drawer-foot { flex: none; padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--paper-deep); }
.bento .bx .totals-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.bento .bx .totals-row.big { font-size: 19px; font-weight: 500; margin: 6px 0 4px; }
.bento .bx .drawer-foot .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.bento .bx .empty-note { padding: 40px 0; color: var(--ink-soft); }
.bento .bx .drawer-error { margin: 0; padding: 10px 24px; background: #fbe9e3; color: #8a2a12; font-size: 14px; }
.bento .bx .drawer-error:empty { display: none; }
/* r14: the cart drawer's colour change hooks in here ([data-colour-slot] under each chair name). */
.bento .bx .colour-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin: -8px 0 -8px -2px; padding: 8px 2px; border: 0; background: none; font-size: 13px; line-height: 1.3; color: var(--ink-soft); cursor: pointer; text-align: left; border-radius: 6px; }
.bento .bx .colour-btn .sw { width: 12px; height: 12px; flex: none; }
.bento .bx .colour-btn svg { width: 10px; height: 6px; flex: none; margin-left: 1px; transition: transform .2s ease-out; }
.bento .bx .colour-btn:hover { color: var(--ink); }
@media (max-width: 900px) {
	.bento .bx .drawer { transition: transform .25s ease-out, visibility 0s linear .25s; }
	.bento .bx .drawer.is-open { transition: transform .25s ease-out, visibility 0s; }
	.bento .bx .drawer-back { transition: opacity .22s ease-out; }
	.bento .bx .drawer-head .icon-btn { border: 1px solid rgba(27,27,24,.16); background: rgba(255,255,255,.6); }
	.bento .bx .search-row .icon-btn { border: 1px solid rgba(27,27,24,.16); }
}

/* ---------- Toast: "Added to cart · View cart" ---------- */
.bento .bx .toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 3px; z-index: 130; font-size: 14px; transition: transform .3s var(--ease); max-width: calc(100vw - 32px); visibility: hidden; }
.bento .bx .toast.on { transform: translate(-50%, 0); visibility: visible; }
.bento .bx .toast.has-link { display: flex; align-items: center; gap: 4px; padding: 0 6px 0 16px; min-height: 48px; border-radius: 999px; white-space: nowrap; }
.bento .bx .toast.has-link a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bento .bx .toast.has-link .sep { opacity: .55; }
@media (max-width: 900px) { .bento .bx .toast { bottom: calc(16px + env(safe-area-inset-bottom)); } }

/* ---------- Colour pop-up: a bottom sheet on phones, a small dialog on desktop ---------- */
.bento .bx .cpick { position: fixed; inset: 0; z-index: 110; visibility: hidden; pointer-events: none; transition: visibility 0s linear .26s; }
.bento .bx .cpick.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.bento .bx .cpick-back { position: absolute; inset: 0; background: rgba(27,27,24,.4); opacity: 0; transition: opacity .22s ease-out; }
.bento .bx .cpick.is-open .cpick-back { opacity: 1; }
.bento .bx .cpick-panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
	background: rgba(250,248,243,.97); -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
	border-radius: 22px 22px 0 0; box-shadow: 0 -24px 50px -26px rgba(27,27,24,.45); padding: 0 20px calc(18px + env(safe-area-inset-bottom));
	transform: translateY(100%); transition: transform .26s ease-out; }
.bento .bx .cpick.is-open .cpick-panel { transform: none; }
.bento .bx .cpick-panel.is-dragging { transition: none; }
.bento .bx .cpick .sheet-grab { margin: 0 -20px; }
.bento .bx .cp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 4px 0 4px 2px; }
.bento .bx .cp-head .serif { font-size: 28px; margin: 0; }
.bento .bx .cp-chair { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0 16px; border-bottom: 1px solid rgba(27,27,24,.1); }
.bento .bx .cp-chair img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; object-position: 50% 62%; background: var(--stage); }
.bento .bx .cp-chair b { display: block; font-weight: 500; font-size: 17px; line-height: 1.25; }
.bento .bx .cp-chair .price { font-size: 15px; color: var(--ink-soft); }
.bento .bx .cp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px 0 18px; }
.bento .bx .cp-opt { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 52px; padding: 6px 12px; text-align: left; border: 1px solid #cfc9bb; border-radius: 10px; background: #fff; cursor: pointer; font-size: 15px; line-height: 1.25; color: var(--ink);
	transition: border-color .2s ease-out, box-shadow .2s ease-out, background .2s ease-out; }
.bento .bx .cp-opt:hover { background: #fff; color: var(--ink); }
.bento .bx .cp-opt .sw { width: 26px; height: 26px; }
.bento .bx .cp-opt .nm { display: block; overflow-wrap: anywhere; }
.bento .bx .cp-opt .st { display: block; font-size: 12px; color: var(--muted); }
.bento .bx .cp-opt[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.bento .bx .cp-opt:disabled, .bento .bx .cp-opt:disabled:hover { cursor: not-allowed; background: rgba(255,255,255,.5); color: #7b7a72; }
.bento .bx .cp-opt:disabled .sw { opacity: .4; filter: grayscale(.5); }
.bento .bx .cp-opt:not(:disabled):hover { border-color: var(--ink-soft); }
.bento .bx .cp-opt[aria-checked="true"]:hover { border-color: var(--ink); }
.bento .bx .cp-go { min-height: 52px; }
.bento .bx .cp-error { margin: -6px 0 12px; font-size: 14px; color: #8a2a12; }
.bento .bx .cp-error:empty { display: none; }
@media (min-width: 901px) {
	.bento .bx .cpick-panel { left: 50%; right: auto; top: 50%; bottom: auto; width: min(400px, calc(100vw - 32px)); border-radius: 18px; padding-bottom: 20px; box-shadow: 0 30px 70px -30px rgba(27,27,24,.55);
		transform: translate(-50%, calc(-50% + 14px)); opacity: 0; transition: transform .24s ease-out, opacity .2s ease-out; }
	.bento .bx .cpick.is-open .cpick-panel { transform: translate(-50%, -50%); opacity: 1; }
	.bento .bx .cpick .sheet-grab { display: none; }
	.bento .bx .cp-head { padding-top: 14px; }
}

/* ---------- Guarantee strip: quiet, hairlines, the same on every screen size ---------- */
.bento .bx .guarantees { background: transparent; margin: clamp(40px, 5vw, 56px) 0 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bento .bx .guarantees:has(+ .site-foot) { border-bottom: 0; }
.bento .bx .g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.bento .bx .g-grid > div { display: flex; flex-direction: column; gap: 3px; padding: 0; border-left: 0; }
.bento .bx .g-grid .ico { width: 20px; height: 20px; margin-bottom: 6px; color: var(--forest); opacity: .7; }
.bento .bx .g-grid b { font-family: var(--serif); font-weight: 300; font-size: 18px; line-height: 1.2; color: var(--ink); }
.bento .bx .g-grid span:not(.ico) { font-size: 13px; line-height: 1.45; color: #62625b; max-width: 26em; }
@media (max-width: 900px) { .bento .bx .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; } }

/* ---------- Footer: quiet, smaller type ---------- */
.bento .bx .site-foot { background: var(--forest); padding: 34px 0 20px; margin-top: 0; font-size: 13px; line-height: 1.5; color: #a9baa9; }
.bento .bx .foot-grid, .bento .bx .foot-links { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px 32px; }
.bento .bx .foot-links { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); } /* r18: Shop / Help / Company */
.bento .bx .foot-links .fh { margin: 0 0 6px; padding: 0; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.5; color: #c9d6c9; }
.bento .bx .foot-links .fl-shop .fl-cols { columns: 2; column-gap: 32px; }
.bento .bx .foot-links .fl-cols a { break-inside: avoid; }
.bento .bx .foot-grid p { margin: 0; }
.bento .bx .foot-grid .serif { font-size: 22px; margin: 0 0 8px; color: #dbe5db; }
.bento .bx .foot-grid .fh { margin: 0 0 6px; padding: 0; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.5; color: #c9d6c9; }
.bento .bx .foot-grid a, .bento .bx .foot-links a { display: block; text-decoration: none; padding: 3px 0; color: #c4d1c4; }
.bento .bx .foot-grid a:hover, .bento .bx .foot-links a:hover, .bento .bx .foot-legal a:hover { color: #fff; text-decoration: underline; }
.bento .bx .foot-legal { display: flex; align-items: center; gap: 8px; }
.bento .bx .foot-legal a { padding: 3px 0; color: #c4d1c4; text-decoration: none; }
.bento .bx .foot-base { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; color: #8fa191; display: flex; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
	.bento .bx .foot-grid, .bento .bx .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; }
	.bento .bx .foot-grid > div, .bento .bx .foot-links > div { grid-column: 1 / -1; }
	.bento .bx .foot-grid > div:first-child p:last-child { max-width: none !important; }
	.bento .bx .foot-grid a, .bento .bx .foot-links a, .bento .bx .foot-legal a { display: flex; align-items: center; min-height: 44px; padding: 0; margin: 0; }
	.bento .bx .foot-grid > div:nth-child(3) { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; }
	.bento .bx .foot-grid > div:nth-child(3) .fh { flex: 0 0 100%; margin: 0; }
	.bento .bx .foot-links { margin-top: 12px; padding-top: 16px; gap: 14px 22px; }
	.bento .bx .foot-links .fl-cols { display: flex; flex-wrap: wrap; column-gap: 24px; }
	.bento .bx .foot-links .fl-shop .fl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); columns: auto; column-gap: 16px; }
	.bento .bx .foot-links .fh { margin: 0; }
	.bento .bx .foot-base { align-items: center; }
}

/* ---------- Phones: 44 px tap targets without moving anything ---------- */
@media (max-width: 900px) {
	.bento .bx .line-link { padding: 12px 0; }
	.bento .bx .line-link::after { bottom: 10px; }
	.bento .bx .link, .bento .bx .remove, .bento .bx a[href^="tel:"] { position: relative; }
	.bento .bx .link::before, .bento .bx .remove::before { content: ""; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -14px; }
	.bento .bx .link { z-index: 1; }
	.bento .bx .remove { min-height: 44px; min-width: 44px; }
	.bento .bx .qty button { min-width: 44px; min-height: 44px; }
	.bento .bx summary { min-height: 44px; display: flex; align-items: center; }
	.bento .bx input[type="range"] { min-height: 44px; }
}
