/* BaoKeys v3.11: approved HTML film proportions + mobile product controls + targeted hover colors. */
/* One ordinary section, one 100%-height inner container. Video image moves; the section does not stick. */
.bk-artisan-film,.bk-artisan-film.bk-artisan-film--product{
 position:relative!important;height:640px!important;min-height:0!important;max-height:none!important;
 overflow:hidden!important;
}
.bk-artisan-film .bk-artisan-film__stick,.bk-artisan-film--product .bk-artisan-film__stick{
 position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;
 height:100%!important;min-height:0!important;max-height:none!important;width:100%!important;
 overflow:hidden!important;
}
/* Preserve viewport-tracked video movement from bk-scroll-background.js. */
.bk-artisan-film .bk-artisan-film__video{position:absolute!important;object-fit:cover!important;object-position:center!important}
/* About feature: no edge-aligned margin:0 or overflow. */
.bk-info-page .bk-about-feature,.bk-about-feature{
 box-sizing:border-box;width:calc(100% - 24px)!important;max-width:1100px!important;
 margin:42px auto 38px!important;border-radius:12px!important;overflow:hidden;
 background:var(--paper);border:1px solid var(--line);padding:18px;
}
.bk-about-feature img{border-radius:9px!important;display:block;object-fit:cover}
/* Hover belongs to clickable category cards, not the section's informational heading. */
.bk-category-section .section-head .display,.bk-category-section .section-head:hover .display,
html[data-bk-theme="dark"] .bk-category-section .section-head:hover .display{color:var(--ink)!important;transform:none!important;transition:none!important}
.bk-category-section .categories .cat:hover .cat-info strong,
.bk-category-section .categories .cat:focus-visible .cat-info strong,
html[data-bk-theme="dark"] .bk-category-section .categories .cat:hover .cat-info strong,
html[data-bk-theme="dark"] .bk-category-section .categories .cat:focus-visible .cat-info strong{
 color:#B8001F!important;background:#fff9f0ed;border-radius:5px;
 box-decoration-break:clone;padding:2px 6px;margin:-2px -6px;
}
.bk-category-section .categories .cat:hover .cat-info small,
.bk-category-section .categories .cat:focus-visible .cat-info small{color:white!important}
/* WooCommerce PayPal Payments injects a real smart button into the purchase form.
   Support both current wrappers and legacy wrappers without affecting provider iframe styling. */
.bk-cart-area form.cart{max-width:100%!important;min-width:0!important}
.bk-cart-area form.cart:not(.variations_form),.bk-cart-area .woocommerce-variation-add-to-cart{
 display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center;
}
.bk-cart-area form.cart:not(.variations_form)>:is(.ppc-button-wrapper,#ppc-button-ppcp-gateway,.woocommerce-paypal-payments-button),
.bk-cart-area .woocommerce-variation-add-to-cart>:is(.ppc-button-wrapper,#ppc-button-ppcp-gateway,.woocommerce-paypal-payments-button){
 flex:1 1 175px!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;align-self:center!important;
}
.bk-cart-area .ppc-button-wrapper,.bk-cart-area #ppc-button-ppcp-gateway{visibility:visible;opacity:1;max-width:100%}
.bk-cart-area .ppc-button-wrapper iframe,.bk-cart-area #ppc-button-ppcp-gateway iframe{width:100%;max-width:100%;border:0}
/* Mobile: force two-column desktop grid to one stack, even with active WooCommerce CSS. */
@media(max-width:900px){
 main.bk-single-product,.bk-single-product .wrap.bk-product-main{width:100%!important;max-width:100%!important}
 .bk-single-product .bk-product-main,.bk-single-product .wrap.bk-product-main{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;
  gap:22px!important;align-items:start!important;
 }
 .bk-single-product .bk-product-gallery,.bk-single-product .bk-product-info{
  grid-column:1/-1!important;min-width:0!important;max-width:100%!important;width:100%!important;
 }
 .bk-single-product .bk-main-image,.bk-single-product .bk-gallery-stage,.bk-single-product .bk-gallery{
  width:100%!important;max-width:100%!important;min-width:0!important;
 }
 .bk-single-product .bk-product-info h1{overflow-wrap:anywhere;word-break:normal}
 .bk-single-product .bk-original-description,.bk-single-product .bk-short-description{min-width:0;overflow-wrap:anywhere}
 .bk-about-feature{grid-template-columns:1fr!important}
}
@media(max-width:600px){
 .bk-artisan-film,.bk-artisan-film.bk-artisan-film--product{height:610px!important}
 .bk-single-product .wrap.bk-product-main{padding-left:5%!important;padding-right:5%!important;padding-top:22px!important}
 .bk-single-product .bk-product-info h1{font-size:clamp(27px,8vw,37px)!important;line-height:1.17!important}
 .bk-single-product .bk-gallery-stage,.bk-single-product .bk-main-image{aspect-ratio:1/1!important;height:auto!important}
 .bk-single-product .bk-gallery-stage .bk-gallery-open{position:absolute!important;inset:0!important}
 .bk-single-product .bk-gallery-thumbnails{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;gap:9px!important}
 .bk-single-product .bk-gallery-thumbnails .bk-gallery-thumb{flex:0 0 68px!important;min-width:0!important;height:68px!important;width:68px!important}
 .bk-single-product .bk-similar{max-width:100%!important;min-width:0!important}
 .bk-single-product .bk-similar-track{display:flex!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important}
 .bk-cart-area .quantity.bk-qty-enhanced{flex:0 0 125px!important}
 .bk-cart-area .woocommerce-variation-add-to-cart .single_add_to_cart_button,
 .bk-cart-area form.cart:not(.variations_form) .single_add_to_cart_button{flex:1 1 calc(100% - 140px)!important;min-width:120px!important}
 .bk-cart-area :is(.ppc-button-wrapper,#ppc-button-ppcp-gateway){flex:1 1 100%!important;width:100%!important}
 .bk-original-description img,.bk-description-pane img{max-width:100%!important;height:auto!important}
 .bk-about-feature{padding:12px!important;margin:25px auto 32px!important;width:calc(100% - 16px)!important;max-width:100%!important;border-radius:10px!important}
 .bk-about-feature img{width:100%;height:auto;max-height:280px}
}
