/*
Theme Name: dé Eesti
Description: Elektriauto laadijate e-poe kujundus (WooCommerce'iga).
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: de-eesti
*/
:root{--brand:#e0301e;--ink:#1c1f24;--surface:#f5f4f1;--muted:#5f6670;--border:#e5e7eb}
*{box-sizing:border-box}body{margin:0;font-family:Manrope,system-ui,sans-serif;color:var(--ink);background:#fdfdfb}
a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}
.wrap{max-width:1440px;margin:auto;padding:0 24px}
.topbar{background:var(--surface);text-align:center;font-size:12px;font-weight:600;padding:8px;border-bottom:1px solid var(--border)}
.site-header{position:sticky;top:0;z-index:40;background:rgba(253,253,251,.95);border-bottom:1px solid var(--border)}
.site-header .wrap{display:flex;align-items:center;gap:28px;height:80px}
.logo{font-size:36px;font-weight:900;color:var(--brand)}
.main-nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0}.main-nav a{font-size:14px;font-weight:500;color:var(--muted)}.main-nav a:hover,.main-nav .current-menu-item a{color:var(--ink)}
.cart-link{margin-left:auto;position:relative;font-weight:600}.cart-count{background:var(--brand);color:#fff;border-radius:99px;font-size:11px;padding:1px 6px;margin-left:4px}
.menu-toggle{display:none;background:none;border:0;font-size:24px}
.hero{position:relative;min-height:72vh;display:flex;align-items:flex-end;background-size:cover;background-position:center;color:#fff}
.hero:before{content:"";position:absolute;inset:0;background:rgba(10,12,16,.55)}.hero .wrap{position:relative;padding-bottom:80px;width:100%}
.hero h1{font-size:clamp(40px,6vw,72px);line-height:1.05;max-width:700px;margin:0}.hero p{max-width:520px;font-size:18px;line-height:1.6;color:#eee}
.btn,.button,button.button,.woocommerce a.button,.woocommerce button.button{display:inline-block;background:var(--brand)!important;color:#fff!important;border:0;border-radius:8px;padding:12px 22px;font-weight:700;cursor:pointer}
.btn.soft{background:rgba(255,255,255,.9)!important;color:var(--ink)!important}
.section{padding:64px 0}.section h2{font-size:30px;margin:0 0 32px}
.cats{display:grid;gap:24px;grid-template-columns:repeat(3,1fr)}.cats img{aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:var(--surface);width:100%}
.ship{display:inline-block;background:var(--surface);padding:8px 12px;border-radius:8px;font-size:14px;font-weight:500;margin-bottom:24px}.ship:before{content:"✓ ";color:var(--brand)}
.page-intro{background:var(--surface);padding:96px 0}.page-intro h1{font-size:clamp(36px,5vw,60px);margin:0}
.eyebrow{color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.entry{max-width:900px;padding:48px 24px;margin:auto;line-height:1.7}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px}.woocommerce ul.products:before{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important}
.woocommerce ul.products li.product img{background:var(--surface);border-radius:8px;aspect-ratio:1;object-fit:cover}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important}
.woocommerce span.onsale{background:var(--brand)!important;border-radius:4px!important;min-height:0!important;line-height:1.6!important;padding:2px 8px!important}
.woocommerce .price{color:var(--ink)!important;font-weight:700}.woocommerce .price del{color:var(--muted);font-weight:400}
.woocommerce-product-gallery{background:var(--surface);border-radius:8px}
.site-footer{background:var(--ink);color:#f7f7f5;margin-top:64px}.site-footer .cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;padding:64px 24px}
.site-footer h3{font-size:14px}.site-footer ul{list-style:none;padding:0}.site-footer li{margin:10px 0;font-size:14px;color:#b4b8bf}
.copy{border-top:1px solid #3a3f46;text-align:center;font-size:12px;color:#b4b8bf;padding:20px}
@media(max-width:900px){.main-nav{display:none;position:absolute;top:80px;left:0;right:0;background:#fff;padding:20px;border-bottom:1px solid var(--border)}.main-nav.open{display:block}.main-nav ul{flex-direction:column;gap:12px}.menu-toggle{display:block}.cats,.woocommerce ul.products{grid-template-columns:1fr 1fr}.site-footer .cols{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.cats,.woocommerce ul.products,.site-footer .cols{grid-template-columns:1fr}}
