/* ══════════════════════════════════════════════
   DEMO LIFESTYLE — Offer Detail Page
   ══════════════════════════════════════════════ */

/* ── Hero Carousel ── */
.od-hero {
  position: relative; width: 100%; overflow: hidden;
  max-height: 400px;
  border-radius: 0 0 24px 24px;
}
.od-hero__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}
.od-hero__slide {
  flex: 0 0 100%; width: 100%;
}
.od-hero__slide img {
  width: 100%; height: 400px; object-fit: cover; display: block;
}

/* Back button */
.od-hero__back {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none; cursor: pointer;
  display: grid; place-items: center;
  color: var(--charcoal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}
.od-hero__back:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* Share button */
.od-hero__share {
  position: absolute; bottom: 16px; right: 16px; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: #fff;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}
.od-hero__share .icon { width: 18px; height: 18px; }
.od-hero__share:hover { background: rgba(0,0,0,0.65); }

/* Dot indicators */
.od-hero__dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: 6px;
}
.od-hero__dot {
  width: 6px; height: 6px; border-radius: 100px;
  background: rgba(255,255,255,0.45);
  cursor: pointer; transition: all 0.3s ease;
}
.od-hero__dot--active {
  width: 20px; background: #fff;
}

/* ── Detail Content ── */
.od-content {
  max-width: var(--container-max); margin: 0 auto;
  padding: 24px var(--container-pad) 40px;
}
.od-content > .breadcrumb { padding-top: var(--space-md); }

/* ── Header row: name + discount ── */
.od-detail__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.od-detail__name {
  font-size: 22px; font-weight: 700; color: var(--charcoal);
  line-height: 1.3; margin: 0;
}
.od-detail__discount {
  font-size: 12px; font-weight: 700; color: #fff; background: var(--accent);
  white-space: nowrap; flex-shrink: 0; margin-top: 4px;
  font-style: normal; padding: 4px 12px; border-radius: var(--radius-full);
}

/* ── Info grid ── */
.od-detail__info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px 16px; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--grey-border);
}
.od-detail__info-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--grey); line-height: 1.4;
}
.od-detail__info-item .icon {
  width: 16px; height: 16px; color: var(--grey-light); flex-shrink: 0;
}

/* ── Desktop CTA ── */
.od-cta-desktop {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-border);
}
.od-cta-desktop__book {
  flex: 1; max-width: 320px;
}
.od-cta-desktop__save {
  flex-shrink: 0; width: 48px; height: 48px; padding: 0;
  display: grid; place-items: center; border-radius: 12px;
}
.od-cta-desktop__save.is-saved { border-color: var(--danger); color: var(--danger); }
.od-cta-desktop__save.is-saved .icon { fill: var(--danger); stroke: var(--danger); }

/* ── Generic section ── */
.od-section {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-border);
}
.od-section:last-child { border-bottom: none; }
.od-section--full { padding-left: 0; padding-right: 0; }

.od-section__title {
  font-size: 18px; font-weight: 700; color: var(--charcoal);
  margin: 0 0 12px 0; line-height: 1.3;
}
.od-section__subtitle {
  font-size: 13px; color: var(--grey); margin: -8px 0 14px 0;
}
.od-section__text {
  font-size: 14px; color: var(--grey); line-height: 1.75; margin: 0;
}
.od-section__list {
  list-style: disc; padding-left: 20px; margin: 0;
}
.od-section__list li {
  font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 2px;
}
.od-section__list--plain {
  list-style: none; padding-left: 0;
}
.od-section__list--plain li {
  padding: 2px 0;
}

/* ── Contact details ── */
.od-contact {
  display: flex; flex-direction: column; gap: 0;
}
.od-contact__item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-border);
}
.od-contact__item:last-child { border-bottom: none; }
.od-contact__icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--grey-border);
  color: var(--grey);
}
.od-contact__icon .icon { width: 20px; height: 20px; }
.od-contact__body {
  display: flex; flex-direction: column; gap: 2px;
}
.od-contact__label {
  font-size: 12px; color: var(--grey-light); font-weight: 400;
}
.od-contact__value {
  font-size: 14px; color: var(--charcoal); font-weight: 600;
}

/* ── Similar places section (full-width) ── */
.od-similar {
  margin-bottom: var(--space-2xl);
  padding-top: 8px;
}
.od-similar .carousel-arrow { top: 120px; }
.od-similar .carousel-arrow--left { left: calc(var(--container-pad) - 20px); }
.od-similar .carousel-arrow--right { right: calc(var(--container-pad) - 20px); }

.od-similar__card {
  flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start;
  border-radius: 16px; overflow: hidden; cursor: pointer;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 0.5px solid var(--grey-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.od-similar__card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

.od-similar__img {
  position: relative; height: 180px; overflow: hidden;
}
.od-similar__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.od-similar__rating {
  position: absolute; bottom: 10px; left: 10px;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 700; color: #facc15;
  letter-spacing: 0.02em;
}

.od-similar__body {
  padding: 14px 16px;
}
.od-similar__name {
  font-size: 15px; font-weight: 700; color: var(--charcoal);
  margin: 0 0 4px 0; line-height: 1.3;
}
.od-similar__meta {
  font-size: 13px; color: var(--grey); margin: 0 0 6px 0;
}
.od-similar__price {
  font-size: 13px; color: var(--grey-light); font-weight: 600; margin: 0;
}

/* ── Sticky mobile CTA ── */
.od-sticky-cta { display: none; }

/* ── Event details (kept from original) ── */
.od-layout {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl); margin-bottom: var(--space-2xl);
}
.od-image {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; box-shadow: var(--shadow-soft);
}
.od-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.od-image .discount-badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.od-panel {
  display: flex; flex-direction: column; gap: 24px;
  background: var(--white); border-radius: 20px;
  padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 0.5px solid var(--grey-border);
}
.od-panel__title {
  font-size: 24px; font-weight: 700; line-height: 1.25;
  color: var(--charcoal); margin: 0;
}
.od-panel__desc { font-size: 14px; color: var(--grey); line-height: 1.75; margin: 0; }
.od-event-details { display: flex; flex-direction: column; gap: 10px; }
.od-event-details__row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--charcoal); }
.od-event-pricing { display: flex; align-items: baseline; gap: 10px; padding: 16px 0; }
.od-event-pricing__current { font-size: 28px; font-weight: 800; color: var(--charcoal); }
.od-event-pricing__original { font-size: 16px; color: var(--grey-light); text-decoration: line-through; }
.od-event-pricing__per { font-size: 13px; color: var(--grey); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .od-hero { max-height: 280px; }
  .od-hero__slide img { height: 280px; }
  .od-hero__back { width: 36px; height: 36px; top: 12px; left: 12px; }
  .od-hero__back svg { width: 18px; height: 18px; }
  .od-hero__share { bottom: 12px; right: 12px; padding: 6px 12px; font-size: 12px; }
  .od-hero__dots { bottom: 10px; }
  .od-hero__dot { width: 5px; height: 5px; }
  .od-hero__dot--active { width: 16px; }

  .od-content { padding: 16px 16px 8px; }

  .od-detail__header { margin-bottom: 14px; }
  .od-detail__name { font-size: 20px; }
  .od-detail__discount { font-size: 13px; }

  .od-detail__info { gap: 8px 10px; margin-bottom: 20px; padding-bottom: 16px; }
  .od-detail__info-item { font-size: 12px; }

  .od-section { margin-bottom: 20px; padding-bottom: 16px; }
  .od-section__title { font-size: 16px; margin-bottom: 8px; }
  .od-section__text { font-size: 13px; line-height: 1.65; }
  .od-section__list li { font-size: 13px; line-height: 1.6; }

  .od-contact__item { padding: 12px 0; }

  .od-cta-desktop { display: none; }

  .od-similar { margin-bottom: 0; padding-bottom: 90px; }
  .od-similar__card { flex: 0 0 260px; }
  .od-similar__img { height: 160px; }

  .od-layout { grid-template-columns: 1fr; }
  .od-image img { aspect-ratio: 16 / 9; }

  .od-sticky-cta {
    display: flex; align-items: center; gap: 12px;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    padding: 12px var(--container-pad);
    background: var(--white); border-top: 0.5px solid var(--grey-border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  .od-sticky-cta__book { flex: 1; }
  .od-sticky-cta__save {
    flex-shrink: 0; width: 48px; height: 48px; padding: 0;
    display: grid; place-items: center; border-radius: 12px;
  }
  .od-sticky-cta__save.is-saved { border-color: var(--danger); color: var(--danger); }
  .od-sticky-cta__save.is-saved .icon { fill: var(--danger); stroke: var(--danger); }

  .page__main--od { padding-bottom: 0; }
}
