﻿/* 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, minmax(0, 1fr));
        gap: 10px;
    }



    .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;*/
    }

    .list-product-reg .lst-items,
    .hot-ebooking-region .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;
    }

    .flash-sale .list-product-reg, .lst-item-flash-sale .list-product-reg {
        grid-template-columns: repeat(5, 1fr);
    }

    .product-box {
        background: #fff;
    }

    .popup-wrapper .txt-search {
        margin: 8px 0 8px 15px;
        width: 91%;
    }

    #suggestDeal .product-box {
        background: unset;
    }

    .box-service.affix-cate {
        padding-top: 7px;
    }

    .ebooking .right-detail {
        display: none;
    }

    .ebooking .main-price-mb {
        display: block;
        padding: 15px 0 0;
        overflow: hidden;
    }

    .detail-ebooking {
        display: block;
    }

    .box-gallery .swiper-container {
        /*  width: 100%;
        height: auto;*/
        overflow: hidden;
    }

    #PopupEcode .p-popup-wrapper {
        border-radius: 24px;
    }

    .box-gallery .swiper-container {
        width: 100%;
    }

    .ebooking .box-gallery {
        overflow: hidden;
    }

    .list-product-combo {
        grid-template-columns: repeat(4, 1fr);
    }

    .seller .store-seller-inside {
        grid-template-columns: repeat(2, 1fr);
    }

    .box-pro-seller .lst-pro-seller {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet & nhỏ hơn */
@media (max-width: 992px) {
    .box-gallery .swiper-container {
        width: 100%;
        height: auto;
    }

    .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;
    }



    .item-store .item-info:first-child {
        /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);*/
        transform: translateY(-4px);
        /*border-radius: 32px;*/
    }

    .list-product-reg .lst-items,
    .hot-ebooking-region .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: 200px;
        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: 24px;
    }

    .ebooking .popup-title .head3 {
        font-size: 20px;
    }

    .ebooking .box-gallery img {
        height: 240px !important;
    }

    .detail-ebooking {
        display: block;
    }

    .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;
    }


    .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: 3px;
    }

    .list-product-reg .lst-items-category,
    .list-product-reg .lst-items,
    .lst-item-flash-sale .list-product-reg,
    .hot-ebooking-region .lst-items,
    .ebooking .list-pg .lst-items-category {
        grid-template-columns: repeat(4, 1fr);
    }

    .skillbar.upcoming .count-left {
        background-position: left 17px center;
    }

    .hot-line a {
        font-size: 16px !important;
    }

    .ebooking .new-ticket-region .swiper-pagination {
        bottom: -24px !important;
    }

    .select-filter.show .sl-fil-rv {
        display: block !important;
    }

    .seller .box-combo .r-sels {
        width: auto !important;
    }

    .seller .box-store-seller-home {
        margin-bottom: 0;
    }
}

@media (max-width: 786px) {
    .ebooking .new-ticket-region .swiper-pagination {
        bottom: -11px !important;
    }
}
/* 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;
    }



    .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;
    }

    .list-product-reg .lst-items,
    .hot-ebooking-region .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;
            width: 65px !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 22px 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: 94% !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: 2;
    }

    .box-service-hot .list-product-reg {
        margin-top: 55px;
    }

    .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;
    }

    .seller .tab-hot-service {
        width: 120px !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 .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.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: 1px solid #F6AA00;
        border-radius: inherit;
    }

    .pkg-pro .box-ecode-seller, .pkg-pro .box-review-seller {
        border: none;
        border: 1px solid #1A1265;
        border-radius: inherit;
    }

    .pkg-biz .box-ecode-seller, .pkg-biz .box-review-seller {
        border: none;
        border: 1px solid #288783;
        border-radius: inherit;
    }

    .box-ecode-seller, .box-review-seller {
        padding: 16px 0;
    }
    /*
    .pkg-vip .box-store-detail {
        border-top: 1px solid #F6AA00;
    }

    .pkg-pro .box-store-detail {
        border-top: 1px solid #1A1265;
    }

    .pkg-biz .box-store-detail {
        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 15px;
    }

    .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%;
    }

    .list-product-reg .lst-items-category,
    .list-product-reg .lst-items,
    .lst-item-flash-sale .list-product-reg,
    .hot-ticket-region.list-pg .lst-items,
    .ebooking .list-pg .lst-items-category {
        grid-template-columns: repeat(2, 1fr);
        /*padding: 0;*/
    }

    .flash-sale-header .countdown-container img {
        left: 40%;
    }

    .flash-sale-breadcrumb.upcoming .flash-sale-header .countdown-container {
        height: 90px;
    }

    .flash-sale-header .countdown-container ul {
        position: absolute;
        left: 0;
        top: 43px;
    }

    .flash-sale-header .countdown-container {
        height: 82px;
    }

    .flash-sale-banner {
        margin-top: 40px;
    }

    .etk-detail-title h1 {
        padding-top: 10px;
    }

    .ebooking .new-ticket-region .swiper-pagination {
        bottom: -11px !important;
    }

    .ebooking .main-banner {
        margin-bottom: 0;
    }

    .wap.total-result {
        padding: 10px 15px;
        font-size: 14px;
    }

    .wap.total-result {
        display: block;
    }

    .box-service.affix-cate {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        display: grid;
    }



    .tab-search .deal-tab {
        width: auto;
    }

    .box-service-hot.mp-deal-hot .r-sels {
        width: 100% !important;
        padding: 4px 4px !important;
    }

    .seller .box-service-hot.mp-deal-hot .swiper-container {
        height: 40px;
        border-radius: 24px;
    }

    .box-service-hot.mp-deal-hot .list-product-reg {
        padding: 0;
    }

    .seller .box-lst-seller .sg-seller {
        left: unset;
        right: 0px;
        top: 4px;
        width: 140px;
    }

        .seller .box-lst-seller .sg-seller select {
            width: 123px;
        }

    .lst-service .title, .box-gallery-seller .title, .box-news .title {
        font-size: 20px;
    }

    .lst-service .title {
        padding: 0 0 38px 0;
        width: 100%;
    }

    .lst-service .sg-seller {
        left: unset;
        right: 0;
        top: 40px;
    }

    .lst-service, .box-gallery-seller, .box-news {
        margin-top: 16px;
        box-shadow: none;
        padding: 0 5px;
        border-bottom: 1px solid #AAB9C5;
        border-radius: 0;
    }

    .store-info-left {
        padding-bottom: 15px;
    }

    .box-store-detail {
        border-top: 1px solid #AAB9C5;
    }

    .select-filter .sl-fil-rv {
        z-index: 1;
        left: 0;
    }

    #catePopup .p-popup-wrapper {
        width: 100% !important;
        top: 0;
    }

    .list-product-combo {
        grid-template-columns: repeat(2, 1fr);
    }

    .seller .box-combo .r-sels {
        width: 136px !important;
    }

        .seller .box-combo .r-sels .tab-combo.evoucher {
            background-position: left 13px center;
            background-size: 24%;
            line-height: 40px;
            margin-top: 1px;
        }
}
