.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-repeat: no-repeat;
    background: url("./img/seller.png");
    background-position: center;
    background-size: cover;
}

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

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

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

.for-discoutn-value-null {
    color: white;
    border-radius: 0px 5px;
    font-size: small;
    display: inline-block;
}

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

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

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

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

html[dir="rtl"] .for-dicount-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;
}

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

.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: 0px 0px 8px #0000001a;
    border: 1px solid #e2f0ff;
    border-radius: 3px;
}

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

.simplebar-content {
    padding-right: 0px !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-title {

}

.widget-product-title .ptr {
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 1.2em; /* (Number of lines you want visible) * (line-height) */
    line-height: 1.2em;
    font-weight: 400;
    font-size: 17px;
}

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;
}

.media {
    /*border-bottom: 1px solid #e3e9ef !important;*/
}

.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;
}

/*.carousel-item {
    height: 130px;
}*/

.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; /* (Number of lines you want visible) * (line-height) */
    line-height: 1.2em;
}

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

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

/*.featured_deal_carosel .carousel-inner {
    position: relative;
    width: 95%;
    overflow: hidden;
}*/

/*.featured_deal_carosel .carousel-control-prev {
    left: -9%;
}

.featured_deal_carosel .carousel-control-next {
    right: -5%;
}*/

.flash_deal {
    /*box-shadow: 0px 0px 8px #0000001a;*/
    border-radius: 3px;
}

.flash_deal_title {
    /*font-weight: 600;*/
    /*font-size: 18px;*/
    /*text-transform: uppercase;*/
    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 {
    /* display: inline-block; */
    flex-wrap: wrap;
    font-weight: normal;
    /* margin-top: 6px; */
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.flash_deal_product {
    box-shadow: 0px 3px 6px #0000000d;
    background: white;
    border-radius: 5px;
}

.flash_deal_product_pic {
    height: 175px;
    background: #f9f9f9;
    border-radius: 3px;
    padding: 0px 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;
    max-height: 2.4em; /* (Number of lines you want visible) * (line-height) */
    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;
}
/* Choose Options Button Hover - Orange */
.btn-outline-dark {
    border-color: #333;
    color: #333;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #FF6200 !important;   /* Orange color */
    color: white !important;
    border-color: #FF6200 !important;
}

/* Optional: Make it more vibrant */
.product-card-modern .btn-outline-dark:hover {
    background-color: #FF6200 !important;
    color: white !important;
}
.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 #00000014;
    border-radius: 5px;
    height: 284px;
}

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

.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; /* (Number of lines you want visible) * (line-height) */
    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;
}







/* Modern Single Product Card */
.product-card-modern {
    transition: all 0.3s ease;
}

.product-card-modern:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
    transform: translateY(-5px);
}

.product-card-modern img {
    transition: transform 0.4s ease;
}

.product-card-modern:hover img {
    transform: scale(1.05);
}

.product-name {
    font-size: 15px;
    line-height: 1.35;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-btn {
    z-index: 10;
}

.wishlist-btn:hover {
    background: white !important;
    color: #e74c3c !important;
}

/* Choose Options Button - Orange on Hover */
.btn-outline-dark {
    border-color: #333;
    color: #333;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #FF6200 !important;
    color: white !important;
    border-color: #FF6200 !important;
}

/* Premium Modern Categories */
.category-premium-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.category-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.category-img-wrapper {
    height: 160px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.4s ease;
}

.category-premium-card:hover .category-img-wrapper {
    background: #fff;
}

.category-img-wrapper img {
    max-height: 135px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.category-premium-card:hover img {
    transform: scale(1.08);
}

.category-name {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    padding: 12px 8px 16px;
    min-height: 52px;
}

/* Modern Category Section */
.category-side-modern {
    height: 100%;
    min-height: 320px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-side-modern:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Make sure product cards look good inside category */
.product-card-modern {
    border-radius: 12px;
    overflow: hidden;
}





/* =========================================
   PREMIUM EDITORIAL FEATURED PRODUCTS featured products section css started
   ========================================= */

.featured-editorial-section {
    padding-top: 20px;
}

.editorial-view-all {
    color: #222;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 2px solid #222;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.editorial-view-all:hover {
    color: #FF6200;
    border-color: #FF6200;
}

/* The Card */
.editorial-product-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.editorial-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Image Wrap */
.editorial-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8f8f8;
}

.editorial-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.editorial-product-card:hover .editorial-img-wrap img {
    transform: scale(1.1);
}

/* Discount Badge */
.editorial-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF6200;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(255,98,0,0.4);
}

html[dir="rtl"] .editorial-badge {
    left: auto;
    right: 15px;
}

/* Content Overlay */
.editorial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 60px 20px 20px;
    color: white;
    text-align: center;
    transition: padding 0.4s ease;
}

.editorial-product-card:hover .editorial-overlay {
    padding-bottom: 25px;
}

.editorial-rating i {
    font-size: 12px;
    color: #FFD700;
}

.editorial-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.editorial-price {
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* CTA Button Slide Up Effect */
.editorial-cta-wrap {
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.editorial-product-card:hover .editorial-cta-wrap {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.btn-editorial-cta {
    background: rgba(255,255,255,0.95);
    color: #000;
    border: none;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.btn-editorial-cta:hover {
    background: #FF6200;
    color: #fff !important;
}
/* Choose Options Button - Clean & Premium */
.choose-options-btn {
    background: transparent;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;           /* Keeps "Choose options" as is */
    border-radius: 0px;            /* Soft pill shape like your image */
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.choose-options-btn:hover {
    background: #FF6200;
    color: white;
    transform: translateY(-2px);
}
/* Premium Carousel Nav */
.feature-product-editorial .owl-nav {
    margin-top: 30px;
    text-align: center;
}

.feature-product-editorial .owl-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin: 0 8px !important;
}

.feature-product-editorial .owl-nav button:hover {
    background: #222 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .editorial-overlay {
        padding-top: 40px;
    }
    .editorial-cta-wrap {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* featured products section css completed */


/* =========================================
   PREMIUM OVERLAY CATEGORIES SECTION
   ========================================= */

.category-section-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.category-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
    text-transform: capitalize;
}

.category-overlay-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4; /* Tall rectangle like the image */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    background: #f8f8f8;
}

.category-overlay-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-overlay-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-overlay-card:hover img {
    transform: scale(1.08);
}

/* Dark gradient at the bottom of the image */
.category-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Text over the gradient */
.category-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 15px;
    z-index: 2;
    text-align: center;
}

.category-overlay-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: inherit; /* Uses your site's elegant font */
}

/* View All Button */
.category-view-all-btn {
    color: #222;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #222;
    padding-bottom: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.category-view-all-btn:hover {
    color: #FF6200;
    border-color: #FF6200;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .category-section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .category-section-title {
        font-size: 24px;
    }
    .category-section-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    .category-overlay-name {
        font-size: 13px;
        letter-spacing: 1px;
    }
    .category-overlay-card {
        aspect-ratio: 2/3; /* Slightly taller on mobile to look better */
    }
}
/* =========================================
   FULLSCREEN HERO SLIDER FIX
========================================= */

.home-slider-wrapper{
    width:100vw;
    margin:0;
    padding:0;
    overflow:hidden;
}

#carouselExampleIndicators,
#carouselExampleIndicators .carousel-inner,
#carouselExampleIndicators .carousel-item{
    width:100%;
}

/* THIS IS THE IMPORTANT PART */
.home-main-slider-image{
    width:100vw !important;
     height:auto;
    object-fit:cover;
    display:block;
}
/* DESKTOP */
/* .home-main-slider-image{
    width:100%;
    height:90vh;
    object-fit:cover;
    display:block;
} */

/* TABLET */
@media(max-width:991px){

    .home-main-slider-image{
        height:55vh;
        object-fit:contain;
        background:#fff;
    }

}

/* MOBILE */
@media(max-width:768px){

    .home-main-slider-image{
        width:100%;
        height:auto;
        max-height:none;
        object-fit:contain;
        background:#fff;
    }

    .carousel-item{
        background:#fff;
    }

}
/* REMOVE OLD HEIGHT LIMITS */
.main_banner_img{
    height:auto !important;
    max-height:none !important;
}

/* MOBILE */
@media(max-width:768px){

    .home-main-slider-image{
        height:40vh !important;
    }

}

/* REMOVE SIDE SPACING */
.container,
.container-fluid{
    max-width:100% !important;
}

/* REMOVE HORIZONTAL SCROLL */
body{
    overflow-x:hidden;
}
/* categories css completed */
/* =========================================
   MULTI-DEPARTMENT STORE LAYOUT
   ========================================= */

.department-section {
    border-bottom: 1px solid #f0f0f0;
}

.department-header {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.department-icon {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.department-sidebar {
    border-left: 4px solid #ddd;
    min-height: 300px;
}

.subcategory-link {
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.subcategory-link:hover {
    background: #f8f9fa;
    color: #FF6200 !important;
    transform: translateX(5px);
}

/* Distinct Sidebar Borders for Departments */
.department-section:nth-child(1) .department-sidebar {
    border-left-color: #1a1a2e; /* Dark elegant for Jewelry */
}

.department-section:nth-child(2) .department-sidebar {
    border-left-color: #ff6b81; /* Pink/Fashionable for Fashion */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .department-sidebar {
        min-height: auto;
        margin-bottom: 20px;
    }
    .department-header h1 {
        font-size: 1.8rem;
    }
}
    
/* =========================================
   IMMERSIVE DEPARTMENT STORE LAYOUT
   ========================================= */

.department-wrapper {
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.department-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.department-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.department-sidebar {
    border-left: 4px solid #ddd;
    min-height: 300px;
}

.subcategory-link {
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.subcategory-link:hover {
    background: #f8f9fa;
    color: #FF6200 !important;
    transform: translateX(5px);
}

/* Distinct Sidebar Borders for Departments */
.department-section:nth-child(odd) .department-sidebar {
    border-left-color: #1a1a2e; /* Dark elegant for Jewelry */
}

.department-section:nth-child(even) .department-sidebar {
    border-left-color: #ff6b81; /* Pink/Fashionable for Fashion */
}

/* RTL Support Fix for Sidebar */
html[dir="rtl"] .department-sidebar {
    border-left: none;
    border-right: 4px solid #ddd;
}
html[dir="rtl"] .department-section:nth-child(odd) .department-sidebar {
    border-right-color: #1a1a2e;
}
html[dir="rtl"] .department-section:nth-child(even) .department-sidebar {
    border-right-color: #ff6b81;
}
html[dir="rtl"] .subcategory-link:hover {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .department-sidebar {
        min-height: auto;
        margin-bottom: 20px;
    }
    .department-hero h1 {
        font-size: 1.8rem;
    }
}
/* Premium Why Choose Us Section */
.why-taambraa-section {
    background: #faf7f2;
}

.premium-why-card {
    background: white;
    border-radius: 20px;
    padding: 40px 25px 35px;
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    border: 1px solid #f5f0e6;
}

.premium-why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.icon-circle {
    width: 85px;
    height: 85px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #9c7a4a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.premium-why-card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(156, 122, 74, 0.2);
}

.premium-why-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: #1c1c1c;
}

.premium-why-card p {
    font-size: 15.2px;
    line-height: 1.65;
    color: #555;
}
/* =========================================
   PREMIUM MODERN BESTSELLERS / TOP RATED
   ========================================= */

.modern-bestseller-section {
    padding: 20px 0;
}

.modern-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modern-section-subtitle {
    font-size: 16px;
    color: #777;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Product Card - Flex Column for Equal Heights */
.modern-product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-product-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: #fff;
}

/* Image Area - Changed to Square (1/1) to fix mannequin image cropping */
.modern-img-wrapper {
    position: relative;
    aspect-ratio: 1/1; 
    background: #fafafa;
    overflow: hidden;
}

.modern-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-product-card:hover .modern-img-wrapper img {
    transform: scale(1.05);
}

/* Discount Badge */
.modern-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #111;
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

html[dir="rtl"] .modern-badge {
    left: auto;
    right: 15px;
}

/* Card Content - Flex Grow pushes price to the bottom */
.modern-card-body {
    padding: 20px 15px 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Product Name - Allowed 2 lines instead of cutting off */
.modern-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 47px; /* Ensures all cards have the same height for the title */
}

.modern-rating {
    color: #d4d4d4;
    font-size: 13px;
    margin-bottom: 8px;
}

.modern-rating .active {
    color: #FFD700;
}

/* Price - Margin top auto pushes it to align at the bottom */
.modern-price {
    margin-top: auto;
    padding-top: 10px;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

html[dir="rtl"] .old-price {
    margin-right: 0;
    margin-left: 8px;
}

.new-price {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

/* Modern View All Link */
.modern-view-all {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    letter-spacing: 1px;
    border-bottom: 2px solid #111;
    padding-bottom: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.modern-view-all:hover {
    color: #FF6200;
    border-color: #FF6200;
}

/* =========================================
   RESPONSIVE - TABLETS & SMALL DESKTOPS
   ========================================= */
@media (max-width: 992px) {
    .modern-section-title {
        font-size: 32px;
    }

    .modern-section-subtitle {
        font-size: 15px;
    }

    .modern-card-body {
        padding: 15px 12px 20px;
    }

    .modern-product-name {
        font-size: 15px;
        min-height: 42px;
    }

    .new-price {
        font-size: 16px;
    }
}

/* =========================================
   RESPONSIVE - MOBILE PHONES
   ========================================= */
@media (max-width: 768px) {
    .modern-bestseller-section {
        padding: 15px 0;
    }

    .modern-section-title {
        font-size: 26px;
        letter-spacing: 0.5px;
    }

    .modern-section-subtitle {
        font-size: 13px;
        letter-spacing: 0px;
    }

    .modern-bestseller-section.mb-5, 
    .modern-bestseller-section.mt-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .modern-bestseller-section.pt-5 {
        padding-top: 2rem !important;
    }

    .text-center.mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .modern-card-body {
        padding: 12px 8px 15px;
    }

    .modern-product-name {
        font-size: 14px;
        margin-bottom: 4px;
        min-height: 39px;
    }

    .modern-rating {
        font-size: 11px;
    }

    .old-price {
        font-size: 12px;
    }

    .new-price {
        font-size: 14px;
    }

    .modern-badge {
        top: 10px;
        left: 10px;
        padding: 3px 8px;
        font-size: 10px;
    }

    html[dir="rtl"] .modern-badge {
        left: auto;
        right: 10px;
    }
}

/* =========================================
   RESPONSIVE - VERY SMALL PHONES (e.g., iPhone SE)
   ========================================= */
@media (max-width: 375px) {
    .modern-section-title {
        font-size: 22px;
    }

    .modern-section-subtitle {
        font-size: 12px;
    }

    .modern-product-name {
        font-size: 13px;
        min-height: 36px;
    }

    .new-price {
        font-size: 13px;
    }

    .modern-card-body {
        padding: 10px 5px 12px;
    }
}   

.modern-product-card:hover .btn-discover {
    color: #FF6200; /* Adjust to your primary color */
    border-color: #FF6200;
}

/* View All Link */
.modern-view-all {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    letter-spacing: 1px;
    border-bottom: 2px solid #111;
    padding-bottom: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.modern-view-all:hover {
    color: #FF6200;
    border-color: #FF6200;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .modern-section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .modern-section-title {
        font-size: 26px;
    }
    
    .modern-section-subtitle {
        font-size: 14px;
    }

    .modern-card-body {
        padding: 15px 10px 20px;
    }

    .modern-product-name {
        font-size: 15px;
    }
    
    .new-price {
        font-size: 16px;
    }
}











@media (min-width: 600px) {
}



    .footer_banner_img {
        height: 165px;
    }

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



    .footer_banner_img {
        height: 165px !important;
    }

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

@media (max-width: 375px) {
    .for-dicount-div {
        margin-top: -5%;
        margin-bottom: 6%;
    }
    html[dir="ltr"] .for-dicount-div {
        margin-right: -5%;
    }
    html[dir="rtl"] .for-dicount-div {
        margin-left: -5%;
    }
}



    .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: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: 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: 0px;
    }

    .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 0px;
        border-top: 2px solid #e2f0ff !important;
    }

    .flash-product-price,
    .text-accent {
        font-size: 18px !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;
}

