/* ============================================
   TrueCycle - Classic E-Commerce Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --primary: #006778; /* Teal from logo */
  --muted-green: #5a7d65; /* Muted Green for Eco-friendly feel */
  --soft-neutral: #f4f5f7; /* Off-white / light gray feel */
  --primary-btn: var(--muted-green);
  --primary-btn-hover: #4e6d58;
  --secondary: #76C043; /* Green from logo */

  /* Neutrals */
  --bg-primary: #FAFAF8;
  --bg-secondary: #F2F0EB;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1A1A;
  --bg-dark-secondary: #2D2D2D;

  --text-primary: #1A1A1A;
  --text-dark: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --text-light: #FAFAF8;
  --text-on-primary: #FFFFFF;

  --border: #E0DDD6;
  --border-light: #EDEBE6;

  /* Status */
  --success: #27AE60;
  --warning: #F39C12;
  --error: #E74C3C;
  --info: #3498DB;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.12);

  /* Spacing */
  --container-max: 1280px;
  --container-padding: 24px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* --- Toast Notifications --- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  min-width: 300px;
  border-left: 5px solid var(--primary);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast i {
  font-size: 1.25rem;
}

.toast-success i { color: var(--success); }
.toast-error { border-left-color: var(--error); }
.toast-error i { color: var(--error); }

.toast span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #76C043;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn:active {
  transform: scale(0.96) !important;
}

.btn-primary {
  background: var(--primary-btn);
  color: white;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(90, 125, 101, 0.2);
}

.btn-primary:hover {
  background: var(--primary-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 125, 101, 0.23);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background-color: #006778;
  color: var(--text-on-primary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: #76C043;
}

.btn-outline:hover {
  background-color: #76C043;
  color: var(--text-on-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 8px 16px;
}

.btn-ghost:hover {
  background-color: var(--bg-secondary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  padding-top: 5px;
}

.navbar-top {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 6px 0;
}

.navbar-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-top a {
  color: var(--text-light);
  opacity: 0.8;
}

.navbar-top a:hover {
  opacity: 1;
}

.navbar-main {
  padding: 16px 0;
}

.navbar-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #76C043;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: #76C043; /* Logo Green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: #76C043;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-actions .action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-actions .action-btn:hover {
  background: var(--bg-secondary);
  color: #76C043;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--secondary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Search Bar --- */
.nav-search {
  flex: 1;
  max-width: 450px;
  margin: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search input {
  width: 100%;
  padding: 12px 65px 12px 45px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: var(--bg-secondary);
  outline: none;
  transition: all var(--transition-normal);
  font-family: inherit;
}

.nav-search input:focus {
  background-color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.nav-search .fa-search {
  position: absolute;
  left: 15px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.9rem;
}

.nav-search .search-btn {
  position: absolute;
  right: 6px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  width: 38px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-search .search-btn:hover {
  background: var(--primary-btn-hover);
  transform: scale(1.05);
}

/* --- Wishlist Interactions --- */

/* Base: Used on product cards (absolute positioned overlay) */
.product-card .product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  font-size: 0.95rem;
  color: #555;
  padding: 0;
}

/* Show heart on hover (desktop) */
.product-card:hover .product-wishlist {
  opacity: 1;
}

/* ALWAYS show on mobile/touch — no hover available */
@media (max-width: 1024px) {
  .product-card .product-wishlist {
    opacity: 1 !important;
  }
}

.product-card .product-wishlist:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  background: #fff0f0;
  color: #E74C3C;
}

/* Detail Page: Inline button next to Add to Cart / Buy Now */
.detail-actions .product-wishlist {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  opacity: 1 !important;
  width: auto;
  height: auto;
  border-radius: var(--radius-md, 8px);
  font-size: 1.2rem;
  color: #888;
  background: white;
  border: 1px solid var(--border, #ddd);
  padding: 13px 18px;
  box-shadow: none;
}

.detail-actions .product-wishlist:hover {
  color: #E74C3C;
  border-color: #E74C3C;
  background: #fff5f5;
  transform: none;
  box-shadow: none;
}

.heart-pop {
  animation: heartPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4) rotate(15deg); }
  75% { transform: scale(0.9) rotate(-10deg); }
  100% { transform: scale(1); }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  margin-top: 80px;
  overflow: hidden;
  background: var(--soft-neutral); /* Soft neutral background */
  padding: 40px 0;
}


.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(90, 125, 101, 0.1);
  color: var(--muted-green); /* Muted Green */
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-content h1 {
  font-family: 'Inter', -apple-system, sans-serif; /* Modern Sans-serif */
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--muted-green); /* Match the primary button color */
  margin-bottom: 25px;
  letter-spacing: -0.02em;
}

.hero-content h1 .highlight {
  color: #76C043;
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 15px; /* Slight variation in spacing */
  max-width: 500px;
  line-height: 1.6;
}

.hero-slogan {
  font-weight: 600;
  color: var(--muted-green);
  font-size: 1.2rem;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--muted-green); /* Muted Green */
  display: block;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: none; /* Less corporate */
  letter-spacing: 0;
  font-weight: 400;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-container {
  position: relative;
  width: 360px;
  height: 440px;
}

.hero-phone {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 1px solid var(--border-light); /* Added subtle border for realism */
}

.hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 20px;
  right: -40px;
}

.hero-float-card.card-2 {
  bottom: 40px;
  left: -50px;
  animation-delay: 1s;
}

.hero-float-card.card-3 {
  bottom: -10px;
  right: -20px;
  animation-delay: 2s;
}

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

.float-card-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: none; /* Authentic feel */
  font-weight: 500;
  margin-bottom: 4px;
}

.float-card-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.float-card-value .icon {
  color: var(--success);
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 40px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.trust-item .trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(27, 107, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #76C043;
}

.trust-item .trust-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
}

.trust-item .trust-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Categories Grid --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #76C043;
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(27, 107, 74, 0.08), rgba(27, 107, 74, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  transition: all var(--transition-normal);
}

.category-card:hover .category-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.category-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: rgba(118, 192, 67, 0.3);
}

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

.badge-sale {
  background: var(--error);
  color: white;
}

.badge-new {
  background: var(--primary);
  color: white;
}

.badge-trending {
  background: var(--secondary);
  color: white;
}



.product-image {
  display: block;
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-quick-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
  transition: bottom var(--transition-normal);
}

.product-card:hover .product-quick-actions {
  bottom: 0;
}

.quick-action-btn {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.quick-action-btn:hover {
  background: var(--primary);
  color: white;
}

.product-info {
  padding: 18px;
}

.product-condition {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #76C043;
  margin-bottom: 6px;
}

.product-info h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.product-info h3 a:hover {
  color: #76C043;
}

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

.stars {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.current-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.original-price {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
}

/* --- Features / Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: #76C043;
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27, 107, 74, 0.06), rgba(27, 107, 74, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 20px;
  color: #76C043;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Deal Banner --- */
.deal-banner {
  background: var(--muted-green); /* Muted organic green */
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
}

.deal-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.deal-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.deal-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.deal-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.deal-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.deal-timer {
  display: flex;
  gap: 16px;
}

.timer-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  min-width: 65px;
}

.timer-box .time {
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
}

.timer-box .time-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Newsletter --- */
.newsletter {
  background: var(--bg-secondary);
  padding: 60px 0;
}

.newsletter .container {
  text-align: center;
}

.newsletter h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.newsletter p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: #76C043;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: white;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-column h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-payments {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-payments span {
  display: inline-flex;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Products Page --- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  padding: 100px 0 40px; margin-top: 80px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: #76C043;
}

.breadcrumb .separator {
  opacity: 0.4;
}

.products-layout {
  display: block;
  padding: 20px 0 60px;
}

/* --- Filters Sidebar (Drawer Style) --- */
.filters-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: white;
  z-index: 3000;
  padding: 30px;
  box-shadow: 20px 0 50px rgba(0,0,0,0.1);
  overflow-y: auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.filters-sidebar.active {
  transform: translateX(320px);
  visibility: visible;
}

/* Filter Overlay */
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.filter-overlay.active {
  opacity: 1;
  visibility: visible;
}

.btn-filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}


.filter-group {
  margin-bottom: 28px;
}

.filter-group h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.filter-options label:hover {
  color: var(--text-primary);
}

.filter-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #76C043;
}

.price-range {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-range input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.85rem;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-dropdown label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sort-dropdown select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.85rem;
  cursor: pointer;
}

.products-main .products-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Product Detail Page --- */
.product-detail {
  padding: 130px 0 60px;
}

.product-detail .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 120px;
}

.main-image {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-row {
  display: flex;
  gap: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.thumbnail.active,
.thumbnail:hover {
  border-color: #76C043;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.product-meta .product-rating {
  margin-bottom: 0;
}

.product-meta .sku {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.product-detail-price .current-price {
  font-size: 2rem;
}

.product-detail-price .savings {
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 600;
  background: rgba(39, 174, 96, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.condition-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}

.condition-box h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.condition-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.spec-list {
  margin-bottom: 24px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.spec-item .spec-label {
  color: var(--text-muted);
}

.spec-item .spec-value {
  font-weight: 500;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.quantity-selector label {
  font-size: 0.9rem;
  font-weight: 500;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background-color: var(--bg-secondary);
  color: #76C043;
}

.qty-input {
  width: 50px;
  height: 40px;
  text-align: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-weight: 600;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-actions .btn {
  flex: 1;
}

.detail-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.guarantee-item .g-icon {
  font-size: 1.2rem;
}

/* --- Cart Page --- */
.cart-section {
  padding: 130px 0 60px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: start;
}

.cart-items {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.cart-header {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  gap: 16px;
  padding: 20px;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
}

.cart-item:hover {
  background: rgba(27, 107, 74, 0.02);
}

.cart-product {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cart-product-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-secondary);
  flex-shrink: 0;
}

.cart-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-product-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-product-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-price {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-total-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: #76C043;
}

.cart-remove {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.cart-remove:hover {
  color: var(--error);
}

.cart-summary {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px;
  position: sticky;
  top: 120px;
}

.cart-summary h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  padding-top: 16px;
  margin-top: 10px;
  border-top: 2px solid var(--border);
  color: #76C043;
}

.coupon-input {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.cart-summary .btn-primary {
  width: 100%;
  margin-top: 16px;
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- About Page --- */
.about-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}

.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-stat {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.about-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: #76C043;
  display: block;
}

.about-stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Contact Page --- */
.contact-section {
  padding: 140px 0 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.contact-method .c-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-method strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-method span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #76C043;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: #76C043;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* --- Responsive --- */

/* === TABLET (1024px and below) === */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .hero-btns {
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .product-detail .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .about-hero .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .condition-selector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === TABLET (1024px and below) === */
@media (max-width: 1024px) {
  .hero .container {
    gap: 30px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .navbar-main .container {
    gap: 20px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-search {
    max-width: 350px;
  }
}

/* === MOBILE (768px and below) === */
@media (max-width: 768px) {
  .navbar-top {
    display: none;
  }

  .navbar-main {
    padding: 10px 0;
  }

  .navbar-main .container {
    flex-wrap: wrap !important;
    gap: 10px;
    padding: 0 16px;
    justify-content: space-between;
    align-items: center;
  }

  .logo { order: 1; margin-right: auto; }
  .logo img { height: 36px !important; }

  .nav-actions { order: 2; gap: 8px; margin-left: 0; }
  .nav-actions .action-btn { width: 36px; height: 36px; font-size: 1rem; }

  .mobile-toggle { display: flex; order: 3; padding: 8px; }

  .nav-search {
    display: flex !important;
    order: 4;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 5px !important;
    flex: none !important;
  }

  .nav-search input {
    font-size: 0.95rem;
    padding: 12px 60px 12px 45px !important;
  }

  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white !important;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    gap: 4px;
    border-top: 1px solid var(--border-light);
    z-index: 1001;
  }
  .nav-links.mobile-open a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .hero {
    margin-top: 70px;
    min-height: auto;
    padding: 40px 0;
  }

  .hero-content {
    padding: 20px 0;
    order: 1;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 1rem;
    margin: 0 auto 15px;
    max-width: 100%;
  }

  .hero-slogan {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }

  .hero-stat {
    flex: 0 1 calc(50% - 15px);
  }

  .hero-stat .number {
    font-size: 1.4rem;
  }

  .hero-stat .label {
    font-size: 0.75rem;
  }

  .hero-image {
    order: 2;
    margin-top: 30px;
    width: 100%;
    overflow: visible;
  }

  .hero-phone-container {
    width: 260px;
    height: 320px;
    margin: 0 auto;
  }

  .hero-float-card {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero-float-card.card-1 {
    right: -20px;
    top: 10px;
  }

  .hero-float-card.card-2 {
    left: -20px;
    bottom: 20px;
  }

  .hero-float-card.card-3 {
    right: -10px;
    bottom: -10px;
  }

  .float-card-value {
    font-size: 0.85rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-header .subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .trust-bar {
    padding: 24px 0;
  }

  .trust-bar .container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    padding: 0 16px;
  }

  .trust-item { gap: 8px; flex-direction: column; text-align: center; }
  .trust-item .trust-icon { margin: 0 auto; }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
    gap: 10px;
    padding: 0;
  }

  /* Specific Grid Overrides for Inline Styles */
  #deal-of-the-day-grid, 
  #iphone-grid, 
  #android-grid, 
  #budget-grid, 
  #featuredProducts,
  #relatedProductsGrid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
    gap: 10px !important;
    padding: 0 5px;
  }

  .product-image {
    height: 160px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info h3 {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .current-price {
    font-size: 1rem;
  }

  .original-price {
    font-size: 0.75rem;
  }

  .product-condition {
    font-size: 0.65rem;
  }

  .product-rating {
    margin-bottom: 6px;
  }

  .stars {
    font-size: 0.7rem;
  }

  .rating-count {
    font-size: 0.65rem;
  }

  .product-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
  }

  .product-quick-actions {
    bottom: 0;
    padding: 8px;
    gap: 6px;
  }

  .quick-action-btn {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .product-card .product-wishlist {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    top: 8px;
    right: 8px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
    display: flex;
    flex-direction: row;
    text-align: left;
    gap: 16px;
    align-items: flex-start;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.3rem;
    margin: 0;
  }

  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  .deal-banner {
    padding: 40px 0;
    margin-bottom: 0;
    border-radius: 0;
  }

  .deal-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .deal-content h2 {
    font-size: 1.5rem;
  }

  .deal-content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .deal-timer {
    gap: 10px;
    justify-content: center;
  }

  .timer-box {
    padding: 10px 12px;
    min-width: 55px;
  }

  .timer-box .time {
    font-size: 1.3rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .newsletter {
    padding: 40px 0;
  }

  .newsletter h2 {
    font-size: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 30px 0;
  }

  .product-detail .container {
    grid-template-columns: 1fr !important;
    gap: 30px;
    padding: 0 16px;
  }

  .main-image { height: 280px !important; }
  .detail-actions { flex-direction: column; gap: 12px; }
  .detail-actions .btn { width: 100% !important; margin: 0; }

  /* Final Cart Card Layout */
  .cart-layout { grid-template-columns: 1fr !important; }
  .cart-header { display: none !important; }
  .cart-item {
    display: block !important;
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    background: white;
  }
  .cart-product { margin-bottom: 15px; }
  .cart-item > div:not(.cart-product) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px dashed var(--border-light);
    font-size: 0.95rem;
  }
  .cart-item > div:not(.cart-product)::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-secondary);
  }
  .cart-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fef2f2;
    color: #ef4444;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cart-summary { position: static; margin-top: 30px; width: 100%; box-shadow: none; border: 1px solid var(--border-light); }

  /* Hero Adjustments */
  .hero-content h1 { font-size: 2rem !important; }
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    margin-top: 30px;
  }
  .hero-stat { text-align: center; }

  .page-hero { padding: 60px 0 30px; margin-top: 70px; }
  .products-toolbar { flex-direction: column; gap: 15px; align-items: stretch; }
  .filters-sidebar { grid-template-columns: 1fr 1fr; gap: 15px; }
  
  .products-main .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .modal-content { max-width: 95vw !important; width: 100% !important; margin: 10px; }
  #profileTabsContainer { padding: 20px !important; }
}

/* === SMALL PHONES (480px and below) === */
@media (max-width: 480px) {
  :root { --container-padding: 12px; }
  
  html, body { overflow-x: hidden !important; position: relative; width: 100%; }

  .hero-content h1 { font-size: 1.8rem !important; }
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
  }
  
  .hero-stats { grid-template-columns: 1fr !important; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .product-image { height: 140px !important; }
  .product-info h3 { font-size: 0.75rem !important; }
  .current-price { font-size: 0.9rem !important; }
  
  .trust-bar .container { grid-template-columns: 1fr !important; }
  .timer-box { min-width: 45px; padding: 8px; }
  .timer-box .time { font-size: 1.1rem; }

  .hero-content h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
  }

  .hero-stat .number {
    font-size: 1.2rem;
  }

  .hero-stat .label {
    font-size: 0.6rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .product-image {
    height: 150px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info h3 {
    font-size: 0.78rem;
  }

  .current-price {
    font-size: 0.9rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .category-card {
    padding: 16px 10px;
  }

  .category-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .category-card h3 {
    font-size: 0.82rem;
  }

  .trust-bar .container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timer-box {
    min-width: 48px;
    padding: 8px 10px;
  }

  .timer-box .time {
    font-size: 1.1rem;
  }

  .section {
    padding: 40px 0;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .about-stat {
    padding: 12px 8px;
  }

  .about-stat .number {
    font-size: 1.2rem;
  }

  .about-stat .label {
    font-size: 0.65rem;
  }

  .main-image {
    height: 260px;
  }

  .product-detail-info h1 {
    font-size: 1.3rem;
  }

  .product-detail-price .current-price {
    font-size: 1.4rem;
  }

  .filters-sidebar {
    grid-template-columns: 1fr;
  }

  .footer-column h4 {
    font-size: 0.85rem;
  }

  .navbar-main .container {
    gap: 8px;
  }

  .nav-actions {
    gap: 4px;
  }

  .nav-actions .action-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .cart-count {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
  }
}
/* Comparison System Specifics */
.btn-compare {
  width: auto !important; /* Allow for text label */
  height: 36px;
  padding: 0 14px;
  border-radius: 50px !important; /* Pill shape */
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem !important;
  font-weight: 600;
  white-space: nowrap;
  background: white;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-compare i {
  font-size: 0.8rem;
}

.btn-compare.active {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

/* --- Dashboard & Sidebar --- */
.dashboard-sidebar {
  display: flex;
  flex-direction: column;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dash-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.dash-link:hover {
  background: rgba(0, 103, 120, 0.05);
  color: var(--primary);
}

.dash-link.active {
  background: white;
  color: var(--primary);
  border-left: 3px solid var(--primary);
  font-weight: 600;
}

.dash-link i {
  width: 18px;
  text-align: center;
}

.dash-tab-content {
  animation: fadeIn 0.4s ease;
}

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

/* Modal Enhancements */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: modalFadeIn 0.3s ease;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.modal-close:hover {
  color: var(--error);
}

/* --- Premium Product Selectors --- */
.selection-group {
    margin-bottom: 30px;
}

.selection-group h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Condition Cards */
.condition-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.cond-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cond-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cond-card.active::after {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    font-size: 1.1rem;
}

.cond-label {
 font-weight: 800;
 font-size: 1.05rem;
 color: #1e293b;
 display: block;
 margin-bottom: 4px;
}

.cond-desc {
 font-size: 0.75rem;
 color: #64748b;
 line-height: 1.2;
}

/* Storage Buttons */
.storage-selector-btns {
 display: flex;
 gap: 12px;
 flex-wrap: wrap;
}

.storage-btn {
 background: #f8fafc;
 border: 2px solid #e2e8f0;
 border-radius: 50px;
 padding: 10px 24px;
 font-weight: 700;
 font-size: 0.9rem;
 color: #475569;
 cursor: pointer;
 transition: all 0.2s ease;
}

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

.storage-btn.active {
 background: var(--primary);
 color: #fff;
 border-color: var(--primary);
 box-shadow: 0 4px 10px rgba(0, 103, 120, 0.2);
 animation: selectedPop 0.3s ease-out;
}

/* Color Circles Overhaul */
.color-selector-circles {
 display: flex;
 gap: 18px;
 align-items: center;
}

.color-circle {
 width: 38px;
 height: 38px;
 border-radius: 50%;
 cursor: pointer;
 position: relative;
 transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 border: 3px solid #fff;
 box-shadow: 0 0 0 1px #e2e8f0;
}

.color-circle:hover {
 transform: scale(1.15);
}

.color-circle.active {
 box-shadow: 0 0 0 2px var(--primary);
 transform: scale(1.1);
}

.color-circle.active::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes selectedPop {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}


@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   Modern UI Overhaul: Premium Components
   ============================================ */

/* 1. Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
}

/* 2. Modern Checkout Stepper */
.stepper-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 500px;
  margin: 0 auto 40px;
}

.stepper-modern::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.step-modern {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step-dot {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.step-modern.active .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 103, 120, 0.2);
}

.step-modern.completed .step-dot {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.step-label-modern {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-modern.active .step-label-modern {
  color: var(--primary);
}

/* 3. Address & Payment Tiles */
.selectable-tile {
  background: #fff;
  border: 2px solid #f1f5f9;
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.selectable-tile:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.selectable-tile.selected {
  border-color: var(--primary);
  background: rgba(0, 103, 120, 0.03);
}

.selectable-tile.selected::after {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--primary);
  font-size: 1.1rem;
}

/* 4. Payment Icons Grid */
.payment-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.payment-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.payment-method-card:hover { border-color: #cbd5e1; }
.payment-method-card.active { border-color: var(--primary); background: rgba(0, 103, 120, 0.03); }

.payment-icon-lg {
  font-size: 1.8rem;
  color: #475569;
}

.active .payment-icon-lg { color: var(--primary); }

.payment-label-sm {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

/* 5. Cart Item Modern Layout */
.cart-card-modern {
  display: grid;
  grid-template-columns: 120px 1fr 150px 100px;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
}

.cart-card-modern:hover { background: #fcfcfc; }

.cart-img-modern {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
}

.cart-info-modern h4 { font-size: 1.1rem; margin-bottom: 6px; color: #1e293b; }
.cart-info-modern p { font-size: 0.85rem; color: #64748b; }

.price-modern { font-weight: 700; color: #1e293b; font-size: 1rem; }

.cart-qty-modern {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  background: #f8fafc;
  overflow: hidden;
  height: 36px;
}
.cart-qty-modern button {
  width: 36px;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}
.cart-qty-modern button:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.cart-qty-modern span {
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
}

/* 6. Mobile Optimization for Modern Cart */
@media (max-width: 768px) {
  .cart-card-modern {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 16px;
  }
  .cart-img-wrap { grid-column: 1; grid-row: 1 / span 2; }
  .cart-info-modern { grid-column: 2; grid-row: 1; }
  .cart-qty-modern { grid-column: 2; grid-row: 2; white-space: nowrap; margin-bottom: 5px; }
  .cart-price-col { 
    grid-column: 1 / span 2; 
    grid-row: 3;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px dashed #e2e8f0; 
    padding-top: 12px; 
    margin-top: 4px;
  }
}

/* --- Adsterra & Monetization Styles --- */
.tc-floating-pill {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.tc-floating-pill a {
  color: #000;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pill-close {
  background: rgba(0,0,0,0.1);
  border: none;
  color: #000;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 9998;
  padding: 10px 0;
}
.sticky-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 90px;
}
.ad-label {
  position: absolute;
  top: -10px;
  left: 10px;
  background: #eee;
  font-size: 10px;
  padding: 2px 5px;
  color: #999;
}
.sticky-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #eee;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
}

.tc-vignette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vignette-card {
  background: white;
  width: 90%;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.vignette-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.vignette-header h3 { margin: 0; font-size: 1.1rem; }
.vignette-timer { font-size: 0.75rem; color: #888; }
.vignette-ad-slot {
  padding: 20px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcfcfc;
}
.vignette-skip {
  width: 100%;
  padding: 15px;
  border: none;
  background: var(--primary);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.ad-placeholder {
  color: #ccc;
  font-size: 0.8rem;
  font-style: italic;
}
.ad-placeholder-large {
  color: #ddd;
  font-size: 1rem;
}

.tc-text-ad {
  color: var(--primary) !important;
  text-decoration: underline dotted !important;
  font-weight: 600;
}
