/* Frontend styles, TA Hotel Options v1.6.0 */

.ta-hotel-under-gallery{width:100%;margin:18px 0 0 0;} 

/* Rooms */
.ta-rooms{width:100%;margin:0 0 18px 0}
.ta-rooms__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ta-rooms.ta-rooms--cols2 .ta-rooms__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ta-rooms.ta-rooms--cols1 .ta-rooms__grid{grid-template-columns:1fr}
@media (max-width:1024px){.ta-rooms__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.ta-rooms__grid{grid-template-columns:1fr}}
.ta-room{border:2px solid #e5e7eb;border-radius:22px;overflow:hidden;background:#fff}
.ta-room.is-selected{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.ta-room__img{height:250px;background-size:cover;background-position:center}
.ta-room__slider{position:relative}
.ta-room__slide{height:250px;background-size:cover;background-position:center}
.ta-room__nav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:999px;border:0;background:rgba(255,255,255,0.9);font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 20px rgba(15,23,42,0.15)}
.ta-room__nav--prev{left:10px}
.ta-room__nav--next{right:10px}
.ta-room__badge{position:absolute;bottom:10px;right:10px;background:rgba(15,23,42,0.75);color:#fff;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px}
.ta-room__img--empty{background:#f3f4f6}
.ta-room__body{padding:14px}
.ta-room__title{font-weight:bold!important;font-size:20px!important;line-height:1.2;margin:0 0 8px 0; text-align: center;color:#111827}
.ta-room__price{font-weight:bold!important;font-size:20px!important;line-height:1;margin:0 0 10px 0;color:#111827}
.ta-room__price small{font-weight:700;color:#6b7280;font-size:14px}
.ta-room__meta{display:flex;flex-wrap:wrap;gap:12px;color:#6b7280;font-weight:700;font-size:13px;margin:0 0 10px 0}
.ta-room__features{margin:0 0 12px 18px;color:#111827}
.ta-room__features li{margin:0 0 6px 0}
.ta-room__extras label{display:block;font-weight:900;margin:0 0 6px 0;color:#111827}
.ta-room__select{width:100%;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px;background:#f9fafb}
.ta-room__btn{ background: #f59e0b!important;margin-top:12px;width:100%;border:0;border-radius:5px!important;padding:12px 14px!important;color:#fff}
 
/* Top 10 strip */
.ta-hotel-top10{width:100%;display:grid; grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 18px 0;}

@media (max-width:1024px){
  .ta-hotel-top10{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:640px){
  .ta-hotel-top10{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
}

.ta-hotel-top10__item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,0.05);
  min-height:50px;
}
.ta-hotel-top10__icon{
  width:34px;height:34px;
  border-radius:999px;
  background:#eef2ff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.ta-hotel-top10__icon svg{
  width:18px;height:18px;
  fill:#111827;
  display:block;
  opacity:0.9;
}
.ta-hotel-top10__text{
  font-weight:800;
  color:#111827;
  font-size:13px;
  line-height:1.2;
}

/* Layout */
.ta-hotel-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 36%;
  gap:22px;
  align-items:start;
}
@media (max-width:1024px){
  .ta-hotel-layout{ grid-template-columns:1fr; }
}

.ta-hotel-acc{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.ta-hotel-acc__item{
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  background:#fff;
  overflow:hidden;
}
.ta-hotel-acc__btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:0;
  padding:12px 16px !important;
  background:#fff;
  cursor:pointer;
  font-weight:900;
  color:#111827;
  font-size:15px;
}
@media (max-width:480px){
  .ta-hotel-acc__btn{ padding:12px 14px !important; font-size:14px; }
}
.ta-hotel-acc__btn:focus{
  outline:2px solid rgba(59,130,246,0.25);
  outline-offset:2px;
}
.ta-hotel-acc__chev{
  width:34px;height:34px;
  border-radius:999px;
  background:#eef2ff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  color:#111827;
  flex:0 0 auto;
  transition:transform .2s ease;
}
.ta-hotel-acc__panel{
  display:none;
  background:#fff;
  padding:16px;
}
@media (max-width:480px){
  .ta-hotel-acc__panel{ padding:14px; }
}
.ta-hotel-acc__item.is-open .ta-hotel-acc__panel{ display:block; }
.ta-hotel-acc__item.is-open .ta-hotel-acc__chev{ transform:rotate(180deg); }

.ta-hotel-acc__content{
  color:#374151;
  font-size:14px;
  line-height:1.75;
}

.ta-hotel-muted{ color:#6b7280; }
.ta-hotel-details-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px 18px;
  margin-top:6px;
  color:#6b7280;
}
.ta-hotel-details-grid b{ color:#111827; }
@media (max-width:768px){
  .ta-hotel-details-grid{ grid-template-columns:1fr; }
}

.ta-hotel-block-title{
  margin:0 0 10px 0;
  font-weight:900;
  color:#111827;
  font-size:16px;
}
.ta-hotel-list{
  margin:10px 0 0 18px;
  color:#6b7280;
}

/* Amenities grouped */
.ta-hotel-amen-group{ margin-top:14px; }
.ta-hotel-amen-group:first-child{ margin-top:0; }
.ta-hotel-amen-group__title{
  font-weight:900;
  color:#111827;
  font-size:14px;
  margin:0 0 10px 0;
}
.ta-hotel-amen-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px 18px;
}
@media (max-width:1024px){
  .ta-hotel-amen-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:640px){
  .ta-hotel-amen-grid{ grid-template-columns:1fr; }
}
.ta-hotel-amen-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#374151;
  font-weight:700;
  font-size:13px;
}
.ta-hotel-amen-dot{
  width:20px;height:20px;
  border-radius:999px;
  background:#eef2ff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  font-weight:900;
  color:#111827;
  line-height:1;
}

/* Video */
.ta-hotel-video-one,
.ta-hotel-video-slide{
  width:100%;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #e5e7eb;
  background:#000;
}
.ta-hotel-video-one iframe,
.ta-hotel-video-slide iframe{
  width:100%;
  height:380px;
  display:block;
  border:0;
}
.ta-hotel-video-one video,
.ta-hotel-video-slide video{
  width:100%;
  height:auto;
  display:block;
}
@media (max-width:768px){
  .ta-hotel-video-one iframe,
  .ta-hotel-video-slide iframe{ height:280px; }
}
.ta-hotel-video-fallback{
  padding:16px;
  background:#fff;
  color:#111827;
}

/* Slider */
.ta-hotel-slider{ position:relative; }
.ta-hotel-slider__nav{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin:0 0 10px 0;
  flex-wrap:wrap;
}
.ta-hotel-slider__btn{
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:10px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:900;
  color:#111827;
}

/* Booking box */
.ta-bookbox{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px;
  box-shadow:0 12px 30px rgba(15,23,42,0.06);
  position:sticky;
  top:18px;
}
@media (max-width:1024px){
  .ta-bookbox{ position:relative; top:auto; }
}
.ta-bookbox__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width:420px){
  .ta-bookbox__grid{ grid-template-columns:1fr; }
}
.ta-bookbox__row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}

/* Price per night preview above advance features */
.ta-bookbox__baseprice{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #e5e7eb;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.ta-bookbox__baseprice-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:900;
  color:#111827;
}
.ta-bookbox__baseprice-row span small{
  font-weight:800;
  color:#6b7280;
  margin-right:6px;
}
@media (max-width:420px){
  .ta-bookbox__row{ grid-template-columns:1fr; }
}

.ta-bookbox label{
  color:#111827;
  font-size:13px;
  margin:0 0 8px 0;
}
.ta-bookbox input[type="date"],
.ta-bookbox input[type="number"]{
  width:100%;
  padding:12px 12px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#eef5ff;
  outline:none;
}
.ta-bookbox input[type="number"]{ appearance:textfield; }

.ta-bookbox__section-title{
  margin:16px 0 10px 0;
  font-weight:900;
  color:#111827;
  font-size:14px;
}

.ta-bookbox__adv{
  display:flex;
  flex-direction:column;
  gap:0;
}
.ta-adv-line{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-top:1px solid #e5e7eb;
}
.ta-adv-line:first-child{ border-top:0; }
.ta-adv-line__left{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.ta-adv-line__check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
  color:#111827;
}
.ta-adv-line__check input{ margin-top:3px; }
.ta-adv-line__name{color:#111827;}
.ta-adv-line__qty{
  width:90px;
  padding:10px 10px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#eef5ff;
}
.ta-adv-line__price{
  font-weight:900;
  color:#111827;
  white-space:nowrap;
}

.ta-bookbox__price{
  margin-top:12px;
  background:#eef5ff;
  border-radius:12px;
  padding:12px;
}
.ta-bookbox__price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 0;
  color:#111827;
  font-weight:800;
  font-size:13px;
}
.ta-bookbox__price-row small{
  color:#6b7280;
  font-weight:800;
}

.ta-bookbox__total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
  font-weight:900;
  color:#111827;
}
.ta-bookbox__total span:last-child{ font-size:18px; }

.ta-bookbox__btn{
  width:100%;
  margin-top:14px;
  border:0;
  border-radius:10px;
  padding:14px 16px !important;
  cursor:pointer;
  background:#f59e0b;
  color:#fff;
  font-weight:900;
  font-size:14px;
}

/* Location card */
.ta-loc-card{
  margin-top:16px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px;
  box-shadow:0 12px 30px rgba(15,23,42,0.06);
}
.ta-loc-card__title{
  font-weight:900;
  color:#111827;
  margin:0 0 10px 0;
}
.ta-loc-card__map{
  border-radius:12px;
  overflow:hidden;
  border:1px solid #e5e7eb;
  background:#fff;
}
.ta-loc-card__map iframe{
  width:100%;
  height:220px;
  border:0;
  display:block;
}
.ta-loc-card__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 0;
  border-top:1px solid #e5e7eb;
  color:#111827;
  font-size:13px;
}
.ta-loc-card__row:first-child{ border-top:0; }
.ta-loc-card__pin{ display:inline-flex; width:18px; justify-content:center; opacity:0.7; }

/* Mobile bar + drawer */
.ta-mobilebar{ display:none; }
@media (max-width:768px){
  .ta-mobilebar{
    position:fixed;
    left:0; right:0; bottom:0;
    display:flex;
    gap:12px;
    padding:12px;
    background:#fff;
    border-top:1px solid #e5e7eb;
    z-index:9998;
  }
  body{ padding-bottom:78px; }
  .ta-mobilebar__btn{
    flex:1;
    border:0;
    border-radius:10px;
    padding:14px 14px;
    font-weight:900;
    cursor:pointer;
    font-size:14px;
  }
  .ta-mobilebar__btn--book{ background:#2563eb; color:#fff; }
  .ta-mobilebar__btn--photos{ background:#eef2ff; color:#111827; }
}

.ta-drawer{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.ta-drawer.is-open{ display:block; }
.ta-drawer__backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,0.45);
}
.ta-drawer__panel{
  position:absolute;
  left:0; right:0; bottom:0;
  background:#fff;
  border-top-left-radius:16px;
  border-top-right-radius:16px;
  max-height:88vh;
  overflow:auto;
  box-shadow:0 -18px 40px rgba(15,23,42,0.18);
}
.ta-drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid #e5e7eb;
}
.ta-drawer__title{ font-weight:900; color:#111827; }
.ta-drawer__close{
  border:0;
  background:#eef2ff;
  width:36px; height:36px;
  border-radius:10px;
  font-size:20px;
  cursor:pointer;
}
.ta-drawer__body{ padding:14px; }

/* Admin amenities styling (loaded via same CSS file for simplicity) */
.ta-hotel-admin-amen-groups{
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:980px;
}
.ta-hotel-admin-amen-group{
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
}
.ta-hotel-admin-amen-title{
  font-weight:900;
  color:#111827;
  margin:0 0 10px 0;
}
.ta-hotel-admin-amen-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 12px;
}
@media (max-width:820px){
  .ta-hotel-admin-amen-grid{ grid-template-columns:1fr; }
}
.ta-hotel-admin-amen-item{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:10px 12px;
  border:1px solid #e7e7fb;
  border-radius:10px;
  background:#fff;
  font-weight:800;
  color:#111827;
}
.ta-hotel-admin-amen-item input{ margin:0; }

/* Amenities groups frontend */
.ta-hotel-amen-groups{display:flex;flex-direction:column;gap:18px}
.ta-hotel-amen-group{padding:0}
.ta-hotel-amen-title{font-weight:900;color:#111827;margin:0 0 10px 0}

/* Important amenities pills under gallery */
.ta-imp{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin:0 0 18px 0;
}
.ta-imp__item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,0.06);
  min-height:54px;
}
.ta-imp__icon{
  width:38px;height:38px;
  border-radius:999px;
  background:#eef2ff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  color:#111827;
}
.ta-imp__icon svg{width:18px;height:18px;display:block;stroke:#111827;fill:none}
.ta-imp__text{
  font-weight:900;
  color:#111827;
  font-size:14px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width:1100px){
  .ta-imp{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:720px){
  .ta-imp{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ta-imp__text{white-space:normal}
}
