/* Latek Premium Storefront v3 — loaded after ecommerce.css */
:root{
  --v3-ink:#14171b;
  --v3-muted:#66717c;
  --v3-line:#e4e8ec;
  --v3-surface:#f6f7f8;
  --v3-surface-2:#eef1f3;
  --v3-dark:#0a0d10;
  --v3-accent:#f1512e;
  --v3-accent-dark:#cf3d20;
  --v3-radius:22px;
  --v3-shadow:0 22px 60px rgba(16,24,32,.10);
}
body.storefront{background:#fff;color:var(--v3-ink)}
.container{width:min(1320px,calc(100% - 48px))}
.section{padding:96px 0}
.section-heading{margin-bottom:38px}
.section-heading h2{font-size:clamp(36px,4.2vw,58px);line-height:1.04;letter-spacing:-.045em;margin:6px 0 12px}
.section-heading p{max-width:720px;font-size:17px;color:var(--v3-muted)}
.eyebrow{letter-spacing:.16em;font-size:12px;font-weight:900;color:var(--v3-accent)}
.btn{border-radius:11px;min-height:50px;padding-inline:22px}
.btn-primary{background:linear-gradient(135deg,var(--v3-accent),#ff7047);border-color:transparent;color:#fff}
.btn-primary:hover{background:linear-gradient(135deg,var(--v3-accent-dark),var(--v3-accent))}
.btn-outline{border-color:#cdd4db;background:#fff;color:#15191d}
.btn-outline:hover{border-color:#111820;background:#f7f8f9}
.btn-whatsapp{background:#1eaa59;color:#fff}
.full-width{width:100%}

/* Header */
.site-header{background:rgba(8,10,12,.98);box-shadow:0 6px 22px rgba(0,0,0,.14)}
.nav-row{min-height:84px}
.main-nav>a,.nav-dropdown>button{font-size:13px;letter-spacing:.01em}
.header-search{width:230px;border:1px solid rgba(255,255,255,.08)}
.nav-quote{min-height:43px}

/* Hero */
.hero-commerce-v3{min-height:710px;display:grid;align-items:center;background-position:center;background-size:cover}
.hero-commerce-v3 .hero-shade{background:linear-gradient(90deg,rgba(6,8,10,.95) 0%,rgba(6,8,10,.82) 47%,rgba(6,8,10,.38) 100%)}
.hero-commerce-v3 .hero-copy{max-width:760px}
.hero-commerce-v3 h1{font-size:clamp(48px,5.4vw,78px);line-height:.98;letter-spacing:-.055em}
.hero-commerce-v3 .hero-copy>p{max-width:720px;font-size:20px;line-height:1.65;color:#d8dde2}
.hero-commerce-v3 .hero-card{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.96);box-shadow:0 34px 90px rgba(0,0,0,.30);border-radius:24px}
.hero-commerce-v3 .hero-card-top{padding-bottom:18px;border-bottom:1px solid var(--v3-line);margin-bottom:20px}
.hero-commerce-v3 .hero-card label{font-weight:750;color:#343a40}
.hero-commerce-v3 .hero-card select{background:#f7f8f9;border:1px solid #dce1e5;border-radius:10px}

/* Trust */
.trust-band{background:#fff;border-bottom:1px solid var(--v3-line)}
.trust-items>div{min-height:92px}
.trust-items span{color:var(--v3-accent)}
.trust-items b{font-size:14px;color:#262b30}

/* Category cards */
.category-section-v3{background:#fff}
.category-cards-v3{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.category-card-v3{min-height:0;background:#fff;color:var(--v3-ink);border:1px solid var(--v3-line);border-radius:var(--v3-radius);box-shadow:0 12px 38px rgba(16,24,32,.07);overflow:hidden;transition:.28s}
.category-card-v3:hover{transform:translateY(-7px);box-shadow:0 24px 62px rgba(16,24,32,.13);border-color:#d2d8de}
.category-card-v3 .category-media{position:relative;height:245px;display:grid;place-items:center;background:linear-gradient(145deg,#f8f9fa,#edf0f2);overflow:hidden}
.category-card-v3 .category-media:after{content:"";position:absolute;inset:auto -70px -120px auto;width:260px;height:260px;border-radius:50%;background:rgba(241,81,46,.07)}
.category-card-v3 .category-media img{width:100%;height:100%;padding:24px;object-fit:contain;background:transparent;transition:.32s;filter:drop-shadow(0 18px 18px rgba(20,28,36,.15))}
.category-card-v3:hover .category-media img{transform:scale(1.045) translateY(-3px)}
.category-count{position:absolute;left:16px;top:16px;z-index:2;padding:6px 10px;border-radius:999px;background:rgba(10,13,16,.86);color:#fff!important;font-size:11px!important;font-weight:800!important}
.category-card-v3 .category-content{padding:25px 25px 28px}
.category-card-v3 .category-content>span{color:var(--v3-accent);font-size:11px;font-weight:900}
.category-card-v3 h3{font-size:22px;line-height:1.18;min-height:52px;margin:8px 0}
.category-card-v3 p{color:var(--v3-muted);min-height:46px;margin:0 0 21px;font-size:14px}
.category-card-v3 b{display:flex;align-items:center;justify-content:space-between;color:#15191d}
.category-card-v3 b i{font-style:normal;color:var(--v3-accent);font-size:22px}

/* Product cards */
.featured-v3{background:linear-gradient(145deg,#090c0f,#13181d)}
.product-grid{gap:22px}
.product-card-v3{background:#fff!important;color:var(--v3-ink)!important;border:0!important;border-radius:20px!important;box-shadow:0 14px 42px rgba(0,0,0,.14);overflow:hidden}
.product-card-v3:hover{transform:translateY(-8px);box-shadow:0 28px 70px rgba(0,0,0,.22)}
.product-card-v3 .product-card-image{aspect-ratio:1.08/1;background:linear-gradient(145deg,#f8f9fa,#eceff1);padding:0;position:relative}
.product-card-v3 .product-card-image:after{content:"";position:absolute;left:50%;bottom:15px;width:68%;height:22px;transform:translateX(-50%);border-radius:50%;background:rgba(20,28,36,.12);filter:blur(14px)}
.product-card-v3 .product-card-image img{position:relative;z-index:1;width:100%;height:100%;padding:24px;object-fit:contain;filter:drop-shadow(0 16px 18px rgba(20,28,36,.16))}
.product-card-v3 .image-view-label{position:absolute;z-index:3;right:15px;bottom:14px;background:rgba(255,255,255,.92);color:#15191d;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:850;opacity:0;transform:translateY(5px);transition:.22s}
.product-card-v3:hover .image-view-label{opacity:1;transform:none}
.product-card-v3 .product-card-body{padding:22px}
.product-card-v3 .product-meta>span{color:var(--v3-accent);font-weight:900;letter-spacing:.08em;font-size:12px}
.product-card-v3 h3{font-size:20px;min-height:50px;margin:8px 0 8px}
.product-card-v3 p{color:var(--v3-muted)!important;min-height:62px;font-size:13px;line-height:1.55}
.product-card-v3 .mini-specs{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 17px}
.product-card-v3 .mini-specs span{padding:6px 9px;border:1px solid #e0e5e9;background:#f8f9fa;border-radius:8px;color:#4f5963;font-size:11px}
.product-card-v3 .stock-chip.in-stock{background:#eaf8ef;border-color:#caecd6;color:#167746}
.product-card-v3 .stock-chip.on-request{background:#fff6e7;border-color:#f2dfbd;color:#87580c}
.product-card-v3 .product-price{border-top:1px solid #edf0f2;padding-top:16px}
.product-card-v3 .product-price strong{color:#15191d}
.product-card-v3 .product-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}
.product-card-v3 .product-actions form,.product-card-v3 .product-actions .btn{width:100%}
.card-icon-actions button{background:#f4f6f8;border:1px solid #e2e6ea;color:#38414a}

/* L2026 showcase */
.battery-showcase-v3{background:#f5f7f8}
.battery-showcase-v3 .showcase-grid{gap:86px}
.product-studio-surface{background:linear-gradient(145deg,#ffffff,#eef1f3)!important;border:1px solid #dde3e8;box-shadow:var(--v3-shadow)}
.showcase-visual.product-studio-surface{min-height:610px}
.showcase-visual.product-studio-surface:before{background:radial-gradient(circle,rgba(241,81,46,.13),transparent 66%)}
.showcase-visual.product-studio-surface img{width:92%;max-height:560px;object-fit:contain;filter:drop-shadow(0 24px 30px rgba(15,22,29,.18))}
.floating-label{background:#0c1014;color:#fff;border-radius:999px;padding:8px 13px;left:22px;top:22px}
.feature-matrix>div{background:#fff;border:1px solid #dfe4e8;box-shadow:0 10px 28px rgba(20,28,36,.05)}
.feature-matrix b{font-size:25px}
.feature-matrix span{color:var(--v3-muted)}

/* Product detail */
.breadcrumb{background:#f8f9fa;border-bottom:1px solid #e7ebee}
.product-detail-v3{padding-top:68px}
.product-detail-v3 .product-detail-grid{grid-template-columns:minmax(0,1.04fr) minmax(420px,.96fr);gap:70px;align-items:start}
.product-gallery{min-width:0}
.main-product-image.product-studio-surface{min-height:640px;border-radius:26px;padding:25px;display:grid;place-items:center;overflow:hidden}
.main-product-image.product-studio-surface:before{content:"";position:absolute;inset:auto -20% -36% 25%;height:70%;border-radius:50%;background:radial-gradient(circle,rgba(241,81,46,.11),transparent 67%)}
.main-product-image.product-studio-surface img{position:relative;z-index:1;width:100%;height:100%;max-height:590px;object-fit:contain;filter:drop-shadow(0 28px 30px rgba(18,26,34,.18))}
.main-product-image button{z-index:2;background:#fff;border:1px solid #d5dce2;color:#15191d;box-shadow:0 10px 24px rgba(10,18,24,.10)}
.thumbnail-row{display:flex;gap:10px;margin-top:12px;overflow:auto;padding:3px}
.thumbnail-row button{width:92px;height:92px;border:1px solid #dfe4e8;background:#f7f8f9;border-radius:13px;padding:7px;flex:none;transition:.2s}
.thumbnail-row button.active,.thumbnail-row button:hover{border-color:var(--v3-accent);box-shadow:0 0 0 2px rgba(241,81,46,.12)}
.thumbnail-row img{width:100%;height:100%;object-fit:contain}
.product-summary{position:sticky;top:120px}
.product-summary .model-code{color:var(--v3-accent);font-size:12px;letter-spacing:.13em;font-weight:900}
.product-summary h1{font-size:clamp(44px,4.3vw,66px);line-height:.98;letter-spacing:-.05em;margin:10px 0 20px}
.product-summary .lead{color:var(--v3-muted);font-size:18px;line-height:1.65}
.summary-trust{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.summary-trust span{background:#eaf7ef;color:#157343;border:1px solid #d5eedf;padding:7px 10px;border-radius:9px;font-size:12px}
.summary-price{padding:24px 0;border-top:1px solid #dfe4e8;border-bottom:1px solid #dfe4e8}
.summary-price strong{font-size:27px}
.summary-price small{color:var(--v3-muted)}
.variation-box{background:#f7f8f9;border:1px solid #e0e5e9;border-radius:16px;padding:18px;margin-top:20px}
.variation-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.variation-box select{border:1px solid #d7dde2;background:#fff;border-radius:9px}
.purchase-actions{display:grid;gap:10px;margin-top:22px}
.purchase-actions #buy-form{display:grid;grid-template-columns:90px 1fr 1fr;gap:10px;align-items:end}
.purchase-actions .secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.delivery-box{margin-top:20px;border:1px solid #dfe4e8;border-radius:16px;overflow:hidden;background:#fff}
.delivery-box>div{grid-template-columns:115px 1fr;padding:14px 15px}
.delivery-box b{font-size:12px}
.delivery-box span{color:var(--v3-muted);font-size:13px}
.media-placeholder{background:#f7f8f9;border-color:#d5dce2;color:#4e5964}
.product-tabs{background:#fff;border:1px solid #e0e5e9;border-radius:22px;padding:30px;box-shadow:0 18px 45px rgba(20,28,36,.07)}
.tabs{border-bottom:1px solid #e1e6ea;overflow:auto}
.tabs button{white-space:nowrap}
.tabs button.active{color:var(--v3-accent);border-bottom-color:var(--v3-accent)}
.benefit-grid>div{background:#f7f8f9;border:1px solid #e1e6ea}
.spec-table{border-radius:12px;overflow:hidden}
.spec-table th{background:#f4f6f7}

/* Quality and CTA */
.quality-image{border-radius:26px;overflow:hidden;box-shadow:var(--v3-shadow)}
.sales-options article{border:1px solid #e0e5e9;background:#fff;box-shadow:0 10px 32px rgba(20,28,36,.05)}
.cta-panel{background:linear-gradient(135deg,#10151a,#202830);border-radius:28px}

/* Forms and admin image management */
.admin-product-preview{background:#f5f7f8!important;border:1px solid #dfe4e8!important;object-fit:contain!important;padding:10px!important;border-radius:14px!important;max-height:260px!important;width:100%!important}
.admin-gallery-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 16px}
.admin-gallery-item{position:relative;display:grid;gap:6px;border:1px solid #dfe4e8;background:#f7f8f9;border-radius:12px;padding:7px}
.admin-gallery-item img{width:100%;height:95px;object-fit:contain;background:#fff;border-radius:8px}
.admin-gallery-item label{font-size:11px;display:flex;align-items:center;gap:6px}
.admin-gallery-item input{width:auto}
.upload-help{font-size:12px;color:#68737e;line-height:1.5;margin-top:-4px}
.upload-ready{padding:10px 12px;background:#ecf8f0;border:1px solid #d0edd9;color:#176d40;border-radius:10px;font-size:12px;margin-bottom:12px}
.upload-warning{padding:10px 12px;background:#fff2e9;border:1px solid #f4d3bd;color:#8a461b;border-radius:10px;font-size:12px;margin-bottom:12px}

@media(max-width:1180px){
  .category-cards-v3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-detail-v3 .product-detail-grid{grid-template-columns:1fr;gap:42px}
  .product-summary{position:static}
  .main-product-image.product-studio-surface{min-height:560px}
  .showcase-grid{grid-template-columns:1fr!important}
  .showcase-copy{max-width:760px}
}
@media(max-width:900px){
  .container{width:min(100% - 30px,1320px)}
  .section{padding:76px 0}
  .hero-commerce-v3{min-height:760px}
  .hero-commerce-v3 .hero-grid{grid-template-columns:1fr}
  .hero-commerce-v3 .hero-card{max-width:650px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .container{width:min(100% - 22px,1320px)}
  .section{padding:62px 0}
  .section-heading h2{font-size:36px}
  .hero-commerce-v3{min-height:auto;padding:70px 0}
  .hero-commerce-v3 h1{font-size:44px}
  .hero-commerce-v3 .hero-copy>p{font-size:17px}
  .hero-commerce-v3 .hero-note{display:grid;gap:6px}
  .category-cards-v3,.product-grid{grid-template-columns:1fr}
  .category-card-v3 .category-media{height:235px}
  .product-card-v3 h3,.product-card-v3 p{min-height:0}
  .showcase-visual.product-studio-surface{min-height:420px}
  .showcase-visual.product-studio-surface img{width:96%;max-height:390px}
  .feature-matrix{grid-template-columns:1fr 1fr}
  .main-product-image.product-studio-surface{min-height:430px;padding:12px}
  .product-summary h1{font-size:42px}
  .variation-grid,.purchase-actions #buy-form,.purchase-actions .secondary-actions{grid-template-columns:1fr}
  .purchase-actions #buy-form label{max-width:120px}
  .product-tabs{padding:18px}
  .tabs{display:flex}
  .admin-gallery-preview{grid-template-columns:repeat(2,minmax(0,1fr))}
}
