:root {
  --primary: #1e2329;
  --primary-dark: #14171c;
  --primary-light: #2c323b;
  --accent: #f2c014;
  --accent-light: #fcd33f;
  --accent-dark: #d4a50b;
  --accent-text: #1a1a1a;
  --dark: #121518;
  --dark-2: #1e2329;
  --dark-surface: #262c35;
  --gray: #717d8a;
  --light-gray: #f4f6f9;
  --light-gray-2: #e9ecf2;
  --border: #e1e6ed;
  --border-dark: #323b47;
  --white: #ffffff;
  --danger: #d92525;
  --success: #10b981;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 35px rgba(0,0,0,0.15);
  --radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(20, 24, 30, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  border-bottom: 2px solid var(--accent);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 114px;
  padding: 14px 0;
  transition: min-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Compact Stare Scroll */
.header.scrolled {
  background: rgba(18, 22, 28, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.header.scrolled .header-inner {
  min-height: 74px;
  padding: 6px 0;
}

.brand,
.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
  transition: transform 0.2s ease, gap 0.3s ease;
}

.brand:hover,
.logo:hover {
  transform: translateY(-1px);
}

.mark {
  width: 60px;
  height: 76px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease;
}

.brand:hover .mark,
.logo:hover .mark {
  transform: scale(1.04);
}

.header.scrolled .mark {
  width: 44px;
  height: 55px;
}

.mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text,
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  transition: gap 0.3s ease;
}

.header.scrolled .brand-text,
.header.scrolled .logo-text {
  gap: 2px;
}

.brand-text .name,
.logo-main-title {
  font-family: Arial, Helvetica, 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
  transition: font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .brand-text .name,
.header.scrolled .logo-main-title {
  font-size: 17px;
  letter-spacing: 0.1em;
}

.brand-text .tagline,
.logo-tagline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bfc9cd;
  white-space: nowrap;
  line-height: 1.2;
  transition: font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .brand-text .tagline,
.header.scrolled .logo-tagline {
  font-size: 10px;
  letter-spacing: 0.14em;
}

@media (max-width: 800px) {
  .hero {
    min-height: calc(100vh - 96px);
    min-height: calc(100dvh - 96px);
  }
  .header-inner {
    min-height: 94px;
    padding: 10px 0;
  }
  .header.scrolled .header-inner {
    min-height: 70px;
    padding: 6px 0;
  }
  .mark {
    width: 48px;
    height: 60px;
  }
  .header.scrolled .mark {
    width: 38px;
    height: 48px;
  }
  .brand-text .name,
  .logo-main-title {
    font-size: 16px;
    letter-spacing: 0.08em;
  }
  .brand-text .tagline,
  .logo-tagline {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 86px;
  }
  .mark {
    width: 40px;
    height: 52px;
  }
  .header.scrolled .mark {
    width: 34px;
    height: 42px;
  }
  .brand,
  .logo {
    gap: 10px;
  }
  .brand-text .name,
  .logo-main-title {
    font-size: 14px;
    letter-spacing: 0.06em;
  }
  .brand-text .tagline,
  .logo-tagline {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.nav-link.active {
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
}

.cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: 0;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 11px;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--accent);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-lg { padding: 14px 34px; font-size: 15px; }
.btn-block { display: block; width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 14px rgba(242, 192, 20, 0.25);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 192, 20, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242, 192, 20, 0.35);
}
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== HERO ===== */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 90px 0;
  /* Hero-ul umple ecranul sub antet (116px; 96px pe mobil), indiferent de inaltimea display-ului */
  min-height: calc(100vh - 116px);
  min-height: calc(100dvh - 116px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(242, 192, 20, 0.2);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(18, 21, 24, 0.82) 0%, rgba(18, 21, 24, 0.55) 55%, rgba(18, 21, 24, 0.35) 100%);
  pointer-events: none;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
  border: 2px solid rgba(242, 192, 20, 0.5);
  animation: floatShape 12s ease-in-out infinite;
}

.hero-bg-shapes .shape-1 { width: 260px; height: 260px; top: -60px; left: -80px; border-width: 34px; }
.hero-bg-shapes .shape-2 { width: 160px; height: 160px; bottom: 30px; right: -40px; border-width: 22px; animation-delay: -4s; }
.hero-bg-shapes .shape-3 { width: 90px; height: 90px; top: 40px; right: 34%; border-width: 12px; animation-delay: -8s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(8deg); }
}

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

.hero-eyebrow {
  display: inline-block;
  background: rgba(242, 192, 20, 0.14);
  border: 1px solid rgba(242, 192, 20, 0.45);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
}

.hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 34px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.btn-light {
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
}

.btn-light:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 192, 20, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 44px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 30px;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.stat-label {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Showcase */
.hero-showcase { display: flex; justify-content: center; }

.showcase-card {
  background: rgba(26, 31, 38, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(242, 192, 20, 0.3);
  border-radius: 14px;
  padding: 18px;
  width: 100%;
  max-width: 430px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  animation: fadeInUp 0.9s ease both;
}

.showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 14px;
}

.showcase-badge {
  background: var(--accent);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.showcase-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.6s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  50% { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}

.showcase-stage {
  position: relative;
  background: linear-gradient(180deg, #dfe9f3 0%, #ffffff 100%);
  border-radius: 14px;
  height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.4);
}

.showcase-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: fadeInUp 0.6s ease both;
}

.showcase-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px 2px;
}

.showcase-product {
  font-weight: 700;
  font-size: 15px;
}

.showcase-price {
  font-size: 13px;
  font-weight: 700;
  color: #f5c542;
}

/* ===== FEATURES ===== */
.features { padding: 50px 0; background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
  color: var(--accent);
  border: 1px solid rgba(242, 192, 20, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.feature-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--light-gray); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform 0.25s, box-shadow 0.25s;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.1);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(242, 192, 20, 0.2);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--accent-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(242, 192, 20, 0.35);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* ===== SECTIONS ===== */
.section {
  padding: 70px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 40px;
}

/* ===== CATEGORY FILTER ===== */
.category-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: #f28c28;
  color: var(--dark);
  background: #f8d9bd;
}

.filter-btn.active:hover {
  border-color: #f28c28;
  color: var(--dark);
  background: #f8d9bd;
}

.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--accent);
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.55s ease both;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 16px 38px rgba(0,0,0,0.12);
}

.product-image {
  height: 220px;
  background: linear-gradient(180deg, #f1f4f8 0%, #e2e7ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark);
  color: var(--accent);
  border: 1px solid rgba(242, 192, 20, 0.4);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

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

.product-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-category {
  font-size: 12px;
  color: #c99300;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--gray);
  flex: 1;
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.product-price {
  font-weight: 800;
  font-size: 18px;
  color: var(--dark);
  white-space: nowrap;
}

.product-price small {
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
}

/* ===== CONFIGURATOR ===== */
.config-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.config-preview {
  background: linear-gradient(180deg, #eef2f6 0%, #e2e8ee 100%);
  border-radius: var(--radius);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.config-image { height: 380px; }

.config-image img {
  animation: fadeInUp 0.4s ease both;
}

.config-preview-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.85);
  border-top: 1px solid var(--border);
}

.config-preview-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
}

.config-preview-meta {
  font-size: 12px;
  color: var(--gray);
  text-align: right;
}

.config-preview .product-image {
  height: 380px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 420px;
  gap: 20px;
  text-align: center;
  padding: 20px;
  color: var(--gray);
}

.config-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.config-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.config-info p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
}

.config-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.option-group {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.option-group-label {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--dark);
}

.option-group-label small {
  font-weight: 400;
  color: var(--gray);
  text-transform: none;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.option-btn {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--dark);
}

.option-btn:hover {
  border-color: var(--accent);
  background: rgba(242, 192, 20, 0.05);
}

.option-btn.active {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: inline-block;
  flex-shrink: 0;
}

/* ===== CUSTOM DIMENSION ===== */
.custom-dim {
  margin-top: 12px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

.custom-dim-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #b38600;
  cursor: pointer;
  user-select: none;
}

.custom-dim-head:hover {
  color: var(--accent-dark);
}

.custom-dim-chevron {
  font-size: 10px;
  transition: transform 0.2s;
}

.custom-dim-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-dim-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-dim-input input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.custom-dim-input input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 192, 20, 0.2);
}

.custom-dim-input .unit {
  font-size: 13px;
  color: var(--gray);
  font-weight: 700;
  flex-shrink: 0;
}

.custom-dim-input .btn {
  padding: 10px 18px;
  flex-shrink: 0;
}

.custom-dim-input .btn.active-custom {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--accent);
}

.custom-dim-result {
  font-size: 13px;
  color: var(--dark);
  font-weight: 600;
  min-height: 16px;
}

.custom-dim-hint {
  font-size: 11px;
  color: var(--gray);
}

.config-quantity {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.config-quantity label {
  font-weight: 600;
  font-size: 14px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--light-gray);
  font-size: 18px;
  cursor: pointer;
  font-weight: 700;
  color: var(--dark);
}

.qty-btn:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

#configQty {
  width: 70px;
  text-align: center;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}

.config-total {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light-gray);
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.total-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-2);
}

.total-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--dark);
}

.config-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== CONFIGURATOR PRODUCT EXPERIENCE ===== */
.configurator-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(30,35,41,.035) 1px, transparent 1.2px) 0 0 / 28px 28px,
    radial-gradient(ellipse at 8% 12%, rgba(255,255,255,.55), transparent 38%),
    linear-gradient(135deg, #e9ebee 0%, #e2e4e7 52%, #eceef0 100%);
}

/* Fundal comun pentru paginile și secțiunile principale ale site-ului. */
body {
  background:
    radial-gradient(circle, rgba(30,35,41,.035) 1px, transparent 1.2px) 0 0 / 28px 28px,
    radial-gradient(circle at 100% 16%, transparent 0 220px, rgba(30,35,41,.025) 221px 222px, transparent 223px 272px, rgba(30,35,41,.018) 273px 274px, transparent 275px),
    radial-gradient(ellipse at 8% 5%, rgba(255,255,255,.62), transparent 38%),
    linear-gradient(135deg, #e9ebee 0%, #e2e4e7 52%, #eceef0 100%);
  background-attachment: fixed;
}

.features,
.how-it-works,
.products-section,
.cart-section,
.fence-calc-section,
.presentation-section {
  background: transparent;
}

.configurator-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: 100px;
  left: -330px;
  border: 1px solid rgba(30, 35, 41, .045);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(30, 35, 41, .018), 0 0 0 110px rgba(30, 35, 41, .012);
  pointer-events: none;
}

.configurator-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto 34px;
}

.configurator-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #777f89;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.configurator-eyebrow span,
.config-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 192, 20, .15);
}

.configurator-heading .section-title {
  margin-bottom: 8px;
  letter-spacing: -.7px;
}

.configurator-lead {
  color: #77818d;
  font-size: 15px;
}

/* ===== NOU CONFIGURATOR VIZUAL & EXTINS ===== */
.config-model-picker-wrap {
  margin-bottom: 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.config-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.config-picker-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--dark);
}

.step-num-badge {
  background: var(--accent);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.config-category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cfg-tab-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cfg-tab-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.cfg-tab-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.config-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.cfg-model-chip {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cfg-model-chip:hover {
  transform: translateY(-3px);
  border-color: #94a3b8;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.cfg-model-chip.active {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(242, 192, 20, 0.4), 0 8px 20px rgba(0,0,0,0.08);
}

.cfg-chip-thumb {
  position: relative;
  height: 95px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cfg-chip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cfg-model-chip:hover .cfg-chip-thumb img {
  transform: scale(1.06);
}

.cfg-chip-check {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #22c55e;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cfg-chip-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cfg-chip-cat {
  font-size: 9.5px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.8px;
}

.cfg-chip-name {
  font-size: 13px;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cfg-chip-price {
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  margin-top: 2px;
}

/* Timeline Etape Configurare */
.config-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 18px;
  overflow-x: auto;
  gap: 8px;
}

.cfg-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cfg-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cfg-step.active .cfg-step-dot {
  background: #0f172a;
  color: var(--accent);
}

.cfg-step-text {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.cfg-step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  min-width: 15px;
}

/* Layout Configurator */
.configurator-section .config-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 26px;
  align-items: start;
}

/* Coloana Stânga: Card Randare CAD */
.config-preview-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.config-stage-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.config-stage-header {
  padding: 14px 18px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-tag-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stage-prod-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}

.stage-prod-title {
  font-size: 15px;
  color: #ffffff;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.8px;
}

.config-preview-stage {
  position: relative;
  height: 420px;
  background: radial-gradient(ellipse at 50% 40%, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stage-zoom-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stage-btn-mini {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.stage-btn-mini:hover {
  background: var(--accent);
  color: #0f172a;
}

.stage-canvas-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-canvas-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.config-preview-caption {
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.config-preview-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 13.5px;
}

.config-preview-meta {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Fișă Tehnică Structură */
.config-spec-sheet {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.spec-sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.spec-icon {
  font-size: 24px;
  color: #b45309;
}

.spec-sheet-head h4 {
  margin: 0;
  font-size: 15px;
  color: #0f172a;
}

.spec-sheet-head p {
  margin: 3px 0 0;
  font-size: 11.5px;
  color: #64748b;
}

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

.spec-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.spec-val {
  font-size: 13px;
  color: #0f172a;
  font-weight: 700;
}

/* Coloana Dreapta: Panou Configurator */
.configurator-section .config-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.config-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cfg-badge-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.config-info h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.cfg-base-price-tag {
  text-align: right;
  flex-shrink: 0;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 6px 10px;
}

.cfg-base-price-tag small {
  display: block;
  font-size: 10px;
  color: #92400e;
  font-weight: 600;
}

.cfg-base-price-tag strong {
  font-size: 15px;
  color: #78350f;
}

.config-info p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.45;
}

/* Preseturi Rapide */
.config-presets-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
}

.presets-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.presets-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-btn {
  flex: 1;
  min-width: 120px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.preset-btn:hover {
  background: #0f172a;
  color: var(--accent);
  border-color: #0f172a;
}

/* Opțiuni de configurare */
.config-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option-group {
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.option-group:first-child {
  border-top: none;
  padding-top: 0;
}

.option-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.opt-icon {
  font-size: 16px;
}

.opt-unit {
  color: #64748b;
  font-weight: 600;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.option-btn {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-align: left;
}

.option-btn:hover {
  border-color: #94a3b8;
  background: #ffffff;
}

.option-btn.active {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.option-btn.active .opt-title {
  color: #ffffff;
}

.option-btn.active .opt-multiplier-tag {
  background: var(--accent);
  color: #0f172a;
}

.option-btn.active .opt-price-tag {
  color: var(--accent);
}

.opt-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.opt-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
}

.opt-multiplier-tag {
  font-size: 10px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 1px 5px;
  border-radius: 4px;
  align-self: flex-start;
}

.opt-price-tag {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
}

/* Card Rezumat Financiar */
.config-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.config-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.config-quantity label {
  font-size: 13.5px;
  color: #1e293b;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.quantity-controls .qty-btn {
  width: 34px;
  height: 34px;
  background: #f1f5f9;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.quantity-controls .qty-btn:hover {
  background: #e2e8f0;
}

.quantity-controls input {
  width: 55px;
  height: 34px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #0f172a;
}

.config-price-breakdown {
  border-top: 1px dashed #cbd5e1;
  border-bottom: 1px dashed #cbd5e1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #64748b;
}

.breakdown-row strong {
  color: #1e293b;
}

.config-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.total-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.total-label {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.8px;
}

.vat-note {
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
}

.total-price {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

/* Acțiuni Configurator */
.config-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.config-actions-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.config-trust-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #1e40af;
  line-height: 1.35;
}

.trust-icon {
  font-size: 15px;
  flex-shrink: 0;
}

/* Modal Lightbox CAD */
.cfg-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cfg-lightbox-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: min(900px, 95vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.cfg-lightbox-header {
  padding: 16px 20px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cfg-lightbox-header h3 {
  margin: 0;
  font-size: 16px;
  color: #ffffff;
}

.cfg-lightbox-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.cfg-lightbox-close:hover {
  color: #ffffff;
}

.cfg-lightbox-body {
  padding: 24px;
  background: radial-gradient(ellipse at 50% 40%, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.cfg-lightbox-body img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.cfg-lightbox-footer {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .configurator-section .config-layout {
    grid-template-columns: 1fr;
  }
  .config-preview-stage {
    height: 360px;
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .config-actions-sub {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .config-model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .config-steps-indicator {
    padding: 10px;
  }
  .cfg-step-text {
    display: none;
  }
  .configurator-section .config-panel {
    padding: 18px;
  }
}

/* ===== CART & CHECKOUT SECTION ===== */
.cart-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.text-left {
  text-align: left !important;
}

.text-left::after {
  margin-left: 0 !important;
}

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

.btn-danger-outline {
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}

.btn-danger-outline:hover {
  background: var(--danger) !important;
  color: var(--white) !important;
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--light-gray);
  border-radius: var(--radius);
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.empty-cart-icon {
  font-size: 64px;
  margin-bottom: 16px;
  color: var(--primary);
  opacity: 0.6;
}

.cart-empty h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.cart-empty p {
  color: var(--gray);
  margin-bottom: 24px;
}

.cart-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.cart-top-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.cart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Cart Items */
.cart-item {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.cart-item-image {
  width: 140px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(180deg, #eef2f6 0%, #e3e9ee 100%);
  border: 1px solid var(--border);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.cart-item-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-2);
}

.cart-item-unit-price {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}

.cart-item-total-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.cart-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.config-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 16px;
  font-size: 11px;
  color: #444;
}

.tag-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.2);
}

.cart-item-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--light-gray);
  padding-top: 10px;
}

.qty-input {
  width: 54px;
  text-align: center;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.qty-unit-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 600;
  margin-left: 2px;
}

.cart-item-buttons {
  display: flex;
  gap: 8px;
}

.cart-action-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-action-btn.edit-btn {
  color: var(--primary);
  border-color: rgba(27, 94, 32, 0.3);
}

.cart-action-btn.edit-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.cart-action-btn.delete-btn {
  color: var(--danger);
  border-color: rgba(198, 40, 40, 0.3);
}

.cart-action-btn.delete-btn:hover {
  background: var(--danger);
  color: var(--white);
}

/* Guarantees */
.cart-guarantees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(27, 94, 32, 0.04);
  border: 1px solid rgba(27, 94, 32, 0.12);
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
}

.guarantee-icon {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.guarantee-item strong {
  display: block;
  color: var(--dark-2);
  margin-bottom: 2px;
}

.guarantee-item p {
  color: var(--gray);
  margin: 0;
  line-height: 1.35;
}

/* Services */
.service-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.service-option:hover {
  background: var(--light-gray);
  border-color: var(--primary);
}

.service-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.service-text {
  flex: 1;
}

.service-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-2);
}

.service-desc {
  display: block;
  font-size: 11px;
  color: var(--gray);
}

.service-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Summary Card (Full Width) */
.cart-summary-card.full-width-card {
  width: 100%;
}

.summary-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--light-gray);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 8px;
}

.summary-breakdown-grid .summary-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
}

.summary-breakdown-grid .summary-row span:first-child {
  font-size: 13px;
  color: var(--gray);
  font-weight: 600;
}

.summary-breakdown-grid .summary-row span:last-child {
  font-size: 18px;
  color: var(--dark-2);
  font-weight: 800;
}

.summary-breakdown-grid .summary-row.total {
  background: #e8f5e9;
  border: 1.5px solid #a5d6a7;
}

.summary-breakdown-grid .summary-row.total span:first-child {
  color: #2e7d32;
  font-weight: 700;
  font-size: 14px;
}

.summary-breakdown-grid .summary-row.total span:last-child {
  color: #1b5e20;
  font-size: 24px;
  font-weight: 900;
}

.text-free {
  color: #2e7d32;
  font-weight: 700;
}

/* Order Form (Full Width Container) */
.order-form-card.full-width-card {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.checkout-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.checkout-heading .card-title {
  margin-bottom: 8px;
  font-size: 24px;
}

.checkout-heading p {
  max-width: 650px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.checkout-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.checkout-assurance {
  min-width: 190px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 12px 30px rgba(18, 21, 24, 0.18);
}

.checkout-assurance span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 22px;
}

.checkout-assurance strong,
.checkout-assurance small {
  display: block;
}

.checkout-assurance strong {
  font-size: 13px;
  margin-bottom: 2px;
}

.checkout-assurance small {
  color: rgba(255,255,255,0.72);
  font-size: 11px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.checkout-main {
  display: grid;
  gap: 16px;
}

.checkout-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(30, 35, 41, 0.05);
}

.checkout-sticky-panel {
  position: sticky;
  top: 92px;
  border-color: rgba(30, 35, 41, 0.16);
  box-shadow: 0 16px 40px rgba(30, 35, 41, 0.1);
}

.checkout-panel-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.checkout-panel-title.compact {
  margin-bottom: 16px;
}

.checkout-panel-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.checkout-panel-title h4 {
  margin-bottom: 3px;
  color: var(--dark-2);
  font-size: 16px;
}

.checkout-panel-title p {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-wide {
  grid-column: 1 / -1;
}

.order-form-card .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.order-form-card .form-group label {
  color: var(--dark-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.order-form-card input[type="text"],
.order-form-card input[type="tel"],
.order-form-card input[type="email"],
.order-form-card textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--dark-2);
  font: inherit;
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.order-form-card textarea {
  min-height: 92px;
  resize: vertical;
}

.order-form-card input:focus,
.order-form-card textarea:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 4px rgba(30, 35, 41, 0.08);
}

.order-form-card input.invalid,
.order-form-card textarea.invalid {
  border-color: var(--danger);
  background: #fffafa;
  box-shadow: 0 0 0 4px rgba(217, 37, 37, 0.08);
}

.order-form-card .form-error {
  display: none;
  color: var(--danger);
  font-size: 11px;
  font-weight: 700;
}

.order-form-card .form-error.show {
  display: block;
}

.checkout-company-panel {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px dashed #ccd5e1;
}

.client-type-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 6px;
  border-radius: 14px;
  background: #f2f4f8;
  border: 1px solid var(--border);
}

.type-radio {
  cursor: pointer;
  text-align: center;
}

.type-radio input {
  display: none;
}

.type-radio span {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.type-radio input:checked + span {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 8px 18px rgba(30, 35, 41, 0.12);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-group.half {
  flex: 1;
}

.payment-methods {
  display: grid;
  gap: 10px;
}

.payment-option {
  cursor: pointer;
}

.payment-option input {
  display: none;
}

.payment-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: all 0.2s;
}

.payment-option input:checked + .payment-box {
  border-color: var(--dark);
  background: #fffaf0;
  box-shadow: 0 8px 18px rgba(242, 192, 20, 0.18);
}

.payment-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--light-gray);
  font-size: 19px;
  flex-shrink: 0;
}

.payment-box strong {
  display: block;
  color: var(--dark-2);
  font-size: 13px;
  margin-bottom: 3px;
}

.payment-box small {
  display: block;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.4;
}

.terms-checkbox {
  margin: 18px 0;
  padding: 14px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px solid var(--border);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--dark-2);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.45;
}

.checkbox-label input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--dark);
  flex-shrink: 0;
}

.place-order-btn {
  padding: 16px;
  border-radius: 14px;
  font-size: 15px;
  letter-spacing: 0.4px;
  box-shadow: 0 12px 28px rgba(30, 35, 41, 0.22);
}

.order-secure-note {
  margin-top: 12px;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1000px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-sticky-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .checkout-heading {
    flex-direction: column;
  }
  .checkout-assurance {
    width: 100%;
  }
  .checkout-fields-grid,
  .client-type-switch {
    grid-template-columns: 1fr;
  }
  .checkout-panel {
    padding: 16px;
  }
}

/* Badge animation */
.badge-bounce {
  animation: bounceBadge 0.4s ease;
}

@keyframes bounceBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: var(--white);
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideUp 0.3s ease;
  position: relative;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-badge-success {
  background: #e8f5e9;
  color: #1b5e20;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--dark);
}

/* Added Modal */
.modal-added-body {
  padding: 24px;
}

.modal-added-product {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.modal-added-img {
  width: 140px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f6 0%, #e3e9ee 100%);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-added-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-added-details {
  flex: 1;
}

.modal-added-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark-2);
}

.modal-added-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.modal-added-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}

.modal-added-price {
  font-size: 17px;
  color: var(--primary);
  font-weight: 700;
}

.modal-added-actions {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  background: var(--light-gray);
  border-top: 1px solid var(--border);
  border-radius: 0 0 16px 16px;
}

.modal-added-actions .btn {
  flex: 1;
}

/* Success Modal & Receipt */
.modal-order-success {
  max-width: 720px;
}

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

.success-icon-pulse {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(27, 94, 32, 0.15);
}

.success-header-badge h3 {
  font-size: 18px;
  margin-bottom: 2px;
  color: var(--primary);
}

.success-header-badge p {
  font-size: 12px;
  color: var(--gray);
  margin: 0;
}

.order-receipt-wrap {
  padding: 24px;
}

.receipt-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 18px;
}

.receipt-brand h3 {
  font-size: 17px;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.receipt-brand p {
  font-size: 12px;
  color: var(--gray);
  margin: 2px 0;
}

.receipt-order-meta {
  text-align: right;
}

.receipt-order-id {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.receipt-date {
  font-size: 12px;
  color: var(--gray);
}

.receipt-status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-top: 4px;
}

.receipt-client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--light-gray);
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.receipt-client-box h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin-bottom: 6px;
}

.receipt-client-box p {
  font-size: 13px;
  margin-bottom: 3px;
  line-height: 1.4;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.receipt-table th {
  background: var(--light-gray);
  padding: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 2px solid var(--border);
}

.receipt-table td {
  padding: 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.receipt-summary-block {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.receipt-summary-lines {
  width: 320px;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
}

.receipt-grand-total {
  border-top: 2px solid var(--primary);
  margin-top: 6px;
  padding-top: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.receipt-notes {
  background: #fff8e1;
  border-left: 4px solid #f57f17;
  padding: 10px 14px;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.receipt-footer-notice {
  background: rgba(27, 94, 32, 0.06);
  border: 1px solid rgba(27, 94, 32, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
}

.modal-order-actions {
  display: flex;
  gap: 10px;
  padding: 18px 24px;
  background: var(--light-gray);
  border-top: 1px solid var(--border);
  border-radius: 0 0 16px 16px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: var(--white);
}

/* Orders lookup list view */
.empty-orders-card {
  text-align: center;
  background: var(--white);
  padding: 40px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.empty-orders-card p {
  color: var(--gray);
  margin-bottom: 16px;
}

.order-date-sub {
  font-size: 12px;
  color: var(--gray);
  font-weight: normal;
}

.order-item-config {
  display: block;
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
}

.order-item-pricing {
  text-align: right;
}

.order-item-pricing span {
  display: block;
  font-size: 11px;
  color: var(--gray);
}

.order-total-block {
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  margin-top: 10px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.order-total-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.order-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--light-gray);
  font-size: 12px;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 8px;
}

/* Print Styling */
@media print {
  body * {
    visibility: hidden;
  }
  .order-receipt-wrap, .order-receipt-wrap * {
    visibility: visible;
  }
  .modal-overlay {
    position: static;
    display: block;
    padding: 0;
    background: none;
    backdrop-filter: none;
  }
  .modal-dialog {
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }
  .modal-order-success {
    max-width: none;
  }
  .order-receipt-wrap {
    position: static;
    width: 100%;
    padding: 24px 16px;
    margin: 0;
  }
  .receipt-card {
    border: none;
    padding: 0;
  }
  .receipt-table tr {
    break-inside: avoid;
  }
  .no-print {
    display: none !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .config-layout,
  .cart-top-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-showcase {
    order: -1;
  }

  .showcase-card {
    max-width: 100%;
  }

  .hero-title {
    font-size: 34px;
  }

  .receipt-client-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .mobile-toggle {
    display: block;
  }

  /* Meniul mobil se deschide imediat sub antet, în aceleași culori închise */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #12161c;
    border-bottom: 2px solid var(--accent);
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    display: none;
    align-items: stretch;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav.open {
    display: flex;
  }

  .nav .nav-link {
    color: #ffffff;
    font-size: 16px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .nav .nav-link.active {
    color: var(--accent-text);
    border-bottom-color: transparent;
  }

  .hero {
    padding: 60px 0;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 24px;
  }

  .section-title {
    font-size: 26px;
  }

  .cart-item {
    flex-direction: column;
  }

  .cart-item-image {
    width: 100%;
    height: 180px;
  }

  .modal-added-product {
    flex-direction: column;
  }

  .modal-added-img {
    width: 100%;
    height: 160px;
  }

  .modal-added-actions,
  .modal-order-actions {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ================= PREVIEW TOOLBAR & CAD CONTROLS ================= */
.preview-controls-bar {
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.preview-ctrl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ctrl-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ctrl-chip-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.ctrl-chip-btn.active {
  background: #0f172a;
  border-color: #0284c7;
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.25);
}

.ctrl-chip-btn .ctrl-status {
  font-size: 11px;
  background: #38bdf8;
  color: #0f172a;
  padding: 1px 6px;
  border-radius: 10px;
}

.ctrl-chip-btn:not(.active) .ctrl-status {
  background: #94a3b8;
  color: #ffffff;
}

.env-selector-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.env-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  margin-right: 2px;
}

.env-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.env-btn:hover {
  background: #e2e8f0;
}

.env-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

.preview-tools-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.btn-xs {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
}

/* ================= CALCULATOR GARD PERIMETRAL ================= */
.fence-calc-section {
  background: #fbfcfd;
  border-top: 1px solid #edf2f7;
  padding: 60px 0;
}

.fence-calc-intro {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 40px auto;
}

.pill-badge {
  display: inline-block;
  background: rgba(242, 192, 20, 0.15);
  color: #a67c00;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(242, 192, 20, 0.4);
}

.fence-calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.fc-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.fc-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.fc-step-num {
  width: 38px;
  height: 38px;
  background: var(--dark);
  color: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
  border: 1px solid rgba(242, 192, 20, 0.3);
}

.fc-section-head h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--dark);
}

.fc-section-head p {
  font-size: 13px;
  color: var(--gray);
}

.fc-field {
  margin-bottom: 20px;
}

.fc-field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.fc-val-highlight {
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
}

.fc-range-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fc-range-wrap input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
  height: 7px;
  cursor: pointer;
}

.fc-num-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  width: 95px;
}

.fc-num-box input {
  width: 50px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  text-align: right;
  outline: none;
}

.fc-num-box span {
  font-size: 12px;
  color: var(--gray);
  margin-left: 4px;
}

.fc-hint {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 6px;
}

.fc-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.fc-model-card {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: #f8fafc;
  text-align: center;
}

.fc-model-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.fc-model-card.active {
  border-color: var(--dark);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(242, 192, 20, 0.35);
}

.fc-model-img-wrap {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #e2e8f0;
}

.fc-model-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-model-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.fc-model-price {
  font-size: 11.5px;
  color: #b38600;
  font-weight: 700;
}

.fc-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fc-field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.fc-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.fc-select:focus {
  border-color: var(--accent);
}

.fc-gate-check-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.fc-gate-check-card:hover {
  background: #f1f5f9;
  border-color: var(--accent);
}

.fc-gate-check-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--dark);
}

.fc-gate-check-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fc-gate-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
}

.fc-gate-sub {
  font-size: 11.5px;
  color: var(--gray);
}

.fc-gate-cost {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
}

/* Mini Schemă Tehnică */
.fc-mini-schematic {
  background: #14171c;
  border: 1px solid rgba(242, 192, 20, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
  color: #f8fafc;
}

.fc-schem-header {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #94a3b8;
  margin-bottom: 12px;
  border-bottom: 1px dashed #323b47;
  padding-bottom: 6px;
}

.fc-schem-header strong {
  color: var(--accent);
}

.fc-schem-track {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  padding: 10px 0 14px 0;
}

.fc-schem-panel {
  display: flex;
  align-items: center;
}

.fc-schem-body {
  width: 58px;
  height: 38px;
  background: #1e2329;
  border: 1px solid var(--accent);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #e2e8f0;
  font-weight: 600;
}

.fc-schem-post {
  width: 5px;
  height: 48px;
  background: #e2e8f0;
  border-radius: 2px;
}

.fc-schem-gate {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fc-schem-gate span:first-child {
  height: 38px;
  padding: 0 8px;
  background: var(--dark);
  border: 1px solid var(--accent);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.fc-schem-gate.fc-schem-auto span:first-child {
  background: #262c35;
  border-color: var(--accent-light);
}

.fc-schem-more {
  font-size: 10.5px;
  color: #94a3b8;
  padding: 0 8px;
  white-space: nowrap;
}

.fc-schem-footer {
  text-align: center;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* Tabel Necesar Materiale */
.fc-bom-table {
  margin-bottom: 20px;
  overflow-x: auto;
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fc-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  text-align: left;
  padding: 9px 10px;
  border-bottom: 2px solid #e2e8f0;
}

.fc-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--dark);
}

.fc-table td small {
  color: var(--gray);
}

.fc-table .text-right {
  text-align: right;
}

/* Totaluri & Actiuni */
.fc-pricing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}

.fc-price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.fc-price-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  margin-top: 10px;
  margin-bottom: 8px;
}

.fc-grand-total {
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
}

/* ===== PAGINI DE PREZENTARE & ARTICOLE CMS ===== */
.presentation-section {
  padding: 60px 0;
  background: #fdfdfd;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.article-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #eee;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.article-card:hover .article-thumb img {
  transform: scale(1.05);
  opacity: 0.7;
}

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

.article-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.article-footer {
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.article-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-article-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  border: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.single-article-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.single-article-lead {
  font-size: 17px;
  color: #4a5568;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}

.single-article-media {
  width: 100%;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.single-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-article-text {
  font-size: 16px;
  line-height: 1.8;
  color: #2d3748;
}

@media (max-width: 768px) {
  .single-article-box {
    padding: 20px;
  }
  .single-article-title {
    font-size: 24px;
  }
}

/* Prezentare atelier: introducere editorială și carduri de conținut */
.presentation-section { background: transparent; padding: 46px 0 76px; }
.presentation-intro {
  position: relative; display: grid; grid-template-columns: 1fr 0.92fr; min-height: 430px;
  overflow: hidden; border-radius: 20px; background: #171b1f; color: #fff;
  box-shadow: 0 24px 60px rgba(18,21,24,.16);
}
.presentation-intro-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 56px clamp(28px, 6vw, 78px); }
.presentation-kicker { display: inline-flex; align-items: center; gap: 10px; color: #aeb5bb; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.presentation-kicker > span { width: 24px; height: 2px; background: var(--accent); }
.presentation-intro h1 { margin: 22px 0 16px; color: #fff; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -1.7px; }
.presentation-intro h1 em { color: var(--accent); font-style: normal; }
.presentation-intro-copy > p { max-width: 450px; margin: 0 0 26px; color: #c4c9ce; font-size: 16px; line-height: 1.75; }
.presentation-intro-copy .btn { display: inline-flex; align-items: center; gap: 14px; }
.presentation-trustline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; color: #c4c9ce; font-size: 11px; }
.presentation-trustline > span { color: var(--accent); font-size: 15px; font-weight: 900; }
.presentation-trustline i { width: 3px; height: 3px; border-radius: 50%; background: #727980; }
.presentation-intro-visual { position: relative; min-height: 350px; background: linear-gradient(0deg, rgba(13,16,19,.78), rgba(13,16,19,.04) 68%), url('../img/pagini/despre-atelier.jpg') center / cover; }
.presentation-intro-visual::before { position: absolute; inset: 0 auto 0 0; width: 1px; background: rgba(255,255,255,.14); content: ''; }
.presentation-visual-caption { position: absolute; left: 34px; bottom: 32px; display: flex; flex-direction: column; gap: 6px; }
.presentation-visual-caption span { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.presentation-visual-caption strong { color: #fff; font-size: 22px; }
.presentation-visual-stamp { position: absolute; top: 30px; right: 30px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: rgba(18,21,24,.68); backdrop-filter: blur(8px); }
.presentation-visual-stamp strong { color: var(--accent); font-size: 34px; line-height: 1; }
.presentation-visual-stamp strong span { font-size: 19px; }
.presentation-visual-stamp small { color: #fff; font-size: 9px; font-weight: 800; line-height: 1.35; letter-spacing: 1px; }
.presentation-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 56px 0 24px; }
.presentation-section-heading .presentation-kicker { color: #777f86; }
.presentation-section-heading .section-title { margin: 10px 0 0; text-align: left; }
.presentation-section-heading .section-subtitle { max-width: 330px; margin: 0 0 4px; text-align: right; }
.presentation-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 36px; }
.presentation-benefits > div { display: flex; align-items: center; gap: 14px; padding: 17px 19px; border: 1px solid #e7e7e2; border-radius: 12px; background: #fff; }
.benefit-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: #fff5cc; color: #876600; font-size: 22px; font-weight: 800; }
.presentation-benefits p { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.presentation-benefits strong { color: #22272b; font-size: 13px; }
.presentation-benefits small { color: #7b8389; font-size: 11px; }
.articles-grid { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.article-card { border-color: #e9e9e5; border-radius: 14px; box-shadow: 0 5px 18px rgba(25,30,35,.045); }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(25,30,35,.12); }
.article-thumb { height: 190px; background: #20252a; }
.article-body { padding: 20px 22px 22px; }
.article-title { font-size: 17px; }
.article-summary { color: #737b81; }
.article-footer { border-color: #f0f0ec; }
.article-more { color: #8a6900; letter-spacing: .3px; }
@media (max-width: 768px) {
  .presentation-section { padding: 24px 0 54px; }
  .presentation-intro { grid-template-columns: 1fr; }
  .presentation-intro-copy { padding: 38px 26px 32px; }
  .presentation-intro-visual { min-height: 260px; }
  .presentation-visual-caption { left: 24px; bottom: 24px; }
  .presentation-visual-stamp { top: 20px; right: 20px; }
  .presentation-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin: 38px 0 20px; }
  .presentation-section-heading .section-subtitle { margin: 0; text-align: left; }
  .presentation-benefits { grid-template-columns: 1fr; gap: 9px; margin-bottom: 26px; }
  .articles-grid { grid-template-columns: 1fr; }
}

.fc-vat-badge {
  font-size: 11.5px;
  color: #047857;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}

.fc-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.fc-trust-chips {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.fc-chip {
  font-size: 11.5px;
  color: var(--gray);
  font-weight: 600;
}

@media (max-width: 991px) {
  .fence-calc-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== SUBSOL SITE CU FUNDAL GRI / ANTRACIT (3 SECȚIUNI) ===== */
.footer {
  background: #14171c;
  background: linear-gradient(180deg, #1e2329 0%, #14171c 100%);
  color: #94a3b8;
  padding: 60px 0 0;
  border-top: 4px solid var(--accent);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-content-block {
  line-height: 1.7;
  color: #94a3b8;
}

.footer-content-block p {
  margin-bottom: 6px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-item {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-link-item:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-trust-badge {
  margin-top: 14px;
}

.footer-badge-pill {
  display: inline-block;
  background: rgba(242, 192, 20, 0.12);
  border: 1px solid rgba(242, 192, 20, 0.4);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-bottom {
  background: #0d0f12;
  padding: 22px 0;
  border-top: 1px solid #262c35;
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 13px;
  margin: 0;
}

@media (max-width: 850px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================
   MAINTENANCE PAGE OVERLAY
   ============================ */
.maintenance-active {
  overflow: hidden;
}
.maintenance-active > *:not(.maintenance-overlay) {
  display: none !important;
}
.maintenance-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  overflow: hidden;
}
.maintenance-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.maintenance-bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.maintenance-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 500px;
  background: rgba(30, 35, 43, 0.85);
  border: 1px solid #262c35;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}
.maintenance-icon {
  font-size: 72px;
  margin-bottom: 20px;
  animation: maintenancePulse 2s ease-in-out infinite;
}
@keyframes maintenancePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}
.maintenance-container h1 {
  font-size: 32px;
  color: #f2c014;
  margin-bottom: 16px;
  font-weight: 800;
}
.maintenance-container p {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.6;
}
.maintenance-eta {
  font-size: 13px;
  color: #64748b;
  margin-top: 12px;
}
.maintenance-container .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  text-decoration: none;
}
@media (max-width: 600px) {
  .maintenance-container {
    padding: 36px 20px;
  }
  .maintenance-container h1 {
    font-size: 22px;
  }
  .maintenance-container .brand {
    gap: 12px;
  }
  .maintenance-container .brand .mark {
    width: 46px !important;
    height: 58px !important;
  }
  .maintenance-container .brand .name {
    font-size: 16px !important;
    letter-spacing: 0.08em !important;
  }
  .maintenance-container .brand .tagline {
    font-size: 9px !important;
  }
}

/* ============================
   GALERIE FOTO (Despre & Prezentare)
   ============================ */
.photo-gallery-section .section-title {
  margin-top: 0;
}
.photo-timeline {
  position: relative;
  padding-left: 32px;
}
.photo-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--dark-surface);
}
.photo-timeline-group {
  position: relative;
  padding-bottom: 32px;
}
.photo-timeline-group:last-child {
  padding-bottom: 0;
}
.photo-gallery-grid.is-collapsed .is-extra {
  display: none;
}
.photo-gallery-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 28px;
  margin-top: 10px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: #e3e5e8;
  color: #4a4f55;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.photo-gallery-toggle:hover {
  background: #5a5f66;
  color: #fff;
}
.photo-gallery-toggle svg {
  transition: transform 0.25s;
}
.photo-gallery-toggle.is-open svg {
  transform: rotate(180deg);
}
.photo-gallery-undated {
  margin-top: 32px;
}
.photo-gallery-month {
  position: relative;
  margin: 0 0 12px;
  font-size: 18px;
}
.photo-gallery-month::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 50%;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #f2c014;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #f2c014;
}
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.photo-gallery-item {
  display: block;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark-surface);
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.photo-gallery-item:hover img,
.photo-gallery-item:focus-visible img {
  transform: scale(1.05);
}
.photo-gallery-item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(10, 12, 15, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
}
.photo-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.photo-lightbox-close,
.photo-lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
  background: var(--accent);
  color: var(--accent-text);
}
.photo-lightbox-close {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  font-size: 30px;
}
.photo-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 34px;
}
.photo-lightbox-nav.prev { left: 10px; }
.photo-lightbox-nav.next { right: 10px; }
.photo-lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .photo-timeline {
    padding-left: 24px;
  }
  .photo-gallery-month::before {
    left: -24px;
  }
  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .photo-lightbox {
    padding: 60px 8px;
  }
  .photo-lightbox-nav {
    top: auto;
    bottom: 8px;
    transform: none;
  }
  .photo-lightbox-counter {
    bottom: 22px;
  }
}
.photo-gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  padding: 28px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ===== Container alb central (comun tuturor paginilor publice) ===== */
.features,
.how-it-works,
.products-section,
.configurator-section,
.fence-calc-section,
.cart-section,
.presentation-section,
.contact-container,
.process-container,
.warranty-container,
.policy-container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  background: #fff !important;
  box-shadow: 0 0 36px rgba(25, 30, 35, 0.09);
}

.configurator-section::before {
  display: none;
}

/* ===== Hero pagina Produse (jumatate din inaltimea hero-ului de pe Acasa) ===== */
.products-hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 80px 0 78px;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid rgba(242, 192, 20, 0.2);
}

.products-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(18, 21, 24, 0.82) 0%, rgba(18, 21, 24, 0.6) 55%, rgba(18, 21, 24, 0.45) 100%);
  pointer-events: none;
}

.products-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.products-hero .section-title {
  color: var(--white);
}

.products-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.products-hero .section-title {
  margin-bottom: 10px;
}

.products-hero .section-subtitle {
  margin-bottom: 20px;
}

.products-hero .category-filter {
  margin-bottom: 0;
}

.products-hero .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

/* Cardurile de produse (4 coloane): butonul si pretul incap pe un singur rand */
.product-footer .btn {
  padding: 8px 10px;
  white-space: nowrap;
}

.product-footer .product-price {
  font-size: 17px;
}

/* Antetele Configurator / Calculator Gard in hero */
.products-hero .configurator-heading,
.products-hero .fence-calc-intro {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
  max-width: 840px;
}

.products-hero .configurator-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.products-hero .configurator-lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.products-hero .pill-badge {
  color: var(--accent);
  background: rgba(242, 192, 20, 0.12);
}

.products-hero .fence-calc-intro .section-subtitle {
  margin-bottom: 0;
}
