/* ============================================
   COVERSVILLA - COMPLETE STATIC FRONTEND CSS
   Multi-Vendor Marketplace for Mobile Accessories
   Cloudflare Pages Deployment v1.0
   ============================================ */
/* ===== CSS VARIABLES ===== */
:root {
  --cv-primary: #222222;
  --cv-primary-light: #283593;
  --cv-primary-dark: #0d1137;
  --cv-accent: #ff6f00;
  --cv-accent-light: #ff8f00;
  --cv-accent-dark: #e65100;
  --cv-success: #00c853;
  --cv-success-bg: #e8f5e9;
  --cv-danger: #d32f2f;
  --cv-danger-bg: #ffebee;
  --cv-warning: #ff9800;
  --cv-info: #0288d1;
  --cv-text: #212121;
  --cv-text-secondary: #616161;
  --cv-text-muted: #9e9e9e;
  --cv-border: #e0e0e0;
  --cv-border-light: #f0f0f0;
  --cv-bg: #f5f6fa;
  --cv-bg-white: #ffffff;
  --cv-bg-dark: #0d1137;
  --cv-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --cv-shadow-md: 0 4px 15px rgba(0,0,0,0.08);
  --cv-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --cv-shadow-xl: 0 15px 50px rgba(0,0,0,0.15);
  --cv-radius-sm: 8px;
  --cv-radius-md: 12px;
  --cv-radius-lg: 16px;
  --cv-radius-xl: 20px;
  --cv-font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --cv-font-display: 'Poppins', sans-serif;
  --cv-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --cv-container: 1200px;
}
/* Main content area */
.cv-main { min-height: 60vh; }
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--cv-font);
  color: var(--cv-text);
  background: var(--cv-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--cv-primary); text-decoration: none; transition: var(--cv-transition); }
a:hover { color: var(--cv-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--cv-font-display); font-weight: 700; line-height: 1.3; }
/* ===== CONTAINER ===== */
.cv-container { max-width: var(--cv-container); margin: 0 auto; padding: 0 20px; }
/* ===== BUTTONS ===== */
.cv-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; font-weight: 600; font-size: 14px;
  border-radius: var(--cv-radius-sm); transition: var(--cv-transition);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  white-space: nowrap; justify-content: center;
}
.cv-btn-primary { background: var(--cv-accent); color: #fff; border-color: var(--cv-accent); }
.cv-btn-primary:hover { background: var(--cv-accent-dark); border-color: var(--cv-accent-dark); color:#fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255,111,0,0.4); }
.cv-btn-secondary { background: var(--cv-primary); color: #fff; border-color: var(--cv-primary); }
.cv-btn-secondary:hover { background: var(--cv-primary-dark); border-color: var(--cv-primary-dark); color:#fff; transform: translateY(-2px); }
.cv-btn-outline { background: transparent; color: var(--cv-primary); border-color: var(--cv-primary); }
.cv-btn-outline:hover { background: var(--cv-primary); color: #fff; }
.cv-btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cv-btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; color:#fff; }
.cv-btn-white { background: #fff; color: var(--cv-primary); border-color: #fff; }
.cv-btn-white:hover { background: rgba(255,255,255,0.9); }
.cv-btn-success { background: var(--cv-success); color: #fff; }
.cv-btn-danger { background: var(--cv-danger); color: #fff; }
.cv-btn-sm { padding: 6px 16px; font-size: 12px; }
.cv-btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--cv-radius-md); }
.cv-btn-block { width: 100%; }
.cv-btn i { font-size: 13px; }
/* ===== TOP BAR ===== */
.cv-topbar {
  background: var(--cv-primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 12px; padding: 6px 0;
}
.cv-topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.cv-topbar-left { display: flex; gap: 20px; align-items: center; }
.cv-topbar-left a { color: rgba(255,255,255,0.8); font-size: 12px; }
.cv-topbar-left a:hover { color: var(--cv-accent); }
.cv-topbar-right { display: flex; gap: 16px; align-items: center; }
.cv-topbar-right a { color: rgba(255,255,255,0.8); font-size: 12px; }
.cv-topbar-right a:hover { color: #fff; }
/* ===== HEADER ===== */
.cv-header {
  background: var(--cv-primary);
  padding: 12px 0;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.cv-header-inner {
  display: flex; align-items: center; gap: 20px;
}
.cv-logo img { height: 44px; width: auto; }
.cv-logo { flex-shrink: 0; display: flex; align-items: center; }
/* Search Bar */
.cv-search {
  flex: 1; position: relative; max-width: 580px;
}
.cv-search-form {
  display: flex; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
  transition: var(--cv-transition);
}
.cv-search-form:focus-within { box-shadow: 0 0 0 3px var(--cv-accent); }
.cv-search-input {
  flex: 1; border: none; padding: 11px 16px; font-size: 14px;
  outline: none; background: #fff; color: var(--cv-text);
}
.cv-search-input::placeholder { color: #aaa; }
.cv-search-btn {
  background: var(--cv-accent); color: #fff; border: none;
  padding: 0 18px; font-size: 16px; cursor: pointer;
  transition: var(--cv-transition);
}
.cv-search-btn:hover { background: var(--cv-accent-dark); }
/* Header Actions */
.cv-header-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.cv-header-action {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255,255,255,0.9); padding: 6px 12px; border-radius: 8px;
  transition: var(--cv-transition); position: relative; font-size: 11px;
  text-decoration: none;
}
.cv-header-action:hover { background: rgba(255,255,255,0.1); color: #fff; }
.cv-header-action i { font-size: 20px; }
.cv-header-action .cv-badge {
  position: absolute; top: 0; right: 4px;
  background: var(--cv-accent); color: #fff; font-size: 10px;
  font-weight: 700; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; line-height: 1;
}
.cv-seller-btn {
  background: var(--cv-accent); color: #fff; padding: 8px 16px;
  border-radius: 8px; font-weight: 600; font-size: 12px;
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; transition: var(--cv-transition);
  white-space: nowrap;
}
.cv-seller-btn:hover { background: var(--cv-accent-dark); color: #fff; transform: translateY(-1px); }
/* ===== MEGA NAV ===== */
.cv-mega-nav {
  background: #fff; border-bottom: 2px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative; z-index: 100;
}
.cv-mega-nav-inner {
  display: flex; align-items: center; gap: 0;
  max-width: var(--cv-container); margin: 0 auto;
  overflow-x: auto; scrollbar-width: none;
}
.cv-mega-nav-inner::-webkit-scrollbar { display: none; }
.cv-mega-item { position: relative; }
.cv-mega-item > a {
  display: flex; align-items: center; gap: 5px;
  padding: 12px 18px; font-size: 13px; font-weight: 600;
  color: #333; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: var(--cv-transition);
}
.cv-mega-item > a:hover, .cv-mega-item:hover > a {
  color: var(--cv-primary); border-bottom-color: var(--cv-accent); background: #f5f7ff;
}
.cv-mega-dropdown {
  position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 220px; border-radius: 0 0 12px 12px;
  box-shadow: var(--cv-shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(-5px); transition: all 0.25s ease;
  z-index: 1000; border-top: 3px solid var(--cv-accent);
}
.cv-mega-item:hover .cv-mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.cv-mega-sub-item {
  display: block; padding: 10px 20px; font-size: 13px;
  color: #555; transition: var(--cv-transition);
}
.cv-mega-sub-item:hover { background: #f5f7ff; color: var(--cv-primary); padding-left: 25px; }
/* ===== HERO SECTION ===== */
.cv-hero-section {
  background: linear-gradient(135deg, var(--cv-primary-dark) 0%, var(--cv-primary) 40%, var(--cv-primary-light) 100%);
  position: relative; overflow: hidden; min-height: 520px;
}
.cv-hero-section::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,111,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cv-hero-section::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,191,165,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cv-hero-slide {
  display: flex; align-items: center;
  max-width: var(--cv-container); margin: 0 auto;
  padding: 60px 30px; gap: 50px; position: relative; z-index: 2;
}
.cv-hero-content { flex: 1; }
.cv-hero-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--cv-accent), var(--cv-accent-light));
  color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 16px;
}
.cv-hero-content h1 { font-size: 48px; font-weight: 800; color: #fff; line-height: 1.15; margin: 0 0 16px; }
.cv-text-gradient {
  background: linear-gradient(135deg, #ff6f00, #ffab00, #ff6f00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cv-hero-content p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 28px; max-width: 480px; }
.cv-hero-cta { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.cv-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.cv-hero-stat { text-align: center; }
.cv-hero-stat strong { display: block; font-size: 22px; color: #fff; font-weight: 800; }
.cv-hero-stat span { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.cv-hero-visual { flex: 1; display: flex; justify-content: center; position: relative; min-height: 360px; }
.cv-hero-phone-mockup {
  width: 260px; height: 360px; border-radius: 30px;
  background: linear-gradient(180deg, #1e1e2f, #2d2d44);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 0 0 3px rgba(255,255,255,0.1);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.cv-hero-phone-mockup::after {
  content: 'CoversVilla'; font-size: 18px; color: rgba(255,255,255,0.25);
  font-weight: 800; letter-spacing: 2px;
}
.cv-hero-floating-card {
  position: absolute; background: rgba(255,255,255,0.95);
  border-radius: 12px; padding: 10px 16px; font-size: 13px;
  font-weight: 600; color: var(--cv-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  animation: float 4s ease-in-out infinite; white-space: nowrap;
}
.cv-hero-floating-card i { color: var(--cv-accent); margin-right: 6px; }
.cv-float-1 { top: 30px; right: -40px; animation-delay: 0s; }
.cv-float-2 { bottom: 80px; left: -50px; animation-delay: 1.5s; }
.cv-float-3 { bottom: 20px; right: -30px; animation-delay: 3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
/* ===== OFFER TICKER ===== */
.cv-offer-ticker { background: var(--cv-accent); color: #fff; padding: 10px 0; overflow: hidden; }
.cv-ticker-inner { display: flex; align-items: center; gap: 20px; }
.cv-ticker-label {
  background: var(--cv-primary-dark); color: #fff; padding: 4px 14px;
  border-radius: 4px; font-size: 12px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.cv-ticker-scroll {
  display: flex; gap: 60px; animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.cv-ticker-scroll span { font-size: 13px; font-weight: 500; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
/* ===== SECTIONS ===== */
.cv-section { padding: 50px 0; }
.cv-section.cv-bg-light { background: #f8f9fc; }
.cv-section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
}
.cv-section-header h2 { font-size: 24px; font-weight: 800; color: var(--cv-text); display: flex; align-items: center; gap: 10px; }
.cv-section-header-center { flex-direction: column; text-align: center; gap: 8px; }
.cv-section-header-center p { color: var(--cv-text-secondary); font-size: 15px; }
.cv-view-all { color: var(--cv-primary); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.cv-view-all:hover { color: var(--cv-accent); gap: 10px; }
/* ===== CATEGORIES GRID ===== */
.cv-categories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
}
.cv-cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 10px; background: #fff; border-radius: var(--cv-radius-md);
  border: 1px solid var(--cv-border-light);
  transition: var(--cv-transition); text-decoration: none; text-align: center;
}
.cv-cat-card:hover { transform: translateY(-4px); box-shadow: var(--cv-shadow-md); border-color: var(--cv-primary); }
.cv-cat-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.cv-cat-card span { font-size: 12px; font-weight: 600; color: var(--cv-text); }
/* ===== BRANDS SCROLL ===== */
.cv-brands-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.cv-brands-scroll::-webkit-scrollbar { display: none; }
.cv-brand-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; background: #fff; border: 1px solid var(--cv-border-light);
  border-radius: 50px; white-space: nowrap;
  transition: var(--cv-transition); flex-shrink: 0;
}
.cv-brand-chip:hover { border-color: var(--cv-primary); box-shadow: var(--cv-shadow-sm); color: var(--cv-primary); }
.cv-brand-logo {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cv-primary), var(--cv-primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.cv-brand-chip span { font-size: 13px; font-weight: 600; color: var(--cv-text); }
/* ===== DEALS BANNER ===== */
.cv-deals-banner { padding: 0 0 10px; }
.cv-deals-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.cv-deal-card {
  padding: 30px 28px; border-radius: var(--cv-radius-lg);
  color: #fff; position: relative; overflow: hidden;
  transition: var(--cv-transition);
}
.cv-deal-card:hover { transform: translateY(-3px); box-shadow: var(--cv-shadow-lg); }
.cv-deal-big { background: linear-gradient(135deg, #222222, #3949ab); }
.cv-deal-medium:nth-child(2) { background: linear-gradient(135deg, #004d40, #00897b); }
.cv-deal-medium.cv-deal-accent { background: linear-gradient(135deg, #bf360c, #e65100); }
.cv-deal-badge {
  display: inline-block; background: rgba(255,255,255,0.2);
  padding: 4px 12px; border-radius: 4px; font-size: 11px;
  font-weight: 700; margin-bottom: 12px; letter-spacing: 1px;
}
.cv-deal-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cv-deal-offer { font-size: 16px; margin-bottom: 4px; }
.cv-deal-desc { font-size: 13px; opacity: 0.8; margin-bottom: 16px; }
/* ===== PRODUCT GRID ===== */
.cv-products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cv-product-card {
  background: #fff; border-radius: var(--cv-radius-md);
  border: 1px solid var(--cv-border-light); overflow: hidden;
  transition: var(--cv-transition); position: relative;
}
.cv-product-card:hover { box-shadow: var(--cv-shadow-md); transform: translateY(-3px); border-color: transparent; }
.cv-product-badges {
  position: absolute; top: 10px; left: 10px; z-index: 5;
  display: flex; flex-direction: column; gap: 4px;
}
.cv-product-badge {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: #fff; width: fit-content;
}
.cv-badge-new { background: #7b1fa2; }
.cv-badge-bestseller { background: var(--cv-accent); }
.cv-badge-trending { background: #e91e63; }
.cv-badge-assured { background: var(--cv-primary); }
.cv-badge-sale { background: var(--cv-danger); }
.cv-product-wishlist {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer;
  transition: var(--cv-transition); font-size: 15px; color: #ccc; border: none;
}
.cv-product-wishlist:hover, .cv-product-wishlist.active { color: #e91e63; }
.cv-product-image {
  position: relative; padding-top: 100%; background: #f9f9f9; overflow: hidden;
}
.cv-product-image img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 15px; transition: transform 0.4s ease;
}
.cv-product-card:hover .cv-product-image img { transform: scale(1.05); }
.cv-quick-view {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  background: var(--cv-primary); color: #fff; padding: 8px 16px;
  border-radius: 8px; font-size: 12px; font-weight: 600;
  transition: var(--cv-transition); white-space: nowrap; border: none; cursor: pointer;
}
.cv-product-card:hover .cv-quick-view { bottom: 12px; }
.cv-product-info { padding: 14px; }
.cv-product-brand { font-size: 11px; font-weight: 600; color: var(--cv-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.cv-product-title {
  font-size: 14px; font-weight: 500; color: var(--cv-text);
  margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4;
  min-height: 39px;
}
.cv-product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.cv-rating-badge {
  background: var(--cv-success); color: #fff; padding: 2px 8px;
  border-radius: 4px; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; gap: 3px;
}
.cv-rating-badge i { font-size: 9px; }
.cv-rating-count { font-size: 12px; color: var(--cv-text-muted); }
.cv-product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cv-price-current { font-size: 18px; font-weight: 800; color: var(--cv-text); }
.cv-price-original { font-size: 13px; color: var(--cv-text-muted); text-decoration: line-through; }
.cv-price-discount { font-size: 13px; font-weight: 700; color: var(--cv-success); }
.cv-product-meta { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cv-meta-tag {
  font-size: 10px; padding: 2px 8px; border-radius: 4px;
  font-weight: 600; display: flex; align-items: center; gap: 3px;
}
.cv-meta-delivery { background: #e8f5e9; color: #2e7d32; }
.cv-meta-cod { background: #fff3e0; color: #e55a00; }
.cv-meta-coins { background: #fff3e0; color: #e65100; }
/* ===== PHONE FINDER ===== */
.cv-finder-card {
  background: linear-gradient(135deg, var(--cv-primary-dark), var(--cv-primary));
  border-radius: var(--cv-radius-xl); padding: 50px;
  position: relative; overflow: hidden;
}
.cv-finder-card::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,111,0,0.15), transparent 70%);
  border-radius: 50%;
}
.cv-finder-content { position: relative; z-index: 2; text-align: center; }
.cv-finder-content h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cv-finder-content h2 i { color: var(--cv-accent); }
.cv-finder-content > p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.cv-finder-form {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  max-width: 700px; margin: 0 auto;
}
.cv-finder-select {
  padding: 14px 20px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: #fff;
  font-size: 14px; font-weight: 500; min-width: 180px;
  appearance: none; cursor: pointer; outline: none;
  transition: var(--cv-transition);
}
.cv-finder-select:focus { border-color: var(--cv-accent); background: rgba(255,255,255,0.15); }
.cv-finder-select option { background: var(--cv-primary); color: #fff; }
/* ===== WHY COVERSVILLA ===== */
.cv-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cv-why-card {
  background: #fff; padding: 30px; border-radius: var(--cv-radius-md);
  text-align: center; border: 1px solid var(--cv-border-light);
  transition: var(--cv-transition);
}
.cv-why-card:hover { transform: translateY(-4px); box-shadow: var(--cv-shadow-md); border-color: var(--cv-primary); }
.cv-why-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(26,35,126,0.08), rgba(26,35,126,0.03));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--cv-primary);
}
.cv-why-card:hover .cv-why-icon { background: linear-gradient(135deg, var(--cv-primary), var(--cv-primary-light)); color: #fff; }
.cv-why-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cv-why-card p { font-size: 13px; color: var(--cv-text-secondary); line-height: 1.6; }
/* ===== CTA / NEWSLETTER ===== */
.cv-cta-section { padding: 40px 0; }
.cv-cta-card {
  background: linear-gradient(135deg, var(--cv-accent), var(--cv-accent-dark));
  border-radius: var(--cv-radius-xl); padding: 50px;
  text-align: center; position: relative; overflow: hidden;
}
.cv-cta-card::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
  border-radius: 50%;
}
.cv-cta-content { position: relative; z-index: 2; }
.cv-cta-content h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.cv-cta-content > p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 28px; max-width: 550px; margin-left: auto; margin-right: auto; }
.cv-newsletter-form {
  display: flex; max-width: 460px; margin: 0 auto 20px;
  border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cv-newsletter-form input {
  flex: 1; border: none; padding: 14px 20px; font-size: 14px; outline: none;
}
.cv-newsletter-form button {
  background: var(--cv-primary); color: #fff; padding: 14px 24px;
  font-weight: 600; font-size: 14px; border: none; cursor: pointer;
  transition: var(--cv-transition); white-space: nowrap;
}
.cv-newsletter-form button:hover { background: var(--cv-primary-dark); }
.cv-cta-trust { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cv-cta-trust span { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; }
/* ===== PARTNERS STRIP ===== */
.cv-partners-strip {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 20px; padding-top: 10px;
}
.cv-partner {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; background: #fff; border: 1px solid var(--cv-border-light);
  border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--cv-text-secondary);
}
.cv-partner i { font-size: 22px; color: var(--cv-primary); }
/* ===== TRUST BADGES BAR ===== */
.cv-trust-bar { background: #fff; padding: 20px 0; border-top: 1px solid var(--cv-border-light); }
.cv-trust-badges-row {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.cv-trust-item {
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  color: var(--cv-text-secondary);
}
.cv-trust-item i { font-size: 28px; color: var(--cv-primary); }
/* ===== FOOTER ===== */
.cv-footer {
  background: var(--cv-primary-dark);
  color: rgba(255,255,255,0.7); padding-top: 50px;
}
.cv-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 30px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cv-footer-brand {}
.cv-footer-brand img { height: 40px; margin-bottom: 16px; }
.cv-footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.cv-footer-social { display: flex; gap: 10px; }
.cv-footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: var(--cv-transition);
}
.cv-footer-social a:hover { background: var(--cv-accent); transform: translateY(-2px); }
.cv-footer-col h4 {
  color: #fff; font-size: 15px; font-weight: 700;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--cv-accent); display: inline-block;
}
.cv-footer-col ul li { margin-bottom: 8px; }
.cv-footer-col ul li a {
  color: rgba(255,255,255,0.65); font-size: 13px;
  transition: var(--cv-transition); display: flex; align-items: center; gap: 6px;
}
.cv-footer-col ul li a:hover { color: var(--cv-accent); padding-left: 5px; }
.cv-footer-col ul li a i { font-size: 11px; }
.cv-footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.cv-footer-contact li i { color: var(--cv-accent); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.cv-footer-contact li span { font-size: 13px; }
.cv-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; flex-wrap: wrap; gap: 10px;
}
.cv-footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }
.cv-footer-payments { display: flex; gap: 10px; }
.cv-footer-payments span {
  padding: 6px 14px; background: rgba(255,255,255,0.06);
  border-radius: 6px; font-size: 12px; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 5px;
}
/* ===== SHOP PAGE ===== */
.cv-page-header {
  background: linear-gradient(135deg, var(--cv-primary-dark), var(--cv-primary));
  padding: 30px 0; color: #fff;
}
.cv-breadcrumb { display: flex; gap: 8px; font-size: 13px; margin-bottom: 8px; align-items: center; }
.cv-breadcrumb a { color: rgba(255,255,255,0.7); }
.cv-breadcrumb a:hover { color: #fff; }
.cv-breadcrumb span { color: rgba(255,255,255,0.5); }
.cv-page-title { font-size: 28px; font-weight: 800; }
.cv-shop-layout { display: flex; gap: 20px; padding: 30px 0; align-items: flex-start; }
.cv-filter-sidebar {
  width: 260px; flex-shrink: 0; background: #fff;
  border: 1px solid var(--cv-border-light); border-radius: var(--cv-radius-md);
  position: sticky; top: 90px; max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.cv-filter-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-bottom: 2px solid #eee;
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.cv-filter-header h3 { font-size: 16px; font-weight: 700; margin: 0; }
.cv-clear-filters { font-size: 12px; color: var(--cv-primary); font-weight: 600; }
.cv-filter-group { border-bottom: 1px solid var(--cv-border-light); }
.cv-filter-title {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; cursor: pointer; transition: background 0.2s;
}
.cv-filter-title:hover { background: #fafafa; }
.cv-filter-title span { font-size: 14px; font-weight: 600; color: #333; }
.cv-filter-options { padding: 0 18px 14px; }
.cv-filter-option {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; font-size: 13px; color: #555; cursor: pointer;
}
.cv-filter-option input { accent-color: var(--cv-primary); width: 16px; height: 16px; }
.cv-filter-option small { margin-left: auto; color: #aaa; font-size: 11px; }
.cv-shop-content { flex: 1; min-width: 0; }
.cv-shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; background: #fff; border-radius: var(--cv-radius-sm);
  border: 1px solid var(--cv-border-light); margin-bottom: 16px;
}
.cv-results-count { font-size: 14px; color: var(--cv-text-secondary); }
.cv-sort-select {
  padding: 8px 14px; border: 1px solid var(--cv-border);
  border-radius: 8px; font-size: 13px; font-weight: 500;
  outline: none; cursor: pointer;
}
/* ===== SINGLE PRODUCT PAGE ===== */
.cv-product-single { padding: 30px 0; }
.cv-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; border-radius: var(--cv-radius-lg); padding: 30px; border: 1px solid var(--cv-border-light); }
.cv-gallery { position: relative; }
.cv-gallery-main {
  width: 100%; padding-top: 100%; border-radius: var(--cv-radius-md);
  background: #f9f9f9; position: relative; overflow: hidden;
  border: 1px solid var(--cv-border-light);
}
.cv-gallery-main img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 20px;
}
.cv-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.cv-gallery-thumb {
  width: 70px; height: 70px; border-radius: 8px; border: 2px solid var(--cv-border-light);
  overflow: hidden; cursor: pointer; transition: var(--cv-transition);
  background: #f9f9f9;
}
.cv-gallery-thumb.active, .cv-gallery-thumb:hover { border-color: var(--cv-primary); }
.cv-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cv-product-details {}
.cv-product-details .cv-product-brand { font-size: 13px; margin-bottom: 6px; }
.cv-product-details h1 { font-size: 22px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.cv-product-details .cv-product-rating { margin-bottom: 16px; }
.cv-price-box { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; padding: 14px; background: #f8f9fc; border-radius: var(--cv-radius-sm); }
.cv-price-box .cv-price-current { font-size: 28px; }
.cv-price-box .cv-price-original { font-size: 16px; }
.cv-offers-strip { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.cv-offer-tag {
  padding: 6px 14px; background: #e8f5e9; color: #2e7d32;
  border-radius: 6px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.cv-product-options { margin-bottom: 20px; }
.cv-option-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cv-color-options, .cv-size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.cv-color-dot {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--cv-border-light); cursor: pointer;
  transition: var(--cv-transition);
}
.cv-color-dot:hover, .cv-color-dot.active { border-color: var(--cv-primary); box-shadow: 0 0 0 2px var(--cv-primary); }
.cv-qty-selector {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--cv-border); border-radius: 8px;
  overflow: hidden; margin-bottom: 20px; width: fit-content;
}
.cv-qty-btn {
  width: 40px; height: 40px; background: #f5f5f5;
  border: none; font-size: 18px; cursor: pointer;
  transition: var(--cv-transition); display: flex;
  align-items: center; justify-content: center;
}
.cv-qty-btn:hover { background: var(--cv-primary); color: #fff; }
.cv-qty-input {
  width: 50px; height: 40px; border: none; text-align: center;
  font-size: 15px; font-weight: 600; outline: none;
  border-left: 1px solid var(--cv-border);
  border-right: 1px solid var(--cv-border);
}
.cv-action-btns { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.cv-btn-buy-now { background: var(--cv-accent); color: #fff; flex: 1; padding: 14px; font-size: 15px; font-weight: 700; }
.cv-btn-add-cart { background: var(--cv-primary); color: #fff; flex: 1; padding: 14px; font-size: 15px; font-weight: 700; }
.cv-delivery-check { margin-bottom: 20px; }
.cv-delivery-form {
  display: flex; gap: 10px;
}
.cv-delivery-input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--cv-border);
  border-radius: 8px; font-size: 14px; outline: none;
}
.cv-delivery-result {
  margin-top: 10px; padding: 12px; border-radius: 8px;
  background: var(--cv-success-bg); font-size: 13px; color: #2e7d32;
  display: flex; align-items: center; gap: 8px;
}
.cv-seller-info {
  padding: 16px; background: #f8f9fc; border-radius: var(--cv-radius-sm);
  display: flex; align-items: center; gap: 12px;
}
.cv-seller-avatar {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--cv-primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cv-seller-name { font-size: 14px; font-weight: 600; }
.cv-seller-meta { font-size: 12px; color: var(--cv-text-muted); }
.cv-verified-badge {
  display: inline-flex; align-items: center; gap: 3px;
  color: #e55a00; font-size: 12px; font-weight: 600;
}
.cv-verified-badge i { font-size: 14px; }
/* ===== PRODUCT TABS ===== */
.cv-product-tabs { margin-top: 30px; }
.cv-tabs-nav {
  display: flex; gap: 0; border-bottom: 2px solid var(--cv-border-light);
  overflow-x: auto;
}
.cv-tab-btn {
  padding: 14px 24px; font-size: 14px; font-weight: 600;
  color: var(--cv-text-secondary); background: none; border: none;
  border-bottom: 3px solid transparent; cursor: pointer;
  transition: var(--cv-transition); white-space: nowrap;
}
.cv-tab-btn:hover { color: var(--cv-primary); }
.cv-tab-btn.active { color: var(--cv-primary); border-bottom-color: var(--cv-accent); }
.cv-tab-content { display: none; padding: 24px; background: #fff; border-radius: 0 0 var(--cv-radius-md) var(--cv-radius-md); }
.cv-tab-content.active { display: block; }
.cv-tab-content h3 { font-size: 18px; margin-bottom: 14px; }
.cv-tab-content p { font-size: 14px; color: var(--cv-text-secondary); line-height: 1.8; margin-bottom: 12px; }
/* ===== REVIEWS ===== */
.cv-reviews-summary {
  display: flex; gap: 30px; align-items: center;
  padding: 20px; background: #f8f9fc; border-radius: var(--cv-radius-md); margin-bottom: 20px;
}
.cv-rating-big { text-align: center; }
.cv-rating-big .cv-big-number { font-size: 48px; font-weight: 800; color: var(--cv-text); line-height: 1; }
.cv-rating-big .cv-big-stars { color: #ff9800; font-size: 18px; margin: 8px 0; }
.cv-rating-bars { flex: 1; }
.cv-rating-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cv-bar-label { font-size: 13px; font-weight: 600; width: 50px; color: var(--cv-text-secondary); }
.cv-bar-track { flex: 1; height: 8px; background: #e0e0e0; border-radius: 4px; overflow: hidden; }
.cv-bar-fill { height: 100%; border-radius: 4px; background: var(--cv-success); transition: width 1s ease; }
.cv-bar-count { font-size: 12px; color: var(--cv-text-muted); width: 30px; text-align: right; }
.cv-review-item {
  padding: 16px 0; border-bottom: 1px solid var(--cv-border-light);
}
.cv-review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cv-review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cv-primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.cv-review-name { font-weight: 600; font-size: 14px; }
.cv-review-date { font-size: 12px; color: var(--cv-text-muted); margin-left: auto; }
.cv-review-stars { color: #ff9800; font-size: 13px; margin-bottom: 8px; }
.cv-review-text { font-size: 14px; color: var(--cv-text-secondary); line-height: 1.7; }
.cv-review-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--cv-success); font-weight: 600; margin-top: 8px;
}
/* ===== CART PAGE ===== */
.cv-cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; padding: 30px 0; }
.cv-cart-items { background: #fff; border-radius: var(--cv-radius-md); border: 1px solid var(--cv-border-light); }
.cv-cart-header { padding: 18px 20px; border-bottom: 1px solid var(--cv-border-light); display: flex; justify-content: space-between; align-items: center; }
.cv-cart-header h2 { font-size: 18px; margin: 0; }
.cv-cart-header span { font-size: 14px; color: var(--cv-text-muted); }
.cv-cart-item {
  display: flex; gap: 16px; padding: 18px 20px;
  border-bottom: 1px solid var(--cv-border-light); align-items: center;
}
.cv-cart-item-img {
  width: 90px; height: 90px; border-radius: 8px; background: #f9f9f9;
  flex-shrink: 0; overflow: hidden; border: 1px solid var(--cv-border-light);
}
.cv-cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cv-cart-item-info { flex: 1; min-width: 0; }
.cv-cart-item-info h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-cart-item-info .cv-item-seller { font-size: 12px; color: var(--cv-text-muted); margin-bottom: 8px; }
.cv-cart-item-price { text-align: right; min-width: 100px; }
.cv-cart-item-actions { display: flex; gap: 12px; margin-top: 8px; }
.cv-cart-action { font-size: 12px; font-weight: 600; color: var(--cv-primary); cursor: pointer; }
.cv-cart-action:hover { color: var(--cv-accent); }
.cv-cart-action.cv-remove { color: var(--cv-danger); }
.cv-cart-summary {
  background: #fff; border-radius: var(--cv-radius-md);
  border: 1px solid var(--cv-border-light); position: sticky; top: 90px;
  height: fit-content;
}
.cv-summary-header {
  padding: 18px 20px; border-bottom: 1px solid var(--cv-border-light);
  font-size: 16px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--cv-text-muted);
}
.cv-summary-rows { padding: 18px 20px; }
.cv-summary-row {
  display: flex; justify-content: space-between; margin-bottom: 12px;
  font-size: 14px; color: var(--cv-text-secondary);
}
.cv-summary-row.cv-total {
  font-size: 18px; font-weight: 800; color: var(--cv-text);
  border-top: 2px solid var(--cv-border); padding-top: 14px; margin-top: 14px;
}
.cv-summary-row .cv-savings { color: var(--cv-success); font-weight: 600; }
.cv-summary-actions { padding: 0 20px 20px; }
/* ===== ACCOUNT PAGE ===== */
.cv-account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 30px 0; }
.cv-account-sidebar {
  background: #fff; border-radius: var(--cv-radius-md);
  border: 1px solid var(--cv-border-light); height: fit-content;
  position: sticky; top: 90px;
}
.cv-account-user {
  padding: 20px; border-bottom: 1px solid var(--cv-border-light);
  display: flex; align-items: center; gap: 12px;
}
.cv-user-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cv-primary), var(--cv-primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.cv-user-name { font-weight: 600; font-size: 15px; }
.cv-user-email { font-size: 12px; color: var(--cv-text-muted); }
.cv-account-nav { padding: 8px 0; }
.cv-account-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; font-size: 14px; color: var(--cv-text-secondary);
  transition: var(--cv-transition);
}
.cv-account-nav a:hover { background: #f5f7ff; color: var(--cv-primary); }
.cv-account-nav a.active { background: #f5f7ff; color: var(--cv-primary); font-weight: 600; border-right: 3px solid var(--cv-accent); }
.cv-account-nav a i { width: 20px; text-align: center; font-size: 15px; }
.cv-account-content {
  background: #fff; border-radius: var(--cv-radius-md);
  border: 1px solid var(--cv-border-light); padding: 24px;
}
.cv-account-content h2 { font-size: 20px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--cv-border-light); }
/* Orders Table */
.cv-orders-table { width: 100%; border-collapse: collapse; }
.cv-orders-table th {
  background: #f8f9fc; padding: 12px 16px; text-align: left;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--cv-text-muted);
}
.cv-orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--cv-border-light); font-size: 14px; }
.cv-order-status {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.cv-status-delivered { background: #e8f5e9; color: #2e7d32; }
.cv-status-processing { background: #fff3e0; color: #e55a00; }
.cv-status-shipped { background: #fff3e0; color: #e65100; }
.cv-status-cancelled { background: #ffebee; color: #c62828; }
/* Order Timeline */
.cv-order-timeline {
  display: flex; justify-content: space-between; position: relative;
  padding: 30px 0; margin: 20px 0;
}
.cv-order-timeline::before {
  content: ''; position: absolute; top: 45px; left: 10%; right: 10%;
  height: 3px; background: #e0e0e0;
}
.cv-timeline-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; position: relative; z-index: 2; flex: 1;
}
.cv-timeline-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e0e0e0; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: var(--cv-transition);
}
.cv-timeline-step.completed .cv-timeline-dot { background: var(--cv-success); }
.cv-timeline-step.active .cv-timeline-dot {
  background: var(--cv-accent); box-shadow: 0 0 0 6px rgba(255,111,0,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,111,0,0.2); } 50% { box-shadow: 0 0 0 8px rgba(255,111,0,0.1); } }
.cv-timeline-label { font-size: 12px; font-weight: 600; color: var(--cv-text-muted); text-align: center; }
.cv-timeline-step.completed .cv-timeline-label,
.cv-timeline-step.active .cv-timeline-label { color: var(--cv-text); }
.cv-timeline-date { font-size: 11px; color: var(--cv-text-muted); }
/* ===== SELLER PAGE ===== */
.cv-become-seller { padding: 0; }
.cv-seller-hero {
  background: linear-gradient(135deg, var(--cv-primary-dark), var(--cv-primary));
  padding: 60px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cv-seller-hero::before {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,111,0,0.15), transparent 70%);
  border-radius: 50%;
}
.cv-seller-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 2; }
.cv-seller-hero p { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 550px; margin: 0 auto; position: relative; z-index: 2; }
.cv-seller-stats-row {
  display: flex; justify-content: center; gap: 40px;
  padding: 30px 0; background: #fff; border-bottom: 1px solid var(--cv-border-light);
}
.cv-seller-stat { text-align: center; }
.cv-seller-stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--cv-primary); }
.cv-seller-stat span { font-size: 13px; color: var(--cv-text-muted); }
.cv-seller-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 40px 0;
}
.cv-step-card {
  text-align: center; padding: 30px 20px;
  background: #fff; border-radius: var(--cv-radius-md);
  border: 1px solid var(--cv-border-light);
  transition: var(--cv-transition); position: relative;
}
.cv-step-card:hover { transform: translateY(-4px); box-shadow: var(--cv-shadow-md); }
.cv-step-number {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--cv-primary), var(--cv-primary-light));
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.cv-step-card h3 { font-size: 16px; margin-bottom: 8px; }
.cv-step-card p { font-size: 13px; color: var(--cv-text-secondary); }
.cv-seller-form-section { max-width: 600px; margin: 0 auto; padding: 40px 0; }
.cv-form-card { background: #fff; border-radius: var(--cv-radius-lg); padding: 30px; border: 1px solid var(--cv-border-light); }
.cv-form-card h2 { font-size: 22px; text-align: center; margin-bottom: 24px; }
.cv-form-group { margin-bottom: 18px; }
.cv-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--cv-text); }
.cv-form-group input, .cv-form-group select, .cv-form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--cv-border);
  border-radius: 8px; font-size: 14px; outline: none;
  transition: var(--cv-transition);
}
.cv-form-group input:focus, .cv-form-group select:focus, .cv-form-group textarea:focus {
  border-color: var(--cv-primary); box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}
.cv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* ===== DEALS PAGE ===== */
.cv-deals-hero {
  background: linear-gradient(135deg, #e65100, #ff6f00, #ff8f00);
  padding: 40px 0; text-align: center; color: #fff;
}
.cv-deals-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.cv-deals-countdown {
  display: flex; gap: 14px; justify-content: center; margin-top: 16px;
}
.cv-countdown-unit {
  background: rgba(0,0,0,0.2); padding: 12px 18px;
  border-radius: 10px; text-align: center; min-width: 70px;
}
.cv-countdown-unit strong { display: block; font-size: 28px; font-weight: 800; }
.cv-countdown-unit span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
/* ===== CONTACT PAGE ===== */
.cv-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px 0; }
.cv-contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.cv-contact-card {
  display: flex; gap: 16px; padding: 20px; background: #fff;
  border-radius: var(--cv-radius-md); border: 1px solid var(--cv-border-light);
  transition: var(--cv-transition);
}
.cv-contact-card:hover { box-shadow: var(--cv-shadow-sm); }
.cv-contact-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cv-primary), var(--cv-primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.cv-contact-card h4 { font-size: 15px; margin-bottom: 4px; }
.cv-contact-card p { font-size: 13px; color: var(--cv-text-secondary); }
/* ===== POLICY PAGES ===== */
.cv-policy-content { max-width: 800px; margin: 0 auto; padding: 30px 0; }
.cv-policy-card {
  background: #fff; border-radius: var(--cv-radius-lg);
  padding: 40px; border: 1px solid var(--cv-border-light);
}
.cv-policy-card h1 { font-size: 26px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--cv-border-light); }
.cv-policy-card h2 { font-size: 18px; margin: 24px 0 12px; color: var(--cv-primary); }
.cv-policy-card p { font-size: 14px; line-height: 1.8; color: var(--cv-text-secondary); margin-bottom: 14px; }
.cv-policy-card ul { padding-left: 24px; margin-bottom: 14px; list-style: disc; }
.cv-policy-card ul li { font-size: 14px; line-height: 1.8; color: var(--cv-text-secondary); margin-bottom: 6px; }
/* ===== 404 PAGE ===== */
.cv-404 { text-align: center; padding: 80px 20px; }
.cv-404-number { font-size: 120px; font-weight: 900; color: var(--cv-primary); line-height: 1; opacity: 0.15; }
.cv-404 h1 { font-size: 30px; margin: -20px 0 14px; }
.cv-404 p { font-size: 16px; color: var(--cv-text-secondary); margin-bottom: 28px; }
/* ===== NOTIFICATION BELL ===== */
.cv-notification-bell { position: relative; }
.cv-notif-dropdown {
  position: absolute; top: calc(100% + 8px); right: -10px;
  width: 320px; background: #fff; border-radius: var(--cv-radius-md);
  box-shadow: var(--cv-shadow-xl); z-index: 9999;
  display: none; border: 1px solid var(--cv-border-light);
}
.cv-notif-dropdown.show { display: block; }
.cv-notif-header {
  padding: 14px 16px; border-bottom: 1px solid var(--cv-border-light);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 700;
}
.cv-notif-item {
  padding: 12px 16px; border-bottom: 1px solid var(--cv-border-light);
  font-size: 13px; display: flex; gap: 10px; align-items: flex-start;
  transition: var(--cv-transition);
}
.cv-notif-item:hover { background: #f5f7ff; }
.cv-notif-item.unread { background: #fef7e8; }
.cv-notif-icon { font-size: 18px; color: var(--cv-primary); flex-shrink: 0; margin-top: 2px; }
.cv-notif-text { flex: 1; }
.cv-notif-time { font-size: 11px; color: var(--cv-text-muted); margin-top: 3px; }
/* ===== MOBILE BOTTOM NAV ===== */
.cv-mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--cv-border-light);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  z-index: 1000; padding: 6px 0;
}
.cv-mobile-nav-inner {
  display: flex; justify-content: space-around;
}
.cv-mobile-nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 6px 12px; color: var(--cv-text-muted);
  font-size: 10px; font-weight: 600; transition: var(--cv-transition);
  position: relative; text-decoration: none;
}
.cv-mobile-nav-item i { font-size: 20px; }
.cv-mobile-nav-item.active { color: var(--cv-primary); }
/* ===== WhatsApp Float ===== */
.cv-whatsapp-float {
  position: fixed; bottom: 80px; right: 20px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: var(--cv-transition); text-decoration: none;
}
.cv-whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); color: #fff; }
/* ===== SCROLL TO TOP ===== */
.cv-scroll-top {
  position: fixed; bottom: 80px; left: 20px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cv-primary); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--cv-shadow-md); cursor: pointer;
  transition: var(--cv-transition); border: none; font-size: 18px;
}
.cv-scroll-top.visible { display: flex; }
.cv-scroll-top:hover { background: var(--cv-accent); transform: translateY(-3px); }
/* ===== LOADING SKELETON ===== */
.cv-skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: 4px; }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
/* ===== CoversCoins Badge ===== */
.cv-coins-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #ff8f00, #ff6f00);
  color: #fff; padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 700;
}
.cv-coins-badge i { font-size: 15px; }
/* ═══════════════════════════════════════════════════════════════
   CHECKOUT & PAYMENT PAGES
   ═══════════════════════════════════════════════════════════════ */
/* Checkout Steps */
.cv-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}
.cv-checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  font-size: 13px;
  font-weight: 500;
}
.cv-checkout-step.active, .cv-checkout-step.completed { opacity: 1; }
.cv-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #666;
}
.cv-checkout-step.active .cv-step-num { background: var(--cv-primary, #222222); color: #fff; }
.cv-checkout-step.completed .cv-step-num { background: #2e7d32; color: #fff; }
.cv-checkout-step-line {
  width: 60px; height: 3px;
  background: #e0e0e0;
  margin: 0 8px;
  margin-bottom: 22px;
}
.cv-checkout-step-line.completed { background: #2e7d32; }
/* Checkout Layout */
.cv-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  padding: 24px 0 48px;
}
.cv-checkout-main { min-width: 0; }
.cv-checkout-sidebar {}
/* Cards */
.cv-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}
.cv-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.cv-card-header h2, .cv-card-header h3 {
  font-size: 18px; font-weight: 700; color: #1a1a2e; margin: 0;
}
.cv-card-header h2 i, .cv-card-header h3 i { margin-right: 8px; color: var(--cv-primary, #222222); }
/* Saved Addresses */
.cv-saved-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cv-address-card {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.cv-address-card input[type="radio"] { display: none; }
.cv-address-card.selected, .cv-address-card:has(input:checked) {
  border-color: var(--cv-primary, #222222);
  background: #f5f5ff;
}
.cv-address-card-inner { display: flex; flex-direction: column; gap: 6px; }
.cv-address-badge {
  display: inline-block; background: #fff0e6; color: var(--cv-primary, #222222);
  padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
  width: fit-content;
}
.cv-address-card strong { font-size: 15px; }
.cv-address-card p { font-size: 13px; color: #555; margin: 0; line-height: 1.5; }
.cv-address-phone { font-size: 13px; color: #666; }
.cv-address-phone i { margin-right: 4px; font-size: 12px; }
.cv-address-actions { display: flex; gap: 16px; margin-top: 8px; }
.cv-address-actions a { font-size: 12px; color: var(--cv-primary, #222222); text-decoration: none; }
.cv-address-actions a:hover { text-decoration: underline; }
/* Address Form */
.cv-address-form { display: flex; flex-wrap: wrap; gap: 16px; }
.cv-form-row { display: flex; gap: 16px; width: 100%; }
.cv-form-row .cv-form-group { flex: 1; }
.cv-form-group { display: flex; flex-direction: column; gap: 6px; }
.cv-form-group.cv-full-width { width: 100%; }
.cv-form-group label { font-size: 13px; font-weight: 600; color: #333; }
.cv-form-group label small { font-weight: 400; color: #999; }
.cv-required { color: #e53935; }
.cv-form-group input, .cv-form-group select {
  padding: 10px 14px; border: 1.5px solid #ddd; border-radius: 8px;
  font-size: 14px; font-family: inherit; transition: border-color 0.2s;
  background: #fff;
}
.cv-form-group input:focus, .cv-form-group select:focus {
  border-color: var(--cv-primary, #222222); outline: none;
  box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}
.cv-input-prefix {
  display: flex; align-items: center; border: 1.5px solid #ddd; border-radius: 8px; overflow: hidden;
}
.cv-input-prefix span {
  padding: 10px 12px; background: #f5f5f5; font-size: 14px; font-weight: 600; color: #333;
  border-right: 1.5px solid #ddd;
}
.cv-input-prefix input { border: none; flex: 1; padding: 10px 14px; }
.cv-input-prefix input:focus { box-shadow: none; outline: none; }
.cv-input-suffix {
  display: flex; gap: 8px;
}
.cv-input-suffix input { flex: 1; }
.cv-input-icon {
  position: relative;
}
.cv-input-icon i {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #999; font-size: 14px;
}
.cv-input-icon input { padding-left: 38px; width: 100%; }
/* Address Type Pills */
.cv-address-type-pills { display: flex; gap: 12px; }
.cv-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border: 2px solid #ddd; border-radius: 24px;
  cursor: pointer; font-size: 13px; font-weight: 500; transition: all 0.2s;
}
.cv-pill input[type="radio"] { display: none; }
.cv-pill.active, .cv-pill:has(input:checked) {
  border-color: var(--cv-primary, #222222); background: #fff0e6; color: var(--cv-primary, #222222);
}
.cv-pill i { font-size: 14px; }
.cv-checkbox-label {
  display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer;
}
.cv-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--cv-primary, #222222); }
/* Delivery Options */
.cv-delivery-options { display: flex; flex-direction: column; gap: 12px; }
.cv-delivery-option {
  border: 2px solid #e0e0e0; border-radius: 12px; padding: 16px; cursor: pointer;
  transition: all 0.2s;
}
.cv-delivery-option input[type="radio"] { display: none; }
.cv-delivery-option.selected, .cv-delivery-option:has(input:checked) {
  border-color: var(--cv-primary, #222222); background: #f5f5ff;
}
.cv-delivery-option-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.cv-delivery-option-inner strong { font-size: 15px; }
.cv-delivery-option-inner p { font-size: 13px; color: #666; margin: 2px 0 0; }
.cv-delivery-price { font-size: 16px; font-weight: 700; }
/* Order Summary Mini */
.cv-order-items-mini { display: flex; flex-direction: column; gap: 12px; }
.cv-order-item-mini {
  display: flex; align-items: center; gap: 12px;
}
.cv-order-item-mini-info { flex: 1; }
.cv-order-item-mini-info span { font-size: 13px; font-weight: 500; display: block; }
.cv-order-item-mini-info small { font-size: 12px; color: #888; }
.cv-order-item-mini strong { font-size: 14px; white-space: nowrap; }
.cv-summary-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.cv-summary-total { font-size: 18px; font-weight: 700; padding: 8px 0; }
.cv-summary-savings {
  background: #e8f5e9; color: #2e7d32; padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 600; text-align: center; margin-top: 8px;
}
.cv-text-success { color: #2e7d32; }
.cv-text-muted { color: #999; font-size: 12px; }
/* Coupon */
.cv-coupon-input { display: flex; gap: 8px; }
.cv-coupon-input input { flex: 1; padding: 10px 14px; border: 1.5px solid #ddd; border-radius: 8px; font-size: 14px; }
.cv-coupon-card {
  display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px dashed #ddd;
  border-radius: 8px; margin-top: 8px; font-size: 13px;
}
.cv-coupon-code {
  background: var(--cv-primary, #222222); color: #fff; padding: 3px 10px;
  border-radius: 4px; font-weight: 700; font-size: 12px; letter-spacing: 1px;
}
/* Delivery Info Bar */
.cv-delivery-info-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: #e8f5e9; padding: 12px 20px; border-radius: 8px;
  font-size: 14px;
}
/* Payment Methods */
.cv-payment-card { padding: 0; overflow: hidden; }
.cv-payment-card + .cv-payment-card { margin-top: 12px; }
.cv-payment-method {
  display: block; cursor: pointer;
}
.cv-payment-method input[type="radio"] { display: none; }
.cv-payment-method-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid transparent;
}
.cv-payment-method.selected .cv-payment-method-header,
.cv-payment-method:has(input:checked) .cv-payment-method-header {
  background: #f5f5ff; border-bottom-color: #e0e0e0;
}
.cv-payment-icons { display: flex; gap: 6px; min-width: 40px; }
.cv-payment-method-header strong { font-size: 15px; }
.cv-payment-method-header small { display: block; font-size: 12px; color: #888; }
.cv-badge-recommended {
  background: #ff6f00; color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-left: auto; white-space: nowrap;
}
.cv-payment-method-body {
  display: none; padding: 20px;
}
.cv-payment-method.selected .cv-payment-method-body,
.cv-payment-method:has(input:checked) .cv-payment-method-body { display: block; }
/* UPI Options */
.cv-upi-options { display: flex; gap: 12px; flex-wrap: wrap; }
.cv-upi-option {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 2px solid #e0e0e0; border-radius: 12px; padding: 14px 18px;
  cursor: pointer; min-width: 90px; transition: all 0.2s;
}
.cv-upi-option input[type="radio"] { display: none; }
.cv-upi-option.selected, .cv-upi-option:has(input:checked) {
  border-color: var(--cv-primary, #222222); background: #f5f5ff;
}
.cv-upi-option span { font-size: 12px; font-weight: 500; }
.cv-upi-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
/* Bank Grid */
.cv-bank-grid, .cv-wallet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.cv-bank-option, .cv-wallet-option {
  border: 2px solid #e0e0e0; border-radius: 8px; padding: 12px;
  text-align: center; cursor: pointer; transition: all 0.2s; font-size: 13px; font-weight: 600;
}
.cv-bank-option input, .cv-wallet-option input { display: none; }
.cv-bank-option:has(input:checked), .cv-wallet-option:has(input:checked) {
  border-color: var(--cv-primary, #222222); background: #f5f5ff;
}
/* COD Info */
.cv-cod-info { display: flex; flex-direction: column; gap: 8px; }
.cv-cod-info p { margin: 0; font-size: 14px; }
/* Sticky Sidebar */
.cv-sticky-sidebar { position: sticky; top: 24px; }
/* Button Helpers */
.cv-btn-block { display: block; width: 100%; text-align: center; }
.cv-btn-link { background: none; border: none; color: var(--cv-primary, #222222); font-weight: 600; cursor: pointer; font-size: 13px; text-decoration: none; }
.cv-btn-link:hover { text-decoration: underline; }
.cv-btn-sm { padding: 6px 14px; font-size: 13px; }
/* ═══ RESPONSIVE CHECKOUT/PAYMENT ═══ */
/* ═══════════════════════════════════════════

   MARKETPLACE V2 - EXPANDED CATEGORIES & AI
   ═══════════════════════════════════════════ */
/* Image Search Dropzone */
.cv-image-search-section { background: linear-gradient(135deg, #fff0e6 0%, #f3e5f5 100%); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.cv-image-search-dropzone {
  border: 2px dashed var(--cv-primary); border-radius: 12px; padding: 32px; text-align: center;
  cursor: pointer; transition: all 0.3s; background: rgba(255,255,255,0.7);
}
.cv-image-search-dropzone:hover, .cv-image-search-dropzone.dragover { background: #fff; border-color: var(--cv-accent); transform: scale(1.01); }
.cv-image-search-dropzone input[type="file"] { display: none; }
.cv-image-search-dropzone i { font-size: 40px; color: var(--cv-primary); margin-bottom: 8px; }
.cv-image-search-dropzone h3 { font-size: 16px; margin: 8px 0 4px; }
.cv-image-search-dropzone p { font-size: 13px; color: #666; }
.cv-image-search-preview { display: none; margin-top: 16px; }
.cv-image-preview-wrap { display: flex; align-items: center; gap: 16px; }
.cv-image-preview-wrap img { max-width: 150px; border-radius: 12px; border: 2px solid var(--cv-primary); }
.cv-image-analyzing { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #666; }
.cv-ai-spinner { width: 24px; height: 24px; border: 3px solid #e0e0e0; border-top-color: var(--cv-primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cv-ai-results { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-ai-tag { background: var(--cv-primary); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
/* Filter Sidebar */
.cv-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 24px 0 48px; }
.cv-filter-sidebar { background: #fff; border-radius: 16px; padding: 20px; height: fit-content; position: sticky; top: 16px; box-shadow: var(--cv-shadow-sm); border: 1px solid var(--cv-border-light); }
.cv-filter-section { margin-bottom: 20px; border-bottom: 1px solid var(--cv-border-light); padding-bottom: 16px; }
.cv-filter-section:last-child { border-bottom: none; margin-bottom: 0; }
.cv-filter-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--cv-text); }
.cv-filter-header::after { content: '\f078'; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 11px; color: #999; transition: transform 0.3s; }
.cv-filter-header.collapsed::after { transform: rotate(-90deg); }
.cv-filter-body { transition: all 0.3s; }
/* Category Filter */
.cv-filter-category-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px;
  cursor: pointer; font-size: 13px; transition: all 0.2s; color: #555;
}
.cv-filter-category-item:hover { background: #f5f5f5; }
.cv-filter-category-item.active { background: #fff0e6; color: var(--cv-primary); font-weight: 600; }
.cv-filter-category-item .cv-cat-count { margin-left: auto; font-size: 11px; color: #999; background: #f0f0f0; padding: 1px 8px; border-radius: 10px; }
/* Color Swatches */
.cv-filter-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-filter-color-swatch {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid #ddd;
  transition: all 0.2s; position: relative;
}
.cv-filter-color-swatch:hover { transform: scale(1.15); }
.cv-filter-color-swatch.active { border-color: var(--cv-primary); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cv-primary); }
.cv-filter-color-swatch::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; }
/* Brand Checkboxes */
.cv-filter-brand-item { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; cursor: pointer; }
.cv-filter-brand-item input { accent-color: var(--cv-primary); width: 16px; height: 16px; }
/* Price Range */
.cv-price-range-max { width: 100%; accent-color: var(--cv-primary); }
.cv-price-display { font-size: 13px; font-weight: 600; color: var(--cv-primary); margin-top: 4px; }
/* Rating Filter */
.cv-filter-rating-btn {
  display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #ddd;
  border-radius: 8px; cursor: pointer; font-size: 13px; background: #fff; transition: all 0.2s;
  margin-bottom: 6px;
}
.cv-filter-rating-btn:hover { border-color: var(--cv-primary); }
.cv-filter-rating-btn.active { background: #fff0e6; border-color: var(--cv-primary); color: var(--cv-primary); font-weight: 600; }
.cv-filter-rating-btn .cv-stars { color: #ff9800; }
/* Clear Filters */
.cv-clear-filters { display: block; width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; text-align: center; color: #d32f2f; transition: all 0.2s; }
.cv-clear-filters:hover { background: #ffebee; border-color: #d32f2f; }
/* Products Grid */
.cv-shop-main-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.cv-results-count { font-size: 14px; color: #666; }
.cv-sort-select { padding: 8px 16px; border: 1.5px solid #ddd; border-radius: 8px; font-size: 13px; font-family: inherit; background: #fff; }
.cv-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
/* Product Card */
.cv-product-card {
  background: #fff; border-radius: 12px; overflow: hidden; position: relative;
  transition: all 0.3s; border: 1px solid #eee;
}
.cv-product-card:hover { box-shadow: var(--cv-shadow-md); transform: translateY(-2px); }
.cv-badge-trending { position: absolute; top: 10px; left: 10px; background: linear-gradient(135deg,#ff6f00,#ff8f00); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; z-index: 2; }
.cv-badge-bestseller { position: absolute; top: 10px; left: 10px; background: #2e7d32; color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; z-index: 2; }
.cv-badge-new { position: absolute; top: 10px; left: 10px; background: #7b1fa2; color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; z-index: 2; }
.cv-wishlist-btn { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.9); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; z-index: 2; color: #ccc; font-size: 14px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.cv-wishlist-btn:hover, .cv-wishlist-btn.active { color: #e53935; background: #ffebee; }
.cv-product-img-wrap { display: flex; align-items: center; justify-content: center; height: 180px; background: #f8f9fa; text-decoration: none; }
.cv-product-img-placeholder { font-size: 64px; }
.cv-product-brand { font-size: 11px; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.cv-product-name { display: block; font-size: 13px; font-weight: 500; color: var(--cv-text); text-decoration: none; line-height: 1.4; margin: 4px 0 6px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cv-product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.cv-stars { font-size: 12px; font-weight: 700; background: #2e7d32; color: #fff; padding: 1px 6px; border-radius: 4px; }
.cv-review-count { font-size: 11px; color: #999; }
.cv-product-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cv-price { font-size: 18px; font-weight: 700; color: var(--cv-text); }
.cv-mrp { font-size: 13px; color: #999; text-decoration: line-through; }
.cv-discount { font-size: 12px; font-weight: 700; color: #2e7d32; }
.cv-product-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.cv-tag { font-size: 10px; background: #f5f5f5; color: #666; padding: 2px 8px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; }
.cv-add-to-cart-btn {
  width: calc(100% - 28px); margin: 0 14px 14px; padding: 10px; border: none; border-radius: 8px;
  background: var(--cv-primary); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.cv-add-to-cart-btn:hover { background: var(--cv-primary-light); }
/* Empty State */
.cv-empty-state { text-align: center; padding: 60px 20px; grid-column: 1/-1; }
.cv-empty-state i { font-size: 48px; color: #ccc; margin-bottom: 16px; display: block; }
.cv-empty-state h3 { font-size: 20px; color: #333; margin-bottom: 8px; }
.cv-empty-state p { font-size: 14px; color: #999; }
/* Mobile Filter Toggle */
.cv-mobile-filter-toggle { display: none; padding: 10px 20px; border: 1.5px solid #ddd; border-radius: 8px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; font-family: inherit; }
.cv-filter-sidebar-close { display: none; position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 20px; cursor: pointer; color: #666; }
/* Seller Page Upgrade */
.cv-seller-hero { background: linear-gradient(135deg, var(--cv-primary) 0%, #283593 50%, var(--cv-accent) 100%); color: #fff; padding: 60px 0; text-align: center; }
.cv-seller-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.cv-seller-hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 24px; }
.cv-seller-stats { display: flex; justify-content: center; gap: 40px; margin-top: 32px; }
.cv-seller-stat strong { font-size: 32px; display: block; }
.cv-seller-stat span { font-size: 13px; opacity: 0.8; }
.cv-seller-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 40px 0; }
.cv-seller-benefit { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: var(--cv-shadow-sm); transition: all 0.3s; }
.cv-seller-benefit:hover { box-shadow: var(--cv-shadow-md); transform: translateY(-4px); }
.cv-seller-benefit i { font-size: 36px; color: var(--cv-primary); margin-bottom: 12px; }
.cv-seller-benefit h3 { font-size: 16px; margin-bottom: 8px; }
.cv-seller-benefit p { font-size: 13px; color: #666; }
.cv-seller-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 20px 0; }
.cv-seller-cat-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; border: 2px solid #eee; border-radius: 12px; cursor: pointer; transition: all 0.2s; font-size: 12px; font-weight: 600; text-align: center; }
.cv-seller-cat-chip:hover { border-color: var(--cv-primary); background: #f5f5ff; }
.cv-seller-cat-chip .cv-cat-emoji { font-size: 28px; }
/* Delivery Result */
.cv-delivery-result { display: none; margin-top: 12px; }
.cv-dr-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; }
.cv-dr-item.ok { color: #2e7d32; }
.cv-dr-item.err { color: #d32f2f; }
/* Saved Card */
.cv-saved-card { display: block; border: 2px solid #e0e0e0; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; margin-bottom: 8px; }
.cv-saved-card input[type="radio"] { display: none; }
.cv-saved-card.selected, .cv-saved-card:has(input:checked) { border-color: var(--cv-primary); background: #f5f5ff; }
.cv-saved-card-inner { display: flex; align-items: center; gap: 14px; }
.cv-saved-card-inner small { display: block; font-size: 12px; color: #888; }
/* Search Dropdown */
.cv-search-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #ddd; border-radius: 0 0 12px 12px; box-shadow: var(--cv-shadow-lg); z-index: 100; max-height: 400px; overflow-y: auto; display: none; }
.cv-search-section-title { font-size: 11px; font-weight: 700; color: #999; text-transform: uppercase; padding: 10px 16px 4px; }
.cv-search-suggestion { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px; color: #333; text-decoration: none; transition: background 0.15s; }
.cv-search-suggestion:hover { background: #f5f5f5; }
.cv-search-suggestion i { color: #999; width: 16px; text-align: center; }
/* Pincode Result */
.cv-pincode-result { display: none; font-size: 13px; color: #2e7d32; margin-top: 4px; }
/* Input Error */
.cv-input-error { border-color: #d32f2f !important; }
/* Search form position relative */
.cv-search-form { position: relative; }
/* Categories grid - 5 columns for 20 items */
.cv-categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
/* ===== PRINT ===== */
/* ═══════════════════════════════════════════════════════════════
   STOCK BADGES
   ═══════════════════════════════════════════════════════════════ */
.cv-stock-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
  display: flex; align-items: center; gap: 3px;
}
.cv-stock-in { background: #e8f5e9; color: #2e7d32; }
.cv-stock-low { background: #fff3e0; color: #e65100; }
.cv-stock-out { background: #ffebee; color: #c62828; }
.cv-product-card.cv-out-of-stock .cv-product-img-placeholder { opacity: 0.5; }
.cv-product-card.cv-out-of-stock::after {
  content: 'SOLD OUT'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 22px; font-weight: 800; color: rgba(198,40,40,0.15);
  pointer-events: none; z-index: 2;
}
/* Product Page Stock Badge */
.cv-product-stock-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600;
  margin: 8px 0 12px;
}
.cv-product-stock-badge.cv-stock-in { background: #e8f5e9; color: #2e7d32; }
.cv-product-stock-badge.cv-stock-low { background: #fff3e0; color: #e65100; }
.cv-product-stock-badge.cv-stock-out { background: #ffebee; color: #c62828; }
/* ═══════════════════════════════════════════════════════════════
   SELLER TAG ON CARDS
   ═══════════════════════════════════════════════════════════════ */
.cv-tag-seller { color: var(--cv-primary); font-weight: 500; }
.cv-seller-info { display: flex; align-items: center; gap: 12px; padding: 14px; background: #f8f9fa; border-radius: 10px; }
.cv-seller-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--cv-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.cv-seller-name { font-weight: 600; font-size: 14px; }
.cv-seller-meta { font-size: 12px; color: #888; margin-top: 2px; }
.cv-verified-badge { color: #1976d2; font-size: 12px; margin-left: 4px; }
/* ═══════════════════════════════════════════════════════════════
   PRODUCT DESCRIPTION SECTION
   ═══════════════════════════════════════════════════════════════ */
.cv-product-desc-section { margin: 16px 0; padding: 14px 0; border-top: 1px solid #eee; }
.cv-product-description { font-size: 14px; color: #555; line-height: 1.7; margin-top: 6px; }
/* ═══════════════════════════════════════════════════════════════
   360° PRODUCT VIEWER
   ═══════════════════════════════════════════════════════════════ */
.cv-360-viewer {
  margin-top: 16px; padding: 20px; background: #f8f9fa; border-radius: 12px;
  position: relative; cursor: grab; overflow: hidden; min-height: 120px;
  perspective: 600px; text-align: center;
}
.cv-360-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--cv-primary); color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px; z-index: 2;
}
.cv-360-object {
  width: 100px; height: 100px; margin: 0 auto;
  transform-style: preserve-3d; transition: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
}
.cv-360-face { position: absolute; backface-visibility: hidden; }
.cv-360-back { transform: rotateY(180deg); }
.cv-360-left { transform: rotateY(-90deg) translateZ(50px); }
.cv-360-right { transform: rotateY(90deg) translateZ(50px); }
/* ═══════════════════════════════════════════════════════════════
   PINCODE DELIVERY FILTER
   ═══════════════════════════════════════════════════════════════ */
.cv-pincode-filter-wrap input { border: 1px solid #ddd; border-radius: 8px; }
.cv-pincode-filter-wrap input:focus { border-color: var(--cv-primary); outline: none; box-shadow: 0 0 0 3px rgba(26,35,126,0.1); }
/* ═══════════════════════════════════════════════════════════════
   CAMERA AI SEARCH MODAL (triggered from search bar camera icon)
   ═══════════════════════════════════════════════════════════════ */
.cv-camera-btn {
  background: none; border: none; color: #fff; font-size: 16px;
  cursor: pointer; padding: 8px 10px; opacity: 0.75; transition: all 0.2s;
  position: relative;
}
.cv-camera-btn:hover { opacity: 1; transform: scale(1.15); }
.cv-camera-btn::after {
  content: 'AI'; position: absolute; top: 2px; right: 0;
  font-size: 7px; font-weight: 800; background: #ff6f00; color: #fff;
  padding: 1px 3px; border-radius: 3px; line-height: 1;
}
@keyframes cvFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cvSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cv-ai-scanning {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; color: var(--cv-primary);
}
.cv-ai-spinner {
  width: 22px; height: 22px; border: 3px solid #fff0e6;
  border-top-color: var(--cv-primary); border-radius: 50%;
  animation: cvSpin 0.8s linear infinite;
}
@keyframes cvSpin { to { transform: rotate(360deg); } }
.cv-ai-results-bar {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.cv-ai-tag {
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  background: #fff0e6; color: var(--cv-primary);
  display: inline-flex; align-items: center; gap: 5px;
}
/* ═══════════════════════════════════════════════════════════════
   WISHLIST PAGE
   ═══════════════════════════════════════════════════════════════ */
.cv-wishlist-grid { min-height: 300px; }
.cv-wishlist-btn.active i { color: #e91e63; }
/* ═══════════════════════════════════════════════════════════════
   ACCOUNT PAGES - ORDER CARDS, COINS, SETTINGS
   ═══════════════════════════════════════════════════════════════ */
.cv-order-card {
  border: 1px solid #eee; border-radius: 12px; overflow: hidden;
  margin-bottom: 14px; transition: box-shadow 0.2s;
}
.cv-order-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.cv-order-card-header {
  padding: 14px 18px; background: #f8f9fa;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #eee;
}
.cv-order-card-body { padding: 16px 18px; }
.cv-order-card-footer {
  padding: 12px 18px; background: #fafafa; border-top: 1px solid #eee;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.cv-order-item {
  display: flex; gap: 14px; align-items: center; padding: 8px 0;
}
.cv-order-item + .cv-order-item { border-top: 1px solid #f0f0f0; }
.cv-order-item-img {
  width: 52px; height: 52px; background: #f5f5f5; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0;
}
.cv-order-item-name { font-weight: 600; font-size: 14px; }
.cv-order-item-meta { font-size: 12px; color: #888; margin-top: 2px; }
.cv-order-item-price { font-weight: 700; color: #222222; margin-top: 4px; }
.cv-order-status {
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 4px;
}
.cv-status-returned { background: #f3e5f5; color: #7b1fa2; }
.cv-account-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  color: #555; text-decoration: none; font-size: 14px; border-radius: 8px;
  transition: all 0.2s; margin-bottom: 2px;
}
.cv-account-nav a:hover { background: #f5f5f5; color: #222222; }
.cv-account-nav a.active {
  background: #fff0e6; color: #222222; font-weight: 600;
}
.cv-account-nav a i { width: 18px; text-align: center; }
.cv-btn-sm {
  font-size: 12px; padding: 6px 14px; border-radius: 6px;
  border: none; cursor: pointer; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.cv-btn-outline {
  background: #fff; border: 1px solid #ddd; color: #555;
}
.cv-btn-outline:hover { border-color: #222222; color: #222222; }
.cv-btn-link { background: none; border: none; cursor: pointer; }
@media print {
  .cv-topbar, .cv-header, .cv-mega-nav, .cv-mobile-nav,
  .cv-whatsapp-float, .cv-scroll-top, .cv-offer-ticker { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
}
/* ===== DESKTOP RESPONSIVE ===== */
@media (min-width: 769px) {
  .cv-categories-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .cv-mobile-filter-toggle { display: none; }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .cv-footer-grid { grid-template-columns: 1fr 1fr; }
  .cv-products-grid { grid-template-columns: repeat(3, 1fr); }
  .cv-hero-visual { display: none; }
  .cv-deals-grid { grid-template-columns: 1fr 1fr; }
  .cv-categories-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .cv-checkout-layout { grid-template-columns: 1fr; }
  .cv-shop-layout { grid-template-columns: 1fr; }
}
/* ════════════════════════════════════════════════════════════════
   COVERSVILLA MOBILE APP EXPERIENCE
   Complete native-app-like mobile interface
   ════════════════════════════════════════════════════════════════ */
/* ── TABLET ── */
@media (max-width: 1024px) {
  .cv-checkout-layout { grid-template-columns: 1fr; }
  .cv-sticky-sidebar { position: static; }
  .cv-shop-layout { grid-template-columns: 1fr; }
  .cv-filter-sidebar { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; z-index: 1001; border-radius: 0; transition: left 0.3s; overflow-y: auto; }
  .cv-filter-sidebar.open { left: 0; box-shadow: 4px 0 20px rgba(0,0,0,0.3); }
  .cv-categories-grid { grid-template-columns: repeat(5, 1fr); }
}
/* ══════════════════════════════════════════════════════════════
   PHONE — Native App Shell
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── APP SHELL BASICS ── */
  html {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
  }
  body {
    padding-bottom: 68px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background: #f0f2f5;
  }

  /* ── KILL DESKTOP-ONLY ELEMENTS ── */
  .cv-topbar { display: none !important; }
  .cv-seller-btn { display: none !important; }

  /* ══════════════════════════════════════
     APP HEADER — Sticky, compact, app bar
     ══════════════════════════════════════ */
  .cv-header {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  .cv-header-inner {
    padding: 8px 10px;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .cv-logo { flex-shrink: 0; }
  .cv-logo img { max-height: 26px; }

  /* Search — pill shaped, inline */
  .cv-search { flex: 1; min-width: 0; }
  .cv-search-form { position: relative; }
  .cv-search-input {
    height: 36px;
    font-size: 13px;
    border-radius: 18px;
    padding: 0 36px 0 14px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 100%;
  }
  .cv-search-input::placeholder { color: rgba(255,255,255,0.55); }
  .cv-search-input:focus {
    background: #fff;
    color: #222;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  }
  .cv-search-input:focus::placeholder { color: #aaa; }
  .cv-search-btn {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    padding: 8px;
    font-size: 13px;
  }
  .cv-search-input:focus ~ .cv-search-btn,
  .cv-search-input:focus + .cv-search-btn { color: var(--cv-primary); }

  /* Header actions — icons only */
  .cv-header-actions { gap: 0; flex-shrink: 0; }
  .cv-header-action { padding: 6px 7px; }
  .cv-header-action span:not(.cv-badge) { display: none; }
  .cv-header-action i { font-size: 17px; }
  .cv-badge { min-width: 15px; height: 15px; font-size: 8px; top: 1px; right: 0; padding: 0 3px; }

  /* Notification dropdown → bottom sheet */
  .cv-notif-dropdown {
    position: fixed;
    top: auto; bottom: 68px; left: 8px; right: 8px;
    width: auto;
    border-radius: 16px;
    max-height: 55vh;
    overflow-y: auto;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.18);
  }

  /* Search dropdown → full width */
  .cv-search-dropdown {
    position: fixed;
    top: 52px; left: 0; right: 0;
    border-radius: 0 0 14px 14px;
    max-height: 65vh;
    z-index: 1001;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  }
  .cv-search-section-title { font-size: 10px; padding: 10px 16px 4px; }
  .cv-search-suggestion { padding: 12px 16px; font-size: 14px; }

  /* ══════════════════════════════════════
     MEGA NAV — Horizontal pill scroll
     ══════════════════════════════════════ */
  .cv-mega-nav {
    position: sticky;
    top: 52px;
    z-index: 998;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 0;
  }
  .cv-mega-nav-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 6px;
  }
  .cv-mega-nav-inner::-webkit-scrollbar { display: none; }
  .cv-mega-item { flex: 0 0 auto; }
  .cv-mega-item > a {
    font-size: 11.5px;
    padding: 9px 12px;
    white-space: nowrap;
    display: block;
    color: #555;
    font-weight: 500;
    border-bottom: 2.5px solid transparent;
    transition: all 0.15s;
  }
  .cv-mega-item > a:active, .cv-mega-item > a.active-cat {
    color: var(--cv-primary);
    border-bottom-color: var(--cv-primary);
  }
  .cv-mega-item > a i.fa-chevron-down { display: none; }
  .cv-mega-dropdown {
    position: fixed;
    bottom: 68px; left: 0; right: 0;
    border-radius: 18px 18px 0 0;
    padding: 20px 16px;
    max-height: 60vh;
    overflow-y: auto;
    box-shadow: 0 -6px 30px rgba(0,0,0,0.18);
    z-index: 1001;
  }
  .cv-mega-dropdown-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .cv-mega-sub-item { padding: 12px 10px; border-radius: 10px; font-size: 13px; }
  .cv-mega-sub-item:active { background: #fff0e6; }

  /* ══════════════════════════════════════
     CONTAINER — App margins
     ══════════════════════════════════════ */
  .cv-container { padding: 0 12px; }

  /* ══════════════════════════════════════
     HOMEPAGE — App-native sections
     ══════════════════════════════════════ */

  /* Section headers */
  .cv-section { padding: 16px 0 !important; }
  .cv-section-header { margin-bottom: 12px; }
  .cv-section-header h2 { font-size: 16px; }
  .cv-view-all { font-size: 11px; }

  /* Hero — app banner */
  .cv-hero-section {
    margin: 0;
    border-radius: 0 0 24px 24px;
    min-height: auto;
    padding: 24px 16px 28px;
  }
  .cv-hero-tag { font-size: 10px; padding: 3px 10px; border-radius: 12px; }
  .cv-hero-content h1 { font-size: 20px; line-height: 1.3; }
  .cv-hero-content p { font-size: 12px; margin-top: 6px; }
  .cv-hero-cta { gap: 8px; margin-top: 14px; }
  .cv-hero-cta .cv-btn { padding: 10px 18px; font-size: 12px; border-radius: 22px; min-height: 40px; }
  .cv-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 18px;
  }
  .cv-hero-stat { text-align: center; }
  .cv-hero-stat strong { font-size: 15px; }
  .cv-hero-stat span { font-size: 8px; }

  /* Categories — App-style icon circles (4 columns) */
  .cv-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .cv-cat-card {
    padding: 10px 4px;
    border-radius: 12px;
    background: #fff;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    text-align: center;
  }
  .cv-cat-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    font-size: 18px;
    margin: 0 auto 5px;
  }
  .cv-cat-card span { font-size: 9.5px; line-height: 1.2; display: block; text-align: center; }

  /* Brands — horizontal scroll */
  .cv-brands-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 2px 4px;
  }
  .cv-brands-scroll::-webkit-scrollbar { display: none; }
  .cv-brand-chip {
    flex: 0 0 auto;
    min-width: 76px;
    padding: 10px;
    border-radius: 12px;
  }

  /* Ticker */
  .cv-ticker { padding: 7px 0; font-size: 11px; }

  /* ══════════════════════════════════════
     PRODUCT CARDS — 2-column app grid
     ══════════════════════════════════════ */
  .cv-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .cv-product-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }
  .cv-product-img-wrap { height: 140px; }
  .cv-product-img-placeholder { font-size: 38px; }
  .cv-product-info { padding: 8px 10px 4px; }
  .cv-product-brand { font-size: 9px; }
  .cv-product-name { font-size: 11.5px; margin: 2px 0 3px; -webkit-line-clamp: 2; }
  .cv-product-rating { margin-bottom: 3px; gap: 3px; }
  .cv-stars { font-size: 9.5px; padding: 1px 4px; border-radius: 3px; }
  .cv-review-count { font-size: 9px; }
  .cv-product-price { gap: 4px; }
  .cv-price { font-size: 14px; }
  .cv-mrp { font-size: 10px; }
  .cv-discount { font-size: 10px; }
  .cv-product-tags { margin-top: 3px; }
  .cv-tag { font-size: 8.5px; padding: 1px 5px; border-radius: 3px; }
  .cv-add-to-cart-btn {
    margin: 4px 8px 8px;
    padding: 8px;
    font-size: 11px;
    border-radius: 8px;
    min-height: 34px;
  }
  .cv-wishlist-btn { width: 28px; height: 28px; font-size: 11px; top: 5px; right: 5px; }
  .cv-badge-trending, .cv-badge-bestseller, .cv-badge-new { font-size: 8px; padding: 2px 6px; top: 5px; left: 5px; }

  /* ══════════════════════════════════════
     SHOP PAGE — Filters + Products
     ══════════════════════════════════════ */
  .cv-shop-layout { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }

  /* AI image search — compact */
  .cv-image-search-section { padding: 14px; border-radius: 14px; margin: 0 4px 10px; }
  .cv-image-search-section h2 { font-size: 15px; }
  .cv-image-search-section > div > p { font-size: 11px; }
  .cv-image-search-dropzone { padding: 18px 12px; border-radius: 10px; }
  .cv-image-search-dropzone i { font-size: 26px; margin-bottom: 4px; }
  .cv-image-search-dropzone h3 { font-size: 13px; margin: 4px 0 2px; }
  .cv-image-search-dropzone p { font-size: 11px; }

  /* Shop header — sticky sort bar */
  .cv-shop-main-header {
    position: sticky;
    top: 90px;
    z-index: 50;
    background: #f0f2f5;
    padding: 8px 4px;
    margin: 0 0 4px;
    gap: 6px;
    border-radius: 0;
  }
  .cv-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 18px;
    border: 1.5px solid #ddd;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .cv-results-count { font-size: 11px; color: #888; }
  .cv-sort-select { padding: 7px 8px; font-size: 11px; border-radius: 18px; border: 1.5px solid #ddd; background: #fff; }

  /* Filter sidebar → bottom sheet */
  .cv-filter-sidebar {
    position: fixed;
    top: auto; bottom: 0; left: 0; right: 0;
    width: 100%;
    max-height: 82vh;
    height: auto;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    padding: 8px 16px 24px;
    box-shadow: 0 -6px 40px rgba(0,0,0,0.2);
    overflow-y: auto;
  }
  .cv-filter-sidebar.open { transform: translateY(0); }
  .cv-filter-sidebar::before {
    content: '';
    display: block;
    width: 36px; height: 4px;
    background: #ccc;
    border-radius: 4px;
    margin: 6px auto 14px;
  }
  .cv-filter-sidebar-close { display: block; position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 18px; cursor: pointer; color: #888; z-index: 2; }
  .cv-filter-section { margin-bottom: 16px; padding-bottom: 14px; }
  .cv-filter-header { font-size: 14px; margin-bottom: 10px; }
  .cv-filter-category-item { padding: 10px 12px; border-radius: 10px; font-size: 13px; }
  .cv-filter-colors { gap: 10px; }
  .cv-filter-color-swatch { width: 34px; height: 34px; }
  .cv-filter-brand-item { padding: 6px 0; font-size: 13px; }
  .cv-filter-rating-btn { padding: 8px 12px; border-radius: 10px; font-size: 13px; }
  .cv-clear-filters { border-radius: 12px; padding: 12px; font-size: 13px; }
  .cv-empty-state { padding: 40px 16px; }
  .cv-empty-state i { font-size: 40px; }
  .cv-empty-state h3 { font-size: 17px; }

  /* ══════════════════════════════════════
     CARDS — rounded, floating
     ══════════════════════════════════════ */
  .cv-card {
    border-radius: 14px;
    padding: 14px;
    border: none;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    margin-left: 4px;
    margin-right: 4px;
  }
  .cv-card-header h2, .cv-card-header h3 { font-size: 15px; }
  .cv-card-header h2 i, .cv-card-header h3 i { font-size: 14px; }

  /* ══════════════════════════════════════
     FORMS — Touch-friendly (44px targets)
     ══════════════════════════════════════ */
  .cv-form-row { flex-direction: column; gap: 12px; }
  .cv-form-group input,
  .cv-form-group select,
  .cv-form-group textarea {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
    min-height: 46px;
    -webkit-appearance: none;
  }
  .cv-form-group label { font-size: 12.5px; }
  .cv-input-prefix { border-radius: 10px; }
  .cv-input-prefix span { padding: 12px; font-size: 14px; }
  .cv-input-prefix input { padding: 12px; min-height: 46px; }
  .cv-input-suffix input { min-height: 44px; }
  .cv-input-icon input { min-height: 44px; padding-left: 38px; }
  .cv-address-type-pills { gap: 8px; }
  .cv-pill { padding: 10px 16px; border-radius: 22px; font-size: 12px; }
  .cv-checkbox-label { font-size: 13px; gap: 10px; min-height: 44px; align-items: center; }
  .cv-checkbox-label input[type="checkbox"] { width: 18px; height: 18px; }
  .cv-pincode-result { font-size: 12px; }

  /* ══════════════════════════════════════
     BREADCRUMB — swipe
     ══════════════════════════════════════ */
  .cv-breadcrumb { padding: 8px 0; }
  .cv-breadcrumb .cv-container { overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 11px; }
  .cv-breadcrumb .cv-container::-webkit-scrollbar { display: none; }

  /* ══════════════════════════════════════
     CHECKOUT FLOW
     ══════════════════════════════════════ */
  .cv-checkout-layout { grid-template-columns: 1fr; gap: 12px; padding: 10px 0 24px; }
  .cv-checkout-steps { margin-bottom: 14px; }
  .cv-checkout-step { font-size: 9.5px; }
  .cv-step-num { width: 26px; height: 26px; font-size: 10px; }
  .cv-checkout-step-line { width: 18px; height: 2px; margin: 0 3px; margin-bottom: 16px; }
  .cv-saved-addresses { grid-template-columns: 1fr; gap: 8px; }
  .cv-address-card { border-radius: 12px; padding: 12px; }
  .cv-address-badge { font-size: 9px; padding: 2px 8px; }
  .cv-address-card strong { font-size: 14px; }
  .cv-address-card p { font-size: 12px; }
  .cv-address-phone { font-size: 12px; }
  .cv-delivery-options { gap: 8px; }
  .cv-delivery-option { border-radius: 12px; padding: 12px; }
  .cv-delivery-option-inner strong { font-size: 13px; }
  .cv-delivery-option-inner p { font-size: 11px; }
  .cv-delivery-price { font-size: 14px; }
  .cv-delivery-info-bar { border-radius: 10px; padding: 10px 12px; font-size: 12px; flex-direction: column; gap: 4px; }

  /* ══════════════════════════════════════
     PAYMENT
     ══════════════════════════════════════ */
  .cv-payment-card { border-radius: 12px; margin-left: 4px; margin-right: 4px; }
  .cv-payment-card + .cv-payment-card { margin-top: 8px; }
  .cv-payment-method-header { padding: 12px; gap: 10px; }
  .cv-payment-method-header strong { font-size: 13px; }
  .cv-payment-method-header small { font-size: 10.5px; }
  .cv-payment-method-body { padding: 12px; }
  .cv-badge-recommended { font-size: 8px; padding: 2px 7px; }
  .cv-upi-options { gap: 8px; justify-content: flex-start; flex-wrap: wrap; }
  .cv-upi-option { padding: 10px; min-width: 68px; border-radius: 10px; }
  .cv-upi-option span { font-size: 10.5px; }
  .cv-bank-grid, .cv-wallet-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .cv-bank-option, .cv-wallet-option { padding: 10px 6px; border-radius: 8px; font-size: 11px; }
  .cv-saved-card { border-radius: 12px; padding: 12px; margin-bottom: 6px; }
  .cv-saved-card-inner { gap: 10px; }
  .cv-saved-card-inner i { font-size: 22px; }

  /* Order summary */
  .cv-order-summary-card { border-radius: 14px; }
  .cv-order-item-mini-img { width: 48px; height: 48px; font-size: 10px; border-radius: 8px; }
  .cv-order-item-mini-info span { font-size: 12px; }
  .cv-order-item-mini-info small { font-size: 10px; }
  .cv-summary-row { font-size: 13px; }
  .cv-summary-total { font-size: 16px; }
  .cv-summary-savings { font-size: 11px; padding: 6px 10px; border-radius: 8px; }
  .cv-coupon-input input { padding: 12px; border-radius: 10px; font-size: 14px; min-height: 44px; }
  .cv-coupon-card { border-radius: 8px; font-size: 12px; }
  .cv-coupon-code { font-size: 10px; }

  /* ══════════════════════════════════════
     PRODUCT PAGE
     ══════════════════════════════════════ */
  .cv-product-gallery { border-radius: 0; }
  .cv-gallery-main { height: 260px; border-radius: 0; }
  .cv-gallery-thumbs { gap: 6px; padding: 6px 10px; }
  .cv-gallery-thumb { width: 48px; height: 48px; border-radius: 8px; }
  .cv-tabs { overflow-x: auto; scrollbar-width: none; }
  .cv-tabs::-webkit-scrollbar { display: none; }
  .cv-tab-btn { white-space: nowrap; padding: 10px 14px; font-size: 12px; }
  .cv-delivery-checker { margin: 0 4px; }
  .cv-delivery-result { margin-top: 10px; }
  .cv-dr-item { font-size: 12px; padding: 4px 0; }

  /* Cart */
  .cv-cart-item { padding: 12px; }

  /* Account */
  .cv-account-sidebar { display: none; }

  /* ══════════════════════════════════════
     DEALS
     ══════════════════════════════════════ */
  .cv-deals-banner, .cv-deals-header { border-radius: 14px; padding: 20px 14px; margin: 0 4px; }
  .cv-countdown { gap: 5px; }
  .cv-countdown-item { min-width: 42px; padding: 8px 6px; border-radius: 8px; }
  .cv-countdown-item span:first-child { font-size: 17px; }
  .cv-countdown-item span:last-child { font-size: 7px; }

  /* Phone Finder */
  .cv-phone-finder { padding: 18px 12px; border-radius: 14px; margin: 0 4px; }
  .cv-phone-finder h2 { font-size: 15px; }
  .cv-phone-finder-form { flex-direction: column; gap: 8px; }
  .cv-phone-finder-form select { width: 100%; padding: 12px; border-radius: 10px; font-size: 14px; min-height: 46px; }

  /* ══════════════════════════════════════
     SELLER PAGE
     ══════════════════════════════════════ */
  .cv-seller-hero { padding: 28px 14px; }
  .cv-seller-hero h1 { font-size: 20px; }
  .cv-seller-hero p { font-size: 13px; }
  .cv-seller-stats { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .cv-seller-stat strong { font-size: 20px; }
  .cv-seller-stat span { font-size: 9px; }
  .cv-seller-benefits { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cv-seller-benefit { padding: 14px 10px; border-radius: 12px; }
  .cv-seller-benefit i { font-size: 22px; margin-bottom: 8px; }
  .cv-seller-benefit h3 { font-size: 12px; }
  .cv-seller-benefit p { font-size: 10px; }
  .cv-seller-categories { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .cv-seller-cat-chip { padding: 10px 6px; border-radius: 10px; font-size: 10px; }
  .cv-seller-cat-chip .cv-cat-emoji { font-size: 22px; }

  /* ══════════════════════════════════════
     BUTTONS — 44px min tap targets
     ══════════════════════════════════════ */
  .cv-btn { min-height: 44px; border-radius: 12px; font-size: 13px; }
  .cv-btn-lg { min-height: 48px; padding: 12px 22px; border-radius: 14px; font-size: 14px; }
  .cv-btn-block { border-radius: 14px; }
  .cv-btn-outline { min-height: 44px; border-radius: 12px; }
  .cv-btn-link { min-height: 44px; display: inline-flex; align-items: center; }

  /* ══════════════════════════════════════
     FOOTER — Compact
     ══════════════════════════════════════ */
  .cv-footer { padding: 28px 0 16px; }
  .cv-footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .cv-footer-brand p { font-size: 11px; }
  .cv-footer-social { gap: 10px; }
  .cv-footer-social a { width: 34px; height: 34px; font-size: 13px; }
  .cv-footer-col h4 { font-size: 13px; margin-bottom: 8px; }
  .cv-footer-col ul li a { font-size: 12px; padding: 3px 0; }
  .cv-footer-contact li { font-size: 12px; }
  .cv-footer-contact li a { font-size: 11px; }
  .cv-footer-bottom { flex-direction: column; text-align: center; gap: 8px; padding-top: 14px; }
  .cv-footer-bottom p { font-size: 10px; }
  .cv-footer-payments { gap: 6px; flex-wrap: wrap; justify-content: center; }
  .cv-footer-payments span { font-size: 10px; }

  /* ══════════════════════════════════════
     BOTTOM TAB BAR — Native feel (wrapped in media query)
     ══════════════════════════════════════ */
  /* NOTE: Mobile nav styles are now inline + JS-forced. See upgrade-v24 */

  /* ══════════════════════════════════════
     FLOATING ELEMENTS
     ══════════════════════════════════════ */
  .cv-whatsapp-float { bottom: 78px; right: 10px; width: 46px; height: 46px; font-size: 20px; }
  .cv-scroll-top { bottom: 78px; right: 10px; width: 38px; height: 38px; font-size: 14px; border-radius: 12px; }
  .cv-scroll-top.visible ~ .cv-whatsapp-float { bottom: 126px; }

  /* Toast above bottom nav */
  .cv-toast-container { bottom: 78px; left: 10px; right: 10px; }
  .cv-toast { border-radius: 12px; padding: 10px 14px; font-size: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

  /* Newsletter */
  .cv-newsletter { border-radius: 14px; padding: 20px 14px; margin: 0 4px; }
  .cv-newsletter h2 { font-size: 16px; }
  .cv-newsletter-form { flex-direction: column; gap: 8px; }
  .cv-newsletter-form input { border-radius: 10px; padding: 12px; min-height: 44px; }
  .cv-newsletter-form button { border-radius: 10px; width: 100%; min-height: 44px; }

  /* Why CoversVilla */
  .cv-why-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cv-why-card { padding: 14px 10px; border-radius: 12px; }
  .cv-why-card i { font-size: 22px; }
  .cv-why-card h3 { font-size: 11px; }
  .cv-why-card p { font-size: 9px; }

  /* Policy pages */
  .cv-policy-content { padding: 14px; border-radius: 14px; margin: 0 4px; }
  .cv-policy-content h1 { font-size: 18px; }
  .cv-policy-content h2 { font-size: 15px; }

  /* 404 */
  .cv-404-number { font-size: 72px; }

  /* Animations */
  .cv-animate-in { opacity: 0; transform: translateY(12px); transition: all 0.35s ease-out; }
  .cv-animate-in.cv-visible { opacity: 1; transform: translateY(0); }

}
/* end 768px */
/* ── VERY SMALL PHONES (iPhone SE, Galaxy A) ── */
@media (max-width: 374px) {
  .cv-categories-grid { grid-template-columns: repeat(3, 1fr); }
  .cv-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cv-hero-content h1 { font-size: 17px; }
  .cv-products-grid { gap: 5px; }
  .cv-product-info { padding: 6px 8px 2px; }
  .cv-price { font-size: 13px; }
  .cv-product-name { font-size: 10.5px; }
  .cv-add-to-cart-btn { font-size: 10px; padding: 6px; margin: 2px 6px 6px; }
  .cv-seller-benefits { grid-template-columns: 1fr; }
  .cv-bank-grid, .cv-wallet-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ═══════════════════════════════════════════════════════════════
   STOCK BADGES — Product Cards & Product Page
   ═══════════════════════════════════════════════════════════════ */
.cv-stock-badge {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px;
  display: flex; align-items: center; gap: 4px; letter-spacing: 0.3px;
}
.cv-stock-low { background: #fff3e0; color: #e65100; animation: cv-pulse-stock 1.5s infinite; }
@keyframes cv-pulse-stock { 0%,100%{opacity:1} 50%{opacity:.7} }
.cv-product-card.cv-out-of-stock { opacity: 0.7; }
.cv-product-card.cv-out-of-stock .cv-product-img-wrap::after {
  content: 'OUT OF STOCK'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: rgba(0,0,0,.75); color: #fff;
  padding: 8px 16px; border-radius: 6px; font-size: 11px; font-weight: 800;
  letter-spacing: 1px; z-index: 5;
}
.cv-product-card.cv-out-of-stock .cv-product-img-placeholder { opacity: 0.4; }
/* Product page stock badge */
.cv-product-stock-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin: 8px 0;
}
/* ═══════════════════════════════════════════════════════════════
   CAMERA SEARCH — AI Image Upload in Search Bar
   ═══════════════════════════════════════════════════════════════ */
.cv-camera-btn {
  background: none; border: none; color: #fff; cursor: pointer;
  padding: 8px 10px; font-size: 16px; opacity: 0.7; transition: all .2s;
  display: flex; align-items: center; position: relative;
}
.cv-camera-btn:hover { opacity: 1; color: #ff6f00; transform: scale(1.1); }
.cv-camera-btn::after {
  content: 'AI'; position: absolute; top: 2px; right: 2px;
  font-size: 7px; font-weight: 800; background: #ff6f00; color: #fff;
  padding: 1px 3px; border-radius: 3px; line-height: 1;
}
/* Camera search modal */
.cv-camera-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .3s;
}
.cv-camera-modal.active { opacity: 1; visibility: visible; }
.cv-camera-modal-inner {
  background: #fff; border-radius: 16px; padding: 32px; max-width: 440px; width: 90%;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); position: relative;
  transform: translateY(20px); transition: transform .3s;
}
.cv-camera-modal.active .cv-camera-modal-inner { transform: translateY(0); }
.cv-camera-modal-close {
  position: absolute; top: 12px; right: 12px; background: #f5f5f5;
  border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.cv-camera-modal-close:hover { background: #e0e0e0; }
.cv-camera-modal h3 { margin: 0 0 8px; font-size: 18px; color: #1a1a2e; }
.cv-camera-modal p { color: #777; font-size: 13px; margin: 0 0 20px; }
.cv-camera-dropzone i { font-size: 40px; color: #222222; display: block; margin-bottom: 12px; }
.cv-camera-dropzone span { font-size: 14px; color: #555; }
.cv-camera-dropzone small { display: block; margin-top: 8px; color: #999; font-size: 11px; }
.cv-camera-preview { margin-top: 16px; }
.cv-camera-preview img { max-width: 180px; border-radius: 12px; border: 2px solid #eee; }
.cv-ai-analyzing {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 12px; color: #222222; font-weight: 600; font-size: 13px;
}
.cv-ai-spinner-sm {
  width: 18px; height: 18px; border: 2px solid #fff0e6; border-top-color: #222222;
  border-radius: 50%; animation: cv-spin .8s linear infinite;
}
@keyframes cv-spin { to { transform: rotate(360deg); } }
.cv-ai-results-bar {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px;
}
.cv-ai-results-bar .cv-ai-tag {
  background: #fff0e6; color: #222222; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 4px;
}
/* ═══════════════════════════════════════════════════════════════
   360° PRODUCT VIEWER
   ═══════════════════════════════════════════════════════════════ */
.cv-360-viewer {
  margin-top: 16px; background: #f9f9f9; border-radius: 12px;
  padding: 20px; cursor: grab; position: relative; overflow: hidden;
  border: 1px solid #eee; user-select: none;
}
.cv-360-viewer:active { cursor: grabbing; }
.cv-360-badge {
  position: absolute; top: 10px; left: 10px; background: #222222; color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px; z-index: 2;
}
.cv-360-badge i { animation: cv-spin 3s linear infinite; }
.cv-360-object {
  width: 120px; height: 120px; margin: 0 auto; position: relative;
  transform-style: preserve-3d; transition: transform .05s linear;
}
.cv-360-face {
  position: absolute; width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center; font-size: 60px;
  backface-visibility: hidden;
}
.cv-360-front { transform: translateZ(60px); }
.cv-360-back { transform: rotateY(180deg) translateZ(60px); }
.cv-360-left { transform: rotateY(-90deg) translateZ(60px); }
.cv-360-right { transform: rotateY(90deg) translateZ(60px); }
/* ═══════════════════════════════════════════════════════════════
   PRODUCT PAGE — Gallery, Description, Seller, Delivery Check
   ═══════════════════════════════════════════════════════════════ */
/* Gallery */
.cv-gallery { position: sticky; top: 80px; }
.cv-gallery-main {
  position: relative; background: #f8f8f8; border-radius: 12px;
  overflow: hidden; aspect-ratio: 1; display: flex; align-items: center;
  justify-content: center; border: 1px solid #eee;
}
.cv-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cv-gallery-thumbs {
  display: flex; gap: 8px; margin-top: 10px; overflow-x: auto;
  padding-bottom: 4px;
}
.cv-gallery-thumb {
  min-width: 70px; height: 70px; border: 2px solid #eee; border-radius: 8px;
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; transition: all .2s; background: #fafafa;
}
.cv-gallery-thumb:hover, .cv-gallery-thumb.active { border-color: #222222; box-shadow: 0 2px 8px rgba(26,35,126,.15); }
.cv-gallery-thumb img { width: 100%; height: 50px; object-fit: contain; }
.cv-thumb-label { font-size: 9px; color: #888; padding: 2px 4px; text-align: center; }
/* Product Description */
.cv-product-desc-section { margin: 16px 0; padding: 14px; background: #f9f9f9; border-radius: 10px; border: 1px solid #eee; }
.cv-product-description { font-size: 14px; color: #555; line-height: 1.7; margin: 8px 0 0; }
.cv-option-label { font-size: 13px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 6px; }
.cv-option-label i { color: #222222; }
/* Seller Info */
.cv-seller-card {
  margin: 16px 0; padding: 16px; background: #fafafa; border-radius: 12px;
  border: 1px solid #eee; display: flex; align-items: center; gap: 14px;
}
.cv-seller-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #222222; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.cv-seller-name { font-weight: 700; color: #333; font-size: 14px; }
.cv-seller-name .cv-verified-badge { color: #222222; font-size: 12px; font-weight: 400; }
/* Delivery Check */
.cv-delivery-check { margin: 16px 0; padding: 14px; background: #f5f5f5; border-radius: 10px; }
.cv-delivery-form { display: flex; gap: 8px; margin-top: 8px; }
.cv-delivery-input {
  flex: 1; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 14px; font-family: inherit;
}
.cv-delivery-input:focus { border-color: #222222; outline: none; box-shadow: 0 0 0 3px rgba(26,35,126,.08); }
.cv-delivery-result {
  margin-top: 10px; padding: 10px; border-radius: 8px; font-size: 13px;
}
.cv-dr-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: #333; }
.cv-dr-item i { font-size: 14px; }
.cv-dr-item.err { color: #c62828; }
.cv-dr-item.err i { color: #c62828; }
/* ═══════════════════════════════════════════════════════════════
   WISHLIST PAGE
   ═══════════════════════════════════════════════════════════════ */
.cv-wishlist-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.cv-wishlist-header h1 { font-size: 22px; color: #1a1a2e; display: flex; align-items: center; gap: 8px; }
.cv-wishlist-header h1 i { color: #e74c3c; }
.cv-wishlist-count-text { color: #888; font-size: 14px; font-weight: 400; }
.cv-wishlist-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px;
}
.cv-wishlist-empty {
  grid-column: 1/-1; text-align: center; padding: 60px 20px;
}
.cv-wishlist-empty i { font-size: 64px; color: #eee; }
.cv-wishlist-empty h3 { margin: 16px 0 8px; color: #555; }
.cv-wishlist-empty p { color: #999; margin-bottom: 20px; }
/* Wishlist btn on product cards */
.cv-wishlist-btn {
  position: absolute; top: 8px; right: 8px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #bbb; transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.cv-wishlist-btn:hover { color: #e74c3c; transform: scale(1.1); }
.cv-wishlist-btn.active { color: #e74c3c; background: #fff; }
.cv-wishlist-btn.active i { animation: cv-heart-pop .3s ease; }
@keyframes cv-heart-pop { 0%{transform:scale(1)} 50%{transform:scale(1.3)} 100%{transform:scale(1)} }
/* Product page wishlist btn */
.cv-product-wishlist-btn {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.95); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #bbb; transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.cv-product-wishlist-btn:hover { color: #e74c3c; transform: scale(1.1); }
.cv-product-wishlist-btn.active { color: #e74c3c; }
/* ═══════════════════════════════════════════════════════════════
   PINCODE DELIVERY FILTER (Shop Page)
   ═══════════════════════════════════════════════════════════════ */
.cv-pincode-filter {
  background: #fff8e1; border-radius: 10px; padding: 12px 14px;
  margin-bottom: 16px; border: 1px solid #ffe082;
}
.cv-pincode-filter label {
  font-size: 12px; font-weight: 700; color: #333; display: flex;
  align-items: center; gap: 6px; margin-bottom: 6px;
}
.cv-pincode-filter label i { color: #e65100; }
.cv-pincode-filter-row { display: flex; gap: 6px; }
.cv-pincode-filter-input {
  flex: 1; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px;
  font-size: 13px; font-family: inherit;
}
.cv-pincode-filter-input:focus { border-color: #222222; outline: none; }
.cv-pincode-filter-btn {
  background: #222222; color: #fff; border: none; border-radius: 6px;
  padding: 8px 14px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.cv-pincode-filter-btn:hover { background: #0d1542; }
.cv-pincode-result-msg {
  margin-top: 6px; font-size: 11px; display: flex; align-items: center; gap: 4px;
}
.cv-pincode-result-msg.ok { color: #2e7d32; }
.cv-pincode-result-msg.err { color: #c62828; }
/* ═══════════════════════════════════════════════════════════════
   SELLER TAG ON PRODUCT CARDS
   ═══════════════════════════════════════════════════════════════ */
.cv-tag-seller { background: #f3e5f5 !important; color: #7b1fa2 !important; font-size: 10px !important; }
/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — New Features
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cv-stock-badge { font-size: 9px; padding: 2px 6px; top: 6px; left: 6px; }
  .cv-camera-btn { font-size: 14px; padding: 6px 8px; }
  .cv-camera-btn::after { font-size: 6px; top: 1px; right: 0; }
  .cv-camera-modal-inner { padding: 24px 20px; }
  .cv-camera-dropzone i { font-size: 32px; }
  .cv-360-viewer { padding: 14px; }
  .cv-360-object { width: 90px; height: 90px; }
  .cv-360-face { font-size: 44px; }
  .cv-gallery-thumbs { gap: 6px; }
  .cv-gallery-thumb { min-width: 58px; height: 58px; }
  .cv-gallery-thumb img { height: 40px; }
  .cv-product-stock-badge { font-size: 11px; padding: 4px 10px; }
  .cv-seller-card { padding: 12px; gap: 10px; }
  .cv-wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cv-wishlist-header h1 { font-size: 18px; }
  .cv-delivery-form { flex-direction: column; }
  .cv-pincode-filter-row { flex-direction: column; }
}
/* ── SAFE AREAS (iOS notch etc) ── */
@supports (padding: env(safe-area-inset-bottom)) {
  @media (max-width: 768px) {
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .cv-mobile-nav { padding-bottom: env(safe-area-inset-bottom); }
  }
}
/* ── PWA STANDALONE MODE ── */
@media (display-mode: standalone) {
  .cv-header { padding-top: env(safe-area-inset-top, 0px); }
}
/* ═══════════════════════════════════════════════════════════════
   QUICK VIEW MODAL
   ═══════════════════════════════════════════════════════════════ */
.cv-qv-modal {
  display: none; position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,0.65); align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.cv-qv-modal.open { display: flex; }
.cv-qv-panel {
  background: #fff; border-radius: 20px; width: 92%; max-width: 760px;
  max-height: 88vh; overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: cvSlideUp 0.3s ease;
}
.cv-qv-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: #f5f5f5; border: none; width: 36px; height: 36px;
  border-radius: 50%; font-size: 16px; color: #666; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cv-qv-close:hover { background: #eee; transform: rotate(90deg); }
.cv-qv-layout {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0;
}
.cv-qv-image {
  padding: 28px; display: flex; align-items: center; justify-content: center;
  background: #fafafa; border-radius: 20px 0 0 20px;
}
.cv-qv-details { padding: 28px; }
.cv-qv-btn {
  padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; display: inline-flex; align-items: center;
  gap: 6px; transition: all 0.2s; text-decoration: none;
}
.cv-qv-btn:not(.cv-qv-btn-outline) {
  background: var(--cv-primary); color: #fff;
}
.cv-qv-btn:not(.cv-qv-btn-outline):hover { background: #283593; transform: translateY(-1px); }
.cv-qv-btn-outline {
  background: #fff; color: var(--cv-primary); border: 2px solid var(--cv-primary);
}
.cv-qv-btn-outline:hover { background: #fff0e6; }
@media (max-width: 640px) {
  .cv-qv-layout { grid-template-columns: 1fr; }
  .cv-qv-image { border-radius: 20px 20px 0 0; padding: 20px; }
  .cv-qv-details { padding: 20px; }
}
/* ═══════════════════════════════════════════════════════════════
   ADD TO CART BUTTON ON CARDS
   ═══════════════════════════════════════════════════════════════ */
.cv-add-to-cart-btn {
  width: 100%; padding: 8px; background: var(--cv-primary); color: #fff;
  border: none; border-radius: 8px; font-size: 12px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 5px; margin-top: 8px; transition: all 0.2s; opacity: 0;
  transform: translateY(6px);
}
.cv-product-card:hover .cv-add-to-cart-btn {
  opacity: 1; transform: translateY(0);
}
.cv-add-to-cart-btn:hover { background: #283593; }
.cv-add-to-cart-btn:disabled { opacity: 0.4; cursor: not-allowed; }
/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
   ═══════════════════════════════════════════════════════════════ */
.cv-scroll-top {
  position: fixed; bottom: 80px; right: 20px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--cv-primary); color: #fff; font-size: 18px;
  cursor: pointer; box-shadow: 0 4px 16px rgba(26,35,126,0.3);
  opacity: 0; visibility: hidden; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.cv-scroll-top.visible { opacity: 1; visibility: visible; }
.cv-scroll-top:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(26,35,126,0.4); }
/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
.cv-testimonials-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 0 16px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cv-testimonials-track::-webkit-scrollbar { display: none; }
.cv-testimonial-card {
  min-width: 320px; max-width: 380px; scroll-snap-align: start;
  background: #fff; border-radius: 16px; padding: 24px;
  border: 1px solid #eee; transition: all 0.3s; flex-shrink: 0;
}
.cv-testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); border-color: #c5cae9; }
.cv-testimonial-stars { color: #ff9800; font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.cv-testimonial-text { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.cv-testimonial-author {
  display: flex; align-items: center; gap: 10px; border-top: 1px solid #f0f0f0; padding-top: 12px;
}
.cv-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-weight: 700;
  font-size: 15px; color: #fff;
}
.cv-testimonial-info { font-size: 13px; }
.cv-testimonial-name { font-weight: 600; color: #1a1a2e; }
.cv-testimonial-meta { font-size: 11px; color: #888; }
.cv-verified-purchase { color: #2e7d32; font-size: 11px; font-weight: 600; }
/* ═══════════════════════════════════════════════════════════════
   RECENTLY VIEWED
   ═══════════════════════════════════════════════════════════════ */
.cv-recently-viewed { background: #f8f9fa; padding: 32px 0; }
/* ═══════════════════════════════════════════════════════════════
   FREQUENTLY BOUGHT TOGETHER
   ═══════════════════════════════════════════════════════════════ */
.cv-fbt-layout {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: center; padding: 20px; background: #f8f9fa;
  border-radius: 14px;
}
.cv-fbt-item {
  text-align: center; padding: 16px; background: #fff;
  border-radius: 12px; border: 1px solid #eee; width: 160px;
  transition: all 0.2s;
}
.cv-fbt-item:hover { border-color: var(--cv-primary); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cv-fbt-plus { font-size: 24px; color: #ccc; font-weight: 300; }
.cv-fbt-total {
  text-align: center; padding: 16px; width: 100%;
  border-top: 2px dashed #e0e0e0; margin-top: 8px;
}
/* Coupon cards clickable */
.cv-coupon-card { cursor: pointer; transition: all 0.2s; }
.cv-coupon-card:hover { background: #fff0e6; transform: translateY(-1px); }
/* Product card out-of-stock overlay */
.cv-out-of-stock .cv-product-img-wrap { opacity: 0.5; }
.cv-out-of-stock .cv-product-img-placeholder { filter: grayscale(0.6); }
/* Empty state */
.cv-empty-state {
  text-align: center; padding: 60px 20px;
  color: #888; font-size: 14px;
}
.cv-empty-state-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; }
/* Loading skeleton shimmer */
@keyframes cvShimmer { 0%{background-position:-200px 0} 100%{background-position:200px 0} }
.cv-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400px 100%;
  animation: cvShimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}
/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY FOUNDATIONS
   ═══════════════════════════════════════════════════════════ */
/* Skip to content link */
.cv-skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 99999;
  background: var(--cv-primary); color: #fff; padding: 12px 24px;
  border-radius: 0 0 8px 8px; font-weight: 600; font-size: 14px;
  text-decoration: none; transition: top 0.2s;
}
.cv-skip-link:focus { top: 0; }
/* Screen reader only */
.cv-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
/* Focus visible */
*:focus-visible {
  outline: 3px solid #5c6bc0;
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #5c6bc0;
  outline-offset: 2px;
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ═══════════════════════════════════════════════════════════
   PRODUCT COUNT + FILTER CHIPS + VIEW TOGGLE
   ═══════════════════════════════════════════════════════════ */
.cv-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 16px; padding: 12px 16px;
  background: #f8f9fa; border-radius: 12px;
}
.cv-product-count { font-size: 13px; color: #666; font-weight: 500; }
.cv-product-count strong { color: #222222; font-weight: 700; }
.cv-view-toggle { display: flex; gap: 4px; }
.cv-view-btn {
  width: 36px; height: 36px; border: 1px solid #ddd; border-radius: 8px;
  background: #fff; cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 14px; color: #888; transition: all 0.2s;
}
.cv-view-btn.active, .cv-view-btn:hover { background: var(--cv-primary); color: #fff; border-color: var(--cv-primary); }
/* Active filter chips */
.cv-active-filters {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.cv-filter-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; background: #fff0e6; color: #222222;
  border-radius: 20px; font-size: 11px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
}
.cv-filter-chip:hover { background: #c5cae9; }
.cv-filter-chip .cv-chip-close { font-size: 14px; opacity: 0.6; margin-left: 2px; }
/* Pagination */
.cv-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 24px; padding: 16px 0;
}
.cv-page-btn {
  min-width: 38px; height: 38px; border: 1px solid #ddd; border-radius: 8px;
  background: #fff; cursor: pointer; font-size: 13px; font-weight: 600;
  color: #555; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cv-page-btn.active, .cv-page-btn:hover { background: var(--cv-primary); color: #fff; border-color: var(--cv-primary); }
.cv-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
/* ═══════════════════════════════════════════════════════════
   VARIANT SELECTOR (Product page)
   ═══════════════════════════════════════════════════════════ */
.cv-variant-selector { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.cv-variant-btn {
  padding: 8px 18px; border: 2px solid #e0e0e0; border-radius: 8px;
  background: #fff; cursor: pointer; font-size: 12px; font-weight: 600;
  color: #444; transition: all 0.2s;
}
.cv-variant-btn.active, .cv-variant-btn:hover {
  border-color: var(--cv-primary); color: var(--cv-primary); background: #f5f7ff;
}
.cv-color-option {
  width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e0e0e0;
  cursor: pointer; transition: all 0.2s; position: relative;
}
.cv-color-option.active { border-color: var(--cv-primary); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cv-primary); }
/* Write Review */
.cv-write-review-btn {
  padding: 10px 20px; border: 2px dashed #c5cae9; border-radius: 10px;
  background: #f5f7ff; color: var(--cv-primary); font-size: 13px;
  font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-flex;
  align-items: center; gap: 6px;
}
.cv-write-review-btn:hover { background: #fff0e6; border-style: solid; }
/* ═══════════════════════════════════════════════════════════
   EMPTY CART STATE
   ═══════════════════════════════════════════════════════════ */
.cv-empty-cart {
  text-align: center; padding: 60px 20px; grid-column: 1 / -1;
}
.cv-empty-cart-icon { font-size: 80px; opacity: 0.3; margin-bottom: 16px; }
/* ═══════════════════════════════════════════════════════════
   APP DOWNLOAD BANNER
   ═══════════════════════════════════════════════════════════ */
.cv-app-banner {
  background: linear-gradient(135deg, #222222 0%, #3949ab 100%);
  padding: 40px 0; color: #fff; overflow: hidden; position: relative;
}
.cv-app-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cv-app-banner-text h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.cv-app-banner-text p { font-size: 14px; opacity: 0.85; margin-bottom: 16px; max-width: 400px; }
.cv-app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.cv-app-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 10px;
  color: #fff; text-decoration: none; font-size: 13px; font-weight: 600;
  transition: all 0.2s;
}
.cv-app-badge:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.cv-app-qr {
  width: 100px; height: 100px; background: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #222222; text-align: center; font-weight: 600;
  padding: 8px;
}
@media (max-width: 768px) {
  .cv-app-banner-inner { flex-direction: column; text-align: center; }
  .cv-app-badges { justify-content: center; }
  .cv-app-qr { display: none; }
}
/* ═══════════════════════════════════════════════════════════
   STICKY HEADER
   ═══════════════════════════════════════════════════════════ */
.cv-header.cv-header-sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  animation: cvSlideDown 0.3s ease;
}
@keyframes cvSlideDown { from { transform:translateY(-100%); } to { transform:translateY(0); } }
.cv-header-spacer { display: none; }
.cv-header.cv-header-sticky + .cv-header-spacer,
body.cv-sticky-active .cv-header-spacer { display: block; }
/* ═══════════════════════════════════════════════════════════
   SOCIAL PROOF POPUP
   ═══════════════════════════════════════════════════════════ */
.cv-social-proof {
  position: fixed; bottom: 90px; left: 20px; z-index: 998;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); max-width: 320px;
  display: flex; align-items: center; gap: 12px;
  transform: translateX(-120%); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  border-left: 4px solid #2e7d32;
}
.cv-social-proof.cv-sp-show { transform: translateX(0); }
.cv-social-proof-icon { font-size: 28px; flex-shrink: 0; }
.cv-social-proof-text { font-size: 12px; color: #444; line-height: 1.4; }
.cv-social-proof-name { font-weight: 700; color: #222222; }
.cv-social-proof-time { font-size: 10px; color: #aaa; margin-top: 2px; }
.cv-social-proof-close {
  position: absolute; top: 6px; right: 8px; border: none; background: none;
  font-size: 14px; color: #ccc; cursor: pointer; padding: 2px;
}
@media (max-width: 768px) {
  .cv-social-proof { left: 10px; right: 10px; max-width: none; bottom: 80px; }
}
/* ═══════════════════════════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════════════════════════ */
.cv-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #1a1a2e; color: #fff; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%); transition: transform 0.4s ease;
}
.cv-cookie-banner.cv-cookie-show { transform: translateY(0); }
.cv-cookie-text { font-size: 13px; line-height: 1.5; flex: 1; min-width: 240px; }
.cv-cookie-text a { color: #90caf9; }
.cv-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cv-cookie-btn {
  padding: 10px 24px; border-radius: 8px; font-size: 13px;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
}
.cv-cookie-btn-accept { background: #ff6f00; color: #fff; }
.cv-cookie-btn-accept:hover { background: #f57c00; }
.cv-cookie-btn-settings { background: transparent; color: #90caf9; border: 1px solid #90caf9; }
/* ═══════════════════════════════════════════════════════════
   IMAGE ZOOM (Product gallery hover)
   ═══════════════════════════════════════════════════════════ */
.cv-gallery-main {
  overflow: hidden; cursor: zoom-in; position: relative;
}
.cv-gallery-main img, .cv-gallery-main .cv-product-img-placeholder {
  transition: transform 0.3s ease;
}
.cv-gallery-main:hover img, .cv-gallery-main:hover .cv-product-img-placeholder {
  transform: scale(1.8);
}
.cv-gallery-main::after {
  content: '🔍 Hover to zoom'; position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.6); color: #fff; padding: 4px 10px;
  border-radius: 6px; font-size: 10px; opacity: 0;
  transition: opacity 0.2s; pointer-events: none;
}
.cv-gallery-main:hover::after { opacity: 1; }
/* ═══════════════════════════════════════════════════════════
   LIVE SEARCH PRODUCT RESULTS
   ═══════════════════════════════════════════════════════════ */
.cv-search-product-result {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  text-decoration: none; color: #333; transition: background 0.15s;
  border-bottom: 1px solid #f0f0f0;
}
.cv-search-product-result:hover { background: #f5f7ff; }
.cv-search-product-result .cv-spr-img {
  width: 40px; height: 40px; border-radius: 6px; background: #f0f0f0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  flex-shrink: 0;
}
.cv-search-product-result .cv-spr-info { flex: 1; min-width: 0; }
.cv-search-product-result .cv-spr-name { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-search-product-result .cv-spr-price { font-size: 12px; font-weight: 700; color: #222222; }
/* Gallery main image transition */
.cv-gallery-main { transition: opacity 0.15s ease; }
/* FAQ accordion styling */
.cv-faq-item { transition: border-color 0.2s; }
.cv-faq-q:hover { background: #f8f9fa !important; }
.cv-faq-q.open + .cv-faq-a { padding-top: 2px; }
/* Contact form focus */
.cv-contact-form input:focus,
.cv-contact-form select:focus,
.cv-contact-form textarea:focus {
  border-color: var(--cv-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}
/* Order success animation */
#cvOrderSuccess > div { position: relative; }
/* About page team cards hover */
.cv-policy-content [style*="f8f9fa"] {
  transition: transform 0.2s, box-shadow 0.2s;
}
.cv-policy-content [style*="f8f9fa"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
/* Flash animation for timeline highlight */
@keyframes cvFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; background: #fff0e6; }
}
/* Print styles for orders/invoices */
@media print {
  .cv-header, .cv-mega-nav, .cv-footer, .cv-mobile-nav,
  .cv-whatsapp-float, .cv-scroll-top, .cv-social-proof,
  .cv-cookie-banner, .cv-app-banner { display: none !important; }
  .cv-card { box-shadow: none !important; border: 1px solid #ddd !important; }
  body { background: #fff !important; }
  .cv-order-timeline { page-break-inside: avoid; }
}
/* ═══════════════════════════════════════════════════════════
   SCROLL PROGRESS INDICATOR
   ═══════════════════════════════════════════════════════════ */
.cv-scroll-progress {
  position: fixed; top: 0; left: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, #ff6f00, #e91e63, #7b1fa2);
  z-index: 10001; transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}
/* ═══════════════════════════════════════════════════════════
   PAGE TRANSITION (fade-in on load)
   ═══════════════════════════════════════════════════════════ */
.cv-page-enter { animation: cvPageEnter 0.4s ease both; }
@keyframes cvPageEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ═══════════════════════════════════════════════════════════
   RIPPLE CLICK FEEDBACK
   ═══════════════════════════════════════════════════════════ */
.cv-ripple {
  position: relative; overflow: hidden;
}
.cv-ripple::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  width: 100px; height: 100px; margin-top: -50px; margin-left: -50px;
  top: 50%; left: 50%;
  animation: cvRipple 0.6s linear;
  opacity: 0; pointer-events: none;
}
@keyframes cvRipple {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}
.cv-btn:active, .cv-product-card:active { transform: scale(0.97); }
/* ═══════════════════════════════════════════════════════════
   SMALL PHONE BREAKPOINT (≤480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .cv-hero-section h2 { font-size: 20px !important; }
  .cv-hero-section p { font-size: 13px !important; }
  .cv-section-title { font-size: 18px !important; }
  .cv-container { padding-left: 12px; padding-right: 12px; }
  .cv-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .cv-product-card { border-radius: 10px; }
  .cv-product-card .cv-product-title { font-size: 12px !important; }
  .cv-product-card .cv-product-price { font-size: 14px !important; }
  .cv-header-inner { padding: 8px 12px; }
  .cv-search-form { max-width: none; }
  .cv-footer-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .cv-page-header h1 { font-size: 20px !important; }
  .cv-breadcrumb { font-size: 11px !important; }
  .cv-shop-toolbar { flex-direction: column; gap: 8px; padding: 10px 12px; }
  .cv-checkout-layout { grid-template-columns: 1fr !important; }
  .cv-cart-layout { grid-template-columns: 1fr !important; }
  .cv-account-layout { grid-template-columns: 1fr !important; }
  .cv-app-banner { padding: 24px 0; }
  .cv-app-banner-text h2 { font-size: 20px; }
  .cv-trust-bar .cv-container { gap: 12px; }
  .cv-trust-item span { font-size: 10px !important; }
  .cv-social-proof { max-width: 280px; }
  .cv-filter-chip { font-size: 10px; padding: 4px 8px; }
  .cv-pagination .cv-page-btn { min-width: 32px; height: 32px; font-size: 12px; }
}
/* Extra small (≤360px) */
@media (max-width: 360px) {
  .cv-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
  .cv-product-card { padding: 6px; }
  .cv-header-actions span:not(.cv-badge) { display: none; }
  .cv-mega-nav { display: none; }
  .cv-search-input { font-size: 13px; }
}
/* ═══════════════════════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════════════════════ */
.cv-dark-toggle {
  position: fixed; bottom: 90px; right: 20px; z-index: 997;
  width: 44px; height: 44px; border-radius: 50%;
  background: #1a1a2e; color: #ffd54f; border: 2px solid rgba(255,255,255,0.15);
  cursor: pointer; font-size: 18px; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.cv-dark-toggle:hover { transform: scale(1.1); }
body.cv-dark-mode {
  --cv-bg: #121212; --cv-surface: #1e1e2e; --cv-text: #e0e0e0;
  --cv-text-muted: #aaa; --cv-border: #333;
  background: var(--cv-bg) !important; color: var(--cv-text) !important;
}
body.cv-dark-mode .cv-header { background: #1a1a2e !important; }
body.cv-dark-mode .cv-card, body.cv-dark-mode .cv-product-card,
body.cv-dark-mode .cv-policy-content { background: var(--cv-surface) !important; border-color: var(--cv-border) !important; color: var(--cv-text) !important; }
body.cv-dark-mode .cv-footer { background: #0a0a14 !important; }
body.cv-dark-mode .cv-mega-nav { background: #1a1a2e !important; }
body.cv-dark-mode .cv-page-header { background: #1a1a2e !important; }
body.cv-dark-mode input, body.cv-dark-mode select, body.cv-dark-mode textarea {
  background: #2a2a3e !important; color: #e0e0e0 !important; border-color: #444 !important;
}
body.cv-dark-mode .cv-mobile-nav { background: #1a1a2e !important; border-color: #333 !important; }
body.cv-dark-mode .cv-trust-bar { background: #1a1a2e !important; }
body.cv-dark-mode .cv-filter-sidebar { background: var(--cv-surface) !important; }
body.cv-dark-mode .cv-shop-toolbar { background: var(--cv-surface) !important; }
body.cv-dark-mode .cv-account-sidebar { background: var(--cv-surface) !important; }
body.cv-dark-mode .cv-breadcrumb { color: #aaa !important; }
body.cv-dark-mode .cv-breadcrumb a { color: #90caf9 !important; }
body.cv-dark-mode h1, body.cv-dark-mode h2, body.cv-dark-mode h3,
body.cv-dark-mode h4, body.cv-dark-mode strong { color: #f0f0f0 !important; }
body.cv-dark-mode a { color: #90caf9; }
body.cv-dark-mode .cv-btn-primary { background: #3949ab !important; }
body.cv-dark-mode .cv-dark-toggle { background: #ffd54f; color: #1a1a2e; }
body.cv-dark-mode .cv-mega-dropdown { background: #252540 !important; }
body.cv-dark-mode .cv-qv-overlay { background: rgba(0,0,0,0.7) !important; }
/* ═══════════════════════════════════════════════════════════
   SIZE GUIDE MODAL
   ═══════════════════════════════════════════════════════════ */
.cv-size-guide-btn {
  font-size: 12px; color: var(--cv-primary); cursor: pointer;
  border: none; background: none; text-decoration: underline;
  font-weight: 600; padding: 0; font-family: inherit;
}
.cv-size-guide-modal {
  position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px); display: none; align-items: center;
  justify-content: center;
}
.cv-size-guide-modal.active { display: flex; }
.cv-size-guide-content {
  background: #fff; border-radius: 16px; padding: 32px; max-width: 560px;
  width: 90%; max-height: 80vh; overflow-y: auto; position: relative;
  animation: cvSlideUp 0.3s ease;
}
.cv-size-guide-content h3 { margin: 0 0 16px; font-size: 18px; }
.cv-size-guide-close {
  position: absolute; top: 12px; right: 16px; border: none; background: none;
  font-size: 24px; cursor: pointer; color: #888; padding: 4px;
}
.cv-size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cv-size-table th { background: #f5f7ff; padding: 10px; text-align: center; font-weight: 600; border: 1px solid #eee; }
.cv-size-table td { padding: 10px; text-align: center; border: 1px solid #eee; }
.cv-size-table tr:hover td { background: #f0f4ff; }
/* OLD CHAT WIDGET CSS REMOVED — Tawk.to active */
/* ═══════════════════════════════════════════════════════════
   LOADING SPINNER
   ═══════════════════════════════════════════════════════════ */
.cv-spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: cvSpin 0.6s linear infinite;
}
.cv-spinner-dark {
  border-color: rgba(26,35,126,0.15); border-top-color: var(--cv-primary);
}
@keyframes cvSpin { to { transform: rotate(360deg); } }
.cv-btn-loading {
  position: relative; pointer-events: none; opacity: 0.8;
}
.cv-btn-loading::after {
  content: ''; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%; animation: cvSpin 0.6s linear infinite;
}
.cv-page-loading {
  position: fixed; inset: 0; z-index: 99999; background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.cv-page-loading .cv-spinner { width: 40px; height: 40px; border-width: 4px; }
/* ═══════════════════════════════════════════════════════════
   NOTIFICATION PAGE CLASSES (reduce inline styles)
   ═══════════════════════════════════════════════════════════ */
.cv-notif-item {
  display: flex; gap: 14px; padding: 16px; background: #fff;
  border-radius: 12px; border: 1px solid #e8e8e8; margin-bottom: 10px;
  transition: all 0.2s; position: relative;
}
.cv-notif-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cv-notif-item.cv-notif-unread { background: #f5f7ff; border-left: 4px solid #222222; }
.cv-notif-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cv-notif-icon-order { background: #fff3e0; }
.cv-notif-icon-offer { background: #fff3e0; }
.cv-notif-icon-delivery { background: #e8f5e9; }
.cv-notif-icon-coins { background: #fce4ec; }
.cv-notif-icon-promo { background: #f3e5f5; }
.cv-notif-body { flex: 1; min-width: 0; }
.cv-notif-title { font-size: 13px; font-weight: 600; color: #1a1a2e; margin-bottom: 3px; }
.cv-notif-text { font-size: 12px; color: #666; line-height: 1.4; }
.cv-notif-time { font-size: 11px; color: #aaa; margin-top: 4px; }
.cv-notif-action {
  display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600;
  color: var(--cv-primary); text-decoration: none;
}
.cv-notif-action:hover { text-decoration: underline; }
.cv-notif-badge {
  position: absolute; top: 12px; right: 12px; font-size: 10px;
  padding: 2px 8px; border-radius: 10px; font-weight: 600;
}
.cv-notif-badge-new { background: #fff0e6; color: #222222; }
.cv-notif-tabs {
  display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap;
}
.cv-notif-tab {
  padding: 8px 18px; border-radius: 20px; font-size: 12px;
  font-weight: 600; border: 1px solid #ddd; background: #fff;
  color: #666; cursor: pointer; transition: all 0.2s;
}
.cv-notif-tab.active { background: var(--cv-primary); color: #fff; border-color: var(--cv-primary); }
.cv-notif-empty {
  text-align: center; padding: 48px 20px; color: #aaa;
}
.cv-notif-empty-icon { font-size: 48px; opacity: 0.4; margin-bottom: 12px; }
/* ═══════════════════════════════════════════════════════════
   PRODUCT BADGES (New / Bestseller / Sale)
   ═══════════════════════════════════════════════════════════ */
.cv-product-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 10px; border-radius: 6px; font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.cv-badge-new { background: #2e7d32; color: #fff; }
.cv-badge-sale { background: #e91e63; color: #fff; }
.cv-badge-hot { background: #ff6f00; color: #fff; }
.cv-badge-bestseller { background: #222222; color: #fff; }
/* ═══════════════════════════════════════════════════════════
   PRINT STYLESHEET
   ═══════════════════════════════════════════════════════════ */
@media print {
  .cv-header, .cv-mobile-nav, .cv-whatsapp-float, .cv-scroll-top,
  .cv-social-proof, .cv-cookie-banner, .cv-newsletter-section,
  .cv-app-banner, .cv-partners-section, .cv-filter-sidebar,
  .cv-skip-link, #cvScrollProgress { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .cv-container { max-width: 100%; }
  a { text-decoration: underline; color: #000; }
  .cv-card { break-inside: avoid; border: 1px solid #ccc; }
}
/* ═══════════════════════════════════════════════════════════
   INPUT VALIDATION STYLES
   ═══════════════════════════════════════════════════════════ */
.cv-input:invalid:not(:placeholder-shown) {
  border-color: #e53935; background: #ffebee;
}
.cv-input:valid:not(:placeholder-shown) {
  border-color: #2e7d32;
}
.cv-input-error { border-color: #e53935 !important; background: #ffebee !important; }
.cv-input-success { border-color: #2e7d32 !important; }
.cv-error-msg { font-size: 11px; color: #e53935; margin-top: 4px; display: none; }
.cv-input-error ~ .cv-error-msg { display: block; }
/* ═══════════════════════════════════════════════════════════
   CATEGORY FILTER DIVIDERS
   ═══════════════════════════════════════════════════════════ */
.cv-filter-divider {
  font-size: 10px; font-weight: 700; color: #999;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 10px 0 4px; border-top: 1px solid #f0f0f0;
  margin-top: 6px;
}
.cv-filter-category-item {
  transition: all 0.15s;
}
/* ═══════════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV — FORCE HORIZONTAL (fix vertical issue)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cv-mobile-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: stretch !important;
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 0 !important;
    height: 56px;
    background: #fff !important;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
    border-radius: 0 !important;
  }
  .cv-mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    gap: 2px !important;
    padding: 6px 0 4px !important;
    color: #888 !important;
    text-decoration: none !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s;
    min-width: 0 !important;
    max-width: none !important;
  }
  .cv-mobile-nav-item i {
    font-size: 18px !important;
    line-height: 1;
    transition: transform 0.15s, color 0.15s;
  }
  .cv-mobile-nav-item span {
    display: block !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
    text-align: center;
  }
  .cv-mobile-nav-item.active {
    color: #222222 !important;
  }
  .cv-mobile-nav-item.active i {
    transform: scale(1.15);
    color: #222222 !important;
  }
  .cv-mobile-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 3px;
    border-radius: 0 0 3px 3px;
    background: #222222;
  }
  /* Remove old ::before indicator */
  .cv-mobile-nav-item.active::before {
    display: none !important;
  }
  body {
    padding-bottom: 60px !important;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   BECOME A SELLER — PROMINENT CTA (all breakpoints)
   ═══════════════════════════════════════════════════════════════════ */
/* Desktop — Large prominent button */
.cv-seller-btn {
  background: linear-gradient(135deg, #ff6f00, #ff8f00) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s !important;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(255,111,0,0.3);
  position: relative;
  overflow: hidden;
}
.cv-seller-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: cvSellerShine 3s infinite;
}
@keyframes cvSellerShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}
.cv-seller-btn i {
  font-size: 16px !important;
}
.cv-seller-btn:hover {
  background: linear-gradient(135deg, #e65100, #ff6f00) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255,111,0,0.4) !important;
}
/* Tablet */
@media (max-width: 1024px) {
  .cv-seller-btn {
    padding: 10px 18px !important;
    font-size: 12px !important;
  }
}
/* Mobile — Full width banner style */
@media (max-width: 768px) {
  .cv-seller-btn {
    padding: 12px 20px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    justify-content: center !important;
  }
  .cv-seller-btn i {
    font-size: 18px !important;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   FLIPKART-STYLE MOBILE UX OVERHAUL
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── HEADER: Compact Flipkart-style ── */
  .cv-header {
    padding: 0 !important;
    background: linear-gradient(135deg, #222222 0%, #283593 100%) !important;
  }
  .cv-header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-rows: auto auto !important;
    gap: 0 !important;
    padding: 8px 12px 6px !important;
    align-items: center;
  }
  .cv-logo {
    grid-column: 1;
    grid-row: 1;
  }
  .cv-logo img {
    height: 24px !important;
    max-width: 100px;
  }
  .cv-search {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 6px;
  }
  .cv-search-form {
    border-radius: 8px !important;
    height: 38px !important;
    background: #fff !important;
    overflow: hidden;
  }
  .cv-search-input {
    font-size: 13px !important;
    padding: 0 12px !important;
    height: 38px !important;
  }
  .cv-search-btn, .cv-camera-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  .cv-header-actions {
    grid-column: 2 / -1;
    grid-row: 1;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 4px !important;
  }
  .cv-header-action {
    padding: 6px 8px !important;
    font-size: 10px !important;
  }
  .cv-header-action > span:not(.cv-badge) {
    display: none !important;
  }
  .cv-header-action i {
    font-size: 16px !important;
    color: rgba(255,255,255,0.9) !important;
  }
  .cv-seller-btn span {
    display: none !important;
  }
  .cv-seller-btn {
    padding: 7px 10px !important;
    border-radius: 8px !important;
    min-width: auto !important;
    font-size: 11px !important;
  }
  .cv-seller-btn i {
    font-size: 15px !important;
    margin: 0 !important;
  }
  .cv-notif-dropdown {
    display: none !important;
  }

  /* ── HEADER SPACER ── */
  .cv-header-spacer {
    height: 90px !important;
  }

  /* ── OFFER TICKER: Flipkart-style ── */
  .cv-offer-ticker {
    font-size: 11px !important;
    padding: 6px 0 !important;
    background: #fff3e0 !important;
  }

  /* ── HERO SECTION: Full width card ── */
  .cv-hero-section {
    margin: 8px !important;
    border-radius: 12px !important;
    min-height: auto !important;
    padding: 24px 16px !important;
  }
  .cv-hero-section h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  /* ── CATEGORIES: Horizontal scroll Flipkart-style ── */
  .cv-categories-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding: 0 12px 8px !important;
    scrollbar-width: none;
  }
  .cv-categories-grid::-webkit-scrollbar { display: none; }
  .cv-categories-grid .cv-cat-card {
    min-width: 72px !important;
    max-width: 80px !important;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 10px 6px !important;
    border-radius: 10px !important;
    text-align: center;
  }
  .cv-categories-grid .cv-cat-card .cv-cat-emoji {
    font-size: 28px !important;
    margin-bottom: 4px;
  }
  .cv-categories-grid .cv-cat-card .cv-cat-name {
    font-size: 9px !important;
    line-height: 1.2 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* ── PRODUCT CARDS: Flipkart compact style ── */
  .cv-products-grid {
    gap: 8px !important;
    padding: 0 8px !important;
  }
  .cv-product-card {
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    border: 1px solid #f0f0f0 !important;
  }
  .cv-product-card .cv-product-info {
    padding: 8px !important;
  }
  .cv-product-card .cv-product-name {
    font-size: 12px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px !important;
  }
  .cv-product-card .cv-product-brand {
    font-size: 10px !important;
  }
  .cv-product-card .cv-product-price {
    font-size: 13px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
  }
  .cv-product-card .cv-product-price .cv-mrp {
    font-size: 10px !important;
  }
  .cv-product-card .cv-product-price .cv-discount {
    font-size: 10px !important;
  }
  .cv-product-card .cv-product-rating {
    font-size: 10px !important;
  }
  .cv-product-card .cv-product-tags {
    display: none !important;
  }
  .cv-add-to-cart-btn {
    font-size: 11px !important;
    padding: 8px !important;
    border-radius: 0 0 10px 10px !important;
  }
  .cv-wishlist-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
    top: 6px !important;
    right: 6px !important;
  }
  .cv-stock-badge {
    font-size: 8px !important;
    padding: 2px 6px !important;
    top: 6px !important;
    left: 6px !important;
  }

  /* ── SECTION TITLES: Flipkart style with "View All" ── */
  .cv-section-title {
    font-size: 16px !important;
    padding: 0 12px !important;
    margin-bottom: 10px !important;
  }

  /* ── DEALS BANNER ── */
  .cv-deals-banner {
    margin: 8px !important;
    border-radius: 12px !important;
    overflow: hidden;
  }

  /* ── BRANDS ROW: Horizontal scroll ── */
  .cv-brands-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding: 0 12px 8px !important;
    scrollbar-width: none;
  }
  .cv-brands-grid::-webkit-scrollbar { display: none; }
  .cv-brands-grid .cv-brand-card {
    min-width: 80px !important;
    flex-shrink: 0;
  }

  /* ── TESTIMONIALS: Horizontal scroll ── */
  .cv-testimonials-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px !important;
    padding: 0 12px 8px !important;
    scrollbar-width: none;
  }
  .cv-testimonials-track::-webkit-scrollbar { display: none; }
  .cv-testimonial-card {
    min-width: 260px !important;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* ── FILTER SIDEBAR: Full-screen overlay ── */
  .cv-filter-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10000 !important;
    background: #fff !important;
    overflow-y: auto !important;
    transform: translateX(-100%);
    transition: transform 0.3s ease !important;
    padding: 60px 16px 80px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: none !important;
  }
  .cv-filter-sidebar.open {
    transform: translateX(0) !important;
  }

  /* ── SHOP LAYOUT ── */
  .cv-shop-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* ── PRODUCT PAGE: Flipkart-style ── */
  .cv-product-gallery {
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .cv-product-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .cv-product-info-section {
    padding: 16px 12px !important;
  }
  .cv-price {
    font-size: 22px !important;
  }
  .cv-qty-input {
    min-height: 44px !important;
  }

  /* ── CART PAGE ── */
  .cv-cart-layout {
    grid-template-columns: 1fr !important;
  }
  .cv-cart-item {
    flex-direction: row !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  /* ── CHECKOUT ── */
  .cv-checkout-layout {
    grid-template-columns: 1fr !important;
  }
  .cv-checkout-step {
    font-size: 11px !important;
  }

  /* ── TRUST BAR: Horizontal scroll ── */
  .cv-trust-bar .cv-container {
    display: flex !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    scrollbar-width: none;
  }
  .cv-trust-bar .cv-container::-webkit-scrollbar { display: none; }
  .cv-trust-item {
    min-width: max-content;
    flex-shrink: 0;
  }

  /* ── FOOTER: Compact accordion feel ── */
  .cv-footer {
    padding: 20px 0 70px !important;
  }
  .cv-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 12px !important;
  }

  /* ── ACCOUNT PAGES ── */
  .cv-account-layout {
    grid-template-columns: 1fr !important;
  }
  .cv-account-nav {
    display: flex !important;
    overflow-x: auto !important;
    gap: 4px !important;
    padding: 8px 12px !important;
    scrollbar-width: none;
    white-space: nowrap;
    flex-direction: row !important;
  }
  .cv-account-nav::-webkit-scrollbar { display: none; }
  .cv-account-nav a {
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    white-space: nowrap;
    background: #f5f5f5;
  }
  .cv-account-nav a.active {
    background: #222222 !important;
    color: #fff !important;
  }

  /* ── PAGE HEADERS ── */
  .cv-page-header {
    padding: 16px 12px !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .cv-page-header h1 {
    font-size: 20px !important;
  }

  /* ── QUICK VIEW MODAL ── */
  .cv-qv-modal .cv-qv-content {
    width: 95% !important;
    max-height: 85vh !important;
    border-radius: 16px 16px 0 0 !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  /* ── COOKIE BANNER ── */
  .cv-cookie-banner {
    bottom: 60px !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 14px !important;
  }

  /* ── SOCIAL PROOF ── */
  .cv-social-proof {
    bottom: 68px !important;
    left: 12px !important;
    right: 12px !important;
    max-width: none !important;
  }

  /* ── APP BANNER ── */
  .cv-app-banner-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }

  /* ── WHY COVERSVILLA ── */
  .cv-why-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 8px !important;
  }
  .cv-why-card {
    padding: 12px 10px !important;
    border-radius: 10px !important;
    text-align: center;
  }
  .cv-why-card i {
    font-size: 24px !important;
  }
  .cv-why-card h3 {
    font-size: 12px !important;
  }
  .cv-why-card p {
    font-size: 10px !important;
    display: none;
  }

  /* ── NEWSLETTER ── */
  .cv-newsletter {
    margin: 8px !important;
    padding: 20px 14px !important;
    border-radius: 12px !important;
  }
  .cv-newsletter-form {
    flex-direction: column !important;
  }
  .cv-newsletter-form input,
  .cv-newsletter-form button {
    width: 100% !important;
    min-height: 44px !important;
  }

  /* ── BREADCRUMBS ── */
  .cv-breadcrumb {
    font-size: 11px !important;
    padding: 8px 0 !important;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* ── TOUCH TARGETS: Min 44px ── */
  button, a.cv-btn, .cv-filter-category-item, .cv-filter-brand-item label,
  .cv-tab-btn, .cv-coupon-card, .cv-checkout-step {
    min-height: 44px;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   TABLET EXPERIENCE (769px — 1024px) — Flipkart-inspired
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .cv-header-inner {
    padding: 10px 16px !important;
  }
  .cv-search-form {
    max-width: 450px !important;
  }
  .cv-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
  .cv-categories-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 10px !important;
  }
  .cv-hero-section {
    min-height: 280px !important;
    padding: 30px 20px !important;
  }
  .cv-deals-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .cv-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .cv-checkout-layout {
    grid-template-columns: 1.2fr 1fr !important;
  }
  .cv-cart-layout {
    grid-template-columns: 1.5fr 1fr !important;
  }
  .cv-account-layout {
    grid-template-columns: 200px 1fr !important;
  }
  .cv-shop-layout {
    grid-template-columns: 220px 1fr !important;
  }
  .cv-seller-btn {
    padding: 10px 20px !important;
    font-size: 13px !important;
  }
  .cv-seller-btn i {
    font-size: 16px !important;
  }
  .cv-product-detail-layout {
    grid-template-columns: 1fr 1fr !important;
  }
  .cv-why-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .cv-testimonials-track {
    display: flex !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding: 0 16px 8px !important;
    scrollbar-width: none;
  }
  .cv-testimonials-track::-webkit-scrollbar { display: none; }
  .cv-testimonial-card {
    min-width: 280px !important;
    flex-shrink: 0;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   BECOME A SELLER — PAGE HERO ENHANCEMENT
   ═══════════════════════════════════════════════════════════════════ */
.cv-seller-hero {
  min-height: 340px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 40px 20px !important;
  background: linear-gradient(135deg, #222222 0%, #0d47a1 50%, #01579b 100%) !important;
}
.cv-seller-hero h1 {
  font-size: 42px !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .cv-seller-hero {
    min-height: 240px !important;
    padding: 30px 16px !important;
  }
  .cv-seller-hero h1 {
    font-size: 26px !important;
  }
  .cv-seller-hero p {
    font-size: 14px !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .cv-seller-hero h1 {
    font-size: 34px !important;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   MOBILE PRODUCT IMAGE PLACEHOLDER — Bigger
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cv-product-img-placeholder {
    font-size: 42px !important;
    min-height: 130px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   EXTRA SMALL DEVICES (≤400px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .cv-mobile-nav-item {
    font-size: 8px !important;
    padding: 5px 0 3px !important;
  }
  .cv-mobile-nav-item i {
    font-size: 16px !important;
  }
  .cv-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 0 6px !important;
  }
  .cv-product-card .cv-product-name {
    font-size: 11px !important;
  }
  .cv-header-inner {
    padding: 6px 8px 4px !important;
  }
  .cv-search-form {
    height: 34px !important;
  }
  .cv-search-input {
    height: 34px !important;
    font-size: 12px !important;
  }
}
/* ═══ MOBILE SELLER CTA BANNER ═══ */
@media (max-width: 1024px) {
  .cv-seller-cta-banner {
    display: block !important;
  }
}
@media (min-width: 1025px) {
  .cv-seller-cta-banner {
    display: none !important;
  }
}
/* ═══ BUYER JOURNEY — Review Styles ═══ */
.cv-review-summary {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding: 16px;
  background: #f8f9ff;
  border-radius: 12px;
  flex-wrap: wrap;
}
.cv-review-score {
  text-align: center;
  min-width: 100px;
}
.cv-review-bars {
  flex: 1;
  min-width: 200px;
}
.cv-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 12px;
  color: #666;
}
.cv-bar {
  flex: 1;
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}
.cv-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6f00, #ffb300);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.cv-review-item {
  padding: 16px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: box-shadow 0.2s;
}
.cv-review-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
/* ═══ Cart item delivery + seller badges ═══ */
.cv-cart-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s, opacity 0.3s, transform 0.3s;
}
.cv-cart-item:hover {
  background: #fafafa;
}
.cv-cart-item:last-child {
  border-bottom: none;
}
/* ═══ Cart recommendations scrollbar hide ═══ */
#cvCartRecommendations::-webkit-scrollbar { display: none; }
#cvCartRecommendations { scrollbar-width: none; }
/* ═══ Checkout progress bar enhancement ═══ */
.cv-checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
  position: relative;
}
.cv-checkout-step.active {
  color: #222222;
}
.cv-checkout-step.completed {
  color: #2e7d32;
}
.cv-checkout-step .cv-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #e8e8e8;
  color: #888;
}
.cv-checkout-step.active .cv-step-num {
  background: #222222;
  color: #fff;
}
.cv-checkout-step.completed .cv-step-num {
  background: #2e7d32;
  color: #fff;
}
.cv-checkout-step:not(:last-child)::after {
  content: '';
  width: 40px;
  height: 2px;
  background: #e8e8e8;
  position: absolute;
  right: -20px;
}
.cv-checkout-step.completed:not(:last-child)::after {
  background: #2e7d32;
}
/* ═══ FBT responsive ═══ */
@media (max-width: 768px) {
  .cv-fbt-layout {
    flex-wrap: wrap;
    gap: 8px !important;
  }
  .cv-fbt-item {
    min-width: 80px !important;
  }
  .cv-fbt-total {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
  .cv-review-summary {
    flex-direction: column;
  }
  .cv-cart-item {
    padding: 12px 8px !important;
    gap: 10px !important;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   BUYER JOURNEY CSS ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════ */
/* ── Payment Processing Overlay ── */
@keyframes cvSpin { to { transform: rotate(360deg); } }
@keyframes cvFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
#cvPaymentProcessing {
  animation: cvFadeIn 0.3s ease;
}
/* ── Payment Method Cards ── */
.cv-payment-card {
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: all 0.2s;
}
.cv-payment-method {
  display: block;
  cursor: pointer;
  padding: 0;
}
.cv-payment-method-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  transition: background 0.2s;
}
.cv-payment-method.selected .cv-payment-method-header,
.cv-payment-method input:checked ~ .cv-payment-method-header {
  background: #f5f7ff;
}
.cv-payment-method-header small {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}
.cv-payment-method-body {
  display: none;
  padding: 0 16px 16px;
  animation: cvFadeIn 0.3s ease;
}
.cv-payment-method.selected .cv-payment-method-body,
.cv-payment-method input:checked ~ .cv-payment-method-body {
  display: block;
}
.cv-payment-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cv-badge-recommended {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: auto;
}
/* ── UPI Options Grid ── */
.cv-upi-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cv-upi-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 2px solid #eee;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-align: center;
}
.cv-upi-option input { display: none; }
.cv-upi-option.selected,
.cv-upi-option:has(input:checked) {
  border-color: #222222;
  background: #f5f7ff;
  color: #222222;
}
.cv-upi-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ── Bank Grid ── */
.cv-bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cv-bank-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 2px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.cv-bank-option:has(input:checked) {
  border-color: #222222;
  background: #f5f7ff;
}
.cv-bank-option input { display: none; }
/* ── Wallet Grid ── */
.cv-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.cv-wallet-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.cv-wallet-option:has(input:checked) {
  border-color: #222222;
  background: #f5f7ff;
}
.cv-wallet-option input { display: none; }
/* ── Cart Item Enhanced ── */
.cv-cart-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  position: relative;
}
.cv-cart-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cv-cart-action {
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}
.cv-cart-action:hover {
  background: #f5f5f5;
}
/* ── Delivery Info Bar ── */
.cv-delivery-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff3e0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
}
.cv-delivery-info-bar i {
  color: #222222;
  margin-right: 6px;
}
.cv-btn-link {
  color: #222222;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}
/* ── Order Summary Card ── */
.cv-order-summary-card {
  border-radius: 14px !important;
  border: 1px solid #eee;
}
.cv-order-summary-card .cv-card-header {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 700;
}
.cv-order-items-mini {
  padding: 4px 16px;
  max-height: 250px;
  overflow-y: auto;
}
.cv-summary-savings {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
}
.cv-summary-total span:last-child {
  font-size: 18px;
  font-weight: 800;
  color: #222222;
}
/* ── COD Info ── */
.cv-cod-info p {
  font-size: 13px;
  margin: 6px 0;
}
/* ── Sticky Sidebar ── */
.cv-sticky-sidebar {
  position: sticky;
  top: 80px;
}
/* ── Checkout Form ── */
.cv-form-group {
  margin-bottom: 12px;
}
.cv-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}
.cv-form-group input,
.cv-form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.cv-form-group input:focus,
.cv-form-group select:focus {
  border-color: #222222;
  outline: none;
}
.cv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cv-input-suffix {
  display: flex;
  gap: 8px;
}
.cv-input-suffix input {
  flex: 1;
}
.cv-input-icon i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 14px;
}
.cv-input-icon input {
  padding-left: 36px;
}
.cv-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}
/* ── Address Cards ── */
.cv-address-card {
  display: block;
  padding: 16px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
}
.cv-address-card.selected,
.cv-address-card:has(input:checked) {
  border-color: #222222;
  background: #f5f7ff;
}
.cv-address-card input[type="radio"] {
  display: none;
}
.cv-address-badge {
  display: inline-block;
  background: #fff0e6;
  color: #222222;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}
/* ── Mobile buyer journey ── */
@media (max-width: 768px) {
  .cv-upi-options { grid-template-columns: repeat(2, 1fr); }
  .cv-bank-grid { grid-template-columns: repeat(2, 1fr); }
  .cv-wallet-grid { grid-template-columns: 1fr; }
  .cv-form-row { grid-template-columns: 1fr; }
  .cv-delivery-info-bar { flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }
  .cv-order-items-mini { padding: 4px 12px; }
  .cv-payment-method-header { padding: 12px; }
  .cv-cart-item { padding: 12px; gap: 10px; }
  .cv-address-card { padding: 12px; }
  .cv-sticky-sidebar { position: static; }
}
/* ── Seller Store Page ── */
#cvSellerProducts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
@media (max-width: 768px) {
  #cvSellerProducts {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   ALL CATEGORIES PAGE STYLES
   ═══════════════════════════════════════════════════════════════════ */
.cv-cat-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.cv-cat-full-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eee;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cv-cat-full-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: #c5cae9;
}
.cv-cat-full-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  position: relative;
}
.cv-cat-full-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #222222;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}
.cv-cat-full-info {
  flex: 1;
  min-width: 0;
}
.cv-cat-full-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cv-cat-full-count {
  font-size: 11px;
  color: #666;
  font-weight: 600;
}
.cv-cat-full-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.cv-cat-full-rating {
  background: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #ff6f00;
  white-space: nowrap;
}
.cv-cat-full-discount {
  font-size: 10px;
  font-weight: 700;
  color: #2e7d32;
  white-space: nowrap;
}
.cv-cat-full-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #f0f0f0;
}
.cv-cat-prod-mini {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
  transition: background 0.15s;
}
.cv-cat-prod-mini:hover {
  background: #f5f7ff;
}
.cv-cat-prod-mini:nth-child(even) {
  border-right: none;
}
.cv-cat-prod-emoji {
  font-size: 24px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.cv-cat-prod-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.cv-cat-prod-name {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.cv-cat-prod-price {
  font-size: 12px;
  font-weight: 800;
  color: #222222;
  margin-top: 2px;
}
.cv-cat-prod-price span {
  font-size: 10px;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  margin-left: 3px;
}
.cv-cat-prod-price em {
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  color: #2e7d32;
  margin-left: 3px;
}
.cv-cat-full-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #888;
}
.cv-cat-full-cta {
  color: #222222;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.cv-cat-full-card:hover .cv-cat-full-cta {
  gap: 8px;
}
/* ── Mobile categories ── */
@media (max-width: 768px) {
  .cv-cat-section-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .cv-cat-full-header {
    padding: 12px;
  }
  .cv-cat-full-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 10px;
  }
  .cv-cat-full-info h3 {
    font-size: 14px;
  }
  .cv-cat-prod-mini {
    padding: 8px 10px;
  }
  .cv-cat-prod-emoji {
    font-size: 20px;
    width: 28px;
  }
  .cv-cat-prod-name {
    font-size: 10px;
  }
  .cv-cat-prod-price {
    font-size: 11px;
  }
}
/* ── Tablet categories ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .cv-cat-section-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   MODAL STYLES
   ═══════════════════════════════════════════════════════════════════ */
.cv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: cvFadeIn 0.2s ease;
  backdrop-filter: blur(3px);
}
.cv-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  animation: cvSlideUp 0.3s ease;
  position: relative;
}
.cv-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 700;
  font-size: 17px;
}
.cv-modal-body {
  padding: 20px;
}
.cv-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cv-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.15s;
}
.cv-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}
@media (max-width: 768px) {
  .cv-modal {
    max-width: 100%;
    margin: 0 8px;
    border-radius: 14px;
    max-height: 80vh;
  }
  .cv-modal-header { padding: 14px 16px; font-size: 15px; }
  .cv-modal-body { padding: 16px; }
}
/* ═══════════════════════════════════════════════════════════════════
   TOUCH OPTIMIZATION
   ═══════════════════════════════════════════════════════════════════ */
.cv-btn, .cv-mobile-nav-item, .cv-cat-card, .cv-product-card, .cv-cat-full-card,
.cv-payment-method-header, .cv-address-card, .cv-upi-option, .cv-bank-option,
.cv-wallet-option, .cv-tab-btn, .cv-filter-chip {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(26, 35, 126, 0.1);
}
/* Prevent text selection on interactive elements */
.cv-mobile-nav, .cv-header-actions, .cv-categories-grid, .cv-cat-section-grid {
  -webkit-user-select: none;
  user-select: none;
}
/* Smooth scrolling for scroll containers */
.cv-categories-grid, .cv-cat-section-grid, #cvCartRecommendations,
.cv-trending-products, .cv-new-arrivals-products {
  -webkit-overflow-scrolling: touch;
}
/* ═══════════════════════════════════════════════════════════════════
   VARIANT SELECTOR
   ═══════════════════════════════════════════════════════════════════ */
.cv-variant-selector {
  margin: 14px 0;
}
.cv-variant-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cv-variant-btn {
  padding: 6px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
}
.cv-variant-btn:hover {
  border-color: #222222;
  color: #222222;
}
.cv-variant-btn.active {
  border-color: #222222;
  background: #f5f7ff;
  color: #222222;
}
/* ═══════════════════════════════════════════════════════════════════
   FIX: Logo always clickable
   ═══════════════════════════════════════════════════════════════════ */
.cv-logo {
  cursor: pointer !important;
  position: relative;
  z-index: 10;
  -webkit-tap-highlight-color: rgba(255, 165, 0, 0.2);
}
.cv-logo a, a.cv-logo {
  cursor: pointer !important;
  display: flex;
  align-items: center;
  text-decoration: none;
}
/* ═══════════════════════════════════════════════════════════════════
   FIX: Category cards always clickable
   ═══════════════════════════════════════════════════════════════════ */
a.cv-cat-full-card,
.cv-cat-full-card {
  cursor: pointer !important;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: rgba(26, 35, 126, 0.15);
  position: relative;
}
a.cv-cat-full-card:hover,
.cv-cat-full-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
a.cv-cat-full-card * {
  pointer-events: none;
}
a.cv-cat-full-card .cv-add-to-cart-btn {
  pointer-events: auto;
}
/* ═══════════════════════════════════════════════════════════════════
   FIX: Mega nav items clickable on mobile (touch)
   ═══════════════════════════════════════════════════════════════════ */
.cv-mega-item > a {
  cursor: pointer !important;
}
.cv-mega-sub-item {
  cursor: pointer !important;
  -webkit-tap-highlight-color: rgba(26, 35, 126, 0.15);
}
@media (max-width: 768px) {
  .cv-mega-dropdown.touch-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  .cv-mega-item > a {
    min-height: 44px;
    display: flex !important;
    align-items: center;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   FIX: Homepage category cards always clickable
   ═══════════════════════════════════════════════════════════════════ */
a.cv-cat-card,
.cv-cat-card {
  cursor: pointer !important;
  -webkit-tap-highlight-color: rgba(26, 35, 126, 0.15);
}
/* ═══════════════════════════════════════════════════════════════════
   UPGRADE v20: 20 NEW PREMIUM FEATURES
   ═══════════════════════════════════════════════════════════════════ */
/* ── 1. PRICE HISTORY CHART ── */
.cv-price-history { margin: 16px 0; padding: 16px; background: #f8f9ff; border-radius: 12px; border: 1px solid #fff0e6; }
.cv-price-history h4 { font-size: 13px; font-weight: 700; color: #222222; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.cv-price-chart { height: 100px; display: flex; align-items: flex-end; gap: 3px; padding: 0 4px; }
.cv-price-bar { flex: 1; background: linear-gradient(to top, #222222, #3f51b5); border-radius: 4px 4px 0 0; position: relative; transition: all 0.3s; min-width: 8px; cursor: pointer; }
.cv-price-bar:hover { background: linear-gradient(to top, #e65100, #ff9800); }
.cv-price-bar .cv-price-tip { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #1a1a2e; color: #fff; padding: 4px 8px; border-radius: 6px; font-size: 10px; white-space: nowrap; z-index: 5; }
.cv-price-bar:hover .cv-price-tip { display: block; }
.cv-price-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9px; color: #888; }
.cv-price-lowest { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: #2e7d32; font-weight: 600; }
/* ── 2. STICKY ADD TO CART BAR ── */
.cv-sticky-buy-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 10px 16px; z-index: 998; box-shadow: 0 -3px 20px rgba(0,0,0,0.12); border-top: 1px solid #eee; }
.cv-sticky-buy-bar.visible { display: flex; align-items: center; gap: 12px; }
.cv-sticky-buy-info { flex: 1; min-width: 0; }
.cv-sticky-buy-name { font-size: 12px; font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-sticky-buy-price { font-size: 16px; font-weight: 800; color: #222222; }
.cv-sticky-buy-price span { font-size: 11px; color: #999; text-decoration: line-through; margin-left: 6px; }
.cv-sticky-buy-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cv-sticky-buy-actions .cv-btn { padding: 10px 20px; font-size: 13px; border-radius: 10px; min-height: 42px; }
@media (max-width: 768px) {
  .cv-sticky-buy-bar { bottom: 56px; padding: 8px 12px; }
  .cv-sticky-buy-actions .cv-btn { padding: 8px 14px; font-size: 12px; }
}
/* ── 3. VOICE SEARCH ── */
.cv-voice-btn { background: none; border: none; color: rgba(255,255,255,0.7); padding: 8px; font-size: 14px; cursor: pointer; transition: color 0.2s; }
.cv-voice-btn:hover { color: #ff6f00; }
.cv-voice-btn.listening { color: #f44336; animation: cvPulse 1s infinite; }
@keyframes cvPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.cv-voice-overlay { display: none; position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,0.85); justify-content: center; align-items: center; flex-direction: column; }
.cv-voice-overlay.active { display: flex; }
.cv-voice-circle { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, #f44336, #ff5722); display: flex; align-items: center; justify-content: center; animation: cvVoicePulse 1.5s ease-in-out infinite; }
.cv-voice-circle i { font-size: 40px; color: #fff; }
@keyframes cvVoicePulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244,67,54,0.4); } 50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(244,67,54,0); } }
.cv-voice-text { color: #fff; font-size: 18px; font-weight: 600; margin-top: 24px; }
.cv-voice-hint { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 8px; }
/* ── 4. PRODUCT IMAGE ZOOM ── */
.cv-gallery-main { position: relative; overflow: hidden; cursor: zoom-in; }
.cv-gallery-zoom-lens { display: none; position: absolute; width: 100px; height: 100px; border: 2px solid rgba(26,35,126,0.3); background: rgba(26,35,126,0.08); border-radius: 50%; pointer-events: none; z-index: 3; }
.cv-gallery-main:hover .cv-gallery-zoom-lens { display: block; }
/* ── 5. FLOATING COMPARE BAR ── */
.cv-compare-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #222222; color: #fff; padding: 10px 16px; z-index: 997; box-shadow: 0 -4px 20px rgba(0,0,0,0.2); }
.cv-compare-bar.visible { display: flex; align-items: center; gap: 12px; }
.cv-compare-items { display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.cv-compare-thumb { width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 18px; position: relative; }
.cv-compare-thumb .cv-compare-remove { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%; background: #f44336; color: #fff; font-size: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cv-compare-btn { padding: 8px 20px; background: #ff6f00; color: #fff; border: none; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
@media (max-width: 768px) { .cv-compare-bar { bottom: 56px; } }
/* ── 6. CUSTOMER Q&A SECTION ── */
.cv-qna-section { margin-top: 24px; }
.cv-qna-item { padding: 16px; background: #f8f9ff; border-radius: 12px; margin-bottom: 10px; border-left: 3px solid #222222; }
.cv-qna-q { font-size: 13px; font-weight: 700; color: #222222; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.cv-qna-q::before { content: 'Q'; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #222222; color: #fff; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.cv-qna-a { font-size: 12px; color: #555; margin-left: 30px; padding-left: 10px; border-left: 2px solid #c5cae9; }
.cv-qna-a::before { content: 'A'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #fff0e6; color: #222222; font-size: 10px; font-weight: 800; margin-right: 6px; }
.cv-qna-meta { font-size: 10px; color: #888; margin-top: 6px; margin-left: 30px; }
.cv-ask-question { display: flex; gap: 8px; margin-top: 16px; }
.cv-ask-question input { flex: 1; padding: 10px 14px; border: 1.5px solid #ddd; border-radius: 10px; font-size: 13px; }
.cv-ask-question input:focus { border-color: #222222; outline: none; }
.cv-ask-question .cv-btn { white-space: nowrap; }
/* ── 7. DELIVERY DATE ESTIMATOR ── */
.cv-delivery-estimate { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #e8f5e9, #f1f8e9); border-radius: 10px; margin: 10px 0; border: 1px solid #c8e6c9; }
.cv-delivery-estimate i { font-size: 20px; color: #2e7d32; }
.cv-delivery-estimate-text { font-size: 12px; color: #333; }
.cv-delivery-estimate-text strong { color: #2e7d32; font-size: 13px; }
.cv-delivery-estimate-text span { display: block; font-size: 10px; color: #666; margin-top: 2px; }
/* ── 8. GIFT WRAP OPTION ── */
.cv-gift-wrap { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff3e0; border-radius: 10px; margin: 10px 0; border: 1px solid #ffe0b2; cursor: pointer; transition: all 0.2s; }
.cv-gift-wrap:hover { background: #fff8e1; }
.cv-gift-wrap i { font-size: 22px; color: #e65100; }
.cv-gift-wrap-info { flex: 1; }
.cv-gift-wrap-info strong { font-size: 12px; color: #333; display: block; }
.cv-gift-wrap-info span { font-size: 10px; color: #888; }
.cv-gift-wrap-price { font-size: 13px; font-weight: 700; color: #e65100; }
.cv-gift-wrap-toggle { width: 40px; height: 22px; border-radius: 11px; background: #ddd; position: relative; transition: all 0.3s; cursor: pointer; }
.cv-gift-wrap-toggle.active { background: #e65100; }
.cv-gift-wrap-toggle::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: all 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.cv-gift-wrap-toggle.active::after { left: 20px; }
/* ── 9. RECENTLY VIEWED CAROUSEL ── */
.cv-recently-viewed { padding: 20px 0; }
.cv-rv-track { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 0; }
.cv-rv-track::-webkit-scrollbar { display: none; }
.cv-rv-item { flex: 0 0 auto; width: 120px; text-decoration: none; color: inherit; }
.cv-rv-img { width: 120px; height: 120px; border-radius: 12px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 36px; overflow: hidden; border: 1px solid #eee; }
.cv-rv-name { font-size: 10px; margin-top: 6px; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.cv-rv-price { font-size: 12px; font-weight: 700; color: #222222; margin-top: 2px; }
/* ── 10. BANK OFFER BADGES ── */
.cv-bank-offers { margin: 12px 0; }
.cv-bank-offer-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: #f1f8e9; border-radius: 8px; margin-bottom: 6px; border: 1px solid #dcedc8; font-size: 11px; color: #33691e; }
.cv-bank-offer-item i { color: #2e7d32; font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.cv-bank-offer-item strong { color: #1b5e20; }
/* ── 11. ENHANCED PRODUCT BADGES ── */
.cv-badge-flash { position: absolute; top: 0; left: 0; background: linear-gradient(135deg, #f44336, #ff5722); color: #fff; padding: 4px 12px; font-size: 10px; font-weight: 800; letter-spacing: 0.5px; z-index: 2; border-radius: 0 0 8px 0; animation: cvFlash 2s infinite; }
@keyframes cvFlash { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }
.cv-badge-cod { background: #e8f5e9; color: #2e7d32; padding: 2px 8px; border-radius: 4px; font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
/* ── 12. ANIMATED ADD TO CART ── */
.cv-add-to-cart-btn.adding { background: #2e7d32 !important; transform: scale(0.95); }
.cv-add-to-cart-btn.adding::after { content: '✓ Added!'; }
.cv-add-to-cart-btn.adding i, .cv-add-to-cart-btn.adding span { display: none; }
@keyframes cvCartBounce { 0% { transform: scale(1); } 30% { transform: scale(1.3); } 100% { transform: scale(1); } }
.cv-cart-count.bounce { animation: cvCartBounce 0.4s ease; }
/* ── 13. OFFER COUNTDOWN STRIP ── */
.cv-offer-strip { background: linear-gradient(90deg, #f44336, #e91e63, #f44336); color: #fff; padding: 8px 16px; text-align: center; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cv-offer-strip-timer { display: inline-flex; gap: 4px; }
.cv-offer-strip-timer span { background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 4px; font-size: 12px; font-weight: 800; min-width: 24px; text-align: center; }
/* ── 14. PRODUCT STORY / WHY BUY ── */
.cv-why-buy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.cv-why-buy-item { text-align: center; padding: 14px 8px; background: #f5f7ff; border-radius: 10px; border: 1px solid #fff0e6; }
.cv-why-buy-item i { font-size: 22px; color: #222222; display: block; margin-bottom: 6px; }
.cv-why-buy-item strong { font-size: 11px; color: #333; display: block; }
.cv-why-buy-item span { font-size: 9px; color: #888; display: block; margin-top: 2px; }
@media (max-width: 768px) { .cv-why-buy { grid-template-columns: repeat(3, 1fr); gap: 6px; } .cv-why-buy-item { padding: 10px 6px; } }
/* ── 15. ANIMATED STATS COUNTER ── */
.cv-stat-counter { font-variant-numeric: tabular-nums; transition: all 0.5s ease; }
/* ── 16. ENHANCED PRODUCT GALLERY ── */
.cv-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.9); border: 1px solid #eee; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; font-size: 14px; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.2s; }
.cv-gallery-nav:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cv-gallery-nav-prev { left: 10px; }
.cv-gallery-nav-next { right: 10px; }
.cv-gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.cv-gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.2s; }
.cv-gallery-dot.active { background: #222222; transform: scale(1.2); }
/* ── 17. SEARCH FILTERS / TAGS ── */
.cv-search-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; }
.cv-search-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: #fff0e6; color: #222222; border-radius: 16px; font-size: 11px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.cv-search-tag:hover { background: #c5cae9; }
.cv-search-tag i { font-size: 9px; }
/* ── 18. BULK BUY INDICATOR ── */
.cv-bulk-offer { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff3e0; border-radius: 8px; margin: 8px 0; font-size: 11px; color: #e65100; border: 1px dashed #ffcc80; }
.cv-bulk-offer i { font-size: 16px; }
.cv-bulk-offer strong { color: #bf360c; }
/* ── 19. PRODUCT AVAILABILITY ALERT ── */
.cv-stock-alert { padding: 10px 14px; border-radius: 10px; font-size: 12px; display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.cv-stock-alert.low { background: #fff3e0; border: 1px solid #ffe0b2; color: #e65100; }
.cv-stock-alert.out { background: #ffebee; border: 1px solid #ffcdd2; color: #c62828; }
.cv-stock-alert i { font-size: 16px; }
.cv-notify-btn { margin-left: auto; padding: 6px 12px; background: #222222; color: #fff; border: none; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; }
/* ── 20. MEGA SALE HERO BANNER ── */
.cv-mega-sale-banner { background: linear-gradient(135deg, #222222, #4a148c, #880e4f); padding: 20px; border-radius: 16px; margin: 16px 0; color: #fff; text-align: center; position: relative; overflow: hidden; }
.cv-mega-sale-banner::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Cpath d='M0 20L20 0 40 20 20 40z'/%3E%3C/g%3E%3C/svg%3E"); }
.cv-mega-sale-banner h2 { font-size: 24px; font-weight: 900; margin-bottom: 6px; position: relative; }
.cv-mega-sale-banner p { font-size: 13px; opacity: 0.8; position: relative; }
.cv-mega-sale-timer { display: flex; justify-content: center; gap: 10px; margin-top: 14px; position: relative; }
.cv-mega-sale-digit { background: rgba(255,255,255,0.15); padding: 8px 12px; border-radius: 8px; min-width: 50px; }
.cv-mega-sale-digit strong { font-size: 22px; display: block; font-weight: 900; }
.cv-mega-sale-digit span { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; }
@media (max-width: 768px) { .cv-mega-sale-banner { margin: 8px; border-radius: 12px; padding: 16px; } .cv-mega-sale-banner h2 { font-size: 18px; } .cv-mega-sale-digit { padding: 6px 8px; min-width: 40px; } .cv-mega-sale-digit strong { font-size: 18px; } }
/* ═══════════════════════════════════════════════════════════════════
   UPGRADE v21: 28 PREMIUM FEATURES
   ═══════════════════════════════════════════════════════════════════ */
/* ── 1. HERO IMAGE SLIDER ── */
.cv-hero-slider { position: relative; overflow: hidden; border-radius: 16px; margin: 16px 0; }
.cv-hero-slides { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.cv-hero-slide { min-width: 100%; padding: 40px 32px; position: relative; overflow: hidden; }
.cv-hero-slide-1 { background: linear-gradient(135deg, #222222, #3949ab); color: #fff; }
.cv-hero-slide-2 { background: linear-gradient(135deg, #e65100, #ff8f00); color: #fff; }
.cv-hero-slide-3 { background: linear-gradient(135deg, #880e4f, #c2185b); color: #fff; }
.cv-hero-slide h2 { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.cv-hero-slide p { font-size: 14px; opacity: 0.85; margin-bottom: 16px; }
.cv-hero-nav-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); margin: 0 4px; cursor: pointer; transition: all 0.3s; }
.cv-hero-nav-dot.active { background: #fff; transform: scale(1.3); }
.cv-hero-dots { text-align: center; padding: 12px 0; position: absolute; bottom: 0; left: 0; right: 0; }
.cv-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; color: #fff; font-size: 16px; cursor: pointer; z-index: 3; backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; }
.cv-hero-arrow-prev { left: 12px; }
.cv-hero-arrow-next { right: 12px; }
.cv-hero-arrow:hover { background: rgba(255,255,255,0.4); }
@media (max-width: 768px) { .cv-hero-slider { margin: 8px; border-radius: 12px; } .cv-hero-slide { padding: 24px 16px; } .cv-hero-slide h2 { font-size: 20px; } .cv-hero-arrow { width: 32px; height: 32px; font-size: 12px; } }
/* ── 2. COLOR VARIANT PICKER ── */
.cv-color-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.cv-color-swatch { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #eee; cursor: pointer; transition: all 0.2s; position: relative; }
.cv-color-swatch:hover { transform: scale(1.15); }
.cv-color-swatch.active { border-color: #222222; box-shadow: 0 0 0 2px #222222; }
.cv-color-swatch::after { content: '✓'; position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.cv-color-swatch.active::after { display: flex; }
.cv-color-label { font-size: 12px; color: #555; margin-bottom: 4px; font-weight: 600; }
/* ── 3. FULLSCREEN IMAGE GALLERY ── */
.cv-lightbox { display: none; position: fixed; inset: 0; z-index: 10002; background: rgba(0,0,0,0.95); justify-content: center; align-items: center; flex-direction: column; }
.cv-lightbox.active { display: flex; }
.cv-lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.cv-lightbox-emoji { font-size: 120px; }
.cv-lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 20px; cursor: pointer; }
.cv-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 18px; cursor: pointer; }
.cv-lightbox-prev { left: 16px; }
.cv-lightbox-next { right: 16px; }
.cv-lightbox-counter { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 12px; }
/* ── 4. CONFETTI ON ORDER SUCCESS ── */
.cv-confetti-piece { position: fixed; width: 10px; height: 10px; z-index: 99999; pointer-events: none; animation: cvConfettiFall 3s linear forwards; }
@keyframes cvConfettiFall { 0% { opacity: 1; transform: translateY(-10vh) rotate(0deg); } 100% { opacity: 0; transform: translateY(110vh) rotate(720deg); } }
/* OLD LIVE CHAT REMOVED */
.cv-chat-msg .cv-chat-msg.bot .cv-chat-msg.user @media (max-width: 768px) { }
/* ── 6. REVIEW WITH PHOTOS ── */
.cv-review-photos { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.cv-review-photo { width: 56px; height: 56px; border-radius: 8px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 24px; border: 1px solid #eee; cursor: pointer; overflow: hidden; }
.cv-review-photo:hover { border-color: #222222; }
/* ── 7. SPIN-TO-WIN DISCOUNT WHEEL ── */
.cv-spin-overlay { display: none; position: fixed; inset: 0; z-index: 10003; background: rgba(0,0,0,0.8); justify-content: center; align-items: center; flex-direction: column; }
.cv-spin-overlay.active { display: flex; }
.cv-spin-wheel { width: 280px; height: 280px; border-radius: 50%; border: 6px solid #ff6f00; position: relative; overflow: hidden; transition: transform 4s cubic-bezier(0.17,0.67,0.12,0.99); }
.cv-spin-segment { position: absolute; width: 50%; height: 50%; left: 50%; top: 0; transform-origin: 0% 100%; display: flex; align-items: center; padding-left: 20px; font-size: 11px; font-weight: 700; color: #fff; }
.cv-spin-pointer { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 28px solid #ff6f00; z-index: 2; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.cv-spin-btn { margin-top: 20px; padding: 14px 40px; background: linear-gradient(135deg, #ff6f00, #e65100); color: #fff; border: none; border-radius: 30px; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 16px rgba(255,111,0,0.4); letter-spacing: 0.5px; }
.cv-spin-btn:hover { transform: scale(1.05); }
.cv-spin-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cv-spin-result { color: #fff; font-size: 20px; font-weight: 800; margin-top: 16px; text-align: center; }
.cv-spin-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 18px; cursor: pointer; }
@media (max-width: 768px) { .cv-spin-wheel { width: 240px; height: 240px; } }
/* ── 8. TYPEWRITER PLACEHOLDER ── */
@keyframes cvBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.cv-search-input.typing::placeholder { color: transparent; }
/* ── 9. SKELETON LOADING ── */
.cv-skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: cvSkeleton 1.5s ease-in-out infinite; border-radius: 8px; }
@keyframes cvSkeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.cv-skeleton-card { height: 280px; border-radius: 12px; margin-bottom: 12px; }
.cv-skeleton-text { height: 14px; margin-bottom: 8px; }
.cv-skeleton-text.short { width: 60%; }
.cv-skeleton-circle { width: 44px; height: 44px; border-radius: 50%; }
/* ── 10. SHARE PRODUCT MODAL ── */
.cv-share-modal { display: none; position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,0.6); justify-content: center; align-items: flex-end; }
.cv-share-modal.active { display: flex; }
.cv-share-sheet { background: #fff; border-radius: 20px 20px 0 0; padding: 24px; width: 100%; max-width: 420px; }
.cv-share-sheet h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; text-align: center; }
.cv-share-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cv-share-option { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; padding: 10px; border-radius: 12px; transition: all 0.2s; }
.cv-share-option:hover { background: #f5f5f5; }
.cv-share-option i { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
.cv-share-option span { font-size: 10px; color: #555; }
.cv-share-wa i { background: #25d366; }
.cv-share-fb i { background: #1877f2; }
.cv-share-tw i { background: #1da1f2; }
.cv-share-copy i { background: #666; }
.cv-share-email i { background: #ea4335; }
.cv-share-tg i { background: #0088cc; }
.cv-share-pin i { background: #e60023; }
.cv-share-more i { background: #333; }
.cv-share-link-box { display: flex; gap: 8px; margin-top: 16px; padding: 10px; background: #f5f5f5; border-radius: 10px; }
.cv-share-link-box input { flex: 1; border: none; background: none; font-size: 12px; color: #333; outline: none; }
.cv-share-link-box button { background: #222222; color: #fff; border: none; padding: 6px 14px; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; }
/* ── 11. STOCK PROGRESS BAR ── */
.cv-stock-progress { margin: 10px 0; }
.cv-stock-progress-bar { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.cv-stock-progress-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.cv-stock-progress-fill.danger { background: linear-gradient(90deg, #f44336, #ff5722); }
.cv-stock-progress-fill.warning { background: linear-gradient(90deg, #ff9800, #ffc107); }
.cv-stock-progress-fill.good { background: linear-gradient(90deg, #4caf50, #66bb6a); }
.cv-stock-progress-text { font-size: 11px; margin-top: 4px; display: flex; justify-content: space-between; }
.cv-stock-progress-text .cv-stock-urgent { color: #f44336; font-weight: 700; animation: cvPulse 1.5s infinite; }
/* ── 12. LIVE VIEWERS COUNTER ── */
.cv-live-viewers { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: #fff3e0; border-radius: 20px; font-size: 11px; color: #e65100; font-weight: 600; margin: 8px 0; }
.cv-live-viewers .cv-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #f44336; animation: cvPulse 1.5s infinite; }
/* ── 13. PARALLAX SECTION ── */
.cv-parallax { position: relative; overflow: hidden; }
.cv-parallax-bg { position: absolute; inset: -50px; background-size: cover; background-position: center; will-change: transform; }
/* ── 14. ORDER TRACKING PROGRESS ── */
.cv-order-track { display: flex; justify-content: space-between; padding: 20px 0; position: relative; }
.cv-order-track::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 3px; background: #eee; }
.cv-order-track-step { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; }
.cv-order-track-icon { width: 44px; height: 44px; border-radius: 50%; background: #eee; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #999; transition: all 0.3s; }
.cv-order-track-step.completed .cv-order-track-icon { background: #2e7d32; color: #fff; }
.cv-order-track-step.active .cv-order-track-icon { background: #222222; color: #fff; animation: cvPulse 1.5s infinite; }
.cv-order-track-label { font-size: 10px; color: #888; font-weight: 600; text-align: center; }
.cv-order-track-step.completed .cv-order-track-label { color: #2e7d32; }
.cv-order-track-step.active .cv-order-track-label { color: #222222; }
/* ── 15. PRODUCT VIDEO PLAYER ── */
.cv-product-video { position: relative; border-radius: 12px; overflow: hidden; background: #000; margin: 12px 0; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cv-product-video-placeholder { text-align: center; color: #fff; }
.cv-product-video-placeholder i { font-size: 48px; margin-bottom: 8px; display: block; opacity: 0.8; }
.cv-product-video-placeholder span { font-size: 13px; opacity: 0.6; }
/* ── 16. RICH BREADCRUMBS ── */
.cv-breadcrumb-rich { display: flex; align-items: center; gap: 8px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.cv-breadcrumb-rich::-webkit-scrollbar { display: none; }
.cv-breadcrumb-rich a { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #222222; text-decoration: none; white-space: nowrap; padding: 4px 8px; border-radius: 6px; background: #f5f7ff; transition: all 0.2s; }
.cv-breadcrumb-rich a:hover { background: #fff0e6; }
.cv-breadcrumb-rich a i { font-size: 10px; }
.cv-breadcrumb-rich .cv-bc-sep { color: #ccc; font-size: 10px; }
.cv-breadcrumb-rich .cv-bc-current { color: #333; font-weight: 600; font-size: 12px; white-space: nowrap; }
/* ── 17. BRAND STORY ── */
.cv-brand-story { display: flex; gap: 16px; padding: 16px; background: linear-gradient(135deg, #f5f7ff, #fff0e6); border-radius: 12px; margin: 16px 0; align-items: center; border: 1px solid #c5cae9; }
.cv-brand-story-logo { width: 60px; height: 60px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); flex-shrink: 0; }
.cv-brand-story-info { flex: 1; }
.cv-brand-story-info h4 { font-size: 14px; font-weight: 800; color: #222222; margin-bottom: 4px; }
.cv-brand-story-info p { font-size: 11px; color: #555; line-height: 1.5; }
.cv-brand-story-link { font-size: 11px; color: #222222; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
/* ── 18. FLOATING CART PREVIEW ── */
.cv-floating-cart-preview { display: none; position: fixed; top: 70px; right: 20px; width: 320px; background: #fff; border-radius: 14px; box-shadow: 0 8px 40px rgba(0,0,0,0.18); z-index: 999; overflow: hidden; }
.cv-floating-cart-preview.visible { display: block; animation: cvSlideDown 0.3s ease; }
.cv-fcp-header { background: #222222; color: #fff; padding: 12px 16px; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.cv-fcp-items { max-height: 200px; overflow-y: auto; padding: 8px; }
.cv-fcp-item { display: flex; gap: 10px; padding: 8px; border-radius: 8px; }
.cv-fcp-item:hover { background: #f5f5f5; }
.cv-fcp-item-img { width: 40px; height: 40px; border-radius: 6px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.cv-fcp-item-info { flex: 1; min-width: 0; }
.cv-fcp-item-name { font-size: 11px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-fcp-item-price { font-size: 12px; font-weight: 700; color: #222222; }
.cv-fcp-footer { padding: 10px 12px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cv-fcp-total { font-size: 14px; font-weight: 800; color: #222222; }
.cv-fcp-checkout { padding: 8px 20px; background: #ff6f00; color: #fff; border: none; border-radius: 8px; font-weight: 700; font-size: 12px; cursor: pointer; }
@media (max-width: 768px) { .cv-floating-cart-preview { display: none !important; } }
/* ── 19. ANIMATED TAB SWITCHING ── */
.cv-tab-content { animation: cvFadeSlideUp 0.3s ease; }
@keyframes cvFadeSlideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cv-tab-btn.active { position: relative; }
.cv-tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 10%; right: 10%; height: 3px; background: #222222; border-radius: 3px; animation: cvTabLine 0.3s ease; }
@keyframes cvTabLine { from { left: 50%; right: 50%; } to { left: 10%; right: 10%; } }
/* ── 20. VIDEO REVIEW ── */
.cv-video-review { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.cv-video-review::-webkit-scrollbar { display: none; }
.cv-video-review-item { flex: 0 0 auto; width: 100px; height: 100px; border-radius: 10px; background: #000; position: relative; cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cv-video-review-item i { color: #fff; font-size: 24px; opacity: 0.9; }
.cv-video-review-item span { position: absolute; bottom: 4px; left: 4px; font-size: 8px; color: #fff; background: rgba(0,0,0,0.6); padding: 1px 5px; border-radius: 4px; }
/* ── 21. SIZE CHART MODAL ── */
.cv-size-chart-modal { display: none; position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; }
.cv-size-chart-modal.active { display: flex; }
.cv-size-chart-content { background: #fff; border-radius: 16px; padding: 24px; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; }
.cv-size-chart-content h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.cv-size-chart-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cv-size-chart-table th { background: #222222; color: #fff; padding: 10px 12px; text-align: center; }
.cv-size-chart-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid #eee; }
.cv-size-chart-table tr:nth-child(even) { background: #f8f9ff; }
.cv-size-chart-table tr:hover { background: #fff0e6; }
/* ── 22. GRADIENT TEXT ── */
.cv-text-gradient { background: linear-gradient(135deg, #222222, #e65100); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cv-text-gradient-fire { background: linear-gradient(135deg, #f44336, #ff9800, #ffc107); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* ── 23. VISUAL MEGA MENU ── */
.cv-mega-menu-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cv-mega-visual-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 10px; text-decoration: none; color: #333; transition: all 0.2s; }
.cv-mega-visual-item:hover { background: #f5f7ff; transform: translateY(-2px); }
.cv-mega-visual-item .cv-mvi-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.cv-mega-visual-item span { font-size: 10px; font-weight: 600; text-align: center; }
/* ── 24. REVIEW SORT & FILTER ── */
.cv-review-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cv-review-sort { padding: 6px 12px; border: 1.5px solid #ddd; border-radius: 8px; font-size: 12px; background: #fff; cursor: pointer; }
.cv-review-filter-btn { padding: 5px 12px; border: 1.5px solid #ddd; border-radius: 16px; font-size: 11px; background: #fff; cursor: pointer; transition: all 0.2s; }
.cv-review-filter-btn.active { background: #222222; color: #fff; border-color: #222222; }
.cv-review-filter-btn:hover { border-color: #222222; }
/* ── 25. RATING BREAKDOWN ── */
.cv-rating-breakdown { margin: 12px 0; }
.cv-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cv-rating-row-label { font-size: 12px; font-weight: 600; color: #333; width: 16px; text-align: right; }
.cv-rating-row-bar { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.cv-rating-row-fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.cv-rating-row-fill.star-5 { background: #2e7d32; }
.cv-rating-row-fill.star-4 { background: #66bb6a; }
.cv-rating-row-fill.star-3 { background: #ffc107; }
.cv-rating-row-fill.star-2 { background: #ff9800; }
.cv-rating-row-fill.star-1 { background: #f44336; }
.cv-rating-row-count { font-size: 11px; color: #888; width: 36px; }
/* ═══════════════════════════════════════════════════════════════════
   UPGRADE v22: FAB, AUTO DARK MODE, MINI CART, FLASH DEALS
   ═══════════════════════════════════════════════════════════════════ */
/* ── FAB Menu ── */
#cvFAB .cv-fab-menu a:active, #cvFAB .cv-fab-menu div:active { background: #fff0e6 !important; }
@media (min-width: 769px) { #cvFAB { display: none !important; } }
/* ── Auto Dark Mode ── */
@media (prefers-color-scheme: dark) {
  :root { --cv-dark-auto: 1; }
}
/* ── Flash Deal Badge ── */
.cv-badge-flash { position: absolute; top: 0; left: 0; z-index: 2; }
/* ── Offer Strip ── */
.cv-offer-strip { position: relative; z-index: 100; }
@media (max-width: 768px) {
  .cv-offer-strip { font-size: 11px; padding: 6px 10px; }
}
/* ── Product Stories Mobile ── */
@media (max-width: 768px) {
  .cv-product-stories { padding: 0 8px !important; gap: 10px !important; }
  .cv-product-stories .cv-story-item div:first-child { width: 56px !important; height: 56px !important; }
  .cv-product-stories .cv-story-item div:first-child div { font-size: 20px !important; }
}
.cv-product-stories::-webkit-scrollbar { display: none; }
/* ── Flash Deals Mobile ── */
@media (max-width: 768px) {
  #cvFlashDeals { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  #cvDealCards { grid-template-columns: 1fr !important; }
}
/* ── Blog Cards Mobile ── */
@media (max-width: 768px) {
  .cv-section .cv-card { margin: 0 !important; }
}
/* ── Mini Cart Notification ── */
@keyframes cvSlideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
/* ═══════════════════════════════════════════════════════════════════
   UPGRADED PRODUCT IMAGES & 360° VIEWER
   ═══════════════════════════════════════════════════════════════════ */
/* Gallery main — ensure proper sizing for SVG images */
.cv-gallery-main img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 12px; transition: opacity 0.15s ease;
}
.cv-gallery-main:hover img { transform: scale(1.02); }
/* Thumbnail active highlight */
.cv-gallery-thumb.active { border-color: #222222 !important; box-shadow: 0 0 0 2px rgba(26,35,126,0.2); }
.cv-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
/* 360° Viewer — upgraded */
.cv-360-viewer {
  margin-top: 16px; padding: 16px; background: linear-gradient(135deg, #f5f7ff, #eef2ff);
  border-radius: 14px; position: relative; overflow: hidden;
  border: 1px solid #e0e4ff;
}
.cv-360-badge {
  position: absolute; top: 10px; left: 10px;
  background: linear-gradient(135deg, #222222, #3949ab); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; z-index: 2;
  box-shadow: 0 2px 8px rgba(26,35,126,0.3);
}
#cv360Canvas {
  background: transparent; border-radius: 10px;
}
#cv360Canvas img {
  transition: none !important;
}
#cv360PlayBtn {
  transition: all 0.2s;
}
#cv360PlayBtn:hover {
  background: #283593 !important; transform: scale(1.05);
}
/* Product card images — no more emojis */
.cv-product-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.cv-product-img-placeholder img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.cv-product-card:hover .cv-product-img-placeholder img {
  transform: scale(1.05);
}
.cv-product-img-wrap {
  overflow: hidden; border-radius: 8px 8px 0 0;
}
/* Quick view modal images */
.cv-qv-product-img img {
  width: 100%; height: 100%; object-fit: contain;
}
@media (max-width: 768px) {
  .cv-360-viewer { padding: 12px; margin-top: 12px; }
  #cv360Canvas { min-height: 180px !important; }
  .cv-gallery-main img { padding: 8px; }
}
/* ═══════════════════════════════════════════════════════════════════
   FIX: MOBILE HAMBURGER MENU
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cv-hamburger {
    display: flex !important; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    transition: all 0.2s;
  }
  .cv-hamburger:active { background: rgba(255,255,255,0.15); }
  #cvMobileMenu a:active, #cvMobileMenu div:active { background: #f5f7ff !important; }
  .cv-header-actions .cv-seller-btn { display: none !important; }
}
@media (min-width: 769px) {
  .cv-hamburger { display: none !important; }
  #cvMobileMenu, #cvMobileMenuOverlay { display: none !important; }
}
/* ═══════════════════════════════════════════════════════════════════
   FIX: MOBILE OVERFLOW — Contain all fixed widths
   ═══════════════════════════════════════════════════════════════════ */
html, body { max-width: 100vw; overflow-x: hidden; }
@media (max-width: 768px) {
  .cv-container { max-width: 100vw; padding-left: 12px; padding-right: 12px; }
  .cv-cart-layout { grid-template-columns: 1fr !important; }
  .cv-product-layout { grid-template-columns: 1fr !important; }
  .cv-checkout-layout { grid-template-columns: 1fr !important; }
  .cv-filter-sidebar { display: none; }
  .cv-share-sheet { max-width: 100vw !important; }
  table { display: block; overflow-x: auto; max-width: 100%; }
  .cv-header-actions .cv-header-action span { display: none; }
  .cv-header-actions { gap: 4px; }
  .cv-qv-layout { grid-template-columns: 1fr !important; }
  .cv-fbt-wrap { flex-direction: column; }
  .cv-section-header { flex-wrap: wrap; }
  pre, code { max-width: 100%; overflow-x: auto; word-break: break-all; }
}
/* FIX: 5-column grids → responsive on mobile */
@media (max-width: 768px) {
  .cv-categories-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
}
@media (max-width: 480px) {
  .cv-categories-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
}
/* ═══════════════════════════════════════════════════════════════════
   MEGA UPGRADE v3.0 — CSS
   ═══════════════════════════════════════════════════════════════════ */
/* Mega Navigation Dropdown */
.cv-mega-dropdown { animation: megaSlideIn 0.2s ease; }
@keyframes megaSlideIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
.cv-mega-dropdown a:hover { color: #222222 !important; }
/* Search Suggestions */
.cv-search-suggestions { animation: suggestIn 0.15s ease; }
@keyframes suggestIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.cv-search-suggestions a:hover { background: #f5f7ff !important; }
/* Categories Page Grid */
#cvAllCategories a:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
/* Exchange Offer */
.cv-exchange-offer { animation: fadeIn 0.3s ease; }
.cv-exchange-offer:hover { border-color: #ffb300; }
/* Q&A Section */
.cv-tab-panel[data-tab="qa"] a:hover { text-decoration: underline; }
/* Product Section Cards (homepage) */
.cv-section a[href*="product.html"]:hover img { transform: scale(1.03); }
/* Cart Recommendations */
.cv-cart-items + div a:hover { transform: translateY(-2px); }
/* Responsive mega dropdown */
@media (max-width: 768px) {
  .cv-mega-dropdown { display: none !important; }
  #cvAllCategories { margin: 0 -4px; }
  #cvAllCategories > div > div:last-child { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .cv-search-suggestions { border-radius: 0 0 8px 8px; }
}
@media (max-width: 480px) {
  #cvAllCategories > div > div:last-child { grid-template-columns: repeat(2, 1fr) !important; }
}
/* ═══════════════════════════════════════════════════════════════════
   DEFINITIVE FIX: MOBILE & TABLET BOTTOM NAV — HORIZONTAL LAYOUT
   Priority: !important on all rules to override ALL previous conflicts
   ═══════════════════════════════════════════════════════════════════ */
/* HIDE on desktop */
@media (min-width: 1025px) {
  nav.cv-mobile-nav {
    display: none !important;
  }
}
/* SHOW HORIZONTAL on tablet (768-1024) */
@media (max-width: 1024px) {
  nav.cv-mobile-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-around !important;
    align-items: center !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 58px !important;
    z-index: 9999 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255,255,255,0.98) !important;
    border-top: 1px solid #e8e8ee !important;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.06) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    border-radius: 0 !important;
  }

  nav.cv-mobile-nav > a.cv-mobile-nav-item,
  nav.cv-mobile-nav > .cv-mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    gap: 2px !important;
    padding: 6px 0 4px !important;
    margin: 0 !important;
    color: #888 !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    float: none !important;
    text-align: center !important;
  }

  nav.cv-mobile-nav > a.cv-mobile-nav-item > i,
  nav.cv-mobile-nav > .cv-mobile-nav-item > i {
    display: block !important;
    font-size: 19px !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: inherit !important;
  }

  nav.cv-mobile-nav > a.cv-mobile-nav-item > span,
  nav.cv-mobile-nav > .cv-mobile-nav-item > span {
    display: block !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 64px !important;
    color: inherit !important;
  }

  nav.cv-mobile-nav > a.cv-mobile-nav-item.active {
    color: #222222 !important;
  }

  nav.cv-mobile-nav > a.cv-mobile-nav-item.active > i {
    color: #222222 !important;
    transform: scale(1.12);
  }

  /* Ensure body has bottom padding for nav */
  body {
    padding-bottom: 62px !important;
  }
}
/* PHONE specific adjustments */
@media (max-width: 480px) {
  nav.cv-mobile-nav {
    height: 54px !important;
  }

  nav.cv-mobile-nav > a.cv-mobile-nav-item > i,
  nav.cv-mobile-nav > .cv-mobile-nav-item > i {
    font-size: 17px !important;
  }

  nav.cv-mobile-nav > a.cv-mobile-nav-item > span,
  nav.cv-mobile-nav > .cv-mobile-nav-item > span {
    font-size: 9px !important;
  }

  body {
    padding-bottom: 58px !important;
  }
}
/* Safe area for iPhones with notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 1024px) {
    nav.cv-mobile-nav {
      padding-bottom: env(safe-area-inset-bottom) !important;
      height: calc(58px + env(safe-area-inset-bottom)) !important;
    }
    body {
      padding-bottom: calc(62px + env(safe-area-inset-bottom)) !important;
    }
  }
}
/* Dark mode */
body.cv-dark-mode nav.cv-mobile-nav {
  background: rgba(26,26,46,0.98) !important;
  border-color: #333 !important;
}
body.cv-dark-mode nav.cv-mobile-nav > a.cv-mobile-nav-item {
  color: #aaa !important;
}
body.cv-dark-mode nav.cv-mobile-nav > a.cv-mobile-nav-item.active {
  color: #90caf9 !important;
}
/* ═══════════════════════════════════════════════════════════════════
   MOBILE APP LOGO — BLACK & WHITE ONLY
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cv-logo img {
    filter: grayscale(100%) brightness(1.8) contrast(1.5) !important;
    -webkit-filter: grayscale(100%) brightness(1.8) contrast(1.5) !important;
  }
}
/* PWA standalone mode — always B&W logo */
@media (display-mode: standalone) {
  .cv-logo img {
    filter: grayscale(100%) brightness(1.8) contrast(1.5) !important;
    -webkit-filter: grayscale(100%) brightness(1.8) contrast(1.5) !important;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   MOBILE HEADER — BLACK & WHITE LOGO
   Desktop: White logo on dark header (default)
   Mobile/Tablet: Black logo on white header
   ═══════════════════════════════════════════════════════════════════ */
/* Desktop: show white logo, hide black */
.cv-logo-desktop { display: inline-block !important; }
.cv-logo-mobile { display: none !important; }
@media (max-width: 1024px) {
  /* Mobile header → white background */
  .cv-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e8e8ee !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  }

  /* Show BLACK logo, hide white */
  .cv-logo-desktop { display: none !important; }
  .cv-logo-mobile  { display: inline-block !important; height: 26px !important; }

  /* Header action icons → black */
  .cv-header-action,
  .cv-header-action i,
  .cv-header-action span {
    color: #1a1a2e !important;
  }

  /* Search bar border */
  .cv-search-form {
    border: 1.5px solid #e0e0e0 !important;
    background: #f5f5f5 !important;
  }
  .cv-search-input {
    color: #1a1a2e !important;
  }
  .cv-search-input::placeholder {
    color: #999 !important;
  }
  .cv-search-btn {
    background: #000000 !important;
    color: #ffffff !important;
  }
  .cv-voice-btn, .cv-camera-btn {
    color: #333 !important;
  }

  /* Cart/notification badges stay visible */
  .cv-header-action .cv-badge {
    background: #000000 !important;
    color: #ffffff !important;
  }

  /* Seller button */
  .cv-seller-btn {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
  }

  /* Notification dropdown */
  .cv-notification-bell .cv-badge {
    background: #e53935 !important;
    color: #fff !important;
  }
}
/* Dark mode mobile — white logo on dark bg */
@media (max-width: 1024px) {
  body.cv-dark-mode .cv-header {
    background: #000000 !important;
    border-bottom-color: #333 !important;
  }
  body.cv-dark-mode .cv-logo-desktop { display: inline-block !important; }
  body.cv-dark-mode .cv-logo-mobile  { display: none !important; }
  body.cv-dark-mode .cv-header-action,
  body.cv-dark-mode .cv-header-action i,
  body.cv-dark-mode .cv-header-action span {
    color: #ffffff !important;
  }
}
/* Topbar B&W on mobile */
@media (max-width: 1024px) {
  .cv-topbar {
    background: #000000 !important;
    color: #ffffff !important;
  }
  .cv-topbar a, .cv-topbar span, .cv-topbar-item {
    color: #ffffff !important;
  }
}
/* Mega nav B&W on mobile */
@media (max-width: 1024px) {
  .cv-mega-nav {
    background: #f5f5f5 !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }
  .cv-mega-nav a, .cv-mega-item a {
    color: #1a1a2e !important;
  }
}
/* ═══════════════════════════════════════════════════════════════
   MASTER UPGRADE CSS — Final overrides
   ═══════════════════════════════════════════════════════════════ */
/* TOPBAR — completely hidden */
.cv-topbar { display: none !important; }
/* HEADER — Black background on ALL views */
.cv-header {
  background: #000000 !important;
  border-bottom: 1px solid #222 !important;
}
.cv-header-action, .cv-header-action i, .cv-header-action span {
  color: #fff !important;
}
.cv-header-action .cv-badge {
  background: #e53935 !important;
  color: #fff !important;
}
.cv-seller-btn {
  background: #fff !important;
  color: #000 !important;
}
/* SEARCH BAR on black header */
.cv-search-form {
  background: #1a1a2e !important;
  border: 1px solid #333 !important;
}
.cv-search-input {
  color: #fff !important;
}
.cv-search-input::placeholder {
  color: #888 !important;
}
.cv-search-btn {
  background: #fff !important;
  color: #000 !important;
}
.cv-voice-btn, .cv-camera-btn {
  color: #aaa !important;
}
/* MEGA NAV — dark theme */
.cv-mega-nav {
  background: #111 !important;
}
.cv-mega-nav a, .cv-mega-item a {
  color: #eee !important;
}
/* BOTTOM NAV — hide on desktop via JS fallback */
@media (min-width: 1025px) {
  #cvBottomNav { display: none !important; }
  body { padding-bottom: 0 !important; }
}
@media (max-width: 1024px) {
  #cvBottomNav { display: flex !important; }
  body { padding-bottom: 60px !important; }
}
/* Old mobile-nav class — hide completely */
.cv-mobile-nav { display: none !important; }
/* WhatsApp button fix */
@media (min-width: 1025px) {
  a[href*="wa.me"][style*="position:fixed"] {
    bottom: 24px !important;
  }
}
/* Footer contact number update */
.cv-footer-contact a[href*="tel"] {
  pointer-events: auto;
}
/* ═══════════════════════════════════════════════════════════
   SEARCH AUTO-SUGGESTIONS
   ═══════════════════════════════════════════════════════════ */
.cv-search-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 9999;
  background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  max-height: 380px; overflow-y: auto; border-top: 1px solid #eee;
}
.cv-suggest-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  cursor: pointer; transition: background 0.15s; text-decoration: none; color: #333;
}
.cv-suggest-item:hover, .cv-suggest-item.active { background: #f5f5f5; }
.cv-suggest-icon {
  width: 36px; height: 36px; border-radius: 8px; background: #f0f0f0;
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.cv-suggest-text { flex: 1; min-width: 0; }
.cv-suggest-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-suggest-name mark { background: none; color: #000; font-weight: 800; }
.cv-suggest-meta { font-size: 11px; color: #999; margin-top: 1px; }
.cv-suggest-price { font-size: 13px; font-weight: 700; color: #000; white-space: nowrap; }
.cv-suggest-cat {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  cursor: pointer; transition: background 0.15s; border-bottom: 1px solid #f5f5f5;
}
.cv-suggest-cat:hover { background: #f0f7ff; }
.cv-suggest-cat i { color: #222222; font-size: 14px; width: 20px; text-align: center; }
.cv-suggest-cat span { font-size: 13px; color: #222222; font-weight: 600; }
.cv-suggest-header { padding: 8px 16px; font-size: 10px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 1px; background: #fafafa; }
@media (max-width: 768px) {
  .cv-search-suggestions { border-radius: 0 0 10px 10px; max-height: 300px; }
  .cv-suggest-item { padding: 8px 14px; }
}
/* Voice & Camera buttons hidden */
.cv-voice-btn, .cv-camera-btn { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   COVERSVILLA PREMIUM POLISH — Next-Level Visual Upgrade
   ═══════════════════════════════════════════════════════════ */

/* Better product card design — glass morphism + depth */
.cv-product-card {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1) !important;
  position: relative !important;
}
.cv-product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important;
  border-color: rgba(0,0,0,0.08) !important;
}

/* Premium price styling */
.cv-price { font-weight: 900 !important; letter-spacing: -0.3px !important; }
.cv-mrp { color: #999 !important; }
.cv-discount { 
  background: #fff5f5 !important; color: #c62828 !important; 
  padding: 2px 8px !important; border-radius: 4px !important; 
  font-weight: 800 !important; font-size: 11px !important; 
}

/* Add to cart button — premium feel */
.cv-add-to-cart-btn {
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 0 16px 16px !important;
  padding: 12px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: all 0.2s !important;
  letter-spacing: 0.3px !important;
}
.cv-add-to-cart-btn:hover:not(:disabled) {
  background: #333 !important;
}

/* Product brand tag */
.cv-product-brand {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #999 !important;
  font-weight: 700 !important;
}

/* Badges — modern flat design */
.cv-badge-bestseller, .cv-badge-trending, .cv-badge-new {
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  letter-spacing: 0.5px !important;
}
.cv-badge-bestseller { background: #000 !important; color: #fff !important; }
.cv-badge-trending { background: #ff6f00 !important; color: #fff !important; }
.cv-badge-new { background: #2e7d32 !important; color: #fff !important; }

/* Section headers — cleaner */
.cv-section-header h2 {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #111 !important;
  letter-spacing: -0.3px !important;
}

/* Product grid — better spacing */
.cv-products-grid {
  gap: 16px !important;
}

/* Wishlist button — premium */
.cv-wishlist-btn {
  width: 36px !important; height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(10px) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  transition: all 0.2s !important;
}
.cv-wishlist-btn:hover { transform: scale(1.15) !important; }
.cv-wishlist-btn.active { background: #fff0f0 !important; color: #e53935 !important; }

/* Header — premium clean look */
.cv-header {
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Footer — dark premium */
.cv-footer {
  background: #0a0a0a !important;
  color: #ccc !important;
}

/* Search — modern rounded */
.cv-search-input {
  border-radius: 12px !important;
  border: 1.5px solid #e0e0e0 !important;
  transition: all 0.2s !important;
  font-size: 14px !important;
}
.cv-search-input:focus {
  border-color: #000 !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05) !important;
}

/* Breadcrumb — subtle */
.cv-breadcrumb {
  font-size: 12px !important;
  color: #999 !important;
}
.cv-breadcrumb a { color: #666 !important; }
.cv-breadcrumb strong { color: #333 !important; }

/* Category cards — hover effect */
.cv-cat-full-card {
  transition: all 0.25s ease !important;
  border-radius: 16px !important;
}
.cv-cat-full-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
}

/* Buttons — consistent */
.cv-btn-primary, .cv-btn-buy-now, .cv-btn-add-cart {
  border-radius: 12px !important;
  font-weight: 700 !important;
  transition: all 0.2s !important;
}

/* Toast — modern */
.cv-toast {
  border-radius: 12px !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}

/* Rating badge — cleaner */
.cv-rating-badge, .cv-stars {
  font-weight: 800 !important;
}

/* Page header gradients — richer */
.cv-deals-hero {
  background: linear-gradient(135deg, #000 0%, #1a1a2e 50%, #16213e 100%) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* Selection color */
::selection { background: #000; color: #fff; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Focus visible for accessibility */
:focus-visible { outline: 2px solid #000; outline-offset: 2px; border-radius: 4px; }

/* Print styles */
@media print {
  .cv-header, .cv-footer, .cv-chat-btn, #cvBottomNav, #cvScrollTop, #cvStickyBuy { display: none !important; }
}

/* ═══ TABLET VIEW (769px-1024px) ═══ */
@media (min-width:769px) and (max-width:1024px) {
  .cv-products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
  .cv-hero-slider {
    border-radius: 12px !important;
    margin: 8px !important;
  }
  .cv-product-layout {
    grid-template-columns: 1fr 1fr !important;
  }
  .cv-v24-popup-panel {
    width: 85vw !important;
    max-width: 750px !important;
  }
}

/* ═══ v35 OVERRIDES ═══ */
.cv-seller-login-btn,.cv-seller-login-v3,.cv-seller-login-float{display:none!important}
.cv-seller-login-html:hover{background:#ff6200!important;color:#fff!important}
#cvPayNowBtn{display:none!important}
#cvChatBtn{display:none!important;visibility:hidden!important;pointer-events:none!important}
#cvChatCSS,#cvHideTawkBubble,#cvTawkFullscreen,#cvChatWait{display:none!important}
.cv-notification-bell:hover .cv-notif-dropdown{display:block!important}

/* ═══════════════════════════════════════════════════════════════
   COVERSVILLA v37 CSS ADDITIONS — Performance & Accessibility
   ═══════════════════════════════════════════════════════════════ */

/* ── Critical: Above-the-fold optimization ── */
.cv-img-loaded { animation: cvFadeIn 0.3s ease-out; }
@keyframes cvFadeIn { from { opacity: 0.6; } to { opacity: 1; } }

/* ── Lazy image placeholder ── */
img[data-src] {
  background: linear-gradient(135deg, #f5f5f5 25%, #ebebeb 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: cvShimmer 1.5s infinite;
}
@keyframes cvShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Search Results Dropdown ── */
.cv-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}
.cv-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.cv-search-result-item:hover { background: #f8f8f8; }
.cv-search-result-item img { border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.cv-search-result-name { font-size: 13px; font-weight: 500; color: #333; }
.cv-search-result-price { font-size: 12px; color: #e91e63; font-weight: 600; }
.cv-search-empty { padding: 24px; text-align: center; color: #999; font-size: 13px; }

/* ── Cart Sidebar ── */
.cv-sidebar-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.cv-sidebar-cart-item img { border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cv-sidebar-item-info { flex: 1; min-width: 0; }
.cv-sidebar-item-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-sidebar-item-price { font-size: 12px; color: #666; }
.cv-sidebar-item-remove { background: none; border: none; font-size: 18px; color: #999; cursor: pointer; padding: 4px 8px; }

/* ── Variation Selectors ── */
.cv-variation-group { margin-bottom: 16px; }
.cv-variation-label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 8px; }
.cv-variation-options { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-variation-btn {
  padding: 6px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.cv-variation-btn:hover { border-color: #333; }
.cv-variation-btn.cv-active { border-color: #1a1a2e; background: #1a1a2e; color: #fff; }

/* ── Cart Page Items ── */
.cv-cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.cv-cart-item img { border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cv-cart-item-details { flex: 1; min-width: 0; }
.cv-cart-item-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cv-cart-item-variant { font-size: 12px; color: #777; margin-bottom: 4px; }
.cv-cart-item-price { font-size: 14px; font-weight: 600; color: #e91e63; }
.cv-cart-item-remove {
  background: none;
  border: none;
  font-size: 22px;
  color: #ccc;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}
.cv-cart-item-remove:hover { color: #e53935; }

/* ── Quantity Controls ── */
.cv-cart-qty { display: inline-flex; align-items: center; gap: 0; margin-top: 8px; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.cv-qty-btn { width: 32px; height: 32px; border: none; background: #f5f5f5; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cv-qty-btn:hover { background: #eee; }
.cv-qty-val { width: 36px; text-align: center; font-size: 14px; font-weight: 600; }

/* ── Order Summary ── */
.cv-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #555; }
.cv-summary-total { display: flex; justify-content: space-between; padding: 12px 0; font-size: 16px; font-weight: 700; color: #111; border-top: 2px solid #111; margin-top: 8px; }
.cv-text-green { color: #2e7d32; }
.cv-free-delivery-hint { background: #fff3e0; color: #e65100; font-size: 12px; padding: 8px 12px; border-radius: 8px; margin-top: 12px; text-align: center; }

/* ── Category Filter ── */
.cv-filter-option { display: block; padding: 8px 12px; font-size: 13px; cursor: pointer; transition: background 0.15s; border-radius: 6px; }
.cv-filter-option:hover { background: #f5f5f5; }
.cv-filter-option input[type="radio"] { margin-right: 8px; }
.cv-filter-option small { color: #999; }

/* ── Category Nav Pills ── */
.cv-cat-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: #f0f0f0;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.cv-cat-pill:hover { background: #e0e0e0; }
.cv-cat-pill.cv-active { background: #1a1a2e; color: #fff; }

/* ── Address Card ── */
.cv-address-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
  margin-bottom: 12px;
}
.cv-address-card:hover { border-color: #999; }
.cv-address-card.cv-selected,
.cv-address-card:has(input:checked) { border-color: #1a1a2e; background: #f8f9ff; }
.cv-address-card input[type="radio"] { margin-top: 4px; }
.cv-address-info { font-size: 13px; line-height: 1.6; }

/* ── Review Cards ── */
.cv-review { padding: 16px; border-bottom: 1px solid #f0f0f0; }
.cv-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cv-review-rating { color: #ff9800; font-size: 12px; }
.cv-review-text { font-size: 13px; color: #555; line-height: 1.5; }

/* ── Checkout Layout Fix ── */
.cv-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .cv-checkout-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Accessibility: Focus styles ── */
:focus-visible {
  outline: 2px solid #1a1a2e;
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #1a1a2e;
  outline-offset: 2px;
}

/* ── Skip to content (A11y) ── */
.cv-skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1a1a2e;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 14px;
  transition: top 0.2s;
}
.cv-skip-to-content:focus { top: 0; }

/* ── Print Styles ── */
@media print {
  .cv-header, .cv-footer, .cv-bottom-nav, .cv-chat-widget, .cv-sidebar { display: none !important; }
  body { background: #fff; }
  .cv-product-card { break-inside: avoid; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ══════════════════════════════════════════════════
   v49 RESPONSIVE & PERFORMANCE FIXES
   ══════════════════════════════════════════════════ */

/* ── Touch-friendly tap targets ── */
@media (max-width: 768px) {
  .cv-add-to-cart-btn,
  .cv-btn,
  button,
  a.cv-btn { min-height: 44px; }
  
  .cv-product-card .cv-add-to-cart-btn { padding: 12px 8px; font-size: 12px; }
  
  /* Fix cart item layout on mobile */
  .cv-cart-item { flex-direction: row; gap: 10px; }
  .cv-cart-item-img { min-width: 70px !important; height: 70px !important; }
  .cv-cart-item-info h4 { font-size: 12px !important; }
  
  /* Fix checkout layout on mobile */
  .cv-checkout-layout { grid-template-columns: 1fr !important; }
  .cv-checkout-sidebar { order: -1; }
  
  /* Fix payment page on mobile */
  .cv-payment-layout { grid-template-columns: 1fr !important; }
  
  /* Better product grid on mobile */
  .cv-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .cv-product-card { border-radius: 10px; }
  .cv-product-info { padding: 8px !important; }
  .cv-product-name { font-size: 11px !important; -webkit-line-clamp: 2; }
  .cv-product-price .cv-price { font-size: 14px !important; }
  .cv-product-price .cv-mrp { font-size: 10px !important; }
  .cv-product-price .cv-discount { font-size: 10px !important; }
  
  /* Fix header search on mobile */
  .cv-search { max-width: 100% !important; }
  .cv-search-input { font-size: 14px !important; }
  
  /* Fix hero section */
  .cv-hero-content h1 { font-size: 22px !important; }
  .cv-hero-content p { font-size: 13px !important; }
  
  /* Fix quick view modal on mobile */
  .cv-qv-panel { max-width: 95vw !important; max-height: 90vh !important; }
  .cv-qv-layout { flex-direction: column !important; }
  .cv-qv-image { max-height: 200px; }
  
  /* Fix filter sidebar */
  .cv-filter-sidebar { position: fixed !important; z-index: 10000 !important; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; transition: left 0.3s; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
  .cv-filter-sidebar.open { left: 0; }
  
  /* Improve spacing */
  .cv-section { padding: 16px 8px !important; }
  .cv-container { padding: 0 8px !important; }
  
  /* Fix gallery on product page */
  .cv-gallery-thumbs { display: flex !important; flex-direction: row !important; gap: 6px !important; overflow-x: auto; }
  .cv-gallery-thumb { min-width: 56px; width: 56px; height: 56px; flex-shrink: 0; }
  
  /* Sticky buy bar fixes */
  .cv-sticky-buy-bar { padding: 8px 12px !important; }
  .cv-sticky-buy-bar .cv-btn { padding: 10px 14px !important; font-size: 12px !important; }
  
  /* Category cards grid */
  .cv-cat-section-grid { grid-template-columns: 1fr !important; }
  
  /* Fix modal overlays */
  .cv-camera-search-panel,
  .cv-size-guide-content { max-width: 95vw !important; margin: 10px !important; }
  
  /* Fix account pages */
  .cv-account-layout { grid-template-columns: 1fr !important; }
  .cv-account-sidebar { display: none; }
  
  /* Better touch scrolling */
  .cv-scroll-container { -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .cv-scroll-container > * { scroll-snap-align: start; }
}

/* ── Tablet specific fixes ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .cv-products-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
  .cv-checkout-layout { grid-template-columns: 1fr 340px !important; }
  .cv-hero-content h1 { font-size: 28px !important; }
  .cv-cat-section-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Desktop improvements ── */
@media (min-width: 1025px) {
  .cv-products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; }
  
  /* Floating cart preview positioning */
  .cv-floating-cart-preview { top: 70px; right: 20px; }
}

/* ── Smooth scroll ── */
html { scroll-behavior: smooth; }

/* ── Better focus styles for accessibility ── */
*:focus-visible {
  outline: 2px solid #222222;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Print styles ── */
@media print {
  .cv-header, .cv-footer, .cv-mobile-nav, .cv-scroll-top,
  .cv-cookie-banner, .cv-social-proof, .cv-dark-toggle,
  .cv-fab-menu, #cvFAB, .cv-compare-bar { display: none !important; }
  body { padding: 0 !important; }
}

/* ── Animation performance ── */
.cv-product-card, .cv-btn, .cv-toast, .cv-social-proof {
  will-change: transform;
  backface-visibility: hidden;
}

/* ── Confetti animation ── */
@keyframes cvConfetti {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(-200px) rotate(720deg); opacity: 0; }
}
.cv-confetti-piece {
  position: fixed;
  top: 0;
  z-index: 99999;
  pointer-events: none;
  animation: cvFall 3s ease-in forwards;
}
@keyframes cvFall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ── Slide down animation ── */
@keyframes cvSlideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── Cart badge bounce ── */
.cv-cart-count.bounce {
  animation: cvBadgeBounce 0.4s ease;
}
@keyframes cvBadgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

/* ── Add to cart button animation ── */
.cv-add-to-cart-btn.adding {
  background: #2e7d32 !important;
  transform: scale(0.95);
}

/* ── Spin animation for processing ── */
@keyframes cvSpin {
  to { transform: rotate(360deg); }
}
@keyframes cvBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes cvFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Voice search overlay ── */
.cv-voice-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 99999; display: none; flex-direction: column; align-items: center; justify-content: center; }
.cv-voice-overlay.active { display: flex; }
.cv-voice-circle { width: 100px; height: 100px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 36px; color: #f44336; animation: cvPulse 1.5s infinite; margin-bottom: 20px; }
@keyframes cvPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(244,67,54,0.4); } 50% { box-shadow: 0 0 0 20px rgba(244,67,54,0); } }
.cv-voice-text { color: #fff; font-size: 18px; font-weight: 700; }
.cv-voice-hint { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 8px; }

/* ── Spin wheel ── */
.cv-spin-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 99999; display: none; flex-direction: column; align-items: center; justify-content: center; }
.cv-spin-overlay.active { display: flex; }
.cv-spin-wheel { width: 280px; height: 280px; border-radius: 50%; position: relative; overflow: hidden; transition: transform 4s cubic-bezier(0.2,0.8,0.3,1); border: 4px solid #fff; }
.cv-spin-pointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 24px solid #fff; z-index: 5; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.cv-spin-btn { margin-top: 20px; padding: 14px 40px; background: linear-gradient(135deg, #ff6f00, #f44336); color: #fff; border: none; border-radius: 30px; font-size: 16px; font-weight: 800; cursor: pointer; }

/* ── Share modal ── */
.cv-share-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99999; display: none; align-items: flex-end; justify-content: center; }
.cv-share-modal.active { display: flex; }
.cv-share-sheet { background: #fff; border-radius: 20px 20px 0 0; padding: 24px; width: 100%; max-width: 480px; }
.cv-share-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
.cv-share-option { text-align: center; cursor: pointer; padding: 12px 8px; border-radius: 12px; transition: background 0.2s; }
.cv-share-option:hover { background: #f5f5f5; }
.cv-share-option i { font-size: 28px; display: block; margin-bottom: 6px; }
.cv-share-option span { font-size: 11px; color: #666; }
.cv-share-wa i { color: #25d366; }
.cv-share-fb i { color: #1877f2; }
.cv-share-tw i { color: #1da1f2; }
.cv-share-tg i { color: #0088cc; }
.cv-share-link-box { display: flex; gap: 8px; margin-top: 12px; }
.cv-share-link-box input { flex: 1; padding: 10px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 12px; }
.cv-share-link-box button { padding: 10px 16px; background: #000; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }

/* ── Lightbox ── */
.cv-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 99999; display: none; align-items: center; justify-content: center; }
.cv-lightbox.active { display: flex; }
.cv-lightbox-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 24px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; z-index: 2; }
.cv-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 20px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.cv-lightbox-prev { left: 20px; }
.cv-lightbox-next { right: 20px; }
.cv-lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 14px; }
.cv-lightbox-emoji { font-size: 120px; }

/* ── Compare bar ── */
.cv-compare-bar { position: fixed; bottom: 70px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,0.18); padding: 10px 16px; display: none; align-items: center; gap: 12px; z-index: 998; }
.cv-compare-bar.visible { display: flex; }
.cv-compare-thumb { width: 40px; height: 40px; border-radius: 8px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 18px; position: relative; }
.cv-compare-remove { position: absolute; top: -4px; right: -4px; background: #f44336; color: #fff; width: 16px; height: 16px; border-radius: 50%; font-size: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cv-compare-btn { padding: 8px 16px; background: #000; color: #fff; border: none; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════
   PRODUCTION FIXES v50 — Enhanced Responsiveness & Mobile UX
   ═══════════════════════════════════════════════════════════════ */

/* ── Mobile-First Button Sizing ── */
@media (max-width: 768px) {
  .cv-btn, .cv-add-to-cart-btn, .cv-btn-buy-now, .cv-btn-add-cart,
  button, [role="button"], a.cv-btn {
    min-height: 48px !important;
    min-width: 48px;
    font-size: 14px !important;
  }
  
  .cv-action-btns {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .cv-action-btns .cv-btn {
    width: 100% !important;
    padding: 16px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }
  
  .cv-qty-selector {
    min-height: 44px;
  }
  .cv-qty-btn {
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 18px !important;
  }
  
  /* Cart item layout fix */
  .cv-cart-item {
    flex-wrap: wrap;
    gap: 12px !important;
    padding: 14px !important;
  }
  
  /* Checkout form inputs */
  .cv-checkout-form input,
  .cv-checkout-form select,
  .cv-checkout-form textarea,
  #full_name, #mobile, #pincode, #address_line1, #address_line2, #city, #state, #landmark {
    font-size: 16px !important; /* Prevents iOS zoom */
    padding: 14px 16px !important;
    border-radius: 10px !important;
    min-height: 48px;
  }
  
  /* Product grid — 2 columns on mobile */
  .cv-product-grid, .cv-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  /* Product card mobile optimization */
  .cv-product-card {
    border-radius: 12px !important;
    overflow: hidden;
  }
  .cv-product-card .cv-product-name {
    font-size: 12px !important;
    line-height: 1.3;
    max-height: 2.6em;
    overflow: hidden;
  }
  
  /* Header: hide desktop search, show mobile search */
  .cv-header-search {
    display: none !important;
  }
  .cv-mobile-search {
    display: block !important;
  }
  
  /* Mobile-friendly checkout summary */
  .cv-checkout-grid {
    grid-template-columns: 1fr !important;
  }
  .cv-order-summary-card {
    position: static !important;
  }
}

/* ── Tablet Optimizations ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .cv-product-grid, .cv-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  
  .cv-checkout-grid {
    grid-template-columns: 1.5fr 1fr !important;
  }
  
  .cv-action-btns .cv-btn {
    padding: 14px 20px !important;
  }
}

/* ── Desktop Large Screen ── */
@media (min-width: 1025px) {
  .cv-product-grid, .cv-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* ── Form Validation Visual States ── */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1a237e !important;
  box-shadow: 0 0 0 3px rgba(26,35,126,0.08);
  transition: all 0.2s ease;
}
input.cv-input-error, select.cv-input-error {
  border-color: #f44336 !important;
  box-shadow: 0 0 0 3px rgba(244,67,54,0.15);
}
input.cv-input-valid, select.cv-input-valid {
  border-color: #4caf50 !important;
}

/* ── Smooth Scrolling ── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ── Print Styles ── */
@media print {
  .cv-header, .cv-footer, .cv-mobile-nav, .cv-fab, nav,
  .cv-chat-btn, #cvChatBtn, .cv-banner, .cv-search-overlay {
    display: none !important;
  }
  body { font-size: 12pt; color: #000; }
  a { text-decoration: underline; }
}

/* ── Loading / Skeleton States ── */
.cv-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: cvShimmer 1.5s ease infinite;
  border-radius: 8px;
}
@keyframes cvShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Payment Method Cards ── */
.cv-payment-option:hover, .cv-pay-method:hover {
  border-color: #1a237e !important;
  background: #fafafe !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cv-payment-option, .cv-pay-method {
  transition: all 0.2s ease !important;
  cursor: pointer;
}

/* ── Order Success Confetti Space ── */
.cv-os-confetti-canvas {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 99998;
}

/* ── Fix iOS safe area ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .cv-mobile-nav {
    padding-bottom: calc(8px + env(safe-area-inset-bottom)) !important;
  }
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ── Accessibility ── */
:focus-visible {
  outline: 2px solid #1a237e;
  outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
