@media screen and (max-width: 1300px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    .similar-auction-grid { 
        grid-template-columns: repeat(3, 300px);
        justify-content: center;
    }
}

@media screen and (max-width: 1200px) {
    .slide-auction-card { width: 300px !important; }

    .buy-sell-item { padding-left: 20px; }
    .buy-sell-item > p:first-child {
        font-size: 14px;
        line-height: 19px;
    }

    .buy-sell-item > p:nth-child(2) {
        font-size: 20px;
        line-height: 22px;
    }

    .learn-more {
        font-size: 12px;
        width: 30px;
        height: 30px;
        right: 30px;
    }
    .learn-more:hover { right: 30px; }
} 

@media screen and (max-width: 1100px) {
    .top-header { gap: 20px; justify-content: space-between; }
    .top-menu { gap: 20px; margin-left: unset; }
    .auth-link { margin-left: auto; }
    .menu { gap: 20px; height: 25px; }
    .menu-item > a {
        font-size: 12px;
        line-height: 16px;
    }
    .search-form input { width: 200px; }
    .participate { gap: 15px; } 

    .experts-list { 
        grid-template-columns: repeat(2, 320px);
        justify-content: center;
    }
}

@media screen and (max-width: 1023px) {
    .top-header, .menu, .header-content .search-form  { display: none; }
    .header-content { gap: 20px; }
    .mobile-user, #menu-toggle-button { display: flex; }
    .main-banner-container { width: calc(100% - 270px); }
    .single-news { 
        padding: 20px;
        width: 250px;
    }
    .single-news > p { margin-bottom: 13px; }

    .catalogue-slide {  width: 500px !important; }
    .footer-content { padding: 0; }
    .buy-item-title, .about-us-title { padding-left: 20px; }

    .login-register { min-height: 450px; }
    .login-form { width: 350px; }
    .login-content {
        padding: 0;
        justify-content: center;
    }
    .registration-btn a {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .product {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }

    .product-details, .product-info {  width: 573px; }
    .product-details .faq { display: none; }
    .product-info .faq { display: block; }
    .loupe { display: none !important; }
    .product-images { margin-bottom: 0; }
    .participate { justify-content: unset; }

    .sell-prompt > div { padding: 40px 30px 0; }

    .sell-no-auth div p:first-child {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    .sell-no-auth div p:last-child {
        font-size: 16px;
        line-height: 20px;
    }

    .cart-message { right: 30px; }
    .cart-message.active { top: 90px; }

    .cart-container { padding-top: 25px; }

    .products-in-cart, .personal-info,
    .delivery-form, .pay-content { width: 60%; }

    .bill-rules { width: 38.1%; }
    .bill { padding: 20px; }

    .product-in-cart > img:first-child,
    .lot-card > img:first-child, .order-card > img:first-child {
        width: 150px;
        height: 110px;
    }

    .product-in-cart { gap: 15px; }
    .product-in-cart-desc { width: calc(100% - 165px); }

    .info-blocks {
        background: transparent;
        border-radius: 0;
        flex-direction: column;
        gap: 10px;
        margin-left: 15px;
        padding: 0;
    }

    .contact-block {
        background: white;
        border-radius: 5px;
        padding: 23px 35px;
        position: relative;
        width: 100%;
    }

    .contact-block > div:first-child {
        position: absolute;
        top: 50%;
        left: -15px;
        transform: translateY(-50%);
    }

    .lot-card, .order-card {
        padding: 20px 5px 20px 20px;
        gap: 15px;
    }

    .lot-card-info, .order-info { width: calc(100% - 165px); }

    .lot-bid, .in-detail, .fave-card .buy { right: 20px; }
    .in-detail, .inner-order-card .in-detail { width: 100px;}

    .fave-card .buy {
        border-radius: 50%;
        font-size: 12px;
        width: 30px;
        height: 30px;
    }
    .fave-card .buy span { display: none; }
    .fave-card .buy i { display: flex; }

    .lot-details, .order-details { gap: 10px; }

    .my-orders .info-blocks {
        gap: 10px;
        margin-left: 15px;
    }
    
    .sales-card .delete img { display: flex; } 
    .sales-card .delete span { display: none; } 

    .expert-preview {
        background: var(--primary-color);
        color: white;
    }

    .expert-preview .name { -webkit-text-stroke-color: white; }
    .expert-preview .status, .explore-more div { color: white; }

    .explore-more {
        position: unset;
        gap: 20px;
        margin-right: 0;
    }

    .explore-more span { display: flex; }
}

@media screen and (max-width: 1000px) {
    .category-grid { grid-template-columns: repeat(1, 300px); }
    .similar-auction-grid { grid-template-columns: repeat(2, 300px); }
}

@media screen and (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 85px;
    }

    .footer-logo { margin-bottom: 0; }
    .footer-content > div:first-child .creator { display: none; }
    .footer-content > .creator { display: flex; }

    .lot-details p span:first-child,.lot-details p span:last-child,
    .order-details p span:first-child, .order-details p span:last-child {
        font-size: 10px;
        line-height: 13px;
    }

    .lot-card, .order-card { min-height: 195px; }
    .inner-sales-card { min-height: unset; }

    .lot-card.finished-auction { min-height: 215px; }

    .lot-bid { top: unset; left: 130px; }
    .fave-card .buy { bottom: 20px; left: 130px; }
    .in-detail { left: 20px; }

    .lot-card-info .title { margin-bottom: 10px; }
    .lot-card-info .lot-num {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 12px;
    }

    .lot-card.ongoing .lot-bid, .lot-card.complete .lot-bid {
        left: 20px;
    }
}

@media screen and (max-width: 767px) {
    .slide-title { margin-bottom: 20px; }
    .single-news { display: none; }
    .main-banner-container { width: 100%; }
    .main-slide { height: 330px !important; }

    .prev-arrow, .next-arrow {
        background: var(--primary-color);
        color: white;
        font-size: 12px;
        width: 30px;
        height: 30px;
    }

    .prev-arrow { left: 15px; }
    .next-arrow { right: 15px; }

    .buy-sell-info {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }
    .buy-sell-item { width: 100%; }

    .login-register { 
        background-image: url('../images/register-bg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        flex-direction: column;
    }

    .login-register::before {
        background-color: black;
        opacity: 0.39;
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
    }

    .login-register * {
        position: relative;
        z-index: 2;
    }

    .login-content { 
        background: transparent;
        width: 100%;
        padding: 50px 20px 0;
    }

    .registration-btn {
        background-image: none;
        width: 100%;
        min-height: 100px;
        padding: 0 20px;
    }

    .registration-btn::before { 
        content: none;
    }
    
    .registration-btn a { width: 350px; }
    .forgot-password, .login-form > p:first-of-type { color: white; }

    .filter { width: 265px; }
    .category-grid-cont { width: calc(100% - 285px); }
    .category-grid { grid-template-columns: repeat(1, 1fr); }


    .sell-container { padding: 40px 30px 0; }

    .sell-prompt > div {
        background-image: url('../images/sell-decor.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        width: 100%;
        min-height: 350px;
        height: unset;
        padding: 40px 30px;
    }

    .sell-prompt > div::before {
        background-color: black;
        opacity: 0.39;
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
    }

    .sell-prompt > div * {
        position: relative;
        z-index: 2;
    }

    .sell-prompt > div a { background: var(--primary-color); }
    .sell-prompt > img, .sell-no-auth > img:first-child,
    .sell-auth > img:first-child, .register-content > img:first-child { display: none; }
    .sell-no-auth div p:last-child { margin-bottom: 50px; }

    .sell-form { 
        margin-bottom: 80px;
        width: 100%; 
    }

    .register-form, .account-content { width: 100%; }

    .account-nav { display: none; }
    .mobile-account-nav { 
        background: transparent;
        display: flex;
        padding: 0;
        width: 100%;
    }
    
    .mobile-account-nav a {
        filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.1));
    }

    .mob-acc-heading {
        background: rgba(255, 255, 255, 0.76);
        border-radius: 5px;
        color: unset;
        text-decoration: none;
        display: flex;
        font: 14px 'Helvetica';
        line-height: 18px;
        margin-bottom: 15px;
        padding: 0 20px;
        height: 50px;
        filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.05));
    }

    .mob-acc-heading div {
        background: var(--primary-color);
        border-radius: 50%;
        color: white;
        font-size: 10px;
        width: 30px;
        height: 30px;
    }

    .account-form {
        background: transparent;
        padding: 0 !important;
    }
    
    .account-form:nth-of-type(1) .form-title:first-of-type { display: none; }
    .account-form:nth-of-type(1) { padding-bottom: 30px !important; } 

    .cart-details, .delivery-content { flex-direction: column; }

    .products-in-cart, .bill-rules, .personal-info,
    .delivery-form, .pay-content { width: 100%; }

    .my-auctions-msg { margin: 40px 0 0 0; }

    .address-container > p:first-child, .subscription-form > p:first-child { display: none; }

    .address-container, #newAddressForm {
        background: transparent;
        padding: 0;
        margin-bottom: 30px;
    }

    .address-card {
        background: white;
        border: none;
    }

    .new-address-btn {
        background: var(--primary-color);
        color: white;
        width: 100%;
        margin-left: 0;
    }

    .subscription-form { padding: 25px 20px 40px; }

    .subscription-form > p:last-of-type {
        font-size: 12px;
        line-height: 16px;
    }

    .edit-city select, .edit-address {
        margin-bottom: 10px;
    }

    .address-book-form textarea { margin-bottom: 20px; }

    .experts-list {  grid-template-columns: repeat(2, calc((100vw - 78px) / 2));}

    .current-expert {
        flex-direction: column;
    }
    
    .current-expert > img { margin: 0 auto; }
    .expert-description { width: 100%; }
}

@media screen and (max-width: 650px) {
    .catalogue-filter-heading { display: flex; }
    .catalogue-content { 
        flex-direction: column; 
        gap: 0; 
        position: relative;
    }

    .filter {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
        padding: 0 30px;
        min-height: unset;
        position: absolute;
        z-index: 3;
        filter: drop-shadow(0px 3px 19px rgba(0, 0, 0, 0.16));
    }

    .filter.show {  max-height: 15000px; }
    .filter > p:first-child { margin-top: 30px; }
    .reset { margin-bottom: 30px;}

    .category-grid-cont { width: 100%; }
    .category-grid, .similar-auction-grid { grid-template-columns: repeat(2, calc((100vw - 80px) / 2)); }
}

@media screen and (max-width: 633px) {
    .product-details, .product-info {  width: 100%; }
}

@media screen and (max-width: 600px) {
    .Container { padding: 0 20px; }
    .auctions-prev { padding: 40px 20px 80px; }
    .main-banner-container { display: none; }
    .mobile-banner-swiper { display: block !important; }
    .main-banner { margin: 30px 0; }
    .main-slide {
        width: 320px !important;
        height: 165px !important;
    }
    .main-slide:last-child { margin-right: 20px !important;}

    .banner-info {
        width: 190px;
        padding: 5px 5px 5px 10px;
        bottom: 17px;
        left: 19px;
    }

    .banner-auth { font-size: 10px; line-height: 13px; }
    .banner-desc { font-size: 13px; line-height: 15px; margin: 0; }
    .banner-info a, .catalogue-info a { 
        display: flex; 
        justify-content: flex-end; 
        font-size: 8px;
        line-height: 11px;
    }

    .banner-container {
        background: var(--page-bg);
        padding: 0 0 0 20px;
    }

    .ongoing-auction-swiper, .planned-auction-swiper {
        padding-bottom: 40px !important;
        margin-bottom: 20px;
    }
    
    .slide-auction-card {
        padding: 12px 14px 20px;
        width: 165px !important;
    }
    .auction-card { padding: 12px 14px 20px; }

    .lot-num {
        font-size: 10px;
        line-height: 13px;
        margin-bottom: 9px;
    }

    .lot-img-cont { height: 100px; margin-bottom: 12px; }
    .lot-info { top: 10px; left: 10px; }
    .lot-info .toggle-button {
        width: 20px;
        height: 20px;
    }

    .hidden-info { width: 115px; }
    .lot-bid-num {
        font-size: 8px;
        line-height: 11px;
        width: 45px;
        height: 25px;
        left: 10px;
        bottom: 10px;
    }

    .add-to-fave {
        right: 10px;
        bottom: 10px;
    }

    .lot-name {
        font-size: 12px;
        line-height : 16px;
        height: 64px;
    }

    .time-left { gap: 10px; margin-bottom: 20px; }
    .time-left > span { font-size: 8px; line-height: 11px; }
    .time-left p span:first-child { font-size: 8px; line-height: 11px; }
    .time-left p span:last-child { font-size: 6px; line-height: 9px; padding-top: 2px; }
    .bid-link { 
        font-size: 10px;
        line-height: 13px;
        width: 100px; 
        height: 25px; 
    }
    
    .buy-sell-item { height: 100px; }
    .buy-sell-item > p:first-child {
        font-size: 11px;
        line-height: 13px;
    }
    .buy-sell-item > p:nth-child(2) {
        font-size: 15px;
        line-height: 19px;
    }

    .catalogue-slide {
        width: 320px !important;
        height: 200px !important;
    }

    .catalogue-info {
        width: 280px;
        left: 20px;
        padding: 10px 15px;
    }

    .catalogue-name { 
        margin-bottom: 5px;
        font-size: 8px; 
        line-height: 11px; 
    }
    .catalogue-desc { margin-bottom: 3px; }

    .subscription-container { padding: 50px 20px;}
    .subs-title, .subs-title1 {
        font-size: 14px;
        line-height: 19px;
    }
    .subs-title1 { margin-bottom: 45px; }
    .subs-form { grid-template-columns: repeat(1, 1fr); }
    .subs-form-cont button { width: 100%; }
    .footer-container { padding: 60px 20px 120px; }

    .buy-item-head, .about-us-head { height: 150px; }
    .buy-item-title { top: 80px; }
    .buy-item-title p:first-child {
        font-size: 16px;
        line-height: 22px;
    }
    .buy-item-title p:last-child {
        font-size: 22px;
        line-height: 24px;
    }
    .buy-item-text { margin-bottom: 40px; }
    .about-us-cont { padding: 30px 20px 50px;}
    
    .catalogue-container { padding: 40px 20px 100px; }  
    .category-grid, .similar-auction-grid {
        grid-template-columns: repeat(2, calc((100vw - 60px) / 2));
    }

    .product-container { padding: 50px 20px 40px; }
    .sell-container { padding: 40px 20px 0; }
    .product-images { flex-direction: column-reverse; }

    .product-swiper { 
        width: 100%;
        height: 400px;
    }

    .product-img-buttons {
        flex-direction: row;
        justify-content: center;
    }
    .product-img-button { width: calc((100% - 40px) / 5); }

    .additional-info { 
        padding: 20px 30px; 
        margin-bottom: 30px;
    }

    .additional-info p:first-child {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .additional-info p:nth-of-type(2) {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 15px;
    }

    .additional-info a span, .expert-preview .status {
        font-size: 12px;
        line-height: 16px;
    }

    .registartion-container, .cabinet-container { padding: 40px 20px 100px; }
    .cart-container { padding: 25px 20px 100px; }

    .experts-container { padding: 40px 20px 100px; }
    .experts-head { height: 150px; }

    .expert-preview .name {
        font-size: 14px;
        line-height: 19px;
    }

    .explore-more { gap: 10px; }
    .explore-more div {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 450px) {
    .category-grid, .similar-auction-grid { grid-template-columns: repeat(2, 165px);}

    .product-swiper { height: 300px; }
    .product-img-button { height: 60px; }

    .product-info .name,  .faq > p:first-child {
        font-size: 16px;
        line-height: 22px;
    }

    .bid-time {
        width: 70px;
        height: 70px;
    }

    .bid-time p {
        font-size: 14px;
        line-height: 19px;
        width: 55px;
        height: 55px;
    }

    .choose-bid { max-width: calc(100% - 85px); }
    .choose-bid-form input { width: 61.54%; }
    .choose-bid-form button { width: 19.23%; }

    .faq-items { padding-left: 0; }
    .question { padding: 15px 0; }

    .question p {
        font-size: 12px;
        line-height: 16px;
    }

    .sell-prompt > div {
        font-size: 12px;
        line-height: 16px;
        padding: 30px 20px; 
        min-height: 250px;
    }

    .sell-prompt > div p { margin-bottom: 15px; }
    .sell-prompt > div p:first-child {
        -webkit-text-stroke: 0.3px white;
        font-size: 14px;
        line-height: 19px;
        margin-bottom: 20px;
    }

    .page-title {
        font-size: 20px;
        line-height: 24px;
    }

    .sell-form label, .person-type label {
        font-size: 10px;
        line-height: 13px;
    }

    .sell-type, .person-type { width: 50%; }
    .form-title {
        -webkit-text-stroke: 0.3px var(--text-color);
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 10px;
    }

    .selling-category select, #lot-price, #short-desc {
        margin-bottom: 15px;
    }

    .file-upload-container { padding: 20px; }

    .file-item {
        gap: 15px;
        justify-content: unset;
    }

    .file-item > img:first-child {
        width: 100px;
        height: 50px;
    }

    .file-item > p:first-of-type {  width: calc(100% - 147px); }
    .file-item::before {
        left: 115px;
        width: calc(100% - 115px);
    }

    .sell-btn, .fullname-register > div, .register-btn,
    .edit-btn { width: 100%; }

    .fullname-register {
        flex-direction: column;
        gap: 10px;
    }

    .phone-input, .register-city select, .register-address,
    .identification-num, .passport-type select, .passport-issue,
    .register-pass { margin-bottom: 15px; }

    .cabinet-title {
        font-size: 14px;
        line-height: 19px;
    }

    .purchase-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }

    .cart-message {
        left: 20px;
        right: 20px;
        transform: none;
        width: unset;
    }

    #close-message {
        top: 15px;
        right: 15px;
    }

    .added-preview { width: 100%;  padding: 20px; }

    .cart-heading {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .cart-heading div {
        font-size: 14px;
        width: 30px;
        height: 30px;
    }

    .product-in-cart { padding: 15px; }

    .product-in-cart > img:first-child,
    .lot-card > img:first-child, .order-card > img:first-child {
        width: 100px;
        height: 80px;
    }

    .product-in-cart-desc .title {
        font-size: 11px;
        line-height: 15px;
        height: 45px;
        margin-bottom: 9px;
    }

    .product-in-cart-desc .desc {
        font-size: 10px;
        line-height: 13px;
        height: 39px;
        display: none;
    }

    .product-in-cart-desc .price { margin: 0; }
    .price span:first-child {
        font-size: 12px;
        line-height: 16px;
    }

    .price span:last-child {
        font-size: 14px;
        line-height: 18px;
    }

    .product-in-cart-desc { 
        width: calc(100% - 115px);
        position: relative;
    }

    .product-in-cart-desc .del-item {
        position: absolute;
        right: 0;
        bottom: 4px;
    }

    .delivery-content { gap: 40px; }

    .name-inputs { 
        flex-direction: column;
        gap: 10px;
    } 

    .name-inputs > div { width: 100%; }
    .personal-info > .phone-input { margin-bottom: 25px; }

    .contact-info-btn {
        width: 100%;
        margin-top: 10px;
    }

    .delivery-options, .my-auctions-msg {
        font-size: 12px;
        line-height: 16px;
    }

    .pay-methods, .pay-methods-1 { padding: 20px; }

    .lot-card-info, .order-info { width: calc(100% - 115px); }

    .lot-card-info .title, .order-info .title {
        font-size: 10px;
        line-height: 13px;
        height: 26px;
    }

    .order-info .title { margin-bottom: 10px; }

    .lot-details, .finished-auction .lot-details, 
    .order-details, .finished-order .order-details {
        gap: 5px;
    }

    .lot-card { min-height: 175px; }
    .lot-card.finished-auction { min-height: 195px; }

    .order-card { min-height: 165px; }

    .inner-sales-card { min-height: unset; }

    .lot-history { padding: 30px 20px; }

    .order-details p span:first-child { min-width: unset !important; }

    .account-content .custom-select-head, .account-content .custom-options {
        width: 100%;
    }

    .sales-card .delete { right: 15px; }

    #newAddressForm > div:last-child { 
        flex-direction: column; 
        align-items: flex-start;
    }
       
    .address-card { padding: 0 20px; }
    .add-address-btn { width: 100%; }

    .experts-list { grid-template-columns: repeat(1, 320px); gap: 20px; }
    .experts-head-title {
        font-size: 14px;
        line-height: 19px;
        padding-left: 20px;
        height: 50px;
    }

    .current-expert > img { 
        width: 100%; 
        height: 300px;
        object-position: top; 
    }

    .expert-info { padding: 20px; }

    .prod-preview.active, .prod-preview1.active {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media screen and (max-width: 380px) {
    .footer-logo img {
        width: 250px;
        height: 70px;
    }

    .footer-contact span { width: calc(100% - 49px); }
    .registration-btn a { width: calc(100vw - 40px); }
    .catalogue-container { padding: 40px 10px 100px; }
    .category-grid, .similar-auction-grid { grid-template-columns: repeat(2, calc((100vw - 40px) / 2)); gap: 10px; }
    .product-swiper { height: 250px !important; }

    .lot-details p span:first-child,.lot-details p span:last-child,
    .order-details p span:first-child, .order-details p span:last-child {
        font-size: 8px;
        line-height: 11px;
    }

    .experts-list { grid-template-columns: repeat(1, 300px); }
}