/* ==========================================================
   Дополнения к стилям макета: внутренние страницы, каталог,
   карточка кухни, служебные элементы.
   ========================================================== */

.h2{font-size:clamp(32px,2.604vw,45px);line-height:1;letter-spacing:-.025em;font-weight:600}
.hero-title{font-weight:600} /* закреплённая шапка */ .site-header{position:sticky;top:0;box-shadow:0 1px 0 #0000000f} html{scroll-padding-top:130px} main .pd-info{top:136px} /* кнопка «Назад» на внутренних страницах */ .back-button{position:fixed;left:clamp(16px,2.894vw,50px);bottom:25px;z-index:30;display:inline-flex;align-items:center;gap:8px;padding:12px 20px 12px 15px;border-radius:999px;background:var(--paper);color:var(--ink);box-shadow:0 6px 24px #00000024;font-size:14px;font-weight:500;line-height:1;transition:transform .25s,box-shadow .25s} .back-button:hover{transform:translateY(-2px);box-shadow:0 10px 28px #0000002e} .back-button svg{width:16px;height:16px;flex-shrink:0} /* «Показать ещё» в каталоге */ .more-wrap{display:flex;justify-content:center;padding-top:35px} .more-button{justify-content:center;min-width:260px} .more-button:disabled{opacity:.7;cursor:wait} @media(max-width:760px){html{scroll-padding-top:116px} .back-button{left:16px;bottom:16px;padding:10px 16px 10px 12px;font-size:13px}}
.hero h1 .hero-price{display:block;font-size:21px;font-weight:600;letter-spacing:0;line-height:1.3;margin-top:20px}
.footer-middle .h2{font-size:32px}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.navbar nav a[aria-current=page]:not(.catalog-link):after{transform:scaleX(1)}
.product-actions>a{font-size:13px;white-space:nowrap;transition:color .2s}
.product-actions>a:hover,.product-info h3 a:hover{color:var(--red)}
.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.product-card:hover .product-image img{transform:scale(1.03)}
.product-price{margin-top:6px;font-size:17px;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.product-price b{font-weight:700}
.product-price s{color:#8a8a80;font-size:14px}
.consent a{text-decoration:underline;text-underline-offset:3px}
.faq-call{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:14px}
.footer-nav{display:flex;flex-wrap:wrap;gap:12px 28px;font-size:13px;padding-block:5px;opacity:.85}
.footer-nav a:hover,.footer-bottom a:hover{color:var(--red)}
.footer-bottom>div a{white-space:nowrap}
.form-error{color:var(--red);font-size:13px;margin-top:-14px}
.lead-form.is-sending .button{opacity:.6;pointer-events:none}

/* --- шапка внутренних страниц --- */
.page-head{padding-top:clamp(24px,2.3vw,40px);padding-bottom:clamp(20px,2vw,34px)}
.page-head h1{max-width:none;font-size:clamp(34px,3.2vw,56px);letter-spacing:-.04em}
.page-head .lead{max-width:760px;font-size:17px;margin-top:16px;color:#4b4b46}
.crumbs{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:13px;color:#77776f;margin-bottom:18px}
.crumbs a:hover{color:var(--red)}
.crumbs li{display:flex;gap:10px}
.crumbs li+li:before{content:"/";opacity:.5}
.crumbs ol{all:unset;display:contents}

.cat-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.cat-chips a{padding:9px 16px;border:1px solid var(--line);border-radius:30px;font-size:14px;font-weight:500;transition:border-color .2s,color .2s,background .2s}
.cat-chips a:hover{border-color:var(--red);color:var(--red)}
.cat-chips a[aria-current=page]{background:var(--ink);border-color:var(--ink);color:#fff}
.catalog .cat-chips{margin-top:28px}
.catalog-count{font-size:14px;color:#77776f;margin-top:10px}
.catalog-pagination>div a[aria-current=page]{background:var(--red);color:#fff;height:25px}
.catalog-pagination .is-disabled{opacity:.35;pointer-events:none}
.empty-note{padding:40px;background:var(--card);border-radius:10px;font-size:17px}

/* --- карточка кухни --- */
.pd{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);gap:clamp(24px,3vw,50px);align-items:start}
.pd-gallery{display:grid;gap:12px;min-width:0}
.pd-main{position:relative;border-radius:12px;overflow:hidden;background:var(--card);aspect-ratio:4/3}
.pd-main img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.pd-main .discount{top:16px;right:16px}
.pd-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px}
.pd-thumbs button{border-radius:8px;overflow:hidden;aspect-ratio:1;outline-offset:2px;opacity:.75;transition:opacity .2s}
.pd-thumbs button[aria-current=true],.pd-thumbs button:hover{opacity:1;box-shadow:0 0 0 2px var(--red)}
.pd-thumbs img{width:100%;height:100%;object-fit:cover}
.pd-info{position:sticky;top:20px;background:var(--card);border-radius:12px;padding:clamp(22px,2.3vw,36px);display:flex;flex-direction:column;gap:22px}
.pd-info h1{font-size:clamp(32px,2.6vw,44px);max-width:none}
.pd-kind{font-size:14px;color:#77776f;margin-top:8px}
.specs{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;font-size:14px;margin:0}
.specs dt{color:#77776f}
.specs dd{margin:0;font-weight:500}
.specs ul{margin:0;padding:0;list-style:none;display:grid;gap:3px}
.pd-price{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px}
.pd-price small{display:block;width:100%;font-size:13px;color:#77776f}
.pd-price b{font-size:34px;font-weight:700;letter-spacing:-.03em}
.pd-price s{color:#8a8a80;font-size:17px}
.pd-price .badge{background:var(--red);color:#fff;font-size:14px;font-weight:700;border-radius:4px;padding:3px 8px}
.pd-info .button{width:100%}
.pd-perks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;font-size:12px;line-height:1.3}
.pd-perks span{background:var(--paper);border-radius:8px;padding:10px}
.pd-perks b{display:block;font-size:13px}
.pd-text{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,60px);font-size:16px;line-height:1.6}
.pd-text h2{grid-column:1/-1;margin-bottom:4px}
.pd-text p+p{margin-top:12px}
.pd-options{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.pd-options li{padding-left:18px;position:relative}
.pd-options li:before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--red)}
.related h2{margin-bottom:28px}
.related .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}

/* --- о компании, отзывы, документы --- */
.about-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,3vw,50px);align-items:stretch}
.about-hero .split-copy{justify-content:center}
.about-hero>img{width:100%;height:100%;object-fit:cover;border-radius:15px;min-height:380px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.stats div{border-top:1px solid var(--ink);padding-top:18px}
.stats b{display:block;font-size:clamp(34px,3vw,52px);font-weight:600;letter-spacing:-.05em;line-height:1}
.stats span{font-size:14px;margin-top:8px;display:block}
.cards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.info-card{background:var(--card);border-radius:12px;padding:26px;display:flex;flex-direction:column;gap:12px}
.info-card h3{font-size:19px}
.info-card p{font-size:14px;line-height:1.55}
.steps{display:grid;gap:0;counter-reset:s}
.steps article{display:grid;grid-template-columns:90px 1fr 2fr;gap:30px;padding-block:26px;border-top:1px solid var(--line)}
.steps span{font-size:40px;font-weight:600;letter-spacing:-.05em;color:var(--red);line-height:1}
.steps h3{font-size:21px}
.steps p{font-size:15px;line-height:1.6}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.two-col .info-card p+p{margin-top:4px}
.contacts-card{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:var(--panel);border-radius:15px;padding:clamp(28px,3vw,50px)}
.contacts-card p{font-size:13px;color:#5c5c55}
.contacts-card a,.contacts-card b{font-size:21px;font-weight:600}
.legal{max-width:860px;font-size:15px;line-height:1.65}
.legal h2{font-size:22px;letter-spacing:-.02em;margin:34px 0 12px}
.legal p{margin:0 0 10px}
.legal .note{background:var(--card);border-radius:10px;padding:20px 24px}
.center-page{min-height:50vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:24px}
.success-symbol{width:64px;height:64px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-size:30px}

@media(max-width:1250px){.related .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.related .product-card:nth-child(4){display:none}}
@media(max-width:1000px){
  .pd{grid-template-columns:1fr}.pd-info{position:static}
  .cards-4,.stats{grid-template-columns:repeat(2,1fr)}
  .about-hero{grid-template-columns:minmax(0,1fr)}
  .steps article{grid-template-columns:60px 1fr;gap:10px 20px}.steps article p{grid-column:2}
}
@media(max-width:760px){
  .page-head h1{font-size:34px;line-height:1.08;letter-spacing:-1.5px}
  .page-head .lead{font-size:15px}
  .cat-chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(var(--gutter)*-1);padding-inline:var(--gutter);scrollbar-width:none}
  .cat-chips::-webkit-scrollbar{display:none}
  .cat-chips a{white-space:nowrap;font-size:13px;padding:8px 14px}
  .product-price{font-size:14px;gap:6px}.product-price s{font-size:12px}
  .product-actions>a{font-size:12px}
  .pd-main{aspect-ratio:1/1;border-radius:10px}
  .pd-thumbs{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:68px;overflow-x:auto;scrollbar-width:none}
  .pd-info h1{font-size:30px;line-height:1.1}
  .pd-price b{font-size:28px}
  .pd-perks{grid-template-columns:1fr}
  .pd-text{grid-template-columns:1fr;font-size:15px}
  .related .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related .product-card:nth-child(4){display:block}
  .cards-4,.two-col,.contacts-card{grid-template-columns:1fr}
  .stats{gap:24px 16px}
  .steps article{grid-template-columns:44px 1fr}.steps span{font-size:30px}
  .footer-nav{gap:10px 18px}
}
