/* ============================================================================
   BREADZLY — the light "bakery" look (November 2026)

   Loads last (see functions.php), on every page. It does three things:
   1. serves Bebas Neue (headings) and DM Sans (everything else) from the
      theme instead of Google Fonts;
   2. re-points the old dark design tokens at the bakery colors, and fixes the
      handful of rules that had dark colors typed in directly;
   3. styles the new homepage (hero, crew cards, shelves, story, quiz).

   Colors come from the art: flour-cream page, the outline brown as ink, white
   sticker cards edged in brown. Every text pair is 4.5:1 or better.
   The original dark look is the separate "Breadzly" theme; switch between
   the two (or compare them with Live Preview) under Appearance → Themes.
   ========================================================================== */

/* --- 1. Fonts (SIL Open Font License; files and licenses in ../fonts) ----- */
@font-face{font-family:'Bebas Neue';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/bebas-neue-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/dm-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/dm-sans-latin-400-italic.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/dm-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/dm-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/dm-sans-latin-700-normal.woff2) format('woff2')}

/* --- 2. Tokens ------------------------------------------------------------ */
:root{
    --bk-flour:#FFF8EC;      /* page */
    --bk-crumb:#F5E5C3;      /* alternate bands */
    --bk-ink:#432112;        /* outline brown: text, borders, night band */
    --bk-ink-soft:#6E4B36;   /* secondary text */
    --bk-crust:#F2A93B;      /* buttons (with ink text) */
    --bk-crust-hi:#F7BE5E;   /* button hover */
    --bk-link:#9A5200;       /* text links */
    --bk-card:#FFFFFF;
    --bk-line-soft:#E5BF91;  /* soft borders and the card "shadow" */
    --bk-radius:24px;
    --bk-border:2.5px solid var(--bk-ink);
    --bk-shadow:0 6px 0 var(--bk-line-soft);
    --bk-nav-h:64px;

    /* The old dark tokens, re-pointed. --black is used for text on gold
       buttons, so it becomes ink; the few places it was a background are
       overridden below. */
    --black:#432112;
    --char:#FFFFFF;
    --pumpernickel:#E5BF91;
    --wheat:#6E4B36;
    --gold:#9A5200;
    --dark-rye:#7A4A12;
    --brioche:#F7BE5E;
    --dough:#432112;
    --hot-oven:#B03A1C;
    --success:#2D7A4B;
    --font-mono:var(--font-body);   /* Space Mono is retired */
}

/* --- Base ----------------------------------------------------------------- */
html,body{background:var(--bk-flour);color:var(--bk-ink)}
body{font-size:16px;line-height:1.55}
/* Bebas Neue has a single weight: stop browsers drawing a smudgy fake bold
   when a heading asks for 600 or 700. DM Sans has real bold weights. */
html{font-synthesis-weight:none}
h1,h2,h3,h4,h5,h6{font-weight:400}
::selection{background:var(--bk-crust);color:var(--bk-ink)}
:focus-visible{outline:3px solid var(--bk-link);outline-offset:3px;border-radius:6px}
h1,h2,h3,h4,h5,h6{color:var(--bk-ink)}
.entry-content a,.woocommerce-info a,.woocommerce-message a{color:var(--bk-link);text-decoration:underline;text-underline-offset:3px}

/* Old dark backgrounds that were typed in as --black */
.preloader,.discount-row input,.cart-item-qty .quantity input:focus,
.select2-container--default .select2-search--dropdown .select2-search__field,
.woocommerce-checkout-payment .payment_box,#main .pdp form.cart div.quantity input.qty:focus{background:var(--bk-flour)}
.color-swatch.selected{box-shadow:0 0 0 2px var(--bk-flour),0 0 0 4px var(--bk-ink)}

/* Every gold button: crust with ink text */
.skip-link,.woocommerce-pagination .current,.wc-proceed-to-checkout .checkout-button,
.select2-container--default .select2-results__option--highlighted[aria-selected],
#place_order,.woocommerce-form-coupon .button,.woocommerce-form-login .button,
#main .pdp form.cart button.single_add_to_cart_button.button.alt,
.btn-primary,.qa-add,.email-form button,.filter-btn.active,.size-opt.selected,.toast-btn.primary,
.variant-btn.selected,.p-step.active .num,.cart-qty-badge,.discount-row button:hover,.place-order .btn-place,
.gallery-badge{background:var(--bk-crust);color:var(--bk-ink);border-color:var(--bk-crust)}
.btn-primary:hover,.qa-add:hover,#place_order:hover,.wc-proceed-to-checkout .checkout-button:hover,
#main .pdp form.cart button.single_add_to_cart_button.button.alt:hover,.toast-btn.primary:hover,
.place-order .btn-place:hover{background:var(--bk-crust-hi);color:var(--bk-ink);box-shadow:none}

/* Buttons: rounder, sentence case */
.btn,.qa-btn,.toast-btn,#place_order,.wc-proceed-to-checkout .checkout-button,.load-more,
#main .pdp form.cart button.single_add_to_cart_button.button.alt,.woocommerce-form-coupon .button,.woocommerce-form-login .button{
    border-radius:999px;text-transform:none;letter-spacing:.01em;font-weight:700}
.btn{font-size:15px;min-height:48px;padding:12px 28px}
.btn-secondary{color:var(--bk-ink);border:var(--bk-border);background:var(--bk-card)}
.btn-secondary:hover{color:var(--bk-ink);border-color:var(--bk-ink);background:var(--bk-crumb)}
.btn-buy,.express-btn{background:var(--bk-ink);color:var(--bk-flour)}
.btn-buy:hover{background:#5A2E1A;box-shadow:none}
.p-step.done .num,.cart-badge{color:#FFFFFF}

/* Labels that were all caps and widely tracked read better in sentence case */
.section-link,.filter-left-label,.filter-btn,.sort-btn,.pn-link,.acc-title,.nav-back,
.variant-selector label,.product-overline,.product-category,.product-char,.character-tag,
.footer-col h2,.trust-item,
.product-title,.shop-header h1,.page-header h1,.section-title,.related-title,.cat-hero-text h1,.summary-title,.cross-sell-title,
.product-badge,.product-type,.filter-tag,.clear-all,.modal-crumb,.size-label,.option-label,.share-label,.sg-table th,
.related-link,.cat-tab,.p-step,.express-label,.or-divider,.field label,.cart-item-remove,.discount-row button{text-transform:none;letter-spacing:.01em}
.product-title{letter-spacing:.03em;line-height:.95}

/* Translucent darks typed in directly */
.filter-bar{background:rgba(255,248,236,.96);border-bottom:1.5px solid var(--bk-line-soft)}
.filter-bar.shadow{box-shadow:0 6px 18px rgba(67,33,18,.08)}
.modal-overlay,.sg-overlay,.nav-scrim{background:rgba(67,33,18,.45)}
.modal-close,.gallery-wishlist,.wishlist{background:rgba(255,255,255,.92);border:1.5px solid var(--bk-line-soft)}
.modal-close:hover{background:#FFFFFF}
.sticky-bar{background:rgba(255,248,236,.97);border-top:2px solid var(--bk-line-soft)}
.character-tag{background:#FFFFFF;color:var(--bk-ink);border:1.5px solid var(--bk-ink)}
.share-btn,.sg-close{background:#FFFFFF}
.sg-table tr:hover td{background:var(--bk-flour)}
.acc-body-inner table td{border-bottom-color:var(--bk-line-soft)}

/* Picture wells: white, like a sticker sheet */
.product-card .img-wrap,.product-img,.modal-img,.gallery-main,.gallery-thumb,.rel-img,.cross-icon,.cart-thumb,
.product-card:hover .img-wrap,.product-card:hover .product-img,.gallery-main:hover,.rel-card:hover .rel-img{background:#FFFFFF}
.gallery-main{border:var(--bk-border);border-radius:var(--bk-radius)}
.gallery-thumb{border:2px solid var(--bk-line-soft)}
.gallery-thumb.active{border-color:var(--bk-ink)}

/* Panels and cards across the shop: white, brown edge */
.modal,.sg-modal,.summary-card,.cart-summary,.cross-card,.rel-card,.ship-opt,.woocommerce-form-coupon,.woocommerce-form-login,
.woocommerce-message,.woocommerce-info,.woocommerce-error,.cart-toast{border-color:var(--bk-ink)}
.cart-toast{border-width:2.5px;border-radius:18px;box-shadow:var(--bk-shadow)}
.field input,.field select,.qty-selector input,.qty-selector button,.email-form input,
.select2-container--default .select2-selection--single,#main .pdp form.cart div.quantity input.qty{border-color:#C9A27A}

/* --- Nav ------------------------------------------------------------------ */
.nav,.nav.scrolled,.nav.solid{background:rgba(255,248,236,.96);border-bottom:2px solid var(--bk-line-soft);padding:10px 32px;min-height:var(--bk-nav-h)}
.nav-logo{display:inline-flex;align-items:center;gap:10px;font-size:38px;line-height:1;color:var(--bk-ink);letter-spacing:.05em}
.nav-logo img{width:44px;height:44px;flex:none}
.nav-logo:hover{color:var(--bk-link)}
.nav-links a,.nav-menu a{font-size:15px;font-weight:600;letter-spacing:.01em;text-transform:none;color:var(--bk-ink)}
.nav-links a:hover,.nav-menu a:hover,.nav-menu li.current-menu-item>a{color:var(--bk-link)}
.nav-menu{gap:26px}
.nav-links{gap:24px}
.cart-icon{display:inline-flex;align-items:center;gap:6px}
.cart-icon svg{stroke:var(--bk-ink);stroke-width:2}
.cart-icon:hover svg{stroke:var(--bk-link)}
.cart-word{font-size:15px;font-weight:600}
.cart-badge{top:-6px;right:auto;left:14px;background:var(--hot-oven);font-size:10px;width:18px;height:18px}
.nav-toggle span{background:var(--bk-ink)}
.nav-secure{color:var(--bk-ink-soft)}

/* Calm cats switch */
.calm-toggle{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:6px 2px;cursor:pointer;font:600 14px/1 var(--font-body);color:var(--bk-ink)}
.calm-track{position:relative;width:40px;height:24px;border-radius:999px;background:#FFFFFF;border:2px solid var(--bk-ink);transition:background .2s}
.calm-knob{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--bk-ink);transition:transform .2s}
.calm-toggle[aria-pressed="true"] .calm-track{background:var(--bk-crust)}
.calm-toggle[aria-pressed="true"] .calm-knob{transform:translateX(16px)}

@media (max-width:860px){
    .nav,.nav.scrolled,.nav.solid{padding:8px 16px}
    .nav-logo{font-size:32px}
    .nav-logo img{width:40px;height:40px}
    .nav-links{background:var(--bk-flour);border-left:2px solid var(--bk-line-soft)}
    .nav-menu li{border-bottom:1.5px solid var(--bk-line-soft)}
    .nav-menu a{font-size:18px;letter-spacing:.01em}
    .nav-links .calm-toggle{margin-top:20px;font-size:16px}
}

/* --- Product card (everywhere) ------------------------------------------- */
.product-card{background:var(--bk-card);border:var(--bk-border);border-radius:var(--bk-radius);box-shadow:var(--bk-shadow);display:flex;flex-direction:column;overflow:visible;transition:transform .2s ease,box-shadow .2s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:0 10px 0 var(--bk-line-soft);border-color:var(--bk-ink)}
.product-card .img-wrap,.shop-grid .product-card .img-wrap{height:auto;aspect-ratio:1/1;border-radius:calc(var(--bk-radius) - 3px) calc(var(--bk-radius) - 3px) 0 0;border-bottom:2px solid var(--bk-line-soft);overflow:hidden}
.product-card .img-wrap .product-media{padding:14px;object-fit:contain}
.product-card .product-media-link{display:block;width:100%;height:100%}
.product-card .product-badge{top:12px;left:12px;font-family:var(--font-body);font-size:12px;letter-spacing:.02em;text-transform:none;border-radius:999px;padding:4px 12px;border:2px solid var(--bk-ink)}
.product-card .product-info{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px 16px 16px;flex:1}
.product-card .cat-tag{display:inline-block;font-size:13px;font-weight:700;line-height:1;padding:5px 10px;border-radius:999px;background:var(--tint,var(--bk-crumb));color:var(--bk-ink);border:1.5px solid var(--bk-ink)}
.product-card .product-name{font-family:var(--font-body);font-weight:700;font-size:16px;line-height:1.25;color:var(--bk-ink);white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0}
.product-card .product-name:hover{color:var(--bk-link)}
.product-card .product-name::after{content:'';position:absolute;inset:0;border-radius:var(--bk-radius);z-index:1}  /* whole card is the link */
.product-card{position:relative}
.product-card .product-price{font-size:17px;font-weight:700;color:var(--bk-ink)}
.product-card .product-price del{color:var(--bk-ink-soft)}
.product-card .product-buy{margin-top:auto;padding-top:6px;width:100%;position:relative;z-index:2}
.product-card .product-buy .qa-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 14px;font-size:15px;line-height:1.1;border:2px solid var(--bk-ink)}
.product-card .product-buy .qa-btn.loading{opacity:.7}
.product-card .product-buy .qa-btn.added::after{content:' ✓'}
.product-card .added_to_cart{display:none}
.product-card .quick-actions,.product-card .wishlist{display:none}

.shop-grid{gap:22px}
.shop-grid .product-card .img-wrap{height:auto}
@media(max-width:900px){.shop-grid{gap:14px}}
@media(max-width:600px){.shop-grid .product-card .img-wrap{height:auto}}
@media(max-width:480px){
    .shop-grid{grid-template-columns:1fr 1fr;gap:12px}
    .product-card .product-info{padding:10px 12px 12px}
    .product-card .product-name{font-size:16px}
    .product-card .product-buy .qa-btn{font-size:14px;min-height:44px}
}

/* --- Footer: the night band ------------------------------------------------ */
.bk-footer{position:relative;max-width:none;margin:96px 0 0;padding:64px max(24px,env(safe-area-inset-right,0px)) 28px max(24px,env(safe-area-inset-left,0px));background:var(--bk-ink);color:var(--bk-flour);border-top:0}
.bk-footer .footer-grid{max-width:1200px;margin:0 auto 40px;grid-template-columns:minmax(240px,1.6fr) repeat(auto-fit,minmax(150px,1fr));gap:32px}
.bk-footer .footer-brand{display:flex;align-items:center;gap:10px;color:var(--bk-flour);font-size:42px;line-height:1;letter-spacing:.05em}
.bk-footer .footer-tagline{color:#F3DFC4;font-size:15px;max-width:280px}
.bk-footer .footer-col h2{font-family:var(--font-display);font-weight:400;font-size:24px;line-height:1;color:var(--bk-crust);letter-spacing:.05em;text-transform:none}
.bk-footer .footer-col a{color:var(--bk-flour);font-size:15px}
.bk-footer .footer-col a:hover{color:var(--bk-crust)}
.bk-footer .footer-bottom{max-width:1200px;margin:0 auto;border-top:1px solid rgba(255,248,236,.18);color:#F3DFC4;opacity:1;font-family:var(--font-body);font-size:13px;letter-spacing:.01em}
.bk-footer .footer-bottom a{color:#F3DFC4}
.bk-footer .footer-bottom a:hover{color:var(--bk-crust)}
.bk-footer-cat{position:absolute;top:0;left:50%;transform:translate(-50%,-94%);width:120px;cursor:pointer}
.bk-footer-cat img{width:120px;height:auto;display:block}
.bk-footer-says{position:absolute;left:100%;top:4px;white-space:nowrap;font:700 14px/1.2 var(--font-body);color:var(--bk-ink);background:#FFFFFF;border:2px solid var(--bk-ink);border-radius:14px;padding:6px 10px;opacity:0;transition:opacity .3s}
.bk-footer-cat.is-saying .bk-footer-says{opacity:1}
@media(max-width:900px){.bk-footer .footer-grid{grid-template-columns:1fr 1fr}.bk-footer .footer-brand-col{grid-column:1/-1}}
@media(max-width:480px){.bk-footer{padding-top:56px}.bk-footer-says{display:none}.bk-footer .footer-bottom{flex-direction:column;gap:8px;align-items:flex-start}}

/* ============================================================================
   3. Homepage
   ========================================================================== */
.bakery-home{padding-top:var(--bk-nav-h);font-size:17px;overflow-x:clip}
.bk-wrap{max-width:1200px;margin:0 auto;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
.bk-section{padding-block:72px}
.bk-band{background:var(--bk-crumb)}
.bk-head{margin-bottom:28px;max-width:640px}
.bk-head h2{font-family:var(--font-display);font-weight:400;font-size:clamp(42px,5.4vw,64px);line-height:.95;letter-spacing:.025em;margin:0 0 8px;text-wrap:balance}
.bk-head p{margin:0;color:var(--bk-ink-soft);font-size:18px}
.bk-head-center{text-align:center;margin-inline:auto}
.bk-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;max-width:none;flex-wrap:wrap}
.bk-eyebrow{margin:0 0 10px;font:700 15px/1.2 var(--font-body);color:var(--bk-link);letter-spacing:.06em;text-transform:uppercase}
.bk-link{color:var(--bk-link);font-weight:700;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.bk-link:hover{color:var(--bk-ink)}
.bk-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* Pill buttons */
.bk-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 26px;border-radius:999px;border:2.5px solid var(--bk-ink);background:var(--bk-crust);color:var(--bk-ink);font:700 16px/1.1 var(--font-body);cursor:pointer;box-shadow:0 4px 0 var(--bk-ink);transition:transform .12s ease,box-shadow .12s ease,background .2s}
.bk-btn:hover{background:var(--bk-crust-hi)}
.bk-btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--bk-ink)}
.bk-btn-ghost{background:#FFFFFF}
.bk-btn-ghost:hover{background:var(--bk-crumb)}
.bk-btn-ink{background:var(--bk-ink);color:var(--bk-flour);box-shadow:0 4px 0 #2A140A}
.bk-btn-ink:hover{background:#5A2E1A}
.bk-btn-small{min-height:44px;padding:10px 20px;font-size:15px}

/* Speech bubbles */
.bk-bubble,.bk-says,.perch-bubble,.goma-slot-says{font:700 15px/1.2 var(--font-body);color:var(--bk-ink);background:#FFFFFF;border:2.5px solid var(--bk-ink);border-radius:16px;padding:8px 14px;white-space:nowrap}

/* --- Hero --- */
/* The bakery scene fills the whole hero. The picture is as tall as the hero
   and pinned to the right; on screens wider than the picture, its wall and
   counter carry on to the left edge (.bk-scene-fill, colors sampled from the
   picture's left edge). The cats are placed in the picture's own
   coordinates (container units), so they always sit on the counter, and the
   words sit on the calm wall at left. */
.bk-hero{position:relative;height:clamp(560px,50vw,760px);overflow:hidden;background:#FCEFDB}
.bk-hero-stage{position:absolute;inset:0;container-type:size;-webkit-tap-highlight-color:transparent;
    --sa:1.7917;                                   /* picture width / height */
    --rw:calc(100cqh * var(--sa));                 /* rendered picture width */
    --cx:.70; --cw:.40; --cb:.185}                 /* cats: center, width, base above the bottom (picture fractions) */
.bk-scene-fill{position:absolute;inset:0;background:linear-gradient(180deg,#FBF1DC 0%,#FCEFDB 71.3%,#B98657 71.3%,#B98657 71.8%,#E4AD75 71.8%,#E4AD75 85.3%,#B07A4C 85.3%,#B07A4C 85.8%,#C38858 85.8%,#C38858 88.5%,#AE7548 88.5%,#AE7548 91.9%,#C28555 91.9%)}
.bk-scene{position:absolute;right:0;bottom:0;display:block;height:100%;width:auto;max-width:none;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 16%,#000 40%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 16%,#000 40%)}
.bk-hero-cats-wrap{position:absolute;left:50%;width:40%;bottom:18.5%;
    left:calc(100cqw - var(--rw) + (var(--cx) - var(--cw) / 2) * var(--rw));
    width:calc(var(--cw) * var(--rw));
    bottom:calc(var(--cb) * 100cqh);
    animation:bk-plop .7s cubic-bezier(.3,.7,.4,1) .2s both}
.bk-hero-cats{display:block;width:100%;height:auto;transform-origin:50% 92%;cursor:pointer}
.bk-hero-stage.is-squish .bk-hero-cats{animation:bk-squish .42s cubic-bezier(.3,.7,.4,1)}
@keyframes bk-squish{0%{transform:scale(1,1)}35%{transform:scale(1.035,.95)}70%{transform:scale(.985,1.02)}100%{transform:scale(1,1)}}
@keyframes bk-plop{0%{opacity:0;transform:translateY(-26px)}55%{opacity:1;transform:translateY(0) scale(1.03,.96)}80%{transform:translateY(-3px) scale(.99,1.01)}100%{opacity:1;transform:none}}
.bk-hero-stage .bk-bubble{position:absolute;z-index:2;top:20%;left:70%;transform:translate(-50%,-100%);pointer-events:none}
.bk-hero-stage .bk-bubble::after{content:'';position:absolute;left:50%;bottom:-9px;width:14px;height:14px;background:#FFFFFF;border-right:2.5px solid var(--bk-ink);border-bottom:2.5px solid var(--bk-ink);transform:translateX(-50%) rotate(45deg)}
.bk-hero-inner{position:relative;z-index:1;height:68%;display:flex;align-items:center;padding-block:18px 0;pointer-events:none}
.bk-hero-text{max-width:min(500px,46vw);pointer-events:auto}
.bk-hero h1{font-family:var(--font-display);font-weight:400;font-size:clamp(56px,7vw,100px);line-height:.9;letter-spacing:.02em;color:var(--bk-ink);margin:0 0 14px;text-wrap:balance}
.bk-hero-sub{font-size:clamp(18px,1.6vw,20px);color:var(--bk-ink-soft);max-width:30ch;margin:0 0 24px;text-wrap:pretty}
.bk-hero-note{margin:14px 0 0;font-size:15px;font-weight:600;color:var(--bk-ink-soft)}

/* --- Trust strip --- */
.bk-trust{background:var(--bk-crumb);border-top:2px solid var(--bk-line-soft);border-bottom:2px solid var(--bk-line-soft)}
.bk-trust ul{list-style:none;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 28px;padding-block:14px}
.bk-trust a{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:16px;color:var(--bk-ink);min-height:32px}
.bk-trust a:hover{color:var(--bk-link)}
.bk-trust-dot{width:12px;height:12px;border-radius:50%;background:var(--bk-crust);border:2px solid var(--bk-ink);flex:none}

/* --- Meet the crew --- */
.crew-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.crew-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--tint);border:var(--bk-border);border-radius:var(--bk-radius);box-shadow:var(--bk-shadow);padding:30px 10px 14px}
.crew-num{position:absolute;top:10px;left:12px;font:700 13px/1 var(--font-body);color:var(--bk-ink);background:#FFFFFF;border:1.5px solid var(--bk-ink);border-radius:999px;padding:4px 8px}
.crew-pose{position:relative;display:block;width:100%;aspect-ratio:1/1;background:none;border:0;padding:0;cursor:pointer;border-radius:16px;-webkit-tap-highlight-color:transparent}
.crew-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .25s ease,transform .25s ease}
.crew-img-act{opacity:0;transform:scale(.92)}
.crew-pose[aria-pressed="true"] .crew-img-act{opacity:1;transform:scale(1)}
.crew-pose[aria-pressed="true"] .crew-img-still{opacity:0;transform:scale(.92)}
.crew-pose:hover .crew-img-still{transform:translateY(-3px)}
.crew-name{font-family:var(--font-display);font-weight:400;font-size:27px;line-height:1;letter-spacing:.03em;margin:10px 0 4px}
.crew-title{margin:0 0 10px;font-size:14px;color:var(--bk-ink-soft);line-height:1.3}
.crew-more{margin-top:auto;background:none;border:0;padding:8px 4px;min-height:40px;cursor:pointer;font:700 14px/1.2 var(--font-body);color:var(--bk-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px}
.crew-more:hover{text-decoration-color:var(--bk-link)}

/* --- Quiz band --- */
.bk-quiz{background:var(--bk-crust);border-top:var(--bk-border);border-bottom:var(--bk-border)}
.bk-quiz-inner{display:flex;align-items:center;justify-content:center;gap:40px;padding-block:44px;flex-wrap:wrap}
.bk-quiz-faces{display:flex;align-items:flex-end}
.bk-quiz-faces img{width:96px;height:auto;margin-left:-14px}
.bk-quiz-faces img:first-child{margin-left:0}
.bk-quiz-text{max-width:520px}
.bk-quiz-text h2{font-family:var(--font-display);font-weight:400;font-size:clamp(42px,5vw,60px);line-height:.95;letter-spacing:.025em;margin:0 0 8px}
.bk-quiz-text p{margin:0 0 18px;font-size:18px;color:var(--bk-ink)}
.bk-quiz .bk-btn{background:var(--bk-ink);color:var(--bk-flour);box-shadow:0 4px 0 #2A140A}
.bk-quiz .bk-btn:hover{background:#5A2E1A}

/* --- Shelves (product sliders) --- */
.shelf{position:relative}
.shelf-controls{display:flex;align-items:center;gap:10px}
.shelf-controls .bk-link{margin-right:6px}
.shelf-arrow{width:48px;height:48px;border-radius:50%;border:2.5px solid var(--bk-ink);background:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 3px 0 var(--bk-ink)}
.shelf-arrow svg{width:22px;height:22px;fill:none;stroke:var(--bk-ink);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.shelf-arrow:hover{background:var(--bk-crumb)}
.shelf-arrow:disabled{opacity:.35;cursor:default}
.shelf-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 4 * 18px) / 4.4);gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:2px;padding:14px 2px 18px;margin-top:-6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.shelf-perch+.shelf-track{padding-top:60px;margin-top:0}
.shelf-track::-webkit-scrollbar{display:none}
.shelf-track.is-dragging{scroll-snap-type:none;cursor:grabbing}
.shelf-track.is-dragging a{pointer-events:none}
.shelf-item{scroll-snap-align:start;display:flex;min-width:0}
.shelf-item>.product-card{width:100%}
.shelf .reveal,.shelf .reveal.visible{opacity:1;transform:none;transition:transform .2s ease,box-shadow .2s ease}
.shelf-progress{height:6px;border-radius:999px;background:var(--bk-line-soft);margin-top:6px;overflow:hidden}
.shelf-progress span{display:block;height:100%;width:30%;border-radius:999px;background:var(--bk-ink);transform-origin:left;transition:transform .15s linear}
.shelf-progress[hidden]{display:none}

/* Pain au Chat on the shelf */
.shelf-perch{position:absolute;z-index:3;top:-6px;left:calc((100% - 4 * 18px) / 4.4 + 18px + 18px);width:104px;pointer-events:auto;cursor:pointer;-webkit-tap-highlight-color:transparent}
.perch-cat{display:block;width:104px;height:auto;transform-origin:50% 100%;transition:transform .22s cubic-bezier(.3,.7,.4,1)}
.shelf-perch.is-notice .perch-cat{transform:translateY(-4px) rotate(var(--lean,0deg))}
.shelf-perch.is-pat .perch-cat{animation:bk-hop .5s cubic-bezier(.3,.7,.4,1)}
@keyframes bk-hop{0%{transform:translateY(0) scale(1,1)}25%{transform:translateY(2px) scale(1.06,.92)}55%{transform:translateY(-16px) scale(.97,1.04) rotate(var(--lean,0deg))}100%{transform:translateY(0) scale(1,1)}}
.shelf-perch.is-sleepy .perch-cat{transform:translateY(6px) scale(1,.96)}
.perch-bubble{position:absolute;bottom:88%;left:70%;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s;pointer-events:none}
.shelf-perch.is-saying .perch-bubble{opacity:1;transform:none}

/* Goma's slot at the end of the stickers shelf */
.goma-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:10px;width:100%;min-height:100%;padding:16px;border:2.5px dashed var(--bk-ink);border-radius:var(--bk-radius);background:#FFFFFF;text-align:center}
.goma-slot-img{width:78%;height:auto;transform-origin:50% 100%}
.goma-slot.is-settling .goma-slot-img{animation:bk-settle .6s ease-in-out}
@keyframes bk-settle{0%,100%{transform:rotate(0)}20%{transform:rotate(-2deg)}45%{transform:rotate(2deg)}70%{transform:rotate(-1.5deg)}}
.goma-slot-says{position:absolute;top:14px;left:50%;transform:translateX(-50%);font-size:15px}
.goma-slot-cta{font-weight:700;color:var(--bk-link);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.goma-slot:hover .goma-slot-cta{color:var(--bk-ink)}

/* --- The Bakery story strip --- */
.story-strip{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;counter-reset:panel}
.story-panel{position:relative;counter-increment:panel;display:flex;flex-direction:column;align-items:center;gap:12px;background:#FFFFFF;border:var(--bk-border);border-radius:18px;box-shadow:var(--bk-shadow);padding:34px 16px 20px;text-align:center}
.story-panel::before{content:counter(panel);position:absolute;top:-16px;left:16px;width:34px;height:34px;border-radius:50%;background:var(--bk-crust);border:2.5px solid var(--bk-ink);font:400 21px/31px var(--font-display);color:var(--bk-ink);text-align:center}
.story-img{width:100%;max-width:220px;height:190px;object-fit:contain}
.story-panel p{margin:0;font:700 16px/1.35 var(--font-body);color:var(--bk-ink);text-wrap:balance}
.story-panel-end .bk-btn{margin-top:auto}
.story-panel-end{background:var(--bk-crumb)}
.story-crowd{display:grid;grid-template-columns:repeat(3,1fr);align-content:center;gap:2px;width:100%;max-width:220px;height:190px}
.story-crowd img{width:100%;height:auto}

/* --- Cat of the Month --- */
.bk-cotm{background:var(--tint);border-top:var(--bk-border);border-bottom:var(--bk-border);padding-block:56px}
.bk-cotm-inner{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:center}
.bk-cotm-art{position:relative;width:100%;max-width:340px;justify-self:center}
.cotm-img{width:100%;height:auto;display:block}
.bk-cotm-art .bk-says{position:absolute;top:0;right:-6px}
.bk-cotm-text h2{font-family:var(--font-display);font-weight:400;font-size:clamp(42px,5.2vw,62px);line-height:.95;letter-spacing:.025em;margin:0 0 12px;text-wrap:balance}
.bk-cotm-text>p:not(.bk-eyebrow){font-size:18px;margin:0 0 22px;max-width:46ch}
.bk-cotm .bk-eyebrow{color:var(--bk-ink)}
.bk-cotm .bk-shelf{margin-top:20px}

/* --- Shopping help --- */
.help-grid{display:grid;grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.help-card{background:#FFFFFF;border:var(--bk-border);border-radius:20px;padding:20px 20px 16px}
.help-card h3{font-family:var(--font-display);font-weight:400;font-size:28px;line-height:1;letter-spacing:.03em;margin:0 0 10px}
.help-card p{margin:0 0 10px;font-size:16px}
.help-small{font-size:14px!important;color:var(--bk-ink-soft)}
.help-sizes{width:100%;border-collapse:collapse;font-size:15px;margin-bottom:10px}
.help-sizes th,.help-sizes td{padding:6px 0;border-bottom:1.5px solid var(--bk-line-soft);text-align:left}
.help-sizes th{font-weight:700;padding-right:12px;white-space:nowrap}
.help-sizes td{color:var(--bk-ink-soft)}

/* --- Dialogs: bio sheet and quiz --- */
.bk-sheet{margin:auto;width:min(760px,calc(100vw - 32px));max-height:min(88vh,760px);padding:0;border:var(--bk-border);border-radius:28px;background:var(--bk-flour);color:var(--bk-ink);box-shadow:0 8px 0 var(--bk-ink);overflow:auto}
.bk-sheet::backdrop{background:rgba(67,33,18,.5)}
.bk-sheet[open]{animation:bk-pop .22s cubic-bezier(.3,.7,.4,1)}
@keyframes bk-pop{from{transform:translateY(16px) scale(.98);opacity:0}to{transform:none;opacity:1}}
.bk-sheet-inner{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;padding:28px}
.bk-sheet-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:50%;border:2.5px solid var(--bk-ink);background:#FFFFFF;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.bk-sheet-close svg{width:20px;height:20px;stroke:var(--bk-ink);stroke-width:2.8;stroke-linecap:round}
.bio-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--tint,var(--bk-crumb));border:2px solid var(--bk-ink);border-radius:20px;padding:18px}
.bio-img{width:100%;max-width:300px;height:auto;aspect-ratio:13/10;object-fit:contain}
.bio-poses{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.bio-pose{min-height:40px;padding:8px 14px;border-radius:999px;border:2px solid var(--bk-ink);background:#FFFFFF;font:600 14px/1.1 var(--font-body);color:var(--bk-ink);cursor:pointer}
.bio-pose.is-on{background:var(--bk-ink);color:var(--bk-flour)}
.bio-text h2{font-family:var(--font-display);font-weight:400;font-size:52px;line-height:.9;letter-spacing:.03em;margin:0}
.bio-num{margin:0 0 4px;font-weight:700;color:var(--bk-link)}
.bio-title{margin:4px 0 12px;font-size:17px;color:var(--bk-ink-soft);font-weight:600}
.bio-says{display:inline-block;margin:0 0 12px;font:700 16px/1.2 var(--font-body);background:#FFFFFF;border:2px solid var(--bk-ink);border-radius:14px;padding:6px 12px}
.bio-says::before{content:'“'}
.bio-says::after{content:'”'}
.bio-text>p{font-size:17px;margin:0 0 14px}
.bio-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:0 0 20px}
.bio-facts div{min-width:0}
.bio-facts dt{font-size:13px;font-weight:700;color:var(--bk-ink-soft);text-transform:uppercase;letter-spacing:.05em}
.bio-facts dd{margin:2px 0 0;font-size:16px;font-weight:600}

.bk-quiz-sheet .bk-sheet-inner{grid-template-columns:1fr;padding:36px 28px 28px}
.quiz-body{max-width:560px;margin:0 auto;width:100%;text-align:center}
.quiz-step{margin:0 0 6px;font-weight:700;color:var(--bk-link)}
.quiz-body h2{font-family:var(--font-display);font-weight:400;font-size:clamp(38px,5vw,50px);line-height:.95;letter-spacing:.025em;margin:0 0 20px;text-wrap:balance}
.quiz-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.quiz-answer{min-height:64px;padding:12px 16px;border-radius:18px;border:2.5px solid var(--bk-ink);background:#FFFFFF;box-shadow:0 4px 0 var(--bk-line-soft);font:700 16px/1.25 var(--font-body);color:var(--bk-ink);cursor:pointer;text-align:center}
.quiz-answer:hover{background:var(--bk-crumb)}
.quiz-answer:active{transform:translateY(2px);box-shadow:0 2px 0 var(--bk-line-soft)}
.quiz-result{display:flex;flex-direction:column;align-items:center;gap:8px}
.quiz-result img{width:min(260px,70%);height:auto;background:var(--tint);border:2px solid var(--bk-ink);border-radius:20px;padding:12px}
.quiz-result .bk-actions{justify-content:center;margin-top:10px}
.quiz-result p{margin:0;font-size:17px}
.quiz-share{width:100%;margin:14px 0 2px;padding:16px 14px 6px;border-top:2px dashed var(--bk-line-soft);text-align:center}
.quiz-result .quiz-share-title{margin:0 0 10px;font:700 16px/1.2 var(--font-body);color:var(--bk-ink)}
.quiz-share-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.quiz-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 16px;border-radius:999px;border:2px solid var(--bk-ink);background:#FFFFFF;color:var(--bk-ink);font:700 15px/1.1 var(--font-body);text-decoration:none;cursor:pointer}
.quiz-share-btn:hover{background:var(--bk-crumb)}
.quiz-share-btn.is-main{background:var(--bk-crust)}
.quiz-share-btn.is-main:hover{background:var(--bk-crust-hi)}
.quiz-share-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.quiz-result .quiz-share-status{min-height:1.4em;margin:8px 0 0;font-size:15px;font-weight:700;color:var(--bk-ink)}
.quiz-dots{display:flex;justify-content:center;gap:6px;margin:18px 0 0}
.quiz-dots span{width:10px;height:10px;border-radius:50%;background:var(--bk-line-soft)}
.quiz-dots span.is-on{background:var(--bk-ink)}

/* --- Homepage: smaller screens --- */
@media (max-width:1100px){
    .crew-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:960px){
    .bk-hero{height:auto;overflow:visible;background:var(--bk-flour)}
    .bk-hero-stage{position:relative;inset:auto;width:100%;aspect-ratio:4/3;max-height:72vh;overflow:hidden;border-bottom:2px solid var(--bk-line-soft)}
    .bk-scene{-webkit-mask-image:none;mask-image:none}
    .bk-hero-inner{height:auto;display:block;padding-block:22px 34px;text-align:center;pointer-events:auto}
    .bk-hero-text{max-width:560px;margin:0 auto}
    .bk-hero-sub{margin-inline:auto}
    .bk-hero .bk-actions{justify-content:center}
    .shelf-track{grid-auto-columns:calc((100% - 2 * 16px) / 2.5);gap:16px}
    .shelf-perch{left:calc((100% - 2 * 16px) / 2.5 + 16px + 14px)}
    .story-strip{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:30px}
    .bk-cotm-inner{grid-template-columns:1fr;text-align:center}
    .bk-cotm-text>p:not(.bk-eyebrow){margin-inline:auto}
    .bk-cotm .bk-actions{justify-content:center}
    .bk-sheet-inner{grid-template-columns:1fr}
    .bio-img{max-width:240px}
}
@media (max-width:640px){
    .bk-wrap{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
    .bk-section{padding-block:52px}
    .bk-hero h1{font-size:clamp(52px,15vw,64px)}
    .bk-hero .bk-actions .bk-btn{flex:1 1 100%}
    .crew-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    .crew-card{padding-top:28px}
    .shelf-controls .shelf-arrow{display:none}
    .shelf-track{grid-auto-columns:calc((100% - 14px) / 1.5);gap:14px}
    .shelf-perch{left:calc((100% - 14px) / 1.5 + 14px + 8px);width:84px;top:10px}
    .perch-cat{width:84px}
    .story-strip{grid-template-columns:1fr 1fr;gap:26px 12px}
    .story-panel{padding:28px 10px 14px}
    .story-panel p{font-size:16px}
    .story-img,.story-crowd{height:130px}
    .bk-cotm-art{max-width:240px}
    .help-grid{grid-template-columns:1fr}
    .bk-quiz-faces img{width:72px}
    .bk-quiz-inner{text-align:center;gap:20px}
    .quiz-answers{grid-template-columns:1fr}
    .bk-sheet{width:100vw;max-width:100vw;max-height:92vh;margin:auto 0 0;border-radius:26px 26px 0 0;border-bottom:0;box-shadow:none}
    .bk-sheet-inner{padding:24px 16px 28px}
    .bio-facts{grid-template-columns:1fr 1fr}
    .bio-text h2{font-size:44px}
}

/* ============================================================================
   Bread Cat pages (/cats/ and /cats/<name>/), the "Meet the cat" card on
   product pages, and the cats on the empty shop, cart, blog and 404 pages.
   ========================================================================== */
.bk-cats-page,.bk-cat-page{padding-top:var(--bk-nav-h);padding-bottom:80px;font-size:17px;overflow-x:clip}
.bk-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-block:22px 18px;font-size:15px;color:var(--bk-ink-soft)}
.bk-crumbs a{color:var(--bk-ink-soft);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--bk-line-soft)}
.bk-crumbs a:hover{color:var(--bk-link);text-decoration-color:currentColor}
.bk-crumbs .sep{opacity:.5}
.bk-crumbs .current{color:var(--bk-ink);font-weight:700}

/* Index */
.bk-cats-hero{max-width:760px;margin:12px auto 40px;text-align:center}
.bk-cats-hero h1{font-family:var(--font-display);font-weight:400;font-size:clamp(56px,8vw,96px);line-height:.9;letter-spacing:.025em;margin:0 0 16px;text-wrap:balance}
.bk-cats-lead{font-size:20px;line-height:1.5;margin:0 auto 10px;max-width:66ch;text-wrap:pretty}
.bk-cats-sub{margin:0 0 22px;color:var(--bk-ink-soft)}
.bk-cats-hero .bk-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.bk-cats-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.bk-cats-card a{position:relative;display:flex;flex-direction:column;align-items:center;height:100%;padding:30px 14px 18px;text-align:center;color:var(--bk-ink);text-decoration:none;background:var(--tint);border:var(--bk-border);border-radius:var(--bk-radius);box-shadow:var(--bk-shadow);transition:transform .2s ease,box-shadow .2s ease}
.bk-cats-card a:hover{transform:translateY(-4px);box-shadow:0 10px 0 var(--bk-line-soft)}
.bk-cats-num{position:absolute;top:12px;left:14px;font-weight:700;font-size:14px;color:var(--bk-ink-soft)}
.bk-cats-art{display:block;width:100%}
.bk-cats-img{display:block;width:100%;max-width:240px;height:auto;aspect-ratio:13/10;object-fit:contain;margin:0 auto}
.bk-cats-name{font-family:var(--font-display);font-size:38px;line-height:.95;letter-spacing:.03em;margin-top:8px}
.bk-cats-title{font-weight:700;font-size:16px}
.bk-cats-bread{margin-top:4px;font-size:14px;color:var(--bk-ink-soft)}
.bk-cats-extra{max-width:760px;margin:48px auto 0}

/* One cat */
.bk-quiz-invite{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 26px;padding:14px 18px;background:#FFFFFF;border:var(--bk-border);border-radius:22px;box-shadow:var(--bk-shadow)}
.bk-quiz-invite-img{width:72px;height:auto;flex:none}
.bk-quiz-invite p{flex:1 1 240px;margin:0;font-size:17px}
.bk-quiz-invite p strong{display:block;font-size:18px}
.bk-cat-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:44px;align-items:center;margin-top:8px}
.bk-cat-art{position:relative;background:var(--tint);border:var(--bk-border);border-radius:32px;box-shadow:0 8px 0 var(--bk-line-soft);padding:56px 28px 28px}
.bk-cat-img{display:block;width:100%;height:auto;aspect-ratio:13/10;object-fit:contain}
.bk-cat-says{position:absolute;top:16px;left:16px;margin:0;max-width:calc(100% - 32px);font:700 17px/1.2 var(--font-body);background:#FFFFFF;border:2px solid var(--bk-ink);border-radius:16px 16px 16px 4px;padding:7px 14px}
.bk-cat-says::before{content:'“'}
.bk-cat-says::after{content:'”'}
.bk-cat-kicker{margin:0 0 6px;font-weight:700;color:var(--bk-link)}
.bk-cat-intro h1{font-family:var(--font-display);font-weight:400;font-size:clamp(68px,9vw,116px);line-height:.86;letter-spacing:.025em;margin:0 0 16px;text-wrap:balance}
.bk-cat-lead{font-size:21px;line-height:1.45;font-weight:600;margin:0 0 12px;max-width:62ch;text-wrap:pretty}
.bk-cat-bio{font-size:18px;margin:0 0 20px;max-width:62ch;color:var(--bk-ink)}
.bk-cat-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;margin:0 0 24px;padding:16px 18px;background:#FFFFFF;border:2px solid var(--bk-line-soft);border-radius:18px}
.bk-cat-facts div{min-width:0}
.bk-cat-facts dt{font-size:13px;font-weight:700;color:var(--bk-ink-soft);text-transform:uppercase;letter-spacing:.05em}
.bk-cat-facts dd{margin:2px 0 0;font-size:16px;font-weight:600}
.bk-cat-intro .bk-actions{display:flex;flex-wrap:wrap;gap:12px}
.bk-cat-extra{max-width:760px;margin:40px 0 0}
.bk-cat-section{margin-top:76px;scroll-margin-top:calc(var(--bk-nav-h) + 16px)}
.bk-cat-section h2{font-family:var(--font-display);font-weight:400;font-size:clamp(42px,5vw,60px);line-height:.95;letter-spacing:.025em;margin:0 0 22px;text-wrap:balance}
.bk-cat-section .bk-head-row{margin-bottom:22px}
.bk-cat-section .bk-head-row h2{margin:0}

.bk-pose-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.bk-pose figure{margin:0}
.bk-pose-art{display:block;background:var(--tint);border:var(--bk-border);border-radius:20px;box-shadow:var(--bk-shadow);padding:10px;overflow:hidden}
.bk-pose-art img{display:block;width:100%;height:auto;aspect-ratio:6/5;object-fit:contain}
.bk-pose figcaption{display:flex;flex-direction:column;gap:2px;padding:12px 4px 0}
.bk-pose figcaption strong{font-size:17px;line-height:1.25}
.bk-pose figcaption span{font-size:15px;color:var(--bk-ink-soft);font-style:italic}
.bk-pose figcaption span::before{content:'“'}
.bk-pose figcaption span::after{content:'”'}

.bk-cat-merch .shop-grid{padding:0;max-width:none;margin:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.bk-cat-empty{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:20px 24px;background:#FFFFFF;border:2.5px dashed var(--bk-line-soft);border-radius:var(--bk-radius)}
.bk-cat-empty-img{width:130px;height:auto;flex:none}
.bk-cat-empty p{flex:1 1 260px;margin:0;font-size:17px}
.bk-cat-empty p strong{display:block;font-size:19px;margin-bottom:2px}

.bk-cat-step{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:26px}
.bk-cat-step-link{display:flex;align-items:center;gap:16px;padding:14px 20px;background:var(--tint);border:var(--bk-border);border-radius:22px;box-shadow:var(--bk-shadow);color:var(--bk-ink);text-decoration:none;font-family:var(--font-display);font-size:36px;line-height:1;letter-spacing:.03em;transition:transform .2s ease}
.bk-cat-step-link:hover{transform:translateY(-3px)}
.bk-cat-step-link.is-next{flex-direction:row-reverse;text-align:right}
.bk-cat-step-link img{width:110px;height:auto;flex:none}
.bk-cat-step-link small{display:block;font:700 15px/1.2 var(--font-body);letter-spacing:0;color:var(--bk-ink-soft);margin-bottom:4px}
.bk-cat-faces{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}
.bk-cat-faces li{display:flex}
.bk-cat-faces a,.bk-cat-faces .is-here{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px 10px;border-radius:16px;background:var(--tint);border:2px solid var(--bk-line-soft);color:var(--bk-ink);text-decoration:none;font-size:14px;font-weight:700;line-height:1.15;text-align:center}
.bk-cat-faces a:hover{border-color:var(--bk-ink)}
.bk-cat-faces .is-here{border:2.5px solid var(--bk-ink)}
.bk-cat-faces img{width:100%;height:auto;aspect-ratio:13/10;object-fit:contain}
.bk-cat-all{margin:22px 0 0;text-align:center}

/* "Meet the cat" on product pages */
.bk-meet{display:grid;grid-template-columns:128px minmax(0,1fr);gap:18px;align-items:center;margin:24px 0 4px;padding:16px 18px;background:var(--tint);border:var(--bk-border);border-radius:22px;box-shadow:var(--bk-shadow);color:var(--bk-ink)}
.bk-meet-art{display:block}
.bk-meet-img{display:block;width:100%;height:auto;aspect-ratio:13/10;object-fit:contain}
.bk-meet-text{min-width:0}
.bk-meet-kicker{margin:0 0 2px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--bk-link)}
.bk-meet .bk-meet-name{font-family:var(--font-display);font-weight:400;font-size:32px;line-height:1;letter-spacing:.03em;margin:0 0 6px;color:var(--bk-ink)}
.bk-meet p:not(.bk-meet-kicker){margin:0 0 8px;font-size:15px;line-height:1.45;color:var(--bk-ink)}

/* Empty shop, cart, blog and 404 */
.empty-cat{display:block;width:min(190px,55vw);height:auto;margin:0 auto 14px}
.empty-state h3,.success-page h1{color:var(--bk-ink)}
.empty-state p,.cart-empty p,.success-page p{opacity:1;color:var(--bk-ink-soft)}
.success-more{margin-top:14px}

/* Homepage additions */
.bk-head .bk-crew-all{margin-top:10px;font-size:17px}
.bio-page{margin:20px 0 0;font-size:16px}

@media (max-width:1100px){
    .bk-cat-faces{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media (max-width:960px){
    .bk-cats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .bk-cat-hero{grid-template-columns:1fr;gap:28px}
    .bk-cat-art{max-width:520px;margin:0 auto;width:100%}
    .bk-pose-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .bk-pose:first-child{grid-column:1/-1}
    .bk-pose:first-child .bk-pose-art img{aspect-ratio:16/9}
    .bk-cat-merch .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:640px){
    .bk-cats-page,.bk-cat-page{padding-bottom:56px}
    .bk-cats-hero .bk-actions .bk-btn,.bk-cat-intro .bk-actions .bk-btn{flex:1 1 100%}
    .bk-cats-lead{font-size:18px}
    .bk-cats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    .bk-cats-card a{padding:28px 8px 14px}
    .bk-cats-name{font-size:30px}
    .bk-cats-title{font-size:14px}
    .bk-cats-bread{font-size:13px}
    .bk-cat-art{padding:52px 16px 16px}
    .bk-cat-lead{font-size:19px}
    .bk-cat-bio{font-size:17px}
    .bk-cat-section{margin-top:56px}
    .bk-pose-grid{gap:12px}
    .bk-pose:first-child .bk-pose-art img{aspect-ratio:6/5}
    .bk-pose figcaption strong{font-size:15px}
    .bk-pose figcaption span{font-size:14px}
    .bk-cat-merch .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .bk-cat-empty{justify-content:center;text-align:center}
    .bk-cat-step{grid-template-columns:1fr;gap:12px}
    .bk-cat-step-link{font-size:30px;padding:10px 16px}
    .bk-cat-step-link img{width:84px}
    .bk-cat-faces{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
    .bk-meet{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:12px 14px}
    .bk-meet .bk-meet-name{font-size:28px}
}

/* ============================================================================
   Accessibility (November 2026): WCAG 2.2 AA on phones, tablets and computers.
   - No text smaller than 14px; form fields use 16px so iPhones don't zoom in.
   - Everything you tap is at least 44px tall on touch screens, 24px with a mouse.
   - Form fields have a border you can see (3:1 or better), and every element
     shows a focus ring when you reach it with the keyboard.
   - Things that are off screen (closed menu, hidden pop-ups) can't be tabbed to.
   ========================================================================== */
:root{--bk-field-line:#9A7556;--bk-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");--bk-eye-off:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19M14.12 14.12a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E")}

/* Focus ring: one clear ring everywhere, including fields that used to hide it */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,
summary:focus-visible,[tabindex]:focus-visible,[role=button]:focus-visible{outline:3px solid var(--bk-link)!important;outline-offset:2px!important}
.bk-footer :focus-visible,.bk-quiz :focus-visible{outline-color:var(--bk-crust)!important}
.bk-quiz :focus-visible{outline-color:var(--bk-ink)!important}

/* Form fields: 16px text, visible borders, room to tap */
.woocommerce input[type=text],.woocommerce input[type=email],.woocommerce input[type=tel],
.woocommerce input[type=password],.woocommerce input[type=number],.woocommerce select,.woocommerce textarea,
.woocommerce form .form-row .input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea,
.woocommerce-checkout .input-text,.woocommerce-checkout select,.field input,.field select,.discount-row input,
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea,
.select2-container--default .select2-selection--single{font-size:16px;border:1.5px solid var(--bk-field-line);min-height:48px}
#main .pdp form.cart .variations select{font-size:16px;border:1.5px solid var(--bk-field-line);min-height:48px}
#main .pdp form.cart div.quantity,.qty-selector input,.qty-selector button,.email-form{border-color:var(--bk-field-line)}
#main .pdp form.cart div.quantity input.qty,.cart-item-qty .quantity input,.qty-selector input{font-size:16px}
.email-form input{font-size:16px}
.woocommerce-checkout .input-text::placeholder{color:var(--bk-ink-soft);opacity:1}
input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--bk-ink)}
.woocommerce form .form-row label,.woocommerce-checkout .form-row label,
#main .pdp form.cart .variations th.label label{font-size:14px;letter-spacing:.06em;color:var(--bk-ink)}
.woocommerce form .woocommerce-form__label-for-checkbox{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px}
.woocommerce .button,.woocommerce button.button,.woocommerce-form-login .button,.woocommerce-form-register .button,
.woocommerce-form-coupon .button,.comment-form .submit,#review_form #submit{min-height:48px;font-size:16px}

/* Show-password eye on the login form (WooCommerce adds the button; it had no size) */
.woocommerce .password-input,.password-input{position:relative;display:block;width:100%}
.password-input .input-text{width:100%;padding-right:52px}
.show-password-input{position:absolute;top:50%;right:2px;transform:translateY(-50%);width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;background:transparent;color:var(--bk-ink);cursor:pointer}
.show-password-input::before{content:"";display:block;width:22px;height:22px;background:currentColor;-webkit-mask:var(--bk-eye) center/contain no-repeat;mask:var(--bk-eye) center/contain no-repeat}
.show-password-input.display-password::before{-webkit-mask-image:var(--bk-eye-off);mask-image:var(--bk-eye-off)}

/* Readable sizes (14px is the smallest text anywhere) */
.breadcrumb-trail{font-size:14px}
.breadcrumb-trail .sep,.bk-crumbs .sep{opacity:1;font-size:14px;color:var(--bk-ink-soft)}
.product-count{font-size:14px}
.filter-btn,.sort-btn{font-size:14px;letter-spacing:.06em;min-height:44px}
.sort-option{font-size:15px;min-height:44px;display:flex;align-items:center}
.product-overline{font-size:14px;letter-spacing:.12em}
.trust-item{font-size:14px}
.share-label{font-size:14px;letter-spacing:.06em}
.acc-title{font-size:16px;letter-spacing:.04em}
.acc-header{min-height:48px}
.woocommerce-product-attributes th,.woocommerce-product-attributes td,.shop_attributes th,.shop_attributes td{font-size:15px}
.comment-form,.comment-form label,.comment-form p,.woocommerce-noreviews,#reply-title,.comment-reply-title{font-size:15px}
#main .pdp form.cart .reset_variations{font-size:14px;letter-spacing:.06em;display:inline-flex;align-items:center;min-height:44px;padding:0 6px;color:var(--bk-ink-soft);text-decoration:underline;text-underline-offset:3px}
#main .pdp form.cart button.single_add_to_cart_button.button.alt{font-size:16px}
.product-card .product-badge,.product-card .cat-tag,.crew-num,.bio-facts dt,.bk-cat-facts dt,.bk-meet-kicker,.bk-cats-bread,.bk-cats-num{font-size:14px}
.bk-footer .footer-bottom{font-size:14px}
.empty-state p{font-size:16px}
.toast,.toast-text{font-size:15px}
.toast-btn{font-size:14px;letter-spacing:.04em;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 16px}

/* Hidden pop-ups and the closed phone menu stay out of the Tab order */
.cart-toast,.toast{visibility:hidden;transition:transform .4s ease,opacity .4s ease,visibility 0s linear .4s}
.cart-toast.show,.toast.show{visibility:visible;transition:transform .4s ease,opacity .4s ease,visibility 0s}
@media (max-width:600px){.cart-toast{left:12px;right:12px;bottom:12px;flex-wrap:wrap}.toast-actions{margin-left:0}}
@media (max-width:860px){
    .nav-links{visibility:hidden;transition:transform .3s ease,visibility 0s linear .3s}
    .nav-links.open{visibility:visible;transition:transform .3s ease,visibility 0s}
}

/* Pictures can't be dragged out or long-pressed to save (see main.js) */
img,.pswp__img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}

/* Tap targets */
.nav-menu a,.nav-logo,.cart-icon,.calm-toggle{min-height:44px;display:inline-flex;align-items:center}
.nav-toggle{width:44px;height:44px}
.footer-col h2{margin-top:0}
.crew-more{min-height:44px}
.share-btn{width:44px;height:44px}
.woocommerce-product-gallery__trigger{width:44px!important;height:44px!important;display:flex!important;align-items:center;justify-content:center}
.wpmenucart-slideout__close{min-width:44px;min-height:44px}
.bk-footer .footer-bottom a,.breadcrumb-trail a,.bk-crumbs a{display:inline-block;padding-block:4px}
.bk-footer .footer-col a{padding-block:2px;margin-bottom:6px}
.bk-link{padding-block:2px}
.skip-link:focus,.screen-reader-text:focus{clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important;white-space:normal!important;margin:0!important;top:8px;left:8px;z-index:100000;padding:12px 18px!important;min-height:44px;display:inline-flex!important;align-items:center;background:var(--bk-crust);color:var(--bk-ink);border:2.5px solid var(--bk-ink);border-radius:999px;font-weight:700;text-decoration:none}
@media (any-pointer:coarse){
    .bk-footer .footer-col a{display:flex;align-items:center;min-height:44px;padding-block:0;margin-bottom:0}
    .bk-footer .footer-bottom a,.breadcrumb-trail a,.bk-crumbs a{display:inline-flex;align-items:center;min-height:44px;padding-block:0}
    .bk-link,.bk-trust a{display:inline-flex;align-items:center;min-height:44px}
}

/* ============================================================================
   Calm cats (the header switch, or a device set to reduce motion):
   every cat holds still; pictures still swap, nothing travels or bounces.
   ========================================================================== */
.calm-cats .reveal,.calm-cats .reveal.visible{opacity:1;transform:none;transition:none}
.calm-cats .bk-hero-stage.is-squish .bk-hero-cats,.calm-cats .bk-hero-cats-wrap,.calm-cats .shelf-perch .perch-cat,.calm-cats .goma-slot-img,.calm-cats .bk-sheet[open]{animation:none!important;transform:none!important}
.calm-cats .crew-img,.calm-cats .product-card,.calm-cats .bk-btn{transition:opacity .15s ease}
.calm-cats .product-card:hover,.calm-cats .bk-cats-card a:hover,.calm-cats .bk-cat-step-link:hover{transform:none}
.calm-cats html{scroll-behavior:auto}
html.calm-cats{scroll-behavior:auto}
@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    .bk-hero-stage.is-squish .bk-hero-cats,.bk-hero-cats-wrap,.shelf-perch .perch-cat,.goma-slot-img,.bk-sheet[open]{animation:none!important}
    .product-card:hover,.bk-cats-card a:hover,.bk-cat-step-link:hover{transform:none}
}


/* --- 7. Live cats: animated puppets (inc/live-cats.php, assets/js/live-cats.js)
   The stage shows the cats' normal pictures until the puppets are ready, then
   fades them out. The floor line sits at 93% of the stage, matching
   GROUND in live-cats.js. ------------------------------------------------- */
.bk-live-stage{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.bk-live-stills{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;gap:3%;padding:3% 4% 4.5%;transition:opacity .4s ease,visibility .4s}
.bk-live-stills img{display:block;width:auto;height:78%;max-width:47%;object-fit:contain;object-position:50% 100%}
.bk-live-canvas{position:absolute;inset:0}
.bk-live-canvas canvas{display:block;width:100%!important;height:100%!important}
.bk-live.is-live .bk-live-stills{opacity:0;visibility:hidden}
.bk-live-pets{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:20px}

/* Homepage: both cats on the bakery counter */
.bk-live-duo .bk-live-stage{width:100%;aspect-ratio:21/9;min-height:240px;border:var(--bk-border);border-radius:32px;box-shadow:0 8px 0 var(--bk-line-soft);
    background:linear-gradient(180deg,#FFFDF6 0%,#FFF4DE 76%,#E5BF91 76%,#E5BF91 calc(76% + 2px),#F5E5C3 calc(76% + 2px),#EED3A6 100%)}

/* A cat's own page: the puppet takes the picture's place */
.bk-live-solo .bk-live-stage{width:100%;aspect-ratio:13/10}
.bk-live-solo .bk-live-stills{padding:0}
.bk-live-solo .bk-live-stills img{width:100%;height:100%;max-width:none;object-position:50% 50%}
.bk-live-solo .bk-live-pets{margin-top:12px}
@media (max-width:600px){
    .bk-live-duo .bk-live-stage{aspect-ratio:16/10;min-height:0;border-radius:24px}
    .bk-live-pets{gap:10px}
}

/* --- 8. Shop filters: a sidebar of checkboxes, live results
   (inc/shop-filters.php, assets/js/shop-filters.js)
   From 960px the filters sit in a card beside the products, stick under the
   nav, and scroll on their own when taller than the window. Below that they
   slide in from the left behind a "Filters" button. ----------------------- */
.bk-shop{max-width:1200px;margin:0 auto;padding:18px 40px 80px;display:grid;grid-template-columns:268px minmax(0,1fr);gap:28px;align-items:start}
.bk-shop-main{min-width:0}
.bk-shop [hidden],.bk-fscrim[hidden]{display:none!important}

/* Results bar: how many, sort, and (on phones) the Filters button */
.bk-rbar{display:flex;align-items:center;gap:10px 12px;flex-wrap:wrap;min-height:48px;margin-bottom:8px}
.bk-rbar .product-count{margin:0 auto 0 0;font-family:var(--font-body);font-size:15px;font-weight:600;letter-spacing:0;color:var(--bk-ink-soft)}
.bk-rbar .sort-btn{min-height:44px;padding:8px 16px;border:2px solid var(--bk-line-soft);border-radius:999px;background:var(--bk-card);color:var(--bk-ink);font-weight:700;letter-spacing:.01em;text-transform:none}
.bk-rbar .sort-btn:hover,.bk-rbar .sort-btn[aria-expanded="true"]{border-color:var(--bk-ink);color:var(--bk-ink)}
.bk-rbar .sort-dropdown{border-radius:16px;z-index:60;background:var(--bk-card);border:2px solid var(--bk-ink)}
.bk-ftoggle{display:none}

/* What's ticked, as removable tags */
.bk-shop-main .active-filters{max-width:none;margin:0 0 14px;padding:0;min-height:0}
.active-filters .filter-tag{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 12px 6px 14px;border-radius:999px;font-size:14px;font-weight:600;text-decoration:none;color:var(--bk-ink);background:var(--bk-crumb);border:2px solid var(--bk-line-soft)}
.active-filters .filter-tag .x{font-size:18px;line-height:1}
.active-filters .filter-tag:hover{border-color:var(--bk-ink)}
.active-filters .clear-all{display:inline-flex;align-items:center;min-height:40px;padding:0 4px;font-size:14px;color:var(--bk-link);text-decoration:underline;text-underline-offset:3px}

/* The products */
.bk-shop .shop-grid{max-width:none;margin:0;padding:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bk-results{position:relative;transition:opacity .15s ease}
.bk-results.is-loading{opacity:.45;pointer-events:none}
.bk-results.is-loading::before{content:"";position:absolute;left:0;right:0;top:-8px;height:4px;border-radius:4px;background:linear-gradient(90deg,transparent,var(--bk-crust),transparent) no-repeat;background-size:40% 100%;animation:bk-load 1s linear infinite}
@keyframes bk-load{from{background-position:-60% 0}to{background-position:160% 0}}
.bk-results .reveal,.bk-results .reveal.visible{opacity:1;transform:none;transition:transform .2s ease,box-shadow .2s ease}
.bk-results.is-swapped .product-card{animation:bk-in .26s ease both}
@keyframes bk-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.bk-results .empty-state{padding:48px 20px 56px;background:var(--bk-card);border:2px dashed var(--bk-line-soft);border-radius:var(--bk-radius)}
.bk-results .empty-state .empty-cat{display:block;width:150px;height:auto;margin:0 auto 12px}
.bk-pages{margin-top:36px}

/* The sidebar card */
.bk-filters{position:sticky;top:calc(var(--bk-nav-h) + 16px);max-height:calc(100vh - var(--bk-nav-h) - 32px);display:flex;flex-direction:column;background:var(--bk-card);border:var(--bk-border);border-radius:var(--bk-radius);box-shadow:var(--bk-shadow);overflow:hidden}
.bk-fform{display:flex;flex-direction:column;flex:1;min-height:0}
.bk-fhead{display:flex;align-items:center;gap:8px;min-height:68px;padding:10px 14px 10px 18px;border-bottom:2px solid var(--bk-line-soft)}
.bk-ftitle{margin:0 auto 0 0;font-family:var(--font-display);font-size:30px;line-height:1;letter-spacing:.04em}
.bk-fclear{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-size:14px;font-weight:600;color:var(--bk-link);text-decoration:underline;text-underline-offset:3px}
.bk-fclose{display:none}
.bk-fbody{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 10px 10px;scrollbar-width:thin}
.bk-fgroup{padding:2px 0 8px;border-bottom:1.5px solid var(--bk-line-soft)}
.bk-fgroup:last-child{border-bottom:0;padding-bottom:2px}
.bk-fsum{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 8px;border-radius:12px;list-style:none;cursor:pointer;font:700 16px/1.2 var(--font-body);color:var(--bk-ink)}
.bk-fsum::-webkit-details-marker{display:none}
.bk-fsum::marker{content:""}
.bk-fsum-title{margin-right:auto}
.bk-fsum-n{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--bk-crust);border:2px solid var(--bk-ink);font-size:13px;line-height:1}
.bk-ico{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.bk-fsum .bk-ico-chevron{transition:transform .2s ease}
.bk-fgroup:not([open]) .bk-ico-chevron{transform:rotate(-90deg)}
.bk-fset{min-width:0;margin:0;padding:0;border:0}

/* One option: box, (cat face), name, how many */
.bk-fopt{position:relative;display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 8px;border-radius:12px;cursor:pointer;font-size:15px;line-height:1.2;color:var(--bk-ink);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.bk-fopt:hover{background:var(--bk-flour)}
.bk-fopt input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.bk-fbox{display:grid;place-items:center;width:24px;height:24px;flex:none;border:2px solid var(--bk-ink);border-radius:7px;background:var(--bk-card);transition:background-color .12s ease}
.bk-fbox .bk-ico{width:16px;height:16px;stroke-width:3.2;opacity:0;transform:scale(.6);transition:opacity .12s ease,transform .12s ease}
.bk-fopt input:checked + .bk-fbox{background:var(--bk-crust)}
.bk-fopt input:checked + .bk-fbox .bk-ico{opacity:1;transform:none}
.bk-fopt input:focus-visible + .bk-fbox{outline:3px solid var(--bk-link);outline-offset:2px}
.bk-fface{width:34px;height:34px;flex:none;border-radius:50%;background:var(--bk-crumb);border:2px solid var(--bk-line-soft);object-fit:cover}
.bk-fopt.is-on .bk-fface{border-color:var(--bk-ink)}
.bk-fname{flex:1;min-width:0}
.bk-fopt.is-on .bk-fname{font-weight:700}
.bk-fcount{flex:none;min-width:30px;padding:3px 8px;border-radius:999px;background:var(--bk-flour);font-size:13px;font-weight:700;line-height:1.2;text-align:center;color:var(--bk-ink-soft)}
.bk-fopt.is-empty{color:var(--bk-ink-soft)}
.bk-fopt.is-empty .bk-fbox,.bk-fopt.is-empty .bk-fface{opacity:.45}

/* Without JavaScript the button applies the filters; with it, only phones show it (to close the panel) */
.bk-ffoot{padding:12px 16px 14px;border-top:2px solid var(--bk-line-soft);background:var(--bk-card)}
.bk-fshow{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;font-size:16px}
.bk-fform.is-live .bk-ffoot{display:none}

@media (max-width:1100px){
    .bk-shop{grid-template-columns:244px minmax(0,1fr);gap:22px}
    .bk-shop .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Phones and small tablets: the filters become a panel */
@media (max-width:959.98px){
    .bk-shop{grid-template-columns:minmax(0,1fr);padding:10px 20px 64px}
    .shop-header{padding-left:20px;padding-right:20px}
    .bk-shop .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
    .bk-ftoggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border:2px solid var(--bk-ink);border-radius:999px;background:var(--bk-crust);color:var(--bk-ink);font:700 15px/1 var(--font-body);cursor:pointer}
    .bk-ftoggle-n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--bk-card);border:2px solid var(--bk-ink);font-size:12px}
    .bk-rbar .product-count{order:3;flex-basis:100%;margin:0}
    .bk-rbar .sort-wrap{margin-left:auto}
    .bk-filters{position:fixed;top:0;bottom:0;left:0;z-index:1001;width:min(90vw,380px);max-height:none;border-left:0;border-radius:0 24px 24px 0;box-shadow:6px 0 0 rgba(67,33,18,.12);transform:translateX(-105%);visibility:hidden;transition:transform .28s ease,visibility 0s linear .28s}
    .bk-filters-open .bk-filters{transform:none;visibility:visible;transition:transform .28s ease,visibility 0s}
    .bk-fhead{padding-top:max(12px,env(safe-area-inset-top))}
    .bk-fclose{display:grid;place-items:center;width:44px;height:44px;padding:0;border:2px solid var(--bk-line-soft);border-radius:50%;background:var(--bk-card);color:var(--bk-ink);cursor:pointer}
    .bk-fclose:hover{border-color:var(--bk-ink)}
    .bk-fform.is-live .bk-ffoot{display:block;padding-bottom:max(14px,env(safe-area-inset-bottom))}
    .bk-fscrim{position:fixed;inset:0;z-index:1000;background:rgba(67,33,18,.45)}
    html.bk-filters-open{overflow:hidden}
}
@media (max-width:760px){
    .bk-shop .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}

@media (prefers-reduced-motion:reduce){
    .bk-filters,.bk-fbox,.bk-fbox .bk-ico,.bk-fsum .bk-ico-chevron,.bk-results{transition:none}
    .bk-results.is-swapped .product-card{animation:none}
    .bk-results.is-loading::before{animation:none;background:var(--bk-crust)}
}
.calm-cats .bk-filters,.calm-cats .bk-fbox,.calm-cats .bk-fbox .bk-ico,.calm-cats .bk-fsum .bk-ico-chevron{transition:none}
.calm-cats .bk-results.is-swapped .product-card{animation:none}
.calm-cats .bk-results.is-loading::before{animation:none;background:var(--bk-crust)}

/* --- 9. Store notices ("… is in your bag!", errors, tips)
   WooCommerce's own stylesheet still loads (forms and the gallery lean on
   it); its notices put an icon-font tick 1.5em from the left and grey
   buttons on top. These replace both with the bakery card look: a round
   icon, the words, and the button on the right (under the words on
   phones). ------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-notices-wrapper:not(:empty){padding-top:16px}
:is(.woocommerce-message,.woocommerce-info,.woocommerce-error){
    --note-bg:#2D7A4B;
    --note-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17 19 7'/%3E%3C/svg%3E");
    position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;
    min-height:64px;margin:0 0 20px;padding:12px 14px 12px 62px;
    list-style:none;background:var(--bk-card);color:var(--bk-ink);
    border:2.5px solid var(--bk-ink);border-radius:18px;box-shadow:0 5px 0 var(--bk-line-soft);
    font:500 16px/1.45 var(--font-body);letter-spacing:0;text-transform:none;overflow-wrap:anywhere
}
.woocommerce-info{
    --note-bg:var(--bk-crust);
    --note-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23432112' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 11v6'/%3E%3Ccircle cx='12' cy='7' r='.5' fill='%23432112'/%3E%3C/svg%3E")
}
.woocommerce-error{
    --note-bg:#B03A1C;
    --note-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 6v8'/%3E%3Ccircle cx='12' cy='18' r='.5' fill='white'/%3E%3C/svg%3E")
}
/* Tips and errors are sentences with links in them: plain paragraphs, icon by the first line */
:is(.woocommerce-info,.woocommerce-error){display:block;min-height:0;padding-top:17px;padding-bottom:17px}
:is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{
    content:"";position:absolute;top:50%;left:16px;width:32px;height:32px;margin:0;transform:translateY(-50%);
    border-radius:50%;background:var(--note-bg) var(--note-ico) center/20px 20px no-repeat;font-family:inherit;color:transparent
}
:is(.woocommerce-info,.woocommerce-error)::before{top:13px;transform:none}
:is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::after{display:none}
.woocommerce-error li{margin:0;padding:3px 0;list-style:none}
.woocommerce-error li + li{border-top:1.5px dashed var(--bk-line-soft)}
:is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a:not(.button){color:var(--bk-link);text-decoration:underline;text-underline-offset:3px}

/* The button ("See my bag"): WooCommerce's grey button rule is stronger, hence body */
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a.button{
    order:2;float:none;display:inline-flex;align-items:center;justify-content:center;flex:none;
    min-height:44px;margin:0 0 0 auto;padding:0 20px;border:2px solid var(--bk-ink);border-radius:999px;
    background:var(--bk-crust);color:var(--bk-ink);box-shadow:none;
    font:700 15px/1 var(--font-body);letter-spacing:.01em;text-transform:none;text-decoration:none;white-space:nowrap
}
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a.button:hover{background:var(--bk-crust-hi);color:var(--bk-ink)}
/* …unless one carries a button ("Back to the shop"): then it's a row like the bag notice */
:is(.woocommerce-info,.woocommerce-error):has(> a.button){display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding-top:12px;padding-bottom:12px;min-height:64px}
:is(.woocommerce-info,.woocommerce-error):has(> a.button)::before{top:50%;transform:translateY(-50%)}

@media (max-width:700px){
    .woocommerce-notices-wrapper{padding-left:20px;padding-right:20px}
    :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){padding-left:58px;font-size:15px}
    :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{left:14px;top:14px;transform:none}
    body .woocommerce-message a.button{margin-left:0}
    body :is(.woocommerce-info,.woocommerce-error) a.button{margin-left:0}
    :is(.woocommerce-info,.woocommerce-error):has(> a.button)::before{top:14px;transform:none}
}

/* --- 10. Footer: copyright and ownership notice, policy links ------------ */
.bk-footer .footer-bottom{align-items:flex-start;flex-wrap:wrap;gap:14px 40px}
.footer-legal{flex:1 1 520px;max-width:780px}
.footer-legal p{margin:0;font-size:14px;line-height:1.6;color:#F3DFC4;letter-spacing:.005em}
.footer-legal .footer-copy{font-weight:700}
.footer-legal .footer-rights{margin-top:6px}
.footer-policies{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;font-size:14px;color:#F3DFC4}
@media (max-width:480px){.footer-legal{flex:0 1 auto}}

/* --- 11. Product page ------------------------------------------------------
   Grid columns can't be widened by what's inside them (WooCommerce's photo
   slider set its own width and pushed everything past the right edge on
   phones); thumbnails sit in one scrolling row instead of a wall; the price is
   big under the title and again right above Add to bag; the description is a
   readable section folded to a few lines, its size chart moved to a
   "Size guide" that scrolls sideways; no payment buttons until checkout. ---- */
.pdp{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.pdp > .gallery,.pdp > .product-col{min-width:0}
.pdp .woocommerce-product-gallery{position:relative;max-width:100%;margin:0!important;float:none!important;width:100%!important}
.pdp .woocommerce-product-gallery .flex-viewport,
.pdp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper{border:var(--bk-border);border-radius:var(--bk-radius);background:#fff;overflow:hidden}
.pdp .woocommerce-product-gallery__image img{display:block;width:100%;height:auto}
.pdp .woocommerce-product-gallery__trigger{position:absolute!important;top:12px!important;right:12px!important;left:auto!important;z-index:5;background:#fff!important;border:2px solid var(--bk-ink)!important;border-radius:50%!important}

#main .pdp .flex-control-thumbs{display:flex;gap:10px;margin:12px 0 0;padding:2px 2px 8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;list-style:none}
#main .pdp .flex-control-thumbs::before,#main .pdp .flex-control-thumbs::after{display:none}
#main .pdp .flex-control-thumbs li{flex:0 0 76px;width:76px;margin:0;padding:0;float:none;scroll-snap-align:start}
#main .pdp .flex-control-thumbs img{display:block;width:76px;height:76px;object-fit:cover;border:2px solid var(--bk-line-soft);border-radius:14px;background:#fff;opacity:1;cursor:pointer;transition:border-color .15s ease}
#main .pdp .flex-control-thumbs img:hover{border-color:var(--bk-ink-soft)}
#main .pdp .flex-control-thumbs img.flex-active{border-color:var(--bk-ink);box-shadow:0 3px 0 var(--bk-line-soft)}

.pdp .product-title{font-size:clamp(30px,3.2vw,40px);text-transform:uppercase;overflow-wrap:anywhere}
.pdp .product-price-row{margin:12px 0 20px}
.pdp .product-price-row .product-price{margin:0;font-size:30px;font-weight:700;line-height:1.15;color:var(--bk-ink)}
.pdp .product-price-row .product-price del,.bk-buy-amount del,.sticky-price del{font-size:.62em;font-weight:500;color:var(--bk-ink-soft);margin-right:8px}
.pdp .product-price-row .product-price ins,.bk-buy-amount ins,.sticky-price ins{text-decoration:none}
/* "From" before the lowest price, until a size is picked */
.bk-from{font-size:max(12px,.5em);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bk-ink-soft);margin-right:2px}
/* Every price on the product page is the outline brown (#432112: 13.6:1 on the
   page cream), never WooCommerce's olive green (#958e09) or the link orange.
   body.single-product wins over Woo's ".woocommerce div.product span.price". */
body.single-product :is(.pdp,.sticky-bar) :is(.price,.price *,.amount,.amount *,ins,ins *,.product-price,.sticky-price){color:var(--bk-ink)}
body.single-product :is(.pdp,.sticky-bar) :is(del,del *){color:var(--bk-ink-soft)}
body.single-product :is(.pdp,.sticky-bar) :is(.bk-from,.bk-buy-label){color:var(--bk-ink-soft)}

/* The price right above the button */
.bk-buy-price{flex:1 0 100%;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:2px 0 4px;color:var(--bk-ink)}
.bk-buy-label{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bk-ink-soft)}
.bk-buy-amount{font-size:30px;font-weight:700;line-height:1.1}
.bk-buy-amount .price{display:inline;margin:0;font-size:inherit;color:inherit}
#main .pdp .single_variation .woocommerce-variation-price{display:none}
#main .pdp form.cart button.single_add_to_cart_button.button.alt{flex:1 1 200px;min-height:52px;font-size:17px}

/* Details */
.bk-details{margin:26px 0 6px;padding-top:20px;border-top:2px solid var(--bk-line-soft)}
.pdp .bk-details-title{margin:0 0 10px;font:700 19px/1.3 var(--font-body);letter-spacing:0;text-transform:none;color:var(--bk-ink)}
.bk-details-body{position:relative;font-size:16px;line-height:1.65;color:var(--bk-ink);overflow-wrap:break-word}
.bk-details-body p{margin:0 0 10px}
.bk-details-body ul,.bk-details-body ol{margin:0 0 12px;padding-left:22px}
.bk-details-body li{margin:0 0 4px}
.bk-details-body.is-folded{max-height:220px;overflow:hidden}
.bk-details-body.is-folded::after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(rgba(255,248,236,0),var(--bk-flour));pointer-events:none}
.bk-details-body .woocommerce-product-attributes{width:100%;margin:8px 0 4px;border-collapse:collapse;font-size:15px}
.bk-details-body .woocommerce-product-attributes th,.bk-details-body .woocommerce-product-attributes td{padding:8px 10px 8px 0;border-bottom:1.5px solid var(--bk-line-soft);text-align:left;vertical-align:top}
.bk-details-body .woocommerce-product-attributes th{width:34%;font-weight:700}
.bk-details-body .woocommerce-product-attributes td p{margin:0}
.bk-details-more{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;padding:0 18px;border:2px solid var(--bk-ink);border-radius:999px;background:var(--bk-card);color:var(--bk-ink);font:700 15px/1 var(--font-body);cursor:pointer}
.bk-details-more:hover{background:var(--bk-crumb)}
.bk-details-more[hidden]{display:none}
.bk-details-more .bk-less,.bk-details-more[aria-expanded="true"] .bk-more{display:none}
.bk-details-more[aria-expanded="true"] .bk-less{display:inline}

/* Accordion text the same readable size; the size chart scrolls sideways */
.pdp .acc-body-inner{font-size:15px;line-height:1.6;color:var(--bk-ink)}
.bk-table-scroll{overflow-x:auto;margin:2px 0 14px;border:2px solid var(--bk-line-soft);border-radius:14px;background:#fff}
.bk-table-scroll:focus-visible{outline:3px solid var(--bk-link);outline-offset:2px}
.pdp .bk-table-scroll table{width:100%;min-width:max-content;margin:0;border-collapse:collapse;font-size:14px}
.pdp .bk-table-scroll td,.pdp .bk-table-scroll th{width:auto;padding:9px 12px;border-bottom:1.5px solid var(--bk-line-soft);text-align:center;white-space:nowrap;color:var(--bk-ink)}
.pdp .bk-table-scroll tr:first-child td,.pdp .bk-table-scroll tr:first-child th{background:var(--bk-crumb);font-weight:700}
.pdp .bk-table-scroll td:first-child,.pdp .bk-table-scroll th:first-child{position:sticky;left:0;z-index:1;min-width:110px;max-width:150px;white-space:normal;background:#fff;text-align:left;font-weight:700;line-height:1.3;box-shadow:2px 0 0 var(--bk-line-soft)}
.pdp .bk-table-scroll tr:first-child td:first-child{background:var(--bk-crumb)}
.pdp .bk-table-scroll tr:last-child td{border-bottom:0}

/* No wallet buttons or pay-later banners on product pages: those come at checkout */
.single-product #wc-stripe-express-checkout-element,.single-product #wc-stripe-express-checkout-button-separator,
.single-product #wc-stripe-payment-request-wrapper,.single-product #wc-stripe-payment-request-button-separator,
.single-product .ppc-button-wrapper,.single-product [id^="ppc-button"],.single-product .ppcp-messages,.single-product [data-pp-message],
.single-product .wcpay-payment-request-wrapper,.single-product .wc-block-components-express-payment{display:none!important}

@media (max-width:900px){
    .pdp{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
    #main .pdp .flex-control-thumbs li{flex-basis:64px;width:64px}
    #main .pdp .flex-control-thumbs img{width:64px;height:64px;border-radius:12px}
    .pdp .product-price-row .product-price,.bk-buy-amount{font-size:28px}
}
