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

:root {
  --white: #FFFFFF;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #EFF6FF;
  --violet: #7C3AED;
  --violet-dark: #6D28D9;
  --violet-light: #F5F3FF;
  --graphite: #1F2937;
  --graphite-mid: #374151;
  --cool-gray: #94A3B8;
  --light-gray: #F8FAFC;
  --border: #E2E8F0;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #94A3B8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; line-height: 1.2; color: var(--graphite); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { line-height: 1.65; color: var(--text-secondary); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-top {
  background: var(--graphite);
  padding: 8px 0;
  font-size: 0.78rem;
  color: var(--cool-gray);
}
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top a { color: var(--cool-gray); }
.header-top a:hover { color: var(--white); }

.header-main { padding: 14px 0; }
.header-main .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--graphite);
  flex-shrink: 0;
}
.logo span { color: var(--blue); }
.logo svg { width: 32px; height: 32px; }

.search-bar {
  flex: 1;
  max-width: 520px;
  display: flex;
  background: var(--light-gray);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.search-bar input {
  flex: 1;
  padding: 10px 20px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.search-bar button {
  padding: 10px 20px;
  background: var(--blue);
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--blue-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.header-action-btn:hover { background: var(--light-gray); color: var(--blue); }
.header-action-btn svg { width: 22px; height: 22px; }
.badge {
  position: absolute;
  top: 4px; right: 6px;
  background: var(--violet);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.nav-main { border-top: 1px solid var(--border); }
.nav-main .container { display: flex; align-items: center; gap: 0; }
.nav-main a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.nav-main a.nav-promo {
  color: var(--violet);
  font-weight: 600;
}
.nav-main a.nav-promo:hover { color: var(--violet-dark); border-bottom-color: var(--violet); }

/* MOBILE MENU */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--graphite);
  color: #fff;
  padding: 64px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: var(--cool-gray); font-size: 0.875rem; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cool-gray);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-col h4 { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--cool-gray); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--cool-gray);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--cool-gray); }
.footer-bottom a:hover { color: #fff; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--text-light); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}
.btn-violet {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}
.btn-violet:hover {
  background: var(--violet-dark);
  border-color: var(--violet-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--light-gray);
  color: var(--text-primary);
  border-color: var(--text-secondary);
}
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--graphite);
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(31,41,55,0.96) 40%, rgba(37,99,235,0.18) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-content p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── CATEGORY STRIP ─── */
.cat-strip { padding: 36px 0; background: var(--light-gray); border-bottom: 1px solid var(--border); }
.cat-strip .container { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-strip .container::-webkit-scrollbar { display: none; }
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 110px;
  padding: 18px 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition);
  cursor: pointer;
}
.cat-card:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat-card svg { width: 28px; height: 28px; color: var(--blue); }

/* ─── PRODUCT CARD ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.3);
}
.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-gray);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image 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); }
.card-action-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.card-action-btn:hover { background: var(--blue); color: #fff; }
.card-action-btn svg { width: 16px; height: 16px; }
.product-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-brand { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); }
.product-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); line-height: 1.35; }
.product-specs { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; }
.stars { color: #F59E0B; letter-spacing: 1px; }
.rating-count { color: var(--text-light); }
.product-card-footer { padding: 12px 18px 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--graphite); }
.product-price span { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }
.price-old { font-size: 0.85rem; font-weight: 400; color: var(--text-light); text-decoration: line-through; margin-right: 6px; }

/* ─── LAYOUT WITH SIDEBAR ─── */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-section { padding: 20px; border-bottom: 1px solid var(--border); }
.sidebar-section:last-child { border-bottom: none; }
.sidebar-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: 14px; }
.filter-group { display: flex; flex-direction: column; gap: 10px; }
.filter-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; cursor: pointer; }
.filter-item input[type="checkbox"] { accent-color: var(--blue); width: 16px; height: 16px; }
.filter-count { margin-left: auto; font-size: 0.75rem; color: var(--text-light); background: var(--light-gray); padding: 2px 7px; border-radius: 20px; }
.price-range { display: flex; flex-direction: column; gap: 12px; }
.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}
.price-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-secondary); }
.sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition);
}
.sidebar-cat-link:hover, .sidebar-cat-link.active {
  background: var(--blue-light);
  color: var(--blue);
}

/* ─── SECTION HEADERS ─── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-header-right a { font-size: 0.875rem; color: var(--blue); font-weight: 600; }

/* ─── COMPARISON TABLE ─── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.comparison-table th {
  background: var(--graphite);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.comparison-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.comparison-table tr:nth-child(even) td { background: var(--light-gray); }
.comparison-table tr:hover td { background: var(--blue-light); }
.comparison-table .highlight { color: var(--blue); font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1.5px solid var(--border); }

/* ─── FEATURE BOX ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h4 { margin-bottom: 8px; color: var(--graphite); }
.feature-card p { font-size: 0.875rem; }

/* ─── EDITORIAL CARD ─── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.article-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.article-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--light-gray);
}
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-card-image img { transform: scale(1.05); }
.article-card-body { padding: 20px; }
.article-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  margin-bottom: 10px;
}
.article-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.article-card p { font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary); }
.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 0.8rem; color: var(--text-light); }
.article-meta span { display: flex; align-items: center; gap: 4px; }

/* ─── TRUST STRIP ─── */
.trust-strip {
  padding: 36px 0;
  background: var(--graphite);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}
.trust-icon {
  width: 48px; height: 48px;
  background: rgba(37,99,235,0.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.trust-icon svg { width: 22px; height: 22px; color: #60A5FA; }
.trust-item h5 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.trust-item p { font-size: 0.78rem; color: var(--cool-gray); }

/* ─── NEWSLETTER ─── */
.newsletter-section {
  background: var(--blue);
  padding: 64px 0;
  text-align: center;
}
.newsletter-section h2 { color: #fff; margin-bottom: 12px; }
.newsletter-section p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border: none;
  outline: none;
  font-size: 0.9rem;
}
.newsletter-form button {
  padding: 14px 28px;
  background: var(--graphite);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: #111827; }

/* ─── PRODUCT DETAIL ─── */
.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gallery-thumb {
  width: 72px; height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main {
  aspect-ratio: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-info .product-brand { font-size: 0.8rem; }
.product-info h1 { font-size: 1.8rem; }
.product-price-block { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.price-current { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--blue); }
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 40px;
  background: var(--light-gray);
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  width: 50px; height: 40px;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
}
.spec-list { display: flex; flex-direction: column; gap: 0; }
.spec-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-key { min-width: 160px; font-weight: 600; color: var(--text-primary); }
.spec-val { color: var(--text-secondary); }

/* ─── TABS ─── */
.tabs { border-bottom: 2px solid var(--border); display: flex; gap: 0; margin-bottom: 28px; }
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── CART ─── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-item-image {
  width: 100px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--light-gray);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.summary-row.total { font-weight: 800; font-size: 1.1rem; border-bottom: none; padding-top: 14px; }

/* ─── CHECKOUT FORM ─── */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.form-section {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.form-section h3 { margin-bottom: 20px; font-size: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.span-2 { grid-column: span 2; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.form-control {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  color: var(--text-primary);
  background: var(--white);
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ─── ALERT ─── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.alert-info { background: var(--blue-light); color: var(--blue-dark); border: 1px solid #BFDBFE; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.success-message { display: none; }
.success-message.visible { display: flex; }

/* ─── POLICY PAGES ─── */
.policy-layout { max-width: 820px; margin: 0 auto; }
.policy-layout h1 { margin-bottom: 8px; }
.policy-meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 36px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.policy-layout h2 { font-size: 1.3rem; margin: 32px 0 14px; }
.policy-layout h3 { font-size: 1.05rem; margin: 22px 0 10px; }
.policy-layout p { margin-bottom: 14px; line-height: 1.75; color: var(--text-secondary); }
.policy-layout ul { padding-left: 20px; margin-bottom: 14px; list-style: disc; }
.policy-layout ul li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 6px; }
.policy-layout table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.875rem; }
.policy-layout table th { background: var(--light-gray); padding: 10px 14px; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.policy-layout table td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text-secondary); }
.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}
.info-box p { color: var(--blue-dark); margin: 0; font-size: 0.875rem; }

/* ─── WISHLIST ─── */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--graphite);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: var(--cool-gray); max-width: 600px; }

/* ─── RATING STARS ─── */
.rating-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rating-bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--blue); border-radius: 3px; }
.review-card { padding: 20px; border: 1.5px solid var(--border); border-radius: var(--radius-md); margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}

/* ─── PAGINATION ─── */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 48px; }
.page-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.page-link:hover, .page-link.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ─── CHIPS / TAGS ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text-secondary);
}
.chip:hover, .chip.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ─── SORT BAR ─── */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.sort-bar select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  outline: none;
  background: var(--white);
  color: var(--text-primary);
  cursor: pointer;
}

/* ─── STAT CARDS ─── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-number { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--blue); }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); margin-top: 4px; }

/* ─── ABOUT / TEAM ─── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid var(--blue-light);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--blue); font-weight: 600; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-block { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-text h4 { margin-bottom: 4px; font-size: 0.9rem; }
.contact-info-text p, .contact-info-text a { font-size: 0.875rem; color: var(--text-secondary); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .header-main .container { flex-wrap: wrap; }
  .search-bar { order: 3; max-width: 100%; width: 100%; }
  .nav-main { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .hero { min-height: 60vh; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .articles-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; }
  .gallery-thumb { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ─── UTILITIES ─── */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-violet { color: var(--violet); }
.text-gray { color: var(--text-secondary); }
.bg-light { background: var(--light-gray); }
.bg-graphite { background: var(--graphite); }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rounded { border-radius: var(--radius-md); }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.w-full { width: 100%; }
.max-w-text { max-width: 680px; }
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.sticky-top { position: sticky; top: 90px; }

/* ─── BREADCRUMB ─── */
.breadcrumb-bar {
  background: var(--light-gray);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--cool-gray); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li[aria-current="page"] { color: var(--text-primary); font-weight: 500; }

/* ─── EDITORIAL ARTICLE ─── */
.editorial-article { padding: 48px 0 80px; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.article-header { margin-bottom: 32px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.article-category {
  background: var(--blue-light);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
  border-left: 4px solid var(--blue);
  padding-left: 18px;
}
.article-hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
}
.article-hero-image img { width: 100%; height: 420px; object-fit: cover; }
.article-hero-image figcaption { font-size: 0.78rem; color: var(--text-light); padding: 10px 0 0; }

.article-toc {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.article-toc h2 { font-size: 1rem; margin-bottom: 12px; }
.article-toc ol { padding-left: 20px; }
.article-toc li { font-size: 0.875rem; margin-bottom: 6px; }
.article-toc a { color: var(--blue); }

.article-main section { margin-bottom: 48px; }
.article-main h2 { margin-bottom: 18px; padding-top: 8px; }
.article-main p { margin-bottom: 14px; line-height: 1.75; }

.article-list { padding-left: 22px; list-style: disc; margin-bottom: 16px; }
.article-list li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 8px; }
.article-list li strong { color: var(--text-primary); }

.article-cta {
  background: var(--graphite);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-top: 48px;
}
.article-cta h3 { color: #fff; margin-bottom: 10px; }
.article-cta p { color: var(--cool-gray); margin-bottom: 20px; }

/* ─── INFO CARDS ─── */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.info-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.info-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.info-card h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--blue); }
.info-card p { font-size: 0.85rem; line-height: 1.65; margin: 0; }

/* ─── SPEC TABLE ─── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 24px;
  overflow-x: auto;
  display: block;
}
.spec-table caption {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  caption-side: top;
}
.spec-table th {
  background: var(--graphite);
  color: #fff;
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.spec-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.spec-table tbody tr:hover td { background: var(--light-gray); }
.spec-table td strong { color: var(--text-primary); }

/* ─── BUDGET TIERS ─── */
.budget-recommendations { display: flex; flex-direction: column; gap: 16px; }
.budget-tier {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.budget-tier:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.budget-tier-header { display: flex; flex-direction: column; gap: 4px; }
.budget-label {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}
.budget-tier h4 { font-size: 0.95rem; margin-top: 6px; }
.budget-tier p { font-size: 0.875rem; line-height: 1.65; margin: 0; }

/* ─── SIDEBAR (article) ─── */
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.sidebar-widget h4 { font-size: 0.9rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-product-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-product-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  color: inherit;
}
.sidebar-product-item:hover { background: var(--light-gray); }
.sidebar-product-item img { width: 56px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); background: var(--light-gray); }
.sidebar-product-name { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.sidebar-product-price { font-size: 0.8rem; color: var(--blue); font-weight: 700; margin-top: 2px; }
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links li a { font-size: 0.875rem; color: var(--text-secondary); padding: 4px 0; display: block; border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child a { border-bottom: none; }
.sidebar-links li a:hover { color: var(--blue); }
.sidebar-cats { display: flex; flex-wrap: wrap; gap: 8px; }

/* ─── GUIDES HUB ─── */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.guide-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.guide-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--light-gray); }
.guide-card-image img { width: 100%; height: 100%; object-fit: cover; }
.guide-card-body { padding: 22px; }
.guide-card-category { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 8px; }
.guide-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.guide-card-body p { font-size: 0.85rem; line-height: 1.65; }
.guide-card-footer { padding: 0 22px 20px; display: flex; align-items: center; justify-content: space-between; }
.guide-read-time { font-size: 0.78rem; color: var(--text-light); }

/* ─── RESPONSIVE ARTICLE ─── */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .budget-tier { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 768px) {
  .article-hero-image img { height: 260px; }
  .info-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .info-cards-grid { grid-template-columns: 1fr; }
}
