/* Enhanced Products Page Styles */

/* Enhanced Hero Section */
.products-hero-enhanced {
    background:
                url('../images/banner/products-hero.png') center/cover no-repeat;
    color: rgb(6, 45, 223);
    text-align: center;
    padding: 20px 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-water-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234FC3F7' fill-opacity='0.1' d='M45.6,-52.1C59.3,-41.3,70.9,-27.8,73.3,-12.7C75.7,2.4,68.9,19,58.3,31.5C47.7,44.1,33.2,52.7,17.7,58.1C2.2,63.6,-14.3,65.9,-28.9,60.4C-43.5,54.9,-56.2,41.6,-63.1,25.4C-70,9.2,-71.1,-9.9,-65.8,-26.8C-60.4,-43.7,-48.7,-58.4,-33.5,-68.6C-18.3,-78.8,0.5,-84.5,16.7,-80.9C32.8,-77.3,46.3,-64.4,45.6,-52.1Z' transform='translate(100 100)' /%3E%3C/svg%3E");
    animation: floatWater 20s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes floatWater {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, 10px) rotate(1deg); }
    50% { transform: translate(0, 20px) rotate(0deg); }
    75% { transform: translate(-10px, 10px) rotate(-1deg); }
}

.hero-content-enhanced h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(8, 41, 230, 0.3);
    background: linear-gradient(135deg, #fff, #4fc3f7);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat i {
    font-size: 1.5rem;
    color: #4fc3f7;
}

/* Categories Navigation */
.product-categories {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    /* position: sticky; */
    top: 80px;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.categories-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.category-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border-color: transparent;
}

/* Comparison Banner */
.comparison-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(79, 195, 247, 0.1));
}

.comparison-content h2 {
    text-align: center;
    color: var(--secondary-blue);
    margin-bottom: 40px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.comparison-item h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-blue);
    font-size: 1.5rem;
}

.comparison-item.our {
    border-top: 5px solid var(--fresh-green);
}

.comparison-item.others {
    border-top: 5px solid #ff5252;
}

.comparison-item.vs {
    background: transparent;
    box-shadow: none;
}

.comparison-item.vs h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    opacity: 0.7;
}

.comparison-item ul {
    list-style: none;
}

.comparison-item li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.our li i {
    color: var(--fresh-green);
}

.others li i {
    color: #ff5252;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--fresh-green));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Advanced Filters */
.advanced-filters {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.filter-group label {
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--dark-gray);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.clear-filters {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    color: var(--dark-gray);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clear-filters:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Enhanced Products Grid - UPDATED FOR 4 COLUMNS */
.products-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns per row */
    gap: 25px;
    margin-bottom: 40px;
    align-items: stretch; /* Makes all cards in a row equal height */
}

.loading-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
}

.water-drop-loader {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.water-drop-loader i {
    font-size: 2rem;
    color: var(--primary-blue);
    animation: dropFall 1.5s ease-in-out infinite;
}

.water-drop-loader i:nth-child(2) { animation-delay: 0.2s; }
.water-drop-loader i:nth-child(3) { animation-delay: 0.4s; }

@keyframes dropFall {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(20px);
        opacity: 1;
    }
}

/* Enhanced Product Card */
.product-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%; /* Takes full height of grid cell */
    display: flex;
    flex-direction: column;
}

.product-card-enhanced:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-badge-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-category {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.badge-featured {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.badge-discount {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
}

.product-image-container {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card-enhanced:hover .product-image-container img {
    transform: scale(1.1);
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 25px;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.product-card-enhanced:hover .quick-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-info-enhanced {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.3rem;
    color: var(--secondary-blue);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 60px;
}

.product-description-short {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
    min-height: 80px; /* Ensures consistent height */
}

.product-features-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    padding: 5px 12px;
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-tag i {
    font-size: 0.7rem;
}

.price-section-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

.price-current {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--fresh-green);
}

.price-original {
    font-size: 1.2rem;
    color: var(--dark-gray);
    text-decoration: line-through;
}

.price-discount {
    background: #ff5252;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-actions-enhanced {
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-view-details {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
}

.btn-buy-now {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
}

/* Product Counter */
.product-counter {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(79, 195, 247, 0.1));
    border-radius: 15px;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--secondary-blue);
}

.product-counter span {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-right: 5px;
}

/* Quick Features */
.quick-features {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-highlight {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-highlight:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--water-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-highlight h3 {
    color: var(--secondary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-highlight p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Special Offer */
.special-offer {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveDots 20s linear infinite;
}

@keyframes moveDots {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.offer-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.offer-badge {
    display: inline-block;
    background: white;
    color: #ff5252;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.offer-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.offer-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.offer-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.timer-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.timer-box span {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.timer-box small {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-offer {
    background: white;
    color: #ff5252;
    font-size: 1.2rem;
    padding: 15px 40px;
    font-weight: 700;
}

.btn-offer:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Product Testimonials */
.product-testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(79, 195, 247, 0.05));
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--dark-gray);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    padding-left: 30px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--water-blue);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--secondary-blue);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Product FAQ */
.product-faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05), rgba(79, 195, 247, 0.05));
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(79, 195, 247, 0.1));
}

.faq-item h3 {
    color: var(--secondary-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Enhanced CTA */
.cta-section-enhanced {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    from { transform: translateY(0); }
    to { transform: translateY(100px); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Enhanced Modal */
.modal-enhanced {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1002;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content-enhanced {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.modal-close-enhanced {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close-enhanced:hover {
    transform: rotate(90deg);
}

/* Quick Actions */
.quick-actions {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.quick-action-btn span {
    position: absolute;
    bottom: -25px;
    font-size: 0.7rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    height: 80px;
    border-radius: 30px;
}

.quick-action-btn:hover span {
    bottom: 10px;
    opacity: 1;
}

.call-now {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.whatsapp-quick {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.scroll-top {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

/* Responsive Design - UPDATED FOR 4 COLUMNS */
@media (max-width: 1400px) {
    .products-grid-enhanced {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on large screens */
    }
}

@media (max-width: 1200px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .comparison-item.vs {
        order: -1;
        padding: 10px;
    }
    
    .comparison-item.vs h3 {
        font-size: 2rem;
    }
    
    .products-grid-enhanced {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium-large screens */
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .hero-content-enhanced h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .offer-timer {
        flex-wrap: wrap;
    }
    
    .timer-box {
        min-width: 80px;
    }
    
    .timer-box span {
        font-size: 2rem;
    }
    
    .products-grid-enhanced {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-hero-enhanced {
        padding: 80px 0 60px;
    }
    
    .hero-content-enhanced h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .categories-nav {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .advanced-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .products-grid-enhanced {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .quick-actions {
        bottom: 80px;
        right: 15px;
    }
    
    .quick-action-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-content-enhanced h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .offer-content h2 {
        font-size: 1.8rem;
    }
    
    .modal-content-enhanced {
        width: 95%;
        padding: 0;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .quick-actions {
        bottom: 70px;
        right: 10px;
    }
    
    .products-grid-enhanced {
        grid-template-columns: 1fr; /* 1 column on very small screens */
        gap: 15px;
    }
}

/* Enhanced Product Modal Styles */
.product-modal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px;
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.main-gallery {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-gallery .gallery-item {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s ease;
}

.main-gallery .gallery-item.active {
    display: block;
}

.main-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: #f5f5f5;
}

.thumbnail:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--primary-blue);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Product Details Content */
.product-details-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-height: 700px;
    overflow-y: auto;
    padding-right: 10px;
}

.product-details-content::-webkit-scrollbar {
    width: 8px;
}

.product-details-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-details-content::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.product-header {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.product-category-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-discount-badge {
    background: linear-gradient(135deg, #ff5252, #d32f2f);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.product-details-content h3 {
    color: var(--secondary-blue);
    font-size: 1.8rem;
    line-height: 1.4;
    margin: 0;
}

.product-full-description {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
    padding: 15px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(79, 195, 247, 0.05));
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

/* Price Display */
.price-display {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(26, 115, 232, 0.1);
    position: relative;
    
}

.price-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--fresh-green));
}

.current-price-large {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--fresh-green);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price-large::before {
    content: '₹';
    font-size: 1.5rem;
    opacity: 0.8;
}

.original-price-large {
    font-size: 1.8rem;
    color: var(--dark-gray);
    text-decoration: line-through;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.original-price-large::before {
    content: '₹';
    font-size: 1.2rem;
    opacity: 0.8;
}

.save-amount {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Key Features */
.key-features {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.key-features h4 {
    color: var(--secondary-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-features h4 i {
    color: #ffc107;
}

.features-list-modal {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.features-list-modal li {
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(26, 115, 232, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.features-list-modal li:hover {
    transform: translateX(5px);
    border-color: var(--water-blue);
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2), rgba(26, 115, 232, 0.2));
}

.features-list-modal li i {
    color: var(--fresh-green);
    font-size: 0.9rem;
}

/* Specifications */
.specifications-modal {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.specifications-modal h4 {
    color: var(--secondary-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specifications-modal h4 i {
    color: var(--primary-blue);
}

.specs-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(79, 195, 247, 0.05));
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.spec-row:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(79, 195, 247, 0.1));
}

.spec-key {
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 0.95rem;
}

.spec-value {
    color: var(--dark-gray);
    font-weight: 500;
    text-align: right;
    max-width: 150px;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    min-width: 200px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-whatsapp-large {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    text-decoration: none;
}

.btn-whatsapp-large:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-call {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
}

.btn-call:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 115, 232, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #757575, #424242);
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #424242, #757575);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Water Drop Animation in Modal */
.water-drop-animation-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}

.water-drop {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--water-blue);
    border-radius: 50%;
    animation: dropAnimation 3s ease-in-out infinite;
}

.water-drop:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 10px;
    right: 10px;
    animation-delay: 0.5s;
    background: var(--primary-blue);
}

.water-drop:nth-child(3) {
    width: 12px;
    height: 12px;
    top: 25px;
    right: 25px;
    animation-delay: 1s;
    background: var(--secondary-blue);
}

@keyframes dropAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(20px) scale(1.1);
        opacity: 1;
    }
}

/* Rating Stars */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: var(--dark-gray);
    font-weight: 600;
}

/* Guarantee Badge */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.2));
    padding: 10px 20px;
    border-radius: 25px;
    margin: 10px 0;
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.guarantee-badge i {
    color: var(--fresh-green);
    font-size: 1.5rem;
}

/* Responsive Design for Modal */
@media (max-width: 992px) {
    .product-modal-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-gallery {
        height: 300px;
    }
    
    .product-details-content {
        max-height: none;
        overflow-y: visible;
    }
    
    .features-list-modal {
        grid-template-columns: 1fr;
    }
    
    .specs-table {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modal-content-enhanced {
        width: 95%;
        max-height: 85vh;
    }
    
    .product-modal-container {
        padding: 20px;
    }
    
    .current-price-large {
        font-size: 2.2rem;
    }
    
    .original-price-large {
        font-size: 1.4rem;
    }
    
    .modal-actions .btn {
        min-width: 100%;
    }
    
    .gallery-thumbnails {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .modal-content-enhanced {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .product-modal-container {
        padding: 15px;
    }
    
    .main-gallery {
        height: 250px;
    }
    
    .product-details-content h3 {
        font-size: 1.4rem;
    }
    
    .current-price-large {
        font-size: 1.8rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Loading Animation for Modal */
.modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error State */
.modal-error {
    text-align: center;
    padding: 40px;
}

.modal-error i {
    font-size: 3rem;
    color: #ff5252;
    margin-bottom: 20px;
}

.modal-error h3 {
    color: var(--secondary-blue);
    margin-bottom: 10px;
}

/* Success Animation */
.purchase-success {
    text-align: center;
    padding: 40px;
    animation: successAppear 0.5s ease;
}

@keyframes successAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--fresh-green), #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(76, 175, 80, 0);
    }
}

/* Add to Cart Animation */
.add-to-cart-animation {
    position: fixed;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--fresh-green), #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 1003;
    pointer-events: none;
    animation: cartFly 1s ease-in-out forwards;
}

@keyframes cartFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(0);
        opacity: 0;
    }
}

/* Share Modal */
.share-modal {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 10;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-options {
    display: flex;
    gap: 15px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #1DA1F2; }
.share-copy { background: var(--primary-blue); }

/* Print Button */
.print-btn {
    position: absolute;
    top: 20px;
    right: 70px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.print-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Zoom Feature */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1004;
    display: none;
    align-items: center;
    justify-content: center;
}

.zoom-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Comparison Chart */
.comparison-chart {
    margin-top: 20px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison-chart h4 {
    color: var(--secondary-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    font-weight: 600;
    color: var(--secondary-blue);
    background: rgba(26, 115, 232, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.comparison-cell {
    text-align: center;
}

.comparison-cell.better {
    color: var(--fresh-green);
    font-weight: 600;
}

.comparison-cell.worse {
    color: #ff5252;
    font-weight: 600;
}

/* Installation Info */
.installation-info {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 152, 0, 0.05));
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #ff9800;
    margin-top: 20px;
}

.installation-info h5 {
    color: #f57c00;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.installation-info ul {
    list-style: none;
    margin-left: 0;
}

.installation-info li {
    margin-bottom: 8px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.installation-info li i {
    color: #ff9800;
    font-size: 0.9rem;
}