/* WordPress / WooCommerce glue. Loaded last. Keeps the original look when block-theme wrappers sit in between. */

/* template-part wrappers must not become the sticky header's containing block */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > footer.wp-block-template-part{display:contents}
.wp-site-blocks{padding:0}
.wp-site-blocks > *{margin-block-start:0}
:where(.wp-site-blocks) > *{margin-block-start:0}
.wp-block-group.is-layout-flow > *{margin-block-start:0;margin-block-end:0}

/* root padding from theme.json must not shrink full-bleed sections */
.has-global-padding{padding-left:0;padding-right:0}

/* every page fades in gently (replaces the React template transition) */
@media (prefers-reduced-motion:no-preference){
  main#main{animation:pageIn .35s var(--ease) backwards} /* not 'both': a fill-forwards transform makes <main> the containing block of the fixed filters sheet */
}
@keyframes pageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* admin bar offsets the sticky header */
.admin-bar .header{top:var(--wp-admin--admin-bar--height,32px)}

/* catalog: type tabs and chips are links now (they were buttons) */
.tab{display:inline-flex;align-items:center}
.catalog-root[aria-busy=true] .results{opacity:.55;transition:opacity .2s}
a.btn{text-decoration:none}

/* ---------- Contact Form 7 ---------- */
.wpcf7 .wpcf7-form-control-wrap{display:block}
.wpcf7 form .field input,.wpcf7 form .field textarea{width:100%}
.wpcf7-not-valid-tip{display:block;margin-top:.35rem;font-size:.875rem;color:var(--danger)}
.wpcf7 .wpcf7-not-valid{border-color:var(--danger)!important;box-shadow:0 0 0 1px var(--danger)}
.wpcf7 form .wpcf7-response-output{margin:1.2rem 0 0;padding:.95rem 1.1rem;border:1px solid var(--accent);background:var(--ok-bg);font-size:.9375rem}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.aborted .wpcf7-response-output{border-color:var(--danger);background:var(--danger-bg);color:var(--danger-ink)}
.wpcf7-spinner{display:none}
.wpcf7 input[type=submit].btn{width:100%;cursor:pointer}

/* ---------- WooCommerce notices (login errors, "added to cart" etc.) ---------- */
.woocommerce-error,.woocommerce-message,.woocommerce-info{list-style:none;margin:0 0 1.3rem;padding:.95rem 1.1rem;border:1px solid var(--accent);background:var(--ok-bg);font-size:.9375rem}
.woocommerce-error{border-color:var(--danger);background:var(--danger-bg);color:var(--danger-ink)}
.woocommerce-error li+li{margin-top:.3rem}
.woocommerce-message a,.woocommerce-info a,.woocommerce-error a{text-decoration:underline;text-underline-offset:4px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- auth screens ---------- */
.check--inline{margin:-.2rem 0 1rem}
.auth .woocommerce-form .field__row a.link-btn{font-size:.9375rem;color:var(--gold)}
.woocommerce-account:not(.logged-in) .woocommerce{max-width:none}

/* ---------- my account (signed in) ---------- */
body.logged-in.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:start;max-width:var(--max);margin:0 auto;padding:clamp(32px,5vw,64px) var(--gutter) clamp(56px,8vw,104px)}
.woocommerce-MyAccount-navigation ul{list-style:none;border-top:1px solid var(--line-soft)}
.woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line-soft)}
.woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:52px;font-size:1.0625rem}
.woocommerce-MyAccount-navigation .is-active a{font-weight:500;color:var(--accent)}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-size:1.75rem;margin-bottom:1rem}
.woocommerce-MyAccount-content p{margin-bottom:1rem}
.woocommerce-MyAccount-content a:not(.button):not(.btn){text-decoration:underline;text-underline-offset:4px}
.woocommerce-MyAccount-content table{width:100%;border-collapse:collapse}
.woocommerce-MyAccount-content th,.woocommerce-MyAccount-content td{text-align:left;padding:.8rem .6rem;border-bottom:1px solid var(--line-soft)}
.woocommerce form .form-row{display:grid;gap:.45rem;margin-bottom:1.15rem}
.woocommerce form .form-row label{font-size:.9375rem;font-weight:500}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{width:100%;min-height:52px;padding:0 1rem;font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--field-line);border-radius:var(--radius)}
.woocommerce form .form-row input.input-text:focus-visible,.woocommerce form .form-row textarea:focus-visible,.woocommerce form .form-row select:focus-visible{outline:2px solid var(--color-focus);outline-offset:0}
.woocommerce .button,.woocommerce button.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 2rem;font-size:.9375rem;font-weight:700;letter-spacing:0;border:1.5px solid var(--accent);border-radius:var(--radius);background:var(--accent);color:var(--on-accent);cursor:pointer;transition:background-color .3s var(--ease)}
.woocommerce .button:hover{background:var(--accent-hi);border-color:var(--accent-hi)}
@media (max-width:800px){body.logged-in.woocommerce-account .woocommerce{grid-template-columns:1fr}}

/* ---------- page titles on WooCommerce pages (cart, checkout) ---------- */
.page-top-title{padding-block:clamp(32px,5vw,64px) clamp(20px,3vw,36px);font-size:clamp(2.4rem,4.4vw,4rem)}
.woo-page{padding-bottom:clamp(56px,8vw,104px)}
.text-page{padding-block:clamp(32px,5vw,64px) clamp(56px,8vw,104px);max-width:820px}
.text-page h1{margin-bottom:1.4rem}
.text-page p{margin-bottom:1rem}

/* ---------- WooCommerce blocks (cart, checkout, order confirmation) in the Nissi look ---------- */
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:var(--accent)!important;color:var(--on-accent)!important;border:1.5px solid var(--accent);border-radius:var(--radius)!important;min-height:50px;font-family:var(--font);font-size:.9375rem!important;font-weight:700;letter-spacing:0;transition:background-color .3s var(--ease)}
.wc-block-components-button:not(.is-link):hover{background:var(--accent-hi)!important;border-color:var(--accent-hi)}
.wc-block-components-text-input input,.wc-block-components-combobox .components-form-token-field__input-container,.wc-blocks-components-select .wc-blocks-components-select__select,.wc-block-components-textarea{border-radius:var(--radius)!important;border-color:var(--field-line)!important}
.wc-block-components-text-input input:focus-visible,.wc-blocks-components-select__select:focus-visible{outline:2px solid var(--color-focus)!important;outline-offset:0}
.wc-block-components-sidebar-layout .wc-block-components-main{padding-right:clamp(16px,3vw,48px)}
.wc-block-components-order-summary,.wc-block-checkout__sidebar .wc-block-components-totals-wrapper:first-child{border-radius:var(--radius)}
.wc-block-cart-items th,.wc-block-cart__totals-title{font-size:.8125rem;font-weight:500;letter-spacing:0;color:var(--gold)}
.wc-block-components-product-name{font-weight:400;font-size:1.0625rem;text-decoration:none}
.wc-block-components-quantity-selector{border-radius:var(--radius)}
.wc-block-components-totals-item__value,.wc-block-components-product-price{font-variant-numeric:tabular-nums}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}
.wc-block-components-radio-control__input:checked{border-color:var(--accent)}
.wc-block-components-radio-control__input:checked:before{background:var(--accent)}
.wc-block-components-notice-banner{border-radius:var(--radius)}
.wc-block-components-title.wc-block-components-title,.wp-block-woocommerce-checkout h2,.wp-block-woocommerce-cart h2{font-family:var(--font);font-weight:400}

/* order confirmation */
.order-page .wp-block-woocommerce-order-confirmation-status{margin-bottom:1.6rem}
.order-page .wp-block-woocommerce-order-confirmation-status h1,.order-page .wc-block-order-confirmation-status h1{font-size:clamp(2.4rem,4.4vw,4rem);margin-bottom:.6rem}
.order-page .wc-block-order-confirmation-summary{margin:0 0 2.4rem}
.order-page .wc-block-order-confirmation-summary-list{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1.4rem;padding:1.4rem 0;border-block:1px solid var(--line-soft)}
.order-page .wc-block-order-confirmation-summary-list-item__key{display:block;font-size:.8125rem;letter-spacing:0;color:var(--gold)}
.order-page .wc-block-order-confirmation-summary-list-item__value{display:block;font-size:1.125rem}
.order-page h2,.order-page h3{font-family:var(--font);font-weight:400;font-size:1.75rem;margin:2rem 0 1rem}
.order-page table{width:100%;border-collapse:collapse}
.order-page th,.order-page td{text-align:left;padding:.8rem .5rem;border-bottom:1px solid var(--line-soft)}
.order-page th:last-child,.order-page td:last-child{text-align:right}
.order-page address{font-style:normal;line-height:1.7}

/* the admin bar (signed-in staff) shifts the sticky header, so the mobile drawer starts lower too */


/* ---------- block editor canvas ---------- */
/* the mobile drawer is JS-driven and invisible on the front end; in the editor it would only take space */
.editor-styles-wrapper .drawer{display:none!important}
/* template-part wrappers keep their normal box in the editor so blocks stay selectable */
.editor-styles-wrapper .wp-block-template-part{display:block}
/* Gutenberg sets heading sizes to "inherit" in the canvas; restore the theme's scale there (front end is unaffected) */
.editor-styles-wrapper.editor-styles-wrapper h1{font-size:var(--wp--preset--font-size--heading-xl)}
.editor-styles-wrapper.editor-styles-wrapper h2{font-size:var(--wp--preset--font-size--heading-l)}
.editor-styles-wrapper.editor-styles-wrapper h3{font-size:var(--wp--preset--font-size--heading-m)}
.editor-styles-wrapper.editor-styles-wrapper .footer h2,.editor-styles-wrapper.editor-styles-wrapper .mega h3{font-size:.8125rem}
/* rails are plain lists in the editor (Swiper does not run there): give the slides the gap Swiper would add */
.editor-styles-wrapper .rail .swiper-slide{margin-right:24px}

/* ======================================================================
   Classic WooCommerce: cart, checkout, order received (theme template overrides in /woocommerce)
   ====================================================================== */
/* stepper (cart quantity): [ - | 3 | + ], dividers between the cells, buttons dim at the ends */
.stepper.quantity{display:inline-grid;grid-template-columns:40px 44px 40px;align-items:stretch;border:1px solid var(--control-line);border-radius:var(--radius);background:var(--panel);text-align:center;overflow:hidden}
.stepper.quantity button{height:38px;display:grid;place-items:center;color:var(--ink);background:transparent;transition:background-color .2s,color .2s}
.stepper.quantity button:hover:not(:disabled){background:var(--bg-deep)}
.stepper.quantity button:active:not(:disabled){background:var(--color-paper-2)}
.stepper.quantity button:disabled{color:var(--color-rule);background:transparent;cursor:not-allowed}
.stepper.quantity button:focus-visible{outline:2px solid var(--color-focus);outline-offset:-3px}
.stepper input.qty{width:100%;height:38px;padding:0;border:0;border-left:1px solid var(--color-rule);border-right:1px solid var(--color-rule);border-radius:0;background:transparent;text-align:center;font:inherit;font-size:1rem;font-weight:500;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.stepper input.qty::-webkit-inner-spin-button,.stepper input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.stepper input.qty:focus-visible{outline:2px solid var(--color-focus);outline-offset:-2px}
/* touch screens keep the 44px target of the other controls */
@media (max-width:640px){.stepper.quantity{grid-template-columns:40px 48px 40px}.stepper.quantity button,.stepper input.qty{height:42px}}
/* the cart is a calmer, narrower column than the catalog */
.woocommerce-cart main .container{max-width:1400px}
.woocommerce-cart-form.is-updating{opacity:.55;transition:opacity .2s}

.cart-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;margin-top:1.6rem}
.cart-actions .coupon{display:flex;gap:.6rem;flex-wrap:wrap}
.cart-actions .coupon .button{white-space:nowrap}
/* WooCommerce's own coupon result: a red line under the field, the field gets a red border */
.coupon-error-notice{flex:0 0 100%;margin:.2rem 0 0;font-size:.875rem;line-height:1.4;color:var(--danger)}
.woocommerce input.input-text.has-error{border-color:var(--danger)}
@media (max-width:640px){.cart-actions,.cart-actions .coupon{width:100%}.cart-actions .coupon input.input-text{flex:1 1 150px;min-width:0}.cart-actions .coupon .button{flex:0 0 auto;padding:0 1.2rem}}
.cart-actions .coupon input.input-text{min-height:48px;padding:0 1rem;border:1px solid var(--field-line);border-radius:var(--radius);font:inherit;background:var(--panel)}
.js .cart-actions .cart-update{display:none!important}

.cart_totals h2{font-size:1.75rem;margin-bottom:1.2rem}
.cart_totals table{width:100%;border-collapse:collapse}
.cart_totals th{text-align:left;font-weight:400;color:var(--muted);padding:.6rem 0;vertical-align:top}
.cart_totals td{text-align:right;padding:.6rem 0;font-variant-numeric:tabular-nums}
.cart_totals .order-total th,.cart_totals .order-total td{padding-top:1.1rem;border-top:1px solid var(--line-soft);font-size:1.25rem;color:var(--ink)}
.cart_totals .order-total td{font-weight:500}
.cart_totals ul#shipping_method{list-style:none;text-align:right}
.cart_totals .woocommerce-shipping-destination,.cart_totals .shipping-calculator-button{font-size:.875rem;color:var(--muted)}
.wc-proceed-to-checkout{margin-top:1.4rem}
.wc-proceed-to-checkout .checkout-button{display:flex;width:100%;min-height:52px}

/* checkout */
.checkout.shop-layout .checkout-fields h3,.woocommerce-additional-fields h3{font-size:1.75rem;margin-bottom:1.2rem}
.checkout-block{margin-bottom:2.2rem}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 1.2rem}
.woocommerce-billing-fields__field-wrapper .form-row-wide,.woocommerce-shipping-fields__field-wrapper .form-row-wide,.woocommerce-additional-fields__field-wrapper .form-row{grid-column:1/-1}
.woocommerce form .form-row .required{color:var(--danger);text-decoration:none}
.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger)}
.woocommerce form .form-row textarea{min-height:120px;padding:.9rem 1rem}
.woocommerce-checkout .select2-container .select2-selection--single{height:52px;border:1px solid var(--field-line);border-radius:var(--radius)}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:50px;padding-left:1rem}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:50px}
.woocommerce-form-login-toggle .woocommerce-info,.woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:1rem}

.checkout .summary h2{font-size:1.75rem;margin-bottom:1.2rem}
.woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse}
.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:.7rem 0;text-align:left;vertical-align:top;border-bottom:1px solid var(--line-soft);font-weight:400}
.woocommerce-checkout-review-order-table thead th{font-size:.8125rem;letter-spacing:0;color:var(--gold);font-weight:500}
.woocommerce-checkout-review-order-table td:last-child,.woocommerce-checkout-review-order-table tfoot td{text-align:right;font-variant-numeric:tabular-nums}
.woocommerce-checkout-review-order-table .product-quantity{color:var(--muted)}
.woocommerce-checkout-review-order-table .order-total th,.woocommerce-checkout-review-order-table .order-total td{font-size:1.25rem;font-weight:500;border-bottom:0}
#payment{margin-top:1.4rem}
#payment ul.payment_methods{list-style:none;border-top:1px solid var(--line-soft)}
#payment ul.payment_methods>li{padding:.9rem 0;border-bottom:1px solid var(--line-soft)}
#payment ul.payment_methods label{font-weight:500;cursor:pointer}
#payment .payment_box{margin-top:.7rem;padding:.9rem 1rem;background:var(--bg-deep);font-size:.9375rem;color:var(--text-2)}
#payment .payment_box p{margin:0}
.woocommerce-privacy-policy-text{margin:1.1rem 0;font-size:.875rem;color:var(--muted)}
.woocommerce-terms-and-conditions-wrapper .form-row{margin-bottom:.6rem}
#place_order{width:100%;min-height:56px;margin-top:.6rem}
.woocommerce form .form-row .woocommerce-input-wrapper{display:block}

/* order received */
.woocommerce-order .woocommerce-notice--success{font-size:clamp(1.25rem,2vw,1.625rem);font-weight:400;margin-bottom:1.6rem}
.woocommerce-order-overview{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1.4rem;padding:1.4rem 0;margin-bottom:2.4rem;border-block:1px solid var(--line-soft);font-size:.8125rem;letter-spacing:0;color:var(--gold)}
.woocommerce-order-overview li strong{display:block;margin-top:.3rem;font-size:1.125rem;letter-spacing:0;text-transform:none;font-weight:400;color:var(--ink)}
.woocommerce-order h2,.woocommerce-order-details__title,.woocommerce-column__title{font-size:1.75rem;margin:2rem 0 1rem}
.woocommerce-order table.shop_table{width:100%;border-collapse:collapse}
.woocommerce-order table.shop_table th,.woocommerce-order table.shop_table td{padding:.8rem .5rem;text-align:left;border-bottom:1px solid var(--line-soft);font-weight:400}
.woocommerce-order table.shop_table td:last-child,.woocommerce-order table.shop_table tfoot td{text-align:right}
.woocommerce-order table.shop_table tfoot th{font-weight:500}
.woocommerce-customer-details address{font-style:normal;line-height:1.7;padding:1rem 1.2rem;border:1px solid var(--line-soft);background:var(--panel)}
.woocommerce-columns--addresses{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
@media (max-width:700px){.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}.woocommerce-columns--addresses{grid-template-columns:1fr}}

/* ---------- catalog price slider (two thumbs) ---------- */
.prange{--lo:0%;--hi:100%;padding:.2rem 0 1rem}
.prange__vals{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.9rem;font-size:.9375rem;font-variant-numeric:tabular-nums}
.prange__vals span{color:var(--muted)}
.prange__slider{position:relative;height:28px}
.prange__track{position:absolute;left:0;right:0;top:12px;height:3px;background:var(--line-soft)}
.prange__fill{position:absolute;top:0;bottom:0;left:var(--lo);right:calc(100% - var(--hi));background:var(--accent)}
.prange input[type=range]{position:absolute;left:0;top:0;width:100%;height:28px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.prange input[type=range]::-webkit-slider-runnable-track{background:none;border:0;height:28px}
.prange input[type=range]::-moz-range-track{background:none;border:0;height:28px}
.prange input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:22px;height:22px;margin-top:3px;border-radius:50%;background:var(--panel);border:2px solid var(--accent);cursor:grab;box-shadow:none}
.prange input[type=range]::-moz-range-thumb{pointer-events:auto;width:18px;height:18px;border-radius:50%;background:var(--panel);border:2px solid var(--accent);cursor:grab;box-shadow:none}
.prange input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid var(--accent-hi);outline-offset:3px}
.prange input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid var(--accent-hi);outline-offset:3px}

/* the sticky filter column must end inside the viewport (also with the admin bar), so the last group, the price slider, is reachable */
@media (min-width:1001px){.filters{max-height:calc(100svh - var(--header-h) - 150px)}}

/* preloader already played in this visit (settings: Customizer > Nissi > Preloader) */
.no-preloader .preloader{display:none!important}

/* mega menu column titles (paragraphs, so the page's h1 stays the first heading) */
.mega .mega__title{margin:0 0 .8rem;font-family:var(--font);font-size:.8125rem;font-weight:500;letter-spacing:0;color:var(--gold)}
/* honeypot of the contact form */
.nissi-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
/* product page: short description under the price */
.info__desc{margin:.2rem 0 1.4rem;max-width:52ch;color:var(--text-2);font-size:1.0625rem;line-height:1.65}
.info__desc p{margin:0}

/* About: the founder photo stays in view while a longer text scrolls next to it.
   The photo is only aligned to the top of its grid area (the text keeps its vertical centering), so the look is unchanged while the text is the shorter column.
   The photo is never taller than the screen, so its caption stays visible while it sticks. */
@media (min-width:1001px){
	.about-founder__photo{position:sticky;top:calc(var(--header-h) + 24px);align-self:start;max-height:calc(100svh - var(--header-h) - 48px)}
	.admin-bar .about-founder__photo{top:calc(var(--header-h) + 24px + var(--wp-admin--admin-bar--height,32px));max-height:calc(100svh - var(--header-h) - 48px - var(--wp-admin--admin-bar--height,32px))}
}

/* About: "Our mission & values" is one tinted band: title, the mission as a light introduction, the values in three columns */
.about-mv{background:var(--bg-deep);border-block:1px solid var(--line);padding-block:clamp(64px,9vw,128px);text-align:center}
.about-mv h2{margin-bottom:1.4rem}
.about-mv__intro p{max-width:60ch;margin:0 auto 1.1rem;font-size:1.25rem;line-height:1.7;font-weight:400}
.about-mv__values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,4vw,64px);margin-top:clamp(40px,5vw,72px);text-align:left;list-style:none}
.about-mv__values li{padding-top:1.4rem;border-top:1px solid var(--gold)}
.about-mv__values h3{font-size:1.75rem;margin-bottom:.7rem}
.about-mv__values p{color:var(--text-2);max-width:36ch}
@media (max-width:800px){.about-mv__values{grid-template-columns:minmax(0,1fr)}}

/* About, tablet and phone: the founder block is one column (the original rule shrank the whole container to 480px and kept two columns) */
@media (max-width:1000px){
	.about-founder{max-width:none;grid-template-columns:minmax(0,1fr);gap:clamp(24px,5vw,40px);padding-block:clamp(40px,8vw,72px)}
	.about-founder__photo{width:100%;max-width:520px;margin-inline:auto}
	.about-founder>div:last-child{max-width:640px;margin-inline:auto}
}

/* Home hero, tablet and phone: the photo fills the hero, the title, text and the two buttons sit on it over a dark fade at the bottom.
   No arrow / pause controls here: swipe or tap a segment of the progress line along the top. Desktop keeps its own layout. */
.hero__segs,.hero__go{display:none}
@media (max-width:1000px){
	.hero{display:block;position:relative;height:clamp(520px,calc(100svh - var(--header-h) - 42px),780px);overflow:hidden}
	.hero::after{display:block;content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,color-mix(in oklab,var(--scrim) 90%,transparent) 0%,color-mix(in oklab,var(--scrim) 62%,transparent) 34%,color-mix(in oklab,var(--scrim) 12%,transparent) 62%,transparent 78%)}
	.hero__media{position:absolute;inset:0;display:block;aspect-ratio:auto}
	.hero__swiper{position:absolute;inset:0;width:100%;height:auto;max-height:none}
	.hero__go,.hero__dots{display:none}
	.hero__segs{display:flex;gap:6px;position:absolute;z-index:5;top:8px;left:var(--gutter);right:var(--gutter)}
	.hero__seg{flex:1;height:24px;padding:10px 0;background:none;border:0;cursor:pointer}
	.hero__seg i{display:block;height:3px;background:color-mix(in oklab,var(--color-cream) 45%,transparent);position:relative;overflow:hidden}
	.hero__seg i::after{content:"";position:absolute;inset:0;background:var(--color-cream);transform-origin:left;transform:scaleX(0)}
	.hero__seg.is-done i::after{transform:scaleX(1)}
	.hero__seg.is-on i::after{transform:scaleX(var(--p,0))}
	.hero__copy{position:absolute;z-index:2;left:0;right:0;bottom:0;width:auto;height:auto;gap:.9rem;padding:0 var(--gutter) 26px;justify-content:flex-end;color:var(--on-photo)}
	.hero__copy h1{color:var(--on-photo);font-size:clamp(2.2rem,9.5vw,3.4rem)}
	.hero__copy p{color:var(--on-photo);font-size:1rem;max-width:34ch}
	.hero__cap-link{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:44px;padding:0 .6rem;border:1.5px solid var(--color-gold);border-radius:var(--radius);color:var(--on-photo);text-decoration:none;font-size:.75rem;font-weight:500;letter-spacing:0;line-height:1.25}
	.hero__cta{flex-wrap:nowrap;gap:.6rem;width:100%;margin-top:.3rem}
	.hero__cta .btn,.hero__cta .textlink{flex:1 1 0;min-width:0;width:auto;min-height:48px;padding:0 .6rem;display:inline-flex;align-items:center;justify-content:center;text-align:center;font-size:.75rem;font-weight:500;letter-spacing:0;line-height:1.25;text-decoration:none}
	.hero__cta .btn--solid{background:var(--color-gold);border-color:var(--color-gold);color:var(--color-green-2)}
	.hero__cta .textlink{order:0;margin:0;border:1.5px solid var(--color-gold);border-radius:var(--radius);color:var(--on-photo);background:transparent}
}
@media (max-width:420px){.hero__cta .btn,.hero__cta .textlink{letter-spacing:0;font-size:.6875rem}}
@media (prefers-reduced-motion:reduce){.hero__seg.is-on i::after{transform:scaleX(1)}}
/* Home hero, desktop: the same language as the phone. The photo runs edge to edge, a green fade sits only under the words
   (bottom left), cream Prata title, gold buttons, story segments along the top. Clicking the active segment pauses. */
@media (min-width:1001px){
	.hero::after{background:
		linear-gradient(90deg,color-mix(in oklab,var(--scrim) 72%,transparent) 0%,color-mix(in oklab,var(--scrim) 40%,transparent) 34%,transparent 60%),
		linear-gradient(0deg,color-mix(in oklab,var(--scrim) 70%,transparent) 0%,transparent 48%)}
	.hero__dots{display:none}
	.hero__segs{display:flex;gap:8px;position:absolute;z-index:5;top:14px;left:var(--edge);right:var(--edge)}
	.hero__seg{flex:1;height:28px;padding:12px 0;background:none;border:0;cursor:pointer}
	.hero__seg i{display:block;height:3px;border-radius:2px;background:color-mix(in oklab,var(--color-cream) 40%,transparent);position:relative;overflow:hidden}
	.hero__seg i::after{content:"";position:absolute;inset:0;background:var(--color-cream);transform-origin:left;transform:scaleX(0)}
	.hero__seg.is-done i::after{transform:scaleX(1)}
	.hero__seg.is-on i::after{transform:scaleX(var(--p,0))}
	.hero__seg:hover i{background:color-mix(in oklab,var(--color-cream) 60%,transparent)}
	.hero.is-paused .hero__seg.is-on i{outline:1px solid var(--color-gold);outline-offset:3px}
	.hero__copy{width:min(64%,1000px);gap:1.25rem;color:var(--on-photo)}
	.hero__copy h1{color:var(--on-photo);font-size:clamp(3rem,4.6vw,5.25rem);max-width:none;text-wrap:balance}
	.hero__copy p{color:var(--color-cream-2);max-width:36ch}
	.hero__cta{gap:.75rem}
	.hero__cta .btn,.hero__cta .textlink{min-height:50px;padding:0 1.75rem;font-size:.9375rem;font-weight:700}
	.hero__cta .btn--solid{background:var(--color-gold);border-color:var(--color-gold);color:var(--color-green-2)}
	.hero__cta .btn--solid:hover{background:var(--color-gold-2);border-color:var(--color-gold-2)}
	.hero__cta .textlink{display:inline-flex;align-items:center;margin:0;border:1.5px solid var(--color-gold);border-radius:var(--radius);background:transparent;background-image:none;color:var(--on-photo)}
	.hero__cta .textlink:hover{background:color-mix(in oklab,var(--color-gold) 16%,transparent)}
}

/* Catalog cards on phones: the round cart button sits in the photo's bottom corner (the card is a size container, so 100cqw is the photo's height), the price row stays free */
@media (max-width:640px){
	.product .add{top:calc(100cqw - 46px);bottom:auto;right:.5rem;width:38px;height:38px;border-color:transparent;background:color-mix(in oklab,var(--color-paper-2) 92%,transparent);color:var(--accent)}
	.product__price{font-size:1rem;padding-right:.9rem;white-space:nowrap}
}
@media (max-width:380px){.product__price{font-size:.9375rem}}
/* WordPress makes the admin bar non-sticky under 600px: keep the sticky header at the top then (logged-in view only) */
@media (max-width:600px){.admin-bar .header{top:0}}

/* ===== UI/UX audit pass: touch targets, sort bar, contrast, small fixes ===== */
/* 1. touch targets: visible size stays, the clickable area grows to 44px */
.logo{display:inline-flex;align-items:center;min-height:44px}
.hero__dot{width:32px;height:32px}
.hero__dots{gap:4px}
.footer nav a,.footer__grid>div>a,.footer__social a,.footer__legal a,.footer__link,.crumbs a,.textlink{display:inline-flex;align-items:center;min-height:44px}
.footer__social{display:flex;flex-wrap:wrap;gap:0 1.25rem}
.fmore{min-height:44px}


@media (max-width:640px){
	.product .add{width:44px;height:44px}
	.cart-table .product-remove a.remove{display:inline-grid;place-items:center;width:44px;height:44px}
	.cart-table .product-remove{margin:-10px -10px 0 0}
	.cart-table a.cart-name{min-height:44px;display:flex;align-items:center}
	.cart_totals .shipping-calculator-button{display:inline-flex;align-items:center;min-height:44px}
	.hero__seg{height:32px;padding:14px 0}
	/* 5. iOS zooms the page when a field under 16px gets focus */
	.filters input[type=text],.filters input[type=search],.filters select,.co input,.co select,.co textarea,.meta__sort select{font-size:16px}
	.filters .check{min-height:44px}
	.pdp-crumbs,.pdp-crumbs a{font-size:.9375rem}
}
/* 2. toolbar above the grid: [count ............ Sort: Featured v]; phones: [Filters | Sort], the count under them */
.meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem 1rem;padding:0 0 20px}
.meta__count{margin:0;font-size:.9375rem;color:var(--muted);font-variant-numeric:tabular-nums}
.meta__filters,.meta__sort{position:relative;display:flex;align-items:center;gap:.5rem;min-height:48px;padding:0 1rem;border:1px solid var(--control-line);border-radius:var(--radius);background:var(--panel);color:var(--ink);font-size:.9375rem;font-weight:500;transition:border-color var(--dur-short) var(--ease-out)}
.meta__filters:hover,.meta__sort:hover{border-color:var(--control-line-hi)}
.meta__filters{display:none;justify-content:center}
.meta__filters b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:.75rem;font-variant-numeric:tabular-nums}
.meta__sort span{color:var(--muted);font-weight:400;white-space:nowrap}
.meta__sort select{appearance:none;-webkit-appearance:none;min-width:0;min-height:46px;padding:0 1.4rem 0 0;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:500;text-overflow:ellipsis;cursor:pointer}
.meta__sort select:focus-visible{outline:0}
.meta__sort:focus-within{outline:2px solid var(--color-focus);outline-offset:2px}
.meta__sort::after{content:"";position:absolute;right:1rem;top:50%;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}
@media (max-width:1000px){
	.meta{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:20px 0}
	.meta__filters{display:flex}
	.meta__count{grid-column:1/-1;grid-row:2;padding-top:.5rem}
}
/* 3. add to bag: the button itself confirms */
.buy__add{transition:background-color .25s}
.buy__add.is-added{background:var(--accent-hi)}
.buy__add.is-added::after{content:"\2713";margin-left:.6rem}
/* 4. the bag already shows the delivery method and price: drop the "will be updated" note and the calculator */
.cart_totals .woocommerce-shipping-calculator,.cart_totals .shipping-calculator-button,.cart_totals .woocommerce-shipping-destination{display:none}
/* 6. first paint of the home hero: the light placeholder replaces the black flash while the photo loads (desktop) */
@media (min-width:641px){.hero{background:var(--case)}}
/* 7. mobile buy bar is already in product.css; keep it above the toast */
/* 14. Jost 300 is thin at small sizes: small secondary text gets regular weight */
.product__type,.shopfor__text span,.crumbs,.info__type,.meta__count,.footer address,.footer__grid p{font-weight:400}
/* 16. no stray outline around the product photo on small screens */
@media (max-width:640px){.gallery__stage{outline:0}}
.gallery__main img{display:block}
/* touch targets, second pass */
.stepper button,.buy .qty button{min-width:44px}
.co-sec__link{display:inline-flex;align-items:center;min-height:44px}
.crumbs a{min-width:44px}
@media (max-width:640px){
	.pager__num,.pager__nav{min-width:44px;height:44px}
	.pager ul{gap:2px}
	.hero__seg{height:40px;padding:18px 0}
}

/* third pass */
.woocommerce .cart_totals .woocommerce-shipping-destination,.woocommerce .cart_totals .woocommerce-shipping-calculator{display:none}
.woocommerce-cart-form .stepper,.woocommerce-cart-form .stepper button,.woocommerce-cart-form .stepper input{height:44px;min-height:44px}
@media (max-width:1000px){.hero__cta .btn,.hero__cta .textlink{font-size:.8125rem}}
.bag-count{font-size:.6875rem}
@media (max-width:640px){.meta__sort select{font-size:16px;flex:1}.meta__sort span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}

/* typography: no one-word last lines */
p,li,blockquote{text-wrap:pretty}
h1,h2,h3,.shopfor__text b{text-wrap:balance}

/* a swapped result set settles in instead of snapping (opacity only: no layout or scroll side effects) */
@media (prefers-reduced-motion:no-preference){
  .catalog-root .results{animation:resultsIn .28s var(--ease) backwards}
  @keyframes resultsIn{from{opacity:.4}to{opacity:1}}
}

/* breadcrumbs: the 44px tap area is an invisible overlay, so the row keeps its text height and the items share one baseline */
.crumbs{align-items:center}
.crumbs a{position:relative;display:inline;min-height:0;min-width:0}
.crumbs a::after{content:"";position:absolute;inset:-12px -6px}

/* footer link lists stack, one link per line (the 44px rule above had made them inline) */
.footer nav a,.footer__grid>div>a{display:flex}

/* ---------- one radius for every box (owner's call: 4-6px everywhere) ----------
   circles stay circles: icon buttons, dots, count badges are a shape, not a corner */
.product,.product__img,.coll__img,.shopfor__card,.shopfor__card img,.insta__tile,.mega__feature img,.acct-menu,
.gallery__main,.gallery__stage,.gallery__thumbs button,.gallery__thumbs img,.mini-line__img,.co-item__img,
.card,.summary,.cart-collaterals,.pay-option,.pay-note,.confirm__no,.form-msg,.toast,.ctrls,.pager__num,
.stepper.quantity,.meta__filters,.filters__foot .btn,
#payment .payment_box,.co #payment ul.payment_methods,.co #payment .payment_box,.co-shipping .co-empty,
.woocommerce-customer-details address,.woocommerce ul#shipping_method li,.nissi-no-delivery,
.gallery__zoom,.gallery__count,.about-founder__photo,.auth__media{border-radius:var(--radius)}
.product,.shopfor__card,.coll__img,.insta__tile,.gallery__main,.about-founder__photo,.auth__media{overflow:hidden}
.gallery__stage{outline-offset:4px}

/* ---------- cart drawer: slides in from the right (inc/cart-drawer.php, js/cart-drawer.js) ---------- */
html.cdrawer-lock{overflow:hidden}
.cdrawer-scrim{position:fixed;inset:0;z-index:calc(var(--z-sheet) + 1);background:color-mix(in oklab,var(--scrim) 45%,transparent);opacity:0;transition:opacity .35s var(--ease-out)}
.cdrawer-scrim.is-open{opacity:1}
.cdrawer{position:fixed;top:0;right:0;bottom:0;z-index:calc(var(--z-sheet) + 2);display:flex;flex-direction:column;width:min(440px,100vw);background:var(--bg);border-left:1px solid var(--line-soft);transform:translateX(100%);transition:transform .42s var(--ease-out)}
.cdrawer.is-open{transform:none}
.cdrawer[aria-busy=true]{cursor:progress}
.cdrawer__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:14px 14px 14px 24px;border-bottom:1px solid var(--line-soft)}
.cdrawer__head h2{font-size:1.75rem;line-height:1.1}
.cdrawer__count{font-family:var(--font-body);font-size:1rem;color:var(--muted);font-variant-numeric:tabular-nums;vertical-align:.35em}
.cdrawer__body{display:flex;flex-direction:column;flex:1;min-height:0}
.cdrawer__lines{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 24px}
.cline{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr);gap:16px;padding:20px 36px 20px 0;border-bottom:1px solid var(--line-soft);transition:opacity .2s}
.cline.is-updating{opacity:.5;pointer-events:none}
.cline__img{display:block;aspect-ratio:1;background:var(--case);border-radius:var(--radius);overflow:hidden}
.cline__img img{width:100%;height:100%;object-fit:cover}
.cline__info{display:flex;flex-direction:column;min-width:0}
.cline__name{font-family:var(--font-display);font-size:1.25rem;line-height:1.2;color:var(--ink);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color var(--dur-short) var(--ease-out)}
.cline__name:hover{text-decoration-color:var(--gold)}
.cline__detail{margin-top:.2rem;font-size:.875rem;color:var(--muted)}
.cline__row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:auto;padding-top:.75rem}
.cline__qty{flex:none;grid-template-columns:38px 36px 38px}
.cline__qty button{height:38px;min-width:0}
.cline__price{font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}
.cline__remove{position:absolute;top:10px;right:-10px;display:grid;place-items:center;width:44px;height:44px;color:var(--muted);transition:color var(--dur-short) var(--ease-out)}
.cline__remove:hover{color:var(--ink)}
.cdrawer__foot{padding:18px 24px calc(20px + env(safe-area-inset-bottom));border-top:1px solid var(--line-soft);background:var(--bg-deep)}
.cdrawer__totals{margin:0 0 16px}
.cdrawer__totals>div{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.3rem 0;font-size:.9375rem;color:var(--text-2)}
.cdrawer__totals dt span{display:block;font-size:.8125rem;color:var(--muted)}
.cdrawer__totals dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}
.cdrawer__total{margin-top:.4rem;padding-top:.7rem!important;border-top:1px solid var(--line-soft)}
.cdrawer__total dt,.cdrawer__total dd{font-family:var(--font-display);font-size:1.375rem;color:var(--ink)}
.cdrawer__checkout,.cdrawer__view{width:100%}
.cdrawer__view{margin-top:8px}
.cdrawer__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;flex:1;padding:48px 32px;text-align:center;color:var(--text-2)}
.cdrawer__empty svg{color:var(--gold);margin-bottom:.4rem}
.cdrawer__empty-title{font-family:var(--font-display);font-size:1.75rem;color:var(--ink)}
.cdrawer__empty .btn{margin-top:1rem}
@media (prefers-reduced-motion:reduce){.cdrawer,.cdrawer-scrim{transition:none}}

/* ---------- journal: index (home.php), story (single.php), home block (inc/journal.php) ---------- */
.journal{padding-block:clamp(28px,4vw,56px) clamp(56px,8vw,104px)}
.jgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(32px,4vw,56px) clamp(20px,2.4vw,36px)}
.jcard{display:flex;flex-direction:column;gap:18px;min-width:0}
.jcard__img{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--case);border-radius:var(--radius)}
.jcard__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)}
.jcard:hover .jcard__img img{transform:scale(1.03)}
.jcard__body{display:flex;flex-direction:column;gap:.5rem}
.jcard__topic{font-size:.875rem;font-weight:500;color:var(--gold)}
.jcard__title{font-size:clamp(1.375rem,1.8vw,1.625rem);line-height:1.2}
.jcard__title a{color:var(--ink);text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:5px;transition:text-decoration-color var(--dur-short) var(--ease-out)}
.jcard__title a:hover,.jcard__title a:focus-visible{text-decoration-color:var(--gold)}
.jcard__excerpt{color:var(--text-2);font-size:1.0625rem;line-height:1.6;max-width:52ch}
.jcard__meta{font-size:.875rem;color:var(--muted);font-variant-numeric:tabular-nums}
.jcard--lead{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;padding-bottom:clamp(32px,4vw,56px);border-bottom:1px solid var(--line-soft)}
.jcard--lead .jcard__img{aspect-ratio:3/2}
.jcard--lead .jcard__title{font-size:clamp(2rem,3.4vw,3rem);line-height:1.08}
.jcard--lead .jcard__body{gap:.9rem}
.journal__empty{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;padding-block:clamp(24px,4vw,48px);color:var(--text-2)}
.journal__empty-title{font-family:var(--font-display);font-size:clamp(1.75rem,2.6vw,2.25rem);color:var(--ink)}
.journal__empty .btn{margin-top:1rem}
.jpager{margin-top:clamp(40px,5vw,64px)}
.jpager .nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.jpager .page-numbers{display:grid;place-items:center;min-width:44px;height:44px;padding:0 14px;border:1px solid var(--control-line);border-radius:var(--radius);color:var(--ink);font-variant-numeric:tabular-nums}
.jpager .page-numbers.current{background:var(--accent);border-color:var(--accent);color:var(--color-accent-ink)}
.jpager a.page-numbers:hover{border-color:var(--control-line-hi)}
.jpager .dots{border:0}

.post__head{max-width:880px;padding-top:clamp(24px,3.2vw,44px);text-align:center}
.post__head .crumbs{justify-content:center}
.post__head h1{margin-top:1rem;font-size:clamp(2.375rem,5vw,4.25rem);line-height:1.05;text-wrap:balance}
.post__dek{margin:1.1rem auto 0;max-width:46ch;font-size:clamp(1.125rem,1.4vw,1.3125rem);line-height:1.55;color:var(--text-2)}
.post__meta{margin-top:1.1rem;font-size:.875rem;color:var(--muted)}
.post__cover{margin-top:clamp(28px,4vw,52px)}
.post__cover img{width:100%;max-height:72vh;object-fit:cover;border-radius:var(--radius);background:var(--case)}
.post__body{padding-block:clamp(32px,5vw,64px) 0}
.prose{max-width:66ch;margin-inline:auto;font-size:1.125rem;line-height:1.75;color:var(--text-2)}
.prose>*+*{margin-top:1.15em}
.prose h2{margin-top:2em;font-size:clamp(1.625rem,2.4vw,2rem);line-height:1.2}
.prose h3{margin-top:1.8em;font-size:1.375rem;line-height:1.25}
.prose h2+*,.prose h3+*{margin-top:.7em}
.prose a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
.prose a:hover{color:var(--gold)}
.prose ul,.prose ol{padding-left:1.3em}
.prose li+li{margin-top:.45em}
.prose li::marker{color:var(--gold)}
.prose blockquote{padding-left:1.25rem;border-left:2px solid var(--gold);font-family:var(--font-display);font-size:1.375rem;line-height:1.45;color:var(--ink)}
.prose img,.prose figure img{border-radius:var(--radius)}
.prose figcaption{margin-top:.6rem;font-size:.875rem;color:var(--muted)}
.prose table{width:100%;border-collapse:collapse;font-size:1rem;font-variant-numeric:tabular-nums}
.prose th,.prose td{padding:.6rem .75rem;border-bottom:1px solid var(--line-soft);text-align:left}
.prose th{font-weight:500;color:var(--muted)}
.post__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;width:calc(100% - 2 * var(--gutter));max-width:calc(66 * 1.125ch);padding-inline:0;margin-inline:auto;margin-block:clamp(40px,5vw,64px) clamp(56px,8vw,104px);padding-top:clamp(24px,3vw,32px);border-top:1px solid var(--line-soft)}

@media (max-width:900px){
	.jgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.jcard--lead{grid-template-columns:1fr}
	.jgrid--home{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);scroll-padding-inline:var(--gutter);scrollbar-width:none}
	.jgrid--home::-webkit-scrollbar{display:none}
	.jgrid--home .jcard{flex:0 0 min(78vw,340px);scroll-snap-align:start}
}
@media (max-width:600px){
	.jgrid{grid-template-columns:1fr}
	.prose{font-size:1.0625rem}
	.post__head{text-align:left}
	.post__head .crumbs{justify-content:flex-start}
	.post__dek{margin-left:0}
	.post__foot .btn{width:100%}
}

/* ---------- mobile menu: opens under the header; collections with photos, pieces as chips, pages, then account and help ---------- */
.drawer{position:fixed;left:0;right:0;top:var(--drawer-top,var(--header-h));bottom:0;z-index:var(--z-drawer);overflow-y:auto;overscroll-behavior:contain;background:var(--bg);border-top:1px solid var(--line-soft);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .28s var(--ease-out),transform .38s var(--ease-out),visibility 0s .38s}
.drawer.is-open{opacity:1;visibility:visible;transform:none;transition:opacity .28s var(--ease-out),transform .38s var(--ease-out)}
.drawer__inner{display:flex;flex-direction:column;gap:28px;min-height:100%;padding:22px 0 calc(24px + env(safe-area-inset-bottom))}
.drawer__inner>*{padding-inline:var(--gutter)}
.drawer.is-open .drawer__inner>*{animation:drawerIn .5s var(--ease-out) both}
.drawer.is-open .drawer__inner>:nth-child(2){animation-delay:.05s}
.drawer.is-open .drawer__inner>:nth-child(3){animation-delay:.1s}
.drawer.is-open .drawer__inner>:nth-child(4){animation-delay:.15s}
@keyframes drawerIn{from{opacity:0;transform:translateY(10px)}}
.drawer__row{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:12px}
.drawer__label{font-family:var(--font-display);font-size:1.5rem;line-height:1.15;color:var(--ink)}
.drawer__all{font-size:.9375rem;font-weight:500;color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px;padding-block:10px}
.drawer__colls{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);scroll-padding-inline:var(--gutter);scrollbar-width:none}
.drawer__colls::-webkit-scrollbar{display:none}
.drawer__colls li{flex:0 0 124px;scroll-snap-align:start}
.drawer__colls a{display:flex;flex-direction:column;gap:8px;color:var(--ink)}
.drawer__cimg{display:block;aspect-ratio:4/5;overflow:hidden;border-radius:var(--radius);background:var(--case)}
.drawer__cimg img{width:100%;height:100%;object-fit:cover}
.drawer__cname{font-size:.875rem;font-weight:500;line-height:1.3}
.drawer__chips{display:flex;flex-wrap:wrap;gap:8px}
.drawer__chips a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--control-line);border-radius:var(--radius);background:var(--panel);font-size:.9375rem;font-weight:500;color:var(--ink)}
.drawer__chips a.is-alt{background:transparent;color:var(--text-2)}
.drawer__chips a:active{border-color:var(--accent)}
.drawer__pages{display:flex;flex-direction:column;border-top:1px solid var(--line-soft)}
.drawer__pages a{display:flex;align-items:center;justify-content:space-between;min-height:60px;border-bottom:1px solid var(--line-soft);font-family:var(--font-display);font-size:1.5rem;color:var(--ink)}
.drawer__pages svg{color:var(--gold)}
.drawer__foot{margin-top:auto;display:flex;flex-direction:column;gap:18px;padding-block:20px 4px;background:var(--bg-deep);margin-bottom:calc(-24px - env(safe-area-inset-bottom));padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.drawer__me{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.drawer__me a{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border:1px solid var(--control-line);border-radius:var(--radius);background:var(--panel);font-weight:500;color:var(--ink);min-width:0}
.drawer__me span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drawer__sub{display:flex;flex-wrap:wrap;gap:0 1.25rem}
.drawer__sub a{display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem;color:var(--text-2)}
.drawer__visit{font-size:.875rem;line-height:1.6;color:var(--muted)}
.drawer__visit a{color:var(--ink);font-weight:500}
@media (prefers-reduced-motion:reduce){.drawer,.drawer.is-open{transition:none;transform:none}.drawer.is-open .drawer__inner>*{animation:none}}
