/* =============== CRITICAL FIXES FOR HORIZONTAL SCROLL =============== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

.container, .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.section-a, .offer-banners-section {
    overflow: hidden;
}
/* =============== END FIXES =============== */

:root {
    --green: #3a544b;
    --light-bg: #b0bbb7;
    --dark-text: #222;
    --discount-red: #e74c3c;
}

body {
    font-family: 'Plate', Montserrat, sans-serif !important;
    background: #fff;
    color: var(--dark-text);
}

.section-title {
    font-family: 'Plate', Montserrat, sans-serif !important;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    position: relative;
}

/* Slider Wrapper for Arrows */
.slider-wrapper {
    position: relative;
    padding: 0 30px;
    margin: 20px 0 40px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    z-index: 10;
}

.scroll-btn:hover {
    background: var(--green);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.left-btn { left: 0; }
.right-btn { right: 0; }

/* New Arrivals */
.new-arrivals-carousel { background: #fff; }

.new-arrivals-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.new-arrivals-slider::-webkit-scrollbar { display: none; }

/* Updated card design to match screenshot */
.new-arrival-item {
    min-width: 280px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.new-arrival-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* Product image with proper aspect ratio */
/* .new-arrival-img {
    height: 300px;
    object-fit: contain;
    width: 100%;
    display: block;
    background-color: #f8f9fa;
    padding: 15px;
} */

/* Heart icon positioning - always visible */
.btn-wishlist {
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.2rem;
    padding: 0.5rem;
    z-index: 1;
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
}

.btn-wishlist:hover,
.btn-wishlist.active {
    color: #e74c3c;
}

/* Discount badge positioning */
.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--discount-red);
    color: white;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Product info section */
.new-arrival-info {
    padding: 15px;
    text-align: center;
}

.new-arrival-title {
    font-family: 'Plate', Montserrat, sans-serif !important;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.tax-included{
    color: #555;
}

.discounted-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green);
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.95rem;
    margin-right: 8px;
}

/* Shop by Category Section */
.shop-by-category-section { background: #fff; }

.category-row {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding: 10px 0;
}

.category-row::-webkit-scrollbar { display: none; }

.category-card {
    flex: 0 0 auto;
    width: 200px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    scroll-snap-align: start;
}

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

.category-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.category-label {
    margin-top: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    word-break: break-word;
}

/* Special Collections Section */
.special-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.special-slider::-webkit-scrollbar { display: none; }

.special-collection-item {
    min-width: 280px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.special-collection-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}



.special-collection-info {
    padding: 15px;
    text-align: center;
}

.special-collection-title {
    font-size: 1rem;
    font-weight: 500 !important;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: black;
}

/* Why Shop With Us Section */
.why-shop-with-us {
    text-align: center;
    padding: 60px 0;
    background: #fff;
}

.benefits-row {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.benefit-card {
    width: 280px;
    padding: 30px 25px;
    border-radius: 12px;
    border: 1px solid var(--light-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3d111e;
    margin: 0 0 10px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Testimonials Section */
.testimonial-card {
    border-left: 4px solid #2F2E74;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Section Divider */
.divider-wrapper {
    justify-content: center;
    display: flex;
    align-items: center;
    margin: 0px 0;
}

.left-line {
    flex: 0.1;
    height: 3px;
    background: var(--green);
}

.right-line {
    flex: 1;
    height: 3px;
    background: #e5e5e5;
    margin-left: 5px;
}

/* Offer Banners Section */
.offer-banners-section {
    background: #f8f9fa;
    padding: 30px 0;
}

.offer-banners-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.offer-banner-item {
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: white;
}

.offer-banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.offer-banner-img,
.offer-banner-video {
    width: 100%;
    object-fit: cover;
    display: block;
}

.offer-banner-video { background: #000; }

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-button { margin: 0 auto; }
    .slider-wrapper { padding: 0 25px; }
}

@media (max-width: 768px) {
    .category-row { justify-content: start; }
    .section-title { font-size: 1.5rem; }
    /* .new-arrival-img, .special-collection-img { height: 250px; } */
    .collection-img, .unstitched-img { height: 250px; }
    .new-arrivals-slider, .special-slider { gap: 5px; }
    .new-arrival-item, .special-collection-item { min-width: 200px; }
    .slider-wrapper { padding: 0 15px; }
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .sarees-grid, .unstitched-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sarees-collection, .unstitched-salwar {
        padding: 0px 0;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    /* .section-title { font-size: 1.5rem; }
    .new-arrival-img, .special-collection-img {
        width: 200px;
        height: 250px;
    } */
    .collection-img, .unstitched-img { height: 200px; }
    .slider-wrapper { padding: 0 10px; }
    .scroll-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .new-arrival-item, .special-collection-item {
        min-width: 180px;
    }
}

/* Tab styles */
.tabs-container {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tabs-container .nav-tabs {
    border: none;
    gap: 8px;
}

.tabs-container .nav-link {
    background-color: #f8f9fa;
    color: #555;
    font-weight: 600;
    border: none;
    transition: all 0.25s ease;
    min-width: 120px;
    text-align: center;
}

.tabs-container .nav-link:hover {
    background-color: #e9ecef;
    color: #3a544b;
}

.tabs-container .nav-link.active {
    background-color: #3a544b;
    color: white !important;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

/* Product card specific styling for screenshot match */
.product-card {
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}




/* Price styling to match screenshot */
.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green);
    margin-top: 10px;
}

.product-original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.95rem;
    margin-right: 8px;
    margin-top: 5px;
}

.product-discount {
    color: #e74c3c;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 5px;
    display: inline-block;
}

/* Category card styling */
.category-card {
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

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

/* Category card content */
.category-content {
    padding: 15px;
    text-align: center;
}