/* Enhanced Products Page Styles */

/* Product Hero Section */
.product-hero {
    padding: calc(var(--spacing-3xl) * 1.5) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.3;
}

.product-hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.product-hero p {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Product Categories Section */
.product-categories {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-xl);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-full);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* Product Category Sections */
.product-category {
    margin-bottom: var(--spacing-3xl);
}

.product-category h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.product-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

/* Product Cards */
.product-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    z-index: 1;
}

.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-content {
    padding: var(--spacing-xl);
}

.product-content h3 {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.product-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Product Specifications */
.product-specs {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-lg);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* Product Features */
.product-features {
    margin-bottom: var(--spacing-lg);
    height: 260px;
}

.product-features h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    color: var(--text-secondary);
    padding: var(--spacing-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.product-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* Product Price and CTA */
.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.price-amount {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.product-btn {
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Warranty Section */
.warranty-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.warranty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.warranty-image {
    position: relative;
    text-align: center;
}

.warranty-badge {
    max-width: 100%;
    height: auto;
    border-radius: 10%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.warranty-badge:hover {
    transform: scale(1.05);
}

.warranty-content {
    padding: 2rem;
}

.warranty-content h2 {
    color: #0a0aa8;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.warranty-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.warranty-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.warranty-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.check-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    background: #0a0aa8;
    border-radius: 50%;
    position: relative;
}

.check-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.cta-button {
    background: #0a0aa8;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #08086d;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .warranty-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .warranty-content {
        padding: 1rem;
    }

    .warranty-content h2 {
        font-size: 2rem;
    }

    .warranty-badge {
        max-width: 300px;
    }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-hero h1 {
        font-size: var(--font-size-3xl);
    }

    .product-hero p {
        font-size: var(--font-size-lg);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-filters {
        flex-direction: column;
        padding: 0 var(--spacing-md);
    }

    .filter-btn {
        width: 100%;
    }

    .warranty-features {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .product-card {
        background: var(--bg-secondary);
    }

    .product-specs {
        background: rgba(255, 255, 255, 0.05);
    }

    /* .warranty-features li {
        background: var(--bg-secondary);
    } */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.6s ease-out forwards;
}

