/* One family and a restrained hierarchy across the storefront. */
body,button,input,select,textarea{font-family:'Montserrat',Arial,sans-serif}
h1,h2,h3,h4,h5,h6{font-family:'Montserrat',Arial,sans-serif;font-weight:700}
.reference-hero h1{font-weight:700}
.reference-section-head h2{font-weight:650;line-height:1.22}
.content-page .page-title h1,.woocommerce-products-header h1{font-size:clamp(32px,3.6vw,48px);line-height:1.18;letter-spacing:-.035em}
@media(max-width:760px){
 body{font-size:14px;line-height:1.6}
 .reference-hero h1{font-size:clamp(30px,8.5vw,38px);line-height:1.15;letter-spacing:-.04em;margin:16px 0}
 .reference-hero-copy>p{font-size:14px;line-height:1.65;margin-bottom:18px}
 .reference-section-head h2,.reference-categories .reference-section-head h2{font-size:clamp(26px,7vw,30px);line-height:1.22;letter-spacing:-.035em}
 .content-page .page-title h1,.woocommerce-products-header h1{font-size:30px;line-height:1.2}
 .hero-model{padding:11px 12px}
 .hero-model strong{font-size:14px}.hero-model small{font-size:12px}
 .hero-buttons>.ref-button{min-height:50px;padding:12px 16px;font-size:14px}
 .hero-buttons>.secondary{min-height:44px;font-size:14px}
 .hero-assurance{font-size:13px;margin-top:8px}
 .reference-benefits{gap:18px 14px;margin-top:20px;padding-bottom:24px}
 .reference-benefits>div{flex-direction:row;gap:10px;padding:8px 0;border:0;border-radius:0;background:transparent;min-height:0}
 .reference-benefits .benefit-icon{width:34px;height:34px;border-radius:10px}
 .reference-benefits .benefit-icon svg{width:22px;height:22px}
 .reference-benefits>div>span:last-child{width:auto;flex:1}
 .reference-benefits strong{font-size:14px;line-height:1.4;font-weight:650;margin-bottom:5px}
 .reference-benefits small{font-size:13px;line-height:1.5}
 .reference-home .space-card,.reference-home .space-card:first-child,.reference-home .space-card:last-child{padding:14px 12px;min-height:0}
 .reference-home .space-card-title{gap:10px;min-height:0;margin:12px 0 10px}
 .reference-home .space-card .door-drawing{width:34px;height:44px}
 .reference-home .space-card h3{font-size:clamp(18px,5vw,20px);line-height:1.22;font-weight:650}
 .reference-home .space-card p{font-size:13px;line-height:1.6;margin-bottom:14px}
 .reference-home .space-card .space-card-link{font-size:13px;min-height:40px;padding-top:10px}
 .reference-about h2,.reference-pick h2,.reference-faq h2,.reference-consult h2{font-size:28px;line-height:1.25}
 .reference-steps h3{font-size:19px;line-height:1.35}
 .reference-card-description .product-name{font-size:18px;line-height:1.35;font-weight:650}
 .reference-card .reference-card-bottom strong{font-size:19px;line-height:1.4}
 .reference-card .quick-add{min-height:44px;height:44px}
 .reference-card-photo .ps-compare-add:not(.ps-compare-product){min-height:36px;height:36px;font-size:12px}
 .reference-card .product-description{font-size:13px;line-height:1.55}
 .single-product.woocommerce div.product .product_title{font-size:clamp(28px,7.5vw,34px);line-height:1.2;font-weight:700}
 .single-product.woocommerce div.product p.price{font-size:28px;line-height:1.3}
 .single-product.woocommerce div.product div.summary{padding:22px 16px}
 .single-product .ps-info-specs table.shop_attributes tr>th{font-size:13px!important}
 .single-product .ps-info-specs table.shop_attributes tr>td{font-size:14px!important;line-height:1.6}
 .single-product .ps-info-specs table.shop_attributes tr{padding:12px 14px}
 .ps-info-description h2{font-size:26px;line-height:1.25}
 .ps-info-specs h3{font-size:21px}
 .ps-product-information{padding:22px 16px;gap:28px;margin:32px 0}
 /* Keep form entry at 16px to avoid automatic zoom on iOS. */
 .ps-consult-form input:not([type=checkbox]):not([type=hidden]),.ps-consult-form select,.woocommerce-cart .ps-cart-express input:not([type=hidden]):not([type=checkbox]),.ps-cart-express textarea{font-size:16px;min-height:48px;padding:11px 13px}
 .ps-consult-form>label,.ps-cart-express>label{margin-top:14px;margin-bottom:6px;font-size:14px}
 .ps-consult-form .ps-consent,.ps-cart-express .ps-consent{font-size:13px!important;line-height:1.6}
 .ps-consult-form .ps-consent a,.ps-cart-express .ps-consent a{font-size:13px}
 .woocommerce-cart .ps-cart-express button[type=submit],.ps-consult-form button[type=submit]{min-height:50px;font-size:14px;padding:12px 16px}
 .woocommerce-cart .cart_totals>h2{font-size:23px}
 .woocommerce-cart .cart_totals .ps-cart-amount>strong{font-size:24px}
 .woocommerce-cart .cart_totals>.cart-note{font-size:13px}
 .reference-footer-grid>div>strong{font-size:16px}
 .reference-footer-grid .ps-footer-contact{font-size:16px}
 .reference-footer-grid p,.reference-footer-grid .ps-footer-address,.reference-footer .reference-footer-grid>div>p{font-size:13px;line-height:1.65}
 .reference-footer-grid{gap:22px 16px}
 .drawer-main>a{font-size:20px}.drawer-main>a:first-child{font-size:25px}
 .drawer-categories>a{font-size:14px;min-height:48px}
 .drawer-consult{font-size:14px;min-height:50px}
 .drawer-email{font-size:14px}.drawer-hours{font-size:13px}
 #consult-dialog.ps-consult-dialog{padding:28px 22px}
 #consult-dialog.ps-consult-dialog h2{font-size:25px;line-height:1.25}
 #consult-dialog .consult-dialog-intro{font-size:14px;line-height:1.65}
 .ps-cart-feedback-title{font-size:14px}.ps-cart-feedback-product{font-size:13px}
 .ps-cart-feedback-link,.ps-cart-feedback-retry{font-size:14px}
}
@media(max-width:350px){
 .reference-benefits{gap:16px 12px}
 .reference-benefits>div{padding:8px 0;gap:8px}
 .reference-benefits .benefit-icon{width:28px;height:28px;border-radius:8px}
 .reference-benefits .benefit-icon svg{width:20px;height:20px}
 .reference-home .space-card,.reference-home .space-card:first-child,.reference-home .space-card:last-child{padding:12px 10px}
}

@media(max-width:760px){
 .hero-buttons>.ref-button.secondary{display:flex;width:100%;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid #b8c9f7;border-radius:12px;background:#eef3ff;color:var(--blue);font-size:14px;font-weight:650;box-shadow:0 2px 6px #2554e808}
 .hero-buttons>.ref-button.secondary:hover{background:#e4edff;border-color:#8ea9f4}
 .hero-buttons>.ref-button.secondary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
 .reference-categories .reference-section-head>div>a,.reference-catalog .reference-section-head>a{font-size:14px;min-height:48px;padding:12px 16px}
}

@media(max-width:760px){
 .reference-pick{position:relative;display:grid;gap:18px;margin-top:32px;padding:24px 20px;border:1px solid #dce5f6;border-radius:18px;background:linear-gradient(135deg,#f9fbff,#edf2ff);color:var(--ink);overflow:hidden}
 .reference-pick>div,.reference-pick>a{position:relative}
 .reference-pick h2{font-size:23px;line-height:1.3;letter-spacing:-.025em;font-weight:650;color:var(--ink);margin:0;max-width:285px}
 .reference-pick p{font-size:14px;line-height:1.65;color:var(--muted);margin:10px 0 0}
 .reference-pick .ref-button.secondary{display:flex;justify-content:space-between;gap:12px;min-width:0;width:100%;min-height:48px;margin:0;padding:12px 16px;border-radius:11px;background:var(--blue);color:white;font-size:14px;font-weight:650}
 #consult-dialog.ps-consult-dialog h2{font-weight:650}
}
/* A compact buying panel, with quantity spanning the action row on phones. */
.single-product.woocommerce div.product div.summary{padding:28px;border-radius:18px;box-shadow:0 6px 24px #20355605}
.single-product.woocommerce div.product .product_title{font-size:clamp(28px,2.7vw,38px);line-height:1.2;margin:0 0 12px}
.single-product.woocommerce div.product p.price{font-size:28px;line-height:1.3;margin:0 0 16px}
.single-product .woocommerce-product-details__short-description{font-size:14px;line-height:1.65;margin-bottom:20px}
.single-product .product-help{gap:6px;padding:14px 0 0}
.single-product .product-help>span{font-size:13px;line-height:1.55;color:var(--muted)}
.single-product .product-help>a{font-size:13px;line-height:1.5;min-height:40px;display:flex;align-items:center}
@media(max-width:760px){
 .single-product.woocommerce div.product div.summary{padding:20px 16px;border-radius:16px}
 .single-product.woocommerce div.product .product_title{font-size:clamp(24px,6.5vw,28px);margin-bottom:8px;letter-spacing:-.03em}
 .single-product.woocommerce div.product p.price{font-size:26px;margin-bottom:10px}
 .single-product .woocommerce-product-details__short-description,.single-product .woocommerce-product-details__short-description p{font-size:13px;line-height:1.55}
 .single-product .woocommerce-product-details__short-description{margin-bottom:16px}
 .single-product .ps-product-purchase{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px 8px;margin-bottom:16px}
 .single-product.woocommerce div.product .ps-product-purchase form.cart:not(.variations_form):not(.grouped_form){display:contents}
 .single-product.woocommerce div.product .ps-product-purchase form.cart:not(.variations_form):not(.grouped_form) div.quantity{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;margin:0}
 .single-product.woocommerce div.product .ps-product-purchase form.cart:not(.variations_form):not(.grouped_form) div.quantity:before{content:'Количество';display:block;font-size:12px;line-height:1.4;margin:0}
 .single-product.woocommerce div.product .ps-product-purchase form.cart:not(.variations_form):not(.grouped_form) .single_add_to_cart_button{grid-column:1;grid-row:2;width:100%;height:48px;min-height:48px;padding:9px 8px;font-size:13px;line-height:1.4;border-radius:10px}
 .single-product.woocommerce div.product .ps-product-purchase:has(form.cart:not(.variations_form):not(.grouped_form)) .ps-compare-product{grid-column:2;grid-row:2;height:48px;min-height:48px;margin:0;padding:9px 6px;font-size:13px;line-height:1.4;border-radius:10px}
 .single-product .product-help{padding-top:12px;gap:4px}
 .single-product .product-help>a{font-size:13px;min-height:40px}
}

/* Preserve the original vertical cards; only place mobile purchase actions together. */
.reference-card-bottom>.ps-compare-card-mobile{display:none}
@media(max-width:760px){
 .reference-card-photo>.ps-compare-add{display:none!important}
 .reference-card .reference-card-bottom{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:9px 6px}
 .reference-card .reference-card-bottom>div{grid-column:1/-1}
 .reference-card .reference-card-bottom>.quick-add{width:100%;min-width:0;height:44px;min-height:44px;padding:8px 2px;gap:0}
 .reference-card .reference-card-bottom>.quick-add>.ps-mobile-cart-label{display:none}
 .reference-card-bottom>.ps-compare-card-mobile{position:static;display:flex;align-items:center;justify-content:center;width:100%;height:44px;min-height:44px;margin:0;padding:6px 2px;border:1px solid #dbe3f3;border-radius:10px;background:#f8faff;color:var(--blue);font-size:11px;line-height:1.3;letter-spacing:-.025em;white-space:nowrap}
 .reference-card-bottom>.ps-compare-card-mobile>span{display:inline}
 .reference-card-bottom>.ps-compare-card-mobile>svg{display:none}
 .reference-card-bottom>.ps-compare-card-mobile[aria-pressed=true]{background:#e9efff;border-color:#b1c4fa;font-size:10px}
 .reference-card-bottom>.ps-compare-card-mobile::before{display:none}
}
@media(max-width:350px){.reference-card .reference-card-bottom{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}}

@media(max-width:760px){.reference-card-bottom>.ps-compare-card-mobile[aria-pressed=true]>span{font-size:0}.reference-card-bottom>.ps-compare-card-mobile[aria-pressed=true]::after{content:"\0412\044b\0431\0440\0430\043d\043e";font-size:11px;letter-spacing:-.025em}}

@media(max-width:760px){
 .reference-about{display:flex;flex-direction:column;gap:0;padding:0;margin-top:44px;border:1px solid #e0e7f2;border-radius:18px;background:#f8faff;overflow:hidden}
 .reference-about>figure{width:100%;margin:0;min-width:0}
 .reference-about>figure>img{display:block;width:100%;height:auto;aspect-ratio:1.4;object-fit:cover;border-radius:0}
 .reference-about>figure>figcaption{font-size:12px;padding:9px 12px;max-width:calc(100% - 28px);line-height:1.5;border-radius:9px}
 .reference-about>div{min-width:0;padding:22px 18px}
 .reference-about .blue-dot-label{font-size:12px;line-height:1.5;color:#4b5c75}
 .reference-about h2{font-size:clamp(21px,5.8vw,25px);line-height:1.35;letter-spacing:-.035em;font-weight:650;margin:12px 0 18px;color:var(--ink)}
 .reference-about h2 .ps-about-accent{color:var(--blue);font-weight:600}
 .reference-about>div>p{font-size:14px;line-height:1.75;color:#46576d;margin:0 0 15px;max-width:none}
 .reference-about .about-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px;padding:0;border:0}
 .reference-about .about-points>div{min-width:0;padding:13px 11px;border:1px solid #e3e9f3;border-radius:12px;background:white}
 .reference-about .about-points strong{display:block;font-size:13px;font-weight:650;line-height:1.5;margin:0 0 7px;color:var(--ink);overflow-wrap:break-word;hyphens:auto}
 .reference-about .about-points small{display:block;font-size:12px;line-height:1.65;color:#526278;overflow-wrap:break-word;hyphens:auto}
}

.reference-catalog .ps-catalog-all{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:44px;margin-top:16px;padding:11px 16px;border:1px solid #c9d7f7;border-radius:10px;background:#eef3ff;color:var(--blue);font-size:14px;font-weight:600;line-height:1.5}
.reference-catalog .ps-catalog-all>span{font-size:20px;line-height:1}
.reference-catalog .ps-catalog-all:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:760px){.reference-about .about-points{grid-template-columns:1fr}.reference-about .about-points>div{padding:12px 14px}.reference-about .about-points strong{font-size:14px;margin-bottom:4px}.reference-about .about-points small{font-size:13px;line-height:1.6}.reference-catalog .reference-section-head>div{width:100%}.reference-catalog .ps-catalog-all{font-size:13px;gap:20px;margin-top:14px}}
@media(max-width:350px){.reference-about>div{padding:20px 14px}.reference-about h2{font-size:20px;letter-spacing:-.045em}}

.reference-home .space-card-top>.space-purpose{color:var(--ink)}
@media(max-width:760px){.reference-about{margin-bottom:40px}.reference-about+.reference-process{margin-top:0}}

/* Compact consultation form: fit the content rather than clipping its controls. */
#consult-dialog.ps-consult-dialog{width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:24px 22px;border-radius:18px;overflow-x:hidden;overflow-y:auto}
#consult-dialog>.chapter-index{display:none}
#consult-dialog .consult-dialog-close{top:10px;right:10px}
#consult-dialog.ps-consult-dialog h2{font-size:24px;line-height:1.25;margin:0 46px 10px 0;letter-spacing:-.03em;font-weight:650}
#consult-dialog .consult-dialog-intro{font-size:13px;line-height:1.55;margin:0 0 12px}
#consult-dialog .ps-consult-form>label:not(.ps-consent){font-size:13px;line-height:1.4;margin:10px 0 5px}
#consult-dialog .ps-consult-form input:not([type=hidden]):not([type=checkbox]),#consult-dialog .ps-consult-form select{min-height:46px;height:46px;padding:10px 12px;font-size:16px;line-height:1.4;border-radius:10px;margin:0}
#consult-dialog .ps-consult-form .ps-consent{font-size:12px!important;line-height:1.5;margin:12px 0 0;padding:0;gap:10px;min-height:0}
#consult-dialog .ps-consult-form .ps-consent a{font-size:12px;line-height:1.5}
#consult-dialog .ps-consult-form .ps-consent input{width:19px!important;height:19px;min-height:19px!important;margin:1px 0 0}
#consult-dialog .ps-consult-form button[type=submit]{min-height:46px;height:46px;margin-top:14px;padding:11px 14px;font-size:14px;line-height:1.4}
#consult-dialog .ps-consult-form .form-note{font-size:12px;line-height:1.5;margin:8px 0 0}
.reference-catalog .ps-catalog-all{min-height:48px;margin-top:18px;padding:12px 18px;border-color:var(--blue);border-radius:11px;background:var(--blue);color:white;font-size:14px;font-weight:650;box-shadow:0 4px 12px #2554e816}
.reference-catalog .ps-catalog-all:hover{background:#214bd4;border-color:#214bd4}
.reference-catalog .reference-section-head{margin-bottom:20px}
.reference-catalog .catalog-tools{margin-top:0;margin-bottom:24px}
@media(max-height:700px){
 #consult-dialog.ps-consult-dialog{padding:18px}
 #consult-dialog.ps-consult-dialog h2{font-size:22px;margin-bottom:12px}
 #consult-dialog .consult-dialog-intro,#consult-dialog .ps-consult-form .form-note{display:none}
 #consult-dialog .ps-consult-form>label:not(.ps-consent){margin-top:8px}
 #consult-dialog .ps-consult-form .ps-consent{margin-top:10px}
 #consult-dialog .ps-consult-form button[type=submit]{margin-top:12px}
}
@media(max-width:760px){.reference-catalog .ps-catalog-all{margin-top:16px;font-size:14px}.reference-catalog .reference-section-head{margin-bottom:18px}}
