

/* Start:/local/components/autopro/catalog.menu/templates/.default/style.css?17825001532961*/
.ap-catalog-menu__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ap-catalog-menu--duo .ap-catalog-menu__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-catalog-menu__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 120px;
    padding: 16px;
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius);
    background: var(--autopro-bg-alt);
    color: var(--autopro-text);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.ap-catalog-menu__card:hover {
    border-color: var(--autopro-accent);
    background: #fdecee;
    transform: translateY(-2px);
}

.ap-catalog-menu__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(230, 57, 70, 0.12);
    color: var(--autopro-accent);
    flex-shrink: 0;
}

.ap-catalog-menu__svg {
    display: block;
    width: 28px;
    height: 28px;
}

.ap-catalog-menu__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ap-catalog-menu__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.ap-catalog-menu__desc {
    font-size: 12px;
    line-height: 1.35;
    color: var(--autopro-text-muted);
}

.ap-catalog-menu__meta {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--autopro-text-muted);
}

.ap-catalog-menu--strip .ap-catalog-menu__cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-catalog-menu--strip .ap-catalog-menu__card {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    padding: 10px 12px;
    gap: 12px;
    transform: none;
}

.ap-catalog-menu--strip .ap-catalog-menu__card:hover {
    transform: none;
}

.ap-catalog-menu--strip .ap-catalog-menu__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.ap-catalog-menu--strip .ap-catalog-menu__svg {
    width: 22px;
    height: 22px;
}

.ap-catalog-menu--strip .ap-catalog-menu__desc {
    display: none;
}

@media (max-width: 960px) {
    .ap-catalog-menu:not(.ap-catalog-menu--strip) .ap-catalog-menu__cards {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .ap-catalog-menu:not(.ap-catalog-menu--strip) .ap-catalog-menu__card {
        flex-direction: row;
        align-items: center;
        min-height: 0;
        padding: 10px 12px;
        gap: 12px;
        transform: none;
    }

    .ap-catalog-menu:not(.ap-catalog-menu--strip) .ap-catalog-menu__card:hover {
        transform: none;
    }

    .ap-catalog-menu:not(.ap-catalog-menu--strip) .ap-catalog-menu__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .ap-catalog-menu:not(.ap-catalog-menu--strip) .ap-catalog-menu__svg {
        width: 22px;
        height: 22px;
    }

    .ap-catalog-menu:not(.ap-catalog-menu--strip) .ap-catalog-menu__desc {
        display: none;
    }
}

/* End */


/* Start:/local/templates/autopro/styles.css?178155931687*/
<?php

if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) {
    die();
}

/* End */


/* Start:/local/templates/autopro/template_styles.css?178290883393802*/
/* Zerkala71 template — light theme (based on AUTOPRO) */
:root {
    --autopro-bg: #f5f6f8;
    --autopro-bg-alt: #ffffff;
    --autopro-bg-card: #ffffff;
    --autopro-border: #e2e5ea;
    --autopro-border-light: #d5d9e0;
    --autopro-accent: #e63946;
    --autopro-accent-dark: #c1121f;
    --autopro-text: #1a1d24;
    --autopro-text-muted: #6b7280;
    --autopro-text-soft: #4b5563;
    --autopro-success: #16a34a;
    --autopro-warning: #d97706;
    --autopro-container: 1280px;
    --autopro-radius: 12px;
    --autopro-radius-sm: 8px;
}

.ap-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--ap-icon-size, 24px);
    height: var(--ap-icon-size, 24px);
    color: currentColor;
    vertical-align: middle;
}

.ap-icon__svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ap-icon--star {
    color: #f59e0b;
}

.ap-icon--success {
    color: var(--autopro-success);
}

.autopro-logo__icon .ap-icon {
    color: var(--autopro-text);
}

.autopro-header__chevron {
    display: inline-flex;
    margin-left: 2px;
    opacity: .85;
}

.ap-card__rating,
.ap-product-detail__rating,
.ap-reviews__summary,
.ap-reviews__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ap-contacts__card-icon {
    color: var(--autopro-accent);
}

.autopro-advantage__icon .ap-icon {
    color: var(--autopro-accent);
}

/* New AUTOPRO shop UI */
.ap-title {
    color: var(--autopro-text);
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 12px;
}

.ap-muted,
.ap-breadcrumb {
    color: var(--autopro-text-muted);
    font-size: 14px;
}

.ap-breadcrumb {
    margin-bottom: 8px;
}

.ap-breadcrumb a {
    color: #e63946;
    text-decoration: none;
}

.ap-breadcrumb a:hover {
    text-decoration: underline;
}

.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--autopro-border-light);
    border-radius: 8px;
    background: var(--autopro-border);
    color: var(--autopro-text);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.ap-btn--primary:hover {
    border-color: var(--autopro-accent-dark);
    background: var(--autopro-accent-dark);
}

.ap-configurator--triad .ap-back {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 14px;
}

.ap-btn--primary {
    border-color: #e63946;
    background: #e63946;
}

.ap-btn--success {
    border-color: #22c55e;
    background: #22c55e;
}

.ap-btn:disabled {
    cursor: wait;
    opacity: .7;
}

.ap-input {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid var(--autopro-border-light);
    border-radius: 8px;
    background: var(--autopro-bg-alt);
    color: var(--autopro-text);
    outline: none;
}

.ap-input--small {
    max-width: 130px;
}

.ap-input--select {
    max-width: 220px;
}

.ap-check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--autopro-border-light);
    border-radius: 10px;
    background: var(--autopro-bg-alt);
    color: var(--autopro-text);
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ap-check:hover {
    border-color: #9ca3af;
}

.ap-check:has(input:checked) {
    border-color: #e63946;
    background: #fdecee;
    box-shadow: 0 0 0 1px rgba(230, 57, 70, .25);
}

.ap-check input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 2px solid #b8bdc6;
    border-radius: 6px;
    background: var(--autopro-bg);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ap-check:hover input[type="checkbox"]:not(:checked) {
    border-color: #666;
}

.ap-check input[type="checkbox"]:checked {
    border-color: #e63946;
    background-color: #e63946;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.5 4 8.5 11 1.5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 9px;
}

.ap-check input[type="checkbox"]:focus-visible {
    outline: 2px solid #e63946;
    outline-offset: 2px;
}

.ap-choice input {
    accent-color: #e63946;
}

.ap-catalog,
.ap-cart,
.ap-checkout,
.ap-configurator {
    max-width: var(--autopro-container);
    margin: 0 auto;
    padding: 28px 20px 48px;
    width: 100%;
}

.ap-configurator {
    overflow-x: clip;
}

.ap-catalog__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ap-catalog__subtitle {
    margin: 8px 0 0;
    color: #888;
    font-size: 15px;
    line-height: 1.45;
}

.ap-seo {
    margin-top: 32px;
    padding-bottom: 40px;
}

.ap-seo--catalog {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.ap-seo--container {
    max-width: var(--autopro-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.ap-seo__content {
    color: #666;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
    max-width: none;
}

.ap-seo__content p {
    margin: 0 0 14px;
}

.ap-seo__content p:last-child {
    margin-bottom: 0;
}

.ap-seo__list {
    margin: 0 0 14px 20px;
    padding: 0;
}

.ap-seo__list li {
    margin-bottom: 8px;
}

.ap-company-content {
    max-width: 820px;
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.7;
}

.ap-company-content h3 {
    margin: 28px 0 12px;
    color: var(--autopro-bg-card);
    font-size: 20px;
}

.ap-company-content p {
    margin: 0 0 16px;
}

.ap-company-content ul {
    margin: 0 0 16px 20px;
    padding: 0;
}

.ap-delivery-content {
    max-width: 820px;
    color: var(--autopro-text-soft);
    font-size: 15px;
    line-height: 1.7;
}

.ap-delivery-content h2 {
    margin: 24px 0 12px;
    font-size: 18px;
    color: var(--autopro-text);
}

.ap-delivery-content p {
    margin: 0 0 14px;
}

.ap-legal-content {
    max-width: 860px;
    padding-bottom: 48px;
    color: var(--autopro-text-soft);
    font-size: 15px;
    line-height: 1.75;
}

.ap-legal-content .ap-title {
    margin-bottom: 8px;
}

.ap-legal-content__meta {
    margin: 0 0 28px;
    color: var(--autopro-text-muted);
    font-size: 14px;
}

.ap-legal-section {
    margin-bottom: 28px;
}

.ap-legal-section h2 {
    margin: 0 0 14px;
    color: var(--autopro-text);
    font-size: 20px;
    font-weight: 700;
}

.ap-legal-section p {
    margin: 0 0 14px;
}

.ap-legal-section ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.ap-legal-section li {
    margin-bottom: 8px;
}

.ap-legal-section a {
    color: var(--autopro-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ap-legal-section a:hover {
    color: var(--autopro-accent-dark);
}

.ap-legal-section code {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--autopro-bg-alt);
    color: var(--autopro-text);
    font-size: 13px;
}

.ap-tabs__link,
.ap-back {
    color: #e63946;
    text-decoration: none;
    font-weight: 700;
}

.ap-catalog__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ap-catalog__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
}

.ap-sidebar {
    align-self: start;
    padding: 18px;
    border: 1px solid var(--autopro-border);
    border-radius: 14px;
    background: var(--autopro-bg-alt);
}

.ap-sidebar h3 {
    margin: 0 0 12px;
    color: var(--autopro-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ap-sidebar h3:not(:first-child) {
    margin-top: 22px;
}

.ap-sidebar__link {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--autopro-text-muted);
    text-decoration: none;
}

.ap-sidebar__link:hover,
.ap-sidebar__link.is-active {
    background: #fdecee;
    color: #e63946;
}

.ap-catalog__count {
    margin-bottom: 14px;
    color: #888;
}

.ap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.ap-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--autopro-border);
    border-radius: 12px;
    background: var(--autopro-bg-card);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

.ap-card:hover {
    border-color: #e63946;
    box-shadow: 0 12px 40px rgba(230, 57, 70, .2);
    transform: translateY(-4px);
}

a.ap-card.ap-card--link {
    color: inherit;
    text-decoration: none;
}

a.ap-card.ap-card--link:hover,
a.ap-card.ap-card--link:focus,
a.ap-card.ap-card--link:visited,
a.ap-card.ap-card--link:active {
    color: inherit;
    text-decoration: none;
}

a.ap-card.ap-card--link:focus-visible {
    outline: none;
}

.ap-card__badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #e63946;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.ap-card__stock {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .45);
    color: var(--autopro-text);
    font-weight: 700;
}

.ap-card__image {
    display: block;
    height: 200px;
    background: var(--autopro-bg-alt);
    overflow: hidden;
}

.ap-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.ap-card:hover .ap-card__image img {
    transform: scale(1.05);
}

.ap-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.ap-card__brand {
    color: #e63946;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ap-card__title {
    flex: 1;
    color: var(--autopro-text);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.ap-card__rating {
    color: #f59e0b;
    font-size: 13px;
}

.ap-card__rating span {
    color: #888;
}

.ap-card__prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.ap-card__prices strong {
    color: var(--autopro-text);
    font-size: 20px;
}

.ap-card__prices span {
    color: #666;
    text-decoration: line-through;
}

.ap-card__prices em {
    color: #22c55e;
    font-style: normal;
    font-weight: 700;
}

.ap-card__button {
    width: 100%;
}

.ap-empty {
    padding: 70px 20px;
    border: 1px solid var(--autopro-border);
    border-radius: 16px;
    background: var(--autopro-bg-alt);
    color: #888;
    text-align: center;
}

.ap-empty--page {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ap-empty h1 {
    color: var(--autopro-text);
}

.ap-empty__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: #9ca3af;
}

.ap-404 {
    padding: 12px 0 64px;
}

.ap-404__inner {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.ap-404__code {
    font-size: clamp(72px, 16vw, 128px);
    font-weight: 800;
    line-height: 1;
    color: var(--autopro-accent);
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.ap-404__title {
    margin: 0 0 12px;
    color: var(--autopro-text);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
}

.ap-404__text {
    margin: 0 0 28px;
    max-width: 460px;
    color: var(--autopro-text-muted);
    line-height: 1.6;
}

.ap-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.ap-checkout__grid,
.ap-cart__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.ap-checkout__main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ap-checkout__actions-wrap {
    margin-top: 0;
}

.ap-configurator__grid {
    display: grid;
    grid-template-columns: minmax(0, min(520px, 100%)) minmax(0, 1fr);
    grid-template-areas: "media panel";
    gap: 28px;
    align-items: start;
    margin-top: 22px;
    width: 100%;
    min-width: 0;
}

.ap-configurator--triad .ap-configurator__head {
    margin-top: 0;
    text-align: center;
}

.ap-configurator--triad .ap-configurator__head .ap-breadcrumb {
    margin-bottom: 10px;
}

.ap-brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 12px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff;
    width: fit-content;
}

.ap-brand-logo__img {
    display: block;
    width: auto;
    max-width: 88px;
    max-height: 44px;
    object-fit: contain;
}

.ap-static-configurator .ap-brand-logo {
    justify-content: flex-start;
    margin: 0 0 10px;
}

.ap-configurator--triad .ap-configurator__head .ap-title {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.ap-configurator--triad .ap-configurator__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 4px 14px;
    border: 1px solid var(--autopro-accent);
    border-radius: 20px;
    background: var(--autopro-bg-card);
    color: var(--autopro-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ap-configurator--triad .ap-configurator__lead {
    margin: 8px 0 0;
    color: var(--autopro-text-muted);
    font-size: 15px;
    line-height: 1.45;
}

.ap-configurator--triad .ap-configurator__workspace {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 400px) minmax(0, 320px);
    grid-template-areas:
        "left visual right"
        "left summary right";
    gap: 24px;
    align-items: start;
    justify-content: center;
    width: 100%;
    max-width: 1180px;
    margin: 24px auto 0;
}

.ap-configurator--triad .ap-configurator__col--left {
    grid-area: left;
}

.ap-configurator--triad .ap-configurator__visual {
    grid-area: visual;
}

.ap-configurator--triad .ap-configurator__summary {
    grid-area: summary;
}

.ap-configurator--triad .ap-configurator__col--right {
    grid-area: right;
}

.ap-configurator__workspace {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 200px);
    gap: 14px;
    align-items: start;
    margin-top: 14px;
    width: 100%;
    min-width: 0;
}

.ap-configurator__col {
    min-width: 0;
}

.ap-configurator__col--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ap-configurator--triad .ap-configurator__col--left,
.ap-configurator--triad .ap-configurator__col--right {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    border: 1px solid var(--autopro-border);
    border-radius: 16px;
    background: var(--autopro-bg-alt);
    background-image:
        linear-gradient(to bottom, var(--autopro-bg-alt) 10%, rgba(255, 255, 255, 0) 90%),
        linear-gradient(to top, var(--autopro-bg-alt) 10%, rgba(255, 255, 255, 0) 90%);
    background-size: 100% 40px;
    background-repeat: no-repeat;
    background-attachment: local, local;
    box-shadow: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(230, 57, 70, .55) var(--autopro-bg-card);
}

.ap-configurator--triad .ap-configurator__col--left {
    border-left: 1px solid var(--autopro-border);
}

.ap-configurator--triad .ap-configurator__col--right {
    border-right: 1px solid var(--autopro-border);
}

.ap-configurator--triad .ap-configurator__col--left::-webkit-scrollbar,
.ap-configurator--triad .ap-configurator__col--right::-webkit-scrollbar {
    width: 6px;
}

.ap-configurator--triad .ap-configurator__col--left::-webkit-scrollbar-track,
.ap-configurator--triad .ap-configurator__col--right::-webkit-scrollbar-track {
    margin: 8px 0;
    border-radius: 6px;
    background: var(--autopro-bg-card);
}

.ap-configurator--triad .ap-configurator__col--left::-webkit-scrollbar-thumb,
.ap-configurator--triad .ap-configurator__col--right::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(230, 57, 70, .75), rgba(230, 57, 70, .45));
}

.ap-configurator__col--left,
.ap-configurator__col--right {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: #9ca3af var(--autopro-bg-alt);
}

.ap-configurator__col--left::-webkit-scrollbar,
.ap-configurator__col--right::-webkit-scrollbar {
    width: 5px;
}

.ap-configurator__col--left::-webkit-scrollbar-thumb,
.ap-configurator__col--right::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #9ca3af;
}

.ap-configurator--triad .ap-configurator__visual {
    width: 100%;
    max-width: 360px;
    justify-self: center;
    min-height: min(460px, 50vh);
    background: var(--autopro-bg-alt);
    border: 1px solid var(--autopro-border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap-configurator--triad .ap-preview-layers {
    width: 100%;
    max-width: 360px;
    height: 100%;
    min-height: min(460px, 50vh);
    margin: 0;
}

.ap-configurator--triad.ap-configurator--gallery .ap-configurator__visual {
    width: 100%;
    max-width: 400px;
    background: var(--autopro-bg-alt);
    border-radius: 12px;
    padding: 10px;
}

.ap-configurator--triad.ap-configurator--gallery .ap-configurator__gallery-wrap {
    width: 100%;
}

.ap-configurator--triad.ap-configurator--gallery .ap-configurator__gallery {
    height: min(460px, 50vh);
}

.ap-configurator--triad.ap-configurator--swatches .ap-configurator__visual {
    width: 100%;
    max-width: 400px;
    background: var(--autopro-bg-alt);
    border-radius: 12px;
    padding: 16px;
}

.ap-preview-swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 10px;
    width: 100%;
    max-height: min(460px, 50vh);
    overflow: auto;
}

.ap-preview-swatches__item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--autopro-border);
}

.ap-preview-swatches__item.is-active {
    border-color: #f5a623;
}

.ap-preview-swatches__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-configurator__col--center .ap-configurator__visual {
    width: 100%;
    max-width: 400px;
    background: var(--autopro-bg-alt);
    border-radius: 12px;
    padding: 10px;
}

.ap-configurator--triad .ap-configurator__summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    justify-self: center;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.ap-configurator--triad .ap-configurator__summary-inner {
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid rgba(230, 57, 70, .2);
    border-radius: 12px;
    background: linear-gradient(135deg, #fdecee, #f3f0f8);
    text-align: center;
}

.ap-configurator--triad .ap-configurator__summary-label {
    display: block;
    color: var(--autopro-text-muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.ap-configurator--triad .ap-configurator__summary .js-config-price {
    display: block;
    color: var(--autopro-text);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
}

.ap-configurator--triad .ap-configurator__summary-note {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 11px;
}

.ap-configurator--triad .ap-btn--block {
    width: 100%;
    min-height: 48px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
}

.ap-configurator__pdf {
    margin-top: 10px;
}

.ap-configurator__panel-title {
    display: none;
    margin: 0 0 14px;
    color: var(--autopro-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.ap-configurator__col--center .ap-configurator__summary {
    width: 100%;
    max-width: 400px;
    margin-top: 0;
    padding: 16px;
    border: 1px solid var(--autopro-border);
    border-radius: 12px;
    background: #fafbfc;
}

.ap-configurator__col--center .ap-configurator__summary strong {
    font-size: 22px;
}

.ap-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ap-options--compact {
    margin: 0 0 10px;
    padding: 8px 9px 9px;
    border: 1px solid var(--autopro-border);
    border-radius: 10px;
    background: var(--autopro-bg);
}

.ap-configurator--triad .ap-options--compact {
    margin: 0;
    padding: 0 0 16px;
    border: 0;
    border-bottom: 1px solid var(--autopro-border);
    border-radius: 0;
    background: transparent;
}

.ap-configurator--triad .ap-options--compact:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ap-configurator--triad .ap-options--compact legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px 0 0;
    color: var(--autopro-text-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ap-configurator--triad .ap-options--compact legend::before {
    content: '';
    flex-shrink: 0;
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--autopro-accent);
}

.ap-configurator--triad .ap-option--compact:not(.ap-option--color) {
    background: var(--autopro-bg-card);
    border-color: var(--autopro-border);
}

.ap-configurator--triad .ap-option--compact:not(.ap-option--color):not(.is-disabled):hover {
    border-color: #9ca3af;
    background: var(--autopro-bg-card);
}

.ap-configurator--triad .ap-option--compact:not(.ap-option--color).is-active {
    background: #fdecee;
    border-color: var(--autopro-accent);
    color: var(--autopro-text);
}

.ap-configurator--triad .ap-options--compact.ap-options--swatch .ap-options__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ap-configurator--triad .ap-options--compact.ap-options--swatch .ap-options__scroll {
    padding: 3px;
    overflow: visible;
}

.ap-configurator--triad .ap-options--compact.ap-options--swatch.ap-options--scrollable .ap-options__scroll {
    max-height: 132px;
    overflow-x: visible;
    overflow-y: auto;
    padding: 3px;
}

.ap-configurator--triad .ap-options--compact.ap-options--swatch .ap-option--color {
    width: 32px;
    height: 32px;
    overflow: visible;
}

.ap-configurator--triad .ap-options--compact.ap-options--swatch .ap-option--color .ap-option__swatch {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid var(--autopro-border-light);
    box-sizing: border-box;
}

.ap-configurator--triad .ap-options--compact.ap-options--swatch .ap-option--color.is-active {
    border: none;
    background: transparent;
    box-shadow: none;
}

.ap-configurator--triad .ap-options--compact.ap-options--swatch .ap-option--color.is-active .ap-option__swatch {
    border-color: var(--autopro-accent);
    box-shadow: 0 0 10px rgba(230, 57, 70, .45);
}

.ap-configurator--triad .ap-options--compact.ap-options--swatch .ap-option--color.is-active .ap-option__swatch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: center/11px 9px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.5 4 8.5 11 1.5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ap-option__swatch--image {
    display: block;
    overflow: hidden;
    background: var(--autopro-bg-card);
}

.ap-option__swatch--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-options--hidden {
    display: none !important;
}

.ap-options--compact legend {
    margin-bottom: 6px;
    padding: 8px 2px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #999;
}

.ap-options__scroll {
    overflow: hidden;
}

.ap-options__select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--autopro-border);
    border-radius: 8px;
    background: var(--autopro-bg-alt);
    color: #f5f5f5;
    font: inherit;
}

.ap-options__select:focus {
    outline: none;
    border-color: #e63946;
}

.ap-options--select .ap-options__scroll {
    overflow: visible;
}

.ap-options--scrollable .ap-options__scroll {
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: #cfd3da transparent;
}

.ap-options--scrollable .ap-options__scroll::-webkit-scrollbar {
    width: 4px;
}

.ap-options--scrollable .ap-options__scroll::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: #cfd3da;
}

.ap-options--compact.ap-options--color .ap-options__scroll {
    max-height: 72px;
}

.ap-options--compact.ap-options--list .ap-options__scroll {
    max-height: 168px;
}

.ap-options--compact.ap-options--scrollable:not(.ap-options--color):not(.ap-options--list) .ap-options__scroll {
    max-height: 148px;
}

.ap-options--compact .ap-options__grid {
    gap: 5px;
}

.ap-options--compact:not(.ap-options--color):not(.ap-options--list) .ap-options__grid {
    grid-template-columns: 1fr;
}

.ap-options--compact.ap-options--swatch .ap-options__grid {
    display: grid;
    grid-template-columns: repeat(5, 24px);
    gap: 6px;
    justify-content: start;
}

.ap-options--compact.ap-options--list .ap-options__grid {
    grid-template-columns: 1fr;
}

.ap-configurator--triad .ap-option--compact {
    padding: 9px 12px;
    border-radius: 8px;
}

.ap-configurator--triad .ap-options--compact[data-group-code="material"] .ap-options__grid,
.ap-configurator--triad .ap-options--compact:not(.ap-options--color):not(.ap-options--list) .ap-options__grid {
    grid-template-columns: 1fr;
}

.ap-option--compact {
    gap: 8px;
    padding: 7px 9px;
    font-size: 13px;
    line-height: 1.35;
    border-radius: 7px;
}

.ap-option--compact input[type="radio"],
.ap-option--compact input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ap-option--compact input[type="radio"]:checked {
    box-shadow: inset 0 0 0 4px #e63946;
}

.ap-options--compact.ap-options--swatch .ap-option--color {
    width: 24px;
    height: 24px;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    gap: 0;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.ap-options--compact.ap-options--swatch .ap-option--color input[type="radio"] {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.ap-options--compact.ap-options--swatch .ap-option--color .ap-option__swatch {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    pointer-events: none;
}

.ap-options--compact.ap-options--swatch .ap-option--color:not(.is-disabled):hover .ap-option__swatch {
    border-color: #666;
    transform: scale(1.06);
}

.ap-options--compact.ap-options--swatch .ap-option--color.is-active {
    border: none;
    background: transparent;
    box-shadow: none;
}

.ap-options--compact.ap-options--swatch .ap-option--color.is-active .ap-option__swatch {
    border-color: #e63946;
    box-shadow:
        0 0 0 1px #e63946,
        inset 0 0 0 1px rgba(0, 0, 0, .35);
}

.ap-options--compact.ap-options--swatch .ap-option--color.is-disabled {
    opacity: .35;
}

.ap-options--compact.ap-options--swatch .ap-option--color.is-disabled .ap-option__swatch {
    filter: grayscale(.4);
}

.ap-options--compact[data-group-code="material"] .ap-options__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ap-options--compact[data-group-code="doubleHorizontStrochka"] .ap-options__grid,
.ap-options--compact[data-group-code="doubleOtsrochka"] .ap-options__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-options--compact[data-group-code="material"] .ap-option--compact,
.ap-options--compact[data-group-code="doubleHorizontStrochka"] .ap-option--compact,
.ap-options--compact[data-group-code="doubleOtsrochka"] .ap-option--compact {
    padding: 6px 7px;
    font-size: 12px;
    text-align: center;
    justify-content: center;
}

.ap-options--compact.is-collapsed:not(.ap-options--swatch) {
    opacity: .55;
    pointer-events: none;
}

.ap-options--compact.is-collapsed.ap-options--swatch {
    opacity: 1;
    pointer-events: none;
}

.ap-options--compact.is-collapsed.ap-options--swatch .ap-option--color {
    opacity: .4;
}

.ap-options--compact.is-collapsed.ap-options--swatch .ap-option--color.is-active .ap-option__swatch {
    border-color: #666;
    box-shadow: none;
}

.ap-options--compact.is-collapsed.ap-options--swatch .ap-option--color.is-active .ap-option__swatch::after {
    opacity: .6;
}

.ap-option--hidden {
    display: none !important;
}

@media (max-width: 1440px) {
    .ap-configurator--triad .ap-configurator__workspace {
        grid-template-columns: minmax(0, 250px) minmax(0, 320px) minmax(0, 280px);
        gap: 16px;
    }

    .ap-configurator--triad .ap-configurator__visual,
    .ap-configurator--triad .ap-preview-layers,
    .ap-configurator--triad .ap-configurator__summary {
        max-width: 320px;
    }

    .ap-configurator--triad .ap-configurator__visual,
    .ap-configurator--triad .ap-preview-layers {
        min-height: min(400px, 46vh);
    }

    .ap-configurator--triad .ap-preview-layers {
        max-width: 100%;
    }
}

@media (max-height: 820px) {
    .ap-configurator--triad .ap-configurator__col--left,
    .ap-configurator--triad .ap-configurator__col--right {
        max-height: calc(100vh - 130px);
    }

    .ap-configurator--triad .ap-options--compact.ap-options--list .ap-options__scroll {
        max-height: 128px;
    }

    .ap-configurator--triad .ap-options--compact.ap-options--color .ap-options__scroll {
        max-height: 66px;
    }
}

.ap-configurator__media {
    grid-area: media;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.ap-configurator__grid > * {
    min-width: 0;
    max-width: 100%;
}

.ap-configurator__visual {
    grid-area: unset;
}

.ap-configurator__panel {
    grid-area: panel;
}

.ap-configurator__reviews {
    grid-area: unset;
    position: relative;
}

.ap-configurator__visual,
.ap-configurator__panel,
.ap-configurator__reviews,
.ap-panel,
.ap-order-summary,
.ap-summary {
    border: 1px solid var(--autopro-border);
    border-radius: 16px;
    background: var(--autopro-bg-card);
    padding: 24px;
}

.ap-configurator__visual {
    overflow: hidden;
    background: var(--autopro-bg-alt);
}

.ap-configurator__gallery-wrap {
    position: relative;
    max-width: 100%;
}

.ap-configurator__preview-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: min(460px, 50vh);
    padding: 32px 24px;
    text-align: center;
    color: #8a8a8a;
    background: var(--autopro-bg-alt);
    border: 1px dashed var(--autopro-border-light);
    border-radius: 12px;
}

.ap-configurator__preview-empty[hidden] {
    display: none !important;
}

.ap-configurator__preview-empty-icon {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #eef0f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23666' stroke-width='1.5' d='M4 7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7Z'/%3E%3Ccircle cx='9' cy='10' r='1.5' fill='%23666'/%3E%3Cpath stroke='%23666' stroke-width='1.5' stroke-linecap='round' d='m8 16 3.5-3.5a1 1 0 0 1 1.4 0L16 16'/%3E%3Cpath stroke='%23666' stroke-width='1.5' stroke-linecap='round' d='M14 12.5 16 10.5l4 5.5'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.ap-configurator__preview-empty-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #c8c8c8;
}

.ap-configurator__preview-empty-note {
    margin: 0;
    max-width: 280px;
    font-size: 14px;
    line-height: 1.45;
    color: #777;
}

.ap-configurator__gallery-wrap[hidden] {
    display: none !important;
}

.ap-configurator__gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
}

.ap-configurator__gallery .swiper-wrapper,
.ap-configurator__gallery .swiper-slide {
    height: 100%;
}

.ap-configurator__gallery .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap-configurator__gallery img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.ap-config-gallery__nav {
    z-index: 5;
    color: var(--autopro-text);
}

.ap-config-gallery__nav::after {
    font-size: 18px;
}

.ap-configurator__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-bottom: 4px;
    overflow-x: auto;
}

.ap-configurator__thumbs.is-hidden {
    display: none;
}

.ap-config-gallery__thumb {
    flex: 0 0 84px;
    width: 84px;
    height: 64px;
    padding: 0;
    border: 2px solid var(--autopro-border-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--autopro-bg-alt);
    transition: border-color .2s ease;
}

.ap-config-gallery__thumb.is-active {
    border-color: #e63946;
}

.ap-config-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: normal;
}

.ap-configurator__gallery.is-single .ap-config-gallery__nav {
    display: none;
}

.ap-reviews__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.ap-reviews__title {
    margin: 0;
    color: var(--autopro-text);
    font-size: 20px;
    font-weight: 600;
}

.ap-reviews__summary {
    color: #f4c430;
    font-size: 14px;
    white-space: nowrap;
}

.ap-reviews__summary span {
    color: #888;
}

.ap-reviews__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ap-reviews__item {
    padding-top: 14px;
    border-top: 1px solid var(--autopro-border);
}

.ap-reviews__item:first-child {
    padding-top: 0;
    border-top: 0;
}

.ap-reviews__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 8px;
    color: var(--autopro-text);
    font-size: 14px;
}

.ap-reviews__rating {
    color: #f4c430;
}

.ap-reviews__badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(230, 57, 70, .15);
    color: #e63946;
    font-size: 12px;
}

.ap-reviews__text {
    margin: 0;
    color: #bbb;
    font-size: 14px;
    line-height: 1.5;
}

.ap-reviews__empty {
    margin: 0;
    color: var(--autopro-text-muted);
    font-size: 14px;
}

.ap-configurator__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
    color: var(--autopro-text-muted);
    font-size: 14px;
}

.ap-configurator__meta a {
    color: #e63946;
}

.ap-options {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.ap-options legend {
    margin-bottom: 10px;
    color: var(--autopro-text);
    font-weight: 700;
}

.ap-options__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.ap-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--autopro-border-light);
    border-radius: 10px;
    background: var(--autopro-bg-alt);
    color: var(--autopro-text);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ap-option__body {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
    padding-top: 1px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ap-option__label {
    display: block;
}

.ap-option input[type="radio"],
.ap-option input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 2px solid #b8bdc6;
    background: var(--autopro-bg);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ap-option input[type="radio"] {
    border-radius: 50%;
}

.ap-option input[type="checkbox"] {
    border-radius: 6px;
}

.ap-option input[type="radio"]:checked {
    border-color: #e63946;
    background-color: var(--autopro-bg);
    box-shadow: inset 0 0 0 5px #e63946;
}

.ap-option input[type="checkbox"]:checked {
    border-color: #e63946;
    background-color: #e63946;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.5 4 8.5 11 1.5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 9px;
}

.ap-option:not(.is-disabled):hover {
    border-color: #9ca3af;
}

.ap-option:not(.is-disabled):hover input[type="radio"]:not(:checked),
.ap-option:not(.is-disabled):hover input[type="checkbox"]:not(:checked) {
    border-color: #666;
}

.ap-option input[type="radio"]:focus-visible,
.ap-option input[type="checkbox"]:focus-visible {
    outline: 2px solid #e63946;
    outline-offset: 2px;
}

.ap-option.is-active {
    border-color: #e63946;
    background: #fdecee;
    box-shadow: 0 0 0 1px rgba(230, 57, 70, .25);
}

.ap-option.is-pending {
    border-color: #e63946;
    background: #fce8eb;
    box-shadow: 0 0 0 1px #e63946;
}

.ap-option.is-partial {
    border-style: dashed;
    border-color: #6b7280;
    color: #999;
    opacity: .85;
}

.ap-option.is-partial:hover {
    border-color: #e63946;
    color: var(--autopro-text);
}

.ap-options--compact.ap-options--swatch .ap-option--color.is-partial .ap-option__swatch {
    border-style: dashed;
    border-color: #666;
    opacity: .85;
}

.ap-options--compact.ap-options--swatch .ap-option--color.is-partial:hover .ap-option__swatch {
    border-color: #e63946;
    opacity: 1;
}

.ap-option--extra .ap-option__price {
    color: #e63946;
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.ap-option.is-disabled {
    cursor: not-allowed;
    opacity: .45;
}

.ap-option.is-disabled input[type="radio"],
.ap-option.is-disabled input[type="checkbox"] {
    cursor: not-allowed;
    border-color: var(--autopro-border-light);
    background: #f0f1f4;
}

.ap-configurator__form.is-loading,
.ap-configurator__workspace.is-loading,
.js-config-form.is-loading {
    pointer-events: none;
}

body.is-page-loading {
    overflow: hidden;
}

.ap-page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(13, 13, 13, 0.94);
}

.ap-page-loader__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--autopro-border);
    border-top-color: #e63946;
    border-radius: 50%;
    animation: ap-page-loader-spin 0.8s linear infinite;
}

.ap-page-loader__text {
    color: var(--autopro-text-muted);
    font-size: 15px;
    font-weight: 600;
}

@keyframes ap-page-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.ap-option--color {
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
}

.ap-option--color .ap-option__swatch {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}

.ap-option--color .ap-option__label {
    flex: 1;
    min-width: 0;
    padding-top: 0;
}

.ap-option--color.is-active .ap-option__swatch {
    border-color: #e63946;
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, .2),
        0 0 0 1px #e63946;
}

.ap-configurator__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--autopro-border);
}

.ap-configurator__summary span {
    display: block;
    color: #888;
}

.ap-configurator__summary strong {
    color: var(--autopro-text);
    font-size: 28px;
}

.ap-product-detail__badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(230, 57, 70, .15);
    color: #e63946;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ap-product-detail__badge--custom {
    background: transparent;
    color: inherit;
}

.ap-product-detail__rating {
    margin-bottom: 12px;
    color: #f4c430;
    font-size: 15px;
    font-weight: 600;
}

.ap-product-detail__rating span {
    color: #888;
    font-weight: 400;
}

.ap-product-detail__stock {
    color: #f59e0b;
    font-weight: 700;
}

.ap-product-detail__price-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ap-product-detail__old-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ap-product-detail__old-price span {
    color: #888;
    font-size: 16px;
    text-decoration: line-through;
}

.ap-product-detail__old-price em {
    color: #e63946;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}

.ap-product-specs {
    margin: 24px 0;
    padding-top: 24px;
    border-top: 1px solid var(--autopro-border);
}

.ap-product-specs__title {
    margin: 0 0 16px;
    color: var(--autopro-text);
    font-size: 18px;
    font-weight: 700;
}

.ap-product-specs__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ap-product-specs__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100%;
    padding: 14px 16px;
    border: 1px solid var(--autopro-border);
    border-radius: 10px;
    background: var(--autopro-bg-alt);
}

.ap-product-specs__label {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ap-product-specs__value {
    color: var(--autopro-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}

.ap-product-specs__value a {
    color: #e63946;
    text-decoration: none;
}

.ap-product-specs__value a:hover {
    text-decoration: underline;
}

.ap-product-specs__value--empty {
    color: #666;
    font-weight: 400;
}

.ap-product-specs__file {
    display: block;
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--autopro-border-light);
}

/* Contacts */
.ap-contacts {
    padding: 8px 0 64px;
}

.ap-contacts__head {
    margin-bottom: 24px;
}

.ap-contacts__lead {
    margin: 0;
    max-width: 720px;
    color: var(--autopro-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.ap-contacts__layout {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.ap-contacts__cards {
    display: grid;
    gap: 12px;
}

.ap-contacts__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius);
    background: var(--autopro-bg-card);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ap-contacts__card:hover {
    border-color: var(--autopro-border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.ap-contacts__card-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--autopro-radius-sm);
    background: rgba(230, 57, 70, .12);
    font-size: 20px;
    line-height: 1;
}

.ap-contacts__card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ap-contacts__card-label {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ap-contacts__card-value {
    color: var(--autopro-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

a.ap-contacts__card-value:hover {
    color: var(--autopro-accent);
}

.ap-contacts__card-note {
    color: var(--autopro-text-soft);
    font-size: 13px;
    line-height: 1.45;
}

.ap-contacts__channels {
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius);
    background: var(--autopro-bg-alt);
}

.ap-contacts__channels-title {
    margin: 0 0 14px;
    color: var(--autopro-text);
    font-size: 16px;
    font-weight: 700;
}

.ap-contacts__channels-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ap-contacts__channels-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ap-contacts__channels-list a {
    color: var(--autopro-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.ap-contacts__channels-list a:hover {
    text-decoration: underline;
}

.ap-contacts__channels-list span {
    color: var(--autopro-text-muted);
    font-size: 13px;
}

.ap-contacts__map {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

.ap-contacts__map-link {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: var(--autopro-radius-sm);
    background: rgba(17, 17, 17, .88);
    color: var(--autopro-accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.ap-contacts__map-link:hover {
    text-decoration: underline;
}

.ap-contacts__map-frame {
    position: relative;
    flex: 1;
    min-height: 520px;
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius);
    overflow: hidden;
    background: var(--autopro-bg-alt);
}

.ap-contacts__map-frame iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.ap-cart__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ap-cart-item,
.ap-order-summary__item,
.ap-summary-row,
.ap-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ap-cart-item {
    padding: 20px;
    border: 1px solid var(--autopro-border);
    border-radius: 12px;
    background: var(--autopro-bg-card);
}

.ap-cart-item__image {
    width: 100px;
    height: 80px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: var(--autopro-bg-alt);
}

.ap-cart-item__image img,
.ap-order-summary__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-cart-item__info {
    flex: 1;
    min-width: 180px;
}

.ap-cart-item__info h3 {
    margin: 4px 0;
    color: var(--autopro-text);
    font-size: 15px;
}

.ap-cart-item__info p {
    color: #888;
    font-size: 13px;
}

.ap-cart-item__info strong,
.ap-cart-item__sum {
    color: var(--autopro-text);
    font-weight: 800;
}

.ap-qty {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--autopro-border-light);
    border-radius: 8px;
}

.ap-qty button,
.ap-cart-item__remove {
    width: 36px;
    height: 36px;
    border: 0;
    background: var(--autopro-border);
    color: var(--autopro-text);
    cursor: pointer;
}

.ap-qty span {
    min-width: 44px;
    padding: 8px 0;
    background: var(--autopro-bg-card);
    color: var(--autopro-text);
    text-align: center;
    font-weight: 700;
}

.ap-cart-item__remove {
    border: 1px solid var(--autopro-border-light);
    border-radius: 8px;
    color: #e63946;
}

.ap-summary,
.ap-order-summary {
    position: sticky;
    top: 100px;
}

.ap-summary h3,
.ap-order-summary h3,
.ap-panel h2 {
    margin: 0 0 18px;
    color: var(--autopro-text);
}

.ap-delivery {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--autopro-border);
    border-radius: 10px;
    background: var(--autopro-bg-alt);
    color: var(--autopro-text-muted);
    font-size: 13px;
}

.ap-delivery strong {
    color: #f59e0b;
}

.ap-delivery div {
    height: 6px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--autopro-border-light);
}

.ap-delivery i {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: #f59e0b;
}

.ap-summary-row,
.ap-summary-total {
    padding: 10px 0;
    color: var(--autopro-text-muted);
}

.ap-summary-total {
    margin: 10px 0 18px;
    border-top: 1px solid var(--autopro-border);
    color: var(--autopro-text);
}

.ap-summary-total strong {
    color: var(--autopro-text);
    font-size: 24px;
}

.ap-summary .ap-btn {
    width: 100%;
    margin-top: 10px;
}

.ap-steps {
    display: flex;
    gap: 0;
    margin: 28px 0 36px;
}

.ap-step {
    flex: 1;
    padding: 12px;
    border: 0;
    border-bottom: 2px solid var(--autopro-border);
    background: transparent;
    color: #666;
    text-align: left;
    cursor: pointer;
}

.ap-step.is-active {
    border-color: #e63946;
    color: var(--autopro-text);
    font-weight: 800;
}

.ap-step.is-done {
    border-color: #22c55e;
    color: #22c55e;
}

.ap-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ap-form-grid label,
.ap-panel label {
    color: var(--autopro-text-muted);
    font-size: 13px;
    font-weight: 700;
}

.ap-form-grid__wide {
    grid-column: 1 / -1;
}

.ap-choice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.ap-choice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--autopro-border-light);
    border-radius: 10px;
    background: var(--autopro-bg-alt);
    color: var(--autopro-text);
}

.ap-choice em {
    display: block;
    color: #888;
    font-style: normal;
    font-size: 13px;
}

.ap-choice b {
    margin-left: auto;
}

.ap-checkout__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.ap-form-error {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #e63946;
    border-radius: 8px;
    background: #fdecee;
    color: #e63946;
}

.ap-prepay-summary {
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid var(--autopro-border);
    border-radius: 12px;
    background: var(--autopro-bg-alt);
}

.ap-prepay-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    color: var(--autopro-text-muted);
}

.ap-prepay-summary__row strong {
    color: var(--autopro-text);
    font-size: 20px;
}

.ap-prepay-summary__row--muted {
    border-top: 1px solid var(--autopro-border);
    color: #888;
}

.ap-prepay-summary__row--muted strong {
    color: #f59e0b;
    font-size: 16px;
}

.ap-prepay-note {
    margin: 0 0 18px;
    color: #888;
    font-size: 13px;
}

.ap-summary-row--prepay {
    color: #f59e0b;
}

.ap-summary-row--prepay strong {
    color: #f59e0b;
}

.ap-prepay-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(230, 57, 70, 0.08) 100%);
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
}

.ap-prepay-notice__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: #f59e0b;
}

.ap-prepay-notice__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ap-prepay-notice__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--autopro-text-soft);
    font-size: 14px;
    line-height: 1.5;
}

.ap-prepay-notice__text strong {
    color: var(--autopro-text);
    font-size: 15px;
}

.ap-prepay-notice__text span {
    color: var(--autopro-text-muted);
}

.ap-checkout-success__spinner {
    margin: 0 auto 20px;
}

.ap-order-summary__item {
    margin-bottom: 12px;
}

.ap-order-summary__item img {
    width: 48px;
    height: 40px;
    border-radius: 6px;
}

.ap-order-summary__item span {
    flex: 1;
    color: var(--autopro-text-muted);
    font-size: 13px;
}

.ap-order-summary__item em {
    display: block;
    color: var(--autopro-text-soft);
    font-style: normal;
}

.ap-order-summary__item strong {
    color: var(--autopro-text);
    font-size: 13px;
}

.ap-home-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.ap-home-categories--single {
    max-width: 420px;
}

.ap-home-card--catalog {
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ap-home-card--catalog:hover {
    border-color: var(--autopro-accent);
    transform: translateY(-2px);
}

.ap-product-offers {
    margin: 20px 0;
}

.ap-product-offers__label {
    margin-bottom: 10px;
    color: var(--autopro-text-muted);
    font-size: 14px;
}

.ap-product-offers__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-product-offers__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--autopro-border);
    border-radius: 10px;
    background: var(--autopro-bg-card);
    color: inherit;
    text-decoration: none;
}

.ap-product-offers__item.is-active {
    border-color: var(--autopro-accent);
    box-shadow: inset 0 0 0 1px var(--autopro-accent);
}

.ap-product-offers__item strong {
    white-space: nowrap;
}

.ap-card__meta {
    margin-top: 8px;
    color: var(--autopro-text-muted);
    font-size: 14px;
}

.ap-home-card,
.ap-home-note {
    display: block;
    padding: 22px;
    border: 1px solid var(--autopro-border);
    border-radius: 14px;
    background: var(--autopro-bg-card);
    color: var(--autopro-text-muted);
    text-decoration: none;
}

.ap-home-card span {
    color: #e63946;
    font-weight: 800;
}

.ap-home-card strong {
    display: block;
    margin: 8px 0;
    color: var(--autopro-text);
    font-size: 20px;
}

.ap-home-card em {
    font-style: normal;
    color: var(--autopro-text-muted);
}

.autopro-header-menu,
.autopro-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.autopro-header-menu a {
    display: block;
    padding: 8px 10px;
    color: var(--autopro-text-soft);
    text-decoration: none;
}

.autopro-footer-menu a {
    display: block;
    padding: 4px 0;
    color: var(--autopro-text-muted);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
}

.autopro-header-menu a:hover,
.autopro-footer-menu a:hover {
    color: var(--autopro-accent);
}

@media (max-width: 960px) {
    .ap-catalog__layout,
    .ap-checkout__grid,
    .ap-cart__grid {
        grid-template-columns: 1fr;
    }

    .ap-contacts__layout {
        grid-template-columns: 1fr;
    }

    .ap-contacts__map-frame {
        min-height: 320px;
    }

    .ap-configurator {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ap-configurator__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "visual"
            "panel"
            "reviews";
        gap: 16px;
    }

    .ap-configurator__workspace {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .ap-configurator--triad {
        padding-bottom: 12px;
    }

    .ap-configurator--triad .ap-configurator__head {
        text-align: left;
    }

    .ap-configurator--triad .ap-configurator__head .ap-title {
        font-size: clamp(20px, 5.5vw, 26px);
    }

    .ap-configurator--triad .ap-configurator__lead {
        font-size: 14px;
    }

    .ap-configurator--triad .ap-configurator__workspace {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "visual"
            "left"
            "right"
            "summary";
        gap: 16px;
        width: 100%;
        margin-top: 16px;
    }

    .ap-configurator--triad .ap-configurator__visual,
    .ap-configurator--triad .ap-preview-layers,
    .ap-configurator--triad .ap-configurator__summary {
        max-width: none;
        min-height: 0;
        justify-self: stretch;
    }

    .ap-configurator--triad .ap-configurator__visual {
        align-self: stretch;
        width: 100%;
        min-height: 0;
        height: auto;
        border-radius: 14px;
    }

    .ap-configurator--triad .ap-preview-layers {
        width: 100%;
        min-height: 0;
        height: auto;
        margin: 0;
        aspect-ratio: 1 / 1;
    }

    .ap-configurator--triad .ap-configurator__summary {
        align-self: stretch;
        width: 100%;
        gap: 10px;
        margin: 0;
        padding: 12px 0 calc(8px + env(safe-area-inset-bottom, 0));
        position: sticky;
        bottom: 0;
        z-index: 30;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, .94) 28%, var(--autopro-bg) 100%);
        box-sizing: border-box;
    }

    .ap-configurator--triad .ap-configurator__summary-inner,
    .ap-configurator--triad .ap-configurator__summary .ap-btn--block {
        pointer-events: auto;
    }

    .ap-configurator--triad .ap-configurator__summary-inner,
    .ap-configurator--triad .ap-configurator__summary .ap-btn--block {
        width: 100%;
        max-width: none;
        margin: 0;
        box-sizing: border-box;
    }

    .ap-configurator--triad .ap-configurator__summary-inner {
        padding: 12px 14px;
    }

    .ap-configurator--triad .ap-configurator__summary .js-config-price {
        font-size: 24px;
    }

    .ap-configurator--triad .ap-configurator__panel-title {
        display: block;
    }

    .ap-configurator--triad .ap-configurator__col--left,
    .ap-configurator--triad .ap-configurator__col--right {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
        padding: 16px;
        border: 1px solid var(--autopro-border);
        border-radius: 14px;
        background: var(--autopro-bg-alt);
        background-image: none;
        box-shadow: none;
    }

    .ap-configurator--triad .ap-options--compact.ap-options--swatch.ap-options--scrollable .ap-options__scroll,
    .ap-configurator--triad .ap-options--compact.ap-options--list .ap-options__scroll {
        max-height: none;
    }

    .ap-configurator:not(.ap-configurator--triad) .ap-configurator__col--center {
        order: -1;
    }

    .ap-configurator:not(.ap-configurator--triad) .ap-configurator__col--center .ap-configurator__visual,
    .ap-configurator:not(.ap-configurator--triad) .ap-configurator__col--center .ap-configurator__summary {
        max-width: none;
    }

    .ap-configurator:not(.ap-configurator--triad) .ap-configurator__col--left,
    .ap-configurator:not(.ap-configurator--triad) .ap-configurator__col--right {
        max-height: none;
        overflow: visible;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scrollbar-color: #9ca3af var(--autopro-bg-alt);
    }

    .ap-options--compact.ap-options--list .ap-options__scroll,
    .ap-options--compact.ap-options--color .ap-options__scroll {
        max-height: none;
    }

    .ap-configurator__media {
        display: contents;
    }

    .ap-configurator__visual {
        grid-area: visual;
    }

    .ap-configurator__panel {
        grid-area: panel;
    }

    .ap-configurator__reviews {
        grid-area: reviews;
    }

    .ap-configurator__gallery {
        height: min(420px, 62vw);
    }

    .ap-sidebar,
    .ap-summary,
    .ap-order-summary {
        position: static;
    }

    .ap-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ap-contacts {
        padding-bottom: 40px;
    }

    .ap-configurator {
        padding: 16px 12px 20px;
    }

    .ap-configurator--triad .ap-configurator__workspace {
        gap: 12px;
    }

    .ap-configurator--triad .ap-configurator__visual,
    .ap-configurator--triad .ap-preview-layers {
        border-radius: 12px;
    }

    .ap-configurator--triad .ap-configurator__col--left,
    .ap-configurator--triad .ap-configurator__col--right {
        padding: 14px;
        border-radius: 12px;
    }

    .ap-configurator--triad .ap-configurator__panel-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .ap-configurator--triad .ap-configurator__summary {
        padding-top: 8px;
    }

    .ap-configurator--triad .ap-configurator__summary .js-config-price {
        font-size: 22px;
    }

    .ap-configurator--triad .ap-btn--block {
        min-height: 44px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .ap-configurator--triad .ap-options--compact[data-group-code="doubleHorizontStrochka"] .ap-options__grid,
    .ap-configurator--triad .ap-options--compact[data-group-code="doubleOtsrochka"] .ap-options__grid {
        grid-template-columns: 1fr;
    }

    .ap-contacts__map-link {
        top: 8px;
        right: 8px;
        padding: 6px 10px;
        font-size: 12px;
        white-space: normal;
        max-width: calc(100% - 16px);
        text-align: right;
    }

    .ap-catalog__toolbar,
    .ap-catalog__top,
    .ap-configurator__summary,
    .ap-product-specs__grid {
        grid-template-columns: 1fr;
    }

    .ap-configurator__summary,
    .ap-checkout__actions,
    .ap-cart-item {
        align-items: stretch;
        flex-direction: column;
    }

    .ap-options__grid {
        grid-template-columns: 1fr;
    }

    .ap-configurator__visual,
    .ap-configurator__panel,
    .ap-configurator__reviews {
        padding: 16px;
    }

    .ap-input--small,
    .ap-input--select {
        max-width: none;
    }

    .ap-steps {
        flex-direction: column;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

.autopro-body {
    margin: 0;
    padding: 0;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--autopro-text);
    background: var(--autopro-bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.autopro-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.autopro-main {
    flex: 1;
}

.autopro-container {
    max-width: var(--autopro-container);
    margin: 0 auto;
    padding: 0 20px;
}

.autopro-page-title {
    color: var(--autopro-text);
    font-size: 30px;
    font-weight: 800;
    margin: 32px 0 24px;
}

/* Header */
.autopro-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--autopro-bg-alt);
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid var(--autopro-border);
}

.autopro-header__topbar {
    background: var(--autopro-accent);
    color: #fff;
    text-align: center;
    font-size: 13px;
    padding: 8px 16px;
    line-height: 1.4;
}

.autopro-geo__banner {
    background: #eef2ff;
    border-bottom: 1px solid var(--autopro-border);
    color: var(--autopro-text);
}

.autopro-geo__banner.is-hidden {
    display: none;
}

.autopro-geo__banner-inner {
    max-width: var(--autopro-container);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.autopro-geo__banner-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.autopro-geo__banner-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.autopro-geo__banner-btn {
    padding: 6px 14px;
    font-size: 13px;
}

.autopro-header__geo {
    position: relative;
    flex-shrink: 0;
}

.autopro-geo__toggle {
    padding: 6px 12px;
    font-size: 13px;
    max-width: 190px;
    gap: 6px;
    text-decoration: none;
}

.autopro-geo__toggle:hover,
.autopro-geo__toggle:focus,
.autopro-geo__toggle:active,
.autopro-geo__toggle:visited {
    text-decoration: none;
}

.autopro-geo__city {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

.autopro-geo__chevron {
    flex-shrink: 0;
    opacity: 0.7;
}

.autopro-geo__picker {
    position: relative;
}

.autopro-geo__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 220;
    width: min(300px, calc(100vw - 32px));
    padding: 12px;
    background: var(--autopro-bg-card);
    border: 1px solid var(--autopro-border-light);
    border-radius: var(--autopro-radius-sm);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.autopro-geo__picker.is-open .autopro-geo__dropdown {
    display: block;
}

.autopro-geo__dropdown-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--autopro-text);
}

.autopro-geo__dropdown-confirm {
    width: 100%;
    margin-top: 10px;
}

.autopro-geo__city-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: min(320px, 52vh);
    overflow: auto;
    margin: 0 -4px;
    padding: 0 4px;
}

.autopro-geo__city-list--banner {
    max-height: 240px;
}

.autopro-geo__city-group-title {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px 8px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--autopro-text-muted);
    background: var(--autopro-bg-card);
}

.autopro-geo__city-group-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.autopro-geo__city-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    border: none;
    border-radius: var(--autopro-radius-sm);
    background: transparent;
    color: var(--autopro-text);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.autopro-geo__city-item:hover {
    background: rgba(15, 23, 42, 0.04);
    color: var(--autopro-text);
}

.autopro-geo__city-item.is-active {
    background: rgba(232, 93, 44, 0.28);
    color: var(--autopro-text);
    font-weight: 600;
}

.autopro-geo__banner-picker {
    flex: 0 1 auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding-top: 4px;
}

.autopro-geo__banner-picker.is-hidden {
    display: none;
}

.autopro-geo__banner-picker .autopro-geo__city-list {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius-sm);
    padding: 8px;
}

.autopro-geo-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.autopro-geo-modal.is-open {
    display: flex;
}

.autopro-geo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.autopro-geo-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: min(80vh, 640px);
    display: flex;
    flex-direction: column;
    padding: 24px 20px 20px;
    border: 1px solid var(--autopro-border-light);
    border-radius: var(--autopro-radius);
    background: var(--autopro-bg-card);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.autopro-geo-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--autopro-radius-sm);
    background: transparent;
    color: var(--autopro-text-muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.autopro-geo-modal__close:hover {
    background: rgba(15, 23, 42, 0.04);
    color: var(--autopro-text);
}

.autopro-geo-modal__title {
    margin: 0 36px 8px 0;
    color: var(--autopro-text);
    font-size: 20px;
    font-weight: 700;
}

.autopro-geo-modal__hint {
    margin: 0 0 16px;
    color: var(--autopro-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.autopro-geo__city-list--modal {
    max-height: min(52vh, 420px);
    margin: 0;
    padding: 0 4px;
}

body.autopro-geo-modal-open {
    overflow: hidden;
}

.autopro-header__main {
    max-width: var(--autopro-container);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 70px;
}

.autopro-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.autopro-logo__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--autopro-radius-sm);
    background: linear-gradient(135deg, var(--autopro-accent), var(--autopro-accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.autopro-logo__title {
    display: block;
    color: var(--autopro-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.autopro-logo__accent { color: var(--autopro-accent); }

.autopro-logo__subtitle {
    display: block;
    color: var(--autopro-text-muted);
    font-size: 11px;
}

.autopro-header__catalog { position: relative; flex-shrink: 0; }

.autopro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--autopro-radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    color: var(--autopro-text);
    background: var(--autopro-border);
    white-space: nowrap;
}

.autopro-btn--catalog.is-open,
.autopro-btn--catalog:hover {
    background: var(--autopro-accent);
    color: #fff;
}

.autopro-btn--primary {
    background: var(--autopro-accent);
    color: #fff;
}

.autopro-btn--primary:hover { background: var(--autopro-accent-dark); color: #fff; }

.autopro-btn--outline {
    background: transparent;
    border: 1px solid var(--autopro-border);
    color: var(--autopro-text);
}

.autopro-btn--ghost {
    background: transparent;
    border: 1px solid var(--autopro-border);
    color: var(--autopro-text);
}

.autopro-btn--ghost:hover {
    border-color: var(--autopro-accent);
    color: var(--autopro-accent);
}

.autopro-btn--cart {
    position: relative;
    flex-shrink: 0;
}

.autopro-header__cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--autopro-accent);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid var(--autopro-bg-alt);
}

.autopro-header__cart-badge.is-hidden { display: none; }

.autopro-header__catalog-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 200;
    background: var(--autopro-bg-card);
    border: 1px solid var(--autopro-border-light);
    border-radius: var(--autopro-radius);
    padding: 12px;
    width: 640px;
    max-width: calc(100vw - 40px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.autopro-header__catalog.is-open .autopro-header__catalog-menu { display: block; }

.autopro-header__mobile-catalog {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--autopro-border-light);
}

.autopro-header__search { flex: 1; min-width: 0; }

.autopro-header__nav { flex-shrink: 0; }

.autopro-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.autopro-header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
}

.autopro-header__mobile {
    display: none;
    background: var(--autopro-bg-card);
    border-top: 1px solid var(--autopro-border-light);
    padding: 16px;
}

.autopro-header__mobile.is-open { display: block; }

/* Menu */
.autopro-menu {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.autopro-menu--mobile { flex-direction: column; gap: 4px; }

.autopro-menu__link {
    display: block;
    padding: 8px 14px;
    border-radius: var(--autopro-radius-sm);
    color: var(--autopro-text-soft);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s, background 0.15s;
}

.autopro-menu__link:hover,
.autopro-menu__link.is-active {
    color: var(--autopro-text);
    background: var(--autopro-border);
}

.autopro-menu--footer,
.autopro-menu--footer .autopro-menu__link {
    flex-direction: column;
    align-items: flex-start;
    background: none;
    padding: 0;
}

.autopro-menu--footer .autopro-menu__link {
    color: var(--autopro-text-muted);
    padding: 0;
}

.autopro-menu--footer .autopro-menu__link:hover {
    color: var(--autopro-accent);
    background: none;
}

/* Search */
.autopro-search { position: relative; width: 100%; }

.autopro-search__input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    background: var(--autopro-border);
    border: 1px solid var(--autopro-border-light);
    border-radius: var(--autopro-radius-sm);
    color: var(--autopro-text);
    font-size: 14px;
    outline: none;
}

.autopro-search__input:focus { border-color: var(--autopro-accent); }

.autopro-search__btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--autopro-text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Section list grids */
.autopro-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.autopro-cat-grid--header {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.autopro-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    border-radius: var(--autopro-radius);
    border: 1px solid var(--autopro-border);
    background: var(--autopro-bg-card);
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    color: var(--autopro-text);
}

.autopro-cat-card:hover {
    border-color: var(--autopro-accent);
    background: #fdecee;
    transform: translateY(-3px);
}

.autopro-cat-card__icon { font-size: 36px; }

.autopro-cat-card__name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.autopro-cat-card__count {
    font-size: 12px;
    color: var(--autopro-text-muted);
}

.autopro-cat-card--header {
    align-items: flex-start;
    text-align: left;
    padding: 10px 12px;
}

/* Hero slider */
.autopro-hero {
    position: relative;
    height: min(90vh, 760px);
    min-height: 500px;
    overflow: hidden;
    background: var(--autopro-bg);
}

.autopro-hero .swiper,
.autopro-hero .swiper-wrapper,
.autopro-hero .swiper-slide { height: 100%; }

.autopro-hero__slide {
    position: relative;
    height: 100%;
}

.autopro-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autopro-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.58) 45%, rgba(0,0,0,0.28) 100%);
}

.autopro-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    max-width: var(--autopro-container);
    margin: 0 auto;
    padding: 0 48px;
    color: #fff;
}

.autopro-hero__inner { max-width: 580px; }

.autopro-hero__badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 24px;
    background: var(--autopro-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.autopro-hero__title {
    color: #fff;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    white-space: pre-line;
    letter-spacing: -1px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.autopro-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 36px;
    max-width: 460px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.autopro-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.autopro-hero__nav {
    color: #fff !important;
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.28);
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.autopro-hero__nav::after { font-size: 18px !important; }

.autopro-hero__pagination { bottom: 28px !important; }

.autopro-hero__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: all 0.3s;
}

.autopro-hero__pagination .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 5px;
    background: var(--autopro-accent);
}

/* Advantages */
.autopro-advantages {
    background: var(--autopro-bg-alt);
    border-bottom: 1px solid var(--autopro-border);
    padding: 24px 0;
}

.autopro-advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.autopro-advantage {
    display: flex;
    align-items: center;
    gap: 16px;
}

.autopro-advantage__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--autopro-radius);
    background: var(--autopro-bg-card);
    border: 1px solid var(--autopro-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.autopro-advantage__title {
    color: var(--autopro-text);
    font-size: 14px;
    font-weight: 600;
}

.autopro-advantage__desc {
    color: var(--autopro-text-muted);
    font-size: 13px;
    margin-top: 2px;
}

/* Sections */
.autopro-section {
    padding: 60px 0;
}

.autopro-section--alt { background: var(--autopro-bg-alt); }

.autopro-section__head { margin-bottom: 36px; }

.autopro-section__title {
    color: var(--autopro-text);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
}

.autopro-section__subtitle {
    color: var(--autopro-text-muted);
    font-size: 15px;
    margin: 0;
}

.autopro-section__footer {
    text-align: center;
    margin-top: 32px;
}

/* Promos */
.autopro-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.autopro-promo {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.autopro-promo:hover,
.autopro-promo:focus,
.autopro-promo:visited,
.autopro-promo:active {
    color: inherit;
    text-decoration: none;
}

.autopro-promo:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(230, 57, 70, 0.19);
}

.autopro-promo__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autopro-promo__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,42,58,0.94) 0%, rgba(26,42,58,0.6) 100%);
}

.autopro-promo--green .autopro-promo__overlay {
    background: linear-gradient(135deg, rgba(26,42,26,0.94) 0%, rgba(26,42,26,0.6) 100%);
}

.autopro-promo--red .autopro-promo__overlay {
    background: linear-gradient(135deg, rgba(42,26,26,0.94) 0%, rgba(42,26,26,0.6) 100%);
}

.autopro-promo__content {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.autopro-promo__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.autopro-promo__badge--blue { background: #3b82f6; }
.autopro-promo__badge--green { background: var(--autopro-success); }
.autopro-promo__badge--red { background: var(--autopro-accent); }

.autopro-promo__title {
    color: var(--autopro-text);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.2;
    text-decoration: none;
}

.autopro-promo__desc {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0 0 20px;
    line-height: 1.5;
    text-decoration: none;
}

/* CTA */
.autopro-cta {
    position: relative;
    background-size: cover;
    background-position: center;
}

.autopro-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.82);
}

.autopro-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 20px;
    color: #fff;
}

.autopro-cta__title {
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    margin: 0 0 16px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.autopro-cta__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0 auto 36px;
    max-width: 480px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.autopro-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Product grid & cards */
.autopro-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.autopro-products--catalog {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.autopro-product {
    background: var(--autopro-bg-card);
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.2s;
}

.autopro-product:hover {
    border-color: var(--autopro-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.2);
}

.autopro-product__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.autopro-product__badge--hit { background: var(--autopro-warning); }
.autopro-product__badge--new { background: #3b82f6; }
.autopro-product__badge--sale { background: var(--autopro-accent); }

.autopro-product__image-wrap {
    height: 200px;
    overflow: hidden;
    background: var(--autopro-bg-alt);
    display: block;
}

.autopro-product__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.autopro-product:hover .autopro-product__image { transform: scale(1.05); }

.autopro-product__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.autopro-product__brand {
    font-size: 12px;
    color: var(--autopro-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.autopro-product__name {
    color: var(--autopro-text);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    text-decoration: none;
}

.autopro-product__name:hover { color: var(--autopro-accent); }

.autopro-product__price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.autopro-product__price {
    color: var(--autopro-text);
    font-size: 20px;
    font-weight: 700;
}

.autopro-product__old-price {
    color: #666;
    font-size: 14px;
    text-decoration: line-through;
}

.autopro-product__discount {
    color: var(--autopro-success);
    font-size: 13px;
    font-weight: 600;
}

.autopro-product__cart-btn {
    width: 100%;
    margin-top: 4px;
}

.autopro-product__cart-btn.is-added { background: var(--autopro-success) !important; }

/* Catalog layout */
.autopro-catalog {
    padding: 24px 0 60px;
}

.autopro-catalog__breadcrumb {
    background: var(--autopro-bg-alt);
    border-bottom: 1px solid var(--autopro-border);
    padding: 14px 0;
    color: var(--autopro-text-muted);
    font-size: 13px;
}

.autopro-catalog__layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.autopro-catalog__sidebar {
    width: 260px;
    flex-shrink: 0;
}

.autopro-catalog__content { flex: 1; min-width: 0; }

.autopro-catalog__toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.autopro-catalog__title {
    color: var(--autopro-text);
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    flex: 1;
}

.autopro-filter-block {
    margin-bottom: 24px;
}

.autopro-filter-block__title {
    color: var(--autopro-text);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.autopro-input,
.autopro-select {
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--autopro-radius-sm);
    border: 1px solid var(--autopro-border-light);
    background: var(--autopro-bg-card);
    color: var(--autopro-text);
    font-size: 14px;
    outline: none;
}

.autopro-input:focus,
.autopro-select:focus { border-color: var(--autopro-accent); }

.autopro-filter-row {
    display: flex;
    gap: 8px;
}

.autopro-filter-toggle {
    display: none;
}

.autopro-filter-overlay {
    display: none;
}

/* Cart & order */
.autopro-cart-empty,
.autopro-order-success {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.autopro-cart-empty__icon { font-size: 72px; color: var(--autopro-border-light); margin-bottom: 24px; }

.autopro-cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
    padding-bottom: 60px;
}

.autopro-cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--autopro-bg-card);
    border-radius: var(--autopro-radius);
    border: 1px solid var(--autopro-border);
    align-items: center;
    flex-wrap: wrap;
}

.autopro-cart-item + .autopro-cart-item { margin-top: 16px; }

.autopro-cart-item__image {
    width: 100px;
    height: 80px;
    border-radius: var(--autopro-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--autopro-bg-alt);
}

.autopro-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autopro-cart-item__info { flex: 1; min-width: 200px; }

.autopro-cart-item__brand {
    color: var(--autopro-accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.autopro-cart-item__name {
    color: var(--autopro-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.autopro-qty {
    display: flex;
    border: 1px solid var(--autopro-border-light);
    border-radius: var(--autopro-radius-sm);
    overflow: hidden;
}

.autopro-qty__btn {
    width: 36px;
    height: 36px;
    background: var(--autopro-border);
    border: none;
    color: var(--autopro-text);
    cursor: pointer;
}

.autopro-qty__btn:hover { background: var(--autopro-border-light); }

.autopro-qty__value {
    width: 44px;
    text-align: center;
    line-height: 36px;
    color: var(--autopro-text);
    font-weight: 700;
    background: var(--autopro-bg-card);
}

.autopro-summary {
    background: var(--autopro-bg-card);
    border-radius: 16px;
    border: 1px solid var(--autopro-border);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.autopro-summary__title {
    color: var(--autopro-text);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
}

.autopro-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: var(--autopro-text-muted);
    font-size: 14px;
}

.autopro-summary__row strong { color: var(--autopro-text); }

.autopro-summary__total {
    border-top: 1px solid var(--autopro-border);
    padding-top: 16px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.autopro-summary__total-value {
    color: var(--autopro-text);
    font-size: 26px;
    font-weight: 800;
}

.autopro-delivery-bar {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 10px;
    background: var(--autopro-bg-alt);
    border: 1px solid var(--autopro-border);
}

.autopro-delivery-bar__track {
    height: 6px;
    background: var(--autopro-border-light);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.autopro-delivery-bar__fill {
    height: 100%;
    background: var(--autopro-warning);
    border-radius: 3px;
    transition: width 0.3s;
}

/* SDEK PVZ checkout */
.ap-sdek-pvz {
    margin-top: 4px;
    display: grid;
    gap: 12px;
}

.js-delivery-city {
    margin-top: 20px;
}

.ap-sdek-pvz__status {
    color: var(--ap-muted, #666);
    font-size: 14px;
}

.ap-sdek-pvz__list {
    display: grid;
    gap: 10px;
}

.ap-sdek-pvz__item {
    display: grid;
    gap: 4px;
    text-align: left;
    padding: 14px 16px;
    border: 1px solid var(--ap-border, #ddd);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.ap-sdek-pvz__item:hover,
.ap-sdek-pvz__item.is-selected {
    border-color: var(--ap-accent, #e85d04);
    box-shadow: 0 0 0 1px var(--ap-accent, #e85d04);
}

.ap-sdek-pvz__item strong {
    font-size: 15px;
}

.ap-sdek-pvz__item span {
    color: var(--ap-muted, #666);
    font-size: 13px;
}

    padding-bottom: 60px;
}

.autopro-steps {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    gap: 0;
}

.autopro-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.autopro-step:last-child { flex: 0; }

.autopro-step__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--autopro-border);
    border: 2px solid var(--autopro-border-light);
    color: var(--autopro-text);
    flex-shrink: 0;
}

.autopro-step.is-active .autopro-step__icon {
    background: var(--autopro-accent);
    border-color: var(--autopro-accent);
}

.autopro-step.is-done .autopro-step__icon {
    background: var(--autopro-success);
    border-color: var(--autopro-success);
}

.autopro-step__line {
    flex: 1;
    height: 2px;
    background: var(--autopro-border);
    margin: 0 12px;
}

.autopro-step.is-done + .autopro-step .autopro-step__line,
.autopro-step.is-done .autopro-step__line { background: var(--autopro-success); }

.autopro-form-card {
    background: var(--autopro-bg-card);
    border-radius: 16px;
    border: 1px solid var(--autopro-border);
    padding: 32px;
}

.autopro-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.autopro-form-field { margin-bottom: 0; }

.autopro-form-field--full { grid-column: 1 / -1; }

.autopro-form-field__label {
    display: block;
    color: var(--autopro-text-soft);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.autopro-form-field__error {
    color: var(--autopro-accent);
    font-size: 12px;
    margin-top: 4px;
}

.autopro-radio-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid var(--autopro-border-light);
    background: var(--autopro-bg-alt);
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.15s;
}

.autopro-radio-card.is-selected {
    border-color: var(--autopro-accent);
    background: #fdecee;
}

.autopro-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
}

/* Footer */
.autopro-footer {
    background: var(--autopro-bg);
    border-top: 1px solid var(--autopro-border);
    margin-top: auto;
}

.autopro-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 56px 20px 32px;
}

.autopro-footer__desc {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
    margin: 16px 0 20px;
}

.autopro-footer__social { display: flex; gap: 12px; }

.autopro-footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--autopro-radius-sm);
    background: var(--autopro-bg-card);
    border: 1px solid var(--autopro-border);
    color: var(--autopro-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.15s;
}

.autopro-footer__social-link:hover {
    background: var(--autopro-accent);
    color: #fff;
}

.autopro-footer__title {
    color: var(--autopro-text);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.autopro-footer__list,
.autopro-footer__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.autopro-footer__list a,
.autopro-footer__contacts a {
    color: var(--autopro-text-muted);
    text-decoration: none;
    font-size: 14px;
}

.autopro-footer__list a:hover { color: var(--autopro-accent); }

.autopro-footer__contacts li {
    color: var(--autopro-text);
    font-size: 14px;
}

.autopro-footer__contacts span {
    color: #666;
    font-size: 12px;
}

.autopro-footer__bottom {
    border-top: 1px solid var(--autopro-border);
    padding: 24px 0;
}

.autopro-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #6b7280;
    font-size: 13px;
}

.autopro-footer__legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.autopro-footer__legal a {
    color: #6b7280;
    text-decoration: none;
    font-size: 12px;
}

/* Pager */
.autopro-pager { margin-top: 32px; text-align: center; }
.autopro-pager .bx-pagination { color: var(--autopro-text-muted); }

/* Detail */
.autopro-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.autopro-detail__image {
    border-radius: var(--autopro-radius);
    overflow: hidden;
    background: var(--autopro-bg-card);
    border: 1px solid var(--autopro-border);
}

.autopro-detail__image img {
    width: 100%;
    display: block;
}

.autopro-detail__brand {
    color: var(--autopro-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.autopro-detail__title {
    color: var(--autopro-text);
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.2;
}

.autopro-detail__price {
    color: var(--autopro-text);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

.autopro-detail__props {
    margin: 24px 0;
    color: var(--autopro-text-soft);
}

.autopro-detail__props dt {
    color: var(--autopro-text-muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.autopro-detail__props dd {
    margin: 0 0 12px;
    color: var(--autopro-text);
}

/* Responsive */
@media (max-width: 1024px) {
    .autopro-header__nav { display: none; }
    .autopro-header__burger { display: flex; }
    .autopro-catalog__sidebar { display: none; }
    .autopro-filter-toggle { display: inline-flex; }
    .autopro-cart-layout,
    .autopro-detail,
    .autopro-footer__grid {
        grid-template-columns: 1fr;
    }
    .autopro-summary { position: static; }
    .autopro-cat-grid--header { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .autopro-header__catalog,
    .autopro-header__cart-label,
    .autopro-header__configurator { display: none; }

    .autopro-header__main {
        flex-wrap: wrap;
        align-items: center;
        height: auto;
        min-height: 56px;
        padding: 10px 12px;
        gap: 8px 10px;
    }

    .autopro-logo {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }

    .autopro-logo__title {
        font-size: 16px;
    }

    .autopro-logo__subtitle {
        display: none;
    }

    .autopro-header__geo {
        order: 2;
        flex-shrink: 0;
        max-width: calc(100% - 170px);
    }

    .autopro-geo__toggle {
        width: auto;
        max-width: 132px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .autopro-geo__city {
        max-width: 72px;
    }

    .autopro-geo__chevron {
        display: none;
    }

    .autopro-geo__dropdown {
        left: auto;
        right: 0;
        width: min(300px, calc(100vw - 24px));
    }

    .autopro-geo__banner-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 12px;
    }

    .autopro-geo__banner-actions,
    .autopro-geo__banner-picker {
        width: 100%;
    }

    .autopro-geo__banner-actions {
        justify-content: stretch;
    }

    .autopro-geo__banner-btn {
        flex: 1;
    }

    .autopro-btn--cart {
        order: 3;
        flex-shrink: 0;
        padding: 8px 10px;
    }

    .autopro-header__burger {
        order: 4;
        flex-shrink: 0;
    }

    .autopro-header__search {
        order: 4;
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }

    .autopro-search__input {
        padding: 9px 40px 9px 12px;
        font-size: 13px;
    }

    .autopro-header__configurator-mobile {
        display: flex;
        width: 100%;
        margin-bottom: 12px;
        justify-content: center;
    }

    .autopro-hero__content { padding: 0 20px; }
    .autopro-form-grid { grid-template-columns: 1fr; }
    .autopro-steps { flex-direction: column; align-items: flex-start; gap: 12px; }
    .autopro-step__line { display: none; }
}

@media (max-width: 960px) {
    .autopro-header__catalog-menu {
        width: min(360px, calc(100vw - 32px));
        padding: 10px;
    }
}

@media (max-width: 1024px) {
    .autopro-filter-overlay.is-open {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 200;
    }

    .autopro-filter-overlay__backdrop {
        flex: 1;
        background: rgba(0,0,0,0.7);
    }

    .autopro-filter-overlay__panel {
        width: 300px;
        background: var(--autopro-bg-alt);
        overflow-y: auto;
        padding: 20px 16px;
        border-left: 1px solid var(--autopro-border);
    }
}

/* JSON cover catalog + layer preview */
.autopro-covers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.autopro-covers-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--autopro-border), #f0f1f4);
    border: 1px solid var(--autopro-border-light);
    color: var(--autopro-text);
    text-decoration: none;
    min-height: 130px;
    transition: transform .2s, border-color .2s;
}

.autopro-covers-card:hover {
    transform: translateY(-2px);
    border-color: var(--autopro-accent);
}

.autopro-covers-card__title {
    font-size: 20px;
    font-weight: 700;
}

.autopro-covers-card__meta {
    color: var(--autopro-text-muted);
    font-size: 13px;
}

.autopro-covers-card__arrow {
    margin-top: auto;
    color: var(--autopro-accent);
    font-size: 20px;
}

.autopro-covers-card--brand {
    align-items: center;
    text-align: center;
    min-height: 108px;
    padding: 12px 10px 10px;
    gap: 6px;
}

.autopro-covers-grid--brands {
    grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
    gap: 12px;
}

.autopro-covers-grid--brands .autopro-covers-card--brand {
    min-height: 128px;
    padding: 14px 10px 12px;
    gap: 0;
    justify-content: space-between;
}

.autopro-covers-grid--brands .autopro-covers-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 52px;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    flex: 0 0 auto;
}

.autopro-covers-grid--brands .autopro-covers-card__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 76px;
    max-height: 44px;
    object-fit: contain;
}

.autopro-covers-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 38px;
    min-height: 0;
    margin: 0 auto 2px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
}

.autopro-covers-card__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 48px;
    max-height: 26px;
    object-fit: contain;
}

.autopro-covers-card--brand .autopro-covers-card__title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.autopro-covers-grid--brands .autopro-covers-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    margin-top: auto;
    padding-top: 6px;
    width: 100%;
}

.autopro-covers-card--brand .autopro-covers-card__arrow {
    display: none;
}

.autopro-covers-grid--vehicles {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.autopro-covers-card--vehicle {
    align-items: center;
    text-align: center;
    min-height: 0;
    padding: 12px 10px 14px;
    gap: 8px;
}

.autopro-covers-card--vehicle.ap-card--link {
    text-decoration: none;
    color: inherit;
}

.autopro-covers-card__vehicle,
.ap-card--vehicle .ap-card__image--vehicle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 120px;
    margin: 0;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

.autopro-covers-card__vehicle img,
.ap-card--vehicle .ap-card__image--vehicle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.autopro-covers-card--vehicle .autopro-covers-card__title,
.autopro-covers-card--vehicle .ap-card__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    width: 100%;
}

.autopro-covers-card--vehicle .ap-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.autopro-covers-card--vehicle .ap-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ap-card--preset.ap-card--vehicle .ap-card__preview.ap-card__image--vehicle {
    position: relative;
    min-height: 150px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.ap-card--preset.ap-card--vehicle .ap-card__preview.ap-card__image--vehicle img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.autopro-covers-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.ap-manufacturers-home .autopro-section__footer {
    margin-top: 28px;
    text-align: center;
}

@media (max-width: 768px) {
    .autopro-covers-grid--home {
        grid-template-columns: 1fr;
    }

    .autopro-covers-card--home {
        min-height: 112px;
        padding: 20px;
    }
}

.autopro-header__configurator {
    white-space: nowrap;
}

.autopro-header__configurator-mobile {
    display: none;
}

.ap-configurator--triad .ap-preview-layers {
    max-width: 100%;
}

.ap-preview-layers {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}

.ap-preview-layers img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.ap-card--preset {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius);
    background: var(--autopro-bg-card);
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}

.ap-card--preset:hover {
    border-color: var(--autopro-accent);
    transform: translateY(-2px);
}

.ap-card--preset .ap-card__preview {
    aspect-ratio: 4 / 3;
    background: var(--autopro-bg-alt);
    padding: 12px;
}

.ap-card--preset .ap-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ap-grid--presets {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.autopro-search__suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 120;
    background: var(--autopro-bg-card);
    border: 1px solid var(--autopro-border-light);
    border-radius: var(--autopro-radius-sm);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
    max-height: 360px;
    overflow: auto;
}

.autopro-search__suggest-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    color: var(--autopro-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.autopro-search__suggest-item:last-child {
    border-bottom: 0;
}

.autopro-search__suggest-item:hover {
    background: rgba(255, 255, 255, .05);
}

.autopro-search__suggest-name {
    font-size: 14px;
    line-height: 1.35;
}

.autopro-search__suggest-meta {
    font-size: 12px;
    color: var(--autopro-text-muted);
}

.ap-search-page__form {
    margin-bottom: 24px;
}

.autopro-search--page .autopro-search__btn {
    width: auto;
    padding: 0 16px;
    font-size: 14px;
    color: var(--autopro-text);
}

.ap-search-page__summary {
    margin-bottom: 20px;
}

.ap-search-page__group + .ap-search-page__group {
    margin-top: 28px;
}

.ap-search-page__title {
    margin: 0 0 12px;
    font-size: 20px;
}

.ap-search-page__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-search-page__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius-sm);
    background: var(--autopro-bg-card);
    color: inherit;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}

.ap-search-page__item:hover {
    border-color: var(--autopro-accent);
    transform: translateY(-1px);
}

.ap-search-page__item-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--autopro-bg-alt);
}

.ap-search-page__item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-search-page__item-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.ap-search-page__item-name {
    font-size: 15px;
    font-weight: 600;
}

.ap-search-page__item-meta {
    font-size: 13px;
    color: var(--autopro-text-muted);
}

.ap-search-page__item-action {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--autopro-accent);
}

/* End */
/* /local/components/autopro/catalog.menu/templates/.default/style.css?17825001532961 */
/* /local/templates/autopro/styles.css?178155931687 */
/* /local/templates/autopro/template_styles.css?178290883393802 */


.autopro-header__topbar-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Cookie consent */
.autopro-cookie {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 350;
    padding: 16px;
    pointer-events: none;
    transform: translateY(110%);
    transition: transform 0.35s ease;
}

.autopro-cookie.is-visible {
    pointer-events: auto;
    transform: translateY(0);
}

.autopro-cookie__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    min-height: 88px;
    padding: 22px 28px;
    border: 1px solid var(--autopro-border);
    border-radius: var(--autopro-radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 24px rgba(26, 29, 36, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(12px);
}

.autopro-cookie__content {
    flex: 1 1 0;
    min-width: min(100%, 420px);
}

.autopro-cookie__text {
    margin: 0;
    color: var(--autopro-text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.autopro-cookie__link {
    color: var(--autopro-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.autopro-cookie__link:hover {
    color: var(--autopro-accent-dark);
}

.autopro-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 10px;
}

.autopro-cookie__btn {
    min-width: 132px;
    padding: 11px 24px;
    font-size: 14px;
}

.autopro-cookie .autopro-btn--ghost {
    border-color: var(--autopro-border-light);
    color: var(--autopro-text);
    background: var(--autopro-bg);
}

.autopro-cookie .autopro-btn--ghost:hover {
    border-color: var(--autopro-accent);
    color: var(--autopro-accent);
    background: #fff;
}

.autopro-cookie .autopro-btn--primary {
    background: var(--autopro-accent);
    color: #fff;
}

.autopro-cookie .autopro-btn--primary:hover {
    background: var(--autopro-accent-dark);
    color: #fff;
}

@media (max-width: 767px) {
    .autopro-cookie {
        padding: 8px;
    }

    .autopro-cookie__inner {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 10px;
        padding: 12px 14px;
        border-radius: var(--autopro-radius-sm);
    }

    .autopro-cookie__content {
        flex: 0 0 auto;
        min-width: 0;
    }

    .autopro-cookie__text {
        font-size: 12px;
        line-height: 1.45;
    }

    .autopro-cookie__actions {
        width: 100%;
        gap: 8px;
    }

    .autopro-cookie__btn {
        flex: 1 1 calc(50% - 4px);
        width: auto;
        min-width: 0;
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .autopro-cookie {
        transition: none;
    }
}
