/* MaxWay users — mobile & tablet (admin panel responsive.css uslubida) */

@media (max-width: 991px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header__content--img img {
        width: 100%;
        max-width: 400px;
    }

    .content .filter button {
        height: 40px;
        font-size: 13px;
        padding: 0 18px !important;
    }

    .o-page {
        padding: 32px 20px 48px;
        gap: 24px;
    }
}

@media (min-width: 768px) {
    .mobMenu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    /* Desktop header yashirish, mobil menyu ko'rsatish */
    .header .container .menu,
    .header .container .header__content {
        display: none !important;
    }

    .mobMenu {
        display: block !important;
        position: sticky;
        top: 0;
        z-index: 200;
        background: var(--dark, #18171C);
    }

    .mobMenu__content {
        display: flex !important;
    }

    .header {
        margin-bottom: 16px !important;
        padding-top: 0 !important;
    }

    .container {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Mahsulotlar — bitta ustun */
    .col-6,
    .col-6.col-md-12.col-xs-12 {
        flex-basis: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .slide .row {
        height: auto !important;
        overflow: visible !important;
    }

    .slide__btn {
        display: block !important;
    }

    /* Kategoriya filtri — gorizontal scroll */
    .content .filter {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px !important;
        margin-bottom: 20px !important;
    }

    .content .filter::-webkit-scrollbar {
        display: none;
    }

    .content .filter button {
        flex-shrink: 0 !important;
    }

    .content .mob__button {
        display: block;
    }

    .content .mob__button .mobFilt {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        margin-top: 12px;
        border-radius: 27px;
        background: var(--surface2, #28262F) !important;
        color: var(--text, #F0EEF5) !important;
        font-family: 'DM Sans', sans-serif;
        font-size: 15px;
        border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .content .mob__button .mobFilt svg path {
        fill: var(--yellow, #F1B301);
    }

    /* Desktop footer yashirish, mobil footer */
    .pattern,
    .footer {
        display: none !important;
    }

    .mob__pattern {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex-direction: column;
    }

    .mob__footer {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .copyright .container {
        border: unset;
        justify-content: center;
        flex-direction: column-reverse;
        padding: 0 16px 24px;
    }

    .copyright .container .net__icon {
        margin-right: 0;
        margin-bottom: 24px;
    }

    /* Floating savat tugmasi */
    .fixed--icon.cart {
        bottom: 20px !important;
        right: 16px !important;
        min-width: 140px !important;
        padding: 10px 18px !important;
    }

    /* Mobil menyu paneli */
    .mobMenu .main__menu {
        width: min(280px, 85vw) !important;
    }

    /* Buyurtma sahifasi */
    .o-header {
        padding: 0 16px !important;
        height: 56px !important;
    }

    .o-page {
        grid-template-columns: 1fr !important;
        padding: 24px 16px 40px !important;
        gap: 20px !important;
    }

    .o-sidebar {
        position: static !important;
        top: auto !important;
    }

    .page-hero h1 {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .slide .big__title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-top: 24px !important;
    }

    .col-6 .item .box__img {
        width: 100% !important;
        height: 160px !important;
    }

    .col-6 .item .box {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .mobMenu__content--title {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .mobMenu__content--img img {
        width: 100% !important;
        max-width: 280px !important;
        height: auto !important;
    }

    .f-card {
        padding: 18px !important;
    }

    .cart-actions {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .fixed--icon.cart {
        right: 12px !important;
        bottom: 16px !important;
        min-width: 120px !important;
    }

    .h-phone {
        font-size: 0 !important;
    }

    .h-phone svg {
        margin: 0;
    }

    .cart-btn {
        font-size: 0 !important;
        gap: 6px;
        padding: 10px 12px !important;
    }

    .cart-btn .cart-badge {
        font-size: 11px !important;
    }

    .success-modal-box {
        padding: 32px 20px !important;
    }

    .success-title {
        font-size: 22px !important;
    }
}
