@media (max-width: 1264px) {
    .container {
        margin-right: 32px;
        margin-left: 32px;
    }

    header {
        padding: 42px 0px 60px 0px;
    }

    .header-top-logo h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .header-top-logo p {
        font-size: 14px;
    }

    .header-top-time {
        font-size: 14px;
    }

    .header-top-phone a {
        font-size: 14px;
    }

    .headerOpenCatalog {
        font-size: 14px;
    }

    .headerOpenCatalog {
        padding: 12px 18px;
    }

    .header-top-last svg {
        width: 16px;
        height: 16px;
    }

    .header-top-last {
        gap: 7px;
    }

    .main-content-text span {
        left: 300px;
        white-space: nowrap;
    }
}

@media (max-width: 1000px) {
    .burgerHeader {
        display: block;
    }

    .header-top .header-top-logo,
    .header-top .header-top-time,
    .header-top .headerSearch,
    .header-top .headerOpenCatalog {
        display: none;
    }

    .header-top-last svg {
        width: 26px;
        height: 26px;
    }

    .header-top-phone a {
        font-size: 16px;
    }

    .header-bottom {
        display: none;
    }

    .only-mobile-catalog {
        display: block;
        width: 100%;
        padding: 20px;
    }

    .main-content-product {
        left: unset;
        right: 20px;
        transform: translateY(-50%);
    }

    .headerSearch {
        margin-bottom: 30px;
        background: linear-gradient(219deg, #000 0%, #1a6aff 100%), #000;
    }

    .headerSearch input {
        opacity: 0.9;
    }

    .headerSearch input::placeholder {
        color: #fff;
    }

    .rent-items {
        flex-direction: column;
        gap: 20px;
    }

    .rent-item {
        width: 100%;
        padding: 20px;
    }

    .rent-item .main-content-info {
        flex-wrap: wrap;
    }

    .rent-item .main-content-info button {
        width: 100%;
    }

    .rent-image-product {
        position: static;
        margin-right: 0;
        height: auto;
        width: 55%;
        display: block;
        margin-right: auto;
        margin-left: auto;

        top: unset;
        right: unset;
        transform: unset;
    }

    .rent-item-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 34px;
    }

    .rent-item-title {
        margin-bottom: 0;
        font-size: 25px;
    }
    
    .rent-item:first-child .rent-image-back {
        position: absolute;
        background-position: right;
        background-size: contain;
        background-repeat: repeat-x;
        height: 190px;
        width: 100%;
        right: 0px;
        z-index: 1;
    }

    .pay-items {
        flex-direction: column;
    }

    .pay-item {
        width: 100%;
        padding: 20px;
        height: 310px;
    }

    .pay-item h2 {
        font-size: 25px;
        margin-bottom: 20px;
    }

    .pay-item p {
        font-size: 14px;
        width: 90%;
    }

    .pay-item p br {
        display: none;
    }

    .pay-item img {
        transform-origin: bottom right;
        transform: scale(0.6);
    }

    .pay-item:first-child img {
        transform: scale(1);
    }

    .com {
        margin-bottom: 80px;
    }

    .footer-in {
        gap: 40px;
        flex-direction: column;
        justify-content: center;

        padding: 40px 10px;
    }

    .footer-in-logo h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .footer-in-logo p {
        font-size: 14px;
    }

    .footer-in-dev h4 {
        font-size: 14px;
    }

    .footer-in-dev {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .footer-in-last p {
        margin-bottom: 10px;
        font-size: 14px;
        text-align: center;
    }

    .footer-in-last a {
        font-size: 14px;
    }

    .footer-bottom-svg {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 594%;
    }

    .com-item {
        padding: 18px 20px;
    }

    .catalog-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; 
    }

    .product-pop-up__content {
        padding-top: 50px;
    }

    .close-product-pop-up {
        display: none;
    }

    .close-product-pop-up.mobile {
        display: flex;
        width: 100%;
        justify-content: flex-end;
        margin-bottom: 40px;
    }

    .pop-product-info__tilte {
        overflow-wrap: break-word;
        hyphens: auto; 
    }

    .pop-product-inner {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .pop-product-photos {
        width: 100%;
    }

    .pop-product-info {
        width: 100%;
    }

    .pop-product-info__tilte {
        margin-bottom: 20px;
        font-size: 35px;
    }

    .pop-product-info__summa {
        width: 100%;
        padding-top: 12px;
    }

    .pop-product-info button {
        width: 100%;
    }

    .product-pop-bottom {
        flex-direction: column;
        gap: 40px;
    }

    .product-pop-bottom__left {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .product-pop-calendar {
        width: 100%;
        margin-bottom: 30px;
    }

    .product-pop-sutki {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .product-pop-bottom__right {
        width: 100%;
    }

    .product-pop-bottom__right-buttons {
        width: 100%;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .product-pop-bottom__right-buttons button {
        width: 100%;
    }

    .product-pop-up .footer-bottom-svg {
        width: 507%;
    }
}

@media (max-width: 800px) {
    .header-top-last svg {
        width: 16px;
        height: 16px;
    }
    
    .header-top-last {
        gap: 9px;
    }

    .burgerHeader svg {
        width: 30px;
        height: 17px;
    }

    .main-content {
        padding: 20px;
    }

    .main-content-info {
        flex-wrap: wrap;
    }

    .main-content-info button {
        width: 100%;
    }

    .main-content-product {
        transform: unset;
        left: unset;
        right: unset;
        position: static;
        height: auto;
        width: 70%;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

    .main-content-text h2 {
        font-size: 28px;
    }

    .main-content-text {
        position: static;
        margin-bottom: 15px;
    }

    .main-content-info {
        margin-top: 15px;
        gap: 10px;
    }

    .main-content-text span {
        left: unset;
        font-size: 10px;
        padding: 10px;

        top: 50%;
        transform: translateY(-50%) rotate(-3deg);
        right: -20px;
    }

    .main-fichs {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 80px;
    }

    .main-fichs div {
        width: 100%;
    }

    .main-fichs div p {
        font-size: 14px;
    }

    .index-page-main {
        background-image: url(../images/main1Mobile.jpg) !important;
    }

    .main-content-info div {
        font-size: 14px;
        padding: 17px 21px;
    }

    .main-content-info span:first-of-type,
    .main-content-info span:last-of-type {
        font-size: 14px;
    }

    .rent {
        margin-bottom: 80px;
    }

    .rent-title {
        margin-bottom: 40px;
        font-size: 35px;
    }

    .rent-title::first-letter {
        text-transform: uppercase;
    }

    .rent-title span {
        display: none;
    }

    .rent-title svg {
        margin-left: 0px;
        width: 33%;
        /* margin-top: 10px; */
        transform: translateY(13px);
    }

    .rent-item-left {
        gap: 16px;
    }

    .etaps {
        margin-bottom: 80px;
    }

    .etaps-start {
        margin-bottom: 40px;
    }

    .etaps-start {
        gap: 20px;
        flex-direction: column;
        align-items: start;
    }

    .etaps-title {
        font-size: 35px;
    }

    .etaps-start div button svg {
        width: 31px;
        height: 31px;
    }

    .etaps-start div {
        gap: 5px;
    }

    .etap {
        padding: 20px;
        height: 310px;
    }

    .etap-pos {
        margin-bottom: 20px;
    }

    .etap h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .etap p {
        font-size: 14px;
    }

    .etap svg:first-of-type {
        bottom: 15px;
        transform: scale(0.8);
        transform-origin: center right; 
    }

    .pay {
        margin-bottom: 80px;
    }

    .pay-title {
        margin-bottom: 40px;
        font-size: 35px;
    }

    .com-start h2 {
        font-size: 35px;
        margin-bottom: 19px;
    }

    .com-start {
        flex-direction: column;
        align-items: start;
        margin-bottom: 40px;

        position: relative;
    }

    .com-start a {
        position: absolute;
        bottom: -10px;
        right: 0;
    }

    .com-start div {
        gap: 5px;
    }

    .com-start div button svg {
        width: 30px;
        height: 30px;
    }

    .form {
        margin-bottom: 80px;
    }

    .form-in img {
        display: none;
    }

    .form-img-mobile {
        display: block !important;
        width: 100% !important;
        height: 200px !important;
    }

    .form-in div {
        width: 100%;
    }

    .form-in h2 {
        font-size: 32px;
        margin-bottom: 9px;
    }

    .form-in h2 br {
        display: none;
    }

    .form-in p {
        margin-bottom: 40px;
        font-size: 14px;
    }

    .form-in form {
        margin-top: 40px;
    }

    .form-in h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .form-in input {
        font-size: 14px;
        width: 100% !important;
    }

    .form {
        padding: 20px 0px;
    }

    .faq {
        margin-bottom: 80px;
    }

    .faq-title {
        font-size: 35px;
        margin-bottom: 40px;
    }

    .faq-item {
        padding: 20px;
        border-radius: 20px;
    }

    .faq-item-start p {
        font-size: 16px;
    }

    .faq-content p {
        font-weight: 400;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: -0.04em;
        color: rgba(255, 255, 255, 0.4);
    }

    .faq-item svg {
        width: 40px;
        height: 40px;
    }

    .faq-items {
        position: relative;
        z-index: 4;
    }

    .faq-mob-svg {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }

    
    .catalog {
        margin-bottom: 80px;
    }

    .catalog-settings {
        flex-direction: column;
        gap: 4px;

        margin-bottom: 40px;
    }

    .select-selected svg {
        margin-left: 0;
    }

    .catalog-settings-side {
        width: 100%;
    }

    .custom-select {
        width: 100%;
        font-size: 10px;
    }

    .catalog-settings-side:last-child {
        flex-direction: column;
    }

    .catalog-settings-side {
        gap: 4px;
    }

    .catalog-settings-side:last-child .custom-select {
        width: 100%;
    }

    .catalog-settings-search {
        width: 100%;
    }

    .catalog-settings-search input {
        width: 100%;
    }

    .catalog-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .catalog-product-image {
        border-radius: 10px;
        margin-bottom: 15px;
        height: 153px;
    }

    .catalog-product-title {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: center;
    }

    .catalog-product-bottom,
    .catalog-product-bottom div {
        flex-direction: column;
    }

    .catalog-product-image__top {
        top: 10px;
        right: 10px;
    }

    .catalog-product-image__top svg {
        width: 20px;
        height: 20px;
    }

    .catalog-product-bottom__price {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .catalog-product-bottom div a,
    .catalog-product-bottom div button {
        padding: 15px 16px;
        font-size: 14px;
    }

    .cart-inner {
        width: calc(100% - 32px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-right: 16px;
        margin-left: 16px;

        padding: 40px 18px 18px 18px;
    }

    .cart-back svg {
        width: 23px;
        height: 18px;
    }

    .cart-inner-title {
        font-size: 33px;
        width: 100%;
    }

    .cart-etap-input__holder h3,
    .cart-insurance-start h3 {
        font-size: 14px;
    }

    .cart-item-name {
        font-size: 16px;
    }

    .cart-black {
        background: linear-gradient(180deg, #1453C8 0%, #000 25%);
        opacity: 0.6;
    }

    #likes .cart-inner {
        padding-top: 40px;
    }

    .not-found {
        padding: 60px 0px;
    }

    .not-found h1 {
        margin-bottom: 20px;
        font-size: 35px;
    }

    .not-found p {
        margin-bottom: 33px;
        font-weight: 400;
        font-size: 16px;
    }

    .not-found a {
        font-size: 16px;
    }

    .login-page {
        padding: 30px 15px;
        border-radius: 20px;

        margin: 70px auto;
    }

    .login-start {
        gap: 20px;
    }

    .login-start a:first-of-type:after {
        right: -10px;
    }

    .login-start a {
        font-size: 16px;
    }

    .login-input-holder input {
        font-size: 14px;
    }

    .login-recovery a {
        font-size: 14px;
    }

    .account-inner {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }

    .account-avatar {
        width: 60px;
        height: 60px;
        border-radius: 50px;
        max-width: 60px;
    }

    .change-avatar {
        position: static;
        top: unset;
        bottom: unset;
        transform: unset;
        left: unset;
        right: unset;
        background-color: transparent;
    }

    .account-avata-holder {
        display: flex;
        gap: 20px;
        align-items: center;
    }
    
    .account-data div {
        flex-direction: column;
        gap: 4px;
        align-items: start;
    }

    .account-top h2 {
        font-size: 35px;
    }

    .account-top div {
        position: absolute;
        top: 500px;
    }

    .account-top div button {
        font-size: 14px;
    }

    .orders-container {
        margin-bottom: 60px;
    }

    .orders-container {
        overflow-x: scroll;
    }

    .delivery-page-title {
        font-size: 24px;
    }

    .delivery-page {
        margin-bottom: 60px;
    }

    .calendar-popup {
        left: 50% !important;
    }
}