/* ============================================================
   SHOPVIBE MARKETPLACE - PREMIUM STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --primary: #0d0d2b;
  --primary-light: #1a1a4e;
  --accent: #f5a623;
  --accent-dark: #d4880a;
  --accent-light: #fff3d0;
  --secondary: #00c2cb;
  --gradient: linear-gradient(135deg, #0d0d2b 0%, #1e1e6e 50%, #0d0d2b 100%);
  --gradient-accent: linear-gradient(135deg, #f5a623 0%, #ff6b35 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(13,13,43,0.04) 100%);
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-400: #a8a8a8;
  --gray-500: #6b6b6b;
  --gray-600: #4a4a4a;
  --gray-800: #1a1a1a;
  --success: #00b894;
  --danger: #e74c3c;
  --warning: #f39c12;
  --info: #3498db;
  --shadow-sm: 0 2px 8px rgba(13,13,43,0.08);
  --shadow-md: 0 8px 32px rgba(13,13,43,0.12);
  --shadow-lg: 0 20px 60px rgba(13,13,43,0.18);
  --shadow-xl: 0 40px 100px rgba(13,13,43,0.25);
  --shadow-accent: 0 8px 32px rgba(245,166,35,0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-main {
  background: var(--white);
  height: var(--nav-height);
  box-shadow: 0 1px 0 rgba(13,13,43,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-main.scrolled {
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.95);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-dot {
  width: 10px; height: 10px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: inline-block;
}

.nav-logo span { color: var(--accent); }

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.search-wrapper input {
  width: 100%;
  height: 44px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  padding: 0 50px 0 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--gray-800);
}

.search-wrapper input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.12);
}

.search-wrapper .search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  background: var(--gradient-accent);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.search-wrapper .search-btn:hover { transform: translateY(-50%) scale(1.08); box-shadow: var(--shadow-accent); }

.nav-actions { display: flex; align-items: center; gap: 6px; }

.nav-action-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
}

.nav-action-btn:hover { background: var(--gray-100); color: var(--primary); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--gradient);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  padding: 8px 0;
  font-family: var(--font-body);
}

.topbar a { color: var(--accent); font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ============================================================
   CATEGORY NAV BAR
   ============================================================ */
.cat-navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-navbar::-webkit-scrollbar { display: none; }

.cat-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  padding: 0 16px;
}

.cat-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.cat-nav-item:hover, .cat-nav-item.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.cat-nav-item i { font-size: 1rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: var(--gradient);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--secondary);
  bottom: -150px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px; height: 200px;
  background: white;
  top: 50px; left: 40%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245,166,35,0.5);
  color: white;
}

.btn-outline-hero {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-hero:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  color: white;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stat { text-align: left; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* Hero Image Cards */
.hero-products-preview {
  position: relative;
  height: 420px;
  display: none;
}

@media (min-width: 992px) { .hero-products-preview { display: block; } }

.hero-product-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: heroCardFloat 4s ease-in-out infinite;
}

.hero-product-card:nth-child(1) { top: 20px; right: 40px; width: 220px; animation-delay: 0s; }
.hero-product-card:nth-child(2) { top: 160px; right: 180px; width: 200px; animation-delay: 1.5s; }
.hero-product-card:nth-child(3) { top: 300px; right: 60px; width: 210px; animation-delay: 0.8s; }

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-product-card img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }
.hero-product-card .hpc-name { font-size: 0.8rem; font-weight: 600; color: var(--primary); line-height: 1.3; }
.hero-product-card .hpc-price { font-size: 0.85rem; font-weight: 700; color: var(--accent); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-block {}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.section-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  transition: var(--transition);
}

.section-see-all:hover { gap: 10px; color: var(--accent-dark); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card-img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-100);
}

.product-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-img-wrapper img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge-offer { background: var(--danger); color: white; }
.badge-new { background: var(--success); color: white; }
.badge-hot { background: var(--gradient-accent); color: white; }
.badge-sale { background: var(--primary); color: white; }

.product-wishlist {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
}

.product-card:hover .product-wishlist { opacity: 1; transform: scale(1); }
.product-wishlist:hover { background: #ffe3e3; color: var(--danger); transform: scale(1.1) !important; }
.product-wishlist i { font-size: 0.85rem; color: var(--gray-400); }

.product-quick-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,13,43,0.9), transparent);
  padding: 20px 12px 12px;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 3;
}

.product-card:hover .product-quick-actions { transform: translateY(0); }

.btn-view-product {
  width: 100%;
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-view-product:hover { transform: scale(1.02); box-shadow: var(--shadow-accent); color: white; }

.product-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.stars { color: #ffd700; font-size: 0.75rem; }
.rating-count { font-size: 0.72rem; color: var(--gray-400); }

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price-original {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-discount-badge {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* ============================================================
   FILTERS SIDEBAR
   ============================================================ */
.filters-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 20px;
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}

.filters-panel-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.filter-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.filter-option:hover { color: var(--primary); }

.filter-option input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.price-range-inputs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.price-range-inputs input {
  width: 100%;
  height: 38px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.price-range-inputs input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.category-card:hover::before { opacity: 1; }

.category-card:hover .cat-icon,
.category-card:hover .cat-name,
.category-card:hover .cat-count { color: white !important; }

.cat-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.cat-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.cat-count {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 4px;
  display: block;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

/* ============================================================
   OFFER / COUNTDOWN BANNER
   ============================================================ */
.offer-banner {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  color: white;
}

.offer-banner::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: rgba(245,166,35,0.1);
  border-radius: 50%;
}

.offer-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.offer-banner-subtitle { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 24px; }

.countdown-timer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.countdown-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  text-align: center;
  min-width: 64px;
  backdrop-filter: blur(10px);
}

.countdown-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.countdown-label { font-size: 0.68rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* ============================================================
   BANNERS
   ============================================================ */
.mini-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.mini-banner-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.mini-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,43,0.85), rgba(13,13,43,0.4));
}

.mini-banner-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.mini-banner-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.mini-banner-sub { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }

/* ============================================================
   CAROUSEL HERO
   ============================================================ */
.hero-carousel .carousel-item { min-height: 520px; }
.hero-carousel .carousel-indicators button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  margin: 0 4px;
}

.hero-carousel .carousel-indicators button.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-gallery {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 1;
  margin-bottom: 12px;
  cursor: zoom-in;
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-main:hover img { transform: scale(1.04); }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-100);
}

.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info { padding: 0 0 0 20px; }

@media (max-width: 768px) { .product-detail-info { padding: 20px 0 0; } .product-detail-gallery { position: static; } }

.product-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.product-detail-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-detail-price .original { font-size: 1.1rem; color: var(--gray-400); text-decoration: line-through; margin-left: 12px; }
.product-detail-price .discount { font-size: 0.9rem; background: var(--accent-light); color: var(--accent-dark); padding: 4px 10px; border-radius: var(--radius-full); font-weight: 700; margin-left: 10px; }

.btn-buy-now {
  width: 100%;
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-accent);
  margin-bottom: 12px;
}

.btn-buy-now:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(245,166,35,0.45); color: white; }

.btn-share {
  width: 100%;
  background: transparent;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
  padding: 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-share:hover { border-color: var(--primary); color: var(--primary); }

.product-specs-table { width: 100%; border-collapse: collapse; }
.product-specs-table tr td { padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 0.88rem; }
.product-specs-table tr td:first-child { color: var(--gray-500); font-weight: 500; width: 40%; }
.product-specs-table tr td:last-child { color: var(--primary); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}

.footer-logo span { color: var(--accent); }

.footer-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }

.footer-social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social-btn:hover { background: var(--accent); color: white; border-color: var(--accent); transform: translateY(-2px); }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--accent); gap: 10px; }
.footer-links a::before { content: '→'; font-size: 0.7rem; opacity: 0; transition: var(--transition); }
.footer-links a:hover::before { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-input-group {
  display: flex;
  gap: 0;
  max-width: 380px;
}

.newsletter-input-group input {
  flex: 1;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: white;
  padding: 0 16px;
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input-group input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.12); }

.newsletter-input-group button {
  height: 44px;
  padding: 0 20px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-input-group button:hover { filter: brightness(1.1); }

/* ============================================================
   WHATSAPP & AI CHAT BUTTONS
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

.float-btn:hover { transform: scale(1.12); }

.float-btn .tooltip-label {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--gray-800);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.float-btn:hover .tooltip-label { opacity: 1; }

.float-btn-whatsapp { background: #25D366; color: white; }
.float-btn-ai { background: var(--gradient); color: white; border: 2px solid rgba(245,166,35,0.4); }

.float-btn .pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid;
  animation: pulse 2s infinite;
  opacity: 0;
}

.float-btn-whatsapp .pulse { border-color: #25D366; }
.float-btn-ai .pulse { border-color: var(--accent); }

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* AI CHAT WIDGET */
.ai-chat-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 360px;
  max-height: 540px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-widget.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.ai-chat-header {
  background: var(--gradient);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(245,166,35,0.2);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
}

.ai-chat-header-info {}
.ai-chat-header-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: white; }
.ai-chat-header-status { font-size: 0.72rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 4px; }
.ai-status-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; display: inline-block; }

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--gray-50);
}

.ai-chat-messages::-webkit-scrollbar { width: 4px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }

.chat-msg {
  display: flex;
  gap: 8px;
  max-width: 85%;
}

.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }

.chat-msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.chat-msg.bot .chat-msg-avatar { background: var(--primary); color: white; }
.chat-msg.user .chat-msg-avatar { background: var(--accent); color: white; }

.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.chat-msg.bot .chat-msg-bubble { background: white; color: var(--gray-800); border-radius: 4px 18px 18px 18px; box-shadow: var(--shadow-sm); }
.chat-msg.user .chat-msg-bubble { background: var(--gradient); color: white; border-radius: 18px 4px 18px 18px; }

.ai-chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 8px;
  align-items: center;
  background: white;
}

.ai-chat-input {
  flex: 1;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.84rem;
  font-family: var(--font-body);
  resize: none;
  transition: var(--transition);
  max-height: 80px;
  overflow-y: auto;
}

.ai-chat-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,166,35,0.12); }

.ai-send-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.ai-send-btn:hover { transform: scale(1.1); }

/* ============================================================
   TYPING INDICATOR
   ============================================================ */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
}

.typing-dot {
  width: 7px; height: 7px;
  background: var(--gray-400);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-6px); opacity: 1; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
}

.breadcrumb-section .breadcrumb {
  margin: 0;
  font-size: 0.8rem;
}

.breadcrumb-item + .breadcrumb-item::before { color: var(--gray-400); }
.breadcrumb-item.active { color: var(--gray-500); }
.breadcrumb-item a { color: var(--accent); font-weight: 500; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-custom .page-item .page-link {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm) !important;
  margin: 0 3px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  transition: var(--transition);
}

.pagination-custom .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: white; }
.pagination-custom .page-item .page-link:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-count-bar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.sort-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: white;
  cursor: pointer;
  transition: var(--transition);
}

.sort-select:focus { outline: none; border-color: var(--accent); }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state-icon { font-size: 4rem; color: var(--gray-300); margin-bottom: 16px; }
.empty-state-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--gray-600); margin-bottom: 8px; }
.empty-state-text { font-size: 0.88rem; color: var(--gray-400); }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.trust-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.trust-title { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--primary); }
.trust-sub { font-size: 0.75rem; color: var(--gray-400); }

/* ============================================================
   MOBILE FILTER DRAWER
   ============================================================ */
.offcanvas-filters .offcanvas-header { background: var(--primary); color: white; }
.offcanvas-filters .offcanvas-title { font-family: var(--font-display); }
.offcanvas-filters .btn-close { filter: invert(1); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.section-padding { padding: 56px 0; }
.section-padding-sm { padding: 32px 0; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.shadow-accent { box-shadow: var(--shadow-accent) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 576px) {
  .hero-section { min-height: 420px; }
  .hero-content { padding: 40px 0; }
  .offer-banner { padding: 24px; }
  .floating-buttons { bottom: 16px; right: 16px; }
  .ai-chat-widget { width: calc(100vw - 32px); right: 16px; }
  .search-wrapper { max-width: 100%; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .hero-stats { gap: 20px; }
  .product-detail-info { padding: 0; }
  .trust-item { flex-direction: column; text-align: center; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.5s ease forwards; }

.product-card { animation: fadeInUp 0.4s ease both; }

/* Stagger for product grids */
.product-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.product-grid .product-card:nth-child(2) { animation-delay: 0.1s; }
.product-grid .product-card:nth-child(3) { animation-delay: 0.15s; }
.product-grid .product-card:nth-child(4) { animation-delay: 0.2s; }
.product-grid .product-card:nth-child(5) { animation-delay: 0.25s; }
.product-grid .product-card:nth-child(6) { animation-delay: 0.3s; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.product-video-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-800);
  margin-top: 16px;
}

.product-video-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   ADMIN PANEL STYLES (Minimal inline for login)
   ============================================================ */
.admin-login-page {
  min-height: 100vh;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
}
