/* =========================================
   BV Tours – Card UI (UPDATED / FIXED)
   File: /assets/css/single-tour.css
   ========================================= */

.bv-tour-slider-wrap,
.bv-tour-slider-wrap *{
  font-family: "Poppins", sans-serif !important;
}

/* Make section full width */
.bv-tour-slider-wrap{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 22px 5px 38px;
  box-sizing: border-box;
}

/* Header / arrows */
.bv-tour-head{
  display:flex;
  justify-content:flex-end;
  margin-bottom: 14px;
}

.bv-tour-nav{ display:flex; gap: 10px; }
.bv-tour-prev,
.bv-tour-next{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 1px solid #DDE7DD;
  background:#fff;
  color:#1E2B22;
  cursor:pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}

.bv-tour-prev:hover,
.bv-tour-next:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}

/* Swiper */
.bv-tour-swiper{
  overflow:hidden;
  border-radius: 16px;
}

/* ✅ IMPORTANT: prevent single slide from stretching full width */
.bv-tour-slider-wrap .bv-tour-swiper .swiper-wrapper{
  justify-content: flex-start !important;
}
.bv-tour-slider-wrap .swiper-slide{
  width: auto !important;
  flex: 0 0 auto !important;
  height: auto;
}

/* ✅ Card fixed width like design */
.bv-tour-card{
  width: 100%;
  max-width: 700px;                 /* 2 cards side by side inside 1240 */
  background:#fff;
  border: 1px solid #DDE7DD;
  border-radius: 16px;
  overflow:hidden;
  display:grid;
  grid-template-columns: 230px 1fr; /* image left */
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}

/* Left image (your design wrappers) */
.bv-tour-left{ padding: 16px; }
.bv-tour-photo{
  width: 100%;
  height: 100%;
  min-height: 190px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: #eef2ef;
}

/* ✅ Fallback if markup uses .bv-tour-img instead of .bv-tour-photo */
.bv-tour-img{
  width: 100%;
  min-height: 190px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: #eef2ef;
}

/* Right content */
.bv-tour-right{
  padding: 16px 16px 16px 0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

/* ✅ Fallback if markup uses .bv-tour-body instead of .bv-tour-right */
.bv-tour-body{
  padding: 16px 16px 16px 0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

/* Row 1 */
.bv-tour-row1{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  gap: 12px;
}
.bv-tour-title{
  margin:0;
  font-size: 18px;
  font-weight: 600;
  color:#0F172A;
}
.bv-tour-pills{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.bv-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #E9F6CF;
  color:#1B2A1F;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid #D4E8AF;
}

/* Divider */
.bv-tour-divider{
  height: 2px;
  background: #6DBE45;
  border-radius: 999px;
  opacity: .9;
}

/* Row 2 */
.bv-tour-row2{
  display:grid;
  grid-template-columns: 1fr 180px;
  gap: 14px;
  align-items: start;
}

/* ✅ Fallback if you used .bv-tour-meta / .bv-tour-price style */
.bv-tour-meta{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  margin: 2px 0 0;
}
.bv-tour-meta span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #E9F6CF;
  border: 1px solid #D4E8AF;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color:#1B2A1F;
}

/* Details */
.bv-tour-subtitle{
  font-size: 13px;
  font-weight: 500;
  color:#0F172A;
  margin-bottom: 6px;
}
.bv-tour-list{
  margin: 0;
  padding-left: 18px;
  color:#1F2937;
  font-size: 12px;
  line-height: 1.4;
}
.bv-tour-list li{ margin: 5px 0; }

/* CTA green box */
.bv-tour-cta{
  background: #E9F6CF;
  border: 1px solid #D4E8AF;
  border-radius: 14px;
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

/* Price */
.bv-tour-price{ text-align:center; }
.bv-tour-price-val{
  font-size: 16px;
  font-weight: 600;
  color:#0B1B12;
}
.bv-tour-price-sub{
  font-size: 11px;
  font-weight: 700;
  color:#33543D;
  opacity: .9;
}

/* ✅ Fallback for your earlier .bv-tour-price markup */
.bv-tour-price .lbl{
  display:block;
  font-size: 11px;
  font-weight: 500;
  color:#33543D;
  opacity:.9;
  margin-bottom: 2px;
}
.bv-tour-price .val{
  display:block;
  font-size: 16px;
  font-weight: 600;
  color:#0B1B12;
}

/* Book Now button */
.bv-tour-book{
  width:100%;
  height: 36px;
  border-radius: 10px;
  border: none !important;
  background: #2E7D5B;
  color:#fff !important;
  font-size: 12px;
  font-weight: 900;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.bv-tour-book:hover{ filter: brightness(.95); }

/* ✅ Fallback if button class is .bv-tour-btn / .js-bv-tour-check */
.bv-tour-btn,
.js-bv-tour-check{
  width:100%;
  height: 36px;
  border-radius: 10px;
  border: none !important;
  background: #2E7D5B;
  color:#fff !important;
  font-size: 12px;
  font-weight: 500;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
}

/* Phone button */
.bv-tour-phone{
  width:100%;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #8BCB6A;
  background: transparent;
  color:#1B2A1F;
  font-size: 12px;
  font-weight: 600;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.bv-tour-phones{
  text-align:center;
  font-size: 11px;
  font-weight: 600;
}
.bv-tour-phones a{
  color:#1B2A1F;
  text-decoration:none;
  opacity:.9;
}

/* ✅ RESPONSIVE */
@media (max-width: 1024px){
  .bv-tour-slider-wrap{
    width: min(1240px, calc(100% - 32px)) !important;
  }
}
@media (max-width: 880px){
  .bv-tour-card{
    max-width: 560px;
    grid-template-columns: 200px 1fr;
  }
  .bv-tour-row2{
    grid-template-columns: 1fr 170px;
  }
}

@media (max-width: 767px){

  /* Section should be full width with small side spacing */
  .bv-tour-slider-wrap{
    width: 100% !important;
    padding: 18px 12px 28px !important;
  }

  /* Swiper should not create right gap */
  .bv-tour-slider-wrap .bv-tour-swiper{
    width: 100%;
    overflow: hidden;
  }

  /* Each slide must be full width */
  .bv-tour-slider-wrap .swiper-slide{
    width: 100% !important;
  }

  /* Card must fill the slide completely */
  .bv-tour-card{
    width: 100% !important;
    max-width: 100% !important;   /* ← removes 520px limit */
    grid-template-columns: 1fr;
  }

  /* Inner paddings */
  .bv-tour-left{ padding: 14px 14px 0; }

  .bv-tour-right,
  .bv-tour-body{
    padding: 12px 14px 14px;
  }

  /* Image height */
  .bv-tour-photo,
  .bv-tour-img{
    width: 100%;
    min-height: 200px;
  }

  /* Row layouts stack */
  .bv-tour-row1{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bv-tour-pills{
    justify-content: flex-start;
  }

  .bv-tour-row2{
    grid-template-columns: 1fr;
  }
}

