/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Apply Poppins font globally */
* {
  font-family: 'Poppins', sans-serif !important;
}

/* Black & White theme styles */
.bdp-search-area {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 14px;
}

.bdp-search-area.centered {
  max-width: 980px;
  margin: 0 auto;
}

#bdp-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

#bdp-search-input {
  flex: 1;
  padding: 12px;
  border: 1px solid #000;
  border-radius: 8px;
  max-width: 700px;
  color: #000;
}

.bdp-search-btn {
  padding: 10px 16px;
  border: 0;
  background: #000;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.bdp-cats-wrap {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.bdp-cat-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-weight: 400;
}

#bdp-search-results {
  margin-top: 12px;
  opacity: 0;
  transition: opacity .25s ease;
}

#bdp-search-results.visible {
  opacity: 1;
}

.bdp-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.bdp-card {
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #eee;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.bdp-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.bdp-card h3 {
  margin: 10px 0 6px 0;
  font-size: 16px;
  color: #000;
  font-weight: 600;
}

.bdp-rating {
  margin: 6px 0;
  color: #000;
}

.bdp-price {
  font-weight: 600;
  margin-bottom: 6px;
  color: #000;
}

.bdp-card p {
  flex: 1;
  margin: 8px 0 0 0;
  color: #222;
  font-weight: 300;
}

.bdp-packages {
  display: block;
  margin-top: 12px;
}

.bdp-packages .bdp-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 12px;
}

.bdp-packages .bdp-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.bdp-packages .bdp-slider .bdp-card {
  min-width: 240px;
  flex: 0 0 auto;
}

.bdp-packages {
  width: 100%;
  margin: 40px auto;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.bdp-package {
  display: block;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  text-decoration: none;
  color: #000;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.bdp-package:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.bdp-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.bdp-content {
  padding: 15px;
  text-align: center;
}

.bdp-title {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0;
}

.bdp-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
}

.star {
  color: #ccc;
  font-size: 16px;
}

.star.filled {
  color: #f7b500;
}

.rating-num {
  margin-left: 5px;
  font-size: 14px;
  color: #333;
  font-weight: 400;
}

.bdp-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  min-height: 50px;
  font-weight: 300;
}

.swiper-pagination-bullet {
  background: #000;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #111;
}

.bdp-special-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}

.bdp-cats, .bdp-cats-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.bdp-cat-btn {
  display: inline-block;
  padding: 10px 18px;
  background: white;
  color: black;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
  font-weight: 400;
}

.bdp-cat-btn:hover {
  background: #2e7d32;
}

#bdp-category-slider {
  width: 100%;
  position: relative;
  margin: 50px auto;
}

.bdp-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #004d26;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.bdp-category-card:hover {
  transform: translateY(-5px);
}

.bdp-category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.bdp-category-card h3 {
  padding: 15px;
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

#bdp-prev, #bdp-next {
  color: white;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bdp-prev:hover, #bdp-next:hover {
  background: rgba(0,0,0,0.6);
}

/* Categories section */
#bdp-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 25px;
  gap: 12px;
}

#bdp-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  transition: all 0.25s ease;
  font-weight: 400;
}

#bdp-cat-btn:hover {
  background: rgba(255,255,255,0.2);
}

#bdp-arrow {
  font-weight: 600;
  color: #fff;
}

#bdp-new-badge {
  background: #ecf8b1;
  color: #000;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  padding: 2px 6px;
  margin-left: 6px;
}

/* Category Slider */
#bdp-category-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 60px;
}

#bdp-category-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 10px 0;
}

#bdp-category-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.bdp-category-card {
  flex: 0 0 auto;
  width: 220px;
  background: linear-gradient(180deg, #1a3a1a 0%, #0d1f0d 100%);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.bdp-category-card:hover {
  transform: translateY(-5px);
}

.bdp-category-header {
  padding: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.bdp-category-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 12px 12px;
}

.bdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.7);
  color: #fff;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  border: none;
  font-weight: 600;
}

#bdp-prev {
  left: 0;
}

#bdp-next {
  right: 0;
}

.bdp-arrow:hover {
  background: rgba(0,0,0,0.9);
  transform: translateY(-50%) scale(1.1);
}

.bdp-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Responsive styles */
@media (max-width: 900px) {
  .bdp-grid {
    grid-template-columns: repeat(2,1fr);
  }
  
  .bdp-packages .bdp-row {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 768px) {
  #bdp-search-box {
    width: 90%;
  }
  
  #bdp-cat-btn {
    font-size: 13px;
  }
  
  #bdp-category-slider-wrap {
    padding: 0 50px;
  }
  
  .bdp-category-card {
    width: 180px;
  }
  
  .bdp-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  #bdp-prev {
    left: 5px;
  }
  
  #bdp-next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .bdp-grid {
    grid-template-columns: 1fr;
  }
  
  .bdp-packages .bdp-row {
    grid-template-columns: 1fr;
  }
  
  .bdp-search-area.centered {
    padding: 12px;
  }
  
  #bdp-category-slider-wrap {
    padding: 0 45px;
  }
  
  .bdp-category-card {
    width: 160px;
  }
  
  .bdp-category-header {
    font-size: 14px;
    padding: 15px;
  }
  
  .bdp-category-image {
    height: 140px;
  }
}