/* =============================================
   MINUTIO IT SHOP — Main Stylesheet
   ============================================= */

/* --- Variables --- */
:root {
    --primary:        #71cc98;
    --primary-dark:   #52b07a;
    --primary-light:  #a7e4bf;
    --secondary:      #22326e;
    --secondary-dark: #16244f;
    --accent:         #4facfe;
    --accent2:        #00f2fe;
    --dark:           #090d1a;
    --dark-2:         #0f1629;
    --dark-3:         #1a2235;
    --dark-4:         #232f47;
    --dark-5:         #2d3d5c;
    --light:          #f0f4ff;
    --white:          #ffffff;
    --text:           #e2e8f0;
    --text-muted:     #a0a9b8;
    --text-dim:       #6b7a92;
    --border:         rgba(255,255,255,0.08);
    --border-light:   rgba(255,255,255,0.15);
    --success:        #10b981;
    --warning:        #f59e0b;
    --danger:         #ef4444;
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.3);
    --shadow:         0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg:      0 8px 48px rgba(0,0,0,0.5);
    --shadow-primary: 0 8px 32px rgba(113,204,152,0.3);
    --glow-primary:   0 0 30px rgba(113,204,152,0.4);
    --glow-accent:    0 0 30px rgba(79,172,254,0.4);
    --radius-sm:      6px;
    --radius:         12px;
    --radius-lg:      20px;
    --radius-xl:      32px;
    --radius-full:    9999px;
    --transition:     0.3s cubic-bezier(0.4,0,0.2,1);
    --font-body:      'Manrope', sans-serif;
    --font-heading:   'Space Grotesk', sans-serif;
}

/* --- Light Mode --- */
[data-theme="light"] {
    --primary:        #2a9d5c;
    --primary-dark:   #1f7a46;
    --primary-light:  #71cc98;
    --secondary:      #22326e;
    --secondary-dark: #16244f;
    --accent:         #2d7fd4;
    --accent2:        #0096d6;
    --dark:           #ffffff;
    --dark-2:         #f5f7fa;
    --dark-3:         #edf0f5;
    --dark-4:         #e2e6ed;
    --dark-5:         #d4d9e3;
    --light:          #090d1a;
    --white:          #111827;
    --text:           #1f2937;
    --text-muted:     #6b7280;
    --text-dim:       #9ca3af;
    --border:         rgba(0,0,0,0.08);
    --border-light:   rgba(0,0,0,0.12);
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
    --shadow:         0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg:      0 8px 48px rgba(0,0,0,0.1);
    --shadow-primary: 0 8px 32px rgba(42,157,92,0.15);
    --glow-primary:   0 0 30px rgba(42,157,92,0.15);
    --glow-accent:    0 0 30px rgba(45,127,212,0.15);
}
[data-theme="light"] .navbar { background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); }
[data-theme="light"] .navbar.scrolled { background: rgba(255,255,255,0.95); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
[data-theme="light"] .nav-link { color: #374151; }
[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active { color: var(--primary); }
[data-theme="light"] .nav-dropdown { background: #fff; border: 1px solid var(--border); }
[data-theme="light"] .mobile-menu { background: #fff; }
[data-theme="light"] .footer { background: #1a2235; }
[data-theme="light"] .footer, [data-theme="light"] .footer * { --text: #e2e8f0; --text-muted: #a0a9b8; --white: #fff; --border: rgba(255,255,255,0.08); color: #e2e8f0; }
[data-theme="light"] .footer a { color: #a0a9b8; }
[data-theme="light"] .footer a:hover { color: #71cc98; }
[data-theme="light"] .preloader-logo { color: #111827; }
[data-theme="light"] .hero { color: #fff; }
[data-theme="light"] .hero h1, [data-theme="light"] .hero p { color: #fff; }
[data-theme="light"] .badge-success, [data-theme="light"] .badge-grade-a { background: rgba(42,157,92,0.12); color: #1f7a46; }
[data-theme="light"] .btn-glass { background: rgba(0,0,0,0.04); border: 1px solid var(--border); color: var(--text); }
[data-theme="light"] .btn-glass:hover { background: rgba(0,0,0,0.08); }

/* Logo icon: keep original gradient + white icon in both themes */
[data-theme="light"] .logo-icon { color: #fff; }
/* Logo text: adapt for light background */
[data-theme="light"] .navbar-logo .logo-primary { color: #22326e; }
[data-theme="light"] .footer .logo-primary { color: #fff; }

/* Process step numbers: keep white text on dark circle */
[data-theme="light"] .process-num { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-color: var(--primary-light); box-shadow: 0 0 20px rgba(42,157,92,0.2); }
[data-theme="light"] .process-title { color: #111827; }

/* Page hero: light gradient instead of dark blobs */
[data-theme="light"] .page-hero { background: linear-gradient(135deg, #e8edf5, #f0f4ff); }
[data-theme="light"] .page-hero::before { background: radial-gradient(ellipse at 20% 50%, rgba(42,157,92,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(45,127,212,0.06) 0%, transparent 50%); }
[data-theme="light"] .page-hero h1 { color: #111827; }

/* Section titles */
[data-theme="light"] .section-title { color: #111827; }
[data-theme="light"] .section-title span { color: var(--primary); }
[data-theme="light"] .section-subtitle { color: #6b7280; }

/* Cards and stat boxes */
[data-theme="light"] .stat-number { color: var(--primary); }
[data-theme="light"] .cart-summary-card, [data-theme="light"] .order-summary-card,
[data-theme="light"] .checkout-form-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); }

/* Breadcrumb */
[data-theme="light"] .breadcrumb a { color: #6b7280; }
[data-theme="light"] .breadcrumb .current { color: #111827; }

/* Hamburger */
[data-theme="light"] .hamburger span { background: #374151; }

/* Cart table */
[data-theme="light"] .cart-item-name a { color: #111827; }
[data-theme="light"] .cart-price, [data-theme="light"] .cart-total-price { color: #111827; }

/* Product cards */
[data-theme="light"] .product-card { background: #fff; border: 1px solid rgba(0,0,0,0.06); }
[data-theme="light"] .product-name a { color: #111827; }
[data-theme="light"] .product-price { color: var(--primary); }

/* Feature/category cards */
[data-theme="light"] .feature-card, [data-theme="light"] .category-card { background: #fff; border: 1px solid rgba(0,0,0,0.06); }
[data-theme="light"] .feature-title, [data-theme="light"] .category-card h3 { color: #111827; }

/* Testimonial cards */
[data-theme="light"] .testimonial-card { background: #fff; border: 1px solid rgba(0,0,0,0.06); }
[data-theme="light"] .testimonial-name { color: #111827; }

/* Alert */
[data-theme="light"] .alert-error { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); }

/* Toast */
[data-theme="light"] .toast { background: #fff; border: 1px solid rgba(0,0,0,0.1); color: #374151; }

/* "Ai nevoie de ajutor?" sidebar card */
[data-theme="light"] .sidebar-card { background: #fff; }
[data-theme="light"] .sidebar-card[style*="linear-gradient"] { background: linear-gradient(135deg, rgba(42,157,92,0.06), rgba(45,127,212,0.04)) !important; border-color: rgba(42,157,92,0.15) !important; }

/* Footer social icons: visible on dark footer */
[data-theme="light"] .footer-social a { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: #ccc; }
[data-theme="light"] .footer-social a:hover { background: var(--primary-light); color: #111; border-color: var(--primary-light); }

/* Footer logo: icon + text on same line */
[data-theme="light"] .footer-logo { display: flex; align-items: center; gap: 0.6rem; }
[data-theme="light"] .footer-logo .logo-icon { flex-shrink: 0; }


/* Product card hover: lighter shadow */
[data-theme="light"] .product-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
[data-theme="light"] .product-img-wrap { background: #f5f7fa; }

/* CTA banner: light version */
[data-theme="light"] .cta-banner { background: linear-gradient(135deg, #eef6f1, #f0f4ff, #eef6f1); }
[data-theme="light"] .cta-banner::before { background: radial-gradient(circle at 50% 50%, rgba(42,157,92,0.06), transparent 70%); }
[data-theme="light"] .cta-banner h2 { color: #111827; }
[data-theme="light"] .btn-outline-white { border-color: var(--primary); color: var(--primary); }
[data-theme="light"] .btn-outline-white:hover { background: var(--primary); color: #fff; }

/* Misc */
[data-theme="light"] .back-to-top { background: var(--primary); color: #fff; }
[data-theme="light"] .nav-cart-btn, [data-theme="light"] .nav-search-btn, [data-theme="light"] .theme-toggle { color: #374151; }
[data-theme="light"] .nav-cart-btn:hover, [data-theme="light"] .nav-search-btn:hover, [data-theme="light"] .theme-toggle:hover { color: var(--primary); }

/* --- Theme Toggle Button --- */
.theme-toggle {
    background: none; border: none; cursor: pointer;
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 1rem;
    transition: var(--transition);
}
.theme-toggle:hover { color: var(--primary); background: rgba(113,204,152,0.1); }
.theme-toggle .fa-moon { display: none; }
[data-theme="light"] .theme-toggle .fa-sun { display: none; }
[data-theme="light"] .theme-toggle .fa-moon { display: inline; }

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font-body); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text); line-height: 1.8; }

/* --- Layout --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* --- Preloader --- */
#preloader {
    position: fixed; inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
    display: flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-heading); font-size: 1.8rem;
    font-weight: 700; color: var(--white); margin-bottom: 1.5rem;
    animation: pulse 1.5s ease infinite;
}
.preloader-logo i { color: var(--primary); font-size: 2.2rem; }
.preloader-bar {
    width: 200px; height: 3px; background: var(--dark-4);
    border-radius: var(--radius-full); overflow: hidden;
}
.preloader-progress {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-full);
    animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: rgba(9,13,26,0.95);
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border);
}
.navbar-container {
    display: flex; align-items: center; gap: 2rem;
}
.navbar-logo {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none;
}
.navbar-logo .logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--white);
    box-shadow: var(--shadow-primary);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-primary { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--white); }
.logo-secondary { font-size: 0.65rem; color: var(--primary); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

.navbar-nav {
    display: flex; align-items: center; gap: 0.25rem;
    margin-left: auto;
}
.navbar-nav li { position: relative; }
.nav-link {
    display: flex; align-items: center; gap: 0.35rem;
    padding: 0.5rem 0.9rem; border-radius: var(--radius-full);
    color: var(--text); font-weight: 500; font-size: 0.9rem;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary); background: rgba(113,204,152,0.08);
}
.nav-link.active { color: var(--primary); }
.nav-link i { font-size: 0.7rem; transition: var(--transition); }
.has-dropdown:hover .nav-link i { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
    position: absolute; top: calc(100% + 0.5rem); left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--dark-3);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.5rem;
    min-width: 220px;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}
.has-dropdown:hover .nav-dropdown {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 0.8rem; border-radius: var(--radius-sm);
    color: var(--text); font-size: 0.875rem;
    transition: var(--transition);
}
.nav-dropdown a:hover { background: rgba(113,204,152,0.1); color: var(--primary); }
.nav-dropdown a i { width: 16px; color: var(--primary); font-size: 0.8rem; }
.nav-dropdown .view-all {
    border-top: 1px solid var(--border);
    margin-top: 0.4rem; padding-top: 0.7rem;
    color: var(--primary); font-weight: 600;
}

.navbar-right {
    display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem;
}
.nav-search-btn, .nav-cart-btn {
    width: 38px; height: 38px; border-radius: var(--radius-full);
    background: var(--dark-4); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text); font-size: 0.9rem; position: relative;
    transition: var(--transition);
}
.nav-search-btn:hover, .nav-cart-btn:hover {
    background: var(--dark-5); color: var(--primary); border-color: var(--primary);
}
.cart-badge {
    position: absolute; top: -6px; right: -6px;
    background: var(--primary); color: var(--dark);
    font-size: 0.65rem; font-weight: 800;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%;
    width: min(320px, 90vw); height: 100vh;
    background: var(--dark-2); z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    border-left: 1px solid var(--border);
}
.mobile-menu.open { right: 0; }
.mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    z-index: 1000; opacity: 0; visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 2rem; }
.mobile-nav-links li a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; border-radius: var(--radius);
    color: var(--text); font-weight: 500;
    transition: var(--transition);
}
.mobile-nav-links li a:hover { background: rgba(113,204,152,0.1); color: var(--primary); }
.mobile-nav-links li.sub a {
    font-size: 0.875rem; color: var(--text-muted); padding-left: 2rem;
}
.mobile-nav-links li.sub a i { color: var(--primary); font-size: 0.75rem; }
.mobile-cart-link {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--primary); color: var(--dark);
    padding: 0.85rem 1.25rem; border-radius: var(--radius);
    font-weight: 700; justify-content: center;
}
.mobile-cart-link:hover { background: var(--primary-dark); color: var(--dark); }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full); font-weight: 700;
    font-size: 0.9rem; cursor: pointer; border: 2px solid transparent;
    transition: var(--transition); white-space: nowrap;
    text-decoration: none; font-family: var(--font-heading);
    letter-spacing: 0.02em;
}
.btn-primary {
    background: var(--primary); color: var(--dark);
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    background: var(--primary-dark); color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(113,204,152,0.5);
}
.btn-secondary {
    background: var(--secondary); color: var(--white);
    box-shadow: 0 4px 20px rgba(34,50,110,0.4);
}
.btn-secondary:hover {
    background: var(--secondary-dark); color: var(--white);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent; color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary); color: var(--dark);
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent; color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1); color: var(--white);
    border-color: var(--white);
}
.btn-glass {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.15);
    color: var(--white);
}
.btn-glass:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; color: white; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-xl { padding: 1.1rem 3rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* --- Badges --- */
.badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.25rem 0.65rem; border-radius: var(--radius-full);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
    text-transform: uppercase;
}
.badge-success { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.badge-warning { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.badge-danger { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.badge-primary { background: rgba(113,204,152,0.15); color: var(--primary); border: 1px solid rgba(113,204,152,0.3); }
.badge-accent { background: rgba(79,172,254,0.15); color: var(--accent); border: 1px solid rgba(79,172,254,0.3); }
.badge-grade-a { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.badge-grade-b { background: rgba(79,172,254,0.15); color: var(--accent); border: 1px solid rgba(79,172,254,0.3); }
.badge-grade-c { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 1rem; border-radius: var(--radius-full);
    background: rgba(113,204,152,0.1);
    border: 1px solid rgba(113,204,152,0.25);
    color: var(--primary); font-size: 0.82rem;
    font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 1rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
}

/* Video Background */
.hero-video-wrap {
    position: absolute; inset: 0; z-index: 1;
    overflow: hidden;
}
.hero-video-wrap video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
/* YouTube iframe background */
#yt-bg-wrap {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
#yt-bg-wrap iframe {
    position: absolute;
    width: 177.78vh; /* 16:9 ratio */
    min-width: 100%;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 3;
    background: linear-gradient(
        135deg,
        rgba(9,13,26,0.72) 0%,
        rgba(9,13,26,0.45) 50%,
        rgba(34,50,110,0.35) 100%
    );
}
/* Grid overlay sits just above video */
.hero-grid { z-index: 2; }
.hero-gradient-fallback {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(34,50,110,0.8) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(79,172,254,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(113,204,152,0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    animation: bgShift 12s ease-in-out infinite alternate;
}
@keyframes bgShift {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(20deg); }
}
/* Grid overlay */
.hero-grid {
    position: absolute; inset: 0; z-index: 2;
    background-image:
        linear-gradient(rgba(113,204,152,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113,204,152,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.hero-content {
    position: relative; z-index: 4;
    padding: 7rem 0 4rem;
    max-width: 750px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(113,204,152,0.1);
    border: 1px solid rgba(113,204,152,0.3);
    border-radius: var(--radius-full);
    color: var(--primary); font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease forwards;
}
.hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary);
    animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    line-height: 1.1; margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem; color: rgba(226,232,240,0.75);
    max-width: 560px; margin-bottom: 2.5rem; line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
    margin-bottom: 3rem;
}
.hero-features {
    display: flex; gap: 2rem; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-feature {
    display: flex; align-items: center; gap: 0.5rem;
    color: rgba(226,232,240,0.65); font-size: 0.875rem;
}
.hero-feature i { color: var(--primary); font-size: 0.85rem; }

/* Hero stats */
.hero-stats {
    position: absolute; right: 0; bottom: 15%;
    z-index: 4;
    display: flex; flex-direction: column; gap: 1rem;
}
.hero-stat-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    text-align: center;
    animation: fadeInRight 0.8s ease var(--delay, 0.5s) both;
    transition: var(--transition);
}
.hero-stat-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
    transform: translateX(-4px);
    box-shadow: var(--shadow-primary);
}
.hero-stat-number {
    font-family: var(--font-heading); font-size: 1.8rem;
    font-weight: 800; color: var(--primary); line-height: 1;
}
.hero-stat-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: var(--text-muted); font-size: 0.75rem;
    animation: fadeIn 1s ease 1.5s both;
}
.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
    width: 3px; height: 6px; background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    background: var(--dark-3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: relative; z-index: 3;
}
.stats-bar::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.5rem;
}
.stat-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    background: rgba(113,204,152,0.1);
    border: 1px solid rgba(113,204,152,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--primary); flex-shrink: 0;
}
.stat-info { min-width: 0; }
.stat-number {
    font-family: var(--font-heading); font-size: 1.6rem;
    font-weight: 800; color: var(--white); line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }

/* =============================================
   CATEGORIES
   ============================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.25rem;
}
.category-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative; overflow: hidden;
    text-decoration: none;
}
.category-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0; transition: var(--transition);
}
.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary);
}
.category-card:hover::before { opacity: 0.06; }
.category-card:hover .cat-icon { background: var(--primary); color: var(--dark); }
.category-card:hover .cat-name { color: var(--primary); }
.cat-icon {
    width: 56px; height: 56px; border-radius: var(--radius);
    background: rgba(113,204,152,0.1);
    border: 1px solid rgba(113,204,152,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--primary);
    margin: 0 auto 1rem; transition: var(--transition);
}
.cat-name {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 0.9rem; color: var(--text);
    transition: var(--transition); position: relative;
}
.cat-count {
    font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem;
    position: relative;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden; transition: var(--transition);
    position: relative; display: flex; flex-direction: column;
}
.product-card:hover {
    border-color: rgba(113,204,152,0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.product-img-wrap {
    position: relative; padding-top: 65%;
    background: var(--dark-4); overflow: hidden;
}
.product-img-wrap img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0.5rem;
    color: var(--dark-5);
}
.product-img-placeholder i { font-size: 3rem; }
.product-img-placeholder span { font-size: 0.75rem; }
.product-badges {
    position: absolute; top: 0.75rem; left: 0.75rem;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.product-badge-discount {
    background: var(--danger); color: white;
    padding: 0.2rem 0.55rem; border-radius: var(--radius-full);
    font-size: 0.72rem; font-weight: 800;
}
.product-badge-featured {
    background: var(--warning); color: var(--dark);
    padding: 0.2rem 0.55rem; border-radius: var(--radius-full);
    font-size: 0.72rem; font-weight: 800;
}
.product-quick-add {
    position: absolute; inset: 0;
    background: rgba(9,13,26,0.75);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.product-card:hover .product-quick-add { opacity: 1; }

.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-category {
    font-size: 0.72rem; color: var(--primary); font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem;
}
.product-name {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 0.95rem; color: var(--white); line-height: 1.4;
    margin-bottom: 0.6rem; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--primary); }
.product-meta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem; margin-bottom: 0.75rem;
}
.product-condition { font-size: 0.75rem; }
.product-stock { font-size: 0.75rem; }
.stock-in { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--danger); }

.product-pricing { margin-bottom: 1rem; }
.product-price {
    font-family: var(--font-heading); font-size: 1.3rem;
    font-weight: 800; color: var(--primary); line-height: 1;
}
.product-original-price {
    font-size: 0.85rem; color: var(--text-dim);
    text-decoration: line-through; margin-left: 0.5rem;
}

.product-actions { display: flex; gap: 0.5rem; }
.product-actions .btn { flex: 1; }

/* =============================================
   FEATURES / WHY US
   ============================================= */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.feature-card:hover { border-color: rgba(113,204,152,0.2); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 60px; height: 60px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(113,204,152,0.15), rgba(79,172,254,0.1));
    border: 1px solid rgba(113,204,152,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary);
    margin-bottom: 1.25rem;
}
.feature-title {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 1.05rem; color: var(--white); margin-bottom: 0.6rem;
}
.feature-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section { overflow: hidden; }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.about-image-main img { width: 100%; display: block; }
.about-image-float {
    position: absolute; bottom: -1.5rem; left: -1.5rem;
    background: var(--dark-3);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex; gap: 1rem; align-items: center;
    box-shadow: var(--shadow-lg);
}
.float-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--dark); flex-shrink: 0;
}
.float-text .num {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 1.4rem; color: var(--white); line-height: 1;
}
.float-text .label { font-size: 0.75rem; color: var(--text-muted); }
.about-decorative-circle {
    position: absolute; top: -2rem; right: -2rem;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(113,204,152,0.12), transparent 70%);
    pointer-events: none;
}
.about-content .eyebrow { margin-bottom: 1rem; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-content > p { margin-bottom: 2rem; font-size: 1rem; line-height: 1.85; }
.about-list { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-list-item {
    display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem;
}
.about-list-item i { color: var(--primary); margin-top: 0.2rem; font-size: 0.85rem; flex-shrink: 0; }
.about-list-item span { color: var(--text-muted); line-height: 1.6; }

/* =============================================
   PROCESS SECTION
   ============================================= */
.process-bg {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.process-bg::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; position: relative;
}
.process-grid::before {
    content: '';
    position: absolute; top: 2.2rem; left: 12.5%; right: 12.5%;
    height: 1px; background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.3;
}
.process-step { text-align: center; padding: 0 1rem; }
.process-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border: 2px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem;
    color: var(--primary); margin: 0 auto 1.25rem;
    position: relative; z-index: 1;
    box-shadow: 0 0 20px rgba(113,204,152,0.3);
}
.process-icon { font-size: 1.2rem; color: var(--primary); margin-bottom: 0.75rem; }
.process-title {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 1rem; color: var(--white); margin-bottom: 0.5rem;
}
.process-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(113,204,152,0.2); }
.testimonial-stars { color: var(--warning); font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-text {
    color: var(--text); font-size: 0.95rem; line-height: 1.8;
    margin-bottom: 1.5rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--dark);
    flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* =============================================
   BRANDS SECTION
   ============================================= */
.brands-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
    overflow: hidden;
}
.brands-track {
    display: flex; gap: 4rem; align-items: center;
    animation: brandScroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
@keyframes brandScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.brand-item {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 1.2rem; color: var(--dark-5);
    flex-shrink: 0; transition: var(--transition);
    display: flex; align-items: center; gap: 0.5rem;
    letter-spacing: 0.05em;
}
.brand-item:hover { color: var(--primary); }
.brand-item i { font-size: 1.5rem; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--dark-2) 50%, rgba(79,172,254,0.1) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    position: relative; overflow: hidden;
    margin: 4rem 0;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(113,204,152,0.1), transparent 70%);
}
.cta-banner h2 { margin-bottom: 1rem; position: relative; }
.cta-banner p { position: relative; font-size: 1.05rem; margin-bottom: 2rem; }
.cta-banner .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* =============================================
   SHOP PAGE
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    border-bottom: 1px solid var(--border);
    padding: 7rem 0 3rem;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(34,50,110,0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(79,172,254,0.1) 0%, transparent 50%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.5rem; }
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .current { color: var(--primary); }

/* Shop layout */
.shop-layout {
    display: grid; grid-template-columns: 260px 1fr;
    gap: 2rem; align-items: start;
}
.shop-sidebar { position: sticky; top: 80px; }
.sidebar-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem; margin-bottom: 1.5rem;
}
.sidebar-title {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 0.9rem; color: var(--white);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.sidebar-title i { color: var(--primary); }
.filter-list { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
    cursor: pointer; transition: var(--transition);
    font-size: 0.875rem;
}
.filter-item:hover { background: rgba(113,204,152,0.08); color: var(--primary); }
.filter-item.active { background: rgba(113,204,152,0.12); color: var(--primary); font-weight: 600; }
.filter-count {
    background: var(--dark-5); color: var(--text-muted);
    padding: 0.1rem 0.5rem; border-radius: var(--radius-full);
    font-size: 0.72rem;
}
.filter-item.active .filter-count { background: rgba(113,204,152,0.2); color: var(--primary); }

/* Price range */
.price-inputs {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.5rem; margin-top: 0.75rem;
}
.price-input-wrap { position: relative; }
.price-input-wrap input {
    width: 100%; background: var(--dark-4);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    color: var(--white); font-size: 0.85rem;
    transition: var(--transition);
}
.price-input-wrap input:focus { border-color: var(--primary); outline: none; }
.price-input-wrap .currency {
    position: absolute; left: 0.6rem; top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem; color: var(--text-muted);
}

/* Shop toolbar */
.shop-toolbar {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.5rem; flex-wrap: wrap;
}
.search-bar {
    flex: 1; min-width: 200px; position: relative;
}
.search-bar input {
    width: 100%; background: var(--dark-3);
    border: 1px solid var(--border); border-radius: var(--radius-full);
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    color: var(--white); font-size: 0.9rem;
    transition: var(--transition);
}
.search-bar input:focus { border-color: var(--primary); outline: none; }
.search-bar i {
    position: absolute; left: 1rem; top: 50%;
    transform: translateY(-50%); color: var(--text-muted);
}
.sort-select {
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-full); padding: 0.65rem 1rem;
    color: var(--text); font-size: 0.875rem; cursor: pointer;
    transition: var(--transition); min-width: 180px;
}
.sort-select:focus { border-color: var(--primary); outline: none; }
.results-count { font-size: 0.875rem; color: var(--text-muted); white-space: nowrap; }
.results-count strong { color: var(--primary); }

/* Pagination */
.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 0.5rem; margin-top: 3rem;
}
.page-btn {
    width: 40px; height: 40px; border-radius: var(--radius);
    background: var(--dark-3); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text); font-size: 0.875rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); text-decoration: none;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: var(--dark); border-color: var(--primary); }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start;
}
.product-gallery { position: sticky; top: 100px; }
.gallery-main {
    border-radius: var(--radius-xl); overflow: hidden;
    border: 1px solid var(--border);
    background: var(--dark-4);
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .no-image {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.75rem; color: var(--dark-5);
}
.gallery-main .no-image i { font-size: 5rem; }
.gallery-thumbs {
    display: flex; gap: 0.75rem;
}
.gallery-thumb {
    width: 70px; height: 70px; border-radius: var(--radius);
    overflow: hidden; border: 2px solid var(--border);
    cursor: pointer; transition: var(--transition);
    background: var(--dark-4);
    flex-shrink: 0;
}
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info .product-category-link {
    color: var(--primary); font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    display: block; margin-bottom: 0.75rem;
}
.product-info h1 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 1rem;
}
.product-badges-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.product-price-block { margin-bottom: 1.5rem; }
.product-price-block .price-main {
    font-family: var(--font-heading); font-size: 2.2rem;
    font-weight: 800; color: var(--primary);
}
.product-price-block .price-original {
    font-size: 1.1rem; color: var(--text-dim);
    text-decoration: line-through; margin-left: 0.5rem;
}
.product-price-block .price-vat { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.product-short-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.75rem; }
.product-qty-row {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.qty-control {
    display: flex; align-items: center;
    background: var(--dark-4); border: 1px solid var(--border);
    border-radius: var(--radius-full); overflow: hidden;
}
.qty-btn {
    width: 40px; height: 40px; background: none; border: none;
    color: var(--text); font-size: 1.2rem; cursor: pointer;
    transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { color: var(--primary); background: rgba(113,204,152,0.1); }
.qty-input {
    width: 50px; text-align: center; background: none; border: none;
    color: var(--white); font-size: 1rem; font-weight: 700;
    font-family: var(--font-heading);
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-add-actions { display: flex; gap: 0.75rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.product-add-actions .btn-add-cart { flex: 1; min-width: 200px; }

.product-info-list {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex; flex-direction: column; gap: 0.6rem;
}
.info-row {
    display: flex; gap: 1rem;
    font-size: 0.875rem;
}
.info-row .label { color: var(--text-muted); min-width: 140px; flex-shrink: 0; }
.info-row .value { color: var(--text); font-weight: 500; }
.info-row .value a { color: var(--primary); }

/* Product Tabs */
.product-tabs { margin-top: 4rem; }
.tab-nav {
    display: flex; gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}
.tab-btn {
    padding: 0.75rem 1.5rem; background: none; border: none;
    color: var(--text-muted); font-weight: 600; font-size: 0.9rem;
    cursor: pointer; transition: var(--transition);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    font-family: var(--font-heading);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 0.75rem 1rem; font-size: 0.9rem; }
.specs-table td:first-child { color: var(--text-muted); width: 40%; }
.specs-table td:last-child { color: var(--text); font-weight: 500; }
.specs-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* =============================================
   CART PAGE
   ============================================= */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    text-align: left; padding: 0.75rem 1rem;
    font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border);
}
.cart-table td { padding: 1.25rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 1rem; }
.cart-item-img {
    width: 70px; height: 70px; border-radius: var(--radius);
    overflow: hidden; background: var(--dark-4);
    border: 1px solid var(--border); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark-5);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.cart-item-name a { color: inherit; text-decoration: none; }
.cart-item-name a:hover { color: var(--primary); }
.cart-item-cat { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }
.cart-price { font-weight: 700; color: var(--primary); font-family: var(--font-heading); }
.cart-total-price { font-weight: 800; color: var(--white); font-family: var(--font-heading); font-size: 1.05rem; }
.remove-btn {
    background: none; border: none; color: var(--text-dim);
    cursor: pointer; font-size: 1rem; transition: var(--transition);
    width: 32px; height: 32px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}
.remove-btn:hover { color: var(--danger); background: rgba(239,68,68,0.1); }

.cart-summary-card {
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 2rem;
    position: sticky; top: 80px;
}
.cart-summary-card h3 { margin-bottom: 1.5rem; }
.summary-rows { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.summary-row {
    display: flex; justify-content: space-between;
    font-size: 0.9rem;
}
.summary-row .label { color: var(--text-muted); }
.summary-row .value { color: var(--text); font-weight: 600; }
.summary-divider { height: 1px; background: var(--border); margin: 0.75rem 0; }
.summary-total {
    display: flex; justify-content: space-between;
    align-items: center;
}
.summary-total .label {
    font-family: var(--font-heading); font-weight: 700; color: var(--white);
}
.summary-total .value {
    font-family: var(--font-heading); font-size: 1.5rem;
    font-weight: 800; color: var(--primary);
}
.cart-empty {
    text-align: center; padding: 5rem 2rem;
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.cart-empty i { font-size: 4rem; color: var(--dark-5); margin-bottom: 1rem; }
.cart-empty h3 { margin-bottom: 0.5rem; }

/* =============================================
   CHECKOUT PAGE
   ============================================= */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2rem; align-items: start; }
.checkout-form-card {
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 2.5rem;
}
.form-section { margin-bottom: 2.5rem; }
.form-section-title {
    font-family: var(--font-heading); font-weight: 700;
    font-size: 1.05rem; color: var(--white); margin-bottom: 1.5rem;
    padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 0.5rem;
}
.form-section-title i { color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-label .required { color: var(--danger); }
.form-input, .form-select, .form-textarea {
    width: 100%; background: var(--dark-4);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 0.75rem 1rem; color: var(--white); font-size: 0.9rem;
    transition: var(--transition); font-family: var(--font-body);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 3px rgba(113,204,152,0.1);
}
.form-input::placeholder { color: var(--text-dim); }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.35rem; }
.form-span2 { grid-column: span 2; }

/* Payment methods */
.payment-options { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-option {
    background: var(--dark-4); border: 2px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.25rem;
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; gap: 1rem;
}
.payment-option:hover { border-color: rgba(113,204,152,0.3); }
.payment-option.selected { border-color: var(--primary); background: rgba(113,204,152,0.05); }
.payment-option input[type=radio] { display: none; }
.payment-icon {
    width: 42px; height: 42px; border-radius: var(--radius);
    background: rgba(113,204,152,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--primary); flex-shrink: 0;
}
.payment-info .title { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.payment-info .desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }
.payment-check {
    margin-left: auto; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--border); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.payment-option.selected .payment-check {
    background: var(--primary); border-color: var(--primary); color: var(--dark);
}
.payment-option.selected .payment-check::after {
    content: '✓'; font-size: 0.7rem; font-weight: 800;
}

.order-summary-card {
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 2rem;
    position: sticky; top: 80px;
}
.order-items { margin-bottom: 1.5rem; }
.order-item {
    display: flex; gap: 0.75rem; align-items: center;
    padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.order-item:last-child { border-bottom: none; }
.order-item-img {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: var(--dark-4); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-name { font-size: 0.85rem; font-weight: 600; color: var(--text); flex: 1; }
.order-item-qty { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }
.order-item-price { font-weight: 700; color: var(--primary); font-size: 0.9rem; white-space: nowrap; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 3rem; align-items: start;
}
.contact-info-card {
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 2.5rem;
}
.contact-info-item {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 1.75rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.ci-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    background: rgba(113,204,152,0.1);
    border: 1px solid rgba(113,204,152,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--primary); flex-shrink: 0;
}
.ci-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 0.25rem; }
.ci-value { color: var(--text); font-weight: 500; }
.ci-value a { color: var(--text); }
.ci-value a:hover { color: var(--primary); }

.contact-form-card {
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 2.5rem;
}

/* =============================================
   THANK YOU PAGE
   ============================================= */
.thank-you-wrap {
    min-height: 70vh; display: flex; align-items: center; justify-content: center;
    padding: 5rem 0;
}
.thank-you-card {
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 4rem;
    text-align: center; max-width: 600px;
}
.ty-icon {
    width: 100px; height: 100px; border-radius: 50%;
    background: rgba(16,185,129,0.15);
    border: 3px solid var(--success);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--success); margin: 0 auto 2rem;
    animation: popIn 0.6s cubic-bezier(0.175,0.885,0.32,1.275) forwards;
}
@keyframes popIn {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--dark-2); border-top: 1px solid var(--border); }
.footer-top { padding: 4rem 0 2rem; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
}
.footer-logo {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none;
}
.footer-logo .logo-icon { flex-shrink: 0; }
.footer-brand .footer-desc {
    color: var(--text-muted); font-size: 0.875rem;
    line-height: 1.8; margin: 1.25rem 0;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: var(--dark-4); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 0.875rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--dark); border-color: var(--primary); }
.footer-col h4 {
    font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
    color: var(--white); text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; color: var(--text-muted);
    transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); transform: translateX(3px); }
.footer-col ul li a i { font-size: 0.7rem; color: var(--primary); }
.footer-contact-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.85rem;
}
.footer-contact-item i { color: var(--primary); margin-top: 0.15rem; font-size: 0.8rem; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a { color: var(--text-muted); }
.footer-contact-item a:hover { color: var(--primary); }
.footer-newsletter p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.newsletter-form {
    display: flex; gap: 0.5rem;
}
.newsletter-form input {
    flex: 1; background: var(--dark-4); border: 1px solid var(--border);
    border-radius: var(--radius-full); padding: 0.6rem 1rem;
    color: var(--white); font-size: 0.85rem; transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--primary); outline: none; }
.newsletter-form button {
    width: 38px; height: 38px; border-radius: var(--radius-full);
    background: var(--primary); border: none; color: var(--dark);
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.newsletter-form button:hover { background: var(--primary-dark); transform: scale(1.05); }

.footer-bottom {
    border-top: 1px solid var(--border); padding: 1.25rem 0;
}
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom strong { color: var(--text); }
.footer-payment {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 1.5rem; color: var(--text-muted);
}
.footer-payment span { font-size: 0.78rem; }
.footer-payment i:hover { color: var(--primary); }

/* Back to top */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 100;
    width: 44px; height: 44px; border-radius: var(--radius-full);
    background: var(--primary); color: var(--dark); border: none;
    cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-primary);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(113,204,152,0.5); }

/* Toast */
.toast-container { position: fixed; top: 5rem; right: 1.5rem; z-index: 9000; display: flex; flex-direction: column; gap: 0.5rem; }
.toast {
    background: var(--dark-3); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: 0.75rem;
    min-width: 300px; max-width: 400px;
    animation: slideInRight 0.3s ease forwards;
    box-shadow: var(--shadow-lg);
}
.toast.success { border-color: rgba(16,185,129,0.3); }
.toast.error { border-color: rgba(239,68,68,0.3); }
.toast.warning { border-color: rgba(245,158,11,0.3); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }
.toast.warning .toast-icon { color: var(--warning); }
.toast-msg { font-size: 0.875rem; color: var(--text); flex: 1; }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; padding: 0; }
.toast-close:hover { color: var(--text); }
@keyframes slideInRight { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast.fade-out { animation: slideOutRight 0.3s ease forwards; }
@keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100px); opacity: 0; } }

/* =============================================
   UTILITIES
   ============================================= */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white) !important; }
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.alert {
    padding: 1rem 1.25rem; border-radius: var(--radius);
    font-size: 0.9rem; display: flex; align-items: flex-start; gap: 0.75rem;
    margin-bottom: 1rem;
}
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.alert-info { background: rgba(79,172,254,0.1); border: 1px solid rgba(79,172,254,0.3); color: var(--accent); }

/* Animations */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(-30px)} to{opacity:1;transform:translateX(0)} }
@keyframes fadeInLeft { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .hero-stats { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .about-grid { gap: 3rem; }
}
@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary-card, .order-summary-card { position: static; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrap { display: none; }
}
@media (max-width: 768px) {
    .navbar-nav, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .form-span2 { grid-column: auto; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .cta-banner { padding: 2.5rem 1.5rem; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .checkout-layout .order-summary-card { order: -1; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2rem; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .process-grid { grid-template-columns: 1fr; }
    .cart-table thead { display: none; }
    .cart-table td { display: block; padding: 0.5rem 0; border: none; }
    .cart-table tr { border-bottom: 1px solid var(--border); padding: 1rem 0; display: block; }
}

/* --- Focus indicators (accessibility) --- */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.btn:focus-visible, .nav-link:focus-visible, a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.form-input:focus-visible, .form-select:focus-visible, .form-textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 0;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
    background: var(--dark-3); border-top: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
    font-size: 0.875rem; color: var(--text-muted);
    transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--primary); }
.cookie-banner .btn { white-space: nowrap; }

/* --- Print Styles --- */
@media print {
    *, *::before, *::after {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        border-color: #ccc !important;
    }
    body { font-size: 12pt; line-height: 1.5; }
    #navbar, .mobile-menu, .mobile-overlay, #preloader, .footer,
    .back-to-top, .toast-container, .cookie-banner, .page-hero,
    [data-aos] { display: block !important; }
    #navbar, .mobile-menu, .mobile-overlay, #preloader, .footer,
    .back-to-top, .toast-container, .cookie-banner { display: none !important; }
    a { text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666 !important; }
    a[href^="/"]::after { content: " (https://quanit.ro" attr(href) ")"; }
    a[href^="#"]::after, a[href^="javascript"]::after { content: ""; }
    .btn::after { content: "" !important; }
    .btn { border: 1px solid #ccc !important; padding: 0.25rem 0.5rem !important; text-decoration: none !important; }
    img { max-width: 100% !important; }
    .ty-icon { border: 2px solid #000 !important; }
    .ty-icon i { color: #000 !important; }
}
