/* ============================================================
   ULTRA-MODERN THEME — Artisan Marketplace
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg:          #f8f7f4;
  --bg-alt:      #ffffff;
  --text:        #0c0a09;
  --text-2:      #57534e;
  --text-3:      #a8a29e;
  --primary:     #1a1a2e;
  --accent:      #e85d26;
  --accent-2:    #f59e0b;
  --accent-3:    #10b981;
  --border:      #e7e5e4;
  --border-2:    #d6d3d1;
  --card:        #ffffff;
  --shadow-xs:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:   0 4px 6px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md:   0 10px 30px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.04);
  --shadow-lg:   0 25px 60px rgba(0,0,0,.12), 0 10px 20px rgba(0,0,0,.06);
  --shadow-xl:   0 40px 80px rgba(0,0,0,.16);
  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;
  --transition:  all .28s cubic-bezier(.4,0,.2,1);
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-sans); }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border-2);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ── Typography helpers ── */
.serif      { font-family: var(--font-serif); }
.text-muted { color: var(--text-2) !important; }
.text-faint { color: var(--text-3) !important; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main.page-main { padding: 2rem 0 4rem; }

/* ── Section header ── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 3rem 0 1.25rem;
  gap: 1rem;
}

.section-header .left .eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .3rem;
}

.section-header .left h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--text);
  line-height: 1.2;
}

.section-header .view-all {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
  transition: var(--transition);
  padding: .4rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
}

.section-header .view-all:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(2px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .88rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  line-height: 1;
  text-decoration: none;
}

.btn-dark {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232,93,38,.3);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(232,93,38,.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,93,38,.45);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-2);
}

.btn-lg {
  padding: .8rem 1.8rem;
  font-size: .95rem;
}

.btn-sm {
  padding: .35rem .85rem;
  font-size: .8rem;
}

.w-100 { width: 100%; justify-content: center; }

/* ============================================================
   TOPBAR / NAVIGATION
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(231,229,228,.7);
  transition: var(--transition);
}

.topbar.scrolled {
  box-shadow: var(--shadow-sm);
}

/* Brand */
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.3px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Search box */
.searchbox {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  transition: var(--transition);
}

.searchbox:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26,26,46,.07);
}

.searchbox input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: .9rem;
  color: var(--text);
  font-family: var(--font-sans);
}

.searchbox input::placeholder { color: var(--text-3); }

.search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: .35rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-sans);
}

.search-btn:hover {
  background: var(--accent);
  transform: scale(1.02);
}

/* Icon buttons */
.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-2);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8f7f4;
  transform: translateY(-1px);
}

.icon-btn .badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Category chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  color: var(--text-2);
  font-size: .82rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.chip:hover,
.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.chip i { font-size: .85rem; }

/* Dropdown */
.dropdown-menu {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  background: #fff;
}

.dropdown-item {
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--bg);
  color: var(--primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0c0a09 0%, #1a1a2e 50%, #0f3460 100%);
  padding: 4rem 3rem;
  min-height: 440px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(232,93,38,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 20%, rgba(245,158,11,.12) 0%, transparent 50%),
    radial-gradient(ellipse 30% 40% at 80% 80%, rgba(16,185,129,.1) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(232,93,38,.15);
  border: 1px solid rgba(232,93,38,.3);
  border-radius: var(--radius-full);
  padding: .35rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fbb37c;
  margin-bottom: 1.25rem;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.8); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Hero floating stat cards */
.hero-stats {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stat-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  min-width: 160px;
  transition: var(--transition);
}

.hero-stat-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateX(-4px);
}

.hero-stat-card .stat-icon {
  font-size: 1rem;
  margin-bottom: .4rem;
  opacity: .7;
}

.hero-stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-card .stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  margin-top: .3rem;
  font-weight: 500;
}

/* Hero feature pills */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

.hero-pill i { font-size: .8rem; }

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.marquee-wrap {
  background: var(--primary);
  padding: .65rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0 2rem;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
}

.marquee-item .sep {
  color: var(--accent);
  font-size: 1rem;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2.5rem 0;
}

.trust-item {
  background: var(--card);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}

.trust-item .ti-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.trust-item .ti-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
}

.trust-item .ti-desc {
  font-size: .78rem;
  color: var(--text-3);
  margin-top: .15rem;
}

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.categories-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .85rem;
  margin: 2.5rem 0;
}

.category-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
  padding: 1.25rem .75rem;
  text-decoration: none;
}

.category-tile:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-tile .cat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.category-tile:hover .cat-icon {
  transform: scale(1.12) rotate(-5deg);
}

.category-tile .cat-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}

.category-tile .cat-count {
  font-size: .72rem;
  color: var(--text-3);
  margin-top: -.4rem;
}

/* Per-category icon colors */
.cat-pottery   .cat-icon { background: #fff7ed; color: #c2410c; }
.cat-textile   .cat-icon { background: #f0fdf4; color: #15803d; }
.cat-jewelry   .cat-icon { background: #fdf4ff; color: #9333ea; }
.cat-woodcraft .cat-icon { background: #fffbeb; color: #b45309; }
.cat-painting  .cat-icon { background: #eff6ff; color: #2563eb; }

/* ============================================================
   PRODUCT CARDS  (shared — home + shop)
   ============================================================ */
.product-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.product-card:hover .product-img img {
  transform: scale(1.07);
}

.product-card:hover .card-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Image wrapper */
.product-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f1ede8;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-3);
  background: linear-gradient(135deg, #f5f5f0, #ede8e0);
}

/* Badges overlay */
.product-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .6rem;
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.badge-trending {
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  color: #fff;
}

.badge-new {
  background: linear-gradient(135deg, var(--accent-3), #059669);
  color: #fff;
}

.badge-ai {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
}

.badge-oos {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: var(--radius-full);
}

/* Wishlist button */
.wishlist-btn {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--text-3);
  cursor: pointer;
  transition: var(--transition);
}

.wishlist-btn:hover {
  background: #fff;
  color: #ef4444;
  transform: scale(1.1);
}

/* Hover action buttons on image */
.card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .75rem;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  display: flex;
  gap: .4rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 2;
}

.card-action-btn {
  flex: 1;
  padding: .55rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  text-decoration: none;
}

.card-action-btn.primary {
  background: #fff;
  color: var(--primary);
}

.card-action-btn.primary:hover {
  background: var(--accent);
  color: #fff;
}

.card-action-btn.secondary {
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}

.card-action-btn.secondary:hover {
  background: rgba(255,255,255,.35);
}

/* Card body */
.product-body {
  padding: .9rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .3rem;
}

.product-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title-link { color: inherit; text-decoration: none; }
.product-title-link:hover .product-title { color: var(--accent); }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
}

.product-price .currency {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-2);
  margin-right: .1rem;
}

/* Star rating (home page) */
.product-rating {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-2);
}

.product-rating i { color: var(--accent-2); font-size: .8rem; }

/* Stock indicator (shop page) */
.product-stock {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
}

.product-stock.in-stock { color: #10b981; }
.product-stock.oos      { color: var(--text-3); }

/* AI dot on image corner */
.ai-dot {
  position: absolute;
  bottom: .7rem;
  right: .7rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 6px rgba(0,0,0,.25);
  z-index: 3;
}

/* AI status pill in card body */
.ai-status-bar {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .55rem;
  padding: .2rem .55rem;
  border-radius: var(--radius-full);
  font-size: .68rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--ai-color) 12%, transparent);
  color: var(--ai-color);
  border: 1px solid color-mix(in srgb, var(--ai-color) 25%, transparent);
  letter-spacing: .02em;
}

/* ============================================================
   HOME PAGE — PRODUCT GRIDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

/* Scrollable row variant */
.scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-row::-webkit-scrollbar { display: none; }

.scroll-row .product-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

/* ============================================================
   AI FEATURE BANNER
   ============================================================ */
.ai-banner {
  background: linear-gradient(135deg, #0c0a09, #1a1a2e);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}

.ai-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(124,58,237,.2), transparent);
}

.ai-banner-content { position: relative; z-index: 1; }

.ai-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--radius-full);
  padding: .3rem .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: .85rem;
}

.ai-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .6rem;
}

.ai-banner p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.65;
}

.ai-features-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  min-width: 260px;
}

.ai-feature-pill {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  transition: var(--transition);
}

.ai-feature-pill:hover {
  background: rgba(255,255,255,.1);
  transform: scale(1.02);
}

.ai-feature-pill .icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(79,70,229,.4));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: #c4b5fd;
}

.ai-feature-pill .name {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.ai-feature-pill .desc {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  margin-top: .1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.7);
  padding: 2rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  font-size: .82rem;
}

.footer-links a {
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-copy { font-size: .78rem; }

/* ============================================================
   ANIMATIONS & UTILITIES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up   { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .05s; }
.fade-up-2 { animation-delay: .12s; }
.fade-up-3 { animation-delay: .19s; }
.fade-up-4 { animation-delay: .26s; }

/* Skeleton shimmer */
.skeleton {
  background: linear-gradient(90deg, #f0ede8 25%, #e8e4de 50%, #f0ede8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   SHOP PAGE
   ============================================================ */

.shop-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Shop top bar ── */
.shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 0 .85rem;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: .85rem;
}

.shop-topbar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
}

.shop-topbar-sub {
  font-size: .8rem;
  color: var(--text-3);
  margin-top: .1rem;
}

.reset-link { color: var(--accent); font-weight: 600; }

/* Sort pills */
.sort-bar {
  display: flex;
  gap: .45rem;
  align-items: center;
  flex-wrap: wrap;
}

.sort-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .85rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--card);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--transition);
  text-decoration: none;
}

.sort-pill:hover { border-color: var(--primary); color: var(--primary); }

.sort-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Active filter chips ── */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .85rem;
  padding: .65rem .85rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}

.af-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  background: var(--bg);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
}

.af-remove {
  color: var(--text-3);
  display: flex;
  align-items: center;
  transition: var(--transition);
  margin-left: .1rem;
  text-decoration: none;
}

.af-remove:hover { color: #ef4444; }

.af-clear {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
  color: #ef4444;
  transition: var(--transition);
  margin-left: auto;
  text-decoration: none;
}

.af-clear:hover { background: #ef4444; color: #fff; border-color: #ef4444; }

/* ══════════════════════════════════════════
   SHOP BODY LAYOUT
   Desktop  → sidebar column + products column
   ≤ 991px  → sidebar is off-canvas (fixed),
               products take full width
   ══════════════════════════════════════════ */
.shop-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  /* sidebar leaves the grid flow entirely */
  .shop-body {
    display: block;
  }
}

/* ══════════════════════════════════════════
   FILTER SIDEBAR
   ══════════════════════════════════════════ */

/* Desktop: sticky within grid column */
.filter-sidebar {
  position: sticky;
  top: 148px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: calc(100vh - 168px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) transparent;
}

/* Mobile: off-canvas drawer */
@media (max-width: 991px) {
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 85vw);
    max-height: 100dvh;
    z-index: 1050;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    transform: translateX(-110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    background: var(--card);
  }

  .filter-sidebar.open {
    transform: translateX(0);
  }
}

/* Overlay behind off-canvas */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1040;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.sidebar-overlay.show { display: block; }

/* Sidebar header (sticky inside scroll) */
.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1.5px solid var(--border);
  font-weight: 800;
  font-size: .9rem;
  background: var(--bg);
  color: var(--text);
  letter-spacing: -.2px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.filter-sidebar-inner { padding: 0; }

.filter-close {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  padding: .3rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.filter-close:hover { background: var(--border); color: var(--text); }

/* Filter sections */
.filter-section {
  padding: 1rem 1.1rem;
  border-bottom: 1.5px solid var(--border);
}

.filter-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: .65rem;
}

/* Search inside filter */
.filter-search-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem .75rem;
  transition: var(--transition);
}

.filter-search-wrap:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,26,46,.07);
}

.filter-search-wrap i {
  color: var(--text-3);
  font-size: .85rem;
  flex-shrink: 0;
}

.filter-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: .85rem;
  font-family: var(--font-sans);
  color: var(--text);
  width: 100%;
}

.filter-input::placeholder { color: var(--text-3); }

/* Category radio options */
.cat-options {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.cat-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
  border: 1.5px solid transparent;
  user-select: none;
}

.cat-option input[type="radio"] { display: none; }

.cat-option:hover { background: var(--bg); color: var(--text); }

.cat-option.active {
  background: var(--bg);
  border-color: var(--border-2);
  color: var(--text);
  font-weight: 700;
}

.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Price presets */
.price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}

.price-preset {
  padding: .3rem .65rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--transition);
  background: var(--bg);
  text-decoration: none;
}

.price-preset:hover { border-color: var(--primary); color: var(--primary); }

.price-preset.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Price custom inputs */
.price-inputs {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.price-field {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .4rem .65rem;
  transition: var(--transition);
}

.price-field:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.price-sym {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-3);
  flex-shrink: 0;
  margin-right: .25rem;
}

.price-sep {
  color: var(--text-3);
  font-weight: 600;
  flex-shrink: 0;
}

/* Filter select */
.filter-select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem .75rem;
  font-size: .85rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  cursor: pointer;
  appearance: auto;
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,26,46,.07);
}

/* Filter action buttons */
.filter-actions {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* ══════════════════════════════════════════
   PRODUCTS AREA (shop page)
   ══════════════════════════════════════════ */
.products-area { min-width: 0; }

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
}

.empty-state .empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .5rem;
}

.empty-state p {
  color: var(--text-3);
  margin-bottom: 1.5rem;
  font-size: .9rem;
}

/* Load-more hint */
.load-more-wrap {
  margin-top: 2rem;
  text-align: center;
}

.load-more-hint {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.5rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .82rem;
  color: var(--text-2);
  font-weight: 500;
}

.load-more-hint a {
  color: var(--accent);
  font-weight: 700;
  margin-left: .3rem;
}

/* ============================================================
   DASHBOARD SHARED STYLES
   ============================================================ */
.dash-topbar {
  height: 64px;
  background: linear-gradient(90deg, #0b1220, #111827);
  color: #fff;
  display: flex;
  align-items: center;
}

.dash-shell { min-height: calc(100vh - 64px); }

.sidebar {
  width: 290px;
  background: var(--primary);
  color: #cbd5e1;
}

.sidebar .section {
  font-size: .72rem;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 1rem .9rem .5rem;
  letter-spacing: .06em;
}

.sidebar a {
  color: #cbd5e1;
  padding: .7rem .9rem;
  border-radius: 14px;
  display: flex;
  gap: .7rem;
  align-items: center;
  margin: .2rem .6rem;
  transition: var(--transition);
  text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(255,255,255,.10);
  color: #fff;
}

/* KPI cards */
.kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

.kpi .label {
  color: var(--text-2);
  font-size: .85rem;
}

.kpi .value {
  font-size: 1.6rem;
  font-weight: 900;
  margin-top: .2rem;
}

.kpi .hint {
  color: var(--text-3);
  font-size: .8rem;
}

/* Table wrap */
.table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Trust strip */
@media (max-width: 700px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Category tiles */
@media (max-width: 900px) {
  .categories-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 540px) {
  .categories-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Home product grid */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
}

/* Shop product grid */
@media (max-width: 700px) {
  .shop-products-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}

@media (max-width: 400px) {
  .shop-products-grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
}

/* Hero */
@media (max-width: 992px) {
  .hero { padding: 2.5rem 2rem; min-height: auto; }
  .hero-stats { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 2rem 1.5rem; border-radius: var(--radius-lg); }
  .hero h1 { font-size: 1.8rem; }
}

/* Section header */
@media (max-width: 640px) {
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* AI banner */
@media (max-width: 992px) {
  .ai-banner { grid-template-columns: 1fr; padding: 2rem; }
  .ai-features-grid { grid-template-columns: repeat(4, 1fr); min-width: auto; }
}

@media (max-width: 640px) {
  .ai-banner { padding: 1.5rem; border-radius: var(--radius-lg); }
  .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Nav chips scrollable on mobile */
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
/* ── Product Card ─────────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

/* Image wrapper - fixed aspect ratio */
.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;        /* square crop */
  overflow: hidden;
  background: #f8f8f8;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* fills the square */
  object-position: center;
  transition: transform .4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

/* Placeholder when no image */
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  min-height: 180px;
}

/* Category badge on image */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Product text body */
.product-body {
  padding: .85rem .9rem .5rem;
  flex: 1;
}

.product-name {
  font-size: .88rem;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .3rem;
}

.product-artisan {
  font-size: .72rem;
  color: #888;
  margin-bottom: .4rem;
}

.product-artisan i {
  margin-right: .2rem;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
}

/* Footer button area */
.product-footer {
  padding: .6rem .9rem .9rem;
}

/* Section title row */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #f0f0f0;
}

.section-title h5 {
  margin: 0;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Fade-up animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp .5s ease forwards;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .product-name  { font-size: .82rem; }
  .product-price { font-size: .95rem; }
}
/* ════════════════════════════════════════
   HERO CARD
════════════════════════════════════════ */
.hero-card {
  background: linear-gradient(160deg, #fff 55%, #f0f9ff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 24px;
}

/* Eyebrow label */
.hero-eyebrow {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: .3rem .9rem;
  border-radius: 20px;
}

/* Pulsing green dot */
.live-dot-wrap {
  display: inline-flex;
  align-items: center;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1;  transform: scale(1);   }
  50%       { opacity: .4; transform: scale(1.5); }
}

/* Heading */
.hero-heading {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;
}

/* Blue underline accent */
.hero-highlight {
  color: #2563eb;
  position: relative;
  display: inline-block;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 4px;
  opacity: .4;
}

/* Sub paragraph */
.hero-sub {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.65;
}

/* Trust pills */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .74rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: .28rem .75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

/* ════════════════════════════════════════
   FEATURE GLASS BOX
════════════════════════════════════════ */
.feature-glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
  border-radius: 20px;
  padding: 1.4rem;
  color: #fff;
  box-shadow:
    0 25px 60px rgba(37, 99, 235, .35),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

/* Background glow orbs */
.feature-glass::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: rgba(99, 102, 241, .4);
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
}
.feature-glass::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -30px;
  width: 150px; height: 150px;
  background: rgba(16, 185, 129, .3);
  border-radius: 50%;
  filter: blur(45px);
  pointer-events: none;
}

/* Header */
.feature-glass-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.feature-glass-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.feature-glass-title {
  font-size: .9rem;
  font-weight: 700;
}
.feature-glass-sub {
  font-size: .68rem;
  opacity: .5;
  margin-top: .1rem;
}

/* Live badge */
.feature-live-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #86efac;
  background: rgba(134,239,172,.12);
  border: 1px solid rgba(134,239,172,.28);
  border-radius: 20px;
  padding: .2rem .6rem;
  flex-shrink: 0;
}

/* Divider */
.feature-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 1rem 0;
  position: relative;
  z-index: 1;
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  z-index: 1;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem .65rem;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .2s ease, border-color .2s ease;
  cursor: default;
}
.feature-row:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
}

/* Coloured icon — uses CSS custom props */
.feature-icon-wrap {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--fb);
  color: var(--fc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.feature-row-body {
  flex: 1;
  min-width: 0;
}
.feature-row-title {
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feature-row-desc {
  font-size: .65rem;
  opacity: .48;
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status badge */
.feature-row-badge {
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--bc);
  border: 1px solid var(--bc);
  border-radius: 20px;
  padding: .14rem .42rem;
  flex-shrink: 0;
  opacity: .85;
}

/* Progress footer */
.feature-glass-footer {
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}
.feature-progress-track {
  height: 5px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  overflow: hidden;
}
.feature-progress-fill {
  height: 100%;
  width: 0;                        /* animated to 98% */
  background: linear-gradient(90deg, #34d399, #60a5fa);
  border-radius: 10px;
  animation: grow-bar 2s ease forwards;
}
@keyframes grow-bar {
  from { width: 0;   }
  to   { width: 98%; }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 576px) {
  .hero-heading       { font-size: 1.7rem; }
  .feature-row-desc   { display: none; }   /* save space on mobile */
  .feature-glass      { padding: 1.1rem; }
}