/* LuxInterior — egységes útkövetés (morzsa) minden aloldalon */

.lux-breadcrumb-bar {
  position: relative;
  z-index: 2;
  padding: 10px 0 0;
}

body.page-service-detail .lux-breadcrumb-bar {
  background: #eef2f7;
  padding-bottom: 4px;
}

.lux-breadcrumb-bar__inner {
  width: min(1220px, calc(100% - 36px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  margin-inline: auto;
}

.lux-breadcrumb,
.sd-breadcrumb,
.spl-breadcrumb,
.pl-breadcrumb {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  font-family: var(--font-urbanist), Urbanist, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lux-breadcrumb__trail {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

.lux-breadcrumb__part {
  display: inline-flex;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  flex-shrink: 0;
}

.lux-breadcrumb a,
.sd-breadcrumb a,
.spl-breadcrumb a,
.pl-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.lux-breadcrumb a:hover,
.sd-breadcrumb a:hover,
.spl-breadcrumb a:hover,
.pl-breadcrumb a:hover {
  color: #2563eb;
}

.lux-breadcrumb__sep,
.sd-breadcrumb__sep,
.spl-breadcrumb__sep,
.pl-breadcrumb__sep {
  color: rgba(15, 23, 42, 0.2);
  flex-shrink: 0;
}

.lux-breadcrumb__sep--between {
  flex-shrink: 0;
}

.lux-breadcrumb__here,
.sd-breadcrumb__here,
.spl-breadcrumb__here,
.pl-breadcrumb__here {
  color: #0f172a;
  min-width: 0;
  max-width: min(16rem, 38vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Szolgáltatás részlet: a cím a h1-ben van — morzsában soha ne ismétlődjön */
body.page-service-detail .lux-breadcrumb__sep--between,
body.page-service-detail .lux-breadcrumb__here {
  display: none;
}

body.page-service-detail .lux-breadcrumb {
  padding: 5px 11px;
  font-size: 0.6rem;
}

@media (max-width: 1279px) {
  body.page-service-detail .lux-breadcrumb-bar {
    padding: 6px 0 2px;
  }
}

/* Laptop / MacBook ablak: kompakt egy sor, rövidítés */
@media (max-width: 1279px) {
  .lux-breadcrumb-bar__inner {
    width: min(1220px, calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }

  .lux-breadcrumb__here,
  .sd-breadcrumb__here,
  .spl-breadcrumb__here,
  .pl-breadcrumb__here {
    max-width: min(12rem, 34vw);
  }
}

/* Csak keskeny telefon: több sor (blog, egyéb aloldal) */
@media (max-width: 539px) {
  .lux-breadcrumb-bar {
    padding-top: 8px;
  }

  .lux-breadcrumb-bar__inner {
    width: min(1220px, calc(100% - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }

  body:not(.page-service-detail) .lux-breadcrumb,
  body:not(.page-service-detail) .sd-breadcrumb,
  body:not(.page-service-detail) .spl-breadcrumb,
  body:not(.page-service-detail) .pl-breadcrumb {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  body:not(.page-service-detail) .lux-breadcrumb__trail {
    display: flex;
    flex-wrap: wrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.6rem;
    font-weight: 800;
  }

  body:not(.page-service-detail) .lux-breadcrumb__sep--between {
    display: none;
  }

  body:not(.page-service-detail) .lux-breadcrumb__here,
  body:not(.page-service-detail) .sd-breadcrumb__here,
  body:not(.page-service-detail) .spl-breadcrumb__here,
  body:not(.page-service-detail) .pl-breadcrumb__here {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-transform: none;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
