/* ==========================================================================
   AMBIANȚA — Design System & Stylesheet Unic (Bootstrap 5.3.3 Override + Custom)
   ========================================================================== */

:root {
  --amb-red: #e11d24;
  --amb-red-hover: #c4161c;
  --amb-dark: #18181b;
  --amb-text: #27272a;
  --amb-muted: #71717a;
  --amb-surface: #f8f8f7;
  --amb-surface-alt: #f3f2ef;
  --amb-border: #e4e4e7;
  --amb-clay: #78553a;
  --amb-clay-soft: #f3efe8;
  --somneo-blue: #0a4b8f;
  --somneo-blue-hover: #083b72;
  --somneo-blue-soft: #eef5fc;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--amb-text);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--amb-dark);
  letter-spacing: -0.02em;
}

a {
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

/* --------------------------------------------------------------------------
   1. TOP UTILITY BAR & COUNTRY SWITCHER
   -------------------------------------------------------------------------- */
.top-utility-bar {
  background-color: var(--amb-dark);
  color: #e4e4e7;
  font-size: 0.75rem;
  line-height: 1.3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-bar .util-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.top-utility-bar .util-item i {
  color: #a1a1aa;
  font-size: 0.8rem;
}

.country-switch-group {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-country-pill {
  background: transparent;
  color: #d4d4d8;
  border: 1px solid transparent;
  border-radius: 50rem;
  padding: 2px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-country-pill:hover {
  color: #ffffff;
}

.btn-country-pill.active {
  background-color: #ffffff;
  color: var(--amb-dark);
}

/* --------------------------------------------------------------------------
   2. MAIN STICKY NAVBAR & MEGA MENU "CAMERE"
   -------------------------------------------------------------------------- */
.main-navbar {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--amb-border);
  z-index: 1040;
}

@media (min-width: 1200px) {
  .nav-pill-group {
    background-color: var(--amb-surface);
    border: 1px solid var(--amb-border);
    border-radius: 50rem;
    padding: 4px 8px;
    gap: 2px;
  }
}

.main-navbar .nav-link {
  color: var(--amb-dark);
  font-weight: 500;
  font-size: 0.86rem;
  padding: 0.4rem 0.78rem;
  border-radius: 50rem;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--amb-red);
}

.main-navbar .nav-link.active-pill {
  background-color: #ffffff;
  color: var(--amb-dark);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.btn-camere-toggle {
  border: 1px solid transparent;
  border-radius: 50rem;
  padding: 0.4rem 0.95rem;
  font-weight: 600;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: var(--amb-dark);
  cursor: pointer;
}

.btn-camere-toggle:hover,
.btn-camere-toggle.active {
  background-color: #ffffff;
  border-color: var(--amb-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--amb-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
}

.nav-icon-btn:hover {
  background-color: var(--amb-surface);
  color: var(--amb-red);
}

.wishlist-badge-count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50rem;
  background-color: var(--amb-red);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mega Menu Overlay */
.mega-menu-overlay {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--amb-border);
  overflow: hidden;
  display: none;
  z-index: 1060;
}

@media (min-width: 1200px) {
  .mega-menu-overlay {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
  }
}

.mega-menu-overlay.show {
  display: block;
  animation: megaFadeIn 0.18s ease-out;
}

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

.mega-sidebar {
  padding: 1.5rem 1.25rem;
}

.mega-sidebar-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.68rem 1.1rem;
  border-radius: 50rem;
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--amb-dark);
  border: none;
  background: transparent;
  margin-bottom: 0.25rem;
  text-align: left;
}

.mega-sidebar-btn i {
  font-size: 0.74rem;
  color: var(--amb-muted);
}

.mega-sidebar-btn.active,
.mega-sidebar-btn:hover {
  color: var(--amb-red);
  background-color: #f5efe9;
}

.mega-sidebar-btn.active i,
.mega-sidebar-btn:hover i {
  color: var(--amb-red);
}

.mega-content-area {
  padding: 1.75rem 2rem;
  border-left: 1px solid var(--amb-border);
}

@media (max-width: 1199.98px) {
  .mega-content-area {
    border-left: none;
    border-top: 1px solid var(--amb-border);
  }
}

.category-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amb-muted);
}

.mega-cat-link {
  display: block;
  font-size: 0.86rem;
  color: var(--amb-dark);
  text-decoration: none;
  padding: 0.32rem 0;
}

.mega-cat-link:hover {
  color: var(--amb-red);
}

.mega-collection-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.1rem;
  border: 1px solid var(--amb-border);
  border-radius: 50rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--amb-dark);
  text-decoration: none;
}

.mega-collection-pill:hover {
  border-color: var(--amb-dark);
  background-color: var(--amb-surface);
}

.room-preview-card {
  border: 1px solid var(--amb-border);
  border-radius: 20px;
  padding: 0.75rem;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  display: block;
}

.room-preview-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.room-preview-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 14px;
}

.mega-footer {
  background-color: var(--amb-surface);
  border-top: 1px solid var(--amb-border);
  font-size: 0.8rem;
}

.mega-footer a {
  color: var(--amb-red);
  font-weight: 600;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & LINKS
   -------------------------------------------------------------------------- */
.btn-amb-red {
  background-color: var(--amb-red);
  border-color: var(--amb-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  border-radius: 50rem;
  padding: 0.58rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-amb-red:hover,
.btn-amb-red:focus {
  background-color: var(--amb-red-hover);
  border-color: var(--amb-red-hover);
  color: #ffffff;
}

.btn-amb-outline {
  background-color: #ffffff;
  border: 1px solid var(--amb-border);
  color: var(--amb-dark);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 50rem;
  padding: 0.52rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-amb-outline:hover {
  border-color: var(--amb-dark);
  background-color: var(--amb-surface);
  color: var(--amb-dark);
}

.btn-somneo-blue {
  background-color: var(--somneo-blue);
  border-color: var(--somneo-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50rem;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-somneo-blue:hover {
  background-color: var(--somneo-blue-hover);
  border-color: var(--somneo-blue-hover);
  color: #ffffff;
}

.link-amb-red {
  color: var(--amb-red);
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.link-amb-red:hover {
  color: var(--amb-red-hover);
  text-decoration: underline;
}

.eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amb-clay);
}

.eyebrow-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--amb-red);
}

/* Breadcrumbs */
.amb-breadcrumb {
  font-size: 0.78rem;
  color: var(--amb-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.amb-breadcrumb a {
  color: var(--amb-muted);
  text-decoration: none;
}

.amb-breadcrumb a:hover {
  color: var(--amb-dark);
}

.amb-breadcrumb .crumb-active {
  background-color: var(--amb-surface);
  border: 1px solid var(--amb-border);
  color: var(--amb-dark);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 50rem;
}

/* --------------------------------------------------------------------------
   4. HOMEPAGE: CATEGORY STRIP, HERO, STEPS, BENTO ROOMS
   -------------------------------------------------------------------------- */
.cat-strip-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.65rem 0;
  scrollbar-width: none;
}

.cat-strip-scroll::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem 0.35rem 0.4rem;
  background-color: var(--amb-surface);
  border: 1px solid var(--amb-border);
  border-radius: 50rem;
  text-decoration: none;
  color: var(--amb-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.cat-chip:hover {
  border-color: var(--amb-dark);
  background-color: #ffffff;
  color: var(--amb-red);
}

.cat-chip img,
.cat-chip-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.cat-chip-icon {
  background-color: var(--amb-red);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

/* Hero Banner */
.hero-wrapper {
  position: relative;
  min-height: 490px;
  background-color: #edeae4;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transition: opacity 0.45s ease;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(90deg, rgba(248, 248, 247, 0.96) 0%, rgba(248, 248, 247, 0.86) 44%, rgba(248, 248, 247, 0.12) 100%);
  padding: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(248, 248, 247, 0.95) 0%, rgba(248, 248, 247, 0.88) 70%, rgba(248, 248, 247, 0.75) 100%);
  }
}

.hero-promo-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--amb-border);
  border-radius: 18px;
  padding: 1.05rem 1.25rem;
  min-width: 230px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.hero-control-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--amb-border);
  background-color: #ffffff;
  color: var(--amb-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-control-btn:hover {
  border-color: var(--amb-dark);
}

.hero-control-btn.dark {
  background-color: var(--amb-dark);
  border-color: var(--amb-dark);
  color: #ffffff;
}

/* 3-Step Strip & Quick Feature Cards */
.steps-bar {
  background-color: var(--amb-surface);
  border: 1px solid var(--amb-border);
  border-radius: 18px;
  padding: 1rem 1.35rem;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--amb-dark);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-mini-card {
  background-color: #ffffff;
  border: 1px solid var(--amb-border);
  border-radius: 16px;
  padding: 0.9rem 1.15rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.feature-mini-card:hover {
  border-color: var(--amb-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* Room Inspiration Cards with Hotspots */
.room-hotspot-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 360px;
  background-color: #e4e4e7;
}

.room-hotspot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.room-hotspot-card:hover img {
  transform: scale(1.03);
}

.hotspot-dot {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--amb-dark);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hotspot-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--amb-red);
}

.hotspot-dot:hover {
  transform: scale(1.2);
}

.hotspot-popover {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  z-index: 10;
  display: none;
}

.hotspot-popover.show {
  display: block;
}

/* Bento Category Grid */
.bento-cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #ffffff;
  min-height: 175px;
}

.bento-cat-card.tall {
  min-height: 366px;
}

.bento-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.bento-cat-card:hover img {
  transform: scale(1.04);
}

.bento-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.72) 100%);
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.bento-arrow-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--amb-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. VIDEO CARDS (HOMEPAGE & VIDEO.HTML)
   -------------------------------------------------------------------------- */
.video-story-card {
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--amb-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.video-story-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.video-thumb-box {
  position: relative;
  aspect-ratio: 9 / 13;
  background-color: #18181b;
  overflow: hidden;
}

.video-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-story-card:hover .video-thumb-box img {
  transform: scale(1.04);
}

.video-brand-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.video-brand-badge .a-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--amb-red);
  color: #ffffff;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--amb-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(225, 29, 36, 0.45);
  transition: transform 0.2s ease;
}

.video-story-card:hover .video-play-circle {
  transform: translate(-50%, -50%) scale(1.12);
}

.video-duration-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(24, 24, 27, 0.78);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.video-go-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--amb-red);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   6. PRODUCT CARDS, SWATCHES, SIZE PILLS & FILTERS
   -------------------------------------------------------------------------- */
.amb-product-card {
  background-color: #ffffff;
  border: 1px solid var(--amb-border);
  border-radius: 18px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.amb-product-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.product-img-wrap {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--amb-surface);
  margin-bottom: 0.85rem;
  display: block;
}

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

.amb-product-card:hover .product-img-wrap img {
  transform: scale(1.03);
}

.badge-model-nou {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1.5px solid var(--amb-dark);
  color: var(--amb-dark);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
}

.btn-fav-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--amb-border);
  color: var(--amb-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.btn-fav-heart:hover,
.btn-fav-heart.active {
  color: var(--amb-red);
  border-color: var(--amb-red);
}

.size-pill-btn {
  border: 1px solid var(--amb-border);
  background-color: #ffffff;
  color: var(--amb-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 50rem;
  cursor: pointer;
}

.size-pill-btn.active,
.size-pill-btn:hover {
  border-color: var(--amb-dark);
  background-color: var(--amb-surface);
}

.swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 0;
  cursor: pointer;
  position: relative;
}

.swatch-dot.active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px var(--amb-dark);
}

/* Catalog Sidebar Filters (paturi.html) */
.filter-sidebar-box {
  border-right: 1px solid var(--amb-border);
  padding-right: 1.25rem;
}

@media (max-width: 991.98px) {
  .filter-sidebar-box {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--amb-border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }
}

.filter-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amb-muted);
  margin-bottom: 0.55rem;
  display: block;
}

.filter-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.25rem 0;
  cursor: pointer;
}

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

/* --------------------------------------------------------------------------
   7. SOMNEO MATTRESSES & LAYERS DIAGRAM (saltele.html & saltea-boss.html)
   -------------------------------------------------------------------------- */
.somneo-logo-badge {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.somneo-logo-badge .somneo-word {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--somneo-blue);
}

.somneo-logo-badge .somneo-sub {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #dc2626;
  text-transform: uppercase;
}

.firmness-segments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.firmness-seg {
  height: 5px;
  border-radius: 50rem;
  background-color: #dbeafe;
}

.firmness-seg.filled {
  background-color: var(--somneo-blue);
}

.dim-pill-btn {
  border: 1px solid var(--amb-border);
  background-color: #ffffff;
  color: var(--amb-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 50rem;
  cursor: pointer;
}

.dim-pill-btn:hover {
  border-color: var(--amb-dark);
}

.dim-pill-btn.active {
  background-color: var(--amb-dark);
  border-color: var(--amb-dark);
  color: #ffffff;
}

/* Interactive 5-Layer Cross-Section Diagram */
.mattress-layers-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 440px;
}

.m-layer-block {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.m-layer-block:hover,
.m-layer-block.active {
  transform: translateX(6px);
  box-shadow: 0 4px 14px rgba(10, 75, 143, 0.22);
}

.m-layer-row {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.m-layer-row:hover,
.m-layer-row.active {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------------------------------
   8. FULLSCREEN LIGHTBOX GALLERY MODAL (galerie-dulap.png)
   -------------------------------------------------------------------------- */
.amb-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 15, 17, 0.92);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  color: #ffffff;
}

.amb-lightbox-backdrop.show {
  display: flex;
  animation: fadeLightbox 0.2s ease;
}

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

.lightbox-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
}

.lightbox-circle-btn:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

.lightbox-circle-btn.close-white {
  background-color: #ffffff;
  color: var(--amb-dark);
  border-color: #ffffff;
}

.lightbox-main-stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 0.75rem 3.5rem;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease;
}

.lightbox-main-img.zoomed {
  transform: scale(1.45);
  cursor: zoom-out;
}

.lightbox-thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  opacity: 0.55;
  cursor: pointer;
  background: transparent;
}

.lightbox-thumb-btn.active,
.lightbox-thumb-btn:hover {
  opacity: 1;
  border-color: #ffffff;
}

.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   9. STORE CARDS, ACCORDION & INTERACTIVE MAP (magazine.html & index.html)
   -------------------------------------------------------------------------- */
.showroom-card {
  background-color: #ffffff;
  border: 1px solid var(--amb-border);
  border-radius: 18px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.badge-showroom-red {
  background-color: var(--amb-red);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

.badge-mall-outline {
  background-color: #ffffff;
  color: var(--amb-dark);
  border: 1px solid var(--amb-border);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

.badge-partner {
  background-color: var(--amb-clay-soft);
  color: var(--amb-clay);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

.btn-phone-dark {
  background-color: var(--amb-dark);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50rem;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-phone-dark:hover {
  background-color: #3f3f46;
  color: #ffffff;
}

.btn-directions {
  background-color: #ffffff;
  color: var(--amb-dark);
  border: 1px solid var(--amb-border);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50rem;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-directions:hover {
  border-color: var(--amb-dark);
  color: var(--amb-dark);
}

/* Partner Counties Accordion */
.county-accordion-item {
  border: none !important;
  background-color: transparent;
  margin-bottom: 0.6rem;
}

.county-accordion-btn {
  background-color: #ffffff !important;
  color: var(--amb-dark) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--amb-border) !important;
  border-radius: 50rem !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.county-accordion-btn:not(.collapsed) {
  border: 1.5px solid var(--amb-dark) !important;
}

.county-accordion-btn::after {
  margin-left: 0.75rem;
  background-size: 0.85rem;
}

.county-count-label {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--amb-muted);
  margin-left: auto;
}

/* Interactive Map */
.amb-map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  min-height: 360px;
  background-color: #f3f0ea;
  border: 1px solid var(--amb-border);
  border-radius: 20px;
  overflow: hidden;
}

.amb-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.amb-map-neighbor {
  fill: #ebe6dc;
  stroke: #d6cfc2;
  stroke-width: 0.75;
  stroke-linejoin: round;
}

.amb-map-romania-base {
  fill: #ffffff;
  filter: drop-shadow(0 3px 8px rgba(25, 20, 17, 0.14));
}

.amb-map-counties {
  fill: none;
  stroke: #e4e4e7;
  stroke-width: 0.75;
  stroke-linejoin: round;
}

.amb-map-romania-border {
  fill: none;
  stroke: #71717a;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.amb-map-country-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #71717a;
  white-space: nowrap;
  pointer-events: none;
}

.amb-map-sea-label {
  font-size: 0.78rem;
  color: #2563eb;
}

.amb-pin-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: opacity 0.2s ease;
}

.amb-pin-wrap.is-showroom {
  z-index: 12;
}

.amb-pin-wrap.is-dimmed {
  opacity: 0.2;
  pointer-events: none;
}

.amb-pin {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.amb-pin-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #ffffff, 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
}

.amb-pin-badge--red {
  background-color: var(--amb-red);
  border-radius: 50%;
  font-size: 0.8rem;
}

.amb-pin-badge--dark {
  background-color: var(--amb-dark);
  border-radius: 50%;
  font-size: 0.8rem;
}

.amb-pin-badge--clay {
  background-color: var(--amb-clay);
  border-radius: 7px;
  font-size: 0.74rem;
}

.amb-pin:hover .amb-pin-badge,
.amb-pin[aria-pressed="true"] .amb-pin-badge {
  transform: scale(1.18);
  box-shadow: 0 0 0 3px var(--amb-dark), 0 6px 16px rgba(0, 0, 0, 0.25);
}

.amb-pin-city-tag {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 8px;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amb-dark);
  white-space: nowrap;
  pointer-events: none;
}

.amb-pin-city-tag--left { right: 38px; }
.amb-pin-city-tag--right { left: 38px; }

.amb-map-drawer {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(390px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow-y: auto;
  background-color: #ffffff;
  border: 1px solid var(--amb-border);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  z-index: 25;
}

.amb-legend-dot {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #ffffff, 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   10. NEWSLETTER & FOOTER
   -------------------------------------------------------------------------- */
.amb-footer-shell {
  background-color: var(--amb-surface);
  border-top: 1px solid var(--amb-border);
}

.newsletter-input-pill {
  border: 1px solid var(--amb-border);
  border-radius: 50rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.86rem;
  background-color: #ffffff;
}

.newsletter-input-pill:focus {
  border-color: var(--amb-dark);
  box-shadow: none;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amb-dark);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--amb-border);
  margin-bottom: 0.85rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 0.45rem;
}

.footer-links-list a {
  color: #52525b;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-links-list a:hover {
  color: var(--amb-red);
}

.social-circle-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--amb-border);
  background-color: #ffffff;
  color: var(--amb-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
}

.social-circle-link:hover {
  border-color: var(--amb-dark);
  color: var(--amb-red);
}

.footer-country-btn {
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 50rem;
  padding: 3px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amb-dark);
  cursor: pointer;
}

.footer-country-btn.active {
  border-color: var(--amb-red);
  color: var(--amb-dark);
  background-color: #ffffff;
}

@media (max-width: 767.98px) {
  .amb-map-wrapper {
    aspect-ratio: 1.35 / 1;
    min-height: 290px;
  }
  .amb-pin-city-tag {
    display: none;
  }
  .amb-map-drawer {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 0.75rem;
  }
}
