html {
  scroll-behavior: smooth;
}

.svg-container a.svg-link polygon,
.svg-container a.svg-link polyline,
.svg-container a.svg-link rect,
.svg-container a.svg-link path {
  opacity: 0;
  fill: #007362;
  transition: opacity 0.3s ease-in-out;
}

.svg-container a.svg-link:hover polygon,
.svg-container a.svg-link:hover polyline,
.svg-container a.svg-link:hover rect,
.svg-container a.svg-link:hover path {
  opacity: 0.7 !important;
}

/* Floor plan: hovering an "Apartamentet e disponueshme" card highlights only the matching unit SVG */
.svg-container a.svg-link.ue-card-highlight polygon,
.svg-container a.svg-link.ue-card-highlight polyline,
.svg-container a.svg-link.ue-card-highlight rect,
.svg-container a.svg-link.ue-card-highlight path {
  opacity: 0.7 !important;
}

.svg-container a.svg-link.ue-card-highlight text {
  opacity: 1;
}

.svg-container a.svg-link {
  text-decoration: none;
  outline: 0;
}

.svg-container a.svg-link text {
  fill: white;
  opacity: 0;
}

.svg-container a.svg-link:hover text {
  opacity: 1;
}

.svg-container a.svg-link.sold {
  pointer-events: none;
}

/* Type filter (e.g. 1+1): other types stay on the plan but are not clickable */
.svg-container a.svg-link.ue-type-filter-excluded {
  pointer-events: none;
  cursor: default;
}

.svg-container a.svg-link.ue-type-filter-excluded:not(.sold) polygon,
.svg-container a.svg-link.ue-type-filter-excluded:not(.sold) polyline,
.svg-container a.svg-link.ue-type-filter-excluded:not(.sold) rect,
.svg-container a.svg-link.ue-type-filter-excluded:not(.sold) path {
  fill: #e9e3d2 !important;
  opacity: 0.8 !important;
  stroke: transparent !important;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

#tippy-1 {
  text-align: center !important;
}

/* Optional: Tooltip visibility */
.tooltip {
  visibility: visible;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 9999;
}

.single-unit-container .single-unit-wrapper {
  display: flex;
  margin: 80px 0;
}

.single-unit-container .single-unit-wrapper .unit-left {
  flex: 0 0 45%;
  width: 55%;
}

.single-unit-container .single-unit-wrapper .unit-right {
  flex: 0 0 55%;
  width: 55%;
}

.features-card .icon-card img {
  width: 20px;
  height: 20px;
}

.features-card .field-label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.features-card .card-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 49%;
}

.features-card .card-inner .icon-card {
  display: flex;
  align-items: center;
}

.floor-wrapper .seach-wrapper-units {
  margin-bottom: 50px;
}

.svg-container-inner,
.floor-wrapper {
  max-width: 1320px;
  margin: 0 auto;
}

.single-unit-wrapper .featured-image img {
  height: 500px;
  width: 100%;
  object-fit: contain;
}

.unit-orientation.field-label {
  text-transform: capitalize;
}

.card-image .featured-image img {
  height: 300px;
  width: 100%;
  object-fit: contain;
}

.units-cards {
  margin-top: 50px;
  row-gap: 30px !important;
}

.units-cards .single-card a.single-card-wrapper:hover .title-card {
  color: #333 !important;
}

.units-cards .content-description .title-card {
  transition: 0.3s ease-in-out;
  font-weight: 500;
  color: #bd9773 !important;
}

/* Modern Unit Search Form */
.ue-unit-search {
  --ue-border: rgba(17, 24, 39, 0.12);
  --ue-text: #111827;
  --ue-muted: rgba(17, 24, 39, 0.65);
  --ue-bg: #ffffff;
  --ue-accent: #eae3d2;
  --ue-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);

  background: var(--ue-bg);
  border: 1px solid var(--ue-border);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: var(--ue-shadow);
}

.ue-unit-search__title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.25;
  color: var(--ue-text);
  font-weight: 600;
}

.ue-unit-search__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ue-unit-search__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ue-unit-search__label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ue-muted);
  font-weight: 600;
}

.ue-unit-search__input,
.ue-unit-search select:not(.select2-hidden-accessible) {
  width: 100% !important;
  height: 42px;
  border-radius: 12px !important;
  border: 1px solid var(--ue-border);
  padding: 10px 12px !important;
  background: #fff;
  color: var(--ue-text);
  outline: none;
}

.ue-unit-search__input:focus,
.ue-unit-search select:focus {
  border-color: #b98b46;
  box-shadow: 0 0 0 4px rgba(76, 155, 138, 0.14);
}

.ue-unit-search__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

.ue-unit-search__submit {
  color: #ffffff !important;
  border: none !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, transform 0.1s ease !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #999474 !important;
}

.ue-unit-search__submit:hover {
  transform: translateY(-1px);
}

.ue-unit-search__reset {
  color: var(--ue-muted);
  font-weight: 600;
  text-decoration: none;
}

.ue-unit-search__reset:hover {
  color: var(--ue-text);
  text-decoration: underline;
}

/* Select2 styling to match */
.ue-unit-search .select2-container--default .select2-selection--single {
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--ue-border);
}
.ue-unit-search
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 40px;
  padding-left: 12px;
  color: var(--ue-text);
}
.ue-unit-search
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 40px;
  right: 10px;
}
.ue-unit-search
  .select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: rgba(76, 155, 138, 0.65);
  box-shadow: 0 0 0 4px rgba(76, 155, 138, 0.14);
}
.ue-unit-search .select2-dropdown {
  border-radius: 12px;
  border: 1px solid var(--ue-border);
  overflow: hidden;
}

button.hero-search-trigger svg {
  width: 30px;
  height: 30px;
}

.ue-unit-search__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.ue-unit-search__submit:hover {
  background-color: #b98b46;
}

.ue-unit-search__submit:active {
  transform: translateY(1px);
}

.ue-unit-search__reset {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f7f7f7;
  transition: all 0.3s ease;
}

.ue-unit-search__reset:hover {
  background-color: #eee;
  color: #333;
  border-color: #ccc;
}

.ue-unit-search__submit:focus,
.ue-unit-search__reset:focus {
  outline: 2px solid #b98b46;
  outline-offset: 2px;
}

/* Grid Setup */
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
  font-family: "Montserrat", Sans-serif;
}

/* Main Card */
.unit-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  border: 1px solid #f0f0f0;
}

.unit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Image & Badge */
.unit-card__image-wrapper {
  position: relative;
  height: 300px;
  background: #ffffff;
  overflow: hidden;
}

.unit-card__image-wrapper img {
  height: 280px;
  object-fit: cover;
}

.unit-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.unit-card__price-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #999474 !important;
  color: #fff;
  padding: 7px 15px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 12px;
}

/* Content */
.unit-card__content {
  padding: 20px;
}

.unit-card__title {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  font-weight: 700;
}

.unit-card__type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 20px;
}

/* Feature Grid */
.unit-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

.units-grid .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.units-grid .feature-item img {
  width: 16px;
  height: 16px;
  filter: grayscale(1);
  opacity: 0.6;
}

.units-grid .feature-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
}

/* Footer Link */
.unit-card__footer {
  padding: 15px 20px;
  background: #f9f9f9;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  color: #999474 !important;
  /* -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; */
}

.unit-card__link {
  text-decoration: none !important;
  color: inherit;
}

.pagination {
  text-align: center;
  margin: 30px 20px !important;
  justify-content: flex-start !important;
}

.pagination .page-numbers {
  padding: 10px 18px;
  margin: 0 4px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #221f1a;
  text-decoration: none;
  transition: 0.3s;
}

.pagination .page-numbers.current {
  background: #221f1a;
  color: #fff;
  border-color: #221f1a;
}

.pagination .page-numbers:hover:not(.current) {
  background: #f0f0f0;
}

.single-unit-container {
  max-width: 1320px;
  padding: 0 20px;
  /* margin-top: 200px; */
  width: 100%;
  font-family: "Montserrat", Sans-serif;
}

.single-unit-wrapper {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr !important;
  gap: 50px !important;
}

.unit-right {
  order: 1;
}

.unit-right .featured-image img {
  width: 100%;
  /* height: 75vh; */
  max-height: 800px;
  object-fit: cover;
  border-radius: 24px;
}

.unit-left {
  display: flex;
  flex-direction: column;
}

.unit-left .title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -1.5px;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.1;
}

.unit-left .price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
  background: #f0f0f0;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 50px;
}

.details-app .inner-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #888;
  margin-bottom: 20px;
  border: none;
}

.unit-left .field-label {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 1.15rem;
  color: #333;
  background: transparent;
  margin: 0;
  border-left: none;
  transition: padding-left 0.3s ease;
}

.unit-left .field-label:hover {
  padding-left: 10px;
  background: transparent;
  color: #000;
}

.unit-left .field-label a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
}

.unit-left .field-label a:hover {
  color: #666;
}

.pdf-document {
  margin-top: 50px;
}

.pdf-document a.elementor-button {
  display: block;
  text-align: center;
  background: transparent;
  color: #111;
  border: 2px solid #111;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pdf-document a.elementor-button:hover {
  background: #111;
  color: #fff;
}

.single-unit-container .single-unit-wrapper .unit-left {
  width: 100%;
}

.single-unit-container .single-unit-wrapper .unit-right {
  width: 100%;
}

.unit-back {
  margin-bottom: 25px;
  display: block;
}

.unit-back-link {
  text-decoration: none !important;
  color: #888;
  font-size: 0.95rem;
  font-weight: 600;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.unit-back-link:hover {
  color: #111;
  transform: translateX(-5px);
}

.unit-navigator-no-results {
  padding: 2rem;
  text-align: center;
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  font-size: 1.1rem;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.unit-navigator-no-results p {
  margin: 0;
}

/* =========================
   BASE LAYOUT
========================= */

.custom-taxonomy-object {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* =========================
 HERO SECTION (you already have markup)
========================= */

.page-hero {
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  color: #fff;
  position: relative;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Breadcrumb */
/* .breadcrumb {
  opacity: 0.8;
  font-size: 14px;
} */

/* =========================
 MAIN TITLE AREA
========================= */

.custom-taxonomy-object > h1 {
  font-weight: 700;
  text-align: center;
}

.custom-taxonomy-object > h4 {
  text-align: center;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 30px;
}

.svg-container-inner svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-link polygon,
.svg-link path {
  fill: rgba(59, 130, 246, 0.22);
  stroke: #3b82f6;
  stroke-width: 1.2;
  transition: all 0.25s ease;
  cursor: pointer;
}

.svg-link:hover polygon,
.svg-link:hover path {
  fill: rgba(59, 130, 246, 0.65);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.svg-link.ue-card-highlight polygon,
.svg-link.ue-card-highlight path {
  fill: rgba(59, 130, 246, 0.65);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.svg-link {
  transition: transform 0.2s ease;
  transform-origin: center;
}

.svg-link.sold polygon,
.svg-link.sold path {
  fill: rgba(148, 163, 184, 0.35);
  stroke: #94a3b8;
  cursor: not-allowed;
}

.svg-link.ue-type-filter-excluded:not(.sold) polygon,
.svg-link.ue-type-filter-excluded:not(.sold) path {
  fill: rgba(148, 163, 184, 0.35);
  stroke: #cbd5e1;
  cursor: default;
}

.seach-wrapper-units {
  color: #fff;
}

.page-hero {
  margin-bottom: 0;
}

.navigator-header {
  text-align: center;
  margin-bottom: 40px;
}
.entrance-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-bottom: 5px;
}
.display-title {
  font-weight: 700;
  font-size: 2.5rem;
  color: #222;
  margin: 0;
}
.selection-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}
.selection-guide .line {
  height: 1px;
  background: #ddd;
  flex-grow: 0;
  width: 50px;
}
.guide-text {
  font-size: 20px;
  color: #222222;
  margin: 0;
  font-weight: 500;
  font-style: italic;
}

.entrance-hero {
  height: 300px !important;
}

.no-results-container {
  text-align: center;
  padding: 40px 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed #e5e7eb;
  margin: 50px 0;
  font-family: "Montserrat", Sans-serif;
}

.icon-circle {
  background: #f3f4f6;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #9ca3af;
}

.no-results-container h3 {
  color: #111827;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.no-results-container p {
  color: #6b7280;
  font-size: 0.9rem;
}

.single-unit-container.area-svg {
  max-width: 100%;
  padding: 0;
}

.tippy-box[data-theme~="custom"] {
  background: #999474 !important;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tippy-box[data-theme~="custom"] .tippy-arrow {
  color: #999474;
}

.seach-wrapper-units {
  width: 100%;
  overflow: hidden;
}

.single-area .navigator-header {
  padding-top: 50px;
}

html a.svg-link.ue-type-filter-excluded polygon {
  fill: #e9e3d2 !important;
  opacity: 0.8 !important;
  stroke: transparent !important;
}

html a.svg-link.ue-type-filter-excluded:hover polygon {
  opacity: 1 !important;
  filter: none !important;
}

@media screen and (max-width: 1024px) {
  .single-unit-wrapper {
    gap: 40px;
  }

  .unit-left .title {
    font-size: 2.8rem;
  }
  .ue-unit-search__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-hero {
    margin-bottom: 30px;
  }

  .units-grid {
    width: 100%;
    padding: 0 20px;
  }

  .unit-card__image-wrapper img {
    object-fit: cover;
  }

  .single-unit-container .single-unit-wrapper {
    margin-top: 0;
  }

  .single-unit-container {
    width: 100%;
    max-width: 100%;
  }

  .single-unit-wrapper {
    grid-template-columns: 1fr !important;
  }

  .page-hero {
    margin-bottom: 30px !important;
  }

  .single-unit-container .single-unit-wrapper {
    margin-bottom: 50px;
  }
  /* 
  html .ue-unit-search select {
    width: auto !important;
  } */
}

@media (max-width: 768px) {
  .ue-unit-search__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ue-unit-search__actions {
    justify-content: stretch;
  }
  .ue-unit-search__submit {
    width: 100%;
  }
  .single-unit-wrapper .featured-image img {
    height: auto;
  }

  .features-card .card-inner {
    width: 100%;
  }

  .ue-unit-search__actions {
    flex-direction: column;
    width: 100%;
  }

  .ue-unit-search__submit,
  .ue-unit-search__reset {
    width: 100% !important;
    text-align: center;
  }
  .single-unit-wrapper {
    grid-template-columns: 1fr;
  }

  .unit-right .featured-image img {
    height: 50vh;
    border-radius: 16px;
  }

  .unit-left .title {
    font-size: 2.2rem;
    margin-top: 20px;
  }

  .unit-left .price {
    margin-bottom: 30px;
  }

  .page-title {
    font-size: 28px;
    text-align: center;
  }

  .custom-taxonomy-object > h1 {
    font-size: 24px;
  }

  .svg-container-inner {
    padding: 15px;
    border-radius: 14px;
  }

  .seach-wrapper-units {
    padding: 15px;
  }

  .single-area .navigator-header {
    padding-top: 50px;
  }

  .single-area .navigator-header h1.display-title {
    font-size: 1.5rem;
  }

  .page-hero {
    height: 150px !important;
    padding: 0 !important;
  }

  .display-title {
    font-size: 1.5rem;
  }

  .page-hero {
    margin-bottom: 0 !important;
  }

  .single-unit-container {
    margin-top: 0px;
  }

  .breadcrumb {
    margin: 0;
  }

  p#breadcrumbs {
    margin: 0;
  }
}

/* =========================
   PREMIUM NAVIGATOR (Steps 02, 03, 04)
========================= */

.ue-step-navigator {
  margin: 40px auto;
  max-width: 900px;
}

.ue-step__crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  padding: 0 20px;
}

.ue-step__crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a3a3a3;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid transparent;
}

.ue-step__crumb-num {
  width: 26px;
  height: 26px;
  background: #f0f0f0;
  color: #737373;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  transition: all 0.3s ease;
}

.ue-step__crumb.is-current {
  color: #1a1a1a;
  background: #fff;
  border-color: #e5e5e5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.ue-step__crumb.is-current .ue-step__crumb-num {
  background: #999474;
  color: #fff;
}

.ue-step__crumb-divider {
  height: 1px;
  width: 30px;
  background: #e5e5e5;
  flex-shrink: 0;
}

.ue-available-units__btn:hover {
  background: #221f1a;
  color: white !important;
}

/* Floor plan (floor-object): compact legend above SVG */
#ue-floor-plan.floor-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ue-floor-plan__legend {
  width: fit-content;
  max-width: min(380px, 100%);
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5dfd2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: "Montserrat", Sans-serif;
  position: absolute;
}

.ue-floor-plan__legend-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1f1b16;
  margin: 0 0 6px;
  opacity: 0.85;
}

.ue-floor-plan__legend-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ue-floor-plan__legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: #3b332a;
}

.ue-floor-plan__swatch {
  flex: 0 0 auto;
  width: 18px;
  height: 11px;
  border-radius: 2px;
  border-width: 1px;
  border-style: solid;
  box-sizing: border-box;
}

.ue-floor-plan__swatch--available {
  background: #00736275;
  border-color: #00736275;
}

.ue-floor-plan__swatch--sold {
  background: #d82329;
  border-color: #b01b21;
}

.ue-floor-plan__swatch--excluded {
  background: #e9e3d2;
  border-color: #e9e3d2;
}

.ue-floor-plan__svg-wrap {
  width: 100%;
  line-height: 0;
}

.ue-floor-plan__svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

#ue-floor-plan.floor-wrapper {
  position: relative;
}

@media (max-width: 991px) {
  .ue-step__crumb-divider {
    width: 15px;
  }
  .ue-area-flow.container {
    padding: 0 20px;
    max-width: 100%;
  }

  .guide-text {
    font-size: 18px;
  }

  .ue-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .ue-cards .ue-card {
    border-radius: 15px;
    padding: 30px 20px;
  }

  .ue-cards .ue-card .ue-card__media {
    width: 90px;
    height: 90px;
  }

  .single-unit-container a.unit-back-link {
    margin-top: 30px;
  }

  .single-unit-container a.unit-back-link {
    margin-top: 30px;
  }

  .page-hero {
    background-position: center !important;
  }

  .ue-floor-plan__legend {
    position: relative;
    margin: 0 auto;
  }

  .ue-floor-plan__legend-row {
    font-size: 8px;
  }

  .ue-available-units__title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .ue-step__crumb-divider {
    display: none;
  }
  .ue-step__crumbs {
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
  }
  .ue-step__crumb-text {
    display: none;
  }
  .ue-step__crumb.is-current .ue-step__crumb-text {
    display: block;
  }
}

/* PREMIUM CARDS (Step 2 & 3) */
.ue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.ue-card {
  position: relative;
  background: #fff;
  border: 1px solid #d9d2c9;
  border-radius: 28px;
  padding: 40px 20px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.ue-card:hover {
  transform: translateY(-12px);
  border-color: #999474;
  box-shadow: 0 25px 50px rgba(153, 148, 116, 0.15);
}

.ue-card.is-active {
  background: #fdfdfc;
  border-color: #999474;
  box-shadow: 0 10px 30px rgba(153, 148, 116, 0.08);
}

.ue-card__media {
  width: 110px;
  height: 110px;
  background: #f8f7f2;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.ue-card:hover .ue-card__media {
  background: #989475;
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.ue-card:hover .ue-card__media .ue-card__fallback {
  color: white;
  opacity: 1;
}

.ue-card__media img {
  max-width: 65px;
  max-height: 65px;
  object-fit: contain;
}

.ue-card__fallback {
  font-size: 28px;
  font-weight: 800;
  color: #999474;
  opacity: 0.4;
}

.ue-card__body {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 !important;
}

.ue-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.5px;
}

.ue-card__chev {
  width: 44px;
  height: 44px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999474;
  font-size: 20px;
  transition: all 0.4s ease;
  transform: translateY(15px);
}

span.ue-card__chev svg {
  height: 25px;
  width: 25px;
}

.ue-card:hover .ue-card__chev {
  opacity: 1;
  transform: translateY(0);
  background: #999474;
  color: #fff;
}

/* PREMIUM BACK BUTTONS (Steps 2, 3, 4) */
.ue-step__actions {
  margin: 50px 0 50px 0;
  display: flex;
  justify-content: center;
}

.ue-step__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #eae3d2;
  border: 1px solid #e5e5e5;
  color: #1f1b16;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.ue-step__back:hover {
  background: #221f1a;
  color: #fff !important;
  border-color: #221f1a;
  transform: translateX(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.ue-step__back svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
}

.ue-step__back:hover svg {
  transform: translateX(-4px);
}

/* Step 04: Available apartments list under planimetry */
.ue-available-units {
  margin: 40px 0 0;
  font-family: "Montserrat", Sans-serif;
}
.ue-available-units__title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 18px;
  color: #222;
}
.ue-available-units__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 768px) {
  .ue-available-units__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .ue-available-units__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ue-available-units__card {
  border: 1px solid #e5dfd2;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
}
.ue-available-units__name {
  font-size: 16px;
  font-weight: 800;
  color: #1f1b16;
  margin-bottom: 10px;
}
.ue-available-units__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ue-available-units__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f7f5ef;
  border: 1px solid #efe9dc;
  font-weight: 700;
  font-size: 13px;
  color: #3b332a;
}
.ue-available-units__actions {
  display: flex;
  justify-content: flex-start;
}
.ue-available-units__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #eae3d2;
  border: 1px solid #e5e5e5;
  color: #1f1b16 !important;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.ue-available-units__btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
