/* ==========================================================================
   FABRICA DE CAPINHAS - PREMIUM DESIGN SYSTEM & CORE STYLES
   Inspirado em Apple, Linear, Nothing & Vercel
   ========================================================================== */

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

:root {
  /* Cores Principais - Paleta Premium OLED & Titânio */
  --bg-main: #0a0a0c;
  --bg-card: #121216;
  --bg-card-hover: #181820;
  --bg-elevated: #1f1f28;
  --bg-glass: rgba(14, 14, 18, 0.75);
  --bg-glass-heavy: rgba(10, 10, 12, 0.92);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.25);
  --border-active: #ffffff;
  
  --text-main: #f8f9fa;
  --text-muted: #8e8e9f;
  --text-dim: #5c5c6d;
  
  /* Cores de Destaque */
  --accent-gold: #e5b869;
  --accent-titanium: #d1d5db;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-glow: rgba(229, 184, 105, 0.15);
  
  /* Fontes & Tipografia */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
  
  /* Dimensões & Espaçamentos */
  --container-max: 1240px;
  --header-height: 72px;
  --topbar-height: 38px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  /* Sombras Sutis */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 40px rgba(229, 184, 105, 0.12);
  
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

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

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

button {
  cursor: pointer;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: hidden;
}

/* ==========================================================================
   TOP BAR (ANÚNCIO FIXO DE FRETE GRÁTIS)
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #0d0d11 0%, #171722 50%, #0d0d11 100%);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100;
  overflow: hidden;
  padding: 0 16px;
  text-align: center;
  width: 100%;
}

.topbar span.highlight {
  color: var(--accent-gold);
  margin: 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   HEADER STICKY & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  height: 62px;
  background: var(--bg-glass-heavy);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-text {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.brand-logo .logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-gold);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  position: relative;
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.action-btn .badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ==========================================================================
   GLOBAL SWEEPSTAKES BANNER (IPHONE 17 PRO MAX)
   ========================================================================== */
.sweepstakes-bar {
  background: linear-gradient(135deg, #18150f 0%, #292014 50%, #16130e 100%);
  border: 1px solid rgba(229, 184, 105, 0.25);
  border-radius: var(--radius-md);
  margin: 16px auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.sweepstakes-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(229, 184, 105, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.sweepstakes-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sweepstakes-badge {
  background: var(--accent-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.sweepstakes-text {
  font-size: 0.94rem;
  font-weight: 600;
  color: #fff;
}

.sweepstakes-text strong {
  color: var(--accent-gold);
}

.btn-sweepstakes {
  background: #fff;
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-sweepstakes:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 184, 105, 0.4);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 90px;
  overflow-x: hidden;
  overflow: hidden;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #888899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .gold-text {
  background: linear-gradient(135deg, #fcd34d 0%, #e5b869 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  flex-wrap: wrap;
}

.stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Showcase 3D Visualizer */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-main-img {
  display: block;
  margin: 0 auto;
  max-height: 440px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero-device-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: radial-gradient(circle at center, rgba(30, 30, 40, 0.7) 0%, rgba(10, 10, 12, 0.9) 70%);
  border: 1px solid var(--border-subtle);
  border-radius: 36px;
  padding: 40px 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  text-align: center;
  overflow: hidden;
}

.device-mockup {
  position: relative;
  margin: 0 auto 24px;
  width: 260px;
  height: 480px;
  background: #0f1015;
  border-radius: 46px;
  border: 5px solid #2a2a35;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8), 0 20px 40px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.device-mockup:hover {
  transform: scale(1.02) rotate(-1deg);
}

.case-magsafe-ring {
  width: 130px;
  height: 130px;
  border: 4px solid rgba(229, 184, 105, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(229, 184, 105, 0.2);
}

.case-magsafe-ring::after {
  content: '';
  position: absolute;
  bottom: -32px;
  width: 4px;
  height: 24px;
  background: rgba(229, 184, 105, 0.6);
  border-radius: 2px;
}

.case-camera-bump {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 86px;
  height: 86px;
  background: #181820;
  border-radius: 24px;
  border: 2px solid #333344;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
  gap: 6px;
}

.camera-lens {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, #090910 40%, #20202e 100%);
  border: 2px solid #4a4a60;
  border-radius: 50%;
}

.hero-floating-card {
  position: absolute;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floatAnim 4s ease-in-out infinite;
  max-width: calc(100% - 16px);
}

.floating-1 {
  bottom: 20px;
  left: 8px;
  animation-delay: 0s;
}

.floating-2 {
  top: 40px;
  right: 8px;
  animation-delay: 2s;
}

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

/* ==========================================================================
   BUTTONS & DESIGN SYSTEM COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #0a0a0c;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 184, 105, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #fcd34d 0%, #e5b869 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(229, 184, 105, 0.3);
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

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

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold { background: rgba(229, 184, 105, 0.15); color: var(--accent-gold); border: 1px solid rgba(229, 184, 105, 0.3); }
.badge-green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.3); }

/* ==========================================================================
   MODEL SELECTOR SECTION ("ENCONTRE SUA CAPINHA")
   ========================================================================== */
.model-picker-section {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: hidden;
}

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

.section-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}

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

.model-selector-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.model-generation-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.gen-pill {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.gen-pill:hover, .gen-pill.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.model-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.variant-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.variant-card:hover, .variant-card.selected {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 184, 105, 0.15);
}

.variant-card .variant-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.variant-card .variant-status {
  font-size: 0.8rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   PRODUCT CARDS & CATALOG
   ========================================================================== */
.catalog-section {
  padding: 60px 0 90px;
  overflow-x: hidden;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
}

.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filter-group {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.filter-checkbox-label:hover {
  color: #fff;
}

.filter-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-elevated);
  cursor: pointer;
  position: relative;
}

.filter-checkbox:checked {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.filter-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 11px;
  font-weight: 800;
}

.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-search-box {
  position: relative;
  min-width: 280px;
  flex: 1;
  max-width: 420px;
}

.catalog-search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 12px 20px 12px 44px;
  font-size: 0.9rem;
  color: #fff;
  transition: border-color var(--transition-fast);
}

.catalog-search-input:focus {
  border-color: var(--border-focus);
}

.catalog-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 0.9rem;
  color: #fff;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

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

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

.product-card-media {
  position: relative;
  background: radial-gradient(circle at center, #1c1c24 0%, #101014 100%);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 280px;
}

.product-card-img {
  max-height: 230px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.65));
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card-img {
  transform: scale(1.08) translateY(-4px);
}

.mini-color-dot {
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.mini-color-dot:hover {
  transform: scale(1.25);
}


.card-ring {
  width: 70px;
  height: 70px;
  border: 3px solid rgba(229, 184, 105, 0.5);
  border-radius: 50%;
}

.product-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-card-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 14, 18, 0.8);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}

.product-card-fav:hover, .product-card-fav.active {
  color: var(--accent-red);
  border-color: var(--accent-red);
  background: rgba(239, 68, 68, 0.1);
}

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

.product-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-card-rating .stars {
  color: var(--accent-gold);
}

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

.product-card-pricing {
  display: flex;
  flex-direction: column;
}

.card-old-price {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.card-quick-add {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.card-quick-add:hover {
  background: var(--accent-gold);
  transform: scale(1.1);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.product-detail-section {
  padding: 40px 0 80px;
  overflow-x: hidden;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  margin-bottom: 64px;
}

.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-image-display {
  background: radial-gradient(circle at center, #1b1c24 0%, #0d0d12 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.large-case-mockup {
  width: 240px;
  height: 420px;
  border-radius: 40px;
  background: #14151b;
  border: 4px solid #30303e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.9), 0 20px 40px rgba(0,0,0,0.8);
  position: relative;
  transition: all var(--transition-smooth);
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--accent-gold);
}

.product-info-panel {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.product-pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.price-main {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.price-old {
  font-size: 1.1rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.discount-tag {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Interactive iPhone Selector in Product Detail */
.selection-box {
  margin-bottom: 24px;
}

.selection-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.selection-title span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-gold);
}

.iphone-model-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.model-chip {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.model-chip:hover, .model-chip.selected {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.color-swatches {
  display: flex;
  gap: 12px;
  align-items: center;
}

.color-swatch-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 3px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.color-swatch-btn .color-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}

.color-swatch-btn.active, .color-swatch-btn:hover {
  border-color: var(--accent-gold);
  transform: scale(1.15);
}

.buy-actions-wrapper {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
}

.qty-btn:hover {
  background: var(--bg-elevated);
}

.qty-input {
  width: 44px;
  text-align: center;
  font-weight: 700;
}

/* Trust Elements */
.trust-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  margin-top: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--accent-green);
}

/* ==========================================================================
   MINI-CART DRAWER & CART VIEW
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  visibility: hidden;
}

.cart-drawer.active {
  transform: translateX(0);
  visibility: visible;
}

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

.cart-drawer-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-drawer-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.close-drawer-btn:hover {
  color: #fff;
}

/* Free Shipping Smart Indicator */
.shipping-progress-box {
  background: var(--bg-main);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.shipping-progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shipping-progress-text.unlocked {
  color: var(--accent-green);
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fcd34d, #10b981);
  transition: width var(--transition-smooth);
}

.cart-drawer-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-row {
  display: flex;
  gap: 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  position: relative;
}

.cart-item-thumb {
  width: 64px;
  height: 74px;
  background: #181820;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

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

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-summary-row.total {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: 12px;
}

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */
.checkout-section {
  padding: 40px 0 80px;
  overflow-x: hidden;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: #fff;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-gold);
}

/* Payment Selector Tabs */
.payment-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.payment-tab-btn {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-tab-btn.active, .payment-tab-btn:hover {
  border-color: var(--accent-gold);
  background: var(--bg-elevated);
}

.payment-tab-btn .method-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   ORDER TIMELINE & TRACKING
   ========================================================================== */
.order-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
}

.order-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--bg-elevated);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120px;
}

.timeline-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.timeline-step.completed .timeline-dot {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #000;
}

.timeline-step.active .timeline-dot {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000;
  box-shadow: 0 0 16px var(--accent-gold);
}

/* ==========================================================================
   ADMIN PANEL - LUXURY DARK DESIGN
   ========================================================================== */
.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - var(--header-height));
  background: var(--bg-main);
}

.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border-subtle);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.admin-nav-link svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.admin-nav-link:hover {
  background: var(--bg-elevated);
  color: #fff;
  border-color: var(--border-subtle);
}

.admin-nav-link.active {
  background: rgba(229, 184, 105, 0.12);
  color: #fff;
  border-color: var(--accent-gold);
}

.admin-nav-link.active svg {
  color: var(--accent-gold);
}

.admin-content {
  padding: 40px;
  overflow-y: auto;
  background: radial-gradient(circle at top right, rgba(229, 184, 105, 0.03) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
}

.stat-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-weight: 600;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Data Tables */
.data-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.data-table th {
  background: var(--bg-elevated);
  padding: 16px 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 700;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-main);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Mobile Nav Drawer */
.mobile-menu-btn {
  display: none;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100%;
  height: 100dvh;
  background: #0d0d10;
  border-right: 1px solid var(--border-subtle);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 10px;
}

.mobile-drawer-header .drawer-close-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.mobile-drawer-quick-actions {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.mobile-drawer-links {
  list-style: none;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  background: rgba(229, 184, 105, 0.12);
  color: var(--accent-gold);
}

.mobile-nav-item.highlight-link {
  color: var(--accent-gold);
  font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #08080a;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  margin-top: 80px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0 20px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

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

.toast {
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success { border-left-color: var(--accent-green); }
.toast.error { border-left-color: var(--accent-red); }

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   TOTAL RESPONSIVE ENGINE (MOBILE, TABLET, NOTEBOOK, DESKTOP)
   ========================================================================== */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 20px;
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .admin-nav-link {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .admin-content {
    padding: 24px 16px;
  }
}

@media (max-width: 768px) {
  .site-header { height: 64px; }
  .site-header.scrolled { height: 58px; }
  .header-inner { gap: 10px; }

  .brand-logo {
    font-size: clamp(0.95rem, 3.8vw, 1.18rem);
    gap: 6px;
  }
  .brand-logo .logo-dot { width: 7px; height: 7px; }

  .header-actions { gap: 8px; }
  .action-btn { width: 36px; height: 36px; }
  .action-btn svg { width: 17px; height: 17px; }
  
  .topbar { font-size: 0.72rem; padding: 6px 12px; line-height: 1.35; }
  
  .hero-section { padding: 36px 0 60px; }
  .hero-title { font-size: clamp(1.85rem, 7vw, 2.5rem); margin-bottom: 16px; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-cta-group { flex-direction: column; width: 100%; gap: 12px; margin-bottom: 32px; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .hero-visual { overflow: hidden; max-width: 100%; }
  .hero-device-wrapper {
    max-width: 100%;
    padding: 24px 16px;
    border-radius: 24px;
  }
  .hero-main-img { max-height: 320px; width: auto; max-width: 100%; }

  .hero-floating-card {
    padding: 8px 12px;
    gap: 8px;
    border-radius: var(--radius-sm);
  }
  .floating-1 { left: 8px; bottom: 8px; }
  .floating-2 { right: 8px; top: 12px; }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 20px;
  }
  .hero-stats .stat-item h4 { font-size: 1.05rem; }
  .hero-stats .stat-item p { font-size: 0.68rem; }
  
  .sweepstakes-bar { 
    flex-direction: column; 
    text-align: center; 
    gap: 12px; 
    padding: 14px 16px;
  }
  .sweepstakes-info { flex-direction: column; gap: 8px; }
  .sweepstakes-text { font-size: 0.88rem; line-height: 1.4; }
  .btn-sweepstakes { width: 100%; justify-content: center; }
  
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-media { height: 180px; padding: 12px 8px; }
  .product-card-img { max-height: 150px; }
  .product-card-body { padding: 12px 10px; }
  .product-card-title { font-size: 0.88rem; }
  .card-price { font-size: 1.05rem; }
  .card-quick-add { width: 34px; height: 34px; }
  
  .main-image-display { min-height: 280px; padding: 20px 10px; }
  #product_main_zoom_img { max-height: 240px; }
  .buy-actions-wrapper { flex-direction: column; }
  .buy-actions-wrapper .btn { width: 100%; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  
  .form-group.col-6, .form-group.col-8, .form-group.col-4, .form-group.col-3, .form-group.col-2 {
    grid-column: span 12;
  }
  
  .cart-drawer { width: 100%; }
}

@media (max-width: 640px) {
  /* On compact mobile screens, streamline header buttons so logo is 100% visible */
  .header-action-wishlist,
  .header-action-account,
  .header-action-admin {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card-media { height: 210px; }
  .product-card-img { max-height: 180px; }
  
  .hero-stats { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .brand-logo { font-size: 0.95rem; gap: 5px; }
  .brand-logo .logo-dot { width: 6px; height: 6px; }
  
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.86rem; }
  
  .model-selector-container { padding: 14px 10px; }
  .model-generation-pills { gap: 6px; }
  .gen-pill { padding: 7px 12px; font-size: 0.78rem; }
  
  .topbar { font-size: 0.66rem; padding: 5px 8px; }
  .sweepstakes-text { font-size: 0.82rem; }
}

