
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

a {
    text-decoration: none;
}





.carousel-control-prev-icon,
.carousel-control-next-icon {
 position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--badge-bg-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect (only on devices that support hover) */
@media (hover: hover) and (pointer: fine) {
    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        background-color: var(--carousel-btn-hover-color);
        border-color: var(--carousel-btn-hover-color);
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 10px 5px; 
        width: 25px; 
        height: 25px;
        background-size: 50%;
    }
}



/* main */

/* featured products */

.container {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 15px; 
    box-sizing: border-box;
}

b {
    display: block;
    flex: 1;
    height: 2px;
    opacity: .1;
    background-color: var(--border-color);
    width: 30%;
    margin-top: 26px;
}

.bestSeller_title {
    flex: 0 0 auto;
    position: relative;
    top: 20px;
    display: flex;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: var(--section-title-color);
    align-items: center; 
}

.bestSeller_title h2 {
    flex: 0 0 auto;
    font-size: clamp(1.5rem, 4vw, 2rem);
    padding: 10px;
    font-weight: 500;
    font-family: var(--font-family-1);
    text-align: center; 
    white-space: nowrap; 
}

.sub-heading {
    font-style: italic;
    color: var(--sub-title-color);
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1rem); 
    padding: 0 10px; 
}


    :root {
    --carousel-btn-hover-color: #FF90BB;
    --section-title-color: #FF90BB;
    --sub-title-color:#878787;
    --border-color: #7a7979;
    --font-family-1:"Montserrat", sans-serif;
    --font-family-2: Quicksand;
    --badge-bg-color:#d0157d;
    --quick-card-btn-bg-color:#FF90BB;
    --product-title-color:#3d3c3c;
}

    section{
        position: relative;
        margin-top: 0%;
    }



.cardItem-image-container {
    position: relative;
    width: 200px;
    height: 220px;
    overflow: hidden;
}

.cardItem_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.cardItem:hover .primary-image {
    opacity: 0;
}

.cardItem:hover .secondary-image {
    opacity: 1;
}

/* Keep your existing sale-badge style */
.sale-badge {
    position: absolute;
    background-color: var(--badge-bg-color);
    padding: 8px;
    color: white;
    width: 57px;
    margin-left: 10px;
    margin-top: 17px;
    border-radius: 50%;
    height: 55px;
    align-items: center;
    display: flex;
    z-index: 2; /* Ensure badge stays above images */
}

/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
 position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--badge-bg-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Navigation Buttons */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--badge-bg-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav.left {
    left: 5px;
}

.nav.right {
    right: 5px;
}

/* Card Slider */
.card-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
}

.card-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Product Card */
.product-card {
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    margin: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: white;
}

@media (min-width: 768px) {
    .product-card {
        flex: 0 0 calc(33.333% - 15px);
    }
}

@media (min-width: 1024px) {
    .product-card {
        flex: 0 0 calc(25% - 15px);
    }
}

.product-card:hover {
    transform: translateY(-5px);
}

.card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.card-content:hover{
    border: 1px solid var(--badge-bg-color);
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    padding-top: 120%; /* Aspect ratio 4:5 */
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-image.secondary {
    opacity: 0;
}

/* Hover effect - works on mobile via touch */
.product-card:active .product-image.primary,
.product-card:hover .product-image.primary {
    opacity: 0;
}

.product-card:active .product-image.secondary,
.product-card:hover .product-image.secondary {
    opacity: 1;
}



/* Quick View */
.quick-view {
    position: absolute;
    bottom: 125px;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.quick-view-btn {
    display: inline-block;
    background: var(--badge-bg-color);
    color: white;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 14px;
}

.product-card:hover .quick-view,
.product-card:active .quick-view {
    opacity: 1;
}

/* Product Info */
.product-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    margin: 0 0 0px 0;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 20px;
    color: var(--product-title-color);
}

.price {
    margin-bottom: 5px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 5px;
}

.sale-price, .current-price {
    color: var(--badge-bg-color);
    font-weight: bold;
    font-size: 16px;
}

.product-category {
    font-size: 12px;
    color: #666;
    margin-top: auto;
}

/* No Products */
.no-products {
    text-align: center;
    width: 100%;
    color: #666;
    padding: 20px;
}


.nav {
    display: none;
}


.slider-container.multiple-products .nav {
    display: flex;
}

.card-slider:not(.scrollable) {
    justify-content: center;
    overflow: hidden !important;
}

.card-slider:not(.scrollable) {
    scroll-snap-type: none;
}

/* All product css */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

/* Keep all your existing product card styles from New Arrivals */
.product-card {
    /* All your existing styles remain the same */
    margin: 0; /* Remove margin since we're using grid gap */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}



    /* Latest products */

   


    .latestProduct_item {
        color: var(--product-title-color);
        display: inline-block;
    }

    .latestProduct_item h3 {
        font-size: 14px;
        margin-bottom: 0;
        font-family: "Montserrat", sans-serif;
        font-weight: 800;
    }

    .latestProduct_item p {
        margin-bottom: 0;
    }

    .latestProducts {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 10px;
    } 

/* Responsive Adjustments */
@media (max-width: 768px) {
    .latestProducts {
        gap: 15px;
        padding: 12px;
    }
    
    .latest-product-img {
        width: 80px;
        height: 80px;
    }
    
    .latestProduct_item h3 {
        font-size: 13px;
    }
    
    .cardItem_price {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .bestSeller_title {
        margin-bottom: 20px !important;
    }
    
    .latestProducts {
        gap: 12px;
        padding: 10px;
    }
    
    .latest-product-img {
        width: 70px;
        height: 70px;
    }
    
    .latestProduct_item h3 {
        font-size: 12px;
    }
    
    .latestProduct_item p {
        font-size: 12px;
    }
    
    .cardItem_price {
        font-size: 14px;
    }
}


 /* About Section */
.about_content {
    padding: 40px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    display: flex;
    flex-wrap: wrap; /* Wrap on small screens */
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--badge-bg-color);
    color: white;
    border-radius: 12px;
}

.About_us {
    text-align: center;
    flex: 1 1 300px;
}

.contact_us {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.contact_us-content {
    text-align: center;
}

.contact_us-content h2 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #ffffff;
}

.contact_us-content a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact_us-content a:hover {
    color: #ffffff;
}

/* Social Icons */
.social_icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social_icons a {
    text-decoration: none;
    color: #f5f5f5;
}

.social_icons i {
    font-size: 20px;
    border: 2px solid white;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

.social_icons i:hover {
    transform: scale(1.1);
}

.fa-facebook-f:hover {
    background-color: #0693e3;
    border-color: #0693e3;
}

.fa-instagram:hover {
    background-color: #e25494;
    border-color: #e25494;
}

.fa-tiktok:hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .about_content {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
    }

    .contact_us {
        flex-direction: column;
        gap: 15px;
    }

    .social_icons i {
        font-size: 18px;
        padding: 6px;
    }
}


 
    /* footer */
    .payment-icon {
        display: inline-block;
        transition: opacity .3s;
        border-radius: 5px;
        background-color: var(--badge-bg-color);
        padding: 3px 5px 5px;
        position: relative;
        margin: 0 auto;
    }

    .payment-icon svg {
        fill: #fff;
        vertical-align: middle;
        height: 20px;
        width: auto !important;
    }

    .footer {
        color: rgba(26, 25, 25, 0.637);
        font-size: .9em;
        margin-top: 15px;
        text-align: center;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .footer_content {
        text-transform: uppercase;
        margin-top: 10px;
    }

    .footer_content ul {
        margin: 0 auto 5px;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 11px;
        max-width: 600px;
        padding: 0;
    }

    .footer_content ul li  {
        text-decoration: none;
        color: rgba(54, 53, 53, 0.5);
        transition: all 0.3s ease;
        font-size: 0.85em;
        white-space: nowrap;
    }

 
    
    .copyright_footer {
        margin-top: 15px;
        font-size: 0.85em;
    }
    
    /* WhatsApp button */
    .whatsapp-float {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #25D366;
        color: white;
        padding: 10px 15px;
        border-radius: 50%;
        text-align: center;
        font-size: 24px;
        z-index: 1000;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .whatsapp-float:hover{
        color: white;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .footer_content ul {
            gap: 8px;
        }
        
        .footer_content ul li {
            font-size: 0.75em;
        }
        
        .payment-icon svg {
            height: 16px;
        }
        
        .copyright_footer {
            font-size: 0.75em;
        }
        
        .whatsapp-float {
            width: 45px;
            height: 45px;
            font-size: 20px;
            bottom: 15px;
            right: 15px;
        }
    }
    
    @media (max-width: 480px) {
        .footer_content ul {
            gap: 6px;
        }
        
        .footer_content ul li  {
            font-size: 0.65em;
        }
        
        .payment-icon {
            padding: 2px 4px 4px;
        }
        
        .payment-icon svg {
            height: 14px;
        }
    }
 @media (max-width: 991.98px) {
    .sub-heading {
    font-style: italic;
    color: var(--sub-title-color);
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1rem);
    padding: 0 10px;
    margin-top: -20px;
}

.sale-price, .current-price {
    color: var(--badge-bg-color);
    font-weight: bold;
    font-size: 12px;
}

.price{
    display:flex;
}

.sale-badge {
    position: absolute;
    background-color: var(--badge-bg-color);
    padding: 6px;
    color: white;
    width: 40px;
    margin-left: 10px;
    margin-top: 17px;
    border-radius: 50%;
    height: 40px;
    align-items: center;
    display: flex;
    z-index: 2;
    font-size: 13px;
}
 }
