:root{
  --bg:#F7F9FA;
  --bg-alt:#EBF0F3;
  --surface:#FFFFFF;
  --text:#182029;
  --text-muted:#5C6873;
  --text-faint:#93A0AA;
  --accent:#1F3F5C;
  --accent-dark:#142A3D;
  --accent-soft:#E3ECF1;
  --accent-green:#3F4A38;
  --accent-light:#6FA1C4;
  --border:#DDE4E8;
  --border-strong:#C9D3D8;
  --radius-sm:3px;
  --radius:6px;
  --radius-lg:8px;
  --radius-pill:3px;
  --shadow-sm:0 2px 10px rgba(20,30,40,0.06);
  --shadow:0 14px 40px rgba(20,30,40,0.10);
  --shadow-lg:0 24px 60px rgba(20,30,40,0.14);
  --font-serif:'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-h:132px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:110px;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-sans);
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;transition:color .15s ease;}
button{font-family:inherit;cursor:pointer;}
input,textarea,select{font-family:inherit;font-size:inherit;}
h1,h2,h3,h4{font-family:var(--font-serif);margin:0;font-weight:600;letter-spacing:.2px;}
.section-inner{max-width:1280px;margin:0 auto;padding:0 32px;}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
::selection{background:var(--accent-soft);color:var(--accent-dark);}

/* ---------- topbar ---------- */
.topbar{background:var(--text);color:#EFE9DE;font-size:12.5px;letter-spacing:.03em;}
.topbar-inner{max-width:1280px;margin:0 auto;padding:8px 32px;display:flex;gap:10px;justify-content:center;}
.topbar .dot{opacity:.45;}

/* ---------- header ---------- */
.header{
  position:sticky;top:0;z-index:40;
  background:rgba(250,249,246,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-strong);
}
.header-inner{
  max-width:1280px;margin:0 auto;padding:16px 32px;
  display:flex;align-items:center;gap:28px;
}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.logo-slot{
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  color:var(--accent);background:var(--surface);
  flex-shrink:0;
}
.logo-slot img{width:100%;height:100%;object-fit:cover;}
.brand-text{display:flex;flex-direction:column;line-height:1.15;}
.brand-name{font-family:var(--font-serif);font-size:22px;font-weight:700;letter-spacing:.04em;}
.brand-sub{font-size:10.5px;color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;}

.main-nav{display:flex;gap:26px;flex:1;}
.nav-link{
  font-size:14px;font-weight:600;color:var(--text-muted);
  padding:8px 2px;position:relative;white-space:nowrap;
}
.nav-link.active,.nav-link:hover{color:var(--text);}
.nav-link.active::after{
  content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--accent);
}

.header-actions{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.search-box{
  display:flex;align-items:center;gap:8px;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-pill);padding:9px 16px;min-width:230px;
  color:var(--text-faint);
}
.search-box input{
  border:none;outline:none;background:transparent;color:var(--text);width:100%;
}
.icon-btn{
  position:relative;width:40px;height:40px;border-radius:50%;
  border:1px solid var(--border);background:var(--surface);
  display:flex;align-items:center;justify-content:center;color:var(--text);
}
.icon-btn .badge{
  position:absolute;top:-4px;right:-4px;background:var(--accent);color:#fff;
  font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:var(--radius-pill);
  display:flex;align-items:center;justify-content:center;padding:0 3px;
}
.burger{display:none;flex-direction:column;gap:4px;width:34px;height:34px;align-items:center;justify-content:center;border:none;background:none;}
.burger span{width:20px;height:2px;background:var(--text);border-radius:2px;}

.btn{
  border-radius:var(--radius-pill);border:1px solid transparent;
  padding:10px 20px;font-size:12.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  transition:transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s cubic-bezier(.16,1,.3,1), background .2s ease, border-color .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--text);color:#fff;}
.btn-primary:hover{background:var(--accent-dark);transform:translateY(-1px);box-shadow:0 10px 26px rgba(31,63,92,.32);}
.btn-ghost{background:transparent;border-color:var(--border-strong);color:var(--text);}
.btn-ghost:hover{border-color:var(--text);transform:translateY(-1px);}
.btn-outline{background:var(--surface);border-color:var(--border-strong);color:var(--text);}
.btn-outline:hover{border-color:var(--accent);color:var(--accent-dark);transform:translateY(-1px);}
.btn-lg{padding:14px 30px;font-size:13.5px;}
.btn-block{width:100%;}
.btn:active{transform:translateY(0);}
.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;padding:88px 0 64px;}
.hero-decor{
  position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(ellipse 900px 520px at 100% -15%, var(--accent-soft) 0%, transparent 62%),
    radial-gradient(ellipse 640px 460px at -10% 115%, var(--bg-alt) 0%, transparent 62%);
}
.hero-decor::after{
  content:"";position:absolute;inset:0;opacity:.5;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px);
  background-size:100% 88px;
  background-position:0 -10px;
  mask-image:linear-gradient(to bottom, transparent, rgba(0,0,0,.35) 35%, transparent 85%);
  -webkit-mask-image:linear-gradient(to bottom, transparent, rgba(0,0,0,.35) 35%, transparent 85%);
}
.hero-inner{
  position:relative;z-index:1;max-width:1280px;margin:0;padding:0 32px;
  display:grid;grid-template-columns:1.3fr .7fr;gap:40px;align-items:center;
}
.hero-inner-solo{display:block;}
.hero-text-col{text-align:left;max-width:660px;}

/* ---------- hero photo panel: single straight diagonal split, whole photo, no cropping ---------- */
.hero-photo-panel{
  position:absolute;inset:0;z-index:0;
  clip-path:polygon(58% 0, 100% 0, 100% 100%, 43% 100%);
  background:linear-gradient(160deg, var(--accent-soft) 0%, var(--bg-alt) 100%);
}
.hero-photo-panel img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
.hero h1{font-size:clamp(34px,4.6vw,54px);line-height:1.14;color:var(--text);}
.hero-text{max-width:540px;margin:20px 0 0;color:var(--text-muted);font-size:16px;}

.hero-chips{display:flex;gap:10px;margin-top:34px;flex-wrap:wrap;}
.hero-chip{
  display:inline-flex;align-items:center;padding:11px 18px;
  border-radius:var(--radius-pill);border:1px solid var(--border-strong);background:var(--surface);
  font-size:13.5px;font-weight:700;color:var(--text);
  transition:border-color .2s cubic-bezier(.16,1,.3,1), background .2s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1);
}
.hero-chip:hover{border-color:var(--accent);background:var(--accent-soft);transform:translateY(-2px);}

.hero-actions{display:flex;gap:14px;justify-content:flex-start;margin-top:32px;flex-wrap:wrap;}
.hero-accent{color:var(--accent-dark);font-style:italic;}
.hero-stats{
  display:flex;justify-content:flex-start;gap:0;margin-top:52px;flex-wrap:wrap;
}
.hero-stats div{
  display:flex;flex-direction:column;align-items:flex-start;
  padding:0 40px 0 0;margin-right:40px;border-right:1px solid var(--border-strong);
}
.hero-stats div:last-child{border-right:none;padding-right:0;margin-right:0;}
.hero-stats strong{font-family:var(--font-serif);font-size:32px;color:var(--text);}
.hero-stats span{font-size:11.5px;color:var(--text-muted);margin-top:4px;text-transform:uppercase;letter-spacing:.05em;}

/* ---------- bestsellers ---------- */
.bestsellers{padding:66px 0 70px;background:var(--bg-alt);border-bottom:1px solid var(--border);}
.bestsellers-sub{max-width:640px;color:var(--text-muted);font-size:14.5px;line-height:1.65;margin:0 0 32px;}
.bestsellers-grid .product-card-badge{display:none;}
.bestseller-ribbon{
  position:absolute;top:0;left:0;z-index:2;
  background:var(--accent-dark);color:#fff;
  font-family:var(--font-serif);font-weight:700;font-size:13px;letter-spacing:0;text-transform:none;
  padding:6px 14px 6px 11px;border-radius:0 0 var(--radius) 0;box-shadow:0 6px 16px rgba(20,42,61,.28);
}

/* ---------- groups ---------- */
.groups{padding:60px 0;}
.section-head{margin-bottom:36px;}
.section-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:11.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent-dark);margin-bottom:12px;
}
.section-eyebrow::before{content:"";width:26px;height:1.5px;background:var(--accent);display:inline-block;flex-shrink:0;}
.section-title{font-size:28px;text-align:center;margin-bottom:0;}
.section-title-left{text-align:left;}
.section-head .section-title{margin-bottom:0;}
.group-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;}
.group-card{
  position:relative;overflow:hidden;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:34px 26px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;
  text-align:left;transition:box-shadow .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), border-color .25s ease;
}
.group-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent-dark));
  transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.16,1,.3,1);
}
.group-card:hover::before{transform:scaleX(1);}
.group-card:hover{box-shadow:var(--shadow);transform:translateY(-4px);border-color:var(--border-strong);}
.group-card-title{font-family:var(--font-serif);font-size:20px;font-weight:700;margin-top:4px;}
.group-card-desc{color:var(--text-muted);font-size:13.5px;line-height:1.5;}
.group-card-count{margin-top:14px;font-size:12px;font-weight:700;color:var(--accent-dark);text-transform:uppercase;letter-spacing:.04em;}

/* ---------- catalog ---------- */
.catalog{padding:20px 0 70px;}
.catalog-grid{display:grid;grid-template-columns:240px 1fr;gap:40px;align-items:start;}
.filters{
  position:sticky;top:100px;background:var(--surface);border:1px solid var(--border-strong);
  border-radius:var(--radius);padding:22px;
}
.filters-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;}
.filters-head h3{font-size:15px;font-family:var(--font-sans);font-weight:800;flex:1;}
.reset-link{background:none;border:none;color:var(--accent-dark);font-size:12px;font-weight:700;padding:0;}
.filters-close{
  display:none;width:30px;height:30px;border-radius:50%;border:1px solid var(--border);
  background:var(--bg);font-size:17px;line-height:1;align-items:center;justify-content:center;color:var(--text-muted);
}
.filters-backdrop{display:none;}
.filters-toggle-btn{display:none;}
.filter-block{padding:16px 0;border-top:1px solid var(--border);}
.filter-block:first-of-type{border-top:none;}
.filter-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:10px;}
.category-list{display:flex;flex-direction:column;gap:2px;max-height:360px;overflow-y:auto;}
.category-item{
  display:flex;justify-content:space-between;gap:8px;
  padding:8px 10px;border-radius:8px;font-size:13.5px;color:var(--text);
  cursor:pointer;transition:background .15s ease, color .15s ease;
}
.category-item:hover{background:var(--bg-alt);}
.category-item.active{background:var(--accent-soft);color:var(--accent-dark);font-weight:700;border-left:2.5px solid var(--accent);padding-left:7.5px;}
.category-item .count{color:var(--text-faint);font-size:12px;}
.category-item.active .count{color:var(--accent-dark);}
.price-range{display:flex;align-items:center;gap:8px;}
.price-range input{
  width:0;flex:1;border:1px solid var(--border);border-radius:8px;padding:8px 10px;
  background:var(--bg);color:var(--text);
}
.checkbox-row{display:flex;align-items:center;gap:9px;font-size:13.5px;cursor:pointer;}
.checkbox-row input{width:16px;height:16px;accent-color:var(--accent);}

.catalog-main{min-width:0;}
.catalog-toolbar{margin-bottom:20px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
.catalog-search{
  flex:1;min-width:220px;display:flex;align-items:center;gap:9px;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill);padding:10px 16px;
  color:var(--text-faint);transition:border-color .2s ease;
}
.catalog-search:focus-within{border-color:var(--accent);}
.catalog-search input{border:none;outline:none;background:transparent;color:var(--text);width:100%;font-size:14px;}
.catalog-toolbar-row2{
  display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
  width:100%;
}
.result-count{font-size:13.5px;color:var(--text-muted);}
.sort-select{
  border:1px solid var(--border);border-radius:var(--radius-pill);padding:9px 16px;background:var(--surface);color:var(--text);
}

.product-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(228px,1fr));gap:20px;
}
.product-card{
  background:var(--surface);border:1.5px solid var(--border-strong);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.product-card:hover{border-color:var(--accent);}
.product-card-img{
  aspect-ratio:4/3;background:var(--surface);position:relative;overflow:hidden;
  border-bottom:1px solid var(--border);
}
.product-card-img img{
  width:100%;height:100%;object-fit:contain;object-position:center;padding:14px;box-sizing:border-box;
  transition:transform .35s cubic-bezier(.16,1,.3,1);
}
.product-card:hover .product-card-img img{transform:scale(1.045);}
.product-card-badge{
  position:absolute;top:10px;left:10px;background:var(--surface);color:var(--text-muted);
  font-size:10.5px;font-weight:700;padding:4px 9px;border-radius:var(--radius-pill);border:1px solid var(--border-strong);
  box-shadow:var(--shadow-sm);
}
.fav-toggle{
  position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;
  background:rgba(255,255,255,0.96);border:1px solid var(--border-strong);display:flex;align-items:center;justify-content:center;
  color:var(--text-muted);transition:transform .2s cubic-bezier(.16,1,.3,1), color .2s ease, border-color .2s ease;
  box-shadow:var(--shadow-sm);
}
.fav-toggle:hover{transform:scale(1.08);}
.fav-toggle.active{color:#C0453B;border-color:#C0453B;}
.product-card-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1;}
.product-card-cat{font-size:11px;color:var(--accent-dark);font-weight:700;text-transform:uppercase;letter-spacing:.03em;}
.product-card-brand{font-size:11px;color:var(--text-faint);font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.product-card-name{
  font-size:14.5px;font-weight:700;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;
}
.product-card-specs{display:flex;flex-direction:column;gap:3px;margin-top:2px;}
.product-card-specs .spec-row{
  font-size:12px;color:var(--text-muted);display:flex;gap:5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
.product-card-specs .spec-row b{color:var(--text);font-weight:600;}
.product-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px;}
.product-card-availability{
  display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:#3C7A4B;
}
.product-card-availability i{width:6px;height:6px;border-radius:50%;background:#3C7A4B;display:inline-block;flex-shrink:0;}
.product-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px;}
.product-card-price{font-family:var(--font-serif);font-weight:700;font-size:17px;}
.product-card-sku{font-size:10.5px;color:var(--text-faint);letter-spacing:.01em;white-space:nowrap;}
.product-card-unavailable{font-size:11px;color:#B4472D;font-weight:700;}
.product-card-cta{
  font-size:11.5px;font-weight:700;color:var(--accent-dark);border:1px solid var(--border-strong);
  border-radius:var(--radius-pill);padding:7px 13px;white-space:nowrap;transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.product-card:hover .product-card-cta{background:var(--text);color:#fff;border-color:var(--text);}

.empty-state{text-align:center;padding:60px 20px;color:var(--text-muted);}
.load-more-wrap{display:flex;justify-content:center;margin-top:36px;}

/* ---------- product page ---------- */
.product-page{padding:36px 0 70px;}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:12.5px;color:var(--text-muted);margin-bottom:24px;}
.breadcrumbs a{color:var(--text-muted);}
.breadcrumbs a:hover{color:var(--accent-dark);}
.breadcrumbs .sep{opacity:.5;}
.breadcrumbs .current{color:var(--text);font-weight:600;}

.product-page-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;}
.product-gallery{display:flex;flex-direction:column;gap:12px;}
.gallery-main{
  aspect-ratio:4/3;background:var(--surface);border-radius:var(--radius);overflow:hidden;
  border:1.5px solid var(--border-strong);
}
.gallery-main img{width:100%;height:100%;object-fit:contain;object-position:center;padding:22px;box-sizing:border-box;}
.gallery-thumbs{display:flex;gap:10px;flex-wrap:wrap;}
.gallery-thumbs img{
  width:68px;height:68px;object-fit:contain;object-position:center;padding:6px;box-sizing:border-box;
  border-radius:10px;border:1.5px solid var(--border-strong);background:var(--surface);
  cursor:pointer;opacity:.75;transition:opacity .2s ease, border-color .2s ease;
}
.gallery-thumbs img.active{opacity:1;border-color:var(--accent);}

.product-info{display:flex;flex-direction:column;}
.product-info-cat{font-size:12px;font-weight:700;color:var(--accent-dark);text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px;}
.product-info h1{font-size:clamp(22px,3vw,30px);line-height:1.25;margin-bottom:14px;}
.product-sku{font-size:12px;color:var(--text-faint);letter-spacing:.02em;margin-bottom:10px;}
.product-availability{font-size:13px;font-weight:700;margin-bottom:18px;}
.product-availability.yes{color:#3C7A4B;}
.product-availability.no{color:#B4472D;}
.product-price-row{
  display:flex;align-items:baseline;gap:12px;padding:22px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:22px;
}
.product-price{font-family:var(--font-serif);font-size:34px;font-weight:700;}
.product-price-note{font-size:12px;color:var(--text-muted);}
.product-actions{display:flex;gap:12px;margin-bottom:26px;flex-wrap:wrap;}
.product-quick-specs{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin-bottom:10px;}
.product-quick-specs div{display:flex;justify-content:space-between;font-size:13px;padding:9px 0;border-bottom:1px dashed var(--border);}
.product-quick-specs span:first-child{color:var(--text-muted);}
.product-quick-specs b{font-weight:700;text-align:right;}

.product-lower{display:grid;grid-template-columns:1fr 1.4fr;gap:52px;margin-top:56px;}
.product-specs-block h3,.product-description-block h3{font-size:19px;margin-bottom:18px;}
.spec-table{border-top:1px solid var(--border);}
.spec-table-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border);font-size:13.5px;}
.spec-table-row span:first-child{color:var(--text-muted);}
.spec-table-row b{font-weight:700;text-align:right;}
.product-description-block p{white-space:pre-line;color:var(--text-muted);font-size:14.5px;line-height:1.7;margin:0;}

.related-block{margin-top:70px;}
.related-block h3{font-size:20px;margin-bottom:22px;}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;}

/* ---------- footer ---------- */
.footer{background:var(--text);border-top:3px solid var(--accent-light);padding:60px 0 0;margin-top:40px;color:#E9EEF1;}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:0;padding-bottom:40px;}
.footer-brand{display:flex;gap:12px;align-items:center;padding-right:32px;}
.footer-brand .brand-name{color:#fff;}
.footer-brand .brand-sub{color:rgba(233,238,241,.6);}
/* Логотип прозрачный, а сам рисунок тёмный (навy/чёрный) — на тёмной
   подложке футера ему нужен светлый "бейдж"-кружок под собой, иначе он
   почти сливается с фоном. */
.footer-brand .logo-slot{background:#EFF2F4;}
.footer-title{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--accent-light);margin-bottom:14px;}
.footer-col{display:flex;flex-direction:column;gap:10px;font-size:13.5px;padding:0 32px;border-left:1px solid rgba(233,238,241,.14);}
.footer-col a{color:rgba(233,238,241,.85);}
.footer-col a:hover{color:var(--accent-light);}
.placeholder-text{color:rgba(233,238,241,.5);font-style:italic;}
.footer-note{color:rgba(239,233,222,.65);font-size:12.5px;margin:0;line-height:1.6;}
.footer-bottom{
  border-top:1px solid rgba(239,233,222,.14);padding:18px 32px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  font-size:12px;color:rgba(239,233,222,.55);
}
.footer-subscribe{display:flex;align-items:center;gap:8px;font-size:11.5px;color:rgba(233,238,241,.4);}
.footer-subscribe label{white-space:nowrap;}
.footer-subscribe input{
  width:130px;background:transparent;border:none;border-bottom:1px solid rgba(233,238,241,.25);
  color:rgba(233,238,241,.8);font-size:11.5px;padding:3px 2px;
}
.footer-subscribe input::placeholder{color:rgba(233,238,241,.35);}
.footer-subscribe input:focus{outline:none;border-bottom-color:var(--accent-light);}
.footer-subscribe button{
  background:none;border:none;color:rgba(233,238,241,.55);font-size:14px;line-height:1;
  padding:2px 4px;transition:color .15s ease, transform .15s ease;
}
.footer-subscribe button:hover{color:var(--accent-light);transform:translateX(2px);}
.footer-subscribe-thanks{font-size:11.5px;color:rgba(233,238,241,.5);}

/* ---------- modals ---------- */
.modal-overlay{
  position:fixed;inset:0;background:rgba(30,25,20,0.45);backdrop-filter:blur(3px);
  display:flex;align-items:center;justify-content:center;padding:24px;z-index:100;
  opacity:0;pointer-events:none;transition:opacity .2s ease;
}
.modal-overlay.open{opacity:1;pointer-events:auto;}
.modal{
  background:var(--surface);border-radius:var(--radius-lg);max-width:460px;width:100%;
  max-height:88vh;overflow-y:auto;position:relative;padding:36px 30px 30px;
  box-shadow:var(--shadow-lg);transform:translateY(12px);transition:transform .2s ease;
}
.modal-overlay.open .modal{transform:translateY(0);}
.modal-close{
  position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;
  border:1px solid var(--border);background:var(--bg);font-size:18px;line-height:1;
  display:flex;align-items:center;justify-content:center;color:var(--text-muted);
}
.modal-lead h3{font-size:21px;margin-bottom:8px;}
.lead-sub{color:var(--text-muted);font-size:13.5px;margin:0 0 22px;}
#leadForm{display:flex;flex-direction:column;gap:14px;}
#leadForm label{font-size:12.5px;font-weight:700;color:var(--text-muted);display:flex;flex-direction:column;gap:6px;}
#leadForm input,#leadForm textarea{
  border:1px solid var(--border);border-radius:10px;padding:11px 13px;color:var(--text);
  background:var(--bg);font-size:14px;resize:vertical;
}
#leadForm input:focus,#leadForm textarea:focus{outline:none;border-color:var(--accent);}
.lead-success{padding:20px 0 4px;font-size:14px;}

.channel-select{display:flex;gap:10px;margin-bottom:2px;}
.channel-btn{
  flex:1;padding:11px 8px;border-radius:10px;border:1.5px solid var(--border-strong);
  background:var(--bg);color:var(--text);font-size:13px;font-weight:700;
}
.channel-btn.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dark);}

/* ---------- promise (redesigned) ---------- */
.promise{padding:60px 0 90px;}
.promise-list{border-top:1px solid var(--border-strong);}
.promise-row{
  display:grid;grid-template-columns:130px 1fr;gap:36px;align-items:start;
  padding:38px 0;border-bottom:1px solid var(--border-strong);
  transition:background .2s ease;
}
.promise-row:hover{background:var(--bg-alt);}
.promise-row-num{
  font-family:var(--font-serif);font-size:60px;font-weight:700;line-height:.9;
  color:var(--accent);letter-spacing:-.02em;
}
.promise-row-body h4{font-size:19px;margin-bottom:12px;}
.promise-row-body p{color:var(--text-muted);font-size:14.5px;line-height:1.75;margin:0;max-width:660px;}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .catalog-grid{grid-template-columns:1fr;}
  .product-page-grid{grid-template-columns:1fr;gap:32px;}
  .product-lower{grid-template-columns:1fr;gap:32px;}
  .footer-grid{grid-template-columns:1fr 1fr;row-gap:32px;}
  .footer-brand{grid-column:1 / -1;padding-right:0;}
  .footer-col:nth-child(2),.footer-col:nth-child(4){border-left:none;padding-left:0;}
  .hero-inner{grid-template-columns:1fr;}

  .filters-toggle-btn{display:inline-flex;order:2;}
  .catalog-toolbar-row2{order:3;}
  .filters{
    position:fixed;top:0;left:0;height:100%;width:min(320px,86vw);z-index:200;
    transform:translateX(-100%);transition:transform .32s cubic-bezier(.16,1,.3,1);
    overflow-y:auto;border-radius:0;border:none;box-shadow:var(--shadow-lg);
  }
  .filters.open{transform:translateX(0);}
  .filters-close{display:flex;}
  .filters-backdrop{
    display:block;position:fixed;inset:0;background:rgba(20,15,10,.42);z-index:190;
    opacity:0;pointer-events:none;transition:opacity .28s ease;
  }
  .filters-backdrop.open{opacity:1;pointer-events:auto;}
}
@media (max-width:860px){
  .main-nav{display:none;}
  .search-box{display:none;}
  .burger{display:flex;}
  .hero-stats{gap:28px;}
  .promise-row{grid-template-columns:1fr;gap:10px;padding:28px 0;}
  .promise-row-num{font-size:38px;}
  .header-inner{gap:14px;}
  .product-page-grid{gap:24px;}
  .product-actions{flex-direction:column;align-items:stretch;}
  .product-actions .btn{width:100%;}
  .modal{padding:28px 20px 24px;}
  .hero-photo-panel{display:none;}
}
@media (max-width:560px){
  .section-inner{padding:0 16px;}
  .topbar-inner{padding:8px 16px;font-size:11px;gap:6px;}
  .topbar .dot:nth-of-type(2){display:none;}
  .topbar span:nth-of-type(3){display:none;}
  .footer-grid{grid-template-columns:1fr;padding:0 16px 32px;row-gap:28px;}
  .footer-brand{grid-column:auto;padding-right:0;}
  .footer-col{border-left:none;padding:0;}
  .footer-bottom{padding:16px;justify-content:center;text-align:center;}
  .footer-subscribe{width:100%;justify-content:center;}
  .footer-subscribe input{flex:1;max-width:160px;}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:10px;}
  .product-card-name{font-size:13px;min-height:2.6em;}
  .product-card-body{padding:12px;}
  .product-card-sku{display:none;}
  .product-card-availability{font-size:10px;}
  .product-card-foot{flex-direction:column;align-items:flex-start;gap:6px;}
  .product-card-cta{padding:6px 11px;font-size:11px;}
  .hero{padding:56px 0 44px;}
  .hero-chips{gap:8px;}
  .hero-chip{padding:9px 14px;font-size:12.5px;}
  .hero-actions .btn{flex:1;}
  .header-inner{padding:12px 16px;}
  .modal-overlay{padding:12px;}
  .modal{padding:24px 16px 20px;max-height:92vh;}
  .channel-select{flex-wrap:wrap;}
  .channel-btn{min-width:calc(50% - 5px);}
}

.mobile-nav-drawer{
  display:none;flex-direction:column;gap:2px;
  background:var(--surface);border-top:1px solid var(--border);padding:10px 20px 16px;
}
.mobile-nav-drawer.open{display:flex;}
.mobile-nav-drawer a{padding:11px 4px;font-weight:600;border-bottom:1px solid var(--border);}
.mobile-nav-drawer .search-box{display:flex;margin-top:10px;}
.no-scroll{overflow:hidden;}
