/* ManPromo 2026-11: unified premium storefront refinement.
   Load after tw-shop.css and tw-full-theme.css. Payment and product handlers are untouched. */
:root {
 --tw-navy:#17334f; --tw-blue:#204f77; --tw-sky:#f1f5f8;
 --tw-accent:#ed8536; --tw-accent-deep:#d97629;
 --tw-ink:#243a50; --tw-sub:#687f91; --tw-bg:#f7f9fb;
 --tw-stroke:#e3eaf0; --tw-shadow:0 8px 26px rgba(19,48,75,.055);
 --tw-deep:#17334f; --tw-orange:#ed8536; --tw-line:#e3eaf0;
}
body.tw-storefront.tw-layout-refined{background:#f7f9fb;color:#243a50;line-height:1.65;}
body.tw-storefront.tw-layout-refined h1,
body.tw-storefront.tw-layout-refined h2,
body.tw-storefront.tw-layout-refined h3{color:#17334f}
body.tw-storefront.tw-layout-refined .tw-site-header{background:#fff;box-shadow:0 3px 15px rgba(21,53,80,.035);border-bottom:1px solid #edf1f4}
body.tw-storefront.tw-layout-refined #menu.navbar{box-shadow:none}
body.tw-storefront.tw-layout-refined .tw-homepage{padding-top:14px}
body.tw-storefront.tw-layout-refined .widget-title{font-size:21px;line-height:1.4;font-weight:800;letter-spacing:0;padding-bottom:10px;margin:25px 0 16px;border-color:#dde6ed}
body.tw-storefront.tw-layout-refined .widget-title span:after{bottom:-11px;height:2px;width:44px;background:#e98945}
/* Slideshow imagery remains editable in Admin; give it a restrained frame. */
body.tw-storefront.tw-layout-refined .swiper-viewport,
body.tw-storefront.tw-layout-refined .module-slideshow{border-radius:17px;border:1px solid #e8edf1;box-shadow:0 9px 26px rgba(25,49,68,.07);overflow:hidden}
body.tw-storefront.tw-layout-refined .tw-home-features{gap:9px;margin-bottom:24px}
body.tw-storefront.tw-layout-refined .tw-home-features>div{padding:12px 13px;border-radius:12px;box-shadow:none}
body.tw-storefront.tw-layout-refined .tw-feature-icon{height:37px;width:37px;flex-basis:37px}
/* Consistent, compact catalog modules. Existing product IDs, links and buy handlers are unchanged. */
body.tw-storefront.tw-layout-refined .product-wrapper{display:flex;flex-wrap:wrap;align-items:stretch}
body.tw-storefront.tw-layout-refined .product-wrapper>.product-layout{display:flex;min-width:0;float:none;margin-bottom:18px}
body.tw-storefront.tw-layout-refined .product-wrapper>.product-layout>.tw-product-card{width:100%}
body.tw-storefront.tw-layout-refined .product-thumb.tw-product-card{height:100%;min-height:0;margin-bottom:0!important;border:1px solid #e0e8ee;border-radius:15px;box-shadow:0 5px 20px rgba(21,48,72,.045);transform:none;overflow:hidden;background:#fff}
body.tw-storefront.tw-layout-refined .product-thumb.tw-product-card:hover{transform:none;border-color:#c8d9e6;box-shadow:0 10px 25px rgba(21,48,72,.085)}
body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-image{height:210px;min-height:210px;padding:15px;background:#fff;border-radius:0;border-bottom:1px solid #f0f3f6;overflow:hidden}
body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-image>a{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-image img{max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain}
body.tw-storefront.tw-layout-refined .tw-product-card:hover .tw-product-image img{transform:none}
body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-image .button-group{opacity:1;transform:none;top:9px;right:9px;gap:5px}
body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-image .button-group button{width:31px;height:31px;box-shadow:0 3px 9px rgba(22,50,74,.09);color:#52718a}
body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-caption{padding:14px 14px 15px;display:flex;flex-direction:column;gap:0;flex:1}
body.tw-storefront.tw-layout-refined .tw-product-card .product-name{margin:0 0 8px;min-height:45px;height:auto;font-size:15px;font-weight:750;line-height:1.47;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.tw-storefront.tw-layout-refined .tw-product-card .product-name a{color:#29445e;text-decoration:none}
body.tw-storefront.tw-layout-refined .tw-product-card .product-description{display:none!important}
body.tw-storefront.tw-layout-refined .tw-product-card .rating{height:18px;min-height:0;margin:0 0 7px}
body.tw-storefront.tw-layout-refined .tw-product-card .price{margin:8px 0 10px!important;padding-top:0!important;font-size:21px;font-weight:850;line-height:1.25;color:#da7628}
body.tw-storefront.tw-layout-refined .tw-product-card .price-new{color:#da7628}
body.tw-storefront.tw-layout-refined .tw-card-actions{margin-top:0;gap:7px}
body.tw-storefront.tw-layout-refined .tw-action{border-radius:9px;height:42px;font-size:12px;font-weight:800;padding:0 6px;line-height:1.3;box-shadow:none;transform:none}
body.tw-storefront.tw-layout-refined .tw-action-cart{color:#204f77;background:#f3f7fa;border:1px solid #cddce8}
body.tw-storefront.tw-layout-refined .tw-action-buy{background:#ed8536;color:#fff!important;border:1px solid #e68131;box-shadow:none}
body.tw-storefront.tw-layout-refined .tw-action-buy:hover{background:#d97629;color:#fff!important}
body.tw-storefront.tw-layout-refined .tw-product-card .tw-special-tag{padding:5px 8px;border-radius:6px;font-size:10px;background:#fff8ed;border:1px solid #f5d9b5;color:#ad6028}
/* Navigation and typography */
body.tw-storefront.tw-layout-refined .breadcrumb{font-size:12px;padding-top:14px;padding-bottom:13px}
body.tw-storefront.tw-layout-refined .tw-page-intro h1{font-size:28px}
body.tw-storefront.tw-layout-refined .tw-product-main-row{box-shadow:0 6px 22px rgba(19,48,75,.05)}
body.tw-storefront.tw-layout-refined #product-product .tw-detail-actions .tw-detail-buy{background:#ed8536;border-color:#e68131;box-shadow:none}
body.tw-storefront.tw-layout-refined #product-product .tw-detail-actions .tw-detail-cart{background:#f4f7fa;color:#204f77;border-color:#cbdbe7}
body.tw-storefront.tw-layout-refined .form-control:focus{border-color:#7cabc6;box-shadow:0 0 0 3px rgba(43,102,147,.11)}
body.tw-storefront.tw-layout-refined .btn-primary{background:#ed8536;border-color:#e68131;box-shadow:none}
body.tw-storefront.tw-layout-refined .btn-default{background:#f6f9fb;color:#204f77;border-color:#d4e1ea;box-shadow:none}
body.tw-storefront.tw-layout-refined .tw-site-footer{background:#f8fafb;border-top:1px solid #e3eaf0;margin-top:16px}
body.tw-storefront.tw-layout-refined .tw-footer-content.tw-footer-compact{padding-top:21px;padding-bottom:18px}
body.tw-storefront.tw-layout-refined .tw-footer-bottom{background:#f3f6f8;border-color:#e5eaee}
/* iOS keeps native zoom available, inputs >= 16px avoid focus auto-zoom. */
@media(min-width:992px){
 body.tw-storefront.tw-layout-refined #menu.navbar{background:#173f61}
 body.tw-storefront.tw-layout-refined #menu .nav.navbar-nav>li>a{font-size:13px;font-weight:700}
}
@media(max-width:991px){
 body.tw-storefront.tw-layout-refined .tw-topnote,body.tw-storefront.tw-layout-refined #top{display:none!important}
 body.tw-storefront.tw-layout-refined .tw-site-header{padding:7px 0}
 body.tw-storefront.tw-layout-refined .tw-header-layout{gap:8px;min-height:56px}
 body.tw-storefront.tw-layout-refined .tw-mobile-actions>a[href*="account/account"]{display:none!important}
 body.tw-storefront.tw-layout-refined .tw-mobile-actions{gap:4px}
 body.tw-storefront.tw-layout-refined .tw-brand-col{flex:1;min-width:0;max-width:calc(100% - 132px)}
 body.tw-storefront.tw-layout-refined #logo{min-width:0}
 body.tw-storefront.tw-layout-refined #logo img{max-height:44px;max-width:100%;object-fit:contain}
 body.tw-storefront.tw-layout-refined .tw-icon-button{flex-basis:38px;width:38px;height:40px}
 body.tw-storefront.tw-layout-refined .tw-mobile-actions>.mobile-nav-icon{background:#f0f5f9;border-color:#e0eaf1}
 body.tw-storefront.tw-layout-refined .tw-homepage{padding-top:11px}
 body.tw-storefront.tw-layout-refined .widget-title{margin:22px 0 15px;font-size:20px}
 body.tw-storefront.tw-layout-refined .tw-footer-content.tw-footer-compact{padding-top:16px;padding-bottom:16px}
}
@media(max-width:767px){
 body.tw-storefront.tw-layout-refined .container{padding-left:13px;padding-right:13px}
 body.tw-storefront.tw-layout-refined .product-layout{margin-bottom:14px}
 body.tw-storefront.tw-layout-refined .product-wrapper{margin-left:0;margin-right:0}
 body.tw-storefront.tw-layout-refined .container>.row{margin-left:-13px;margin-right:-13px}
 body.tw-storefront.tw-layout-refined .product-wrapper>.product-layout{padding-left:6px;padding-right:6px;margin-bottom:14px}
 body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-image{height:154px;min-height:154px;padding:9px}
 body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-caption{padding:11px 10px 12px}
 body.tw-storefront.tw-layout-refined .tw-product-card .product-name{min-height:40px;font-size:13px;line-height:1.5;margin:0 0 8px}
 body.tw-storefront.tw-layout-refined .tw-product-card .price{font-size:18px;margin:8px 0 10px!important;padding-top:0!important}
 body.tw-storefront.tw-layout-refined .tw-card-actions{gap:5px}
 body.tw-storefront.tw-layout-refined .tw-action{height:40px;min-height:40px;padding:0 3px;font-size:11px;border-radius:8px;white-space:nowrap}
 body.tw-storefront.tw-layout-refined .tw-action i{display:none}
 body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-image .button-group button{width:29px;height:29px}
 body.tw-storefront.tw-layout-refined .tw-site-footer{margin-top:12px}
 body.tw-storefront.tw-layout-refined .tw-footer-about{padding-bottom:9px;margin-bottom:10px}
 body.tw-storefront.tw-layout-refined .tw-footer-brand{font-size:15px}
 body.tw-storefront.tw-layout-refined .tw-footer-about p{font-size:11px;max-width:175px}
 body.tw-storefront.tw-layout-refined input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
 body.tw-storefront.tw-layout-refined select,body.tw-storefront.tw-layout-refined textarea{font-size:16px!important}
}
@media(max-width:359px){
 body.tw-storefront.tw-layout-refined .tw-product-card .tw-product-image{height:132px;min-height:132px}
 body.tw-storefront.tw-layout-refined .tw-action{height:37px;min-height:37px;font-size:10px}
 body.tw-storefront.tw-layout-refined .tw-card-actions{grid-template-columns:1fr}
 body.tw-storefront.tw-layout-refined .tw-brand-col{max-width:calc(100% - 124px)}
 body.tw-storefront.tw-layout-refined .tw-icon-button{flex-basis:35px;width:35px}
}
@media(prefers-reduced-motion:reduce){body.tw-storefront.tw-layout-refined .tw-product-card *,body.tw-storefront.tw-layout-refined .tw-action{transition:none!important}}
