/* QA10 / Компактный конфигуратор брендирования.
 * Только /brendirovanie/. Типографика и фиолетовый цвет исходного сайта.
 * Заменяет раздельные полноширинные сетки одной областью выбора. */
.s27--branding{--s10-accent:#610bd9;--s10-line:#e6deed;--s10-ink:#24202c}
.s27--branding .s27-container{max-width:1320px}
.s27--branding .s27-page-intro{padding-top:30px;max-width:none;margin:0}
.s27--branding .s27-page-intro .s27-breadcrumbs{margin-bottom:19px}
.s27--branding .s27-page-title{font-size:clamp(32px,3vw,45px);line-height:1.13;max-width:1020px;margin:7px 0 9px}
.s27--branding .s27-page-lead{font-size:17px;max-width:920px;line-height:1.5}
.s27--branding .s27-step-navigation{
 margin:23px 0 20px;border:0;border-top:1px solid #e9e2ee;border-bottom:1px solid #e9e2ee;
 background:#fff;border-radius:0;box-shadow:none
}
.s27--branding .s27-step-navigation>a{
 padding:13px 15px;gap:11px;background:transparent!important;
 border-right:0;position:relative
}
.s27--branding .s27-step-navigation>a:not(:last-child)::after{
 content:"";position:absolute;right:0;top:17px;bottom:17px;border-right:1px solid #ece6f1
}
.s27--branding .s27-step-navigation>a.is-active{box-shadow:inset 0 -3px 0 #610bd9}
.s27--branding .s27-step-number{width:31px;height:31px;flex-basis:31px;font-size:14px}
.s27--branding .s27-step-label strong{font-size:15px}
.s27--branding .s27-step-label small{font-size:12px}
.s27--branding .s27-builder{
 display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
 align-items:start;gap:22px;margin:0 0 16px
}
.s27--branding .s27-builder>section{
 min-width:0;padding:22px;border:1px solid var(--s10-line);
 border-radius:10px;background:#fff;margin:0;box-shadow:none
}
.s27--branding .s27-builder>section+section{border-top:1px solid var(--s10-line)}
.s27--branding .s27-builder .s27-section-head{
 display:block;margin:0 0 18px;gap:0
}
.s27--branding .s27-builder .s27-section-head h2{
 font-size:clamp(23px,2.1vw,30px);line-height:1.15;
 letter-spacing:-.015em;margin-top:5px
}
.s27--branding .s27-builder .s27-section-head p{
 font-size:14px;line-height:1.5;margin:9px 0 0;max-width:none;
 color:#71677a
}
.s27--branding .s27-builder .s27-eyebrow{font-size:12px}
.s27--branding .s27-product-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px
}
.s27--branding .s27-product{
 display:flex;flex-direction:column;min-width:0;
 border:1px solid #e7dfeb;border-radius:9px;box-shadow:none;transform:none!important
}
.s27--branding .s27-product:hover{box-shadow:0 5px 18px rgba(60,20,95,.08);border-color:#ae7fe2}
.s27--branding .s27-product.is-selected{
 border:2px solid #610bd9;box-shadow:0 0 0 2px #f2e9ff
}
.s27--branding .s27-product.is-selected::after{right:9px;top:9px;width:24px;height:24px;font-size:13px}
.s27--branding .s27-product__image{
 width:100%;height:143px;flex:0 0 143px;padding:9px;
 border-bottom:1px solid #f1ebf4;
 background:#faf8fc
}
.s27--branding .s27-product__body{
 display:flex;flex:1;min-height:159px;padding:13px 15px 14px;gap:5px
}
.s27--branding .s27-product__name{
 font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.01em
}
.s27--branding .s27-product__dimensions{
 font-size:15px;line-height:1.35;font-weight:500;color:#766b7e
}
.s27--branding .s27-product__hint{
 font-size:15px;line-height:1.4;color:#5d5463;
 margin-bottom:2px
}
.s27--branding .s27-product__bottom{
 display:flex;align-items:center;gap:6px;
 margin-top:auto;padding-top:7px;border-top:1px solid #f1eaf3
}
.s27--branding .s27-product__bottom strong{font-size:22px;white-space:nowrap}
.s27--branding .s27-product__bottom>span{
 font-size:14px;line-height:1.15;
 min-height:34px;padding:7px 9px;border-radius:6px;
 background:#f4ecff;white-space:nowrap;border:0
}
.s27--branding .s27-builder #s27-design-section{
 padding:22px!important;background:#faf8fd;
 border:1px solid #e9e0f0;border-radius:10px;margin:0
}
.s27--branding #s27-design-section .s27-selected-kind{
 padding:9px 11px;margin:0 0 14px;gap:8px;
 font-size:13px;line-height:1.35;border-radius:7px
}
.s27--branding .s27-selected-kind span:first-child{
 width:27px;height:27px;flex:0 0 27px
}
.s27--branding .s27-selected-kind strong{font-size:13px}
.s27--branding .s27-variant-panel__header{margin-bottom:10px}
.s27--branding .s27-variant-panel__header h3{font-size:18px;line-height:1.25}
.s27--branding .s27-variant-panel__header>span{font-size:12px;margin-top:6px}
.s27--branding .s27-variant-grid{
 grid-template-columns:repeat(3,minmax(0,1fr));gap:10px
}
.s27--branding .s27-variant-item{
 border-radius:8px;border:1px solid #e7dfec;box-shadow:none
}
.s27--branding .s27-variant{padding:9px;gap:6px;font-size:13px}
.s27--branding .s27-variant img{height:135px;background:#fff}
.s27--branding .s27-preview-button{
 min-height:30px;padding:4px 6px;margin:0 0 7px;
 font-size:12px;font-weight:700
}
.s27--branding .s27-own-design{min-height:205px;padding:12px;gap:6px;border-radius:8px}
.s27--branding .s27-own-design__icon{font-size:34px}
.s27--branding .s27-own-design strong{font-size:15px}
.s27--branding .s27-own-design small{font-size:12px;line-height:1.4}
.s27--branding .s27-design-next{margin-top:14px;padding-top:14px;gap:10px;align-items:center}
.s27--branding .s27-design-next p{font-size:13px;line-height:1.45;max-width:370px}
.s27--branding .s27-design-next .s27-btn{min-height:40px;padding:8px 13px;font-size:13px}
.s27--branding .s27-cardback{padding:14px;margin-top:14px}
.s27--branding .s27-cardback__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.s27--branding .s27-cardback .s27-variant img{height:120px}
.s27--branding #send-branding{padding-block:42px 54px;border-top:1px solid #eee6f4}
.s27--branding #send-branding .s27-section-head{margin-bottom:20px}
.s27--branding #send-branding .s27-section-head h2{font-size:31px}
.s27--branding .s27-form-layout{
 grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:20px
}
.s27--branding .s27-form{padding:27px 30px;gap:15px;border-radius:10px;box-shadow:none}
.s27--branding .s27-form .s27-current-choice{font-size:15px;line-height:1.5}
.s27--branding .s27-form-note{padding:25px;border-radius:10px}
.s27--branding .s27-form-note h3{font-size:24px}
.s27--branding .s27-form-note p{font-size:15px}
.s27--branding .s27-hero{
 background:#5f12c8;
 margin:14px auto 0;
 border-radius:9px
}
.s27--branding .s27-hero__content{padding:31px 26px;gap:16px;grid-template-columns:minmax(0,1.45fr) minmax(0,.55fr)}
.s27--branding .s27-hero-title{font-size:clamp(27px,2.5vw,37px);line-height:1.14;margin:5px 0 12px}
.s27--branding .s27-lead{font-size:16px;line-height:1.5;margin-bottom:12px}
.s27--branding .s27-hero__actions{margin:12px 0 14px;gap:9px}
.s27--branding .s27-hero__actions .s27-btn{min-height:43px;padding:9px 16px;font-size:14px}
.s27--branding .s27-hero__facts{gap:7px 17px;font-size:12px}
.s27--branding .s27-hero-gallery{min-height:210px}
.s27--branding .s27-hero-gallery img:nth-child(1){height:77%}
.s27--branding .s27-hero-gallery img:nth-child(2),.s27--branding .s27-hero-gallery img:nth-child(3){height:58%}
.s27--branding .s27-hero+.s27-container .s27-content{padding-top:42px}
.s27--branding .s27-content h2{font-size:29px}
.s27--branding .s27-seo-answer{padding:19px 22px}
.s27--branding .s27-seo-answer h3{font-size:19px}
.s27--branding .s27-seo-answer p{font-size:15px}
@media(max-width:1199px){
 .s27--branding .s27-builder{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:15px}
 .s27--branding .s27-builder>section{padding:17px}
 .s27--branding .s27-builder #s27-design-section{padding:17px!important}
 .s27--branding .s27-product__body{padding:11px 12px 12px}
 .s27--branding .s27-product__name{font-size:17px}
 .s27--branding .s27-product__image{height:120px;flex-basis:120px}
 .s27--branding .s27-product__bottom strong{font-size:19px}
 .s27--branding .s27-variant img{height:116px}
 .s27--branding .s27-own-design{min-height:184px}
}
@media(max-width:900px){
 .s27--branding .s27-builder{grid-template-columns:1fr;gap:16px}
 .s27--branding .s27-builder>section{padding:22px}
 .s27--branding .s27-builder #s27-design-section{padding:23px!important}
 .s27--branding .s27-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .s27--branding .s27-product__image{height:132px;flex-basis:132px}
 .s27--branding .s27-variant img{height:140px}
 .s27--branding .s27-form-layout{grid-template-columns:1fr}
 .s27--branding .s27-form-note{order:2}
}
@media(max-width:600px){
 .s27--branding .s27-page-title{font-size:32px}
 .s27--branding .s27-step-navigation>a{padding:10px 5px}
 .s27--branding .s27-step-label strong{font-size:12px}
 .s27--branding .s27-builder{gap:13px}
 .s27--branding .s27-builder>section{padding:14px}
 .s27--branding .s27-builder #s27-design-section{padding:15px!important}
 .s27--branding .s27-builder .s27-section-head h2{font-size:24px}
 .s27--branding .s27-product-grid{grid-template-columns:1fr;gap:9px}
 .s27--branding .s27-product{
   display:grid;grid-template-columns:110px minmax(0,1fr);
   min-height:153px;align-items:stretch
 }
 .s27--branding .s27-product__image{
   width:110px;height:100%;min-height:149px;max-height:none;
   flex:none;padding:10px;border-bottom:0;border-right:1px solid #f0e8f4
 }
 .s27--branding .s27-product__image img{width:100%;height:100%;object-fit:contain}
 .s27--branding .s27-product__body{padding:10px 12px;min-height:0;gap:4px}
 .s27--branding .s27-product__name{font-size:18px}
 .s27--branding .s27-product__dimensions{font-size:14px}
 .s27--branding .s27-product__hint{font-size:14px;line-height:1.3}
 .s27--branding .s27-product__bottom{padding-top:5px}
 .s27--branding .s27-product__bottom strong{font-size:18px}
 .s27--branding .s27-product__bottom>span{font-size:13px;padding:6px 7px;min-height:30px}
 .s27--branding .s27-variant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .s27--branding .s27-variant img{height:138px}
 .s27--branding .s27-variant-item{min-width:0}
 .s27--branding .s27-own-design{min-height:194px}
 .s27--branding .s27-design-next{flex-direction:column;align-items:stretch}
 .s27--branding .s27-design-next .s27-btn{width:100%}
 .s27--branding .s27-cardback__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .s27--branding .s27-form{padding:18px}
 .s27--branding #send-branding .s27-section-head h2{font-size:26px}
 .s27--branding .s27-hero{margin-top:14px;border-radius:0}
 .s27--branding .s27-hero__content{padding:27px 14px;grid-template-columns:1fr}
 .s27--branding .s27-hero-gallery{min-height:180px}
 .s27--branding .s27-seo-answer{padding:18px}
}
