/* AVP52 footer: header palette, typography and container. */
body.layout-11 footer.avp-footer-v2{position:relative;width:100%;margin:0;padding:0;background:#fff;color:#152D43;font:400 15px/1.6 Rubik,Arial,sans-serif;clear:both;border-top:1px solid #E2E8EF}
body.layout-11 footer.avp-footer-v2::before,body.layout-11 footer.avp-footer-v2::after{content:none}
.avp-footer-v2,.avp-footer-v2 *{box-sizing:border-box}
.avp-footer-v2 .avpf-container{width:calc(100% - 40px - (clamp(24px,3.9vw,76px) - 24px));max-width:calc(1880px - (clamp(24px,3.9vw,76px) - 24px));margin:0 auto;padding:0}
.avp-footer-v2 .avpf-grid{display:grid;grid-template-columns:1.15fr .8fr .8fr 1.2fr;gap:clamp(24px,4vw,64px);padding:48px 0}
.avp-footer-v2 .avpf-grid>*{min-width:0}
.avp-footer-v2 h2,.avp-footer-v2 h3{color:#152D43;text-transform:none;font-family:inherit;letter-spacing:0;margin:0 0 20px;font-size:18px;line-height:1.4;font-weight:600}
.avp-footer-v2 a{color:#314B61;text-decoration:none;transition:color 200ms ease;overflow-wrap:anywhere}
.avp-footer-v2 a:hover{color:#0875D1}
.avp-footer-v2 a:focus-visible,.avp-footer-v2 button:focus-visible,.avp-footer-v2 input:focus-visible{outline:3px solid #0875D1;outline-offset:4px}
.avp-footer-v2 ul{list-style:none;margin:0;padding:0}
.avp-footer-v2 li{padding:0;margin:0 0 12px;line-height:1.5}
.avp-footer-v2 p{margin:0 0 14px;color:#526477}
.avp-footer-v2 .avpf-logo{display:block;width:210px;max-width:100%;margin-bottom:22px;background:#fff}
.avp-footer-v2 .avpf-logo>span{display:block;position:relative;aspect-ratio:1668 / 534;overflow:hidden}
.avp-footer-v2 .avpf-logo img{position:absolute;width:106.355%;height:auto;max-width:none;max-height:none;left:-3.2374%;top:-35.768%;margin:0;filter:none}
.avp-footer-v2 .avpf-brand p{max-width:290px}
body.layout-11 .avp-footer-v2 svg{display:block!important}
.avp-footer-v2 svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.avp-footer-v2 .avpf-phone{display:inline-block;color:#102C43;font-size:22px;line-height:1.4;font-weight:600;margin-bottom:16px;white-space:nowrap}
.avp-footer-v2 .avpf-contacts p{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.avp-footer-v2 .avpf-contacts p svg{color:#0875D1;margin-top:2px}
.avp-footer-v2 .avpf-telegram{display:inline-flex;align-items:center;gap:8px;color:#0875D1;margin-bottom:18px}
.avp-footer-v2 .avpf-vin{display:flex;width:max-content;max-width:100%;height:52px;align-items:center;justify-content:center;gap:12px;padding:0 18px 0 12px;border-radius:10px;background:#F28C28;color:#102C43;font:600 16px/22px Rubik,Arial,sans-serif;white-space:nowrap;box-shadow:0 3px 8px rgba(16,44,67,.12);transition:background 200ms}
.avp-footer-v2 .avp-vin-scan{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;background:rgba(255,255,255,.32);border-radius:7px}
.avp-footer-v2 .avp-vin-scan svg{width:24px;height:24px}
.avp-footer-v2 .avp-vin-arrow{width:18px;height:18px;transition:transform 200ms}
.avp-footer-v2 .avpf-vin:hover{background:#F59B43;color:#102C43}
.avp-footer-v2 .avpf-vin:hover .avp-vin-arrow{transform:translateX(3px)}
.avp-footer-v2 .avpf-newsletter{padding:24px;border:1px solid #E2E8EF;border-radius:12px;background:#F5F7FA;margin-bottom:32px}
.avp-footer-v2 .avpf-newsletter .module{margin:0}
.avp-footer-v2 .newsletter{display:grid;grid-template-columns:minmax(200px,1fr) minmax(280px,1fr);column-gap:32px;align-items:center;width:100%!important;margin:0;padding:0;background:none!important}
.avp-footer-v2 .newsletter .page-heading{grid-column:1;font:600 18px/1.4 Rubik,Arial,sans-serif;color:#152D43;margin:0 0 6px;text-transform:none;text-align:left}
.avp-footer-v2 .newsletter .promotext{grid-column:1;margin:0;color:#526477;font-size:14px;text-align:left}
.avp-footer-v2 .newsletter .block_content{grid-column:2;grid-row:1 / 3;min-width:0}
.avp-footer-v2 .newsletter form,.avp-footer-v2 .newsletter .form-group{margin:0;width:100%}
.avp-footer-v2 .newsletter form>.form-group{display:flex;gap:10px}
.avp-footer-v2 .newsletter .input-box{flex:1;min-width:0;margin:0}
.avp-footer-v2 .newsletter input{display:block;width:100%;height:48px;min-width:0;border:1px solid #CDD8E3;border-radius:10px;padding:0 14px;background:#fff;color:#152D43;font:400 15px Rubik,Arial,sans-serif;box-shadow:none}
.avp-footer-v2 .newsletter .subcribe{position:static;width:auto;margin:0}
.avp-footer-v2 .newsletter button{height:48px;padding:0 22px;border:0;border-radius:10px;background:#2085CF;color:#fff;font:600 15px Rubik,Arial,sans-serif;text-transform:none}
.avp-footer-v2 .newsletter button:hover{background:#0875D1}
.avp-footer-v2 .newsletter button[disabled]{opacity:.65;cursor:wait}
.avp-footer-v2 .newsletter .alert{margin:12px 0 0;font-size:14px}
.avp-footer-v2 .avpf-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-top:1px solid #E2E8EF;font-size:13px;color:#526477}
.avp-footer-v2 .avpf-bottom nav{display:flex;flex-wrap:wrap;gap:12px 24px}
.avp-footer-v2 .avpf-payment{max-width:180px;max-height:36px;object-fit:contain}
.avp-footer-v2 .avpf-trust{padding:36px 0;background:#F5F7FA}
.avp-footer-v2 .avpf-trust h2{font-size:28px;margin-bottom:22px}
.avp-footer-v2 .avpf-trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.avp-footer-v2 .avpf-rating,.avp-footer-v2 .avpf-orders{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid #E2E8EF;border-radius:14px;background:#fff;box-shadow:0 2px 6px rgba(16,44,67,.03)}
.avp-footer-v2 .avpf-rating h3{display:flex;align-items:center;gap:10px;min-height:28px;margin-bottom:20px}
.avp-footer-v2 .avpf-yandex{display:flex;align-items:center;justify-content:center;background:#FC3F1D;color:white;width:28px;height:28px;border-radius:50%;font:500 21px Arial,sans-serif}
.avp-footer-v2 .avpf-avito{display:grid;grid-template-columns:12px 12px;gap:3px;width:27px}
.avp-footer-v2 .avpf-avito i{width:12px;height:12px;border-radius:50%;background:#00AAFF}.avp-footer-v2 .avpf-avito i:nth-child(2){background:#965EEB}.avp-footer-v2 .avpf-avito i:nth-child(3){background:#FF6163}.avp-footer-v2 .avpf-avito i:nth-child(4){background:#97CF26}
.avp-footer-v2 .avpf-score{display:flex;align-items:baseline;gap:8px}.avp-footer-v2 .avpf-score strong,.avp-footer-v2 .avpf-orders>strong{font-size:42px;line-height:1.2;font-weight:600}
.avp-footer-v2 .avpf-stars{position:relative;width:max-content;font-size:22px;letter-spacing:3px;color:#D6DFE8;margin:6px 0}.avp-footer-v2 .avpf-stars span:last-child{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:#D98717}
.avp-footer-v2 .avpf-rating time,.avp-footer-v2 .avpf-orders time{font-size:12px;color:#526477;margin-bottom:14px}
.avp-footer-v2 .avpf-rating a{margin-top:auto;padding-top:16px;color:#0875D1;font-weight:500;display:flex;justify-content:space-between;gap:10px}
.avp-footer-v2 .avpf-rating-intro{flex:1;min-height:90px}
.avp-footer-v2 .avpf-orders{position:relative;isolation:isolate;overflow:hidden;background:#102C43;border-color:#102C43;color:white;justify-content:center}
.avp-footer-v2 .avpf-orders::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.12;background:repeating-linear-gradient(135deg,transparent 0 45px,#78C7FF 46px 47px,transparent 48px 92px)}
.avp-footer-v2 .avpf-orders>svg{width:36px;height:36px;color:#78C7FF;margin-bottom:18px}.avp-footer-v2 .avpf-orders h3{color:white;margin:10px 0}.avp-footer-v2 .avpf-orders p,.avp-footer-v2 .avpf-orders time{color:#C5DDF5}
body.layout-11 .back-to-top{border:1px solid #D6E3EF;border-radius:10px;background:#EDF5FC;color:#0875D1;width:44px;height:44px;line-height:42px;box-shadow:0 2px 8px rgba(16,44,67,.08)}
body.layout-11 .back-to-top:hover{background:#2085CF;color:#fff}body.layout-11 .back-to-top:focus-visible{outline:3px solid #0875D1;outline-offset:3px}
@media(max-width:1099px){.avp-footer-v2 .avpf-container{width:calc(100% - 32px);max-width:none}.avp-footer-v2 .avpf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:36px 0}.avp-footer-v2 .avpf-bottom{align-items:flex-start;flex-direction:column}}
@media(max-width:599px){.avp-footer-v2 .avpf-grid{grid-template-columns:minmax(0,1fr);gap:28px;padding:32px 0}.avp-footer-v2 h2{margin-bottom:14px}.avp-footer-v2 .avpf-brand p{max-width:none}.avp-footer-v2 .newsletter{display:block}.avp-footer-v2 .newsletter .block_content{margin-top:16px}.avp-footer-v2 .newsletter form>.form-group{flex-direction:column}.avp-footer-v2 .newsletter button{width:100%}.avp-footer-v2 .avpf-newsletter{padding:20px 16px}.avp-footer-v2 .avpf-bottom nav{flex-direction:column}.avp-footer-v2 .avpf-trust-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.avp-footer-v2 *{transition:none!important}.avp-footer-v2 .avpf-vin:hover .avp-vin-arrow{transform:none}}

body.layout-11 .back-to-top i{color:inherit}

.avp-footer-v2 .avpf-bottom{padding-right:56px}

/* Compact review badges and a unified cool gray footer surface. */
body.layout-11 footer.avp-footer-v2{background:#F2F5F9}
.avp-footer-v2 .avpf-logo{background:transparent}
.avp-footer-v2 .avpf-trust{background:transparent;padding:28px 0 0}
.avp-footer-v2 .avpf-trust-grid{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
.avp-footer-v2 .avpf-rating-badge{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:192px;max-width:100%;padding:13px 18px;border:1px solid #DFE8F2;border-radius:20px;background:#fff;color:#102C43;box-shadow:none;text-decoration:none;transition:border-color 200ms,box-shadow 200ms}
.avp-footer-v2 .avpf-rating-name{font-size:11px;line-height:16px;font-weight:500;letter-spacing:1.2px;text-transform:uppercase;color:#526477}
.avp-footer-v2 .avpf-rating-line{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.avp-footer-v2 .avpf-rating-line strong{font-size:24px;line-height:28px;font-weight:600;color:#102C43}
.avp-footer-v2 .avpf-rating-star{color:#F5AE00;font-size:24px;line-height:1}
.avp-footer-v2 .avpf-rating-count{font-size:12px;line-height:18px;color:#526477}
.avp-footer-v2 .avpf-rating-badge:hover{border-color:#2085CF;box-shadow:0 2px 8px rgba(16,44,67,.06)}
.avp-footer-v2 .avpf-newsletter{background:#fff}
@media(max-width:599px){.avp-footer-v2 .avpf-rating-badge{flex:1 1 190px}}

.avp-footer-v2 .avpf-ratings-note{font-size:12px;line-height:18px;color:#66768A;margin:10px 0 0}

/* MAX uses the same mark as the header; no profile URL is configured yet. */
.avp-footer-v2.avp-footer .avpf-messenger-max{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#EDF5FC;color:#1F83CF}
.avp-footer-v2.avp-footer .avpf-messenger-max svg{width:22px;height:22px;fill:currentColor;stroke:none}

/* Shared header brand marks, with uniform footer contact controls. */
.avp-footer-v2.avp-footer .avp-footer-contact-social>a,.avp-footer-v2.avp-footer .avp-footer-contact-social>.avpf-messenger-max{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#1F83CF;color:#fff}
.avp-footer-v2.avp-footer .avp-footer-contact-social>a svg,.avp-footer-v2.avp-footer .avp-footer-contact-social>.avpf-messenger-max svg{width:24px;height:24px;fill:currentColor;stroke:none}
.avp-footer-v2.avp-footer .avp-footer-contact-social>a:hover{background:#1973B8;color:#fff}
.avp-footer-v2.avp-footer .avp-footer-contact-social>a:focus-visible{outline:3px solid #102C43;outline-offset:3px}

.avp-footer-v2.avp-footer .avp-footer-contact-social>.avpf-messenger-max svg{width:22px;height:22px}
.avp-footer-v2.avp-footer .avp-footer-contact-social>a[href^="mailto:"] svg{width:26px;height:26px}
