/* ==========================================================================
   SHERON DIGITAL - Ultra Modern High-Tech E-Commerce Theme
   ========================================================================== */

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

:root {
  /* Colors - High Tech Dark Theme (Default) */
  --bg-primary: #0A0E1A;
  --bg-secondary: #111728;
  --bg-card: #161F33;
  --bg-glass: rgba(10, 14, 26, 0.85);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --brand-primary: #3B82F6;
  --brand-cyan: #00F2FE;
  --brand-purple: #8B5CF6;
  --brand-purple-light: rgba(139, 92, 246, 0.15);
  --brand-purple-border: rgba(139, 92, 246, 0.35);
  
  --accent-neon: #10B981;
  --price-red: #F43F5E;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.3);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  --shadow-purple: 0 0 20px rgba(139, 92, 246, 0.4);

  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.9);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --brand-primary: #2563EB;
  --brand-cyan: #0284C7;
  
  --border-color: #E2E8F0;
  --border-glow: rgba(37, 99, 235, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Top Announcement Banner */
.top-bar {
  background: linear-gradient(90deg, #6366F1 0%, #3B82F6 50%, #00F2FE 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.top-bar .badge-highlight {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* Container Utility */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Modern Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.navbar .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

/* Brand Logo + OFFICIAL Badge */
.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #00F2FE 0%, #3B82F6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.brand-logo .brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.brand-logo .brand-bold {
  color: #FFFFFF;
}

[data-theme="light"] .brand-logo .brand-bold {
  color: #0F172A;
}

.brand-logo .brand-cyan {
  color: #00F2FE;
}

[data-theme="light"] .brand-logo .brand-cyan {
  color: #0284C7;
}

.badge-official {
  background: var(--brand-purple-light);
  color: #A78BFA;
  border: 1px solid var(--brand-purple-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Header Integrated Search Bar */
.nav-search {
  position: relative;
  flex: 1;
  max-width: 320px;
}

.nav-search input {
  width: 100%;
  padding: 9px 16px 9px 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: var(--transition);
}

[data-theme="light"] .nav-search input {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.nav-search input:focus {
  outline: none;
  border-color: var(--brand-purple);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

.nav-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover, .nav-links a.active {
  color: #A78BFA;
  background: rgba(139, 92, 246, 0.12);
}

/* Action Icons Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

[data-theme="light"] .action-btn {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.action-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--brand-purple);
  color: #A78BFA;
  transform: translateY(-2px);
}

.action-btn .badge-counter {
  position: absolute;
  top: -3px;
  right: -3px;
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-purple);
}

/* Modern Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
}

/* Shimmer Button Sweep */
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shimmerSweep 3s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  30% { transform: translateX(100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--brand-purple);
  color: #A78BFA;
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
  background: radial-gradient(circle at 50% -20%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--brand-purple-light);
  border: 1px solid var(--brand-purple-border);
  color: #A78BFA;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, #00F2FE 0%, #3B82F6 50%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.feature-item svg {
  color: var(--accent-neon);
}

/* Animated Hero Card */
.hero-showcase {
  position: relative;
  animation: floatCard 4s ease-in-out infinite;
}

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

.super-bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--brand-purple-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.25);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.super-bundle-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #00F2FE, #3B82F6, #8B5CF6, #F43F5E);
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0.6;
  animation: pulseGlowRing 3s ease-in-out infinite alternate;
}

@keyframes pulseGlowRing {
  0% { opacity: 0.4; filter: blur(4px); }
  100% { opacity: 0.8; filter: blur(10px); }
}

.bundle-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.5);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.bundle-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.bundle-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Promo Countdown Wrapper */
.promo-countdown-wrapper {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.countdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #A78BFA;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.countdown-header .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #F43F5E;
  border-radius: 50%;
  box-shadow: 0 0 10px #F43F5E;
  animation: blinkDot 1s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.countdown-boxes {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.countdown-box {
  flex: 1;
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  text-align: center;
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: #00F2FE;
  line-height: 1;
  margin-bottom: 2px;
}

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.bundle-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.bundle-price-box .old-price {
  font-size: 1.05rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.bundle-price-box .new-price {
  font-size: 2.1rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #00F2FE;
}

.bundle-price-box .save-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-neon);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
}

/* Modern Catalog Section */
.catalog-section {
  padding: 80px 0 120px;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 56px;
}

.section-header .section-subtitle {
  color: #A78BFA;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-secondary);
}

/* Catalog Filter Bar */
.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-purple);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 28px;
}

/* Modern Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

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

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Discount Pill & Verified Shield Badge */
.card-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.card-tag-pill.tag-flashsale {
  color: #EC4899;
  border: 1px solid rgba(236, 72, 153, 0.5);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.25);
}

.card-tag-pill.tag-bestseller {
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.card-tag-pill.tag-hot {
  color: #00F2FE;
  border: 1px solid rgba(0, 242, 254, 0.5);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.verified-shield-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
  z-index: 5;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #00F2FE;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-container {
  display: flex;
  flex-direction: column;
}

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

.promo-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.card-actions {
  display: flex;
  gap: 8px;
}

/* Testimonial Cards & Custom Photo Profile Avatar */
.testimonials-section {
  background: var(--bg-secondary);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonial-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 20px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.testimonial-card.visitor-submitted-card {
  border-color: var(--brand-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.your-review-badge {
  background: rgba(0, 242, 254, 0.15);
  color: #00F2FE;
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-purple-border);
  box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial-card .testimonial-text {
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 28px;
  font-family: var(--font-body);
}

.testimonial-card .author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card img.author-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-purple);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
  flex-shrink: 0;
}

.testimonial-card .anonymous-avatar-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(59, 130, 246, 0.25) 100%);
  border: 2px solid var(--brand-purple);
  color: #A78BFA;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
  flex-shrink: 0;
}

.testimonial-card .author-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.testimonial-card .author-role {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Interactive Star Picker in Review Modal */
.star-picker {
  display: flex;
  gap: 8px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 6px;
}

.star-picker .star-item {
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-picker .star-item:hover,
.star-picker .star-item.active {
  color: #F59E0B;
  transform: scale(1.15);
}

/* FAQ Section */
.faq-section {
  padding: 90px 0;
}

.faq-pill-badge {
  display: inline-block;
  background: var(--brand-purple-light);
  color: #A78BFA;
  border: 1px solid var(--brand-purple-border);
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.faq-list {
  max-width: 840px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--brand-purple-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 22px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question .chevron-icon {
  color: var(--brand-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question .chevron-icon {
  transform: rotate(180deg);
  color: #00F2FE;
}

.faq-answer {
  padding: 0 28px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -4px;
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* Footer */
footer {
  background: #060913;
  color: #94A3B8;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #00F2FE;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 0.88rem;
}

/* Modals Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex !important;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(139, 92, 246, 0.3);
  border: 1px solid var(--brand-purple-border);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
  z-index: 10;
}

.close-btn:hover {
  background: var(--price-red);
  color: #FFFFFF;
  border-color: var(--price-red);
}

.modal-body {
  padding: 36px;
}

/* Cart Side Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 3500;
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.6);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.active {
  right: 0;
  visibility: visible !important;
  pointer-events: auto !important;
}

.cart-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  color: #00F2FE;
  font-weight: 800;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}

.cart-item-remove:hover {
  color: var(--price-red);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

/* Beautiful Form Controls inside Modals */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input, 
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px; /* Prevents auto zoom on mobile browsers */
  color: var(--text-primary);
  transition: var(--transition);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  background: var(--bg-card);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #161F33;
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-purple);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   MOBILE & TABLET ULTRA RESPONSIVE DESIGN (HP & HANDHELD OPTIMIZATION)
   ========================================================================== */

@media (max-width: 1100px) {
  .nav-search {
    max-width: 220px;
  }
  .nav-links {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .top-bar {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
  .top-bar .badge-highlight {
    display: none;
  }
  .nav-search {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .badge-official {
    display: none;
  }
  
  .hero {
    padding: 40px 0 30px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }
  
  .hero-content p.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .testimonial-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .testimonial-header-row button {
    width: 100%;
  }

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

/* Dedicated Mobile (HP / Smartphone) Breakpoint <= 768px & 480px */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Compact Sleek Header Bar for Mobile HP */
  .navbar .nav-wrapper {
    height: 60px;
  }

  .brand-logo .logo-icon {
    width: 32px;
    height: 32px;
  }

  .brand-logo .brand-text {
    font-size: 1.18rem;
  }

  .action-btn {
    width: 36px;
    height: 36px;
  }

  /* Hero Section HP Adjustments */
  .hero-content .hero-badge {
    padding: 6px 14px;
    font-size: 0.76rem;
    margin-bottom: 16px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-content p.hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
  }

  .feature-item {
    font-size: 0.82rem;
  }

  /* Super Bundle Card HP Optimization */
  .super-bundle-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .bundle-tag {
    top: 16px;
    right: 16px;
    font-size: 0.68rem;
    padding: 4px 10px;
  }

  .bundle-title {
    font-size: 1.28rem;
    margin-top: 8px;
  }

  .bundle-desc {
    font-size: 0.84rem;
    margin-bottom: 16px;
  }

  .promo-countdown-wrapper {
    padding: 12px;
  }

  .countdown-header {
    font-size: 0.72rem;
    margin-bottom: 8px;
  }

  .countdown-boxes {
    gap: 6px;
  }

  .countdown-box {
    padding: 6px 2px;
  }

  .countdown-num {
    font-size: 1.15rem;
  }

  .countdown-label {
    font-size: 0.6rem;
  }

  .bundle-price-box {
    padding: 14px 16px;
    margin-bottom: 18px;
  }

  .bundle-price-box .old-price {
    font-size: 0.88rem;
  }

  .bundle-price-box .new-price {
    font-size: 1.55rem;
  }

  .bundle-price-box .save-badge {
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  /* Catalog Section HP Optimization */
  .catalog-section {
    padding: 50px 0 70px;
  }

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

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

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

  /* Touch Swipeable Category Filter Tabs for HP */
  .filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 9px 18px;
    font-size: 0.84rem;
    flex-shrink: 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    border-radius: var(--radius-md);
  }

  .product-img-wrapper {
    height: 180px;
  }

  .product-body {
    padding: 18px;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-desc {
    font-size: 0.84rem;
    margin-bottom: 14px;
  }

  .promo-price {
    font-size: 1.2rem;
  }

  /* Testimonial Section HP Optimization */
  .testimonials-section {
    padding: 50px 0;
  }

  .testimonial-header-row h2 {
    font-size: 1.75rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .testimonial-card {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .testimonial-card .testimonial-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  /* FAQ Section HP Optimization */
  .faq-section {
    padding: 50px 0;
  }

  .faq-section h2 {
    font-size: 1.75rem !important;
  }

  .faq-list {
    margin-top: 24px;
    gap: 12px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 18px 16px;
    font-size: 0.88rem;
  }

  /* Footer HP Optimization */
  footer {
    padding: 40px 0 24px;
  }

  /* Modal Containers HP Optimization */
  .modal-overlay {
    padding: 12px;
  }

  .modal-container {
    border-radius: var(--radius-md);
    max-height: 92vh;
  }

  .modal-body {
    padding: 24px 18px;
  }

  .modal-body h3 {
    font-size: 1.3rem !important;
  }

  .close-btn {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }

  .cart-drawer {
    max-width: 100%;
  }

  .toast-container {
    left: 14px;
    right: 14px;
    bottom: 16px;
  }

  .toast {
    font-size: 0.82rem;
    padding: 12px 16px;
  }
}
