[v-show] {
  /* display:none; */
}
.ui-datepicker {
  width: 100% !important;
}
.ui-datepicker a.ui-state-default {
  text-align: center !important;
}
.ui-state-disabled {
  text-align: center !important;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  /* height: 63px;
  line-height: 63px; */
  aspect-ratio : 1 / 1;
  font-size:16px;
  margin: 5px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui-widget.ui-widget-content {
  border: none !important;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  background-color: #fff !important;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  background-color: rgb(255, 133, 14) !important;
  color: #fff !important;
  border:none !important;
}
.ui-datepicker-title {
  font-size: 22px;
  background-color: #fff !important;
}
.ui-widget-header {
  background-color: #fff !important;
  border:none !important;
}
.ui-datepicker .ui-datepicker-prev span {
  background: url(../img/frame-427318916.svg) !important;
}
.ui-datepicker .ui-datepicker-next span {
  background: url(../img/frame-427318917.svg) !important;
}

/* pager */
.cycle-pager {
  text-align: center; width: 100%; z-index: 500; position: absolute; bottom: -10px; overflow: hidden;
}
.cycle-pager span {
  font-family: arial; font-size: 50px; width: 16px; height: 16px;
  display: inline-block; color: #ddd; cursor: pointer;
}
.cycle-pager span.cycle-pager-active { color: #D69746;}
.cycle-pager > * { cursor: pointer;}

.carousel .carousel-content {
  width: calc(100% - 40px);
}

.btn-inhom {
  background-color: #0000000d !important;
  color:rgb(33, 37, 41) !important;
}

.reservation-time-chosed {
  background-color: #ffc107 !important;
  color: #ffffff;
}

.feature-chosed  {
  background-color: #ffc107 !important;
  color: #ffffff;
}

.feature-chosed .text-2 {
  color: #ffffff;
}

.modal-dialog-iframe {
  max-width: 80% !important;
  width: 80% !important;
  /* height: 90%; */
  margin: 0;
  padding: 0;
}

.modal-content-iframe {
  height: auto;
  min-height: 100%;
  border-radius: 0;
}

.overlay-video {
  position: absolute;
  background-color: rgba(58, 57, 57, 0.8);
  top: 25%;
  left: 25%;
  right: 25%;
  bottom: 25%;
  text-align: center;
}

.iframe-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 1200px) {
  .modal-dialog {
    max-width: calc(100% - 16px) !important;
    width: calc(100% - 16px) !important;
    margin: 16px auto !important;
    transform: none !important;
  }

  .modal {
    padding: 0 !important;
  }

  .modal.show .modal-dialog {
    transform: none !important;
  }
}

.inhom-btn {
  background-color: #c3aa65 !important;
  border:none !important;
}




time.icon
{
  font-size: 1em; /* change icon size */
  display: block;
  position: relative;
  width: 7em;
  height: 7.5em;
  background-color: #fff;
  margin: 2em auto;
  border-radius: 0.6em;
  box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: rotate(0deg) skewY(0deg);
  -webkit-transform-origin: 50% 10%;
  transform-origin: 50% 10%;
}

time.icon *
{
  display: block;
  width: 100%;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
  text-align: center;
}

time.icon strong
{
  position: absolute;
  top: 0;
  padding: 0.4em 0;
  color: #fff;
  background-color: #fd9f1b;
  border-bottom: 1px dashed #f37302;
  box-shadow: 0 2px 0 #fd9f1b;
}

time.icon em
{
  position: absolute;
  bottom: 0.2em;
  color: #fd9f1b;
}

time.icon span
{
  width: 100%;
  font-size: 2.8em;
  letter-spacing: -0.05em;
  padding-top: 0.8em;
  color: #2f2f2f;
}

time.icon:hover, time.icon:focus
{
  -webkit-animation: swing 0.6s ease-out;
  animation: swing 0.6s ease-out;
}

@-webkit-keyframes swing {
  0%   { -webkit-transform: rotate(0deg)  skewY(0deg); }
  20%  { -webkit-transform: rotate(12deg) skewY(4deg); }
  60%  { -webkit-transform: rotate(-9deg) skewY(-3deg); }
  80%  { -webkit-transform: rotate(6deg)  skewY(-2deg); }
  100% { -webkit-transform: rotate(0deg)  skewY(0deg); }
}

@keyframes swing {
  0%   { transform: rotate(0deg)  skewY(0deg); }
  20%  { transform: rotate(12deg) skewY(4deg); }
  60%  { transform: rotate(-9deg) skewY(-3deg); }
  80%  { transform: rotate(6deg)  skewY(-2deg); }
  100% { transform: rotate(0deg)  skewY(0deg); }
}


.slick-track {
  margin-left: 0 !important;
}

a {
  color: rgb(255, 133, 14) !important;
  text-decoration: none;
}

.main-text-color {
  color: rgb(255, 133, 14) !important;
}

.v-2 .title-5 {
  font-size: 18px;
}

.inhom-lb {
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
}
/* 圖片輪播樣式 */
.carousel-container {
  padding: 10px 0;
}

.carousel-wrapper {
  position: relative;
}

.carousel-btn {
  display: none;
}

.carousel-images-container {
  display: flex;
  align-items: center;
}

.carousel-images {
  gap: 10px;
  white-space: nowrap;
  width: 100%;
  height: 100%;
}

.carousel-image-item {
  flex: 0 0 auto;
  cursor: pointer;
  width: 228px;
  height: 130px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* YouTube 影片縮圖樣式 */
.carousel-video-item {
  position: relative;
}

.carousel-video-item:hover .bi-play-fill {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.main-image-container {
  border-radius: 8px;
  overflow: hidden;
}

/* 手機版樣式 - ≤1024px */
@media (max-width: 1024px) {
  /* 13.1.1 建案資訊單欄顯示 */
  .building-info-details .row {
    flex-direction: column !important;
  }

  .building-info-details .col-12.col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 建案標題區域 - 手機版左右對齊 */
  .section-title {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 接待中心地址 - 手機版字型縮小，地址可換行 */
  .reception-address-wrapper {
    font-size: 16px !important;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    display: inline;
  }

  /* "接待中心："標籤不換行 */
  .reception-address-wrapper > span {
    white-space: nowrap;
    display: inline;
  }

  /* 地址連結可換行 */
  .reception-address-wrapper > a {
    word-break: break-word;
    overflow-wrap: break-word;
    display: inline;
  }

  /* 13.1.2 預約模組 Sticky 底部欄 */
  .mobile-reservation-sticky {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .mobile-sticky-buttons {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .mobile-sticky-btn {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  /* 主要按鈕 (立即預約賞屋) - 寬度佔 80% (8:2 比例) */
  .mobile-sticky-btn-primary {
    flex: 8;
    background: #FF7C46;
    color: white;
  }

  .mobile-sticky-btn-primary:hover {
    background: #E66A37;
  }

  .mobile-sticky-btn-primary:active {
    transform: scale(0.98);
  }

  /* 禁用按鈕樣式 (手機版) */
  .mobile-sticky-btn-disabled {
    flex: 1;
    width: 100%;
    background: #F3F4F6;
    color: #9CA3AF;
    border: 1.5px solid #D1D5DB;
    cursor: not-allowed;
  }

  .mobile-sticky-btn-disabled:hover {
    background: #F3F4F6;
    transform: none;
  }

  .mobile-sticky-btn-disabled:active {
    transform: none;
  }

  /* 次要按鈕 (專人聯繫) - 寬度佔 20% (2:8 比例) */
  .mobile-sticky-btn-secondary {
    flex: 2;
    background: white;
    color: #FF7C46;
    border: 1.5px solid #FF7C46;
  }

  .mobile-sticky-btn-secondary:hover {
    background: #FFF5F1;
  }

  .mobile-sticky-btn-secondary:active {
    transform: scale(0.98);
  }

  /* 為頁面內容添加底部間距,避免被固定預約模組遮擋 */
  .v .wr {
    padding-bottom: 100px !important;
  }

  /* 手機版預約表單覆蓋模組 */
  .mobile-booking-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: -1 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0s 0.3s, z-index 0s 0.3s;
    pointer-events: none;
  }

  .mobile-booking-overlay.active {
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease, visibility 0s, z-index 0s;
    pointer-events: auto;
  }

  .mobile-booking-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  }

  .mobile-booking-overlay.active .mobile-booking-container {
    transform: translateY(0);
  }

  .mobile-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 20px 20px 0 0;
  }

  .mobile-booking-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
  }

  .mobile-booking-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #6B7280;
    font-size: 24px;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-booking-content {
    padding: 24px 20px;
  }

  .mobile-booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-form-row {
    display: flex;
    gap: 12px;
  }

  .mobile-form-group-half {
    flex: 1;
  }

  .mobile-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
  }

  .mobile-form-input {
    padding: 14px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: white;
    font-size: 16px;
    color: #6B7280;
    width: 100%;
  }

  .mobile-form-input:focus {
    outline: none;
    border-color: #FF7C46;
  }

  .mobile-form-select {
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: white;
    font-size: 16px;
    color: #6B7280;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
  }

  .mobile-form-select:focus {
    outline: none;
    border-color: #FF7C46;
  }

  .mobile-booking-submit {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    background: #FF7C46;
    color: white;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s ease;
  }

  .mobile-booking-submit:hover {
    background: #E66A37;
  }

  .mobile-booking-submit:active {
    transform: scale(0.98);
  }
}

/* 桌機版樣式 - >1024px */
@media (min-width: 1025px) {
  /* 隱藏手機版預約模組 */
  .mobile-reservation-sticky {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .carousel-image-item,
  .carousel-images img {
    width: 150px !important;
    height: 85px !important;
  }
  .container,
  .container-fluid,
  .frame,
  .input > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .v .section-title-2 {
    padding: 28px 0;
  }

  .reservation-card {
    padding: 16px;
  }

  .reservation-title {
    font-size: 18px;
  }

  .reservation-building-name {
    font-size: 13px;
  }

  .reservation-btn-primary span,
  .reservation-btn-secondary span {
    font-size: 15px;
  }

  .company-section-title {
    font-size: 18px;
  }

  .company-name {
    font-size: 16px;
  }

  .company-join-date {
    font-size: 13px;
  }

  .company-logo img {
    width: 70px !important;
    height: 70px !important;
  }

  /* 主圖片顯示完整 */
  #mainImage {
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
  }

  .main-image-container,
  .image-container,
  .carousel-container {
    border-radius: 0 !important;
  }

  /* 完成頁面 Banner 手機版尺寸 - 390*156 */
  .completion-banner {
    height: 156px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  /* Carousel 手機版調整 */
  .carousel-container {
    padding: 16px 0;
  }

  .carousel-images-container {
    padding: 0 16px;
  }

  .carousel-images {
    gap: 8px;
  }

  /* Footer 手機版樣式 */
  .footer-mobile .footer-links {
    line-height: 1.8;
  }

  .footer-mobile .footer-links a {
    display: inline;
  }

  /* 手機版 Logo 置中 */
  .logo-header {
    justify-content: center !important;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 15px;
  }

  .faq-item {
    margin-bottom: 20px;
  }

  .company-info-block .visit-notes-list {
    padding-left: 30px !important;
  }

  .company-info-block .visit-notes-list li {
    font-size: 15px !important;
  }

  .company-info-block .reservation-flow-list {
    padding-left: 30px !important;
  }

  .company-info-block .reservation-flow-list li {
    font-size: 15px !important;
  }

  .building-info-details .info-icon {
    width: 22px;
    height: 22px;
  }

  .building-info-details .info-icon i {
    font-size: 18px;
  }

  .building-info-details .info-content {
    font-size: 15px;
  }

  .building-info-details .info-item {
    padding: 10px 0;
  }

  .v-2 .in-hom {
    font-size: 12px !important;
  }

  .v-2 .span,
  .v-2 .text-wrapper-7 {
    font-size: 12px !important;
  }
}

/* 建案詳細資訊樣式 */
.building-info-details {
  background-color: #ffffff;
  padding: 0;
}

.building-info-details .info-item {
  line-height: 1.8;
  color: #000000;
  padding: 4px 0;
}

.building-info-details .info-item:last-child {
  border-bottom: none;
}

.building-info-details .info-icon {
  color: #333333;
  min-width: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.building-info-details .info-icon i {
  font-size: 20px;
}

.building-info-details .info-content {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
}

/* 地址區域樣式 - 橘色標示縣市和區域 */
.building-info-details .info-region {
  color: #ff8f00;
  font-weight: 500;
  margin-right: 4px;
}

.building-info-details .info-address-detail {
  color: #000000;
  font-weight: 400;
}

.building-info-details .info-value {
  color: #000000;
  font-weight: 500;
}

.building-info-details .info-separator {
  margin: 0 4px;
  color: #000000;
}

.building-info-details .info-unit {
  color: #000000;
  margin-left: 2px;
  font-weight: 400;
}

/* 建商與代銷資訊樣式 */
.company-info-section {
  padding: 0;
}

.company-info-block {
  margin-bottom: 30px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

/* 建案特色如果是第一個區塊，不顯示上邊框 */
.section-title-2.company-info-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.company-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  line-height: 32px;
}

.company-card {
  padding: 0;
}

.company-logo {
  flex-shrink: 0;
}

.company-logo img {
  border: 2px solid #e0e0e0;
  background-color: #f8f9fa;
}

.company-details {
  flex: 1;
}

.company-name {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 5px;
}

/* 建築設計、企劃銷售連結樣式 */
.company-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.company-name a:hover {
  color: #FF8A3C;
  text-decoration: underline;
}

.company-name a:visited {
  color: inherit;
}

.company-join-date {
  font-size: 14px;
  color: #666666;
  margin-bottom: 0;
}

/* 賞屋須知樣式 */
.company-info-block .visit-notes-list {
  margin: 0 !important;
  margin-bottom: 0 !important;
  list-style-type: disc !important;
  list-style-position: outside !important;
  display: block !important;
  padding-left: 30px !important;
}

.company-info-block .visit-notes-list li {
  padding-left: 10px !important;
  margin-left: 0 !important;
  line-height: 1.8 !important;
  color: #000000 !important;
  display: list-item !important;
  list-style-type: disc !important;
  list-style: disc outside !important;
  font-size: 16px !important;
}

/* 預約賞屋流程樣式 */
.company-info-block .reservation-flow-list {
  margin: 0 !important;
  margin-bottom: 0 !important;
  list-style-type: decimal !important;
  list-style-position: outside !important;
  display: block !important;
}

.company-info-block .reservation-flow-list li {
  padding-left: 10px !important;
  margin-left: 0 !important;
  line-height: 1.6 !important;
  color: #000000 !important;
  display: list-item !important;
  list-style-type: decimal !important;
  list-style: decimal outside !important;
  font-size: 16px !important;
}

/* FAQ 常見問題樣式 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  margin-bottom: 24px;
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 0;
}

.faq-label {
  font-weight: 700;
}

/* 確保父容器支持 sticky - 非常重要！ */
.v, .wr, .v-2 {
  overflow: visible !important;
}

/* 預約賞屋卡片樣式 */
.reservation-card {
  width: 100%;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.reservation-header {
  margin-bottom: 16px;
}

.reservation-title {
  font-size: 20px;
  font-weight: 700;
}

.reservation-building-name {
  font-size: 14px;
  font-weight: 700;
}

.reservation-info-box {
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
}

.reservation-info-row {
  display: flex;
  width: 100%;
}

.reservation-info-col {
  width: 50%;
  padding: 8px;
}

.reservation-info-col-left {
  border-right: 1px solid #D1D5DB;
}

.reservation-info-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
}

.reservation-info-value {
  color: #6B7280;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.reservation-info-people {
  border-top: 1px solid #D1D5DB;
  padding: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
}

.reservation-button-wrapper {
  margin-top: 16px;
}

.reservation-btn-primary {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background: #FF7C46;
  border: none;
  cursor: pointer;
}

.reservation-btn-primary span {
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.reservation-btn-secondary {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #FF7C46;
  background: #FFFFFF;
  cursor: pointer;
}

.reservation-btn-secondary span {
  color: #FF7C46;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.reservation-btn-primary:hover {
  background: #E66A37;
}

.reservation-btn-primary:disabled {
  background: #cccccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.reservation-btn-secondary:hover {
  background: #FFF5F1;
}

/* 禁用按鈕樣式 */
.reservation-btn-disabled {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  background: #F3F4F6;
  cursor: not-allowed;
}

.reservation-btn-disabled span {
  color: #9CA3AF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.reservation-btn-disabled:hover {
  background: #F3F4F6;
}

/* 日期選擇器樣式 */
.reservation-date-picker {
  padding: 4px 0px;
  border-radius: 4px;
  cursor: pointer;
}

#datepicker-modal .modal-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 24px;
}

#datepicker-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

#datepicker-modal .modal-body {
  padding: 0;
  display: flex;
  justify-content: center;
}

#datepicker-modal .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#inline-datepicker {
  font-family: inherit;
}

/* jQuery UI Datepicker 自訂樣式 */
#inline-datepicker .ui-datepicker {
  width: 100%;
  padding: 20px;
  border: none;
  box-shadow: none;
  background-color: white;
}

#inline-datepicker .ui-datepicker-header {
  background: white;
  color: #1f2937;
  border: none;
  border-radius: 0;
  padding: 16px 0;
  position: relative;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

#inline-datepicker .ui-datepicker-title {
  color: #1f2937;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
}

#inline-datepicker .ui-datepicker-prev,
#inline-datepicker .ui-datepicker-next {
  cursor: pointer;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  position: absolute;
  border: none;
  background-color: transparent;
}

#inline-datepicker .ui-datepicker-prev:hover,
#inline-datepicker .ui-datepicker-next:hover {
  background-color: #f3f4f6;
}

#inline-datepicker .ui-datepicker-prev {
  left: 0;
}

#inline-datepicker .ui-datepicker-next {
  right: 0;
}

/* 左箭頭 */
#inline-datepicker .ui-datepicker-prev::after {
  content: '<';
  color: #6b7280;
  font-size: 20px;
  font-weight: 300;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 右箭頭 */
#inline-datepicker .ui-datepicker-next::after {
  content: '>';
  color: #6b7280;
  font-size: 20px;
  font-weight: 300;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 隱藏原本的 span */
#inline-datepicker .ui-datepicker-prev span,
#inline-datepicker .ui-datepicker-next span {
  display: none;
}


#inline-datepicker .ui-datepicker th {
  color: #1f2937;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 4px;
  text-align: center;
}

#inline-datepicker .ui-datepicker td {
  padding: 4px;
}

#inline-datepicker .ui-datepicker td span,
#inline-datepicker .ui-datepicker td a {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  color: #FF7C46;
  border: 1px solid #e5e7eb;
  background-color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  line-height: 20px;
}

#inline-datepicker .ui-datepicker td a:hover {
  background-color: #FFF5F1;
  border-color: #FF7C46;
  color: #FF7C46;
}

/* 今天的日期 - 橘色背景 */
#inline-datepicker .ui-datepicker td .ui-state-highlight {
  background-color: #FF7C46 !important;
  color: white !important;
  border-color: #FF7C46 !important;
  font-weight: 600;
}

/* 選中的日期 */
#inline-datepicker .ui-datepicker td .ui-state-active {
  background-color: #FF7C46 !important;
  color: white !important;
  border-color: #FF7C46 !important;
  font-weight: 600;
}

/* 禁用的日期（過去的日期）- 淺灰色 */
#inline-datepicker .ui-datepicker td .ui-state-disabled {
  opacity: 1;
  cursor: not-allowed;
  background-color: white;
  border-color: #f3f4f6;
}

#inline-datepicker .ui-datepicker td .ui-state-disabled span {
  color: #d1d5db !important;
  font-weight: 400;
}

/* 可選擇的未來日期 */
#inline-datepicker .ui-datepicker td .ui-state-default {
  color: #FF7C46;
  font-weight: 500;
}

/* 隱藏其他月份的日期 */
#inline-datepicker .ui-datepicker-other-month {
  visibility: hidden;
}

/* 空白單元格樣式 */
#inline-datepicker .ui-datepicker td.ui-datepicker-other-month {
  pointer-events: none;
}

#inline-datepicker .ui-datepicker td.ui-datepicker-other-month span {
  visibility: hidden;
}

/* 時間選擇器樣式 */
#timepicker-modal .modal-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 24px;
}

#timepicker-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

#timepicker-modal .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#time-slots-container {
  min-height: 200px;
}

#time-loading {
  padding: 40px 0;
  font-size: 1rem;
  color: #6b7280;
}

.time-period-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
  margin-top: 24px;
}

.time-period-title:first-child {
  margin-top: 0;
}

.time-slots-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.time-slot-btn {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: white;
  color: #FF7C46;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.time-slot-btn:hover {
  border-color: #FF7C46;
}

.time-slot-btn.selected {
  background-color: #FF7C46;
  color: white;
  border-color: #FF7C46;
}

.time-slot-btn:active {
  transform: scale(0.98);
}

/* 時間選擇器響應式 */
@media (max-width: 576px) {
  .time-slots-row {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
  }

  .time-slot-btn {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/* 預約時間欄位樣式 */
.reservation-time-picker {
  padding: 4px 0px;
  border-radius: 4px;
  cursor: pointer;
}

.reservation-time-picker:hover {
  /* 保持原本樣式，不改變背景和顏色 */
}

/* 賞屋人數下拉選單樣式 */
.reservation-people-select {
  padding: 6px 32px 6px 0px !important;
  color: #6B7280 !important;
  background-color: transparent !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  max-width: 120px;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
}

.reservation-people-select:hover {
  background-color: transparent !important;
  border: none !important;
}

.reservation-people-select:focus {
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
  border: none !important;
}

/* 響應式調整 */
@media (max-width: 991px) {
  .reservation-people-select {
    max-width: 100px;
    font-size: 0.9rem;
    padding: 5px 28px 5px 10px;
  }
}

/* ===== 2024 新增樣式 ===== */

/* 防止爆版 - 基礎設定 */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.wr,
.v {
  max-width: 100%;
  overflow-x: hidden;
}

.image-container,
.image {
  max-width: 100%;
}

/* Logo Header 樣式 */
.logo-header {
  padding: 1rem;
}

/* Carousel 滑動設定 - 所有裝置 */
.carousel-container {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding: 10px 0;
}

.carousel-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  position: relative;
}

.carousel-images-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 10px 0;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 隱藏滾動條 */
.carousel-images-container::-webkit-scrollbar {
  display: none;
}

.carousel-images {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px;
  padding: 0;
  margin: 0;
  width: max-content;
  transition: transform 0.3s ease;
}

.carousel-images img,
.carousel-image-item {
  flex-shrink: 0;
  width: 228px;
  height: 130px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-images img:hover,
.carousel-image-item:hover {
  transform: scale(1.05);
}

/* 社區設施樣式 */
.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amenity-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #ff6b35;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-icon i {
  color: #ff6b35;
  font-size: 10px;
  line-height: 1;
}

.amenity-name {
  color: #000;
  font-size: 1rem;
  line-height: 1.5;
}

/* ========================================
   Modal 日期時間選擇器樣式
   ======================================== */

/* 日期輸入欄位樣式 */
.reservation-date-input {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  background-color: transparent;
  border: none !important;
  cursor: pointer;
  padding: 0.375rem 0;
}

.reservation-date-input:focus {
  box-shadow: none !important;
  outline: none;
  background-color: transparent;
}

.reservation-date-input:hover {
  background-color: transparent;
}

/* 時間選擇下拉選單樣式 */
.reservation-time-select {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  background-color: transparent;
  border: none !important;
  cursor: pointer;
  padding: 0.375rem 0;
}

.reservation-time-select:focus {
  box-shadow: none !important;
  outline: none;
  background-color: transparent;
}

.reservation-time-select:hover {
  background-color: transparent;
}

.reservation-time-select option[disabled] {
  color: #9CA3AF;
  font-weight: 600;
  font-style: italic;
}

/* 響應式調整 */
@media (max-width: 991px) {
  .reservation-date-input,
  .reservation-time-select {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

/* ========================================
   預約成功頁面按鈕樣式
   ======================================== */

/* 加入行事曆按鈕 - 橘底白字 */
.reservation-calendar-btn {
  background-color: #FF8A3C !important;
  border-color: #FF8A3C !important;
  color: white !important;
  border-radius: 0.5rem !important;
  font-size: 1rem !important;
  transition: all 0.2s ease;
}

.reservation-calendar-btn:hover {
  background-color: #E67A2C !important;
  border-color: #E67A2C !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 138, 60, 0.3);
}

.reservation-calendar-btn:active {
  background-color: #D66A1C !important;
  border-color: #D66A1C !important;
  transform: translateY(0);
}

.reservation-calendar-btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 138, 60, 0.3);
}

/* 取消預約按鈕 - 白底橘框 */
.reservation-cancel-btn {
  background-color: white !important;
  border: 2px solid #FF8A3C !important;
  color: #FF8A3C !important;
  border-radius: 0.5rem !important;
  font-size: 1rem !important;
  transition: all 0.2s ease;
}

.reservation-cancel-btn:hover {
  background-color: #FFF5F0 !important;
  border-color: #FF8A3C !important;
  color: #FF8A3C !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 138, 60, 0.2);
}

.reservation-cancel-btn:active {
  background-color: #FFE8DB !important;
  transform: translateY(0);
}

.reservation-cancel-btn:focus {
  background-color: white !important;
  border-color: #FF8A3C !important;
  color: #FF8A3C !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 138, 60, 0.25);
}

/* 看更多相關資訊區塊 */
.related-info-section {
  margin-top: 24px;
  padding-top: 24px;
}

.related-info-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.related-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-info-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.related-info-item::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  font-size: 20px;
  line-height: 1;
}

.related-info-link {
  color: #2563EB;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.2s ease;
  display: inline-block;
}

.related-info-link:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

.related-info-link:visited {
  color: #7C3AED;
}

@media (max-width: 768px) {
  .related-info-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .related-info-link {
    font-size: 14px;
  }

  .related-info-item {
    margin-bottom: 10px;
  }
}

/* 預約卡片內的看更多相關資訊區塊 */
.related-info-section-card {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-top: 0;
  text-align: center;
}

.related-info-title-card {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  text-align: center;
}

.related-info-list-card {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.related-info-item-card {
  margin-bottom: 10px;
  text-align: center;
}

.related-info-link-card {
  color: #2563EB;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  transition: all 0.2s ease;
  display: inline-block;
}

.related-info-link-card:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

.related-info-link-card:visited {
  color: #7C3AED;
}

@media (max-width: 768px) {
  .related-info-title-card {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .related-info-link-card {
    font-size: 14px;
  }

  .related-info-item-card {
    margin-bottom: 8px;
  }
}