/* Restore FlexSlider geometry only for the category module's product carousel. */
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .flexslider .slides {
 display:block!important; gap:0!important; grid-template-columns:none!important;
}
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .flexslider .slides > .productData.flex-col {
 float:left!important; width:var(--phn81-slide-width, 200px)!important;
 max-width:none!important; min-width:0; box-sizing:border-box;
}
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .productData .product-box {
 position:relative!important; width:100%!important;
}

/* Patch 82: spacing stays inside each calculated slide width. */
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .flexslider .slides > .productData.flex-col {
 padding:0 10px!important; margin:0!important;
}
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .productData .product-title {
 white-space:normal!important; overflow-wrap:anywhere; word-break:normal;
 height:auto!important; min-height:4.5em!important; max-width:100%;
 line-height:1.5!important; margin-bottom:10px!important;
}
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .productData .titleProduct {
 display:block; white-space:normal!important; overflow-wrap:anywhere;
}
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .productData .product-box-actions {
 display:flex!important; flex-wrap:wrap; gap:8px; padding-bottom:12px;
}
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .product-box-actions .btn-primary {
 background:#264d35!important; border-color:#264d35!important; color:#fff!important;
}
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .product-box-actions .btn-primary:hover,
body.phn-theme #boxwrapper_customCategoryTemplateTopItems .product-box-actions .btn-primary:focus {
 background:#163b26!important; border-color:#163b26!important;
}
body.phn-theme #boxwrapper_customCategoryTemplateTopItems { padding-bottom:24px; }
@media(max-width:767px) {
 body.phn-theme #boxwrapper_customCategoryTemplateTopItems .flexslider .slides > .productData.flex-col { padding:0 7px!important; }
}
