

.schedule-detail-page{
  padding:28px 0 50px;
}

/* =========================
   DETAIL HERO WRAP
   ========================= */
.detail-hero-wrap{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  isolation:isolate;
  border:1px solid #eef2f7;
  box-shadow:0 14px 34px rgba(15,23,42,.06);
  background:#fff;
  margin-bottom:24px;
}

.detail-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:blur(28px) brightness(3.55);
  transform:scale(1.2);
  z-index:0;
}

.detail-hero-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(15,23,42,.35),
    rgba(15,23,42,.65)
  );
  z-index:1;
}

.detail-hero-inner{
  position:relative;
  z-index:2;
  padding:18px;
}

.detail-media-main{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  background:#e2e8f0;
  box-shadow:0 16px 34px rgba(15,23,42,.18);
}

.detail-media-main img{
  width:100%;
  height:420px;
  object-fit:cover;
  display:block;
}

.detail-media-empty{
  height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#64748b;
  font-weight:700;
  background:linear-gradient(135deg,#e2e8f0,#f8fafc);
}

.detail-badge{
  position:absolute;
  top:0;
  left:0;
  z-index:4;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:39px;
  padding:6px 12px 4px;
  background:linear-gradient(45deg, #b452a3 2.28%, #7640a1 99.77%);
  color:#fff;
  font-size:16px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.3px;
  text-transform:uppercase;
  white-space:nowrap;
  border-radius:0 0 17px 0;
  box-shadow:0 8px 18px rgba(118, 64, 161, .30);
}

.detail-date-chip{
  position:absolute;
  top:16px;
  right:16px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(255, 255, 255, .96);
  color:#0f172a;
  font-size:12px;
  font-weight:900;
  line-height:1.2;
  box-shadow:0 8px 18px rgba(15, 23, 42, .14);
  max-width:calc(100% - 130px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* =========================
   WHITE OVERLAP CONTENT
   ========================= */
.detail-content-shell{
  position:relative;
  z-index:3;
  width:min(1180px, calc(100% - 34px));
         margin: -43px auto 0;
}

.detail-wrap{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr);
  gap:24px;
  align-items:start;
}

.detail-main,
.detail-side{
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:24px;
  box-shadow:
    0 12px 24px rgba(15,23,42,.12),
    0 2px 6px rgba(15,23,42,.08);
}

.detail-main{
  padding:24px;
}

.detail-side{
  padding:22px;
  position:sticky;
  top:18px;
}

/* =========================
   MAIN CONTENT
   ========================= */
.detail-destination{
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 900;
    color: #ff7800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.detail-title{
  margin:0 0 14px;
  font-size:34px;
  line-height:1.16;
  font-weight:800;
  color:#0f172a;
}

.detail-info-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-bottom:22px;
}

.info-box{
position: relative;
    min-height: 64px;
    padding: 21px 16px 14px;
    border-radius: 17px;
    background: linear-gradient(180deg, #a5a5a530 0%, #eff7ff42 100%);
    flex-direction: column;
}

.info-label{
    position: absolute;
    top: -6px;
    right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px 3px;
    border-radius: 9px;
    background: linear-gradient(135deg, #e5e5e5 0%, #ffffff 100%);
    color: #3d3d3d;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .08);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}

.info-value{
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.6;
    word-break: break-word;
    flex-direction: row;
}
.value-chip{
}

.value-separator{
  font-size:16px;
  font-weight:900;
  color:#64748b;
}

.detail-section{
  margin-top:10px;
}

.detail-section-title{
  margin:0 0 12px;
  font-size:20px;
  line-height:1.2;
  font-weight:800;
  color:#0f172a;
}

.detail-description{
    background: #e4e4e4;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px 18px;
    color: #334155;
    font-size: 15px;
    line-height: 1.9;
}

/* =========================
   SIDE SUMMARY
   ========================= */
.side-top-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 12px 4px;
  background:linear-gradient(45deg, #b452a3 2.28%, #7640a1 99.77%);
  color:#fff;
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.3px;
  text-transform:uppercase;
  white-space:nowrap;
  border-radius:12px;
  box-shadow:0 8px 18px rgba(118, 64, 161, .24);
  margin-bottom:12px;
}

.side-title{
  margin:0 0 12px;
  font-size:24px;
  font-weight:800;
  color:#0f172a;
}

.side-price-wrap{
    position: relative;
    min-height: 118px;
    padding: 46px 16px 16px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #d0d0d0 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.side-price-label{
white-space: nowrap;
    position: absolute;
    top: -8px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px 3px;
    border-radius: 9px;
    background: linear-gradient(135deg, #cccccc 0%, #f4f4f4 100%);
    color: #4a4a4a;
    font-size: 13px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .08);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.side-price{
    font-size: 70px;
    font-weight: 900;
    color: #2f7275;
    text-align: center;
    line-height: 1;
    letter-spacing: -.03em;
    word-break: break-word;
}

.side-seat{
display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fafc 0%, #dedede 100%);
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 18px;
}

.side-summary{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    background: #ababab3d;
    padding: 10px;
    border-radius: 21px;
}

.side-summary-box--full{
  grid-column:1 / -1;
}

.side-summary-box--half{
  grid-column:auto;
}
.side-summary-box{
    position: relative;
    min-height: 37px;
    padding: 12px 14px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.side-summary-label{
    white-space: nowrap;
    position: absolute;
    top: -9px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px 3px;
    border-radius: 9px;
    background: linear-gradient(135deg, #eeeeeee3 0%, #ffffff 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .08);
    color: #252525;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.side-summary-value{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:#0f172a;
  font-size:14px;
  font-weight:800;
  line-height:1.6;
  word-break:break-word;
}

.side-note{
  margin:0 0 18px;
  color:#64748b;
  font-size:14px;
  line-height:1.8;
}

.side-actions{
  display:grid;
  gap:12px;
}

.side-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  transition:all .2s ease;
  border:none;
  cursor:pointer;
  width:100%;
}

.side-btn-primary{
    background: linear-gradient(135deg, #ff3b00 0%, #fd6900 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .14);
}

.side-btn-secondary{
  background:#fff;
  color:#0f172a;
  border:1px solid #d7dde6;
}

.side-btn:hover{
  transform:translateY(-1px);
  opacity:.96;
}

/* =========================
   BOOKING POPUP
   ========================= */
.booking-popup{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}
.booking-popup.is-open{
  display:block;
}
.booking-popup-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.62);
  backdrop-filter:blur(4px);
}
.booking-popup-dialog{
    position: relative;
    z-index: 2;
    width: min(442px, calc(100% - 24px));
    margin: 28px auto;
    max-height: calc(100vh - 56px);
    overflow: auto;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 34px 90px rgba(15, 23, 42, .26);
    border: 1px solid #eef2f7;
}
.booking-popup-close{
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 12px 24px rgb(12 12 12 / 29%), 0 2px 6px rgba(15, 23, 42, .08);
    transition: all .2s ease;
}
.booking-popup-close:hover{
  background:#e2e8f0;
}
.booking-popup-body{
         padding: 26px 16px 18px;
        background: #f3f3f3;
}
.booking-popup-hero{
  text-align:center;
  margin-bottom:22px;
}
.booking-popup-icon{
    width: 87px;
    height: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a900ff 0%, #000000 100%);
    border-radius: 39px;
    box-shadow: 0 16px 34px rgb(87 0 119 / 15%);
    color: #ffffff;
    margin: 0 auto 16px;
}
.booking-popup-icon svg{
  width:38px;
  height:38px;
  display:block;
}
.booking-popup-title{
  margin:0 0 8px;
  font-size:26px;
  line-height:1.2;
  font-weight:800;
  color:#0f172a;
}
.booking-popup-text{
  margin:0 auto;
  max-width:430px;
  color:#64748b;
  font-size:15px;
  line-height:1.8;
}
.booking-popup-summary-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 12px 4px;
  border-radius:999px;
  background:linear-gradient(45deg, #b452a3 2.28%, #7640a1 99.77%);
  color:#fff;
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.3px;
  text-transform:uppercase;
  box-shadow:0 8px 18px rgba(118, 64, 161, .24);
  margin-bottom:14px;
}

.booking-popup-summary{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 15px;
    background: #ababab3d;
    padding: 10px;
    border-radius: 21px;
}

.booking-popup-row--full{
  grid-column:1 / -1;
}

.booking-popup-row--half{
  grid-column:auto;
}

.booking-popup-row{
    position: relative;
    min-height: 60px;
    padding: 18px 14px 12px;
    background: linear-gradient(180deg, #ffffff00 0%, #f8fafc00 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.booking-popup-row-label{
    position: absolute;
    top: -6px;
    right: -1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c3c3c3 0%, #ffffff 100%);
    color: #4a4a4a;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .08);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}

.booking-popup-row-value{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  font-size:14px;
  font-weight:800;
  color:#0f172a;
  line-height:1.6;
  word-break:break-word;
}

.booking-popup-actions{
  display:grid;
  gap:12px;
}
.booking-popup-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  transition:all .2s ease;
}
.booking-popup-btn-primary{
    background: linear-gradient(135deg, #ff3b00 0%, #fd6900 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .14);
}
.booking-popup-btn-secondary{
  background:#fff;
  color:#0f172a;
  border:1px solid #d7dde6;
}
.booking-popup-btn:hover{
  transform:translateY(-1px);
  opacity:.96;
}
.booking-popup-empty{
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:18px;
  padding:16px;
  color:#9a3412;
  text-align:center;
  line-height:1.7;
  margin-top:10px;
}

/* =========================
   RELATED SECTION
   ========================= */
.related-block{
 margin-top: 28px;
    background: white;
    border-radius: 22px;
    padding: 14px;

}

.related-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.related-title{
  margin:0;
  font-size:24px;
  font-weight:800;
  color:#0f172a;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.related-card{
position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #eef2f7;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    background: #fff;
    isolation: isolate;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12), 0 2px 6px rgb(0 0 0 / 56%);
}

.related-card-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:blur(28px) brightness(3.55);
  transform:scale(1.2);
  z-index:0;
}

.related-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(15,23,42,.35),
    rgba(15,23,42,.65)
  );
  z-index:1;
}

.related-card-media{
  position:relative;
  z-index:2;
}

.related-card-media img{
  width:100%;
  height:99px;
  object-fit:cover;
  display:block;
}

.related-card-media-empty{
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#e2e8f0,#f8fafc);
  color:#64748b;
  font-weight:700;
}

.related-badge{
  position:absolute;
  top:0;
  left:0;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:39px;
  padding:6px 12px 4px;
  background:linear-gradient(45deg, #b452a3 2.28%, #7640a1 99.77%);
  color:#fff;
  font-size:16px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.3px;
  text-transform:uppercase;
  white-space:nowrap;
  border-radius:0 0 17px 0;
  box-shadow:0 8px 18px rgba(118, 64, 161, .30);
}

.related-card-body{
  position:relative;
  z-index:3;
  margin:-40px 14px 14px;
  background:#fff;
  border-radius:18px;
  padding:16px;
  box-shadow:
    0 12px 24px rgba(15,23,42,.12),
    0 2px 6px rgba(15,23,42,.08);
}

.related-card-title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.3;
  font-weight:800;
  color:#0f172a;
}

.related-card-text{
  margin:0 0 10px;
  font-size:14px;
  line-height:1.7;
  color:#64748b;
}

.related-price{
  font-size:16px;
  font-weight:800;
  color:#0f766e;
  margin-bottom:10px;
}

.related-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:12px;
     background: linear-gradient(135deg, #ff3b00 0%, #fd6900 100%);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  width:100%;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 992px){
  .detail-wrap{
    grid-template-columns:1fr;
  }

  .detail-side{
    position:static;
  }

  .related-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .schedule-detail-page{
    padding:22px 0 42px;
  }

  .detail-hero-inner{
    padding:12px;
  }

  .detail-media-main img,
  .detail-media-empty{
    height:280px;
  }

  .detail-content-shell{
    width:min(100% - 14px, 1180px);
           margin: -43px auto 0;
  }

  .detail-main,
  .detail-side{
    padding:18px;
  }

  .detail-title{
    font-size:28px;
  }

  .detail-info-grid,
  .side-summary,
  .booking-popup-summary{

            grid-template-columns: 1fr;
        background: #ababab3d;
        padding: 10px;
        border-radius: 21px;
  }

  .detail-date-chip{
    top:12px;
    right:12px;
    font-size:11px;
    padding:5px 10px;
    max-width:calc(100% - 100px);
  }

  .side-price{
            font-size: 70px;
  }

  .related-grid{
    grid-template-columns:1fr;
  }

  .related-card-media img,
  .related-card-media-empty{
    height:98px;
  }

  .booking-popup-dialog{
          width: min(100%, calc(99% - 34px));
        margin: 29px auto;
        max-height: calc(89vh - 20px);
        border-radius: 24px;
  }

  .booking-popup-body{
    padding:26px 16px 18px;
  }

  .booking-popup-title{
    font-size:22px;
  }

  .info-box,
  .side-summary-box,
  .booking-popup-row,
  .side-price-wrap{
    min-height:auto;
  }

  .value-chip{
    width:100%;
    justify-content:flex-start;
  }
}

.detail-info-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    background: #ababab3d;
    padding: 10px;
    border-radius: 21px;
}

.info-box--full{
  grid-column:1 / -1;
}

.info-box--half{
  grid-column:auto;
}
@media (max-width:768px){
  .detail-info-grid,
  .side-summary,
  .booking-popup-summary{
    grid-template-columns:1fr;
  }

  .info-box--full,
  .side-summary-box--full,
  .booking-popup-row--full{
    grid-column:auto;
  }
}
