/* Product Catalog Container */
.product-catalog-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
    .product-catalog-container {
        padding-left: max(1.25rem, 5vw);
        padding-right: max(1.25rem, 5vw);
    }
}

/* Header */
.catalog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.catalog-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #92c13e;
    margin-bottom: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: rgba(146, 193, 62, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
}

.catalog-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a2e05;
    margin-bottom: 0.75rem;
}

.catalog-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Compact Search ──────────────────────────────────────── */
.sleek-search-section {
    max-width: 60%;
    margin: 0 auto 2.5rem;
}

/* For mobile (≤767px) */
@media (max-width: 767px) {
    .sleek-search-section {
        max-width: 100%;
    }
}

.search-main-container {
    position: relative;
}

.sleek-search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    gap: 0.6rem;
}

.sleek-search-bar:focus-within {
    border-color: #92c13e;
    box-shadow: 0 5px 18px rgba(146, 193, 62, 0.18);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.search-icon {
    padding: 0 0.5rem 0 0.25rem;
    color: #92c13e;
    font-size: 1.15rem;
}

.sleek-search-input {
    flex: 1;
    border: none;
    padding: 0.9rem 0;
    font-size: 15px;
    background: transparent;
    outline: none;
    font-weight: 500;
    color: #1a2e05;
}

.sleek-search-input::placeholder {
    color: #a0aec0;
}

.search-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.search-btn {
    padding: 0.7rem 1.3rem;
    background: linear-gradient(135deg, #92c13e 0%, #7aa634 100%);
    color: white;
    border: none;
    border-radius: 9px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(146, 193, 62, 0.28);
}

/* Remove old filter toggle from search bar */
.filter-toggle {
    display: none;
}

/* ─── Floating Filter Bubble Button ───────────────────────── */
.floating-filter-bubble {
    position: fixed;
    left: 10px;
    bottom: 15px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #92c13e 0%, #7aa634 100%);
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(146, 193, 62, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 0 0 4px rgba(146, 193, 62, 0.1);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    animation: floatBubble 3s ease-in-out infinite;
}

.floating-filter-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(146, 193, 62, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15),
        0 0 0 6px rgba(146, 193, 62, 0.15);
}

.floating-filter-bubble.active {
    background: linear-gradient(135deg, #7aa634 0%, #5a7d24 100%);
    animation: pulseActive 1.5s ease-in-out infinite;
}

.floating-filter-bubble .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseActive {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(146, 193, 62, 0.3), 0 2px 6px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(146, 193, 62, 0.1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(146, 193, 62, 0.5), 0 2px 6px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(146, 193, 62, 0.2);
    }
}

/* For desktop screens, adjust position */
@media (min-width: 1024px) {
    .floating-filter-bubble {
        left: 20px;
        bottom: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .floating-filter-bubble {
        left: 10px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ─── Filters ─────────────────────────────────────────────── */
.active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    min-height: 28px;
}

.active-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(146, 193, 62, 0.08);
    border: 1px solid rgba(146, 193, 62, 0.15);
    border-radius: 6px;
    font-size: 12px;
    color: #92c13e;
    font-weight: 500;
}

.active-tag i {
    cursor: pointer;
    font-size: 11px;
    opacity: 0.7;
}

.active-tag i:hover {
    opacity: 1;
}

.compact-filters-panel {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-top: 1rem;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.compact-filters-panel.active {
    opacity: 1;
    height: auto;
}

.quick-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    padding: 0.45rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    background: #eef2f6;
}

.filter-chip.active {
    background: rgba(146, 193, 62, 0.1);
    border-color: #92c13e;
    color: #92c13e;
}

.advanced-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.125rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sleek-select {
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    appearance: none;
}

.sleek-select:focus {
    outline: none;
    border-color: #92c13e;
    box-shadow: 0 0 0 3px rgba(146, 193, 62, 0.1);
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-info {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-info strong {
    color: #1a2e05;
}

.sorting-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sleek-sort-select {
    padding: 0.6rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 13px;
    min-width: 150px;
}

.clear-filters-btn {
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
}

.clear-filters-btn:hover {
    background: #f1f5f9;
}

@media (max-width: 640px) {
    .compact-filters-panel {
        padding: 1rem 1.125rem;
    }

    .quick-filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .advanced-filters-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Product Grid with Square Images ────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem 1.125rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0;
    }

    .product-card {
        padding: 0.75rem 0.5rem;
        border-radius: 10px;
    }

    .product-model {
        font-size: 13px;
    }

    .product-image-container {
        height: 140px;
        margin: 0.4rem 0;
    }

    .product-specs {
        gap: 0.4rem;
        margin: 0.5rem 0;
    }

    .spec-value {
        font-size: 10px;
    }

    .spec-label {
        font-size: 10px;
    }

    .product-actions {
        flex-direction: column;
        gap: 0.4rem;
    }

    .contact-btn,
    .details-btn {
        width: 100%;
        padding: 0.5rem;
        font-size: 11.5px;
    }
}

@media (min-width: 1400px) {
    .product-grid {
        max-width: 1480px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .product-grid {
        gap: 0.5rem;
    }

    .product-card {
        padding: 0.5rem;
    }

    .product-model {
        font-size: 12px;
    }
}

/* For tablets and larger mobile devices (between 640px and 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    border-color: rgba(146, 193, 62, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #92c13e, #7aa634);
    opacity: 0.8;
    border-radius: 12px 12px 0 0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.product-model {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.product-brand {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Fixed Square Image Container - NO GAPS */
.product-image-container {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    display: block;
}

/* Updated Product Specs - Voltage and Dimensions */
.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.spec-item {
    text-align: center;
}

.spec-value {
    font-size: 10px;
    font-weight: 700;
    color: #0f172a;
}

.spec-label {
    font-size: 9px;
    color: #64748b;
    text-transform: uppercase;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.action-btn {
    flex: 1;
    padding: 0.65rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Contact button - Green (Primary) on left */
.contact-btn {
    background: linear-gradient(135deg, #92c13e, #7aa634);
    color: white;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #7aa634, #62852a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(146, 193, 62, 0.3);
}

/* Details button - White (Secondary) on right */
.details-btn {
    background: white;
    border: 1.5px solid #e2e8f0;
    color: #475569;
}

.details-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
        gap: 0.4rem;
    }

    .contact-btn,
    .details-btn {
        width: 100%;
        padding: 0.5rem;
        font-size: 11.5px;
    }

    .contact-btn {
        order: 1;
    }

    .details-btn {
        order: 2;
    }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 3.5rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

/* Pagination (simplified) */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.5rem 0.9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    min-width: 38px;
}

.page-btn.active {
    background: rgba(146, 193, 62, 0.1);
    border-color: #92c13e;
    color: #92c13e;
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ─── MODAL STYLES ───────────────────────── */
.product-modal-section {
    width: 100%;
    margin: 2rem auto 0;
    padding: 1.5rem 1rem;
    font-family: inherit;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.5;
    box-sizing: border-box;
}

.product-modal-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(215 208 208 / 38%);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 80px 1rem 70px 1rem;
    box-sizing: border-box;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.product-modal.active {
    display: flex;
}

.product-modal-content {
    background: white;
    border-radius: 20px;
    width: calc(100% - 2rem);
    max-width: 1200px;
    max-height: calc(100vh - 150px);
    height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.product-close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.product-close-modal:hover {
    background: white;
    transform: scale(1.1);
}

.product-modal-body {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

/* Full-width modal header */
.product-modal-header-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    width: 100%;
}

.product-modal-title-full {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.product-modal-distributor-full {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
}

/* Quick View Layout */
.product-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 1rem;
}

/* Left Column with Constrained Gallery - Now Sticky */
.product-left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: flex-start;
    position: sticky;
    top: 2rem;
    height: fit-content;
    z-index: 1;
}

/* Fixed Square Image Gallery - NO GAPS */
.product-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: auto;
}

/* Fixed Square Main Image Container - NO GAPS */
.product-main-image-container {
    position: relative;
    width: 100%;
    max-width: 330px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    touch-action: pan-y pinch-zoom;
    margin: 0 auto;
    padding: 0;
}

.product-main-image-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    transition: transform 0.3s ease;
    display: block;
}

.product-main-image-container:hover .product-main-image {
    transform: scale(1.02);
}

/* Logo overlay */
.product-logo-overlay {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 80px;
    height: 40px;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Thumbnails - Centered */
.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    height: 60px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 #f8fafc;
    padding: 0.25rem;
    scroll-behavior: smooth;
    touch-action: pan-x pinch-zoom;
    max-width: 500px;
    margin: 0 auto;
}

.product-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.product-thumbnails::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 2px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 2px;
}

.product-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.product-thumbnail {
    flex: 0 0 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-width: 50px;
    touch-action: manipulation;
}

.product-thumbnail.active,
.product-thumbnail:hover {
    border-color: #92c13e;
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(146, 193, 62, 0.25);
}

/* Right Column - Reduced top margin */
.product-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 0;
    margin-top: 0.5rem;
}

/* Hero Section */
.product-hero-section {
    text-align: left;
    margin-bottom: 0;
}

.product-model-name {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a2e05 0%, #92c13e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.product-model-name:hover {
    transform: translateX(4px);
}

.product-model-subtitle {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
    letter-spacing: 0.01em;
}

/* Brand logo in right column */
.product-brand-logo-right {
    display: flex;
    justify-content: flex-start;
    margin: 0.5rem 0 1rem;
}

.product-brand-logo-container {
    width: 120px;
    height: 50px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #e2e8f0;
}

.product-brand-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Pricing Section with CTA buttons */
.product-pricing-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.8) 100%);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(146, 193, 62, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #92c13e, transparent);
}

.product-pricing-info {
    flex: 1;
}

.product-price-range {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #92c13e 0%, #7aa634 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.product-price-label {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.product-pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 1rem;
}

/* Get Latest Price Button with Pulse Animation */
.product-get-latest-price-btn {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #92c13e 0%, #7aa634 100%);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(146, 193, 62, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: product-pulse 2s infinite;
    touch-action: manipulation;
}

@keyframes product-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(146, 193, 62, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(146, 193, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(146, 193, 62, 0);
    }
}

.product-get-latest-price-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
    z-index: -1;
}

.product-get-latest-price-btn:hover::before {
    left: 100%;
}

.product-get-latest-price-btn:hover {
    background: linear-gradient(135deg, #7aa634 0%, #62852a 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(146, 193, 62, 0.35);
    animation: none;
}

/* Content Sections */
.product-content-section {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #92c13e 0%, #6e9c1c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-content-section:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.product-content-section:hover::before {
    opacity: 1;
}

.product-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2e05;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
}

.product-section-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #92c13e, #6e9c1c);
    border-radius: 50%;
    flex-shrink: 0;
}

.product-product-description p {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
}

/* Specifications Table */
.product-specifications table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    font-size: 0.875rem;
}

.product-specifications th,
.product-specifications td {
    padding: 0.75rem 0;
    text-align: left;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    vertical-align: top;
}

.product-specifications th {
    font-weight: 500;
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 35%;
    padding-right: 0.75rem;
}

.product-specifications td {
    font-weight: 600;
    color: #1a2e05;
    font-size: 0.875rem;
    word-break: break-word;
}

.product-applications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-applications li {
    padding: 0.75rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(226, 232, 240, 0.2);
}

.product-applications li:last-child {
    border-bottom: none;
}

.product-applications li::before {
    content: "→";
    color: #92c13e;
    font-weight: 300;
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 0.75rem;
    transition: transform 0.3s ease;
}

.product-applications li:hover::before {
    transform: translateX(4px);
}

/* Discharge Chart Styling */
.product-full-width-section {
    width: 100%;
    margin: 2rem 0 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.product-full-width-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}

.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

#productDischargeChart {
    width: 100%;
    height: 100%;
}

/* FIXED: Get Quote Modal Header - Always in single row */
.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    width: 100%;
    flex-wrap: nowrap;
    gap: 1rem;
}

.product-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-modal-distributor {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Contact and Quote Modals - UPDATED FOR MOBILE */
.product-contact-options {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-direction: row;
}

.product-contact-option-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #475569;
    touch-action: manipulation;
    min-height: 80px;
}

.product-contact-option-btn.product-active {
    background: #e8f5e9;
    border-color: #92c13e;
    color: #92c13e;
}

.product-contact-option-btn:hover {
    background: #e2e8f0;
}

.product-contact-option-btn i {
    font-size: 1.5rem;
    color: inherit;
}

.product-contact-form-container {
    display: none;
}

.product-contact-form-container.product-active {
    display: block;
    animation: product-fadeIn 0.3s ease;
}

@keyframes product-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-form-group label {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
}

.product-form-group input,
.product-form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.product-form-group input:focus,
.product-form-group textarea:focus {
    outline: none;
    border-color: #92c13e;
    box-shadow: 0 0 0 3px rgba(146, 193, 62, 0.2);
}

.product-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.product-submit-btn {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #92c13e, #7aa634);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(146, 193, 62, 0.3);
    margin-top: 0.5rem;
    touch-action: manipulation;
}

.product-submit-btn:hover {
    background: linear-gradient(135deg, #7aa634, #62852a);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(146, 193, 62, 0.4);
}

.product-whatsapp-redirect {
    text-align: center;
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: 12px;
    display: none;
}

.product-whatsapp-redirect.product-active {
    display: block;
    animation: product-fadeIn 0.3s ease;
}

.product-whatsapp-redirect p {
    margin: 0 0 1rem 0;
    color: #475569;
}

.product-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #25D366;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
    touch-action: manipulation;
}

.product-whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Status Message Modal */
.product-status-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 100000;
    max-width: 400px;
    width: 90%;
    text-align: center;
    display: none;
    animation: product-fadeInScale 0.4s ease;
}

@keyframes product-fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.product-status-message.product-active {
    display: block;
}

.product-status-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-success-icon {
    color: #10b981;
}

.product-error-icon {
    color: #ef4444;
}

.product-status-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.product-status-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-status-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.product-status-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    touch-action: manipulation;
}

.product-status-primary {
    background: #92c13e;
    color: white;
}

.product-status-primary:hover {
    background: #7aa634;
    transform: translateY(-2px);
}

.product-status-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.product-status-secondary:hover {
    background: #e2e8f0;
}

/* Responsive for Modal Grid - IMPROVED */
@media (max-width: 768px) {
    .product-modal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        height: auto;
    }

    .product-left-column {
        flex: none;
        width: 100%;
        position: static;
    }

    .product-main-image-container {
        aspect-ratio: 1/1;
        max-width: 400px;
        margin: 0 auto;
    }

    .product-main-image {
        padding: 0;
    }

    .product-thumbnails {
        height: 50px;
        max-width: 400px;
    }

    .product-thumbnail {
        flex: 0 0 40px;
        height: 40px;
        min-width: 40px;
    }

    .product-right-column {
        overflow-y: visible;
        gap: 1.25rem;
    }

    .product-pricing-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-pricing-actions {
        margin-left: 0;
        margin-top: 1rem;
        flex-direction: row;
        width: 100%;
    }

    .product-get-latest-price-btn {
        flex: 1;
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
        border-radius: 10px;
    }

    .product-model-name {
        font-size: 2rem;
    }

    .product-price-range {
        font-size: 1.5rem;
    }

    /* Mobile table adjustments */
    .product-specifications th,
    .product-specifications td {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }

    .product-specifications th {
        width: 40%;
    }

    /* Modal body padding */
    .product-modal-body {
        padding: 1.5rem;
    }

    /* FIXED: Modal header adjustments - Always in single row */
    .product-modal-header {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .product-modal-title {
        font-size: 1.25rem;
    }

    .product-modal-distributor {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    /* Full width section adjustments */
    .product-full-width-section {
        padding: 1rem;
    }

    /* Contact options - KEEP IN ONE ROW ON MOBILE */
    .product-contact-options {
        flex-direction: row;
        gap: 0.5rem;
    }

    .product-contact-option-btn {
        min-height: 70px;
        padding: 0.5rem 0.75rem;
    }

    .product-contact-option-btn i {
        font-size: 1.25rem;
    }

    .product-contact-option-btn span {
        font-size: 0.8rem;
    }
}

/* Extra small screen adjustments */
@media (max-width: 480px) {
    .product-modal-content {
        width: calc(100% - 1rem);
    }

    .product-modal-body {
        padding: 1rem;
    }

    .product-main-image-container {
        aspect-ratio: 1/1;
        max-width: 300px;
    }

    .product-main-image {
        padding: 0;
    }

    .product-thumbnails {
        max-width: 300px;
    }

    .product-pricing-actions {
        flex-direction: column;
    }

    .product-get-latest-price-btn {
        width: 100%;
    }

    .product-model-name {
        font-size: 1.75rem;
    }

    .product-full-width-section {
        padding: 0.75rem;
    }

    /* FIXED: Modal header adjustments for extra small screens */
    .product-modal-header {
        gap: 0.5rem;
    }

    .product-modal-title {
        font-size: 1.1rem;
    }

    .product-modal-distributor {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    /* Contact options on very small screens */
    .product-contact-options {
        gap: 0.4rem;
    }

    .product-contact-option-btn {
        min-height: 65px;
        padding: 0.4rem 0.6rem;
    }

    .product-contact-option-btn i {
        font-size: 1.1rem;
    }

    .product-contact-option-btn span {
        font-size: 0.75rem;
    }
}

/* Extra small screen adjustments */
@media (max-width: 360px) {
    .product-main-image-container {
        max-width: 280px;
    }
    
    .product-thumbnails {
        max-width: 280px;
    }

    .product-contact-options {
        gap: 0.3rem;
    }

    .product-contact-option-btn {
        min-height: 60px;
        padding: 0.3rem 0.5rem;
    }

    .product-contact-option-btn i {
        font-size: 1rem;
    }

    .product-contact-option-btn span {
        font-size: 0.7rem;
    }

    /* FIXED: Modal header adjustments for very small screens */
    .product-modal-title {
        font-size: 1rem;
    }

    .product-modal-distributor {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* ─── Filter Quick View Modal with Designed Buttons ────────────── */
.filter-quickview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.filter-quickview-modal.active {
    opacity: 1;
    visibility: visible;
}

.filter-quickview-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    width: 90%;
    max-width: 700px;
    max-height: 65vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.filter-quickview-modal.active .filter-quickview-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.filter-quickview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    background: linear-gradient(135deg, #92c13e 0%, #7aa634 100%);
    color: white;
}

.filter-quickview-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-quickview-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.filter-quickview-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.filter-quickview-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
    flex: 1;
}

/* Designed Filter Footer Buttons */
.filter-quickview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.filter-stats {
    font-size: 13px;
    color: #64748b;
}

.filter-action-buttons {
    display: flex;
    gap: 0.75rem;
}

.filter-clear-btn,
.filter-apply-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
}

.filter-clear-btn {
    background: #f1f5f9;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
}

.filter-clear-btn:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.filter-apply-btn {
    background: linear-gradient(135deg, #92c13e 0%, #7aa634 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(146, 193, 62, 0.2);
}

.filter-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(146, 193, 62, 0.3);
}