
/* NeuraSite Retail Theme - Epic Edition */

:root {

    --ns-primary: #e31937;

    --ns-secondary: #1a1a1a;

    --ns-accent: #ffd700;

    --ns-bg: #0d0d0d;

    --ns-bg-card: #1a1a1a;

    --ns-bg-light: #242424;

    --ns-text: #ffffff;

    --ns-text-muted: #999999;

    --ns-success: #00c853;

    --ns-warning: #ffc107;

    --ns-border: rgba(255,255,255,0.1);

    --ns-glow: rgba(227, 25, 55, 0.4);

    --ns-gradient: linear-gradient(135deg, #e31937 0%, #ff4757 100%);

}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { font-family: 'Open Sans', system-ui, sans-serif; background: var(--ns-bg); color: var(--ns-text); line-height: 1.6; }

h1,h2,h3,h4,h5 { font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

a { color: inherit; text-decoration: none; }

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

img { max-width: 100%; height: auto; }



/* Utility */

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

.text-muted { color: var(--ns-text-muted); }

.text-success { color: var(--ns-success); }

.bg-primary { background: var(--ns-primary); }

.gf-icon { width: 20px; height: 20px; vertical-align: middle; filter: brightness(0) invert(1); }

.gf-icon-lg { width: 24px; height: 24px; }



/* Announcement Bar */

.announcement-bar { background: var(--ns-primary); color: white; text-align: center; padding: 10px; font-size: 14px; font-weight: 600; }

.announcement-bar a { text-decoration: underline; }



/* Header */

.site-header { background: var(--ns-secondary); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--ns-border); }

.header-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--ns-border); }

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

.logo-icon { width: 50px; height: 50px; background: var(--ns-gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 24px; }

.logo-text { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; line-height: 1.1; }

.logo-text span { display: block; font-size: 11px; color: var(--ns-primary); letter-spacing: 2px; font-weight: 400; }



/* Search */

.header-search { flex: 1; max-width: 500px; margin: 0 40px; position: relative; }

.header-search input { width: 100%; padding: 14px 50px 14px 20px; background: var(--ns-bg-light); border: 2px solid var(--ns-border); border-radius: 8px; color: white; font-size: 15px; transition: all 0.2s; }

.header-search input:focus { outline: none; border-color: var(--ns-primary); box-shadow: 0 0 20px var(--ns-glow); }

.header-search button { position: absolute; right: 5px; top: 5px; bottom: 5px; width: 44px; background: var(--ns-primary); border: none; border-radius: 6px; cursor: pointer; transition: all 0.2s; }

.header-search button:hover { background: #ff4757; }

.search-results { position: absolute; top: 100%; left: 0; right: 0; background: var(--ns-bg-card); border: 1px solid var(--ns-border); border-radius: 8px; margin-top: 5px; max-height: 400px; overflow-y: auto; display: none; }

.search-results.active { display: block; }

.search-result-item { display: flex; align-items: center; gap: 15px; padding: 15px; border-bottom: 1px solid var(--ns-border); cursor: pointer; transition: background 0.2s; }

.search-result-item:hover { background: var(--ns-bg-light); }

.search-result-img { width: 60px; height: 60px; object-fit: contain; background: white; border-radius: 6px; }

.search-result-info h4 { font-size: 14px; margin-bottom: 4px; }

.search-result-info .price { color: var(--ns-primary); font-weight: 700; }



/* Header Actions */

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

.header-action { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; padding: 8px 12px; border-radius: 8px; transition: all 0.2s; position: relative; }

.header-action:hover { background: var(--ns-bg-light); }

.header-action .icon { width: 28px; height: 28px; }

.header-action span { font-size: 11px; color: var(--ns-text-muted); }

.cart-count { position: absolute; top: 0; right: 5px; background: var(--ns-primary); color: white; font-size: 11px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }



/* Navigation */

.header-nav { padding: 0; }

.nav-menu { display: flex; gap: 0; list-style: none; }

.nav-menu > li > a { display: block; padding: 15px 25px; font-family: 'Oswald', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s; border-bottom: 3px solid transparent; }

.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--ns-primary); border-bottom-color: var(--ns-primary); }



/* Hero */

.hero { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%); }

.hero-content { position: relative; z-index: 2; padding: 60px; max-width: 700px; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ns-primary); color: white; padding: 8px 16px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }

.hero-title { font-size: 64px; line-height: 1.1; margin-bottom: 20px; text-shadow: 2px 2px 20px rgba(0,0,0,0.5); }

.hero-title .highlight { color: var(--ns-primary); }

.hero-subtitle { font-size: 20px; color: var(--ns-text-muted); margin-bottom: 30px; line-height: 1.6; }

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: 6px; font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; border: none; }

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

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px var(--ns-glow); }

.btn-secondary { background: transparent; color: white; border: 2px solid white; }

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

.hero-stats { display: flex; gap: 40px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--ns-border); }

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

.hero-stat-value { font-family: 'Oswald', sans-serif; font-size: 42px; color: var(--ns-primary); }

.hero-stat-label { font-size: 13px; color: var(--ns-text-muted); text-transform: uppercase; letter-spacing: 1px; }



/* Product Grid */

.section { padding: 80px 0; }

.section-dark { background: var(--ns-bg); }

.section-light { background: var(--ns-bg-card); }

.section-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; }

.section-title { font-size: 36px; position: relative; }

.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--ns-primary); margin-top: 15px; }

.view-all { color: var(--ns-primary); font-weight: 600; display: flex; align-items: center; gap: 8px; }



/* Product Cards */

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

.product-card { background: var(--ns-bg-card); border-radius: 12px; overflow: hidden; transition: all 0.3s; position: relative; border: 1px solid var(--ns-border); }

.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); border-color: var(--ns-primary); }

.product-badge { position: absolute; top: 15px; left: 15px; z-index: 5; background: var(--ns-primary); color: white; padding: 5px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; }

.product-badge.sale { background: var(--ns-success); }

.product-badge.low-stock { background: var(--ns-warning); color: #000; }

.product-badge.out-of-stock { background: #666; }

.product-actions { position: absolute; top: 15px; right: 15px; z-index: 5; display: flex; flex-direction: column; gap: 8px; opacity: 0; transition: opacity 0.3s; }

.product-card:hover .product-actions { opacity: 1; }

.product-action-btn { width: 40px; height: 40px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }

.product-action-btn:hover { background: var(--ns-primary); }

.product-action-btn:hover img { filter: brightness(0) invert(1); }

.product-image { height: 220px; background: white; display: flex; align-items: center; justify-content: center; padding: 20px; }

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

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

.product-info { padding: 20px; }

.product-brand { font-size: 12px; color: var(--ns-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }

.product-name { font-size: 16px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }

.product-price .current { font-family: 'Oswald', sans-serif; font-size: 24px; color: var(--ns-primary); }

.product-price .original { font-size: 16px; color: var(--ns-text-muted); text-decoration: line-through; }

.product-stock { font-size: 13px; color: var(--ns-success); display: flex; align-items: center; gap: 6px; margin-bottom: 15px; }

.product-stock.low { color: var(--ns-warning); }

.product-stock.out { color: var(--ns-text-muted); }

.add-to-cart { width: 100%; padding: 14px; background: var(--ns-bg-light); border: 2px solid var(--ns-border); border-radius: 6px; color: white; font-family: 'Oswald', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.2s; }

.add-to-cart:hover { background: var(--ns-primary); border-color: var(--ns-primary); }



/* Category Cards */

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

.category-card { position: relative; height: 250px; border-radius: 12px; overflow: hidden; cursor: pointer; }

.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }

.category-card:hover img { transform: scale(1.1); }

.category-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; }

.category-name { font-family: 'Oswald', sans-serif; font-size: 24px; margin-bottom: 5px; }

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



/* Features Strip */

.features-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 0; border-top: 1px solid var(--ns-border); border-bottom: 1px solid var(--ns-border); }

.feature-item { display: flex; align-items: center; gap: 15px; }

.feature-icon { width: 50px; height: 50px; background: var(--ns-bg-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; }

.feature-text h4 { font-size: 15px; margin-bottom: 3px; }

.feature-text p { font-size: 13px; color: var(--ns-text-muted); }



/* Store Info Section */

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

.store-map { height: 400px; background: var(--ns-bg-light); border-radius: 12px; overflow: hidden; }

.store-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(100%) invert(92%) contrast(83%); }

.store-info h2 { font-size: 36px; margin-bottom: 20px; }

.store-info h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--ns-primary); margin-top: 15px; }

.store-address { font-size: 18px; margin-bottom: 20px; line-height: 1.6; }

.store-hours { margin-bottom: 30px; }

.store-hours h4 { font-size: 16px; margin-bottom: 15px; color: var(--ns-primary); }

.hours-grid { display: grid; gap: 8px; }

.hours-row { display: flex; justify-content: space-between; font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--ns-border); }

.hours-row .day { color: var(--ns-text-muted); }

.store-contact { display: flex; gap: 15px; }

.store-btn { display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--ns-bg-light); border: 1px solid var(--ns-border); border-radius: 8px; font-weight: 600; transition: all 0.2s; }

.store-btn:hover { border-color: var(--ns-primary); color: var(--ns-primary); }

.store-btn.primary { background: var(--ns-primary); border-color: var(--ns-primary); }

.store-btn.primary:hover { background: #ff4757; }



/* Newsletter */

.newsletter { background: var(--ns-gradient); padding: 60px; border-radius: 16px; text-align: center; }

.newsletter h2 { font-size: 36px; margin-bottom: 15px; }

.newsletter p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }

.newsletter-form { display: flex; gap: 15px; max-width: 500px; margin: 0 auto; }

.newsletter-form input { flex: 1; padding: 16px 20px; border: none; border-radius: 8px; font-size: 16px; }

.newsletter-form button { padding: 16px 32px; background: var(--ns-secondary); color: white; border: none; border-radius: 8px; font-family: 'Oswald', sans-serif; font-size: 16px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; }

.newsletter-form button:hover { background: #000; }



/* Footer */

.site-footer { background: var(--ns-secondary); border-top: 1px solid var(--ns-border); padding: 60px 0 30px; }

.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; margin-bottom: 40px; }

.footer-brand p { color: var(--ns-text-muted); margin-top: 20px; font-size: 14px; line-height: 1.7; }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }

.footer-social a { width: 40px; height: 40px; background: var(--ns-bg-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }

.footer-social a:hover { background: var(--ns-primary); }

.footer h4 { font-size: 14px; margin-bottom: 20px; color: var(--ns-primary); }

.footer ul { list-style: none; }

.footer li { margin-bottom: 12px; }

.footer a { color: var(--ns-text-muted); font-size: 14px; transition: color 0.2s; }

.footer a:hover { color: var(--ns-primary); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--ns-border); }

.footer-bottom p { font-size: 13px; color: var(--ns-text-muted); }

.nw-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(227,25,55,0.1); border: 1px solid var(--ns-primary); padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--ns-primary); }



/* Cart Drawer */

.cart-drawer { position: fixed; top: 0; right: -450px; width: 450px; height: 100vh; background: var(--ns-bg-card); z-index: 2000; transition: right 0.3s; box-shadow: -10px 0 50px rgba(0,0,0,0.5); display: flex; flex-direction: column; }

.cart-drawer.open { right: 0; }

.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1999; opacity: 0; visibility: hidden; transition: all 0.3s; }

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

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

.cart-header h3 { font-size: 20px; }

.cart-close { width: 40px; height: 40px; background: var(--ns-bg-light); border: none; border-radius: 8px; cursor: pointer; color: white; font-size: 24px; }

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

.cart-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--ns-border); }

.cart-item-image { width: 80px; height: 80px; background: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

.cart-item-image img { max-width: 90%; max-height: 90%; }

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

.cart-item-name { font-weight: 600; margin-bottom: 5px; }

.cart-item-price { color: var(--ns-primary); font-weight: 700; }

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

.qty-btn { width: 30px; height: 30px; background: var(--ns-bg-light); border: 1px solid var(--ns-border); border-radius: 4px; cursor: pointer; color: white; }

.cart-footer { padding: 20px; border-top: 1px solid var(--ns-border); }

.cart-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.cart-total .amount { color: var(--ns-primary); }

.checkout-btn { width: 100%; padding: 18px; background: var(--ns-gradient); border: none; border-radius: 8px; color: white; font-family: 'Oswald', sans-serif; font-size: 18px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; }

.checkout-btn:hover { box-shadow: 0 10px 30px var(--ns-glow); }



/* Quick View Modal */

.quickview-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s; }

.quickview-modal.open { opacity: 1; visibility: visible; }

.quickview-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); }

.quickview-content { position: relative; background: var(--ns-bg-card); border-radius: 16px; width: 90%; max-width: 1000px; max-height: 90vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }

.quickview-close { position: absolute; top: 15px; right: 15px; z-index: 10; width: 40px; height: 40px; background: var(--ns-bg-light); border: none; border-radius: 8px; cursor: pointer; color: white; font-size: 24px; }

.quickview-image { background: white; display: flex; align-items: center; justify-content: center; padding: 40px; }

.quickview-image img { max-width: 100%; max-height: 400px; }

.quickview-info { padding: 40px; overflow-y: auto; }

.quickview-brand { color: var(--ns-primary); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }

.quickview-name { font-size: 28px; margin-bottom: 15px; }

.quickview-price { font-size: 32px; color: var(--ns-primary); margin-bottom: 20px; }

.quickview-desc { color: var(--ns-text-muted); margin-bottom: 30px; line-height: 1.7; }

.quickview-actions { display: flex; gap: 15px; }



/* Responsive */

@media (max-width: 1200px) { .products-grid, .categories-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 900px) { 

    .products-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); } 

    .features-strip { grid-template-columns: repeat(2, 1fr); }

    .store-section { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .hero-title { font-size: 42px; }

    .quickview-content { grid-template-columns: 1fr; }

}

@media (max-width: 600px) { 

    .products-grid, .categories-grid { grid-template-columns: 1fr; }

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

    .hero-title { font-size: 32px; }

    .nav-menu { display: none; }

    .header-search { margin: 0 15px; }

    .cart-drawer { width: 100%; right: -100%; }

}




/* Theme Toggle */

.theme-toggle { background: var(--ns-bg-light); border: 1px solid var(--ns-border); border-radius: 8px; padding: 8px 12px; cursor: pointer; display: flex; align-items: center; gap: 6px; color: var(--ns-text); font-size: 12px; transition: all 0.2s; }

.theme-toggle:hover { border-color: var(--ns-primary); }

[data-theme="dark"] .theme-icon-dark { display: none; }

[data-theme="light"] .theme-icon-light { display: none; }

.gf-icon-placeholder { width: 80px; height: 80px; opacity: 0.3; }



/* Account Modal */

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2500; opacity: 0; visibility: hidden; transition: all 0.3s; }

.modal-overlay.open { opacity: 1; visibility: visible; }

.account-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); background: var(--ns-bg-card); border-radius: 16px; width: 90%; max-width: 450px; z-index: 2600; opacity: 0; visibility: hidden; transition: all 0.3s; }

.account-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid var(--ns-border); }

.modal-header h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }

.modal-close { background: none; border: none; cursor: pointer; padding: 5px; }

.modal-close img { width: 24px; height: 24px; filter: brightness(0) invert(1); }

.modal-body { padding: 25px; }

.account-tabs { display: flex; gap: 10px; margin-bottom: 25px; }

.account-tab { flex: 1; padding: 12px; background: var(--ns-bg-light); border: 2px solid transparent; border-radius: 8px; color: var(--ns-text-muted); font-weight: 600; cursor: pointer; transition: all 0.2s; }

.account-tab:hover { color: var(--ns-text); }

.account-tab.active { background: var(--ns-primary); color: white; border-color: var(--ns-primary); }

.account-panel { display: none; }

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

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

.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--ns-text-muted); }

.form-group input { width: 100%; padding: 14px; background: var(--ns-bg-light); border: 2px solid var(--ns-border); border-radius: 8px; color: var(--ns-text); font-size: 15px; transition: all 0.2s; }

.form-group input:focus { outline: none; border-color: var(--ns-primary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.btn-full { width: 100%; justify-content: center; }

.account-divider { text-align: center; margin: 20px 0; position: relative; }

.account-divider::before { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--ns-border); }

.account-divider span { background: var(--ns-bg-card); padding: 0 15px; position: relative; color: var(--ns-text-muted); font-size: 13px; }



/* Light Theme Overrides */

[data-theme="light"] { --ns-bg: #f5f5f5; --ns-bg-card: #ffffff; --ns-bg-light: #e8e8e8; --ns-text: #1a1a1a; --ns-text-muted: #666666; --ns-border: rgba(0,0,0,0.1); }

[data-theme="light"] body { background: var(--ns-bg); color: var(--ns-text); }

[data-theme="light"] .gf-icon { filter: brightness(0); }

[data-theme="light"] .btn-primary .gf-icon, [data-theme="light"] .hero-badge .gf-icon { filter: brightness(0) invert(1); }

[data-theme="light"] .product-image { background: #f0f0f0; }

[data-theme="light"] .hero-overlay { background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.6) 100%); }

[data-theme="light"] .hero-title, [data-theme="light"] .hero-subtitle { color: #1a1a1a; text-shadow: none; }

[data-theme="light"] .site-header { background: #ffffff; }

[data-theme="light"] .site-footer { background: #1a1a1a; color: #ffffff; }

[data-theme="light"] .site-footer .gf-icon { filter: brightness(0) invert(1); }

[data-theme="light"] .modal-close img { filter: brightness(0); }

[data-theme="light"] .announcement-bar { background: var(--ns-primary); }

[data-theme="light"] .announcement-bar .gf-icon { filter: brightness(0) invert(1); }




/* Theme Icon Toggle - Show/Hide Sun and Moon */

.theme-icon-light, .theme-icon-dark { transition: opacity 0.2s; }

[data-theme="dark"] .theme-icon-light { display: inline-block !important; }

[data-theme="dark"] .theme-icon-dark { display: none !important; }

[data-theme="light"] .theme-icon-light { display: none !important; }

[data-theme="light"] .theme-icon-dark { display: inline-block !important; }



/* Light Mode Icon Colors - Proper Contrast */

[data-theme="light"] .gf-icon { filter: brightness(0) saturate(100%); }

[data-theme="light"] .header-search button .gf-icon { filter: brightness(0) invert(1); }

[data-theme="light"] .announcement-bar .gf-icon { filter: brightness(0) invert(1); }

[data-theme="light"] .hero-badge .gf-icon { filter: brightness(0) invert(1); }

[data-theme="light"] .btn-primary .gf-icon { filter: brightness(0) invert(1); }

[data-theme="light"] .theme-toggle .gf-icon { filter: brightness(0) saturate(100%); }



/* Light Mode Background/Text Fixes */

[data-theme="light"] .header-search input { color: var(--ns-text); background: #f0f0f0; }

[data-theme="light"] .header-search input::placeholder { color: var(--ns-text-muted); }

[data-theme="light"] .site-header { background: #ffffff; border-bottom-color: #e0e0e0; }

[data-theme="light"] .logo-icon { color: #ffffff; }

[data-theme="light"] .nav-menu > li > a { color: #333; }

[data-theme="light"] .nav-menu > li > a:hover, [data-theme="light"] .nav-menu > li > a.active { color: var(--ns-primary); }

[data-theme="light"] .header-action span { color: #666; }

[data-theme="light"] .search-results { background: #ffffff; border-color: #e0e0e0; }

[data-theme="light"] .search-result-item:hover { background: #f5f5f5; }




/* ========== THEME TOGGLE FIX ========== */

/* Show sun in dark mode, moon in light mode */

[data-theme="dark"] .theme-icon-light { display: inline-block !important; }

[data-theme="dark"] .theme-icon-dark { display: none !important; }

[data-theme="light"] .theme-icon-light { display: none !important; }

[data-theme="light"] .theme-icon-dark { display: inline-block !important; }



/* Light Mode - Icon visibility */

[data-theme="light"] .gf-icon { filter: brightness(0) saturate(100%); }

[data-theme="light"] .header-search button .gf-icon,

[data-theme="light"] .announcement-bar .gf-icon,

[data-theme="light"] .hero-badge .gf-icon,

[data-theme="light"] .btn-primary .gf-icon { filter: brightness(0) invert(1); }



/* Light Mode - Header & Navigation */

[data-theme="light"] .site-header { background: #ffffff; border-bottom-color: #e0e0e0; }

[data-theme="light"] .header-search input { color: #1a1a1a; background: #f0f0f0; }

[data-theme="light"] .header-search input::placeholder { color: #666; }

[data-theme="light"] .nav-menu > li > a { color: #333; }

[data-theme="light"] .header-action span { color: #666; }

[data-theme="light"] .search-results { background: #fff; border-color: #ddd; }

[data-theme="light"] .search-result-item:hover { background: #f5f5f5; }

[data-theme="light"] .search-result-info h4 { color: #1a1a1a; }




/* ========== DARK MODE ICON FIX ========== */

[data-theme="dark"] .gf-icon,

[data-theme="dark"] .gf-icon-lg,

[data-theme="dark"] .header-action .gf-icon,

[data-theme="dark"] .header-actions .gf-icon { 

    filter: brightness(0) invert(1) !important; 

}



/* Theme toggle icons - sun visible in dark, moon visible in light */

[data-theme="dark"] .theme-icon-light { display: inline-block !important; opacity: 1 !important; }

[data-theme="dark"] .theme-icon-dark { display: none !important; }

[data-theme="light"] .theme-icon-light { display: none !important; }

[data-theme="light"] .theme-icon-dark { display: inline-block !important; opacity: 1 !important; }




/* Product Action Buttons - Quick View & Wishlist */

.product-action-btn {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: var(--ns-primary);

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s;

    box-shadow: 0 2px 8px rgba(0,0,0,0.2);

}

.product-action-btn:hover {

    transform: scale(1.1);

    background: #ff4757;

}

.product-action-btn .gf-icon {

    width: 20px;

    height: 20px;

    filter: brightness(0) invert(1) !important;

}




/* FIX: Product Action Buttons Default State */

.product-action-btn {

    background: white !important;

    border: none;

}

.product-action-btn .gf-icon,

.product-action-btn img {

    filter: brightness(0) !important;

    width: 18px;

    height: 18px;

}

.product-action-btn:hover {

    background: var(--ns-primary) !important;

}

.product-action-btn:hover .gf-icon,

.product-action-btn:hover img {

    filter: brightness(0) invert(1) !important;

}

