/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #14B8A6;
}

.logo-accent {
    color: #F97316;
}

.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #14B8A6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #14B8A6;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #0f9488;
}

.header-actions {
    display: flex;
    gap: 16px;
}

.account-btn, .cart-btn {
    background: #f3f4f6;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: background-color 0.3s ease;
}

.account-btn:hover, .cart-btn:hover {
    background: #e5e7eb;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #F97316;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb span {
    color: #6b7280;
    font-size: 14px;
}

/* Product Overview */
.product-overview {
    background: white;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.product-overview p {
    color: #6b7280;
    font-size: 14px;
}

/* Main Content */
.main-content {
    padding: 24px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 32px;
}

/* Sidebar */
.sidebar {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #14B8A6;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #374151;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #14B8A6;
}

.price-slider {
    width: 100%;
    margin-bottom: 8px;
    accent-color: #14B8A6;
}

.price-range {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #F97316;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: #fbbf24;
    font-size: 14px;
}

.rating-count {
    color: #6b7280;
    font-size: 12px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #F97316;
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.3);
}

.add-to-cart-btn {
    width: 100%;
    background: #14B8A6;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:hover {
    background: #0f9488;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn.added {
    background: #059669;
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: #f3f4f6;
}

.page-btn.active {
    background: #14B8A6;
    color: white;
    border-color: #14B8A6;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #14B8A6, #0f9488);
    color: white;
    padding: 60px 0;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.cta-btn {
    background: #F97316;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.cta-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1f2937;
}

.testimonial-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    height: 200px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #f8f9fa;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.rating {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #4b5563;
    font-style: italic;
}

.customer-name {
    font-weight: 600;
    color: #14B8A6;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: #14B8A6;
}

/* Final CTA */
.final-cta {
    background: #1f2937;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #14B8A6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #14B8A6;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Cart Toast */
.cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #059669;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* LED Glow Effect */
.led-glow {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4), 
                0 0 40px rgba(249, 115, 22, 0.2),
                0 0 60px rgba(249, 115, 22, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 200px 1fr;
        gap: 24px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .search-container {
        order: 2;
        max-width: none;
    }
    
    .header-actions {
        order: 1;
        align-self: flex-end;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .product-section {
        order: 1;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .product-card {
        border-radius: 8px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .banner-content h2 {
        font-size: 20px;
    }
    
    .promo-banner {
        padding: 40px 0;
    }
    
    .cart-toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        text-align: center;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }