/* Shared storefront product geometry; site colours and catalogue data remain local. */
@layer approved-pill-controls {
 body #main .category-page-row .products[data-kh-product-feed]{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:25px 15px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
 body #main .category-page-row .products[data-kh-product-feed]>.product-small.col{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
 body #main .products[data-kh-product-feed] .name.product-title{font-family:CPLInter,Arial,sans-serif!important;font-size:13px!important;font-weight:400!important;line-height:1.55!important;letter-spacing:0!important}
 body #main .products[data-kh-product-feed] .price{font-family:CPLInter,Arial,sans-serif!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important}
 body #main.kh-cpl-detail .product-main{padding:30px 0}
 body #main.kh-cpl-detail .content-row{box-sizing:border-box;width:calc(100% - 88px)!important;max-width:1800px!important;gap:0!important;margin:0 auto!important;padding:0!important}
 body #main.kh-cpl-detail .product_meta .sku_wrapper,body #main.kh-cpl-detail .product_meta .posted_in{display:block!important;margin:4px 0 0!important;font-size:12px!important;line-height:1.5!important}
 body #main.kh-cpl-detail .product-summary .product-title{font-size:33px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:-.02em!important}
 body #main.kh-cpl-detail .product-summary form.cart [data-kh-action],body #main.kh-cpl-detail .product-summary .div_evowap_btn .evowap_btn{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;height:44px!important;min-height:44px!important;font-size:.97em!important;line-height:2.4!important;font-weight:400!important;text-transform:none!important}
 body #main.kh-cpl-detail .product-summary form.cart [data-kh-action=buy],body #main.kh-cpl-detail .product-summary .div_evowap_btn .evowap_btn{width:100%!important}
 @media(min-width:850px){
  body #main.kh-cpl-detail .kh-detail-top{display:flex!important;flex-wrap:nowrap!important;gap:60px!important;margin:0!important;width:100%!important;max-width:none!important}
  body #main.kh-cpl-detail .kh-detail-top>.product-gallery{flex:0 0 calc((100% - 60px)*.564)!important;width:calc((100% - 60px)*.564)!important;max-width:none!important;min-width:0;padding:0!important}
  body #main.kh-cpl-detail .kh-detail-top>.product-summary{flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0;padding:5px 0 0!important}
  body #main.kh-cpl-detail .product-gallery-default:has(.kh-detail-thumbnails){display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:start}
  body #main.kh-cpl-detail .product-gallery-default>.kh-detail-thumbnails{display:flex;flex-direction:column;gap:14px;overflow-y:auto;max-height:min(620px,75vh);margin:0}
  body #main.kh-cpl-detail .kh-recent-products-mobile{max-width:1800px!important}
 }
 @media(min-width:850px) and (max-width:1100px){
  body #main .category-page-row .products[data-kh-product-feed]{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body #main.kh-cpl-detail .content-row{width:calc(100% - 48px)!important}
  body #main.kh-cpl-detail .kh-detail-top{gap:35px!important}
  body #main.kh-cpl-detail .kh-detail-top>.product-gallery{flex-basis:calc((100% - 35px)*.564)!important;width:calc((100% - 35px)*.564)!important}
  body #main.kh-cpl-detail .product-gallery-default:has(.kh-detail-thumbnails){grid-template-columns:76px minmax(0,1fr)}
  body #main.kh-cpl-detail .product-summary .product-title{font-size:30px!important}
 }
 @media(max-width:849px){
  body #main .category-page-row .products[data-kh-product-feed]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body #main.kh-cpl-detail .product-main{padding-top:18px}
  body #main.kh-cpl-detail .content-row{display:block!important;width:100%!important}
  body #main.kh-cpl-detail .content-row>.kh-detail-content{width:100%!important;max-width:100%!important;padding:0 18px 30px!important}
  body #main.kh-cpl-detail .kh-detail-top{display:block!important}
  body #main.kh-cpl-detail .kh-detail-top>.product-gallery,body #main.kh-cpl-detail .kh-detail-top>.product-summary{width:100%!important;max-width:100%!important;flex:none!important;padding:0!important}
  body #main.kh-cpl-detail .product-gallery-default:has(.kh-detail-thumbnails){display:block}
  body #main.kh-cpl-detail .product-gallery-default>.kh-detail-thumbnails{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;gap:8px;overflow-x:auto;max-height:none;margin-top:12px;padding-bottom:8px;scrollbar-width:thin}
  body #main.kh-cpl-detail .product-gallery-default>.kh-detail-thumbnails>a{flex:0 0 70px;width:70px!important;min-width:70px}
  body #main.kh-cpl-detail .product-summary .product-title{font-size:28px!important}
  body #main.kh-cpl-detail .product-footer{margin-top:15px!important}
 }
}
