.designer-hero { background: linear-gradient(108deg,#f5fbff,#e1f0fc 46%,#0878df); color: var(--ink); border-radius: 0 }
.designer-hero::before {
    inset-inline-start: 36%; background: url(designer.png) 100% 6.65% / 156.14% 550.78% no-repeat;
    mask-image: none; clip-path: polygon(21% 0,100% 0,100% 100%,0 100%);
}
.designer-hero .catalog-hero-inner { padding-bottom: 50px; min-height: 258px }
.designer-hero .breadcrumb { background: #ddebfa }
.designer {
    position: relative;
    width: min(97%, 1180px);
    margin: -15px auto 28px;
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: 22px 24px;
    padding: clamp(15px, 3vw, 35px);
    border: 1px solid #e3edf7;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 7px 21px #15447626;
}
.designer fieldset { margin: 0; padding: 0; border: none; min-width: 0 }
.designer legend { padding: 0; margin-bottom: 13px; font-size: clamp(17px, 2.5vw, 25px); font-weight: 800; letter-spacing: -.035em }
.designer-options, .designer-contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px }
.designer-options label { position: relative; cursor: pointer }
.designer-options input { position: absolute; opacity: 0 }
.designer-options span {
    display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 78px;
    border: 1px solid #d9e5f3; border-radius: 12px; background: #f9fbfe;
    text-align: center; font-weight: 750; box-shadow: 0 2px 5px #1d427519;
}
.designer-options .las { font-size: 26px; line-height: 1 }
.designer-options input:checked + span { border-color: #ff6700; background-color: #fff3e9 }
.designer input:focus-visible + span { outline: 2px solid #1767be; outline-offset: 2px }
.designer-contact-fields label:last-child { grid-column: 1/-1 }
.designer-contact label, .designer-controls label, .designer-submit label { font-size: 14px; font-weight: 750 }
.designer :is(input:not([type=radio], [type=number]),textarea,select) {
    display: block; width: 100%; border: 1px solid #c8d7eb; border-radius: 8px;
    background: #f9fbfe; padding: 8px 10px; margin-top: 4px; font-size: 16px; font-weight: 400;
}
.designer textarea { resize: vertical }
.designer-preview { display: grid; place-items: center; min-width: 0; min-height: 150px; padding: 12px 0 }
.preview-plate {
    --plate-text-scale: 1;
    width: min(100%, 385px); aspect-ratio: 4.65;
    display: grid; grid-template-columns: 14% minmax(0,1fr);
    overflow: hidden; border: 5px solid #161719; border-radius: 10px;
    color: #121212; background: linear-gradient(145deg,#fff,#e3e6eb);
    box-shadow: 0 6px 11px #0a192a4d; container-type: inline-size;
}
.preview-plate[data-shape=square] { width: min(100%, 238px); aspect-ratio: 1.5; grid-template-columns: 24% minmax(0,1fr) }
.preview-band { display: grid; place-content: center; justify-items: center; background: #0349b6; color: white; font-size: clamp(12px, 5cqw, 23px); font-weight: 800 }
.preview-band small { color: #ffd444; font-size: 1em }
.preview-text { display: grid; align-content: center; text-align: center; padding: 0 .15em; font-family: Impact,'Arial Narrow',Arial,sans-serif; font-weight: 900; font-size: calc(14cqw * var(--plate-text-scale)); letter-spacing: .015em; line-height: 1.05; white-space: nowrap }
.preview-plate[data-shape=square] .preview-text { font-size: calc(23cqw * var(--plate-text-scale)) }
.preview-text span:empty { display: none }
.designer-submit { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: end; gap: 8px; padding: 10px 13px; border: 1px solid #e1ebf6; border-radius: 13px; background: #f6fafe }
@media (max-width: 760px) {
    .designer-hero .catalog-hero-inner { min-height: 178px; padding-block: 19px 25px }
    .designer-hero .catalog-hero-inner p { max-width: 52% }
    .designer-hero h1 { font-size: clamp(28px, 8vw, 47px) }
    .designer { width: 94%; border-radius: 17px; grid-template-columns: minmax(0,1fr); gap: 14px; padding: 12px }
    .designer legend { margin-bottom: 8px }
    .designer-options span { min-height: 55px; font-size: 13px }
    .designer-options .las { font-size: 20px }
    .designer-preview { min-height: 0; padding: 0 12px 4px }
    .preview-plate[data-shape=square] { width: min(100%, 186px) }
    .designer-submit { padding: 7px; align-items: end }
    .designer-submit button.orange { padding-inline: 8px; white-space: normal; font-size: 13px }
}
