/* ===================================================================
   RESPONSEIQ — SMART HOME CONFIGURATOR STYLES
   Design: Dark glassmorphic, Apple-first aesthetic
   =================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --sh-bg: #000000;
  --sh-surface: rgba(255, 255, 255, 0.04);
  --sh-glass: rgba(255, 255, 255, 0.06);
  --sh-glass-border: rgba(255, 255, 255, 0.1);
  --sh-glass-hover: rgba(255, 255, 255, 0.08);
  --sh-primary: #00b7ff;
  --sh-primary-glow: rgba(0, 183, 255, 0.3);
  --sh-secondary: #18BCF2;
  --sh-accent-purple: #a78bfa;
  --sh-success: #22c55e;
  --sh-warning: #FFB900;
  --sh-danger: #FF6B35;
  --sh-text: #ffffff;
  --sh-text-secondary: rgba(255, 255, 255, 0.7);
  --sh-text-muted: rgba(255, 255, 255, 0.45);
  --sh-radius-sm: 8px;
  --sh-radius-md: 12px;
  --sh-radius-lg: 16px;
  --sh-radius-xl: 20px;
  --sh-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --sh-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sh-font);
  background: var(--sh-bg);
  color: var(--sh-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--sh-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== TOP NAVIGATION (mirrors index.html styles) ===== */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 2rem;
  height: 56px;
}

.top-nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 32px; }

.nav-links-container {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--sh-text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--sh-transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-item:hover { background: var(--sh-glass-hover); color: var(--sh-text); text-decoration: none; }
.nav-item.active { color: var(--sh-primary); }
.nav-item img, .nav-icon img { width: 18px; height: 18px; }

.nav-login {
  background: var(--sh-primary);
  color: #000 !important;
  font-weight: 700;
  border-radius: 20px;
  padding: 6px 16px;
}
.nav-login:hover { background: #33c5ff; }

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sh-text);
  border-radius: 2px;
  transition: var(--sh-transition);
}

/* Mobile Menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
}
.mobile-menu-overlay.active { display: block; }

.mobile-nav-menu {
  position: fixed;
  top: 0; right: -300px;
  width: 280px;
  height: 100%;
  background: rgba(10, 10, 20, 0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-left: 1px solid var(--sh-glass-border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px;
  gap: 4px;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-nav-menu.active { right: 0; }

.mobile-nav-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--sh-text);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav-menu .nav-item {
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: var(--sh-radius-sm);
}

/* ===== HERO SECTION ===== */
.sh-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sh-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.7) 50%,
    rgba(0,0,0,0.95) 100%);
}

.sh-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 60px;
  max-width: 800px;
}

.sh-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sh-glass);
  border: 1px solid var(--sh-glass-border);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--sh-text-secondary);
  margin-bottom: 1.5rem;
}
.sh-hero-badge img { width: 18px; height: 18px; }

.sh-hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sh-hero-subtitle {
  font-size: 1.15rem;
  color: var(--sh-text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.sh-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.sh-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sh-font);
  cursor: pointer;
  transition: var(--sh-transition);
  text-decoration: none;
  border: none;
}
.sh-hero-btn.primary {
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
  color: #000;
  box-shadow: 0 4px 20px var(--sh-primary-glow);
}
.sh-hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--sh-primary-glow);
  text-decoration: none;
}
.sh-hero-btn.secondary {
  background: var(--sh-glass);
  border: 1px solid var(--sh-glass-border);
  color: var(--sh-text);
}
.sh-hero-btn.secondary:hover {
  background: var(--sh-glass-hover);
  border-color: var(--sh-primary);
  text-decoration: none;
}

.sh-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.sh-stat { text-align: center; }
.sh-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--sh-primary);
  text-shadow: 0 0 20px var(--sh-primary-glow);
}
.sh-stat-label {
  font-size: 0.8rem;
  color: var(--sh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== TRUST BAR ===== */
.sh-trust-bar {
  background: var(--sh-surface);
  border-top: 1px solid var(--sh-glass-border);
  border-bottom: 1px solid var(--sh-glass-border);
  padding: 1.5rem 2rem;
}

.sh-trust-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.sh-trust-content img {
  width: 28px;
  height: 28px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.sh-trust-content img:hover { opacity: 1; }

/* ===== SECTION HEADERS ===== */
.sh-section-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.sh-section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.sh-section-header p {
  font-size: 1.05rem;
  color: var(--sh-text-secondary);
  line-height: 1.6;
}

/* ===== TIER PACKAGES ===== */
.sh-tiers-section {
  background: var(--sh-bg);
  padding-bottom: 3rem;
}

.sh-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: start;
}

.sh-tier-card {
  background: var(--sh-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-xl);
  overflow: hidden;
  transition: var(--sh-transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.sh-tier-card:hover {
  border-color: rgba(0, 183, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 183, 255, 0.15);
}
.sh-tier-card.selected {
  border-color: var(--sh-primary);
  box-shadow: 0 0 24px var(--sh-primary-glow);
}
.sh-tier-card.popular {
  border-color: var(--sh-primary);
  box-shadow: 0 0 24px rgba(0, 183, 255, 0.2);
  transform: scale(1.03);
}
.sh-tier-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}
.sh-tier-card.premium {
  border-color: rgba(167, 139, 250, 0.3);
}
.sh-tier-card.premium:hover {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 12px 32px rgba(167, 139, 250, 0.2);
}
.sh-tier-card.premium.selected {
  border-color: var(--sh-accent-purple);
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.3);
}

.sh-tier-badge {
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
  color: #000;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sh-tier-header {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--sh-glass-border);
}
.sh-tier-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sh-text-muted);
  margin-bottom: 0.5rem;
}
.sh-tier-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.sh-tier-price { margin-bottom: 0.75rem; }
.sh-tier-price-from {
  font-size: 0.8rem;
  color: var(--sh-text-muted);
  display: block;
  margin-bottom: 0.25rem;
}
.sh-tier-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 0 0 20px var(--sh-primary-glow);
}
.sh-tier-tagline {
  font-size: 0.85rem;
  color: var(--sh-text-secondary);
  margin: 0;
}

.sh-tier-highlights {
  list-style: none;
  padding: 1.5rem;
  flex: 1;
}
.sh-tier-highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: var(--sh-text-secondary);
}
.sh-tier-highlights li:last-child { border-bottom: none; }
.sh-tier-highlights li img { width: 18px; height: 18px; flex-shrink: 0; }

.sh-tier-action { padding: 1.5rem; padding-top: 0; }
.sh-tier-btn {
  width: 100%;
  padding: 1rem;
  min-height: 48px;
  border: 2px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-md);
  background: var(--sh-glass);
  color: var(--sh-text);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sh-font);
  cursor: pointer;
  transition: var(--sh-transition);
  -webkit-tap-highlight-color: transparent;
}
.sh-tier-btn:hover {
  border-color: var(--sh-primary);
  background: rgba(0, 183, 255, 0.08);
  color: var(--sh-primary);
}
.sh-tier-btn.active {
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
  border-color: var(--sh-primary);
  color: #000;
}
.sh-tier-btn.premium:hover {
  border-color: var(--sh-accent-purple);
  color: var(--sh-accent-purple);
}

/* Build Your Own */
.sh-byo-row {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
}
.sh-byo-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--sh-surface);
  border: 2px dashed var(--sh-glass-border);
  border-radius: var(--sh-radius-lg);
  color: var(--sh-text-secondary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--sh-font);
  cursor: pointer;
  transition: var(--sh-transition);
}
.sh-byo-btn img { width: 22px; height: 22px; }
.sh-byo-btn:hover {
  border-color: var(--sh-primary);
  color: var(--sh-primary);
  background: rgba(0, 183, 255, 0.04);
}
.sh-byo-btn.selected {
  border-color: var(--sh-primary);
  border-style: solid;
  color: var(--sh-primary);
}

/* No Fees Callout */
.sh-no-fees-callout {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: center;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--sh-radius-lg);
  padding: 1.25rem 1.5rem;
}
.sh-no-fees-callout strong {
  color: var(--sh-success);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}
.sh-no-fees-callout p {
  font-size: 0.85rem;
  color: var(--sh-text-secondary);
  margin: 0;
}

/* ===== CONFIGURATOR ===== */
.sh-configurator {
  background: var(--sh-bg);
  padding-bottom: 4rem;
}

.sh-config-layout {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto 1fr;
  gap: 2rem;
}

/* Category Tabs */
.sh-category-nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sh-category-nav::-webkit-scrollbar { display: none; }

.sh-cat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--sh-glass);
  border: 1px solid var(--sh-glass-border);
  border-radius: 10px;
  color: var(--sh-text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--sh-font);
  cursor: pointer;
  transition: var(--sh-transition);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.sh-cat-tab img { width: 18px; height: 18px; }
.sh-cat-tab:hover {
  background: var(--sh-glass-hover);
  border-color: rgba(0, 183, 255, 0.3);
  color: var(--sh-text);
}
.sh-cat-tab.active {
  background: rgba(0, 183, 255, 0.12);
  border-color: var(--sh-primary);
  color: var(--sh-primary);
  box-shadow: 0 0 12px rgba(0, 183, 255, 0.15);
}

/* Product Grid */
.sh-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  align-content: start;
}

/* Product Card */
.sh-product-card {
  background: var(--sh-glass);
  border: 1px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-lg);
  overflow: hidden;
  transition: var(--sh-transition);
  display: flex;
  flex-direction: column;
}
.sh-product-card:hover {
  border-color: rgba(0, 183, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 183, 255, 0.08);
}
.sh-product-card.included {
  border-color: rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.04), rgba(34, 197, 94, 0.02));
}
.sh-product-card.included:hover {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
}
.sh-product-card.in-cart {
  border-color: rgba(0, 183, 255, 0.3);
  background: rgba(0, 183, 255, 0.02);
}
.sh-product-card.in-cart:hover {
  border-color: rgba(0, 183, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 183, 255, 0.12);
}

.sh-product-top {
  padding: 1.25rem 1.25rem 0.75rem;
}

.sh-product-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.sh-product-brand-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.sh-product-brand-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sh-product-included-badge {
  margin-left: auto;
  background: rgba(34, 197, 94, 0.15);
  color: var(--sh-success);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sh-product-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--sh-surface);
  border: 1px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.sh-product-icon {
  width: 28px;
  height: 28px;
}

.sh-product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}
.sh-product-desc {
  font-size: 0.85rem;
  color: var(--sh-text-secondary);
  line-height: 1.45;
}

.sh-product-bottom {
  padding: 0.75rem 1.25rem 1.25rem;
  margin-top: auto;
}

.sh-product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.sh-product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sh-primary);
  text-shadow: 0 0 12px var(--sh-primary-glow);
}

/* Quantity Controls */
.sh-qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--sh-surface);
  border: 1px solid var(--sh-glass-border);
  border-radius: 10px;
  overflow: hidden;
}
.sh-qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--sh-primary);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--sh-transition);
  font-family: var(--sh-font);
  -webkit-tap-highlight-color: transparent;
}
.sh-qty-btn:hover:not(:disabled) {
  background: rgba(0, 183, 255, 0.12);
}
.sh-qty-btn:disabled {
  color: var(--sh-text-muted);
  cursor: not-allowed;
  opacity: 0.4;
}
.sh-qty-btn:active:not(:disabled) { transform: scale(0.9); }
.sh-qty-value {
  width: 32px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sh-text);
}

/* Details Toggle */
.sh-details-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--sh-primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sh-font);
  padding: 0;
  transition: var(--sh-transition);
}
.sh-details-toggle:hover { color: #33c5ff; }
.sh-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.sh-chevron.open { transform: rotate(180deg); }

.sh-product-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sh-product-details.open {
  max-height: 200px;
  margin-top: 0.75rem;
}
.sh-product-details p {
  font-size: 0.85rem;
  color: var(--sh-text-secondary);
  line-height: 1.6;
  padding: 0.75rem;
  background: var(--sh-surface);
  border-radius: var(--sh-radius-sm);
  border: 1px solid var(--sh-glass-border);
}

/* Included State Indicator */
.sh-included-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

/* "Included" green badge */
.sh-included-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  white-space: nowrap;
}
.sh-included-badge img {
  width: 18px;
  height: 18px;
}
.sh-included-badge span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sh-success);
}

/* Tier pill badge on included products — color driven by --tier-color CSS var */
.sh-included-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: color-mix(in srgb, var(--tier-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tier-color) 30%, transparent);
  border-radius: 20px;
  white-space: nowrap;
}
.sh-included-tier-pill img {
  width: 14px;
  height: 14px;
}
.sh-included-tier-pill span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--tier-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Add More Row (included products) */
.sh-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.sh-addon-label {
  font-size: 0.8rem;
  color: var(--sh-text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.sh-addon-total {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sh-primary);
  text-align: right;
  margin-bottom: 0.75rem;
}
.sh-included-maxed {
  font-size: 0.8rem;
  color: var(--sh-text-muted);
  text-align: center;
  padding: 0.375rem 0;
  margin-bottom: 0.5rem;
  font-style: italic;
}

/* Quantity Controls Variants */
.sh-qty-controls.in-cart {
  border-color: rgba(0, 183, 255, 0.3);
  background: rgba(0, 183, 255, 0.06);
}
.sh-qty-controls.compact {
  transform: scale(0.9);
  transform-origin: right center;
}

/* Line Total */
.sh-line-total {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sh-primary);
  text-align: right;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 12px var(--sh-primary-glow);
}
.sh-price-unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sh-text-muted);
  margin-left: 1px;
}

/* Add Button (Apple capsule style) */
.sh-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(0, 183, 255, 0.12);
  border: 1px solid rgba(0, 183, 255, 0.3);
  border-radius: 20px;
  color: var(--sh-primary);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--sh-font);
  cursor: pointer;
  transition: var(--sh-transition);
  -webkit-tap-highlight-color: transparent;
}
.sh-add-btn img {
  width: 16px;
  height: 16px;
}
.sh-add-btn:hover {
  background: rgba(0, 183, 255, 0.2);
  border-color: var(--sh-primary);
  box-shadow: 0 0 12px rgba(0, 183, 255, 0.15);
}
.sh-add-btn:active {
  transform: scale(0.95);
}

/* ===== CART SIDEBAR ===== */
.sh-cart-sidebar {
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 88px);
  background: var(--sh-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sh-cart-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--sh-glass-border);
}
.sh-cart-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
}
.sh-cart-header h3 img { width: 20px; height: 20px; }

.sh-cart-empty {
  padding: 2rem 1.25rem;
  text-align: center;
}
.sh-cart-empty img { width: 32px; height: 32px; margin-bottom: 0.75rem; opacity: 0.4; }
.sh-cart-empty p { font-size: 0.85rem; color: var(--sh-text-muted); }

.sh-cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--sh-glass-border) transparent;
}

/* Cart Tier Badge */
.sh-cart-tier {
  background: rgba(0, 183, 255, 0.08);
  border: 1px solid rgba(0, 183, 255, 0.2);
  border-radius: var(--sh-radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}
.sh-cart-tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sh-cart-tier-header strong {
  font-size: 0.9rem;
  color: var(--sh-primary);
}
.sh-cart-tier-header span {
  font-size: 0.85rem;
  color: var(--sh-text-secondary);
}
.sh-cart-tier-change {
  background: none;
  border: none;
  color: var(--sh-text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--sh-font);
  margin-top: 0.5rem;
  text-decoration: underline;
}
.sh-cart-tier-change:hover { color: var(--sh-primary); }

.sh-cart-addons-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sh-text-muted);
  margin-bottom: 0.75rem;
}

.sh-cart-addon-hint {
  font-size: 0.8rem;
  color: var(--sh-text-muted);
  text-align: center;
  padding: 0.5rem 0;
}

.sh-cart-items { display: flex; flex-direction: column; gap: 0.5rem; }

.sh-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sh-cart-item:last-child { border-bottom: none; }

.sh-cart-item-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}
.sh-cart-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sh-cart-item-qty {
  font-size: 0.75rem;
  color: var(--sh-text-muted);
  flex-shrink: 0;
}
.sh-cart-item-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.sh-cart-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sh-primary);
}
.sh-cart-remove {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border: none;
  border-radius: 6px;
  color: var(--sh-danger);
  font-size: 14px;
  cursor: pointer;
  transition: var(--sh-transition);
}
.sh-cart-remove:hover { background: rgba(255, 107, 53, 0.2); }

/* Cart Footer */
.sh-cart-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--sh-glass-border);
  background: var(--sh-surface);
}
.sh-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.sh-cart-total-row span:first-child {
  font-size: 0.85rem;
  color: var(--sh-text-secondary);
}
.sh-cart-total-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sh-primary);
  text-shadow: 0 0 16px var(--sh-primary-glow);
}
.sh-cart-disclaimer {
  font-size: 0.7rem;
  color: var(--sh-text-muted);
  margin-bottom: 1rem;
}
.sh-quote-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
  border: none;
  border-radius: var(--sh-radius-md);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sh-font);
  cursor: pointer;
  transition: var(--sh-transition);
  box-shadow: 0 4px 16px var(--sh-primary-glow);
}
.sh-quote-btn img { width: 18px; height: 18px; }
.sh-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--sh-primary-glow);
}
.sh-quote-btn:active { transform: scale(0.98); }

/* Mobile Cart FAB */
.sh-cart-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 20px var(--sh-primary-glow);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: var(--sh-transition);
}
.sh-cart-fab img { width: 24px; height: 24px; }
.sh-cart-fab:active { transform: scale(0.92); }
.sh-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--sh-danger);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}

/* ===== QUOTE MODAL ===== */
.sh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}
.sh-modal-overlay.open { display: flex; }

.sh-modal {
  background: rgba(20, 20, 30, 0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-xl);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.sh-modal h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.sh-modal-subtitle {
  font-size: 0.9rem;
  color: var(--sh-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.sh-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sh-glass);
  border: 1px solid var(--sh-glass-border);
  border-radius: 50%;
  color: var(--sh-text);
  font-size: 16px;
  cursor: pointer;
  transition: var(--sh-transition);
}
.sh-modal-close:hover { background: var(--sh-glass-hover); }

.sh-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.sh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sh-form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.sh-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sh-text-secondary);
}
.sh-form-group input,
.sh-form-group textarea {
  background: var(--sh-surface);
  border: 1px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-sm);
  padding: 12px 14px;
  color: var(--sh-text);
  font-size: 16px;
  font-family: var(--sh-font);
  transition: var(--sh-transition);
  outline: none;
}
.sh-form-group input:focus,
.sh-form-group textarea:focus {
  border-color: var(--sh-primary);
  box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.15);
}
.sh-form-group textarea { resize: vertical; min-height: 80px; }

.sh-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
  border: none;
  border-radius: var(--sh-radius-md);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sh-font);
  cursor: pointer;
  transition: var(--sh-transition);
  margin-top: 0.5rem;
}
.sh-submit-btn img { width: 18px; height: 18px; }
.sh-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--sh-primary-glow); }
.sh-submit-btn:active { transform: scale(0.98); }

.sh-modal-legal {
  font-size: 0.7rem;
  color: var(--sh-text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ===== SUCCESS CONFIRMATION MODAL ===== */
.sh-success-modal {
  text-align: center;
  animation: shSuccessAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  max-width: 460px;
}

@keyframes shSuccessAppear {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.sh-success-icon {
  margin-bottom: 1rem;
}
.sh-success-icon img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5));
  animation: shCheckPulse 2s ease-in-out infinite;
}

@keyframes shCheckPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5)); }
  50% { filter: drop-shadow(0 0 32px rgba(34, 197, 94, 0.7)); }
}

.sh-success-modal h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.sh-success-message {
  font-size: 0.95rem;
  color: var(--sh-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sh-success-summary {
  background: var(--sh-glass);
  border: 1px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.sh-success-summary-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sh-success-summary-header img {
  width: 18px;
  height: 18px;
}
.sh-success-summary-header span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sh-text);
}

.sh-success-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0;
  font-size: 0.8rem;
}
.sh-success-summary-row .label {
  color: var(--sh-text-secondary);
}
.sh-success-summary-row .value {
  font-weight: 600;
  color: var(--sh-text);
}

.sh-success-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-success-summary-total .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sh-text);
}
.sh-success-summary-total .value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sh-primary);
  text-shadow: 0 0 12px var(--sh-primary-glow);
}

.sh-success-contact {
  background: rgba(0, 183, 255, 0.04);
  border: 1px solid rgba(0, 183, 255, 0.12);
  border-radius: var(--sh-radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.sh-success-contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sh-text-secondary);
  margin-bottom: 0.75rem;
}

.sh-success-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sh-success-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: var(--sh-glass);
  border: 1px solid var(--sh-glass-border);
  border-radius: var(--sh-radius-sm);
  color: var(--sh-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--sh-transition);
}
.sh-success-contact-item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sh-success-contact-item:hover {
  background: rgba(0, 183, 255, 0.08);
  border-color: rgba(0, 183, 255, 0.3);
  transform: translateY(-1px);
}

.sh-success-done-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-secondary));
  border: none;
  border-radius: var(--sh-radius-md);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--sh-font);
  cursor: pointer;
  transition: var(--sh-transition);
  box-shadow: 0 4px 16px var(--sh-primary-glow);
}
.sh-success-done-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--sh-primary-glow);
}
.sh-success-done-btn:active { transform: scale(0.98); }

/* ===== FOOTER ===== */
.sh-footer {
  background: var(--sh-surface);
  border-top: 1px solid var(--sh-glass-border);
  padding: 2.5rem 2rem;
}
.sh-footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.sh-footer-logo img { height: 40px; }
.sh-footer-info p {
  font-size: 0.8rem;
  color: var(--sh-text-muted);
}
.sh-footer-info a { color: var(--sh-primary); }

/* ===================================================================
   RESPONSIVE — TABLET (1024px)
   =================================================================== */
@media (max-width: 1024px) {
  .nav-links-container { display: none; }
  .hamburger-btn { display: flex; }

  .sh-tier-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .sh-tier-card.popular { transform: none; order: -1; }
  .sh-tier-card.popular:hover { transform: translateY(-4px); }

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

  .sh-cart-sidebar {
    position: fixed;
    top: 0; right: -360px;
    width: 340px;
    height: 100%;
    border-radius: 0;
    border-left: 1px solid var(--sh-glass-border);
    z-index: 500;
    transition: right 0.3s ease;
    max-height: 100vh;
    background: rgba(10, 10, 20, 0.97);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
  }
  .sh-cart-sidebar.mobile-open { right: 0; }

  .sh-cart-fab { display: flex; }
}

/* ===================================================================
   RESPONSIVE — TABLET SMALL (768px)
   =================================================================== */
@media (max-width: 768px) {
  .sh-hero-title { font-size: 2.75rem; }
  .sh-hero-subtitle { font-size: 1rem; }
  .sh-hero-actions { flex-direction: column; align-items: center; }
  .sh-hero-btn { width: 100%; max-width: 300px; justify-content: center; }
  .sh-hero-stats { gap: 2rem; }
  .sh-stat-value { font-size: 1.5rem; }

  .sh-trust-content { gap: 1.5rem; }
  .sh-trust-content img { width: 22px; height: 22px; }

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

  .sh-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }

  .sh-no-fees-callout { margin-left: 2rem; margin-right: 2rem; }
}

/* ===================================================================
   RESPONSIVE — PHONE (430px)
   =================================================================== */
@media (max-width: 430px) {
  .top-nav { padding: 0 1rem; }

  .sh-hero-content { padding: 100px 16px 40px; }
  .sh-hero-title { font-size: 2.25rem; }
  .sh-hero-subtitle { font-size: 0.9rem; }
  .sh-hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  .sh-hero-stats { gap: 1.5rem; }
  .sh-stat-value { font-size: 1.25rem; }
  .sh-stat-label { font-size: 0.65rem; }

  .sh-trust-content { gap: 1rem; }
  .sh-trust-content img { width: 20px; height: 20px; }

  .sh-section-header { padding: 3rem 1rem 1.5rem; }
  .sh-section-header h2 { font-size: 1.75rem; }
  .sh-section-header p { font-size: 0.9rem; }

  .sh-tier-grid { padding: 0 1rem; }
  .sh-tier-name { font-size: 1.25rem; }
  .sh-tier-price-amount { font-size: 2rem; }
  .sh-tier-highlights li { font-size: 0.8rem; }

  .sh-byo-row { padding: 0 1rem; }
  .sh-no-fees-callout { margin-left: 1rem; margin-right: 1rem; padding: 1rem; }

  .sh-config-layout { padding: 0 1rem; gap: 1rem; }

  .sh-cat-tab { padding: 8px 12px; font-size: 0.8rem; }
  .sh-cat-tab span { display: none; }
  .sh-cat-tab img { width: 20px; height: 20px; }

  .sh-product-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .sh-product-top { padding: 1rem 1rem 0.5rem; }
  .sh-product-bottom { padding: 0.5rem 1rem 1rem; }
  .sh-product-name { font-size: 1rem; }
  .sh-product-price { font-size: 1.1rem; }

  .sh-cart-sidebar { width: 100%; right: -100%; }

  .sh-cart-fab { bottom: 16px; right: 16px; width: 52px; height: 52px; }

  .sh-modal { padding: 1.5rem; border-radius: var(--sh-radius-lg); }
  .sh-modal h2 { font-size: 1.5rem; }
  .sh-form-row { grid-template-columns: 1fr; }

  .sh-footer { padding: 2rem 1rem; }
}

/* ===================================================================
   RESPONSIVE — SMALL PHONE (375px)
   =================================================================== */
@media (max-width: 375px) {
  .sh-hero-title { font-size: 1.9rem; }
  .sh-hero-subtitle { font-size: 0.85rem; }
  .sh-hero-stats { gap: 1rem; }
  .sh-stat-value { font-size: 1.1rem; }

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

  .sh-tier-price-amount { font-size: 1.75rem; }

  .sh-cat-tab { padding: 8px 10px; }
}

/* ===================================================================
   TOUCH DEVICES
   =================================================================== */
@media (hover: none) and (pointer: coarse) {
  .sh-product-card:hover {
    border-color: var(--sh-glass-border);
    box-shadow: none;
  }
  .sh-product-card:active {
    transform: scale(0.98);
    border-color: rgba(0, 183, 255, 0.3);
  }

  .sh-tier-card:hover {
    transform: none;
    box-shadow: none;
  }
  .sh-tier-card:active { transform: scale(0.98); }
  .sh-tier-card.popular:hover { transform: none; }
  .sh-tier-card.popular:active { transform: scale(0.98); }

  .sh-hero-btn:hover { transform: none; box-shadow: none; }
  .sh-hero-btn:active { transform: scale(0.97); }

  .sh-quote-btn:hover { transform: none; }
  .sh-quote-btn:active { transform: scale(0.97); }

  .sh-submit-btn:hover { transform: none; }
  .sh-submit-btn:active { transform: scale(0.97); }

  .sh-success-done-btn:hover { transform: none; box-shadow: 0 4px 16px var(--sh-primary-glow); }
  .sh-success-done-btn:active { transform: scale(0.97); }

  .sh-success-contact-item:hover { transform: none; }
  .sh-success-contact-item:active { transform: scale(0.97); }

  .sh-qty-btn { min-width: 44px; min-height: 44px; }

  .sh-add-btn { min-height: 44px; padding: 10px 20px; }
  .sh-add-btn:hover { background: rgba(0, 183, 255, 0.12); border-color: rgba(0, 183, 255, 0.3); box-shadow: none; }
  .sh-add-btn:active { transform: scale(0.95); }

  .sh-product-card.included:hover {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: none;
  }
  .sh-product-card.included:active {
    transform: scale(0.98);
    border-color: rgba(34, 197, 94, 0.5);
  }
  .sh-product-card.in-cart:hover {
    border-color: rgba(0, 183, 255, 0.3);
    box-shadow: none;
  }
  .sh-product-card.in-cart:active {
    transform: scale(0.98);
    border-color: rgba(0, 183, 255, 0.5);
  }
}
