@media (max-width: 1439px) {
    .main{
        height: 700px;
    }
    h1 , .main__title{
        font-size: 44px;
    }
    h2{
        font-size: 42px;
    }
    .main__title span{
        font-size: 52px;
    }
    .main__top p{
        font-size: 25px;
    }
    .main__items{
        gap: 0 25px;
    }


    .footer__container{
        gap: 0 30px;
    }
}

@media (max-width: 1199px) {
    .tertiary-btn{
        height: 56px;
        font-size: 16px;
    }
    .tertiary-btn svg{
        width: 16px;
        height: 16px;
    }

    .main {
        height: 500px;
        padding: 80px 0 30px 0;
    }
    .main__title{
        max-width: 450px;
    }
    h1 , .main__title{
        font-size: 34px;
    }
    h2{
        font-size: 30px;
    }
    .main__title:not(:last-child){
        margin-bottom: 15px;
    }
    .main__title span{
        font-size: 42px;
    }
    .main__top p{
        font-size: 18px;
    }
    .main__items{
        margin-top: 30px;
    }
    .main__bottom{
        margin-top: 60px;
    }


    .product-card__image img{
        height: 100%;
    }

    .js-reviews{
        padding: 0 !important;
    }
    .reviews__nav{
        display: none;
    }

    .product{
        gap: 24px;
    }
    .product__title{
        font-size: 32px;
    }
    .product-gallery{
        position: sticky;
        top: 2px;
    }
}
@media (max-width: 1100px){
    .account .container{
        flex-direction: column;
        gap: 26px 0;
    }
    .account__left{
        width: 100%;
    }
    .account__info{
        flex-wrap: wrap;
    }
    .account__info-item{
        width: calc(50% - 12px);
    }
    .account-settings__grid,
    .account-order-card__meta{
        grid-template-columns: 1fr;
    }
    .checkout-layout{
        display: flex;
        flex-direction: column;
    }
    .checkout-layout__main{
        order: 1;
    }
    .checkout-payment-card{
        order: 2;
    }
    .checkout-layout__sidebar{
        order: 3;
        position: static;
        top: auto;
        width: 100%;
    }
    .checkout-place-order{
        order: 4;
    }

    .account-view-order .woocommerce-order-details__title,
    .account-view-order .woocommerce-customer-details .woocommerce-column__title,
    .account-view-order__section-title{
        font-size: 28px;
    }
    .account-view-order .woocommerce-customer-details .woocommerce-columns{
        grid-template-columns: 1fr;
    }
    .checkout-page--pay .checkout-pay-layout{
        display: flex;
        flex-direction: column;
    }
    .checkout-page--pay .checkout-pay-layout .checkout-layout__sidebar{
        width: 100%;
        position: static;
        top: auto;
    }
}


@media (max-width: 991px) {
    body{
        --genetic-header-expanded-height: 76px;
        --genetic-header-compact-height: 64px;
    }
    body.has-top-bar,
    body:has(.site-header > .top){
        --genetic-site-header-height: 120px;
    }
    h2{
        font-size: 32px;
    }
    .title__item{
        line-height: 1.2;
    }
    p{
        font-size: 15px;
    }
    .main{
        height: 450px;
        padding: 40px 0 45px 0;
    }
    .nav ul li a{
        font-size: 14px;
    }

    .catalog__categories li a{
        height: 32px;
        padding: 0 15px;
        font-size: 14px;
    }
    .product-card{
        width: calc(33.333333% - 6px);
    }

    .footer{
        padding: 30px 0;
    }
    .footer__container{
        gap: 40px 20px;
        flex-wrap: wrap;
    }
    .footer__left{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
    .footer__left .footer__logo{
        margin-bottom: 15px;
    }
    .footer__container > div:first-child{
        width: 100%;
    }
    .footer__container > div{
        width: calc(33.333333% - 14px);
    }
    .footer__nav ul li a{
        font-size: 14px;
    }
    .legal-page__hero{
        padding: 42px 36px;
    }
    .legal-page__title{
        font-size: 44px;
        max-width: 100%;
    }
    .legal-page__lead{
        font-size: 18px;
    }
    .legal-page__layout{
        grid-template-columns: 1fr;
    }
    .legal-page__panel,
    .legal-page__card{
        padding: 28px;
    }

    .product .product-badges{
        top: 14px;
        left: 14px;
    }
    .product .product-sale-badge{
        top: 14px;
        right: 14px;
    }

}

@media (max-width: 767px) {
    body{
        --genetic-header-expanded-height: 68px;
        --genetic-header-compact-height: 58px;
    }
    body.has-top-bar,
    body:has(.site-header > .top){
        --genetic-top-height: 40px;
        --genetic-site-header-height: 108px;
    }
    .header__left{
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .logo{
        max-width: 156px;
    }
    body.header-scrolled .logo,
    body.menu-open .logo{
        max-width: 142px;
    }
    .mobile-btn{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .site-music{
        right: 14px;
    }
    .site-music__toggle{
        width: 52px;
        height: 52px;
    }
    .nav{
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100dvh;
        gap: 40px 0;
        overflow: auto;
        background: #1a1a1a;
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .nav.is-open{
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        z-index: 100;
    }
    .nav-overlay{
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        z-index: -1;
    }
    .nav-overlay.is-active{
        opacity: 1;
        visibility: visible;
        z-index: 99;
    }
    .nav__close{
        position: absolute;
        top: 18px;
        right: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
    }
    .nav__title{
        display: block;
        font-family: 'RF Dewi';
        padding: 27px 24px;
        border-bottom: 0.53px solid #2a2a2a;
        font-weight: 900;
        font-size: 22px;
        line-height: 1;
        letter-spacing: -0.03em;
        color: #fff;
    }
    .nav ul{
        flex-direction: column;
        align-items: flex-start;
        gap: 4px 0;
        padding: 24px;
    }
    .nav ul li a{
        font-size: 18px;
        padding: 15px 20px;
    }
    .nav ul li.menu-item-has-mobile-catalog{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
    }
    .nav ul li.menu-item-has-mobile-catalog > a{
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 8px;
    }
    .nav__catalog-toggle{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        padding: 0;
        border: none;
        border-radius: 12px;
        background: transparent;
        color: #acacac;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .nav__catalog-toggle svg{
        transition: transform 0.2s ease;
    }
    .nav ul li.menu-item-has-mobile-catalog.is-open > .nav__catalog-toggle{
        color: #fff;
        background: rgba(255, 255, 255, 0.04);
    }
    .nav ul li.menu-item-has-mobile-catalog.is-open > .nav__catalog-toggle svg{
        transform: rotate(180deg);
    }
    .nav__catalog-submenu{
        display: block;
        width: 100%;
        padding: 0 20px 8px 20px;
    }
    .nav__catalog-submenu[hidden]{
        display: none;
    }
    .nav__catalog-submenu ul{
        display: grid;
        gap: 2px;
        margin: 0;
        padding: 0 0 0 12px;
    }
    .nav__catalog-submenu li{
        width: 100%;
        list-style: none;
    }
    .nav__catalog-submenu a{
        display: block;
        padding: 10px 14px;
        font-size: 15px !important;
        line-height: 1.4;
        letter-spacing: -0.02em;
        color: #8f8f8f;
        text-decoration: none;
        border-left: 1px solid #2f2f2f;
        transition: color 0.2s ease, border-color 0.2s ease;
    }
    .nav__catalog-submenu a:hover{
        color: #fff;
        border-left-color: #8bd537;
    }

    .nav__bottom{
        display: block;
    }
    .header__contacts{
        display: block;
        padding: 16px 24px 0 24px;
        position: relative;
    }
    .header__contacts-title{
        font-weight: 800;
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #6b6b6b;
        margin-bottom: 12px;
    }
    .header__contact{
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0 12px;
    }
    .header__contact:before{
        position: absolute;
        top: 0;
        left: 24px;
        content: "";
        width: calc(100% - 48px);
        height: 1px;
        background: #2a2a2a;
    }
    .header__contact:not(:last-child){
        margin-bottom: 16px;
    }
    .header__contact-ico{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        background: rgba(139, 213, 55, 0.1);
        border-radius: 100%;
        width: 39px;
        height: 39px;
    }
    .header__contact-text a{
        display: block;
        font-weight: 400;
        font-size: 15px;
        line-height: 1.5;
        color: #fff;
        text-decoration: none;
        transition: 0.2s;
    }
    .header__contact-text a:hover{
        opacity: 0.7;
    }
    .header__contact-text span{
        display: block;
        font-weight: 300;
        font-size: 12px;
        line-height: 1.5;
        color: #6b6b6b;
    }



    .header__social{
        display: block;
        padding: 24px;
        border-top: 0.53px solid #2a2a2a;
        margin-top: 100px;
    }
    .header__social-title{
        font-weight: 300;
        font-size: 12px;
        line-height: 1.5;
        color: #6b6b6b;
        margin-bottom: 12px;
    }
    .header__social-row{
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0 12px;
    }
    .header__social-item{
        border-radius: 100%;
        width: 39px;
        height: 39px;
        background: #2a2a2a;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .top{
        font-size: 11px;
    }

    .modalCart__container{
        max-width: 380px;
    }


    .main{
        height: 747px;
        padding: 83px 0 32px 0;
    }
    .main__bg{

        bottom: 0;
        right: 0;
        object-fit: cover;
        max-width: inherit;
        opacity: 1;
        display: none;
    }
    .main__bg.xs{
        top: 0;
        bottom: auto;
        display: block;
    }
    .main .container{
        justify-content: flex-start;
    }
    .main__bottom{
        margin-top: 40px;
    }
    h1, .main__title{
        font-size: 24px;
    }
    .main__title{
        max-width: 84%;
    }
    .main__title span{
        font-size: 28px;
        padding-top: 10px;
        display: block;
    }
    .main__title:not(:last-child) {
        margin-bottom: 20px;
    }
    .main__items{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px 0;
        margin-top: 38px;
    }
    .main__item p{
        font-size: 13px;
    }
    .main__btn{
        height: 47px;
        padding: 0 21px;
        font-size: 16px;
    }
    .main__btn svg{
        width: 16px;
        height: 16px;
    }


    .catalog__grid{
        gap: 12px;
    }
    .product-card{
        width: calc(50% - 6px);
    }
    .product-category-link{
        font-size: 9px;
    }
    .product-card__title{
        font-size: 12px;
        margin-bottom: 8px;
    }
    .product-card .product-card__rating{
        margin: 10px 0 8px 0;
        gap: 3px;
    }
    .product-card .product-card__rating img{
        margin-top: -2px;
    }
    .product-card__rating-star{
        width: 12px;
        height: 12px;
    }
    .product-card__rating-value,
    .product-card__rating-count{
        font-size: 10px;
    }
    .product-card__price-current{
        font-size: 13px;
    }
    .product-card__price-old{
        font-size: 10px;
    }
    .product-card__price-current:not(:last-child){
        margin: 0;
    }
    .product-card .primary-btn{
        height: 32px;
        font-size: 10px;
        margin-top: 7px;
    }
    .product-badge{
        width: 32px;
        height: 32px;
        font-size: 10px;
    }
    .product-card .product-badge--discount{
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    .contacts .title{
        text-align: center;
    }
    .contacts__wrapper{
        flex-direction: column;
        margin-top: 40px;
    }
    .contacts__form, .contacts__right{
        width: 100%;
    }
    .contacts__form-title{
        text-align: center;
    }
    .contacts__input-textarea{
        height: 123px;
    }
    .contacts__item{
        padding: 14px 20px;
    }
    .contacts__item:not(:last-child) {
        margin-bottom: 8px;
    }


    .js-reviews{
        margin-top: 48px;
    }
    .reviews__bottom{
        display: flex;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
    }

    .reviews__counter {
        display: flex;
        align-items: center;
        gap: 4px;
        font-weight: 800;
        font-size: 18px;
        line-height: 1.55556;
        color: #8bd537;
        white-space: nowrap;
    }

    .reviews__progress {
        position: relative;
        width: 100%;
        height: 4px;
        background: #b5f03e;
        border-radius: 999px;
        overflow: hidden;
    }

    .reviews__progress-fill {
        width: 0;
        height: 100%;
        background: #8bd537;
        border-radius: 999px;
        transition: width 0.3s ease;
    }


    .footer{
        padding: 48px 0;
    }
    .footer__container{
        flex-direction: column;
        gap: 32px 0;
    }
    .footer__container > div{
        width: 100%;
    }
    .footer__left{
        display: block;
    }
    .footer__logo{
        display: none;
    }
    .footer__logo.xs{
        font-family: 'RF Dewi';
        display: block;
        font-weight: 900;
        font-size: 20px;
        line-height: 1.5;
        letter-spacing: -0.03em;
        color: #fff;
        margin-bottom: 16px;
    }
    .footer__bottom{
        flex-direction: column;
        align-items: center;
        gap: 16px 0;
    }


    .product{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-bottom: 20px !important;
    }
    .product .product-badges{
        padding: 0;
    }
    .product .product-sale-badge{
        width: 32px;
        height: 32px;
        font-size: 10px;
    }
    .product__title{
        font-size: 24px;
    }
    .products__tabs-nav ul li a{
        font-size: 12px;
        padding: 16px;
    }
    .products__tabs-pane{
        padding: 16px;
    }
    .product-advantages__item{
        width: 100%;
    }
    .product-specs__row{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .product-reviews__top{
        flex-direction:  column;
        align-items: center;
        justify-content: center;
        gap: 24px 0;
    }
    .product-reviews__bars{
        width: 100%;
    }
    .product-reviews__btn{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    .product-reviews__btn .secondary-btn, .product-reviews__btn .primary-btn{
        width: 100%;
    }
    .modal-overlay{
        padding: 20px;
    }
    .modal-title__item{
        font-size: 24px;
        line-height: 1.2;
    }
    .modal-close{
        top: 24px;
        transform: none;
    }
    .page_def{
        padding: 64px 0;
    }
    .legal-page__hero{
        padding: 32px 24px;
        border-radius: 24px;
        margin-bottom: 24px;
    }
    .legal-page__hero::after{
        left: 24px;
        right: 24px;
    }
    .legal-page__eyebrow{
        margin-bottom: 18px;
    }
    .legal-page__title{
        font-size: 32px;
        margin-bottom: 16px;
    }
    .legal-page__lead{
        font-size: 16px;
        line-height: 1.6;
    }
    .legal-page__chips{
        gap: 8px;
        margin-top: 24px;
    }
    .legal-page__chip{
        min-height: 34px;
        padding: 7px 14px;
        font-size: 13px;
    }
    .legal-page__layout{
        gap: 16px;
    }
    .legal-page__body,
    .legal-page__aside{
        gap: 16px;
    }
    .legal-page__panel,
    .legal-page__card{
        padding: 22px 20px;
        border-radius: 22px;
    }
    .legal-page__card-title{
        font-size: 20px;
        margin-bottom: 16px;
    }
    .legal-page__section:not(:last-child){
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    .legal-page__section h2,
    .legal-content h2{
        font-size: 24px;
        margin-bottom: 14px;
    }
    .legal-page__section h3,
    .legal-content h3{
        font-size: 20px;
    }
    .legal-page__section p,
    .legal-content p,
    .legal-page__list li,
    .legal-content ul li,
    .legal-content ol li{
        font-size: 15px;
        line-height: 1.65;
    }
    .legal-page__contact-link{
        padding: 16px 18px;
    }
    .legal-page__contact-link strong{
        font-size: 16px;
    }
    .step{
        padding: 24px;
        align-items: flex-start;
        gap: 0 16px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    }
    .step__left{
        width: 56px;
        height: 56px;
    }
    .step__icon{
        width: 24px;
        height: 24px;
    }
    .step__icon svg , .step__icon img{
        width: 14px;
        height: 14px;
    }
    .step__text{
        font-size: 16px;
        padding: 8px 0 0 0;
    }
    .notice{
        align-items: flex-start;
        gap: 0 16px;
    }
    .notice__icon{
        width: 56px;
        height: 56px;
        background-size: contain;
    }
    .notice__text{
        padding: 8px 0 0 0;
        font-size: 16px;
    }
    .steps-container .primary-btn{
        margin-top: 26px;
    }

    .discounts__row-left{
        font-size: 16px;
    }
    .discounts__row-right{
        font-size: 24px;
    }
    .discounts__row{
        padding: 24px;
    }
    .discounts__row:not(:last-child){
        margin-bottom: 16px;
    }
    .discounts__text p {
        font-size: 16px;
        margin: 0 0 15px 0;
    }
    .discounts__text p:last-child{
        margin: 0;
    }
    .discounts__text{
        margin: 50px 0 36px 0;
    }
    .catalog__btn{
        width: 42px;
        justify-content: center;
        padding: 0;
    }
    .catalog__wrap{
        align-items: flex-start;
        gap: 12px;
    }
    .catalog__categories-dropdown{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 12;
    }
    .catalog__categories-toggle{
        display: inline-flex;
        width: auto;
        max-width: 100%;
        min-height: 41px;
        padding: 0 22px;
    }
    .catalog__categories{
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        width: 100%;
        display: block;
        background: #fff;
        border-radius: 16px;
        background: #FFF;
        box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.12);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        max-height: 250px;
        overflow: auto;
    }
    .catalog__categories-dropdown.is-open .catalog__categories{
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .catalog__categories li{
        width: 100%;
    }
    .catalog__categories li a{
        width: 100%;
        min-height: 45px;
        justify-content: flex-start;
        align-items: center;
        gap: 0 8px;
        padding: 12px 20px;
        border: none;
        border-bottom: 1px solid #E5E7EB;
        border-radius: 0;
        background: #fff;
        color: #6B7280;
        font-size: 14px;
        font-style: normal;
        font-weight: 300;
        text-align: left;
        position: relative;
    }
    .catalog__categories li:last-child a{
        border-bottom: none;
    }
    .catalog__categories li a:hover{
        background: #fff;
    }
    .catalog__categories li.active a{
        border-color: #E5E7EB;
        background: linear-gradient(90deg, rgba(139, 213, 55, 0.10) 0%, rgba(0, 0, 0, 0.00) 100%);
        color: #6B7280;
        padding-right: 48px;
    }
    .catalog__categories li.active a::after{
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #B6E34B;
    }
    .account-page{
        padding: 32px 0 64px 0;
    }
    .account__top{
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .account__top-right,
    .account-settings__footer,
    .account-order-card__actions{
        justify-content: stretch;
    }
    .account__top-right > *,
    .account-settings__footer > *,
    .account-order-card__actions > *{
        width: 100%;
        padding: 0 15px;
    }
    .account-profile,
    .account-settings__card,
    .account-order-card{
        padding: 24px 20px;
    }
    .account-profile__field,
    .account__info-item{
        width: 100%;
    }
    .account-favorites__remove{
        top: 12px;
        right: 12px;
        min-height: 30px;
        padding: 6px 12px;
        font-size: 11px;
    }
    .account__content .woocommerce-notices-wrapper{
        top: 96px;
        right: 16px;
        width: calc(100vw - 32px);
    }

    .checkout-toast-stack{
        top: 92px;
        right: 16px;
        width: calc(100vw - 32px);
    }
    .checkout-page .woocommerce-notices-wrapper{
        top: 96px;
        right: 16px;
        width: calc(100vw - 32px);
    }
    .checkout-page{
        padding: 36px 0 72px;
    }
    .checkout-page__head{
        margin-bottom: 24px;
    }
    .checkout-page__title{
        font-size: 26px;
    }
    .checkout-card,
    .checkout-place-order__inner{
        padding: 24px 20px;
    }
    .checkout-contact-grid__row--triple,
    .checkout-payment-methods{
        grid-template-columns: 1fr;
    }
    .checkout-card__title{
        font-size: 20px;
    }
    .checkout-summary__row--total strong{
        font-size: 24px;
    }
    .checkout-payment-method__label{
        min-height: 102px;
    }
    .checkout-payment-method__description{
        top: 83%;
        max-width: 90%;
        left: 50%;
        border-width: 1px;
    }
    .checkout-payment-method__description p{
        font-size: 10px;
    }
    .checkout-payment-method__input:checked ~ .checkout-payment-method__description{
        transform: translate(-50% , 0);
    }
    .checkout-payment-method:hover .checkout-payment-method__description, .checkout-payment-method:focus-within .checkout-payment-method__description{
        transform: translate(-50% , 0);
    }
    .checkout-summary__promo{
        flex-direction: column;
    }
    .checkout-summary__promo-btn{
        width: 100%;
    }
    .checkout-mobile-submit-wrap{
        display: block;
    }
    .checkout-summary__confirm{
        margin-top: 20px;
        padding-top: 20px;
    }

    .account-view-order{
        gap: 24px;
    }
    .account-view-order__summary .account-order-card__head{
        flex-direction: column;
        align-items: flex-start;
    }
    .account-view-order__summary .account-order-card__meta{
        grid-template-columns: 1fr;
    }
    .account-view-order__updates,
    .account-view-order .woocommerce-customer-details address{
        padding: 24px 20px;
    }
    .account-view-order .woocommerce-order-details__title,
    .account-view-order .woocommerce-customer-details .woocommerce-column__title,
    .account-view-order__section-title{
        font-size: 24px;
    }
    .account-view-order .woocommerce-order-details .shop_table.order_details{
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .account-view-order .woocommerce-order-details .shop_table.order_details thead th,
    .account-view-order .woocommerce-order-details .shop_table.order_details tbody td,
    .account-view-order .woocommerce-order-details .shop_table.order_details tfoot th,
    .account-view-order .woocommerce-order-details .shop_table.order_details tfoot td{
        padding: 18px 20px;
    }
    .account-view-order .woocommerce-order-details .shop_table.order_details tfoot tr:last-child td .woocommerce-Price-amount{
        font-size: 24px;
    }
    .account-view-order .order-again .primary-btn{
        width: 100%;
    }
    .account-view-order__address-row{
        gap: 12px;
    }
    .checkout-pay-order-card .account-order-card__head{
        flex-direction: column;
        align-items: flex-start;
    }
    .checkout-pay-order-card .account-order-card__meta{
        grid-template-columns: 1fr;
    }
    .checkout-page--pay .checkout-pay-layout .checkout-payment-methods{
        grid-template-columns: 1fr;
    }
    .checkout-page--pay .checkout-pay-layout .checkout-payment-method,
    .checkout-page--pay .checkout-pay-layout .checkout-payment-method:nth-child(odd),
    .checkout-page--pay .checkout-pay-layout .checkout-payment-method:nth-child(even),
    .checkout-page--pay .checkout-pay-layout .checkout-payment-method:only-child{
        grid-column: auto;
    }

    .modal-head{
        font-size: 14px;
    }
    .account__first{
        padding: 20px 24px;
    }
    .account__top-title{
        font-size: 23px;
    }
    .orderSuccess{
        padding-left: 24px;
        padding-right: 24px;
    }
    .search{
        padding: 70px 15px 0 15px;
    }
    .search__wrapper{
        padding: 10px;
        min-height: calc(100dvh - 160px);
        max-height: calc(100dvh - 160px);
    }
    .search__item{
        gap: 10px;
        padding: 12px 10px;
        border-radius: 16px;
        align-items: flex-start;
    }
    .search__item-title{
        font-size: 14px;
    }
    .search__item-image{
        width: 46px;
        height: auto;
        border-radius: 6px;
    }
    .search__item-category{
        font-size: 12px;
    }
    .search__item-price{
        font-size: 14px;
    }
    .search__item-desc{
        font-size: 12px;
    }
    .search__item-meta{
        gap: 6px;
    }
    .search__item-content{
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .error-page {
        padding: 32px 16px 60px;
        min-height: calc(100vh - 40px);
        align-items: flex-start;
    }
    .error-container { width: 100%; }
    .error-number {
        font-size: 120px;
        letter-spacing: -2px;
    }
    .error-heading {
        margin-top: 16px;
        font-size: 32px;
        max-width: 308px;
    }
    .error-desc {
        margin-top: 16px;
        font-size: 18px;
        max-width: 296px;
    }
    .icon-wrap {
        margin-top: 32px;
        width: 161px;
        height: 161px;
    }
    .icon-box { width: 161px; height: 161px; }
    .btn-group {
        flex-direction: column;
        gap: 16px;
        margin-top: 32px;
    }
    .btn-home {
        width: 100%;
        padding: 0;
    }
    .legal-page__title{
        font-size: 20px;
    }
    .legal-page__section h2, .legal-content h2{
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .orderSuccess__title { font-size: 26px; }
    .orderSuccess__card { padding: 20px; gap: 20px; }
    .orderSuccess__cardDate { font-size: 14px; }
    .orderSuccess__totalPrice { font-size: 26px; }
}
@media (max-width: 389px) {
    .main__title span{
        font-size: 23px;
    }
}
