@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Custom Properties / Design System */
:root {
    /* Brand Colors */
    --primary-blue: #1962A5;
    --primary-blue-rgb: 25, 98, 165;
    --secondary-orange: #E86C16;
    --secondary-orange-rgb: 232, 108, 22;
    
    /* Light Theme (Default) */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(25, 98, 165, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.35);
    
    /* Layout Constants */
    --nav-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
body.dark {
    --bg-main: #0a0f1d;
    --bg-card: #121829;
    --bg-nav: rgba(10, 15, 29, 0.85);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(25, 98, 165, 0.4);
    --glass-bg: rgba(18, 24, 41, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, input, textarea, select {
    font-family: inherit;
    outline: none;
    border: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.logo-text span.blue {
    color: var(--primary-blue);
}

.logo-text span.orange {
    color: var(--secondary-orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Navbar Search Bar */
.search-wrapper {
    position: relative;
    width: 220px;
    transition: var(--transition-normal);
}

.search-wrapper:focus-within {
    width: 280px;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    font-size: 14px;
    border-radius: 9999px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.search-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(25, 98, 165, 0.15);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

/* Icon Buttons */
.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

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

.icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-card);
}

/* Main Content Area */
main {
    flex-grow: 1;
    margin-top: var(--nav-height);
    position: relative;
}

/* Routing Views and Fade Animations */
.view-container {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    background: radial-gradient(circle at 10% 20%, rgba(25, 98, 165, 0.08) 0%, rgba(232, 108, 22, 0.05) 90%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(25, 98, 165, 0.1);
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 24px;
    border: 1px solid rgba(25, 98, 165, 0.15);
}

body.dark .hero-tag {
    background-color: rgba(25, 98, 165, 0.2);
    color: #3b82f6;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title span.blue {
    color: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span.orange {
    color: var(--secondary-orange);
    background: linear-gradient(135deg, var(--secondary-orange), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #124c82;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(25, 98, 165, 0.5);
}

.btn-secondary {
    background-color: var(--secondary-orange);
    color: white;
}

.btn-secondary:hover {
    background-color: #c4550c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(232, 108, 22, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

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

/* Hero Showcase Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(232, 108, 22, 0.15) 0%, rgba(25, 98, 165, 0.1) 60%, transparent 100%);
    z-index: 1;
    filter: blur(40px);
}

.hero-illustration {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    border-radius: var(--border-radius-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Trust Section */
.trust-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(25, 98, 165, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

body.dark .trust-icon {
    background-color: rgba(25, 98, 165, 0.2);
}

.trust-card:nth-child(2n) .trust-icon {
    background-color: rgba(232, 108, 22, 0.08);
    color: var(--secondary-orange);
}

body.dark .trust-card:nth-child(2n) .trust-icon {
    background-color: rgba(232, 108, 22, 0.2);
}

.trust-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Category & Shop Header */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 999px;
    background-color: var(--primary-blue);
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 12px;
    background-color: var(--bg-card);
    padding: 6px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
}

.filter-tab {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    background-color: transparent;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.filter-tab:hover {
    color: var(--text-primary);
}

.filter-tab.active {
    background-color: var(--primary-blue);
    color: white;
}

.filter-tab[data-filter="kids"].active {
    background-color: var(--secondary-orange);
}

/* Product Catalog */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

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

.product-image-container {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark .product-image-container {
    background-color: #1e293b;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

/* SVG Fallback Container */
.product-svg-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(25, 98, 165, 0.05), rgba(232, 108, 22, 0.05));
}

.product-svg-fallback svg {
    width: 45%;
    height: 45%;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.product-card:hover .product-svg-fallback svg {
    color: var(--primary-blue);
    transform: rotate(5deg) scale(1.1);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9999px;
    color: white;
    z-index: 2;
    text-transform: uppercase;
}

.tag-kids {
    background-color: var(--secondary-orange);
}

.tag-tech {
    background-color: var(--primary-blue);
}

.product-quickview {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    z-index: 2;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-image-container:hover .product-quickview {
    bottom: 16px;
    opacity: 1;
}

.product-quickview:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-desc-short {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.add-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.add-cart-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.product-card[data-category="kids"]:hover {
    border-color: var(--secondary-orange);
}

.product-card[data-category="kids"] .add-cart-btn:hover {
    background-color: var(--secondary-orange);
    border-color: var(--secondary-orange);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(25, 98, 165, 0.05) 0%, rgba(232, 108, 22, 0.05) 100%);
    border-top: 1px solid var(--border-color);
}

.newsletter-box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.newsletter-box h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.newsletter-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 16px 24px;
    font-size: 15px;
    border-radius: var(--border-radius-md);
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(25, 98, 165, 0.15);
}

/* About Us Page */
.about-hero {
    background: radial-gradient(circle at 90% 10%, rgba(232, 108, 22, 0.08) 0%, rgba(25, 98, 165, 0.05) 90%);
    padding: 80px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stat-item:nth-child(2) .stat-num {
    color: var(--secondary-orange);
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Contact Us Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.contact-card-container {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-card-container h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-card-container p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: var(--border-radius-md);
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(25, 98, 165, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Info Column */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 20px;
    color: var(--primary-blue);
    margin-top: 2px;
}

.info-item:nth-child(2n) .info-icon {
    color: var(--secondary-orange);
}

.info-item-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-item-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.faq-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.faq-header p {
    color: var(--text-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-main);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-question {
    padding: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-toggle {
    font-size: 20px;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-item.active {
    border-color: var(--primary-blue);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-glow);
}

.faq-item.active .faq-question {
    color: var(--primary-blue);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 300px;
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 15, 29, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay.active .cart-drawer {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-btn {
    font-size: 24px;
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-btn:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.cart-body {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty-state {
    text-align: center;
    margin: auto;
    color: var(--text-secondary);
}

.cart-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 72px;
    height: 72px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    background-color: var(--bg-main);
    flex-shrink: 0;
}

.cart-item-fallback {
    width: 72px;
    height: 72px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, rgba(25, 98, 165, 0.05), rgba(232, 108, 22, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.cart-item-fallback svg {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    background-color: var(--bg-main);
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.qty-btn:hover {
    color: var(--text-primary);
}

.qty-val {
    font-size: 13px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.remove-item-btn {
    font-size: 13px;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    font-weight: 500;
}

.remove-item-btn:hover {
    color: #ef4444;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 24px;
}

/* Modal Overlay for Product Detail Quick View */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 15, 29, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 900px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary);
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--text-primary);
    transform: scale(1.05);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

.modal-image-col {
    background-color: #f1f5f9;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    aspect-ratio: 1;
}

body.dark .modal-image-col {
    background-color: #1e293b;
}

.modal-img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.modal-info-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-meta {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.modal-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.modal-specs {
    margin-bottom: 32px;
}

.specs-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-row {
    display: flex;
    font-size: 14px;
}

.spec-name {
    font-weight: 600;
    width: 120px;
    color: var(--text-secondary);
}

.spec-val {
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3000;
}

.toast {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

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

.toast-icon-cart {
    color: var(--primary-blue);
    font-size: 18px;
}

/* Policies View */
.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

.policy-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 32px);
    height: fit-content;
}

.policy-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

.policy-nav-item a {
    display: block;
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.policy-nav-item.active a, .policy-nav-item a:hover {
    background-color: rgba(25, 98, 165, 0.08);
    color: var(--primary-blue);
}

.policy-content-box {
    background-color: var(--bg-card);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.policy-header {
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.policy-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.policy-date {
    font-size: 14px;
    color: var(--text-muted);
}

.policy-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.policy-body h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.policy-body p {
    margin-bottom: 20px;
}

.policy-body ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.policy-body li {
    margin-bottom: 8px;
}

/* Checkout Modal Forms */
.checkout-modal-content {
    max-width: 600px;
}

.checkout-success {
    text-align: center;
    padding: 40px 24px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}

.success-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.success-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Footer */
footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.6fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 36px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 14px;
    color: var(--text-muted);
}

.payment-methods {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 20px;
    color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-layout {
        grid-template-columns: 1fr;
    }
    
    .policy-sidebar {
        position: static;
        margin-bottom: 24px;
    }
    
    .policy-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; /* Can build burger overlay menu if needed */
    }
    
    .search-wrapper {
        display: none; /* Simplify navbar on mobile */
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image-col {
        aspect-ratio: 16/10;
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Quick View Thumbnail Gallery styles */
.modal-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding: 4px;
    justify-content: center;
    width: 100%;
}

.modal-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-thumb:hover {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.modal-thumb.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(25, 98, 165, 0.3);
}

body.dark .modal-thumb.active {
    border-color: var(--secondary-orange);
    box-shadow: 0 0 8px rgba(232, 108, 22, 0.4);
}

.modal-img {
    transition: opacity 0.15s ease-in-out;
}

/* Amazon Brand Purchase CTA Button styling */
.btn-amazon {
    background-color: #232f3e;
    color: white !important;
    border: 1px solid #232f3e;
}

.btn-amazon:hover {
    background-color: #FF9900;
    border-color: #FF9900;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(255, 153, 0, 0.5);
}

body.dark .btn-amazon {
    background-color: #1a222d;
    border-color: #1a222d;
}

body.dark .btn-amazon:hover {
    background-color: #FF9900;
    border-color: #FF9900;
}
