/* ================================================================
   KinMot.com — Engine Model E-Commerce
   Design System: Merged from EngineDIY + NikolaToy analysis
   Stack: Tailwind CSS (CDN) + Custom Premium CSS
   ================================================================ */

/* ---------- Design Tokens ----------
   Default = LIGHT theme (海外购物站主流审美，与透明底产品图天然兼容)
*/
:root {
  /* Brand palette — emerald/teal engineering premium */
  --brand: #0d9488;
  --brand-dark: #0f766e;
  --brand-light: #14b8a6;
  --brand-glow: rgba(20, 184, 166, 0.25);
  --accent: #f59e0b;
  --accent-light: #fbbf24;

  /* LIGHT theme (default) */
  --bg: #f5f6f8;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f3f7;
  --surface-3: #e8ebf0;
  --border: #e0e3e9;
  --border-light: #d0d4dc;
  --text: #1a1a24;
  --text-secondary: #4a4a58;
  --text-muted: #888896;
  --overlay: rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.06);

  /* Status */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Layout */
  --max-w: 1320px;
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur: 0.35s;
  --dur-slow: 0.6s;
}

[data-theme="dark"] {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --surface: #1a1a24;
  --surface-2: #22222e;
  --surface-3: #2a2a36;
  --border: #2e2e3a;
  --border-light: #383848;
  --text: #f0f0f5;
  --text-secondary: #b0b0c0;
  --text-muted: #707082;
  --overlay: rgba(0, 0, 0, 0.7);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --glass-bg: rgba(26, 26, 36, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Noto Sans SC", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  transition: background var(--dur), color var(--dur);
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--brand); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-elevated); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ---------- Layout Helpers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.section-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 40px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.section-link {
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--dur-fast);
}
.section-link:hover { gap: 8px; }

/* ---------- Glass Morphism ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-light), var(--brand), var(--brand-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 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: 14px;
  transition: all var(--dur) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--brand-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--brand-glow);
}

.btn-outline {
  border: 1.5px solid var(--border-light);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-glow);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 8px 16px;
}
.btn-ghost:hover { color: var(--brand); background: var(--surface-2); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-block { width: 100%; }

/* Magnetic button effect */
.magnetic {
  transition: transform 0.3s var(--ease-spring);
  will-change: transform;
}
.magnetic:hover {
  transform: scale(1.03) translateY(-1px);
}

/* ---------- Badges & Tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-sale { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.badge-new { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.badge-hot { background: rgba(245, 158, 11, 0.15); color: var(--accent); }
.badge-oos { background: var(--surface-3); color: var(--text-muted); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: all var(--dur);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--brand); }
.nav-arrow { font-size: 10px; transition: transform var(--dur-fast); }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 560px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur) var(--ease-out);
  z-index: 50;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}
.mega-link:hover { background: var(--surface-2); }
.mega-link-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.mega-link-title { font-weight: 600; font-size: 14px; }
.mega-link-desc { font-size: 12px; color: var(--text-muted); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
  position: relative;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Search bar */
.search-bar {
  flex: 1;
  max-width: 360px;
  position: relative;
}
.search-input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--dur-fast);
}
.search-input:focus { outline: none; border-color: var(--brand); }
.search-input::placeholder { color: var(--text-muted); }
.search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
}

/* Mobile menu toggle */
.menu-toggle { display: none; }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-track {
  display: inline-flex;
  gap: 48px;
  padding: 8px 0;
  animation: scroll-left 30s linear infinite;
}
.announcement-item { display: inline-flex; align-items: center; gap: 6px; }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero > .container { width: 100%; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-dark), transparent 50%, var(--bg));
  z-index: 1;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 24px;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero V3 — 2-column grid with real product collage */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  position: relative;
  z-index: 2;
}
/* Dark Hero — single column with V8 in background */
.hero-dark { color: #fff; }
.hero-dark .hero-grid-dark {
  grid-template-columns: minmax(0, 680px) 1fr;
  padding: 80px 0 60px;
}
.hero-dark .hero-content { max-width: 640px; }
.hero-dark .hero-badge {
  background: rgba(13,148,136,0.18);
  border: 1px solid rgba(13,148,136,0.4);
  color: #5eead4;
}
.hero-title-dark {
  color: #fff !important;
  text-shadow: 0 4px 32px rgba(0,0,0,0.5);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
}
.gradient-text-light {
  background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #5eead4;
}
.hero-desc-dark {
  color: rgba(255,255,255,0.78) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.btn-outline-light {
  color: #fff !important;
  border-color: rgba(255,255,255,0.3) !important;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin-top: 40px;
  max-width: 560px;
}
.hero-stat-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}
.hero-stat-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: rgba(20,184,166,0.18);
  border: 1px solid rgba(20,184,166,0.3);
  border-radius: 10px;
  flex-shrink: 0;
}
.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #5eead4;
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
/* Hero V8 — single column, V8 engine fills the right side as background */
.hero-v8 .hero-grid {
  grid-template-columns: minmax(0, 700px) 1fr;
  padding: 80px 0 64px;
}
.hero-v8 .hero-content {
  max-width: 640px;
  position: relative;
  z-index: 3;
}
.hero-grid .hero-content {
  max-width: none;
  padding: 0;
}
.hero-grid .hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(255,255,255,0.8);
}
.hero-grid .hero-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(255,255,255,0.7);
}
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 280px;
  margin: 0 0 0 auto;
}
.hero-img-card {
  position: absolute;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  border: 0.5px solid rgba(255,255,255,0.07);
  transition: all 0.4s var(--ease-out);
}
.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  opacity: 0.92;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 12px rgba(13,148,136,0.18));
}
.hero-img-card:hover {
  transform: scale(1.08) translateY(-3px);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 10px 28px rgba(13,148,136,0.25);
  z-index: 5;
}
.hero-img-1 { top: -2%; right: -4%; width: 38%; aspect-ratio: 1; transform: rotate(3deg); }
.hero-img-2 { top: 12%; left: -6%; width: 26%; aspect-ratio: 1; transform: rotate(-4deg); z-index: 2; }
.hero-img-3 { bottom: 6%; right: 0; width: 24%; aspect-ratio: 1; transform: rotate(2deg); }
.hero-img-4 { bottom: -2%; left: 2%; width: 22%; aspect-ratio: 1; transform: rotate(-3deg); z-index: 2; }
.hero-floating-badge {
  position: absolute;
  top: 10px; left: -8px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 7px 11px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  z-index: 6;
  border: 0.5px solid rgba(255,255,255,0.1);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-floating-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-floating-label {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 2px;
}
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .hero-visual { max-width: 220px; margin: 0 auto; }
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--brand-light); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); }

/* ---------- Category Grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-slow) var(--ease-out);
}
.cat-card:hover .cat-card-bg { transform: scale(1.08); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
}
.cat-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  z-index: 2;
}
.cat-card-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cat-card-count { font-size: 12px; color: rgba(255,255,255,0.7); }

/* Wide category card */
.cat-card-wide { grid-column: span 2; aspect-ratio: 2; }

/* ---------- Product Card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
  position: relative;
}
.product-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.product-card:hover .product-img { transform: scale(1.06); }

.product-img-second {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur);
}
.product-card:hover .product-img-second { opacity: 1; }

.product-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.discount-badge {
  position: absolute;
  top: 12px; right: 12px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
}

.quick-view-btn {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: all var(--dur) var(--ease-out);
  z-index: 3;
  white-space: nowrap;
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-info { padding: 16px; }
.product-vendor {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 39px;
}
.product-title a:hover { color: var(--brand); }

.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.price-current { font-size: 1.1rem; font-weight: 700; color: var(--brand); }
.price-original { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }

.product-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.color-swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: transform var(--dur-fast);
}
.color-swatch:hover { transform: scale(1.2); border-color: var(--brand); }
.color-swatch.selected { border-color: var(--brand); transform: scale(1.15); }

.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }

/* Rating stars */
.rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.rating-stars { color: var(--accent); font-size: 13px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--text-muted); }

/* ---------- Slider/Carousel ---------- */
.slider-wrap { position: relative; }
.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-item {
  flex: 0 0 calc(25% - 18px);
  scroll-snap-align: start;
}
.slider-btn {
  position: absolute;
  top: 40%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow);
  transition: all var(--dur-fast);
}
.slider-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.slider-btn-prev { left: -22px; }
.slider-btn-next { right: -22px; }

/* ---------- Countdown Banner ---------- */
.countdown-banner {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.countdown-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  pointer-events: none;
}
.countdown-content { position: relative; z-index: 1; }
.countdown-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.countdown-title { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.countdown-desc { color: var(--text-secondary); margin-bottom: 24px; }

.countdown-timer { display: flex; gap: 12px; position: relative; z-index: 1; }
.countdown-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  min-width: 72px;
}
.countdown-num { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; }
.countdown-unit { font-size: 11px; color: var(--text-muted); text-transform: uppercase; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--dur-fast);
}
.testimonial-card:hover { border-color: var(--brand); }
.testimonial-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-location { font-size: 12px; color: var(--text-muted); }
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.testimonial-product { font-size: 12px; color: var(--brand); margin-top: 12px; font-weight: 500; }

/* ---------- Brand Strip ---------- */
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0;
}
.brand-item {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color var(--dur-fast);
  cursor: pointer;
}
.brand-item:hover { color: var(--brand); }

/* ---------- 3D Showcase ---------- */
.showcase-3d {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.showcase-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, var(--brand-glow), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(245,158,11,0.08), transparent 50%);
}
.showcase-3d-content { position: relative; z-index: 1; }
.showcase-3d-canvas {
  width: 100%;
  max-width: 500px;
  height: 300px;
  margin: 32px auto;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.engine-anim {
  width: 120px;
  height: 120px;
  position: relative;
}
.engine-gear {
  position: absolute;
  border-radius: 50%;
  border: 4px solid var(--brand);
  animation: spin 4s linear infinite;
}
.engine-gear::before, .engine-gear::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--brand-light);
}
.engine-gear:nth-child(1) {
  width: 100px; height: 100px;
  top: 10px; left: 10px;
}
.engine-gear:nth-child(2) {
  width: 60px; height: 60px;
  top: 30px; left: 30px;
  border-color: var(--accent);
  animation-direction: reverse;
  animation-duration: 3s;
}
.engine-gear:nth-child(3) {
  width: 30px; height: 30px;
  top: 45px; left: 45px;
  border-color: var(--brand-light);
  animation-duration: 2s;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter::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.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.newsletter-content { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.newsletter h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.newsletter p { opacity: 0.9; margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: none;
  font-size: 14px;
}
.newsletter-input:focus { outline: 2px solid rgba(255,255,255,0.3); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--dur-fast);
}
.social-btn:hover { background: var(--brand); color: #fff; }

.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 14px; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-payments { display: flex; gap: 8px; align-items: center; }
.payment-icon {
  height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.footer-copyright { font-size: 13px; color: var(--text-muted); }

/* ---------- Quick View Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--dur) var(--ease-spring);
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.modal-close:hover { background: var(--danger); color: #fff; }

.quick-view-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.quick-view-img {
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}
.quick-view-img img { width: 100%; height: 100%; object-fit: cover; }
.quick-view-info { padding: 32px; }
.quick-view-info .product-title { font-size: 1.3rem; -webkit-line-clamp: unset; min-height: unset; }
.quick-view-info .product-price { margin: 16px 0; }
.quick-view-info .price-current { font-size: 1.5rem; }

/* ---------- Cart Drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  z-index: 200;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.cart-drawer.active { transform: translateX(0); }
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-title { font-size: 1.1rem; font-weight: 700; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cart-item-variant { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-price { font-weight: 700; color: var(--brand); }
.cart-item-remove { font-size: 12px; color: var(--text-muted); cursor: pointer; }
.cart-item-remove:hover { color: var(--danger); }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-qty-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.cart-qty-btn:hover { background: var(--brand); color: #fff; }
.cart-qty-val { font-weight: 600; min-width: 24px; text-align: center; }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.cart-subtotal .price { font-weight: 800; color: var(--brand); }
.cart-empty { text-align: center; padding: 48px 0; color: var(--text-muted); }

/* ---------- Category Page: Facet Sidebar ---------- */
.cat-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.facet-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
}
.facet-group {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.facet-group:first-child { padding-top: 0; }
.facet-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.facet-options { display: flex; flex-direction: column; gap: 8px; }
.facet-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--dur-fast);
}
.facet-option:hover { color: var(--text); }
.facet-checkbox {
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
  flex-shrink: 0;
}
.facet-option.active .facet-checkbox {
  background: var(--brand);
  border-color: var(--brand);
}
.facet-option.active .facet-checkbox::after {
  content: '\2713';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.facet-count { margin-left: auto; font-size: 12px; color: var(--text-muted); }

/* Price slider */
.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.price-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
}
.price-input:focus { outline: none; border-color: var(--brand); }

/* Category banner */
.cat-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
  min-height: 200px;
  display: flex;
  align-items: center;
}
.cat-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7), transparent);
}
.cat-banner-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  color: #fff;
}
.cat-banner h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; }
.cat-banner p { opacity: 0.9; max-width: 500px; }

/* Toolbar */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.toolbar-count { font-size: 14px; color: var(--text-muted); }
.toolbar-count strong { color: var(--text); }
.sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--brand); }

.filter-toggle-btn { display: none; }

/* Mobile filter drawer */
.facet-drawer-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { color: var(--text-muted); }

/* ---------- Product Detail Page ---------- */
.product-page {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

/* Gallery */
.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 16px;
  position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
}
.gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.gallery-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  transition: all var(--dur-fast);
}
.gallery-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--dur-fast);
}
.gallery-thumb.active { border-color: var(--brand); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product detail info */
.pd-vendor {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.pd-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.pd-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.pd-price .price-current { font-size: 2rem; }
.pd-price .price-original { font-size: 1.1rem; }
.pd-sku { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.pd-promo {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--success);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Variant selector */
.variant-group { margin-bottom: 20px; }
.variant-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.variant-selected { color: var(--brand); font-weight: 600; }
.variant-options { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--dur-fast);
}
.variant-btn:hover { border-color: var(--brand); }
.variant-btn.active {
  border-color: var(--brand);
  background: var(--brand-glow);
  color: var(--brand);
}
.variant-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Qty + Add to cart */
.pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn {
  width: 44px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--surface);
  transition: background var(--dur-fast);
}
.qty-btn:hover { background: var(--surface-2); }
.qty-input {
  width: 56px;
  height: 48px;
  text-align: center;
  border: none;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}
.qty-input:focus { outline: none; }

/* Shipping calculator */
.shipping-calc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.shipping-calc-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.shipping-calc-row { display: flex; gap: 8px; }
.shipping-calc input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
.shipping-calc input:focus { outline: none; border-color: var(--brand); }
.shipping-result {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}
.shipping-result-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.shipping-result-item:last-child { border-bottom: none; }

/* Trust badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.trust-badge {
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.trust-badge-icon { font-size: 24px; margin-bottom: 4px; }
.trust-badge-text { font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* Tabs */
.tabs {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  margin-bottom: 48px;
}
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--dur-fast);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn var(--dur); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}
.spec-table th {
  width: 200px;
  background: var(--surface-2);
  font-weight: 600;
  color: var(--text-secondary);
}
.spec-table td { font-weight: 500; }

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
.faq-icon {
  transition: transform var(--dur);
  font-size: 20px;
  color: var(--text-muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--brand); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease-out);
  color: var(--text-secondary);
  font-size: 14px;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 16px; }

/* Frequently Bought Together */
.fbt-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}
.fbt-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.fbt-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.fbt-product {
  flex: 1;
  min-width: 180px;
  text-align: center;
}
.fbt-product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.fbt-product-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.fbt-product-price { font-size: 14px; font-weight: 700; color: var(--brand); }
.fbt-plus { font-size: 24px; color: var(--text-muted); }
.fbt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.fbt-total-price { font-size: 1.3rem; font-weight: 800; color: var(--brand); }

/* Reviews */
.review-summary {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.review-score-box { text-align: center; }
.review-score { font-size: 3rem; font-weight: 800; color: var(--accent); }
.review-stars { color: var(--accent); font-size: 18px; margin: 4px 0; }
.review-count { font-size: 13px; color: var(--text-muted); }
.review-bars { flex: 1; min-width: 240px; }
.review-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-bar-label { width: 40px; font-size: 13px; color: var(--text-muted); }
.review-bar-track { flex: 1; height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.review-bar-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width var(--dur-slow); }
.review-bar-pct { width: 40px; font-size: 13px; color: var(--text-muted); text-align: right; }

.review-list { display: flex; flex-direction: column; gap: 20px; }
.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.review-name { font-weight: 600; font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.review-images { display: flex; gap: 8px; margin-top: 12px; }
.review-img {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
}
.review-img img { width: 100%; height: 100%; object-fit: cover; }

/* Sticky add to cart bar */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  padding: 12px 24px;
  z-index: 90;
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease-out);
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-info { display: flex; align-items: center; gap: 12px; }
.sticky-bar-img {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
}
.sticky-bar-img img { width: 100%; height: 100%; object-fit: cover; }
.sticky-bar-title { font-size: 14px; font-weight: 600; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-bar-price { font-size: 1.1rem; font-weight: 800; color: var(--brand); }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero must always be visible — it's above the fold and shouldn't depend on scroll */
.hero .reveal { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform var(--dur) var(--ease-spring);
}
.toast.show { transform: translateX(0); }
.toast-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.page-btn {
  min-width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
}
.page-btn:hover { border-color: var(--brand); color: var(--brand); }
.page-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .cat-page-layout { grid-template-columns: 1fr; }
  .facet-sidebar { display: none; }
  .facet-drawer-btn { display: flex; }
  .product-page { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .countdown-banner { flex-direction: column; text-align: center; padding: 32px; }
  .countdown-title { font-size: 1.5rem; }
  .countdown-timer { justify-content: center; }
  .newsletter { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .slider-item { flex: 0 0 calc(50% - 12px); }
  .nav, .search-bar { display: none; }
  .menu-toggle { display: flex; }
  .quick-view-grid { grid-template-columns: 1fr; }
  .quick-view-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .pd-title { font-size: 1.5rem; }
  .tab-nav { gap: 0; }
  .tab-btn { padding: 10px 16px; font-size: 14px; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
  .sticky-bar-info { display: none; }
  .cat-banner h1 { font-size: 1.8rem; }
  .cat-banner-content { padding: 32px; }
  .showcase-3d { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-stats { gap: 20px; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-info { padding: 12px; }
  .countdown-box { min-width: 56px; padding: 12px; }
  .countdown-num { font-size: 1.5rem; }
  .slider-item { flex: 0 0 80%; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform var(--dur) var(--ease-out);
  overflow-y: auto;
  padding: 24px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mobile-nav-item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
}
.mobile-nav-item:hover { color: var(--brand); }
.mobile-search {
  width: 100%;
  margin-bottom: 16px;
}

/* ================================================================
   Premium Homepage Redesign — Bento Categories, Rich Layout
   ================================================================ */

/* ---------- Brand Ticker ---------- */
.brand-ticker {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.brand-ticker::before,
.brand-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brand-ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-elevated), transparent); }
.brand-ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-elevated), transparent); }

.brand-ticker-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.brand-ticker:hover .brand-ticker-track { animation-play-state: paused; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-ticker-item {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color var(--dur-fast), transform var(--dur-fast);
  white-space: nowrap;
}
.brand-ticker-item:hover { color: var(--brand); transform: scale(1.05); }

/* ---------- Section Header Premium ---------- */
.section-header-premium {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-header-premium .section-title-wrap { max-width: 600px; }
.section-header-premium .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-header-premium .section-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.section-header-premium .section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-header-premium .section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.section-link-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--dur-fast);
  white-space: nowrap;
}
.section-link-premium:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-glow);
  gap: 12px;
}

/* ---------- Bento Category Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}
.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
  transition: opacity var(--dur);
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.bento-card:hover::before { opacity: 0.95; }
.bento-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-slow) var(--ease-out);
}
.bento-card:hover .bento-card-bg { transform: scale(1.08); }
.bento-card-icon {
  position: absolute;
  top: 20px; left: 20px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 2;
  transition: transform var(--dur) var(--ease-spring);
}
.bento-card:hover .bento-card-icon { transform: scale(1.1) rotate(-5deg); }
.bento-card-content { position: relative; z-index: 2; }
.bento-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.bento-card-count {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bento-card-count::after {
  content: '→';
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--dur-fast);
}
.bento-card:hover .bento-card-count::after { opacity: 1; transform: translateX(0); }

/* Bento sizes */
.bento-card-wide { grid-column: span 2; }
.bento-card-tall { grid-row: span 2; }
.bento-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}

/* Fallback all-products card */
.bento-card-all {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.bento-card-all::before {
  background: linear-gradient(180deg, rgba(20,184,166,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

/* ---------- Why Choose / Feature Section ---------- */
.features-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--dur) var(--ease-out);
}
.feature-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  box-shadow: 0 8px 24px var(--brand-glow);
}
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Shop by Brand ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-card {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--dur) var(--ease-out);
  text-align: center;
  padding: 16px;
}
.brand-card:hover {
  border-color: var(--brand);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.brand-card-letter {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand);
  transition: all var(--dur-fast);
}
.brand-card:hover .brand-card-letter {
  background: var(--brand);
  color: #fff;
}
.brand-card-name { font-size: 13px; font-weight: 700; }
.brand-card-count { font-size: 12px; color: var(--text-muted); }

/* ---------- Newsletter Premium ---------- */
.newsletter-premium {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, #0f766e 100%);
  padding: 72px 48px;
  color: #fff;
}
.newsletter-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
    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.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.newsletter-premium-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-premium h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.newsletter-premium p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }
.newsletter-premium-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-premium-input {
  flex: 1;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: none;
  font-size: 15px;
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.newsletter-premium-input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-premium-input:focus { outline: 2px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.2); }
.newsletter-premium-btn {
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius);
  border: none;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--dur-fast);
}
.newsletter-premium-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ---------- Hero improvements ---------- */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats-premium {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat-item { display: flex; align-items: center; gap: 16px; }
.hero-stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  backdrop-filter: blur(12px);
}
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--brand-light); line-height: 1; }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Flash Sale Premium ---------- */
.flash-sale-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 100%);
  border: 1px solid var(--border);
  padding: 56px;
}
.flash-sale-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.12), transparent 70%);
  pointer-events: none;
}
.flash-sale-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 40px;
}
.flash-sale-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ec4899;
  margin-bottom: 12px;
}
.flash-sale-title { font-size: 2.4rem; font-weight: 800; margin-bottom: 8px; }
.flash-sale-desc { color: var(--text-muted); margin-bottom: 24px; }
.flash-sale-timer {
  display: inline-flex;
  gap: 16px;
  justify-content: center;
}
.flash-sale-timer-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  min-width: 80px;
}
.flash-sale-timer-num { font-size: 2.2rem; font-weight: 800; color: #ec4899; line-height: 1; }
.flash-sale-timer-unit { font-size: 11px; color: var(--text-muted); text-transform: uppercase; margin-top: 6px; letter-spacing: 1px; }

/* ---------- Product grid improvements ---------- */
.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ---------- Testimonial improvements ---------- */
.testimonial-card-premium {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--dur) var(--ease-out);
  position: relative;
}
.testimonial-card-premium:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.testimonial-card-premium::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 4rem;
  color: var(--brand);
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Light theme overrides for dark gradients */
[data-theme="light"] .bento-card::before {
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}
[data-theme="light"] .bento-card-icon { background: rgba(0,0,0,0.2); }
[data-theme="light"] .bento-card-title { text-shadow: 0 2px 12px rgba(0,0,0,0.3); }

/* ---------- Responsive Premium ---------- */
@media (max-width: 1200px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .bento-card-wide { grid-column: span 2; }
  .bento-card-feature { grid-column: span 3; grid-row: span 1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid-5 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .section-header-premium .section-title { font-size: 1.8rem; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 12px; }
  .bento-card-wide { grid-column: span 2; }
  .bento-card-feature { grid-column: span 2; grid-row: span 2; }
  .bento-card-tall { grid-row: span 1; }
  .features-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flash-sale-banner { padding: 32px 24px; }
  .flash-sale-title { font-size: 1.8rem; }
  .flash-sale-timer-box { min-width: 60px; padding: 12px 16px; }
  .flash-sale-timer-num { font-size: 1.6rem; }
  .newsletter-premium { padding: 48px 24px; }
  .newsletter-premium h2 { font-size: 1.6rem; }
  .newsletter-premium-form { flex-direction: column; }
  .hero-stats-premium { gap: 24px; }
}

@media (max-width: 480px) {
  .bento-grid { grid-template-columns: 1fr; gap: 12px; grid-auto-rows: 180px; }
  .bento-card-wide,
  .bento-card-feature { grid-column: span 1; grid-row: span 1; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-item { width: 100%; }
  .flash-sale-timer { gap: 8px; }
  /* Compact brand ticker on tiny screens */
  .brand-ticker-track { gap: 36px; }
  .brand-ticker-item { font-size: 0.95rem; letter-spacing: 1.5px; }
  .brand-ticker { padding: 20px 0; }
  /* Tighter section padding on small screens */
  .section { padding: 48px 0; }
  .section-header-premium { margin-bottom: 28px; }
  .bento-card { padding: 16px; }
  .bento-card-title { font-size: 1.1rem; }
  .bento-card-count { font-size: 0.8rem; }
}

/* ================================================================
   V2 PREMIUM REDESIGN — EngineDIY + NikolaToy Fusion
   Overrides and enhances existing components for overseas
   e-commerce aesthetic.
   ================================================================ */

/* ---------- V2 Product Card ---------- */
.product-card-v2 {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card-v2:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,148,136,0.12), 0 2px 8px rgba(0,0,0,0.04);
}
.pc-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ffffff;        /* 纯白底，与透明产品图天然融合 */
  position: relative;
}
.pc-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(255,255,255,0.6) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card-v2:hover .pc-img-wrap::after { opacity: 0; }
.pc-img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* contain 防止切掉产品边缘 */
  padding: 14px;              /* 内边距让产品"浮"在卡上 */
  transition: transform 0.5s var(--ease-out);
}
.product-card-v2:hover .pc-img { transform: scale(1.06); }
.pc-img-second {
  display: none;               /* 浅色主题下双图切换效果不明显，去掉 */
}

/* Badges */
.pc-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}
.pc-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.pc-badge-hot { background: rgba(245,158,11,0.95); color: #fff; }
.pc-badge-new { background: rgba(16,185,129,0.95); color: #fff; }
.pc-badge-sale {
  position: absolute;
  top: 10px; right: 10px;
  background: #dc2626;
  color: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  z-index: 3;
  letter-spacing: 0.3px;
}

/* Wishlist heart */
.pc-wishlist {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s var(--ease-out);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-card-v2:hover .pc-wishlist { opacity: 1; transform: scale(1); }
.pc-wishlist:hover { color: #ef4444; transform: scale(1.1); }

/* Card info */
.pc-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}
.pc-vendor {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pc-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
  color: var(--text);
}
.pc-title a { color: var(--text); transition: color 0.2s; }
.pc-title a:hover { color: var(--brand); }

/* Rating */
.pc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.pc-stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; }
.pc-review-count { font-size: 11px; color: var(--text-muted); margin-left: 2px; }

/* Price */
.pc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  margin-top: auto;
}
.pc-price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #dc2626;        /* 海外购物站：当前价=红色最显眼 */
  letter-spacing: -0.3px;
}
.pc-price .price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

/* Add to cart */
.pc-actions { display: flex; gap: 8px; }
.pc-cart-btn {
  flex: 1;
  padding: 9px 16px;
  border-radius: 6px;
  background: #1a1a24;          /* 黑色 CTA，Amazon/eBay 标准 */
  border: 1.5px solid #1a1a24;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
}
.pc-cart-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

/* Grid: use with .product-grid-v2 */
.product-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .product-grid-v2 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .product-grid-v2 { grid-template-columns: 1fr; } }

/* ---------- V2 Section Headers ---------- */
.section-v2 {
  padding: 64px 0;
}
.section-v2-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 20px;
}
.section-v2-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 8px;
}
.section-v2-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-v2-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.section-v2-link:hover { gap: 8px; }

/* ---------- V2 Trust Bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  margin-bottom: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 0 20px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.trust-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.trust-text small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12px;
}
@media (max-width: 768px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .trust-item:nth-child(2) { border-right: none; }
}

/* ---------- V2 Review Wall ---------- */
.review-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card-v2:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.review-stars-v2 { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.review-text-v2 {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}
.review-author-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar-v2 {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand);
  font-size: 16px;
  flex-shrink: 0;
}
.review-name-v2 { font-size: 14px; font-weight: 600; }
.review-product-v2 { font-size: 12px; color: var(--text-muted); }
@media (max-width: 768px) { .review-wall { grid-template-columns: 1fr; } }

/* ---------- V2 Category Grid (Image Cards, No Icons) ---------- */
.cat-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card-v2 {
  position: relative;
  border-radius: 16px;
  padding: 28px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  transition: all 0.3s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
  overflow: hidden;
}
.cat-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}
.cat-card-v2[style*="background-image"]::before {
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.65) 100%);
  opacity: 1;
}
.cat-card-v2[style*="background-image"] .cat-card-v2-name {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.cat-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.cat-card-v2-name {
  position: relative;
  z-index: 1;
  color: #1a1a24;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.cat-card-v2-count {
  position: relative;
  z-index: 1;
  color: #4a4a58;
  font-size: 13px;
  font-weight: 500;
}
.cat-card-v2-arrow {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a24;
  font-size: 16px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s var(--ease-out);
  z-index: 1;
}
.cat-card-v2[style*="background-image"] .cat-card-v2-arrow {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: #fff;
}
.cat-card-v2:hover .cat-card-v2-arrow {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 1024px) { .cat-grid-v2 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .cat-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid-v2 { grid-template-columns: 1fr; } }

/* ---------- V2 Countdown Banner ---------- */
.countdown-banner-v2 {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #0f766e 100%);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.countdown-banner-v2::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
  border-radius: 50%;
}
.countdown-content-v2 { position: relative; z-index: 1; }
.countdown-label-v2 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.countdown-title-v2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.countdown-sub-v2 { font-size: 15px; color: rgba(255,255,255,0.85); }
.countdown-timer-v2 {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.cd-unit-v2 {
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  min-width: 70px;
  backdrop-filter: blur(10px);
}
.cd-num-v2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.cd-label-v2 {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .countdown-banner-v2 { flex-direction: column; text-align: center; padding: 32px 24px; }
  .countdown-title-v2 { font-size: 1.5rem; }
}

/* Countdown CTA (when banner has link_text) */
.countdown-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; padding: 10px 20px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  color: #fff; font-weight: 700; font-size: 14px;
  backdrop-filter: blur(6px);
  transition: all .2s ease;
}
.countdown-banner-v2:hover .countdown-cta { background: #fff; color: #0f766e; }

/* ---------- Best Sellers Hero Banner (admin-managed) ---------- */
.bs-hero {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 140px; padding: 28px 36px;
  border-radius: 18px; margin-bottom: 24px;
  color: #fff; text-decoration: none;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 28px -8px rgba(15,23,42,0.25);
  transition: transform .3s ease, box-shadow .3s ease;
}
.bs-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(15,23,42,0.35); }
.bs-hero-text { position: relative; z-index: 1; max-width: 70%; }
.bs-hero-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px;
  background: rgba(255,255,255,0.18); border-radius: 999px;
  margin-bottom: 10px;
}
.bs-hero-title {
  font-size: 1.8rem; font-weight: 900; line-height: 1.15; margin: 4px 0 6px;
  color: #fff;
}
.bs-hero-sub { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0; }
.bs-hero-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  padding: 8px 18px; background: #fff; color: #0f172a;
  border-radius: 999px; font-weight: 700; font-size: 14px;
}
.bs-hero::after {
  content: '→'; position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
  font-size: 56px; color: rgba(255,255,255,0.18); font-weight: 100;
  transition: right .3s ease;
}
.bs-hero:hover::after { right: 24px; }
@media (max-width: 768px) {
  .bs-hero { padding: 24px; min-height: 120px; }
  .bs-hero-title { font-size: 1.4rem; }
  .bs-hero-text { max-width: 100%; }
  .bs-hero::after { display: none; }
}

/* ---------- Newsletter V2 (compact, admin-managed, with bg image) ---------- */
.newsletter-v2 {
  position: relative;
  border-radius: 18px;
  padding: 40px 48px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 8px 28px -8px rgba(15,23,42,0.18);
}
.newsletter-v2::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,148,136,0.65) 0%, rgba(20,184,166,0.35) 100%);
  pointer-events: none;
  z-index: 0;
}
.newsletter-v2-content { position: relative; z-index: 1; max-width: 640px; }
.newsletter-v2-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px;
  background: rgba(255,255,255,0.2); border-radius: 999px;
  margin-bottom: 12px;
}
.newsletter-v2-title { font-size: 2rem; font-weight: 900; margin: 0 0 10px; line-height: 1.15; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.newsletter-v2-sub { font-size: 14px; opacity: 0.95; margin: 0 0 18px; max-width: 540px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.newsletter-v2-form {
  display: flex; gap: 8px; max-width: 460px;
}
.newsletter-v2-input {
  flex: 1; padding: 12px 16px;
  background: rgba(255,255,255,0.95); color: #0f172a;
  border: 0; border-radius: 10px; font-size: 14px;
}
.newsletter-v2-input::placeholder { color: #64748b; }
.newsletter-v2-input:focus { outline: 2px solid rgba(255,255,255,0.4); }
.newsletter-v2-btn {
  padding: 12px 22px;
  background: #0f172a; color: #fff;
  border: 0; border-radius: 10px; font-weight: 700; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: all .2s ease;
}
.newsletter-v2-btn:hover { background: #1e293b; transform: translateY(-1px); }
.newsletter-v2-fine { font-size: 11px; opacity: 0.85; margin: 12px 0 0; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
@media (max-width: 768px) {
  .newsletter-v2 { padding: 28px 24px; }
  .newsletter-v2-form { flex-direction: column; }
  .newsletter-v2-btn { width: 100%; }
}

/* ---------- V2 Category Page ---------- */
.cat-page-v2 {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding-top: 24px;
}
.facet-sidebar-v2 {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.facet-group-v2 {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.facet-group-v2:first-child { padding-top: 0; }
.facet-group-v2:last-child { border-bottom: none; padding-bottom: 0; }
.facet-title-v2 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.facet-title-v2 .facet-toggle {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.facet-options-v2 { display: flex; flex-direction: column; gap: 10px; }
.facet-option-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
}
.facet-option-v2:hover { color: var(--text); }
.facet-option-v2.active { color: var(--brand); font-weight: 600; }
.facet-checkbox-v2 {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.facet-option-v2.active .facet-checkbox-v2 {
  background: var(--brand);
  border-color: var(--brand);
}
.facet-option-v2.active .facet-checkbox-v2::after {
  content: '\2713';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.facet-count-v2 { margin-left: auto; font-size: 12px; color: var(--text-muted); }

/* Price range V2 */
.price-range-v2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.price-input-v2 {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  transition: border-color 0.2s;
}
.price-input-v2:focus { outline: none; border-color: var(--brand); }

/* Category banner V2 */
.cat-banner-v2 {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}
.cat-banner-v2-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.cat-banner-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.cat-banner-v2-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  color: #fff;
  max-width: 600px;
}
.cat-banner-v2 h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.1;
}
.cat-banner-v2 p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.5;
}
.cat-banner-v2 .cat-count-pill {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}

/* Toolbar V2 */
.toolbar-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.toolbar-v2-count { font-size: 14px; color: var(--text-muted); }
.toolbar-v2-count strong { color: var(--text); font-weight: 700; }
.sort-select-v2 {
  padding: 8px 36px 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23707082' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.sort-select-v2:focus { outline: none; border-color: var(--brand); }

/* Mobile filter button */
.facet-drawer-btn-v2 {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 900px) {
  .cat-page-v2 { grid-template-columns: 1fr; }
  .facet-sidebar-v2 {
    position: fixed;
    top: 0; left: 0;
    width: 85%; max-width: 320px;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease-out);
    padding-top: 60px;
  }
  .facet-sidebar-v2.open { transform: translateX(0); }
  .facet-drawer-btn-v2 { display: inline-flex; }
}

/* ---------- V2 Product Page ---------- */
.pd-page-v2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding-top: 24px;
  margin-bottom: 64px;
}

/* Gallery V2 */
.pd-gallery-v2 { position: relative; }
.pd-gallery-main-v2 {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 16px;
  position: relative;
  border: 1px solid var(--border);
}
.pd-gallery-main-v2 img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.pd-gallery-main-v2:hover img { transform: scale(1.05); }
.pd-gallery-badge-v2 {
  position: absolute;
  top: 16px; left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.pd-gallery-thumbs-v2 {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.pd-gallery-thumbs-v2::-webkit-scrollbar { display: none; }
.pd-thumb-v2 {
  width: 80px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s;
  background: var(--surface-2);
}
.pd-thumb-v2.active { border-color: var(--brand); }
.pd-thumb-v2 img { width: 100%; height: 100%; object-fit: cover; }

/* Product info V2 */
.pd-info-v2 { position: relative; }
.pd-vendor-v2 {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.pd-title-v2 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.pd-rating-v2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pd-rating-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.pd-rating-text { font-size: 13px; color: var(--text-muted); }

.pd-price-v2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.pd-price-v2 .pd-price-current-v2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
}
.pd-price-v2 .pd-price-original-v2 {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.pd-price-save-v2 {
  display: inline-block;
  background: rgba(239,68,68,0.1);
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.pd-sku-v2 {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pd-stock-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 20px;
}
.pd-stock-v2::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

/* Trust badges row */
.pd-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.pd-trust-item {
  text-align: center;
  font-size: 12px;
}
.pd-trust-icon { font-size: 24px; margin-bottom: 6px; }
.pd-trust-label { font-weight: 600; color: var(--text-secondary); line-height: 1.3; }

/* Variant selector V2 */
.variant-group-v2 { margin-bottom: 20px; }
.variant-label-v2 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.variant-selected-v2 { color: var(--brand); font-weight: 600; }
.variant-options-v2 { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-btn-v2 {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
}
.variant-btn-v2:hover { border-color: var(--brand); transform: translateY(-1px); }
.variant-btn-v2.active {
  border-color: var(--brand);
  background: var(--brand-glow);
  color: var(--brand);
}
.variant-btn-v2.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Qty + Add to cart V2 */
.pd-actions-v2 {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.qty-selector-v2 {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn-v2 {
  width: 48px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--surface);
  transition: background 0.2s;
  cursor: pointer;
}
.qty-btn-v2:hover { background: var(--surface-2); }
.qty-input-v2 {
  width: 60px;
  height: 52px;
  text-align: center;
  border: none;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
}
.qty-input-v2:focus { outline: none; }
.pd-cart-btn-v2 {
  flex: 1;
  height: 52px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
}
.pd-cart-btn-v2:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--brand-glow);
}

/* Buy now button */
.pd-buy-btn-v2 {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  margin-bottom: 24px;
}
.pd-buy-btn-v2:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Tabs V2 */
.pd-tabs-v2 {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.pd-tabs-nav-v2 {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pd-tabs-nav-v2::-webkit-scrollbar { display: none; }
.pd-tab-v2 {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.pd-tab-v2:hover { color: var(--text); }
.pd-tab-v2.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.pd-tab-content-v2 { display: none; }
.pd-tab-content-v2.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Specs table V2 */
.specs-table-v2 {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.specs-table-v2 tr { border-bottom: 1px solid var(--border); }
.specs-table-v2 tr:last-child { border-bottom: none; }
.specs-table-v2 td {
  padding: 14px 20px;
  font-size: 14px;
}
.specs-table-v2 td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 40%;
  background: var(--surface-2);
}
.specs-table-v2 td:last-child {
  color: var(--text);
}

/* FAQ Accordion V2 */
.faq-item-v2 {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item-v2:hover { border-color: var(--border-light); }
.faq-item-v2.open { border-color: var(--brand); }
.faq-q-v2 {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-q-v2:hover { background: var(--surface-2); }
.faq-q-v2 .faq-icon-v2 {
  font-size: 20px;
  color: var(--brand);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item-v2.open .faq-icon-v2 { transform: rotate(45deg); }
.faq-a-v2 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.faq-item-v2.open .faq-a-v2 { max-height: 500px; }
.faq-a-v2-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Cross-sell V2 */
.cross-sell-v2 {
  margin-top: 48px;
}
.cross-sell-title-v2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Responsive product page */
@media (max-width: 900px) {
  .pd-page-v2 { grid-template-columns: 1fr; gap: 32px; }
  .pd-title-v2 { font-size: 1.4rem; }
  .pd-price-v2 .pd-price-current-v2 { font-size: 1.6rem; }
}

/* ---------- V2 Breadcrumb ---------- */
.breadcrumb-v2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 0;
}
.breadcrumb-v2 a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb-v2 a:hover { color: var(--brand); }
.breadcrumb-v2-sep { color: var(--text-muted); opacity: 0.5; }

/* ---------- V2 Brand Showcase ---------- */
.brand-showcase-v2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-card-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 16px 20px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.brand-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.brand-card-v2:hover {
  border-color: var(--brand);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20,184,166,0.18);
}
.brand-card-v2:hover::before { opacity: 1; }
.brand-card-v2:hover .brand-card-v2-name,
.brand-card-v2:hover .brand-card-v2-count { color: #fff; }
.brand-card-v2-logo {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(20,184,166,0.25);
}
.brand-card-v2-name {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  transition: color 0.3s;
}
.brand-card-v2-count {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.3s;
}
@media (max-width: 768px) { .brand-showcase-v2 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .brand-showcase-v2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About / Story Block ---------- */
/* About V3 — Balanced 2-col with 1 BIG stat + features */

/* Promo Banner Grid (3-wide) */
.promo-grid-v2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.promo-card-v2 {
  position: relative;
  border-radius: 18px;
  padding: 32px 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}
.promo-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.promo-card-v2.promo-card-1 { min-height: 416px; padding: 40px 32px; }
.promo-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}
.promo-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
  z-index: 1;
}
.promo-card-content { position: relative; z-index: 2; }
.promo-card-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.promo-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.promo-card-1 .promo-card-title { font-size: 2rem; }
.promo-card-desc {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
  line-height: 1.5;
  max-width: 320px;
}
.promo-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.promo-card-v2:hover .promo-card-cta {
  background: rgba(255,255,255,0.95);
  color: #1a1a24;
}
@media (max-width: 968px) {
  .promo-grid-v2 { grid-template-columns: 1fr 1fr; }
  .promo-card-v2.promo-card-1 { grid-column: 1 / -1; min-height: 220px; }
}
@media (max-width: 600px) {
  .promo-grid-v2 { grid-template-columns: 1fr; }
  .promo-card-v2.promo-card-1 { grid-column: auto; }
}

.about-block-v3 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.about-block-v3-left {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-block-v3-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.about-block-v3-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--text);
}
.about-block-v3-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 520px;
}
.about-block-v3-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.about-feat-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.about-feat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.about-block-v3-right {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-block-v3-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.about-block-v3-right > * { position: relative; z-index: 2; }
.about-stat-big-num { text-shadow: 0 4px 32px rgba(0,0,0,0.45); }
.about-stat-big {
  position: relative;
  z-index: 1;
}
.about-stat-big-num {
  font-size: clamp(72px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -3px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.about-stat-big-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  opacity: 0.9;
}
.about-stats-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.about-stat-mini { text-align: center; }
.about-stat-mini-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.about-stat-mini-label {
  font-size: 10px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  font-weight: 600;
}
.about-block-v3-right .btn {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #0d9488;
  border-color: #fff;
}
.about-block-v3-right .btn:hover {
  background: #0a0a0f;
  color: #fff;
  border-color: #0a0a0f;
}
@media (max-width: 968px) {
  .about-block-v3 { grid-template-columns: 1fr; }
  .about-block-v3-left { padding: 40px 28px; }
  .about-block-v3-right { padding: 40px 28px; }
}
.about-visual-num {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.about-visual-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 0.95;
}
.about-visual-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
@media (max-width: 968px) {
  .about-block-v2 { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .about-block-v2-stats { grid-template-columns: repeat(2, 1fr); }
  .about-block-v2-visual { min-height: 240px; }
  .about-visual-num { font-size: 64px; }
}

/* ---------- Blog Grid V2 (Real Product Image Cards) ---------- */
.blog-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card-v2 {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.blog-card-v2:hover {
  border-color: var(--brand);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.blog-card-v2-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.blog-card-v2-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s var(--ease-out);
}
.blog-card-v2:hover .blog-card-v2-thumb img {
  transform: scale(1.06);
}
.blog-card-v2-emoji {
  font-size: 80px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
  transition: transform 0.4s var(--ease-out);
}
.blog-card-v2-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-v2-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-card-v2-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(20,184,166,0.12);
  padding: 3px 10px;
  border-radius: 4px;
}
.blog-card-v2-date {
  font-size: 12px;
  color: var(--text-muted);
}
.blog-card-v2-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.blog-card-v2-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.blog-card-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: gap 0.2s;
}
.blog-card-v2-link:hover { gap: 10px; }
@media (max-width: 768px) { .blog-grid-v2 { grid-template-columns: 1fr; } }

/* ---------- V2 Newsletter ---------- */
.newsletter-v2 {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-v2::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--brand-glow), transparent);
  border-radius: 50%;
}
.newsletter-v2-content { position: relative; z-index: 1; }
.newsletter-v2-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.newsletter-v2-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.newsletter-v2-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-v2-input {
  flex: 1;
  height: 50px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s;
}
.newsletter-v2-input:focus { outline: none; border-color: var(--brand); }
.newsletter-v2-btn {
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}
.newsletter-v2-btn:hover { background: var(--brand-dark); }
@media (max-width: 600px) {
  .newsletter-v2 { padding: 32px 24px; }
  .newsletter-v2-form { flex-direction: column; }
}

/* ---------- V2 Slider Enhancement ---------- */
.slider-v2-wrap { position: relative; }
.slider-v2-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.slider-v2-track::-webkit-scrollbar { display: none; }
.slider-v2-track .slider-item {
  flex: 0 0 280px;
  max-width: 280px;
}
.slider-v2-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text);
  z-index: 10;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.slider-v2-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.slider-v2-prev { left: -22px; }
.slider-v2-next { right: -22px; }
@media (max-width: 768px) {
  .slider-v2-btn { display: none; }
  .slider-v2-track .slider-item { flex: 0 0 200px; max-width: 200px; }
}
