/* Prego Industries - WooCommerce: shop + product pages */
.prego-woo-wrap{color:var(--ink,#002455)}
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:#002455a8;margin:0 0 18px;padding:0}
.woocommerce .woocommerce-breadcrumb a{color:#002455;text-decoration:none}
.woocommerce .woocommerce-breadcrumb a:hover{color:#fc312f}

/* Buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button,.prego-quote-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fc312f;color:#fff;border-radius:4px;font-weight:600;font-size:14.5px;padding:12px 22px;border:0;line-height:1.2;transition:.25s;text-decoration:none;cursor:pointer}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.prego-quote-btn:hover{background:#d92624;color:#fff;transform:translateY(-1px)}
.woocommerce a.button.prego-wa-btn{background:#25d366}
.woocommerce a.button.prego-wa-btn:hover{background:#1ebe5b}

/* ===== Shop hero ===== */
.prego-shop-hero{background:linear-gradient(135deg,#002455,#00346f);color:#fff;padding:26px 0 24px;border-bottom:4px solid #fc312f}
.prego-shop-hero .woocommerce-breadcrumb,.prego-shop-hero .woocommerce-breadcrumb a{color:#ffffffbf}
.prego-shop-hero .woocommerce-breadcrumb a:hover{color:#fff}
.prego-shop-hero .woocommerce-breadcrumb{margin-bottom:10px}
.prego-shop-hero h1{margin:0 0 6px;font-size:clamp(26px,3.2vw,36px);line-height:1.15;color:#fff}
.prego-shop-hero p{margin:0;max-width:760px;color:#ffffffd0;font-size:15px;line-height:1.6}

/* ===== Shop layout ===== */
.prego-shop-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:34px;padding-top:36px;padding-bottom:60px}
.prego-shop-main{min-width:0}
.prego-shop-side{display:flex;flex-direction:column;gap:20px;align-self:start;position:sticky;top:130px;min-width:0;max-height:calc(100vh - 150px);overflow-y:auto;padding-right:2px}
.prego-side-box{background:#fff;border:1px solid #0024551f;border-radius:6px;padding:20px}
.prego-side-box h3{margin:0 0 14px;font-size:16px;padding-bottom:9px;position:relative;color:#002455}
.prego-side-box h3:after{content:"";position:absolute;left:0;bottom:0;width:30px;height:3px;border-radius:2px;background:#fc312f}
.prego-cat-list,.prego-cat-list ul{list-style:none;margin:0;padding:0}
.prego-cat-list li{font-size:14.5px}
.prego-cat-list>li>a{font-weight:600}
.prego-cat-list a{display:inline-block;padding:7px 0;color:#002455;text-decoration:none;transition:.2s}
.prego-cat-list a:hover,.prego-cat-list .current-cat>a,.prego-cat-list .current-cat-parent>a{color:#fc312f}
.prego-cat-list .children{display:none;padding:0 0 6px 14px;border-left:2px solid #00245514;margin-left:2px}
.prego-cat-list .children a{font-weight:400;font-size:14px;padding:5px 0}
.prego-cat-list li{color:#002455a0}
.prego-side-cta{background:#002455;border-color:#002455;color:#fff}
.prego-side-cta h3{color:#fff}
.prego-side-cta p{font-size:14px;opacity:.85;margin:0 0 14px;line-height:1.55}

/* Toolbar */
.prego-shop-main .woocommerce-notices-wrapper{margin-bottom:10px}
.woocommerce .woocommerce-result-count{float:none;margin:0 0 18px;font-size:14px;color:#002455b0;display:inline-block;line-height:42px}
.woocommerce .woocommerce-ordering{float:none;margin:0 0 18px;display:inline-block;float:right}
.woocommerce .woocommerce-ordering select{border:1px solid #0024553b;border-radius:4px;padding:10px 14px;font-size:14px;color:#002455;background:#fff;min-width:200px}
.prego-shop-main:after{content:"";display:block;clear:both}

/* Product grid + cards */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin:0 0 30px;padding:0;list-style:none;clear:both}
.prego-shop-main ul.products{grid-template-columns:repeat(3,1fr)}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:#fff;border-radius:6px;box-shadow:0 8px 24px rgba(0,36,85,.09);overflow:hidden;display:flex;flex-direction:column;padding:0 0 16px;transition:transform .3s,box-shadow .3s;border-bottom:3px solid #fc312f;position:relative}
.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(0,36,85,.16)}
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link,.woocommerce ul.products li.product>a.woocommerce-loop-product__link,.woocommerce ul.products li.product>a.woocommerce-loop-category__link{display:block;text-decoration:none;color:inherit}
.woocommerce ul.products li.product a:hover{text-decoration:none}
.woocommerce ul.products li.product a img{margin:0 0 6px;aspect-ratio:1/1;object-fit:contain;padding:14px;background:#fff;width:100%;display:block;transition:transform .5s}
.woocommerce ul.products li.product:hover a img{transform:scale(1.04)}
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{overflow:hidden}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15.5px;line-height:1.4;padding:0 16px;margin:0 0 12px;color:#002455;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title{color:#fc312f}
.woocommerce ul.products li.product .price{padding:0 16px;color:#fc312f;font-weight:700;margin-bottom:10px}
.woocommerce ul.products li.product.product-category{padding:0;text-align:center}
.woocommerce ul.products li.product-category a img{margin:0;aspect-ratio:4/3}
.woocommerce ul.products li.product-category h2{padding:14px 12px 4px;font-size:16px;color:#002455}
.woocommerce ul.products li.product-category .count{background:none;color:#002455a0;font-size:13px}

/* Pagination */
.woocommerce nav.woocommerce-pagination{margin-top:10px}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #0024552e;border-radius:4px;color:#002455;font-weight:500;padding:0;background:#fff}
.woocommerce nav.woocommerce-pagination ul li a:hover,.woocommerce nav.woocommerce-pagination ul li span.current{background:#fc312f;border-color:#fc312f;color:#fff}

/* Empty / notices */
.woocommerce-info,.woocommerce-message,.woocommerce-error{border-top-color:#fc312f;background:#f5f7fb;color:#002455;border-radius:4px}
.woocommerce-info:before,.woocommerce-message:before{color:#fc312f}

/* ===== Single product ===== */
.prego-single{padding:30px 0 60px}
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:44px;align-items:start}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}
.woocommerce div.product div.images{position:relative}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border:1px solid #0024551a;border-radius:8px;overflow:hidden;background:#fff}
.woocommerce div.product div.images img{border-radius:0;display:block;width:100%;height:auto}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:12px 0 0;padding:0;list-style:none}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto;float:none;margin:0}
.woocommerce div.product div.images .flex-control-thumbs img{border:2px solid transparent;border-radius:6px;opacity:.7;cursor:pointer;transition:.2s;aspect-ratio:1/1;object-fit:cover}
.woocommerce div.product div.images .flex-control-thumbs img:hover,.woocommerce div.product div.images .flex-control-thumbs img.flex-active{opacity:1;border-color:#fc312f}
.woocommerce span.onsale{background:#fc312f;border-radius:20px;min-height:0;min-width:0;line-height:1;padding:8px 14px}
.woocommerce div.product .product_title{font-size:clamp(24px,2.8vw,34px);line-height:1.25;margin:0 0 8px;color:#002455}
.prego-subtitle{margin:0 0 16px;font-size:14.5px;color:#fc312f;font-weight:500;line-height:1.5}
.woocommerce div.product .woocommerce-product-details__short-description{font-size:15.5px;line-height:1.75;color:#002455d9;margin-bottom:20px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:#fc312f;font-size:24px;font-weight:700}
.prego-quote-box{background:#f5f7fb;border:1px solid #0024551a;border-left:4px solid #fc312f;border-radius:6px;padding:20px;margin:22px 0 16px;display:flex;flex-direction:column;gap:6px}
.prego-quote-box strong{font-size:17px;color:#002455}
.prego-quote-box>span{font-size:14px;color:#002455b8;line-height:1.55}
.prego-quote-box__btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.prego-custom-list{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.prego-custom-list li{display:inline-flex;align-items:center;gap:7px;border:1px solid #0024551f;border-radius:30px;padding:7px 14px;font-size:13px;color:#002455;background:#fff}
.prego-custom-list li i{color:#fc312f}
.woocommerce div.product .product_meta{border-top:1px solid #0024551a;padding-top:16px;font-size:13.5px;color:#002455b0;display:grid;gap:6px}
.woocommerce div.product .product_meta>span{display:block}
.woocommerce div.product .product_meta a{color:#002455;text-decoration:none;font-weight:500}
.woocommerce div.product .product_meta a:hover{color:#fc312f}

/* Tabs */
.woocommerce div.product .woocommerce-tabs{margin-top:20px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 -1px;display:flex;gap:6px;flex-wrap:wrap;border:0}
.woocommerce div.product .woocommerce-tabs ul.tabs:before,.woocommerce div.product .woocommerce-tabs ul.tabs:after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#f5f7fb;border:1px solid #0024551a;border-bottom:0;border-radius:6px 6px 0 0;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:13px 24px;color:#002455;font-weight:600;font-size:15px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff;border-top:3px solid #fc312f}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fc312f}
.woocommerce div.product .woocommerce-tabs .panel{border:1px solid #0024551a;border-radius:0 6px 6px 6px;padding:28px;margin:0;line-height:1.8;font-size:15.5px;color:#002455d9;background:#fff}
.woocommerce table.shop_attributes{border:0;width:100%;margin:0}
.woocommerce table.shop_attributes tr:nth-child(even) th,.woocommerce table.shop_attributes tr:nth-child(even) td{background:#f5f7fb}
.woocommerce table.shop_attributes th{width:30%;color:#002455;font-weight:600;padding:12px 16px;border:0;border-bottom:1px solid #0024550f;background:#fff;font-style:normal}
.woocommerce table.shop_attributes td{padding:12px 16px;border:0;border-bottom:1px solid #0024550f;font-style:normal;background:#fff}
.woocommerce table.shop_attributes td p{margin:0;padding:0}

/* Related */
.woocommerce div.product .related>h2,.woocommerce div.product .upsells>h2{font-size:26px;margin:34px 0 20px;color:#002455;position:relative;padding-bottom:12px}
.woocommerce div.product .related>h2:after,.woocommerce div.product .upsells>h2:after{content:"";position:absolute;left:0;bottom:0;width:46px;height:3px;background:#fc312f;border-radius:2px}

/* Mobile sticky quote bar */
.prego-sticky-quote{display:none}

/* ===== Responsive ===== */
@media(max-width:1180px){
 .woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
 .prego-shop-main ul.products{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:991px){
 .prego-shop-layout{grid-template-columns:minmax(0,1fr)}
 .prego-shop-side{position:static;display:grid;grid-template-columns:repeat(2,1fr)}
 .woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:26px}
 .woocommerce div.product div.summary{position:static}
}
@media(max-width:700px){
 .woocommerce ul.products,.prego-shop-main ul.products{grid-template-columns:repeat(2,1fr);gap:12px}
 .prego-shop-side{grid-template-columns:1fr}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 12px}
 .woocommerce .woocommerce-ordering{float:none;display:block}
 .woocommerce .woocommerce-ordering select{width:100%}
 .woocommerce div.product .woocommerce-tabs .panel{padding:18px}
 .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:11px 14px;font-size:14px}
 .prego-sticky-quote{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9970;background:#fff;box-shadow:0 -6px 20px rgba(0,36,85,.18);padding:10px 14px;gap:12px;align-items:center;justify-content:space-between}
 .prego-sticky-quote span{font-size:13.5px;font-weight:600;color:#002455;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
 .prego-sticky-quote a{background:#fc312f;color:#fff;text-decoration:none;font-weight:600;font-size:14px;padding:11px 18px;border-radius:4px;white-space:nowrap}
 body.single-product{padding-bottom:64px}
}
@media(max-width:420px){.woocommerce ul.products,.prego-shop-main ul.products{gap:10px}}

/* ===== B2B additions: hero buttons, ordering strip, chips, quote list buttons ===== */
.prego-shop-hero__btns{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}
.prego-hero-btn{display:inline-flex;align-items:center;gap:9px;padding:12px 24px;border-radius:30px;font-weight:600;font-size:15px;text-decoration:none;transition:.25s}
.prego-hero-btn--red{background:#fc312f;color:#fff}.prego-hero-btn--red:hover{background:#d92624;color:#fff;transform:translateY(-2px)}

.prego-b2b-strip{display:flex;align-items:center;gap:26px;flex-wrap:wrap;background:#f5f7fb;border:1px solid #0024551a;border-left:4px solid #fc312f;border-radius:8px;padding:18px 22px;margin:0 0 22px}
.prego-b2b-strip__title{display:flex;flex-direction:column;gap:2px;min-width:200px}
.prego-b2b-strip__title strong{font-size:16px;color:#002455}
.prego-b2b-strip__title span{font-size:13px;color:#002455a8}
.prego-b2b-strip ol{list-style:none;margin:0;padding:0;display:flex;gap:22px;flex-wrap:wrap;flex:1}
.prego-b2b-strip li{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#002455;line-height:1.4;flex:1;min-width:190px}
.prego-b2b-strip li b{width:28px;height:28px;border-radius:50%;background:#fc312f;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;flex:none}

.prego-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.prego-chips a{padding:8px 16px;border:1px solid #0024552e;border-radius:30px;font-size:13.5px;color:#002455;text-decoration:none;background:#fff;transition:.2s;white-space:nowrap}
.prego-chips a:hover{border-color:#fc312f;color:#fc312f}
.prego-chips a.is-on{background:#002455;border-color:#002455;color:#fff}
.prego-chips--sub a{font-size:13px;padding:6px 13px;background:#f5f7fb}
.prego-chips--sub a.is-on{background:#fc312f;border-color:#fc312f}

/* made to order label (replaces price) */

/* add to quote list: round button on cards, outline button on product page */
.prego-ql-add{cursor:pointer;font:inherit;transition:.25s}
.prego-ql-add--card{position:absolute;top:10px;right:10px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:#002455;box-shadow:0 4px 14px rgba(0,36,85,.25);display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden}
.prego-ql-add--card .prego-ql-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.prego-ql-add--card:hover{background:#fc312f;color:#fff;transform:scale(1.08)}
.prego-ql-add--card.is-added{background:#1a8f4d;color:#fff}
.woocommerce a.button.prego-quote-btn,.prego-ql-add--single{min-height:46px}
.prego-ql-add--single{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:#002455;border:2px solid #002455;border-radius:4px;padding:10px 20px;font-weight:600;font-size:14.5px}
.prego-ql-add--single:hover{background:#002455;color:#fff}
.prego-ql-add--single.is-added{background:#1a8f4d;border-color:#1a8f4d;color:#fff}

.prego-mini-steps{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px}
.prego-mini-steps li{display:flex;align-items:center;gap:10px;font-size:14px;color:#002455}
.prego-mini-steps b{width:24px;height:24px;border-radius:50%;background:#002455;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex:none}

.prego-bottom-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#002455;color:#fff;border-radius:10px;padding:26px 30px;margin-top:34px}
.prego-bottom-cta h3{margin:0 0 6px;color:#fff;font-size:22px}
.prego-bottom-cta p{margin:0;color:#ffffffc4;font-size:14.5px;max-width:560px;line-height:1.55}

@media(max-width:700px){
 .prego-b2b-strip{padding:16px}
 .prego-b2b-strip ol{gap:12px}
 .prego-b2b-strip li{min-width:100%}
 .prego-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}
 .prego-chips--sub{margin-top:-4px}
 .prego-bottom-cta{padding:22px 18px;text-align:center;justify-content:center}
}

/* ===== Product card (v3.7) ===== */
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{position:relative;background:#fff}
.prego-badge{position:absolute;top:12px;left:12px;z-index:2;display:inline-flex;align-items:center;gap:6px;background:#002455;color:#fff;font-size:11.5px;font-weight:600;letter-spacing:.3px;padding:5px 11px;border-radius:20px}
.prego-badge i{color:#ff8a89;font-size:10.5px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{margin:14px 0 6px;font-size:16px;min-height:2.8em}
.prego-card-cat{margin:0;padding:0 16px;font-size:13.5px;color:#002455a3;line-height:1.4}
.prego-card-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px 0;margin-top:2px}
.prego-sku{font-size:12px;color:#002455a0;letter-spacing:.2px}
.prego-stars{display:inline-flex;gap:2px;color:#f5a000;font-size:11.5px;white-space:nowrap}
.prego-stars .fa-regular{color:#00245538}
.prego-card-actions{display:flex;gap:8px;padding:14px 16px 0;margin-top:auto}
.woocommerce ul.products li.product .prego-card-actions .button{flex:1;min-width:0;padding:11px 8px;font-size:13.5px;border-radius:6px;margin:0;width:auto}
.woocommerce ul.products li.product .prego-card-actions .prego-chat-btn{flex:0 0 auto;background:#002455;color:#fff;padding:11px 16px}
.woocommerce ul.products li.product .prego-card-actions .prego-chat-btn:hover{background:#00346f}
.woocommerce ul.products li.product .prego-card-actions .prego-quote-btn{background:#fff;color:#fc312f;border:1.5px solid #fc312f}
.woocommerce ul.products li.product .prego-card-actions .prego-quote-btn:hover{background:#fc312f;color:#fff}
.woocommerce ul.products li.product{padding-bottom:16px}
@media(max-width:700px){
 .prego-card-cat,.prego-card-row{padding-left:12px;padding-right:12px}
 .prego-card-actions{padding:12px 12px 0;gap:6px}
 .woocommerce ul.products li.product .prego-card-actions .button{padding:10px 6px;font-size:12.5px}
 .woocommerce ul.products li.product .prego-card-actions .prego-chat-btn{padding:10px 11px}
 .prego-card-actions .prego-chat-btn{font-size:0!important}
 .prego-card-actions .prego-chat-btn i{font-size:16px}
 .prego-badge{top:8px;left:8px;font-size:10.5px;padding:4px 9px}
 .prego-sku{font-size:11px}
}

/* Buttons: higher specificity so WooCommerce's own button colors never win */
.woocommerce a.button.prego-quote-btn,.woocommerce .button.prego-quote-btn{background:#fc312f;color:#fff}
.woocommerce a.button.prego-quote-btn:hover{background:#d92624;color:#fff}
.woocommerce a.button.prego-wa-btn{background:#25d366;color:#fff}
.woocommerce a.button.prego-wa-btn:hover{background:#1ebe5b;color:#fff}
.woocommerce a.button.prego-chat-btn{background:#002455;color:#fff}
.woocommerce ul.products li.product .prego-card-actions a.button.prego-quote-btn{background:#fff;color:#fc312f;border:1.5px solid #fc312f}
.woocommerce ul.products li.product .prego-card-actions a.button.prego-quote-btn:hover{background:#fc312f;color:#fff}
.prego-quote-box__btns .button{min-height:46px}

/* Tablet and phone: category chips replace the sidebar, so products come first */
@media(max-width:991px){
 .prego-shop-side{display:none}
 .prego-shop-layout{padding-top:22px}
}

/* ===== v3.8 fixes from live screenshots ===== */
/* Sidebar: only the open category shows its sub-categories */
.prego-cat-list li.current-cat>.children,.prego-cat-list li.current-cat-parent>.children,.prego-cat-list li.current-cat-ancestor>.children,.prego-cat-list li:hover>.children,.prego-cat-list li:focus-within>.children{display:block}
.prego-cat-list>li.cat-parent>a:after{content:"\f107";font-family:"Font Awesome 6 Free";font-weight:900;font-size:11px;margin-left:8px;opacity:.45}
.prego-cat-list>li{border-bottom:1px solid #00245510}
.prego-cat-list>li:last-child{border-bottom:0}
/* Top-level category chips are for tablet/phone only; the sidebar covers desktop */
@media(min-width:992px){.prego-chips--top{display:none}}

/* Product card layout: equal height, buttons pinned to the bottom, centered labels */
.woocommerce ul.products li.product{display:flex;flex-direction:column}
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{flex:1 1 auto;display:flex;flex-direction:column}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:0;margin:10px 0 6px}
.woocommerce ul.products li.product .prego-card-actions{margin-top:auto;padding-top:14px}
.woocommerce ul.products li.product .prego-card-actions a.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-align:center;line-height:1.2}
.prego-badge{background:#fff;color:#002455;box-shadow:0 2px 10px rgba(0,36,85,.28)}
.prego-badge i{color:#fc312f}
.woocommerce ul.products li.product a img{padding:10px}
.prego-summary-rating{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:13px;color:#002455a8}
.prego-summary-rating .prego-stars{font-size:13px}
.woocommerce div.product .woocommerce-tabs{margin-top:34px}

/* Gallery slider must never be wider than its column (WooCommerce's slider sets very wide inner tracks) */
.woocommerce div.product div.images,.woocommerce div.product div.summary{min-width:0;max-width:100%}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,.woocommerce div.product div.images .flex-viewport{max-width:100%}
.woocommerce div.product div.images .flex-viewport{overflow:hidden}

.prego-card-row{flex-wrap:wrap;row-gap:4px}
@media(max-width:700px){.prego-sku{word-break:break-all}}

/* Phone: keep the ordering explainer short so products come first */
@media(max-width:700px){.prego-b2b-strip ol{display:none}.prego-b2b-strip{padding:12px 16px;margin-bottom:14px}}
