/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

/* ===== NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, #66CCFF 0%, #004C99 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-count {
    background: #FFA500;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    min-width: 20px;
    text-align: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #66CCFF 0%, #004C99 100%);
    padding: 80px 0 60px;
    min-height: 52vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: white;
    text-align: left;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    text-align: center;
}

.hero-actions {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: #FFA500;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.cta-button:hover {
    background: #e6940a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .product-image {
    height: 120px;
    width: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-image .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.hero-image .product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-placeholder {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 1.5rem 3rem;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-width: 100%;
}

.hero-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-placeholder i {
    font-size: 5rem;
    color: white;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-placeholder p {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #66CCFF 0%, #004C99 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== SECTIONS ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #004C99;
}

.featured-products,
.best-sellers,
.new-arrivals {
    padding: 80px 0;
}

.new-arrivals {
    background: #f8f9fa;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.products-grid .product-image {
    height: 240px;
}

/* Category specific image adjustments */
.category-section.tvs .product-image,
.category-section.cooktops .product-image {
    height: 280px;
}

.category-section.tvs .product-image img,
.category-section.cooktops .product-image img {
    object-fit: contain;
    background: #f8f9fa;
}

/* New arrivals section TV image fix */
.new-arrivals .product-card:has(img[src*="tv"]) .product-image {
    height: 280px;
}

.new-arrivals .product-card:has(img[src*="tv"]) .product-image img {
    object-fit: contain;
    background: #f8f9fa;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 204, 255, 0.2);
}

.product-image-placeholder,
.product-image {
    height: 250px;
    background: linear-gradient(135deg, #66CCFF 0%, #004C99 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.product-image i {
    z-index: 2;
    position: relative;
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.product-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.product-image-placeholder i {
    z-index: 1;
    position: relative;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #004C99;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFA500;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    background: #66CCFF;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.add-to-cart-btn:hover {
    background: #004C99;
    transform: translateY(-2px);
}

.view-details {
    display: block;
    text-align: center;
    color: #66CCFF;
    text-decoration: none;
    margin-top: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-details:hover {
    color: #004C99;
}

/* ===== CAROUSEL ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.carousel-item {
    min-width: 280px;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-item .product-image-placeholder {
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #004C99;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}


/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

/* ===== FOOTER ===== */
.footer {
    background: #004C99;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #66CCFF;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #66CCFF;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #66CCFF;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #FFA500;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(102, 204, 255, 0.3);
    color: #ccc;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #004C99;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-placeholder {
        padding: 3rem 2rem;
    }
    
    .hero-placeholder i {
        font-size: 4rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-item {
        min-width: 250px;
    }
    
}

/* ===== ABOUT PAGE STYLES ===== */
.about-content {
    padding: 80px 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    color: #004C99;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #66CCFF 0%, #004C99 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.about-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.values-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 204, 255, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #66CCFF 0%, #004C99 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: #004C99;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.product-categories {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #66CCFF;
    transform: translateY(-5px);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #66CCFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.category-card h3 {
    color: #004C99;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

.contact-info-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.contact-card h3 {
    color: #004C99;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* ===== PRODUCTS PAGE STYLES ===== */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid #66CCFF;
    color: #66CCFF;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: #66CCFF;
    color: white;
}

.products-section {
    padding: 60px 0;
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: #004C99;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #66CCFF;
    display: inline-block;
}

/* ===== PRODUCT DETAIL PAGE STYLES ===== */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 70px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #66CCFF;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: #004C99;
}

.breadcrumb-nav span {
    color: #666;
}

.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    margin-bottom: 1rem;
}

.main-image .product-image-placeholder {
    height: 400px;
    border-radius: 15px;
}

.main-image .product-image-placeholder.large {
    font-size: 5rem;
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #66CCFF 0%, #004C99 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    transform: scale(1.1);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: #FFA500;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #FFA500;
}

.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.discount {
    background: #28a745;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #555;
}

.product-options {
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: #66CCFF;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: #004C99;
}

#quantity {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.buy-now-btn {
    flex: 2;
    background: #FFA500;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-now-btn:hover {
    background: #e6940a;
    transform: translateY(-2px);
}

.wishlist-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    border-color: #FFA500;
    color: #FFA500;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.feature i {
    color: #28a745;
}

.product-specifications {
    background: #f8f9fa;
    padding: 60px 0;
}

.spec-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.spec-tab {
    background: white;
    border: 2px solid #e9ecef;
    color: #666;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.spec-tab.active,
.spec-tab:hover {
    border-color: #66CCFF;
    color: #66CCFF;
}

.spec-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.spec-panel {
    display: none;
}

.spec-panel.active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.spec-table td:first-child {
    font-weight: 600;
    color: #004C99;
    width: 40%;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 2rem;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.reviews-summary {
    margin-bottom: 2rem;
}

.rating-breakdown {
    max-width: 400px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rating-bar span:first-child {
    width: 30px;
    font-size: 0.9rem;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #FFA500;
}

.rating-bar span:last-child {
    width: 40px;
    font-size: 0.9rem;
    text-align: right;
}

.reviews-list {
    margin-top: 2rem;
}

.review {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.reviewer-name {
    font-weight: 600;
    color: #004C99;
}

.review-rating {
    color: #FFA500;
}

.review-text {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
}

.related-products {
    padding: 60px 0;
}

.products-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.products-carousel .product-card {
    min-width: 320px;
    flex-shrink: 0;
}

.products-carousel .product-image {
    height: 220px;
}

.carousel-item .product-image {
    height: 220px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

/* ===== CART PAGE STYLES ===== */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cart-items {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.cart-header h2 {
    color: #004C99;
}

.clear-cart-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.clear-cart-btn:hover {
    background: #c82333;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-cart i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-cart h3 {
    margin-bottom: 1rem;
    color: #004C99;
}

.continue-shopping-btn {
    display: inline-block;
    background: #66CCFF;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    background: #004C99;
    transform: translateY(-2px);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #66CCFF 0%, #004C99 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.cart-item-details h4 {
    color: #004C99;
    margin-bottom: 0.5rem;
}

.cart-item-details p {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.3rem;
}

.cart-item-price {
    font-weight: 600;
    color: #FFA500;
    font-size: 1.1rem;
}

.remove-item-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.remove-item-btn:hover {
    background: #c82333;
}

.cart-summary {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    color: #004C99;
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.summary-row.total {
    border-top: 2px solid #e9ecef;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #004C99;
}

.promo-code {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.promo-code input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    outline: none;
}

.promo-code input:focus {
    border-color: #66CCFF;
}

.apply-promo-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.apply-promo-btn:hover {
    background: #218838;
}

.checkout-btn {
    width: 100%;
    background: #FFA500;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.checkout-btn:hover:not(:disabled) {
    background: #e6940a;
    transform: translateY(-2px);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.payment-methods h4 {
    color: #004C99;
    margin-bottom: 1rem;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #666;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
    padding: 60px 0;
}

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

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    color: #004C99;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #66CCFF;
}

.submit-btn {
    width: 100%;
    background: #66CCFF;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #004C99;
    transform: translateY(-2px);
}

.contact-info h2 {
    color: #004C99;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-text h3 {
    color: #004C99;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #333;
    margin-bottom: 0.3rem;
}

.contact-text span {
    color: #666;
    font-size: 0.9rem;
}

.social-contact h3 {
    color: #004C99;
    margin-bottom: 1rem;
}

.social-contact .social-icons {
    gap: 0.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.instagram { background: #e4405f; }
.youtube { background: #ff0000; }
.linkedin { background: #0077b5; }

.map-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-section {
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    color: #004C99;
    margin: 0;
}

.faq-question i {
    color: #66CCFF;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.modal-header h2 {
    color: #004C99;
    margin: 0;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.checkout-form .form-section {
    margin-bottom: 2rem;
}

.checkout-form .form-section h3 {
    color: #004C99;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #66CCFF;
}

.checkout-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkout-form .form-group {
    margin-bottom: 1rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: #66CCFF;
}

.payment-options {
    display: grid;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover,
.payment-option:has(input:checked) {
    border-color: #66CCFF;
    background: rgba(102, 204, 255, 0.1);
}

.payment-option input[type="radio"] {
    margin: 0;
    width: auto;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
}

.payment-option input:checked + .checkmark {
    border-color: #66CCFF;
    background: #66CCFF;
}

.payment-option input:checked + .checkmark:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.payment-info strong {
    color: #004C99;
    display: block;
    margin-bottom: 0.3rem;
}

.payment-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.order-summary-checkout {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #004C99;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cancel-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cancel-btn:hover {
    background: #5a6268;
}

.place-order-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.place-order-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h2 {
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.continue-btn {
    background: #66CCFF;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background: #004C99;
    transform: translateY(-2px);
}

/* ===== ADDITIONAL RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .product-images {
        position: static;
    }
}

@media (max-width: 768px) {
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        padding: 1rem;
    }
    
    .spec-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .spec-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
