/*
Theme Name: Nilan Eesti
Description: Nilan soojuspumpade ja ventilatsiooniseadmete edasimüüja teema: seadmete kataloog, hinnapäringud, hooldusvorm ja WooCommerce'i pood filtritele ja varuosadele.
Version: 1.1.6
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: nilan-eesti
WC requires at least: 8.0
*/

:root{
  --red:#de1e24;
  --red-dark:#b8151a;
  --ink:#231f20;
  --muted:#5d5a5b;
  --grey:#f1f1f1;
  --white:#ffffff;
  --dark:#14161c;
  --font:"Lato","Helvetica Neue",Arial,sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6}
h1,h2,h3,h4{margin:0;line-height:1.25;text-wrap:balance}
h1{font-size:clamp(1.7rem,3vw,2.15rem);font-weight:400;color:#000}
h2{font-size:clamp(1.35rem,2.2vw,1.6rem);font-weight:700;color:var(--red)}
h3{font-size:1.1rem;font-weight:700;color:var(--red)}
p{margin:0}
a{color:var(--red)}
img,svg{max-width:100%;height:auto}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid #1d6fd8;outline-offset:2px}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.narrow{max-width:1000px;margin:0 auto;padding:0 20px}
.screen-reader-text,.skip{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.skip:focus{left:12px;top:12px;width:auto;height:auto;background:#fff;padding:8px;z-index:200}
.center{text-align:center}

/* Buttons */
.btn,.button,.wp-element-button,.wc-block-components-button:not(.is-link){display:inline-flex;align-items:center;justify-content:center;gap:14px;background:var(--red)!important;color:#fff!important;border:0!important;border-radius:120px!important;padding:10px 12px 10px 24px;font-weight:700;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;line-height:1.4}
.btn::after{content:"";width:22px;height:22px;flex:none;border-radius:50%;background:rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.button,.wp-element-button{padding:12px 24px}
.btn:hover,.button:hover,.wp-element-button:hover{background:var(--red-dark)!important}
.btn.white{background:#fff!important;color:var(--red)!important}
.btn.white::after{background:rgba(222,30,36,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23de1e24' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.btn.lg{font-size:.85rem;padding:12px 14px 12px 28px}

/* Header */
.site-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:0;position:relative}}
.head-top{display:flex;align-items:center;gap:24px;min-height:84px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.logo img{max-height:52px;width:auto}
.logo .mark{width:42px;height:42px;border-radius:50%;background:var(--red);display:flex;align-items:center;justify-content:center}
.logo .name{font-weight:900;font-size:1.45rem;letter-spacing:.02em;line-height:1;text-transform:uppercase}
.logo .name small{display:block;font-weight:400;font-size:.72rem;letter-spacing:.04em;color:var(--muted);margin-top:3px;text-transform:none}
.head-links{margin-left:auto;display:flex;align-items:center;gap:26px}
.head-links a.plain{color:var(--ink);text-decoration:none;font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;display:inline-flex;align-items:center;gap:6px}
.head-links a.plain:hover{color:var(--red)}
.menu-toggle{display:none;background:var(--grey);border:0;border-radius:40px;padding:9px 18px;font-weight:700;cursor:pointer}
.main-nav ul{list-style:none;margin:0;padding:0}
.main-nav > ul{display:flex;flex-wrap:wrap;gap:4px 30px;padding:6px 0 14px}
.main-nav li{position:relative}
.main-nav > ul > li > a{color:var(--ink);text-decoration:none;font-size:1rem;padding:6px 0;display:inline-flex;align-items:center;gap:6px}
.main-nav > ul > li > a:hover,.main-nav .current-menu-item > a,.main-nav .current-menu-ancestor > a{color:var(--red)}
.main-nav .menu-item-has-children > a::after{content:"";width:6px;height:6px;border-right:1.5px solid #999;border-bottom:1.5px solid #999;transform:rotate(45deg) translateY(-2px);margin-left:4px}
.main-nav .sub-menu{position:absolute;top:100%;left:-16px;background:#fff;border-radius:14px;box-shadow:0 14px 40px rgba(0,0,0,.14);padding:14px 22px;min-width:270px;display:none;z-index:60}
.main-nav li:hover > .sub-menu,.main-nav li:focus-within > .sub-menu,.main-nav li.open > .sub-menu{display:block}
.main-nav .sub-menu a{display:block;color:var(--ink);text-decoration:none;padding:6px 0;font-size:.95rem}
.main-nav .sub-menu a:hover{color:var(--red)}
.main-nav .sub-menu .sub-menu{position:static;box-shadow:none;padding:0 0 0 14px;display:block;min-width:0}
@media (max-width:900px){
  .head-links a.plain:not(.cart){display:none}
  .head-links .cart-text,.head-links .cart .nilan-cart-total{display:none}
  .logo img,.custom-logo{max-height:36px}
  .menu-toggle{display:block}
  .main-nav{display:none}
  .main-nav.open{display:block}
  .main-nav > ul{flex-direction:column;padding-bottom:20px}
  .main-nav .sub-menu{position:static;box-shadow:none;padding:4px 0 8px 14px;min-width:0;display:block}
}
@media (max-width:560px){.head-links .btn{display:none}}

/* Hero */
.arc{display:block;width:100%}
.hero{position:relative;background:#e9ecee}
.hero .scene{display:block;width:100%;height:clamp(300px,38vw,500px);overflow:hidden}
.hero .scene svg,.hero .scene img{width:100%;height:100%;display:block;object-fit:cover}
.hero .arc-top{position:absolute;top:0;left:0;z-index:2;height:60px}
.hero .arc-bottom{position:absolute;bottom:0;left:0;height:70px}
.hero .box{z-index:4;position:absolute;left:max(20px,calc((100vw - 1180px)/2 + 20px));top:50%;transform:translateY(-40%);background:rgba(255,255,255,.88);border-radius:22px;padding:34px 40px;max-width:500px;box-shadow:0 10px 40px rgba(0,0,0,.08);z-index:3}
.hero .box p{margin-top:14px;color:var(--muted)}
@media (max-width:700px){.hero .box{position:relative;left:auto;transform:none;margin:-60px 16px 0;max-width:none;padding:24px}.hero .arc-bottom{display:none}.hero{padding-bottom:20px;background:var(--grey)}.hero h1{font-size:1.45rem}}

/* Sections */
section.sec{padding:56px 0}
section.grey{background:var(--grey)}
.sec-title{text-align:center;margin-bottom:12px}
.sec-sub{text-align:center;color:var(--muted);max-width:640px;margin:0 auto 34px}
.left-title{color:var(--red);margin-bottom:20px}
.more-row{text-align:center;margin-top:34px}

/* Forms */
.quote-card{background:#fff;border-radius:22px;padding:40px 48px;position:relative}
.quote-card.on-white{background:var(--grey)}
.quote-card.on-white .field input,.quote-card.on-white .field select,.quote-card.on-white .field textarea{background:#fff}
.quote-card h2{text-align:center;max-width:620px;margin:0 auto 28px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px 26px}
.field{display:flex;flex-direction:column;gap:4px}
.field.full{grid-column:1/-1}
.field label{font-size:.85rem;font-weight:700}
.field .req{color:var(--red)}
.field input,.field select,.field textarea{border:0;background:#eee;border-radius:30px;padding:12px 18px;width:100%}
.field textarea{border-radius:18px;min-height:96px;resize:vertical}
.fine{font-size:.82rem;color:var(--muted);margin:18px 0 14px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:.88rem;margin-top:14px}
.hp{position:absolute!important;left:-9999px}
.form-msg{margin:0 0 20px;border-radius:14px;padding:14px 18px;font-size:.95rem}
.form-msg.ok{background:#eef8f1}
.form-msg.bad{background:#fdecec;color:var(--red-dark);font-weight:700}
.quote-card .badge{position:absolute;right:-18px;top:-18px}
@media (max-width:640px){.quote-card{padding:28px 20px}.grid2{grid-template-columns:1fr}.quote-card .badge{display:none}}

/* Products (devices) */
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:46px 30px}
.products-grid.four{grid-template-columns:repeat(4,1fr)}
.prod{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.prod .img{height:250px;display:flex;align-items:flex-end;justify-content:center;margin-bottom:10px}
.prod .img svg{height:240px;width:auto;max-width:100%}
.prod .img img{max-height:240px;width:auto;object-fit:contain}
.prod h3{font-size:1rem}
.prod h3 a{text-decoration:none}
.prod p{font-size:.92rem;max-width:280px;min-height:2.9em}
.prod .btn{margin-top:10px}
@media (max-width:900px){.products-grid,.products-grid.four{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.products-grid,.products-grid.four{grid-template-columns:1fr}}

/* Replace block */
.replace-img{border-radius:22px;overflow:hidden;background:#dfe3e6}
.replace-img svg,.replace-img img{display:block;width:100%;height:auto}
.replace-text{padding:22px 4px 0}
.replace-text h3{margin-bottom:6px}
.replace-text ul{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:6px}
.replace-text li{display:flex;gap:10px;align-items:baseline}
.replace-text li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--red);flex:none;transform:translateY(-1px)}
.replace-text li a{color:var(--red);font-weight:700;text-decoration:none;font-size:.95rem}
.replace-text li a:hover{text-decoration:underline}

/* Promo cards */
.promos{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.promo{background:#fff;border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:10px}
.promo .pic{border-radius:16px;overflow:hidden;height:220px;background:linear-gradient(180deg,#cfe6f5,#f4f8fb)}
.promo .pic svg,.promo .pic img{width:100%;height:100%;display:block;object-fit:cover}
.promo h3{margin-top:6px}
.promo p{font-size:.93rem}
.promo .btn{align-self:flex-start;margin-top:auto}
@media (max-width:900px){.promos{grid-template-columns:1fr}}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.news-card{background:var(--grey);border-radius:22px;padding:26px 28px;display:flex;flex-direction:column;gap:10px;min-height:220px}
section.grey .news-card{background:#fff}
.news-card .kicker,.ref-card .kicker,.kicker{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.news-card h3{font-size:1.15rem}
.news-card h3 a{text-decoration:none}
.news-card p{font-size:.92rem;color:var(--muted)}
.news-card .btn{align-self:flex-start;margin-top:auto}
.ref-card{background:#fff;border-radius:22px;overflow:hidden;display:flex;flex-direction:column}
section:not(.grey) .ref-card{background:var(--grey)}
.ref-card .pic{height:200px;background:linear-gradient(180deg,#d9e7ef,#eef3f6)}
.ref-card .pic svg,.ref-card .pic img{width:100%;height:100%;display:block;object-fit:cover}
.ref-card .body{padding:20px 24px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.ref-card h3 a{text-decoration:none}
@media (max-width:900px){.cards{grid-template-columns:1fr}}

/* Dealer CTA */
.dealer{display:grid;grid-template-columns:1fr 1fr;border-radius:22px;overflow:hidden;background:var(--red);color:#fff}
.dealer .txt{padding:48px;display:flex;flex-direction:column;justify-content:center;gap:26px}
.dealer h2{color:#fff;font-size:clamp(1.5rem,2.6vw,2.1rem);font-weight:400}
.dealer .pic{background:#f3efe9;min-height:300px}
.dealer .pic svg,.dealer .pic img{width:100%;height:100%;display:block;object-fit:cover}
@media (max-width:800px){.dealer{grid-template-columns:1fr}.dealer .txt{padding:32px}}

/* Page head */
.page-head{background:var(--grey);padding:40px 0 34px}
.crumbs{font-size:.85rem;color:var(--muted);margin-bottom:8px}
.crumbs a{color:var(--muted)}
.page-head h1{color:var(--red);font-weight:700}
.page-head p,.page-head .lead{color:var(--muted);margin-top:8px;max-width:680px}

/* Catalog */
.catalog{display:grid;grid-template-columns:240px 1fr;gap:40px;padding:40px 0 70px}
.filters{align-self:start;position:sticky;top:150px}
.filters h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:10px}
.filters a{display:flex;justify-content:space-between;width:100%;border-radius:30px;padding:8px 14px;text-decoration:none;color:var(--ink)}
.filters a:hover{background:var(--grey)}
.filters a.active{background:var(--red);color:#fff;font-weight:700}
.filters .n{opacity:.7;font-size:.85rem}
.searchbar{display:flex;gap:14px;align-items:center;margin-bottom:30px;flex-wrap:wrap}
.searchbar input{flex:1;min-width:220px;border:0;background:#eee;border-radius:30px;padding:12px 20px}
.count{color:var(--muted);font-size:.9rem}
@media (max-width:860px){.catalog{grid-template-columns:1fr}.filters{position:static}}

/* Single device */
.device{display:grid;grid-template-columns:380px 1fr;gap:48px;padding:48px 0}
.device .pic{background:#fff;display:flex;align-items:center;justify-content:center;border-radius:22px;border:1px solid #eee;padding:30px;align-self:start}
.device .pic svg{height:380px;width:auto;max-width:100%}
.device .pic img{max-height:380px;width:auto}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.chip{background:var(--grey);border-radius:20px;padding:3px 12px;font-size:.8rem;font-weight:700;text-decoration:none;color:var(--ink)}
a.chip:hover{background:var(--red);color:#fff}
.spec-table{width:100%;border-collapse:collapse;margin:18px 0;font-variant-numeric:tabular-nums}
.spec-table td{padding:10px 0;border-bottom:1px solid #eee;vertical-align:top}
.spec-table td:first-child{color:var(--muted);width:45%}
.entry-content{max-width:68ch}
.entry-content p{margin:0 0 1em}
.entry-content h2,.entry-content h3{margin:1.4em 0 .5em}
.entry-content ul{padding-left:20px}
@media (max-width:860px){.device{grid-template-columns:1fr}}

/* Steps */
.steps{counter-reset:s;display:grid;gap:14px}
.step{background:var(--grey);border-radius:18px;padding:18px 20px 18px 72px;position:relative}
.step::before{counter-increment:s;content:counter(s);position:absolute;left:20px;top:16px;width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}
.step p{color:var(--muted);font-size:.93rem}
.step h3{font-size:1rem;color:var(--ink)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
@media (max-width:860px){.two-col{grid-template-columns:1fr}}

/* Pagination */
.pagination{margin-top:40px;display:flex;gap:8px;justify-content:center}
.pagination .page-numbers{padding:8px 14px;border-radius:30px;background:var(--grey);text-decoration:none;color:var(--ink)}
.pagination .current{background:var(--red);color:#fff}

/* Footer */
.site-footer{background:var(--dark);color:#fff;position:relative;margin-top:60px}
.site-footer .arc{position:absolute;top:-38px;left:0;height:60px}
.site-footer .wrap{padding-top:60px;padding-bottom:30px}
.foot{display:grid;grid-template-columns:1.1fr 2fr;gap:40px}
.foot h4{font-size:.95rem;margin:0 0 4px}
.foot p{font-size:.9rem;opacity:.85}
.foot a{color:#fff}
.foot .col{display:grid;gap:16px}
.foot-btns{display:flex;gap:16px;flex-wrap:wrap;align-content:start}
.foot-legal{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.82rem;opacity:.75}
.foot-legal ul{list-style:none;margin:0;padding:0;display:flex;gap:14px;flex-wrap:wrap}
.foot-legal a,.foot-legal button{color:#fff;background:none;border:0;padding:0;cursor:pointer;font-size:inherit;text-decoration:underline}
@media (max-width:760px){.foot{grid-template-columns:1fr}}

/* Helper */
.helper{position:fixed;right:20px;bottom:20px;z-index:90;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.helper .bubble{background:var(--red);color:#fff;border-radius:12px;padding:8px 14px;font-size:.88rem;box-shadow:0 6px 20px rgba(0,0,0,.18);display:flex;gap:10px;align-items:center;cursor:pointer}
.helper .bubble button{background:none;border:0;color:#fff;cursor:pointer;font-weight:900;padding:0}
.helper .fab{width:58px;height:58px;border-radius:50%;background:#fff;border:3px solid var(--red);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.2)}
.helper .panel{width:min(340px,calc(100vw - 40px));background:#fff;border-radius:18px;box-shadow:0 14px 40px rgba(0,0,0,.25);overflow:hidden;display:none}
.helper .panel.open{display:block}
.helper .ph{background:var(--red);color:#fff;padding:14px 18px;font-weight:700;display:flex;justify-content:space-between}
.helper .ph button{background:none;border:0;color:#fff;font-weight:900;cursor:pointer}
.helper .pb{padding:16px 18px;display:grid;gap:8px;max-height:60vh;overflow-y:auto}
.helper .q{font-weight:700;margin-bottom:4px}
.helper .opt{background:var(--grey);border:0;border-radius:30px;padding:9px 16px;text-align:left;cursor:pointer;text-decoration:none;color:var(--ink);display:block}
.helper .opt:hover{background:var(--red);color:#fff}

/* Cookie */
.cookie{position:fixed;left:16px;bottom:16px;width:min(420px,calc(100vw - 32px));background:#fff;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.25);padding:20px 22px;z-index:110;display:none;font-size:.85rem}
.cookie.show{display:block}
.cookie strong{display:block;text-align:center;margin-bottom:8px;font-size:.95rem}
.cookie .cbtns{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.cookie .cbtns button{border:0;border-radius:30px;padding:10px 6px;font-weight:700;font-size:.78rem;text-transform:uppercase;cursor:pointer;background:#eee}
.cookie .cbtns button.yes{background:var(--red);color:#fff}
.cookie-settings{display:none;gap:6px;margin-top:10px}
.cookie-settings.show{display:grid}

/* ===== WooCommerce ===== */
.shop-wrap{padding:40px 0 70px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:30px;margin:0;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:var(--grey);border-radius:22px;padding:20px;text-align:center;display:flex;flex-direction:column;align-items:center}
.woocommerce ul.products li.product img{border-radius:14px;background:#fff;margin-bottom:12px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--red);font-size:1rem!important;font-weight:700}
.woocommerce ul.products li.product .price{color:var(--ink)!important;font-weight:700;font-size:1.05rem!important}
.woocommerce ul.products li.product .button{margin-top:auto!important}
@media (max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.woocommerce ul.products{grid-template-columns:1fr}}
.woocommerce div.product .product_title{color:var(--red);font-weight:700}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink)!important;font-weight:700;font-size:1.4rem}
.woocommerce div.product div.images img{border-radius:22px;background:var(--grey)}
.woocommerce .quantity .qty{border:0;background:#eee;border-radius:30px;padding:10px;width:80px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--red)!important;border-radius:14px;background:var(--grey)!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--red)!important}
.woocommerce span.onsale{background:var(--red)!important}
.woocommerce .woocommerce-breadcrumb{font-size:.85rem;color:var(--muted)}
.woocommerce-ordering select{border:0;background:#eee;border-radius:30px;padding:10px 16px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom-color:#fff}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input{border-radius:12px!important}
.model-picker{display:flex;gap:12px;flex-wrap:wrap;align-items:center;background:var(--grey);border-radius:22px;padding:18px 22px;margin-bottom:30px}
.model-picker select{border:0;background:#fff;border-radius:30px;padding:10px 16px;min-width:240px}
.cart-count{background:var(--red);color:#fff;border-radius:20px;font-size:.7rem;padding:1px 7px}
.custom-logo-link{display:flex;align-items:center}
.custom-logo{max-height:52px;width:auto}

/* ===== Seadme leht v1.1 ===== */
.page-head.slim{padding:18px 0 14px}
.page-head.slim .crumbs{margin:0}
.device{grid-template-columns:minmax(280px,440px) 1fr;align-items:start}
.device-title{color:var(--red);font-weight:700;font-size:clamp(1.7rem,3vw,2.3rem);margin:6px 0 10px}
.device-sub{font-size:1.15rem;font-weight:700;color:var(--ink);margin-bottom:8px}
.device-lead{color:var(--muted);margin-bottom:8px}
.device-info h3.mini{font-size:.95rem;color:var(--ink);margin:20px 0 8px}
ul.checks,ul.dots{list-style:none;padding:0;margin:0;display:grid;gap:6px}
ul.checks li{padding-left:28px;position:relative}
ul.checks li::before{content:"";position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:50%;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
ul.dots li{padding-left:18px;position:relative}
ul.dots li::before{content:"";position:absolute;left:2px;top:.6em;width:7px;height:7px;border-radius:50%;background:var(--red)}
.buybox{margin-top:24px;background:var(--grey);border-radius:22px;padding:22px 24px}
.buybox .code{font-size:.85rem;color:var(--muted);margin-bottom:8px}
.buybox .price{font-size:2rem;font-weight:900;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.1}
.buybox .price-note{font-size:.82rem;color:var(--muted);margin-top:4px}
.buy-btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.btn.white.outline{box-shadow:inset 0 0 0 2px var(--red)}
.tiles{display:grid;gap:22px}
.tiles-4{grid-template-columns:repeat(4,1fr)}
.tiles-3{grid-template-columns:repeat(3,1fr)}
.tiles-2{grid-template-columns:repeat(2,1fr)}
.tile{background:#fff;border-radius:22px;padding:26px 24px;text-align:center}
.tile-val{font-size:clamp(1.6rem,2.6vw,2.2rem);font-weight:900;color:var(--red);line-height:1.1}
.tile-label{font-size:.75rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin:6px 0 10px}
.tile p{font-size:.9rem;color:var(--muted)}
@media (max-width:900px){.tiles-4,.tiles-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.tiles-4,.tiles-3,.tiles-2{grid-template-columns:1fr}}
.tabs{display:flex;gap:6px;border-bottom:2px solid #eee;margin-bottom:28px;flex-wrap:wrap}
.tabs button{background:none;border:0;padding:12px 18px;font-weight:900;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px}
.tabs button[aria-selected="true"]{color:var(--red);border-bottom-color:var(--red)}
.tab-panel{max-width:900px}
.tab-panel.entry-content{max-width:72ch}
.spec-table.big th{text-align:left;font-size:1.05rem;color:var(--red);padding:10px 0;border-bottom:2px solid #eee}
.spec-table.big td ul{margin:0;padding-left:18px}
@media (max-width:860px){.device{grid-template-columns:1fr}}

/* Allahindlus */
.prod .img,.device .pic{position:relative}
.sale-tag{position:absolute;top:8px;left:8px;display:flex;flex-direction:column;align-items:flex-start;gap:1px;background:#de1e24;color:#fff;border-radius:12px;padding:7px 11px 6px;line-height:1.1;text-align:left;box-shadow:0 4px 14px rgba(0,0,0,.15);font-variant-numeric:tabular-nums;z-index:2}
.sale-tag .pct{font-size:.72rem;font-weight:800;letter-spacing:.03em;background:#fff;color:#de1e24;border-radius:6px;padding:1px 6px;margin-bottom:3px}
.sale-tag .new{font-size:1.05rem;font-weight:900}
.sale-tag .old{font-size:.8rem;opacity:.85;text-decoration:line-through}
.sale-tag.big{top:16px;left:16px;padding:10px 15px 9px;border-radius:16px}
.sale-tag.big .new{font-size:1.5rem}
.sale-tag.big .old{font-size:.95rem}
.buybox .price.on-sale{color:#de1e24}
.buybox .price del{font-size:1.1rem;font-weight:600;color:var(--muted);margin-left:8px}
