.site-shell-v2 {
    --shell-orange: #ff6b0a;
    --shell-orange-dark: #e95a00;
    --shell-ink: #202428;
    --shell-muted: #75808d;
    --shell-line: #e4e8ed;
    --shell-soft: #f5f6f8;
    padding-top: 0 !important;
}

.site-shell-v2 .site-header-v2 {
    position: sticky !important;
    display: block !important;
    inset: 0 0 auto !important;
    z-index: 1000;
    width: 100%;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--shell-line);
    box-shadow: 0 4px 18px rgba(25, 31, 36, 0.06);
    backdrop-filter: blur(16px);
}

.site-shell-v2 .site-header-v2 .site-header-v2__main {
    width: 100%;
    max-width: 1360px !important;
    min-height: 72px;
    display: grid !important;
    grid-template-columns: minmax(190px, 245px) auto minmax(280px, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    padding-block: 9px;
}

.site-shell-v2 .site-header-v2 .site-header-v2__main::before,
.site-shell-v2 .site-header-v2 .site-header-v2__main::after {
    display: none !important;
    content: none !important;
}

.site-header-v2__logo img {
    display: block;
    width: min(100%, 235px);
    height: 52px;
    object-fit: contain;
    object-position: left center;
}

.site-header-v2__catalog {
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: var(--shell-orange);
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.site-header-v2__catalog:hover,
.site-header-v2__catalog:focus-visible {
    color: #fff;
    background: var(--shell-orange-dark);
    text-decoration: none;
}

.site-header-v2__search {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.site-header-v2__search input {
    height: 44px !important;
    padding-inline: 16px 52px !important;
    border: 1px solid var(--shell-line) !important;
    border-radius: 8px !important;
    background: #f8f9fa !important;
}

.site-header-v2__search .search-button {
    width: 44px !important;
    height: 44px !important;
    border-radius: 0 8px 8px 0 !important;
    background: var(--shell-ink) !important;
}

.site-header-v2__phone {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    color: var(--shell-ink) !important;
    text-decoration: none;
    white-space: nowrap;
}

.site-header-v2__phone > i { color: var(--shell-orange); }
.site-header-v2__phone span { display: grid; }
.site-header-v2__phone strong { font-size: 14px; }
.site-header-v2__phone small { color: var(--shell-muted); font-size: 10px; }

.site-header-v2__actions {
    display: flex !important;
    align-items: stretch;
    gap: 6px;
    margin: 0 !important;
}

.site-header-v2__action {
    position: relative;
    min-width: 62px;
    min-height: 48px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--shell-ink) !important;
    border-radius: 8px;
    text-decoration: none;
}

.site-header-v2__action i { font-size: 19px; }
.site-header-v2__action span { font-size: 10px; }
.site-header-v2__action:hover { background: var(--shell-soft); text-decoration: none; }

.site-header-v2__action .cart-badge {
    position: absolute;
    top: 0;
    right: 7px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--shell-orange);
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 9px;
}

.site-header-v2__menu-button { display: none !important; }

.site-shell-v2 .site-nav-v2 {
    position: static !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: #fff !important;
    border-top: 1px solid #f0f2f4;
    box-shadow: none !important;
}

.site-shell-v2 .site-header-v2 .site-nav-v2__inner {
    width: 100%;
    max-width: 1360px !important;
    min-height: 38px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 14px;
    overflow: visible;
}

.site-shell-v2 .site-nav-v2 .nav-link {
    width: auto !important;
    padding: 10px 0 !important;
    color: #3f4851 !important;
    border: 0 !important;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap !important;
    flex: 0 0 auto;
    overflow: visible;
    text-overflow: clip;
}

.site-shell-v2 .site-nav-v2 .nav-link:hover,
.site-shell-v2 .site-nav-v2 .site-nav-v2__accent {
    color: var(--shell-orange) !important;
}

.site-nav-v2__mobile-only { display: none; }

.site-shell-v2 .body-content { width: 100%; }

.site-footer-v2 {
    margin-top: 56px;
    padding: 42px 0 0;
    color: #d9dee2;
    background: #171c1f !important;
}

.site-footer-v2__grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr) 1.25fr;
    gap: 36px;
    padding-bottom: 34px;
}

.site-footer-v2__brand img {
    width: 230px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.site-footer-v2__brand p {
    max-width: 270px;
    margin: 18px 0 0;
    color: #aeb6bd;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer-v2 h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.site-footer-v2 .footer-column,
.site-footer-v2__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.site-footer-v2 a,
.site-footer-v2__contacts span {
    color: #b9c0c6;
    font-size: 12px;
    line-height: 1.45;
    text-decoration: none;
}

.site-footer-v2 a:hover { color: var(--shell-orange); text-decoration: none; }
.site-footer-v2__contacts i { width: 17px; color: var(--shell-orange); }

.site-footer-v2__bottom {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8f999f;
    font-size: 11px;
}

@media (max-width: 1180px) {
    .site-header-v2__main { grid-template-columns: 190px auto minmax(220px, 1fr) auto; }
    .site-header-v2__phone { display: none !important; }
    .site-nav-v2__inner { gap: 14px; }
    .site-shell-v2 .site-nav-v2 .nav-link { font-size: 11px; }
    .site-footer-v2__grid { grid-template-columns: 1.25fr repeat(2, 1fr); }
    .site-footer-v2__contacts { grid-column: span 2; }
}

@media (max-width: 768px) {
    .site-shell-v2 .site-header-v2 .site-header-v2__main {
        grid-template-columns: 44px minmax(120px, 1fr) auto;
        grid-template-areas:
            "menu logo actions"
            "search search search";
        gap: 8px;
        padding: 8px 12px 10px;
    }

    .site-header-v2__menu-button {
        grid-area: menu;
        display: grid !important;
        place-items: center;
        width: 44px;
        height: 44px;
        color: var(--shell-ink) !important;
        border: 1px solid var(--shell-line) !important;
        border-radius: 8px;
    }

    .site-header-v2__logo { grid-area: logo; margin: 0 !important; }
    .site-header-v2__logo img { width: 180px; height: 44px; }
    .site-header-v2__catalog { display: none; }
    .site-header-v2__actions { grid-area: actions; gap: 0 !important; }
    .site-header-v2__action { min-width: 44px; width: 44px; min-height: 44px; }
    .site-header-v2__action span { display: none; }
    .site-header-v2__action:nth-child(1) { display: none !important; }
    .site-shell-v2 .site-header-v2 .site-header-v2__search {
        grid-area: search;
        grid-column: 1 / -1;
        display: block !important;
    }

    .site-shell-v2 .site-nav-v2 {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        max-height: calc(100vh - 116px);
        overflow-y: auto;
        border-top: 1px solid var(--shell-line);
    }

    .site-shell-v2 .site-header-v2 .site-nav-v2.active { display: block !important; }
    .site-shell-v2 .site-header-v2 .site-nav-v2__inner { display: grid !important; gap: 0; padding: 10px 16px 18px; }
    .site-shell-v2 .site-nav-v2 .nav-link { padding: 12px 4px !important; border-bottom: 1px solid var(--shell-line) !important; }
    .site-nav-v2__mobile-only { display: block; }
    .site-nav-v2__mobile-only button { padding: 12px 4px; color: var(--shell-ink); background: none; border: 0; font-weight: 700; }

    .site-footer-v2 { margin-top: 38px; padding-top: 32px; }
    .site-footer-v2__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .site-footer-v2__brand,
    .site-footer-v2__contacts { grid-column: 1 / -1; }
    .site-footer-v2__bottom { flex-wrap: wrap; gap: 10px 20px; padding-block: 15px; }
}

@media (max-width: 390px) {
    .site-header-v2__logo img { width: 145px; }
    .site-header-v2__action:nth-child(2) { display: none !important; }
    .site-footer-v2__grid { grid-template-columns: 1fr; }
    .site-footer-v2__brand,
    .site-footer-v2__contacts { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .site-shell-v2 *,
    .site-shell-v2 *::before,
    .site-shell-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
