/* Product Section Styling */
.products-section {
    background-color: var(--bs-body-bg);
}

.section-title-wrap {
    margin-bottom: 50px;
}

/* CSS Grid for Responsive Columns */
.product-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* Individual Product Card */
.zen-product-card {
    background: var(--bs-white);
    border: 1px solid var(--bs-gray-200);
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(var(--bs-black-rgb), 0.04);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.zen-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(var(--bs-black-rgb), 0.08);
    border-color: var(--bs-primary);
}

/* Image Wrapper */
.card-image-wrap {
    width: 100%;
    height: 240px;
    /* Fixed height to keep all cards uniform */
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zen-product-card:hover .card-image-wrap img {
    transform: scale(1.08);
    /* Smooth zoom effect on hover */
}

/* Content Area */
.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Pushes button to the bottom if content height varies */
}

.product-name {
    font-family: var(--bs-body-font-family);
    font-size: 20px;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pricing */
.price-box {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--bs-primary);
    /* Olive Green */
}

.old-price {
    font-size: 15px;
    color: var(--bs-gray-500);
    text-decoration: line-through;
}

/* Meta List (Category, Packaging, etc) */
.product-meta-info {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    border-top: 1px dashed var(--bs-gray-300);
    padding-top: 20px;
}

.product-meta-info li {
    font-size: 14px;
    color: var(--bs-gray-600);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.product-meta-info li i {
    color: var(--bs-primary);
    /* Icon color matches theme */
    width: 20px;
    margin-right: 8px;
    font-size: 15px;
}

.product-meta-info li strong {
    color: var(--bs-dark);
    margin-right: 5px;
}

/* View Details Button */
.btn-view-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    background-color: var(--bs-dark);
    /* Dark grey matching theme text */
    color: var(--bs-white);
    padding: 14px;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--bs-border-radius-sm);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: auto;
    /* Always keeps button at the bottom */
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background-color: var(--bs-primary);
    /* Turns Olive green on hover */
    color: var(--bs-white);
}

.btn-view-details i {
    transition: transform 0.3s ease;
}

.btn-view-details:hover i {
    transform: translateX(5px);
    /* Arrow slides right on hover */
}

/* Responsive */
@media (max-width: 768px) {
    .product-grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .card-image-wrap {
        height: 200px;
    }
}


/* ===================================
   PRODUCT DETAILS CSS
=================================== */
.product-details-area {
    background-color: var(--bs-white);
}

.bg-light-beige {
    background-color: var(--bs-light);
    /* Matching your previous beige preference */
}

/* Image Styling */
.main-image-box {
    position: relative;
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-gray-200);
}

.main-image-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image-box:hover img {
    transform: scale(1.05);
    /* Smooth modern zoom */
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Thumbnails */
.image-thumbnails {
    display: flex;
    gap: 15px;
}

.image-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--bs-border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-thumbnails img:hover,
.image-thumbnails img.thumb-active {
    border-color: var(--bs-primary);
}

/* Right Info Section */
.category-text {
    color: var(--bs-gray-500);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--bs-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Pricing */
.price-wrap {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bs-gray-200);
}

.mrp-price {
    display: block;
    color: var(--bs-gray-500);
    font-size: 16px;
}

.export-price {
    font-size: 32px;
    color: var(--bs-primary);
    font-weight: 700;
    display: block;
}

.export-price span {
    font-size: 16px;
    color: var(--bs-dark);
    font-weight: 500;
}

.product-overview {
    font-size: 16px;
    color: var(--bs-gray-600);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* B2B Meta Specs */
.b2b-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    background: var(--bs-light);
    padding: 20px;
    border-radius: var(--bs-border-radius);
    border-left: 4px solid var(--bs-primary);
}

.b2b-meta-list li {
    font-size: 15px;
    color: var(--bs-gray-700);
    margin-bottom: 8px;
}

.b2b-meta-list li:last-child {
    margin-bottom: 0;
}

.b2b-meta-list strong {
    color: var(--bs-dark);
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-quote-large {
    background-color: var(--bs-dark);
    color: var(--bs-white);
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--bs-border-radius-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-quote-large:hover {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    /* Official WhatsApp color */
    color: white;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: var(--bs-border-radius-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-3px);
}

/* Modern Tabs */
.custom-zen-tabs {
    border-bottom: 2px solid var(--bs-gray-200);
}

.custom-zen-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--bs-gray-600);
    font-weight: 600;
    font-size: 18px;
    padding: 15px 30px;
    font-family: 'Playfair Display', serif;
    transition: all 0.3s ease;
    position: relative;
}

.custom-zen-tabs .nav-link:hover {
    color: var(--bs-primary);
}

.custom-zen-tabs .nav-link.active {
    color: var(--bs-primary);
    background: transparent;
}

.custom-zen-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--bs-primary);
}

.custom-tab-content {
    background: var(--bs-white);
    padding: 40px;
    border: 1px solid var(--bs-gray-200);
    border-top: none;
    border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
}

.modern-table th {
    background-color: var(--bs-light);
    width: 30%;
    color: var(--bs-dark);
}

/* Swiper Pagination Color */
.swiper-pagination-bullet-active {
    background: var(--bs-primary) !important;
}

/* Related Products Slider Fixes */
.relatedProductSwiper {
    width: 100%;
    overflow: hidden !important; /* Ye horizontal scrollbar ko permanently band kar dega */
    padding-bottom: 50px !important; /* Pagination dots ke liye space */
}

.relatedProductSwiper .swiper-slide {
    height: auto; /* Saare cards ko same height mein rakhega */
    display: flex;
    justify-content: center;
}

.relatedProductSwiper .zen-product-card {
    width: 100%;
    max-width: 350px; /* Card ko limit cross nahi karne dega */
    margin: 0 auto;
}

/* =========================================
   Swiper Pagination Dots Position Fix 
========================================= */

/* 1. Upar wale section mein agar galti se dots aa gaye hain toh unhe hamesha ke liye hide kar dega */
.product-details-area .swiper-pagination {
    display: none !important;
}

/* 2. Niche wale slider ke dots ko uske andar hi lock karega */
.relatedProductSwiper {
    position: relative !important; 
    padding-bottom: 40px !important; /* Dots ke liye bottom mein jagah banayega */
}

.relatedProductSwiper .swiper-pagination {
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: block !important;
}