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

:root {
  --white: #FFFFFF;
  --dark: #27272A;
  --blue: #2563EB;
  --violet: #8B5CF6;
  --silver: #D4D4D8;
  --light: #F8FAFC;
  --border: #E4E4E7;
  --text-muted: #71717A;
  --text-body: #3F3F46;
  --success: #16A34A;
  --warning: #D97706;
  --danger: #DC2626;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* ─── TOPBAR ─── */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 18px; align-items: center; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar a { color: rgba(255,255,255,0.75); font-size: 12.5px; }
.topbar a:hover { color: var(--white); }
.topbar-ico { width: 14px; height: 14px; margin-right: 5px; vertical-align: middle; }

/* ─── HEADER ─── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 22px; height: 22px; fill: white; }
.logo-text { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.logo-text span { color: var(--blue); }

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 10px 50px 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  color: var(--dark);
  background: var(--light);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.header-search input::placeholder { color: var(--text-muted); }
.search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: var(--blue); border: none; border-radius: 50px;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.search-btn:hover { background: var(--violet); }
.search-btn svg { width: 16px; height: 16px; stroke: white; fill: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none; color: var(--text-muted);
  font-size: 11px; padding: 6px 10px; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.header-action-btn:hover { color: var(--blue); background: var(--light); }
.header-action-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.cart-badge {
  position: absolute; top: 2px; right: 6px;
  background: var(--blue); color: white;
  font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ─── NAVIGATION ─── */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-item {
  position: relative;
}
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 13px 16px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; flex-shrink: 0; }

.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 800;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 18px; font-size: 13.5px; color: var(--text-body);
}
.dropdown a:hover { background: var(--light); color: var(--blue); }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(39,39,42,0.92) 0%, rgba(37,99,235,0.35) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero-title em { color: var(--blue); font-style: normal; }
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white;
  padding: 13px 28px; border-radius: 50px;
  font-size: 14.5px; font-weight: 600;
  border: none; transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.btn-primary:hover { background: #1D4ED8; color: white; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(37,99,235,0.45); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); color: white;
  padding: 13px 28px; border-radius: 50px;
  font-size: 14.5px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all 0.2s; backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); color: white; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--blue);
  padding: 11px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--blue);
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--blue); color: white; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-body);
  padding: 10px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  border: none; transition: all 0.2s;
}
.btn-ghost:hover { color: var(--blue); background: var(--light); }
.btn svg { width: 16px; height: 16px; }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-weight: 500; }

/* ─── SECTION TITLES ─── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-header { margin-bottom: 44px; }
.section-eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; color: var(--dark);
  line-height: 1.15; letter-spacing: -0.5px;
}
.section-title em { color: var(--blue); font-style: normal; }
.section-subtitle {
  font-size: 15px; color: var(--text-muted);
  margin-top: 10px; max-width: 560px;
  line-height: 1.65;
}
.section-header-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
}

/* ─── CATEGORY GRID ─── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.3s;
}
.category-card:hover { transform: translateY(-4px); }
.category-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.category-card:hover img { transform: scale(1.05); }
.category-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(39,39,42,0.82) 0%, rgba(39,39,42,0.15) 60%);
}
.category-info {
  position: relative; z-index: 2;
  padding: 16px 18px;
}
.category-name {
  font-size: 14.5px; font-weight: 700;
  color: white; line-height: 1.3;
}
.category-count { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }

/* ─── PRODUCT CARD ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light);
}
.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-quick-actions {
  position: absolute; top: 10px; right: 10px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(8px);
  transition: all 0.25s;
}
.product-card:hover .product-quick-actions { opacity: 1; transform: translateX(0); }
.qa-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.qa-btn:hover { background: var(--blue); border-color: var(--blue); }
.qa-btn:hover svg { stroke: white; }
.qa-btn svg { width: 15px; height: 15px; stroke: var(--dark); fill: none; }
.product-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--blue); color: white;
  font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 50px;
}
.product-tag.sale { background: var(--danger); }
.product-tag.new { background: var(--success); }
.product-body { padding: 14px 16px 16px; }
.product-brand { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.product-name { font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.35; margin-bottom: 8px; }
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--blue); }
.product-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.stars { display: flex; gap: 1px; }
.star { width: 13px; height: 13px; fill: #FBBF24; color: #FBBF24; }
.star.half { fill: none; stroke: #FBBF24; }
.rating-count { font-size: 11.5px; color: var(--text-muted); }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product-price { font-size: 17px; font-weight: 700; color: var(--blue); }
.product-old-price { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.product-add-btn {
  background: var(--blue); color: white;
  border: none; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600;
  padding: 7px 14px;
  transition: all 0.2s;
}
.product-add-btn:hover { background: var(--violet); }

/* ─── PROMO BANNER ─── */
.promo-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.promo-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.promo-content { position: relative; z-index: 1; flex: 1; }
.promo-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.promo-title { font-family: 'Syne', sans-serif; font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.5px; }
.promo-title em { color: #60A5FA; font-style: normal; }
.promo-desc { font-size: 14.5px; color: rgba(255,255,255,0.65); max-width: 440px; line-height: 1.65; margin-bottom: 26px; }
.promo-img { position: relative; z-index: 1; flex-shrink: 0; width: 280px; }
.promo-img img { width: 100%; border-radius: var(--radius); }

/* ─── FEATURES STRIP ─── */
.features-strip {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 28px;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(139,92,246,0.12));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; }
.feature-title { font-size: 13.5px; font-weight: 600; color: var(--dark); }
.feature-desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

/* ─── SIDEBAR LAYOUT ─── */
.layout-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.sidebar { position: sticky; top: 100px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-widget-head {
  padding: 14px 18px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700;
  color: var(--dark); text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-widget-body { padding: 14px 18px; }
.filter-group { margin-bottom: 16px; }
.filter-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.filter-options { display: flex; flex-direction: column; gap: 6px; }
.filter-option { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.filter-option input { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.filter-option label { font-size: 13.5px; color: var(--text-body); cursor: pointer; }
.filter-option .count { margin-left: auto; font-size: 11px; color: var(--text-muted); background: var(--light); padding: 1px 7px; border-radius: 50px; }
.price-range-inputs { display: flex; gap: 8px; margin-top: 10px; }
.price-range-inputs input {
  flex: 1; padding: 7px 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--dark);
}
.price-range-inputs input:focus { outline: none; border-color: var(--blue); }

/* ─── BREADCRUMB ─── */
.breadcrumb-bar {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb-item { font-size: 13px; color: var(--text-muted); }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--blue); }
.breadcrumb-item.active { color: var(--dark); font-weight: 500; }
.breadcrumb-sep { color: var(--silver); font-size: 11px; }

/* ─── PAGINATION ─── */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-body);
  background: var(--white); text-decoration: none;
  transition: all 0.2s;
}
.page-btn:hover, .page-btn.active { background: var(--blue); border-color: var(--blue); color: white; }

/* ─── PRODUCT DETAIL ─── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-gallery {}
.product-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light);
  margin-bottom: 12px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-thumb {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 1; border: 2px solid transparent; cursor: pointer;
  transition: border-color 0.2s;
}
.gallery-thumb.active { border-color: var(--blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info {}
.product-info-brand { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.product-info-name { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 14px; }
.product-info-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.product-info-price { margin-bottom: 20px; }
.product-info-price .current { font-size: 28px; font-weight: 800; color: var(--blue); }
.product-info-price .old { font-size: 16px; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.product-info-price .save { font-size: 13px; font-weight: 600; color: var(--success); margin-left: 8px; }
.product-stock { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; font-size: 13.5px; font-weight: 500; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.product-options-label { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.product-colors { display: flex; gap: 8px; margin-bottom: 18px; }
.color-opt {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color 0.2s;
}
.color-opt.active, .color-opt:hover { border-color: var(--blue); }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qty-ctrl {
  display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.qty-ctrl button {
  width: 36px; height: 36px; background: var(--light); border: none;
  font-size: 18px; color: var(--dark); transition: background 0.2s;
}
.qty-ctrl button:hover { background: var(--silver); }
.qty-ctrl span { width: 44px; text-align: center; font-size: 15px; font-weight: 600; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-add-cart {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--blue); color: white;
  padding: 14px 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; border: none;
  transition: all 0.2s;
}
.btn-add-cart:hover { background: #1D4ED8; }
.btn-wish {
  width: 48px; height: 48px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.btn-wish:hover { border-color: var(--danger); }
.btn-wish svg { width: 20px; height: 20px; stroke: var(--text-muted); fill: none; }
.product-meta { border-top: 1px solid var(--border); padding-top: 18px; }
.product-meta-row { display: flex; gap: 8px; font-size: 13px; margin-bottom: 7px; }
.product-meta-key { color: var(--text-muted); min-width: 100px; }
.product-meta-val { color: var(--dark); font-weight: 500; }

/* ─── TABS ─── */
.tabs { border-bottom: 1px solid var(--border); display: flex; gap: 0; overflow-x: auto; }
.tab-btn {
  padding: 14px 22px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all 0.2s; white-space: nowrap;
}
.tab-btn.active, .tab-btn:hover { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { padding: 30px 0; display: none; }
.tab-panel.active { display: block; }

/* ─── SPECS TABLE ─── */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  background: var(--light); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted);
  padding: 10px 16px; text-align: left;
}
.specs-table td { padding: 12px 16px; font-size: 13.5px; }
.specs-table td:first-child { color: var(--text-muted); width: 38%; }
.specs-table td:last-child { color: var(--dark); font-weight: 500; }

/* ─── COMPARE TABLE ─── */
.compare-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare-table th { background: var(--dark); color: white; padding: 14px 18px; font-size: 13px; text-align: left; }
.compare-table td { padding: 12px 18px; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.compare-table tr:nth-child(even) td { background: var(--light); }
.compare-table td:first-child { font-weight: 600; color: var(--text-muted); min-width: 180px; }
.compare-check { color: var(--success); font-size: 16px; }
.compare-cross { color: var(--danger); font-size: 16px; }

/* ─── REVIEW CARD ─── */
.review-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white;
}
.reviewer-name { font-size: 14px; font-weight: 600; color: var(--dark); }
.reviewer-date { font-size: 12px; color: var(--text-muted); }
.review-text { font-size: 14px; color: var(--text-body); line-height: 1.65; }

/* ─── BLOG / ARTICLE ─── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-img { aspect-ratio: 16/9; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-img img { transform: scale(1.04); }
.article-body { padding: 20px; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; }
.article-tag { background: rgba(37,99,235,0.08); color: var(--blue); padding: 2px 9px; border-radius: 50px; font-weight: 600; font-size: 11px; }
.article-title { font-size: 15.5px; font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: 10px; }
.article-title a { color: inherit; }
.article-title a:hover { color: var(--blue); }
.article-excerpt { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.article-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.read-more { font-size: 13px; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 4px; }
.read-more:hover { color: var(--violet); }

/* ─── NEWSLETTER ─── */
.newsletter-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  padding: 64px 0;
}
.newsletter-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.newsletter-title { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: white; margin-bottom: 12px; }
.newsletter-sub { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 0; border-radius: 50px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.newsletter-form input {
  flex: 1; padding: 14px 22px; font-size: 14.5px;
  border: none; outline: none; color: var(--dark); background: white;
}
.newsletter-form button {
  background: var(--dark); color: white;
  padding: 14px 26px; border: none;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.newsletter-form button:hover { background: #18181B; }
.newsletter-privacy { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 14px; }
.newsletter-privacy a { color: rgba(255,255,255,0.75); }

/* ─── BRANDS STRIP ─── */
.brands-strip { padding: 44px 0; border-bottom: 1px solid var(--border); }
.brands-grid { display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.brand-item { display: flex; align-items: center; gap: 10px; opacity: 0.45; transition: opacity 0.2s; cursor: pointer; }
.brand-item:hover { opacity: 1; }
.brand-item-name { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-mark svg { width: 20px; height: 20px; fill: white; }
.footer-logo-text { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: white; }
.footer-logo-text span { color: #60A5FA; }
.footer-tagline { font-size: 13.5px; line-height: 1.65; max-width: 280px; margin-bottom: 22px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; margin-bottom: 9px; }
.footer-contact-item svg { width: 15px; height: 15px; stroke: rgba(255,255,255,0.5); fill: none; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: white; }
.footer-col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: white; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: white; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.social-link:hover { background: var(--blue); border-color: var(--blue); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }
.social-link:hover svg { fill: white; }

/* ─── CART ─── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--light); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.cart-product-name { font-size: 14px; font-weight: 600; color: var(--dark); }
.cart-product-meta { font-size: 12px; color: var(--text-muted); }
.cart-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 18px; transition: color 0.2s; }
.cart-remove:hover { color: var(--danger); }
.order-summary {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.order-summary-title { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.summary-row:last-child { border-bottom: none; }
.summary-total { font-weight: 700; color: var(--dark); font-size: 16px; }

/* ─── CHECKOUT ─── */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.form-group { margin-bottom: 18px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; display: block; }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--dark); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info-block { margin-bottom: 28px; }
.contact-info-block h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.contact-info-block p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.contact-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
}
.contact-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(139,92,246,0.12));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; }
.contact-card h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: 13.5px; color: var(--text-muted); }
.contact-card a:hover { color: var(--blue); }
.form-success-msg {
  display: none;
  background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.3);
  border-radius: var(--radius-sm); padding: 14px 18px;
  color: var(--success); font-size: 14px; font-weight: 500;
  margin-top: 14px; align-items: center; gap: 10px;
}
.form-success-msg.show { display: flex; }
.form-success-msg svg { width: 20px; height: 20px; stroke: var(--success); fill: none; flex-shrink: 0; }

/* ─── ABOUT ─── */
.about-hero { padding: 80px 0; background: var(--light); }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-hero-img { border-radius: var(--radius-lg); overflow: hidden; }
.about-hero-img img { width: 100%; height: 380px; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  text-align: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s;
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card-img { aspect-ratio: 1; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 18px; }
.team-card-name { font-size: 15px; font-weight: 700; color: var(--dark); }
.team-card-role { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* ─── POLICY PAGE ─── */
.policy-page { padding: 64px 0; }
.policy-content { max-width: 820px; margin: 0 auto; }
.policy-content h1 { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.policy-content .update-date { font-size: 13px; color: var(--text-muted); margin-bottom: 36px; }
.policy-content h2 { font-size: 19px; font-weight: 700; color: var(--dark); margin: 34px 0 12px; }
.policy-content h3 { font-size: 16px; font-weight: 600; color: var(--dark); margin: 22px 0 9px; }
.policy-content p { font-size: 14.5px; color: var(--text-body); line-height: 1.75; margin-bottom: 14px; }
.policy-content ul { padding-left: 24px; margin-bottom: 14px; }
.policy-content ul li { font-size: 14.5px; color: var(--text-body); line-height: 1.75; margin-bottom: 6px; list-style: disc; }
.policy-content a { color: var(--blue); }
.policy-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.policy-content table th { background: var(--light); padding: 10px 14px; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.policy-content table td { padding: 10px 14px; border: 1px solid var(--border); }
.policy-toc { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; }
.policy-toc ol { padding-left: 20px; }
.policy-toc li { font-size: 14px; margin-bottom: 6px; list-style: decimal; }
.policy-toc li a { color: var(--blue); }

/* ─── INFO BOX ─── */
.info-box {
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; gap: 12px;
  margin-bottom: 20px;
}
.info-box svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: 13.5px; color: var(--text-body); line-height: 1.6; }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; cursor: pointer;
  background: var(--white); user-select: none;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--light); }
.faq-q-text { font-size: 14.5px; font-weight: 600; color: var(--dark); }
.faq-toggle { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; transition: transform 0.3s; font-size: 18px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.faq-item.open .faq-answer { padding: 0 20px 16px; max-height: 500px; }
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── MOBILE MENU ─── */
.mob-menu-btn {
  display: none; background: none; border: none;
  color: var(--dark); padding: 6px;
}
.mob-menu-btn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--white); z-index: 1000;
  padding: 0; overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.mobile-nav-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark); }
.mobile-nav-links { padding: 12px 0; }
.mobile-nav-links a {
  display: block; padding: 13px 22px;
  font-size: 15px; font-weight: 500; color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-links a:hover { color: var(--blue); background: var(--light); }

/* ─── BADGE ─── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 700;
}
.badge-blue { background: rgba(37,99,235,0.1); color: var(--blue); }
.badge-violet { background: rgba(139,92,246,0.1); color: var(--violet); }
.badge-green { background: rgba(22,163,74,0.1); color: var(--success); }

/* ─── ALERTS ─── */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14px; margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-info { background: rgba(37,99,235,0.07); border: 1px solid rgba(37,99,235,0.2); color: #1D4ED8; }
.alert svg { width: 18px; height: 18px; stroke: currentColor; fill: none; flex-shrink: 0; margin-top: 1px; }

/* ─── PRICE HISTORY CHART PLACEHOLDER ─── */
.price-chart {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.price-chart-label { font-size: 13px; color: var(--text-muted); text-align: center; }

/* ─── COUNTDOWN ─── */
.countdown { display: flex; gap: 14px; }
.cd-unit { text-align: center; }
.cd-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: white; line-height: 1; display: block; }
.cd-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); }
.cd-sep { font-size: 24px; font-weight: 800; color: rgba(255,255,255,0.4); align-self: center; margin-top: -6px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .promo-banner { flex-direction: column; padding: 36px 28px; }
  .promo-img { width: 100%; max-width: 320px; }
}
@media (max-width: 640px) {
  .header-search { display: none; }
  .main-nav { display: none; }
  .mob-menu-btn { display: block; }
  .mobile-nav { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form input { border-radius: var(--radius) var(--radius) 0 0; }
  .newsletter-form button { border-radius: 0 0 var(--radius) var(--radius); padding: 13px; }
  .topbar .container { flex-direction: column; gap: 5px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
}
