/* Ürün detay sayfası — güncel layout & bileşenler */

/* Mobil app bar / ribbon — PC'de asla görünmesin
   (product-detail-mobile.css media="(max-width:900px)" ile yüklendiği için
   içindeki min-width gizleme kuralı masaüstünde çalışmaz) */
@media (min-width: 901px) {
  .detail-mobi-bar,
  .detail-mobi-price-ribbon,
  .detail-mobi-skeleton {
    display: none !important;
  }
}

.detail-page {
  --detail-radius: 20px;
  --detail-gap: 1.75rem;
  padding: 0.25rem 0 4rem;
}

/* ---- Hero başlık ---- */
.detail-hero {
  margin-bottom: 1.5rem;
}

/* PC meta satırı — yalnızca pc-simplify.css (≥901px) gösterir */
.detail-hero__meta {
  display: none;
}

.detail-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.detail-hero__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.detail-hero__category {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #166534;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-hero__title {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.detail-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.detail-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.detail-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--color-surface-muted);
  color: var(--color-primary);
}

.detail-stat__icon--rating {
  background: #fffbeb;
  color: #d97706;
}

.detail-stat__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.detail-stat__value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-stat__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-hero__extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.detail-hero__deposit {
  margin: 0;
  font-size: 0.85rem;
  color: #b45309;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
}

/* ---- Ana layout ---- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: var(--detail-gap);
  align-items: start;
}

.detail-layout__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.detail-layout__sidebar {
  min-width: 0;
}

.detail-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---- Galeri ---- */
.detail-gallery-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  aspect-ratio: 4 / 3;
  max-height: 420px;
  min-height: 240px;
}

/* Çoklu fotoğraf: ana görsel + altta küçükler */
.detail-gallery-wrap:has(.detail-gallery--multi) {
  aspect-ratio: auto;
  max-height: none;
  min-height: 0;
  background: #fff;
}

.detail-gallery-wrap .detail-mobi-price-ribbon {
  display: none;
}

.detail-gallery-wrap .detail__image-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  /* Thumbnail şeridini örtmesin */
  max-width: calc(100% - 28px);
  pointer-events: none;
}

.detail-gallery-wrap .detail__image-actions > * {
  pointer-events: auto;
}

.detail-gallery-wrap .detail-gallery {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.detail-gallery-wrap .detail-gallery--multi {
  height: auto;
}

.detail-gallery-wrap .detail-gallery__viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  height: 100%;
  cursor: zoom-in;
}

.detail-gallery-wrap .detail-gallery--multi .detail-gallery__viewport {
  flex: 0 0 auto;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 400px;
  min-height: 220px;
  background: #f1f5f9;
}

.detail-gallery-wrap .detail-gallery__stage,
.detail-gallery-wrap .detail-gallery__chrome {
  height: 100%;
  min-height: 0;
  cursor: zoom-in;
}

.detail-gallery-wrap .detail-gallery__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.detail-gallery-wrap .detail-gallery__track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
  cursor: grab;
}

.detail-gallery-wrap .detail-gallery__track:active {
  cursor: grabbing;
}

.detail-gallery-wrap .detail-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
}

.detail-gallery-wrap .detail-gallery__chrome {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.detail-gallery-wrap .detail-gallery__chrome .detail-gallery__dots {
  pointer-events: auto;
}

.detail-gallery-wrap .detail-gallery__main,
.detail-gallery-wrap .detail__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transition: opacity 0.22s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.detail-gallery-wrap .detail-gallery__main.is-switching {
  opacity: 1;
  transform: none;
}

.detail-gallery-wrap .detail-gallery__nav {
  z-index: 50 !important;
  pointer-events: auto !important;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.55rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.18s ease, background 0.18s ease;
}

.detail-gallery-wrap .detail-gallery__nav:hover {
  transform: translateY(-50%) scale(1.06);
  background: #fff;
}

.detail-gallery-wrap .detail-gallery__zoom-btn {
  z-index: 50 !important;
  pointer-events: auto !important;
  top: auto;
  bottom: 16px;
  right: 16px;
  width: 2.6rem;
  height: 2.6rem;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-gallery-wrap .detail-gallery__counter {
  z-index: 45;
  top: 16px;
  right: auto;
  left: 16px;
  bottom: auto;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

.detail-gallery-wrap .detail-gallery__dots {
  z-index: 45;
  bottom: 18px;
  pointer-events: auto !important;
}

.detail-gallery-wrap .detail-gallery__thumbs {
  display: flex;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem 0.85rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  overflow-x: auto;
  position: relative;
  z-index: 20;
  pointer-events: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.detail-gallery-wrap .detail-gallery__thumb {
  flex: 0 0 72px;
  height: 56px;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: hidden;
  opacity: 0.75;
  cursor: pointer;
  pointer-events: auto !important;
  background: #f1f5f9;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.detail-gallery-wrap .detail-gallery__thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.detail-gallery-wrap .detail-gallery__thumb:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.detail-gallery-wrap .detail-gallery__thumb--active {
  border-color: var(--color-primary, #16a34a);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.18);
}

.detail-gallery-wrap .detail-gallery__edge {
  display: none !important;
}

/* Teslimat türü seçimi — kiralama sihirbazı */
.rental-delivery-type {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.85rem 0 1rem;
}

.rental-delivery-type__option {
  display: block;
  cursor: pointer;
  margin: 0;
}

.rental-delivery-type__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rental-delivery-type__card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--color-border, #e2e8f0);
  background: var(--color-surface, #fff);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rental-delivery-type__radio {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 2px solid #94a3b8;
  flex-shrink: 0;
  position: relative;
}

.rental-delivery-type__option input:checked + .rental-delivery-type__card {
  border-color: var(--color-rental, #2563eb);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-rental, #2563eb) 16%, transparent);
  background: var(--color-rental-light, #eff6ff);
}

.rental-delivery-type__option input:checked + .rental-delivery-type__card .rental-delivery-type__radio {
  border-color: var(--color-rental, #2563eb);
}

.rental-delivery-type__option input:checked + .rental-delivery-type__card .rental-delivery-type__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: var(--color-rental, #2563eb);
}

.rental-delivery-type__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.rental-delivery-type__text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text, #0f172a);
}

.rental-delivery-type__text small {
  font-size: 0.78rem;
  color: var(--color-text-muted, #64748b);
}

.rental-delivery-type__badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-rental-hover, #1d4ed8);
  background: var(--color-rental-soft, #dbeafe);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.rental-delivery-type__option.is-disabled-by-days {
  cursor: not-allowed;
  opacity: 0.55;
}

.rental-delivery-type__option.is-disabled-by-days .rental-delivery-type__card {
  background: #f8fafc;
}

.rental-delivery-panel {
  margin-top: 0.15rem;
}

.rental-delivery-panel[hidden] {
  display: none !important;
}

.rental-cargo-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--color-rental-soft, #bfdbfe);
  background: var(--color-rental-light, #eff6ff);
  color: var(--color-rental-ink, #1e3a8a);
  font-size: 0.82rem;
  line-height: 1.45;
}

.rental-cargo-hint .icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-rental, #2563eb);
}

.rental-delivery-panel .form-req {
  color: #dc2626;
  font-weight: 700;
}

.rental-delivery-panel input[type="text"],
.rental-delivery-panel textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .rental-delivery-type__card {
    padding: 0.85rem 0.8rem;
    gap: 0.65rem;
    border-radius: 16px;
  }

  .rental-delivery-type__text strong {
    font-size: 0.92rem;
  }

  .rental-delivery-type__text small {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .rental-cargo-hint {
    font-size: 0.8rem;
    padding: 0.7rem 0.75rem;
  }
}

/* ---- Ürün açıklama & özellikler ---- */
.detail-about {
  min-width: 0;
}

.detail-about__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--detail-radius);
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
}

.detail-about__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.detail-about__label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.detail-about__block--features .detail-about__label-icon {
  background: #eff6ff;
  color: #1d4ed8;
}

.detail-about__label-text {
  flex: 1;
  min-width: 0;
}

.detail-about__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
}

.detail-about__desc {
  margin-bottom: 0.25rem;
}

.detail-about__desc .detail-prose {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.detail-about__toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-about__block--features {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--color-border);
}

.detail-about__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.55rem;
}

.detail-about__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-text);
}

.detail-about__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

[data-theme="dark"] .detail-about__feature {
  background: rgba(30, 41, 59, 0.5);
}

[data-theme="dark"] .detail-about__block--features .detail-about__label-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

/* ---- İçerik bölümleri (eski — geriye dönük) ---- */
.detail-sections {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--detail-radius);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
}

.detail-section__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.35rem;
  background: linear-gradient(180deg, var(--color-surface-muted) 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-border);
}

.detail-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.detail-section__icon--specs {
  background: #eff6ff;
  color: #1d4ed8;
}

.detail-section__titles {
  flex: 1;
  min-width: 0;
}

.detail-section__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.25;
}

.detail-section__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.detail-section__badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 0.25rem 0.6rem;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  white-space: nowrap;
}

.detail-section__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.detail-prose {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.detail-prose--empty {
  color: var(--color-text-muted);
  font-style: italic;
}

/* Özellikler grid */
.detail-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
}

.detail-features__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.detail-features__item:hover {
  border-color: rgba(22, 163, 74, 0.28);
  background: #f0fdf4;
  transform: translateY(-1px);
}

.detail-features__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  margin-top: 0.05rem;
}

.detail-features__text {
  color: var(--color-text);
  font-weight: 500;
}

/* ---- Rezervasyon kartı ---- */
.detail-booking {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--detail-radius);
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
  overflow: visible;
}

.detail-booking__price {
  padding: 0.15rem 0 1.05rem;
  margin-bottom: 1.05rem;
  border-bottom: 1px solid var(--color-border);
}

.detail-booking__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.detail-booking__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.detail-booking__amount {
  font-size: clamp(1.85rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.035em;
  line-height: 1;
  animation: bookingPriceIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-booking__unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

@keyframes bookingPriceIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.detail-booking__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.detail-booking__chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.65rem 0.7rem;
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-booking__chip:hover {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.08);
}

.detail-booking__chip-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.detail-booking__chip-value {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.detail-booking__trust {
  display: flex;
  justify-content: center;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}

.detail-booking__trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--color-primary-light, #f0fdf4);
  border: 1px solid rgba(22, 163, 74, 0.18);
  font-size: 0.74rem;
  font-weight: 600;
  color: #166534;
  line-height: 1.35;
  text-align: center;
}

.detail-booking__trust-pill svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

[data-theme="dark"] .detail-booking__chip:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

[data-theme="dark"] .detail-booking__trust-pill {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
  color: #86efac;
}

[data-theme="dark"] .detail-booking__amount {
  color: #4ade80;
}

/* ---- İlan sahibi kartı ---- */
.detail-owner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--detail-radius);
  padding: 1.2rem 1.35rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.detail-owner__label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
}

.detail-owner__row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

/* Rental form içi */
.detail-booking .rental-form h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: var(--color-text);
}

.detail-booking #rental-box {
  min-width: 0;
}

.detail-booking .rental-form__dates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.detail-booking .date-input-wrap {
  isolation: isolate;
}

.detail-booking .date-input-wrap input[type="date"] {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 2.85rem 0.7rem 0.8rem;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text);
  background: transparent;
  border: none;
  box-shadow: none;
}

.detail-booking .date-input-wrap input[type="date"]::-webkit-datetime-edit {
  padding: 0;
  line-height: 1.4;
}

.detail-booking .rental-summary {
  background: var(--color-surface-muted);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0;
}

.detail-booking .detail__rent-btn {
  margin-top: 0.25rem;
}

.detail-booking .detail__message-cta {
  margin-top: 0.65rem;
}

.detail-booking .detail__message-cta .btn {
  width: 100%;
}

/* ---- Dark mode ---- */
[data-theme="dark"] .detail-hero__category {
  background: rgba(22, 163, 74, 0.15);
  border-color: rgba(74, 222, 128, 0.25);
  color: #86efac;
}

[data-theme="dark"] .detail-stat {
  background: var(--color-surface);
  box-shadow: none;
}

[data-theme="dark"] .detail-stat__icon--rating {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

[data-theme="dark"] .detail-gallery-wrap,
[data-theme="dark"] .detail-gallery-wrap .detail-gallery__main,
[data-theme="dark"] .detail-gallery-wrap .detail__img,
[data-theme="dark"] .detail-gallery-wrap .detail-gallery--classic .detail-gallery__viewport {
  background: #0f172a;
}

[data-theme="dark"] .detail-section__head {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), transparent);
}

[data-theme="dark"] .detail-section__icon--specs {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

[data-theme="dark"] .detail-features__item:hover {
  background: rgba(22, 163, 74, 0.12);
}

[data-theme="dark"] .detail-booking__trust-pill {
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(74, 222, 128, 0.2);
  color: #86efac;
}

[data-theme="dark"] .detail-hero__deposit {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fcd34d;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .detail-hero__stats {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-about__desc--clamp .detail-prose {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-about__desc--clamp.is-expanded .detail-prose {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Mobil galeri — tam genişlik, sade (telefon) */
@media (max-width: 900px) {
  body[data-page="detail"] .detail-gallery-wrap {
    width: 100%;
    max-width: 100vw;
    aspect-ratio: auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    background: #f1f5f9;
  }

  body[data-page="detail"] .detail-gallery {
    gap: 0;
    height: auto;
  }

  body[data-page="detail"] .detail-gallery__thumbs {
    display: flex !important;
    pointer-events: auto !important;
  }

  body[data-page="detail"] .detail-gallery__nav {
    display: inline-flex !important;
    z-index: 26 !important;
    pointer-events: auto !important;
  }

  body[data-page="detail"] .detail-gallery__edge {
    display: block !important;
  }

  body[data-page="detail"] .detail-gallery__zoom-hit {
    display: none !important;
  }

  body[data-page="detail"] .detail-gallery__viewport {
    height: min(52vh, 380px);
    min-height: 240px;
    max-height: min(52vh, 380px);
    position: relative;
    background: #111827;
  }

  body[data-page="detail"] .detail-gallery__stage {
    height: 100%;
    min-height: 0;
    position: relative;
    background: #111827;
  }

  body[data-page="detail"] .detail-gallery__stage::after {
    content: none !important;
    display: none !important;
  }

  body[data-page="detail"] .detail-gallery__zoom-hit {
    display: none !important;
  }

  body[data-page="detail"] .detail-gallery__main,
  body[data-page="detail"] .detail-gallery-wrap .detail__img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  body[data-page="detail"] .detail-gallery__main.is-switching {
    opacity: 0.55;
    transform: scale(0.985);
  }

  /* left+right birlikte = şerit bug’ı; mobilde sadece sağ-alt pill */
  body[data-page="detail"] .detail-gallery__counter {
    top: auto !important;
    left: auto !important;
    right: 12px !important;
    bottom: 14px !important;
    z-index: 12;
    width: auto !important;
    max-width: max-content;
  }

  body[data-page="detail"] .detail-gallery__zoom-btn {
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
  }

  body[data-page="detail"] .detail-gallery__nav,
  body[data-page="detail"] .detail-gallery__edge {
    display: none !important;
  }

  body[data-page="detail"] .detail-gallery--multi .detail-gallery__dots {
    display: flex !important;
  }

  body[data-page="detail"] .detail-gallery__thumbs {
    scrollbar-width: none;
  }

  body[data-page="detail"] .detail-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  body[data-page="detail"] .detail-mobi-price-ribbon,
  body[data-page="detail"] .detail-gallery-wrap:has(.detail-gallery--multi) .detail-mobi-price-ribbon {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .detail-about__features {
    grid-template-columns: 1fr;
  }

  .detail-page {
    padding-bottom: 2.5rem;
  }

  .detail-hero__title {
    font-size: 1.4rem;
  }

  .detail-hero__stats {
    grid-template-columns: 1fr;
  }

  body[data-page="detail"] .detail-gallery__viewport {
    height: min(48vh, 340px);
    max-height: min(48vh, 340px);
    min-height: 220px;
  }

  .detail-section__head {
    padding: 0.95rem 1.1rem;
  }

  .detail-section__body {
    padding: 1.1rem 1.15rem 1.25rem;
  }

  .detail-features {
    grid-template-columns: 1fr;
  }

  .detail-booking {
    padding: 1.15rem;
  }

  .detail-booking__amount {
    font-size: 1.75rem;
  }
}

/* —— Sade ürün sayfası (Favori + Kirala odaklı) —— */
.detail-page--simple .detail-hero__stats {
  display: none;
}

.detail-page--simple .detail__message-cta--hidden,
.detail-page--simple #detail-message-cta[hidden] {
  display: none !important;
}

.detail-page--simple .detail-booking__trust {
  margin-top: 0.75rem;
}

.detail-page--simple .detail-owner__label {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-muted, #64748b);
}

.rental-wizard--simple .rental-form__head h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}

.rental-wizard--simple .rental-step-block h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.rental-wizard--simple .rental-step-block__hint {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--color-muted, #64748b);
}

.rental-wizard--simple .rental-wizard__nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.rental-wizard--simple .rental-wizard__nav .btn--lg,
.rental-wizard--simple #rent-btn {
  min-height: 52px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
}

.rental-wizard--simple .rental-summary {
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.rental-wizard--simple .rental-pay-note {
  margin: 0.85rem 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--color-muted, #64748b);
}

.rental-wizard--simple .rental-protect-details {
  margin: 0.75rem 0;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.65rem 0.85rem;
  background: #fff;
}

.rental-wizard--simple .rental-protect-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.modal--success-simple {
  text-align: center;
  max-width: 420px;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 20px;
}

.modal--success-simple .modal__icon--ok {
  color: #16a34a;
  margin: 0 auto 1rem;
}

.modal--success-simple h2 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.modal--success-simple p {
  margin: 0 0 1.5rem;
  color: var(--color-muted, #64748b);
  line-height: 1.5;
}

.modal--success-simple #modal-close {
  border-radius: 14px;
  min-height: 52px;
}

.rp-done--quiet {
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.rp-done--quiet h2 {
  color: #14532d;
  margin: 0.5rem 0 0.35rem;
}

.rp-done--quiet p {
  margin: 0;
  color: #64748b;
}
