.container:has(.orders_hero) .bx-breadcrumb {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(37, 51, 43, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 38px rgba(28, 35, 31, 0.06);
  overflow: hidden;
}

.container:has(.orders_hero) .bx-breadcrumb-item-current span {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders_hero {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 20px;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 22px;
  padding: 0!important; 
}

.orders_hero_content,
.orders_hero > .mini_map,
.orders_page form,
.table_orders {
  border: 1px solid rgba(37, 51, 43, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 14px 40px rgba(28, 35, 31, 0.07);
}

.orders_hero_content {
  min-height: 232px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(120deg, rgba(65, 67, 85, 0.88), rgba(65, 67, 85, 0.48)),
    url("/local/templates/.default/img/order_bg.jpg") center/cover no-repeat;
  overflow: hidden;
}

.orders_eyebrow,
.orders_section_label {
  display: inline-flex;
  width: fit-content;
  font: 700 12px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #971520;
}

.orders_hero_content .orders_eyebrow {
  color: #f3d2a5;
  margin-bottom: 16px;
}

.orders_hero_content h1 {
  margin: 0;
  max-width: 900px;
  color: #f9faf5;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.orders_hero_content p {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(249, 250, 245, 0.88);
  font-size: 17px;
  line-height: 1.45;
}

.orders_hero > .mini_map {
  width: auto;
  min-height: 232px;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  background: #414355;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out;
}

.orders_hero > .mini_map:hover {
  background: #304355;
  box-shadow: 0 20px 46px rgba(28, 35, 31, 0.14);
}

.orders_hero > .mini_map > span {
  font: 700 14px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.orders_hero > .mini_map .map_icon {
  width: min(100%, 310px);
}

.orders_hero > .mini_map .map_icon svg {
  width: 100%;
  min-width: 0;
  height: auto;
}

.orders_hero > .mini_map .map_icon svg path {
  fill: #3da1e8;
  stroke: rgba(255, 255, 255, 0.78);
  transition: fill 0.2s, stroke 0.2s;
}

.orders_hero > .mini_map:hover .map_icon svg path {
  fill: #4fb0f3;
  stroke: #fff;
}

.orders_notice {
  border: 1px solid rgba(151, 21, 32, 0.18);
  border-radius: 8px;
  padding: 13px 16px;
  background: linear-gradient(90deg, rgba(151, 21, 32, 0.08), rgba(151, 21, 32, 0.035));
  color: #971520;
  font-weight: 700;
  line-height: 1.45;
}

.orders_page {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 80px;
}

.orders_page form {
  width: auto;
  max-width: none;
  padding: 22px;
  gap: 16px;
  align-self: start;
  position: sticky;
  top: 10px;
}

.orders_form_header h2,
.orders_table_header h2 {
  margin: 8px 0 0;
  color: #1f2823;
  font-size: clamp(32px, 3.2vw, 38px);
  line-height: 1;
}

.orders_page form h2 {
  text-align: left;
}

.order_body {
  gap: 12px;
}

.order_body label,
.orders_page label.rent_time_detail {
  flex: 1 1 0;
  min-width: 0;
  color: rgba(31, 40, 35, 0.68);
  font: 700 13px/1.2 "Manrope", sans-serif;
}

.orders_page select,
.orders_page input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(37, 51, 43, 0.14);
  border-radius: 8px;
  padding: 9px 12px;
  background: #fbfcf8;
  color: #1f2823;
  font: 600 15px/1.2 "Manrope", sans-serif;
  outline: none;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out;
}

.orders_page select:focus,
.orders_page input:focus {
  border-color: rgba(151, 21, 32, 0.55);
  box-shadow: 0 0 0 4px rgba(151, 21, 32, 0.10);
  background: #fff;
}

.orders_page select[disabled],
.orders_page input[disabled] {
  border-color: rgba(151, 21, 32, 0.42);
  background: rgba(151, 21, 32, 0.05);
  color: #971520;
}

.order_img {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(37, 51, 43, 0.08);
  background: #f5f6f1;
  aspect-ratio: 4 / 3;
}

.order_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order_footer {
  margin-top: 2px;
}

.orders_page form button.btn_main {
  min-height: 48px;
  border-radius: 8px;
}

.orders_page form button.btn_main:disabled {
  opacity: 1;
  border: 1px solid rgba(37, 51, 43, 0.12);
  background: #d9ded4;
  color: rgba(31, 40, 35, 0.58);
  cursor: not-allowed;
  box-shadow: none;
}

.table_orders {
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
}

.orders_table_header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.orders_table_header p {
  max-width: 600px;
  margin: 0;
  color: rgba(31, 40, 35, 0.68);
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
}

.table_orders .table_info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  margin-bottom: 18px;
}

.table_orders .table_info > p {
  width: 100%;
  margin: 0;
  color: rgba(31, 40, 35, 0.70);
  font-size: 15px;
  line-height: 1.5;
}

.table_orders .table_info .table_info_row {
  align-items: center;
  gap: 8px;
  margin: 0;
  border: 1px solid rgba(37, 51, 43, 0.10);
  border-radius: 999px;
  padding: 8px 10px;
  background: #f7f8f2;
  color: #303832;
  font: 600 13px/1.25 "Manrope", sans-serif;
}

.table_orders .table_info span {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  border: 1px solid rgba(37, 51, 43, 0.16);
}

.table_orders .table_info span.reserved,
.table_orders .table_wrapper .table_order tbody td.reserved {
  background: #d83536 !important;
}

.table_orders .table_info span.day.night,
.table_orders .table_wrapper .table_order tbody td.day.night {
  background: #bdf2bd;
}

.table_orders .table_info span.day,
.table_orders .table_wrapper .table_order tbody td.day {
  background: #f5e85a;
}

.table_orders .table_info span.night,
.table_orders .table_wrapper .table_order tbody td.night {
  background: #f3b958;
}

.table_orders .table_info span.no-orders,
.table_orders .table_wrapper .table_order tbody td.no-orders {
  background: #f5f7f4;
}

.table_orders .table_wrapper {
  max-height: 560px;
  width: 100%;
  border: 1px solid rgba(37, 51, 43, 0.12);
  border-radius: 8px;
  background: #fff;
  overflow: auto;
  scrollbar-color: rgba(37, 51, 43, 0.46) #eef0ea;
}

.table_orders .table_wrapper .table_order {
  min-width: 980px;
  width: 100%;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
}

.table_orders .table_wrapper .table_order td,
.table_orders .table_wrapper .table_order th {
  padding: 8px 8px;
}

.table_orders .table_wrapper .table_order thead th {
  background-color: #414355;
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14);
  position: sticky;
  top: 0;
  z-index: 2;
}

.table_orders .table_wrapper .table_order thead th:first-child {
  left: 0;
  z-index: 3;
}

.table_orders .table_wrapper .table_order thead th.weekend {
  background-color: #971520;
}

.table_orders .table_wrapper .table_order tbody td {
  color: #303832;
  box-shadow: inset 0 0 0 0.5px rgba(37, 51, 43, 0.13);
  height: 32px;
}

.table_orders .table_wrapper .table_order tbody tr td:first-child {
  background: #fff;
  font-weight: 700;
  color: #1f2823;
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: inset -1px 0 0 rgba(37, 51, 43, 0.14), inset 0 0 0 0.5px rgba(37, 51, 43, 0.13);
}

.table_orders .table_wrapper .table_order tbody tr:nth-child(odd) {
  background-color: #fbfbf8;
}

.table_orders .table_wrapper .table_order tbody tr td.selected {
  background-color: #2c92c9 !important;
  color: #fff;
}

.table_orders .table_wrapper .table_tooltip {
  border: 0;
  border-radius: 8px 0 0 0;
  background-color: #414355;
  box-shadow: 0 18px 50px rgba(28, 35, 31, 0.14);
}

.fancybox__container:has(.point_info_detail_order) {
  --fancybox-bg: rgba(65, 67, 85, 0.72);
}

.fancybox__container:has(.point_info_detail_order) .fancybox__slide {
  padding: 24px;
}

.fancybox__container:has(.point_info_detail_order) .fancybox__content {
  width: min(920px, calc(100vw - 40px));
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(37, 51, 43, 0.10);
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 16, 13, 0.28);
}

.fancybox__container:has(.point_info_detail_order) .fancybox__content > .f-button.is-close-btn {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  opacity: 1;
  color: #fff;
  background: rgba(65, 67, 85, 0.72);
}

.fancybox__container:has(.point_info_detail_order) .fancybox__content > .f-button.is-close-btn:hover {
  background: #971520;
}

.point_info_detail_order {
  --swiper-pagination-color: #971520;
  --swiper-pagination-bullet-inactive-color: #414355;
  --swiper-pagination-bullet-inactive-opacity: 0.22;
  width: 100%;
  max-width: none;
  gap: 0;
  background: #fff;
}

.point_info_detail_order .swiper {
  min-height: 520px;
  height: 100%;
  background: #414355;
}

.point_info_detail_order .swiper-wrapper,
.point_info_detail_order .swiper-slide,
.point_info_detail_order .swiper-slide a {
  height: 100%;
}

.point_info_detail_order .swiper-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.point_info_detail_order img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.point_info_detail_order .swiper-pagination {
  left: 50%;
  transform: translateX(-50%);
  right: 16px;
  bottom: 16px;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.point_info_detail_order h3,
.point_info_detail_order p {
  grid-column: 2;
  padding-left: 26px;
  padding-right: 26px;
}

.point_info_detail_order h3 {
  margin: 0;
  padding-top: 26px;
  color: #1f2823;
  font: 700 38px/1 "PF DinText Pro", sans-serif;
}

.point_info_detail_order p {
  align-self: start;
  margin: 16px 0 0;
  padding-bottom: 26px;
  color: rgba(31, 40, 35, 0.72);
  font-size: 16px;
}

@media (max-width: 1180px) {
  .orders_hero,
  .orders_page {
    grid-template-columns: 100%;
  }

  .orders_page form {
    position: static;
  }

  .table_orders .table_info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orders_table_header {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .container:has(.orders_hero) .bx-breadcrumb {
    display: flex;
    width: 100%;
    padding: 8px 12px;
    overflow: hidden;
  }

  .container:has(.orders_hero) .bx-breadcrumb-item {
    min-width: 0;
  }

  .container:has(.orders_hero) .bx-breadcrumb-item a span,
  .container:has(.orders_hero) .bx-breadcrumb-item-current span {
    display: inline-block;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
  }

  .orders_hero {
    margin-top: 20px;
    grid-template-columns: 100%;
    gap: 14px;
  }

  .orders_hero_content {
    min-height: 315px;
    padding: 24px;
    background-position: 55% center;
  }

  .orders_hero_content .orders_eyebrow {
    margin-bottom: 12px;
  }

  .orders_hero_content h1 {
    max-width: 290px;
    font-size: 43px;
  }

  .orders_hero_content p {
    font-size: 16px;
  }

  .orders_hero > .mini_map,
  .orders_page form,
  .table_orders {
    padding: 18px;
  }

  .orders_table_header {
    display: block;
  }

  .orders_form_header h2,
  .orders_table_header h2 {
    font-size: 32px;
  }

  .orders_table_header p {
    max-width: none;
    margin-top: 10px;
    text-align: left;
  }

  .order_body {
    flex-direction: column;
  }

  .orders_hero > .mini_map {
    min-height: 176px;
    gap: 12px;
  }

  .orders_hero > .mini_map .map_icon {
    width: 220px;
  }

  .orders_notice {
    padding: 12px 14px;
  }

  .table_orders .table_info {
    grid-template-columns: 100%;
  }

  .table_orders .table_wrapper {
    max-height: 520px;
  }

  .fancybox__container:has(.point_info_detail_order) .fancybox__slide {
    padding: 12px;
  }

  .fancybox__container:has(.point_info_detail_order) .fancybox__content {
    width: calc(100vw - 24px);
  }

  .point_info_detail_order {
    grid-template-columns: 100%;
  }

  .point_info_detail_order .swiper {
    min-height: 300px;
  }

  .point_info_detail_order h3,
  .point_info_detail_order p {
    grid-column: 1;
    padding-left: 18px;
    padding-right: 18px;
  }

  .point_info_detail_order h3 {
    padding-top: 22px;
    font-size: 34px;
  }

  .point_info_detail_order p {
    padding-bottom: 24px;
  }
}
