:root{
  --bg:#ededed;
  --card:#ffffff;
  --accent:#E06A28;
  --cream:#FFF1E6;
  --text:#242424;
  --muted:#777777;
  --input:#f5f5f5;
  --highlight:#FFDCC2;
  --price:#565050;
  --label:#9f9f9f;
  --container:1560px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{min-width:1640px;}
body{
  font-family:'Montserrat',sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:15px;
  line-height:1.5;
  font-weight:400;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
ul{list-style:none;}
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 40px;
  min-width:1640px;
}
section,header.site-header,footer.site-footer{width:100%;}
h1,h2,h3,h4{font-weight:800;text-transform:uppercase;letter-spacing:.5px;line-height:1.2;}
.accent{color:var(--accent);}
.section-title{
  font-size:34px;
  text-align:center;
  margin-bottom:44px;
}

/* ============ HEADER ============ */
.site-header{
  background:var(--bg);
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:84px;
  gap:32px;
}
.logo{display:flex;align-items:center;gap:12px;}
.logo img{height:66px;width:auto;object-fit:contain;}
.main-nav{display:flex;gap:34px;}
.main-nav a{
  font-size:13px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.6px;
  transition:color .2s;
}
.main-nav a:hover{color:var(--accent);}
.header-right{display:flex;align-items:center;gap:20px;}
.header-contacts{display:flex;flex-direction:column;align-items:flex-end;gap:2px;}
.header-contacts .phone{font-size:16px;font-weight:700;color:var(--accent);letter-spacing:.3px;}
.header-contacts .hours{font-size:11px;color:var(--muted);font-weight:500;}
.social-btns{display:flex;gap:8px;}
.social-btn{
  width:41px;height:41px;border-radius:8px;background:var(--accent);
  display:flex;align-items:center;justify-content:center;
  transition:background .2s,transform .2s;
}
.social-btn:hover{background:#C45A1F;transform:translateY(-2px);}
.social-btn svg{width:19px;height:19px;fill:#fff;}

/* ============ HERO ============ */
/* ============ SECTION SPACING SYSTEM ============
   Все контентные секции: padding:56px 0 (десктоп).
   1200px: 40px 0; 768px: 28px 0.
   Исключения: .hero, .page-hero (титульная карточка), .site-footer. */

.hero{padding:40px 0 24px;}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 520px;
  gap:56px;
  align-items:stretch;
}
.hero-card{position:relative;min-height:440px;}
.hero-card svg.hero-bg{
  position:absolute;inset:0;width:100%;height:100%;
}
.hero-content{position:relative;padding:48px 56px;z-index:2;}
.hero-tag{
  display:inline-block;
  border:1px solid #666;
  border-radius:20px;
  padding:5px 16px;
  font-size:12px;
  font-weight:600;
  margin-bottom:22px;
  letter-spacing:.4px;
}
.hero h1{
  font-size:38px;
  line-height:1.18;
  margin-bottom:18px;
  max-width:640px;
}
.hero-sub{font-size:16px;color:var(--muted);font-weight:500;margin-bottom:14px;max-width:560px;}
.hero-promo{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--cream);
  border-radius:10px;
  padding:10px 16px;
  font-size:13px;font-weight:600;color:var(--accent);
  margin-bottom:28px;max-width:560px;
}
.hero-promo svg{flex-shrink:0;width:20px;height:20px;fill:var(--accent);}
.hero-actions{display:flex;gap:14px;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:56px;padding:0 34px;border-radius:8px;
  font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.7px;
  transition:background .2s,color .2s,transform .2s;
}
.btn:active{transform:scale(.98);}
.btn-primary{background:var(--accent);color:#fff;}
.btn-primary:hover{background:#C45A1F;}
.btn-secondary{background:var(--cream);color:var(--accent);}
.btn-secondary:hover{background:#fde0c8;}
.btn-dark{background:var(--text);color:#fff;border-radius:10px;height:59px;}
.btn-dark:hover{background:#000;}
.hero-images{position:relative;min-height:440px;}
.hero-images .panel{
  position:absolute;
  top:0;
  bottom:auto;
  height:100%;
  width:calc(50% - 10px);
  border-radius:14px;
  box-shadow:0 18px 50px rgba(0,0,0,.14);
  object-fit:cover;
  background:#ddd;
}
.hero-images .panel-1{left:0;right:auto;z-index:2;}
.hero-images .panel-2{right:0;left:auto;z-index:1;}

/* marble texture fallbacks */
.tex{background-size:cover;background-position:center;}
.tex-white{background:
  radial-gradient(ellipse 120% 60% at 20% 10%, rgba(190,185,180,.35), transparent 55%),
  linear-gradient(118deg, #f7f6f4 0%, #eceae6 22%, #fdfdfc 40%, #e8e6e2 58%, #f9f8f6 76%, #efedea 100%);}
.tex-gray{background:
  radial-gradient(ellipse 100% 50% at 70% 20%, rgba(120,120,125,.4), transparent 60%),
  linear-gradient(130deg, #b9b9bc 0%, #9d9da2 25%, #c9c9cd 45%, #8f8f95 65%, #b5b5b9 85%, #a2a2a7 100%);}
.tex-black{background:
  radial-gradient(ellipse 110% 55% at 30% 15%, rgba(200,195,190,.18), transparent 55%),
  linear-gradient(125deg, #1c1c1e 0%, #2e2e31 25%, #141416 48%, #3a3a3d 68%, #232326 100%);}
.tex-gold{background:
  radial-gradient(ellipse 100% 50% at 60% 20%, rgba(255,240,210,.5), transparent 60%),
  linear-gradient(128deg, #d8b88a 0%, #c9a06a 28%, #edd9b5 48%, #b98d55 70%, #e2c79b 100%);}
.tex-beige{background:
  radial-gradient(ellipse 120% 60% at 25% 20%, rgba(210,185,160,.45), transparent 60%),
  linear-gradient(122deg, #efe3d4 0%, #e2d0ba 25%, #f6ede1 45%, #d9c4a8 65%, #ede0cf 100%);}
.tex-blue{background:
  radial-gradient(ellipse 100% 50% at 65% 15%, rgba(220,225,235,.4), transparent 60%),
  linear-gradient(126deg, #8e9aab 0%, #6d7a8d 25%, #b3bdc9 45%, #5c6878 68%, #9aa5b3 100%);}
.img-fail{visibility:hidden;}

/* ============ STATS ============ */
.stats{padding:56px 0;}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.stat-card{
  background:var(--card);
  border-radius:16px;
  padding:26px 28px;
}
.stat-head{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.stat-head .stat-title{font-size:19px;font-weight:800;text-transform:uppercase;}
.stat-head svg{width:24px;height:24px;fill:var(--accent);flex-shrink:0;}
.stat-card p{color:var(--muted);font-size:14px;font-weight:500;line-height:1.45;}

/* ============ USE CASES ============ */
.usecases{padding:56px 0;}
.usecases .section-title{margin-bottom:40px;}
.usecases-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.usecase-card{
  position:relative;
  height:380px;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 30px rgba(0,0,0,.06);
}
.usecase-card .tex{position:absolute;inset:0;}
.usecase-card .shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.45) 100%);}
.usecase-card .tag{
  position:absolute;left:16px;bottom:16px;
  background:#fbfbfb;
  border-radius:20px;
  padding:7px 16px;
  font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;
}
.usecase-icon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:.9;}
.usecase-icon svg{width:96px;height:96px;stroke:#fff;fill:none;stroke-width:1.2;opacity:.85;}

/* ============ CATALOG ============ */
.catalog{padding:56px 0;}
.catalog-tabs{display:flex;justify-content:center;margin-bottom:16px;gap:0;}
.tab-btn{
  height:40px;padding:0 34px;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;
  color:var(--accent);
  border-right:1px solid var(--accent);
  transition:background .2s,color .2s;
}
.tab-btn:first-child{border-left:1px solid var(--accent);}
.tab-btn.active{background:var(--accent);color:#fff;}

/* Фильтр подкатегорий */
.subcategory-filter{margin-bottom:32px;text-align:center;}
.subcategory-filter-list{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;}
.subcategory-filter-btn{
  display:inline-flex;align-items:center;
  padding:8px 22px;
  font-size:12px;font-weight:600;
  color:var(--muted);
  border:1px solid #e0e0e0;border-radius:28px;
  background:transparent;
  transition:background .2s,color .2s,border-color .2s;
  text-decoration:none;
  line-height:1.2;
}
.subcategory-filter-btn:hover{color:var(--accent);border-color:var(--accent);}
.subcategory-filter-btn.active{background:var(--accent);color:#fff;border-color:var(--accent);}

.products-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;}
.product-card{
  background:var(--card);
  border-radius:12px;
  padding:5px;
  display:flex;flex-direction:column;
}
.product-img{
  height:257px;
  border-radius:8px;
  overflow:hidden;
  position:relative;
}
.product-img img{width:100%;height:100%;object-fit:cover;}
.product-body{padding:12px 10px 10px;display:flex;flex-direction:column;flex:1;}
.product-body h3{
  font-size:13px;font-weight:700;text-transform:none;letter-spacing:0;
  margin-bottom:8px;line-height:1.35;min-height:36px;
}
.product-meta{font-size:12px;color:var(--label);font-weight:500;margin-bottom:2px;}
.product-price{
  font-size:19px;font-weight:800;color:var(--price);margin:10px 0 12px;
}
.product-price small{font-size:12px;font-weight:600;color:var(--label);}
.product-actions{margin-top:auto;display:flex;flex-direction:column;gap:5px;}
.btn-card{
  height:38px;border-radius:5px;
  font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s,color .2s;
}
.btn-card-outline{background:var(--cream);color:var(--accent);}
.btn-card-outline:hover{background:#fde0c8;}
.btn-card-fill{background:var(--accent);color:#fff;}
.btn-card-fill:hover{background:#C45A1F;}
.catalog-more{display:flex;justify-content:center;margin-top:36px;}

/* ============ CONSUMABLES ============ */
.consumables{padding:56px 0;}
.consumables-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.cons-card{
  background:var(--card);border-radius:16px;padding:28px;
  display:flex;flex-direction:column;gap:12px;
}
.cons-card .cons-icon{
  width:52px;height:52px;border-radius:12px;background:var(--cream);
  display:flex;align-items:center;justify-content:center;
}
.cons-card .cons-icon svg{width:26px;height:26px;fill:var(--accent);}
.cons-card h3{font-size:15px;letter-spacing:.3px;}
.cons-card p{font-size:13px;color:var(--muted);font-weight:500;flex:1;}
.cons-price{font-size:16px;font-weight:800;color:var(--accent);}
.cons-price small{font-size:11px;color:var(--label);font-weight:600;display:block;text-transform:none;}

/* ============ ABOUT ============ */
.about{padding:56px 0;}
.about-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:center;}
.about-text h2{font-size:32px;margin-bottom:20px;line-height:1.25;}
.about-text p{color:var(--muted);font-size:15px;font-weight:500;margin-bottom:14px;line-height:1.6;max-width:640px;}
.about-badges{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap;}
.badge{
  background:var(--card);border-radius:10px;padding:10px 18px;
  font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;
  color:var(--accent);
}
.about-cards{display:flex;flex-direction:column;gap:16px;}
.about-card{
  background:var(--card);border-radius:16px;padding:24px 28px;
}
.about-card .num{font-size:26px;font-weight:800;color:var(--accent);margin-bottom:6px;}
.about-card p{font-size:13.5px;color:var(--muted);font-weight:500;}

/* ============ WHY ============ */
.why{padding:0 0 56px;}
.why-grid{display:grid;grid-template-columns:1fr 560px;gap:56px;align-items:center;}
.why-text h2{font-size:32px;margin-bottom:18px;}
.why-lead{color:var(--muted);font-size:15px;font-weight:500;margin-bottom:26px;line-height:1.6;max-width:640px;}
.why-list{display:flex;flex-direction:column;gap:16px;}
.why-item{display:flex;gap:14px;align-items:flex-start;}
.why-item .check{
  width:26px;height:26px;border-radius:50%;background:var(--cream);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;
}
.why-item .check svg{width:13px;height:13px;stroke:var(--accent);fill:none;stroke-width:2.4;}
.why-item h4{font-size:14px;margin-bottom:3px;letter-spacing:.3px;}
.why-item p{font-size:13px;color:var(--muted);font-weight:500;}
.why-visual{
  height:460px;border-radius:20px;overflow:hidden;position:relative;
  box-shadow:0 16px 50px rgba(0,0,0,.1);
}
.why-visual img{width:100%;height:100%;object-fit:cover;}
.why-visual .tex{position:absolute;inset:0;}

/* ============ CTA BANDS ============ */
.cta{padding:56px 0;background:var(--card);}
/* CTA, вложенная в контентную секцию (видеоматериалы, представительства):
   белый блок не должен прилипать к сетке карточек сверху + скругление как у карточек */
.consumables .cta,
.page-section .cta{margin-top:40px;border-radius:16px;overflow:hidden;}
/* Форма-заявка сразу после сетки карточек */
.consumables-grid + .contact-form-card,
.contacts-grid + .contact-form-card{margin-top:40px;}
.cta-inner{display:grid;grid-template-columns:1fr minmax(0,480px);gap:60px;align-items:center;min-width:0;width:100%;}
.cta h3{font-size:30px;margin-bottom:14px;line-height:1.25;}
.cta p{color:var(--muted);font-size:15px;font-weight:500;margin-bottom:26px;max-width:560px;}
.cta-form{display:flex;flex-direction:column;gap:14px;max-width:520px;}
.cta-form input[type=text],.cta-form input[type=tel]{
  height:54px;border-radius:10px;border:none;background:var(--input);
  padding:0 22px;font-family:inherit;font-size:14px;font-weight:500;color:var(--text);
  outline:2px solid transparent;transition:outline-color .2s;
}
.cta-form input:focus{outline-color:var(--accent);}
.cta-form input::placeholder{color:var(--label);}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--muted);font-weight:500;line-height:1.4;}
.consent input{margin-top:2px;accent-color:var(--accent);width:16px;height:16px;}
.consent a{color:var(--accent);text-decoration:underline;}
.cta-visual{position:relative;height:340px;border-radius:16px;overflow:hidden;}
.cta-visual img{width:100%;height:100%;object-fit:cover;}
.cta-visual .tex{position:absolute;inset:0;}
.form-note{font-size:12px;color:var(--accent);font-weight:600;display:none;}

/* ============ BLOG ============ */
.blog-section{padding:56px 0;}
.blog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.blog-card{
  background:var(--card);border-radius:16px;overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform .2s,box-shadow .2s;
}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 14px 40px rgba(0,0,0,.08);}
.blog-img{height:200px;position:relative;}
.blog-img .tex{position:absolute;inset:0;}
.blog-body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1;}
.blog-date{font-size:11px;color:var(--label);font-weight:600;margin-bottom:8px;}
.blog-body h3{
  font-size:14px;text-transform:none;letter-spacing:0;line-height:1.4;margin-bottom:16px;flex:1;
}
.blog-body .btn-card{align-self:flex-start;padding:0 18px;}

/* ============ GALLERY ============ */
.gallery{padding:56px 0;background:var(--card);}
.gallery-tabs{display:flex;justify-content:center;margin-bottom:34px;}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.gallery-item{
  height:300px;border-radius:20px;overflow:hidden;position:relative;
  box-shadow:0 8px 30px rgba(0,0,0,.07);
}
.gallery-item img{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;}
.gallery-item .tex{position:absolute;inset:0;z-index:0;}
.gallery-item .g-label{
  position:absolute;left:14px;bottom:14px;z-index:2;background:rgba(255,255,255,.92);
  border-radius:16px;padding:6px 14px;font-size:11px;font-weight:700;text-transform:uppercase;
}

/* ============ CTA ACCENT ============ */
.cta-accent{padding:56px 0;}
.cta-accent-card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  min-height:320px;
  display:flex;align-items:center;
}
.cta-accent-card svg.cta-bg{position:absolute;inset:0;width:100%;height:100%;}
.cta-accent-content{position:relative;z-index:2;padding:52px 64px;display:grid;grid-template-columns:1fr minmax(0,460px);gap:48px;align-items:center;width:100%;}
.cta-accent h3{font-size:30px;color:#fff;margin-bottom:12px;line-height:1.25;}
.cta-accent h3 .soft{color:var(--highlight);}
.cta-accent p{color:rgba(255,255,255,.85);font-size:15px;font-weight:500;margin-bottom:0;max-width:520px;}
.cta-accent .cta-form input[type=text],.cta-accent .cta-form input[type=tel]{background:rgba(255,255,255,.95);}
.cta-accent .consent{color:rgba(255,255,255,.85);}
.cta-accent .consent a{color:var(--highlight);}

/* ============ FOOTER ============ */
.site-footer{padding:48px 0 28px;}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1.1fr 1fr 1fr;
  gap:16px;
  margin-bottom:24px;
}
.footer-card{
  background:var(--card);border-radius:16px;padding:24px;
  display:flex;flex-direction:column;gap:10px;
}
.footer-logo{display:flex;align-items:center;gap:12px;margin-bottom:4px;}
.footer-logo img{height:88px;width:auto;object-fit:contain;}
.footer-logo b{font-size:15px;font-weight:800;text-transform:uppercase;}
.footer-card p{font-size:12.5px;color:var(--muted);font-weight:500;line-height:1.5;}
.footer-card .copy{font-size:11px;color:var(--label);margin-top:auto;}
.footer-card h4{font-size:12px;color:var(--accent);letter-spacing:.6px;margin-bottom:2px;}
.footer-card .f-phone{font-size:17px;font-weight:800;color:var(--text);letter-spacing:.3px;}
.footer-card .f-link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.4px;
  margin-top:auto;
}
.footer-card .f-link svg{width:14px;height:14px;fill:var(--accent);}
.footer-social{display:flex;gap:8px;margin-top:auto;}
.footer-links-list{display:flex;flex-direction:column;gap:8px;}
.footer-links-list a{font-size:12.5px;font-weight:600;color:var(--text);transition:color .2s;}
.footer-links-list a:hover{color:var(--accent);}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  font-size:12px;color:var(--muted);font-weight:500;padding-top:8px;
}
.footer-bottom a{color:var(--accent);font-weight:600;}

/* hidden filter helper */
.product-card.hidden{display:none;}

/* scroll-margin for anchors */
section[id]{scroll-margin-top:100px;}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero{padding:40px 0 0;}
.page-hero .hero-card{min-height:auto;}
.page-hero .hero-content{padding:40px 48px;}
.page-hero h1{font-size:32px;max-width:none;margin-bottom:10px;}
.page-hero .hero-sub{margin-bottom:0;}

/* Универсальная контентная секция внутренних страниц */
.page-section{padding:56px 0;}

/* ============ CONTACTS ============ */
.contacts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.contact-card{
  background:var(--card);border-radius:16px;padding:28px;
  display:flex;flex-direction:column;gap:10px;min-height:200px;
}
.contact-card .cons-icon{margin-bottom:4px;}
.contact-card h3{font-size:13px;color:var(--accent);letter-spacing:.6px;}
.contact-card .big{font-size:20px;font-weight:800;color:var(--text);letter-spacing:.3px;}
.contact-card a.big:hover{color:var(--accent);}
.contact-card p{font-size:13px;color:var(--muted);font-weight:500;flex:1;}
.contact-card .f-link{margin-top:auto;}
.contact-form-card{
  background:var(--card);border-radius:16px;padding:40px 48px;
  display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;
}
.contact-form-card h3{font-size:24px;margin-bottom:10px;}
.contact-form-card > div > p{color:var(--muted);font-size:14px;font-weight:500;margin-bottom:0;}

/* ============ ABOUT EXTRA ============ */
.usp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:36px 0;}
.usp-card{
  background:var(--card);border-radius:16px;padding:28px;
  display:flex;flex-direction:column;gap:12px;
}
.usp-card .cons-icon{width:52px;height:52px;}
.usp-card h3{font-size:15px;}
.usp-card p{font-size:13.5px;color:var(--muted);font-weight:500;}

/* ============ POLICY ============ */
.policy-body{
  background:var(--card);border-radius:16px;padding:48px 56px;
  max-width:1100px;margin:0 auto 56px;
}
.policy-body h2{font-size:20px;margin:32px 0 12px;}
.policy-body h2:first-child{margin-top:0;}
.policy-body p,.policy-body li{font-size:14px;color:#444;font-weight:500;line-height:1.65;margin-bottom:12px;}
.policy-body ul{padding-left:22px;margin-bottom:12px;list-style:disc;}
.policy-body li{margin-bottom:6px;}
.policy-body a{color:var(--accent);text-decoration:underline;}

/* filter spacing on catalog page */
.catalog-page{padding:40px 0 56px;}
.catalog-page .page-hero,
.product-page .page-hero{padding:0 0 36px;min-width:0;width:100%;}
/* hero уже внутри .container каталога — гасим вложенный container, иначе
   карточка заголовка уже на40px по бокам, чем сетка товаров */
.catalog-page .page-hero .container,
.product-page .page-hero .container{padding:0;max-width:none;min-width:0;width:100%;}
.catalog-page .products-grid{margin-top:0;}

/* shared icon box (cons / usp / contact cards) */
.cons-icon{
  width:52px;height:52px;border-radius:12px;background:var(--cream);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.cons-icon svg{width:26px;height:26px;fill:var(--accent);}

/* f-link usable outside footer */
.f-link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.4px;
  margin-top:auto;
}
.f-link svg{width:14px;height:14px;fill:var(--accent);flex-shrink:0;}

/* ============ HERO SLIDER ============ */
.hero-card{overflow:hidden;}
.hero-slider{display:grid;position:relative;z-index:2;}
.hero-slide{
  grid-area:1/1;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .45s ease;
}
.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;}
.hero-slide .hero-content{padding:48px 56px 76px;}
.hero-dots{
  position:absolute;left:56px;bottom:30px;z-index:5;
  display:flex;gap:9px;align-items:center;
}
.hero-dot{
  width:10px;height:10px;border-radius:50%;
  background:#d8d3cd;transition:background .2s,transform .2s;
}
.hero-dot.is-active{background:var(--accent);transform:scale(1.25);}
.hero-arrows{position:absolute;right:40px;bottom:22px;z-index:5;display:flex;gap:8px;}
.hero-arrow{
  width:44px;height:44px;border-radius:50%;
  background:#f2efec;display:flex;align-items:center;justify-content:center;
  transition:background .2s;
}
.hero-arrow:hover{background:var(--cream);}
.hero-arrow svg{width:16px;height:16px;fill:var(--accent);}

/* ============ PRODUCT PAGE ============ */
.product-page{padding:40px 0 56px;}
.breadcrumb{
  display:flex;gap:6px;align-items:center;flex-wrap:wrap;
  font-size:12px;font-weight:600;color:var(--muted);margin-bottom:22px;
  text-transform:uppercase;letter-spacing:.4px;
}
.breadcrumb a{color:var(--accent);}
.breadcrumb a:hover{text-decoration:underline;}
.breadcrumb span.sep{color:var(--label);margin:0 2px;}
.breadcrumb span:not(.sep){margin-left:4px;}
.product-layout{
  display:grid;grid-template-columns:600px 1fr;gap:48px;
  background:var(--card);border-radius:20px;padding:40px;
}
.product-gallery{position:relative;border-radius:14px;overflow:hidden;background:#eee;height:620px;}
.product-gallery .tex{position:absolute;inset:0;}
.product-gallery img{position:relative;width:100%;height:100%;object-fit:cover;}
.product-badge{
  position:absolute;top:18px;left:18px;z-index:3;
  background:var(--accent);color:#fff;border-radius:8px;
  padding:7px 14px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;
}
.product-info h1{
  font-size:30px;text-transform:none;letter-spacing:0;line-height:1.25;margin-bottom:14px;
}
.product-info .product-price{
  font-size:34px;font-weight:800;color:var(--accent);margin:0 0 6px;
}
.product-info .product-price small{font-size:15px;color:var(--label);font-weight:600;}
.product-info .sku{font-size:12px;color:var(--label);font-weight:600;margin-bottom:18px;}
.product-chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px;}
.chip{
  background:var(--cream);color:var(--accent);border-radius:8px;
  padding:8px 14px;font-size:12px;font-weight:700;
}
.chip.chip-dark{background:var(--input);color:var(--text);}
.product-desc{font-size:14.5px;color:var(--muted);font-weight:500;line-height:1.65;margin-bottom:24px;max-width:640px;}
.product-actions-row{display:flex;gap:14px;margin-bottom:26px;}
.spec-table{width:100%;border-collapse:collapse;}
.spec-table th,.spec-table td{
  text-align:left;padding:13px 0;border-bottom:1px solid #ececec;font-size:13.5px;
}
.spec-table th{color:var(--muted);font-weight:600;width:45%;}
.spec-table td{font-weight:700;}
.product-delivery{
  margin-top:24px;background:var(--cream);border-radius:12px;padding:18px 22px;
  font-size:13px;font-weight:600;color:var(--text);display:flex;gap:12px;align-items:flex-start;
}
.product-delivery svg{width:20px;height:20px;fill:var(--accent);flex-shrink:0;margin-top:1px;}
.product-delivery p{color:var(--muted);font-weight:500;font-size:12.5px;margin-top:3px;}
.related{padding:48px 0 10px;}
.related .section-title{font-size:26px;margin-bottom:30px;text-align:left;}

/* ============ POST PAGE ============ */
.post-page{padding:40px 0 56px;}
.post-card{background:var(--card);border-radius:20px;padding:48px 56px;max-width:1100px;margin:0 auto;}
.post-card .post-date{font-size:12px;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px;display:block;}
.post-card h1{
  font-size:34px;text-transform:none;letter-spacing:0;line-height:1.22;margin:0 0 18px;
}

/* --- Статья: сайдбар-содержание + контент --- */
.post-layout{
  display:grid;grid-template-columns:300px 1fr;gap:36px;align-items:start;
}
.post-toc{position:sticky;top:100px;}
.post-toc-card{
  background:var(--card);border-radius:16px;padding:24px 22px;
}
.post-toc-title{
  font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;
  color:var(--accent);margin:0 0 14px;
}
.post-toc-list{list-style:none;margin:0;padding:0;}
.post-toc-list li{list-style:none;margin:0;}
.post-toc-list a{
  display:block;padding:8px 10px;border-radius:8px;
  font-size:13px;font-weight:600;color:var(--text);text-decoration:none;line-height:1.35;
  transition:background .15s,color .15s;
}
.post-toc-list a:hover{background:var(--cream);color:var(--accent);}
.post-toc-lvl-3 a{padding-left:22px;font-weight:500;color:var(--muted);}
.post-toc-lvl-4 a{padding-left:34px;font-weight:500;color:var(--muted);font-size:12.5px;}

.post-main{min-width:0;overflow-x:hidden;}

/* Обложка статьи: фото + бейжи + заголовок снизу */
.post-hero{
  position:relative;border-radius:20px;overflow:hidden;
  min-height:380px;display:flex;align-items:flex-end;
  background:var(--card);margin-bottom:28px;
}
.post-hero img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;
}
.post-hero .tex{position:absolute;inset:0;z-index:0;}
.post-hero-badges{
  position:absolute;top:20px;left:20px;z-index:2;display:flex;gap:10px;flex-wrap:wrap;
}
.post-hero-badge{
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(255,255,255,.94);border-radius:10px;
  padding:8px 14px;font-size:12px;font-weight:700;color:var(--text);
}
.post-hero-badge svg{width:15px;height:15px;fill:var(--accent);flex-shrink:0;}
.post-hero-title{
  position:relative;z-index:2;width:100%;margin:0;
  padding:64px 32px 28px;
  font-size:32px;text-transform:none;letter-spacing:0;line-height:1.2;color:#fff;
  background:linear-gradient(to top,rgba(0,0,0,.72)0%,rgba(0,0,0,.35)55%,transparent 100%);
}
.post-hero:not(:has(img)) .post-hero-title{
  color:var(--text);background:none;padding:32px;
}

.post-cta{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  background:var(--card);border-radius:16px;padding:28px 32px;margin-bottom:28px;
}
.post-cta h3{
  font-size:22px;text-transform:none;letter-spacing:0;margin:0 0 8px;line-height:1.25;
}
.post-cta p{
  margin:0;font-size:14px;color:var(--muted);font-weight:500;max-width:520px;
}

.post-body{margin-bottom:36px;}
.other-posts-section{margin-top:8px;min-width:0;width:100%;max-width:100%;}
.other-posts-section .section-title{font-size:26px;margin-bottom:22px;}
.post-figure{
  position:relative;height:420px;border-radius:14px;overflow:hidden;margin-bottom:30px;background:#eee;
}
.post-figure .tex{position:absolute;inset:0;}
.post-figure img{position:relative;width:100%;height:100%;object-fit:cover;}
.post-lead{font-size:17px;font-weight:600;color:var(--text);line-height:1.6;margin-bottom:22px;}
.post-body p{font-size:15px;color:#444;font-weight:500;line-height:1.75;margin-bottom:18px;}
.post-body p:last-child{margin-bottom:0;}
.other-posts{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;min-width:0;}
.other-posts .blog-card{min-width:0;overflow:hidden;}
.other-post{
  background:var(--card);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;
  transition:transform .2s,box-shadow .2s;
}
.other-post:hover{transform:translateY(-4px);box-shadow:0 14px 40px rgba(0,0,0,.08);}
.other-post .op-img{height:150px;position:relative;}
.other-post .op-img .tex{position:absolute;inset:0;}
.other-post .op-img img{position:relative;width:100%;height:100%;object-fit:cover;}
.other-post .op-body{padding:16px 18px 20px;}
.other-post .op-date{font-size:11px;color:var(--label);font-weight:600;}
.other-post h4{font-size:13px;text-transform:none;letter-spacing:0;line-height:1.4;margin-top:6px;}

/* ============ CONTACT BAR (fixed bottom) ============ */
.contact-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:250;
  background:var(--card);
  box-shadow:0 -10px 34px rgba(0,0,0,.14);
  transform:translateY(110%);
  transition:transform .35s ease;
  min-width:1640px;
}
.contact-bar.show{transform:translateY(0);}
.contact-bar-inner{
  max-width:var(--container);margin:0 auto;padding:14px 40px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:1560px;
}
.bar-status{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700;}
.bar-status .live-dot{
  width:12px;height:12px;border-radius:50%;background:#2FBF49;position:relative;flex-shrink:0;
}
.bar-status .live-dot::after{
  content:"";position:absolute;inset:-5px;border-radius:50%;
  border:2px solid rgba(47,191,73,.45);animation:pulse 1.6s infinite;
}
@keyframes pulse{0%{transform:scale(.7);opacity:1;}100%{transform:scale(1.35);opacity:0;}}
.bar-status .muted{font-weight:500;font-size:13px;color:var(--muted);}
.bar-actions{display:flex;align-items:center;gap:10px;}
.bar-btn{
  height:46px;border-radius:10px;padding:0 20px;
  display:inline-flex;align-items:center;gap:10px;
  font-size:13px;font-weight:700;
  transition:background .2s,transform .2s,color .2s;
}
.bar-btn svg{width:18px;height:18px;}
.bar-btn:hover{transform:translateY(-2px);}
.bar-phone{background:var(--accent);color:#fff;}
.bar-phone svg{fill:#fff;}
.bar-phone:hover{background:#C45A1F;}
.bar-icon{
  width:46px;height:46px;padding:0;justify-content:center;border-radius:10px;
  background:var(--input);
}
.bar-icon svg{fill:var(--accent);width:20px;height:20px;}
.bar-icon:hover{background:var(--cream);}
.bar-wa svg{fill:#25D366;}
.bar-tg svg{fill:#229ED9;}
.bar-cta{background:var(--text);color:#fff;}
.bar-cta:hover{background:#000;}

/* ============================================================
   RESPONSIVE / MOBILE
   ============================================================ */

/* profiles strip (was inline-styled in index.html) */
.profiles-strip{
  margin-top:28px;background:#fff;border-radius:16px;padding:28px 36px;
  display:grid;grid-template-columns:repeat(5,1fr);gap:20px;
}

/* burger (hidden on desktop) */
.burger{
  display:none;width:44px;height:44px;border-radius:10px;background:var(--card);
  flex-direction:column;justify-content:center;align-items:center;gap:5px;
  flex-shrink:0;box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.burger span{
  width:20px;height:2px;background:var(--text);border-radius:2px;
  transition:transform .25s,opacity .2s;
}

/* kill forced 1640 min-width below desktop spec */
@media (max-width:1639px){
  html,body,.container,section,header.site-header,footer.site-footer,
  .contact-bar,.contact-bar-inner{min-width:0;}
  .contact-bar-inner{padding:14px 24px;}
}

/* ---------- laptops / tablets landscape ---------- */
@media (max-width:1200px){
  .container{padding:0 24px;}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .products-grid{grid-template-columns:repeat(3,1fr);}
  .blog-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(3,1fr);}
  .consumables-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:repeat(3,1fr);}
  .profiles-strip{grid-template-columns:repeat(3,1fr);}
  .hero-inner{grid-template-columns:1fr 420px;gap:32px;}
  .hero-content,.hero-slide .hero-content{padding:40px 40px 72px;}
  .hero h1{font-size:32px;}
  .why-grid{grid-template-columns:1fr 420px;gap:36px;}
  .cta-inner{grid-template-columns:1fr minmax(0,380px);gap:36px;}
  .cta-accent-content{padding:40px 40px;grid-template-columns:1fr minmax(0,380px);gap:32px;}
  .about-grid{gap:36px;}
  .section-title{font-size:30px;margin-bottom:34px;}

  /* единый ритм секций */
  .hero{padding:32px 0 20px;}
  .stats,.usecases,.catalog,.consumables,.about,
  .cta,.blog-section,.gallery,.cta-accent,.page-section{padding:40px 0;}
  .why{padding:0 0 40px;}
  .page-hero{padding:32px 0 0;}
  .catalog-page,.product-page,.post-page{padding:32px 0 40px;}
  .catalog-page .page-hero,
  .product-page .page-hero{padding:0 0 28px;}
}

/* ---------- tablet / burger nav ---------- */
@media (max-width:1024px){
  .burger{display:flex;}
  .header-inner{height:64px;gap:14px;}
  .logo img{height:48px;}
  .header-contacts,.social-btns{display:none;}
  .header-right{display:none;}
  body.nav-open{overflow:hidden;}
  body.nav-open .site-header{z-index:420;}
  body.nav-open::after{
    content:"";position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:405;
  }
  .main-nav{
    position:fixed;top:0;left:0;bottom:0;width:300px;max-width:84vw;
    background:#fff;flex-direction:column;gap:0;
    padding:84px 24px 32px;transform:translateX(-105%);
    transition:transform .3s ease;z-index:410;overflow-y:auto;
    box-shadow:10px 0 44px rgba(0,0,0,.2);
  }
  .main-nav a{
    padding:15px 2px;font-size:14px;border-bottom:1px solid #eee;
  }
  .main-nav a:last-child{border-bottom:none;}
  body.nav-open .main-nav{transform:translateX(0);}
  body.nav-open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  body.nav-open .burger span:nth-child(2){opacity:0;}
  body.nav-open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  /* hero */
  .hero{padding:24px 0 16px;}
  .hero-inner{grid-template-columns:1fr;gap:20px;}
  .hero-card{min-height:0;}
  .hero h1{font-size:30px;max-width:none;}
  .hero-images{min-height:300px;}

  /* grids */
  .usecases-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:repeat(2,1fr);}
  .contacts-grid{grid-template-columns:repeat(2,1fr);}
  .usp-grid{grid-template-columns:repeat(2,1fr);}
  .other-posts{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}

  /* sections stack */
  .about-grid,.why-grid,.cta-inner,.cta-accent-content{grid-template-columns:1fr;}
  .cta-accent-content{padding:36px 32px;gap:26px;}
  .cta-visual{height:240px;}
  .why-visual{height:320px;}
  .about-text p{max-width:none;}

  /* inner pages */
  .product-layout{grid-template-columns:1fr;gap:28px;padding:28px;}
  .product-gallery{height:440px;}
  .post-layout{grid-template-columns:1fr;gap:24px;}
  .post-toc{position:static;order:1;}
  .post-main{display:flex;flex-direction:column;order:2;}
  .post-hero{min-height:300px;order:0;}
  .post-hero-title{font-size:26px;padding:48px 22px 22px;}
  .post-cta{flex-direction:column;align-items:flex-start;gap:16px;padding:22px;margin-bottom:24px;order:1;}
  .post-body{order:2;margin-bottom:36px;}
  .other-posts-section{order:3;}
  .contact-form-card{grid-template-columns:1fr;gap:26px;padding:32px;}
  .policy-body{padding:36px 32px;}
  .page-hero .hero-content{padding:32px 32px;}
  .page-hero h1{font-size:27px;}
}

/* ---------- large phone / small tablet ---------- */
@media (max-width:768px){
  .container{padding:0 18px;}
  .logo img{height:42px;}
  .section-title{font-size:24px;margin-bottom:26px;}

  .products-grid{grid-template-columns:repeat(2,1fr);gap:14px;}
  .consumables-grid{gap:14px;}
  .stats-grid{gap:14px;}
  .stat-card{padding:20px;}
  .stat-head .stat-title{font-size:16px;}
  .blog-grid,.gallery-grid,.footer-grid,.contacts-grid,.usp-grid{gap:14px;}
  .profiles-strip{grid-template-columns:repeat(2,1fr);padding:20px;gap:14px;}

  .page-numbers a,.page-numbers span{width:36px;height:36px;font-size:13px;}
  ul.page-numbers{gap:2px;}

  .hero h1{font-size:26px;}
  .hero-slide .hero-content,.hero-content{padding:30px 24px 66px;}
  .hero-tag{font-size:11px;margin-bottom:16px;}
  .hero-sub{font-size:14px;}
  .hero-promo{font-size:12px;margin-bottom:20px;padding:9px 13px;}
  .hero-arrows{right:16px;bottom:14px;}
  .hero-arrow{width:38px;height:38px;}
  .hero-dots{left:24px;bottom:24px;}
  .hero-images{min-height:240px;}

  .btn{height:50px;padding:0 26px;font-size:12px;}

  .catalog-tabs,.gallery-tabs{flex-wrap:wrap;gap:6px 0;justify-content:flex-start;}
  .tab-btn{height:40px;padding:0 18px;font-size:11px;}
  .subcategory-filter-list{justify-content:center;}
  .subcategory-filter-btn{padding:6px 16px;font-size:11px;}

  .about-text h2,.why-text h2,.cta h3,.cta-accent h3{font-size:24px;}
  .cta-form input[type=text],.cta-form input[type=tel]{font-size:16px;height:52px;}

  .cta-accent-content{padding:30px 24px;}
  .cta-visual{height:200px;}

  /* inner pages */
  .product-layout{padding:22px;}
  .product-gallery{height:380px;}
  .product-info h1{font-size:24px;}
  .product-info .product-price{font-size:28px;}
  .post-card{padding:30px 26px;}
  .post-card h1{font-size:24px;}
  .post-figure{height:260px;}
  .post-lead{font-size:15px;}
  .post-body p{font-size:14.5px;}
  .post-cta{flex-direction:column;align-items:flex-start;padding:22px;}
  .policy-body{padding:28px 22px;}
  .page-hero .hero-content{padding:26px 22px;}
  .page-hero h1{font-size:23px;}

  .contact-form-card{padding:24px;}
  .contact-card{padding:22px;min-height:0;}

  .footer-grid{margin-bottom:18px;}
  .footer-bottom{flex-direction:column;gap:6px;text-align:center;align-items:center;}

  /* contact bar compact */
  .contact-bar-inner{padding:10px 16px;gap:10px;}
  .bar-status{font-size:13px;gap:9px;white-space:nowrap;}
  .bar-status .muted{display:none;}
  .bar-btn{height:42px;padding:0 14px;font-size:12px;gap:7px;}
  .bar-btn svg{width:16px;height:16px;}
  .bar-icon{width:42px;padding:0;}
}

/* ---------- phone ---------- */
@media (max-width:560px){
  .container{padding:0 14px;}
  .section-title{font-size:21px;}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .stat-card{padding:16px 14px;}
  .stat-head .stat-title{font-size:14px;}
  .stat-head svg{width:20px;height:20px;}
  .stat-card p{font-size:12px;}

  .usecases-grid{gap:10px;}
  .usecase-card{height:190px;border-radius:12px;}
  .usecase-card .tag{left:10px;bottom:10px;font-size:10px;padding:6px 12px;}
  .usecase-icon svg{width:64px;height:64px;}

  .products-grid{gap:10px;}
  .product-img{height:170px;}
  .product-body{padding:10px 8px 8px;}
  .product-body h3{font-size:12px;min-height:32px;}
  .product-meta{font-size:11px;}
  .product-price{font-size:17px;margin:8px 0 10px;}
  .btn-card{height:34px;font-size:10px;}

  .consumables-grid{grid-template-columns:1fr;}
  .cons-card{padding:20px;}
  .profiles-strip{grid-template-columns:repeat(2,1fr);gap:10px;}
  .profiles-strip .product-img{height:120px;}

  .hero h1{font-size:23px;}
  .hero-slide .hero-content,.hero-content{padding:26px 20px 62px;}
  .hero-actions{flex-direction:column;gap:10px;}
  .hero-actions .btn{width:100%;}
  .hero-images{min-height:200px;}
  .hero-arrows{display:none;}
  .hero-dots{left:20px;bottom:20px;}

  .about-text h2,.why-text h2,.cta h3,.cta-accent h3{font-size:21px;}
  .why-visual{height:230px;}
  .about-card{padding:18px 20px;}
  .about-card .num{font-size:22px;}
  .badge{padding:8px 13px;font-size:11px;}

  .cta-form{max-width:none;}
  .cta-visual{height:170px;}

  .blog-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .gallery-item{height:150px;border-radius:12px;}
  .g-label{font-size:9px!important;padding:4px 9px!important;left:8px!important;bottom:8px!important;}

  .cta-accent-content{padding:26px 18px;}
  .footer-grid{grid-template-columns:1fr;}
  .footer-card{padding:20px;}

  .contacts-grid{grid-template-columns:1fr;}
  .usp-grid{grid-template-columns:1fr;}
  .other-posts{grid-template-columns:1fr;}

  /* product page */
  .product-layout{padding:16px;border-radius:14px;}
  .product-gallery{height:300px;}
  .product-info h1{font-size:21px;}
  .product-info .product-price{font-size:26px;}
  .product-actions-row{flex-direction:column;gap:10px;}
  .product-actions-row .btn{width:100%;}
  .spec-table th,.spec-table td{font-size:12.5px;padding:11px 0;}
  .product-chips{gap:7px;}
  .chip{font-size:11px;padding:7px 11px;}

  /* post page */
  .post-card{padding:24px 18px;border-radius:14px;}
  .post-card h1{font-size:21px;}
  .post-figure{height:210px;}
  .post-cta .btn{width:100%;}

  .policy-body{padding:22px 16px;}
  .page-hero .hero-content{padding:22px 18px;}
  .page-hero h1{font-size:21px;}

  .breadcrumb{font-size:11px;gap:7px;margin-bottom:16px;}

  /* contact bar minimal */
  .contact-bar-inner{padding:9px 12px;gap:8px;}
  .bar-status{font-size:12px;gap:7px;}
  .bar-status .live-dot{width:10px;height:10px;}
  .bar-btn{height:40px;padding:0 11px;font-size:11px;gap:6px;}
  .bar-icon{width:40px;padding:0;}
  .bar-cta{display:none;}
}

@media (max-width:400px){
  .bar-status{font-size:0;gap:0;}
  .bar-status .live-dot{width:11px;height:11px;margin-right:4px;}
  .bar-phone{padding:0 9px;font-size:10.5px;}
}

/* ============ tighter section rhythm on mobile ============ */
@media (max-width:768px){
  .section-title{margin-bottom:20px;}
  .hero{padding:24px 0 16px;}
  .stats,.usecases,.catalog,.consumables,.about,
  .cta,.blog-section,.gallery,.cta-accent,.page-section{padding:28px 0;}
  .why{padding:0 0 28px;}
  .usecases .section-title{margin-bottom:22px;}
  .catalog-tabs{margin-bottom:24px;flex-direction:column;text-align:center;}
  .tab-btn{border-right:1px solid var(--accent);border-left:1px solid var(--accent);}
  .gallery-tabs{margin-bottom:22px;}
  .woocommerce .woocommerce-breadcrumb{overflow-x:auto;padding-bottom:5px;}
  .site-footer{padding:28px 0 20px;}
  .page-hero{padding:24px 0 0;}
  .catalog-page,.product-page,.post-page{padding:24px 0 28px;}
  .catalog-page .page-hero,
  .product-page .page-hero{padding:0 0 22px;}
  .related{padding:28px 0 4px;}
  .related .section-title{margin-bottom:22px;}
  .consumables .cta,
  .page-section .cta,
  .consumables-grid + .contact-form-card,
  .contacts-grid + .contact-form-card{margin-top:28px;}
}

@media (max-width:560px){
  .section-title{margin-bottom:16px;}
  .hero{padding:20px 0 14px;}
  .stats,.usecases,.catalog,.consumables,.about,
  .cta,.blog-section,.gallery,.cta-accent,.page-section{padding:24px 0;}
  .why{padding:0 0 24px;}
  .usecases .section-title{margin-bottom:16px;}
  .catalog-tabs{margin-bottom:18px;}
  .gallery-tabs{margin-bottom:18px;}
  .site-footer{padding:24px 0 18px;}
  .page-hero{padding:20px 0 0;}
  .catalog-page,.product-page,.post-page{padding:20px 0 24px;}
  .catalog-page .page-hero,
  .product-page .page-hero{padding:0 0 20px;}
  .related{padding:24px 0 4px;}
  .related .section-title{margin-bottom:16px;}
  .profiles-strip{margin-top:18px;}
  .consumables .cta,
  .page-section .cta,
  .consumables-grid + .contact-form-card,
  .contacts-grid + .contact-form-card{margin-top:24px;}
}

/* ============================================================
   WORDPRESS / WOOCOMMERCE (добавлено для темы)
   ============================================================ */

[id]{scroll-padding-top:100px;scroll-margin-top:100px;}

/* --- Hero: заголовки слайдов 2–3 как h1 --- */
.hero h2{
  font-size:38px;
  line-height:1.18;
  margin-bottom:18px;
  max-width:640px;
}
@media (max-width:1200px){.hero h2{font-size:32px;}}
@media (max-width:1024px){.hero h2{font-size:30px;max-width:none;}}
@media (max-width:768px){.hero h2{font-size:26px;}}
@media (max-width:560px){.hero h2{font-size:23px;}}

/* --- page-hero без h1 в контенте --- */
.page-hero .hero-title-plain{
  font-size:32px;
  font-weight:800;
  line-height:1.18;
  text-transform:uppercase;
  letter-spacing:.5px;
  margin:0 0 10px;
  max-width:none;
}
@media (max-width:1024px){.page-hero .hero-title-plain{font-size:27px;}}
@media (max-width:768px){.page-hero .hero-title-plain{font-size:23px;}}
@media (max-width:560px){.page-hero .hero-title-plain{font-size:21px;}}

/* --- Меню WordPress --- */
.main-nav ul.menu{display:flex;gap:34px;list-style:none;margin:0;padding:0;}
.main-nav li.menu-item{position:relative;list-style:none;display:flex;align-items:center;}
.main-nav li.current-menu-item > a,
.main-nav li.current-menu-ancestor > a{color:var(--accent);}
.main-nav .menu-item-has-children > a::after{
  content:"";display:inline-block;margin-left:7px;
  border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid currentColor;vertical-align:middle;
}
.main-nav .menu-item-has-children > .sub-menu{
  position:absolute;top:100%;left:50%;transform:translateX(-50%);
  background:#fff;border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.14);
  padding:10px 0;min-width:280px;list-style:none;margin:0;display:none;z-index:70;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu{display:block;}
.main-nav .sub-menu li{list-style:none;display:block;}
.main-nav .sub-menu a{
  display:block;padding:11px 24px;white-space:nowrap;font-size:12px;
}
.main-nav .sub-menu li:hover a{color:var(--accent);background:#faf6f2;}

@media (max-width:768px){
  .main-nav ul.menu{flex-direction:column;gap:0;width:100%;}
  .main-nav li.menu-item{flex-direction:column;align-items:flex-start;}
  .main-nav .menu-item-has-children > .sub-menu{
    position:static;transform:none;box-shadow:none;display:none;
    padding:0 0 6px 16px;background:transparent;min-width:0;
    border-radius:0;max-width:100%;width:100%;
  }
  .main-nav .menu-item-has-children.open > .sub-menu{display:block;}
  .main-nav .sub-menu a{
    padding:10px 2px;font-size:13px;
    text-transform:none;letter-spacing:.2px;color:var(--muted);
  }
  .main-nav .menu-item-has-children > a::after{
    content:"";display:inline-block;margin-left:8px;
    border-left:4px solid transparent;border-right:4px solid transparent;
    border-top:5px solid var(--muted);vertical-align:middle;transition:transform .2s;
  }
  .main-nav .menu-item-has-children.open > a::after{
    border-top:none;border-bottom:5px solid var(--muted);border-left:4px solid transparent;border-right:4px solid transparent;
  }

  /* фильтры каталога */
  .subcategory-filter{margin-bottom:20px;}
  .subcategory-filter-list{gap:6px;}
  .subcategory-filter-btn{
    padding:6px 14px;font-size:11px;
    border-radius:20px;
  }
}

/* --- Изображения в карточках блога --- */
.blog-img img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;z-index:1;display:block;
}
.blog-body h3 a{color:inherit;text-decoration:none;}
.blog-body h3 a:hover{color:var(--accent);}

/* --- Типографика контента редактора --- */
.entry-content{font-size:15px;color:#444;font-weight:500;line-height:1.75;}
.entry-content > *:first-child{margin-top:0;}
.entry-content h2{font-size:26px;font-weight:800;color:var(--text);margin:34px 0 14px;line-height:1.25;}
.entry-content h3{font-size:20px;font-weight:800;color:var(--text);margin:28px 0 12px;}
.entry-content h4{font-size:16px;font-weight:800;color:var(--text);margin:22px 0 10px;}
.entry-content p{margin-bottom:16px;}
.entry-content p:last-child{margin-bottom:0;}
.entry-content ul,.entry-content ol{padding-left:24px;margin-bottom:16px;}
.entry-content ul{list-style:disc;}
.entry-content ol{list-style:decimal;}
.entry-content li{margin-bottom:8px;}
.entry-content img{max-width:100%;height:auto;border-radius:14px;display:block;}
.entry-content a{color:var(--accent);text-decoration:underline;}
.entry-content strong,.entry-content b{font-weight:700;color:var(--text);}
.entry-content blockquote,
.entry-content .wp-block-quote{
  background:var(--cream);border:none;border-radius:14px;padding:18px 24px;
  font-weight:600;color:var(--text);margin:22px 0;font-size:16px;
}
.entry-content table{width:100%;border-collapse:collapse;margin:20px 0;}
.entry-content td,.entry-content th{border-bottom:1px solid #ececec;padding:11px 8px;text-align:left;font-size:14px;}
.entry-content .wp-block-image{margin:22px 0;}
.entry-content .wp-block-image img{border-radius:14px;}
.entry-content .wp-block-separator{border:none;border-top:2px solid #e6e2dd;margin:28px auto;max-width:140px;}
.entry-content .wp-block-cover{border-radius:14px;overflow:hidden;margin:22px 0;}

/* --- Заголовки карточек/статей в списке --- */
.navigation.pagination{margin-top:36px;}
.posts-navigation{margin-top:36px;}
ul.page-numbers{
  display:flex;gap:4px;justify-content:center;list-style:none;margin:0;padding:0;flex-wrap:wrap;
}
ul.page-numbers li{list-style:none;display:flex;}
.page-numbers a,.page-numbers span{
  width:40px;height:40px;padding:0;
  border-radius:0;background:var(--card);
  color:var(--text);display:inline-flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;text-decoration:none;transition:background .2s,color .2s;
}
.page-numbers a:hover{background:var(--cream);color:var(--accent);}
.page-numbers .current{background:var(--accent);color:#fff;}
.woocommerce-pagination .page-numbers .dots{background:transparent;pointer-events:none;}
.woocommerce-pagination{margin-top:36px;}

/* --- Полезные сетки --- */
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:1200px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}}

/* --- Скрытые элементы форм --- */
.hp-field{display:none !important;}

/* --- Хлебные крошки WooCommerce --- */
.woocommerce-breadcrumb{
  display:flex;gap:6px;align-items:center;flex-wrap:nowrap;
  font-size:12px;font-weight:600;color:var(--muted);margin-bottom:22px;
  text-transform:uppercase;letter-spacing:.4px;
  white-space:nowrap;overflow:hidden;
}
.woocommerce-breadcrumb a{color:var(--accent);text-decoration:none;white-space:nowrap;}
.woocommerce-breadcrumb a:hover{text-decoration:underline;}
.woocommerce-breadcrumb .woocommerce-breadcrumb__separator{color:var(--label);margin:0 2px;flex-shrink:0;}
.woocommerce-breadcrumb a + .woocommerce-breadcrumb__separator,
.woocommerce-breadcrumb span + .woocommerce-breadcrumb__separator{margin-left:4px;}
.woocommerce-breadcrumb .woocommerce-breadcrumb__separator + a,
.woocommerce-breadcrumb .woocommerce-breadcrumb__separator + span{margin-left:4px;}

/* --- Сетка каталога (ul.products) --- */
.woocommerce ul.products,
ul.products{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(5,1fr);gap:20px;
}
.woocommerce ul.products li.product,
ul.products li.product{
  background:var(--card);
  border-radius:12px;
  padding:5px;
  display:flex;flex-direction:column;
  margin:0;width:auto;min-height:0;float:none;position:relative;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:flex;flex-direction:column;flex:1 1 auto;color:inherit;text-decoration:none;
}
.product-img-wrap{
  position:relative;display:block;width:100%;
}
.product-stock-badge{
  position:absolute;top:8px;left:8px;z-index:2;
  display:inline-block;
  padding:2px 10px;
  font-size:11px;font-weight:700;color:#fff;
  text-transform:uppercase;letter-spacing:.3px;
  border-radius:6px;
  line-height:1.35;
  pointer-events:none;
}
.product-stock-badge.stock-badge-in{background:#2e9e5b;}
.product-stock-badge.stock-badge-bo{background:#e6b325;}
.product-stock-badge.stock-badge-out{background:#d32f2f;}
@media (max-width:768px){
  .product-stock-badge{font-size:10px;padding:2px 8px;}
}
@media (max-width:560px){
  .product-stock-badge{font-size:9px;padding:2px 6px;top:6px;left:6px;}
}
.woocommerce ul.products li.product img.woocommerce-placeholder,
.woocommerce ul.products li.product img.wp-post-image{
  width:100%;height:200px;object-fit:contain;border-radius:8px;margin:0;display:block;background:#eee;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:13px;font-weight:700;text-transform:none;letter-spacing:0;line-height:1.35;
  margin:12px 10px 8px;padding:0;color:var(--text);min-height:36px;
}
.woocommerce ul.products li.product .product-meta{
  display:block;padding:0 10px;font-size:12px;color:var(--label);font-weight:500;margin-bottom:2px;
}
.woocommerce ul.products li.product .price{
  display:block;padding:0 10px;margin:10px 0 12px;
  font-size:19px;font-weight:800;color:var(--price);
}
.woocommerce ul.products li.product .price .amount{font-size:inherit;font-weight:inherit;color:inherit;}
.woocommerce ul.products li.product .price del{
  font-size:13px;color:var(--label);font-weight:600;margin-right:6px;text-decoration:none;opacity:.8;
}
.woocommerce ul.products li.product .price ins{text-decoration:none;color:var(--accent);}
.woocommerce ul.products li.product .product-actions{
  margin-top:auto;padding:0 10px 8px;display:flex;flex-direction:column;gap:5px;
}
.woocommerce ul.products li.product-category{
  text-align:center;background:var(--card);border-radius:12px;padding:5px;
}
.woocommerce ul.products li.product-category h2{
  font-size:14px;font-weight:700;text-transform:none;letter-spacing:0;padding:10px 6px;margin:0;color:var(--text);
}
.woocommerce ul.products li.product-category img{
  width:100%;height:190px;object-fit:cover;border-radius:8px;margin:0;
}
.woocommerce ul.products li.product-category a{color:inherit;text-decoration:none;display:block;}

@media (max-width:1200px){.woocommerce ul.products,ul.products{grid-template-columns:repeat(3,1fr);}}
@media (max-width:768px){.woocommerce ul.products,ul.products{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.woocommerce ul.products,ul.products{grid-template-columns:repeat(2,1fr);gap:10px;}
  .woocommerce ul.products li.product img.woocommerce-placeholder,
  .woocommerce ul.products li.product img.wp-post-image{height:170px;}
}

/* Гасим флоат-раскладку WooCommerce: псевдоэлемент ::before (создавал пустую
   первую ячейку в grid) и фиксированные ширины columns-N (сужали карточки). */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after{content:none;display:none;}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce ul.products.columns-6 li.product,
.woocommerce-page.columns-2 ul.products li.product,
.woocommerce-page.columns-3 ul.products li.product,
.woocommerce-page.columns-4 ul.products li.product,
.woocommerce-page.columns-5 ul.products li.product,
.woocommerce-page.columns-6 ul.products li.product,
.woocommerce.columns-2 ul.products li.product,
.woocommerce.columns-3 ul.products li.product,
.woocommerce.columns-4 ul.products li.product,
.woocommerce.columns-5 ul.products li.product,
.woocommerce.columns-6 ul.products li.product{
  width:100%;float:none;margin:0;min-width:0;max-width:none;
}

/* --- Страница товара --- */
.woocommerce div.product{
  display:grid;
  grid-template-columns:minmax(0,600px) minmax(0,1fr);
  gap:0 48px;
  background:var(--card);
  border-radius:20px;
  padding:40px;
}
.woocommerce div.product div.images,
.woocommerce div.product > .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery{
  grid-column:1;grid-row:1;
  position:relative;height:620px;border-radius:14px;overflow:hidden;background:#eee;
  float:none !important;
  width:100% !important;max-width:none !important;min-width:0;
  align-self:stretch;justify-self:stretch;
}
.woocommerce div.product div.summary,
.woocommerce div.product > .summary,
.woocommerce div.product .summary{
  grid-column:2;grid-row:1;min-width:0;
  float:none !important;
  width:auto !important;max-width:none;
  align-self:stretch;justify-self:stretch;
}
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells,
.woocommerce div.product > .woocommerce-tabs-panel,
.woocommerce div.product > #reviews,
.woocommerce div.product > p{
  grid-column:1 / -1;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{margin:0;height:100%;}
.woocommerce-product-gallery__image{height:100%;margin:0;padding:0;}
.woocommerce-product-gallery__image a{display:block;height:100%;}
.woocommerce-product-gallery__image img{
  width:100%;height:100%;object-fit:cover;display:block;margin:0;border-radius:0;
}
.woocommerce-product-gallery__image .zoomImg,
.woocommerce-product-gallery__image a img.zoomImg{display:none !important;}

.woocommerce div.product .product_title{
  font-size:30px;font-weight:800;text-transform:none;letter-spacing:0;
  line-height:1.25;margin:0 0 14px;color:var(--text);
}
.stock-badge{
  position:absolute;top:10px;left:10px;z-index:2;
  display:inline-block;
  padding:3px 10px;
  font-size:11px;font-weight:700;color:#fff;
  text-transform:uppercase;letter-spacing:.3px;
  border-radius:6px;
  line-height:1.35;
  pointer-events:none;
}
.stock-badge-in{background:#2e9e5b;}
.stock-badge-bo{background:#e6b325;}
.stock-badge-out{background:#d32f2f;}
.woocommerce ul.products li.product{position:relative;}
.woocommerce div.product{position:relative;}
.woocommerce div.product div.images{position:relative;}
.woocommerce div.product .summary .price{
  display:block;font-size:34px;font-weight:800;color:var(--accent);margin:0 0 6px;
}
.woocommerce div.product .summary .price .amount{font-size:inherit;font-weight:inherit;color:inherit;}
.woocommerce div.product .summary .price small{font-size:15px;color:var(--label);font-weight:600;}
.woocommerce div.product .summary .price del{
  font-size:17px;color:var(--label);font-weight:600;margin-right:8px;opacity:.85;
}
.woocommerce div.product .summary .price ins{text-decoration:none;}
.woocommerce div.product .product_meta{
  font-size:12px;color:var(--label);font-weight:600;margin:15px 0 18px;
}
.woocommerce div.product .product_meta span{display:block;margin-bottom:5px;}
.woocommerce div.product .product_meta a{color:var(--accent);}
.woocommerce-product-details__short-description{display:none !important;}
.product-description{
  margin-top:24px;max-width:820px;
  font-size:14.5px;color:var(--muted);font-weight:500;line-height:1.7;
}
.product-description h2,.product-description h3,.product-description h4{
  font-size:17px;font-weight:700;color:var(--text);margin:22px 0 10px;
}
.product-description p{margin:0 0 12px;}
.product-description p:last-child{margin-bottom:0;}
.product-description ul,.product-description ol{margin:0 0 12px;padding-left:22px;}
.product-description li{margin-bottom:4px;}

.woocommerce div.product form.cart{
  display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:0 0 14px;
}
.woocommerce div.product form.cart .quantity{display:flex;align-items:center;}
.woocommerce div.product form.cart .qty{
  width:76px;height:56px;border:1px solid #e3e0dc;background:var(--input);
  border-radius:8px;text-align:center;font-size:16px;font-weight:700;
  color:var(--text);padding:0 6px;font-family:inherit;
}
/* --- Заказ + соцсети в один ряд --- */
.product-order-row{
  margin:0 0 18px;
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
}
.product-order-row .product-socials{margin:0;flex:1 1 auto;}
.product-order-btn{min-width:0;padding:14px 28px;font-size:13px;flex-shrink:0;}
.product-oos-note{
  display:block;font-size:14px;font-weight:600;color:var(--muted);
  background:var(--input);border-radius:10px;padding:14px 18px;max-width:520px;
}
.product-socials{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 22px;
}
.product-socials-label{
  font-size:13px;font-weight:700;color:var(--text);
}
.product-socials .social-btns{display:flex;gap:8px;}
.product-socials .social-btn{
  width:44px;height:44px;border-radius:10px;background:var(--input);
  display:inline-flex;align-items:center;justify-content:center;
  transition:background .2s,transform .2s;
}
.product-socials .social-btn svg{width:20px;height:20px;fill:var(--accent);}
.product-socials .social-btn:hover{background:var(--cream);transform:translateY(-2px);}

/* --- Модалка заказа --- */
.order-modal{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:20px;}
.order-modal[hidden]{display:none;}
.order-modal-backdrop{position:absolute;inset:0;background:rgba(20,20,20,.55);}
.order-modal-dialog{
  position:relative;z-index:1;background:#fff;border-radius:20px;
  padding:36px 40px;width:100%;max-width:480px;max-height:90vh;overflow:auto;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
}
.order-modal-dialog h3{font-size:26px;margin:0 0 8px;}
.order-modal-product{
  font-size:13px;font-weight:700;color:var(--accent);margin:0 0 18px;
}
.order-modal-close{
  position:absolute;top:5px;right:5px;width:36px;height:36px;border:none;background:transparent;
  font-size:28px;line-height:1;color:var(--label);cursor:pointer;border-radius:8px;
}
.order-modal-close:hover{color:var(--text);background:var(--input);}
.order-modal-form{display:flex;flex-direction:column;gap:12px;max-width:none;}
.order-modal-form input[type=text],
.order-modal-form input[type=tel],
.order-modal-form input[type=number]{
  width:100%;height:50px;border:1px solid #e3e0dc;background:var(--input);
  border-radius:10px;padding:0 16px;font-size:14px;font-family:inherit;color:var(--text);
}
.order-modal-form .order-qty{max-width:120px;}
.order-modal-form input:focus{outline-color:var(--accent);}
.order-modal-form .consent{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:flex-start;line-height:1.4;}
.order-modal-form .consent input{margin-top:2px;accent-color:var(--accent);width:16px;height:16px;flex-shrink:0;}
.order-modal-form .consent a{color:var(--accent);}
.order-modal-form .btn{width:100%;}
@media (max-width:560px){
  .order-modal-dialog{padding: 40px 20px 20px;border-radius:16px;}
}

.woocommerce button.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
button.button.alt,
a.button.alt,
input.button.alt,
.checkout-button{
  display:inline-flex;align-items:center;justify-content:center;
  height:56px;padding:0 34px;border-radius:8px;
  background:var(--accent);color:#fff;border:none;cursor:pointer;
  font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.7px;
  transition:background .2s,color .2s,transform .2s;text-decoration:none;line-height:1;
  font-family:inherit;
}
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
button.button.alt:hover,
a.button.alt:hover,
input.button.alt:hover,
.checkout-button:hover{
  background:#C45A1F;color:#fff;
}
.woocommerce button.button:active,.woocommerce a.button:active{transform:scale(.98);}

/* --- Описание без табов --- */
.woocommerce div.product .woocommerce-tabs{display:none !important;}
.woocommerce .wc-tabs,
.woocommerce .woocommerce-tabs ul.tabs{
  list-style:none;display:flex;gap:6px;margin:0 0 0;padding:6px;
  background:var(--input);border-radius:12px;width:fit-content;max-width:100%;overflow-x:auto;
}
.woocommerce .wc-tabs li,
.woocommerce .woocommerce-tabs ul.tabs li{
  list-style:none;margin:0;padding:0;position:static;background:transparent!important;border:none!important;
}
.woocommerce .wc-tabs li a,
.woocommerce .woocommerce-tabs ul.tabs li a{
  display:block;padding:12px 26px;font-size:12px;font-weight:700;text-transform:uppercase;
  letter-spacing:.5px;color:var(--muted);border-radius:9px;text-decoration:none;white-space:nowrap;
}
.woocommerce .wc-tabs li.active a,
.woocommerce .woocommerce-tabs ul.tabs li.active a{background:var(--accent);color:#fff;}
.woocommerce .wc-tabs li a:hover{color:var(--text);}
.woocommerce .wc-tabs li.active a:hover{color:#fff;}
.woocommerce .wc-tabs + .panel,
.woocommerce .woocommerce-tabs .panel{padding:24px 0 0;}

/* --- Похожие товары --- */
.woocommerce div.product .related,
.woocommerce div.product .upsells{
  grid-column:1 / -1;margin-top:34px;min-width:0;max-width:100%;overflow:hidden;
  background:#f7f6f5;border-radius:14px;padding:26px;
}
.woocommerce .related h2,
.woocommerce .upsells h2{
  font-size:26px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;
  margin:0 0 22px;color:var(--text);
}
.woocommerce .related ul.products,
.woocommerce .upsells ul.products{
  margin-top:0;grid-template-columns:repeat(4,minmax(0,1fr));
}
.woocommerce .related ul.products li.product,
.woocommerce .upsells ul.products li.product{
  width:auto;float:none;margin:0;min-width:0;max-width:none;
}

/* --- Уведомления WooCommerce --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
ul.woocommerce-message{
  list-style:none;position:relative;margin:0 0 26px;
  padding:17px 22px 17px 54px;border-radius:12px;
  background:var(--cream);color:var(--text);font-size:14px;font-weight:600;
}
.woocommerce-message::before,.woocommerce-message::after,
.woocommerce-info::before,
.woocommerce-error::before{
  position:absolute;left:22px;top:15px;font-weight:800;font-size:17px;line-height:1.4;
}
.woocommerce-message::before{content:"\2713";color:#2e9e5b;}
.woocommerce-message::after{content:"";}
.woocommerce-info::before{content:"?";color:var(--accent);}
.woocommerce-error::before{content:"\00D7";color:#d64545;}
.woocommerce-error li{list-style:none;margin-bottom:4px;}
.woocommerce-message a,.woocommerce-info a,.woocommerce-error a{color:var(--accent);}
.woocommerce form .show-password-input,
.woocommerce .lost_password a{color:var(--accent);}

/* --- Корзина и оформление --- */
.woocommerce table.shop_table{
  width:100%;border-collapse:separate;border-spacing:0;
  background:var(--card);border-radius:16px;margin:0 0 30px;border:none;overflow:hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{
  padding:16px 20px;border-bottom:1px solid #efedea;font-size:14px;
  text-align:left;vertical-align:middle;color:var(--text);font-weight:500;
}
.woocommerce table.shop_table th{
  font-weight:700;color:var(--muted);text-transform:uppercase;
  font-size:11.5px;letter-spacing:.5px;background:#faf9f7;
}
.woocommerce table.shop_table tbody tr:last-child td{border-bottom:none;}
.woocommerce table.shop_table td.product-name a{color:var(--text);font-weight:700;text-decoration:none;}
.woocommerce table.shop_table td.product-name a:hover{color:var(--accent);}
.woocommerce table.shop_table td.product-thumbnail img{
  width:64px;height:64px;object-fit:cover;border-radius:8px;display:block;
}
.woocommerce table.shop_table td.actions .coupon{display:flex;gap:10px;flex-wrap:wrap;}
.woocommerce table.shop_table td.actions .coupon input.input-text{
  height:48px;background:var(--input);border:1px solid transparent;border-radius:8px;
  padding:0 16px;font-size:14px;width:220px;max-width:100%;font-family:inherit;color:var(--text);
}
.woocommerce table.shop_table td.actions .coupon .button{height:48px;padding:0 22px;}
.woocommerce .cart_item .quantity{display:flex;align-items:center;gap:6px;}
.woocommerce .cart_item .qty{
  width:64px;height:46px;border:1px solid #e3e0dc;background:var(--input);border-radius:8px;
  text-align:center;font-weight:700;font-size:15px;padding:0 4px;font-family:inherit;color:var(--text);
}
.woocommerce .cart-collaterals .cart_totals{
  background:var(--card);border-radius:16px;padding:26px 28px;margin-bottom:30px;
}
.woocommerce .cart-collaterals .cart_totals h2{
  font-size:18px;margin:0 0 16px;text-transform:uppercase;letter-spacing:.5px;
}
.woocommerce .cart-collaterals .cart_totals table{width:100%;border-collapse:collapse;}
.woocommerce .cart-collaterals .cart_totals th,
.woocommerce .cart-collaterals .cart_totals td{padding:11px 0;border-bottom:1px solid #efedea;text-align:left;font-size:14px;}
.woocommerce .cart-collaterals .cart_totals .order-total th,
.woocommerce .cart-collaterals .cart_totals .order-total td{border-bottom:none;font-size:17px;font-weight:800;}
.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button{width:100%;margin-top:18px;}

.woocommerce .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-bottom:30px;}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{min-width:0;}
@media (max-width:768px){.woocommerce .col2-set{grid-template-columns:1fr;}}

.woocommerce form .form-row{margin-bottom:16px;}
.woocommerce form .form-row label{
  display:block;font-size:12.5px;font-weight:600;color:var(--text);margin-bottom:6px;
}
.woocommerce form .form-row label .optional{color:var(--label);font-weight:500;}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form input.input-text,
.woocommerce form textarea{
  width:100%;background:var(--input);border:1px solid transparent;border-radius:10px;
  padding:0 18px;height:52px;font-size:14px;color:var(--text);font-family:inherit;
}
.woocommerce form textarea{height:auto;min-height:110px;padding:14px 18px;}
.woocommerce form .form-row textarea{height:auto;min-height:110px;padding:14px 18px;}
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
  outline:2px solid var(--accent);outline-offset:1px;border-color:transparent;
}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid textarea{border-color:#d64545;}
.woocommerce form .form-row.woocommerce-validated input.input-text{border-color:#8fd0a4;}
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form textarea::placeholder{color:var(--label);}
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register{
  background:var(--card);border-radius:16px;padding:28px 30px;max-width:640px;margin:0 auto 30px;
}
.woocommerce form.checkout_coupon .button,
.woocommerce form.login .button,
.woocommerce form.register .button{margin-top:4px;}
.woocommerce .woocommerce-form-login .woocommerce-form-login__link{color:var(--accent);font-weight:600;}

#payment{
  background:var(--card);border-radius:16px;padding:8px 26px 26px;margin-bottom:30px;
}
#payment .payment_box{
  background:var(--input);border-radius:10px;padding:14px 18px;font-size:13px;color:var(--muted);
  margin-top:14px;
}
#payment .terms-and-conditions,
#payment .payment_methods li label{font-size:13.5px;color:var(--text);font-weight:500;}
#payment .place-order{padding-top:18px;}
#payment .place-order .button{width:100%;}

/* --- Учётная страница (если включена) --- */
.woocommerce-MyAccount-navigation{
  background:var(--card);border-radius:16px;padding:18px 0;margin-bottom:26px;
}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;}
.woocommerce-MyAccount-navigation ul li{margin:0;}
.woocommerce-MyAccount-navigation ul li a{
  display:block;padding:11px 24px;font-size:13.5px;font-weight:600;color:var(--text);text-decoration:none;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover{color:var(--accent);background:#faf6f2;}

/* --- Комментарии --- */
.comments-area{margin-top:40px;}
.comments-title,.comments-area h2.comments-title{
  font-size:20px;text-transform:uppercase;letter-spacing:.5px;margin:0 0 18px;
}
.comment-list{list-style:none;padding:0;margin:0 0 30px;}
.comment-list .comment{
  background:var(--card);border-radius:12px;padding:16px 20px;margin-bottom:12px;
}
.comment-list .children{list-style:none;margin:12px 0 0;padding:0 0 0 18px;border-left:2px solid #e6e2dd;}
.comment-author .fn{font-weight:700;font-size:14px;color:var(--text);font-style:normal;}
.comment-author img{border-radius:50%;margin-right:8px;vertical-align:middle;}
.comment-metadata{margin-top:6px;}
.comment-metadata a{font-size:12px;color:var(--label);font-weight:600;}
.comment-metadata a:hover{color:var(--accent);}
.comment-content{margin-top:8px;font-size:14px;color:#444;line-height:1.65;}
.reply{margin-top:8px;}
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea{
  width:100%;background:var(--input);border:1px solid transparent;border-radius:10px;
  height:50px;padding:0 16px;font-size:14px;font-family:inherit;color:var(--text);margin-bottom:12px;
}
.comment-respond textarea{height:auto;min-height:120px;padding:14px 16px;}
.comment-respond label{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px;color:var(--text);}
.comment-respond .comment-notes{font-size:13px;color:var(--muted);margin-bottom:14px;}
.comment-respond .logged-in-as{font-size:13px;color:var(--muted);margin-bottom:14px;}
.comment-respond .logged-in-as a{color:var(--accent);}

/* --- Товар: адаптив --- */
@media (max-width:1200px){
  .woocommerce div.product{grid-template-columns:1fr 1fr;gap:0 30px;padding:30px;}
  .woocommerce div.product > .woocommerce-product-gallery,
  .woocommerce div.product .woocommerce-product-gallery{height:520px;}
}
@media (max-width:1024px){
  .woocommerce div.product{grid-template-columns:1fr !important;padding:28px;}
  .woocommerce div.product div.images,
  .woocommerce div.product > .woocommerce-product-gallery,
  .woocommerce div.product .woocommerce-product-gallery{
    grid-column:1 !important;grid-row:auto !important;height:440px;
    width:100% !important;max-width:none !important;justify-self:stretch !important;
  }
  .woocommerce div.product div.summary,
  .woocommerce div.product > .summary,
  .woocommerce div.product .summary{
    grid-column:1 !important;grid-row:auto !important;
    width:100% !important;justify-self:stretch !important;
  }
}
@media (max-width:768px){
  .woocommerce div.product{padding:22px;border-radius:16px;}
  .woocommerce div.product div.images,
  .woocommerce div.product > .woocommerce-product-gallery,
  .woocommerce div.product .woocommerce-product-gallery{height:380px;}
  .woocommerce div.product .product_title{font-size:24px;}
  .woocommerce div.product .summary .price{font-size:28px;}
  .woocommerce .related h2,.woocommerce .upsells h2{font-size:21px;}
  .woocommerce .related ul.products,
  .woocommerce .upsells ul.products{grid-template-columns:repeat(1,1fr);}
  .woocommerce div.product form.cart{gap:10px;}
  .product-order-btn{min-width:0;width:100%;}
  .product-socials{flex-wrap:wrap;gap:10px;}
}
@media (max-width:560px){
  .woocommerce div.product{padding:16px;border-radius:14px;}
  .woocommerce div.product div.images,
  .woocommerce div.product > .woocommerce-product-gallery,
  .woocommerce div.product .woocommerce-product-gallery{height:300px;}
  .woocommerce div.product .product_title{font-size:21px;}
  .woocommerce div.product .summary .price{font-size:26px;}
  .product-order-row{margin-bottom:14px;}
  .product-order-btn{min-width:0;width:100%;}
  .product-socials .social-btns{flex-wrap:wrap;}
  .woocommerce .wc-tabs,.woocommerce .woocommerce-tabs ul.tabs{width:100%;}
  .woocommerce .wc-tabs li a,.woocommerce .woocommerce-tabs ul.tabs li a{padding:11px 16px;font-size:11px;}
}
