/* Shared typography and product cards. Montserrat files are served locally. */
:root{--font-ui:'Montserrat',Arial,sans-serif}
/* The column stretches with the catalogue; its menu stays within the viewport. */
.sidebar{position:static;top:auto;align-self:stretch;min-height:calc(100dvh - 79px);overflow:visible}
.sidebar-content{position:sticky;top:79px;max-height:calc(100dvh - 79px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8e5d5 transparent}
body,button,input,select,textarea,h1,h2,h3,h4,.product-name,.cart-row h3,.detail-info h2,.detail-description h3,.checkout-intro h1,.panel-heading h2,.order-item h3{font-family:var(--font-ui)}
body{font-size:13px;line-height:1.5}
.header-search input{font-size:13px}.sidebar nav button{font-size:12px}.sidebar-section button{font-size:11px;line-height:1.7}.quick-categories strong{font-size:11px;line-height:1.5}.section-heading h2{font-size:18px;font-weight:600}.filter-panel select,.tabs button{font-size:11px}.promo h1{font-size:27px;line-height:1.35;font-weight:700}.promo-sea h2{font-size:20px;line-height:1.4}.promo p{font-size:11px}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;background:#edf1f5;padding:10px;border-radius:0 0 7px 7px;align-items:stretch}
.product-card,.product-card:nth-child(2n),.product-card:nth-child(3n),.product-card:nth-child(4n){padding:0;background:white;border:0;border-radius:7px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:none}
.product-card:hover{box-shadow:0 2px 10px #164a3012;background:#fff}
.product-image-button{height:185px;padding:8px 6px 0;background:#fff;position:relative;flex-shrink:0}
.product-image-button img{object-fit:contain;mix-blend-mode:normal}
.product-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:8px 8px 0;padding:0;font-size:12px;font-weight:400;line-height:19px;min-height:38px;height:38px;flex-shrink:0;color:#566779;text-align:left;background:none;border:0}
.product-bottom{margin:0;padding:8px 8px 12px;display:flex;align-items:stretch;flex-direction:column;gap:6px;flex:1}
.product-price-row{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:3px;row-gap:0;line-height:19px}
.product-price{font-size:14px;font-weight:650;color:#142d4c;min-height:0;line-height:20px;white-space:nowrap}
.product-unit{font-size:10px;font-weight:400;color:#35506b;line-height:16px}
.product-discount{display:flex;align-items:center;gap:5px;line-height:16px;flex-wrap:wrap}
.original-price{font-size:11px;color:#9aa2ad;text-decoration-thickness:1px}
.discount-badge{font-size:10px;line-height:15px;background:#ff5055;color:#fff;font-weight:600;border-radius:2px;padding:0 3px}
.product-promotion,.promotion-limit{font-size:10px;line-height:16px;font-weight:400;color:#e77416;margin:0;overflow-wrap:anywhere}
.product-card>.add-button{border:0;border-radius:0;background:#edfff2;color:#007449;width:100%;height:40px;min-height:40px;font:500 13px/20px var(--font-ui);letter-spacing:0;margin-top:auto;flex-shrink:0}
.product-card>.add-button:hover{background:#dcf5e5;color:#005b32}
.product-card>.add-button:disabled{cursor:default;color:#809e89;background:#f1f6f1;font-size:10px}
.promotion-preview{margin:0;padding:10px 16px;background:#fbfcf7;border-top:1px solid #e7edde}
.promotion-preview summary{cursor:pointer;color:#68865c;font-size:11px;line-height:20px;width:fit-content}
.promotion-preview-note{font-size:11px;line-height:1.8;max-width:650px;color:#8c805f;margin:12px 0}
.promotion-examples{max-width:440px;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:6px}
.demo-promotion-tag{position:absolute;top:8px;left:8px;border:1px solid #e8d4a9;background:#fff6df;color:#9a7a3c;font-size:8px;font-weight:600;padding:3px 6px;border-radius:3px}
.cart-row h3{font-size:12px;line-height:1.65}.cart-summary p{font-size:11px;line-height:1.7}.detail-info h2{font-size:23px;line-height:1.5}.detail-description{font-size:12px;line-height:1.9}.footer-main p,.footer-main>div>a:not(.brand){font-size:11px;line-height:1.8}
.checkout-intro h1{font-size:26px}.field{font-size:12px}.field input,.field textarea{font-size:12px}.panel-heading h2{font-size:15px}.choice-text strong{font-size:12px;line-height:1.6}.choice-text small{font-size:10px;line-height:1.7}.order-item h3{font-size:12px;line-height:1.7}.order-totals{line-height:1.7}.checkout-disclaimer{font-size:10px;line-height:1.8}
@media(min-width:1300px){.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.promotion-examples{grid-template-columns:repeat(2,minmax(0,1fr))}.product-image-button{height:175px}}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.promotion-examples{grid-template-columns:repeat(2,minmax(0,1fr))}.product-image-button{height:175px}.product-name{font-size:12px}}
@media(max-width:760px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px}.product-image-button{height:165px;padding:6px 4px 0}.product-name{font-size:12px;line-height:19px;height:38px;min-height:38px;margin:7px 7px 0}.product-bottom{padding:7px 7px 10px;gap:5px}.product-price{font-size:13px}.product-unit{font-size:9px;line-height:16px}.original-price{font-size:10px}.discount-badge{font-size:9px;line-height:14px}.product-promotion,.promotion-limit{font-size:10px;line-height:16px}.product-card>.add-button{font-size:12px;height:39px;min-height:39px}.quick-categories strong{font-size:9px;line-height:1.5}.section-heading h2{font-size:15px}.filter-panel select,.tabs button{font-size:10px}.promo h1{font-size:19px}.promo-sea h2{font-size:16px}.promotion-preview{padding:10px}.promotion-preview summary,.promotion-preview-note{font-size:10px}.promotion-examples{max-width:440px}.header-search input{font-size:12px}.checkout-intro h1{font-size:24px}.choice-text strong{font-size:11px}.choice-text small{font-size:10px}.footer-main>div>a:not(.brand){font-size:10px}.confirmation h2{font-size:23px}}
