:root {
  --p-bg: #000000;
  --p-surface: #0a0a0a;
  --p-surface-soft: #121212;
  --p-text: #f8fafc;
  --p-muted: #94a3b8;
  --p-line: rgba(255, 255, 255, 0.08);
  --p-brand: #8b5cf6;
  --p-brand-strong: #7c3aed;
  --p-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

body {
  background-color: var(--p-bg);
  color: var(--p-text);
  -webkit-font-smoothing: antialiased;
}

.product-page {
  padding: 80px 0 140px;
}

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

.product-gallery {
  position: sticky;
  top: 140px;
  border-radius: 24px;
  background: #050505;
  border: 1px solid var(--p-line);
  padding: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.gallery-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.product-gallery img {
  max-width: 90%;
  max-height: 480px;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-header .product-brand {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--p-brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.info-header h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.current-price {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.emi-text {
  font-size: 15px;
  color: var(--p-muted);
  margin-top: 4px;
}

.selector-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.grid-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.box-option {
  padding: 18px;
  background: var(--p-surface-soft);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.box-option span {
  display: block;
  font-weight: 600;
  font-size: 15px;
}

.box-option .sub-label {
  font-size: 13px;
  color: var(--p-muted);
  margin-top: 4px;
}

.box-option:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.box-option.active {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--p-brand);
  box-shadow: 0 0 0 1px var(--p-brand);
}

.flex-options {
  gap: 20px;
}

.color-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #000;
  box-shadow: 0 0 0 1px var(--p-line);
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-option.active {
  box-shadow: 0 0 0 2px var(--p-brand);
  transform: scale(1.15);
}

.addon-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--p-surface-soft);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.addon-card.active {
  border-color: var(--p-brand);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.addon-info h4 { font-size: 16px; margin-bottom: 2px; }
.addon-info p { font-size: 13px; color: var(--p-muted); }
.addon-price { font-weight: 800; color: var(--p-brand); font-size: 15px; }

.trust-badges {
  display: flex;
  gap: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid var(--p-line);
}

.badge-item {
  font-size: 12px;
  font-weight: 700;
  color: var(--p-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-item::before {
  content: '✓';
  color: var(--p-brand);
}

.product-features h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-list li {
  font-size: 15px;
  color: var(--p-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.feature-icon {
  color: var(--p-brand);
  font-size: 18px;
}

.sticky-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--p-line);
  padding: 20px 0;
  z-index: 1000;
}

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

.sticky-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.final-price { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }

.action-buttons {
  display: flex;
  gap: 16px;
}

@media (max-width: 1024px) {
  .product-container { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; min-height: 400px; padding: 40px; }
  .info-header h1 { font-size: 36px; }
}

@media (max-width: 640px) {
  .grid-options { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .sticky-info { display: none; }
  .action-buttons { width: 100%; }
  .action-buttons .btn { flex: 1; padding: 16px; }
  .product-page { padding: 40px 0 120px; }
}
