:root{color-scheme:dark;--panel:#191d24;--soft:#222833;--line:#343c4a;--text:#edf0f5;--muted:#a4adbe;--blue:#78aaff}
body{background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.55}
body.overlay-open{overflow:hidden}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2rem,4vw,3.8rem)}h2{font-size:clamp(1.6rem,3vw,2.4rem)}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button:disabled{opacity:.5;cursor:not-allowed}button{color:inherit}img{max-width:100%}[hidden]{display:none!important}
.container{width:min(1360px,calc(100% - 64px))}.topbar{background:#101216;border-bottom:1px solid var(--line);padding:22px 0;margin-bottom:30px}.brand{letter-spacing:-.045em;font-size:28px}.brand-with-logo{min-width:0}.brand-with-logo .muted{font-size:13px}.site-logo{width:66px;height:66px;background:transparent;border-radius:10px;padding:0}.topbar .button{font-size:13px}
.card,.hero-card{background:var(--panel);border:1px solid var(--line);box-shadow:none;border-radius:16px}.button{border-radius:9px;padding:12px 17px;min-height:44px;font-size:14px;line-height:1.3;transition:background .16s,transform .16s}.button:hover{background:#a91f2c}.button.secondary,.button.light{background:var(--soft);color:var(--text);border:1px solid var(--line)}.button.secondary:hover,.button.light:hover{background:#303b4e}.button.success{background:#203759;color:#c5dcff;border:1px solid #3d5f8c}.button.danger{background:#65232d}.add-cart-btn{background:#c52b35;box-shadow:0 3px 0 #761722}.add-cart-btn:hover{transform:translateY(-1px);background:#d5323f}.count-badge{background:#324f7b}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--blue)}.showcase{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#171b23}.showcase-slide{display:grid;grid-template-columns:1fr 1fr;min-height:500px}.showcase-copy{padding:52px;align-self:center}.showcase-copy h1{margin:24px 0 20px;max-width:680px}.showcase-copy p{font-size:16px;color:var(--muted);max-width:480px;min-height:50px}.showcase-price{font-size:25px;font-weight:700;margin:22px 0}.showcase-copy .button{gap:40px}.showcase-image{padding:28px;background:#20252d;display:flex;align-items:center;justify-content:center}.showcase-image img{height:430px;width:100%;object-fit:contain;border-radius:12px}.showcase-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 32px;border-top:1px solid var(--line)}.showcase-controls button,.showcase-editor li button{border:1px solid var(--line);border-radius:7px;background:#242c39;min-width:44px;min-height:44px;cursor:pointer}.slide-dots{display:flex;gap:7px;flex-wrap:wrap}.slide-dots button{min-width:22px;min-height:44px;border:0;background:transparent;position:relative}.slide-dots button:after{content:"";position:absolute;inset:20px 0;height:3px;background:#4c5666}.slide-dots button[aria-current=true]:after{background:#f34d56}.collection-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:44px 0 24px}.collection-heading h2{margin:9px 0 0}.collection-heading p{max-width:320px;font-size:14px}.hero-card{padding:18px 22px;margin-bottom:24px}.search-box{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;align-items:center;margin-bottom:10px}.search-box input,.search-box select{min-width:0}.search-box label{grid-column:1/-1;margin:0}
input,textarea,select{background:#10151d;border:1px solid var(--line);color:var(--text);border-radius:8px;min-width:0}input[type=checkbox]{width:auto;accent-color:#c52b35}input::placeholder,textarea::placeholder{color:#929bad}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{padding:12px;min-width:0}.product-card img{height:auto;aspect-ratio:1;object-fit:contain;background:#242932;border-radius:9px}.product-title{font-size:18px;padding:0 3px}.product-card p{color:var(--muted);font-size:13px;padding:0 3px}.product-card .price{font-size:20px}.price{color:#f0f3f9}.old-price{color:#a4adbe;font-size:13px}.badge{background:#20304a;color:#a9cbff;border-radius:5px;padding:5px 9px}.product-actions{gap:7px}.product-actions .button{font-size:12px;padding:10px 8px}.image-button{display:block;cursor:pointer}.detail-main-image{cursor:zoom-in;width:100%}.product-detail{padding:26px;gap:38px}.product-detail img,.thumb-button img,.thumb-card img,.admin-list-thumb,.cart-item img{background:#242932}.product-detail h1{font-size:clamp(1.9rem,4vw,3.2rem);margin:18px 0 26px}.stock-info{color:var(--blue);font-size:14px}.thumb-button,.thumb-card{background:var(--panel);border-color:var(--line)}.thumb-button[aria-pressed=true]{border-color:var(--blue)}.detail-actions .button{font-size:14px}.detail-thumbs img{height:85px}.footer{margin-top:55px;border-top:1px solid var(--line);color:var(--muted);letter-spacing:.13em;padding-top:30px}.footer a:hover{color:var(--blue)}
.admin-grid{grid-template-columns:minmax(300px,420px) minmax(0,1fr)}.admin-grid>.card{min-width:0}.users-grid{grid-template-columns:300px minmax(0,1fr)}th{background:#242b37}th,td{border-color:var(--line)}.user-item-form{border-color:var(--line)}.notice.success{background:#203b35;color:#bcebd7}.notice.error{background:#49272e;color:#ffb8bf}.danger-text{color:#ffabb2}.showcase-editor{margin-bottom:28px}.showcase-editor .collection-heading{margin:0 0 18px}.showcase-editor .search-box{grid-template-columns:1fr auto}.showcase-editor ol{list-style:none;padding:0;display:grid;gap:8px}.showcase-editor li{display:flex;gap:10px;align-items:center;border:1px solid var(--line);padding:8px;border-radius:8px}.showcase-editor li img{width:58px;height:58px;object-fit:contain}.showcase-editor li span{flex:1;min-width:0;overflow-wrap:anywhere}.showcase-editor li button{padding:8px}
.cart-drawer{background:#000a}.cart-panel{background:var(--panel);width:min(460px,100%);overflow:auto}.cart-items{flex:1;min-height:0}.cart-item{border-color:var(--line)}.cart-item-actions button{background:var(--soft);border-color:var(--line);color:var(--text);min-height:40px;min-width:40px}.cart-footer-actions{border-top:1px solid var(--line);padding-top:15px}.cart-footer-actions p{margin:0}.image-modal-content img{background:#181c24}.image-modal-close{background:#c52b35;color:white}.store-status{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:90;background:#223b5c;color:#fff;border:1px solid #6d96cf;border-radius:10px;padding:13px 22px;width:max-content;max-width:calc(100% - 32px);box-shadow:0 8px 25px #0008}.store-status:empty{display:none}
@media(min-width:1500px){.showcase-slide{min-height:540px}}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase-copy{padding:32px}.showcase-image img{height:380px}.showcase-slide{min-height:440px}.search-box{grid-template-columns:2fr 1fr 1fr}.search-box .button{width:100%}.admin-grid,.users-grid{grid-template-columns:1fr}}
@media(max-width:800px){.container{width:calc(100% - 32px)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.showcase-slide{grid-template-columns:1fr 1fr;min-height:370px}.showcase-copy{padding:24px}.showcase-copy h1{font-size:30px}.showcase-image{padding:14px}.showcase-image img{height:300px}.showcase-controls{padding:12px 18px}.product-detail{grid-template-columns:1fr}.collection-heading{align-items:start}.collection-heading p{max-width:220px}.showcase-editor li{flex-wrap:wrap}}
@media(max-width:560px){.topbar{padding:15px 0;margin-bottom:18px}.topbar-flex{gap:12px}.brand{font-size:22px}.site-logo{width:48px;height:48px}.brand-with-logo{gap:10px}.brand-with-logo .muted{max-width:210px;font-size:11px}.showcase-slide{grid-template-columns:1fr;min-height:0}.showcase-copy{padding:26px;order:2}.showcase-copy h1{font-size:29px;margin:12px 0}.showcase-copy p{font-size:13px;min-height:0;margin:10px 0}.showcase-price{font-size:22px;margin:14px 0}.showcase-image{height:240px;padding:16px}.showcase-image img{height:208px}.showcase-controls{flex-wrap:wrap;gap:4px}.showcase-controls .inline-actions{margin-left:auto}.slide-dots{gap:4px}.slide-dots button{min-width:18px}.collection-heading{display:block;margin:30px 0 18px}.collection-heading p{max-width:none}.search-box{grid-template-columns:1fr 1fr}.search-box input{grid-column:1/-1}.search-box .button{grid-column:auto}.search-box select{font-size:12px;padding:12px 8px}.hero-card{padding:14px}.product-card{padding:9px}.product-card img{height:auto}.product-title{font-size:15px}.product-card .price{font-size:17px}.product-card p{font-size:12px}.product-actions{grid-template-columns:1fr}.product-actions .button{min-height:44px}.product-detail{padding:16px;gap:16px}.product-detail h1{font-size:29px}.two-col{grid-template-columns:1fr}.showcase-editor li span{font-size:13px}.showcase-editor li img{width:40px;height:40px}.showcase-editor li button{min-width:38px}.footer{font-size:11px}.cart-panel{padding:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.add-cart-btn:hover{transform:none}}
/* Reserve the tallest slide so automatic changes never move the catalog. */
.showcase-slides{display:grid}.showcase-slide{grid-area:1/1}.showcase-slide[hidden]{display:grid!important;visibility:hidden;pointer-events:none}.showcase-copy h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.showcase-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(max-width:560px){.showcase-copy h1{-webkit-line-clamp:3}}
.video-grid{display:grid;gap:14px;min-width:0}.video-card{margin:0;min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:#13171e}.video-card video{display:block;width:100%;max-height:460px;background:#08090b;border-radius:7px}.video-card figcaption{overflow-wrap:anywhere;margin-top:8px}.video-card label{margin:10px 0 0}.product-videos{margin:28px 0}#uploadStatus{margin-top:14px;overflow-wrap:anywhere}#uploadProgress{width:100%;accent-color:#c52b35;margin-top:10px}

/* Full-area product photography and optional storefront background. */
html{background:#101216}
.storefront{isolation:isolate;background:#101216}
.site-background{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.site-background img,.site-background video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.background-toggle{position:fixed;bottom:18px;left:18px;z-index:30;font-size:11px;padding:9px 12px;max-width:calc(100% - 36px)}
.product-card{overflow:hidden}.product-card img{object-fit:cover;background:transparent}
.showcase-image{padding:0;overflow:hidden;align-self:stretch}.showcase-image img{width:100%;height:100%;min-height:430px;object-fit:cover;border-radius:0}
.detail-main-image{padding:0;overflow:hidden;width:100%}.detail-main-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
@media(max-width:1100px){.showcase-image img{min-height:380px}}
@media(max-width:800px){.showcase-image img{min-height:300px}}
@media(max-width:560px){.showcase-image{padding:0;height:280px}.showcase-image img{height:280px;min-height:0}}
.showcase-image{position:relative}.showcase-image img{position:absolute;inset:0;min-height:0;height:100%;width:100%}
/* Keep the chosen media visible through the storefront panels. */
.storefront:has(.site-background){--panel:rgba(25,29,36,.88)}
.storefront:has(.site-background) .hero-card{background:var(--panel)}
.storefront:has(.site-background) .topbar{background:rgba(16,18,22,.88)}
.storefront:has(.site-background) .showcase{background:rgba(23,27,35,.86)}
.contact-actions{position:fixed;right:24px;bottom:24px;z-index:35}
.contact-actions a,.contact-actions button{display:flex;align-items:center;justify-content:center;gap:9px;border:0;font:700 14px/1.3 "Segoe UI",Arial,sans-serif;text-decoration:none;cursor:pointer}
.contact-actions svg{width:25px;height:25px;flex-shrink:0}
.contact-actions .contact-whatsapp{background:#128c45;color:#fff;padding:15px 20px;border-radius:32px;box-shadow:0 5px 22px #0006}
.contact-actions .contact-whatsapp:hover{background:#0d7238}
.contact-actions .contact-call,.contact-actions .contact-cart{display:none}
body.overlay-open .contact-actions{visibility:hidden}
@media(max-width:800px){
 .storefront{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .contact-actions{left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#191d24;border-top:1px solid #343c4a;padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px));gap:6px;box-shadow:0 -4px 20px #0005}
 .contact-actions a,.contact-actions button{min-height:58px;flex-direction:column;gap:3px;padding:5px;border-radius:9px;font-size:12px}
 .contact-actions .contact-whatsapp{padding:5px;border-radius:9px;box-shadow:none}
 .contact-actions .contact-call,.contact-actions .contact-cart{display:flex;background:#222833;color:#edf0f5}
 .contact-actions .count-badge{height:18px;min-width:18px;padding:0 4px;font-size:10px}
 .storefront .background-toggle,.storefront .store-status{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
}
