#product-detail {
  background: linear-gradient(45deg, rgba(255,255,194,1) 0%, rgba(184,235,173,1) 100%, rgba(0,212,255,1) 100%);
}
#product-detail table,
#product-detail tr,
#product-detail th,
#product-detail td{
  background: transparent;
  border-color: #fff;
}
.product-events span+span {
  margin-left: 5px;
}
.product-events span {
  padding: 5px 8px;
  border-radius: 5px;
}

#product-carousel .carousel-indicators {
    position: static;
    margin: 0 0 1% 0;
  }
#product-carousel .carousel-indicators [data-bs-target] {
    width: 100px;
    height: 100%;
    opacity: 0.8;
  }

/* ============================================ */
.calendar {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  column-gap: 2%;
  margin-bottom: 1em;
}

.calendar table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}

.calendar th.month {
  font-size: 18px;
  text-align: center;
  font-weight: 500;
  padding-bottom: 10px;
  color: inherit;
}

.calendar th {
  color: #6f6f6f;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.calendar td {
  text-align: center;
  background-color: #E2F5E3;
  height: 42px;
  font-weight: 600;
  color: #40b44b;
  font-size: 17px;
  border-radius: 3px;
  white-space: nowrap;
}

.calendar td.noday {
  background-color: inherit;
}

.calendar td.disabled {
  background-color: #f8f9fa;
  color: #ccc;
}

.calendar td:hover:not(.noday, .disabled) {
  color: #3ba645;
  background-color: #D2F0D5;
  cursor: pointer;
}

.calendar table tbody td:active:not(.noday, .disabled), .calendar table tbody td:focus:not(.noday, .disabled), .calendar td.focus:not(.noday, .disabled) {
  background-color: #cdeed0!important;
  color: #3ba645;
  box-shadow: inset 0px 0px 6px #93da99!important;
  cursor: pointer;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .calendar {
    flex-wrap: wrap;
  }
}
.product-notfound {
  text-align: center;
  font-size: 20px;
  background-color: #fff;
  padding: 20px 0;
}
#included-spoiler, #not-included-spoiler {
  overflow: hidden;
}
.dash-dotted {
  border-bottom: 1px dashed #0d6efd;
  padding-bottom: 1px;
  text-decoration: none;
}


/* PRICE SLIDER*/
.price-popover {
  font-size: 14px;
}
.price-popover h6 {
  font-size: 16px;
  font-weight: 600;
}

.range-slider {
  position: relative;
  height: 40px;
  margin: 0 8px;
}

.slider-bg-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  background: #e9ecef;
  z-index: 0;
}

.slider-active-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #0d6efd;
  z-index: 1;
}

.slider-thumb {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  pointer-events: none;
  -webkit-appearance: none;
  background: transparent;
  z-index: 2;
}

.slider-thumb::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0d6efd;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

.price-input {
  text-align: center;
}

.popover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}




/* Кастомные стили для кнопок карусели */
.custom-carousel-control {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.custom-carousel-control:hover {
  background-color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.7);
}

.custom-carousel-control .carousel-control-prev-icon,
.custom-carousel-control .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-size: 100% 100%;
  /*filter: invert(1) sepia(1) saturate(5) hue-rotate(175deg); /* Синий цвет */
  filter: invert(1);
}

.custom-carousel-control-prev {
  left: 15px;
  top:45%
}

.custom-carousel-control-next {
  right: 15px;
  top:45%
}

.modal-content {
    border-radius: 10px;
    border: none;
}
.form-title {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}
.btn-booking {
    width: 100%;
    padding: 12px;
    font-weight: 500;
    margin-top: 20px;
}
.form-check-label {
    font-size: 0.9rem;
}



.thumbnails-container {
    scrollbar-width: thin;
}

.thumbnails-container::-webkit-scrollbar {
    height: 4px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background-color: #6c757d;
    border-radius: 2px;
}

.carousel-indicators li {
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.carousel-indicators li:hover {
    opacity: 0.8;
}

#thumbnails-list {
    justify-content: flex-start !important;
}
.product-card-media {
    height: 277px;
    overflow: hidden;
}

.product-card-media .carousel,
.product-card-media .carousel-inner,
.product-card-media .carousel-item {
    height: 100%;
}

.product-card-media .carousel-item img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.product-detail-media {
    max-height: 550px;
    overflow: hidden;
}
/* Карточка экскурсии: чипы, лента дат, закреплённый CTA */

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .75rem;
    border: 1px solid #e3e6ea;
    border-radius: 999px;
    background: #f8f9fa;
    font-size: .875rem;
    line-height: 1.3;
    color: #495057;
    white-space: nowrap;
}
.chip i { color: #6c757d; }
.chip-accent {
    background: #e7f5f3;
    border-color: #cfe9e5;
    color: #1c6b60;
}
.chip-accent i { color: #1c6b60; }

/* Лента дат */
.date-strip-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}
.date-strip {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .85rem .25rem .5rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.date-strip::-webkit-scrollbar { display: none; }

.date-card {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 96px;
    padding: .7rem .5rem .6rem;
    border: 1px solid transparent;
    border-radius: .75rem;
    background: #f1f3f5;
    text-align: center;
    color: #6c757d;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.date-card:hover { background: #e9ecef; }
.date-card.active {
    background: #fff;
    border-color: #212529;
    color: #212529;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}
.date-card__tag {
    position: absolute;
    top: -.7rem;
    left: 50%;
    transform: translateX(-50%);
    padding: .12rem .55rem;
    border-radius: 999px;
    background: #212529;
    color: #fff;
    font-size: .7rem;
    line-height: 1.4;
    white-space: nowrap;
}
.date-card__dow,
.date-card__month {
    display: block;
    font-size: .8rem;
    line-height: 1.4;
}
.date-card__day {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
}

.date-nav {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid #e3e6ea;
    border-radius: 50%;
    background: #fff;
    color: #212529;
    line-height: 1;
    cursor: pointer;
    transition: opacity .15s;
}
.date-nav:hover { background: #f8f9fa; }
.date-nav.is-off { opacity: .25; pointer-events: none; }

/* На узких экранах лента листается свайпом, стрелки только съедают ширину */
@media (max-width: 767.98px) {
    .date-nav { display: none; }
    .date-card { min-width: 88px; }
}

/* Закреплённая панель бронирования */
.sticky-book {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem 1rem;
    background: #fff;
    border-top: 1px solid #e3e6ea;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
    transform: translateY(110%);
    transition: transform .2s ease;
}
.sticky-book.is-visible { transform: translateY(0); }
.sticky-book__amount { display: block; font-size: 1.15rem; font-weight: 600; }
.sticky-book__per { display: block; font-size: .75rem; color: #6c757d; }
.sticky-book .btn { min-height: 44px; }

.js-book-main { min-height: 44px; }

/* --- Карточка листинга, этап 5 --------------------------------------- */

/* Ссылка-обертка медиа. Стрелки карусели вынесены за нее, поэтому высоту
   в 277px держит именно она, иначе .carousel теряет height: 100%. */
.product-card-media > a { display: block; height: 100%; }

/* Заголовок карточки описан в tokens.css вместе с остальной карточкой. */
