/* BaoKeys v3.1 HTML review: polished product cards, visible fields, interactive night mode. */
:root{--bk-radius:10px;--bk-motion:cubic-bezier(.16,1,.3,1)}
.nav .brand .bk-logo{width:52px;height:52px}
.foot .brand .bk-logo{width:45px;height:45px}
.bk-theme-toggle{display:grid;place-items:center;flex:0 0 auto;width:30px;height:36px;background:transparent;border:0;color:inherit;padding:0;transition:color .2s ease,transform .28s var(--bk-motion)}
.bk-theme-toggle svg{width:24px;height:24px}
.bk-theme-toggle:hover{color:var(--red);transform:rotate(-16deg) scale(1.1)}
.bk-icon-sun{display:none}
html[data-bk-theme="dark"] .bk-icon-moon{display:none}
html[data-bk-theme="dark"] .bk-icon-sun{display:block}
.product{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:var(--bk-radius);overflow:hidden;padding-bottom:14px;box-shadow:0 3px 13px rgba(45,29,28,.055);transition:transform .3s var(--bk-motion),box-shadow .3s ease,border-color .3s ease}
.product:hover,.product:focus-within{transform:translateY(-5px);box-shadow:0 15px 35px rgba(59,28,30,.13);border-color:#d9babb}
.product-photo{border-radius:var(--bk-radius) var(--bk-radius) 0 0}
.product-photo img{object-fit:cover}
.product-name,.product-type,.product>.price{margin-left:14px;margin-right:14px}
.product-name{transition:color .24s ease,transform .27s var(--bk-motion)}
.product:hover .product-name,.product:focus-within .product-name{color:var(--red);transform:translateX(3px)}
.heart{z-index:2;display:grid;place-items:center;border:1px solid rgba(180,0,30,.08);box-shadow:0 2px 10px rgba(30,20,20,.10);transition:color .24s ease,background .24s ease,transform .3s var(--bk-motion),box-shadow .2s ease}
.product:hover .heart,.heart:hover,.heart:focus-visible{transform:scale(1.17) rotate(-8deg);box-shadow:0 5px 16px #3509103a}
.heart.is-saved{background:var(--red);color:white}
.cat,.cat img,.bk-main-image,.bk-thumb,.bk-about-feature img,.editorial img,.bk-shipping-pane>.bk-delivery-panel,.bk-shipping-pane>.bk-trust-points{border-radius:var(--bk-radius)}
.cat-info{border-radius:0 0 var(--bk-radius) var(--bk-radius)}
.cat-info strong,.cat-info small{transition:color .25s ease,transform .28s var(--bk-motion)}
.cat:hover .cat-info strong,.cat:focus-visible .cat-info strong{color:#ffd0d8;transform:translateX(4px)}
.cat:hover .cat-info small,.cat:focus-visible .cat-info small{color:#ffe4e6;transform:translateX(7px)}
.section-head a:hover,.textlink:hover{transform:translateY(-2px);color:#8b0014}
a.btn,button.btn,.navlinks a,.cat,.heart,.bk-theme-toggle,.product-photo,.product-name{cursor:pointer}
a.btn:hover,button.btn:hover{transform:translateY(-4px) scale(1.016)}
.bk-main-image img{transition:opacity .19s ease,transform .45s var(--bk-motion)}
.bk-main-image img.bk-photo-leaving{opacity:.2;transform:scale(1.025)}
.bk-main-image img.bk-photo-enter{animation:bk-gallery-in .36s var(--bk-motion)}
@keyframes bk-gallery-in{from{opacity:.15;transform:scale(1.035)}to{opacity:1;transform:scale(1)}}
.bk-live-price{color:var(--red);font-weight:800;font-size:clamp(22px,2vw,27px);margin:12px 0 18px}
.bk-demo-checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);gap:clamp(24px,5vw,70px);padding-top:55px;padding-bottom:85px;align-items:start}
.bk-checkout-form label{font-size:12px;font-weight:700;display:grid;gap:7px}
.bk-checkout-form h3{font:500 23px Georgia,serif;margin:15px 0 0}
.bk-checkout-shipping{background:var(--paper);border:1px solid var(--line);padding:18px;border-radius:var(--bk-radius)}
.bk-checkout-shipping small{display:block;color:var(--muted);margin-top:6px;font-size:12px;line-height:1.6}
.bk-order-summary{background:var(--paper);padding:25px;border:1px solid var(--line);border-radius:var(--bk-radius)}
.bk-order-summary h2{font:500 28px Georgia,serif;margin:0 0 18px}
.bk-order-line{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5}
.bk-order-line>span:first-child{flex:1}
.bk-order-line>strong{white-space:nowrap}
/* Dark appearance uses the same cream/red design language with warm charcoal surfaces. */
html[data-bk-theme="dark"]{--cream:#19181b;--paper:#262227;--ink:#f9f2eb;--muted:#b7ada9;--line:#4d4246;--red:#ec6680;color-scheme:dark}
html[data-bk-theme="dark"] body{background:var(--cream);color:var(--ink)}
html[data-bk-theme="dark"] .announce{background:#8d1730}
html[data-bk-theme="dark"] .nav,html[data-bk-theme="dark"] .foot{background:var(--cream)}
html[data-bk-theme="dark"] .product,html[data-bk-theme="dark"] .bk-order-summary,html[data-bk-theme="dark"] .bk-shipping-pane>.bk-delivery-panel,html[data-bk-theme="dark"] .bk-shipping-pane>.bk-trust-points,html[data-bk-theme="dark"] .bk-checkout-shipping,html[data-bk-theme="dark"] .notice,html[data-bk-theme="dark"] .bk-option,html[data-bk-theme="dark"] .bk-quantity{background:var(--paper);border-color:var(--line)}
html[data-bk-theme="dark"] .product-name,html[data-bk-theme="dark"] .cat,html[data-bk-theme="dark"] .product-type,html[data-bk-theme="dark"] .bk-shipping-pane .bk-ship-promo,html[data-bk-theme="dark"] .bk-trust-point strong,html[data-bk-theme="dark"] .bk-specs dt{color:var(--ink)}
html[data-bk-theme="dark"] .heart{background:#302832;color:#ff7891}
html[data-bk-theme="dark"] .heart.is-saved{background:#e34165;color:white}
html[data-bk-theme="dark"] .bk-product-info>p,html[data-bk-theme="dark"] .bk-description-pane p,html[data-bk-theme="dark"] .bk-shipping-pane p,html[data-bk-theme="dark"] .bk-shipping-pane .bk-trust-point p,html[data-bk-theme="dark"] .bk-shipping-pane .bk-delivery-fineprint,html[data-bk-theme="dark"] .editorial-copy p,html[data-bk-theme="dark"] .foot p,html[data-bk-theme="dark"] .foot a,html[data-bk-theme="dark"] .prose,html[data-bk-theme="dark"] .prose .bk-policy-intro,html[data-bk-theme="dark"] .bk-specs dd{color:#d3c5c1}
html[data-bk-theme="dark"] .form input,html[data-bk-theme="dark"] .form select,html[data-bk-theme="dark"] .form textarea,html[data-bk-theme="dark"] .sort select,html[data-bk-theme="dark"] .field{background:#312a2d;color:var(--ink);border-color:var(--line)}
html[data-bk-theme="dark"] .editorial{background:#2c2426}
html[data-bk-theme="dark"] .bk-confidence{background:#231d22}
html[data-bk-theme="dark"] .bk-confidence-grid>div{color:var(--ink)}
html[data-bk-theme="dark"] .bk-confidence-grid small{color:#d3c5c1}
html[data-bk-theme="dark"] .bk-main-image,html[data-bk-theme="dark"] .product-photo{background:#342d31}
html[data-bk-theme="dark"] .bk-option.selected{background:#3b252e}
html[data-bk-theme="dark"] .prose h2,html[data-bk-theme="dark"] .prose h3{color:var(--ink)}
html[data-bk-theme="dark"] .bk-about-feature,html[data-bk-theme="dark"] .bk-about-feature>div{background:var(--paper)}
@media(max-width:900px){.bk-demo-checkout{grid-template-columns:1fr;gap:25px}}
@media(max-width:600px){.nav .brand .bk-logo{width:37px;height:37px}.bk-theme-toggle{width:27px}.bk-theme-toggle svg{width:22px;height:22px}.product-name,.product-type,.product>.price{margin-left:10px;margin-right:10px}.bk-order-summary{padding:18px}}
@media(prefers-reduced-motion:reduce){.product,.heart,.cat-info strong,.cat-info small,.product-name{transition:none!important}.bk-main-image img.bk-photo-enter{animation:none!important}}

/* BaoKeys v3.2: lock icon matches the other confidence icons. */
.bk-confidence-icon svg{width:25px;height:25px;display:block;flex:none}

/* BaoKeys v3.5: stronger, controlled red hover for Explore by Style */
.bk-category-section .section-head .display{transition:color .3s var(--bk-motion),transform .3s var(--bk-motion)}
.bk-category-section .section-head:hover .display,.bk-category-section .section-head .display:focus{color:var(--red)}
.bk-category-section .section-head:hover .eyebrow{color:#a30024}
.bk-category-section .categories .cat{transition:transform .35s var(--bk-motion),box-shadow .35s ease,outline-color .25s ease;outline:2px solid transparent;outline-offset:-2px}
.bk-category-section .categories .cat:hover,.bk-category-section .categories .cat:focus-visible{outline-color:var(--red);box-shadow:0 14px 35px #b8001f35;transform:translateY(-4px)}
.bk-category-section .categories .cat-info{transition:filter .25s ease}
.bk-category-section .categories .cat:hover .cat-info{filter:drop-shadow(0 3px 10px #af002f)}
.bk-category-section .categories .cat:hover img{filter:saturate(1.3) sepia(.07)}
/* A single stage height drives both the outer film and its sticky video surface.
   No unmatched 20/40px strip; the video always covers the entire section. */
.bk-artisan-film:not(.bk-artisan-film--product){--bk-film-height:610px;height:var(--bk-film-height);min-height:0;max-height:none;overflow:hidden}
.bk-artisan-film:not(.bk-artisan-film--product) .bk-artisan-film__stick{height:100%;min-height:0;max-height:none;position:sticky;top:0;align-items:center;width:100%}
.bk-artisan-film .bk-artisan-film__video,.bk-artisan-film .bk-artisan-film__shade{width:100%;height:100%;inset:0}
.bk-artisan-film .bk-artisan-film__video{object-fit:cover;object-position:center}
@media(min-width:901px) and (max-height:650px){.bk-artisan-film:not(.bk-artisan-film--product){--bk-film-height:520px}}
@media(max-width:900px){.bk-artisan-film:not(.bk-artisan-film--product){--bk-film-height:610px}}
@media(max-width:600px){.bk-artisan-film:not(.bk-artisan-film--product){--bk-film-height:560px}.bk-artisan-film:not(.bk-artisan-film--product) .bk-artisan-film__copy h2 br{display:block}}
@media(prefers-reduced-motion:reduce){.bk-artisan-film:not(.bk-artisan-film--product) .bk-artisan-film__stick{position:relative}}
/* One displayed price, with each selected Woo variation updating it in product.js. */
.bk-live-price{display:block;white-space:normal;font-size:clamp(23px,2.1vw,30px)}
.bk-cart-area .woocommerce-variation-price{display:none!important}
/* Give product photos a full-image panel without distorting aspect ratio. */
.bk-gallery-stage img{width:100%;height:100%;object-fit:cover}
/* Keep WooCommerce payment, shipping and form fields readable in both modes. */
html[data-bk-theme="dark"] .bk-woocommerce,html[data-bk-theme="dark"] .woocommerce{color:var(--ink)}
html[data-bk-theme="dark"] .woocommerce form .form-row input.input-text,html[data-bk-theme="dark"] .woocommerce form .form-row textarea,html[data-bk-theme="dark"] .woocommerce form .form-row select,
html[data-bk-theme="dark"] .woocommerce .select2-container--default .select2-selection--single{background:#312a2d;color:#faf4ef;border-color:var(--line)}
html[data-bk-theme="dark"] .woocommerce table.shop_table,html[data-bk-theme="dark"] .woocommerce .woocommerce-checkout-review-order,html[data-bk-theme="dark"] .woocommerce-checkout-payment,html[data-bk-theme="dark"] .woocommerce table.shop_table td{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-bk-theme="dark"] .woocommerce-checkout-payment label,html[data-bk-theme="dark"] .woocommerce .woocommerce-billing-fields h3,html[data-bk-theme="dark"] .woocommerce .woocommerce-shipping-fields h3{color:var(--ink)}
html[data-bk-theme="dark"] .woocommerce-message,html[data-bk-theme="dark"] .woocommerce-info{background:#332b2e;color:var(--ink)}
html[data-bk-theme="dark"] .woocommerce a:not(.button):hover{color:var(--red)}
html[data-bk-theme="dark"] .bk-category-section .categories .cat-info strong{color:#fff}
@media(max-width:600px){.nav .icons{gap:2px}.bk-theme-toggle{width:26px;padding:0}.nav .brand .bk-logo{width:37px;height:37px}}
