/* ==========================================================================
   VoltBalcony UK - Master Design System & Stylesheet
   Theme: Obsidian Slate & Neon Emerald Solar Prosumer (SI 2026/848 Certified)
   ========================================================================== */

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

:root {
  /* Color Tokens */
  --bg-main: #080C14;
  --bg-surface: #0E1626;
  --bg-card: rgba(18, 27, 44, 0.75);
  --bg-card-hover: rgba(26, 38, 62, 0.85);
  --bg-glass: rgba(14, 22, 38, 0.82);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.5);
  --border-accent: rgba(16, 185, 129, 0.25);

  --emerald-neon: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --emerald-dark: #065F46;
  
  --solar-gold: #F59E0B;
  --solar-glow: rgba(245, 158, 11, 0.35);

  --cyber-cyan: #06B6D4;
  --cyber-blue: #3B82F6;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #080C14;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-emerald: 0 8px 32px rgba(16, 185, 129, 0.22);
  --shadow-gold: 0 8px 32px rgba(245, 158, 11, 0.22);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --max-width: 1240px;
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden {
  display: none !important;
}

.text-emerald { color: var(--emerald-neon); }
.text-gold { color: var(--solar-gold); }
.text-cyan { color: var(--cyber-cyan); }

/* ==========================================================================
   Header & Compliance Top Banner
   ========================================================================== */
.top-compliance-bar {
  background: linear-gradient(90deg, #065F46 0%, #047857 50%, #065F46 100%);
  color: #ECFDF5;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.top-compliance-bar .badge-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
  transition: var(--transition-normal);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo svg {
  color: var(--emerald-neon);
  filter: drop-shadow(0 0 10px var(--emerald-glow));
}

.brand-tag {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-neon);
  border: 1px solid var(--border-accent);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  margin-left: 0.2rem;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-toggle-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--emerald-neon);
}

.cart-count-badge {
  background: var(--emerald-neon);
  color: var(--text-inverse);
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  z-index: 999;
}

.mobile-nav-menu.open {
  display: block;
}

.mobile-nav-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Buttons & Core Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #042217;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--emerald-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--emerald-glow);
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #2D1A02;
  box-shadow: 0 4px 18px var(--solar-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--solar-glow);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 65%);
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-neon);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #10B981 0%, #38BDF8 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-item svg {
  color: var(--emerald-neon);
}

/* Hero Interactive Energy Card */
.hero-live-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.live-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-neon);
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.live-pulse::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--emerald-neon);
  border-radius: 50%;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px var(--emerald-neon); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-stat-large {
  text-align: center;
  padding: 1.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.stat-power-val {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--emerald-neon);
  line-height: 1;
}

.stat-power-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

.hero-sim-slider-wrap {
  margin-bottom: 1.5rem;
}

.sim-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-neon);
  cursor: pointer;
  box-shadow: 0 0 12px var(--emerald-glow);
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.appliance-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.appliance-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.appliance-label:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sim-balance-status {
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--border-accent);
}

/* ==========================================================================
   Section Layouts & Headings
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-neon);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Calculator Section
   ========================================================================== */
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-field-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.form-select, .form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--emerald-neon);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.form-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.calc-results-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-metric-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.calc-metric-card {
  background: rgba(14, 22, 38, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.calc-metric-card.highlight {
  border-color: var(--border-accent);
  background: rgba(16, 185, 129, 0.05);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.calc-metric-card.highlight .metric-value {
  color: var(--emerald-neon);
}

.calc-daily-breakdown {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   3-Step Configurator Section
   ========================================================================== */
.configurator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}

.step-indicator-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.step-indicator-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-indicator-item .step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.step-indicator-item.active {
  color: var(--text-primary);
}

.step-indicator-item.active .step-circle {
  background: var(--emerald-neon);
  color: var(--text-inverse);
  box-shadow: 0 0 14px var(--emerald-glow);
}

.step-indicator-item.completed .step-circle {
  background: var(--emerald-dark);
  color: var(--emerald-neon);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.wizard-step-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wizard-step-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.config-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.config-option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.config-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.config-option-btn.active {
  border-color: var(--emerald-neon);
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 16px var(--emerald-glow);
}

.config-option-btn svg {
  font-size: 2rem;
  color: var(--emerald-neon);
}

.config-nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Configurator Results Card */
.config-results-wrapper {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.rec-bundle-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.rec-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

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

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

.rec-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.rec-item-tag {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.rec-item-price {
  font-weight: 700;
  color: var(--emerald-neon);
}

/* ==========================================================================
   Product Catalog Grid
   ========================================================================== */
.catalog-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.catalog-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.catalog-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.catalog-tab-btn.active {
  background: var(--emerald-neon);
  color: var(--text-inverse);
  border-color: var(--emerald-neon);
  box-shadow: 0 0 14px var(--emerald-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--emerald-neon);
  color: var(--text-inverse);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  z-index: 10;
}

.product-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

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

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

.quick-view-overlay-btn {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-card:hover .quick-view-overlay-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

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

.product-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.product-title:hover {
  color: var(--emerald-neon);
}

.product-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.4;
  flex: 1;
}

.product-key-spec {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border-left: 2px solid var(--emerald-neon);
}

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

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

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

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

/* ==========================================================================
   Compliance & Legal Tools Hub
   ========================================================================== */
.compliance-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyber-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  width: fit-content;
}

.tool-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tool-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.postcode-search-box {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.postcode-search-box input {
  flex: 1;
}

.dno-result-box {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}

.dno-meta-list {
  font-size: 0.85rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ==========================================================================
   Reviews & Trust Section
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-neon);
}

.review-author-meta h4 {
  font-size: 0.95rem;
}

.verified-pill {
  font-size: 0.7rem;
  color: var(--emerald-neon);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.review-loc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.review-stars {
  color: var(--solar-gold);
  margin-bottom: 0.8rem;
}

.review-quote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1rem;
  flex: 1;
}

.review-product-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-question svg {
  transition: transform var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 1.5rem;
}

.faq-item.active {
  border-color: var(--border-accent);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--emerald-neon);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem;
}

/* ==========================================================================
   Slide-Over Cart Drawer & Modals
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

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

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.close-drawer-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-free-shipping-box {
  padding: 0.9rem 1.5rem;
  background: rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

.shipping-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.shipping-bar-fill {
  height: 100%;
  background: var(--emerald-neon);
  width: 0%;
  transition: width 0.3s ease;
}

.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

.cart-empty-state svg {
  margin: 0 auto 1rem;
  color: var(--text-muted);
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

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

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

.cart-item-details h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--emerald-neon);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.cart-qty-ctrls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.remove-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: auto;
  cursor: pointer;
}

.remove-btn:hover {
  color: #EF4444;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.cart-coupon-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cart-coupon-wrap input {
  flex: 1;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
}

.cart-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
}

.cart-summary-line.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.6rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

/* Product Modal Grid */
.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.modal-main-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.modal-warranty-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-accent);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  text-align: center;
  color: var(--emerald-neon);
}

.modal-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-neon);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 0.25rem 0 0.5rem;
}

.modal-price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
}

.modal-stock-tag {
  font-size: 0.8rem;
  color: var(--emerald-neon);
}

.modal-specs-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 0.3rem;
}

.spec-key {
  color: var(--text-secondary);
}

/* Legal Documents Paper (G98 & Landlord) */
.legal-document-paper {
  background: #FFFFFF;
  color: #111827;
  padding: 2.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 1.5rem;
}

.legal-document-paper h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: #000;
  text-align: center;
}

.legal-document-paper .doc-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.legal-document-paper .doc-divider {
  border: 0;
  border-top: 1px solid #D1D5DB;
  margin: 1rem 0;
}

.legal-document-paper .doc-section {
  margin-bottom: 1rem;
}

.legal-document-paper .doc-section h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #1F2937;
}

.legal-document-paper ul {
  padding-left: 1.5rem;
  margin: 0.8rem 0;
}

/* Toast Notifications */
.volt-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--emerald-neon);
  color: var(--text-primary);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.volt-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.volt-toast-success { border-color: var(--emerald-neon); }
.volt-toast-error { border-color: #EF4444; }
.volt-toast-warning { border-color: var(--solar-gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #04070D;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--emerald-neon);
}

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

/* ==========================================================================
   Print Styles for G98 & Landlord Documents
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  .legal-document-paper, .legal-document-paper * {
    visibility: visible;
  }
  .legal-document-paper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
    padding: 0;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .calc-container {
    grid-template-columns: 1fr;
  }
  .compliance-tools-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-product-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .calc-metric-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
