/* Fundesha Products - Modern E-commerce Styles */

:root {
    --ecommerce-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    --ecommerce-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
    --ecommerce-radius: 16px;
    --ecommerce-bg-soft: #f8fafc;
}

/* Emotional Hero Section (Fundesha + Interton) */
.hero-emotional {
    background: linear-gradient(135deg, var(--color-white) 0%, #f1f5f9 100%);
    padding: 120px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.hero-emotional-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-emotional-content {
    text-align: left;
}

.brand-partnership {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-tag {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    background: rgba(0, 174, 239, 0.4);
    padding: 6px 16px;
    border-radius: 40px;
}

.brand-divider {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.hero-emotional h1 {
    font-size: 3.8rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-emotional p {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-emotional-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hero-emotional-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Redefine old hero styles if still needed, or remove */
.products-premium-hero {
    display: none;
    /* Replaced by hero-emotional */
}

/* Filter Styling (Nobbix Inspiration) */
.filters-container {
    max-width: var(--max-width);
    margin: 40px auto 20px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .filters-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 5px 20px 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar for cleaner look */
    }

    .filters-container::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        flex: 0 0 auto;
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

.filter-pill {
    padding: 10px 24px;
    background: var(--color-white);
    border: 1.5px solid #e2e8f0;
    border-radius: 40px;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #f0f9ff;
    transform: translateY(-1px);
}

.filter-pill.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.4);
}

/* Modern Product Grid */
.products-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Product Card - The "Wow" Component */
.modern-product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid #f1f5f9;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.modern-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.modern-product-card.product-hidden {
    display: none !important;
    opacity: 0;
}

.product-image-container {
    background: var(--ecommerce-bg-soft);
    border-radius: 12px;
    height: 280px;
    /* Increased height for better impact */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    padding: 0;
    /* Removed padding for full-bleed */
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the entire container */
    transition: transform 0.3s ease;
}

.modern-product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-footer-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 2;
    z-index: 2;
    border: 1px solid #f1f5f9;
}

.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid #d1fae5;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pickup-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fdf2f2;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ef4444;
    border: 1px solid #fee2e2;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pickup-label {
    background: #f8fafc;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pickup-badge i {
    font-size: 0.7rem;
}

.product-info {
    flex-grow: 1;
}

.product-brand {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.product-title-premium {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-footer-bg);
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-desc-premium {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 24px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.product-price-label {
    display: flex;
    flex-direction: column;
}

.price-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-footer-bg);
}

.btn-premium-quote {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-premium-quote:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 8px 20px rgba(0, 174, 239, 0.4);
}

.btn-pickup {
    background-color: #0d9488;
}

.btn-pickup:hover {
    background-color: #0f766e;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.2);
}

/* Floating Elements & Shopping Cart */
.floating-cart-btn {
    padding: 0 24px;
    height: 56px;
    background: var(--color-primary);
    color: white;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 174, 239, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.cart-label {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.floating-cart-btn:hover {
    transform: scale(1.05) translateY(-3px);
    background: #008cc0;
    /* Vibrant dark blue */
    box-shadow: 0 12px 30px rgba(0, 174, 239, 0.4);
}

.cart-count {
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-left: 4px;
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 12, 34, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100vw;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2002;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(-450px);
}

@media (max-width: 768px) {
    .cart-drawer {
        width: 100vw;
        right: -100vw;
    }

    .cart-drawer.active {
        transform: translateX(-100vw);
    }
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.close-cart {
    background: #f8fafc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

/* Cart Item Enhancements */
.cart-item-image {
    width: 64px;
    height: 64px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image i {
    font-size: 2rem;
    color: #94a3b8;
}

.cart-item-qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.cart-item-qty-control .qty-value {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* --- World-Class UX: Trust bar --- */
.cart-trust-bar {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    margin: 15px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    text-align: center;
}

.trust-item i {
    font-size: 1rem;
    color: var(--color-primary);
    opacity: 0.8;
}

.trust-item span {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- World-Class UX: Premium Detail Modal --- */
.pd-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    z-index: 3000;
    display: none;
    overflow-y: auto;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.pd-modal.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.pd-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
}

.pd-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #f8fafc;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-footer-bg);
    transition: all 0.3s ease;
}

.pd-close:hover {
    background: #f1f5f9;
    transform: rotate(90deg);
}

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pd-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pd-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-footer-bg);
    margin-bottom: 20px;
    line-height: 1.1;
}

.pd-tagline {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.pd-description {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.pd-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.pd-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.pd-feature-item i {
    color: #10b981;
    margin-top: 5px;
}

.pd-feature-text strong {
    display: block;
    color: var(--color-footer-bg);
    font-size: 1rem;
}

.pd-feature-text span {
    font-size: 0.9rem;
    color: #94a3b8;
}

.pd-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-pd-add {
    background: var(--color-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 174, 239, 0.4);
    transition: all 0.3s ease;
}

.btn-pd-add:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 174, 239, 0.4);
}

@media (max-width: 991px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pd-content h2 {
        font-size: 2.2rem;
    }

    .pd-container {
        padding: 40px 20px;
    }
}

/* Smart Recommendations (Cross-Selling) */
.upsell-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f8fafc;
}

.upsell-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upsell-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upsell-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.upsell-card:hover {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.upsell-img {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
}

.upsell-img img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.upsell-img i {
    font-size: 1.2rem;
    color: #cbd5e1;
}

.upsell-info {
    flex-grow: 1;
}

.upsell-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-footer-bg);
    display: block;
}

.upsell-price {
    font-size: 0.75rem;
    color: #64748b;
}

.btn-upsell-add {
    background: #fff;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.btn-upsell-add:hover {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
}

.btn-secondary-cart {
    background: none;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.btn-secondary-cart:hover {
    background: #f0f9ff;
}

.close-cart:hover {
    background: #f1f5f9;
    color: var(--color-footer-bg);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
}

.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.cart-empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.cart-empty-state p {
    font-weight: 700;
    color: var(--color-footer-bg);
    margin-bottom: 8px;
}

.cart-empty-state span {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cart-footer {
    padding: 30px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.cart-total-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total-info span:first-child {
    font-weight: 600;
    color: #64748b;
}

.cart-total-info span:last-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-footer-bg);
}

.pickup-disclaimer {
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-checkout-start {
    width: 100%;
    background: var(--color-primary);
    color: white;
    padding: 18px;
    border-radius: 12px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
}

.btn-checkout-start:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.4);
}

@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

/* Mobile Adjustments */
/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-emotional {
        padding: 60px 20px 40px;
    }

    .hero-emotional-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-emotional-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-emotional h1 {
        font-size: 2.5rem;
        letter-spacing: -1.5px;
    }

    .hero-emotional p {
        font-size: 1.1rem;
        margin-bottom: 24px;
        text-align: center;
    }

    .brand-partnership {
        justify-content: center;
    }

    .products-premium-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 16px 60px;
    }

    .modern-product-card {
        padding: 20px;
    }

    .product-image-container {
        height: 240px;
    }

    .product-title-premium {
        font-size: 1.25rem;
    }

    .btn-premium-quote {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .product-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .product-price-label {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #f1f5f9;
        padding-bottom: 12px;
    }
}

/* --- Comparison Section --- */
.comparison-section {
    padding: 100px 20px;
    background: #fff;
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-header {
    text-align: center;
    margin-bottom: 60px;
}

.comparison-subtitle {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.comparison-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-footer-bg);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    background: white;
    border: 1px solid #f1f5f9;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 24px 30px;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #64748b;
    vertical-align: bottom;
}

.comp-col-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.comp-col-header img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.comp-col-header span {
    font-size: 1.1rem;
    color: var(--color-footer-bg);
    font-weight: 800;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #1e293b;
    width: 30%;
    background: #fdfdfd;
}

.comparison-table td {
    color: #64748b;
    text-align: center;
}

.comparison-table td:first-child {
    text-align: left;
    background: #fcfcfc;
}

.btn-compare-cta {
    background: #f1f5f9;
    color: #1e293b;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-compare-cta:hover {
    background: var(--color-primary);
    color: white;
}

@media (max-width: 768px) {

    .comparison-table th,
    .comparison-table td {
        padding: 15px;
        font-size: 0.85rem;
    }

    .comp-col-header img {
        height: 60px;
    }

    .comparison-header h2 {
        font-size: 1.8rem;
    }
}