/* ============================================
   NewFoxZen - Digital Tools Marketplace
   Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Green Theme */
    --primary: #10B981;
    --primary-hover: #059669;
    --secondary: #34D399;
    --accent: #6EE7B7;
    --bg-dark: #022C22;
    --bg-surface: #064E3B;
    --bg-card: #065F46;
    --text-primary: #F0FDF4;
    --text-secondary: #BBF7D0;
    --text-muted: #6EE7B7;
    --success: #10B981;
    --error: #F87171;
    --warning: #FCD34D;
    --border: #059669;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    --gradient-accent: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    --gradient-dark: linear-gradient(180deg, #022C22 0%, #064E3B 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.3);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Layout */
    --container-max: 1280px;
    --navbar-height: 72px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1F2937;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a:hover {
    color: var(--accent);
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(99, 102, 241, 0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.4);
}

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

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    height: 64px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 36px;
    height: 36px;
}

.logo-text {
    display: flex;
    gap: 0;
}

.logo-fox {
    color: #F97316;
}

.logo-zen {
    color: #10B981;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    color: #000000;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.search-btn, .cart-btn, .admin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: #f3f4f6;
    color: #1F2937;
    border: 1px solid #d1d5db;
    transition: all var(--transition-base);
    cursor: pointer;
}

.search-btn:hover, .cart-btn:hover, .admin-link:hover {
    background: #e5e7eb;
    color: #1F2937;
    border-color: #9ca3af;
}

.search-btn i, .cart-btn i {
    color: #1F2937;
}

.admin-link {
    display: none;
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Tools Login Button in Nav */
.tools-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.tools-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

@media (max-width: 768px) {
    .tools-login-btn {
        display: none;
    }
}

/* Currency Switcher */
.currency-switcher {
    position: relative;
    display: inline-block;
}

.currency-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #10B981;
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    transition: all var(--transition-base);
}

.currency-btn:hover {
    background: #059669;
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 120px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.currency-dropdown.show {
    display: block;
}

.currency-option {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.currency-option:hover {
    background: #f3f4f6;
    color: #10B981;
}

.currency-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.currency-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Theme Switcher */
.theme-switcher {
    position: relative;
    display: inline-block;
}

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    transition: all var(--transition-base);
}

.theme-btn:hover {
    background: var(--primary-hover);
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 180px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.theme-dropdown.show {
    display: block;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.theme-option:hover {
    background: #f3f4f6;
    color: var(--primary);
}

.theme-option.active {
    background: #ecfdf5;
    color: var(--primary);
}

.theme-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.theme-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.theme-color {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 180px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
}

.theme-dropdown.show {
    display: block;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.theme-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.theme-option.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
}

.theme-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.theme-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.theme-color {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: var(--space-lg);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: var(--space-md);
}

.mobile-menu a {
    display: block;
    padding: var(--space-md);
    color: var(--text-secondary);
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(52, 211, 153, 0.15) 0%, transparent 40%),
                var(--bg-dark);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 600ms ease forwards;
}

.hero h1 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 600ms 100ms ease forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    animation: fadeInUp 600ms 200ms ease forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
    animation: fadeInUp 600ms 300ms ease forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* ============================================
   Featured Products
   ============================================ */
.products-section {
    background: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    animation: fadeInUp 500ms ease forwards;
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(16, 185, 129, 0.15);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
}

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

.product-actions {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.product-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--primary);
}

.product-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-actions-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    width: 100%;
}

.product-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Always Visible Action Buttons */
.product-actions-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.product-actions-btns .btn {
    flex: 1;
    min-width: auto;
    justify-content: center;
}

.product-actions-btns .btn-cart {
    background: var(--primary);
    color: white;
    border: none;
}

.product-actions-btns .btn-cart:hover {
    background: var(--primary-hover);
}

.product-actions-btns .btn-details {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.product-actions-btns .btn-details:hover {
    background: var(--primary);
    color: white;
}

.product-actions-btns .btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    flex: 1.2;
}

.product-actions-btns .btn-whatsapp:hover {
    background: #128C7E;
}

/* Price Display */
.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.price-current {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 0.875rem;
    color: #9CA3AF;
    text-decoration: line-through;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #25D366;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ============================================
   Categories Section
   ============================================ */
.categories-section {
    position: relative;
    overflow: hidden;
}

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

.category-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-surface);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.category-card:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary);
    transition: all var(--transition-base);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    background: var(--bg-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    padding: var(--space-xl);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-content {
    position: relative;
    margin-bottom: var(--space-lg);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    font-family: serif;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    background: rgba(2, 44, 34, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: white;
    outline: none;
    transition: all var(--transition-base);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    background: rgba(2, 44, 34, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    background: white;
    color: #059669;
}

.newsletter-form .btn:hover {
    background: #F0FDF4;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding: var(--space-4xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
}

.footer-logo .logo-icon svg {
    width: 20px;
    height: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   Products Page
   ============================================ */
.page-header {
    padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-3xl);
    background: var(--bg-surface);
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-md);
}

.page-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-pill {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.sort-select {
    padding: 10px 16px;
    font-size: 0.875rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
}

.search-filter {
    display: flex;
    gap: var(--space-sm);
}

.search-filter input {
    padding: 10px 16px;
    font-size: 0.875rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    width: 250px;
    outline: none;
}

.search-filter input:focus {
    border-color: var(--primary);
}

.search-filter button {
    padding: 10px 16px;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
    padding: calc(var(--navbar-height) + var(--space-xl)) 0 var(--space-4xl);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-xl));
}

.product-main-image {
    aspect-ratio: 1;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.product-detail-price .price-current {
    font-size: 2.5rem;
}

.product-detail-price .price-original {
    font-size: 1.25rem;
}

.product-short-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.product-features {
    margin-bottom: var(--space-xl);
}

.product-features h3 {
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

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

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.product-features li svg {
    color: var(--success);
    flex-shrink: 0;
}

.product-actions-detail {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

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

.quantity-selector input {
    width: 60px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: none;
    color: var(--text-primary);
}

.product-guarantee {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.product-guarantee svg {
    color: var(--success);
}

/* ============================================
   Cart Page
   ============================================ */
.cart-page {
    padding: calc(var(--navbar-height) + var(--space-xl)) 0 var(--space-4xl);
}

.cart-page h1 {
    margin-bottom: var(--space-xl);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-xl);
    align-items: start;
}

.cart-items-list {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.cart-item-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.cart-item-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-md);
}

.cart-item-remove {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 12px;
    font-size: 0.875rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-base);
}

.cart-item-remove:hover {
    border-color: var(--error);
    color: var(--error);
}

.cart-summary {
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-xl));
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.cart-summary h3 {
    margin-bottom: var(--space-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-summary .btn {
    margin-top: var(--space-lg);
}

/* ============================================
   About Page
   ============================================ */
.about-section {
    padding: calc(var(--navbar-height) + var(--space-4xl)) 0 var(--space-4xl);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h1 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: calc(var(--navbar-height) + var(--space-4xl)) 0 var(--space-4xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.contact-form h2 {
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.contact-info h2 {
    margin-bottom: var(--space-xl);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-info-icon svg {
    color: white;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Search Results
   ============================================ */
.search-results {
    padding: calc(var(--navbar-height) + var(--space-xl)) 0 var(--space-4xl);
}

.search-results h1 {
    margin-bottom: var(--space-lg);
}

.search-results h1 span {
    color: var(--primary);
}

/* ============================================
   Modals & Overlays
   ============================================ */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.search-modal.active {
    display: flex;
}

.search-container {
    width: 100%;
    max-width: 640px;
    padding: 0 var(--space-lg);
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-surface);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.search-form .search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-form input {
    flex: 1;
    padding: 12px;
    font-size: 1.125rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
}

.search-form input::placeholder {
    color: var(--text-muted);
}

.search-close {
    position: absolute;
    top: -50px;
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    transition: all var(--transition-base);
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(0);
}

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

.cart-header h3 {
    font-size: 1.25rem;
}

.cart-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.cart-close:hover {
    color: var(--text-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

.cart-empty {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.cart-drawer-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.cart-drawer-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

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

.cart-drawer-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-drawer-item-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.cart-drawer-item-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.cart-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cart-remove-btn:hover {
    background: #EF4444;
}

.cart-drawer-item {
    position: relative;
}

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

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: calc(var(--navbar-height) + var(--space-md));
    right: var(--space-md);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideIn 300ms ease;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast.info {
    border-left: 4px solid var(--primary);
}

.toast svg {
    flex-shrink: 0;
}

.toast.success svg { color: var(--success); }
.toast.error svg { color: var(--error); }
.toast.info svg { color: var(--primary); }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Stagger animation for grids */
.products-grid .product-card:nth-child(1) { animation-delay: 0ms; }
.products-grid .product-card:nth-child(2) { animation-delay: 80ms; }
.products-grid .product-card:nth-child(3) { animation-delay: 160ms; }
.products-grid .product-card:nth-child(4) { animation-delay: 240ms; }
.products-grid .product-card:nth-child(5) { animation-delay: 320ms; }
.products-grid .product-card:nth-child(6) { animation-delay: 400ms; }

/* ============================================
   Admin Panel
   ============================================ */
.admin-layout {
    min-height: 100vh;
    background: var(--bg-dark);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-surface);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-header h1 {
    font-size: 1.5rem;
}

.admin-nav {
    display: flex;
    gap: var(--space-md);
}

.admin-nav a {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.admin-content {
    padding: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.admin-table {
    width: 100%;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.admin-table th,
.admin-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
}

.admin-table td {
    font-size: 0.95rem;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.admin-actions {
    display: flex;
    gap: var(--space-sm);
}

.admin-actions a,
.admin-actions button {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.admin-actions .edit-btn {
    background: var(--primary);
    color: white;
}

.admin-actions .delete-btn {
    background: var(--error);
    color: white;
}

.admin-form {
    max-width: 600px;
    background: var(--bg-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.admin-form .form-group {
    margin-bottom: var(--space-lg);
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-base);
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    border-color: var(--primary);
}

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

/* Admin Login */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: var(--space-xl);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.login-card h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.login-card .btn {
    width: 100%;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

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

    .product-gallery {
        position: static;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .tool-actions-btns {
        flex-wrap: nowrap;
    }

    .tool-actions-btns .btn {
        flex: 1;
        padding: 8px 8px;
        font-size: 0.75rem;
    }

    .product-actions-btns {
        flex-wrap: nowrap;
    }

    .product-actions-btns .btn {
        flex: 1;
        min-width: 0;
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .product-actions-btns .btn-whatsapp {
        flex: 1.2;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .admin-link {
        display: none;
    }

    .hero-stats {
        gap: var(--space-xl);
    }

    .stat-value {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-pills {
        overflow-x: auto;
        padding-bottom: var(--space-sm);
    }

    .cart-drawer {
        width: 100%;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .section {
        padding: var(--space-3xl) 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .product-actions-btns {
        gap: 6px;
    }

    .product-actions-btns .btn {
        padding: 8px 6px;
        font-size: 0.75rem;
    }

    .price-current {
        font-size: 1.25rem;
    }

    .product-actions-detail {
        flex-direction: column;
    }

    .product-actions-detail .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .cart-drawer, .toast-container {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* ============================================
   AlternativeTo Style Homepage
   ============================================ */

/* Hero Alt Section */
.hero-alt {
    padding: 120px 0 60px;
    background: var(--bg-dark);
    text-align: center;
}

.hero-alt-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-alt-content h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.hero-alt-content h1 span {
    color: var(--primary);
}

.hero-alt-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.hero-search {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xs);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    transition: border-color var(--transition-fast);
}

.hero-search:focus-within {
    border-color: var(--primary);
}

.hero-search-icon {
    margin-left: var(--space-md);
    color: var(--text-muted);
}

.hero-search input {
    flex: 1;
    padding: 12px 16px;
    font-size: 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
}

.hero-search input::placeholder {
    color: var(--text-muted);
}

.hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-tags span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-tags a {
    padding: 6px 14px;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.hero-tags a:hover {
    background: var(--primary);
    color: white;
}

/* Categories Nav */
.categories-nav {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar {
    display: none;
}

.category-pill {
    padding: 10px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Section Header Alt */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    margin: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

/* Tool Card */
.tool-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.tool-card-image {
    position: relative;
    height: 160px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tool-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    padding: var(--space-md);
}

.tool-card-placeholder {
    color: var(--text-muted);
}

.tool-card-placeholder i {
    width: 48px;
    height: 48px;
}

.tool-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.tool-badge.sale {
    background: var(--error);
}

.tool-card-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tool-actions-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.tool-actions-btns .btn {
    flex: 1;
    min-width: auto;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tool-actions-btns .btn-cart {
    background: var(--primary);
    color: white;
    border: none;
}

.tool-actions-btns .btn-cart:hover {
    background: var(--primary-hover);
}

.tool-actions-btns .btn-details {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.tool-actions-btns .btn-details:hover {
    background: var(--primary);
    color: white;
}

.tool-actions-btns .btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    flex: 1.2;
}

.tool-actions-btns .btn-whatsapp:hover {
    background: #128C7E;
}

.tool-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.tool-card-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.tool-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.tool-price .price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.tool-price .price-original {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.tool-actions {
    display: flex;
    gap: var(--space-sm);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

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

.btn-icon.whatsapp:hover {
    background: #25D366;
}

/* Features Grid Alt */
.features-grid-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
}

.feature-item {
    text-align: center;
    padding: var(--space-xl);
}

.feature-icon-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.feature-icon-alt i {
    width: 32px;
    height: 32px;
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: var(--space-4xl) 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-alt {
        padding: 100px 0 40px;
    }

    .hero-alt-content h1 {
        font-size: 2rem;
    }

    .hero-search {
        flex-direction: column;
        padding: var(--space-md);
    }

    .hero-search input {
        width: 100%;
        text-align: center;
    }

    .hero-search .btn {
        width: 100%;
    }

    .categories-nav {
        padding: var(--space-md) 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Utility */
.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.bg-surface {
    background: var(--bg-surface);
}