.category_div {
    background: #fcfcfc no-repeat padding-box;
    border: 1px solid #e2f0ff;
    border-radius: 5px;
    opacity: 1;
    padding: 5px;
}

.seller-header-image {
    margin-top: 9px;
    border-radius: 4px;
    height: 220px;
    background: url("./img/seller.png") no-repeat center;
    background-size: cover;
}

.for-discount-value {
    color: white;
    border-radius: 5px 0;
    font-size: small;
}

html[dir="ltr"] .for-discount-value {
    padding: 3px 4px 2px 5px;
}

html[dir="rtl"] .for-discount-value {
    padding: 3px 5px 2px 4px;
}

.for-discount-value-null {
    color: white;
    border-radius: 0 5px;
    font-size: small;
    display: none !important;
}

html[dir="ltr"] .for-discount-value-null {
    padding: 3px 4px 2px 5px;
}

html[dir="rtl"] .for-discount-value-null {
    padding: 3px 5px 2px 4px;
}

.for-discount-div {
    margin-top: -6%;
    margin-bottom: 6%;
}

html[dir="ltr"] .for-discount-div {
    margin-right: -9%;
}

html[dir="rtl"] .for-discount-div {
    margin-left: -9%;
}

@media (max-width: 375px) {
    .discount-hed {
        margin-top: -5%;
        margin-right: -5%;
        margin-bottom: 6%;
    }
}

.for-count-value {
    position: absolute;
    right: 0.6875rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    color: black;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.25rem;
}

@media (max-width: 600px) {
    .seller-header-image {
        height: 86px;
    }
}

.chat {
    float: right;
    margin-right: 5px;
    width: 100px;
}

.flower {
    float: right;
    width: 114px;
}

.cz-carousel [data-nav].tns-nav-active {
    background-color: #92c6ff !important;
}

.cz-carousel [data-nav] {
    background-color: #fff !important;
}

.cz-carousel .tns-nav {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
    bottom: 25px;
}

.tns-outer {
    padding: 0 !important;
    margin-bottom: -20px;
}

.banner_card {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1019607843);
    border: 1px solid #e2f0ff;
    border-radius: 3px;
}

[data-simplebar] {
    overflow-y: auto;
    padding-right: 0 !important;
}

.simplebar-content {
    padding: 0 !important;
}

.footer_banner {
    padding-right: 4px;
    padding-left: 4px;
    margin-top: 5px;
}

.footer_banner:first-child {
    padding-right: unset;
    padding-left: 0;
}

html[dir="rtl"] .footer_banner:first-child {
    padding-right: 0;
}

.footer_banner:nth-child(5) {
    padding-left: unset;
    padding-right: 0;
}

html[dir="rtl"] .footer_banner:nth-child(5) {
    padding-left: 0;
}

.widget-product-title .ptr {
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 1.2em;
    line-height: 1.2em;
    font-weight: 600;
    font-size: 14px;
}

.widget .btn > i {
    margin-top: -1px;
    vertical-align: middle;
    font-size: 10px;
}

.widget .btn-outline-accent {
    border-radius: 3px;
    width: 80px;
    padding: 2px;
}

.widget-product-title {
    position: relative;
}

.text-accent {
    font-weight: 700;
    font-size: 17px;
}

.category_title {
    color: black !important;
    font-size: 16px;
    font-weight: 600;
}

.featured_deal_title {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.featured_deal_product {
    cursor: pointer;
    height: 97px;
}

.featured_product_details {
    padding: 5px;
}

.featured_product_pic .image_center img {
    vertical-align: middle;
}

.featured_deal_title {
    position: relative;
}

.featured_product-title .ptr {
    font-weight: 400;
    font-size: 19px !important;
    color: #000000 !important;
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 2.4em;
    line-height: 1.2em;
}

.featured_product-price {
    margin-top: -10px;
}

.featured_product-price .ptp {
    font-weight: 700;
    font-size: 19px !important;
}

.flash_deal {
    border-radius: 3px;
}

.flash_deal_title {
    color: black;
    font-weight: 700;
    font-size: 25px;
    text-transform: uppercase;
}

.cz-countdown .cz-countdown-value {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.cz-countdown {
    flex-wrap: wrap;
    font-weight: normal;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.flash_deal_product {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.0509803922);
    background: white;
    border-radius: 5px;
}

.flash_deal_product_pic {
    height: 175px;
    background: #f9f9f9;
    border-radius: 3px;
    padding: 0 10px;
}

.flash_deal_product_pic img {
    height: 149px;
}

.flash_deal_product_details {
    position: relative;
}

.flash_deal_product_details .flash-product-title {
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    line-height: 1.2em;
}

.flash_deal_product_details .flash-product-title a {
    font-weight: 600;
    font-size: 16px;
    color: black !important;
}

.flash_deal_product_details .flash-product-review {
    font-weight: 400;
    font-size: 11px;
}

.flash_deal_product_details .flash-product-review .review-count {
    color: #fea96e !important;
}

.flash_deal_product_details .flash-product-review .star-rating i {
    font-size: 16px !important;
}

.deal_of_the_day h1 {
    font-weight: 700;
    font-size: 29px;
    padding-top: 40px;
    text-align: center;
    text-transform: uppercase;
}

.buy_btn {
    font-weight: 700;
    font-size: 22px;
    width: 198px;
    height: 46px;
    background-color: white;
    border-radius: 3px;
    border: 1px solid white;
}

.deal_latest_product .product-card {
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.0784313725);
    border-radius: 5px;
    height: 284px;
}

.deal_latest_product .product-card .card-header {
    height: 200px;
    text-align: center;
    background: #f9f9f9 0 0 no-repeat padding-box;
    border-radius: 5px 5px 0 0;
}

.product-title1 {
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #000000 !important;
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 2.4em;
    line-height: 1.2em;
}

.deal_latest_product .product-title {
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #000000 !important;
}

.deal-title {
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}

.order-summery-footer-image {
    width: auto;
}

.view_all {
    display: flex;
    justify-content: flex-end !important;
}

.view_border {
    margin-top: -53px;
    border-top: 2px solid #e3e9ef;
    margin-bottom: 53px;
}

@media (min-width: 1024px) {
    .main_banner_img {
        margin: 0;
    }

    .footer_banner_img {
        height: 165px;
    }

    .banner_product {
        height: 490px !important;
    }
}

@media (min-width: 992px) {
    .main_banner_img {
        margin: 0;
        height: 378px !important;
    }

    .footer_banner_img {
        height: 165px !important;
    }

    .banner_product {
        background: white;
        height: 526px !important;
    }
}

@media (max-width: 375px) {
    .for-discount-div {
        margin-top: -5%;
        margin-bottom: 6%;
    }

    html[dir="ltr"] .for-discount-div {
        margin-right: -5%;
    }

    html[dir="rtl"] .for-discount-div {
        margin-left: -5%;
    }
}

@media (min-width: 768px) {
    .main_banner_img {
        margin: 0;
        height: 260px;
    }

    .banner_product {
        height: 306px;
    }

    .flash_deal {
        height: 258px;
    }
}

@media (max-width: 768px) {
    .banner_card {
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .deal-title {
        font-size: 20px !important;
    }

    .btn-sm,
    .btn-group-sm > .btn {
        padding: 5px 10px;
        font-size: 0.8125rem;
        line-height: 1.5;
        border-radius: 0.1875rem;
        margin-top: 3px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 14%;
        color: #fff;
        text-align: center;
        opacity: 0.5;
        transition: opacity 0.15s ease;
    }

    .featured_deal_carosel .carousel-inner {
        padding: 0;
    }

    .view_all {
        display: flex;
        justify-content: flex-start !important;
    }

    .flash_deal {
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .fd {
        padding-bottom: 10px;
        border-bottom: 2px solid #e2f0ff !important;
    }

    .feature_header {
        margin-top: 0;
    }

    .feature_header span {
        padding-right: 0;
        padding-left: 0;
        font-weight: 700;
        font-size: 25px;
        text-transform: uppercase;
    }

    .view_border {
        margin: 16px 0;
        border-top: 2px solid #e2f0ff !important;
    }

    .flash-product-price,
    .text-accent {
        font-size: 14px !important;
    }
}

.featured_deal {
    min-height: 108px;
}

.btn-outline--info {
    border: 1px solid #1b7fed;
    color: #1b7fed !important;
}

.btn-outline--info:hover {
    border-color: #1b7fed;
    color: #fff !important;
    background-color: #1b7fed;
}

.qty_input {
    width: 50px;
    background-color: rgba(var(--web-primary-rgb), 0.1);
    border: 1px solid var(--web-primary);
    border-radius: 5px;
    text-align: center;
    height: 40px;
}

.qty_minus,
.qty_plus {
    display: flex;
    align-items: center;
    color: var(--web-primary);
    cursor: pointer;
}

.__img-62 {
    min-width: 60px;
}

.fs-10 {
    font-size: 10px !important;
}

.outline-0 {
    outline: 0 !important;
}

.steps {
    max-width: 500px;
}

.steps .step-item:first-child .step-count {
    left: 12px;
}

[dir="rtl"] .steps .step-item:first-child .step-count {
    left: auto;
    right: 12px;
    margin-right: -0.8125rem;
}

.steps .step-item:first-child .step-label {
    text-align: start;
}

.steps .step-item:last-child .step-count {
    left: auto;
    right: 0;
}

[dir="rtl"] .steps .step-item:last-child .step-count {
    left: 0;
    right: auto;
    margin-left: 0;
}

.steps .step-item:last-child .step-label {
    text-align: end;
}

.saved-address-dropdown .dropdown-item {
    margin-inline: 10px;
    width: auto;
}

.saved-address-dropdown .dropdown-item.active {
    border-radius: 8px;
    border: 1px solid rgba(20, 85, 172, 0.3);
    background: rgba(20, 85, 172, 0.02);
    padding: 10px 14px;
}

.progress {
    height: 0.25rem;
    background-color: #dfedff;
    border-radius: 50rem;
}

.progress-bar {
    background-color: var(--primary-clr);
}

.border-primary-light {
    border: 1px solid rgba(27, 127, 237, 0.2) !important;
}

@media (max-width: 991px) {
    #shop-sidebar {
        position: fixed;
        right: 0;
        left: auto;
        top: 0;
        width: 320px;
        max-width: 100%;
        height: 100lvh;
        z-index: 9999;
        border-radius: 0.5rem 0 0 0.5rem;
        transform: translateX(100%);
        transition: transform 200ms ease;
        background-color: #fff !important;
    }

    #shop-sidebar.active {
        transform: translateX(0);
    }

    .profile-aside-overlay {
        position: fixed;
        left: 0;
        top: 0;
        width: calc(100vw - 320px);
        height: 100%;
        z-index: 9998;
        transform: translateX(2000%);
        transition: transform 200ms ease;
        background-color: rgba(0, 0, 0, 0.158) !important;
    }

    .profile-aside-overlay.active {
        transform: translateX(0);
    }

    #shop-sidebar .shop-sidebar-scroll {
        max-height: 90vh;
        overflow: auto;
    }

    #shop-sidebar .shop-sidebar-scroll::-webkit-scrollbar {
        width: 0;
    }
}

.profile-aside-close-btn {
    font-size: 1.5rem;
}

.flash_deal_product_details a.text-capitalize {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.others-store-card .name-area .info h5,
.others-store-card .name-area .info .h5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
}

.recommended-product-card img {
    border: 1px solid #eef1ff;
}

.cz-countdown-days {
    border: 1px solid var(--web-primary);
}

.btn-scroll-top {
    background: var(--web-primary);
}

.__best-selling:hover .ptr,
.flash_deal_product:hover .flash-product-title {
    color: var(--web-primary);
}

.cz-countdown-hours {
    border: 1px solid var(--web-primary);
}

.cz-countdown-minutes {
    border: 1px solid var(--web-primary);
}

.cz-countdown-seconds {
    border: 1px solid var(--web-primary);
}

.flash_deal_product_details .flash-product-price {
    color: var(--web-primary);
}

.featured_deal_left {
    background: var(--web-primary) 0 0 no-repeat padding-box;
}

.category_div:hover {
    color: var(--web-secondary);
}

.deal_of_the_day {
    background: var(--web-secondary);
}

.best-selling-image {
    background: var(--web-primary-10);
}

.top-rated-image {
    background: var(--web-primary-10);
}

@media (max-width: 800px) {
    [dir="rtl"] .categories-title {
        margin-right: 0;
    }

    [dir="ltr"] .categories-title {
        margin-left: 6px;
    }

    [dir="rtl"] .seller-list-title {
        margin-right: 0;
    }

    [dir="ltr"] .seller-list-title {
        margin-left: 10px;
    }

    [dir="rtl"] .seller-list-view-all {
        margin-left: 20px;
    }

    [dir="ltr"] .seller-list-view-all {
        margin-right: 10px;
    }

    [dir="rtl"] .category-product-view-title {
        margin-right: 16px;
    }

    [dir="ltr"] .category-product-view-title {
        margin-left: -8px;
    }

    [dir="rtl"] .category-product-view-all {
        margin-left: -7px;
    }

    [dir="ltr"] .category-product-view-all {
        margin-right: 5px;
    }
}

@media (min-width: 801px) {
    [dir="rtl"] .categories-title {
        margin-right: 25px;
    }

    [dir="ltr"] .categories-title {
        margin-left: 25px;
    }

    [dir="rtl"] .seller-list-title {
        margin-right: 6px;
    }

    [dir="ltr"] .seller-list-title {
        margin-left: 10px;
    }

    [dir="ltr"] .seller-list-view-all {
        margin-right: 10px;
    }

    [dir="rtl"] .seller-list-view-all {
        margin-left: 12px;
    }

    [dir="rtl"] .seller-card {
        padding-left: 0 !important;
    }

    [dir="ltr"] .seller-card {
        padding-right: 0 !important;
    }

    [dir="ltr"] .category-product-view-title {
        margin-left: -12px;
    }

    [dir="rtl"] .category-product-view-title {
        margin-right: 10px;
    }

    [dir="rtl"] .category-product-view-all {
        margin-left: -20px;
    }

    [dir="ltr"] .category-product-view-all {
        margin-right: 0;
    }
}

.countdown-card {
    background: var(--web-primary-10);
}

.flash-deal-text {
    color: var(--web-primary);
}

.countdown-background {
    background: var(--web-primary);
}

/* Besti homepage merchandising treatment: inspired by the reference storefronts,
   while keeping the existing theme markup and responsive behaviour intact. */
.flash-deals-wrapper {
    background: linear-gradient(115deg, #0d3f71 0%, #155da0 62%, #1a73b8 100%);
    border-radius: 14px !important;
    padding: 24px 26px;
    box-shadow: 0 8px 24px rgba(13, 63, 113, .14);
}
.flash-deals-wrapper .flash-deal-text,
.flash-deals-wrapper .flash-deal-text h1,
.flash-deals-wrapper .flash-deal-text span {
    color: #fff !important;
}
.flash-deals-wrapper .view-all-btn-text {
    color: #ff6b35 !important;
    background: #fff;
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 600;
}
.flash-deals-wrapper .countdown-card {
    background: transparent;
}
.flash-deals-wrapper .countdown-background {
    background: rgba(3, 29, 57, .46);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
}
.flash-deals-wrapper .flash-deal-progress-bar {
    background: #ff6b35;
}
.flash-deals-wrapper .product-single-hover {
    background: #fff !important;
    border-radius: 10px;
    padding: 8px;
}
.flash-deals-wrapper .flash_deal_product,
.flash-deals-wrapper .inline_product {
    border-radius: 8px;
}
.hero-slider .__slide-img,
.__top-slider-images .__slide-img {
    border-radius: 12px;
}
.container > a > .footer_banner_img,
.promotional-banner-slider .footer_banner_img {
    border-radius: 12px;
    display: block;
}
@media screen and (max-width: 767px) {
    .flash-deals-wrapper {
        padding: 16px 12px;
        border-radius: 10px !important;
    }
    .flash-deals-wrapper .view-all-btn-text {
        padding: 5px 10px;
        font-size: 12px;
    }
}

.czi-arrow-left {
    color: var(--web-primary);
    background: var(--web-primary-10);
}

.czi-arrow-right {
    color: var(--web-primary);
    background: var(--web-primary-10);
}

.flash-deals-background-image {
    background: var(--web-primary-10);
}

.feature-product .czi-arrow-left {
    color: var(--web-primary);
    background: var(--web-primary-10);
}

.feature-product .czi-arrow-right {
    color: var(--web-primary);
    background: var(--web-primary-10);
    font-size: 12px;
}

.ending-soon-card .content_box{
    min-height: 90px;
}
/* Flash Sales: single responsive layout and card geometry */
.flash-deal-section, .flash-deal-section *, .flash-deals-wrapper { box-sizing: border-box; }
.flash-deal-section { overflow-x: hidden; }
.flash-deals-wrapper {
    width: 100%; max-width: 100%; overflow: hidden; padding: 20px;
    background: var(--flash-deal-color, #c9153d); border-radius: 14px;
}
.flash-deal-header { display:flex; align-items:center; gap:16px; min-height:58px; margin-bottom:16px; }
.flash-deal-heading { flex:1 1 auto; min-width:0; }
.flash-deal-heading h1 { color:#fff !important; font-size:28px; font-weight:700; white-space:nowrap; }
.flash-deal-header-countdown { flex:0 0 auto; min-width:270px; text-decoration:none; }
.flash-deal-header-countdown .countdown-background { min-height:58px; padding:8px 14px; display:flex; align-items:center; justify-content:center; background:#fff !important; border-radius:10px; }
.flash-deal-header-countdown .cz-countdown { display:flex; align-items:center; justify-content:center; flex-wrap:nowrap; white-space:nowrap; gap:5px; width:100%; }
.flash-deal-header-countdown .cz-countdown-days,.flash-deal-header-countdown .cz-countdown-hours,.flash-deal-header-countdown .cz-countdown-minutes,.flash-deal-header-countdown .cz-countdown-seconds { display:inline-flex; align-items:center; gap:3px; flex:0 0 auto; color:var(--flash-deal-color,#c9153d); }
.flash-deal-header-countdown .cz-countdown-value { color:var(--flash-deal-color,#c9153d) !important; font-size:20px !important; line-height:1.2; font-weight:700; text-shadow:none; }
.flash-deal-header-countdown .cz-countdown-text { color:var(--flash-deal-color,#c9153d) !important; font-size:10px; text-transform:uppercase; }
.flash-deal-header-countdown .cz-countdown-separator { color:var(--flash-deal-color,#c9153d); font-size:20px; font-weight:700; line-height:1; }
.flash-deals-wrapper > .flash-deal-header > .view-all-btn-text { flex:0 0 auto; display:inline-flex; align-items:center; gap:5px; color:var(--flash-deal-color,#c9153d) !important; background:#fff; border-radius:999px; padding:9px 16px; font-weight:600; white-space:nowrap; }
.flash-deal-products-row, .flash-deal-carousel-shell, .flash-deal-static-grid { width:100%; min-width:0; }
.flash-deal-static-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.flash-deal-static-item { min-width:0; height:100%; }
.flash-deal-carousel-shell { overflow:hidden; }
.flash-deal-carousel-shell .owl-stage-outer { width:100%; overflow:hidden !important; }
.flash-deal-carousel-shell .owl-stage { display:flex; align-items:stretch; }
.flash-deal-carousel-shell .owl-item { display:flex; height:auto; }
.flash-deal-carousel-shell .owl-item > .flash-deal-product-card { width:100%; }
.flash-deal-product-card { display:flex; flex-direction:column; width:100%; height:100%; min-width:0; padding:8px; background:#fff !important; border-radius:10px; overflow:hidden; }
.flash-deal-product-card .product-card-inner { display:flex; flex:1 1 auto; flex-direction:column; min-width:0; overflow:visible; }
.flash-deal-product-card .flash-deal-image-frame { flex:0 0 180px; height:180px; min-height:180px; padding:8px; background:#fff; border-radius:8px; overflow:hidden; }
.flash-deal-product-card .flash-deal-image-frame > a { display:flex; width:100%; height:100%; align-items:center; justify-content:center; }
.flash-deal-product-card .flash-deal-image-frame > a > img { width:100%; height:100%; object-fit:contain; object-position:center; border:0 !important; }
.flash-deal-product-card .flash-deal-image-frame .quick-view { z-index:2; }
.flash-deal-product-card .flash-deal-product-details { display:flex; flex:1 1 auto; flex-direction:column; min-height:0; padding:8px 2px 2px !important; }
.flash-deal-product-card .flash-deal-product-details h3 { flex:0 0 auto; min-height:40px; max-height:40px; margin:0 0 5px !important; overflow:hidden; }
.flash-deal-product-card .flash-deal-product-details h3 a { display:-webkit-box; overflow:hidden; color:#212629 !important; font-size:14px; font-weight:400 !important; line-height:20px; text-align:start; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.flash-deal-product-card .flash-deal-product-details > div:not(.rating-show) { min-height:29px; display:flex; align-items:flex-start; }
.flash-deal-product-card .flash-deal-product-details .product-price { margin:0; line-height:1.2; }
.flash-deal-product-card .flash-deal-product-details .rating-show { min-height:22px; margin-top:auto; padding-top:5px; }
.flash-deal-mobile { min-width:0; }
.flash-deal-mobile-header { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.flash-deal-mobile-header > div { flex:1 1 auto; min-width:0; }
.flash-deal-mobile-header .countdown-card { flex:0 0 48%; min-width:0; }
.flash-deal-mobile-header .countdown-background { padding:6px 4px; border-radius:8px; background:#fff !important; }
.flash-deal-mobile-header .cz-countdown { display:flex; align-items:center; justify-content:center; flex-wrap:nowrap; white-space:nowrap; gap:2px; }
.flash-deal-mobile-header .cz-countdown-value { color:var(--flash-deal-color,#c9153d) !important; font-size:13px !important; line-height:1.2; text-shadow:none; }
.flash-deal-mobile-header .cz-countdown-text { color:var(--flash-deal-color,#c9153d) !important; font-size:8px; }
.flash-deal-mobile-header .cz-countdown-separator { color:var(--flash-deal-color,#c9153d); font-size:14px; }
.flash-deal-mobile .owl-stage-outer { overflow:hidden !important; }
.flash-deal-mobile .owl-item { display:flex; }
.flash-deal-mobile .owl-item > .flash_deal_product { width:100%; }
@media (max-width:1399px) and (min-width:1200px) { .flash-deal-header-countdown { min-width:240px; } }
@media (max-width:1199px) and (min-width:768px) { .flash-deal-heading h1 { font-size:24px; } .flash-deal-header-countdown { min-width:230px; } .flash-deal-static-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .flash-deal-product-card .flash-deal-image-frame { height:160px; min-height:160px; flex-basis:160px; } }
@media (max-width:767px) { .flash-deals-wrapper { padding:12px; border-radius:10px; } .flash-deal-mobile-header h3 { color:#fff !important; } .flash-deal-mobile-header p { color:#fff !important; } }
@media (max-width:380px) { .flash-deal-mobile-header { align-items:flex-start; } .flash-deal-mobile-header .countdown-card { flex-basis:52%; } .flash-deal-mobile-header .cz-countdown-text { display:none; } }
/* Final countdown normalization: neutralize legacy inline countdown spacing inside the new header. */
.flash-deal-header-countdown .countdown-background {
    height: auto !important;
    min-height: 58px;
    max-height: 76px;
    padding: 8px 14px !important;
    margin: 0 !important;
}
.flash-deal-header-countdown .cz-countdown {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.flash-deal-header-countdown .cz-countdown-text {
    position: static !important;
    width: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
}

/* Flash Sales mobile header: keep title readable and timer values horizontal. */
@media (max-width: 575.98px) {
    .flash-deal-mobile-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .flash-deal-mobile-header > div:first-child {
        width: 100%;
    }
    .flash-deal-mobile-header .countdown-card {
        display: block;
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
    }
    .flash-deal-mobile-header .countdown-background {
        width: 100%;
        min-height: 58px;
        padding: 8px 10px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .flash-deal-mobile-header .cz-countdown {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
        align-items: center;
        width: 100%;
        gap: 4px;
    }
    .flash-deal-mobile-header .cz-countdown-days,
    .flash-deal-mobile-header .cz-countdown-hours,
    .flash-deal-mobile-header .cz-countdown-minutes,
    .flash-deal-mobile-header .cz-countdown-seconds {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
    }
    .flash-deal-mobile-header .cz-countdown-value {
        font-size: 18px !important;
        line-height: 1.1;
        font-weight: 700;
    }
    .flash-deal-mobile-header .cz-countdown-text {
        display: block !important;
        width: auto !important;
        font-size: 9px;
        line-height: 1.1;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .flash-deal-mobile-header .cz-countdown-separator {
        display: block;
        font-size: 18px;
        line-height: 1;
    }
}
