/* Palette / type inherit the current s2 theme. */
.drev8-nav {
    --drev8-nav-text: #20211f;
    --drev8-nav-muted: #565853;
    --drev8-nav-paper: #fff;
    --drev8-nav-wash: #f6f5f2;
    --drev8-nav-line: #e4e2de;
    --drev8-nav-focus: var(--theme-base-color, #111);
    position: relative;
    color: var(--drev8-nav-text);
}

.drev8-nav__list,
.drev8-nav__links,
#mobilemenu .drev8-nav__list,
#mobilemenu .drev8-nav__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drev8-nav__group::before,
.drev8-nav__links > li::before {
    display: none;
}

.drev8-nav :is(a, summary):focus-visible,
#footer[data-drev8-footer] :is(a, button, [role="button"]):focus-visible {
    outline: 2px solid var(--drev8-nav-focus, #eae5db);
    outline-offset: -2px;
}

.drev8-nav :is(.drev8-nav__root, .drev8-nav__trigger, .drev8-nav__link, .drev8-nav__all) {
    min-block-size: 44px;
    color: var(--drev8-nav-text);
}

.drev8-nav__root,
.drev8-nav__all {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    text-decoration: none;
}

.drev8-nav__trigger {
    display: grid;
    inline-size: 44px;
    place-content: center;
    border: 0;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    list-style: none;
}

.drev8-nav__trigger::-webkit-details-marker {
    display: none;
}

.drev8-nav__trigger::marker {
    content: '';
}

.drev8-nav__trigger > svg {
    transition: transform 180ms ease;
}

.drev8-nav__disclosure[open] > .drev8-nav__trigger > svg {
    transform: rotate(-180deg);
}

.drev8-nav__trigger:hover,
.drev8-nav__disclosure[open] > .drev8-nav__trigger,
.drev8-nav__root:hover,
.drev8-nav__root[aria-current="page"] {
    background: var(--drev8-nav-wash);
}

.drev8-nav--primary,
.drev8-nav--sticky {
    max-inline-size: 1240px;
    margin-inline: auto;
    z-index: 5;
}

.drev8-nav--primary .drev8-nav__list,
.drev8-nav--sticky .drev8-nav__list {
    display: flex;
    justify-content: center;
    min-inline-size: 0;
}

.drev8-nav--primary .drev8-nav__group,
.drev8-nav--sticky .drev8-nav__group {
    position: static;
    display: flex;
    align-items: stretch;
    min-inline-size: 0;
    flex: 1 1 0;
    justify-content: center;
    padding: 0 4px;
    margin: 0;
}

.drev8-nav--primary .drev8-nav__disclosure,
.drev8-nav--sticky .drev8-nav__disclosure {
    position: static;
}

.drev8-nav--primary .drev8-nav__root,
.drev8-nav--sticky .drev8-nav__root {
    padding: 0 clamp(8px, 1vw, 18px);
    min-block-size: 50px;
    line-height: 1.25;
    border-radius: 6px;
}

.drev8-nav--primary .drev8-nav__group--expandable > .drev8-nav__root,
.drev8-nav--sticky .drev8-nav__group--expandable > .drev8-nav__root {
    border-radius: 6px 0 0 6px;
    padding-inline-end: 3px;
}

.drev8-nav--primary .drev8-nav__trigger,
.drev8-nav--sticky .drev8-nav__trigger {
    min-block-size: 50px;
}

.drev8-nav--sticky {
    padding: 0 clamp(20px, 3vw, 48px);
}

#headerfixed:not(.fixed) > .drev8-nav--sticky {
    display: none;
}

.drev8-nav--sticky .drev8-nav__root,
.drev8-nav--sticky .drev8-nav__trigger {
    min-block-size: 44px;
}

.drev8-nav--primary .drev8-nav__panel,
.drev8-nav--sticky .drev8-nav__panel {
    position: absolute;
    inset: 100% 0 auto;
    z-index: 3;
    border: 1px solid var(--drev8-nav-line);
    border-radius: 0 0 12px 12px;
    padding: clamp(18px, 2.3vw, 32px);
    background: var(--drev8-nav-paper);
    box-shadow: 0 20px 48px rgb(20 20 16 / 14%);
    max-block-size: calc(100dvh - var(--drev8-header-offset, 122px) - 18px);
    overflow: auto;
    overscroll-behavior: contain;
}

.drev8-nav--primary .drev8-nav__disclosure[open] > .drev8-nav__panel,
.drev8-nav--sticky .drev8-nav__disclosure[open] > .drev8-nav__panel {
    animation: drev8-panel-in 170ms ease both;
}

@keyframes drev8-panel-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.drev8-nav__panel--doors {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    gap: clamp(16px, 2.2vw, 32px);
    align-items: start;
}

.drev8-nav .drev8-nav__links,
#mobilemenu .drev8-nav .drev8-nav__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.drev8-nav .drev8-nav__panel--doors .drev8-nav__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drev8-nav .drev8-nav__links > li,
#mobilemenu .drev8-nav .drev8-nav__links > li {
    display: flex;
    min-inline-size: 0;
    margin: 0;
}

.drev8-nav__link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--drev8-nav-line);
    border-radius: 8px;
    padding: 14px 12px;
    min-inline-size: 0;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
}

.drev8-nav__panel--doors .drev8-nav__link {
    align-items: start;
    gap: 4px;
    text-align: start;
    background: var(--drev8-nav-wash);
    min-block-size: 65px;
}

.drev8-nav__link:hover,
.drev8-nav__link[aria-current="page"],
.drev8-nav__link:focus-visible {
    border-color: #77786e;
    background: var(--drev8-nav-wash);
}

.drev8-nav__label {
    font-weight: 650;
    overflow-wrap: anywhere;
}

.drev8-nav__caption {
    font-size: 12px;
    color: var(--drev8-nav-muted);
}

.drev8-nav__promo {
    display: grid;
    aspect-ratio: 4/3;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: #292821;
}

.drev8-nav__promo:hover {
    color: #fff;
}

.drev8-nav__promo img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% center;
}

.drev8-nav__promo::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(to top, rgb(17 17 15 / 86%), transparent 50%);
}

.drev8-nav__promo > span {
    display: flex;
    justify-content: space-between;
    align-self: end;
    gap: 12px;
    padding: 16px;
    font-weight: 650;
}

.drev8-nav--drawer,
.drev8-nav--nojs {
    padding: 4px 12px 10px;
}

.drev8-nav--drawer .drev8-nav__all,
.drev8-nav--nojs .drev8-nav__all {
    justify-content: space-between;
    border-bottom: 1px solid var(--drev8-nav-line);
    padding-inline: 8px;
}

.drev8-nav--drawer .drev8-nav__all::after,
.drev8-nav--nojs .drev8-nav__all::after {
    content: '↗';
}

.drev8-nav--drawer .drev8-nav__group,
.drev8-nav--nojs .drev8-nav__group {
    position: relative;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--drev8-nav-line);
}

.drev8-nav--drawer .drev8-nav__root,
.drev8-nav--nojs .drev8-nav__root {
    padding: 8px 8px;
}

.drev8-nav--drawer .drev8-nav__group--expandable > .drev8-nav__root,
.drev8-nav--nojs .drev8-nav__group--expandable > .drev8-nav__root {
    margin-inline-end: 44px;
}

.drev8-nav--drawer .drev8-nav__trigger,
.drev8-nav--nojs .drev8-nav__trigger {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
}

.drev8-nav--drawer .drev8-nav__panel,
.drev8-nav--nojs .drev8-nav__panel {
    margin: 0;
    padding: 6px 0 12px;
    gap: 10px;
}

.drev8-nav--drawer .drev8-nav__panel--doors,
.drev8-nav--nojs .drev8-nav__panel--doors {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

#mobilemenu .drev8-nav--drawer .drev8-nav__links,
.drev8-nav--nojs .drev8-nav__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

#mobilemenu .drev8-nav--drawer .drev8-nav__panel--doors .drev8-nav__links,
.drev8-nav--nojs .drev8-nav__panel--doors .drev8-nav__links {
    grid-template-columns: minmax(0, 1fr);
}

.drev8-nav--drawer .drev8-nav__link,
.drev8-nav--nojs .drev8-nav__link {
    padding: 8px;
    min-block-size: 58px;
}

.drev8-nav--drawer .drev8-nav__promo,
.drev8-nav--nojs .drev8-nav__promo {
    aspect-ratio: 16/9;
}

.drev8-nav-fallback {
    display: none;
}

.drev8-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991px) {
    .drev8-nav-fallback {
        display: block;
    }
    #headerfixed > .drev8-nav--sticky {
        display: none;
    }
}

#footer[data-drev8-footer] {
    --drev8-footer-ink: #fff;
    --drev8-footer-muted: #d5d1c9;
    --drev8-footer-line: rgb(241 235 220 / 16%);
    --drev8-footer-width: 1360px;
}

#footer[data-drev8-footer] .drev8-footer-reveal > .footer-v3 {
    margin: 0;
    width: 100%;
    color: var(--drev8-footer-muted);
    background:
        radial-gradient(ellipse at 3% 95%, #282922 0%, transparent 47%),
        radial-gradient(ellipse at 90% 6%, #29261f 0%, transparent 48%),
        #171816;
}

#footer[data-drev8-footer] .drev8-footer-reveal > .footer-v3 .footer-inner {
    background: transparent;
}

#footer[data-drev8-footer] :is(.footer_top, .footer_middle, .footer_bottom) > .maxwidth-theme {
    max-width: var(--drev8-footer-width);
    width: calc(100% - clamp(30px, 6vw, 96px));
    margin-inline: auto;
    padding-inline: 0;
}

#footer[data-drev8-footer] .footer_top {
    padding-block: clamp(32px, 4.2vw, 62px) 24px;
}

#footer[data-drev8-footer] .footer_top > .maxwidth-theme > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.3fr);
    gap: clamp(16px, 2.2vw, 30px);
    margin: 0;
}

#footer[data-drev8-footer] .footer_top > .maxwidth-theme > .row::before,
#footer[data-drev8-footer] .footer_top > .maxwidth-theme > .row::after {
    display: none;
}

#footer[data-drev8-footer] .footer_top > .maxwidth-theme > .row > div {
    width: auto;
    min-width: 0;
    padding: 0;
    float: none;
}

#footer[data-drev8-footer] .bottom-menu .item .title > a,
#footer[data-drev8-footer] .contact-block a {
    color: var(--drev8-footer-muted);
    text-decoration: none;
    overflow-wrap: anywhere;
}

#footer[data-drev8-footer] .bottom-menu .item.childs > .title > a,
#footer[data-drev8-footer] .contact-block .phone a {
    color: var(--drev8-footer-ink);
    font-weight: 650;
}

#footer[data-drev8-footer] .bottom-menu .item .title > a:hover,
#footer[data-drev8-footer] .contact-block a:hover {
    color: var(--drev8-footer-ink);
    text-decoration: underline;
}

#footer[data-drev8-footer] .bottom-menu .item.childs > .title {
    margin-block-end: 14px;
}

#footer[data-drev8-footer] .bottom-menu :is(.wrap_compact_mobile, .wrap_compact_mobile.collapse) {
    display: block;
    height: auto;
}

#footer[data-drev8-footer] .bottom-menu .compact_arrow {
    display: none;
}

#footer[data-drev8-footer] .bottom-menu .wrap .item {
    margin: 0 0 8px;
    break-inside: avoid;
}

#footer[data-drev8-footer] .contact-block .address {
    color: var(--drev8-footer-muted);
}

#footer[data-drev8-footer] .drev8-footer-catalog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#footer[data-drev8-footer] a:is(:hover, :focus-visible) .drev8-footer-catalog .drev8-icon {
    animation: drev8-lift .46s ease-in-out;
}

#footer[data-drev8-footer] .footer_middle .line {
    background-color: var(--drev8-footer-line);
}

#footer[data-drev8-footer] .drev8-footer-reveal[data-drev8-reveal] {
    position: relative;
    min-block-size: var(--drev8-footer-height);
    clip-path: inset(0);
}

#footer[data-drev8-footer] .drev8-footer-reveal[data-drev8-reveal] > .footer-v3 {
    position: fixed;
    inset: auto 0 0;
}

#footer[data-drev8-footer] .drev8-footer-reveal[data-drev8-enter] .footer_top > .maxwidth-theme > .row > div {
    animation: drev8-footer-enter 440ms cubic-bezier(.22, .67, .3, 1) both;
}

#footer[data-drev8-footer] .drev8-footer-reveal[data-drev8-enter] .footer_top > .maxwidth-theme > .row > div:nth-child(2) { animation-delay: 45ms; }
#footer[data-drev8-footer] .drev8-footer-reveal[data-drev8-enter] .footer_top > .maxwidth-theme > .row > div:nth-child(3) { animation-delay: 90ms; }
#footer[data-drev8-footer] .drev8-footer-reveal[data-drev8-enter] .footer_top > .maxwidth-theme > .row > div:nth-child(4) { animation-delay: 135ms; }
#footer[data-drev8-footer] .drev8-footer-reveal[data-drev8-enter] .footer_top > .maxwidth-theme > .row > div:nth-child(5) { animation-delay: 180ms; }

@keyframes drev8-footer-enter {
    from { opacity: .55; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

@media (min-width: 1180px) {
    #footer[data-drev8-footer] .first_bottom_menu .wrap {
        columns: 2;
        column-gap: 14px;
    }
}

@media (max-width: 991px) {
    #footer[data-drev8-footer] .footer_top > .maxwidth-theme > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 16px;
    }
    #footer[data-drev8-footer] .footer_top > .maxwidth-theme > .row > .contact-block {
        grid-column: 1/-1;
        padding-block-start: 22px;
        border-top: 1px solid var(--drev8-footer-line);
    }
}

@media (max-width: 340px) {
    #footer[data-drev8-footer] .footer_top > .maxwidth-theme > .row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .drev8-nav__trigger > svg {
        transition: none;
    }
    .drev8-nav--primary .drev8-nav__disclosure[open] > .drev8-nav__panel,
    .drev8-nav--sticky .drev8-nav__disclosure[open] > .drev8-nav__panel,
    #footer[data-drev8-footer] .drev8-footer-reveal[data-drev8-enter] .footer_top > .maxwidth-theme > .row > div {
        animation: none;
    }
}
