﻿/* ============================================
   URBAN BRAND - MAIN STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Colors */
  --color-primary: #0F172A;
  --color-secondary: #3B82F6;
  --color-action: #10B981;
  --color-highlight: #F4B400;
  --color-danger: #EF4444;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-muted: #475569;
  --color-border: rgba(15, 23, 42, 0.12);
  
  /* Typography */
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-secondary);
  background: var(--color-bg);
  line-height: 1.6;
  text-align: left;
}

p {
  max-width: 700px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

/* UTILITIES */
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-action);
  margin-bottom: var(--spacing-md);
}

.section { padding: 120px 0; }
.section-mini { padding: 40px 0; }
.section-alt { background: #F5F7FA; }
.section-dark { background: var(--color-primary); color: #fff; }

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(0px);
  transition: backdrop-filter var(--transition-normal);
}

.navbar.scrolled {
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.top-bar {
  background: var(--color-primary);
  color: #F8FAFC;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 32px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.top-bar-inner span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 250, 252, 0.9);
}

.top-bar-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 1100;
}

.product-utility-bar {
  background: #08172C;
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-utility-bar .top-bar-inner {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 32px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.utility-pill--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.with-top-bar .navbar {
  top: 50px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.product-media-panel {
  display: grid;
  gap: 24px;
}

.product-media-main {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #111827;
  min-height: 520px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.media-frame:hover img {
  transform: scale(1.03);
}

.media-frame {
  position: relative;
}

.media-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(15, 23, 42, 0.72);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.thumb-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--color-action);
}

.thumb-item.thumb-video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.72));
  color: #fff;
}

.thumb-item.thumb-video i {
  font-size: 1.1rem;
}

.thumb-item.thumb-video span {
  margin-left: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-conversion-panel {
  background: var(--color-surface);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--color-border);
}

.product-conversion-panel h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.03;
  margin: 0 0 22px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: #ECFDF5;
  color: #0F766E;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.price-block {
  background: #000F1C;
  color: #FFFFFF;
  border-radius: 28px;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.price-label {
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.price-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.price-note {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.pricing-tiers div {
  background: #F8FAFC;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--color-border);
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.variant-select {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.variant-select span {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.variant-select select {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  font-size: 1rem;
}

.cta-row {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.product-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-meta-grid strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.section-product-summary .grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 0.8fr;
}

.spec-card {
  background: var(--color-surface);
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.spec-card h3 {
  margin-bottom: 22px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--color-secondary);
}

.spec-table th,
.spec-table td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  text-align: left;
}

.spec-table th {
  width: 40%;
  color: var(--color-muted);
  font-weight: 600;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--color-surface);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.review-card strong {
  display: block;
  margin-top: 18px;
  color: var(--color-secondary);
}

.product-urgency {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
}

.product-urgency h3,
.product-urgency p,
.product-urgency .urgency-row {
  color: #fff;
}

.urgency-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.urgency-row .tag {
  background: #F4B400;
  color: #111827;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mobile-sticky-cta {
  display: none;
}

.product-card {
  background: var(--color-surface);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.product-card h3 {
  margin-bottom: 14px;
}

.product-card p {
  color: var(--color-muted);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  padding: 0 20px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.nav-links {
  display: none;
}

.nav-menu a,
.nav-actions a,
.nav-actions button {
  font-weight: 500;
  color: var(--color-secondary);
}

.nav-menu a:hover,
.nav-actions a:hover,
.nav-actions button:hover {
  color: var(--color-action);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-secondary);
  cursor: pointer;
}

.nav-search:hover {
  border-color: var(--color-action);
  color: var(--color-action);
}

/* DROPDOWNS */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.dropdown-trigger:hover,
.nav-dropdown:hover .dropdown-trigger {
  color: var(--color-action);
}

.dropdown-trigger i {
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-trigger i {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1000;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: var(--color-muted);
  font-weight: 500;
}

.dropdown-content a:hover {
  background: rgba(16, 185, 129, 0.05);
  color: var(--color-action);
}

@media (max-width: 980px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 1px solid var(--color-border);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-actions {
    display: none; /* Hide actions in top bar on mobile if needed, or keep them */
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    pointer-events: auto;
  }

  .dropdown-content.active {
    display: block;
  }
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-brand span { 
  color: var(--color-action);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-primary);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
  font-family: var(--font-body);
}

.btn-action {
  background: var(--color-action);
  color: #FFF;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.22);
}

.btn-action:hover {
  background: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: #FFF;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-action);
  border: 2px solid var(--color-action);
}

.btn-outline:hover {
  background: rgba(37, 211, 102, 0.1);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #112D4A 40%, var(--color-secondary) 100%);
  color: var(--color-surface);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(37, 211, 102, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(244, 180, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-text {
  max-width: 700px;
  font-size: 1.1rem;
  color: #CBD5E1;
  margin-bottom: 32px;
  line-height: 1.6;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-panel {
  display: grid;
  gap: 20px;
}

.panel-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

.panel-label {
  display: inline-flex;
  padding: 9px 16px;
  background: rgba(37, 211, 102, 0.14);
  color: var(--color-action);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.panel-card h2 {
  font-size: 1.65rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.panel-card p {
  color: #CBD5E1;
  line-height: 1.75;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.panel-stats div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 24px;
}

.panel-stats strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
}

.panel-stats span {
  color: #CBD5E1;
}

/* HERO CAROUSEL */
.hero-carousel {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: var(--color-action);
  width: 28px;
  border-radius: 999px;
}

/* TRUST BAR */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 40px 0;
}

.trust-item {
  text-align: center;
}

.trust-stat {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-action);
  margin-bottom: 8px;
}

.trust-label {
  color: var(--color-muted);
}

/* CATEGORY MENU */
.category-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.category-btn {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-secondary);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
  background: var(--color-action);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.22);
}

/* GRIDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.section-description {
  max-width: 740px;
  color: var(--color-muted);
}

/* CARDS */
.card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(37, 211, 102, 0.12);
  color: var(--color-action);
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.card p {
  color: var(--color-muted);
  line-height: 1.75;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}

.feature-list {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-muted);
}

.feature-list i {
  color: var(--color-action);
  font-size: 1.1rem;
}

/* MINI CARDS */
.mini-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--color-border);
}

.mini-card h3 { 
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.mini-card p { 
  color: var(--color-muted);
  line-height: 1.75;
}

/* PRODUCT CARDS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.product-card {
  background: var(--color-surface);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(15, 23, 42, 0.12);
}

.product-gallery {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: linear-gradient(135deg, #08172C 0%, #112D4A 100%);
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  height: 100%;
}

.gallery-slide {
  min-width: 100%;
  aspect-ratio: 16 / 10;
  scroll-snap-align: center;
  background-size: cover;
  background-position: center;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: background var(--transition-fast);
  z-index: 10;
}

.gallery-nav:hover { 
  background: rgba(0,0,0,0.55);
}

.gallery-nav.prev { left: 18px; }
.gallery-nav.next { right: 18px; }

.product-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-tag {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--color-highlight);
  color: var(--color-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1.45rem;
  font-family: var(--font-heading);
}

.product-card p {
  color: var(--color-muted);
  line-height: 1.8;
}

.product-pricing {
  display: grid;
  gap: 12px;
}

.product-pricing div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.product-pricing span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.product-pricing strong {
  color: var(--color-action);
  font-weight: 700;
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.portfolio-item {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--color-border);
}

.portfolio-visual {
  height: 220px;
  border-radius: 20px;
  background: linear-gradient(135deg, #08172C 0%, #112D4A 100%);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.2);
  margin-bottom: 24px;
  font-size: 3rem;
}

.portfolio-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-highlight {
  background: var(--color-highlight);
  color: var(--color-secondary);
}

/* CALCULATOR */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.calculator-panel {
  background: var(--color-surface);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--color-border);
}

.calculator-panel label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--color-muted);
  font-weight: 600;
}

.calculator-panel select,
.calculator-panel input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color var(--transition-normal);
}

.calculator-panel select:focus,
.calculator-panel input:focus {
  outline: none;
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.calculator-results {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.calculator-results div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8FAFC;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.calculator-summary {
  background: var(--color-surface);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--color-border);
}

.calculator-summary h3 {
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.calculator-summary ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.calculator-summary li {
  display: flex;
  gap: 12px;
}

.calculator-summary li::before {
  content: 'âœ“';
  color: var(--color-action);
  font-weight: 700;
}

/* FOOTER */
.footer {
  background: #08172C;
  color: #CBD5E1;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-products-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  grid-column: span 2;
}

@media (max-width: 980px) {
  .footer-products-wrapper {
    grid-column: span 1;
  }
}

.footer h4 {
  color: #FFFFFF;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.footer p {
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #A0AEC0;
}

.footer-links a:hover {
  color: var(--color-action);
}

.footer-bottom {
  text-align: center;
  color: #94A3B8;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 28px;
  right: 28px;
  background: var(--color-action);
  color: #FFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.24);
  z-index: 1000;
  transition: transform var(--transition-normal);
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(37, 211, 102, 0.32);
}

/* MISC */
.catalog-note {
  margin-top: 28px;
  background: rgba(37, 211, 102, 0.08);
  border-left: 4px solid var(--color-action);
  padding: 22px 24px;
  border-radius: 16px;
  color: var(--color-secondary);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.badge-row span {
  background: #F4F7FA;
  color: #1F2937;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .section-header,
  .feature-grid,
  .calculator-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .product-gallery { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    padding: 24px 20px;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .product-grid,
  .portfolio-grid { grid-template-columns: 1fr; }
  .calculator-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
  .hero { padding-top: 80px; }
}

@media (max-width: 520px) {
  .hero-copy h1 { font-size: 2.5rem; }
  .nav-inner { height: auto; padding: 14px 20px; }
  .container { padding: 0 16px; }
  .section-header { flex-direction: column; gap: 24px; }
}
/* SEARCH UI */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 12px;
  color: var(--color-muted);
}
.search-input {
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  width: 250px;
  transition: all var(--transition-fast);
}
.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}
.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 320px;
  background: var(--color-surface);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--color-border);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  max-height: 400px;
  overflow-y: auto;
}
.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}
.search-item:last-child {
  border-bottom: none;
}
.search-item:hover, .search-item:focus {
  background: rgba(16, 185, 129, 0.05);
  outline: none;
}
.search-item-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}
.search-item-content {
  flex: 1;
}
.search-item-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-badge {
  background: var(--color-action);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}
.search-item-desc {
  color: var(--color-muted);
  font-size: 0.8rem;
  margin-top: 4px;
}
.no-results {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 20px;
}
.search-loading {
  justify-content: center;
  padding: 24px;
  color: var(--color-muted);
}

/* MEGA MENU */
.mega-dropdown-trigger {
  position: static !important;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-surface);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1000;
  pointer-events: none;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.mega-col h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-col h4 i {
  color: var(--color-action);
}
.mega-col a {
  display: block;
  color: var(--color-secondary);
  margin-bottom: 12px;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.mega-col a:hover {
  color: var(--color-action);
  padding-left: 4px;
}
.mega-featured {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}
.mega-featured img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.mega-featured h5 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.mega-featured p {
  color: var(--color-action);
  font-weight: 700;
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .mega-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    pointer-events: auto;
  }
  .mega-menu.active {
    display: block;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    background: #f8fafc;
  }
  .mega-col {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
  }
  .search-input {
    width: 100%;
  }
  .search-dropdown {
    width: 100%;
  }
}
/* FIX MEGA MENU HOVER GAP */
.nav-item.mega-dropdown-trigger {
  padding-top: 20px;
  padding-bottom: 20px;
}
.nav-menu {
  align-items: stretch; /* Make nav-items stretch full height so hover area is contiguous */
}
.nav-item.mega-dropdown-trigger > .dropdown-trigger {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-dropdown {
  padding-top: 20px;
  padding-bottom: 20px;
}
.nav-dropdown > .dropdown-trigger {
  display: flex;
  align-items: center;
  height: 100%;
}

/* =========================================
   USER REFACTOR OVERRIDES
   ========================================= */

/* 1. Global Layout & Spacing */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px !important;
}

.section {
  padding: 80px 0 !important;
}

/* 2. Top Bar Fix */
.top-bar {
  background: #0f172a !important;
  color: white !important;
  font-size: 0.85rem !important;
}

.top-bar-inner {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 32px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.top-bar-inner span {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* 3. Navbar Cleanup */
.nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
  padding: 16px 0 !important;
}

.nav-menu {
  display: flex !important;
  gap: 24px !important;
  align-items: center !important;
}

.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* HERO REDESIGN */
.hero-new {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 120px 0;
  text-align: center;
  color: white;
}
.hero-new-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hero-new-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  font-family: var(--font-heading);
}
.hero-new-desc {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-new-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.btn-transparent {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}
.btn-transparent:hover {
  background: rgba(255,255,255,0.2);
}
.hero-new-badges {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  flex-wrap: wrap;
}
.hero-new-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero-new-badge i {
  color: var(--color-action);
}

/* SMART SEARCH OVERRIDES */
.search-item {
  padding: 12px !important;
  display: flex !important;
  flex-direction: row !important; /* Keep icon/image on left, text on right */
  border-bottom: 1px solid #eee !important;
  align-items: center;
  gap: 12px;
}
.search-item-content {
  display: flex;
  flex-direction: column;
}
.search-item-desc {
  color: #666 !important;
  font-size: 12px !important;
  margin-top: 2px;
}
.search-item-title {
  font-weight: 600;
  color: var(--color-primary);
}

/* ULTRA ROBUST MEGA MENU GAP FIX */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -40px; /* Covers any gap between navbar and mega menu */
  left: 0;
  width: 100%;
  height: 40px;
  background: transparent;
  z-index: -1;
}

.nav-dropdown > .dropdown-content::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: transparent;
  z-index: -1;
}

/* USER EXPLICIT OVERRIDES FOR FINAL REFINEMENT */
.top-bar-inner {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 32px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.top-bar-inner span {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.9rem !important;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.section {
    padding: 80px 0 !important;
}

.product-card {
    border-radius: 16px !important;
    transition: 0.3s !important;
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.navbar {
    position: sticky !important;
    top: 0 !important;
    background: white !important;
    z-index: 1000 !important;
    border-bottom: 1px solid #eee !important;
}

/* SEARCH BUTTON FIX */
.search-btn {
    background: var(--color-action);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 8px;
    font-weight: 600;
}
.search-btn:hover {
    background: #eab308;
}
.search-container {
    display: flex;
    align-items: center;
}

