/* Runtime layout and accessible controls for the approved September design. */
.approved {
    --paper: #fff;
    --ink: #302b24;
    --muted: #756f66;
    --green: #334b35;
    --gold: #a66b20;
    --line: #e8e6df;
    --font: 'Montserrat', Arial, sans-serif;
    --display: 'Montserrat Alternates', Arial, sans-serif;
    background: #fff;
    color: var(--ink);
    font: 400 17px/1.65 var(--font);
    letter-spacing: 0;
}
.approved [hidden] { display: none !important; }
.approved .board {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 70px max(32px, calc((100% - 1264px) / 2));
    margin: 0;
}
.approved .board + .board { margin-top: 0; }
.approved :is(h1, h2, h3) { color: var(--ink); letter-spacing: 0; }
.approved :is(.eyebrow, .product-meta) { letter-spacing: 0; }
.approved :is(a, button) { cursor: pointer; touch-action: manipulation; }
.approved .ad-icon { width: 22px; height: 22px; flex: none; display: inline-block; }
.approved :is(a, button, input, textarea):focus-visible { outline: 2px solid #a66b20; outline-offset: 4px; }
.approved .button { min-height: 44px; white-space: normal; line-height: 1.4; box-shadow: none; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.approved .button.primary:hover { background: #254027; }
.approved .button.outline:hover { background: #f1f5eb; border-color: #8c9e81; transform: translateY(-1px); }
.approved .board.hero {
    height: 880px;
    min-height: 880px;
    padding: 12px max(32px, calc((100% - 1348px) / 2)) 0;
    background-image: url('/assets/img/approved/hero.webp');
    background-position: center;
    background-size: cover;
}
.approved .hero::after { content: none; }
.approved .hero::before { z-index: 0; }
.approved .ad-hero-header { position: relative; z-index: 10; }
.approved .hero-copy { margin-left: 42px; width: min(820px, calc(100% - 42px)); }
.approved .hero h1 { font-size: 53px; max-width: 830px; line-height: 1.21; }
.approved .hero .lead { display: block; max-width: 660px; }
.approved .hero .actions { display: flex; }
.approved .hero .button { box-shadow: none; }
.approved .hero .button.primary { color: #fff; }
.approved .hero .contour-button { color: #3a3020; background: #b98327; }
.approved .hero .contour-button::after { background: #fffaf0; }
.approved .hero .contour-button:hover::after { background: #fff6df; }
.approved .hero .cloud { pointer-events: none; max-width: none; }
.approved .header .brand-link { border: 0; }
.approved .mobile-menu { margin-left: auto; }
.approved .ad-mobile-panel { display: none; }
.approved .category-anchors { flex-wrap: wrap; }
.approved :is(.product, #assortment, #ozon) { scroll-margin-top: 24px; }
.approved .product-grid { align-items: stretch; width: 100%; max-width: none; margin: 0; }
.approved .product { padding: 0; min-width: 0; }
.approved .product h3 { margin: 0; font-weight: 600; }
.approved .product-photo { flex: none; }
.approved .product-photo img { transition: none; }
.approved .product-photo--concept img { object-fit: contain; background: #f7f7f3; }
.approved .product .product-meta { align-items: baseline; gap: 10px; }
.approved .product .volumes { margin-top: auto; padding-top: 18px; }
.approved .product .volume { min-height: 58px; background: #fff; cursor: pointer; }
.approved .product .volume.is-selected { border-color: #9baf91; background: #f5f8f1; }
.approved .product .volume:hover { border-color: #829776; }
.approved .volumes:has(.volume:only-child) { grid-template-columns: 1fr; }
.approved .volumes:has(.volume:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.approved .photo-note { font-size: 10px; line-height: 1.5; margin: 10px 0 0; }
.approved .product .product-note { margin-bottom: 12px; }
.approved .compact:last-child .product-photo img { object-fit: contain; }
.approved .ozon-product { padding: 0; gap: 0; box-shadow: none; align-items: stretch; }
.approved .ozon-photo img { max-height: none; border-radius: 0; }
.approved .ozon-info h3 { font-size: 28px; }
.approved .ozon-info .ozon-button { margin-top: auto; background: #005bff; color: #fff; }
.approved .ozon-info .ozon-button:hover { background: #0045c5; }
.approved .ad-rating { margin: 15px 0 24px; }
.approved .ad-rating > span { color: #bf8225; font-size: 20px; }
.approved .ad-rating small { display: block; text-align: left; font-size: 11px; margin-top: 2px; }
.approved .documents { align-self: start; }
.approved .order-steps { padding: 0; list-style: none; }
.approved .order-steps li { border-top: 1px solid #cfd8c6; padding-top: 17px; }
.approved .ad-delivery-phone { display: flex; align-items: center; gap: 13px; font-size: 22px; font-weight: 500; }
.approved .ad-contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; }
.approved .ad-contact-icon:hover { background: #e8eee1; }
.approved .board.contact { padding: 0; }
.approved .contact-main { padding: 76px max(32px, calc((100% - 1240px) / 2)) 70px; }
.approved .contact h2 { color: #fff; }
.approved .contact-phone { display: inline-block; }
.approved .ad-contact-link { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: 12px; color: #fff; }
.approved .ad-contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.approved .form-preview { min-width: 0; }
.approved .ad-lead-form { display: grid; gap: 17px; margin-top: 22px; }
.approved .ad-form-fields { display: grid; gap: 17px; }
.approved .ad-lead-form label { display: grid; gap: 7px; margin: 0; color: var(--ink); font: 500 12px/1.5 var(--font); }
.approved .ad-lead-form label small { font-size: 11px; font-weight: 400; color: var(--muted); }
.approved .ad-lead-form :is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]), textarea) {
    width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px;
    background: #fff; border: 1px solid #d9dfd4; border-radius: 5px;
    font: 400 16px/1.5 var(--font); color: var(--ink); box-shadow: none;
}
.approved .ad-lead-form textarea { height: 76px; resize: vertical; }
.approved .ad-lead-form :is(input, textarea)::placeholder { color: #85897f; font-size: 13px; }
.approved .ad-lead-form .is-invalid { border-color: #b0392a; }
.approved .ad-lead-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.approved .ad-lead-form legend { padding: 0; margin-bottom: 9px; font-size: 12px; font-weight: 500; }
.approved .ad-contact-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.approved .ad-contact-methods label { position: relative; cursor: pointer; }
.approved .ad-contact-methods input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.approved .ad-contact-methods span { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 64px; border: 1px solid #dfe4d9; border-radius: 5px; color: #526048; background: #fff; font-size: 10px; }
.approved .ad-contact-methods :is(img, svg) { height: 20px; width: 20px; object-fit: contain; }
.approved .ad-contact-methods input:checked + span { background: #f1f5eb; border-color: #869b72; box-shadow: inset 0 0 0 1px #869b72; }
.approved .ad-contact-methods input:focus-visible + span { outline: 2px solid #a66b20; outline-offset: 3px; }
.approved .ad-lead-form .privacy-consent { margin: 0; }
.approved .ad-lead-form .privacy-consent__label { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; }
.approved .privacy-consent__copy { font: 400 11px/1.6 var(--font); color: #61685b; }
.approved .privacy-consent__copy a { text-decoration: underline; text-underline-offset: 3px; color: #334b35; }
.approved .privacy-consent__box { width: 20px; height: 20px; border-radius: 3px; border: 1px solid #8c9e81; background: #fff; box-shadow: none; }
.approved .privacy-consent__input:checked + .privacy-consent__box { background: #334b35; border-color: #334b35; box-shadow: none; }
.approved .privacy-consent__box svg { width: 14px; height: 14px; fill: none; stroke: #fff; }
.approved .privacy-consent__input:focus-visible + .privacy-consent__box { outline: 2px solid #a66b20; outline-offset: 4px; }
.approved .ad-submit { width: 100%; height: 48px; display: flex; justify-content: space-between; color: #fff; font-size: 14px; background: #334b35; }
.approved .form-message { font-size: 12px; line-height: 1.6; margin: 0; }
.approved .form-message:empty { display: none; }
.approved .form-message:not(:empty) { padding: 12px; background: #f3f6ee; border-radius: 5px; color: #42523b; }
.approved .ad-modal-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f5f6f2; color: #43573c; }
.approved .ad-modal-close:hover { background: #e9eee3; }
.approved-dialog { width: 510px; max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; border: 1px solid #e4e6df; border-radius: 8px; box-shadow: 0 24px 90px #14231840; background: #fff; color: #302b24; overflow: auto; overscroll-behavior: contain; }
.approved-dialog::backdrop { background: #1e2b22aa; }
.approved-dialog .eyebrow { font-size: 10px; margin: 0 38px 12px 0; }
.approved-dialog h2 { font-size: 28px; line-height: 1.25; padding-right: 22px; outline: none; }
.approved-dialog .ad-modal-intro { font-size: 14px; line-height: 1.65; margin-top: 12px; }
.approved-dialog .ad-form-fields { grid-template-columns: 1fr 1fr; }
.approved .ad-selected-product { font-size: 12px; line-height: 1.6; padding: 12px; background: #f1f5eb; margin-top: 16px; border-radius: 5px; color: #334b35; }
.approved .ad-modal-phone { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 20px; padding-top: 17px; border-top: 1px solid #e8ebe2; font-size: 15px; font-weight: 600; color: #334b35; }
html.ad-dialog-open { overflow: hidden; }
.page-home .ad-faq-help { display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; padding: 24px 0 0; margin-top: 20px; border-top: 1px solid #e6ddcf; font-size: 15px; color: #705f4a; text-align: center; }
.page-home .ad-faq-help a { color: #8b641f; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }

@media (min-width: 701px) and (max-width: 1150px) {
    .approved .fresh-grid, .approved .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .approved .section-heading { gap: 24px; }
    .approved .section-heading h2 { font-size: 36px; }
    .approved .section-heading > p { max-width: 300px; font-size: 14px; }
    .approved .ozon-grid { gap: 20px; }
    .approved .ozon-product { grid-template-columns: 1fr; }
    .approved .ozon-photo { aspect-ratio: 1; }
    .approved .ozon-info h3 { font-size: 25px; }
    .approved .standards-layout { gap: 30px; }
    .approved .documents { padding: 25px; }
    .approved .documents h3 { font-size: 24px; }
    .approved .contact-main { gap: 30px; }
    .approved .contact h2 { font-size: 34px; }
    .approved .form-preview { padding: 25px; }
    .approved .contact-strip { gap: 18px; flex-wrap: wrap; }
    .approved .contact-strip > div { margin-left: 0; }
}
@media (min-width: 1051px) and (max-width: 1250px) {
    .approved .header { padding-right: 32px; padding-left: 32px; }
    .approved .header nav { gap: 24px; font-size: 14px; }
    .approved .header .brand-link { width: 270px; height: 132px; }
}
@media (max-width: 1050px) {
    .approved .board.hero { padding: 0; height: auto; min-height: 820px; padding-bottom: 100px; }
    .approved .ad-hero-header { display: flex; flex-direction: column; flex: none; }
    .approved .header { order: -1; height: 44px; min-height: 44px; margin: 0; padding: 0 16px; border-radius: 0; background: #fff; box-shadow: none; }
    .approved .header nav { display: none; }
    .approved .header .brand-link { left: 17px; top: 50%; transform: translateY(-50%); width: max-content; max-width: calc(100% - 78px); height: 44px; }
    .approved .header .brand { display: none; }
    .approved .mobile-brand { display: flex; align-items: center; gap: 6px; height: 100%; font: 700 14px/1.2 var(--display); color: #29271f; white-space: nowrap; }
    .approved .mobile-brand-mark { display: block; position: relative; overflow: hidden; width: 27px; height: 27px; flex: none; }
    .approved .mobile-brand-mark img { position: absolute; width: 115px; max-width: none; height: auto; left: -10px; top: -8px; }
    .approved .mobile-menu { display: grid !important; place-items: center; width: 44px; height: 44px !important; padding: 10px; background: none; color: #334b35; }
    .approved .topline { margin: 0; padding: 0 16px; height: 44px; min-height: 44px; display: flex; background: #334b35; border: 0; gap: 4px; }
    .approved .hero-phone { color: #fff; font-size: 17px; font-weight: 600; text-shadow: none; white-space: nowrap; min-height: 44px; gap: 7px; }
    .approved .hero-phone svg { width: 17px; height: 17px; }
    .approved .header-messengers { display: flex; gap: 0; }
    .approved .header-messengers :is(.connection-label, .messenger span) { display: none; }
    .approved .header-messengers .messenger { width: 44px; height: 44px; padding: 0; justify-content: center; border: 0; background: none; }
    .approved .header-messengers img { width: 25px; height: 25px; }
    .approved .ad-mobile-panel:not([hidden]) { display: grid; position: absolute; left: 0; right: 0; top: 88px; padding: 12px 16px; max-height: calc(100dvh - 100px); overflow-y: auto; background: #fff; box-shadow: 0 12px 24px #20302126; }
    .approved .ad-mobile-panel a { display: flex; align-items: center; min-height: 46px; color: #334b35; font: 600 15px var(--display); padding: 8px 12px; border-bottom: 1px solid #edf0e8; }
    .approved .ad-mobile-panel a:hover { background: #f1f5eb; }
    .approved .hero-copy { margin: 60px 32px 0; width: min(740px, calc(100% - 64px)); }
    .approved .hero h1 { font-size: 46px; }
    .approved .hero .lead { max-width: 580px; }
}
@media (max-width: 850px) {
    .approved .standards-layout { grid-template-columns: 1fr; }
    .approved .contact-main { grid-template-columns: 1fr; }
    .approved .form-preview { width: 100%; max-width: 560px; }
    .approved .contact-copy { padding-top: 0; }
}
@media (max-width: 700px) {
    .approved .board { width: 100%; padding: 42px 22px; }
    .approved .board.hero { padding: 0 0 90px; min-height: 820px; background-size: auto 820px; background-position: 83% bottom; display: flex; flex-direction: column; }
    .approved .hero-copy { width: auto; margin: 32px 22px 0; }
    .approved .hero h1 { font-size: 33px; line-height: 1.25; max-width: 346px; }
    .approved .hero .lead { font-size: 14px; max-width: 330px; line-height: 1.9; }
    .approved .hero .actions { flex-direction: column; width: 270px; max-width: 100%; }
    .approved .hero-proof { font-size: 10px; }
    .approved .hero .cloud { height: 120px; bottom: -75px; }
    .approved .category-anchors { display: grid; grid-template-columns: 1fr 1fr; border: 0; }
    .approved .category-anchors a { white-space: normal; min-height: 46px; }
    .approved .product-grid { grid-template-columns: 1fr; }
    .approved .product-photo, .approved .compact .product-photo, .approved .fresh-grid .product-photo { height: auto; aspect-ratio: 4/3; }
    .approved .product-photo--concept { aspect-ratio: 1; }
    .approved .product .volume { min-height: 60px; }
    .approved .product .button { min-height: 46px; }
    .approved .selection-help > span { width: auto; flex: 1; }
    .approved .selection-help .text-link { margin-left: 38px; }
    .approved .ozon-photo { height: auto; aspect-ratio: 1; }
    .approved .ozon-info h3 { font-size: 25px; }
    .approved .order-steps li { display: grid; grid-template-columns: 29px 1fr; gap: 6px 8px; padding-top: 16px; }
    .approved .order-steps li > span { grid-row: span 2; font-size: 10px; padding-top: 3px; }
    .approved .ad-delivery-phone { width: 100%; font-size: 20px; }
    .approved .contact-strip { gap: 16px; }
    .approved .contact-strip > div { gap: 0; }
    .approved .contact-strip .button { margin-left: 0; }
    .approved .board.contact { padding: 0; }
    .approved .contact-main { padding: 43px 22px 40px; gap: 30px; }
    .approved .contact h2 { font-size: 31px; }
    .approved .form-preview { padding: 25px 22px; }
    .approved .messengers { flex-wrap: wrap; gap: 4px 16px; }
    .approved .ad-contact-link { font-size: 11px; }
    .approved-dialog { max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 26px 22px; }
    .approved-dialog h2 { font-size: 25px; }
    .approved-dialog .ad-form-fields { grid-template-columns: 1fr; }
    .approved-dialog .ad-modal-intro { font-size: 13px; }
}
@media (max-width: 370px) {
    .approved .topline { padding: 0 10px; }
    .approved .header-messengers .messenger { width: 40px; }
    .approved .hero-phone { font-size: 16px; gap: 5px; }
    .approved .mobile-brand { font-size: 13px; gap: 4px; }
    .approved .hero h1 { font-size: 30px; }
    .approved .ad-contact-methods { gap: 4px; }
    .approved .ad-contact-methods span { font-size: 9px; }
    .approved .form-preview { padding: 22px 16px; }
}
@media (max-width: 340px) {
    .approved .hero-phone { font-size: 15px; gap: 4px; }
    .approved .mobile-brand { font-size: 12px; }
    .approved .hero h1 { font-size: 28px; }
    .approved .ad-delivery-phone { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .approved *, .approved *::before, .approved *::after { scroll-behavior: auto; animation: none !important; transition: none !important; }
    .approved .button:hover { transform: none; }
}
