/* 2.5.0: checkout shipping UX and consistent premium product/cart layout. */
.twss-checkout-form .twss-shipping-checkout{display:grid;gap:16px;margin:8px 0;padding:22px;background:#fafbf9;border:1px solid #dfe7dc;border-radius:13px}
.twss-shipping-checkout[hidden],.twss-shipping-checkout [hidden]{display:none !important}
.twss-shipping-checkout h3{font-size:20px;color:#26372f;margin:0}
.twss-address-fields{border:0;padding:0;margin:0;min-width:0}
.twss-address-fields legend{font-size:14px;font-weight:700;padding:0 0 12px;color:#26372f}
.twss-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.twss-address-grid .twss-address-address1,.twss-address-grid .twss-address-address2{grid-column:1/-1}
.twss-shipping-checkout .twss-billing-checkbox{display:flex;gap:10px;align-items:center;cursor:pointer;font-weight:600}
.twss-billing-checkbox input{width:18px;height:18px;min-height:0;flex:0 0 auto}
.twss-shipping-quote{margin:0;background:#eaf3eb;color:#22412f;padding:12px 15px;border-radius:8px;line-height:1.5;font-size:14px}
.twss-shipping-quote.is-error{background:#fff1eb;color:#8b351f}
.twss-shipping-summary{font-size:14px}
.twss-checkout-form button[type=submit]:disabled{opacity:.5;cursor:not-allowed}
.twss-cart-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;border:1px solid #e3e8e2;background:#f8f9f6;border-radius:14px;padding:35px}
.twss-cart-empty h3{font-size:clamp(21px,2.4vw,30px);font-weight:600;color:#27382c;margin:3px 0}
.twss-cart-empty p{margin:0;color:#677466;font-size:15px}
.twss-empty-icon{font-size:35px;color:#60765a}
.twss-product-detail .twss-detail-cart{display:flex !important;flex-wrap:wrap;gap:12px;align-items:end;justify-content:flex-start;grid-template-columns:none !important}
.twss-product-detail .twss-detail-cart label{flex:0 0 108px;max-width:108px}
.twss-product-detail .twss-detail-cart button[type=submit]{flex:0 1 260px !important;width:min(100%,260px) !important;max-width:260px !important;min-height:49px !important;border-radius:9px !important}
.twss-product-detail .twss-detail-content{align-content:start;align-self:start;min-height:0}
.twss-product-detail .twss-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;align-items:start !important}
body.twss-storefront-design-forma .twss-product-detail,
body.twss-storefront-design-forma .twss-cart,
body.twss-storefront-design-forma .twss-checkout{--twss-brand:#263e32;--twss-line:#e4e8e0;--twss-muted:#617064;color:#253529}
body.twss-storefront-design-forma .twss-product-detail .twss-shop-head,
body.twss-storefront-design-forma .twss-cart .twss-shop-head,
body.twss-storefront-design-forma .twss-checkout .twss-shop-head{background:#f6f7f2;border-color:#e2e6de}
body.twss-storefront-design-forma .twss-product-detail .twss-shop-head p{color:#617c63}
body.twss-storefront-design-forma .twss-product-detail .twss-detail-content h1{color:#26372d;font-weight:650}
body.twss-storefront-design-forma .twss-product-detail .twss-detail-price,
body.twss-storefront-design-forma .twss-product-detail .twss-detail-price strong{color:#263e32}
body.twss-storefront-design-forma .twss-product-detail .twss-detail-cart button[type=submit],
body.twss-storefront-design-forma .twss-product-detail .twss-cart-link,
body.twss-storefront-design-forma .twss-checkout button[type=submit]{background:#263e32 !important;color:#fff !important;border-color:#263e32 !important}
body.twss-storefront-design-forma .twss-product-detail a,
body.twss-storefront-design-forma .twss-cart a{color:#263e32}
body.twss-storefront-design-forma .twss-product-detail .twss-back-link{font-weight:650}
.twss-shipping-order{margin:20px 0}
.twss-shipping-order p{line-height:1.6}
.twss-tracking-form{margin-top:16px}
.twss-zone-card{border:1px solid #dae4d9;padding:16px;border-radius:12px;margin:14px 0;min-width:0}
.twss-zone-card legend{padding:0 7px;font-weight:700}
@media(max-width:850px){.twss-product-detail .twss-detail-layout{grid-template-columns:1fr !important}}
@media(max-width:600px){.twss-address-grid{grid-template-columns:1fr}.twss-product-detail .twss-detail-cart button[type=submit]{max-width:none !important;width:100% !important;flex:1 1 100% !important}.twss-product-detail .twss-detail-cart label{max-width:120px}.twss-checkout-form .twss-shipping-checkout{padding:14px}}

.twss-cart-product{display:flex;align-items:center;gap:15px;min-width:0}
.twss-cart-product>div{min-width:0;display:grid;gap:5px}
.twss-cart-product a{text-decoration:none}
.twss-cart-product-thumb{flex:0 0 90px;width:90px;height:90px;display:block;border-radius:8px;overflow:hidden;background:#f2f2ed}
.twss-cart-product-thumb img{width:100%;height:100%;object-fit:cover}
.twss-cart-product strong{line-height:1.4}
.twss-related-products{margin:35px 0 60px;padding:20px 0;border-top:1px solid #e4e8e0}
.twss-related-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:24px}
.twss-related-heading h2{font-size:clamp(24px,2.5vw,34px);font-weight:650;line-height:1.15;color:#26372f;margin:0}
.twss-related-heading a{font-size:14px;color:#425c48;font-weight:650}
.twss-related-products .twss-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.twss-related-products .twss-front-product{min-width:0}
.twss-detail-delivery-note{font-size:13px;line-height:1.5;color:#607261;margin:4px 0 0}
@media(max-width:980px){.twss-related-products .twss-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.twss-related-heading{flex-wrap:wrap}.twss-cart-product-thumb{flex-basis:65px;width:65px;height:65px}.twss-cart-product{gap:9px}}
