/* === Carousel Container === */
.bf-carousel {
  position: relative;
  overflow: hidden;
  /* hide overflowed slides */
  touch-action: pan-y;
  /* prevent horizontal page scroll */
  max-width: 100%;
  margin-bottom: 20px;
  width: 1200px;
  margin: 20px auto;
}

/* === Carousel Track === */
.bf-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
  padding: 10px 5px;
  flex: 1;
}

/* === Carousel Slide === */
.bf-carousel-slide {
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  border: 2px solid transparent;
  /* border-radius: 12px; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.bf-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  /*user-drag: none;*/
  -webkit-user-drag: none;
  pointer-events: none;
}

.bf-carousel-slide,
.bf-carousel-track,
.bf-carousel {
  user-select: none;
  /* Let the browser own vertical scroll, but hand horizontal swipes to JS.
     Must be on the slide/track (the actual touch target) — not just the outer
     .bf-carousel — or iOS Safari treats the horizontal drag as a page scroll. */
  touch-action: pan-y;
}

.bf-carousel-slide h3 {
  font-size: 1.1rem;
  margin: 0.5rem 1rem 0;
  color: #222;
}

.bf-carousel-slide p {
  font-size: 0.9rem;
  color: #666;
  margin: 0.3rem 1rem 1rem;
}

/* === Hover and Selected States === */
.bf-carousel-slide:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.bf-container {
  max-width: 1200px;
  margin: auto;
}

.bf-carousel-slide.bf-selected {
  border-color: #d5ae82;
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.4);
  /* transform: scale(1.03);  Not needed*/
  z-index: 2;
}

/* === Navigation Buttons === */
.bf-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.bf-prev-btn {
  left: 10px;
}

.bf-next-btn {
  right: 10px;
}

.bf-carousel-btn:hover {
  background: #E16C08;
  color: #fff;
}

.discountMess {
  color: darkred;
}

/* === Widgests === */
#bf-widgets {
  width: 343px;
  display: inline-block;
  padding-left: 20px;
  vertical-align: top;
}



/* === Responsive Adjustments === */
@media (max-width: 991px) {
  .bf-carousel-slide {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .bf-carousel-slide {
    flex: 0 0 100%;
  }

  .bf-carousel-btn {
    width: 32px;
    height: 32px;
    top: 45%;
  }
}

/* === Date hover styling === */
.ui-datepicker td a:hover {
  background-color: #e0e0e0;
  /* darker shade */
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

/* Optional: make the transition smoother */
.ui-datepicker td span,
.ui-datepicker td a {
  transition: background-color 0.2s ease;
}

/* === Form syles === */

.bf-date-row {
  display: flex;
}

.bf-date-field {
  width: 100%;
}

.hasDatepicker {
  margin: 8px 0px;
  padding: 5px;
  box-sizing: border-box;
  width: 100%;
}

.bf-course-block {
  color: black;
  background: #fff;
  border: 2px solid transparent;

  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  /*! font-size: 1.1rem; */
}

.bf-course-block img {
  color: black;
  background: #fff;
  border: 2px solid transparent;
  height: 100px;
  width: 100%;
  object-fit: cover;
}

.bf-course-block h3 {
  font-size: 1.1rem;
  margin: 0.5rem 1rem 0;
}

.bf-course-block p {
  font-size: 0.9rem;
  margin: 0.3rem 1rem 1rem;
}

/* === Table Base === */
.bf-table {
  display: table;
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  /* Prevents cells from stretching unevenly */
  border-collapse: collapse;
  box-sizing: border-box;
  /* ensures padding fits inside width */
  margin: 0 auto;
  overflow: hidden;
}

.bf-table-container {
  width: 100%;
  overflow-x: auto;
  /* allows horizontal scroll if content is too wide */
  box-sizing: border-box;
}


.bf-table th,
.bf-table td {
  padding: 8px 12px;
  text-align: center;
}

.bf-table thead {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #ddd;
}

/* === Buttons === */
.bf-btn {
  border: none;
  /*! border-radius: 6px; */
  width: 28px;
  height: 28px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #e9ecef;
  color: #333;
}

.bf-btn:hover {
  background: #E16C08;
  color: #fff;
}

.bf-btn-add {
  font-weight: bold;
}

.bf-btn-sub {
  font-weight: bold;
}

/* === Checkbox === */
.bf-checkbox-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 4px;
}

.bf-checkbox {
  /*display: none;*/
  scale: 2;
  vertical-align: middle;
}

.bf-checkmark {
  width: 16px;
  height: 16px;
  border: 2px solid #E16C08;
  border-radius: 3px;
  position: relative;
  transition: background 0.2s ease;
}

.bf-checkbox:checked+.bf-checkmark {
  background: #E16C08;
}

.bf-checkbox:checked {
  background: #E16C08;
}

.bf-checkbox:checked+.bf-checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* === Wrapper of Dynamic part of form === */
#bf-wrapper {
  max-width: 100%;
  margin: auto;
  border-top: 3px solid #d5ae82;
}

.bf-room-field {
  display: flex;
  justify-content: space-between;
}

.bf-label {
  font-weight: bold;
}

.bf-room-input {
  width: 2.5rem;
  /* or auto — whatever fits your layout */
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: #222;
  text-align: center;
  padding: 0;
  appearance: textfield;
}

/* Remove arrows in Chrome */
.bf-room-input::-webkit-inner-spin-button,
.bf-room-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}



#bf-form {
  display: grid;
  grid-template-columns: 1fr 332px;
  width: 100%;
}

.activities-section {
  grid-column: 1 / -1;
}

/* Optional: when user focuses, show subtle underline (or remove entirely) */
.bf-room-input:focus {
  outline: none;
  border-bottom: 1px solid #E16C08;
}

.vertical-separator {
  padding: 2px;
  height: 0px;
  width: 100%;
  box-sizing: border-box;
  /*! border-top: 1px solid; */
  margin-top: 3px;
}

.bf-room-type-row,
.bf-meal-type-row {
  display: flex;
}

.bf-room-type,
.bf-meal-type {

  margin: 5px;
  padding: 5px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.bf-room-type:hover,
.bf-meal-type:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.bf-room-type input,
.bf-meal-type input {
  display: none;
}


.bf-button-submit {
  margin: 10px 0px;
  width: 245px;
  box-sizing: border-box;
  padding: 10px;
  background: #E16C08;
  color: #ffffff;
  border: none;
}

.bf-button-submit:hover {
  background: #b45806;
}

.bf-room-type:has(input[type="radio"]:checked) {
  border-color: #d5ae82;
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.4);
}

.bf-meal-type:has(input[type="radio"]:checked) {
  border-color: #d5ae82;
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.4);
}

#bf-wrapper {
  padding: 10px 35px 10px 35px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#bf-wrapper .bf-room-type,
#bf-wrapper .bf-meal-type {
  user-select: none;
}

.hasDatepicker {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  font-family: 'Playfair Display', serif;
  padding-left: 20px !important;
  color: #25283a;
}

.bf-label {
  text-align: left;
  width: 100%;
  border-bottom: 1px solid gainsboro;

}

/* Row styling */
.bf-quote-row {
  /*! border: 1px solid #ccc; */
  /* simple border for differentiation */
  vertical-align: top;
  /* ensure cells align */
 
}

/* Main content cell */
.bf-quote-cell {
  padding: 0.5rem 1rem;
  vertical-align: top;
  padding: 10px 35px 10px 35px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Action buttons cell */
.bf-quote-actions {
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  vertical-align: top;
}

/* Quote list styling */
.bf-quote-details {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.bf-quote-details li {
  margin-bottom: 0.3rem;
}

/* Buttons styling */
.bf-action-btn {
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
  /*! border-radius: 6px; */
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.bf-book-btn {
  background: #E16C08;
  color: #fff;
  border-color: #E16C08;
}

.bf-book-btn:hover {
  background: #b45806;
}


.bf-pdf-btn:hover {
  background: #f5f5f5;
}

.bf-remove-btn {
  color: #c0392b;
  border-color: #e6e6e6;
}

.bf-remove-btn:hover {
  background: #fdeaea;
}

.bf-quote-table {
  margin: auto;
  margin-top: 20px;
  width: 100%;
}

.bf-quote-details li {
  border-bottom: 1px solid #ccc;
}

.bf-qoute-price {
  font-weight: bold;
}

.bf-description-span li {
  text-align: left;
  list-style-type: disc;
  list-style: disc;
  margin-left: 30px;
  padding-bottom: 10px
}

#bf-wrapper {
  display: grid;
  grid-template-columns: 1fr 332px;
  width: 100%;
}

#quote-wrapper {

  grid-template-columns: 1fr 332px;
  width: 100%;
}

#mydiv {
  position: fixed;
  top: 200px;
  right: 10px;
  padding: 12px 20px;
  z-index: 99902;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;

  /* Style & Transparency */
  background-color: rgba(225, 108, 8, 0.85);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);


  font-weight: bold;
  font-family: system-ui, -apple-system, sans-serif;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Desktop Hover Effects */
#mydiv:hover {
  background-color: rgba(180, 80, 0, 1);
  transform: translateY(-2px);
  /* Subtle lift */
  box-shadow: 0 0 20px rgba(225, 108, 8, 0.6);
}

#mydivheader {
  display: flex;
  align-items: center;
  gap: 12px;
}

#mydiv img {
  width: 32px;
  height: 32px;
  transition: transform 0.5s ease, content 0.3s;
  user-select: none;
  -webkit-user-drag: none;
}

/* Arrow indicator for mobile when open */
#mydiv.is-open img {
  transform: rotate(180px);
  /* Flipping effect */
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
}

.calc-text {
  font-size: 15px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* --- Mobile Logic --- */
@media (max-width: 768px) {
  #mydiv {
    right: 0;
    /* Calculate offset to show only the icon part */
    transform: translateX(calc(100% - 60px));
  }

  #mydiv:hover {
    transform: translateX(calc(100% - 60px));
    /* Prevent hover lift on mobile */
    box-shadow: none;
  }

  #mydiv.is-open {
    transform: translateX(0) !important;
    background-color: rgba(225, 108, 8, 1);
  }
}

@media (max-width: 1025px) {
  #bf-widgets {
    display: none !important
  }
  #bf-form {
    grid-template-columns: 100% !important
  }
  #quote-wrapper{
    grid-template-columns: 100%;
  }
} 

.bf-input:focus {
  border-color: #d5ae82;
  transition: all 300ms ease;
}

.discountMess {
  font-family: 'Playfair Display', serif;
 /*  font-size: 1.17em;         Standard browser size for h3 */
 /*  font-weight: bold;           Gives it the thick heading weight */
 /*  margin-block-start: 1em;     Top margin spacing */
 /*  margin-block-end: 1em;       Bottom margin spacing */
 /*  display: block;              Ensures it takes its own line like an h3 */
} 