/* ============================================
   FITVORA — Active Lifestyle Marketplace
   Global Stylesheet
   ============================================ */

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

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;
  --dark: #374151;
  --red: #DC2626;
  --red-hover: #B91C1C;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --lime: #84CC16;
  --light: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --font-main: 'Inter', sans-serif;
  --font-head: 'Manrope', sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--dark); line-height: 1.2; }

/* === LAYOUT === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }

/* === UTILITIES === */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-lime { color: var(--lime); }
.text-gray { color: var(--gray-500); }
.text-muted { color: var(--gray-400); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* === GRID === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 15px; transition: all var(--transition); white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(220,38,38,0.35); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,99,235,0.3); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--dark); background: var(--dark); color: #fff; }
.btn-outline-red { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-icon { padding: 10px; border-radius: 50%; }
.btn-full { width: 100%; }

/* === TOP BAR === */
.topbar { background: var(--dark); color: #fff; padding: 8px 0; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.topbar-left a:hover { color: #fff; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-right a { color: rgba(255,255,255,0.8); transition: color var(--transition); font-size: 13px; }
.topbar-right a:hover { color: var(--lime); }

/* === HEADER === */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
.header-main { padding: 16px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; background: var(--red); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 24px; height: 24px; fill: #fff; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--dark); letter-spacing: -0.5px; }
.logo-text span { color: var(--red); }
.header-search { flex: 1; max-width: 520px; position: relative; }
.header-search input { width: 100%; padding: 11px 50px 11px 18px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; background: var(--light); transition: border-color var(--transition); }
.header-search input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.header-search button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); transition: color var(--transition); }
.header-search button:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-action-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: var(--radius); transition: background var(--transition); color: var(--dark); position: relative; }
.header-action-btn:hover { background: var(--light); }
.header-action-btn svg { width: 22px; height: 22px; }
.header-action-btn span { font-size: 11px; font-weight: 500; color: var(--gray-500); }
.cart-badge { position: absolute; top: 4px; right: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* === NAV === */
.site-nav { border-top: 1px solid var(--gray-100); background: var(--white); }
.nav-inner { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 14px 18px; font-size: 14px; font-weight: 500; color: var(--dark); transition: color var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 240px; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition); z-index: 999; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 14px; color: var(--dark); transition: background var(--transition); }
.dropdown a:hover { background: var(--light); color: var(--red); }
.dropdown a svg { width: 16px; height: 16px; color: var(--gray-400); }
.nav-cta { margin-left: auto; }

/* === BREADCRUMB === */
.breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-500); flex-wrap: wrap; }
.breadcrumb-inner a { color: var(--gray-500); transition: color var(--transition); }
.breadcrumb-inner a:hover { color: var(--red); }
.breadcrumb-inner .sep { color: var(--gray-300); }
.breadcrumb-inner .current { color: var(--dark); font-weight: 500; }

/* === HERO === */
.hero { position: relative; overflow: hidden; min-height: 580px; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 60%, transparent 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-kicker { font-size: 13px; font-weight: 600; color: var(--lime); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-size: clamp(32px, 4vw, 54px); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.82); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* === SECTION TITLES === */
.section-title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.section-subtitle { font-size: 16px; color: var(--gray-500); margin-top: 10px; max-width: 600px; line-height: 1.7; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin: 10px auto 0; }
.title-line { display: inline-block; position: relative; }
.title-line::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 48px; height: 4px; background: var(--red); border-radius: 2px; }

/* === PRODUCT CARD === */
.product-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); position: relative; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gray-300); }
.product-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--light); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(10px); transition: all var(--transition); }
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-card-action { width: 36px; height: 36px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); color: var(--dark); transition: all var(--transition); }
.product-card-action:hover { background: var(--red); color: #fff; }
.product-card-action svg { width: 16px; height: 16px; }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-new { background: var(--lime); color: #fff; }
.badge-sale { background: var(--red); color: #fff; }
.badge-top { background: var(--blue); color: #fff; }
.product-card-body { padding: 18px; }
.product-brand { font-size: 12px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.product-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.product-name a:hover { color: var(--red); }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { display: flex; gap: 2px; }
.star { width: 14px; height: 14px; fill: #F59E0B; }
.star-empty { fill: var(--gray-200); }
.rating-count { font-size: 12px; color: var(--gray-400); }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.spec-tag { background: var(--light); color: var(--gray-600); font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 5px; border: 1px solid var(--gray-200); }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-group { display: flex; flex-direction: column; }
.price-old { font-size: 13px; color: var(--gray-400); text-decoration: line-through; }
.price-current { font-size: 22px; font-weight: 800; color: var(--red); font-family: var(--font-head); }
.price-currency { font-size: 14px; font-weight: 600; }
.btn-add-cart { background: var(--dark); color: #fff; border-radius: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; transition: all var(--transition); }
.btn-add-cart:hover { background: var(--red); }
.btn-add-cart svg { width: 16px; height: 16px; }

/* === CATEGORY CARDS === */
.cat-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: flex-end; transition: all var(--transition); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover .cat-card-img { transform: scale(1.06); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%); }
.cat-card-body { position: relative; z-index: 1; padding: 20px; width: 100%; }
.cat-card-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 4px; }
.cat-card-count { font-size: 13px; color: rgba(255,255,255,0.75); }
.cat-card-arrow { position: absolute; top: 16px; right: 16px; z-index: 1; width: 32px; height: 32px; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transform: scale(0.8); transition: all var(--transition); }
.cat-card:hover .cat-card-arrow { opacity: 1; transform: scale(1); }
.cat-card-arrow svg { width: 14px; height: 14px; }

/* === SIDEBAR === */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.sidebar { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 80px; }
.sidebar-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-100); }
.sidebar-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-title { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--dark); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.sidebar-list a { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--dark); transition: color var(--transition); border-bottom: 1px solid var(--gray-100); }
.sidebar-list a:last-child { border-bottom: none; }
.sidebar-list a:hover { color: var(--red); }
.sidebar-list .count { background: var(--light); color: var(--gray-500); font-size: 11px; padding: 2px 7px; border-radius: 10px; font-weight: 600; }
.sidebar-list a.active { color: var(--red); font-weight: 600; }
.filter-group { margin-bottom: 16px; }
.filter-label { font-size: 13px; color: var(--gray-600); margin-bottom: 6px; font-weight: 500; }
.price-range { display: flex; gap: 10px; align-items: center; }
.price-range input { width: 100%; padding: 8px 10px; border: 1px solid var(--gray-200); border-radius: 7px; font-size: 13px; }
.checkbox-list { display: flex; flex-direction: column; gap: 8px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; }
.checkbox-item label { font-size: 14px; color: var(--dark); cursor: pointer; }
.range-slider { width: 100%; accent-color: var(--red); }

/* === PRODUCT GRID HEADER === */
.grid-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); gap: 16px; }
.grid-header-left { display: flex; align-items: center; gap: 16px; }
.results-count { font-size: 14px; color: var(--gray-500); }
.results-count strong { color: var(--dark); }
.sort-select { padding: 9px 14px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 14px; color: var(--dark); background: var(--white); cursor: pointer; }
.sort-select:focus { outline: none; border-color: var(--blue); }
.view-toggle { display: flex; gap: 4px; }
.view-btn { width: 36px; height: 36px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); transition: all var(--transition); }
.view-btn.active, .view-btn:hover { background: var(--red); color: #fff; }
.view-btn svg { width: 16px; height: 16px; }

/* === PAGINATION === */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn { width: 42px; height: 42px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--dark); border: 1px solid var(--gray-200); transition: all var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.page-prev, .page-next { padding: 0 16px; width: auto; gap: 6px; }
.page-prev svg, .page-next svg { width: 14px; height: 14px; }

/* === COMPARISON BAR === */
.compare-bar { background: var(--dark); color: #fff; padding: 12px 0; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; transform: translateY(100%); transition: transform var(--transition); }
.compare-bar.active { transform: translateY(0); }
.compare-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.compare-items { display: flex; gap: 16px; }
.compare-slot { width: 80px; height: 60px; border: 2px dashed rgba(255,255,255,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255,255,255,0.4); overflow: hidden; }
.compare-slot img { width: 100%; height: 100%; object-fit: cover; }
.compare-actions { display: flex; gap: 12px; align-items: center; }

/* === SPEC TABLE === */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--gray-100); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 12px 16px; }
.spec-table td:first-child { font-weight: 600; color: var(--gray-600); width: 40%; background: var(--light); }
.spec-table td:last-child { color: var(--dark); }

/* === TABS === */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 32px; }
.tab-btn { padding: 14px 24px; font-size: 14px; font-weight: 600; color: var(--gray-500); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.tab-btn:hover { color: var(--dark); }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* === BLOG CARD === */
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 22px; }
.blog-cat { font-size: 11px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.blog-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--dark); line-height: 1.4; margin-bottom: 10px; }
.blog-title a:hover { color: var(--red); }
.blog-excerpt { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.blog-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--gray-400); }
.blog-meta svg { width: 14px; height: 14px; }

/* === STATS === */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; transition: all var(--transition); }
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-number { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--gray-500); }
.stat-icon { width: 48px; height: 48px; background: var(--light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.stat-icon svg { width: 24px; height: 24px; color: var(--red); }

/* === FEATURES === */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-kicker { font-size: 13px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.feature-title { font-size: clamp(24px, 2.5vw, 34px); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 16px; }
.feature-text { font-size: 16px; color: var(--gray-500); line-height: 1.75; margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--dark); }
.feature-item-icon { width: 22px; height: 22px; background: var(--lime); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.feature-item-icon svg { width: 12px; height: 12px; color: #fff; }

/* === TESTIMONIALS === */
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: var(--gray-600); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--light); overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 700; font-size: 14px; color: var(--dark); }
.author-location { font-size: 12px; color: var(--gray-400); }

/* === NEWSLETTER === */
.newsletter-section { background: var(--dark); padding: 64px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter-title { font-size: clamp(22px, 2.5vw, 32px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.newsletter-text { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-input { flex: 1; padding: 14px 18px; border-radius: var(--radius); border: none; font-size: 15px; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { outline: none; border-color: var(--lime); background: rgba(255,255,255,0.15); }
.newsletter-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 10px; }

/* === FOOTER === */
.site-footer { background: #111827; color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-text { color: #fff; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-top: 14px; margin-bottom: 22px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.social-btn:hover { background: var(--red); color: #fff; }
.social-btn svg { width: 18px; height: 18px; }
.footer-heading { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--lime); }
.footer-contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.55); }
.contact-item svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom-left { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom-right { display: flex; gap: 20px; }
.footer-bottom-right a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom-right a:hover { color: rgba(255,255,255,0.7); }
.footer-payments { display: flex; gap: 8px; align-items: center; }
.payment-icon { background: rgba(255,255,255,0.08); border-radius: 5px; padding: 5px 10px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }

/* === BANNER === */
.promo-banner { background: linear-gradient(135deg, var(--red) 0%, #991B1B 100%); padding: 18px 0; text-align: center; color: #fff; font-size: 14px; font-weight: 500; }
.promo-banner strong { font-weight: 700; }
.promo-banner a { color: rgba(255,255,255,0.85); text-decoration: underline; margin-left: 12px; }

/* === PRODUCT DETAIL === */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery { position: sticky; top: 90px; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: var(--light); margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb { width: 72px; height: 72px; border-radius: 9px; overflow: hidden; border: 2px solid var(--gray-200); cursor: pointer; transition: border-color var(--transition); flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-title { font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; color: var(--dark); margin-bottom: 12px; line-height: 1.3; }
.product-detail-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-detail-price { font-size: 38px; font-weight: 800; color: var(--red); font-family: var(--font-head); margin-bottom: 4px; }
.product-detail-price-old { font-size: 20px; color: var(--gray-400); text-decoration: line-through; font-family: var(--font-head); margin-bottom: 20px; }
.product-detail-desc { font-size: 15px; color: var(--gray-500); line-height: 1.8; margin-bottom: 28px; }
.product-availability { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #059669; background: #D1FAE5; padding: 6px 14px; border-radius: 20px; margin-bottom: 24px; }
.product-availability svg { width: 16px; height: 16px; }
.quantity-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-control { display: flex; align-items: center; gap: 0; border: 1px solid var(--gray-200); border-radius: 9px; overflow: hidden; }
.qty-btn { width: 42px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--light); color: var(--dark); font-size: 18px; transition: background var(--transition); }
.qty-btn:hover { background: var(--gray-200); }
.qty-input { width: 60px; height: 44px; text-align: center; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); font-size: 15px; font-weight: 600; }
.qty-input:focus { outline: none; }
.product-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-detail-actions .btn { flex: 1; }
.product-guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.guarantee-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-600); }
.guarantee-item svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* === COMPARISON TABLE === */
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th { background: var(--light); padding: 16px; font-weight: 700; font-size: 13px; text-align: left; border: 1px solid var(--gray-200); position: sticky; top: 60px; }
.compare-table th.product-col { text-align: center; min-width: 200px; }
.compare-table td { padding: 14px 16px; border: 1px solid var(--gray-200); vertical-align: middle; }
.compare-table td.spec-name { font-weight: 600; color: var(--gray-600); background: var(--light); white-space: nowrap; }
.compare-table td.product-val { text-align: center; }
.compare-table tr:nth-child(even) td { background: var(--light); }
.compare-check { color: #059669; font-size: 18px; }
.compare-cross { color: var(--red); font-size: 18px; }
.compare-product-card { text-align: center; padding: 16px; }
.compare-product-img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; margin: 0 auto 10px; }
.compare-product-name { font-weight: 700; font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.compare-product-price { font-size: 18px; font-weight: 800; color: var(--red); }

/* === CART === */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead th { padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--gray-200); }
.cart-table tbody td { padding: 20px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product-img { width: 80px; height: 80px; border-radius: 9px; overflow: hidden; flex-shrink: 0; background: var(--light); }
.cart-product-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-name { font-weight: 600; font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.cart-product-meta { font-size: 12px; color: var(--gray-400); }
.cart-remove { color: var(--gray-400); transition: color var(--transition); }
.cart-remove:hover { color: var(--red); }
.cart-summary { background: var(--light); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 90px; }
.summary-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--dark); margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px; color: var(--dark); }
.summary-row.total { font-weight: 800; font-size: 18px; border-bottom: none; margin-top: 4px; }
.summary-row.total .val { color: var(--red); }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-input { flex: 1; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 14px; }
.coupon-input:focus { outline: none; border-color: var(--blue); }

/* === ACCOUNT === */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.account-sidebar { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.account-user { padding: 24px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 14px; }
.account-avatar { width: 52px; height: 52px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #fff; flex-shrink: 0; }
.account-name { font-weight: 700; font-size: 15px; color: var(--dark); }
.account-email { font-size: 12px; color: var(--gray-400); }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 20px; font-size: 14px; color: var(--dark); transition: background var(--transition); border-bottom: 1px solid var(--gray-100); }
.account-nav a:last-child { border-bottom: none; }
.account-nav a:hover, .account-nav a.active { background: var(--light); color: var(--red); }
.account-nav a svg { width: 16px; height: 16px; }
.account-content { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; }
.account-heading { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--dark); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }

/* === FORMS === */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 15px; color: var(--dark); background: var(--white); transition: border-color var(--transition); }
.form-control:focus { outline: none; border-color: var(--blue); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 12px; color: var(--gray-400); margin-top: 6px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.form-check label { font-size: 14px; color: var(--dark); line-height: 1.5; }

/* === ALERTS === */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.success-message { display: none; background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; padding: 16px 20px; border-radius: var(--radius); font-size: 15px; font-weight: 500; margin-top: 16px; align-items: center; gap: 10px; }
.success-message.show { display: flex; }
.success-message svg { width: 22px; height: 22px; flex-shrink: 0; }

/* === PAGE HERO === */
.page-hero { background: var(--light); border-bottom: 1px solid var(--gray-200); padding: 48px 0; }
.page-hero-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.page-hero-desc { font-size: 16px; color: var(--gray-500); max-width: 600px; line-height: 1.7; }

/* === INFO BOXES === */
.info-box { background: var(--light); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; }
.info-box-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--dark); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info-box-title svg { width: 20px; height: 20px; color: var(--blue); }
.info-box p, .info-box ul li { font-size: 14px; color: var(--gray-500); line-height: 1.7; }
.info-box ul { padding-left: 18px; list-style: disc; margin-top: 10px; }
.info-box ul li { margin-bottom: 6px; }

/* === TAG CLOUD === */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--light); border: 1px solid var(--gray-200); color: var(--dark); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; transition: all var(--transition); }
.tag:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* === MOBILE MENU === */
.mobile-menu-btn { display: none; width: 42px; height: 42px; border-radius: 9px; background: var(--light); border: 1px solid var(--gray-200); align-items: center; justify-content: center; color: var(--dark); }
.mobile-menu-btn svg { width: 22px; height: 22px; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1099; }
.mobile-overlay.active { display: block; }
.mobile-menu { position: fixed; top: 0; left: -320px; width: 320px; height: 100vh; background: var(--white); z-index: 1100; overflow-y: auto; transition: left 0.3s ease; padding: 24px; }
.mobile-menu.active { left: 0; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-close { width: 38px; height: 38px; background: var(--light); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mobile-close svg { width: 20px; height: 20px; }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 15px; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--gray-100); }
.mobile-nav a:hover { color: var(--red); }
.mobile-nav a svg { width: 20px; height: 20px; color: var(--gray-400); }

/* === MISC === */
.divider { height: 1px; background: var(--gray-200); margin: 32px 0; }
.card-shadow { box-shadow: var(--shadow); }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-red { background: #FEE2E2; color: #991B1B; }
.badge-blue { background: #DBEAFE; color: #1E40AF; }

/* === BACK TO TOP === */
.back-top { position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all var(--transition); z-index: 800; }
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--red-hover); transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; }

/* === SEARCH PAGE === */
.search-hero { background: var(--dark); padding: 48px 0; }
.search-hero-form { display: flex; gap: 12px; max-width: 640px; margin: 0 auto; }
.search-hero-input { flex: 1; padding: 16px 20px; border-radius: var(--radius); border: none; font-size: 16px; }
.search-hero-input:focus { outline: none; }

/* === COOKIE BANNER === */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #111827; color: rgba(255,255,255,0.85); padding: 18px 24px; z-index: 9000; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 -4px 20px rgba(0,0,0,0.3); transform: translateY(0); transition: transform var(--transition); }
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-text { font-size: 14px; line-height: 1.6; flex: 1; }
.cookie-text a { color: var(--lime); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
