/*
 * Shared site shell reconstructed from the Figma header/footer.
 * This file is loaded after page styles so every route uses one shell.
 */

body.has-open-menu {
    overflow: hidden;
}

.site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 100;
    height: 96px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    width: 1200px;
    max-width: calc(100% - 40px);
    height: 96px;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-inline: auto;
    padding: 20px 0;
}

.site-header .brand-logo {
    width: 189px;
    min-width: 189px;
    height: 56px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(50, 52, 143, .04);
}

.site-header .brand-logo img {
    width: 189px;
    height: 56px;
    object-fit: contain;
}

.site-nav {
    height: 56px;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 0;
    direction: rtl;
}

.site-nav .site-nav__link {
    width: auto;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 0 24px;
    white-space: nowrap;
}

.site-nav__separator {
    width: 46px;
    height: 56px;
    display: block;
    flex: 0 0 46px;
}

.site-nav__separator img {
    width: 46px;
    height: 56px;
    display: block;
}

.site-nav .site-nav__eyebrow {
    margin: 0 0 -8px;
    color: #bbbbda;
    font-size: 14px;
    line-height: 28px;
    font-weight: 325;
    letter-spacing: -.72px;
}

.site-nav .site-nav__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.site-nav .site-nav__label strong {
    color: #1d1e61;
    font-size: 16px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: -.84px;
}

.site-nav .site-nav__label i {
    width: 6px;
    height: 6px;
    display: block;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #5fa8ab;
}

.site-nav .site-nav__link.is-active::after {
    content: none;
}

.site-header__actions {
    height: 56px;
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
    margin: 0;
    direction: ltr;
}

.site-header__logout-form,
.site-header__mobile-logout {
    margin: 0;
}

.site-header__logout-form button,
.site-header__mobile-logout button {
    cursor: pointer;
}

.site-header__actions .btn-ava {
    min-height: 56px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: -.84px;
    direction: rtl;
}

.site-header__actions .btn-ava--primary {
    width: 161px;
}

.site-header__actions .btn-ava--light {
    width: 135px;
}

.site-header__auth {
    gap: 4px;
}

.site-header__auth-separator {
    font-weight: 325;
    line-height: 30px;
    opacity: .4;
}

.account-menu {
    position: relative;
    height: 56px;
    direction: rtl;
}

.account-menu__trigger {
    position: relative;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(226, 232, 240, .40);
}

.account-menu__trigger .ava-icon {
    width: 20px;
    height: 20px;
}

.account-menu__trigger:hover,
.account-menu__trigger[aria-expanded="true"] {
    border-color: var(--ava-secondary-900);
    background: rgba(95, 168, 171, .08);
}

.account-menu__presence {
    position: absolute;
    inset-inline-start: 8px;
    inset-block-end: 8px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--ava-secondary-900);
}

.account-menu__dropdown[hidden] {
    display: none !important;
}

.account-menu__dropdown {
    position: absolute;
    z-index: 145;
    inset-block-start: calc(100% + 10px);
    inset-inline-end: 0;
    width: 244px;
    padding: 12px;
    border: 1px solid var(--ava-neutral-200);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 54px rgba(20, 27, 52, .14);
    animation: ava-account-menu-in .16s ease-out both;
}

.account-menu__dropdown::before {
    position: absolute;
    inset-block-start: -5px;
    inset-inline-end: 22px;
    width: 10px;
    height: 10px;
    content: "";
    border-block-start: 1px solid var(--ava-neutral-200);
    border-inline-end: 1px solid var(--ava-neutral-200);
    background: #fff;
    transform: rotate(-45deg);
}

.account-menu__identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
}

.account-menu__avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border: 1px solid var(--ava-primary-200);
    border-radius: 14px;
    background: var(--ava-neutral-0);
}

.account-menu__identity > div {
    min-width: 0;
}

.account-menu__identity strong,
.account-menu__identity bdi {
    display: block;
    max-width: 158px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu__identity strong {
    color: var(--ava-neutral-800);
    font-size: 12px;
    line-height: 23px;
    font-weight: 700;
}

.account-menu__identity bdi {
    color: var(--ava-neutral-400);
    font-size: 10px;
    line-height: 18px;
}

.account-menu__separator {
    height: 1px;
    margin: 10px 4px 8px;
    background: var(--ava-neutral-100);
}

.account-menu__item {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    color: var(--ava-neutral-600);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    line-height: 24px;
    font-weight: 500;
    text-align: start;
    transition: color .15s ease, background-color .15s ease;
}

.account-menu__item > svg:first-child {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.account-menu__item:hover,
.account-menu__item:focus-visible,
.account-menu__item.is-active {
    color: var(--ava-primary-1000);
    background: rgba(50, 52, 143, .06);
}

.account-menu__chevron {
    width: 16px;
    height: 16px;
    margin-inline-start: auto;
    color: var(--ava-neutral-300);
}

.account-menu__logout {
    margin: 2px 0 0;
}

.account-menu__logout .account-menu__item:hover,
.account-menu__logout .account-menu__item:focus-visible {
    color: #b42318;
    background: #fff5f4;
}

@keyframes ava-account-menu-in {
    from {
        opacity: 0;
        transform: translateY(-5px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.site-header__mobile-right,
.site-header__mobile-actions {
    display: none;
}

.mobile-drawer-overlay[hidden],
.mobile-drawer[hidden] {
    display: none !important;
}

.mobile-bottom-nav-reserve {
    display: none;
}

.site-footer {
    height: 745px;
    padding: 0;
    background: #fff;
}

.footer-intro {
    width: 100%;
    max-width: none;
    height: 208px;
    margin: 0;
    padding: 40px 0 48px;
    text-align: center;
}

.footer-intro .ava-container {
    width: 1040px;
    max-width: calc(100% - 80px);
}

.footer-intro p {
    margin: 0;
    color: var(--ava-neutral-600);
    font-size: 15.2px;
    line-height: 30px;
    letter-spacing: -.456px;
    text-align: justify;
    text-align-last: center;
}

.footer-intro a {
    color: var(--ava-primary-1000);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__area {
    height: 537px;
    background: linear-gradient(180deg, #fff 0, #f8fafc 100%);
}

.site-footer__area > .ava-container {
    width: 1200px;
    max-width: calc(100% - 40px);
}

.footer-panel {
    width: 1200px;
    max-width: 100%;
    height: 451px;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 451px;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 -12px 80px #f1f5f9;
    direction: rtl;
}

.footer-panel > section {
    height: 451px;
    min-width: 0;
    min-height: 0;
}

.footer-links-column,
.footer-contact {
    padding: 40px 48px;
}

.footer-links-column {
    background: radial-gradient(ellipse 200px 194px at 0 50%, rgba(241, 245, 249, .72) 0%, #fff 100%);
}

.footer-contact {
    background: radial-gradient(ellipse 200px 194px at 100% 50%, rgba(241, 245, 249, .72) 0%, #fff 100%);
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-links-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.footer-panel h2 {
    margin: 0 0 12px;
    color: var(--ava-neutral-800);
    font-size: 16px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: -.48px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ava-neutral-500);
    font-size: 14px;
    line-height: 28px;
    letter-spacing: -.42px;
}

.footer-links li {
    margin: 0 0 6px;
}

.footer-links li:last-child {
    margin-block-end: 0;
}

.footer-newsletter {
    margin-block-start: 0;
}

.footer-newsletter > label {
    display: block;
    color: var(--ava-neutral-800);
    font-size: 16px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: -.48px;
}

.footer-newsletter__hint {
    display: block;
    color: var(--ava-neutral-400);
    font-size: 12px;
    line-height: 24px;
    font-weight: 325;
    letter-spacing: -.36px;
    white-space: nowrap;
}

.footer-newsletter > div {
    height: 56px;
    display: grid;
    grid-template-columns: 1fr;
    margin-block-start: 12px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ava-neutral-100);
}

.footer-newsletter input {
    min-width: 0;
    padding: 0 20px;
    border: 0;
    color: var(--ava-neutral-400);
    background: transparent;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: -.42px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 32px;
    text-align: center;
}

.footer-brand > a:first-child {
    width: 90px;
    height: 40px;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-brand__logo {
    width: 90px;
    height: 39px;
    flex: 0 0 39px;
    display: block;
    object-fit: contain;
}

.footer-brand > p {
    width: 336px;
    max-width: 100%;
    margin: 32px 0 24px;
    color: var(--ava-neutral-500);
    font-size: 13.3px;
    line-height: 28px;
    letter-spacing: -.399px;
    text-align: center;
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0;
}

.footer-brand .trust-row > span {
    width: 88px;
    height: 79px;
    flex: 0 0 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--ava-neutral-200);
    border-radius: 16px;
    background: #fff;
}

.footer-brand .trust-row img {
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.footer-brand .trust-row > :first-child img {
    width: 60px;
    height: 55px;
}

.footer-brand .trust-row > :last-child img {
    width: 54px;
    height: 56px;
}

.footer-contact {
    color: var(--ava-neutral-500);
    font-size: 12px;
    line-height: 24px;
}

.footer-contact__group + .footer-contact__group {
    margin-block-start: 18.333px;
}

.footer-contact__group--phones h2,
.footer-contact__group--email h2,
.footer-contact__group--address h2 {
    color: var(--ava-neutral-400);
    font-weight: 325;
}

.footer-contact__group h2 {
    margin: 0;
}

.footer-contact__group--phones {
    height: 64px;
}

.footer-contact__group--social {
    height: 124px;
    margin-block-start: 18.333px;
}

.footer-contact__group--social h2 {
    color: var(--ava-neutral-800);
    font-weight: 450;
}

.footer-contact__phones {
    position: relative;
    height: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: center;
    color: var(--ava-neutral-800);
    font-size: 16px;
    line-height: 32px;
    font-weight: 600;
    letter-spacing: -.48px;
    direction: ltr;
}

.footer-contact__phones a:nth-of-type(1) {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.footer-contact__phones a:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}

.footer-contact__phones a:nth-of-type(3) {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

.footer-contact__phones img {
    position: absolute;
    inset-block-start: 5px;
    width: 24px;
    height: 22px;
}

.footer-contact__phones img:first-of-type {
    inset-inline-start: 185.5px;
}

.footer-contact__phones img:last-of-type {
    inset-inline-start: 77.5px;
}

.footer-contact__email {
    display: inline-block;
    color: var(--ava-neutral-800);
    font-size: 16px;
    line-height: 32px;
    letter-spacing: -.48px;
    direction: ltr;
}

.footer-contact address,
.footer-contact p {
    margin: 0;
    color: var(--ava-neutral-500);
    font-style: normal;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: -.36px;
}

.footer-contact address {
    color: var(--ava-neutral-800);
    font-size: 16px;
    line-height: 32px;
    letter-spacing: -.48px;
}

.footer-contact__group--email {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-contact__group--email h2 {
    margin: 0;
}

.footer-contact__group--address {
    height: 96px;
}

.footer-contact__group--social > div:first-child {
    height: 56px;
}

.footer-contact .social-links {
    display: flex;
    gap: 12px;
    margin-block-start: 12px;
    direction: ltr;
}

.footer-contact .social-links a {
    width: auto;
    height: 56px;
    flex: 1 1 0;
    border-radius: 16px;
    background: var(--ava-neutral-100);
}

.footer-contact .social-links img {
    width: 25px;
    height: 25px;
}

.footer-contact .social-links .social-links__aparat img {
    width: 73px;
    height: 56px;
}

.copyright {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 48px;
    color: var(--ava-neutral-600);
    font-size: 16px;
    line-height: 30px;
    letter-spacing: -.48px;
}

.copyright__credit {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

.copyright__credit span {
    direction: rtl;
}

.copyright__credit img {
    width: 120px;
    height: 12px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(12%) sepia(8%) saturate(1300%) hue-rotate(178deg);
}

@media (min-width: 1200px) and (max-width: 1240px) {
    .site-header__inner,
    .site-footer__area > .ava-container {
        width: calc(100% - 40px);
    }

    .site-nav .site-nav__link {
        padding-left: 10px;
    }

    .site-nav__separator {
        width: 28px;
        flex-basis: 28px;
        overflow: hidden;
    }

    .site-nav__separator img {
        width: 28px;
        object-fit: cover;
    }
}

@media (max-width: 1199px) {
    body .site-header {
        height: 84px;
    }

    body .site-header__inner {
        width: 100%;
        max-width: none;
        height: 84px;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        padding: 20px;
    }

    body .site-header__desktop-brand,
    body .site-nav,
    body .site-header__actions {
        display: none;
    }

    body .site-header__mobile-right,
    body .site-header__mobile-actions {
        height: 44px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    body .account-menu--mobile {
        height: 44px;
    }

    body .account-menu--mobile .account-menu__dropdown {
        position: fixed;
        inset-block-start: 74px;
        inset-inline: auto;
        left: 16px;
        width: min(260px, calc(100vw - 32px));
    }

    body .account-menu--mobile .account-menu__dropdown::before {
        display: none;
    }

    body .account-menu--mobile .account-menu__trigger .ava-icon {
        width: 16px;
        height: 16px;
    }

    body .account-menu--mobile .account-menu__presence {
        inset-inline-start: 5px;
        inset-block-end: 5px;
        width: 8px;
        height: 8px;
    }

    body .site-header__mobile-logo {
        width: 63px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(50, 52, 143, .045);
    }

    body .site-header__mobile-logo img {
        width: 43px;
        height: 19px;
        object-fit: contain;
    }

    body .site-header .icon-control,
    body .site-header__user {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
    }

    body .site-header .icon-control--menu .ava-icon {
        width: 24px;
        height: 24px;
    }

    body .site-header .icon-control--menu {
        border: 0;
        border-radius: 16px;
        background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    }

    body .site-header__user .ava-icon {
        width: 16px;
        height: 16px;
    }

    body .site-header__mobile-actions .btn-ava {
        width: 129px;
        min-height: 44px;
        display: inline-flex;
        padding-inline: 16px;
        border-radius: 14px;
        gap: 6px;
        font-size: 13px;
        line-height: 32px;
        font-weight: 600;
        letter-spacing: -.48px;
    }

    body .mobile-drawer-overlay {
        position: fixed;
        z-index: 125;
        inset: 0;
        display: block;
        background: rgba(15, 23, 43, .38);
    }

    body .mobile-drawer {
        position: fixed;
        z-index: 130;
        inset-block: 0;
        inset-inline-start: 0;
        inset-inline-end: auto;
        width: min(340px, 88vw);
        height: 100dvh;
        display: flex;
        flex-direction: column;
        padding: 20px;
        border: 0;
        border-radius: 28px 0 0 28px;
        background: #fff;
        box-shadow: 20px 0 60px rgba(15, 23, 43, .18);
        animation: ava-drawer-in .22s ease-out both;
    }

    body .mobile-drawer__head {
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-block-end: 20px;
    }

    body .mobile-drawer__head img {
        width: 160px;
        height: 47px;
        object-fit: contain;
    }

    body .mobile-drawer__close {
        width: 32px;
        height: 32px;
        margin: 0;
        border: 0;
        border-radius: 0;
        color: var(--ava-primary-1000);
        background: #fff;
        font-size: 0;
    }

    body .mobile-drawer__links {
        display: grid;
    }

    body .mobile-drawer__links a {
        min-height: 64px;
        justify-content: flex-start;
        padding-inline: 8px;
    }

    body .mobile-drawer__links small {
        display: block;
        color: var(--ava-neutral-400);
        font-size: 10px;
        line-height: 18px;
    }

    body .mobile-drawer__quote {
        width: 100%;
        margin-block-start: auto;
        color: #fff;
    }

    body .mobile-drawer__quote:hover,
    body .mobile-drawer__quote:focus-visible {
        color: #fff;
    }
}

@media (max-width: 991px) {
    body.page-home,
    body.page-product {
        padding-block-end: 0;
    }

    .mobile-bottom-nav-reserve {
        height: calc(88px + env(safe-area-inset-bottom, 0px));
        display: block;
    }

    .mobile-bottom-nav {
        inset: auto 0 0;
        width: 100%;
        height: calc(88px + env(safe-area-inset-bottom, 0px));
        min-height: 88px;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
        border: 0;
        border-block-start: 1px solid #f1f5f9;
        border-radius: 24px 24px 0 0;
        background: #fff;
        box-shadow: 0 -12px 32px rgba(29, 30, 97, .06);
        backdrop-filter: none;
        direction: rtl;
    }

    .mobile-bottom-nav a {
        min-width: 0;
        min-height: 72px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding-block-start: 4px;
        border-radius: 16px;
        color: var(--ava-neutral-500);
        font-size: 12px;
        line-height: 20px;
        font-weight: 400;
        letter-spacing: -.3px;
    }

    .mobile-bottom-nav a.is-active {
        color: var(--ava-neutral-600);
        background: #edf5f6;
        font-weight: 600;
    }

    .mobile-bottom-nav .ava-icon,
    .mobile-bottom-nav__icon {
        width: 20px;
        height: 20px;
        display: grid;
        place-items: center;
        flex: 0 0 20px;
    }

    .mobile-bottom-nav__glyph {
        display: block;
        width: var(--nav-glyph-width);
        height: var(--nav-glyph-height);
        max-width: none;
    }

    .mobile-bottom-nav a:not(.is-active) .ava-icon {
        filter: grayscale(1) opacity(.78);
    }

    .site-footer {
        height: 1705px;
    }

    .footer-intro {
        height: 356px;
        padding: 40px 20px 16px;
    }

    .footer-intro .ava-container {
        width: 100%;
        max-width: none;
    }

    .footer-intro p {
        font-size: 15.2px;
        line-height: 30px;
        letter-spacing: -.456px;
        text-align: center;
        text-align-last: center;
    }

    .site-footer__area {
        height: 1349px;
        padding: 18px 16px 0;
    }

    .site-footer__area > .ava-container {
        width: 100%;
        max-width: none;
    }

    .footer-panel {
        width: 100%;
        height: 1217px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 447px 382px 388px;
        border-radius: 40px;
    }

    .footer-panel > .footer-brand {
        grid-row: 1;
        height: 447px;
        padding: 40px 32px 24px;
    }

    .footer-brand__logo {
        width: 90px;
        height: 40px;
        flex: 0 0 40px;
    }

    .footer-brand > a:first-child {
        width: 90px;
        height: 40px;
        flex: 0 0 40px;
    }

    .footer-brand > p {
        width: 304px;
        height: 208px;
        margin: 32px 0 24px;
        overflow: hidden;
        font-size: 13.3px;
        line-height: 26px;
        letter-spacing: -.399px;
    }

    .trust-row > * {
        width: 88px;
        height: 79px;
        flex: 0 0 88px;
    }

    .footer-panel > .footer-links-column {
        grid-row: 2;
        height: 382px;
        padding: 20px;
        background: #fff;
    }

    .footer-links-groups {
        gap: 20px;
    }

    .footer-panel h2 {
        font-size: 15px;
        line-height: 28px;
    }

    .footer-links {
        font-size: 14px;
        line-height: 26px;
    }

    .footer-newsletter {
        margin-block-start: 32px;
    }

    .footer-newsletter > label {
        font-size: 15px;
        line-height: 28px;
    }

    .footer-panel > .footer-contact {
        grid-row: 3;
        height: 388px;
        padding: 20px;
        background: #fff;
    }

    .footer-contact__group {
        margin: 0;
    }

    .footer-contact__group + .footer-contact__group {
        margin-block-start: 16px;
    }

    .footer-contact__group--phones {
        height: 56px;
    }

    .footer-contact__group--phones h2,
    .footer-contact__group--address h2,
    .footer-contact__group--social h2 {
        height: 28px;
        margin: 0;
        font-size: 15px;
        line-height: 28px;
    }

    .footer-contact__group--phones h2,
    .footer-contact__group--email h2,
    .footer-contact__group--address h2 {
        color: var(--ava-neutral-400);
        font-weight: 325;
    }

    .footer-contact__group--social h2 {
        color: var(--ava-neutral-800);
        font-weight: 450;
    }

    .footer-contact__phones {
        height: 28px;
        color: var(--ava-neutral-800);
        font-size: 15px;
        line-height: 28px;
        font-weight: 600;
    }

    .footer-contact__phones img {
        inset-block-start: 3px;
    }

    .footer-contact__phones img:first-of-type {
        inset-inline-start: 205.5px;
    }

    .footer-contact__phones img:last-of-type {
        inset-inline-start: 82.5px;
    }

    .footer-contact__group--email {
        height: 32px;
    }

    .footer-contact__group--email h2 {
        font-size: 15px;
        line-height: 28px;
    }

    .footer-contact__email {
        color: var(--ava-neutral-800);
        font-size: 16px;
        line-height: 32px;
    }

    .footer-contact__group--address {
        height: 92px;
    }

    .footer-contact__group--address address {
        height: 64px;
        color: var(--ava-neutral-800);
        font-size: 16px;
        line-height: 32px;
        letter-spacing: -.48px;
    }

    .footer-contact__group--social {
        height: 120px;
    }

    .footer-contact__group--social > div:first-child {
        height: 52px;
    }

    .footer-contact__group--social p {
        height: 24px;
        font-size: 13px;
        line-height: 24px;
    }

    .footer-contact .social-links {
        width: 100%;
        height: 56px;
        gap: 12px;
        margin-block-start: 12px;
        direction: ltr;
    }

    .footer-contact .social-links a {
        width: auto;
        height: 56px;
        flex: 1 1 0;
    }

    .copyright {
        height: 114px;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 14px 12px;
        text-align: center;
        color: var(--ava-neutral-600);
        font-size: 14px;
        line-height: 26px;
    }

    .copyright__credit {
        order: -1;
        font-size: 12px;
        line-height: 24px;
    }

    .copyright__credit img {
        width: 100px;
        height: 10px;
    }
}

@keyframes ava-drawer-in {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 374px) {
    body .site-header__inner {
        padding-inline: 12px;
    }

    body .site-header__mobile-actions,
    body .site-header__mobile-right {
        gap: 5px;
    }

    body .site-header__mobile-actions .btn-ava {
        width: 116px;
        padding-inline: 8px;
    }
}

/* Shared basket controls */
.header-basket {
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    direction: rtl;
}

.header-basket::after {
    position: absolute;
    inset-block-start: 48px;
    inset-inline: 0;
    height: 22px;
    content: "";
}

.header-basket__trigger {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ava-primary-200);
    border-radius: 18px;
    color: var(--ava-primary-1000);
    background: #fff;
    box-shadow: 0 12px 32px rgba(226, 232, 240, .4);
}

.header-basket__badge,
.mobile-bottom-nav__badge {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--ava-secondary-900);
    font-size: 9px;
    line-height: 14px;
    font-weight: 800;
}

.header-basket__badge {
    position: absolute;
    inset-block-start: -5px;
    inset-inline-start: -5px;
}

.header-basket__popover {
    position: absolute;
    z-index: 145;
    inset-block-start: calc(100% + 10px);
    inset-inline-end: 0;
    width: min(360px, calc(100vw - 40px));
    padding: 14px;
    border: 1px solid var(--ava-neutral-200);
    border-radius: 24px;
    visibility: hidden;
    opacity: 0;
    color: var(--ava-neutral-800);
    background: #fff;
    box-shadow: 0 24px 58px rgba(20, 27, 52, .15);
    transform: translateY(-5px);
    pointer-events: none;
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.header-basket:hover .header-basket__popover,
.header-basket:focus-within .header-basket__popover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mini-basket__head {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px 10px;
    border-block-end: 1px solid var(--ava-neutral-100);
}

.mini-basket__head strong {
    color: var(--ava-neutral-900);
    font-size: 15px;
}

.mini-basket__head span,
.mini-basket__more {
    color: var(--ava-neutral-400);
    font-size: 11px;
}

.mini-basket__items {
    max-height: 264px;
    overflow-y: auto;
}

.mini-basket-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 10px;
    padding-block: 10px;
    border-block-end: 1px solid var(--ava-neutral-100);
}

.mini-basket-item__image {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: var(--ava-neutral-0);
}

.mini-basket-item__image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.mini-basket-item__body {
    min-width: 0;
}

.mini-basket-item__body a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ava-neutral-800);
    font-size: 12px;
    line-height: 22px;
    font-weight: 700;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mini-basket-item__body span {
    color: var(--ava-neutral-500);
    font-size: 10px;
    line-height: 18px;
}

.mini-basket-item__remove,
.mini-basket-item__remove button {
    width: 32px;
    height: 32px;
    margin: 0;
}

.mini-basket-item__remove button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: var(--ava-neutral-400);
    background: var(--ava-neutral-0);
    cursor: pointer;
}

.mini-basket-item__remove svg {
    width: 17px;
    height: 17px;
}

.mini-basket__more {
    margin: 7px 4px 0;
}

.mini-basket__footer {
    display: grid;
    gap: 10px;
    padding-block-start: 12px;
}

.mini-basket__footer > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ava-neutral-500);
    font-size: 11px;
}

.mini-basket__footer strong {
    color: var(--ava-neutral-900);
    font-size: 13px;
}

.mini-basket__footer > a,
.mini-basket-empty > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: var(--ava-primary-1000);
    font-size: 12px;
    font-weight: 700;
}

.mini-basket-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px 4px;
    text-align: center;
}

.mini-basket-empty__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-block-end: 10px;
    border-radius: 18px;
    color: var(--ava-primary-1000);
    background: var(--ava-neutral-0);
}

.mini-basket-empty strong {
    font-size: 14px;
}

.mini-basket-empty p {
    margin: 2px 0 12px;
    color: var(--ava-neutral-500);
    font-size: 11px;
    line-height: 22px;
}

.mini-basket-empty > a {
    width: 100%;
}

.basket-toast[hidden] {
    display: none !important;
}

.basket-toast {
    position: fixed;
    z-index: 2200;
    inset-inline-start: 24px;
    inset-block-end: 24px;
    max-width: min(390px, calc(100vw - 32px));
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(95, 168, 171, .24);
    border-radius: 16px;
    opacity: 0;
    color: var(--ava-neutral-700);
    background: #fff;
    box-shadow: 0 20px 48px rgba(20, 27, 52, .16);
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
}

.basket-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.basket-toast__icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 10px;
    color: #fff;
    background: var(--ava-secondary-900);
    font-weight: 800;
}

.basket-toast.is-error {
    border-color: rgba(180, 35, 24, .2);
}

.basket-toast.is-error .basket-toast__icon {
    background: #b42318;
}

.product-card__link {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
}

.product-card__link:focus-visible {
    outline: 3px solid var(--ava-primary-1000);
    outline-offset: -3px;
}

.product-card__cart {
    z-index: 3;
    margin: 0;
}

.product-card__cart-button {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: inherit;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

.site-header__tablet-basket {
    display: none;
}

@media (max-width: 1199px) {
    .header-basket {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body .site-header__tablet-basket {
        position: relative;
        display: inline-flex;
        flex: 0 0 44px;
    }

    body .site-header__tablet-basket .ava-icon {
        width: 20px;
        height: 20px;
    }

    body .site-header__tablet-basket .header-basket__badge {
        inset-block-start: -5px;
        inset-inline-start: -5px;
    }
}

@media (max-width: 991px) {
    .mobile-bottom-nav__icon {
        position: relative;
    }

    .mobile-bottom-nav__badge {
        position: absolute;
        inset-block-start: -9px;
        inset-inline-start: -11px;
        z-index: 2;
    }

    .basket-toast {
        inset-inline: 16px;
        inset-block-end: calc(104px + env(safe-area-inset-bottom, 0px));
        max-width: none;
    }
}
