:root{
  --primary:#d32f2f;
  --text:#212121;
  --muted:#555;
  --bg:#fff;
  --accent:#388e3c;
  --border:#eee;
  --max:1100px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);background:var(--bg);line-height:1.65;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--primary)}
a:hover{opacity:.85}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}
/* Header */
.site-header{
  border-bottom:1px solid var(--border);
  background:#fff;
  position:sticky;top:0;z-index:50;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;padding:.85rem 0;flex-wrap:wrap;
}
.logo-link{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--text)}
.logo-link img{width:auto;max-width:160px;height:auto}
.logo-link span{font-weight:700;font-size:1.05rem}
.nav{display:flex;flex-wrap:wrap;gap:.15rem .9rem;align-items:center}
.nav a{
  text-decoration:none;color:var(--text);font-size:.92rem;padding:.25rem 0;
  border-bottom:2px solid transparent;
}
.nav a:hover,.nav a.active{color:var(--primary);border-bottom-color:var(--primary)}
.nav-cta{
  background:var(--primary)!important;color:#fff!important;border:none!important;
  border-radius:4px;padding:.45rem 0.9rem!important;font-weight:600;
}
.nav-cta:hover{opacity:.9}
.menu-toggle{
  display:none;border:1px solid #ccc;background:#fff;border-radius:4px;
  padding:.4rem .7rem;font-size:.9rem;cursor:pointer;
}
/* Hero */
.hero{padding:2.5rem 0 1.5rem;text-align:center}
.hero h1{font-size:clamp(1.75rem,2.5vw + 1rem,2.75rem);font-weight:700;line-height:1.2;margin-bottom:.6rem}
.hero .lead{font-size:clamp(1.05rem,1.2vw + .8rem,1.35rem);color:var(--muted);font-weight:400;margin-bottom:1rem}
.hero .sub{max-width:820px;margin:0 auto 1.4rem;color:#444;font-size:1.05rem}
/* Buttons */
.btn{
  display:inline-block;background:var(--primary);color:#fff;text-decoration:none;
  border:none;border-radius:4px;padding:.85rem 1.6rem;font-size:1rem;font-weight:600;
  cursor:pointer;transition:opacity .2s;
}
.btn:hover{opacity:.9;color:#fff}
.btn-outline{
  background:#fff;color:var(--primary);border:2px solid var(--primary);
}
.btn-outline:hover{background:#fff5f5;color:var(--primary)}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:.5rem}
.btn-row.left{justify-content:flex-start}
/* Sections */
section{padding:2rem 0}
section.alt{background:#fafafa;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
h2{font-size:clamp(1.25rem,1.2vw + 1rem,1.6rem);margin-bottom:1rem}
h3{font-size:1.1rem;margin:1.2rem 0 .5rem}
p{margin-bottom:.85rem}
ul.ticks{list-style:none;margin:1rem 0}
ul.ticks li{position:relative;padding-left:1.4rem;margin-bottom:.45rem}
ul.ticks li::before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:700}
/* Cards / grid */
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card{
  border:1px solid var(--border);border-radius:8px;padding:1.1rem;
  box-shadow:0 2px 4px rgba(0,0,0,.04);background:#fff;text-align:center;
}
.card strong{display:block;font-size:1.7rem;color:var(--primary);margin-bottom:.2rem}
.card h3{margin-top:0}
.card p:last-child{margin-bottom:0}
.service-card{text-align:left}
.service-card .btn{margin-top:.6rem;padding:.55rem 1rem;font-size:.92rem}
/* Map */
.map-wrap{padding-top:2rem;padding-bottom:2rem}
.map-wrap iframe{border:0;width:100%;height:450px;border-radius:8px;display:block}
/* Gallery */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}
.gallery figure{
  margin:0;border-radius:8px;overflow:hidden;border:1px solid var(--border);background:#f5f5f5;
}
.gallery img{width:100%;height:180px;object-fit:cover}
.gallery figcaption{font-size:.8rem;color:var(--muted);padding:.4rem .6rem}
.note{font-size:.9rem;color:var(--muted);background:#fff8e1;border:1px solid #ffe082;border-radius:6px;padding:.75rem 1rem;margin:1rem 0}
/* Forms */
form.b2b{display:flex;flex-direction:column;gap:.75rem;max-width:560px}
label{font-size:.92rem;display:flex;flex-direction:column;gap:.3rem;font-weight:600}
label span.hint{font-weight:400;color:var(--muted);font-size:.82rem}
input,select,textarea{
  border:1px solid #ccc;border-radius:4px;padding:.7rem;font:inherit;width:100%;font-weight:400;
}
textarea{min-height:120px;resize:vertical}
.form-note{font-size:.85rem;color:var(--muted);margin-top:.5rem}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}
.contact-box address{font-style:normal;line-height:1.7}
.contact-box a{color:inherit;text-decoration:none;border-bottom:1px solid #ddd}
.contact-box a:hover{color:var(--primary);border-color:var(--primary)}

/* Homepage contact (matches live empeka.com fields) */
form.home-contact{display:flex;flex-direction:column;gap:.8rem;width:100%}
form.home-contact .send-btn{align-self:flex-start;margin-top:.2rem}
.contact-home{margin-top:1rem}
/* Footer */
.site-footer{
  margin-top:2.5rem;border-top:1px solid var(--border);
  background:#fafafa;padding:2rem 0 1.5rem;font-size:.9rem;color:#666;
}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.25rem}
.site-footer h3{font-size:.95rem;color:var(--text);margin:0 0 .5rem}
.site-footer a{color:#444;text-decoration:none}
.site-footer a:hover{color:var(--primary)}
.footer-bottom{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--border);text-align:center;font-size:.82rem}
/* Utilities */
.center{text-align:center}
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}
.mb-0{margin-bottom:0}
.muted{color:var(--muted)}
.thankyou{padding:4rem 0;text-align:center}
.thankyou h1{margin-bottom:1rem}
@media(max-width:768px){
  .menu-toggle{display:inline-block}
  .nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:.35rem;padding-bottom:.5rem}
  .nav.open{display:flex}
  .nav a{padding:.6rem 1.25rem}
  .nav a.nav-cta{margin:0 1.25rem;text-align:center}
  .two-col{grid-template-columns:1fr}
  .hero{padding:1.75rem 0 1rem;text-align:left}
  .btn-row{justify-content:flex-start}
}

.catalogue-iframe{height:900px;width:100%;border:0;border-radius:8px;}
.pdf-download{text-align:center;margin:24px auto;}

/* Рекламни продукти */
.product-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.category-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem}
.category-grid > .category-card{flex:0 1 calc((100% - 2*1.25rem)/3)}
@media(min-width:961px){.category-grid > .category-card{flex-basis:calc((100% - 3*1.25rem)/4)}}
@media(max-width:960px){.category-grid > .category-card{flex-basis:calc((100% - 1.25rem)/2)}}
@media(max-width:540px){.category-grid > .category-card{flex-basis:100%}}
.category-card{display:block;color:inherit;text-decoration:none;text-align:center;transition:transform .15s}
.category-card:hover{transform:translateY(-2px)}
.category-card img,.product-card img{width:100%;max-width:220px;height:200px;object-fit:contain;display:block;margin:0 auto 1rem}
.product-card{display:flex;flex-direction:column;text-align:left}
.product-card h3,.product-card > p{text-align:center}
.product-card .ticks{margin:0 0 1rem;font-size:.95rem}
.product-card .btn{margin-top:auto;align-self:flex-start}
.breadcrumb{font-size:.9rem;color:var(--muted);margin-bottom:.5rem}
.breadcrumb a{color:var(--muted)}

/* Colour swatches (torbichki) */
.swatches{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1rem}
.swatch{width:26px;height:26px;border-radius:50%;border:1px solid rgba(0,0,0,.25);padding:0;cursor:pointer;box-shadow:inset 0 0 0 2px #fff;transition:transform .12s}
.swatch:hover{transform:scale(1.12)}
.swatch.active{outline:2px solid var(--primary);outline-offset:2px}
.swatch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.product-card .swatches{margin-top:auto}
.product-card .swatches + .btn{margin-top:0}

/* Плочки с модели + детайлна страница */
.tile-grid{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.product-tile{display:block;background:#fff;border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,.06);padding:1rem;text-align:center;color:inherit;text-decoration:none;transition:transform .15s,box-shadow .15s}
.product-tile:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(0,0,0,.1)}
.product-tile img{width:100%;height:240px;object-fit:contain;display:block;margin-bottom:.75rem}
.product-tile span{font-weight:600;font-size:.98rem;line-height:1.35}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start;background:#fff;border-radius:12px;padding:2rem}
.product-detail .pd-media img{width:100%;max-width:100%;height:auto;max-height:520px;object-fit:contain;display:block;margin:0 auto}
.product-detail h1{font-size:1.8rem;margin-top:0}
.product-detail .pd-label{font-weight:600;margin:.5rem 0 .3rem}
.product-detail .swatches{margin-bottom:1.25rem}
@media(max-width:760px){.product-detail{grid-template-columns:1fr;padding:1.25rem}}

/* Lightbox (click-to-enlarge product image) */
.product-detail .pd-media img.zoomable{cursor:zoom-in}
.lightbox{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.88);display:flex;align-items:center;justify-content:center;padding:4vh 4vw}
.lightbox[hidden]{display:none}
.lightbox .lb-img{max-width:90vw;max-height:90vh;width:auto;height:auto;object-fit:contain;display:block;background:#fff;border-radius:4px;box-shadow:0 10px 40px rgba(0,0,0,.5);cursor:default}
.lightbox button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:50%;width:48px;height:48px;font-size:32px;line-height:48px;text-align:center;cursor:pointer;padding:0}
.lightbox button:hover,.lightbox button:focus-visible{background:rgba(255,255,255,.28);outline:none}
.lightbox button[hidden]{display:none}
.lightbox .lb-close{top:14px;right:14px}
.lightbox .lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.lightbox .lb-next{right:14px;top:50%;transform:translateY(-50%)}
html.lb-open,html.lb-open body{overflow:hidden}

/* Миниатюри на снимки (календари) */
.swatch.thumb{width:54px;height:54px;border-radius:6px;background-size:cover;background-position:center;background-color:#fff;box-shadow:none}
.swatch.thumb:hover{transform:scale(1.05)}
.product-detail .swatches.thumbs{margin-bottom:.75rem}

/* Colour dots overlaid on a product tile photo (reusable: .tile-media > img + .tile-swatches) */
.product-tile .tile-media{position:relative;margin-bottom:.75rem}
.product-tile .tile-media img{margin-bottom:0}
.tile-swatches{position:absolute;left:50%;bottom:2px;transform:translateX(-50%);display:flex;flex-wrap:nowrap;justify-content:center;gap:4px;width:max-content;max-width:calc(100% - 8px);box-sizing:border-box;padding:4px 7px;background:rgba(255,255,255,.85);border-radius:12px;box-shadow:0 1px 4px rgba(0,0,0,.12);pointer-events:none}
.tile-swatches .dot{display:block;flex:0 1 12px;width:12px;min-width:8px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.tile-swatches .dot.light{box-shadow:inset 0 0 0 1px rgba(0,0,0,.28)}
.product-tile .tile-meta{display:block;margin-top:.2rem;font-size:.82rem;color:#777}
@media(max-width:560px){.tile-swatches{gap:5px;padding:5px 8px}.tile-swatches .dot{flex-basis:14px;width:14px;height:14px}}

/* Prices on product pages and tiles */
.pd-price { font-size: 1.35rem; margin: 1rem 0 .75rem; }
.pd-price strong { color: var(--primary); }
.pd-price .muted { font-size: .9rem; margin-left: .35rem; }
.tile-price { display: block; font-weight: 600; color: var(--primary); }
.pd-moq { margin: -.4rem 0 .9rem; font-size: .9rem; }
.pd-delivery { margin: -.6rem 0 .9rem; font-size: .9rem; }
.note.inquiry-for{color:var(--text);font-size:1rem;margin:0 0 1rem;border-left:4px solid var(--primary)}

/* Търсачка — Рекламни продукти (assets/site.js + assets/products-index.js) */
.search-box{position:relative;max-width:560px;margin:1.25rem auto 0}
.search-box input{width:100%;box-sizing:border-box;font:inherit;font-size:1.05rem;padding:.8rem 1rem .8rem 2.75rem;border:2px solid #ddd;border-radius:999px;background:#fff;outline:none;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.search-box input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(211,47,47,.15)}
.search-box::before{content:"";position:absolute;left:1rem;top:50%;width:18px;height:18px;transform:translateY(-50%);pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d32f2f' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")}
.search-box--cat{margin:0 0 1.25rem;max-width:380px}
.search-box--cat input{font-size:.95rem;padding:.6rem .9rem .6rem 2.5rem}
.search-info{margin:0 0 1rem;color:var(--muted)}
.search-empty{grid-column:1/-1;text-align:center;background:#fff;border-radius:10px;padding:2rem 1rem;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.search-empty p{margin:.3rem 0}
.product-tile[hidden],[hidden]{display:none!important}
.product-tile .tile-cat{color:#999;font-size:.78rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:768px){.hero .search-box{margin-left:0}}

/* Плаващ бутон „Обади се“ на мобилни (assets/site.js) */
.callfab{display:none}
@media(max-width:768px){
  .callfab{display:flex;align-items:center;justify-content:center;position:fixed;z-index:900;
    right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));
    width:54px;height:54px;border-radius:50%;background:var(--primary);color:#fff;text-decoration:none;
    box-shadow:0 4px 14px rgba(0,0,0,.25),0 1px 3px rgba(0,0,0,.2);-webkit-tap-highlight-color:transparent;transition:transform .12s}
  .callfab:active{transform:scale(.94);filter:brightness(.92)}
  .callfab:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 5px var(--primary)}
  .callfab svg{width:26px;height:26px}
  /* footer text must not end up under the button */
  .site-footer .footer-bottom{padding-right:76px}
}

/* Галерия на продуктовата снимка: плъзгане ляво/дясно (assets/site.js → productGallery) */
.product-detail .pd-media,.product-detail .pd-info{min-width:0}
.pd-gallery{position:relative;width:100%;min-width:0;user-select:none;-webkit-user-select:none}
.pd-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:8px;touch-action:pan-x pan-y pinch-zoom}
.pd-track::-webkit-scrollbar{display:none}
.pd-track:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pd-slide{flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;max-height:520px;background:#fff}
.product-detail .pd-gallery .pd-slide img{width:100%;height:100%;max-height:520px;object-fit:contain;display:block;cursor:zoom-in;-webkit-user-drag:none}
.pd-gallery.dragging .pd-track{scroll-snap-type:none;cursor:grabbing}
.pd-gallery.dragging .pd-slide img{cursor:grabbing}
.pd-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.85);color:#333;font-size:28px;line-height:38px;text-align:center;cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.18);opacity:.85;transition:opacity .15s,background .15s;z-index:2}
.pd-nav:hover,.pd-nav:focus-visible{opacity:1;background:#fff;outline:none}
.pd-nav:focus-visible{box-shadow:0 0 0 2px var(--accent)}
.pd-prev{left:8px}.pd-next{right:8px}
.pd-count{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.55);color:#fff;font-size:.8rem;font-weight:600;line-height:1;padding:.35rem .6rem;border-radius:999px;pointer-events:none;z-index:2;font-variant-numeric:tabular-nums}
.pd-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin:.6rem 0 0}
.pd-dots i{width:7px;height:7px;border-radius:50%;background:#ccc;transition:background .15s,transform .15s}
.pd-dots i.on{background:var(--primary);transform:scale(1.25)}
.pd-under{margin-top:1rem}
.pd-under .swatches:last-child{margin-bottom:0}
@media(max-width:760px){
  .pd-nav{width:34px;height:34px;font-size:24px;line-height:32px;opacity:.75}
  .product-detail .swatch{width:32px;height:32px}
  .product-detail .swatch.thumb{width:54px;height:54px}
  .pd-under{margin-top:.75rem}
  .pd-under + .pd-info h1{margin-top:.5rem}
}

/* Stedman page: „Защо от нас“, size tables, model tiles */
.why-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.why-item{background:#fff;border:1px solid #eee;border-top:4px solid var(--primary);border-radius:10px;padding:1.1rem 1.2rem;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.why-item strong{display:block;font-size:1.05rem;margin-bottom:.35rem}
.why-item p{margin:0;color:var(--muted);font-size:.95rem}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.size-table{border-collapse:collapse;width:100%;min-width:420px;background:#fff;font-size:.92rem}
.size-table th,.size-table td{border:1px solid #e3e3e3;padding:.45rem .55rem;text-align:center;white-space:nowrap}
.size-table thead th{background:#f3f3f3;font-weight:700}
.size-table tbody th{text-align:left;font-weight:600;background:#fafafa}
.size-table.compact{min-width:0;font-size:.85rem}
.size-table.compact th,.size-table.compact td{padding:.35rem .4rem}
.size-sums{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr))}
.size-sum{min-width:0}
.size-sum h3{font-size:1rem;margin:0 0 .5rem}
.size-note{font-size:.85rem;margin-top:.6rem}
.pd-code{margin:-.4rem 0 .6rem;font-size:.9rem}
.stedman-tiles .product-tile img{height:280px}
@media (max-width:760px){
  .size-sums{grid-template-columns:1fr}
  .size-table.compact{min-width:380px}
  .stedman-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
  .stedman-tiles .product-tile{padding:.6rem}
  .stedman-tiles .product-tile img{height:200px}
  .stedman-tiles .product-tile span{font-size:.9rem}
}
.tile-swatches .more{font-style:normal;font-size:.7rem;line-height:12px;color:#555;font-weight:600;padding-left:2px;white-space:nowrap}
.stedman-gallery img{height:260px}
@media (max-width:760px){.stedman-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.stedman-gallery img{height:200px}}
/* ---------- Stedman stock (nalichnost-stedman.html + „На склад в България“) ---------- */
.stock-note{max-width:820px;margin:0 auto 1.2rem;color:#444;background:#fff;border-left:4px solid var(--accent);padding:.6rem .9rem;border-radius:6px;text-align:left}
.stock-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:.75rem;align-items:end;background:#fff;padding:1rem;border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.stock-filters .search-box{margin:0;max-width:none;grid-column:1/-1}
.stock-filters .search-box input{font-size:1rem;padding:.6rem .9rem .6rem 2.6rem}
.stock-filters .sf{display:flex;flex-direction:column;font-size:.8rem;color:var(--muted);gap:.2rem}
.stock-filters select{font:inherit;font-size:.95rem;color:#222;padding:.55rem .5rem;border:2px solid #ddd;border-radius:8px;background:#fff;min-width:0;width:100%}
.stock-filters select:focus{border-color:var(--primary);outline:none}
.stock-filters .sf-reset{padding:.55rem 1rem;font-size:.95rem;cursor:pointer}
.stock-info{margin:1rem 0 .5rem}
.stock-list{display:grid;gap:1rem}
.stock-model{background:#fff;border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,.06);padding:1rem 1.1rem}
.sm-head{display:flex;gap:1rem;align-items:center;margin-bottom:.6rem}
.sm-img{flex:0 0 88px}
.sm-img img{width:88px;height:88px;object-fit:contain;display:block}
.sm-noimg{display:flex;width:88px;height:88px;align-items:center;justify-content:center;background:#f5f5f5;border-radius:8px;color:#999;font-size:.8rem;font-weight:600}
.sm-title{font-size:1.1rem;margin:0 0 .15rem;line-height:1.3}
.sm-title a{color:inherit}
.sm-head .pd-code{margin:0 0 .3rem;font-size:.85rem}
.sm-tags{margin:0;display:flex;flex-wrap:wrap;gap:.35rem}
.sm-tags .tag{font-size:.75rem;background:#f3f3f3;border-radius:999px;padding:.1rem .55rem;color:#444}
.sm-tags .tag-n{background:#e8f5e9;color:#2e7d32}
.sm-more{display:inline-block;margin-top:.35rem;font-size:.88rem;font-weight:600}
.stock-rows{border-top:1px solid var(--border)}
.stock-row{display:grid;grid-template-columns:22px minmax(170px,290px) 1fr;gap:.6rem;align-items:center;padding:.45rem 0;border-bottom:1px solid var(--border)}
.stock-row .sw{width:20px;height:20px;border-radius:50%;border:1px solid rgba(0,0,0,.2);display:block}
.stock-row .sw.light{border-color:rgba(0,0,0,.35)}
.stock-row .sw-unknown{background:repeating-linear-gradient(45deg,#ddd 0 4px,#fff 4px 8px)}
.sr-name{font-size:.95rem}
.sr-name small{color:#888;font-size:.78rem}
.sr-photo{font-size:.78rem;white-space:nowrap}
.chips{display:flex;flex-wrap:wrap;gap:.3rem}
.chip{display:inline-block;min-width:2.1rem;text-align:center;font-size:.78rem;font-weight:600;line-height:1;padding:.32rem .4rem;border:1px solid #d6d6d6;border-radius:6px;background:#fafafa;color:#333}
.chip.hit{background:var(--accent);border-color:var(--accent);color:#fff}
.stock-empty{text-align:center;background:#fff;border-radius:10px;padding:1.5rem;margin-top:1rem}
.stock-rows--detail{max-width:900px}
.stock-cta{margin-top:1.25rem}
.swatch.in-stock{position:relative}
.swatch.in-stock::after,.in-stock-key i{content:"";position:absolute;right:-3px;bottom:-3px;width:10px;height:10px;border-radius:50%;background:var(--accent);border:2px solid #fff}
.in-stock-key{font-size:.85rem;margin-top:.4rem}
.in-stock-key i{position:relative;display:inline-block;right:auto;bottom:auto;vertical-align:-1px}
@media (max-width:960px){.stock-filters{grid-template-columns:1fr 1fr}.stock-filters .sf-reset{grid-column:1/-1}}
@media (max-width:600px){
  .stock-model{padding:.85rem}
  .sm-img,.sm-img img,.sm-noimg{flex-basis:64px;width:64px;height:64px}
  .sm-title{font-size:1rem}
  .stock-row{grid-template-columns:22px 1fr;row-gap:.35rem}
  .stock-row .chips{grid-column:2/-1;grid-row:2}
}
/* ---------- Stedman stock v3 (filters + catalogue cards + model panel) ---------- */
.stock-dl{margin-top:.9rem;font-size:.92rem;color:#444}
.stock-dl a{font-weight:600}
.stock-filters2{background:#fff;padding:1rem;border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,.06);display:grid;gap:.75rem}
.stock-filters2 .search-box{margin:0;max-width:none}
.stock-filters2 .search-box input{font-size:1rem;padding:.6rem .9rem .6rem 2.6rem}
.qchips,.szchips{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.qchip,.szchip{font:inherit;font-size:.88rem;line-height:1.2;padding:.42rem .8rem;border:1.5px solid #ddd;border-radius:999px;background:#fff;color:#333;cursor:pointer}
.szchip{font-size:.8rem;font-weight:600;padding:.34rem .6rem;min-width:2.6rem;border-radius:8px}
.qchip:hover,.szchip:hover{border-color:#bbb}
.qchip[aria-pressed="true"]{background:var(--primary);border-color:var(--primary);color:#fff}
.szchip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
.qsep{width:1px;height:1.4rem;background:#e2e2e2;margin:0 .2rem}
.sf-row{display:flex;flex-wrap:wrap;gap:.75rem 1rem;align-items:flex-end}
.stock-filters2 .sf{display:flex;flex-direction:column;font-size:.8rem;color:var(--muted);gap:.25rem}
.stock-filters2 select{font:inherit;font-size:.95rem;color:#222;padding:.5rem .5rem;border:2px solid #ddd;border-radius:8px;background:#fff;min-width:210px}
.stock-filters2 select:focus{border-color:var(--primary);outline:none}
.sf-sizes{flex:1 1 320px}
.stock-filters2 .sf-reset{padding:.5rem 1rem;font-size:.95rem;cursor:pointer;margin-left:auto}
.stock-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;margin:1rem 0 .4rem}
.stock-bar .stock-info{margin:0}
.stock-hint{font-size:.85rem;margin:0 0 .8rem}
.ok{color:var(--accent)}
.mx-scroll{position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:8px}
.mx{border-collapse:separate;border-spacing:0;width:100%;font-size:.88rem}
.mx th,.mx td{border-bottom:1px solid var(--border);padding:.25rem .2rem;text-align:center;min-width:2.6rem}
.mx thead th{font-size:.78rem;font-weight:700;color:#444;background:#f7f7f7;padding:.4rem .2rem}
.mx tbody tr:last-child>*{border-bottom:0}
.mx .mx-c{position:sticky;left:0;z-index:1;background:#fff;text-align:left;font-weight:400;min-width:12rem;max-width:16rem;border-right:1px solid var(--border);padding:.3rem .5rem}
.mx thead .mx-c{background:#f7f7f7;z-index:2}
.mx-n{flex:1;min-width:0;line-height:1.25}
.mx-n small{color:#888;font-size:.75rem}
.mx th.hit,.mx td.hit{background:#eef7ef}
.mx thead th.hit{background:var(--accent);color:#fff}
.mx-y{font-weight:700;color:var(--accent);display:inline-block;width:2.2rem;line-height:2rem}
.mx-key{font-size:.8rem;margin:.5rem 0 0}
.nos-list{font-size:.85rem;padding-left:1.1rem}
@media (max-width:640px){
  .stock-filters2{padding:.8rem}
  .qchips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.2rem;-webkit-overflow-scrolling:touch}
  .qchip{flex:0 0 auto}
  .qsep{flex:0 0 1px}
  .stock-filters2 select{min-width:0;width:100%}
  .sf-row .sf:first-child{flex:1 1 100%}
  .stock-filters2 .sf-reset{margin-left:0;width:100%}
  .mx{font-size:.82rem}
  .mx .mx-c{min-width:8.6rem;max-width:9.6rem;padding:.25rem .35rem}
  .mx-n small{display:block}
  .mx th,.mx td{min-width:2.35rem}
  .mx-y{width:2rem}
}

/* cards: same .tile-grid.stedman-tiles / .product-tile look as the catalogue */
.st-grid{margin-top:.4rem}
.st-card{cursor:pointer}
.st-card .st-line{color:#2e7d32;font-weight:600}
.st-card .st-line b{font-weight:700}
.st-noimg{display:flex;align-items:center;justify-content:center;height:280px;background:#f4f4f4;border-radius:8px;color:#999;font-weight:700;letter-spacing:.05em}
.tile-swatches .dot-unknown,.mp-col .sw-unknown{background:repeating-linear-gradient(45deg,#ddd 0 3px,#fff 3px 6px)}
/* model panel: centered modal (desktop) / full-screen sheet (mobile) */
.mp{position:fixed;inset:0;z-index:950;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;padding:3vh 3vw}
.mp[hidden]{display:none}
body.mp-open{overflow:hidden}
.mp-box{position:relative;background:#fff;border-radius:12px;width:min(1000px,100%);max-height:94vh;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 12px 40px rgba(0,0,0,.35)}
.mp-top{position:sticky;top:0;z-index:3;display:flex;justify-content:flex-end;align-items:center;height:0}
.mp-top-t{display:none}
.mp-x{font:inherit;font-size:1.8rem;line-height:1;width:2.6rem;height:2.6rem;margin:.5rem .5rem 0 0;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#333;cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.18);align-self:flex-start}
.mp-x:hover{color:var(--primary)}
.mp-in{padding:1.4rem 1.5rem 1.3rem}
.mp-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:1.6rem;align-items:start}
.mp-media{position:relative;background:#fafafa;border-radius:10px;padding:.5rem}
.mp-media img{width:100%;height:420px;object-fit:contain;display:block}
.mp-media .st-noimg{height:420px}
.mp-ph{position:absolute;left:10px;bottom:10px;background:rgba(0,0,0,.55);color:#fff;font-size:.78rem;padding:.25rem .55rem;border-radius:999px}
.mp-info h2{font-size:1.35rem;margin:0 2.6rem .3rem 0;line-height:1.3}
.mp-info .pd-code{margin:0 0 .6rem}
.mp-spec{margin:.2rem 0 .8rem;font-size:.9rem}
.mp-spec li{margin:.15rem 0}
.mp-info .pd-label{margin:.7rem 0 .4rem;font-size:.92rem}
.mp-cols{display:flex;flex-wrap:wrap;gap:.4rem}
.mp-col{width:2.25rem;height:2.25rem;padding:3px;border-radius:50%;border:2px solid transparent;background:none;cursor:pointer}
.mp-col .sw{display:block;width:100%;height:100%;border-radius:50%;border:1px solid rgba(0,0,0,.18)}
.mp-col .sw.light{border-color:rgba(0,0,0,.35)}
.mp-col:hover{border-color:#ccc}
.mp-col.on{border-color:var(--primary)}
.mp-col.dim{opacity:.35}
.mp-szs{display:flex;flex-wrap:wrap;gap:.4rem}
.mp-sz{text-align:center;font:inherit;font-size:.88rem;font-weight:600;min-width:2.9rem;padding:.42rem .6rem;border:1.5px solid #ccc;border-radius:8px;background:#fff;color:#333}
.mp-sz.hit{border-color:var(--accent);color:var(--accent)}
.mp-acts{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.mp-acts .btn{flex:1 1 auto;text-align:center;font-size:.92rem}
.mp-price{font-size:.82rem;margin:.6rem 0 0}
.mp-h3{font-size:1.05rem;margin:1.4rem 0 .5rem}
.mx-pick{font:inherit;display:flex;align-items:center;gap:.45rem;width:100%;background:none;border:0;padding:0;text-align:left;cursor:pointer;color:inherit}
.mx-pick .sw{flex:0 0 20px;width:20px;height:20px;border-radius:50%;border:1px solid rgba(0,0,0,.2);display:block}
.mx-pick .sw.light{border-color:rgba(0,0,0,.35)}
.mx-pick .sw-unknown{background:repeating-linear-gradient(45deg,#ddd 0 4px,#fff 4px 8px)}
.mx-pick:hover .mx-n{color:var(--primary)}
.mx tr.cur>*{background:#fff6f6}
.mx tr.cur .mx-c{box-shadow:inset 3px 0 0 var(--primary)}
@media (max-width:760px){
  .st-noimg{height:200px}
}
@media (max-width:640px){
  .mp{padding:0;align-items:stretch}
  .mp-box{width:100%;max-height:none;height:100%;border-radius:0}
  .mp-top{height:auto;justify-content:space-between;background:#fff;border-bottom:1px solid var(--border);padding:.35rem .5rem .35rem 1rem}
  .mp-top-t{display:block;font-weight:700;color:#555}
  .mp-x{margin:0;box-shadow:none;background:#f3f3f3}
  .mp-in{padding:.9rem .9rem 6rem}
  .mp-grid{grid-template-columns:1fr;gap:.8rem}
  .mp-media img,.mp-media .st-noimg{height:300px}
  .mp-info h2{font-size:1.15rem;margin-right:0}
  .mp-col{width:2.5rem;height:2.5rem}
  .mp-sz{min-width:3.1rem;padding:.5rem .6rem}
  .mp-acts .btn{flex:1 1 100%}
}
.btn-wide{min-width:min(100%,420px);text-align:center;font-size:1.1rem;padding:1rem 2rem}
@media(max-width:600px){.btn-wide{display:block;width:100%}}

.stock-cta-top{margin:0 0 2.25rem;justify-content:center}
/* Stedman detail pages: colours directly under the main photo on every screen size, photo short enough that both fit */
.pd-sw-under .pd-media .pd-under{margin-top:1rem}
.pd-sw-under .pd-media img,.pd-sw-under .pd-gallery .pd-slide img,.pd-sw-under .pd-slide{max-height:min(460px,52vh)}
.pd-sw-under .pd-under .in-stock-key{margin:-.6rem 0 1rem}
.pd-col-name{font-weight:400}
@media(max-width:760px){.pd-sw-under .pd-media img,.pd-sw-under .pd-gallery .pd-slide img,.pd-sw-under .pd-slide{max-height:min(420px,50vh)}.pd-sw-under .pd-media .pd-under{margin-top:.75rem}}

/* mobile quick tiles: stock + promo (mobile only) */
.m-quick{display:none}
@media(max-width:760px){
.m-quick{display:grid;gap:.6rem;padding:.75rem 1rem .25rem}
.m-tile{display:flex;align-items:center;gap:.8rem;padding:.7rem .9rem;border-radius:12px;color:#fff;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.12);min-height:76px}
.m-tile--stock{background:var(--primary)}
.m-tile--promo{background:var(--text)}
.m-tile img{width:56px;height:56px;object-fit:cover;border-radius:8px;background:#fff;flex:none}
.m-tile span{flex:1;display:flex;flex-direction:column;line-height:1.25}
.m-tile strong{font-size:1.1rem}
.m-tile small{font-size:.85rem;opacity:.9;margin-top:.15rem}
.m-tile b{font-size:1.8rem;font-weight:400;opacity:.85}
.m-tile:hover,.m-tile:active{color:#fff;opacity:.92}
.hero .btn-row{justify-content:center;text-align:center}
}

/* stock page: on phones the "for whom" chips get their own row, everything wraps (no side scroll) */
@media(max-width:760px){
.qchips{flex-wrap:wrap;overflow-x:visible}
.qchip{flex:0 0 auto;padding:.42rem .62rem;font-size:.86rem}
.qsep{flex:0 0 100%;width:100%;height:0;margin:-.4rem 0 0;background:none}
}

/* Бисквитки (assets/consent.js): тънка лента долу + заместител на вградени карта/каталог до съгласие */
.cookiebar{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:#fff;border-top:1px solid #ddd;
  box-shadow:0 -2px 10px rgba(0,0,0,.08);font-size:.88rem;color:var(--muted);padding:.6rem 0 calc(.6rem + env(safe-area-inset-bottom,0px))}
.cookiebar[hidden]{display:none}
.cookiebar-in{display:flex;align-items:center;gap:1rem;justify-content:space-between}
.cookiebar p{margin:0;line-height:1.45}
.cookiebar-btns{display:flex;gap:.5rem;flex:none}
.cookiebar .btn{padding:.45rem 1.1rem;font-size:.9rem;font-family:inherit;min-width:7.5rem}
body.cb-open{padding-bottom:var(--cb-h,0px)}
.embed-ph{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.75rem;text-align:center;
  background:#f5f5f5;border:1px solid var(--border);border-radius:8px;padding:4rem 1rem 1rem;color:var(--muted);font-size:.92rem}
.embed-ph p{margin:0;max-width:34rem}
.embed-ph .btn{font-family:inherit}
.legal{max-width:820px}
.legal h2{margin-top:2rem}
.legal li{margin-bottom:.35rem}
@media(max-width:760px){
  .cookiebar{font-size:.82rem;padding-top:.5rem}
  .cookiebar-in{flex-direction:column;align-items:stretch;gap:.45rem}
  .cookiebar-btns .btn{flex:1;min-width:0;padding:.5rem .5rem}
  .cb-open .callfab{bottom:calc(var(--cb-h,0px) + 12px)}
}
.legal h2:first-child{margin-top:0}
/* BG | EN language toggle (i18n/build_en.py) */
.lang-switch{display:inline-flex;align-items:center;font-size:.85rem;line-height:1;color:#666;white-space:nowrap}
.lang-switch>*{display:inline-flex;align-items:center;justify-content:center}
.lang-switch .is-active{font-weight:700;color:var(--text)}
.lang-switch .sep{color:#bbb;padding:0 .15rem}
.lang-switch a,.nav .lang-switch a{color:#666;text-decoration:none;padding:.25rem .2rem;border-bottom:2px solid transparent;font-size:.85rem}
.lang-switch a:hover,.nav .lang-switch a:hover{color:var(--primary);border-bottom-color:var(--primary)}
.lang-m{display:none}
.lang-d{margin-left:.15rem}
@media(max-width:768px){
  .lang-d{display:none}
  .lang-m{display:inline-flex;margin-left:auto;margin-right:-.6rem}
  .lang-m .is-active,.lang-m a{min-width:40px;min-height:40px;padding:0 .3rem}
  .lang-m .sep{padding:0}
}
/* Blog „Полезно“ */
.nav a.nav-m-only{display:none}
@media(max-width:768px){.nav a.nav-m-only{display:block}}
.wrap.narrow{max-width:820px}
.post-hero{padding:2rem 0 .25rem}
.post-hero h1{font-size:clamp(1.6rem,1.8vw + 1rem,2.3rem);line-height:1.25;margin-bottom:.5rem}
.post-meta{font-size:.88rem;color:var(--muted)}
.post-meta a{color:var(--muted)}
.post{padding-top:1rem}
.post h2{margin-top:2rem}
.post h3{margin-top:1.4rem}
.post-ol{padding-left:1.3rem;margin:0 0 1rem}
.post-ol li{margin-bottom:.45rem}
.post-summary{background:#fff5f5;border-left:4px solid var(--primary);border-radius:6px;padding:1rem 1.2rem;margin:0 0 1.5rem;font-size:1.04rem}
.post-summary p:last-child{margin-bottom:0}
.post-img{margin:0 0 1.5rem;background:#f7f7f7;border-radius:8px;overflow:hidden}
.post-img img{width:100%;max-height:420px;object-fit:contain}
.table-wrap{overflow-x:auto;margin:0 0 1rem}
.table-wrap .size-table{min-width:0}
.cta-box{border:1px solid var(--border);background:#fafafa;border-radius:8px;padding:1.25rem 1.4rem;margin:2rem 0 0;text-align:center}
.cta-box h2{margin:0 0 .5rem}
.faq-list{display:grid;gap:1rem}
.blog-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.blog-card{text-align:left;padding:0;overflow:hidden;display:flex;flex-direction:column}
.blog-card .bc-img{display:block;background:#f7f7f7}
.blog-card .bc-img img{width:100%;height:180px;object-fit:contain}
.blog-card .bc-body{padding:1rem 1.1rem 1.1rem}
.blog-card h3{font-size:1.02rem;line-height:1.35;margin:0 0 .45rem}
.blog-card h3 a{color:var(--text);text-decoration:none}
.blog-card h3 a:hover{color:var(--primary)}
.blog-card p{font-size:.9rem;color:var(--muted)}
/* FAQ page, technical tables, „Обновено на“ (2026-11-01; seo_inject / faq/build_faq.py / build_stedman.py) */
.spec-table{min-width:0}
.spec-table th,.spec-table td,.tech-table th,.tech-table td{white-space:normal;text-align:left;vertical-align:top}
.spec-table tbody th{width:30%}
.size-table.tech-table{min-width:680px}
.tech-table thead th{text-align:left}
.wrap.page-updated{padding-top:1.25rem;font-size:.85rem}
.page-updated p{margin:0}
.faq-topics{line-height:1.9}
.faq-topics a{white-space:nowrap}
.faq-group + .faq-group{margin-top:2.25rem}
.faq-group h2{margin-bottom:1rem}
/* „Технически данни“ on model pages — collapsed <details> (table stays in HTML) */
.spec-details{margin:0}
.spec-details>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.6rem;padding:.55rem 1rem;border:2px solid var(--primary);border-radius:6px;color:var(--primary);background:#fff;-webkit-user-select:none;user-select:none;transition:background .15s,color .15s}
.spec-details>summary::-webkit-details-marker{display:none}
.spec-details>summary::marker{content:""}
.spec-details>summary h2{margin:0;font-size:1.15rem;color:inherit;line-height:1.3}
.spec-details>summary::after{content:"▸";font-size:1.1rem;line-height:1;transition:transform .2s}
.spec-details[open]>summary::after{transform:rotate(90deg)}
@media(hover:hover){.spec-details>summary:hover{background:var(--primary);color:#fff}}
.spec-details>summary:focus-visible{outline:3px solid rgba(211,47,47,.35);outline-offset:2px}
.spec-details[open]>summary{margin-bottom:1rem}
