/*
 * StudentsBooking UI v2 — İlan detayı (PRD §7.3)
 * Referans: uniplaces.com/de/accommodation/barcelona/735184 (1440px ölçümleri)
 * Ortak partial'lardaki eski markup (#bedroom-detail, #priceBox, .container-map) burada giydirilir.
 */

/* ===================== Üst blok: başlık + galeri ===================== */
.sb-detail__top { position: relative; padding-top: 68px; }
.sb-detail__head { margin-bottom: 26px; }
.sb-detail__title { margin: 0 0 16px; color: var(--sb-text-heading); font-size: 32px; font-weight: 600; line-height: 26px; }
.sb-detail__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 18px; line-height: 16px; color: var(--sb-text-body); font-size: 16px; }
.sb-detail__facts span { color: var(--sb-text-muted); }
.sb-detail__addrrow { margin-top: -8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sb-detail__address { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--sb-text-heading); font-size: 16px; }
.sb-detail__address a { color: var(--sb-text-heading); text-decoration: underline; text-underline-offset: 3px; }
.sb-detail__address .sb-icon { color: var(--sb-text-heading); }

.sb-detail__actions { display: flex; flex-wrap: wrap; gap: 4px; }
.sb-action {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 10px;
  border: 0; border-radius: var(--sb-radius-md);
  background: none; color: var(--sb-text-heading);
  font-family: var(--sb-font); font-size: 14px; text-decoration: none;
  cursor: pointer;
}
.sb-action:hover { background: var(--sb-surface); color: var(--sb-text-heading); }
.sb-action.is-active { color: var(--sb-accent-pink); }
.sb-action.is-active .sb-icon { fill: currentColor; }

/* Galeri */
.sb-gallery { position: relative; }
.sb-gallery__grid { height: 454px; }
.sb-gallery__item { display: block; height: 100%; overflow: hidden; border-radius: var(--sb-radius-lg); background: var(--sb-surface); }
.sb-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter var(--sb-ease); }
.sb-gallery__item:hover img { filter: brightness(.9); }
.sb-gallery__item:not(.sb-gallery__item--main), .sb-gallery__item--hidden { display: none; }

@media (min-width: 1024px) {
  .sb-gallery--mosaic .sb-gallery__grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
  }
  .sb-gallery--mosaic .sb-gallery__item { display: block; }
  .sb-gallery--mosaic .sb-gallery__item--main { grid-row: 1 / span 2; }
  .sb-gallery--mosaic .sb-gallery__item--hidden { display: none; }
}
.sb-gallery__pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px;
  border: 1px solid var(--sb-primary-light); border-radius: 20px;
  background: #fff; color: var(--sb-text-heading);
  font-family: var(--sb-font); font-size: 14px;
  cursor: pointer;
}
.sb-gallery__pill:hover { border-color: var(--sb-primary); }
.sb-gallery__pill--photos { position: absolute; right: 14px; bottom: 14px; z-index: 2; box-shadow: var(--sb-shadow-float); }
.sb-gallery__pill--map { margin-top: 20px; }

/* ===================== İki sütun ===================== */
.sb-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  padding-top: 24px;
}
@media (min-width: 1024px) {
  .sb-detail__layout { grid-template-columns: minmax(0, 720px) minmax(0, 1fr); }
}
.sb-detail__main { min-width: 0; }

/* Sekme çubuğu (eski JS display'i değiştirmeye çalışır; v2'de hep görünür) */
body.sb-v2 .sb-detail-nav {
  display: block !important;
  position: sticky; top: var(--sb-header-h); z-index: 1015;
  margin: 0 0 8px;
  background: #fff;
  box-shadow: 0 1px 0 var(--sb-divider);
}
.sb-detail-nav ul {
  display: flex; gap: 8px;
  margin: 0; padding: 4px 0;
  list-style: none; overflow-x: auto; scrollbar-width: none;
}
.sb-detail-nav ul::-webkit-scrollbar { display: none; }
.sb-detail-nav li a {
  display: block; padding: 4px 12px;
  border-radius: var(--sb-radius-md);
  color: var(--sb-text-heading); font-size: 16px; line-height: 20px; white-space: nowrap;
  transition: background-color var(--sb-ease);
}
.sb-detail-nav li a:hover { background: var(--sb-surface); }
.sb-detail-nav li.active a { background: var(--sb-surface); font-weight: 500; }

/* ===================== Bölümler ===================== */
.sb-detail-section { padding: 40px 0; border-bottom: 1px solid #E4EAED; scroll-margin-top: 110px; }
.sb-detail-section:last-child { border-bottom: 0; }
.sb-detail-section__title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin: 0 0 20px; color: var(--sb-text-heading); font-size: 22px; font-weight: 600; line-height: 26px;
}
.sb-detail-section__sub { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 28px 0 12px; color: var(--sb-text-heading); font-size: 18px; font-weight: 600; scroll-margin-top: 110px; }
.sb-detail-section__lead { margin: 0 0 16px; color: var(--sb-text-heading); font-size: 15px; line-height: 1.5; }
.sb-prose { color: var(--sb-text-heading); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.sb-prose p { margin: 0 0 12px; }

.sb-pill-ok {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  border-radius: 20px; background: #44C482; color: #fff;
  font-size: 14px; font-weight: 400;
}

.sb-readmore.is-clamped .sb-readmore__body {
  max-height: calc(1.6em * 5); overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.sb-readmore__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; margin-top: 0; padding: 0;
  border: 0; background: none; cursor: pointer;
  font-family: var(--sb-font); text-decoration: underline; text-underline-offset: 2px;
  color: var(--sb-text-muted); font-size: 14px; font-weight: 500;
}
.sb-readmore__toggle::after {
  content: ""; width: 16px; height: 16px;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23224251' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
}

.sb-highlights { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0; padding: 0; list-style: none; }
.sb-highlights li { display: inline-flex; align-items: center; gap: 8px; color: var(--sb-text-heading); font-size: 16px; }
.sb-highlights .sb-icon { width: 22px; height: 22px; }

.sb-thisis { display: flex; align-items: flex-start; gap: 14px; margin: 8px 0 16px; }
.sb-thisis__icon { width: 40px; height: 40px; color: var(--sb-primary); stroke-width: 1.4; }
.sb-thisis strong { color: var(--sb-text-heading); font-size: 16px; font-weight: 600; }
.sb-thisis p { margin: 2px 0 0; color: var(--sb-text-muted); font-size: 14px; }
.sb-btn--sm .sb-icon { width: 16px; height: 16px; }

.sb-feature-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px;
  margin: 0; padding: 0; list-style: none;
}
.sb-feature-list li { display: flex; align-items: center; gap: 10px; color: var(--sb-text-heading); font-size: 15px; }
.sb-feature-list li .sb-icon { color: var(--sb-primary); }
.sb-feature-list li.is-off { color: var(--sb-text-muted); text-decoration: line-through; }
.sb-feature-list li.is-off .sb-icon { color: var(--sb-text-subtle); }

.sb-note { margin-top: 20px; padding: 16px; border-radius: var(--sb-radius-md); background: var(--sb-surface); }
.sb-note h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.sb-note p { margin: 0; color: var(--sb-text-heading); font-size: 14px; line-height: 1.5; }
#neighbourhood-card:has(#neighbourhoodContent:empty) { display: none; }

/* Müsaitlik ızgarası */
.sb-avail { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.sb-avail__year h3 { margin: 0 0 12px; color: var(--sb-text-heading); font-size: 22px; font-weight: 600; text-align: center; }
.sb-avail__grid { display: grid; grid-template-columns: repeat(4, 58px); gap: 10px; }
.sb-avail__cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 50px; border-radius: var(--sb-radius-sm);
  color: var(--sb-text-muted); font-size: 16px;
}
.sb-avail__cell small { font-size: 12px; }
.sb-avail__cell.is-past { background: #E4EAED; }
.sb-avail__cell.is-free { background: #ACE8FF; color: var(--sb-text-heading); }
.sb-avail__cell.is-booked { background: #FFD5D5; color: var(--sb-text-heading); }
.sb-avail__legend { display: flex; gap: 24px; margin: 20px 0; padding: 0; list-style: none; color: var(--sb-text-heading); font-size: 14px; }
.sb-avail__legend li { display: flex; align-items: center; gap: 8px; }
.sb-avail__legend i { width: 14px; height: 14px; border-radius: 3px; }
.sb-avail__legend i.is-free { background: #ACE8FF; }
.sb-avail__legend i.is-booked { background: #FFD5D5; }
.sb-avail__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; }
.sb-avail__info div { display: flex; gap: 8px; font-size: 14px; }
.sb-avail__info dt { color: var(--sb-text-heading); font-weight: 400; }
.sb-avail__info dd { margin: 0; color: var(--sb-text-heading); font-weight: 600; }

/* Ev sahibi */
.sb-landlord__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.sb-landlord__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--sb-surface); }
.sb-landlord__name { color: var(--sb-text-heading); font-size: 18px; font-weight: 600; }
.sb-landlord__stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 6px 0 0; padding: 0; list-style: none; }
.sb-landlord__stats li { display: inline-flex; align-items: center; gap: 6px; color: var(--sb-text-heading); font-size: 14px; }
.sb-landlord .sb-btn { margin-top: 8px; }

/* Yorumlar */
.sb-reviews__avg { color: var(--sb-text-heading); font-size: 15px; font-weight: 500; }
.sb-icon.is-on, .sb-stars .is-on { fill: #F5B400; stroke: #F5B400; }
.sb-stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.sb-stars .sb-icon { width: 14px; height: 14px; color: var(--sb-border); }
.sb-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin: 0; padding: 0; list-style: none; }
.sb-review { display: flex; gap: 12px; }
.sb-review__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--sb-surface); }
.sb-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 4px; color: var(--sb-text-heading); font-size: 14px; }
.sb-review__date { color: var(--sb-text-muted); font-size: 13px; }
.sb-review__text { margin: 0; color: var(--sb-text-heading); font-size: 14px; line-height: 1.5; }

/* Masraf kutuları (referanstaki "Einmalige Zahlungen" kartları) */
.sb-costbox {
  margin-top: 16px; padding: 20px;
  border-radius: var(--sb-radius-lg);
  box-shadow: var(--sb-ring);
}
.sb-costbox h3 { margin: 0 0 12px; color: var(--sb-text-heading); font-size: 18px; font-weight: 600; }
.sb-costbox__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--sb-divider); }
.sb-costbox__row:first-of-type { border-top: 0; padding-top: 0; }
.sb-costbox h4 { margin: 0; color: var(--sb-text-heading); font-size: 16px; font-weight: 600; }
.sb-costbox__row strong { color: var(--sb-text-heading); font-size: 16px; font-weight: 600; }
.sb-costbox__row p { grid-column: 1 / -1; margin: 0; color: var(--sb-text-muted); font-size: 14px; line-height: 1.5; }
.sb-costbox__row p a { color: var(--sb-primary-text); text-decoration: underline; }
.sb-costbox__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sb-costbox__grid h4 { font-size: 15px; font-weight: 400; }
.sb-costbox__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.sb-costbox__grid > div { padding: 12px 0; border-top: 1px solid #E4EAED; }
.sb-costbox__grid > div:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.sb-costbox__grid p { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 16px; font-weight: 400; }
.sb-costbox__grid p .sb-icon { width: 18px; height: 18px; flex: none; }
.sb-costbox__grid p.is-ok { color: #2BAD63; }
.sb-costbox__grid p.is-ok .sb-icon { color: #2BAD63; }
.sb-costbox__grid p.is-muted { color: var(--sb-text-heading); }
.sb-costbox__grid p.is-muted .sb-icon { color: var(--sb-text-heading); }

/* Neden biz */
.sb-why { display: flex; flex-direction: column; gap: 12px; }
.sb-why__item { padding: 20px; border: 1px solid #E4EAED; border-radius: 8px; }
.sb-why__item h3 { margin: 0 0 8px; color: var(--sb-text-heading); font-size: 18px; font-weight: 600; line-height: 20px; }
.sb-why__item p { margin: 0; color: var(--sb-text-heading); font-size: 16px; line-height: 24px; }

/* Harita (ortak map.php) */
.sb-mapbox { position: relative; height: 380px; overflow: hidden; border-radius: var(--sb-radius-lg); background: var(--sb-surface); }
.sb-mapbox .container-map, .sb-mapbox #location { height: 100%; }
.sb-mapbox #map_canvas { height: 100% !important; }
.sb-mapbox #location { cursor: zoom-in; }

/* ===================== Rezervasyon kartı (ortak booking.php) ===================== */
.sb-detail__aside { position: relative; }
@media (min-width: 1024px) {
  .sb-detail__aside {
    align-self: start;
    position: sticky; top: calc(var(--sb-header-h) + 24px);
    padding: 20px;
    border-radius: var(--sb-radius-lg);
    background: #fff;
    box-shadow: 0 5px 20px rgba(34, 66, 81, .2);
  }
}
.sb-booking-sheet__head { display: none; }
.sb-booking-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sb-booking-card__price { margin: 0; color: var(--sb-text-muted); font-size: 14px; }
.sb-booking-card__price strong { color: var(--sb-text-heading); font-size: 22px; font-weight: 600; }
.sb-booking-card__price small { color: var(--sb-text-muted); font-size: 14px; }
.sb-booking-card__people { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--sb-text-heading); font-size: 14px; }

body.sb-v2 .sb-detail__aside .bedroom-detail,
body.sb-v2 .sb-detail__aside .bedroom-detail > .container,
body.sb-v2 .sb-detail__aside .container-fluid,
body.sb-v2 .sb-detail__aside .row,
body.sb-v2 .sb-detail__aside .col-md-12,
body.sb-v2 .sb-detail__aside .col-md-6 { width: auto; float: none; margin: 0; padding: 0; }
body.sb-v2 #priceBox.sb-booking-box { font-family: var(--sb-font); }
body.sb-v2 #priceBox form > div { display: flex; flex-direction: column; gap: 12px; }
body.sb-v2 #priceBox .price_element { display: none; }               /* fiyat kartın üstünde gösteriliyor */
body.sb-v2 #priceBox .price_element1 { order: 1; display: block !important; }
body.sb-v2 #priceBox .price_element4 { order: 2; }
body.sb-v2 #priceBox .price_element3 { order: 3; }
body.sb-v2 #priceBox .price_element2 { order: 4; padding: 0 !important; text-align: center; }

body.sb-v2 #priceBox h6 { margin: 0; color: var(--sb-text-muted); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; text-align: left !important; }
body.sb-v2 #priceBox h6 .btn-secondary { padding: 0 4px; border: 0; background: none; vertical-align: -2px; }
body.sb-v2 #priceBox .price_element1 > div:first-child > h6 { padding: 8px 12px; border-radius: var(--sb-radius-md); background: #E6F7FD; color: var(--sb-text-heading); font-size: 13px; text-transform: none; letter-spacing: 0; }
/* Giriş → Çıkış iki kutu, aralarında ok */
body.sb-v2 #priceBox .price_element1 > div:last-child { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 12px; }
body.sb-v2 #priceBox .price_element1 > div:last-child::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 14px; margin: -2px 0 0 -7px;
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23224251' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
body.sb-v2 #priceBox .price_element1 .col-md-6 > div > div { padding: 8px 12px; border-radius: var(--sb-radius-md); box-shadow: var(--sb-ring); }
body.sb-v2 #priceBox .form-group { margin: 2px 0 0; }
body.sb-v2 #priceBox .input-group { display: block; width: 100%; }
body.sb-v2 #priceBox .input-group .form-control {
  width: 100%; height: 22px; padding: 0;
  border: 0; box-shadow: none; background: transparent;
  color: var(--sb-text-heading); font-size: 14px; cursor: pointer;
}
body.sb-v2 #priceBox .input-group .form-control::placeholder { color: var(--sb-text-heading); }
body.sb-v2 #priceBox .input-group-addon { display: none; }
body.sb-v2 #priceBox .price_element2 a { color: var(--sb-text-heading); font-size: 14px; text-decoration: underline; cursor: pointer; }
body.sb-v2 #priceBox .btn-site { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; font-size: 14px; font-weight: 500; }
body.sb-v2 #priceBox label.help-inline { display: block; margin-top: 4px; text-transform: none; }

/* ===================== Tüm özellikler modalı (ortak rooms.php) ===================== */
.sb-features-modal .modal-body { max-height: 75vh; overflow-y: auto; }
body.sb-v2 .sb-rooms #bedroom-detail { width: auto; padding: 0; margin: 0; }
body.sb-v2 .sb-rooms #bedroom-detail > .row { margin: 0; }
body.sb-v2 .sb-rooms .detail-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
body.sb-v2 .sb-rooms .detail-nav > li { float: none; display: block; width: auto; margin: 0; }
body.sb-v2 .sb-rooms .detail-nav > li > a {
  margin: 0; padding: 8px 16px; border-radius: var(--sb-radius-pill);
  box-shadow: var(--sb-ring); background: #fff; color: var(--sb-text-heading);
  font-size: 14px; line-height: 20px;
}
body.sb-v2 .sb-rooms .detail-nav > li.active > a,
body.sb-v2 .sb-rooms .detail-nav > li.active > a:hover,
body.sb-v2 .sb-rooms .detail-nav > li.active > a:focus { background: var(--sb-text-heading); color: #fff; box-shadow: none; }
body.sb-v2 .sb-rooms .card-div > .container { width: auto; padding: 0; }
body.sb-v2 .sb-rooms .card-div .col-md-4,
body.sb-v2 .sb-rooms .card-div .col-md-12 { float: none; width: auto; padding: 0; margin-bottom: 16px; }
body.sb-v2 .sb-rooms #details .card-div > .container > .col-md-12:first-child { display: none; }
body.sb-v2 .sb-rooms h4 { margin: 8px 0; color: var(--sb-text-heading); font-size: 15px; font-weight: 600; }
body.sb-v2 .sb-rooms hr { display: none; }
body.sb-v2 .sb-rooms ul.card-item-list {
  float: none; width: auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px;
  margin: 0 0 8px; padding: 0; list-style: none;
}
body.sb-v2 .sb-rooms ul.card-item-list li { display: flex; align-items: center; gap: 10px; color: var(--sb-text-heading); font-size: 14px; }
body.sb-v2 .sb-rooms ul.card-item-list li img { width: 22px; height: 22px; opacity: .85; }
body.sb-v2 .sb-rooms ul.card-item-list li .fa-check-circle { color: var(--sb-primary); }
body.sb-v2 .sb-rooms ul.card-item-list li .fa-times-circle { color: var(--sb-text-subtle); }
body.sb-v2 .sb-rooms ul.card-item-list li:has(.fa-times-circle) { color: var(--sb-text-muted); text-decoration: line-through; }
body.sb-v2 .sb-rooms ul.card-item-list li span { margin-left: auto; font-weight: 600; }

/* ===================== Benzer ilanlar + alt breadcrumb ===================== */
.sb-similar { padding: 40px 0 0; }
.sb-similar__title { margin: 0; color: var(--sb-text-heading); font-size: 18px; font-weight: 600; line-height: 20px; }
.sb-similar .sb-hscroll--cards .sb-hscroll__track { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
.sb-crumbs--detail {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin: 32px 0 0; padding: 0 0 8px;
  font-size: 14px; line-height: 22px;
}
body.sb-v2 .sb-crumbs--detail a { color: var(--sb-primary); }
.sb-crumbs--detail a:hover { text-decoration: underline; }
.sb-crumbs--detail .sb-icon { width: 12px; height: 12px; color: var(--sb-text-muted); }
.sb-crumbs--detail span { color: var(--sb-border); }

/* ===================== Mobil / tablet (<1024) ===================== */
.sb-bookbar { display: none; }
@media (max-width: 1023px) {
  .sb-detail { padding-bottom: 88px; }
  .sb-detail__top { display: flex; flex-direction: column; padding-top: 0; padding-left: 0; padding-right: 0; }
  .sb-gallery { order: -1; }
  .sb-gallery__grid { height: 300px; }
  .sb-gallery__item { border-radius: 0; }
  .sb-detail__head { order: 1; margin: 20px var(--sb-gutter) 0; }
  .sb-gallery__pill--map { position: absolute; left: 14px; top: 248px; margin: 0; z-index: 2; box-shadow: var(--sb-shadow-float); }
  .sb-detail__title { font-size: 24px; }
  .sb-detail__facts { font-size: 14px; }
  .sb-feature-list, .sb-reviews, .sb-why, .sb-avail__info { grid-template-columns: 1fr; }
  .sb-costbox__grid { grid-template-columns: 1fr 1fr; }
  .sb-avail__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sb-avail__year { flex: 1 1 100%; }
  body.sb-v2 .sb-rooms ul.card-item-list { grid-template-columns: 1fr; }

  .sb-bookbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -1px 0 var(--sb-divider), 0 -4px 16px rgba(0, 0, 0, .06);
    font-family: var(--sb-font);
  }
  .sb-bookbar__price strong { color: var(--sb-text-heading); font-size: 20px; font-weight: 600; }
  .sb-bookbar__price span { margin-left: 2px; color: var(--sb-text-muted); font-size: 14px; }
  .sb-bookbar__price small { display: block; color: var(--sb-text-muted); font-size: 12px; }
  .sb-bookbar .sb-btn { flex: none; }

  .sb-detail__aside {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1060;
    max-height: 90vh; overflow-y: auto;
    padding: 0 16px 20px;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .2);
    transform: translateY(105%);
    transition: transform var(--sb-ease-out);
  }
  body.sb-booking-open .sb-detail__aside { transform: none; }
  body.sb-booking-open::after { content: ""; position: fixed; inset: 0; z-index: 1055; background: rgba(34, 66, 81, .45); }
  .sb-booking-sheet__head { display: flex; align-items: center; gap: 6px; padding: 16px 0 12px; }
  .sb-booking-sheet__head strong { color: var(--sb-text-heading); font-size: 18px; }
  .sb-booking-sheet__close { margin-left: auto; padding: 4px; border: 0; background: none; color: var(--sb-text-heading); cursor: pointer; }
}

/* ===================== Uniplaces detay revizyonu (berlin/63330) ===================== */
@media (min-width: 1280px) {
  body.sb-page-detail .sb-header__inner { max-width: 1188px; margin: 0 auto; }
  body.sb-page-detail .sb-header__burger { margin-right: 16px; }
}

/* İnce çerçeveli düğme: "Tüm özellikleri göster", "Mesaj gönder" (32px, 1px #BCC6CA, r8) */
.sb-btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px;
  border: 1px solid var(--sb-border); border-radius: 8px;
  background: #fff; color: var(--sb-text-heading);
  font-family: var(--sb-font); font-size: 14px; line-height: 1;
  cursor: pointer; text-decoration: none;
  transition: border-color var(--sb-ease);
}
.sb-btn-line:hover, .sb-btn-line:focus { border-color: var(--sb-text-heading); color: var(--sb-text-heading); }
.sb-btn-line .sb-icon { width: 18px; height: 18px; }
.sb-landlord .sb-btn-line { margin-top: 4px; }

/* Yatay karusel: başlık + "1/N" + oklar */
.sb-hscroll { position: relative; }
.sb-hscroll__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sb-hscroll__head .sb-detail-section__title { margin: 0; }
.sb-hscroll__label { margin: 0; color: var(--sb-text-heading); font-size: 16px; }
.sb-hscroll__pager { display: flex; align-items: center; gap: 8px; flex: none; color: var(--sb-text-heading); font-size: 16px; }
.sb-hscroll__pager span { margin-right: 6px; }
.sb-hscroll__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--sb-surface); color: var(--sb-text-heading);
  cursor: pointer;
}
.sb-hscroll__btn:disabled { color: var(--sb-border); cursor: default; }
.sb-hscroll.is-single .sb-hscroll__pager { visibility: hidden; }
.sb-hscroll__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 16px) / 3);
  gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.sb-hscroll__track::-webkit-scrollbar { display: none; }
.sb-hscroll__track > * { scroll-snap-align: start; min-width: 0; }
.sb-hscroll--cards .sb-hscroll__track { gap: 12px; grid-auto-columns: calc((100% - 2 * 12px) / 3); }
.sb-hscroll + .sb-btn-line { margin-top: 20px; }
#landlord-card .sb-hscroll { margin-top: 32px; }

/* Oda fotoğraf kartı (referans: 229×160 r12 + 18px/600 başlık) */
.sb-roomcard { display: block; padding-top: 8px; color: var(--sb-text-heading); text-decoration: none; }
.sb-roomcard img { display: block; width: 100%; height: 160px; object-fit: cover; border-radius: 12px; background: var(--sb-surface); transition: filter var(--sb-ease); }
.sb-roomcard:hover img { filter: brightness(.92); }
.sb-roomcard span { display: block; margin-top: 8px; font-size: 18px; font-weight: 600; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-roomcard:hover, .sb-roomcard:focus { color: var(--sb-text-heading); }

/* Küçük ilan kartı (ev sahibinin diğer ilanları) */
.sb-card--mini .sb-card__media { height: 120px; border-radius: 12px; }
.sb-card--mini .sb-card__body { padding: 10px 2px 0; }
.sb-card--mini .sb-card__title { color: var(--sb-text-heading); font-size: 14px; font-weight: 600; line-height: 18px; }
.sb-card--mini .sb-badges, .sb-card--mini .sb-card__media-badge, .sb-card--mini .sb-card__fav { display: none; }
.sb-card--mini .sb-card__price { margin-top: 4px; color: var(--sb-text-muted); font-size: 14px; }
.sb-card--mini .sb-card__price-now { color: var(--sb-text-heading); font-size: 18px; }
.sb-card--mini .sb-card__price-note { display: none; }

/* Arama kartları benzer ilanlarda (search.css yüklenmediği için) */
.sb-similar .sb-card--search .sb-card__media { border-radius: 12px; }
.sb-similar .sb-card--search .sb-card__fav { top: 10px; right: 8px; width: 40px; height: 40px; border-radius: 32px; box-shadow: none; }

/* Kira koşulları: ikonlu liste, izin verilmeyenlerin üstü çizili */
.sb-rule-list { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
.sb-rule-list li { display: flex; align-items: center; gap: 12px; color: var(--sb-text-heading); font-size: 16px; line-height: 16px; }
.sb-rule-list .sb-icon { width: 22px; height: 22px; flex: none; color: var(--sb-text-heading); stroke-width: 1.4; }
.sb-rule-list li.is-off span { text-decoration: line-through; }

/* Sözleşme */
.sb-contract { display: flex; gap: 12px; }
.sb-contract + .sb-contract { margin-top: 24px; }
.sb-contract > .sb-icon { width: 22px; height: 22px; flex: none; margin-top: -1px; color: var(--sb-text-heading); stroke-width: 1.4; }
.sb-contract h4 { margin: 0 0 4px; color: var(--sb-text-heading); font-size: 16px; font-weight: 500; line-height: 20px; }
.sb-contract p { margin: 0; color: var(--sb-text-heading); font-size: 14px; line-height: 20px; }
.sb-arrow-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--sb-primary); font-size: 14px; }
body.sb-v2 .sb-arrow-link { color: var(--sb-primary); }
.sb-arrow-link:hover { text-decoration: underline; }

/* SSS (akordeon) */
.sb-detail-section--last { border-bottom: 0; }
.sb-detail .sb-faq { border-top: 0; }
.sb-detail .sb-faq__item { border-bottom: 1px solid #E4EAED; }
.sb-detail .sb-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 12px; list-style: none; cursor: pointer;
}
.sb-detail .sb-faq__item summary::-webkit-details-marker { display: none; }
.sb-detail .sb-faq__item summary h3 { margin: 0; color: var(--sb-text-heading); font-size: 16px; font-weight: 600; line-height: 20px; }
.sb-detail .sb-faq__item summary .sb-icon { flex: none; color: var(--sb-text-heading); transition: transform var(--sb-ease); }
.sb-detail .sb-faq__item[open] summary .sb-icon { transform: rotate(180deg); }
.sb-detail .sb-faq__answer { padding: 0 12px 20px; color: var(--sb-text-heading); font-size: 16px; line-height: 24px; }

/* Rezervasyon kartı: referansta "Ab" yok, fiyat 22px + /ay */
.sb-booking-card__price small { margin-left: 1px; }

@media (max-width: 1023px) {
  .sb-hscroll__track,
  .sb-hscroll--cards .sb-hscroll__track,
  .sb-similar .sb-hscroll--cards .sb-hscroll__track { grid-auto-columns: 72%; }
  .sb-costbox__grid { grid-template-columns: 1fr 1fr; }
}
/* "Exit" (tam ekrandan çık) düğmesi harita kontrolü olarak ekleniyor; yalnızca tam ekranda (#location inline position: fixed) göster */
#location:not([style*="fixed"]) #btn-exit-full-screen { display: none !important; }

/* =====================================================================
 * Ev sahibi kartı: tam çerçeveli avatar + rozet + güven seviyesi (frame_track) — açıklamalar sb_frame_tip ile
 * ===================================================================== */
.sb-landlord__av { display: inline-flex; flex: none; border-radius: 50%; }
.sb-landlord__fav.sb-fav--lg { width: 64px; height: 64px; margin: 10px; }
.sb-landlord__fav .sb-fav__initials { font-size: 22px; }
.sb-landlord__namerow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
.sb-landlord__namerow .sb-vbadge { flex: none; }
.sb-landlord__namerow .sb-up-frame-label { height: 22px; font-size: 10.5px; }
.sb-ll-trust { margin: 4px 0 20px; padding: 16px 16px 12px; border-radius: 16px; background: linear-gradient(160deg, #F2FAFE 0%, #FFFFFF 60%); box-shadow: inset 0 0 0 1px #E4EEF5; }
.sb-ll-trust--trusted { background: linear-gradient(160deg, #FFF8E6 0%, #FFFFFF 60%); box-shadow: inset 0 0 0 1px #F3E3B8; }
.sb-ll-trust--elite { background: linear-gradient(160deg, #F4EEFF 0%, #FFF9EC 55%, #FFFFFF 100%); box-shadow: inset 0 0 0 1px #E4D8FA; }
.sb-ll-trust__eyebrow { margin: 0; color: var(--sb-text-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.sb-ll-trust__title { margin: 2px 0 0; color: var(--sb-text-heading); font-size: 17px; font-weight: 700; }
.sb-ll-trust__title span { margin-left: 6px; color: var(--sb-text-muted); font-size: 12.5px; font-weight: 600; }
.sb-ll-trust__text { max-width: 640px; margin: 6px 0 12px; color: var(--sb-text-dark-gray); font-size: 13.5px; line-height: 1.55; }
.sb-ll-trust .sb-fp__track--mini { max-width: 420px; }
.sb-ll-trust__hint { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--sb-text-muted); font-size: 12px; }

/* =====================================================================
 * Yorumlar: özet (ortalama + kategori çubukları) + yorum kartları
 * ===================================================================== */
.sb-reviews__count { display: inline-grid; place-items: center; min-width: 26px; height: 24px; margin-left: 6px; padding: 0 8px; border-radius: 12px; background: var(--sb-surface); color: var(--sb-text-muted); font-size: 13px; font-weight: 700; vertical-align: 3px; }
.sb-rvsum { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; margin: 0 0 12px; padding: 20px 22px; border-radius: 16px; box-shadow: 0 0 0 1px var(--sb-divider); }
.sb-rvsum__score { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-right: 28px; border-right: 1px solid var(--sb-divider); text-align: center; }
.sb-rvsum__score strong { color: var(--sb-text-heading); font-size: 44px; font-weight: 700; line-height: 1; }
.sb-rvsum__score .sb-stars .sb-icon { width: 18px; height: 18px; }
.sb-rvsum__score span:last-child { color: var(--sb-text-muted); font-size: 13px; }
.sb-rvsum__bars { display: flex; flex-direction: column; gap: 10px; }
.sb-rvsum__row { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) 32px; align-items: center; gap: 12px; font-size: 13.5px; }
.sb-rvsum__label { color: var(--sb-text-heading); }
.sb-rvsum__bar { position: relative; height: 6px; overflow: hidden; border-radius: 3px; background: #E8EDF0; }
.sb-rvsum__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: linear-gradient(90deg, #FFC83D, #F5B400); }
.sb-rvsum__val { color: var(--sb-text-heading); font-weight: 700; text-align: right; }
.sb-rvsum__row.is-empty .sb-rvsum__label, .sb-rvsum__row.is-empty .sb-rvsum__val { color: var(--sb-text-muted); font-weight: 400; }
.sb-rvsum__note { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 22px; color: var(--sb-text-muted); font-size: 12.5px; line-height: 1.45; }
.sb-rvsum__note .sb-icon { flex: none; margin-top: 2px; color: #2BAD63; }

.sb-reviews { gap: 16px; }
.sb-review { gap: 12px; padding: 16px; border-radius: 14px; box-shadow: 0 0 0 1px var(--sb-divider); background: #fff; }
.sb-review__av { display: inline-flex; flex: none; align-self: flex-start; border-radius: 50%; }
.sb-review__body { min-width: 0; flex: 1; }
.sb-review__head { margin: 0; gap: 4px 6px; }
.sb-review__head strong { font-size: 14.5px; }
.sb-review__meta { flex-basis: 100%; color: var(--sb-text-muted); font-size: 12.5px; }
.sb-review__stayed { display: inline-flex; align-items: center; gap: 3px; color: #1E8A4C; font-weight: 600; }
.sb-review__stayed .sb-icon { width: 13px; height: 13px; stroke-width: 3; }
.sb-review__rating { display: flex; align-items: center; gap: 6px; margin: 8px 0 6px; }
.sb-review__rating b { color: var(--sb-text-heading); font-size: 13px; }
.sb-review__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sb-review__text.is-open { display: block; -webkit-line-clamp: unset; }
.sb-review__more { margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--sb-primary-text); font: 600 13px var(--sb-font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.sb-review__subs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.sb-review__subs li { padding: 3px 9px; border-radius: 11px; background: #F4F7F9; color: var(--sb-text-dark-gray); font-size: 12px; }
.sb-review__subs b { color: #B07A1A; }
@media (max-width: 767px) {
  .sb-rvsum { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .sb-rvsum__score { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--sb-divider); }
  .sb-rvsum__row { grid-template-columns: 120px minmax(0, 1fr) 30px; }
}

/* =====================================================================
 * "Bu ilanla ilgili sorun mu var?" kartı + ev sahibine mesaj penceresi (room_detail_parts/scripts.php)
 * ===================================================================== */
.sb-askcard { display: flex; align-items: center; gap: 18px; margin: 18px 0 4px; padding: 20px 22px; border-radius: 14px; background: #F2FAFE; box-shadow: inset 0 0 0 1px #DDEFF8; }
.sb-askcard__icon { display: grid; flex: none; place-items: center; }
.sb-askcard__text { flex: 1 1 auto; min-width: 0; }
.sb-askcard__title { margin: 0 0 4px; color: #1F2D33; font-size: 17px; font-weight: 700; }
.sb-askcard__desc { margin: 0; max-width: 460px; color: #3E4A52; font-size: 14.5px; line-height: 1.55; }
.sb-askcard__btn { display: inline-flex; flex: none; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 18px; border-radius: 9px; background: var(--sb-primary); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none !important; white-space: nowrap; transition: background var(--sb-ease), transform var(--sb-ease); }
.sb-askcard__btn:hover { background: var(--sb-primary-hover); }
.sb-askcard__btn:hover .sb-icon { transform: translateX(3px); }
.sb-askcard__btn .sb-icon { transition: transform var(--sb-ease); }
.sb-askcard__btn:focus-visible { outline: 2px solid var(--sb-primary); outline-offset: 3px; }
@media (max-width: 767px) {
  .sb-askcard { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .sb-askcard__icon svg { width: 46px; height: 46px; }
  .sb-askcard__text { flex-basis: calc(100% - 64px); }
  .sb-askcard__btn { width: 100%; justify-content: center; }
}

/* Mesaj penceresi (Bootstrap .modal korunur; içerik yeniden giydirildi) */
body.sb-v2 .sb-askmodal .modal-dialog { width: min(540px, calc(100% - 24px)); margin: 6vh auto; }
body.sb-v2 .sb-ask { overflow: hidden; border: 0; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(8, 30, 45, .45); font-family: var(--sb-font); }
.sb-ask__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 22px 56px 18px 18px; background: linear-gradient(160deg, #F2FAFE 0%, #fff 70%); border-bottom: 1px solid var(--sb-divider); }
.sb-ask__av { display: inline-flex; flex: none; }
.sb-ask__av .sb-fav--lg { width: 52px; height: 52px; margin: 8px; }
.sb-ask__who { min-width: 0; }
.sb-ask__eyebrow { margin: 0; color: var(--sb-primary-text); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
body.sb-v2 .sb-ask__title { display: flex; align-items: center; gap: 6px; margin: 2px 0 4px; color: #1F2D33; font-size: 19px; font-weight: 700; line-height: 1.25; }
.sb-ask__about { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; color: var(--sb-text-muted); font-size: 13px; }
.sb-ask__about span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sb-ask__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: #3B4B53; cursor: pointer; }
.sb-ask__x:hover { background: #EEF2F4; }
.sb-ask__body { padding: 18px 22px 6px; }
body.sb-v2 .sb-ask__label { display: block; margin: 0 0 8px; color: var(--sb-text-heading); font-size: 13px; font-weight: 700; }
.sb-ask__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.sb-ask__chips button { padding: 7px 12px; border: 1px solid #DDE3E6; border-radius: 16px; background: #fff; color: var(--sb-text-heading); font: 500 13px/1.3 var(--sb-font); text-align: left; cursor: pointer; transition: border-color var(--sb-ease), background var(--sb-ease); }
.sb-ask__chips button:hover { border-color: var(--sb-primary); background: #F2FBFE; }
.sb-ask__chips button.is-used { border-color: #9ED9F2; background: #EAF7FD; color: #0B5F84; }
.sb-ask__field { position: relative; }
body.sb-v2 .sb-ask textarea#message_pre { display: block; width: 100%; min-height: 128px; padding: 12px 14px 26px; border: 1px solid #CFD8DC; border-radius: 12px; box-shadow: none; color: #1F2D33; font: 15px/1.5 var(--sb-font); resize: vertical; transition: border-color var(--sb-ease), box-shadow var(--sb-ease); }
body.sb-v2 .sb-ask textarea#message_pre:focus { border-color: var(--sb-primary); box-shadow: 0 0 0 3px rgba(0, 173, 239, .15); outline: 0; }
.sb-ask__count { position: absolute; right: 12px; bottom: 8px; color: #9AAAB2; font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; }
.sb-ask__count.is-near { color: #C07A12; font-weight: 600; }
.sb-ask label.help-inline { display: block; margin: 6px 0 0; color: var(--sb-danger); font-size: 13px; }
.sb-ask__safety { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 6px; padding: 10px 12px; border-radius: 10px; background: #FFF7E3; color: #7A5410; font-size: 12.5px; line-height: 1.45; }
.sb-ask__safety .sb-icon { flex: none; margin-top: 1px; color: #C08A1E; }
.sb-ask__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; }
.sb-ask__cancel { height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: none; color: var(--sb-text-heading); font: 600 15px var(--sb-font); cursor: pointer; }
.sb-ask__cancel:hover { background: #F2F5F7; }
.sb-ask__send { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 20px; border: 0; border-radius: 10px; background: var(--sb-primary); color: #fff; font: 600 15px var(--sb-font); cursor: pointer; transition: background var(--sb-ease); }
.sb-ask__send:hover:not(:disabled) { background: var(--sb-primary-hover); }
.sb-ask__send:disabled { opacity: .6; cursor: default; }
@media (max-width: 600px) {
  body.sb-v2 .sb-askmodal .modal-dialog { width: 100%; margin: 0; position: absolute; bottom: 0; }
  body.sb-v2 .sb-ask { border-radius: 20px 20px 0 0; }
  .sb-ask__foot { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .sb-ask__send { flex: 1; justify-content: center; }
}

/* ============ Öne çıkan puan bandı ("Öğrencilerin favorisi" / "Yüksek puanlı") ============ */
.sb-fav-band, body.sb-v2 .sb-fav-band {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
  margin: 28px 0 4px; padding: 18px 28px; border: 1px solid #DDE3E6; border-radius: 16px; background: #fff;
  color: var(--sb-text-heading); text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.sb-fav-band:hover { border-color: #C9D3D8; box-shadow: 0 6px 20px rgba(15, 32, 44, .08); transform: translateY(-1px); color: var(--sb-text-heading); }
.sb-fav-band:focus-visible { outline: 2px solid var(--sb-primary); outline-offset: 3px; }
.sb-fav-band__badge { display: inline-flex; align-items: center; gap: 6px; }
.sb-fav-band__laurel { flex: none; width: 22px; height: 40px; color: #222; }
.sb-fav-band__laurel:last-child { transform: scaleX(-1); }
.sb-fav-band__title { max-width: 112px; font-size: 19px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; text-align: center; }
.sb-fav-band__text { font-size: 17px; font-weight: 600; line-height: 1.35; }
.sb-fav-band__stats { display: flex; align-items: center; gap: 22px; }
.sb-fav-band__stat { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; }
.sb-fav-band__stat strong { font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.sb-fav-band__stat small { color: var(--sb-text-heading); font-size: 12px; font-weight: 600; }
.sb-fav-band__stat .sb-stars { display: inline-flex; gap: 1px; }
.sb-fav-band__stat .sb-stars .sb-icon { width: 11px; height: 11px; color: #222; fill: #222; stroke: #222; }
.sb-fav-band__sep { width: 1px; height: 40px; background: #DDE3E6; }
/* Favori: altın defne + hafif sıcak zemin */
.sb-fav-band--favourite { background: linear-gradient(100deg, #FFFBF0, #fff 45%); }
.sb-fav-band--favourite .sb-fav-band__laurel { color: #B88A1E; }
.sb-fav-band--favourite .sb-fav-band__title { background: linear-gradient(180deg, #4A3508, #8A6414); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Yüksek puanlı: marka mavisi, sade */
.sb-fav-band--top .sb-fav-band__laurel { color: var(--sb-primary); }
@media (max-width: 1023px) { .sb-fav-band { gap: 20px; padding: 16px 20px; } .sb-fav-band__text { font-size: 15px; } }
@media (max-width: 767px) {
  .sb-fav-band, body.sb-v2 .sb-fav-band { grid-template-columns: 1fr; justify-items: center; gap: 10px; margin-top: 20px; padding: 18px 16px; text-align: center; }
  .sb-fav-band__title { max-width: none; font-size: 18px; }
  .sb-fav-band__laurel { width: 18px; height: 34px; }
  .sb-fav-band__text { max-width: 280px; font-size: 14px; font-weight: 500; color: var(--sb-text-muted); }
  .sb-fav-band__stats { gap: 18px; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .sb-fav-band { transition: none; } .sb-fav-band:hover { transform: none; } }
