@media screen and (max-width: 1200px) {
    .product_tile {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 1050px) {
    .product_tile {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 670px) {
    .product_tile {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 600px) {
    .banner-blocks-container .block {
        gap: 10px;
    }
}

@media screen and (max-width: 600px) {
    .banner-blocks-container2 .block {
        gap: 10px;
    }
}

@media screen and (max-width: 1550px) {
    .banner-blocks-container .block {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 550px) {
    .banner-blocks-container .block {
        display: none;
    }
}


@media screen and (max-width: 570px) {
    .card2 {
        width: 180px;
    }
}

@media screen and (max-width: 1550px) {
    .banner-blocks-container2 .block {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 400px) {
    .banner-blocks-container2 .block {
        display: flex;
        grid-template-columns: auto auto;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;

    }
}

@media screen and (max-width: 1400px) {
    .slick-slide img {
        width: 850px;
        height: 510px;
    }
}

@media screen and (max-width: 1300px) {
    .slick-slide img {
        width: 800px;
        height: 460px;
    }
}

@media screen and (max-width: 950px) {
    .slick-slide img {
        width: 700px;
        height: 410px;
    }
}

@media screen and (max-width: 780px) {
    .slick-slide img {
        width: 570px;
        height: 310px;
    }
}

@media screen and (max-width: 650px) {
    .slick-slide img {
        width: 470px;
        height: 270px;
    }
}

@media screen and (max-width: 550px) {
    .slick-slide img {
        width: 400px;
        height: 220px;
    }
}

@media screen and (max-width: 480px) {
    .slick-slide img {
        width: 340px;
        height: 190px;
    }
}

@media screen and (max-width: 400px) {
    .slick-slide img {
        width: 300px;
        height: 190px;
    }
}

@media screen and (max-width: 540px) {
    .input_head label {
        width: 220px;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 540px) {
    .head .block {
        grid-template-columns: auto auto auto;
    }
}


@media screen and (max-width: 420px) {
    .input_head label {
        width: 190px;
    }
}

@media screen and (max-width: 380px) {
    .input_head label {
        width: 170px;
    }
}

@media screen and (max-width: 560px) {
    .tovars_ul {
        display: none
    }
}

@media screen and (max-width: 1500px) {
    .sort {
        gap: 500px;
    }
}

@media screen and (max-width: 1100px) {
    .sort {
        gap: 300px;
    }
}

@media screen and (max-width: 560px) {
    .sort {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 400px) {
    .sort {
        gap: 50px;
    }
}

@media screen and (max-width: 890px) {
    .contact .block {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 400px) {
    .product {
        padding: 5px;
    }
}

@media screen and (max-width: 700px) {
    .slider_product {
        height: 300px;
    }
}

@media screen and (max-width: 700px) {
    .product_photo_slider img {
        height: 70px;
        width: 70px;
        border-radius: 10px;
    }
}

@media screen and (max-width: 700px) {
    .product_photo_slider {
        border-bottom: 1px solid lightgray;
    }
}


@media screen and (max-width: 960px) {
    .product_row .block {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 700px) {
    .slider_wrapper2 {
        border-right: none;
    }
}



@media screen and (max-width: 500px) {
    .whatWeHave img {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 400px) {
    .head .block {
        grid-template-columns: auto 1fr max-content;
    }
}

@media screen and (max-width: 500px) {
    .product_name {
        font-size: 18px;
        padding: 15px;
    }
}

@media screen and (max-width: 500px) {
    .delivery h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 500px) {
    .delivery a {
        font-size: 17px;
        width: 375px;
    }
}

@media screen and (max-width: 610px) {
    .product_delivery_payment .delivery a {
        font-size: 25px;
        width: 530px;
    }
}

@media screen and (max-width: 500px) {
    .product_delivery_payment .delivery a {

        font-size: 17px;
        width: 375px;
    }
}

@media screen and (max-width: 1000px) {
    .product_delivery_payment .delivery_p1 {
        font-size: 17px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 800px) {
    .product_delivery_payment .delivery_p {
        font-size: 20px;
        max-width: 530px;
        padding-left: 50px;
        border: none;
        margin: 0;
    }
}

@media screen and (max-width: 500px) {
    .product_delivery_payment .delivery_p {
        font-size: 15px;
        max-width: 375px;
        padding-left: 5px;
        border: none;
        margin: 0;
    }
}

@media screen and (max-width: 500px) {
    .product_delivery_payment .delivery {
        border-right: none;
    }
}

@media screen and (max-width: 500px) {
    .delivery img {
        width: 50px;

    }
}

@media screen and (max-width: 1300px) {
    .product_delivery_payment .p_last {
        font-size: 17px;

    }
}

@media screen and (max-width: 1000px) {
    .product_delivery_payment .p_last {
        font-size: 17px;

    }
}

@media screen and (max-width: 800px) {
    .product_delivery_payment .p_last {
        font-size: 17px;

    }
}

@media screen and (max-width: 400px) {
    .product_delivery_payment .p_last {
        font-size: 17px;
        border-bottom: 1px solid lightgray;

    }
}

@media screen and (max-width: 1300px) {
    .product_delivery_payment .block {
        grid-template-columns: 1fr;

    }
}

@media screen and (max-width: 500px) {
    .product_description h2 {
        font-size: 17px;
        padding: 0;

    }
}

@media screen and (max-width: 500px) {
    .product_description p {
        font-size: 15px;


    }
}

@media screen and (max-width: 500px) {
    .product_delivery_payment h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 500px) {
    .product_delivery_payment img {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 500px) {
    .about_product .block {
        font-size: 20px;
    }
}

@media screen and (max-width: 700px) {
    .product_delivery_payment .paymant {
        width: 300px;
    }
}

@media screen and (max-width: 1000px) {
    .product_delivery_payment .paymant_photo {
        width: 500px;
    }
}

@media screen and (max-width: 500px) {
    .product_delivery_payment .paymant_photo {
        width: 300px;
    }
}

@media screen and (max-width: 1530px) {
    .registration_users {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1200px) {
    .register_content {
        width: 1000px;

    }
}

@media screen and (max-width: 1000px) {
    .register_content {
        width: 800px;

    }
}

@media screen and (max-width: 800px) {
    .register_content {
        width: 600px;

    }
}

@media screen and (max-width: 800px) {
    .register_label input {
        width: 400px;

    }
}

@media screen and (max-width: 600px) {
    .register_content {
        width: 400px;

    }
}

@media screen and (max-width: 600px) {
    .register_label input {
        width: 250px;

    }
}

@media screen and (max-width: 400px) {
    .register_content {
        width: 375px;

    }
}

@media screen and (max-width: 370px) {
    .register_content {
        width: 320px;

    }
}

@media screen and (max-width: 1530px) {
    .container {
        display: grid;
        grid-template-columns: 1fr;
        width: 1300px;

    }
}

@media screen and (max-width: 1520px) {
    .container .form-section {
        width: 1300px;

    }
}

@media screen and (max-width: 1450px) {
    .container {
        display: grid;
        grid-template-columns: 1fr;
        width: 1000px;

    }
}

@media screen and (max-width: 1450px) {
    .container .form-section {
        width: 1000px;

    }
}

@media screen and (max-width: 1100px) {
    .container {
        display: grid;
        grid-template-columns: 1fr;
        width: 700px;

    }
}

@media screen and (max-width: 1100px) {
    .container .form-section {
        width: 700px;

    }
}


@media screen and (max-width: 700px) {
    .container .form-section {
        width: 500px;

    }
}

@media screen and (max-width: 700px) {
    .container .form-section input {
        width: 400px;

    }
}

@media screen and (max-width: 1100px) {
    .container {
        display: grid;
        grid-template-columns: 1fr;
        width: 300px;
        justify-content: center;

    }
}

@media screen and (max-width: 500px) {
    .container .form-section {
        width: 350px;

    }
}

@media screen and (max-width: 500px) {
    .container .form-section input {
        width: 300px;

    }
}

@media screen and (max-width: 800px) {
    .reset-box_password {
        display: flex;
        flex-wrap: wrap
    }
}


@media screen and (max-width: 750px) {
    .modal-basket {
        width: 450px;


    }
}

@media screen and (max-width: 450px) {
    .modal-basket {
        width: 400px;


    }
}

@media screen and (max-width: 390px) {
    .modal-basket {
        width: 350px;
        padding: 10px;

    }
}

@media screen and (max-width: 390px) {
    .delete-btn {
        font-size: 25px;
    }
}

@media screen and (max-width: 390px) {
    .header_card_product .name-wrapepr {
        font-size: 13px;
        width: 100px;
    }
}

@media screen and (max-width: 390px) {
    .qty-btn {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 750px) {
    .name-wrapepr {
        display: -webkit-box;
        -webkit-line-clamp: var(--line-clamp, 2);
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media screen and (max-width: 500px) {
    .header_card_product p {
        width: 70px;
        font-size: 12px;
    }
}

@media screen and (max-width: 1500px) {
    .header_card_product .value-money {
        width: 20px;

    }
}

@media screen and (max-width: 750px) {
    .header_card_product {
        gap: 0px;


    }
}

@media screen and (max-width: 500px) {
    .header_card_product {
        gap: 0px;
        grid-template-columns: 30px 70px 1fr 89px 100px;

    }
}

@media screen and (max-width: 500px) {
    .price-wrapper .price {
        font-size: 15px;

    }
}

@media screen and (max-width: 650px) {
    .basket_pdoruct_photo {
        width: 60px;
        height: 60px;
    }
}


@media screen and (max-width: 650px) {
    .header_card_product .price_basket {
        font-size: 18px;

    }
}


@media screen and (max-width: 1300px) {
    .text-slider {
        margin-left: 0;

    }
}

@media screen and (max-width: 800px) {
    .marquee {
        max-width: 320px;

    }
}

@media screen and (max-width: 630px) {
    .marquee {
        max-width: 220px;

    }
}

@media screen and (max-width: 476px) {
    .marquee {
        max-width: 180px;

    }
}

@media screen and (max-width: 380px) {
    .marquee {
        max-width: 120px;
        font-size: 18px;

    }
}

@media screen and (max-width: 500px) {
    .marquee span {
        font-size: 18px;

    }
}

@media screen and (max-width: 500px) {
    .whatWeHave_kans {
        font-size: 18px;

    }
}

@media screen and (max-width: 500px) {
    .whatWeHave a {
        margin-right: 7px;

    }
}

@media screen and (max-width: 450px) {
    .contact .card3 p {
        flex-direction: column;
        align-items: normal;
    }
}

@media screen and (max-width: 1000px) {
    .logo_end iframe {
        width: 330px;
        margin: auto;
    }
}

@media screen and (max-width: 400px) {
    .logo_end iframe {
        width: 270px;
        height: 200px;
    }
}

@media screen and (max-width: 600px) {
    .logo_end div {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .logo_end img {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 500px) {
    .characteristics h2 {
        font-size: 23px;
    }
}

@media screen and (max-width: 1270px) {
    .ored_adres {
        width: 530px;
    }
}

@media screen and (max-width: 900px) {
    .ored_adres {
        width: 380px;
    }
}

@media screen and (max-width: 1270px) {
    .label_chekount input {
        width: 200px;
    }
}

@media screen and (max-width: 900px) {
    .label_chekount input {
        width: 120px;
        gap: 0px;
    }
}

@media screen and (max-width: 900px) {
    .label_chekount form {
        gap: 0px;
    }
}

@media screen and (max-width: 1160px) {
    .adres {
        grid-template-columns: 1fr;
        justify-items: normal;
    }
}

@media screen and (max-width: 750px) {
    .chekount {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 750px) {
    .ored_adres {
        width: 100%;
    }
}

@media screen and (max-width: 750px) {
    .label_chekount input {
        width: 100%;
    }
}

@media screen and (max-width: 750px) {
    .label_chekount form {
        gap: 20px;
    }
}

@media screen and (max-width: 420px) {
    .label_adres input {
        width: 250px;
    }
}

@media screen and (max-width: 475px) {
    .product .price {
        font-size: 16px;
    }
}

@media screen and (max-width: 390px) {
    .quantity-wrapper {
        margin-right: 29px;
    }
}

@media screen and (max-width: 365px) {
    .icons_head i {
        padding: 5px;
    }
}

@media screen and (max-width: 350px) {
    .icons_head i {
        padding: 3px;
    }
}

@media screen and (max-width: 345px) {
    .icons_head i {
        padding: 1px;
    }
}

@media screen and (max-width: 1400px) {
    .categories-menu {
        max-height: 550px;
    }
}

@media screen and (max-width: 1200px) {
    .categories-menu {
        max-height: 500px;
    }
}

@media screen and (max-width: 1000px) {
    .categories-menu {
        max-height: 450px;
    }
}

@media screen and (max-width: 500px) {
    .categories-menu {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .thank-you-container {
        padding: 40px 15px;
        margin: 20px 10px;
    }

    .thank-you-title {
        font-size: 28px;
    }

    .thank-you-message {
        font-size: 16px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 1000px) {
    .product-suggestions {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 500px) {
    .product-suggestions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sort-container {
        padding: 15px;
    }

    #sortForm select {
        padding: 10px 14px;
    }
}

@media (max-width: 768px) {
    .about_product .block {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 0 15px;
    }

    .about_product a {
        width: 250px;
        text-align: center;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    .about_product a::before {
        position: static;
        transform: none;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .about_product {
        margin: 20px 0;
    }

    .about_product a {
        width: 220px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    .benefit-card {
        width: 300px;
    }
}

@media (max-width: 1250px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 60px 0;
    }

    .benefits-header h2 {
        font-size: 28px;
    }

    .benefits-header p {
        font-size: 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .benefit-icon img {
        width: 50px;
        height: 50px;
    }

    .benefit-content h3 {
        font-size: 18px;
    }

    .benefit-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .benefits-section {
        padding: 40px 0;
    }

    .benefits-header {
        margin-bottom: 40px;
    }

    .benefits-header h2 {
        font-size: 24px;
    }

    .benefit-card {
        padding: 20px 15px;
    }
}

@media (max-width: 968px) {
    .logo-map-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .logo-card,
    .map-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .logo-map-section {
        padding: 60px 0;
    }

    .logo-info h3 {
        font-size: 24px;
    }

    .map-header h3 {
        font-size: 22px;
    }

    .main-logo {
        width: 120px;
        height: 120px;
    }

    .logo-overlay {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .logo-map-section {
        padding: 40px 0;
    }

    .logo-card,
    .map-card {
        padding: 25px 20px;
    }

    .logo-info h3 {
        font-size: 20px;
    }

    .main-logo {
        width: 100px;
        height: 100px;
    }

    .logo-overlay {
        width: 120px;
        height: 120px;
    }

    .feature-tag {
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 968px) {
    .header-container {
        gap: 20px;
        padding: 0 15px;
    }

    .logo-text {
        display: none;
    }

    .header-search {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-logo {
        order: 1;
    }

    .header-actions {
        order: 2;
        gap: 15px;
    }

    .header-search {
        order: 3;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .action-text {
        display: none;
    }

    .action-btn {
        padding: 8px 12px;
    }

    .logo-wrapper {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }

    .search-container {
        padding: 6px 12px;
    }

    .search-btn {
        width: 35px;
        height: 35px;
    }

    .action-btn {
        padding: 6px 10px;
    }

    .logo-wrapper {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .whatWeHave {
        margin-top: 130px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        width: 250px;
        right: -60px;
    }

    .logout-modal-content {
        margin: 20px;
        padding: 25px;
    }

    .logout-modal-buttons {
        flex-direction: column;
    }

    .logout-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .category-card {
        padding: 12px 20px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
    }

    .category-icon img {
        width: 32px;
        height: 32px;
    }

    .category-link {
        font-size: 1.3rem;
    }

    .category-description p {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(255, 255, 255, 0.1);
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .cart-modal-container {
        width: 100%;
        height: 100%;
    }

    .cart-item {
        grid-template-columns: 75px 1fr;
    }

    .cart-item-controls {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {

    .arrow_l1,
    .arrow_r1 {
        width: 40px;
        height: 40px;
    }

    .arrow_l1 {
        left: 30px;
    }

    .arrow_r1 {
        right: 30px;
    }

    .arrow_l1 i,
    .arrow_r1 i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    .arrow_l1,
    .arrow_r1 {
        width: 35px;
        height: 35px;
    }

    .arrow_l1 {
        left: 23px;
    }

    .arrow_r1 {
        right: 23px;
    }

    .arrow_l1 i,
    .arrow_r1 i {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .old-price {
        font-size: 12px;
    }

    .new-price {
        font-size: 16px;
    }

    .new-price.discounted {
        font-size: 18px;
    }

    .discount-badge {
        font-size: 10px;
        padding: 1px 4px;
    }
}

@media (max-width: 960px) {
    .product_row_about_buy {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .pagination {
        gap: 5px;
    }

    .pagination a,
    .pagination-ellipsis {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .pagination a,
    .pagination-ellipsis {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .phone-prefix {
        left: 10px;
        padding: 8px 10px;
        font-size: 14px;
        height: 38px;
    }
}

@media (max-width: 768px) {
    .phone-prefix {
        padding: 8px 10px;
        font-size: 14px;
        height: 38px;
        left: revert-layer;
    }

    #phone {
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 1100px) {
    .product .new-price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logout-modal-content {
        padding: 20px;
        margin: 0 10px;
    }

    .logout-modal-buttons {
        flex-direction: column;
    }

    .logout-btn {
        width: 100%;
    }
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .contact-card,
    .social-card {
        padding: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .contact-header h3 {
        font-size: 20px;
    }

    .phone_number,
    .contact-value {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 25px;
        margin: 20px;
        width: auto;
    }

    .modal-title {
        font-size: 1.7rem;
    }

    .social-buttons {
        flex-direction: column;
    }

    .phone-input-container,
    .password-container {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .about-content {
        font-size: 16px;
    }
}

@media (max-width: 650px) {
    .section-header h2 {
        display: -webkit-box;
        -webkit-line-clamp: var(--line-clamp, 2);
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 768px) {

    .features-grid,
    .characteristics-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .about-content {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        padding: 20px;
    }

    .product-title {
        font-size: 2rem;
    }

    .current-price {
        font-size: 2.2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product_tile {
        gap: 20px;
        padding: 20px 0;
    }

    .product {
        padding: 15px;
        border-radius: 16px;
    }

    .mini_img {
        height: 180px;
        margin-bottom: 15px;
    }

    .product_info {
        font-size: 14px;
        min-height: 40px;
    }

    .new-price {
        font-size: 18px;
    }

    .buy-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product_tile {
        gap: 15px;
    }

    .price_buy {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .buy-btn {
        width: 100%;
    }
}

@media (max-width: 968px) {
    .product_row .block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slider_wrapper2 {
        padding: 20px;
    }

    .slider_product {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .product_name {
        font-size: 2rem;
    }

    .about_product .block {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .slider_product {
        height: 250px;
    }

    .new-price {
        font-size: 1.5rem;
    }

    .characteristics-grid {
        grid-template-columns: 1fr;
    }

    .arrow_l1,
    .arrow_r1 {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .product_name {
        font-size: 1.5rem;
    }

    .slider_product {
        height: 200px;
    }

    .product_photo_slider img {
        width: 60px;
        height: 60px;
    }

    .buy-btn {
        width: 100%;
        padding: 14px 24px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .modal-image {
        max-width: 98%;
        max-height: 98%;
    }

    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .modal-prev {
        left: 15px;
    }

    .modal-next {
        right: 15px;
    }

    .close-modal {
        top: 15px;
        right: 20px;
        font-size: 35px;
        width: 50px;
        height: 50px;
    }

    .modal-counter {
        bottom: 20px;
        font-size: 16px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 45px;
        height: 45px;
    }
}