*{box-sizing:border-box}
:root{--primary:#172554;--secondary:#facc15;--ink:#111827;--muted:#6b7280;--line:#e5e7eb;--surface:#fff;--page:#f6f7fb;--success:#15803d;--danger:#dc2626;--radius:18px;--shadow:0 14px 40px rgba(15,23,42,.08)}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--page);color:var(--ink);line-height:1.5}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
img{max-width:100%}
.container{width:min(1240px,calc(100% - 30px));margin:auto}
.announcement-bar{background:var(--primary);color:#fff;font-size:13px}
.announcement-inner{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.announcement-inner a{font-weight:800}
.site-header{background:rgba(255,255,255,.96);position:sticky;top:0;z-index:40;border-bottom:1px solid rgba(229,231,235,.8);backdrop-filter:blur(12px);transition:box-shadow .25s ease}
.site-header.scrolled{box-shadow:0 12px 30px rgba(15,23,42,.09)}
.header-main{display:grid;grid-template-columns:minmax(210px,280px) minmax(300px,1fr) auto;align-items:center;gap:22px;padding:15px 0}
.brand{display:flex;align-items:center;gap:11px;min-width:0}
.brand img,.brand-mark{width:52px;height:52px;border-radius:14px;object-fit:contain;background:#fff;border:1px solid var(--line);flex:0 0 52px}
.brand-mark{display:grid;place-items:center;background:var(--primary);color:#fff;font-size:24px;font-weight:900}
.brand-copy{display:flex;flex-direction:column;min-width:0}
.brand-copy strong{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-copy small{color:var(--muted);font-size:12px}
.site-search{height:48px;display:flex;align-items:center;background:#f8fafc;border:1px solid #dbe1ea;border-radius:14px;overflow:hidden;transition:.2s}
.site-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 14%,transparent)}
.site-search svg{width:20px;margin-left:14px;fill:none;stroke:#64748b;stroke-width:2;stroke-linecap:round}
.site-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:0 12px}
.site-search button{height:100%;border:0;background:var(--secondary);padding:0 22px;font-weight:900;cursor:pointer;color:#111827}
.cart-button{display:flex;align-items:center;gap:8px;padding:11px 13px;border-radius:13px;background:var(--primary);color:#fff;font-weight:800}
.cart-button svg{width:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cart-button b{min-width:23px;height:23px;padding:0 5px;border-radius:999px;background:var(--secondary);color:#111827;display:grid;place-items:center;font-size:12px}
.category-strip{border-top:1px solid #eef1f5}
.category-scroll{display:flex;align-items:center;gap:9px;overflow:auto;padding:10px 0;scrollbar-width:none}
.category-scroll::-webkit-scrollbar{display:none}
.category-scroll a{white-space:nowrap;padding:8px 13px;border-radius:999px;background:#f3f4f6;color:#374151;font-size:13px;font-weight:700;transition:.2s}
.category-scroll a:hover,.category-scroll .category-home{background:color-mix(in srgb,var(--primary) 10%,#fff);color:var(--primary)}
main{min-height:55vh}
.hero{margin:24px auto 25px;position:relative;overflow:hidden;border-radius:26px;background:#e5e7eb;box-shadow:var(--shadow);isolation:isolate}
.hero-track{position:relative;min-height:390px}
.hero-slide{position:absolute;inset:0;opacity:0;transform:scale(1.025);pointer-events:none;transition:opacity .65s ease,transform 1.1s ease}
.hero-slide.active{opacity:1;transform:scale(1);pointer-events:auto;z-index:2}
.hero-slide>a,.hero-slide>div{display:block;height:100%}
.hero-slide img{width:100%;height:390px;object-fit:cover;display:block}
.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,6,23,.48),rgba(2,6,23,.04) 60%);pointer-events:none}
.hero-caption{position:absolute;z-index:3;left:clamp(22px,5vw,64px);bottom:clamp(28px,5vw,58px);max-width:560px;color:#fff}
.hero-caption h1{font-size:clamp(30px,5vw,56px);line-height:1.05;margin:0 0 10px;text-shadow:0 4px 20px rgba(0,0,0,.24)}
.hero-caption span{display:inline-flex;background:var(--secondary);color:#111827;padding:10px 15px;border-radius:999px;font-weight:900}
.slider-arrow{position:absolute;z-index:6;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);box-shadow:0 8px 24px rgba(0,0,0,.15);font-size:25px;cursor:pointer}
.slider-arrow.prev{left:16px}.slider-arrow.next{right:16px}
.slider-dots{position:absolute;z-index:6;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px}
.slider-dot{width:9px;height:9px;border:0;border-radius:99px;background:rgba(255,255,255,.55);padding:0;cursor:pointer;transition:.2s}
.slider-dot.active{width:28px;background:#fff}
.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 auto 34px}
.benefit{background:#fff;border:1px solid #e9edf3;border-radius:16px;padding:17px;display:flex;align-items:center;gap:12px}
.benefit-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--primary) 10%,#fff);color:var(--primary);font-weight:900}
.benefit strong{display:block;font-size:14px}.benefit span{font-size:12px;color:var(--muted)}
.category-showcase{margin:34px 0}
.category-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}
.category-card{background:#fff;border:1px solid #e9edf3;border-radius:17px;padding:20px 12px;text-align:center;transition:.2s;min-width:0}
.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent}
.category-letter{width:54px;height:54px;margin:0 auto 10px;border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--primary) 92%,#fff),color-mix(in srgb,var(--primary) 64%,#fff));color:#fff;display:grid;place-items:center;font-size:22px;font-weight:900}
.category-card strong{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.section{margin:36px auto}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:17px}
.section-title small{display:block;color:var(--primary);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:11px;margin-bottom:4px}
.section-title h2{margin:0;font-size:clamp(24px,3vw,34px)}
.section-head>a,.section-count{color:var(--muted);font-size:13px;font-weight:700}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card{background:#fff;border:1px solid #e9edf3;border-radius:19px;overflow:hidden;box-shadow:0 6px 22px rgba(15,23,42,.04);transition:transform .22s,box-shadow .22s,border-color .22s;display:flex;flex-direction:column;min-width:0}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:transparent}
.product-media{position:relative;background:linear-gradient(145deg,#f8fafc,#f1f5f9);overflow:hidden}
.product-media>a{display:block}
.product-media img{width:100%;height:245px;object-fit:contain;display:block;transition:transform .45s ease}
.product-card:hover .product-media img{transform:scale(1.055)}
.image-placeholder{height:245px;display:grid;place-items:center;color:#94a3b8;font-weight:700}
.discount-badge,.featured-badge{position:absolute;top:12px;z-index:2;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}
.discount-badge{left:12px;background:#dc2626;color:#fff}.featured-badge{right:12px;background:var(--secondary);color:#111827}
.product-card-body{padding:15px;display:flex;flex-direction:column;flex:1}
.product-category{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800;margin-bottom:6px}
.product-name{font-size:16px;font-weight:850;line-height:1.35;min-height:44px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.price-row{display:flex;align-items:baseline;gap:8px;margin-top:11px;flex-wrap:wrap}
.price{font-size:19px;font-weight:950;color:var(--primary)}
.old-price{text-decoration:line-through;color:#9ca3af;font-size:13px}
.stock{font-size:12px;color:var(--success);margin-top:7px;font-weight:700}.stock.out{color:var(--danger)}
.product-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:auto;padding-top:14px}
.product-actions form{display:contents}
.add-cart,.view-button,.primary-button,.secondary-button{border:0;border-radius:11px;padding:11px 14px;font-weight:900;cursor:pointer;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.add-cart,.primary-button{background:var(--primary);color:#fff}.add-cart:disabled{opacity:.45;cursor:not-allowed}
.view-button,.secondary-button{background:#eef2f7;color:var(--ink)}
.empty-state{background:#fff;padding:48px 25px;border-radius:20px;text-align:center;border:1px dashed #cbd5e1}
.empty-state h3{margin:0 0 6px}.empty-state p{color:var(--muted);margin:0}
.page-shell{padding:28px 0 45px}
.breadcrumbs{font-size:13px;color:var(--muted);display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}
.product-detail{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:38px;background:#fff;border-radius:24px;padding:25px;box-shadow:var(--shadow)}
.gallery{min-width:0}
.gallery-stage{position:relative;border-radius:19px;background:#f8fafc;overflow:hidden;border:1px solid #edf0f4}
.gallery-main{width:100%;height:510px;object-fit:contain;display:block;cursor:zoom-in;transition:opacity .18s}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.92);box-shadow:0 8px 18px rgba(0,0,0,.12);font-size:23px;cursor:pointer}.gallery-arrow.prev{left:13px}.gallery-arrow.next{right:13px}
.zoom-hint{position:absolute;right:13px;bottom:13px;background:rgba(17,24,39,.78);color:#fff;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800}
.gallery-thumbs{display:flex;gap:10px;overflow:auto;padding-top:12px;scrollbar-width:thin}
.gallery-thumb{width:76px;height:76px;border:2px solid transparent;border-radius:13px;padding:4px;background:#fff;cursor:pointer;flex:0 0 auto}.gallery-thumb.active{border-color:var(--primary)}.gallery-thumb img{width:100%;height:100%;object-fit:contain;border-radius:8px}
.product-info{padding:8px 3px}
.product-info h1{font-size:clamp(29px,4vw,43px);line-height:1.12;margin:8px 0 15px}
.product-info .price{font-size:30px}
.promo-box{background:#fff7cc;border:1px solid #fde68a;padding:13px 15px;border-radius:13px;margin:15px 0;font-weight:800}
.description-block{color:#4b5563;margin-top:18px}
.purchase-box{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.quantity-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.quantity-control{display:grid;grid-template-columns:40px 58px 40px;border:1px solid #d8dee8;border-radius:12px;overflow:hidden;background:#fff}
.quantity-control button{border:0;background:#f3f4f6;font-size:19px;cursor:pointer}.quantity-control input{width:100%;border:0;text-align:center;outline:0;font-weight:800}
.purchase-buttons{display:flex;gap:10px;margin-top:13px;flex-wrap:wrap}.purchase-buttons .primary-button{min-width:190px}
.whatsapp-button{background:#16a34a;color:#fff}
.related-products{margin-top:35px}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}
.cart-list,.order-summary,.checkout-form,.confirmation-card{background:#fff;border-radius:20px;border:1px solid #e8ecf2;box-shadow:0 7px 26px rgba(15,23,42,.05)}
.cart-list{padding:8px 20px}
.cart-item{display:grid;grid-template-columns:100px minmax(0,1fr) 140px 120px 45px;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.cart-item:last-child{border-bottom:0}
.cart-item img{width:100px;height:100px;object-fit:contain;border-radius:13px;background:#f8fafc}
.cart-item-name{font-weight:850}.cart-item-meta{font-size:12px;color:var(--muted);margin-top:4px}.cart-item-total{font-weight:900;text-align:right}
.remove-button{border:0;background:#fee2e2;color:#b91c1c;border-radius:10px;width:38px;height:38px;cursor:pointer;font-size:19px}
.order-summary{padding:22px;position:sticky;top:140px}.order-summary h3{margin-top:0}.summary-line{display:flex;justify-content:space-between;gap:14px;padding:10px 0;color:#4b5563}.summary-line.total{border-top:1px solid var(--line);margin-top:8px;padding-top:16px;color:var(--ink);font-size:19px;font-weight:900}
.summary-actions{display:grid;gap:9px;margin-top:16px}
.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:22px;align-items:start}
.checkout-form{padding:23px}.checkout-form h2{margin-top:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-field.full{grid-column:1/-1}.form-field label{display:block;font-weight:800;font-size:13px;margin-bottom:6px}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #d8dee8;border-radius:11px;padding:12px 13px;background:#fff;outline:0}.form-field textarea{min-height:100px;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}
.payment-options{display:grid;gap:9px}.payment-option{border:1px solid #d8dee8;border-radius:12px;padding:13px;display:flex;gap:10px;align-items:center}.payment-option input{width:auto}
.checkout-error{background:#fee2e2;color:#991b1b;padding:12px 14px;border-radius:11px;margin-bottom:15px}
.confirmation-card{max-width:760px;margin:0 auto;padding:30px;text-align:center}.success-mark{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:#dcfce7;color:#15803d;font-size:36px;font-weight:900}.order-number{font-size:25px;font-weight:950;color:var(--primary)}.confirmation-details{text-align:left;background:#f8fafc;padding:17px;border-radius:14px;margin:22px 0}
.site-footer{background:#0f172a;color:#cbd5e1;margin-top:52px;padding:44px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-grid h4{color:#fff;margin-top:0}.footer-grid p{margin:7px 0}.footer-brand{color:#fff;font-size:21px;font-weight:900}.footer-bottom{border-top:1px solid #263247;margin-top:28px;padding-top:17px;font-size:12px}
.floating-whatsapp{position:fixed;right:20px;bottom:20px;z-index:50;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#16a34a;color:#fff;font-size:13px;font-weight:950;box-shadow:0 12px 28px rgba(22,163,74,.34)}
.image-lightbox{position:fixed;inset:0;background:rgba(2,6,23,.9);z-index:100;display:none;align-items:center;justify-content:center;padding:28px}.image-lightbox.open{display:flex}.image-lightbox img{max-width:min(1100px,92vw);max-height:90vh;object-fit:contain}.lightbox-close{position:absolute;right:24px;top:18px;width:45px;height:45px;border:0;border-radius:50%;background:#fff;font-size:28px;cursor:pointer}
@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,1fr)}.category-cards{grid-template-columns:repeat(3,1fr)}.header-main{grid-template-columns:220px 1fr auto}.product-detail{grid-template-columns:1fr}.gallery-main{height:470px}.cart-item{grid-template-columns:85px minmax(0,1fr) 130px 100px 42px}.cart-item img{width:85px;height:85px}}
@media(max-width:820px){.header-main{display:flex;flex-wrap:wrap;gap:13px}.brand{flex:1}.site-search{order:3;width:100%;flex-basis:100%}.cart-button span{display:none}.benefit-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.hero-track,.hero-slide img{height:300px;min-height:300px}.cart-layout,.checkout-grid{grid-template-columns:1fr}.order-summary{position:static}.cart-item{grid-template-columns:80px minmax(0,1fr) 120px 40px}.cart-item img{width:80px;height:80px}.cart-item-total{grid-column:2/4;text-align:left}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:560px){.container{width:min(100% - 20px,1240px)}.announcement-inner span{display:none}.announcement-inner{justify-content:center}.brand img,.brand-mark{width:44px;height:44px;flex-basis:44px}.brand-copy strong{font-size:16px}.site-search button{padding:0 14px}.hero{border-radius:18px;margin-top:14px}.hero-track,.hero-slide img{height:215px;min-height:215px}.hero-caption{left:18px;bottom:28px}.hero-caption h1{font-size:26px}.slider-arrow{width:36px;height:36px}.benefit-grid{grid-template-columns:1fr 1fr;gap:8px}.benefit{padding:12px;align-items:flex-start}.benefit-icon{display:none}.category-cards{grid-template-columns:repeat(3,1fr);gap:8px}.category-card{padding:14px 7px}.category-letter{width:44px;height:44px;border-radius:14px}.product-grid{gap:10px}.product-media img,.image-placeholder{height:170px}.product-card-body{padding:11px}.product-name{font-size:14px;min-height:39px}.price{font-size:16px}.product-actions{grid-template-columns:1fr}.view-button{display:none}.product-detail{padding:14px;border-radius:18px}.gallery-main{height:320px}.gallery-thumb{width:62px;height:62px}.product-info h1{font-size:28px}.cart-list{padding:6px 12px}.cart-item{grid-template-columns:70px minmax(0,1fr) 38px;gap:10px}.cart-item img{width:70px;height:70px}.cart-item .quantity-control{grid-column:2/3;grid-template-columns:34px 48px 34px;width:116px}.cart-item-total{grid-column:2/3}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}
.store-alert{margin-top:14px;padding:12px 15px;border-radius:12px;font-weight:800}.store-alert.success{background:#dcfce7;color:#166534}.store-alert.error{background:#fee2e2;color:#991b1b}
