@media (max-width: 1240px) {
    .desktop-navigation {
        gap: 13px;
    }

    .desktop-navigation__link {
        font-size: 12px;
    }

    .site-footer__main {
        grid-template-columns:
            1.3fr
            repeat(3, minmax(130px, 0.8fr));
    }

    .site-footer__newsletter {
        grid-column: 1 / -1;
        max-width: 620px;
    }
}

@media (max-width: 1040px) {
    :root {
        --header-height: 70px;
    }

    .desktop-navigation {
        display: none;
    }

    .site-header__menu-button {
        display: inline-flex;
    }

    .site-header__inner {
        grid-template-columns:
            auto
            minmax(0, 1fr)
            auto;
        gap: 10px;
    }

    .site-logo {
        justify-self: center;
    }

    .site-header__actions {
        justify-self: end;
        gap: 2px;
    }

    .site-header__search-button,
    .site-header__account,
    .site-header__language,
    .site-header__theme {
        display: none;
    }

    .site-header__wishlist,
    .site-header__cart {
        display: inline-flex;
    }

    .theme-logo--header {
        width: clamp(128px, 26vw, 165px);
    }

    .home-hero__orb--one {
        opacity: 0.75;
    }

    .home-hero__monogram {
        opacity: 0.75;
    }
}

@media (max-width: 850px) {
    .site-footer__main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand,
    .site-footer__newsletter {
        grid-column: 1 / -1;
    }

    .home-features__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(
            calc(100% - 28px),
            var(--container)
        );
    }

    .site-header__actions {
        gap: 0;
    }

    .icon-button {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .site-header__wishlist,
    .site-header__cart {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .theme-logo--header {
        width: 138px;
    }

    .action-count {
        top: 0;
        inset-inline-end: -1px;
        min-width: 16px;
        height: 16px;
        font-size: 7.5px;
    }

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

    .home-hero {
        min-height: 690px;
    }

    .home-hero__content {
        padding-block: 90px 110px;
    }

    .home-hero__orb--one {
        top: auto;
        right: -34%;
        bottom: -6%;
        width: 92vw;
        opacity: 0.55;
    }

    html[dir="rtl"]
    .home-hero__orb--one {
        right: auto;
        left: -34%;
    }

    .home-hero__monogram {
        top: auto;
        right: 4%;
        bottom: 7%;
        font-size: 30vw;
        transform: none;
        opacity: 0.62;
    }

    html[dir="rtl"]
    .home-hero__monogram {
        right: auto;
        left: 4%;
    }

    .home-hero h1 {
        max-width: 600px;
        font-size: clamp(44px, 15vw, 72px);
    }

    .home-hero__actions,
    .home-hero__actions .button {
        width: 100%;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-block: 58px;
    }

    .site-footer__brand,
    .site-footer__newsletter {
        grid-column: auto;
    }

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

    .site-footer__bottom-inner {
        flex-direction: column;
        justify-content: center;
        padding-block: 22px;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .site-header__inner {
        gap: 5px;
    }

    .site-header__menu-button,
    .site-header__wishlist,
    .site-header__cart {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .site-header__actions {
        min-width: 74px;
    }

    .theme-logo--header {
        width: 120px;
    }

    .action-count {
        top: -1px;
        inset-inline-end: -2px;
        min-width: 15px;
        height: 15px;
        padding-inline: 2px;
        font-size: 7px;
        border-width: 1.5px;
    }

    .home-feature {
        min-height: 200px;
        padding: 26px;
    }
}

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