/* ==================== PDP SCOPED ROOT CONTAINER ==================== */
.mateshwari-ecom-scope {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    box-sizing: border-box;
    overflow: visible !important;
    overflow-x: visible !important;
}

.mateshwari-ecom-scope *, 
.mateshwari-ecom-scope *::before, 
.mateshwari-ecom-scope *::after {
    box-sizing: border-box;
}

/* ==================== BREADCRUMB NAVIGATION ==================== */
.mateshwari-ecom-scope .pdp-breadcrumb {
    max-width: 1440px;
    margin: 12px auto 0 auto;
    padding: 0 16px;
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.mateshwari-ecom-scope .pdp-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}
.mateshwari-ecom-scope .pdp-breadcrumb a:hover {
    color: #008f82;
}
.mateshwari-ecom-scope .pdp-breadcrumb span.sep {
    color: #cbd5e1;
    font-size: 11px;
}
.mateshwari-ecom-scope .pdp-breadcrumb span.current {
    color: #0f172a;
    font-weight: 600;
}

/* ==================== STOCK BADGES ==================== */
.mateshwari-ecom-scope .stock-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.mateshwari-ecom-scope .stock-badge-in {
    background: #ecfdf5;
    color: #059669;
}
.mateshwari-ecom-scope .stock-badge-out {
    background: #fef2f2;
    color: #dc2626;
}

/* ==================== PINCODE CHECKER STYLES ==================== */
.mateshwari-ecom-scope .location-checker-box {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.2s ease;
}
.mateshwari-ecom-scope .location-checker-box.has-error {
    border: 2px solid #ef4444 !important;
    background: #fef2f2 !important;
    animation: pdpPincodeShake 0.35s ease;
}
.mateshwari-ecom-scope .location-checker-box.has-success {
    border: 2px solid #10b981 !important;
    background: #f0fdf4 !important;
}
@keyframes pdpPincodeShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.mateshwari-ecom-scope .pincode-result-box {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

/* ==================== PDP LAYOUT CONTAINER ==================== */
.mateshwari-ecom-scope .pdp-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 28px !important;
    max-width: 1440px !important;
    margin: 16px auto 36px !important;
    padding: 0 16px !important;
    position: relative !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* ==================== 1. LEFT GALLERY COLUMN (STICKY) ==================== */
.mateshwari-ecom-scope .gallery-sticky-column {
    flex: 0 0 460px !important;
    width: 460px !important;
    max-width: 460px !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 24px !important;
    align-self: flex-start !important;
    height: -webkit-fit-content !important;
    height: -moz-fit-content !important;
    height: fit-content !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04) !important;
    z-index: 20 !important;
    box-sizing: border-box !important;
}

.mateshwari-ecom-scope .gallery-sticky-column::-webkit-scrollbar {
    width: 4px;
}

.mateshwari-ecom-scope .gallery-sticky-column::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.mateshwari-ecom-scope .main-image-display {
    width: 100%;
    height: 420px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    position: relative;
}

.mateshwari-ecom-scope .main-image-display img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.mateshwari-ecom-scope .main-image-display:hover img {
    transform: scale(1.03);
}

/* Gallery Navigation Arrows on Main Image */
.mateshwari-ecom-scope .gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1e293b;
    font-size: 15px;
    z-index: 10;
    outline: none;
    transition: all 0.2s ease;
}

.mateshwari-ecom-scope .gallery-nav-btn:hover {
    background: #008f82;
    color: #ffffff;
    border-color: #008f82;
    transform: translateY(-50%) scale(1.08);
}

.mateshwari-ecom-scope .gallery-nav-btn.prev-btn {
    left: 12px;
}

.mateshwari-ecom-scope .gallery-nav-btn.next-btn {
    right: 12px;
}

/* Image Counter Pill */
.mateshwari-ecom-scope .gallery-counter-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    z-index: 10;
    letter-spacing: 0.5px;
}

/* ==================== PDP WISHLIST BUTTON (FLIPKART STYLE) ==================== */
.mateshwari-ecom-scope .pdp-custom-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 25;
    outline: none;
    color: #334155;
}

.mateshwari-ecom-scope .pdp-custom-wishlist:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    border-color: #cbd5e1;
    background: #ffffff;
}

.mateshwari-ecom-scope .pdp-custom-wishlist i {
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

.mateshwari-ecom-scope .pdp-custom-wishlist:not(.is-active) i,
.mateshwari-ecom-scope .pdp-custom-wishlist:not(.is-active) .fa-regular {
    color: #334155 !important;
}

.mateshwari-ecom-scope .pdp-custom-wishlist:not(.is-active):hover i {
    color: #e11d48 !important;
}

.mateshwari-ecom-scope .pdp-custom-wishlist.is-active,
.mateshwari-ecom-scope .pdp-custom-wishlist.is-active i,
.mateshwari-ecom-scope .pdp-custom-wishlist.is-active .fa-solid {
    color: #e11d48 !important;
    filter: drop-shadow(0 2px 6px rgba(225, 29, 72, 0.4));
}

.mateshwari-ecom-scope .section-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

/* Thumbnail Gallery Strip & Controls */
.mateshwari-ecom-scope .thumbnail-gallery-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.mateshwari-ecom-scope .thumbnail-gallery-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 2px;
    flex: 1;
}

.mateshwari-ecom-scope .thumbnail-gallery-row::-webkit-scrollbar {
    display: none;
}

.mateshwari-ecom-scope .thumb-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    color: #475569;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mateshwari-ecom-scope .thumb-nav-btn:hover {
    background: #008f82;
    color: #ffffff;
    border-color: #008f82;
}

.mateshwari-ecom-scope .thumb-item {
    width: 70px;
    height: 70px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mateshwari-ecom-scope .thumb-item.active,
.mateshwari-ecom-scope .thumb-item:hover {
    border-color: #008f82;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 143, 130, 0.2);
}

.mateshwari-ecom-scope .thumb-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Gallery Pagination Dots */
.mateshwari-ecom-scope .gallery-dots-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.mateshwari-ecom-scope .gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mateshwari-ecom-scope .gallery-dot.active {
    background: #008f82;
    width: 22px;
    border-radius: 4px;
}

/* ==================== 2. RIGHT DETAILS COLUMN (SCROLLABLE) ==================== */
.mateshwari-ecom-scope .details-scroll-column {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    position: relative !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

.mateshwari-ecom-scope .detail-card-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.mateshwari-ecom-scope .product-category-tag {
    font-size: 11px;
    font-weight: 700;
    color: #008f82;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e6f4f1;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.mateshwari-ecom-scope .product-main-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 8px;
}

.mateshwari-ecom-scope .rating-summary-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.mateshwari-ecom-scope .star-rating-badge {
    background: #388e3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.mateshwari-ecom-scope .rating-review-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.mateshwari-ecom-scope .price-tag-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mateshwari-ecom-scope .current-price {
    font-size: 24px;
    font-weight: 800;
    color: #15803d;
}

.mateshwari-ecom-scope .mrp-price {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}

.mateshwari-ecom-scope .discount-badge-text {
    font-size: 12px;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Variants Chips */
.mateshwari-ecom-scope .variants-flex-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.mateshwari-ecom-scope .variant-chip {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mateshwari-ecom-scope .variant-chip.active,
.mateshwari-ecom-scope .variant-chip:hover {
    background: #e6f4f1;
    border-color: #008f82;
    color: #008f82;
}

/* Order Summary Box */
.mateshwari-ecom-scope .order-summary-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 18px;
}

.mateshwari-ecom-scope .summary-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mateshwari-ecom-scope .summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #475569;
}

.mateshwari-ecom-scope .weight-highlight {
    font-weight: 700;
    color: #0f172a;
    border-top: 1px dashed #cbd5e1;
    padding-top: 4px;
    margin-top: 2px;
}

.mateshwari-ecom-scope .total-row {
    font-weight: 800;
    color: #0f172a;
    border-top: 1px solid #cbd5e1;
    padding-top: 4px;
    margin-top: 2px;
    font-size: 13.5px;
}

/* Inputs Row */
.mateshwari-ecom-scope .inputs-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.mateshwari-ecom-scope .quantity-counter-box {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    height: 40px;
}

.mateshwari-ecom-scope .qty-btn {
    background: #e2e8f0;
    border: none;
    width: 36px;
    height: 100%;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #334155;
    transition: background 0.2s;
}

.mateshwari-ecom-scope .qty-btn:hover {
    background: #cbd5e1;
}

.mateshwari-ecom-scope .qty-input {
    flex: 1;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
}

.mateshwari-ecom-scope .location-checker-box {
    display: flex;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    height: 40px;
}

.mateshwari-ecom-scope .location-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 10px;
    font-size: 12.5px;
    outline: none;
    color: #0f172a;
}

.mateshwari-ecom-scope .location-btn {
    background: #008f82;
    color: #ffffff;
    border: none;
    padding: 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.mateshwari-ecom-scope .location-btn:hover {
    background: #05554e;
}

/* Cart Actions */
.mateshwari-ecom-scope .cart-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mateshwari-ecom-scope .action-btn-large {
    padding: 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, opacity 0.2s;
}

.mateshwari-ecom-scope .action-btn-large:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.mateshwari-ecom-scope .btn-cart {
    background: #2874f0;
    color: #ffffff;
}

.mateshwari-ecom-scope .btn-buy {
    background: #ff8f00;
    color: #ffffff;
}

/* ==================== ACCORDIONS ==================== */
.mateshwari-ecom-scope .accordion-block {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.mateshwari-ecom-scope .accordion-header {
    width: 100%;
    background: #f8fafc;
    border: none;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mateshwari-ecom-scope .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #ffffff;
    padding: 0 14px;
}

.mateshwari-ecom-scope .accordion-body.open {
    max-height: 250px;
    padding: 12px 14px;
}

.mateshwari-ecom-scope .accordion-body p {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 6px;
}

/* ==================== REVIEWS SECTION ==================== */
.mateshwari-ecom-scope .rating-overview-container {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
}

.mateshwari-ecom-scope .rating-score-box {
    text-align: center;
    background: #f8fafc;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.mateshwari-ecom-scope .big-score {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.mateshwari-ecom-scope .score-stars {
    color: #f59e0b;
    font-size: 12px;
    margin: 4px 0;
}

.mateshwari-ecom-scope .total-reviews-count {
    font-size: 11px;
    color: #64748b;
}

.mateshwari-ecom-scope .histogram-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 11.5px;
    color: #64748b;
}

.mateshwari-ecom-scope .star-label {
    width: 35px;
}

.mateshwari-ecom-scope .bar-container {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.mateshwari-ecom-scope .bar-fill {
    height: 100%;
    background: #388e3c;
    border-radius: 3px;
}

.mateshwari-ecom-scope .section-divider {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
}

/* Add Review Form */
.mateshwari-ecom-scope .add-review-form-box h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.mateshwari-ecom-scope .form-group {
    margin-bottom: 12px;
}

.mateshwari-ecom-scope .form-label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.mateshwari-ecom-scope .star-rating-input {
    color: #f59e0b;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    gap: 4px;
}

.mateshwari-ecom-scope .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mateshwari-ecom-scope .form-input,
.mateshwari-ecom-scope .form-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 12.5px;
    background: #f8fafc;
    outline: none;
}

.mateshwari-ecom-scope .form-input:focus,
.mateshwari-ecom-scope .form-textarea:focus {
    border-color: #008f82;
    background: #ffffff;
}

.mateshwari-ecom-scope .file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mateshwari-ecom-scope .file-input {
    display: none;
}

.mateshwari-ecom-scope .file-label-btn {
    background: #e2e8f0;
    color: #334155;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.mateshwari-ecom-scope .file-name-display {
    font-size: 11.5px;
    color: #64748b;
}

.mateshwari-ecom-scope .submit-review-btn {
    background: #008f82;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.mateshwari-ecom-scope .submit-review-btn:hover {
    background: #05554e;
}

/* Review Cards */
.mateshwari-ecom-scope .pdp-review-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.mateshwari-ecom-scope .pdp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mateshwari-ecom-scope .reviewer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mateshwari-ecom-scope .reviewer-badge-icon {
    width: 28px;
    height: 28px;
    background: #008f82;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mateshwari-ecom-scope .badge-orange {
    background: #d97706;
}

.mateshwari-ecom-scope .reviewer-name {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.mateshwari-ecom-scope .verified-buyer-tag {
    font-size: 9.5px;
    color: #16a34a;
    font-weight: 600;
}

.mateshwari-ecom-scope .pdp-review-date {
    font-size: 10.5px;
    color: #94a3b8;
}

.mateshwari-ecom-scope .pdp-review-stars {
    color: #f59e0b;
    font-size: 11px;
    margin-bottom: 4px;
}

.mateshwari-ecom-scope .pdp-review-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin-left: 6px;
}

.mateshwari-ecom-scope .pdp-review-text {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 6px;
}

.mateshwari-ecom-scope .pdp-review-photos img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.mateshwari-ecom-scope .view-all-reviews-btn {
    background: #ffffff;
    color: #008f82;
    border: 1.5px solid #008f82;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.mateshwari-ecom-scope .view-all-reviews-btn:hover {
    background: #008f82;
    color: #ffffff;
}

/* ==================== REVIEWS MODAL POPUP ==================== */
.mateshwari-ecom-scope .reviews-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mateshwari-ecom-scope .reviews-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mateshwari-ecom-scope .reviews-modal-header {
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.mateshwari-ecom-scope .close-modal-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
}

.mateshwari-ecom-scope .reviews-filter-strip {
    display: flex;
    gap: 6px;
    padding: 10px 18px;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
}

.mateshwari-ecom-scope .filter-chip {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.mateshwari-ecom-scope .filter-chip.active {
    background: #e6f4f1;
    border-color: #008f82;
    color: #008f82;
}

.mateshwari-ecom-scope .reviews-modal-body {
    padding: 16px 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==================== RECENTLY VIEWED SLIDER ==================== */
.mateshwari-ecom-scope .pdp-bottom-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.mateshwari-ecom-scope .section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mateshwari-ecom-scope .section-title-wrap h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.mateshwari-ecom-scope .slider-controls {
    display: flex;
    gap: 6px;
}

.mateshwari-ecom-scope .slide-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #334155;
    transition: all 0.2s;
}

.mateshwari-ecom-scope .slide-btn:hover {
    background: #008f82;
    color: #ffffff;
    border-color: #008f82;
}

.mateshwari-ecom-scope .recent-slider-container {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.mateshwari-ecom-scope .recent-slider-container::-webkit-scrollbar {
    display: none;
}

.mateshwari-ecom-scope .product-card {
    min-width: 190px;
    max-width: 190px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.mateshwari-ecom-scope .card-img-box {
    width: 100%;
    height: 130px;
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.mateshwari-ecom-scope .card-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mateshwari-ecom-scope .card-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
}

.mateshwari-ecom-scope .card-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.mateshwari-ecom-scope .card-price {
    font-size: 14px;
    font-weight: 800;
    color: #15803d;
}

.mateshwari-ecom-scope .card-mrp {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
}

.mateshwari-ecom-scope .card-add-btn {
    width: 100%;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 6px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.2s;
}

.mateshwari-ecom-scope .card-add-btn:hover {
    background: #008f82;
    color: #ffffff;
    border-color: #008f82;
}

/* ==================== MOBILE RESPONSIVE (MAX-WIDTH: 991px) ==================== */
@media (max-width: 991px) {
    .mateshwari-ecom-scope .pdp-layout {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 8px !important;
        gap: 14px !important;
    }

    .mateshwari-ecom-scope .gallery-sticky-column {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        top: 0 !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .mateshwari-ecom-scope .details-scroll-column {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .mateshwari-ecom-scope .main-image-display {
        height: 260px;
    }

    .mateshwari-ecom-scope .detail-card-block {
        padding: 14px 10px;
    }

    .mateshwari-ecom-scope .product-main-title {
        font-size: 17px;
    }

    .mateshwari-ecom-scope .current-price {
        font-size: 20px;
    }

    .mateshwari-ecom-scope .inputs-grid-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mateshwari-ecom-scope .rating-overview-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mateshwari-ecom-scope .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .mateshwari-ecom-scope .recent-slider-container {
        scroll-snap-type: x mandatory;
    }

    .mateshwari-ecom-scope .product-card {
        min-width: 140px;
        max-width: 140px;
        scroll-snap-align: start;
    }
}
/* =========================================================
   PDP BOTTOM SECTIONS: TRENDING & SIMILAR PRODUCTS (FLIPKART STYLE)
   ========================================================= */

.mateshwari-ecom-scope .pdp-bottom-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 24px;
    margin-top: 28px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.mateshwari-ecom-scope .section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 12px;
}

.mateshwari-ecom-scope .fk-section-heading {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.mateshwari-ecom-scope .fk-section-sub {
    font-size: 12.5px;
    color: #64748b;
    margin: 4px 0 0 0;
}

.mateshwari-ecom-scope .slider-controls {
    display: flex;
    gap: 8px;
}

.mateshwari-ecom-scope .slide-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #334155;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.mateshwari-ecom-scope .slide-btn:hover {
    background: #008f82;
    color: #ffffff;
    border-color: #008f82;
    box-shadow: 0 4px 12px rgba(0, 143, 130, 0.3);
    transform: scale(1.08);
}

/* Slider Track */
.mateshwari-ecom-scope .recent-slider-container,
.mateshwari-ecom-scope .fk-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px 16px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mateshwari-ecom-scope .recent-slider-container::-webkit-scrollbar,
.mateshwari-ecom-scope .fk-slider-track::-webkit-scrollbar {
    display: none;
}

/* ==================== FLIPKART STYLE PRODUCT CARD ==================== */
.mateshwari-ecom-scope .fk-product-card,
.mateshwari-ecom-scope .product-card {
    min-width: 224px;
    max-width: 224px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
}

.mateshwari-ecom-scope .fk-product-card:hover,
.mateshwari-ecom-scope .product-card:hover {
    border-color: #008f82;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Card Media */
.mateshwari-ecom-scope .fk-card-media,
.mateshwari-ecom-scope .card-img-box {
    width: 100%;
    height: 170px;
    background: #ffffff;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #f8fafc;
}

.mateshwari-ecom-scope .fk-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mateshwari-ecom-scope .fk-img-wrap img,
.mateshwari-ecom-scope .card-img-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mateshwari-ecom-scope .fk-product-card:hover .fk-img-wrap img,
.mateshwari-ecom-scope .product-card:hover .card-img-box img {
    transform: scale(1.06);
}

/* Flipkart Green Discount Badge */
.mateshwari-ecom-scope .fk-discount-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #dcfce7;
    color: #15803d;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 5;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Card Body */
.mateshwari-ecom-scope .fk-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mateshwari-ecom-scope .fk-cat-name {
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mateshwari-ecom-scope .fk-prod-title,
.mateshwari-ecom-scope .card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    height: 37px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.15s ease;
}

.mateshwari-ecom-scope .fk-prod-title:hover,
.mateshwari-ecom-scope .card-title:hover {
    color: #008f82;
}

/* Flipkart Rating Pill */
.mateshwari-ecom-scope .fk-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.mateshwari-ecom-scope .fk-rating-pill {
    background: #388e3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.2;
}

.mateshwari-ecom-scope .fk-rating-pill i {
    font-size: 9px;
}

.mateshwari-ecom-scope .fk-rating-num {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* Price Box */
.mateshwari-ecom-scope .fk-price-box,
.mateshwari-ecom-scope .card-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.mateshwari-ecom-scope .fk-current-price,
.mateshwari-ecom-scope .card-price {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.mateshwari-ecom-scope .fk-old-mrp,
.mateshwari-ecom-scope .card-mrp {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.mateshwari-ecom-scope .fk-off-pct {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
}

/* Delivery Text */
.mateshwari-ecom-scope .fk-free-delivery,
.mateshwari-ecom-scope .fk-delivery-badge {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.mateshwari-ecom-scope .fk-delivery-badge.is-free {
    color: #059669;
}

.mateshwari-ecom-scope .fk-delivery-badge.is-charge {
    color: #1e293b;
    font-weight: 700;
}

.mateshwari-ecom-scope .fk-delivery-badge.is-unavailable {
    color: #dc2626;
}

/* Card Button */
.mateshwari-ecom-scope .fk-card-btn-wrap {
    margin-top: auto;
}

.mateshwari-ecom-scope .fk-card-action-btn,
.mateshwari-ecom-scope .card-add-btn {
    width: 100%;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.mateshwari-ecom-scope .fk-card-action-btn:hover,
.mateshwari-ecom-scope .card-add-btn:hover {
    background: #008f82;
    color: #ffffff;
    border-color: #008f82;
    box-shadow: 0 4px 10px rgba(0, 143, 130, 0.25);
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 1200px) and (min-width: 992px) {
    .mateshwari-ecom-scope .pdp-layout {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
    }
    .mateshwari-ecom-scope .gallery-sticky-column {
        flex: 0 0 380px !important;
        width: 380px !important;
        max-width: 380px !important;
    }
    .mateshwari-ecom-scope .main-image-display {
        height: 350px;
    }
    .mateshwari-ecom-scope .fk-product-card,
    .mateshwari-ecom-scope .product-card {
        min-width: 200px;
        max-width: 200px;
    }
}

@media (max-width: 991px) {
    .mateshwari-ecom-scope .pdp-layout {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 10px !important;
        gap: 16px !important;
    }

    .mateshwari-ecom-scope .gallery-sticky-column {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        top: 0 !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding: 12px;
    }

    .mateshwari-ecom-scope .details-scroll-column {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .mateshwari-ecom-scope .main-image-display {
        height: 280px;
    }

    .mateshwari-ecom-scope .pdp-bottom-section {
        padding: 16px 12px !important;
        margin-top: 18px !important;
        border-radius: 8px !important;
    }

    .mateshwari-ecom-scope .fk-section-heading {
        font-size: 16px !important;
    }

    .mateshwari-ecom-scope .recent-slider-container,
    .mateshwari-ecom-scope .fk-slider-track {
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 4px 2px 10px 2px !important;
    }

    .mateshwari-ecom-scope .fk-product-card,
    .mateshwari-ecom-scope .product-card {
        min-width: 158px !important;
        max-width: 158px !important;
        padding: 10px 8px !important;
        scroll-snap-align: start !important;
    }

    .mateshwari-ecom-scope .fk-card-media,
    .mateshwari-ecom-scope .card-img-box {
        height: 125px !important;
        margin-bottom: 6px !important;
    }

    .mateshwari-ecom-scope .fk-prod-title,
    .mateshwari-ecom-scope .card-title {
        font-size: 11.5px !important;
        height: 32px !important;
        margin-bottom: 4px !important;
    }

    .mateshwari-ecom-scope .fk-current-price,
    .mateshwari-ecom-scope .card-price {
        font-size: 14px !important;
    }

    .mateshwari-ecom-scope .fk-old-mrp,
    .mateshwari-ecom-scope .card-mrp,
    .mateshwari-ecom-scope .fk-off-pct {
        font-size: 10.5px !important;
    }

    .mateshwari-ecom-scope .fk-card-action-btn,
    .mateshwari-ecom-scope .card-add-btn {
        padding: 6px 8px !important;
        font-size: 11px !important;
    }
}