/* Refinement layer: local system fonts, no third-party assets. */
html{scroll-behavior:smooth}header{padding-top:22px;padding-bottom:22px}.hero{position:relative;padding-top:64px;padding-bottom:72px}.hero h1{font-size:clamp(32px,4.2vw,54px);font-weight:550}.hero-media img{height:460px;border-radius:3px}.hero-media:before{content:'01 / МОДЕЛЬ В ДЕТАЛЯХ';display:block;font-size:11px;letter-spacing:.16em;color:var(--muted);margin-bottom:12px}.hero-media figcaption{display:flex;justify-content:space-between}.eyebrow{letter-spacing:.14em}.section{border-top:1px solid var(--line);padding-top:44px;padding-bottom:64px}.section-heading{margin-bottom:30px}.card{border-radius:3px}.card:hover{border-color:#9cab9f}.card img{background:#eeefe9}.card .muted{display:inline-block}.project-builder{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:start}.project-builder>div>p{max-width:380px}.project-builder form{background:#fff;border:1px solid var(--line);padding:28px;border-radius:4px;min-width:0}.brief-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.brief-fields label{font-size:13px;font-weight:600}.brief-fields input,.brief-fields select,.brief-fields textarea{width:100%;margin-top:8px;font:400 15px/1.5 system-ui}.wide{grid-column:1/-1}.brief-result{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.brief-result p{white-space:pre-wrap;font-size:15px;overflow-wrap:anywhere}.text-link{font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:5px}.model-inquiry{background:#eeefe8;padding:24px;margin:24px 0;border:1px solid var(--line)}.model-inquiry h2{font-size:23px}.model-inquiry p{font-size:15px}.faq-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:64px}.faq-list details{border-bottom:1px solid var(--line);padding:18px 0}.faq-list summary{font-size:17px;font-weight:550;cursor:pointer;min-height:32px}.faq-list p{font-size:15px;color:var(--muted)}.closing-note{display:flex;justify-content:space-between;gap:24px;align-items:center;background:#e8ece4;margin-bottom:40px;padding:32px}.closing-note h2{font-size:27px;margin-top:0}.closing-note p{margin-bottom:0}.woocommerce div.product div.images{opacity:1!important}.woocommerce ul.products li.product a img{aspect-ratio:4/3;object-fit:contain;background:#f3f3ee}.woocommerce div.product .woocommerce-tabs{clear:both}.woocommerce div.product .summary,.woocommerce div.product .images{min-width:0}.woocommerce-breadcrumb{font-size:13px!important}.woocommerce ul.products li.product .price{font-size:16px}.woocommerce ul.products li.product .woocommerce-loop-product__title{line-height:1.4}.woocommerce-pagination a,.woocommerce-pagination span{min-width:44px;min-height:44px}.woocommerce-product-gallery__trigger{display:none}main{min-height:50vh}p,a,h1,h2,h3{overflow-wrap:break-word}button:hover,.button:hover{background:#244235;color:#fff}input:focus,textarea:focus,select:focus{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:900px){.hero-media img{height:360px}.project-builder,.faq-grid{gap:28px}.brief-fields{grid-template-columns:1fr}.closing-note{align-items:start}.hero h1{font-size:38px}}@media(max-width:600px){html{scroll-behavior:auto}.hero{padding-top:32px;padding-bottom:36px}.hero h1{font-size:32px}.hero-media img{height:280px}.project-builder,.faq-grid{grid-template-columns:1fr;gap:20px}.project-builder form{padding:20px}.section{padding-top:30px;padding-bottom:36px}.closing-note{display:block;padding:24px}.closing-note .button{margin-top:22px}.hero-actions{gap:18px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-inquiry{padding:20px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}.woocommerce ul.products li.product{width:48%!important;margin-right:0!important;float:none!important}.woocommerce ul.products{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}.woocommerce ul.products li.product .price{font-size:14px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none}.woocommerce .woocommerce-ordering select{width:100%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.catalog-directions{display:flex;flex-wrap:wrap;gap:8px;clear:both;margin:12px 0 28px}.catalog-directions a{border:1px solid var(--line);padding:10px 14px;font-size:13px;border-radius:3px;background:#fff;min-height:44px}.catalog-directions a[aria-current=page]{background:var(--accent);color:#fff}.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;padding:20px 0 48px}.contact-layout form{background:#fff;padding:26px;border:1px solid var(--line)}.contact-phone{font-size:clamp(22px,3vw,30px);font-weight:550}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.wpcf7-acceptance{display:block;margin:18px 0;font-size:13px}.wpcf7-acceptance .wpcf7-list-item{margin-left:0}.form-notice{font-size:13px;padding:14px;background:#e8ece4;border-left:3px solid var(--accent)}@media(max-width:700px){.contact-layout{grid-template-columns:1fr;gap:22px}.contact-layout form{padding:20px}.catalog-directions{gap:6px}.catalog-directions a{font-size:12px;padding:10px}}
.model-search{display:flex;gap:12px;align-items:end;margin:20px 0 32px;clear:both}.model-search label{flex:1;font-size:13px}.model-search input[type=search]{display:block;width:100%;font:400 15px/1.5 system-ui}.model-search button{min-height:49px}@media(max-width:420px){.model-search{gap:8px}.model-search button{padding-left:16px;padding-right:16px}}
@media(max-width:600px){.grid.steps{grid-template-columns:1fr}}
.contact-layout .brief-fields{display:block}.contact-layout .brief-fields input,.contact-layout .brief-fields textarea{width:100%}.contact-layout .brief-fields p{margin:0 0 18px}
.woocommerce-breadcrumb{display:block!important;line-height:1.7;margin:0 0 24px!important;color:var(--muted)!important}

/* r4 catalog direction and showcase: local-only editorial layout. */
.section-heading p{margin:12px 0 0;max-width:570px}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.category-card{padding:0;display:block}
.category-card__photo{aspect-ratio:4/3;background:#e9ebe7;overflow:hidden}
.category-card__photo img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
.category-card__body{padding:15px 18px 18px}
.category-card__body h3{font-size:18px;line-height:1.25;margin:0 0 8px}
.category-card__body .muted{display:block;margin:0;font-size:13px}
.other-directions{margin-top:26px;border-top:1px solid var(--line);padding-top:23px}
.other-directions__links{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}
.other-directions__links a{border:1px solid var(--line);background:#fff;padding:10px 14px;border-radius:3px;font-size:13px;min-height:44px}
.other-directions__links a:hover{border-color:var(--accent)}
.product-showcase{grid-template-columns:repeat(3,minmax(0,1fr))}
.showcase-card{padding:0}
.showcase-card img{display:block;width:100%;height:230px;object-fit:cover;aspect-ratio:auto}
.showcase-card__body{padding:15px 18px 19px}
.showcase-card__body h3{font-size:17px;margin:0 0 8px}
.showcase-card__body .muted{margin:0;font-size:13px}
@media(max-width:950px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.category-grid,.product-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card__body,.showcase-card__body{padding:11px}.category-card__body h3,.showcase-card__body h3{font-size:15px}.category-card__body .muted,.showcase-card__body .muted{font-size:12px}.showcase-card img{height:155px}.other-directions__links a{font-size:12px}}

/* Keep the original artwork and blend its white canvas into the header. */
body > header { isolation:isolate; background:var(--bg); padding-block:14px; }
body > header > .brand { mix-blend-mode:multiply; padding:4px; }
body > header > .brand img { width:84px; height:112px; object-fit:contain; }
@media (max-width:600px) {
  body > header { display:grid; grid-template-columns:auto 1fr; column-gap:12px; row-gap:8px; padding-block:10px 14px; }
  body > header > .brand img { width:69px; height:92px; }
  body > header > nav { grid-column:1 / -1; grid-row:2; gap:clamp(10px,4vw,22px); flex-wrap:wrap; }
  body > header > a:last-child { justify-self:end; white-space:nowrap; }
}

/* Common masthead and entry points for the homepage and catalog. */
body > .udarnik-header {
  display:grid; grid-template-columns:minmax(235px,1fr) auto minmax(190px,1fr);
  gap:clamp(12px,2vw,30px); align-items:center; background:var(--bg);
  padding-block:14px; border-bottom:1px solid var(--line);
}
body > .udarnik-header > .brand { gap:12px; padding:4px; }
body > .udarnik-header > .brand img { flex:none; width:84px; height:112px; }
.header-wordmark { display:grid; gap:5px; letter-spacing:normal; line-height:1.15; }
.header-wordmark strong { font-size:clamp(22px,2.6vw,32px); letter-spacing:-.035em; }
.header-wordmark small { font-size:12px; font-weight:550; color:var(--muted); }
body > .udarnik-header > nav { gap:clamp(12px,2vw,26px); align-items:center; letter-spacing:normal; }
body > .udarnik-header > nav a { white-space:nowrap; }
.header-contact { justify-self:end; display:grid; justify-items:end; gap:6px; }
.header-call { display:grid; line-height:1.25; gap:3px; padding:8px 13px; border:1px solid var(--accent); border-radius:4px; color:var(--accent); }
.header-call span { font-size:11px; font-weight:650; }
.header-call strong { font-size:15px; white-space:nowrap; }
.header-call:hover { background:var(--accent); color:#fff; }
.header-message { padding-inline:4px; font-size:12px; color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.home .hero { padding-top:clamp(26px,4vw,48px); padding-bottom:clamp(24px,4vw,48px); }
.home .hero h1 { margin-block:.42em .55em; max-width:15ch; }
.hero-work-link { font-weight:650; text-decoration:underline; text-underline-offset:4px; }
.home-project-strip,.udarnik-catalog-intro { display:flex; align-items:center; justify-content:space-between; gap:14px 26px; padding:16px 20px; border:1px solid var(--line); border-left:3px solid var(--accent); background:#eeefe8; }
.home-project-strip strong { display:block; margin-top:3px; font-size:16px; font-weight:650; }
.udarnik-catalog-intro { margin:0 0 16px; }
.udarnik-catalog-intro p { margin:3px 0 0; }
.home-project-strip .text-link,.udarnik-catalog-intro .text-link { flex:0 0 auto; }
@media (max-width:850px) {
  body > .udarnik-header { grid-template-columns:1fr auto; }
  body > .udarnik-header > nav { grid-column:1 / -1; grid-row:2; border-top:1px solid var(--line); padding-top:8px; flex-wrap:wrap; }
}
@media (max-width:600px) {
  body > .udarnik-header { column-gap:8px; row-gap:8px; padding:9px 14px 12px; }
  body > .udarnik-header > .brand { gap:7px; padding:3px; min-width:0; }
  body > .udarnik-header > .brand img { width:69px; height:92px; }
  .header-wordmark strong { font-size:21px; }
  .header-wordmark small { font-size:10px; }
  .header-call { padding:7px 8px; }
  .header-call strong { font-size:13px; }
  body > .udarnik-header > nav { gap:clamp(10px,4vw,22px); }
  .home-project-strip,.udarnik-catalog-intro { align-items:flex-start; flex-direction:column; padding:13px 15px; }
}
@media (max-width:355px) {
  body > .udarnik-header > .brand img { width:58px; height:78px; }
  .header-wordmark strong { font-size:18px; }
  .header-wordmark small { font-size:9px; }
  .header-call strong { font-size:12px; }
}
@media (min-width:901px) {
  .home .hero { align-items:start; }
  .home .hero > div:first-child { padding-top:28px; }
  .home .hero h1 { font-size:clamp(37px,3.7vw,49px); max-width:none; }
}

/* Catalog and product title layout independent of WooCommerce float widths. */
.woocommerce main .related ul.products,.woocommerce main .up-sells ul.products,
body.post-type-archive-product.woocommerce main ul.products,body.tax-product_cat.woocommerce main ul.products {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; width:100%;
}
.woocommerce main .related ul.products::before,.woocommerce main .related ul.products::after,
.woocommerce main .up-sells ul.products::before,.woocommerce main .up-sells ul.products::after,
body.post-type-archive-product.woocommerce main ul.products::before,body.post-type-archive-product.woocommerce main ul.products::after,
body.tax-product_cat.woocommerce main ul.products::before,body.tax-product_cat.woocommerce main ul.products::after { content:none; display:none; }
.woocommerce main .related ul.products li.product,.woocommerce main .up-sells ul.products li.product,
body.post-type-archive-product.woocommerce main ul.products li.product,body.tax-product_cat.woocommerce main ul.products li.product {
  min-width:0; width:auto!important; max-width:none; float:none!important; clear:none!important; margin:0!important;
}
.woocommerce main ul.products li.product a.woocommerce-LoopProduct-link { display:block; min-width:0; }
.woocommerce main ul.products li.product .woocommerce-loop-product__title,
.woocommerce main ul.products li.product .woocommerce-loop-category__title,
.woocommerce main .product_title,.woocommerce main .related > h2 {
  min-width:0; width:auto; line-height:1.3; white-space:normal; word-break:normal; overflow-wrap:break-word;
}
.woocommerce main .related,.woocommerce main .up-sells { clear:both; min-width:0; }
.woocommerce main ul.products li.product img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }

.udarnik-about,.udarnik-visit { color:var(--ink); }
.about-lead,.udarnik-visit { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(14px,3vw,36px); align-items:center; }
.about-lead { padding-block:24px 34px; }
.about-lead p { max-width:54ch; }
.about-lead figure { margin:0; }
.about-lead figure img { display:block; width:100%; max-height:385px; aspect-ratio:4/3; object-fit:cover; border-radius:4px; }
.about-lead figcaption { font-size:13px; color:var(--muted); margin-top:7px; }
.about-group { border-top:1px solid var(--line); padding-block:28px; }
.about-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding:0; list-style:none; }
.about-cards > * { background:#eeefe8; padding:16px 18px; border:1px solid var(--line); min-width:0; }
.about-cards h3 { margin:0 0 8px; }
.about-cards p { margin:0 0 9px; }
.udarnik-visit { margin-block:20px 32px; background:#eeefe8; padding:clamp(13px,2.5vw,24px); border:1px solid var(--line); align-items:stretch; }
.udarnik-visit h2 { margin-block:6px 10px; }
.udarnik-visit address { font-style:normal; font-weight:650; }
.udarnik-visit-actions,.udarnik-contact-links { display:flex; gap:8px 15px; flex-wrap:wrap; align-items:center; }
.udarnik-contact-links a { text-decoration:underline; overflow-wrap:anywhere; }
.udarnik-visit iframe { width:100%; min-height:290px; height:100%; display:block; border:1px solid var(--line); }
@media (max-width:1000px) and (min-width:851px) {
  body > .udarnik-header { grid-template-columns:1fr auto; }
  body > .udarnik-header > nav { grid-column:1/-1; grid-row:2; flex-wrap:wrap; }
}
@media (max-width:860px) {
  .woocommerce main .related ul.products,.woocommerce main .up-sells ul.products,
  body.post-type-archive-product.woocommerce main ul.products,body.tax-product_cat.woocommerce main ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:650px) {
  .about-lead,.about-cards,.udarnik-visit { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:480px) {
  body > .udarnik-header { grid-template-columns:minmax(0,1fr); gap:6px; }
  body > .udarnik-header > .brand { grid-row:1; width:max-content; max-width:100%; }
  body > .udarnik-header > .header-contact { grid-row:2; justify-self:stretch; display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:7px 12px; min-width:0; }
  body > .udarnik-header > nav { grid-row:3; min-width:0; }
  body > .udarnik-header > nav a { font-size:13px; }
  .header-call strong { white-space:normal; }
  .header-message { display:inline-flex; align-items:center; min-height:40px; }
  .woocommerce main .related ul.products,.woocommerce main .up-sells ul.products { gap:12px; }
}
@media (max-width:375px) {
  .woocommerce main .related ul.products,.woocommerce main .up-sells ul.products { grid-template-columns:minmax(0,1fr); }
  .woocommerce main .related ul.products li.product img,
  .woocommerce main .up-sells ul.products li.product img { max-height:210px; object-fit:contain; }
}
.udarnik-messengers{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.udarnik-messenger{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid var(--accent);border-radius:3px;padding:7px 11px;color:var(--accent);font-weight:650;font-size:13px}
.udarnik-messenger:hover{background:var(--accent);color:#fff}
.udarnik-max-hint{margin:7px 0 0;font-size:13px;color:var(--muted)}
.udarnik-header nav [aria-current=page]{font-weight:700;text-decoration:underline;text-underline-offset:5px}
@media(min-width:851px) and (max-width:1070px){body>.udarnik-header{grid-template-columns:1fr auto}body>.udarnik-header>nav{grid-column:1/-1;grid-row:2;flex-wrap:wrap}}
