/* ===== Basis – Booking.com × eBay Mietbörse ===== */
:root {
  --yor-primary: #003580;       /* Booking: Header / Markenfarbe */
  --yor-primary-hover: #00224f;
  --yor-primary-light: #ebf3ff;
  --yor-accent: #0071c2;        /* Booking: Primär-CTA */
  --yor-accent-dark: #005999;
  --yor-booking-yellow: #febb02;
  --yor-ebay-link: #3665f3;     /* eBay: Titel-Links */
  --yor-ebay-link-hover: #0045b3;
  --yor-ebay-green: #008a00;    /* eBay: „Mehr“ / Ersparnis */
  --yor-text: #1a1a1a;
  --yor-text-muted: #767676;
  --yor-bg: #f5f5f5;
  --yor-border: #e5e5e5;
  --yor-white: #ffffff;
  --yor-card-radius: 8px;
  --yor-card-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  --yor-card-shadow-hover: 0 4px 14px rgba(0, 0, 0, 0.12);
  --yor-layout-max: 1280px;
  --yor-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 53, 128, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-content {
  text-align: center;
  color: #fff;
}

.loading-spinner {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: #febb02;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  animation: bounce 0.6s ease-in-out infinite alternate;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(-50%, -50%) scale(1.2); }
}

.loading-text {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 8px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-subtext {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ===== ITEM DESCRIPTION (WYSIWYG Content) ===== */
.item-description {
  line-height: 1.7;
  color: var(--yor-text);
}
.item-description p {
  margin-bottom: 0.75em;
}
.item-description ul, .item-description ol {
  margin: 0.5em 0 0.5em 1.5em;
  padding: 0;
}
.item-description li {
  margin-bottom: 0.3em;
}
.item-description a {
  color: var(--yor-primary);
  text-decoration: underline;
}
.item-description a:hover {
  color: var(--yor-accent);
}
.item-description strong, .item-description b {
  font-weight: 600;
}
.item-description em, .item-description i {
  font-style: italic;
}

body {
  font-family: var(--yor-font);
  margin: 0;
  padding: 0;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  background: var(--yor-bg);
  color: var(--yor-text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--yor-layout-max);
  margin: 0 auto;
  padding: 16px 20px 32px;
}

main.container h1,
main.container h2 {
  color: var(--yor-text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

main.container h2 {
  font-size: 1.35rem;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yor-border);
}

/* alte Topbar-Variante – bleibt drin, falls irgendwo noch genutzt */
.topbar {
  background: var(--yor-primary);
  color: #fff;
  padding: 14px;
  font-size: 24px;
}
.topbar a {
  color: #fff;
  text-decoration: none;
}

/* ===================================================== */
/* ============   HEADER / SUCHE / NAV   =============== */
/* ===================================================== */

.yor-header {
  background: var(--yor-primary);
  margin-bottom: 0;
}

/* == TOP BAR (Logo + Nav) == */
.yor-header__top {
  background: var(--yor-primary);
  padding: 12px 0;
}
.yor-header__top-inner {
  max-width: var(--yor-layout-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.yor-header__spacer {
  flex: 1;
}

/* Logo auf dunklem Hintergrund */
.yor-header .logo__text,
.yor-header .logo__text span {
  color: #fff;
}
.yor-header .logo__icon {
  background: #fff;
}
.yor-header .logo__a {
  color: var(--yor-primary);
}

.yor-toggle-cats {
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  font-size: 0.9rem;
}
.yor-toggle-cats:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Nav */
.yor-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.yor-nav__link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}
.yor-nav__link:hover {
  color: rgba(255,255,255,0.8);
}
.yor-nav__btn {
  background: #fff;
  color: var(--yor-primary);
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.yor-nav__btn:hover {
  background: #f0f0f0;
  color: var(--yor-primary);
}

/* Sprachauswahl (Dropdown, aktuelle Sprache sichtbar) */
.yor-lang-dropdown {
  position: relative;
  flex-shrink: 0;
  margin-right: 8px;
}
.yor-lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1.2;
}
.yor-lang-dropdown__trigger::-webkit-details-marker {
  display: none;
}
.yor-lang-dropdown__trigger::marker {
  content: '';
}
.yor-lang-dropdown__trigger:hover,
.yor-lang-dropdown[open] .yor-lang-dropdown__trigger {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}
.yor-lang-dropdown__flag-img {
  width: 22px;
  height: 16px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  display: block;
}
.yor-lang-dropdown__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.yor-lang-dropdown__name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.yor-lang-dropdown__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.9);
  margin-left: 2px;
  transition: transform 0.15s ease;
}
.yor-lang-dropdown[open] .yor-lang-dropdown__caret {
  transform: rotate(180deg);
}
.yor-lang-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  max-width: min(280px, 92vw);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  z-index: 1100;
}
.yor-lang-dropdown[open] .yor-lang-dropdown__menu {
  display: block;
}
.yor-lang-dropdown__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.yor-lang-dropdown__option:hover {
  background: #f5f5f5;
  color: var(--yor-primary);
}
.yor-lang-dropdown__option.is-active {
  background: #e7f3ff;
  color: var(--yor-primary);
  font-weight: 600;
}
.yor-lang-dropdown__check {
  font-size: 0.85rem;
  color: var(--yor-primary);
}

/* Admin FAQ: viele Sprach-Tabs horizontal scrollen */
.yor-faq-i18n-tabs-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  padding-bottom: 4px;
}
.yor-faq-i18n-tabs-wrap .nav-tabs {
  flex-wrap: nowrap;
  white-space: nowrap;
  border-bottom: 1px solid #dee2e6;
}
.yor-faq-i18n-tabs-wrap .nav-link {
  font-size: 0.82rem;
  padding: 0.45rem 0.75rem;
}

/* User Dropdown */
.yor-user {
  position: relative;
}
.yor-user__name {
  max-width: 10.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 640px) {
  .yor-user__name { max-width: 7.5rem; }
}
.yor-user__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 0.9rem;
  color: #fff;
  cursor: pointer;
}
.yor-user__trigger:hover {
  background: rgba(255,255,255,0.25);
}
.yor-user__badge {
  background: #dc3545;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
}
.yor-user__menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  z-index: 1000;
}
.yor-user:hover .yor-user__menu {
  display: block;
}
.yor-user__menu li a {
  display: block;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}
.yor-user__menu li a:hover {
  background: #f5f5f5;
  color: var(--yor-primary);
}
.yor-user__label {
  padding: 10px 18px 6px;
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
}
.yor-user__separator {
  height: 1px;
  background: #eee;
  margin: 8px 0;
}
.yor-menu-badge {
  background: var(--yor-primary);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
}

/* == SEARCH BAR == */
.yor-header__search {
  background: var(--yor-primary);
  padding: 0 0 20px;
}
.yor-header__search-inner {
  max-width: var(--yor-layout-max);
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  display: flex;
  justify-content: center;
}

.yor-searchbar {
  background: #febb02;
  border-radius: 10px;
  padding: 5px;
  width: 100%;
  max-width: min(1180px, 100%);
}
.yor-searchbar__fields {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  overflow: visible;
}
.yor-searchbar__field {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 2px solid #febb02;
  background: #fff;
}
.yor-searchbar__field:last-of-type {
  border-right: none;
}
.yor-searchbar__icon {
  font-size: 1.1rem;
  margin-right: 10px;
  opacity: 0.7;
}
.yor-searchbar__field input[type="text"] {
  border: none;
  padding: 16px 0;
  font-size: 1rem;
  background: transparent;
  outline: none;
  min-width: 0;
}
.yor-searchbar__field select {
  border: none;
  padding: 16px 4px;
  font-size: 0.95rem;
  background: transparent;
  outline: none;
  cursor: pointer;
}

.yor-searchbar__field--query {
  flex: 2;
  min-width: 200px;
  position: relative;
}
.yor-searchbar__field--query input {
  width: 100%;
}
.yor-searchbar__field--location {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  overflow: visible;
}
.yor-searchbar__field--location .yor-searchbar__icon {
  margin-right: 0;
  flex: 0 0 auto;
}
.yor-searchbar__field--location select[name="country"] {
  flex: 0 1 112px;
  width: auto;
  min-width: 0;
  max-width: 112px;
  font-weight: 600;
}
.yor-searchbar__field--location input[name="plz"] {
  flex: 0 0 auto;
  width: 72px;
  min-width: 0;
}
.yor-searchbar__field--location select[name="radius"],
.yor-searchbar__field--location #radiusSelect {
  flex: 0 0 auto;
  width: auto;
  min-width: 72px;
}
.yor-searchbar__field--date {
  flex: 1;
  min-width: 150px;
}
.yor-searchbar__field--date input {
  width: 100%;
  cursor: pointer;
}
.yor-searchbar__calendar-btn {
  background: none;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0 6px;
  color: #666;
}

.yor-searchbar__submit {
  background: #0071c2;
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0 6px 6px 0;
}
.yor-searchbar__submit:hover {
  background: #005999;
}

.yor-searchbar__options {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 12px 12px 6px;
}
.yor-searchbar__check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 0.95rem;
  cursor: pointer;
}
.yor-searchbar__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0071c2;
}

/* Responsive */
@media (max-width: 900px) {
  .yor-searchbar__fields {
    flex-wrap: wrap;
  }
  .yor-searchbar__field--query {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  .yor-searchbar__submit {
    flex: 1 1 100%;
    border-radius: 0 0 6px 6px;
  }
}

@media (max-width: 600px) {
  .yor-header__top-inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .yor-header__spacer {
    display: none;
  }
  .yor-lang-dropdown {
    order: 2;
    margin-left: auto;
    margin-right: 0;
  }
  .yor-hamburger {
    order: 3;
  }
  .yor-nav {
    width: 100%;
    justify-content: flex-end;
    margin-top: 10px;
    order: 4;
  }
}

/* Logo */
.logo--a,
.logo--wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo--wordmark {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.logo--wordmark .logo__img {
  display: block;
  height: 24px;
  width: auto;
  max-width: min(101px, 25vw);
}
.logo__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--yor-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__a {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}
.logo__text {
  font-weight: 600;
  font-size: 1.15rem;
  color: #1F2933;
}
.logo__text span {
  color: var(--yor-primary);
}
.logo__slogan {
  display: block;
  margin: 0;
  color: #102331;
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.25;
  max-width: 12.5rem;
}

/* „Altrilo“ als Fallback-Logo */
.yor-logo {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
}
.yor-logo strong {
  color: var(--yor-primary);
}

/* Dark Header */
.yor-header--dark {
  background: var(--yor-primary);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo--on-dark {
  color: #fff;
}
.logo--on-dark .logo__text span {
  color: #fff;
}

/* Suche / Top-Search */
.top-search-wrap {
  position: relative;
  flex: 1 1 auto;
}

.yor-search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 14px;
  background: #f8fafc;
}

.yor-search--dark {
  background: rgba(255,255,255,.1);
}

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

.yor-search__row--main {
  flex-wrap: nowrap;
}

.yor-search__row--options {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,.08);
  justify-content: flex-start;
}

.yor-search__input-wrap {
  position: relative;
  flex: 1 1 auto;
}

.yor-search__plz-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.yor-search__plz {
  width: 80px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
  background-color: #ffffff;
}

.yor-search__radius {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
  background-color: #ffffff;
  cursor: pointer;
  min-width: 90px;
}

.yor-search__radius-custom {
  width: 60px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
  background-color: #ffffff;
}

.yor-search--dark .yor-search__plz,
.yor-search--dark .yor-search__radius,
.yor-search--dark .yor-search__radius-custom {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}

.yor-search--dark .yor-search__plz::placeholder,
.yor-search--dark .yor-search__radius-custom::placeholder {
  color: rgba(255,255,255,.65);
}

.yor-search__input-wrap input[type="text"],
.yor-search__input-wrap input[type="search"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
}

.yor-search--dark input {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}
.yor-search--dark input::placeholder {
  color: rgba(255,255,255,.65);
}

/* Autocomplete */
.suggest-box {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  z-index: 50;
}

/* Datumsfeld + Icon */
.yor-date-display-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.yor-date-display {
  width: 180px;
  max-width: 200px;
  padding: 8px 30px 8px 10px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
  background-color: #ffffff;
  cursor: pointer;
}

.yor-search__calendar-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6c757d !important;
  box-shadow: none !important;
}
.yor-search__calendar-btn:hover {
  color: #343a40;
}

/* Abholung / Versand */
.yor-search__options {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  white-space: nowrap;
  margin-left: 0;
}

/* Suche-Button */
.yor-search__submit {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--yor-primary);
  background: var(--yor-primary);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.yor-search__submit:hover {
  background: #095b6b;
}

/* Rechts-Navigation */
.yor-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.yor-nav__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.yor-nav a {
  text-decoration: none;
  color: #000;
}
.yor-nav--dark a {
  color: #fff;
}
.yor-nav__link--dark {
  color: #fff;
}

/* Mitteilungs-Badge */
.yor-messages-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  text-decoration: none;
  color: #000;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.yor-nav--dark .yor-messages-badge {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.yor-messages-badge:hover {
  background: #f8fafc;
  border-color: var(--yor-primary);
  transform: translateY(-1px);
}
.yor-nav--dark .yor-messages-badge:hover {
  background: rgba(255,255,255,.15);
}
.yor-messages-badge__icon {
  font-size: 1rem;
}
.yor-messages-badge__count {
  background: var(--yor-primary);
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

/* User-Dropdown rechts oben */
.yor-user { 
  position: relative; 
  display: inline-block;
}
.yor-user ul {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  list-style: none;
  padding: 4px 0;
  display: none;
  min-width: 180px;
  z-index: 1000;
}
.yor-user__label {
  padding: 6px 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #6c757d;
  pointer-events: none;
}
.yor-user__separator {
  margin: 4px 0;
  border-top: 1px solid #eee;
  height: 0;
}
.yor-user--admin > span::after {
  content: " (Admin)";
  font-size: 0.75rem;
  color: var(--yor-primary);
  margin-left: 2px;
}
.yor-user::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}
.yor-user:hover ul,
.yor-user:focus-within ul,
.yor-user.is-open ul {
  display: block;
}
.yor-user ul li a {
  display: block;
  padding: 6px 10px;
  color: #000;
}
.yor-user ul li a:hover {
  background: #f4f4f4;
}

/* Burger */
.yor-hamburger {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
}

/* ===================================================== */
/* === Kalender in der Suchleiste (Date-Range-Picker) === */
/* ===================================================== */

.yor-cal-popup {
    position: absolute;
    z-index: 2000;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 520px;
    max-width: 840px;
    padding: 20px 20px 16px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

/* Header mit Pfeilen & Monatslabel */
.yor-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.yor-cal-months-label {
    font-weight: 600;
    font-size: 0.9rem;
}
.yor-cal-nav {
    border: none;
    background: transparent;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 1rem;
}

/* Flex-Optionen (Genaue Daten / ± Tage) */
.yor-cal-flex {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.yor-cal-flex-btn {
    border-radius: 999px;
    border: 1px solid #ced4da;
    padding: 4px 11px;
    font-size: 0.78rem;
    background: #fff;
    cursor: pointer;
}
.yor-cal-flex-btn.is-active {
    background: var(--yor-primary);
    color: #fff;
    border-color: var(--yor-primary);
}

/* Wrapper für die beiden Monate */
.yor-cal__body {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

/* Einzelner Monat */
.yor-cal__month {
    border-radius: 14px;
    padding: 10px 14px 12px;
    background: #f8fafb;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.03);
}
.yor-cal__month-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Wochentage-Row */
.yor-cal__dow-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    color: #6c757d;
}
.yor-cal__dow {
    text-align: center;
}

/* Tage-Grid */
.yor-cal__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* Leere Felder vor dem 1. */
.yor-cal__day--empty {
    height: 32px;
}

/* Tages-Button */
.yor-cal__day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    font-size: 0.78rem;
    border-radius: 9px;
    border: 1px solid transparent;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.yor-cal__day:hover {
    border-color: var(--yor-primary);
    background: var(--yor-primary-light);
}

/* Heute */
.yor-cal__day.is-today {
    border-color: var(--yor-primary);
}

/* Range-Start/Ende */
.yor-cal__day.is-range-start,
.yor-cal__day.is-range-end {
    background: var(--yor-primary);
    color: #fff;
    border-color: var(--yor-primary);
}

/* Innerhalb der Range */
.yor-cal__day.is-in-range {
    background: #d9f2f6;
    border-color: #b9e4ec;
}

/* Footer-Buttons */
.yor-cal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}
.yor-cal-btn-muted,
.yor-cal-btn-primary {
    border-radius: 999px;
    border: 0;
    padding: 6px 14px;
    font-size: 0.8rem;
    cursor: pointer;
}
.yor-cal-btn-muted {
    background: #f1f3f5;
    color: #495057;
}
.yor-cal-btn-muted:hover {
    background: #e9ecef;
}
.yor-cal-btn-primary {
    background: var(--yor-accent);
    color: #fff;
}
.yor-cal-btn-primary:hover {
    background: var(--yor-accent-dark);
}

/* kleiner Offset bei schmalen Screens, damit der Popup nicht in den Header knallt */
@media (max-width: 820px) {
  .yor-cal-popup {
    left: 50%;
    transform: translateX(-50%);
    min-width: 0;
    width: 96vw;
    top: 52px;
  }
}

/* ===================================================== */
/* ===== Verfügbarkeits-Kalender (Objekt-Detail) ======= */
/* ===================================================== */

.avail-legend {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  margin: 8px 0 4px;
  flex-wrap: wrap;
}
.avail-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.avail-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.avail-cal {
  display: flex;
  gap: 8px;
  overflow: hidden;
}
.avail-month {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 6px;
  font-size: 0.7rem;
}
.avail-month__header {
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 4px;
  color: var(--yor-primary);
}
.avail-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.avail-day-label {
  text-align: center;
  font-size: 0.65rem;
  color: #888;
}
.avail-day {
  text-align: center;
  padding: 2px 0;
  cursor: default;
  border-radius: 2px;
}

/* Farben */
.avail-day--available {
  background: var(--yor-primary-light);
  color: var(--yor-primary);
}
.avail-day--rented {
  background: #ffe3e3;
  color: #c92a2a;
}
.avail-day--unavailable {
  background: #f1f3f5;
  color: #868e96;
}
.avail-day--past {
  opacity: 0.35;
}

/* Pfeile */
.avail-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 4px;
}
.avail-nav button {
  border: 0;
  background: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.7rem;
  cursor: pointer;
  border: 1px solid #dee2e6;
}
.avail-nav button:hover {
  background: var(--yor-primary-light);
  border-color: var(--yor-primary);
}

/* ===================================================== */
/* ===============   K A T E G O R I E N   ============== */
/* ===================================================== */

/* alte Box-Variante, falls noch irgendwo verwendet */
.cat-box {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.cat-root-list,
.cat-sublist,
.cat-breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-root {
  margin-bottom: 8px;
}
.cat-root > a {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
  color: var(--yor-primary);
}
.cat-sublist li a,
.cat-breadcrumb li a {
  font-size: 0.85rem;
  color: var(--yor-primary);
  text-decoration: none;
}
.cat-sublist li a:hover,
.cat-breadcrumb li a:hover {
  text-decoration: underline;
}
.cat-breadcrumb li {
  display: block;
  margin-bottom: 4px;
}

/* Breadcrumb global */
.yor-breadcrumb {
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  padding: 8px 14px;
  margin-bottom: 14px;
  box-shadow: var(--yor-card-shadow);
}
.yor-breadcrumb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  font-size: .83rem;
}
.yor-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4A5563;
}
.yor-breadcrumb li a {
  color: var(--yor-ebay-link);
  text-decoration: none;
  font-weight: 500;
}
.yor-breadcrumb li a:hover {
  text-decoration: underline;
}
.yor-breadcrumb li::after {
  content: "›";
  color: rgba(11,114,133,.45);
  font-weight: 400;
}
.yor-breadcrumb li:last-child {
  color: #1F2933;
  font-weight: 600;
}
.yor-breadcrumb li:last-child::after {
  content: "";
}

/* neue Sidebar-Variante */
.cat-sidebar {
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  padding: 10px 0 0;
  font-size: 0.9rem;
  box-shadow: var(--yor-card-shadow);
}
.cat-sidebar__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 8px 14px;
  font-weight: 600;
  color: #333;
}
.cat-sidebar__all {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--yor-primary);
  text-decoration: none;
}
.cat-sidebar__block {
  padding: 8px 14px 10px 14px;
  border-top: 1px solid #efefef;
}
.cat-sidebar__block:first-child {
  border-top: 0;
}
.cat-sidebar__title a {
  font-weight: 600;
  color: #333;
  text-decoration: none;
}
.cat-sidebar__title a:hover {
  text-decoration: underline;
}
.cat-sidebar__sub {
  list-style: none;
  margin: 6px 0 0 0;
  padding: 0;
}
.cat-sidebar__sub li {
  margin-bottom: 2px;
}
.cat-sidebar__sub a {
  color: var(--yor-primary);
  text-decoration: none;
  font-size: 0.85rem;
}
.cat-sidebar__sub a:hover {
  text-decoration: underline;
}
.cat-sidebar__sub--more {
  margin-top: 4px;
}
.cat-sidebar__more {
  margin-top: 4px;
}
.cat-sidebar__more a {
  font-size: 0.78rem;
  color: var(--yor-ebay-green);
  text-decoration: none;
}
.cat-sidebar__more a:hover {
  text-decoration: underline;
}

/* Sidebar-Breadcrumb */
.cat-breadcrumb--sidebar {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .8rem;
}
.cat-breadcrumb--sidebar li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: #4A5563;
}
.cat-breadcrumb--sidebar li a {
  color: var(--yor-ebay-link);
  text-decoration: none;
  font-weight: 500;
}
.cat-breadcrumb--sidebar li a:hover {
  text-decoration: underline;
}
.cat-breadcrumb--sidebar li::after {
  content: "›";
  color: rgba(11,114,133,.45);
}
.cat-breadcrumb--sidebar li:last-child {
  font-weight: 600;
  color: #1F2933;
}
.cat-breadcrumb--sidebar li:last-child::after {
  content: "";
}

/* einheitlich für alle Varianten */
.cat-count {
  font-size: 0.7rem;
  color: #777;
  margin-left: 4px;
}

.d-none {
  display: none !important;
}

/* Listenansicht "Alle Kategorien" */
.cat-list-block {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 10px 12px;
}
.cat-list-inline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.cat-list-inline li a {
  text-decoration: none;
  color: var(--yor-primary);
}
.cat-list-inline li a:hover {
  text-decoration: underline;
}

/* ===================================================== */
/* ===============   I T E M  G R I D   ================= */
/* eBay-Kachelraster + Booking-Kartenlook */
/* ===================================================== */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  background: var(--yor-white);
  overflow: hidden;
  color: var(--yor-text);
  box-shadow: var(--yor-card-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.item-card:hover {
  box-shadow: var(--yor-card-shadow-hover);
  border-color: #c5c5c5;
  transform: translateY(-1px);
}
.item-card__img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  background: #ebebeb;
}
.item-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yor-text-muted);
  font-size: 0.85rem;
}
.item-card__body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.item-card__body h2,
.item-card__body h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
  min-height: 2.7em;
  color: var(--yor-ebay-link);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
}
.item-card:hover .item-card__body h3 {
  color: var(--yor-ebay-link-hover);
  text-decoration: underline;
}
.item-card__desc {
  font-size: 0.8rem;
  color: var(--yor-text-muted);
  margin: 0 0 8px;
  line-height: 1.35;
  flex: 1;
}
.item-card__price {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  color: var(--yor-text);
}
.item-card__price-unit {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--yor-text-muted);
}
.item-card__savings {
  font-size: 0.75rem;
  color: var(--yor-ebay-green);
  margin-top: 4px;
  font-weight: 600;
}
.item-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--yor-primary);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Buttons / CTAs */
.btn,
.button {
  display: inline-block;
  background: #eee;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-primary,
.button-primary {
  background: var(--yor-accent);
  border-color: var(--yor-accent);
  color: #fff !important;
  font-weight: 600;
  border-radius: 4px;
}
.btn-primary:hover,
.button-primary:hover {
  background: var(--yor-accent-dark);
  border-color: var(--yor-accent-dark);
  color: #fff !important;
}
.btn-primary--small {
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* ===================================================== */
/* ===============   U P L O A D E R   ================== */
/* ===================================================== */
.yor-uploader {
  border: 1px dashed #ccc;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
}
.yor-uploader.is-dragover {
  background: #f0f7ff;
  border-color: var(--yor-primary);
}
.yor-uploader-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.yor-uploader-slot {
  width: 98px;
  height: 98px;
  border: 1px dashed #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  position: relative;
  cursor: pointer;
  touch-action: manipulation;
}
.yor-uploader-slot.is-filled {
  cursor: grab;
}
.yor-uploader-slot__text {
  font-size: 11px;
  text-align: center;
  color: #666;
  line-height: 1.3;
}
.yor-uploader-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.yor-uploader-del {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(220, 53, 69, .95);
  border: 0;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 16px;
  text-align: center;
  font-size: 14px;
}
.yor-uploader-del:hover {
  background: rgba(220, 53, 69, 1);
}
.yor-uploader-status {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
  background: rgba(23, 128, 98, .92);
  color: #fff;
}
.yor-uploader-status.is-error {
  background: rgba(196, 71, 71, .92);
}
.yor-uploader-slot.is-filled .yor-uploader-status {
  bottom: 36px;
}
.yor-uploader-slot.is-loading {
  background: #eef5ff;
}
.yor-uploader-slot__loading {
  font-size: 12px;
  color: var(--yor-primary);
}
.yor-uploader-move {
  position: absolute;
  top: 2px;
  left: 2px;
  background: rgba(0,0,0,.55);
  border: 0;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: grab;
  line-height: 30px;
  text-align: center;
  font-size: 12px;
}
.yor-uploader-edit { position:absolute; right:38px; bottom:4px; width:32px; height:32px; border:0; border-radius:999px; color:#fff; background:#1d5964; font-size:18px; }
.yor-uploader-cover { position:absolute; left:4px; bottom:4px; padding:3px 7px; border-radius:999px; color:#fff; background:#178062; font-size:10px; font-weight:700; pointer-events:none; }
.yor-uploader-slot.is-sorting { opacity:.72; outline:3px solid #178062; z-index:5; }
.yor-uploader-move { touch-action:none; }
.yor-image-editor { width:min(960px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:0; border:0; border-radius:16px; box-shadow:0 24px 70px rgba(10,38,47,.3); color:#173f49; }
.yor-image-editor::backdrop { background:rgba(8,27,34,.72); }
.yor-image-editor__panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,320px); overflow:auto; max-height:calc(100dvh - 24px); background:#f7faf9; }
.yor-image-editor header,.yor-image-editor footer { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; background:#fff; }
.yor-image-editor header h2 { margin:0; font-size:1.25rem; }
.yor-image-editor header button { width:44px; height:44px; border:0; border-radius:999px; font-size:24px; background:#e8f0ef; }
.yor-image-editor__stage { position:relative; display:grid; place-items:center; min-height:420px; padding:18px; overflow:hidden; background:#102d35; }
.yor-image-editor__stage canvas { max-width:100%; max-height:62dvh; border:2px solid rgba(255,255,255,.85); box-shadow:0 0 0 999px rgba(3,17,22,.28); touch-action:none; cursor:move; }
.yor-image-editor__stage>span { position:absolute; top:24px; left:24px; padding:4px 8px; border-radius:5px; background:rgba(0,0,0,.55); color:#fff; font-size:12px; pointer-events:none; }
.yor-image-editor__controls { display:flex; flex-direction:column; gap:14px; padding:18px; overflow:auto; }
.yor-image-editor__controls label { display:grid; gap:7px; font-weight:650; }
.yor-image-editor__controls input[type=range] { width:100%; min-height:34px; accent-color:#178062; }
.yor-image-editor__controls input[type=text],.yor-image-editor__controls input:not([type]),.yor-image-editor__controls select,.yor-image-editor__controls textarea { min-height:44px; width:100%; border:1px solid #b8cbc8; border-radius:8px; padding:10px; background:#fff; color:inherit; font:inherit; }
.yor-image-editor__controls textarea { min-height:88px; resize:vertical; line-height:1.35; }
.yor-image-editor__controls details { border-top:1px solid #d7e3e1; padding-top:10px; }
.yor-image-editor__controls details summary { min-height:44px; display:flex; align-items:center; cursor:pointer; font-weight:750; touch-action:manipulation; }
.yor-image-editor__controls details label { margin-top:10px; }
.yor-image-editor__controls details small { display:block; margin-top:8px; color:#587178; line-height:1.35; }
.yor-image-editor__controls .yor-image-editor__check { display:flex; grid-template-columns:none; flex-direction:row; align-items:center; gap:10px; min-height:44px; }
.yor-image-editor__check input { width:22px; height:22px; flex:0 0 auto; accent-color:#178062; }
.yor-image-editor__tools { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.yor-image-editor__tools button,.yor-image-editor footer button { min-height:44px; border:1px solid #9bb8b4; border-radius:9px; padding:8px 12px; background:#fff; }
.yor-image-editor footer { justify-content:flex-end; }
@media(max-width:760px){.yor-image-editor{width:100vw;max-width:none;max-height:100dvh;margin:0;border-radius:0}.yor-image-editor__panel{grid-template-columns:1fr;max-height:100dvh}.yor-image-editor header{position:sticky;top:0;z-index:3}.yor-image-editor__stage{min-height:260px;padding:8px}.yor-image-editor__stage canvas{max-height:40dvh}.yor-image-editor__stage>span{top:14px;left:14px;right:14px;text-align:center}.yor-image-editor__controls{padding:14px}.yor-image-editor footer{position:sticky;bottom:0;z-index:3;padding:10px 14px}.yor-image-editor footer button{flex:1}.yor-uploader-slot{width:112px;height:112px}}

/* ===================================================== */
/* ===============   STARTSEITE / LAYOUT   ============== */
/* ===================================================== */

/* Grundlayout: 2-Spalten-Grid, Sidebar optional */
.home-shell {
  display: grid;
  grid-template-columns: 1fr;   /* Standard: nur Content */
  gap: 16px;
  align-items: start;
}

/* Sidebar auf Startseite initial einklappen */
.is-home #catSidebar {
  display: none !important;
}

/* Bei cats-open: Sidebar zeigen + 2-Spalten-Layout (auf allen Seiten) */
.cats-open .home-shell {
  grid-template-columns: minmax(240px, 280px) 1fr;
}
.cats-open #catSidebar {
  display: block !important;
}

/* Sanfte Transition */
.home-shell,
#catSidebar {
  transition: all .15s ease;
}

/* Sidebar-Breite/Sticky (Desktop) */
#catSidebar { width: 100%; }
@media (min-width: 821px) {
  #catSidebar .cat-sidebar { position: sticky; top: 10px; }
}

/* Mobile: immer untereinander */
@media (max-width: 820px) {
  .home-shell { grid-template-columns: 1fr; }
}

/* Bootstrap-Spaltenbremsen innerhalb des CSS-Grids neutralisieren */
.is-home .home-shell > .col-3,
.is-home .home-shell > .col-9 {
  max-width: 100%;
  flex: initial;
}
.is-home .home-content { min-width: 0; }

/* Toggle-Link im Header */
.yor-toggle-cats {
  font-size: .9rem;
  margin-left: 12px;
  text-decoration: none;
  color: var(--yor-primary);
  border: 1px solid rgba(11,114,133,.2);
  padding: 4px 8px;
  border-radius: 8px;
}
.yor-toggle-cats:hover {
  background: rgba(11,114,133,.06);
}

/* ===================================================== */
/* ===============   RESPONSIVE HEADER   ================ */
/* ===================================================== */
@media (max-width: 820px) {
  .yor-header__inner {
    gap: 8px;
    flex-wrap: wrap;
  }
  .top-search-wrap {
    order: 3;
    width: 100%;
  }
  .yor-nav {
    position: absolute;
    top: 56px;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 0 8px;
    padding: 8px 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    min-width: 170px;
    z-index: 60;
  }
  .yor-hamburger {
    display: block;
  }
  body.nav-open .yor-nav {
    display: flex;
  }
}

/* User anlegen */
#userCheck { font-weight: 600; }

/* ===================================================== */
/* =====  SUCHERGEBNISSE (Booking-Liste × eBay-Zeile) === */
/* ===================================================== */
.search-results-page {
  margin: -16px -20px 0;
}

.search-results-layout {
  display: flex;
  gap: 20px;
  max-width: var(--yor-layout-max);
  margin: 0 auto;
  padding: 20px;
  align-items: flex-start;
}

.search-sidebar {
  width: 248px;
  flex-shrink: 0;
}

.search-sidebar__section {
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--yor-card-shadow);
}

.search-sidebar__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--yor-text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--yor-border);
}

.search-sidebar__reset {
  display: inline-block;
  font-size: 0.82rem;
  color: #c40000;
  margin-bottom: 8px;
  text-decoration: none;
}
.search-sidebar__reset:hover {
  text-decoration: underline;
}

.search-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-sidebar__list li {
  margin-bottom: 2px;
}

.search-sidebar__list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--yor-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: background 0.15s;
}

.search-sidebar__list li a:hover {
  background: #f0f0f0;
}

.search-sidebar__list li.active a {
  background: var(--yor-primary-light);
  color: var(--yor-primary);
  font-weight: 600;
}

.search-sidebar__list li.active a .count {
  color: var(--yor-primary);
  opacity: 0.75;
}

.search-sidebar__list .count {
  font-size: 0.78rem;
  color: var(--yor-text-muted);
}

.search-sidebar__empty {
  font-size: 0.85rem;
  color: var(--yor-text-muted);
}

.search-sidebar__show-all {
  display: block;
  font-size: 0.82rem;
  color: var(--yor-ebay-link);
  text-decoration: none;
  margin-top: 8px;
  padding: 8px 10px;
  background: #f7f7f7;
  border: 1px solid var(--yor-border);
  border-radius: 4px;
  text-align: center;
}
.search-sidebar__show-all:hover {
  background: #eee;
}

.search-sidebar__filter-group {
  margin-bottom: 12px;
}

.search-sidebar__filter-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--yor-text-muted);
}

.search-main {
  flex: 1;
  min-width: 0;
}

.search-header {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  box-shadow: var(--yor-card-shadow);
}

.search-header h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--yor-text);
}

.search-count {
  color: var(--yor-text-muted);
  font-size: 0.88rem;
  margin: 0;
}
.search-active-ops { margin: 8px 0 4px; font-size: .82rem; color: #4a5d66; }
.search-active-ops__chip {
  display: inline-block; margin: 2px 4px 2px 0; padding: 2px 8px;
  border-radius: 999px; background: #e8eef1; font-size: .8rem;
}

.search-empty {
  text-align: center;
  padding: 56px 20px;
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  box-shadow: var(--yor-card-shadow);
}

.search-empty__icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.search-empty h2 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  border: none;
  padding: 0;
}

.search-empty p {
  color: var(--yor-text-muted);
  margin: 0;
}

/* eBay-Zeilenliste mit Preis rechts (Booking) */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  box-shadow: var(--yor-card-shadow);
  overflow: hidden;
}

.search-result-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 0;
  background: var(--yor-white);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--yor-border);
  transition: background 0.15s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #fafafa;
}

.search-result-item__image {
  width: 200px;
  height: 160px;
  flex-shrink: 0;
  position: relative;
  background: #ebebeb;
  border-right: 1px solid var(--yor-border);
}

.search-result-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ccc;
}

.search-result-item__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--yor-primary);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.search-result-item__content {
  flex: 1;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-result-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--yor-ebay-link);
  line-height: 1.35;
}

.search-result-item:hover .search-result-item__title {
  text-decoration: underline;
  color: var(--yor-ebay-link-hover);
}

.search-result-item__desc {
  font-size: 0.88rem;
  color: var(--yor-text-muted);
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.search-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 4px;
  background: #f0f4f8;
  color: #444;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.search-badge--business {
  background: #eef6ff;
  border-color: #c5daf5;
  color: #0b4a7a;
}

.search-badge--private {
  background: #f3f9f3;
  border-color: #cfe8cf;
  color: #2d5a2d;
}

.search-badge--pickup {
  background: #f0faf4;
  border-color: #b8e6c8;
  color: #1a5c34;
}

.search-badge--ship {
  background: #f5f0ff;
  border-color: #d4c8f0;
  color: #4a3080;
}

.search-badge--avail {
  background: #e8f8ee;
  border-color: #a8ddb8;
  color: #1a6b38;
}

.search-badge--qty {
  background: #fff8e6;
  border-color: #f0d9a8;
  color: #7a5a10;
}

.search-result-item__deposit {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5a4a20;
  text-align: right;
}

.search-result-item__meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--yor-text-muted);
  margin-top: auto;
  padding-top: 10px;
}

.search-result-item__price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 14px 20px;
  min-width: 130px;
  border-left: 1px solid var(--yor-border);
  background: #fafcff;
}

.search-result-item__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--yor-text);
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.search-result-item__price-unit {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--yor-text-muted);
  display: block;
  text-align: right;
}

.search-result-item__savings {
  font-size: 0.78rem;
  color: var(--yor-ebay-green);
  font-weight: 600;
  margin-top: 6px;
  text-align: right;
}

@media (max-width: 900px) {
  .search-results-layout {
    flex-direction: column;
  }
  .search-sidebar {
    width: 100%;
  }
  .search-result-item {
    grid-template-columns: 140px 1fr;
  }
  .search-result-item__price-col {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--yor-border);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #f7f7f7;
  }
  .search-result-item__price,
  .search-result-item__price-unit,
  .search-result-item__savings,
  .search-result-item__deposit {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .search-result-item {
    grid-template-columns: 1fr;
  }
  .search-result-item__image {
    width: 100%;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid var(--yor-border);
  }
}

/* ===================================================== */
/* ==========  ARTIKELSEITE (eBay + Booking)  =========== */
/* ===================================================== */
.item-page {
  margin-bottom: 32px;
}

.item-page-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.item-page__main {
  min-width: 0;
}

.item-gallery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.item-info-panel {
  position: sticky;
  top: 16px;
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  padding: 16px 18px 18px;
  box-shadow: var(--yor-card-shadow);
}

.item-info-panel h1 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 12px;
  padding-right: 72px;
  line-height: 1.35;
  color: var(--yor-text);
}

.item-info-row {
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--yor-text-muted);
}

.item-info-row strong {
  color: var(--yor-text);
  font-weight: 600;
}

.item-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 14px 0 12px;
  color: var(--yor-text);
  padding: 10px 0;
  border-top: 1px solid var(--yor-border);
  border-bottom: 1px solid var(--yor-border);
}

.item-price small,
.item-price .item-price__unit {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--yor-text-muted);
}

.item-provider-link {
  color: var(--yor-ebay-link);
  text-decoration: none;
  font-weight: 500;
}
.item-provider-link:hover {
  text-decoration: underline;
}

.item-rating-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--yor-primary-light);
  color: var(--yor-primary);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
}

.item-btn {
  display: inline-block;
  background: var(--yor-accent);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.item-btn:hover {
  background: var(--yor-accent-dark);
  color: #fff !important;
}

.item-btn--secondary {
  background: #fff;
  color: var(--yor-primary) !important;
  border: 1px solid var(--yor-primary);
}
.item-btn--secondary:hover {
  background: var(--yor-primary-light);
}

.item-btn--muted {
  background: #6c757d;
}
.item-btn--success {
  background: var(--yor-ebay-green);
}

.item-btn--block {
  width: 100%;
  display: block;
}

.item-btn:disabled,
.item-btn.is-disabled {
  background: #adb5bd;
  cursor: not-allowed;
}

.item-share-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--yor-white);
  color: var(--yor-primary);
  border: 1px solid var(--yor-border);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.item-share-btn:hover {
  background: var(--yor-primary-light);
  border-color: var(--yor-primary);
}

.yor-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 460px;
  overflow: auto;
}

.yor-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid var(--yor-border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.yor-thumbs img.active,
.yor-thumbs img:hover {
  border-color: var(--yor-primary);
}

.yor-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 520px;
  height: 420px;
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  overflow: hidden;
  background: var(--yor-white);
  cursor: pointer;
  box-shadow: var(--yor-card-shadow);
}

.yor-stage img#mainFull {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.yor-full-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 0;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
}

#yorOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#yorOverlayImg {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
}

.yor-overlay-btn {
  position: absolute;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

/* Booking-Buchungsbox */
.item-booking-form {
  margin-top: 16px;
  padding: 0;
  background: var(--yor-primary-light);
  border: 1px solid #b8d4f0;
  border-radius: var(--yor-card-radius);
  overflow: hidden;
}

.item-booking-form__head {
  font-size: 1rem;
  margin: 0;
  padding: 12px 14px;
  color: var(--yor-primary);
  font-weight: 700;
  background: var(--yor-white);
  border-bottom: 1px solid #b8d4f0;
}

.item-booking-form__inner {
  background: var(--yor-white);
  padding: 14px;
}

.item-booking-form__inner label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--yor-text);
}

.item-booking-form__inner .form-control {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--yor-border);
  border-radius: 4px;
  font-size: 0.9rem;
}

.item-booking-form__field {
  margin-bottom: 14px;
}

.item-booking-price {
  margin-bottom: 14px;
  padding: 12px;
  background: var(--yor-primary-light);
  border: 1px solid #b8d4f0;
  border-radius: 4px;
}

.item-booking-price__total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yor-primary);
  margin-bottom: 4px;
}

.item-booking-price__detail {
  font-size: 0.82rem;
  color: var(--yor-text-muted);
}

.item-booking-price__deposit {
  font-size: 0.85rem;
  color: var(--yor-text-muted);
  margin-top: 6px;
}

.item-booking-price__grand {
  font-size: 0.92rem;
  color: var(--yor-primary);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #b8d4f0;
}

.item-deposit-hint {
  font-size: 0.88rem;
  color: var(--yor-text-muted);
}

.item-booking-submit {
  width: 100%;
  padding: 12px;
  background: var(--yor-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.item-booking-submit:hover {
  background: var(--yor-accent-dark);
}

.item-notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--yor-card-radius);
  font-size: 0.88rem;
}

.item-notice--warning {
  background: #fff8e6;
  border: 1px solid #febb02;
  color: #664d00;
}

.item-notice--info {
  background: #f8f9fa;
  border: 1px solid var(--yor-border);
  color: #495057;
}

.item-bundle-box {
  margin-top: 14px;
  padding: 12px;
  background: var(--yor-primary-light);
  border: 1px solid #b8d4f0;
  border-radius: 4px;
}

.item-bundle-box strong {
  display: block;
  margin-bottom: 5px;
  color: var(--yor-primary);
  font-size: 0.88rem;
}

.item-bundle-box a {
  color: var(--yor-ebay-link);
  font-size: 0.85rem;
}

.item-report-link {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #c40000;
  text-decoration: underline;
  cursor: pointer;
}

.item-page__content {
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  padding: 20px 22px;
  box-shadow: var(--yor-card-shadow);
  margin-bottom: 20px;
}

.item-page__content h2 {
  border: none;
  padding: 0;
  margin-top: 0;
}

.item-ratings-section {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  box-shadow: var(--yor-card-shadow);
}

.item-ratings-section > h2 {
  font-size: 1.2rem;
  margin: 0 0 16px;
  color: var(--yor-primary);
  border: none;
  padding: 0;
}

.item-rating-item {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fafafa;
  border-radius: var(--yor-card-radius);
  border-left: 4px solid var(--yor-accent);
}

.yor-item-cal-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--yor-primary);
}

/* Modals */
.yor-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.yor-modal {
  background: var(--yor-white);
  padding: 28px;
  border-radius: var(--yor-card-radius);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
}

.yor-modal h3 {
  margin: 0 0 18px;
  color: var(--yor-primary);
  font-size: 1.15rem;
}

.yor-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--yor-text-muted);
  line-height: 1;
}

.home-content > h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yor-text);
}

/* Bundle-Seite nutzt dieselben Layout-Klassen wie Objekt */
.bundle-page-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}
.bundle-gallery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.bundle-info-panel {
  position: sticky;
  top: 16px;
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  padding: 16px 18px 18px;
  box-shadow: var(--yor-card-shadow);
}
.bundle-badge {
  display: inline-block;
  background: var(--yor-primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.bundle-savings {
  color: var(--yor-ebay-green);
  font-weight: 600;
  font-size: 0.9rem;
}

.bundle-items-list {
  margin: 20px 0;
  padding: 20px 22px;
  background: var(--yor-white);
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  box-shadow: var(--yor-card-shadow);
}

.bundle-item-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: #fafafa;
  border: 1px solid var(--yor-border);
  border-radius: var(--yor-card-radius);
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bundle-item-card:hover {
  border-color: var(--yor-ebay-link);
  box-shadow: var(--yor-card-shadow);
}

.bundle-item-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--yor-border);
}

.bundle-item-info {
  flex: 1;
  min-width: 0;
}

.bundle-item-info h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  color: var(--yor-ebay-link);
  font-weight: 400;
}

.bundle-item-card:hover .bundle-item-info h4 {
  text-decoration: underline;
}

.bundle-item-price {
  color: var(--yor-text-muted);
  font-size: 0.88rem;
}

/* Nutzerprofil */
.user-profile-page {
  max-width: var(--yor-layout-max);
  margin: 0 auto;
}

.user-profile-page .nav-tabs {
  border-bottom: 2px solid var(--yor-primary);
  margin-bottom: 24px;
}

.user-profile-page .nav-link {
  padding: 12px 20px;
  color: var(--yor-text-muted);
  font-weight: 400;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.user-profile-page .nav-link:hover {
  color: var(--yor-primary);
}

.user-profile-page .nav-link.active {
  color: var(--yor-primary);
  font-weight: 600;
  border-bottom-color: var(--yor-accent);
  background: transparent;
}

.user-profile-page .nav-badge {
  background: var(--yor-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-left: 5px;
}

/* Dashboard-Karten (Meine Objekte etc.) */
.yor-panel-card {
  border-radius: var(--yor-card-radius);
  border: 1px solid var(--yor-border);
  box-shadow: var(--yor-card-shadow);
  overflow: hidden;
}

.yor-panel-card .card-header {
  background: var(--yor-primary);
  color: #fff;
  border: none;
  padding: 14px 18px;
}

.yor-panel-card .table thead {
  background: #f7f7f7;
}

.yor-panel-card .table tbody tr:hover {
  background: #fafafa;
}

.yor-panel-card a {
  color: var(--yor-ebay-link);
  font-weight: 600;
  text-decoration: none;
}

.yor-panel-card a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .item-page-wrap,
  .bundle-page-wrap {
    grid-template-columns: 1fr;
  }
  .item-info-panel,
  .bundle-info-panel {
    position: static;
  }
  .yor-stage {
    max-width: 100%;
    height: 320px;
  }
}

.neg-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5a7384;
  font-size: 0.72rem;
  font-weight: 500;
}
.neg-open svg { width: 14px; height: 14px; }
.neg-offer-preview { margin: 8px 0; font-weight: 600; }
