﻿/* Tablet & nhỏ hơn */
@media (max-width: 1024px) {
    .seller .container, .seller .container-lg, .seller .container-md, .seller .container-sm {
        max-width: 960px !important;
        width: 960px;
        padding: 0;
    }

    .seller .flash-sale .list-product-reg {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .seller .store-seller-inside .item-store {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .item-store .item-info:last-child {
        display: none;
    }

    .box-lst-seller .item-store .item-info:last-child {
        display: block;
    }

    .box-lst-seller .store-seller-inside {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .item-store .item-info:first-child {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-4px);
        border-radius: 32px;
    }

    .seller .list-product-reg .lst-items {
        grid-template-columns: repeat(4, 1fr);
    }

    .item-info-seller .name-seller {
        padding-right: 100px;
    }

    .filter-seller-right .item-store .item-info:last-child {
        display: block;
    }

    .filter-seller-right .store-seller-inside {
        grid-template-columns: repeat(3, 1fr);
    }

    .filter-seller-right .item-info .img-store .icon-level {
        right: 65px;
    }

    .box-search-seller .filter-wrapper {
        padding: 12px 0;
    }

    .box-search-seller {
        grid-template-columns: 3fr 9fr;
    }

    .home-store {
        grid-template-columns: 1fr 2fr;
    }

    .store-info-right .box-store-detail {
        width: 590px;
    }

    .lst-service .lst-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .seller #PopupAcceptance .p-popup-wrapper {
        width: 928px;
    }

    .filter-seller-right .store-seller-inside .item-store {
        grid-template-columns: unset;
    }

    .seller .filter-seller-right .store-seller-inside .item-store .info-store-bt {
        top: 185px;
    }
}

/* Tablet & nhỏ hơn */
@media (max-width: 992px) {
    .seller .container, .seller .container-lg, .seller .container-md, .seller .container-sm {
        max-width: 745px !important;
        width: 745px;
    }

    .seller .flash-sale .list-product-reg {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .store-seller-inside .item-store {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        height: 337px;
    }

    .item-store .item-info:last-child {
        display: none;
    }

    .item-store .item-info:first-child {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-4px);
        border-radius: 32px;
    }

    .seller .list-product-reg .lst-items {
        grid-template-columns: repeat(3, 1fr);
    }

    .item-info .item-img-sv {
        width: 100%;
        height: unset !important;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .seller .box-service {
        width: 666px;
    }

    .seller .countdown-container {
        margin-top: 0px;
        width: 100%;
    }

        .seller .countdown-container ul {
            margin-left: 0;
            margin-top: 0;
        }

    .seller .r-sels {
        top: 18px !important;
        padding: 4px 4px !important;
        width: 500px !important;
    }

    .seller .box-category {
        width: 80%;
    }

    .seller .header .box-category {
        width: 100%;
    }

    .seller .info-store-bt {
        top: 215px;
    }

    .box-search-seller {
        grid-template-columns: 4fr 8fr;
    }

    .filter-seller-right .store-seller-inside {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .home-store {
        grid-template-columns: unset;
        width: 100%;
        display: block;
    }

    .store-info-right .box-store-detail {
        width: inherit;
        margin: unset;
    }

    .lst-service .lst-items {
        grid-template-columns: repeat(3, 1fr);
    }

    #PopupSellerInfo .p-popup-wrapper,
    #PopupReview .p-popup-wrapper {
        height: 100%;
        width: 100%;
        border-radius: 24px 24px 0 0;
    }

    .seller #PopupAcceptance .group-loc {
        max-height: 300px;
        overflow-y: scroll;
    }

    .seller .box-accep-pu {
        grid-template-columns: 1fr;
    }

    .seller #PopupAcceptance .p-popup-wrapper,
    .seller #PopupReview .p-popup-wrapper,
    .seller #catePopup .p-popup-wrapper {
        top: 0px;
        width: 100%;
        height: 100%;
        border-radius: 24px 24px 0 0;
    }

    .seller #PopupEcode .p-popup-wrapper {
        top: 10%;
        width: 50%;
        height: 50%;
    }

    .seller .map-popup {
        width: 100%;
        height: 100%;
    }

    .seller .box-ecode-seller .swiper-wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
    }

    .box-ecode-seller .swiper-pagination {
        display: block;
        bottom: -2px;
    }

    .box-ecode-seller .swiper-container {
        padding-bottom: 25px !important;
    }

    .ebooking .hot-ticket-region.home .resp-item {
        width: unset !important;
        max-width: unset !important;
    }

    .ebooking .hot-ticket-region {
        grid-template-columns: repeat(4, 1fr);
    }

    .ebooking .etk-list-filter-mb {
        height: 45px;
    }

    .ebooking .txt-info .popup-item {
        margin: 0 0 10px 25px;
    }

    .ebooking .popup-title a {
        position: absolute;
        right: 34px;
    }

    .ebooking .popup-title .head3 {
        font-size: 20px;
    }

    .ebooking .box-gallery img {
        height: 240px !important;
    }

    .detail-ebooking {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ebooking .right-detail {
        display: none;
    }

    .ebooking .main-price-mb {
        display: block;
        padding: 15px 0 0;
        overflow: hidden;
    }

    .ebooking .btn-finish-container {
        padding-top: 0 !important;
    }

    .item-info-seller .view-seller {
        display: none;
    }

    .item-info-seller .name-seller {
        padding-right: 0;
    }

    .header-bottom .mb-menu-box {
        top: 36px;
    }


    .header-bottom .srch-box {
        top: 17px !important;
    }

    .p-popup-wrapper .cate-lst {
        grid-template-columns: repeat(5, 1fr);
    }

    .p-popup-wrapper {
        border-radius: 24px 24px 0 0;
    }

    .seller .box-filter-seller .sg-seller {
        top: 39px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .seller .container, .seller .container-fluid, .seller .container-lg, .seller .container-md, .seller .container-sm, .seller .container-xl, .seller .container-xxl {
        width: 100%;
        padding-right: var(--bs-gutter-x, .75rem);
        padding-left: var(--bs-gutter-x, .75rem);
        margin-right: auto;
        margin-left: auto;
    }

    .seller .flash-sale .list-product-reg {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 65px;
    }

    .store-seller-inside .item-store {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        height: 337px;
    }

    .item-store .item-info:last-child {
        display: none;
    }

        .item-store .item-info:last-child:nth-child(2):last-child,
        .item-store .item-info:last-child:nth-child(1):last-child {
            display: block;
        }

    .item-store .item-info:first-child {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-4px);
        border-radius: 32px;
    }

    .seller .list-product-reg .lst-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .item-info .item-img-sv {
        width: 100%;
        height: unset !important;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .box-service {
        width: 90% !important;
    }

        .box-service .item-service img {
            display: block;
            text-align: center;
            width: 24px;
            margin: 0 auto !important;
        }

        .box-service .item-service {
            margin: 10px 0 !important;
            border-right: none !important;
        }

    .seller .countdown-container {
        margin-top: 10px;
        width: 100%;
    }

        .seller .countdown-container ul {
            position: absolute;
            left: 3px;
            top: 58px;
        }

    .seller .r-sels {
        top: 18px !important;
        padding: 2px 4px !important;
    }

    .seller .box-service .item-service a {
        font-size: 12px;
    }

    .store-seller-inside {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .skillbar.upcoming .count-left {
        background-position: left 18px center !important;
    }

    .count-left {
        background-position: left 25px center !important;
    }

    .seller .r-sels {
        top: 72px !important;
        padding: 3px 4px !important;
        position: absolute;
        left: 0;
        width: 100% !important;
        text-align: center;
    }

    .seller .lst-combo {
        margin: 40px 0 40px 0;
    }

    .reg-title-combo .r-sels {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        display: grid;
    }

    .seller .r-sels .tab-combo.eticket,
    .seller .r-sels .tab-hot-service.eticket {
        background-position: left 32px center;
        background-size: 17%;
        padding-left: 40px;
    }

    .seller .r-sels .tab-combo.evoucher,
    .seller .r-sels .tab-hot-service.evoucher {
        background-position: left 37px center;
        background-size: 17%;
    }


    .seller .lst-brand .swiper-slide .img-logo {
        width: 100%;
        height: unset !important;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .seller .item-info .title-sv {
        -webkit-line-clamp: 3;
    }

    .box-service-hot .list-product-reg {
        margin-top: 45px;
    }

    .box-service-hot .tab-combo,
    .box-service-hot .tab-hot-service {
        white-space: nowrap;
        text-align: center;
    }

    .box-service-hot .r-sels .tab-combo.evoucher,
    .box-service-hot .r-sels .tab-hot-service.evoucher {
        background-position: left 10px center;
        background-size: 24%;
        padding: 0 20px 0 40px;
        width: 118px !important;
    }

    .box-service-hot .r-sels .tab-combo.egift,
    .box-service-hot .r-sels .tab-hot-service.egift {
        margin: 0;
        background-image: url(//cdn.dealtoday.vn/assets/sellercenter/mp/img/icon-egift.svg);
        background-repeat: no-repeat;
        background-position: left 14px center;
        background-size: 24%;
        padding-left: 32px;
    }

    .box-service-hot .r-sels .tab-combo.eticket,
    .box-service-hot .r-sels .tab-hot-service.eticket {
        background-position: left 10px center;
        background-size: 24%;
        padding-left: 40px;
    }

    .box-service-hot .r-sels .tab-combo.ebooking,
    .box-service-hot .r-sels .tab-hot-service.ebooking {
        margin: 0;
        background-image: url(//cdn.dealtoday.vn/assets/sellercenter/mp/img/icon-ebooking.svg);
        background-repeat: no-repeat;
        background-position: left 8px center;
        background-size: 24%;
        padding-left: 38px;
        width: 112px !important;
    }

    .info-store-bt {
        top: 215px;
    }

    .seller .box-category {
        width: 95%;
        overflow: hidden;
    }

    .box-lst-seller .store-seller-inside {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 20px;
    }

    .box-search-seller .filter-seller-left {
        display: none;
    }

    .box-search-seller {
        grid-template-columns: 1fr;
    }

    .seller .sg-seller {
        position: absolute;
        left: 142px;
        top: 20px;
        width: 137px;
        font-size: 14px;
    }

    .filter-seller-right {
        padding-top: 50px;
    }

        .filter-seller-right .store-seller-inside .item-store {
            padding: 0;
            gap: 15px;
        }

    .filter-by-cate {
        display: block;
        background: url(//cdn.dealtoday.vn/assets/sellercenter/mp/img/filter-by-cate.svg) no-repeat;
        background-position: right 15px center;
        position: absolute;
        left: 0;
        top: 40px;
        border: 1px solid #CAD5DE;
        border-radius: 25px;
        padding: 5px 35px 5px 15px;
        font-size: 14px;
    }

    .filter-seller-right .store-seller-inside {
        gap: 15px;
    }

    #filterPopup h2 {
        font-size: 16px;
        padding: 15px 0px;
        margin: 0;
    }

    .seller .btn-general {
        border: 1px solid #1E2B35;
        color: #1E2B35;
    }

        .seller .btn-general.orange {
            border: 1px solid #f6911e;
        }

    .lst-service .lst-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .seller .container.detail-store {
        width: 100%;
    }

    .box-cate-filter .item-category {
        height: 40px;
        width: auto;
        border: 1px solid #AAB9C5;
        line-height: 40px;
        padding: 0 15px;
        border-radius: 15px;
        font-size: 14px;
    }

    .box-action-wap {
        display: block;
    }

        .box-action-wap .swiper-wrapper {
            padding-bottom: 0;
        }

        .box-action-wap .swiper-slide {
            height: 40px;
            width: auto;
            background: #F2F2F2;
            line-height: 40px;
            padding: 0 15px;
            border-radius: 12px;
            font-size: 14px;
        }

    .store-des,
    .lst-accept-point,
    .box-review-seller {
        display: none;
    }

    .pkg-vip .box-ecode-seller, .pkg-vip .box-review-seller {
        border: none;
        border-top: 1px solid #F6AA00;
        border-radius: inherit;
    }

    .pkg-pro .box-ecode-seller, .pkg-pro .box-review-seller {
        border: none;
        border-top: 1px solid #1A1265;
        border-radius: inherit;
    }

    .pkg-biz .box-ecode-seller, .pkg-biz .box-review-seller {
        border: none;
        border-top: 1px solid #288783;
        border-radius: inherit;
    }

    .box-ecode-seller, .box-review-seller {
        padding: 16px 0;
    }

    .pkg-vip .box-store-detail {
        padding-top: 20px;
        border-top: 1px solid #F6AA00;
    }

    .pkg-pro .box-store-detail {
        padding-top: 20px;
        border-top: 1px solid #1A1265;
    }

    .pkg-biz .box-store-detail {
        padding-top: 20px;
        border-top: 1px solid #288783;
    }

    .lst-service, .box-gallery, .box-news {
        box-shadow: none;
        border-radius: unset;
        padding: 20px 0;
    }

    .pkg-vip .lst-service,
    .pkg-vip .box-gallery,
    .pkg-vip .box-news {
        border-top: 1px solid #F6AA00;
    }

    .pkg-pro .lst-service,
    .pkg-pro .box-gallery,
    .pkg-pro .box-news {
        border-top: 1px solid #1A1265;
    }

    .pkg-biz .lst-service,
    .pkg-biz .box-gallery,
    .pkg-biz .box-news {
        border-top: 1px solid #288783;
    }

    .countdown-container {
        background-position: center;
        padding-left: 0;
    }

        .countdown-container ul {
            top: 52px;
            width: 100%;
            padding: 0;
            text-align: center !important;
        }

    #PopupAcceptance .filter-wrapper {
        padding: 12px 0;
    }

    #PopupAcceptance .group-loc {
        max-height: 250px;
    }

    .info-items {
        display: block;
        padding: 20px 0 0;
    }

    .pagination-items {
        padding: 10px 0;
    }

    .ebooking .hot-ticket-region {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ebooking.body-detail-ebooking .container {
        padding: 0;
    }

    .ebooking .d-detail-rg {
        border-radius: 0;
        padding: 20px 0;
    }

    .ebooking .box-gallery {
        margin-bottom: 0;
    }

    .ebooking .d-detail-rg .list-value-tag {
        grid-template-columns: 1fr;
        border-bottom: none;
        border-top: none;
    }

        .ebooking .d-detail-rg .list-value-tag .tag-box {
            border-bottom: 1px solid #eee;
            padding: 5px 0 15px;
        }

    .wap-space {
        display: block;
        height: 20px;
        background: #f5f5f5;
        width: calc(100% + 30px) !important;
        margin: 0 -15px !important;
    }

    .ebooking .general-info,
    .ebooking .terms-of-use,
    .ebooking .d-brand,
    .ebooking .loc-rg {
        padding: 20px 15px !important;
        margin-bottom: 0;
    }

    .ebooking .detail-til-reg {
        padding-bottom: 0;
    }

    .ebooking .line-detail {
        display: none;
    }

    .ebooking .box-category {
        width: 95% !important;
    }

    .ebooking .d-detail-rg.general-info .raw-content-rg {
        margin-bottom: 10px;
    }

    .ebooking .header-title.suggest,
    .ebooking .detail-suggest {
        padding-left: 15px;
    }

    .ebooking .home.new-ticket-region {
        width: 100% !important;
    }

    .box-pro-seller .lst-pro-seller {
        grid-template-columns: repeat(1, 1fr);
    }

    .p-popup-wrapper .cate-lst {
        grid-template-columns: repeat(3, 1fr);
    }

    .box-cate-common {
        height: 90vh;
    }

    #PopupReview .p-popup-wrapper {
        width: 100%;
    }

    #PopupReview .title-popup {
        padding: 0px;
    }

        #PopupReview .title-popup .float-end {
            margin-top: 10px;
        }

    #PopupReview .top-review-info {
        position: absolute;
        top: 33px;
    }

    #PopupReview .select-filter {
        position: absolute;
        left: 0px;
        top: 40px;
    }

    #PopupReview .lst-review {
        margin: 80px 0 0;
    }

    .etk-category {
        width: 100%;
    }
}
