/* ════════════════════════════════════════════════════
   BraidsTribe  –  E-commerce Website Styles
   ════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --primary:      #FC46AA;
  --primary-dk:   #d63a90;
  --primary-lt:   #ff6ec4;
  --secondary:    #9A67EA;
  --deal:         #FF3D57;
  --deal-bg:      #FFF0F2;
  --new-badge:    #FC46AA;
  --star:         #f59e0b;
  --bg:           #f8f8f8;
  --surface:      #ffffff;
  --border:       #e5e5e5;
  --text-1:       #1a1a1a;
  --text-2:       #555;
  --text-3:       #999;
  --container:    1260px;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06);
  --shadow:       0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 30px rgba(0,0,0,.12);
  --header-h:     70px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }
input, select { font-family: inherit; font-size: inherit; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dk); }
.btn-registered, .btn-registered:hover {
  background: #28a745 !important;
  color: #fff !important;
  cursor: default;
  opacity: 0.85;
}
.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 800;
}
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); }

/* ════════════════════════════════════════
   ANNOUNCEMENT BAR
════════════════════════════════════════ */
.announce-bar {
  background: var(--text-1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.announce-bar a { color: var(--primary-lt); text-decoration: underline; font-weight: 700; }
.announce-close {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  padding: 0 4px;
  line-height: 1;
  position: absolute;
  right: 20px;
}
.announce-close:hover { color: #fff; }
.announce-bar.hidden { display: none; }

/* ════════════════════════════════════════
   SITE HEADER
════════════════════════════════════════ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.logo span {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: 8px;
  transition: all .15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-1); background: var(--bg); }
.nav-link.active { color: var(--primary); font-weight: 700; }
.nav-link.deal-link { color: var(--deal); }
.nav-link.deal-link:hover { background: var(--deal-bg); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-1);
  transition: background .15s;
}
.icon-btn:hover { background: var(--bg); }

/* Dashboard header button (shown when signed in) */
.dashboard-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s, transform .15s;
}
.dashboard-header-btn:hover { opacity: .88; transform: translateY(-1px); }
@media (max-width: 480px) {
  .dashboard-header-btn { padding: 7px 10px; font-size: 12px; gap: 4px; }
  .dashboard-header-btn svg { display: none; }
}

.get-app-btn {
  display: none; /* shown on desktop */
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  background: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-1);
  flex-shrink: 0;
}

/* Dashboard-consistent toggle class for landing header */
.mobile-menu-toggle {
  border: none;
  background: none;
  padding: 8px;
  cursor: pointer;
  color: #333;
}

/* Search Dropdown */
.search-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  background: #fff;
  border-bottom: 1px solid transparent;
}
.search-dropdown.open {
  max-height: 80px;
  border-bottom-color: var(--border);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  margin: 12px 0;
  transition: border-color .2s;
}
.search-field:focus-within { border-color: var(--primary); }
.search-field svg { flex-shrink: 0; }
#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-1);
}
#search-input::placeholder { color: var(--text-3); }
.search-close-btn {
  font-size: 20px;
  color: var(--text-3);
  padding: 0 4px;
  display: none;
}
.search-dropdown.open .search-close-btn { display: block; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
/* ── App Hero ── */
.app-hero {
  background: linear-gradient(135deg, #1a0a2e 0%, #3d1155 50%, #FC46AA22 100%);
  padding: 72px 0 60px;
  overflow: hidden;
  position: relative;
}
.app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(252,70,170,.18) 0%, transparent 65%);
  pointer-events: none;
}
.app-hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
}
.app-hero-text {
  flex: 1;
  color: #fff;
}
.app-hero-tag {
  display: inline-block;
  background: rgba(252,70,170,.25);
  border: 1px solid rgba(252,70,170,.5);
  color: #FC46AA;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.app-hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 18px;
  color: #fff;
}
.app-hero-text p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  margin: 0 0 28px;
  max-width: 440px;
}
.app-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.app-hero-stat { display: flex; flex-direction: column; }
.app-hero-stat strong { font-size: 22px; font-weight: 800; color: #fff; }
.app-hero-stat span { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.app-hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }
.app-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.app-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.app-store-btn:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.app-store-btn div { display: flex; flex-direction: column; line-height: 1.3; }
.app-store-btn div span { font-size: 10px; color: rgba(255,255,255,.65); }
.app-store-btn div strong { font-size: 15px; font-weight: 700; }
/* Phone frames */
.app-hero-phones {
  flex-shrink: 0;
  position: relative;
  width: 300px;
  height: 480px;
}
.phone-frame {
  position: absolute;
  width: 220px;
  height: 440px;
  background: #1a1a2e;
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,.15);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-frame-back {
  left: 60px;
  top: 40px;
  transform: rotate(6deg);
  opacity: .7;
  z-index: 1;
}
.phone-frame-front {
  left: 0;
  top: 0;
  transform: rotate(-3deg);
  z-index: 2;
  border-color: rgba(252,70,170,.4);
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(252,70,170,.2), 0 0 40px rgba(252,70,170,.15);
}
.phone-notch {
  width: 80px;
  height: 22px;
  background: #0d0d1a;
  border-radius: 0 0 16px 16px;
  margin-bottom: 4px;
  flex-shrink: 0;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  flex: 1;
  overflow: hidden;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
@media (max-width: 860px) {
  .app-hero-inner { flex-direction: column; text-align: center; padding: 0; gap: 36px; }
  .app-hero-text h1 { font-size: 32px; }
  .app-hero-text p { margin: 0 auto 24px; }
  .app-hero-stats { justify-content: center; }
  .app-hero-btns { justify-content: center; }
  .app-hero-phones { width: 260px; height: 380px; }
  .phone-frame { width: 180px; height: 360px; }
  .phone-frame-back { left: 50px; top: 30px; }
}

/* ─────────────────────────────────────
   OLD HERO SLIDER (kept for reference)
───────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-track {
  display: flex;
  transition: transform .5s ease;
}
.hero-slide {
  flex: 0 0 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 0;
  width: 100%;
}
.hero-text {
  flex: 1;
  color: #fff;
  min-width: 0;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.hero-text h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.hero-text p {
  font-size: 16px;
  line-height: 1.6;
  opacity: .9;
  margin-bottom: 28px;
  max-width: 440px;
}
.hero-img {
  flex-shrink: 0;
  width: 320px;
  height: 320px;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.35); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: all .3s;
  cursor: pointer;
}
.hdot.active {
  width: 28px;
  border-radius: 5px;
  background: #fff;
}

/* ════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════ */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-item svg { flex-shrink: 0; }
.trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
}
.trust-item span {
  font-size: 12px;
  color: var(--text-3);
}

/* ════════════════════════════════════════
   SECTIONS
════════════════════════════════════════ */
.section {
  padding: 48px 0;
}
.section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-1);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-header h2 {
  font-size: 22px;
  font-weight: 800;
}
.link-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: opacity .15s;
  white-space: nowrap;
}
.link-btn:hover { opacity: .7; }

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cd-label { font-size: 12px; color: var(--text-3); margin-right: 4px; }
.cd-digit {
  background: var(--deal);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 3px 7px;
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: center;
}
.cd-sep { color: var(--text-3); font-weight: 800; }

/* ════════════════════════════════════════
   FLASH DEALS ROW
════════════════════════════════════════ */
.deals-section { background: #fff; }
.flash-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.flash-row::-webkit-scrollbar { height: 4px; }
.flash-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.flash-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  flex: 1;
}

.flash-card {
  flex: 0 0 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.flash-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.flash-card-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg);
}
.flash-card-img img { width: 100%; height: 100%; object-fit: cover; }
.flash-discount {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--deal);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
}
.flash-card-body {
  padding: 10px 12px 14px;
}
.flash-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.flash-card-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--deal);
}
.flash-card-orig {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: line-through;
  margin-left: 6px;
}

/* ════════════════════════════════════════
   CATEGORY CARDS
════════════════════════════════════════ */
.categories-section { background: #fff; border-top: 1px solid var(--border); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  transition: all .2s;
  border: 2px solid transparent;
}
.cat-card:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateY(-2px);
}
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-card span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
}

/* ════════════════════════════════════════
   PRODUCTS SECTION
════════════════════════════════════════ */
.products-section { background: var(--bg); }
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.products-header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.products-header h2 {
  font-size: 26px;
  font-weight: 800;
}
.product-count {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 600;
}
.products-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Filter Pills */
.filter-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border: 1.5px solid var(--border);
  background: #fff;
  transition: all .15s;
  white-space: nowrap;
}
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: #fff;
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--primary); }

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 0;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg);
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  cursor: pointer;
}
.product-card:hover .card-img { transform: scale(1.06); }

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  color: #fff;
  z-index: 2;
}
.card-badge.deal { background: var(--deal); }
.card-badge.new-badge { background: var(--new-badge); top: auto; bottom: 10px; }

.card-save {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ccc;
  transition: all .15s;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.card-save:hover { color: var(--primary); }
.card-save.saved { color: var(--primary); }

.card-body {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.card-stars { color: var(--star); letter-spacing: -1px; }
.card-rating-val { color: var(--text-2); font-weight: 600; }
.card-review-cnt { color: var(--text-3); }

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--deal);
}
.card-price.no-sale { color: var(--text-1); }
.card-orig-price {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: line-through;
}

/* Load More */
.load-more-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 32px auto 0;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  text-align: center;
  transition: all .2s;
}
.load-more-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Empty State */
.products-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px;
  text-align: center;
}
.products-empty p { font-size: 16px; font-weight: 600; color: var(--text-2); }

/* ════════════════════════════════════════
   HOME AUTH SECTION
════════════════════════════════════════ */
.home-auth-section {
  padding: 56px 0;
  background: linear-gradient(135deg, #fdf5f9 0%, #f8f0ff 50%, #f0f7ff 100%);
  border-top: 1px solid rgba(252,70,170,.1);
  border-bottom: 1px solid rgba(252,70,170,.1);
}

/* Two-column panel */
.home-auth-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  padding: 48px;
}

.home-auth-left h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-1);
  margin: 10px 0 20px;
  line-height: 1.3;
}

.home-auth-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-auth-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

/* Form side */
.home-auth-form-wrap {
  background: #fafafa;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid #f0f0f0;
}

.home-auth-tabs {
  display: flex;
  gap: 6px;
  background: #eee;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 22px;
}

.home-auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  border-radius: 7px;
  transition: all .2s;
}

.home-auth-tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.home-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.h-form-group {
  flex: 1;
}

.h-form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text-1);
  transition: border-color .2s;
  box-sizing: border-box;
}

.h-form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.h-form-row {
  display: flex;
  gap: 10px;
}

.h-form-error {
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #f5c6c6;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
}

.h-auth-switch {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin: 0;
}

.h-auth-switch a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.h-auth-terms {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin: 0;
}

.h-auth-terms a { color: var(--primary); text-decoration: none; }

/* Welcome panel (signed in) */
.home-auth-welcome {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  padding: 24px 32px;
}

.home-welcome-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}

.home-welcome-text { flex: 1; }

.home-welcome-greeting {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 4px;
}

.home-welcome-text p:last-child {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.home-welcome-links {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Auth wall on classes page */
.auth-wall-section {
  padding: 32px 0;
}

.auth-wall-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1.5px solid rgba(252,70,170,.15);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(252,70,170,.07);
}

.auth-wall-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf5f9, #f0f7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.auth-wall-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 10px;
}

.auth-wall-card p {
  font-size: 14px;
  color: #888;
  margin: 0 0 24px;
  max-width: 360px;
}

.auth-wall-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .home-auth-panel {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }
  .home-auth-welcome {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .home-welcome-links { justify-content: center; }
}

/* ════════════════════════════════════════
   APP CTA
════════════════════════════════════════ */
.app-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 64px 0;
}
.app-cta-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.app-cta-text {
  flex: 1;
  color: #fff;
}
.app-cta-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.app-cta-text p {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.6;
}
.app-store-btns {
  display: flex;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s;
}
.store-badge:hover { background: rgba(255,255,255,.25); }

.app-cta-visual {
  flex-shrink: 0;
}
.app-cta-visual img {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: var(--text-1);
  color: rgba(255,255,255,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  transition: background .2s, transform .2s;
}
.footer-socials a:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
}
.footer-logo span {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 24px;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,.4);
}

/* ════════════════════════════════════════
   MOBILE MENU
════════════════════════════════════════ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  z-index: 1200;
  transition: left .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobile-menu.open { left: 0; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-header .logo span { font-size: 18px; }
.mobile-close {
  font-size: 28px;
  color: var(--text-2);
  padding: 0 4px;
  line-height: 1;
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.mm-link {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  transition: background .12s;
}
.mm-link:hover { background: var(--bg); }
.mm-link.deal { color: var(--deal); }
.mm-link.deal-link { color: var(--deal); font-weight: 700; }
.mm-section-label {
  padding: 10px 24px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
}
.mm-link.mm-auth-link { 
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  margin: 8px 16px;
  border-radius: 8px;
  text-align: center;
}
.mm-link.mm-auth-link:hover { opacity: 0.9; }
.mm-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ════════════════════════════════════════
   SPINNER (legacy)
════════════════════════════════════════ */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════
   SHIMMER SKELETON LOADERS
════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.shimmer-line {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 6px;
}
.skeleton-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.skeleton-card .skel-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease infinite;
}
.skeleton-card .skel-body { padding: 14px 12px 18px; }
.skeleton-card .skel-title {
  height: 14px;
  width: 80%;
  margin-bottom: 10px;
}
.skeleton-card .skel-rating {
  height: 12px;
  width: 50%;
  margin-bottom: 10px;
}
.skeleton-card .skel-price {
  height: 16px;
  width: 35%;
}

/* Review skeleton */
.skeleton-review {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.skeleton-review .skel-stars { height: 14px; width: 40%; margin-bottom: 14px; }
.skeleton-review .skel-msg1 { height: 12px; width: 100%; margin-bottom: 8px; }
.skeleton-review .skel-msg2 { height: 12px; width: 90%; margin-bottom: 8px; }
.skeleton-review .skel-msg3 { height: 12px; width: 60%; margin-bottom: 18px; }
.skeleton-review .skel-footer { display: flex; align-items: center; gap: 10px; }
.skeleton-review .skel-avatar {
  width: 36px; height: 36px; border-radius: 50%;
}
.skeleton-review .skel-name { height: 12px; width: 80px; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-text h1 { font-size: 38px; }
  .hero-img { width: 260px; height: 260px; }
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .get-app-btn { display: flex; }
}

/* Mobile */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  :root { --header-h: 56px; }
  .header-inner { gap: 8px; }
  .logo img { width: 28px; height: 28px; }
  .logo span { font-size: 18px; }
  .header-actions { gap: 0; }
  .icon-btn { width: 36px; height: 36px; }
  .cart-icon-btn { position: relative; }

  .announce-bar { font-size: 11px; padding: 6px 0; }
  .announce-close { display: none; }

  /* Hero */
  .hero-slide { min-height: 300px; }
  .hero-content { flex-direction: column; gap: 24px; padding: 32px 0; text-align: center; }
  .hero-text h1 { font-size: 28px; }
  .hero-text p { font-size: 14px; margin: 0 auto 20px; }
  .hero-img { width: 180px; height: 180px; }
  .hero-arrow { display: none; }

  /* Trust bar */
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-item { gap: 8px; }

  /* Categories */
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-icon { width: 48px; height: 48px; }

  /* Flash */
  .flash-card { flex: 0 0 150px; }

  /* Products */
  .section { padding: 32px 0; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .products-header-right { width: 100%; }
  .filter-pills { width: 100%; overflow-x: auto; }
  .products-header h2 { font-size: 22px; }

  .card-body { padding: 10px 10px 12px; }
  .card-name { font-size: 13px; }
  .card-price { font-size: 16px; }
  .card-badge { top: 6px; left: 6px; font-size: 10px; padding: 3px 7px; }

  /* App CTA */
  .app-cta { padding: 40px 0; }
  .app-cta-inner { flex-direction: column; text-align: center; gap: 24px; }
  .app-cta-text h2 { font-size: 24px; }
  .app-cta-text p { margin: 0 auto 20px; }
  .app-store-btns { justify-content: center; }
  .app-cta-visual img { width: 80px; height: 80px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px 24px; }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .get-app-btn { display: flex; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1400px) {
  .products-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ════════════════════════════════════════
   SECTION TAG (shared)
════════════════════════════════════════ */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(252,70,170,.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ════════════════════════════════════════
   STATS STRIP
════════════════════════════════════════ */
.stats-strip {
  background: var(--text-1);
  padding: 32px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 40px;
  text-align: center;
}
.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: .3px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .stats-inner { gap: 0; }
  .stat-item { padding: 12px 24px; }
  .stat-num { font-size: 26px; }
  .stat-divider { height: 36px; }
}

/* ════════════════════════════════════════
   ABOUT / MISSION
════════════════════════════════════════ */
.about-section { background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-inner { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.about-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.2;
  margin: 0;
}
@media (min-width: 900px) { .about-text h2 { font-size: 42px; } }
.about-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.6;
  margin: 0;
}
.about-body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin: 0;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px;
}
.about-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(252,70,170,.08);
  border: 1px solid rgba(252,70,170,.2);
  padding: 5px 14px;
  border-radius: 20px;
}

/* Visual collage */
.about-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-card-1 {
  width: 260px;
  height: 340px;
  top: 0;
  left: 0;
}
.about-card-2 {
  width: 200px;
  height: 260px;
  bottom: 0;
  right: 0;
  border: 4px solid #fff;
}
.about-badge {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  border-radius: 16px;
  padding: 12px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(252,70,170,.4);
  white-space: nowrap;
}
.about-badge-num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.about-badge-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: .85;
  margin-top: 2px;
}
@media (max-width: 899px) {
  .about-visual { height: 300px; }
  .about-card-1 { width: 180px; height: 240px; }
  .about-card-2 { width: 150px; height: 190px; }
}

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.how-section { background: var(--bg); }
.how-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.how-header h2 { font-size: 34px; font-weight: 800; color: var(--text-1); margin: 8px 0 12px; }
.how-header p  { font-size: 16px; color: var(--text-2); margin: 0; }
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  gap: 16px;
}
.how-step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  opacity: .6;
}
.how-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 2px solid rgba(252,70,170,.12);
}
.how-step h3 { font-size: 17px; font-weight: 700; color: var(--text-1); margin: 0; }
.how-step p  { font-size: 14px; color: var(--text-2); line-height: 1.7; margin: 0; }
.how-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(252,70,170,.3), rgba(154,103,234,.3));
  margin-top: 53px; /* align with center of icons */
  border-radius: 2px;
}
@media (max-width: 700px) {
  .how-steps { flex-direction: column; align-items: center; gap: 32px; }
  .how-connector { width: 2px; height: 32px; margin: 0; }
  .how-header h2 { font-size: 26px; }
}

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features-section { background: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 0;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(252,70,170,.1);
  background: #fff;
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

/* ════════════════════════════════════════
   REVIEWS / TESTIMONIALS
════════════════════════════════════════ */
.reviews-section { background: var(--bg); }

.reviews-summary {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.reviews-avg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.reviews-avg-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-1);
  line-height: 1;
}
.reviews-avg-stars {
  display: flex;
  gap: 3px;
}
.reviews-count {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
}

.reviews-carousel {
  display: flex;
  gap: 24px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  min-width: 0;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(252,70,170,.15);
}

.review-stars {
  display: flex;
  gap: 2px;
}
.review-stars svg {
  width: 16px;
  height: 16px;
}

.review-message {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
}
.review-date {
  font-size: 12px;
  color: var(--text-3);
}
.review-verified {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.reviews-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all .2s;
}
.reviews-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(252,70,170,.04);
}
.reviews-dots {
  display: flex;
  gap: 8px;
}
.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.reviews-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .review-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
  .review-card { flex: 0 0 100%; }
  .reviews-avg-num { font-size: 36px; }
}

/* ════════════════════════════════════════════════════
   "Get" Button on Product Cards
════════════════════════════════════════════════════ */
.card-get-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 0;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .1s;
  letter-spacing: .3px;
  text-align: center;
  text-decoration: none;
  line-height: normal;
}
.card-get-btn:hover {
  background: var(--primary-dk);
  transform: scale(1.02);
}
.card-get-btn:active { transform: scale(.97); }

/* Make product-card a clickable div (not <a>) */
.product-card { cursor: pointer; text-decoration: none; color: inherit; }
.flash-card { cursor: pointer; }

/* ════════════════════════════════════════════════════
   QUICK-VIEW MODAL (Temu-inspired)
════════════════════════════════════════════════════ */
.qv-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.qv-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.qv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.qv-content {
  position: relative;
  z-index: 1;
  display: flex;
  background: #fff;
  border-radius: 16px;
  max-width: 860px;
  width: 92vw;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: qvSlideUp .3s ease;
}
@keyframes qvSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Close button */
.qv-close {
  position: absolute;
  top: 12px; right: 14px;
  z-index: 10;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-1);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: transform .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qv-close:hover { transform: scale(1.1); }

/* Gallery side */
.qv-gallery {
  position: relative;
  flex: 0 0 50%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.qv-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qv-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s;
}
.qv-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  color: #fff;
}
.qv-badge.deal { background: var(--deal); }
.qv-badge.new-badge { background: var(--new-badge); top: auto; bottom: 14px; }

/* Gallery arrows */
.qv-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(255,255,255,.85);
  border: none; border-radius: 50%;
  font-size: 24px; line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: background .15s;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
}
.qv-prev { left: 10px; }
.qv-next { right: 10px; }
.qv-arrow:hover { background: #fff; }

/* Dots */
.qv-dots {
  display: flex; gap: 6px;
  padding: 10px 0 6px;
  justify-content: center;
}
.qv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.qv-dot.active { background: var(--primary); transform: scale(1.25); }

/* Thumbnails */
.qv-thumbs {
  display: flex; gap: 8px;
  padding: 4px 12px 12px;
  overflow-x: auto;
}
.qv-thumb {
  width: 54px; height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
  flex-shrink: 0;
}
.qv-thumb.active { border-color: var(--primary); }
.qv-thumb:hover { border-color: var(--primary-lt); }

/* Info side */
.qv-info {
  flex: 1;
  padding: 28px 28px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qv-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.qv-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  margin: 0;
}
.qv-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.qv-stars { color: var(--star); letter-spacing: -1px; }
.qv-rating-val { font-weight: 600; color: var(--text-2); }
.qv-review-cnt { color: var(--text-3); }
.qv-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.qv-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--deal);
}
.qv-orig-price {
  font-size: 15px;
  color: var(--text-3);
  text-decoration: line-through;
}
.qv-save-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--deal);
  background: var(--deal-bg);
  padding: 3px 8px;
  border-radius: 4px;
}
.qv-variations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}
.qv-attr-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: capitalize;
  width: 100%;
  margin-bottom: 2px;
}
.qv-var-pill {
  font-size: 12px;
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  color: var(--text-2);
  background: #fff;
  transition: border-color .15s;
}
.qv-var-pill:hover { border-color: var(--primary); }
.qv-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

/* "Get" button in modal */
.qv-get-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .1s;
  margin-top: auto;
}
.qv-get-btn:hover { background: var(--primary-dk); transform: scale(1.01); }
.qv-get-btn:active { transform: scale(.98); }
.qv-get-btn svg { flex-shrink: 0; }

/* Action row – Get + Share side-by-side */
.qv-action-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.qv-action-row .qv-get-btn {
  flex: 1;
  margin-top: 0;
}
.qv-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .1s;
  flex-shrink: 0;
}
.qv-share-btn:hover { background: rgba(252,70,170,.07); transform: scale(1.01); }
.qv-share-btn:active { transform: scale(.97); }
.qv-share-btn svg { flex-shrink: 0; }

.qv-app-hint {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  margin: 0;
}



/* ── Quick-View Responsive ── */
@media (max-width: 700px) {
  .qv-content {
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    top: auto;
    animation: qvSlideUpMobile .3s ease;
  }
  @keyframes qvSlideUpMobile {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
  .qv-modal { align-items: flex-end; }
  .qv-gallery { flex: 0 0 auto; max-height: 45vh; }
  .qv-img-wrap { aspect-ratio: auto; max-height: 40vh; }
  .qv-info { padding: 20px 20px 24px; }
  .qv-name { font-size: 17px; }
  .qv-price { font-size: 22px; }
  .qv-thumbs { display: none; }
}

/* ════════════════════════════════════════
   HOMEPAGE DYNAMIC SECTIONS
════════════════════════════════════════ */

/* Section Intro */
.section-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-intro .section-tag {
  display: inline-block;
  background: rgba(252, 70, 170, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}

.section-intro p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.section-empty {
  text-align: center;
  color: var(--text-3);
  padding: 2rem;
  font-size: 0.9375rem;
}

/* Popular Styles Gallery */
.popular-styles-section {
  padding: 4rem 0;
  background: var(--surface);
}

.styles-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.style-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.style-item:hover {
  transform: scale(1.02);
}

.style-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.style-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2rem 0.75rem 0.75rem;
}

/* Featured Stylists */
.featured-stylists-section {
  padding: 4rem 0;
  background: var(--bg);
}

.featured-stylists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.featured-stylist-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-stylist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fs-photo {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  overflow: hidden;
}

.fs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fs-avatar-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.fs-verified {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #10B981;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.fs-info {
  padding: 1rem;
}

.fs-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-location {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fs-rating .star {
  color: #ddd;
  font-size: 0.75rem;
}

.fs-rating .star.filled {
  color: var(--star);
}

.fs-rating span {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-left: 4px;
}

/* Upcoming Classes */
.upcoming-classes-section {
  padding: 4rem 0;
  background: var(--surface);
}

.upcoming-classes-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.upcoming-class-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.upcoming-class-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.uc-date {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.uc-month {
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.uc-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.uc-info {
  flex: 1;
  min-width: 0;
}

.uc-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.25rem;
}

.uc-meta {
  font-size: 0.8125rem;
  color: var(--text-3);
}

.uc-free {
  color: #10B981;
  font-weight: 600;
}

.uc-action .btn-sm {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
}

/* Community Highlights */
.community-highlights-section {
  padding: 4rem 0;
  background: var(--bg);
}

.community-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.community-highlight-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.community-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ch-image {
  height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.ch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch-content {
  padding: 1.25rem;
}

.ch-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.ch-text {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ch-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ch-author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.ch-author span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
}

/* Loading spinner for sections */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--text-3);
  grid-column: 1 / -1;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-spinner p {
  margin-top: 1rem;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .styles-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .featured-stylists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .community-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .styles-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-stylists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .community-highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .upcoming-class-card {
    gap: 1rem;
    padding: 1rem;
  }
  
  .uc-date {
    width: 52px;
    height: 52px;
  }
  
  .uc-day {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .styles-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .featured-stylists-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .popular-styles-section,
  .featured-stylists-section,
  .upcoming-classes-section,
  .community-highlights-section {
    padding: 3rem 0;
  }
}

/* ════════════════════════════════════════
   SHEIN-STYLE REDESIGN — NEW COMPONENTS
════════════════════════════════════════ */

/* ── Inline Header Search ── */
.header-inner { gap: 16px; }
.header-search-wrap {
  flex: 1;
  max-width: 520px;
}
.header-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 9px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.header-search-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(252,70,170,.1);
}
.header-search-field input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-1);
}
.header-search-field input::placeholder { color: var(--text-3); }

/* ── Category Navigation Bar ── */
.cat-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 800;
  overflow: hidden;
}
.cat-nav-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-link {
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  text-decoration: none;
}
.cat-nav-link:hover { color: var(--text-1); }
.cat-nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.cat-nav-link.deal-link { color: var(--deal); font-weight: 700; }

/* ── Shop Hero ── */
.shop-hero {
  background: #f0f0f0;
  padding: 16px 0;
}
.shop-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: 460px;
  gap: 8px;
}
.hero-main-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a0a2e;
}
.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease, opacity .25s ease;
}
.hero-main-banner:hover .hero-main-img { transform: scale(1.03); }
.hero-main-banner.hero-class-loading .hero-main-img { opacity: 0; }
.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,5,20,.78) 0%, rgba(10,5,20,.38) 55%, transparent 100%);
}
.hero-main-content {
  position: absolute;
  top: 50%;
  left: 44px;
  transform: translateY(-50%);
  color: #fff;
  max-width: 340px;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-main-content h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 12px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-main-content p {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  margin: 0 0 24px;
}
.hero-main-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-shimmer-line {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.34) 50%, rgba(255,255,255,.16) 100%);
  background-size: 220% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}
.hero-shimmer-line + .hero-shimmer-line { margin-top: 8px; }
.hero-shimmer-line-lg { width: 92%; height: 16px; }
.hero-shimmer-line-md { width: 78%; height: 16px; }
.hero-shimmer-line-sm { width: 68%; }
.hero-main-banner:not(.hero-class-loading) .hero-shimmer-line { display: none; }
.hero-class-loading #hero-class-title,
.hero-class-loading #hero-class-meta {
  color: transparent;
  text-shadow: none;
}
.hero-shop-btn-skeleton {
  min-width: 190px;
  color: transparent !important;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.98) 50%, rgba(255,255,255,.76) 100%);
  background-size: 220% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}
.hero-shop-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: background .2s, transform .15s;
  text-decoration: none;
}
.hero-shop-btn:hover { background: var(--primary-dk); transform: translateY(-2px); }
.hero-shop-btn.hero-shop-btn-skeleton {
  color: transparent !important;
  background: linear-gradient(90deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.98) 50%, rgba(255,255,255,.76) 100%);
  background-size: 220% 100%;
}
.hero-side-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.hero-side-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #2a1a4e;
}
.hero-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.hero-side-tile:hover .hero-tile-img { transform: scale(1.06); }
.hero-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.68) 0%, rgba(0,0,0,.08) 60%);
}
.hero-tile-content {
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: #fff;
}
.hero-tile-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  margin-bottom: 4px;
}
.hero-tile-content strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}
.hero-tile-link {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.18);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.35);
  display: inline-block;
  transition: background .2s;
}
.hero-side-tile:hover .hero-tile-link { background: rgba(255,255,255,.32); }

/* ── Shop by Category Tiles ── */
.cat-tiles-section {
  padding: 36px 0 28px;
  background: #fff;
}
.cat-tiles-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-1);
}
.cat-tiles {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cat-tiles::-webkit-scrollbar { display: none; }
.cat-tile {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform .2s;
}
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  transition: box-shadow .2s, transform .2s;
}
.cat-tile:hover .cat-tile-icon {
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transform: scale(1.06);
}
.cat-tile span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
}

/* ── Promo Banner Strip ── */
.promo-strip {
  padding: 32px 0;
  background: var(--bg);
}
.promo-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promo-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  align-items: flex-end;
  min-height: 190px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-card-1 { background: linear-gradient(135deg, #1a0a2e 0%, #9A67EA 100%); }
.promo-card-2 { background: linear-gradient(135deg, #2d0a3e 0%, #FC46AA 100%); }
.promo-card-3 { background: linear-gradient(135deg, #1a0a2e 0%, #FC46AA 100%); }
.promo-card-text { position: relative; z-index: 1; }
.promo-card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.promo-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.1;
  color: #fff;
}
.promo-card p {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin: 0 0 14px;
}
.promo-card-link {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.18);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.35);
  display: inline-block;
  transition: background .2s;
}
.promo-card:hover .promo-card-link { background: rgba(255,255,255,.32); }

/* ── Section title spacing improvement ── */
.products-section .products-header { margin-bottom: 20px; }

/* ════════════════════════════════════════
   RESPONSIVE — new components
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .shop-hero-grid {
    grid-template-columns: 1fr 260px;
    grid-template-rows: 360px;
  }
  .hero-main-content h1 { font-size: 32px; }
  .hero-main-content { left: 28px; }
}

@media (max-width: 768px) {
  .header-search-wrap { display: none; }

  .shop-hero { padding: 8px 0; }
  .shop-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 128px;
  }
  .hero-main-content { left: 20px; max-width: 240px; }
  .hero-main-content h1 { font-size: 24px; }
  .hero-main-content p { display: none; }
  .hero-main-ctas {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hero-main-ctas .hero-shop-btn {
    justify-content: center;
    width: 100%;
  }
  .hero-side-col {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
  }
  .hero-tile-content strong { font-size: 13px; }

  .cat-tiles-title { font-size: 17px; }

  .promo-strip-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .promo-card { min-height: 110px; padding: 18px 20px; }
  .promo-card h3 { font-size: 17px; }

  .cat-tiles-3 { grid-template-columns: 1fr; gap: 12px; }
  .cat-tile-large { min-height: 180px; }
}

/* ── 3-Column Category Photo Tiles ── */
.cat-tiles-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat-tile-large {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  width: 100%;
  transition: transform .25s, box-shadow .25s;
}
.cat-tile-large:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-tile-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
}
.cat-tile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 240px;
  transition: transform .45s ease;
}
.cat-tile-large:hover .cat-tile-img-wrap img { transform: scale(1.06); }
.cat-tile-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  border-radius: var(--radius-lg);
}
.cat-tile-large-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px 18px;
  z-index: 2;
  text-align: left;
}
.cat-tile-large-text strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  line-height: 1.2;
}
.cat-tile-large-text span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.8);
  margin-top: 3px;
  font-weight: 500;
}
@media (max-width: 900px) {
  .cat-tiles-3 { grid-template-columns: 1fr 1fr; }
  .cat-tiles-3 .cat-tile-large:last-child {
    grid-column: span 2;
  }
}

/* ════════════════════════════════════════
   HOMEPAGE LIVE SECTIONS
════════════════════════════════════════ */

/* ── Shared section header row ── */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}
.section-title {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--text-1);
}
.section-sub {
  font-size: 14px;
  color: var(--text-3);
  margin: 0;
}
.section-view-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s;
}
.section-view-all:hover { opacity: .7; }

/* ── Featured Stylists ── */
.home-stylists-section { background: var(--bg); padding: 48px 0; }
.home-stylists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.featured-stylist-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--border);
}
.featured-stylist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fs-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.featured-stylist-card:hover .fs-photo img { transform: scale(1.05); }
.fs-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}
.fs-verified {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-info { padding: 14px; }
.fs-info h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.fs-location { font-size: 12px; color: var(--text-3); margin: 0 0 6px; }
.fs-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.fs-rating .star { color: #ccc; font-size: 13px; }
.fs-rating .star.filled { color: #f5a623; }
.hs-skeleton {
  background: var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 0.85;
  animation: shimmer 1.4s ease-in-out infinite;
}

/* ── Braiding Classes (home) ── */
.home-classes-section { background: var(--bg-2); padding: 48px 0; }
.home-classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.uc-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.uc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.uc-card-img {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.uc-card-img .uc-card-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
}
.uc-card-img-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.uc-card-header {
  background: linear-gradient(135deg, #1a0a2e 0%, #9A67EA 100%);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 90px;
}
.uc-card-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 8px 14px;
  backdrop-filter: blur(4px);
  min-width: 52px;
}
.uc-card-month { font-size: 10px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.8); letter-spacing: .08em; }
.uc-card-day   { font-size: 28px; font-weight: 900; color: #fff; line-height: 1.1; }
.uc-card-dow   { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.7); }
.uc-card-type {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.uc-card-type.virtual   { background: rgba(100,200,255,.2); color: #a8e6ff; border: 1px solid rgba(100,200,255,.3); }
.uc-card-type.inperson  { background: rgba(255,200,100,.2); color: #ffd080; border: 1px solid rgba(255,200,100,.3); }
.uc-card-free {
  font-size: 11px;
  font-weight: 800;
  background: #4ECDC4;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.uc-card-body { padding: 18px 18px 12px; flex: 1; }
.uc-card-title { font-size: 16px; font-weight: 800; margin: 0 0 8px; color: var(--text-1); line-height: 1.3; }
.uc-card-time  { font-size: 12px; color: var(--text-3); margin: 0 0 8px; }
.uc-card-desc  { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.5; }
.uc-card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.uc-card-host { display: flex; align-items: center; gap: 8px; min-width: 0; }
.uc-card-host span { font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-host-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.uc-host-initials {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.uc-card-price { font-size: 15px; font-weight: 800; color: var(--text-1); flex-shrink: 0; }
.uc-card-price.free { color: #4ECDC4; }
.uc-skeleton {
  background: var(--border);
  border-radius: var(--radius-lg);
  height: 220px;
  animation: shimmer 1.4s ease-in-out infinite;
}
.uc-skeleton:nth-child(2) { animation-delay: .2s; }
.uc-skeleton:nth-child(3) { animation-delay: .4s; }
@media (max-width: 900px) {
  .home-classes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .home-classes-grid { grid-template-columns: 1fr; }
}

/* ── DIY Videos ── */
.home-diy-section { background: var(--bg); padding: 48px 0; }
.home-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ── Community Care (home) ── */
.home-community-care {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 229, 201, 0.8) 0%, rgba(255, 229, 201, 0) 45%),
    radial-gradient(circle at 88% 22%, rgba(255, 205, 214, 0.58) 0%, rgba(255, 205, 214, 0) 42%),
    linear-gradient(135deg, #fffaf4 0%, #fff2f6 55%, #fff9f1 100%);
  padding: 70px 0;
}

.home-cc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.home-cc-copy,
.home-cc-panel {
  border-radius: 22px;
  border: 1px solid rgba(32, 32, 32, 0.08);
  box-shadow: 0 18px 34px rgba(43, 22, 13, 0.08);
}

.home-cc-copy {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  padding: 34px;
}

.home-cc-lead {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #1c1a18;
}

.home-cc-text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #524941;
  max-width: 56ch;
}

.home-cc-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.home-cc-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eddcc9;
  color: #5e4733;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.home-cc-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.home-cc-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #3d2e22;
  font-weight: 700;
  background: #fff;
  border: 1px solid #e6d6c6;
  transition: background .2s ease, transform .2s ease;
}

.home-cc-secondary:hover {
  background: #fff6ee;
  transform: translateY(-1px);
}

.home-cc-panel {
  background: linear-gradient(160deg, #ffffff 0%, #fff7ef 100%);
  padding: 28px 24px;
}

.home-cc-panel-title {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #8a6142;
  font-weight: 800;
}

.home-cc-steps {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.home-cc-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #f0e2d4;
}

.home-cc-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9f66, #ff6f88);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.home-cc-step-title {
  margin: 2px 0 2px;
  font-size: 14px;
  font-weight: 800;
  color: #26211d;
}

.home-cc-step-text {
  margin: 0;
  font-size: 13px;
  color: #635246;
  line-height: 1.5;
}

.home-cc-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-cc-metric {
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f2e5d8;
  text-align: center;
}

.home-cc-metric strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: #21150f;
}

.home-cc-metric span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #765f4d;
  font-weight: 600;
}

/* ccare-card (shared between dashboard + landing) */
.ccare-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid #f0f0f0;
}
.ccare-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(252,70,170,0.08), rgba(154,103,234,0.08));
  overflow: hidden;
}
.ccare-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ccare-fallback {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(252,70,170,0.08), rgba(154,103,234,0.08));
}
.ccare-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(252,70,170,0.4);
}
.ccare-gradient-header {
  padding: 20px 20px 16px;
  background: linear-gradient(to bottom, #FFF1F4, #ffffff);
  border-bottom: 1px solid #f0f0f0;
}
.ccare-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #888;
  text-transform: uppercase;
}
.ccare-body {
  padding: 18px 20px 20px;
  background: rgba(252,70,170,0.04);
}
.ccare-title {
  font-size: 16px;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.ccare-desc { font-size: 13px; color: #777; line-height: 1.55; margin: 0; }
.ccare-tagline-box {
  background: #F8F9FA;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--primary);
  font-style: italic;
  line-height: 1.45;
  margin-top: 10px;
}
.ccare-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ccare-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.ccare-chip:hover { opacity: 0.8; }
.ccare-green  { background: rgba(76,175,80,0.12);  color: #2e7d32; }
.ccare-pink   { background: rgba(252,70,170,0.12); color: var(--primary); }
.ccare-purple { background: rgba(156,39,176,0.12); color: #7b1fa2; }

@media (max-width: 860px) {
  .home-community-care { padding: 54px 0; }
  .home-cc-shell { grid-template-columns: 1fr; }
  .home-cc-copy,
  .home-cc-panel {
    padding: 22px;
    border-radius: 18px;
  }
  .home-cc-lead { font-size: 18px; }
}
.hv-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.hv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hv-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #1a1a2e;
  overflow: hidden;
}
.hv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.hv-card:hover .hv-thumb img { transform: scale(1.06); }
.hv-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.25);
  transition: background .2s;
}
.hv-card:hover .hv-play { background: rgba(0,0,0,.45); }
.hv-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}
.hv-info { padding: 12px 14px; }
.hv-info h4 { font-size: 13px; font-weight: 700; margin: 0; line-height: 1.35; }
.hv-skeleton {
  background: var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  animation: shimmer 1.4s ease-in-out infinite;
}
.hv-skeleton:nth-child(2) { animation-delay: .15s; }
.hv-skeleton:nth-child(3) { animation-delay: .3s; }
.hv-skeleton:nth-child(4) { animation-delay: .45s; }

/* ── Community ── */
/* ── Community Banner (full-width) ── */
.home-community-banner {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 55%, var(--primary-lt) 100%);
  padding: 72px 0;
  overflow: hidden;
  position: relative;
}
.home-community-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.community-banner-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
}
.community-banner-text {
  flex: 1;
  color: #fff;
}
.community-banner-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin: 0 0 12px;
}
.community-banner-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.18;
  margin: 0 0 14px;
  color: #fff;
}
.community-banner-sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  max-width: 500px;
  margin: 0 0 28px;
}
.community-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: var(--primary-dk);
  font-weight: 800;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.community-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.24);
}
.community-banner-stats {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 260px;
}
.cb-stat {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
}
.cb-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.cb-stat span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  line-height: 1.3;
}
@media (max-width: 860px) {
  .home-community-banner { padding: 54px 0; }
  .community-banner-inner { flex-direction: column; text-align: center; gap: 32px; }
  .community-banner-sub { margin: 0 auto 24px; }
  .community-banner-title { font-size: 26px; }
  .community-banner-stats { min-width: unset; width: 100%; max-width: 340px; margin: 0 auto; }
}
.home-community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.community-highlight-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.community-highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ch-image { width: 100%; aspect-ratio: 4/3; overflow: hidden; flex-shrink: 0; }
.ch-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.community-highlight-card:hover .ch-image img { transform: scale(1.05); }
.ch-content { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ch-type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.ch-text { font-size: 14px; color: var(--text-2); line-height: 1.5; margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ch-author { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.ch-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ch-author span { font-size: 12px; font-weight: 600; color: var(--text-2); }
.hc-skeleton {
  background: var(--border);
  border-radius: var(--radius-lg);
  min-height: 220px;
  animation: shimmer 1.4s ease-in-out infinite;
}
.hc-skeleton:nth-child(2) { animation-delay: .2s; }
.hc-skeleton:nth-child(3) { animation-delay: .4s; }

/* shimmer keyframes (shared) */
@keyframes shimmer {
  0%   { opacity: 1; }
  50%  { opacity: .45; }
  100% { opacity: 1; }
}

/* ── Responsive: homepage live sections ── */
@media (max-width: 1024px) {
  .home-stylists-grid { grid-template-columns: repeat(3, 1fr); }
  .home-videos-grid   { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .home-stylists-grid { grid-template-columns: repeat(2, 1fr); }
  .home-videos-grid   { grid-template-columns: repeat(2, 1fr); }
  .home-community-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 20px; }
}
@media (max-width: 480px) {
  .home-stylists-grid { grid-template-columns: 1fr 1fr; }
  .home-community-grid { grid-template-columns: 1fr; }
  .home-videos-grid { grid-template-columns: 1fr 1fr; }
}
