﻿/* ===== BILINEO STORE – DARK THEME ===== */
:root {
  --red: #c0392b;
  --red-dark: #922b21;
  --red-light: #e74c3c;
  --red-glow: rgba(192,57,43,0.3);
  --bg: #0a0d12;
  --bg-alt: #0d1017;
  --surface: rgba(16,21,30,0.9);
  --surface-2: rgba(22,28,40,0.85);
  --text: #e8eaf0;
  --text-muted: rgba(232,234,240,0.58);
  --text-faint: rgba(232,234,240,0.28);
  --border: rgba(255,255,255,0.07);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 20px rgba(0,0,0,0.5);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.65);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 8% 92%, rgba(192,57,43,0.055) 0%, transparent 60%),
    radial-gradient(ellipse 55% 35% at 92% 8%, rgba(15,25,55,0.13) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--text); }
.section-header p { font-size: 1.05rem; color: var(--text-muted); margin-top: 8px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; background: var(--red); color: white;
  padding: 12px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 2px solid var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 20px var(--red-glow); }

.btn-secondary {
  display: inline-block; background: transparent; color: var(--red);
  padding: 12px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  border: 2px solid rgba(192,57,43,0.5);
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--red); color: white; border-color: var(--red); }
.btn-large { padding: 15px 36px; font-size: 1rem; }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(10,13,18,0.96); border-bottom: 1px solid rgba(255,255,255,0.06); backdrop-filter: blur(20px); }
.header-top { background: rgba(192,57,43,0.1); color: rgba(255,255,255,0.7); text-align: center; padding: 7px; font-size: 0.78rem; letter-spacing: 0.03em; border-bottom: 1px solid rgba(192,57,43,0.15); }
.navbar { display: flex; align-items: center; gap: 20px; padding: 10px 24px; max-width: 1300px; margin: 0 auto; }

.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo-img { height: 56px; width: auto; object-fit: contain; display: block; }
.logo-text { display: flex; align-items: center; font-size: 1.8rem; font-weight: 900; }
.logo-text-footer { display: flex; align-items: center; font-size: 1.6rem; font-weight: 900; }
.logo-bil { color: #ffffff; }
.logo-ero { color: var(--red); }

.nav-search { flex: 1; display: flex; max-width: 480px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; overflow: hidden; transition: border-color 0.2s; background: rgba(255,255,255,0.04); }
.nav-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 2px var(--red-glow); }
.nav-search input { flex: 1; padding: 10px 18px; border: none; outline: none; font-size: 0.9rem; background: transparent; color: var(--text); }
.nav-search input::placeholder { color: var(--text-faint); }
.nav-search button { padding: 10px 16px; background: var(--red); color: white; transition: background 0.2s; }
.nav-search button:hover { background: var(--red-dark); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 8px 14px; font-weight: 500; font-size: 0.9rem; border-radius: 8px; transition: color 0.2s, background 0.2s; color: rgba(255,255,255,0.7); }
.nav-link:hover { color: var(--red-light); background: rgba(192,57,43,0.1); }

.cart-btn { position: relative; padding: 10px; border-radius: 10px; background: rgba(192,57,43,0.12); color: var(--red-light); transition: background 0.2s; }
.cart-btn:hover { background: var(--red); color: white; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--red); color: white; font-size: 0.65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.7); border-radius: 2px; transition: 0.3s; }

.mobile-menu { display: none; flex-direction: column; padding: 12px 24px; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(10,13,18,0.98); }
.mobile-menu a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
.mobile-menu.open { display: flex; }

/* ===== CART SIDEBAR ===== */
.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1100; }
.cart-overlay.open { display: block; }
.cart-sidebar {
  position: fixed; top: 0; right: -440px; width: 420px; max-width: 100vw;
  height: 100vh; background: rgba(10,13,18,0.98); z-index: 1200;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,0.7);
  border-left: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.cart-header h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.cart-close { font-size: 1.3rem; color: var(--text-muted); padding: 4px 8px; border-radius: 6px; }
.cart-close:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 0; text-align: center; color: var(--text-faint); }

.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: rgba(255,255,255,0.05); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.88rem; line-height: 1.3; margin-bottom: 4px; color: var(--text); }
.cart-item-price { color: var(--red-light); font-weight: 700; font-size: 0.9rem; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn { width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,0.07); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; color: var(--text); }
.qty-btn:hover { background: rgba(255,255,255,0.12); }
.cart-item-remove { color: var(--text-faint); font-size: 1.1rem; padding: 4px; }
.cart-item-remove:hover { color: var(--red-light); }

.cart-footer { padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.07); }
.cart-shipping h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.shipping-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; margin-bottom: 8px; cursor: pointer; transition: border-color 0.2s; }
.shipping-option:has(input:checked) { border-color: var(--red); background: rgba(192,57,43,0.1); }
.shipping-option input { accent-color: var(--red); }
.shipping-info { flex: 1; }
.shipping-info span { display: block; font-weight: 600; font-size: 0.85rem; color: var(--text); }
.shipping-time { color: var(--text-faint); font-size: 0.75rem; font-weight: 400 !important; }
.shipping-price { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.shipping-price.free { color: #2ecc71; }

.cart-totals { margin: 16px 0; }
.totals-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; color: var(--text-muted); }
.totals-row.total { font-size: 1rem; font-weight: 700; color: var(--text); border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; margin-top: 4px; }
.btn-checkout { display: block; background: var(--red); color: white; text-align: center; padding: 14px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; margin-bottom: 10px; transition: background 0.2s, box-shadow 0.2s; }
.btn-checkout:hover { background: var(--red-dark); box-shadow: 0 4px 16px var(--red-glow); }
.btn-clear { width: 100%; padding: 10px; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); color: var(--text-muted); font-size: 0.85rem; }
.btn-clear:hover { border-color: var(--red); color: var(--red-light); }

/* ===== HERO ===== */
.hero {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 520px; padding: 60px 5%;
  background: linear-gradient(135deg, #0a0d12 0%, #111620 50%, #1a0808 100%);
  color: white; overflow: hidden; position: relative; gap: 40px;
}
.hero::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(192,57,43,0.08) 0%, transparent 70%); }
.hero-content { flex: 1; max-width: 600px; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(192,57,43,0.2); border: 1px solid rgba(192,57,43,0.35); padding: 6px 16px; border-radius: 50px; font-size: 0.82rem; margin-bottom: 20px; color: rgba(255,255,255,0.8); }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.hero h1 .highlight { color: var(--red-light); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.65); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.5rem; font-weight: 800; color: white; }
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.hero-visual { flex-shrink: 0; width: 340px; opacity: 0.85; }
.hero-car-icon svg { width: 100%; filter: drop-shadow(0 10px 30px rgba(192,57,43,0.35)); }

/* ===== BRAND FINDER ===== */
.brand-finder-section { background: #08090d; padding: 80px 0; position: relative; overflow: hidden; }
.brand-finder-section::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(192,57,43,0.06) 0%, transparent 70%); pointer-events:none; }
.brand-finder-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.brand-finder-header { text-align: center; margin-bottom: 40px; }
.brand-finder-tag { display: inline-block; background: rgba(192,57,43,0.12); border: 1px solid rgba(192,57,43,0.25); color: var(--red-light); padding: 5px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 16px; }
.brand-finder-header h2 { font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 8px; }
.brand-finder-header p { color: rgba(255,255,255,0.45); font-size: 1rem; margin-bottom: 28px; }

.brand-search-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.brand-search-box { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.09); border-radius: 50px; padding: 12px 20px; width: 100%; max-width: 480px; transition: border-color 0.2s, box-shadow 0.2s; }
.brand-search-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.brand-search-icon { color: rgba(255,255,255,0.3); flex-shrink: 0; }
.brand-search-box input { flex: 1; background: none; border: none; outline: none; color: #fff; font-size: 1rem; font-family: inherit; }
.brand-search-box input::placeholder { color: rgba(255,255,255,0.25); }
.brand-search-clear { color: rgba(255,255,255,0.4); cursor: pointer; font-size: 1rem; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); flex-shrink: 0; }

.alpha-filter { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 8px; }
.alpha-btn { padding: 5px 11px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; color: rgba(255,255,255,0.45); font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.alpha-btn:hover { border-color: var(--red); color: var(--red-light); }
.alpha-btn.active { background: var(--red); border-color: var(--red); color: white; }

.brand-finder-car-bg { position: absolute; top: 40px; right: -40px; width: 340px; opacity: 0.4; pointer-events: none; }
.brand-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 36px; }
.brand-finder-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.brand-finder-card:hover { background: rgba(192,57,43,0.08); border-color: rgba(192,57,43,0.35); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(192,57,43,0.15); }
.bfc-car { width: 80px; height: 32px; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.brand-finder-card:hover .bfc-car { color: var(--red-light); }
.bfc-car svg { width: 100%; height: 100%; }
.bfc-name { font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.6); text-align: center; line-height: 1.2; transition: color 0.2s; }
.brand-finder-card:hover .bfc-name { color: #fff; }
.brand-finder-footer { text-align: center; }
.brand-finder-footer .btn-secondary { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); }
.brand-finder-footer .btn-secondary:hover { background: var(--red); border-color: var(--red); color: white; }

/* brand-grid (products page compat) */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.brand-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); transition: all 0.2s; }
.brand-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.brand-letter { width: 44px; height: 44px; background: linear-gradient(135deg, var(--red), var(--red-dark)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: white; }
.brand-name { font-weight: 600; font-size: 0.85rem; text-align: center; color: var(--text); }

/* ===== PRODUCT CARDS ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.25s; position: relative; backdrop-filter: blur(10px); }
.product-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.5); transform: translateY(-4px); border-color: rgba(192,57,43,0.3); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: white; padding: 4px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; z-index: 2; }
.product-img-wrap { aspect-ratio: 1; overflow: hidden; background: rgba(255,255,255,0.03); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-body { padding: 16px; }
.product-brand-tag { font-size: 0.72rem; color: var(--text-faint); font-weight: 500; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.product-name { font-weight: 700; font-size: 0.92rem; line-height: 1.35; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; margin-bottom: 12px; }
.stars { color: #f39c12; }
.review-count { color: var(--text-faint); }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.15rem; font-weight: 800; color: var(--red-light); }
.product-old-price { font-size: 0.8rem; color: var(--text-faint); text-decoration: line-through; margin-top: 2px; }
.add-to-cart-btn { background: var(--red); color: white; padding: 9px 16px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 6px; transition: background 0.2s, box-shadow 0.2s; }
.add-to-cart-btn:hover { background: var(--red-dark); box-shadow: 0 3px 12px var(--red-glow); }
.add-to-cart-btn.added { background: #27ae60; }

.loading-placeholder { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; width: 100%; }
.skeleton { height: 340px; background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.04) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-lg); }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.no-products { text-align: center; padding: 60px 20px; color: var(--text-faint); font-size: 1rem; }
.no-products a { color: var(--red-light); text-decoration: underline; }

/* ===== USPs ===== */
.usps { background: rgba(8,9,13,0.6); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.usp-item { text-align: center; padding: 32px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: border-color 0.2s, transform 0.2s; }
.usp-item:hover { border-color: rgba(192,57,43,0.25); transform: translateY(-2px); }
.usp-icon { font-size: 2.5rem; margin-bottom: 16px; }
.usp-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.usp-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ===== NEWSLETTER ===== */
.newsletter { background: linear-gradient(135deg, #0d0d0d, #120808); border-top: 1px solid rgba(192,57,43,0.1); border-bottom: 1px solid rgba(192,57,43,0.1); }
.newsletter-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-text h2 { font-size: 1.6rem; font-weight: 800; color: white; margin-bottom: 8px; }
.newsletter-text p { color: rgba(255,255,255,0.55); max-width: 420px; }
.newsletter-form { display: flex; gap: 0; border-radius: var(--radius); overflow: hidden; flex: 1; min-width: 280px; max-width: 440px; border: 1px solid rgba(255,255,255,0.08); }
.newsletter-form input { flex: 1; padding: 14px 18px; border: none; outline: none; font-size: 0.95rem; background: rgba(255,255,255,0.05); color: var(--text); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form .btn-primary { border-radius: 0; border: none; }

/* ===== FOOTER ===== */
.footer { background: rgba(5,7,10,0.98); color: rgba(255,255,255,0.7); padding: 60px 0 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-top: 16px; max-width: 260px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { font-size: 1.3rem; transition: transform 0.2s; opacity: 0.6; }
.social-links a:hover { transform: scale(1.2); opacity: 1; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: var(--red-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.payment-icons { display: flex; gap: 10px; font-size: 1.3rem; opacity: 0.5; }

/* ===== PRODUCTS PAGE ===== */
.page-hero { background: linear-gradient(135deg, #08090d, #12080a); padding: 50px 0; color: white; border-bottom: 1px solid rgba(192,57,43,0.15); }
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.5); }

.products-layout { display: flex; gap: 32px; align-items: flex-start; }
.filters-sidebar { width: 260px; flex-shrink: 0; position: sticky; top: 90px; }
.filter-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.filter-panel h3 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 14px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 0.88rem; color: var(--text-muted); }
.filter-option input { accent-color: var(--red); }
.filter-option:hover { color: var(--red-light); }
.price-range { width: 100%; accent-color: var(--red); }
.price-display { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-faint); margin-top: 8px; }

.products-main { flex: 1; }
.products-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.result-count { font-size: 0.9rem; color: var(--text-muted); }
.sort-select { padding: 9px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.88rem; outline: none; background: var(--surface); color: var(--text); }
.sort-select:focus { border-color: var(--red); }
.sort-select option { background: #0d1017; }

.brand-tabs-section { padding: 40px 0; }
.brand-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); overflow-x: auto; margin-bottom: 32px; }
.brand-tab { padding: 12px 20px; font-weight: 600; font-size: 0.88rem; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; transition: all 0.2s; color: var(--text-muted); background: none; border-left: none; border-right: none; border-top: none; font-family: inherit; }
.brand-tab:hover { color: var(--red-light); }
.brand-tab.active { color: var(--red-light); border-bottom-color: var(--red); }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0; }
.product-detail-imgs { position: relative; }
.product-detail-main-img { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.product-detail-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; color: var(--text); }
.product-detail-price { font-size: 2rem; font-weight: 900; color: var(--red-light); margin-bottom: 8px; }
.product-detail-old-price { font-size: 1rem; color: var(--text-faint); text-decoration: line-through; margin-bottom: 20px; }
.product-detail-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; font-size: 0.95rem; }
.product-detail-desc h2, .product-detail-desc h3 { color: var(--text); margin: 12px 0 6px; font-size: 1rem; }
.product-detail-desc ul, .product-detail-desc ol { padding-left: 18px; margin: 8px 0 12px; }
.product-detail-desc li { margin-bottom: 5px; }
.product-detail-desc strong { color: var(--text); font-weight: 700; }
.product-detail-desc p { margin-bottom: 10px; }

.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 50px; padding: 4px 12px; font-size: 0.78rem; font-weight: 500; color: var(--text-muted); }
.quantity-selector { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.quantity-selector label { font-weight: 600; color: var(--text-muted); font-size: 0.88rem; }
.qty-controls { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-controls button { padding: 10px 16px; font-size: 1.1rem; font-weight: 700; background: rgba(255,255,255,0.05); color: var(--text); }
.qty-controls button:hover { background: rgba(255,255,255,0.1); }
.qty-controls span { padding: 10px 20px; font-weight: 700; min-width: 50px; text-align: center; color: var(--text); }
.product-actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.product-actions .btn-primary { flex: 1; text-align: center; padding: 14px; font-size: 1rem; }
.wishlist-btn { padding: 14px 20px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-muted); font-size: 1.3rem; }
.wishlist-btn:hover { border-color: var(--red); color: var(--red-light); }
.product-meta { font-size: 0.82rem; color: var(--text-faint); }
.product-meta span { display: block; margin-bottom: 4px; }

.breadcrumb { padding: 16px 0; font-size: 0.85rem; color: var(--text-faint); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--red-light); }

.thumb-grid { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; background: rgba(255,255,255,0.04); }
.thumb.active, .thumb:hover { border-color: var(--red); }

/* Variant selectors */
.variant-selector { margin-bottom: 20px; }
.variant-selector-label { font-weight: 700; font-size: 0.88rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.selected-variant-name { font-weight: 400; color: var(--red-light); font-size: 0.85rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn-color { width: 36px; height: 36px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; transition: all 0.2s; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.variant-btn-color:hover { transform: scale(1.12); }
.variant-btn-color.selected { border-color: var(--red); box-shadow: 0 0 0 2px rgba(10,13,18,1), 0 0 0 4px var(--red); }
.variant-btn-text { padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: inherit; color: var(--text); }
.variant-btn-text:hover { border-color: var(--red); color: var(--red-light); }
.variant-btn-text.selected { border-color: var(--red); background: rgba(192,57,43,0.15); color: var(--red-light); }
.variant-price-diff { font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 50px; background: rgba(192,57,43,0.15); color: var(--red-light); margin-left: 4px; }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 60px 0; }
.checkout-form-section h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.92rem; outline: none; transition: border-color 0.2s; background: var(--surface); color: var(--text); }
.form-group input:focus, .form-group select:focus { border-color: var(--red); box-shadow: 0 0 0 2px var(--red-glow); }
.form-group select option { background: #0d1017; }
.checkout-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px; }
.checkout-summary h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.summary-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.summary-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: rgba(255,255,255,0.04); }
.summary-item-info { flex: 1; }
.summary-item-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.summary-item-qty { font-size: 0.78rem; color: var(--text-faint); }
.summary-item-price { font-weight: 700; font-size: 0.9rem; color: var(--red-light); }
.place-order-btn { display: block; width: 100%; background: var(--red); color: white; padding: 16px; border-radius: var(--radius); font-size: 1rem; font-weight: 700; text-align: center; margin-top: 20px; transition: background 0.2s, box-shadow 0.2s; border: none; cursor: pointer; font-family: inherit; }
.place-order-btn:hover { background: var(--red-dark); box-shadow: 0 4px 20px var(--red-glow); }
.admin-card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; border: 1px solid var(--border); }
.admin-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.payment-method { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.payment-opt { flex: 1; min-width: 100px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; cursor: pointer; font-size: 0.88rem; font-weight: 600; transition: all 0.2s; color: var(--text); background: var(--surface); }
.payment-opt.selected { border-color: var(--red); background: rgba(192,57,43,0.1); color: var(--red-light); }
.step-bar { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-faint); }
.step.active { color: var(--red-light); }
.step.done { color: #2ecc71; }
.step-num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; }
.step-divider { flex: 1; height: 1px; background: var(--border); margin: 0 12px; }

/* ===== ABOUT PAGE ===== */
.about-hero { background: linear-gradient(135deg, #08090d, #12080a); padding: 80px 0; text-align: center; color: white; border-bottom: 1px solid rgba(192,57,43,0.12); }
.about-hero h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 16px; }
.about-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.55); max-width: 600px; margin: 0 auto; }
.about-section { padding: 80px 0; }
.about-section:nth-child(even) { background: rgba(8,9,13,0.5); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }
.about-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-img { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.value-card { text-align: center; padding: 32px 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: border-color 0.2s, transform 0.2s; }
.value-card:hover { border-color: rgba(192,57,43,0.25); transform: translateY(-2px); }
.value-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.value-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== ORDER CONFIRM ===== */
.confirm-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.confirm-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 60px 48px; text-align: center; box-shadow: var(--shadow-hover); max-width: 560px; width: 100%; }
.confirm-icon { font-size: 5rem; margin-bottom: 24px; }
.confirm-box h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.confirm-box p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 8px; }
.order-num { background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 24px 0; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.confirm-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ===== TOAST ===== */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: rgba(15,18,25,0.97); color: var(--text); padding: 14px 20px; border-radius: 10px; font-size: 0.9rem; font-weight: 500; box-shadow: 0 4px 24px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 10px; animation: slideIn 0.3s ease; min-width: 240px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); }
.toast.success { border-left: 3px solid #27ae60; }
.toast.error { border-left: 3px solid var(--red); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== MODAL ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; width: 90%; max-width: 560px; max-height: 90vh; overflow-y: auto; position: relative; backdrop-filter: blur(20px); }
.modal-close { position: absolute; top: 16px; right: 16px; font-size: 1.3rem; color: var(--text-muted); padding: 4px 8px; border-radius: 6px; }
.modal-close:hover { background: rgba(255,255,255,0.06); }
.modal h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }

/* ===== PRODUKTKÖ CSS ===== */
.queue-item { transition: box-shadow 0.2s, transform 0.15s; }
.queue-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }

/* ===== RICH TEXT EDITOR ===== */
.rich-editor-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.rich-editor-wrap:focus-within { border-color: var(--red); }
.rich-toolbar { display: flex; align-items: center; gap: 2px; padding: 8px 10px; background: rgba(0,0,0,0.2); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.rich-toolbar-group { display: flex; gap: 2px; }
.rich-toolbar-sep { width: 1px; background: var(--border); margin: 0 6px; height: 20px; align-self: center; }
.rtb { padding: 5px 9px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 6px; font-size: 0.78rem; font-weight: 600; cursor: pointer; color: var(--text-muted); transition: all 0.15s; font-family: inherit; }
.rtb:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.rtb-ai { background: linear-gradient(135deg, rgba(192,57,43,0.25), rgba(142,68,173,0.25)); color: var(--red-light); border-color: rgba(192,57,43,0.3); }
.rtb-ai:hover { background: linear-gradient(135deg, var(--red), #8e44ad); color: white; }
.rich-editor-content { min-height: 160px; max-height: 400px; overflow-y: auto; padding: 14px 16px; outline: none; font-size: 0.92rem; line-height: 1.7; color: var(--text); background: rgba(0,0,0,0.15); }
.rich-editor-content:empty::before { content: attr(data-placeholder); color: var(--text-faint); pointer-events: none; }
.rich-editor-content h2, .rich-editor-content h3 { color: var(--text); margin: 10px 0 4px; }
.rich-editor-content ul, .rich-editor-content ol { padding-left: 20px; margin: 8px 0; }
.rich-editor-content li { margin-bottom: 4px; }
.rich-editor-content p { margin: 0 0 8px; }
.ai-inline-popup { background: rgba(8,6,15,0.97); border-bottom: 1px solid var(--border); border-top: 2px solid rgba(142,68,173,0.4); animation: slideDown 0.2s ease; }
@keyframes slideDown { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.ai-inline-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 6px; font-weight: 700; font-size: 0.85rem; color: #c39bd3; }
.ai-inline-quick { display: flex; gap: 6px; padding: 4px 12px 8px; flex-wrap: wrap; }
.ai-inline-quick-btn { padding: 5px 11px; background: rgba(142,68,173,0.1); border: 1px solid rgba(142,68,173,0.2); border-radius: 50px; font-size: 0.74rem; font-weight: 600; cursor: pointer; color: #c39bd3; transition: all 0.15s; font-family: inherit; }
.ai-inline-quick-btn:hover { background: rgba(142,68,173,0.25); color: white; }

/* ===== VARIANT SELECTORS ADMIN ===== */
.variant-row, .a-variant-row { display: grid; grid-template-columns: 36px 1fr 110px 1fr auto auto; gap: 10px; align-items: center; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.variant-color-swatch, .a-color-swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; }
.variant-remove-btn { width: 28px; height: 28px; border-radius: 50%; background: rgba(192,57,43,0.12); color: var(--red-light); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(192,57,43,0.2); cursor: pointer; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 40px 5%; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .nav-link { display: none; }
  .menu-toggle { display: flex; }
  .products-layout { flex-direction: column; }
  .filters-sidebar { width: 100%; position: static; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-box { flex-direction: column; text-align: center; }
  .newsletter-form { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-search { display: none; }
  .brand-finder-car-bg { display: none; }
  .brand-finder-header h2 { font-size: 1.6rem; }
  .brand-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid.reverse { direction: ltr; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 48px 0; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== LANDING PAGE RESPONSIVE ===== */
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .lp-hero-visual { display: none; }
  .lp-hero h1 { font-size: 2.2rem; }
  .lp-stats-row { gap: 20px; }
}

/* ===== INFO PAGES ===== */
.info-hero { padding: 60px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.info-hero h1 { font-size: 2rem; font-weight: 900; color: var(--text); margin-bottom: 8px; }
.info-hero p { color: var(--text-muted); font-size: 1rem; }
.info-breadcrumb { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 20px; }
.info-breadcrumb a { color: var(--text-muted); }
.info-breadcrumb a:hover { color: var(--red-light); }

.info-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 48px 0 80px; align-items: start; }
.info-sidebar { position: sticky; top: 90px; }
.info-nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.info-nav-link { display: block; padding: 12px 20px; font-size: 0.88rem; font-weight: 500; color: var(--text-muted); border-left: 2px solid transparent; transition: all 0.15s; text-decoration: none; }
.info-nav-link:hover { color: var(--text); background: rgba(255,255,255,0.03); border-left-color: rgba(192,57,43,0.3); }
.info-nav-link.active { color: var(--red-light); background: rgba(192,57,43,0.07); border-left-color: var(--red); }
.info-nav-sep { height: 1px; background: var(--border); }

.info-content { max-width: 720px; }
.info-content h2 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.info-content h2:first-child { margin-top: 0; }
.info-content h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.info-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; font-size: 0.95rem; }
.info-content ul, .info-content ol { padding-left: 20px; margin-bottom: 14px; }
.info-content li { color: var(--text-muted); line-height: 1.8; margin-bottom: 6px; font-size: 0.95rem; }
.info-content strong { color: var(--text); font-weight: 700; }
.info-content a { color: var(--red-light); text-decoration: underline; }
.info-content .highlight-box { background: rgba(192,57,43,0.07); border: 1px solid rgba(192,57,43,0.15); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.info-content .highlight-box p { margin: 0; color: rgba(255,255,255,0.7); }
.info-last-updated { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 32px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; padding: 18px 0; font-size: 0.95rem; font-weight: 600; color: var(--text); background: none; border: none; cursor: pointer; font-family: inherit; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-question:hover { color: var(--red-light); }
.faq-question .faq-icon { font-size: 1.2rem; color: var(--text-faint); transition: transform 0.2s; flex-shrink: 0; }
.faq-question.open .faq-icon { transform: rotate(45deg); color: var(--red-light); }
.faq-answer { display: none; padding: 0 0 18px; color: var(--text-muted); line-height: 1.8; font-size: 0.92rem; }
.faq-answer.open { display: block; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 60px 0 80px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-form-wrap h2 { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.contact-info-wrap { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.contact-info-card h3 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.contact-info-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.contact-info-card a { color: var(--red-light); }

@media (max-width: 768px) {
  .info-layout { grid-template-columns: 1fr; }
  .info-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
