/* Local fonts, no CDN or framework dependency. */
@font-face{font-family:Roboto Condensed;src:url('../fonts/RobotoCondensed-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Roboto Condensed;src:url('../fonts/RobotoCondensed-Bold.ttf') format('truetype');font-weight:700;font-display:swap}

/* Base and accessibility */
:root{--ink:#242424;--muted:#707070;--line:#e5e5e5;--paper:#fff;--accent:#c2352a;--content:1080px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Roboto Condensed',Arial,sans-serif;font-size:16px;line-height:1.6}
a{color:inherit;text-decoration:none}
a:hover{color:var(--accent)}
img{display:block;max-width:100%;height:auto}
button,input,select{font:inherit}
button,a,input,select{touch-action:manipulation}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #4266ae;outline-offset:4px}
button{color:inherit}
h1,h2,h3,p{margin-top:0}
h1{font-size:32px;line-height:1.25}
h2,h3{line-height:1.4}
.container{max-width:var(--content);padding:0 16px;margin:0 auto}
.container-wide{padding:0 32px;max-width:1600px;margin:0 auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:fixed;left:16px;top:-80px;padding:10px 20px;z-index:100;background:#fff;border:2px solid #222}
.skip-link:focus{top:12px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 24px;border:1px solid var(--ink);background:var(--ink);color:#fff;text-transform:uppercase;font-weight:700;font-size:14px;letter-spacing:.05em}
.button:hover{background:#444;color:#fff}
.button-outline{background:#fff;color:var(--ink)}
.icon-button{border:0;background:transparent;min-height:44px;padding:8px;font-size:16px}
.text-link{display:block;margin-top:20px;text-decoration:underline}
[hidden]{display:none!important}

/* Header and navigation */
.site-header{position:sticky;top:0;z-index:100;background:#fff;transition:box-shadow .2s ease}
.site-header.is-scrolled{box-shadow:0 5px 22px #00000012}
.top-strip{height:8px;background:#202020}
.header-main{display:flex;align-items:center;justify-content:space-between;min-height:100px;gap:24px}
.store-address{flex:1;font-size:13px;color:var(--muted);margin:0}
.logo{width:180px;flex-shrink:0}
.logo img{height:56px;object-fit:contain}
.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex:1}
.cart-count{display:inline-grid;place-items:center;min-width:22px;height:22px;background:var(--ink);color:#fff;border-radius:50%;font-size:12px;margin-left:4px}
.cart-toggle{white-space:nowrap}
.menu-toggle{display:none}
.main-nav{display:flex;align-items:center;justify-content:center;gap:28px;border-top:1px solid #f3f3f3;min-height:64px;font-weight:700}
.main-nav>a,.nav-dropdown>summary{padding:14px 0;cursor:pointer}
.nav-dropdown{position:relative}
.nav-dropdown summary{list-style:none}
.nav-dropdown summary::-webkit-details-marker{display:none}
.nav-dropdown summary::after{content:'⌄';margin-left:8px;font-size:12px}
.dropdown-links{position:absolute;top:100%;left:-16px;min-width:190px;padding:12px 0;background:#fff;border:1px solid var(--line);box-shadow:0 8px 20px #0001}
.dropdown-links a{display:block;padding:7px 20px;font-weight:400}
.search-form{display:flex;border:1px solid var(--line);border-radius:3px;background:#fafafa;max-width:230px}
.search-form input{width:100%;min-width:0;border:0;background:transparent;padding:8px 10px;font-size:14px}
.search-form button{border:0;background:transparent;min-width:40px;font-size:25px;line-height:1}

/* Home banners */
.hero{position:relative;margin:0 10px 20px;overflow:hidden;background:#f5f5f5}
.hero-slide img{width:100%;height:auto;aspect-ratio:3292/1667;object-fit:contain}
.hero-prev,.hero-next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid #fff9;border-radius:50%;background:#fffd;font-size:32px;line-height:1}
.hero-prev{left:20px}.hero-next{right:20px}
.hero-dots{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.hero-dots button{width:26px;height:26px;padding:7px;border:0;background:transparent}
.hero-dots button::after{content:'';display:block;width:12px;height:12px;border:2px solid white;border-radius:50%;background:#777}
.hero-dots button[aria-pressed=true]::after{background:#fff}
.section-title{position:relative;display:flex;align-items:center;gap:22px;text-align:center;text-transform:uppercase;letter-spacing:1px;font-size:24px;margin:32px 0 28px}
.section-title::before,.section-title::after{content:'';flex:1;height:2px;background:var(--line)}
.section-title span{max-width:80%}
.promo-grid{display:grid;grid-template-columns:1fr 2fr 1fr;gap:20px}
.promo-card{position:relative;display:block;overflow:hidden;background:#eee;aspect-ratio:1}
.promo-card:nth-child(2){aspect-ratio:2.08}
.promo-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.promo-card:hover img{transform:scale(1.035)}
.promo-card span{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:8px 22px;background:#fffffff0;font-size:17px;font-weight:700;text-transform:uppercase;letter-spacing:1px}

/* Catalog and product detail */
.product-section{padding:12px 0 10px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px}
.product-card{min-width:0;text-align:center}
.product-image{position:relative;display:block;overflow:hidden;background:#f7f7f7;aspect-ratio:1}
.product-image img{width:100%;height:100%;object-fit:contain;transition:transform .25s}
.product-image:hover img{transform:scale(1.04)}
.sale-badge{position:absolute;left:0;top:14px;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:14px;font-weight:700;padding:4px 12px}
.product-category{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:10px 0 2px}
.product-card h3{font-size:15px;font-weight:400;margin:0 0 8px}
.product-price{font-size:15px;margin:0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.product-price del{color:#909090;font-size:14px}
.view-all{display:flex;width:max-content;margin:30px auto 10px}
.listing{padding-top:36px;padding-bottom:60px}
.filter-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}
.filter-form select{max-width:100%;padding:10px;border:1px solid var(--line);background:#fff}
.breadcrumb{font-size:14px;color:var(--muted);margin:28px 0}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding-bottom:70px}
.detail-image{width:100%;aspect-ratio:1;object-fit:contain;background:#fafafa}
.product-detail h1{font-size:30px}
.eyebrow{text-transform:uppercase;color:var(--muted);font-size:13px}
.detail-price{font-size:26px;font-weight:700}
.empty-state{text-align:center;padding:60px 20px}

/* News and footer */
.news-section{padding-bottom:50px}
.news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.news-grid img{width:100%;aspect-ratio:1.4;object-fit:cover;background:#f4f4f4}
.news-grid h3{font-size:16px;margin:12px 0 6px}
.source-label{font-size:12px;color:var(--muted)}
.newsletter{background:#eee;padding:26px 0}
.newsletter-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}
.newsletter h2{font-size:19px;text-transform:uppercase;margin:0}
.footer-grid{display:grid;grid-template-columns:1.2fr 1.5fr 1fr 1fr;gap:30px;padding-top:40px;padding-bottom:35px}
.footer-grid h2{font-size:16px;text-transform:uppercase;margin-bottom:18px}
.footer-grid p{font-size:14px;color:var(--muted);margin-bottom:10px}
.footer-logo{object-fit:contain;height:56px}
.copyright{background:#f7f7f7;padding:14px 16px;margin:0;text-align:center;font-size:12px;color:var(--muted)}

/* Reference cart, browser-local only */
.cart-dialog{width:min(560px,calc(100% - 32px));max-height:85vh;padding:28px;border:1px solid var(--line);overflow:auto}
.cart-dialog::backdrop{background:#0007}
.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}
.dialog-heading h2{font-size:24px;margin:0}
.cart-dialog>p{font-size:14px;color:var(--muted)}
.cart-row{display:grid;grid-template-columns:64px 1fr auto;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:16px 0}
.cart-row img{width:64px;height:64px;object-fit:contain}
.cart-row h3{font-size:15px;margin:0 0 4px}
.cart-row p{font-size:14px;margin:0}
.cart-row button{font-size:13px;text-decoration:underline;border:0;background:transparent;padding:10px}
.cart-total{margin-top:20px}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:90%;background:#222;color:#fff;padding:12px 22px;z-index:100;box-shadow:0 5px 20px #0002;margin:0}
.toast:empty{display:none}

/* Responsive layouts */
@media(min-width:1600px){.hero{max-width:1920px;margin-left:auto;margin-right:auto}}
@media(max-width:1000px){.container-wide{padding-left:20px;padding-right:20px}.main-nav{gap:18px;font-size:14px}.search-form{max-width:190px}.store-address{font-size:12px}.footer-grid{gap:20px}}
@media(max-width:760px){
    .header-main{min-height:80px;gap:12px}.store-address{display:none}.logo{width:150px}.logo img{height:48px}.header-actions{flex:0 1 auto;gap:8px}.menu-toggle{display:block}
    .main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;align-items:stretch;padding:16px 24px;box-shadow:0 10px 15px #0001;font-size:16px;max-height:75vh;overflow:auto}
    .main-nav.is-open{display:flex;flex-direction:column;gap:0}.main-nav>a,.nav-dropdown>summary{display:block;padding:10px 0}.dropdown-links{position:static;border:0;border-left:2px solid var(--line);box-shadow:none;padding:0;margin-bottom:10px}.search-form{max-width:none;margin-top:10px}
    .hero{margin-left:0;margin-right:0}.hero-prev{left:8px}.hero-next{right:8px}.hero-prev,.hero-next{width:34px;height:34px;font-size:26px}.hero-dots{bottom:2px}
    .section-title{font-size:21px;margin:24px 0 20px;gap:14px}.promo-grid{gap:10px}.promo-card span{padding:5px 9px;font-size:12px;bottom:10px}
    .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.newsletter-inner{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .product-detail{grid-template-columns:1fr;gap:24px}.product-detail h1{font-size:26px}.product-detail .detail-image{max-height:500px}.cart-dialog{padding:20px}.cart-row{grid-template-columns:48px 1fr auto;gap:8px}.cart-row img{width:48px;height:48px}
}
@media(max-width:360px){.container-wide{padding-left:16px;padding-right:16px}.logo{width:110px}.header-actions{gap:4px}.header-actions .icon-button{font-size:14px;padding:6px}.promo-card span{font-size:10px;padding:5px 6px;letter-spacing:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* SQL store additions */
.stock-label{display:inline-block;margin-top:8px;font-size:11px;color:#a34842;background:#fff1ee;padding:2px 8px;border-radius:4px}
.button:disabled{cursor:not-allowed;background:#999;border-color:#999;opacity:.7}
.product-description{margin:18px 0 24px;color:#666;line-height:1.8}
.checkout-page,.article-page{padding-top:40px;padding-bottom:70px;min-height:50vh}
.checkout-form{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;margin-top:30px}
.checkout-fields{display:flex;flex-direction:column;gap:18px}.checkout-fields label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:700}
.checkout-fields input,.checkout-fields textarea{width:100%;border:1px solid #ddd;background:#fff;border-radius:3px;padding:11px 12px;font:inherit;font-weight:400}
.checkout-summary{background:#f7f7f7;border:1px solid #e4e4e4;padding:25px;height:max-content}
.checkout-summary h2{font-size:21px}.checkout-summary small{display:block;font-size:12px;line-height:1.7;color:#777;margin:18px 0 24px}
.checkout-summary .button{width:100%}.checkout-item{display:flex;gap:20px;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e5e5e5;font-size:14px}.checkout-item strong{white-space:nowrap}
.checkout-error{border:1px solid #e9bfc0;padding:14px;color:#a4353b;background:#fff3f3}
.order-success{text-align:center;padding:30px 0}.success-check{display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:#e8f8ef;color:#188a59;font-size:35px;margin:0 auto 24px}
.article-page article{max-width:800px;margin:0 auto}.article-cover{width:100%;max-height:430px;object-fit:contain;background:#f5f5f5;margin:25px 0}.article-excerpt{color:#777;font-size:18px}.article-content{line-height:1.9;margin:25px 0 35px}
@media(max-width:760px){.checkout-form{grid-template-columns:1fr;gap:30px}.checkout-page h1{font-size:27px}.checkout-summary{padding:20px}.checkout-item{font-size:13px}.checkout-page,.article-page{padding-top:28px}}

/* Cart and checkout v2 */
.cart-toggle{display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:8px 12px;font-weight:700}
.cart-symbol{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px}
.cart-symbol .cart-count{position:absolute;top:-5px;right:-8px;min-width:19px;height:19px;margin:0;border:2px solid #fff;font-size:10px;background:#8c949e}
.cart-symbol .cart-count.has-items{background:#c2352a}.cart-button-label{font-size:14px}
.quick-add{gap:7px;min-height:36px;font-size:11px;padding:7px 12px;margin-top:13px;text-transform:none;letter-spacing:0}
.added-to-cart{background:#18825d!important;border-color:#18825d!important;color:#fff!important}
.cart-bump .cart-symbol{animation:cart-bump .55s ease}.cart-flyer{position:fixed;z-index:160;width:56px;height:56px;object-fit:contain;border-radius:50%;background:#fff;box-shadow:0 6px 25px #0002;pointer-events:none}
@keyframes cart-bump{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-6px) rotate(-12deg)}55%{transform:translateY(0) rotate(10deg)}75%{transform:translateY(-3px) rotate(-5deg)}}
.cart-toast{position:fixed;top:24px;right:24px;left:auto;bottom:auto;transform:none;z-index:140;display:flex;align-items:center;gap:12px;width:min(410px,calc(100% - 32px));max-width:none;margin:0;background:#fff;border:1px solid #dce9e3;border-left:4px solid #16885e;box-shadow:0 12px 45px #15382d22;border-radius:10px;padding:15px 16px;color:#1b3028;animation:toast-in .22s ease-out}
.cart-toast>div{min-width:0;flex:1}.cart-toast strong{display:block;font-size:14px;line-height:1.5}.cart-toast [data-toast-detail]{display:block;font-size:12px;color:#78827d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.cart-toast-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#e7f5ee;color:#16885e;font-weight:700;flex-shrink:0}
.cart-toast button{border:0;background:#f0f7f3;border-radius:5px;padding:8px 10px;font-size:12px;color:#16885e;white-space:nowrap}
.cart-toast.is-error{border-left-color:#c23a36}.cart-toast.is-error .cart-toast-icon{background:#fff0ee;color:#c23a36}
@keyframes toast-in{from{opacity:0;translate:0 -10px}to{opacity:1;translate:0 0}}
.cart-dialog{border-radius:12px;border:1px solid #e4e8e6;padding:24px;box-shadow:0 20px 90px #0002}
.cart-dialog>p{font-size:12px;margin-top:10px}.cart-row{grid-template-columns:68px minmax(0,1fr) 36px;padding:18px 0;gap:14px}.cart-row img{width:68px;height:68px;border:1px solid #f0f1f0;border-radius:7px}.cart-row h3{font-size:14px;line-height:1.45}.cart-row p{font-size:13px;font-weight:700;margin:5px 0 9px}
.cart-row .remove-cart-item{align-self:start;padding:5px 0;color:#8b9290;font-size:11px}.quantity-control{display:inline-flex;align-items:center;border:1px solid #dce1df;border-radius:5px;overflow:hidden;background:#fff;width:max-content}
.quantity-control button{padding:0!important;min-height:30px;width:30px;border:0!important;border-radius:0;background:#fff;font-size:16px!important;text-decoration:none!important;display:grid;place-items:center;line-height:1}
.quantity-control button:hover{background:#f1f5f3}.quantity-control button:disabled{color:#bfc8c2;cursor:not-allowed;background:#fafbf9}.quantity-control>span{min-width:28px;text-align:center;font-size:12px;font-weight:700}
.cart-empty{text-align:center;padding:35px 10px}.cart-empty strong{font-size:19px}.cart-empty p{font-size:13px;color:#89918d;margin-top:8px}
.cart-total{display:flex;justify-content:space-between;border-top:1px solid #e6ebe8;padding-top:18px;margin-bottom:20px}.cart-total strong{font-size:22px;color:#222}.cart-dialog>.button{width:100%}
.checkout-page{max-width:1140px;padding-top:36px;padding-bottom:75px}.checkout-heading>a{font-size:13px;color:#838c87;display:inline-block;margin-bottom:26px}.checkout-eyebrow{display:block;font-size:11px;letter-spacing:1.7px;font-weight:700;color:#8a938d;margin-bottom:8px}.checkout-heading h1{font-size:34px;margin-bottom:9px;letter-spacing:-.5px}.checkout-heading>p{font-size:14px;color:#8a928c}
.checkout-form{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:30px;align-items:start;margin-top:30px}.checkout-information{min-width:0}.checkout-section{padding:25px 27px;border:1px solid #e4e8e6;border-radius:10px;background:#fff;margin-bottom:20px}.checkout-section h2{font-size:19px;margin-bottom:24px;display:flex;align-items:center;gap:10px}.checkout-section h2>span{font-size:12px;width:24px;height:24px;border-radius:50%;background:#f0f3f1;color:#6d7a71;display:grid;place-items:center}
.checkout-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:19px 16px}.checkout-fields label{display:block;font-size:13px;line-height:1.5;font-weight:700;min-width:0}.checkout-wide{grid-column:1/-1}.checkout-fields input,.checkout-fields textarea{display:block;margin-top:7px;border:1px solid #dfe5e1;border-radius:6px;font-size:14px;padding:12px;min-width:0;resize:vertical;outline-offset:2px}.checkout-fields input::placeholder,.checkout-fields textarea::placeholder{color:#adb4af;font-size:13px}.required{color:#bc4a41}.cod-option{display:flex;gap:13px;border:1px solid #cdded2;background:#f6faf7;border-radius:7px;padding:16px}.cod-option strong{font-size:14px}.cod-option p{font-size:12px;color:#86928a;margin:4px 0 0}.cod-dot{display:block;width:16px;height:16px;border:5px solid #2b7752;border-radius:50%;background:white;flex-shrink:0;margin-top:4px}.shipping-note{font-size:12px;color:#8a938c;margin:15px 0 0}
.checkout-summary{position:sticky;top:24px;min-width:0;background:#fcfdfb;border:1px solid #e2e7e3;border-radius:10px;padding:25px}.summary-heading{padding-bottom:17px;border-bottom:1px solid #e4e9e5;margin-bottom:0}.summary-heading h2{font-size:20px;margin-bottom:1px}.summary-heading>span{font-size:12px;color:#929c94}
.checkout-item{display:grid;grid-template-columns:60px minmax(0,1fr) 28px;gap:12px;align-items:start;padding:18px 0;border-bottom:1px solid #e4e9e5;min-width:0}.checkout-item>img{width:60px;height:64px;border:1px solid #e7eae7;border-radius:6px;object-fit:contain;background:#fff}.checkout-item>div{min-width:0}.checkout-item>div>strong{display:block;white-space:normal;font-size:13px;line-height:1.45}.checkout-item>div>span{display:block;font-size:13px;font-weight:700;margin:5px 0 9px}.checkout-remove{background:transparent;border:0;padding:1px;color:#939c95;font-size:11px}
.coupon-box{margin:20px 0}.coupon-box>label{font-size:12px;font-weight:700;display:block;margin-bottom:7px}.coupon-box>div{display:flex;gap:9px}.coupon-box input{min-width:0;flex:1;padding:11px;border:1px solid #dce4dd;border-radius:6px;font:inherit;font-size:13px;background:#fff}.coupon-box button{padding:8px 14px;border:1px solid #dce4dd;border-radius:6px;background:#edf3ee;font-weight:700;font-size:12px;white-space:nowrap}
.checkout-totals p{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:#87918a;margin-bottom:11px}.checkout-totals strong{color:#39483f;font-weight:700;white-space:nowrap}.checkout-totals .checkout-grand-total{padding-top:16px;border-top:1px solid #dde5df;color:#293b30;font-size:16px;margin-top:17px}.checkout-grand-total strong{font-size:23px}.quote-status{font-size:11px;min-height:18px;color:#71917c;margin:12px 0}.quote-status.error{color:#bd4a3f}.checkout-summary #place-order{width:100%;border-radius:6px;background:#202d25;border-color:#202d25;min-height:49px;font-size:13px;letter-spacing:.3px}.checkout-summary #place-order:disabled{background:#9ca89f;border-color:#9ca89f}.checkout-footnote{font-size:11px;color:#9aa49b;text-align:center;margin:12px 0 0}
.receipt-card{max-width:460px;margin:26px auto;padding:20px 25px;background:#f7faf7;border:1px solid #e2e9e2;border-radius:10px;text-align:left}.receipt-card p{display:flex;justify-content:space-between;gap:20px;font-size:14px;color:#808b82}.receipt-card p:last-child{margin:0}.receipt-card strong{color:#253c2d;text-align:right}.order-success{max-width:650px;margin:auto}.order-success>p{color:#7e8a80;font-size:15px}
@media(max-width:760px){.cart-button-label{display:none}.cart-toggle{padding-right:10px}.cart-toast{top:14px;right:16px;padding:13px 12px;gap:9px}.cart-toast [data-toast-detail]{max-width:180px}.cart-toast strong{font-size:12px}.cart-toast button{font-size:11px}.checkout-page{padding-top:22px}.checkout-heading h1{font-size:29px}.checkout-heading>a{margin-bottom:20px}.checkout-form{grid-template-columns:minmax(0,1fr);gap:5px}.checkout-section{padding:21px 18px}.checkout-summary{position:static;padding:21px 18px}.checkout-fields{gap:17px 13px}.checkout-section h2{font-size:17px}.cart-dialog{padding:20px;width:calc(100% - 28px)}.cart-row{grid-template-columns:54px minmax(0,1fr) 28px;gap:10px}.cart-row img{width:54px;height:58px}.receipt-card{padding:18px;font-size:13px}.receipt-card p{font-size:12px}}
@media(max-width:360px){.checkout-fields{grid-template-columns:minmax(0,1fr)}.checkout-wide{grid-column:auto}.checkout-item{grid-template-columns:48px minmax(0,1fr) 24px;gap:9px}.checkout-item>img{width:48px;height:54px}.checkout-summary{padding:18px 14px}.cart-toast [data-toast-detail]{max-width:140px}.cart-toast button{padding:7px}.cart-toast strong{font-size:11px}.checkout-grand-total strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.cart-bump .cart-symbol,.cart-toast{animation:none}.cart-flyer{display:none}}

/* Persistent navigation and configurable contact buttons. */
html{scroll-padding-top:calc(var(--header-height,172px) + 18px)}
.cart-toast{top:calc(var(--header-height,172px) + 12px)}
.checkout-summary{top:calc(var(--header-height,172px) + 20px)}
.floating-contact{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));z-index:80;display:flex;flex-direction:column;align-items:flex-end;gap:18px;pointer-events:none;max-width:calc(100vw - 40px)}
.floating-contact>*{pointer-events:auto}
.contact-custom{position:relative;transform:translateZ(0);min-width:60px;min-height:60px;max-width:100%;overflow-wrap:anywhere}
.contact-custom iframe{max-width:100%}
.zalo-contact{position:relative;display:grid;place-items:center;flex-shrink:0;width:60px;height:60px;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#2496ff,#0060ef);box-shadow:0 6px 20px #0068ff44;isolation:isolate;transition:transform .2s ease,box-shadow .2s ease}
.zalo-contact::before,.zalo-contact::after{content:'';position:absolute;inset:-3px;border:1px solid #0075ff66;border-radius:50%;z-index:-1;pointer-events:none;animation:zalo-pulse 2.6s ease-out infinite}
.zalo-contact::after{animation-delay:1.3s}
.zalo-contact img{width:40px;height:40px;animation:zalo-sway 5s ease-in-out infinite}
.zalo-contact:hover,.zalo-contact:focus-visible{transform:translateY(-3px);box-shadow:0 9px 26px #0068ff66}
.zalo-tooltip{position:absolute;right:calc(100% + 14px);white-space:nowrap;background:#153351;color:#fff;border-radius:8px;padding:7px 12px;font-size:13px;box-shadow:0 4px 16px #0002;opacity:0;transform:translateX(5px);transition:opacity .2s,transform .2s;pointer-events:none}
.zalo-contact:hover .zalo-tooltip,.zalo-contact:focus-visible .zalo-tooltip{opacity:1;transform:none}
@keyframes zalo-pulse{0%{transform:scale(1);opacity:.8}80%,100%{transform:scale(1.55);opacity:0}}
@keyframes zalo-sway{0%,74%,100%{transform:rotate(0)}80%{transform:rotate(-9deg)}86%{transform:rotate(9deg)}92%{transform:rotate(-5deg)}}
@media(max-width:760px){.floating-contact{right:max(18px,env(safe-area-inset-right));bottom:calc(20px + env(safe-area-inset-bottom));gap:16px}.zalo-contact{width:56px;height:56px}.contact-custom{min-width:56px;min-height:56px}.main-nav{max-height:calc(100dvh - 88px)}}
@media(prefers-reduced-motion:reduce){.zalo-contact::before,.zalo-contact::after,.zalo-contact img{animation:none}.site-header,.zalo-contact,.zalo-tooltip{transition:none}}

/* Customer experience: short transitions, visible feedback, no hidden content. */
.store-address>a{display:inline-block;font-weight:700;text-decoration:underline;text-underline-offset:3px;margin-top:3px}
.store-branch{margin-bottom:17px}.store-branch>strong{display:block;color:#343b40;font-size:13px;margin-bottom:4px}.store-branch p{margin-bottom:3px;overflow-wrap:anywhere}.branch-map{display:inline-block;color:#546c64;font-size:12px;text-decoration:underline;text-underline-offset:3px}.store-phones a{white-space:nowrap}
:root{--ease-soft:cubic-bezier(.2,.65,.3,1)}
.button,.icon-button,.quick-add,.quantity-control button,.coupon-box button,.remove-cart-item,.checkout-remove{transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .18s var(--ease-soft)}
.button:active:not(:disabled),.icon-button:active:not(:disabled),.quantity-control button:active:not(:disabled),.coupon-box button:active:not(:disabled){transform:scale(.96)}
.button:disabled,.coupon-box button:disabled{cursor:wait}
.quick-add:disabled{cursor:not-allowed}
.main-nav>a{position:relative}
.main-nav>a::after{content:'';position:absolute;left:0;right:0;bottom:10px;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .22s var(--ease-soft)}
.main-nav>a:focus-visible::after{transform:scaleX(1)}
.product-card{border-radius:6px;transition:transform .3s var(--ease-soft)}
.product-image{border-radius:5px}
.product-image img{transition:transform .55s var(--ease-soft)}
.product-card h3 a,.news-grid a{transition:color .2s ease}
.search-form{transition:box-shadow .2s ease,border-color .2s ease}
.search-form:focus-within{border-color:#646e78;box-shadow:0 0 0 3px #2424240b}
.checkout-fields input,.checkout-fields textarea,.coupon-box input{transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.checkout-fields input:focus,.checkout-fields textarea:focus,.coupon-box input:focus{border-color:#2b7752;box-shadow:0 0 0 3px #2b775211}
.checkout-fields input:user-invalid,.checkout-fields textarea:user-invalid{border-color:#c23a36;background:#fffafa}
.cart-dialog{border:0;border-radius:16px;box-shadow:0 24px 90px #0003;overscroll-behavior:contain;scrollbar-gutter:stable}
.cart-dialog[open]{animation:cart-open .25s var(--ease-soft)}
.cart-dialog::backdrop{background:#15221dd0;animation:backdrop-open .22s ease}
.cart-dialog .dialog-heading{position:sticky;top:-28px;padding-top:12px;padding-bottom:12px;background:#fff;z-index:2}
.cart-dialog .cart-toast{position:sticky;top:40px;right:auto;width:100%;margin:8px 0 12px;padding:12px;z-index:3;box-shadow:0 4px 18px #15382d11}
.cart-dialog .cart-toast [data-toast-detail]{max-width:240px}
.cart-is-open{overflow:hidden;scrollbar-gutter:stable}
.cart-toast [data-toast-dismiss]{padding:4px;background:transparent;font-size:20px;line-height:1;min-width:24px;min-height:32px;color:#6b7d72}
.cart-toast [data-toast-undo]{font-weight:700}
.back-to-top{position:fixed;left:max(24px,env(safe-area-inset-left));bottom:calc(24px + env(safe-area-inset-bottom));z-index:75;width:44px;height:44px;display:grid;place-items:center;border:1px solid #e0e6e2;background:#ffffffed;color:#22342b;border-radius:50%;box-shadow:0 4px 18px #22342b16;transition:transform .2s ease,box-shadow .2s ease;animation:backdrop-open .2s ease}
.back-to-top:hover{transform:translateY(-3px);box-shadow:0 7px 22px #22342b24}
.is-loading{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.is-loading::after{content:'';display:inline-block;flex-shrink:0;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:button-spin .7s linear infinite}
.hero-slide:not([hidden]){animation:hero-appear .42s var(--ease-soft)}
.success-check{animation:success-pop .55s var(--ease-soft)}
@keyframes cart-open{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes backdrop-open{from{opacity:0}to{opacity:1}}
@keyframes hero-appear{from{opacity:.65}to{opacity:1}}
@keyframes success-pop{0%{scale:.8;opacity:0}70%{scale:1.06}100%{scale:1;opacity:1}}
@keyframes button-spin{to{transform:rotate(360deg)}}
@media(hover:hover) and (pointer:fine){.product-card:hover{transform:translateY(-4px)}.product-card:hover .product-image img{transform:scale(1.045)}.main-nav>a:hover::after{transform:scaleX(1)}.button:hover:not(:disabled){box-shadow:0 5px 16px #24242416}.quick-add:hover:not(:disabled){border-color:#242424}}
@media(max-width:760px){.main-nav.is-open{animation:cart-open .2s var(--ease-soft)}.back-to-top{left:16px;bottom:calc(20px + env(safe-area-inset-bottom));width:40px;height:40px}.cart-dialog .dialog-heading{top:-20px}.cart-dialog .cart-toast{gap:6px;padding:10px;top:38px}.cart-dialog .cart-toast [data-toast-detail]{max-width:150px}}
@media(prefers-reduced-motion:reduce){.product-card,.product-image img,.main-nav>a::after,.button,.icon-button,.quantity-control button,.coupon-box button,.search-form,.checkout-fields input,.checkout-fields textarea,.coupon-box input,.back-to-top{transition:none!important}.cart-dialog[open],.cart-dialog::backdrop,.hero-slide:not([hidden]),.main-nav.is-open,.success-check,.is-loading::after,.back-to-top{animation:none!important}.product-card:hover,.product-card:hover .product-image img,.back-to-top:hover{transform:none}}
