/**
 * enquiry_box_switcher.css
 * 桌面版查詢表單展開/收合動畫與樣式
 * 引用位置：/src/app/Views/desktop/merchant/partials/enquiry_box.php
 */

/* [enquiry_box.php] 根容器 .enquiry-switcher - 展開動畫過渡 */
.enquiry-switcher {
  --enquiry-switch-duration: 800ms;
  --enquiry-switch-easing: cubic-bezier(0.4, 0, 0.2, 1);
  position: sticky;
  /* top: 20px; */
  /* top: 10px; */
  z-index: 100;
}

/* [enquiry_box.php] .detail_right 內與下方 .home-ad 的間距 */
.detail_right .enquiry-switcher + .home-ad {
  margin-top: 16px;
}

/* [enquiry_box.php] 各狀態面板根容器 .enquiry-switcher__panel */
.enquiry-switcher__panel {
  overflow: visible;
  border-radius: 15px;
}

/* [enquiry_box.php] 動畫裁切層 .enquiry-switcher__panel-clip */
.enquiry-switcher__panel-clip {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: grid-template-rows var(--enquiry-switch-duration) var(--enquiry-switch-easing),
    opacity var(--enquiry-switch-duration) var(--enquiry-switch-easing),
    transform var(--enquiry-switch-duration) var(--enquiry-switch-easing);
  will-change: grid-template-rows, opacity, transform;
}

.enquiry-switcher__panel.is-active .enquiry-switcher__panel-clip {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.enquiry-switcher__panel-clip > .discount_box,
.enquiry-switcher__panel-clip > .enquiry_col {
  overflow: hidden;
  min-height: 0;
}

/* [enquiry_box.php] 面板間距控制 */
.enquiry-switcher__panel + .enquiry-switcher__panel {
  margin-top: 0;
}

/* [enquiry_box.php] 未展開狀態 .enquiry-switcher__panel--legacy .discount_box */
.enquiry-switcher__panel--legacy .discount_box {
  box-shadow: none;
  margin-bottom: 0;
  border: 1px solid #ebebeb;
  border-radius: 15px;
}

/* [enquiry_box.php] ej展開時隱藏legacy面板佔位 */
.enquiry-switcher__panel--ej.is-active ~ .enquiry-switcher__panel--legacy,
.enquiry-switcher__panel--legacy:not(.is-active) {
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

.enquiry-switcher__panel--legacy:not(.is-active) .enquiry-switcher__panel-clip {
  display: none !important;
}

/* [enquiry_box.php] .enquiry-switcher__panel--legacy.is-active 外陰影 */
.enquiry-switcher__panel--legacy.is-active {
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

/* [enquiry_box.php] .enquiry-switcher__panel--legacy .price p 價格文字 */
.enquiry-switcher__panel--legacy .price p {
  margin: 0;
  color: #000;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.03em;
  font-weight: 400;
  text-align: center;
}

/* [enquiry_box.php] .enquiry-switcher__panel--legacy .price p strong/b 強調數字 */
.enquiry-switcher__panel--legacy .price p strong,
.enquiry-switcher__panel--legacy .price p b {
  font-size: 26px;
  line-height: 150%;
  letter-spacing: 0.03em;
  font-weight: 500;
}

/* [enquiry_box.php] .enquiry-switcher__panel--legacy .check_date_btn 按鈕 */
.enquiry-switcher__panel--legacy .check_date_btn {
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.03em;
  font-weight: 700;
}

/* [enquiry_box.php] 展開狀態 .enquiry-switcher__panel--ej .enquiry_col 表單容器 */
.enquiry-switcher__panel--ej .enquiry_col {
  border: 1px solid #ebebeb;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: none;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  min-height: 0;
}

/* [enquiry_box.php] 滾動容器 - 獨立滾動 */
.enquiry-switcher__panel--ej .enquiry-form-scroll-wrapper {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
}

.enquiry-switcher__panel--ej .enquiry-form-scroll-wrapper::-webkit-scrollbar {
  width: 4px;
}

.enquiry-switcher__panel--ej .enquiry-form-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.enquiry-switcher__panel--ej .enquiry-form-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 2px;
}

.enquiry-switcher__panel--ej .enquiry-form-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}

/* [enquiry_box.php] EJ 展開時約束表單高度至視窗 */
.enquiry-switcher__panel--ej.is-active .enquiry_col {
  max-height: var(--ej-form-max-height, none);
}

.enquiry-switcher__panel--ej .enquiry-form-scroll-content {
  padding: 20px 15px 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* [enquiry_box.php] 底部固定區域 */
.enquiry-switcher__panel--ej .enquiry-form-footer {
  flex-shrink: 0;
  padding: 20px 15px 30px;
  background: #fff;
  border-top: 1px solid #f3f3f3;
  border-radius: 0 0 15px 15px;
}

/* [enquiry_box.php] .enquiry-switcher__panel--ej.is-active 外陰影 */
.enquiry-switcher__panel--ej.is-active {
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

/* [enquiry_box.php] .enquiry-switcher__panel--ej .header 標題區 */
.enquiry-switcher__panel--ej .header {
  border-bottom: 0;
  padding: 0;
  background-color: transparent;
  width: 100%;
}

/* [enquiry_box.php] .enquiry-switcher__panel--ej .header p 標題文字 */
.enquiry-switcher__panel--ej .header p {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.03em;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
}

/* [enquiry_box.php] .enquiry-switcher__panel--ej .complusory 必填提示 */
.enquiry-switcher__panel--ej .complusory {
  color: #ff0000;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.03em;
}

/* [enquiry_box.php] .enquiry-switcher__panel--ej .form-container 表單主區域 */
.enquiry-switcher__panel--ej .form-container {
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enquiry-switcher__panel--ej .form-group {
  margin-bottom: 0;
}

/* [enquiry_box.php] 下拉選單帶圖示 */
.enquiry-switcher__panel--ej .ej-select-wrapper {
  position: relative;
}

.enquiry-switcher__panel--ej .ej-select-with-icon {
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.95305 8.29289C6.34357 7.90237 6.97674 7.90237 7.36726 8.29289L12.6602 13.5858L17.953 8.29289C18.3436 7.90237 18.9767 7.90237 19.3673 8.29289C19.7578 8.68342 19.7578 9.31658 19.3673 9.70711L13.3673 15.7071C12.9767 16.0976 12.3436 16.0976 11.953 15.7071L5.95305 9.70711C5.56253 9.31658 5.56253 8.68342 5.95305 8.29289Z' fill='%239c9c9c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

/* [enquiry_box.php] 日期提示文字 */
.enquiry-switcher__panel--ej .ej-date-hint {
  font-size: 14px;
  color: #000;
  margin: 8px 0 4px;
  font-weight: 400;
}

/* [enquiry_box.php] 日期選擇器容器 */
.enquiry-switcher__panel--ej .ej-date-selector {
  margin-bottom: 8px;
}

.enquiry-switcher__panel--ej .ej-date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.enquiry-switcher__panel--ej .ej-date-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 64px;
  background: #FF7E8E;
  border: none;
  border-radius: 8px;
  color: #fff;
  position: relative;
  cursor: default;
  flex-direction: column;
}

.enquiry-switcher__panel--ej .ej-date-chip-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.enquiry-switcher__panel--ej .ej-date-chip-day {
  font-size: 18px;
  font-weight: 600;
}

.enquiry-switcher__panel--ej .ej-date-chip-month {
  font-size: 10px;
  font-weight: 400;
  margin-top: 2px;
}

.enquiry-switcher__panel--ej .ej-date-chip .ej-date-chip-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}

.enquiry-switcher__panel--ej .ej-date-chip .ej-date-chip-remove:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
}

.enquiry-switcher__panel--ej .ej-date-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 64px;
  background: #fff;
  border: 1px dashed #dedede;
  border-radius: 8px;
  font-size: 24px;
  color: #9c9c9c;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.enquiry-switcher__panel--ej .ej-date-add-btn:hover {
  border-color: #FF7E8E;
  color: #FF7E8E;
}

/* [enquiry_box.php] checkbox 行 */
.enquiry-switcher__panel--ej .ej-flex-checkbox {
  margin-top: 8px;
}

/* [enquiry_box.php] 預算標題欄 */
.enquiry-switcher__panel--ej .budget-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.enquiry-switcher__panel--ej .budget-title-accent {
  width: 4px;
  height: 16px;
  background: #00BACB;
  border-radius: 2px;
  flex-shrink: 0;
}

.enquiry-switcher__panel--ej .budget-title-bar .title_header {
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  height: 16px;
  display: flex;
  align-items: center;
}

/* [enquiry_box.php] textarea 區塊 */
.enquiry-switcher__panel--ej .ej-textarea-group {
  margin-bottom: 0;
}

.enquiry-switcher__panel--ej .ej-textarea-group textarea {
  min-height: 155px;
  height: 155px;
  border-radius: 5px;
  font-size: 14px;
}

/* [enquiry_box.php] 條款聲明 */
.enquiry-switcher__panel--ej .ej-terms {
  font-size: 11px;
  color: #000;
  line-height: 1.4;
  margin-bottom: 12px;
}

.enquiry-switcher__panel--ej .ej-terms p {
  font-size: 11px;
  margin-bottom: 0;
  word-wrap: break-word;
  white-space: normal;
}

.enquiry-switcher__panel--ej .ej-terms a {
  color: #00BACB;
  text-decoration: underline;
  cursor: pointer;
}

/* [enquiry_box.php] .form-control / .form-select 輸入框與下拉選單 */
.enquiry-switcher__panel--ej .form-control,
.enquiry-switcher__panel--ej .form-select {
  border: 1px solid #dedede;
  border-radius: 10px;
  font-size: 14px;
  min-height: 42px;
  background-color: #fff;
  padding: 10px 12px;
}

/* [enquiry_box.php] select 預設顏色為 placeholder 色 */
.enquiry-switcher__panel--ej .form-select {
  color: #9c9c9c;
}

/* [enquiry_box.php] select 選中有效值後顯示正常顏色 */
.enquiry-switcher__panel--ej .form-select option {
  color: #303030;
}

/* [enquiry_box.php] select placeholder 選項保持灰色 */
.enquiry-switcher__panel--ej .form-select option[value=""] {
  color: #9c9c9c;
}

/* [enquiry_box.php] 預算輸入框 - 覆蓋 form-control padding */
.enquiry-switcher__panel--ej .ej-budget-input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.enquiry-switcher__panel--ej .ej-budget-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 14px;
  font-weight: 400;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  line-height: 1;
}

.enquiry-switcher__panel--ej .form-control.ej-budget-input {
  padding-left: 32px;
  padding-right: 12px;
  width: 100%;
  box-sizing: border-box;
}

/* [enquiry_box.php] .form-control::placeholder placeholder 文字 */
.enquiry-switcher__panel--ej .form-control::placeholder {
  color: #9c9c9c;
}

/* [enquiry_box.php] .form-control:focus / .form-select:focus focus 狀態 */
.enquiry-switcher__panel--ej .form-control:focus,
.enquiry-switcher__panel--ej .form-select:focus {
  border-color: #ff7e8e;
  box-shadow: 0 0 0 2px rgba(255, 126, 142, 0.15);
}

/* [enquiry_box.php] textarea.form-control 多行輸入 */
.enquiry-switcher__panel--ej textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

/* [enquiry_box.php] .position-relative 日期輸入容器 */
.enquiry-switcher__panel--ej .position-relative {
  position: relative;
}

/* [enquiry_box.php] .input-right-icon 日期圖示 */
.enquiry-switcher__panel--ej .input-right-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #acacac;
  pointer-events: none;
}

/* [enquiry_box.php] .title_header 區塊小標題 */
.enquiry-switcher__panel--ej .title_header {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2d2d2d;
}

/* [enquiry_box.php] .form-group > label / .row label 表單 label */
.enquiry-switcher__panel--ej .form-group > label,
.enquiry-switcher__panel--ej .row label {
  font-size: 12px;
  color: #7f7f7f;
}

/* [enquiry_box.php] .custom-checkbox 自訂 checkbox input（隱藏） */
.enquiry-switcher__panel--ej .custom-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

/* [enquiry_box.php] .form-check-label checkbox 說明文字 */
.enquiry-switcher__panel--ej .form-check-label {
  color: #000;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  display: inline-block;
  vertical-align: middle;
  text-indent: -22px;
  padding-left: 22px;
  margin-top: 11px;
  position: relative;
  padding-top: 0;
  cursor: pointer;
}

/* [enquiry_box.php] .custom-checkbox + .form-check-label::before checkbox 方框 */
.enquiry-switcher__panel--ej .custom-checkbox + .form-check-label::before {
  content: '';
  margin-right: 8px;
  display: inline-block;
  vertical-align: top;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #a9a9a9;
  border-radius: 5px;
  position: relative;
}

/* [enquiry_box.php] .custom-checkbox:checked + .form-check-label::before 勾選後底色 */
.enquiry-switcher__panel--ej .custom-checkbox:checked + .form-check-label::before {
  background-color: #ffa1a1;
  border-color: #ffa1a1;
}

/* [enquiry_box.php] .custom-checkbox:checked + .form-check-label::after 勾選圖示 */
.enquiry-switcher__panel--ej .custom-checkbox:checked + .form-check-label::after {
  font-family: 'Font Awesome 5 Free', FontAwesome, sans-serif;
  font-weight: 900;
  content: '\f00c';
  position: absolute;
  left: 1px;
  top: 4px;
  width: 20px;
  height: 20px;
  color: #fff;
}

/* [enquiry_box.php] checkbox 圖示微調 */
.enquiry-switcher__panel--ej .custom-checkbox:checked + .form-check-label::after {
  padding-left: 25px;
}

/* [enquiry_box.php] .budget 預算區塊 */
.enquiry-switcher__panel--ej .budget {
  border-top: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
  padding: 24px 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* [enquiry_box.php] .budget label 預算標籤 */
.enquiry-switcher__panel--ej .budget label[for='ej-enquiry-min-budget'],
.enquiry-switcher__panel--ej .budget label[for='ej-enquiry-max-budget'] {
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  color: #000;
  margin-bottom: 4px;
  display: block;
}

/* [enquiry_box.php] .double_range_slider_box 雙滑桿容器 */
.enquiry-switcher__panel--ej .double_range_slider_box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto 20px;
}

/* [enquiry_box.php] .budget 輸入行間距 */
.enquiry-switcher__panel--ej .budget > .row {
  margin-top: 16px;
  margin-bottom: 12px;
}

/* [enquiry_box.php] .double_range_slider 滑桿軌道 */
.enquiry-switcher__panel--ej .double_range_slider {
  width: 100%;
  height: 4px;
  border-radius: 10px;
  position: relative;
  background-color: #ddd;
}

/* [enquiry_box.php] .range_track 已選範圍高亮 */
.enquiry-switcher__panel--ej .range_track {
  height: 100%;
  position: absolute;
  border-radius: 20px;
  background-color: #00bacb;
  left: 0;
  width: 10%;
}

/* [enquiry_box.php] .double_range_slider input[type='range'] range input */
.enquiry-switcher__panel--ej .double_range_slider input[type='range'] {
  position: absolute;
  width: 100%;
  height: 5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  min-height: 5px;
}

/* [enquiry_box.php] input[type='range']::-webkit-slider-thumb WebKit 滑塊 */
.enquiry-switcher__panel--ej .double_range_slider input[type='range']::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #00bacb;
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 1px;
  border: 0;
}

/* [enquiry_box.php] input[type='range']::-moz-range-thumb Firefox 滑塊 */
.enquiry-switcher__panel--ej .double_range_slider input[type='range']::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #00bacb;
  pointer-events: auto;
  -moz-appearance: none;
  cursor: pointer;
  border: 0;
}

/* [enquiry_box.php] input[type='range']:disabled 禁用滑塊 */
.enquiry-switcher__panel--ej .double_range_slider input[type='range']:disabled::-webkit-slider-thumb,
.enquiry-switcher__panel--ej .double_range_slider input[type='range']:disabled::-moz-range-thumb {
  background-color: #c6c6c6;
  cursor: not-allowed;
}

/* [enquiry_box.php] .minvalue / .maxvalue 數值提示（隱藏） */
.enquiry-switcher__panel--ej .double_range_slider .minvalue,
.enquiry-switcher__panel--ej .double_range_slider .maxvalue {
  position: absolute;
  top: -28px;
  transform: translateX(-50%);
  font-size: 11px;
  color: #000;
  white-space: nowrap;
  /* No show*/
  display: none
}

/* [enquiry_box.php] .accordion-item 額外要求容器 */
.enquiry-switcher__panel--ej .accordion-item {
  border: none !important;
}

/* [enquiry_box.php] .accordion-header 額外要求標題 */
.enquiry-switcher__panel--ej .accordion-header {
  padding: 0 !important;
  margin: 0 !important;
}

/* [enquiry_box.php] .accordion-button 額外要求手風琴按鈕 */
.enquiry-switcher__panel--ej .accordion-button {
  color: #000 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  min-height: auto !important;
  background: transparent !important;
}

.enquiry-switcher__panel--ej .accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

/* [enquiry_box.php] .accordion-button::after 箭頭圖示 */
.enquiry-switcher__panel--ej .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.95305 8.29289C6.34357 7.90237 6.97674 7.90237 7.36726 8.29289L12.6602 13.5858L17.953 8.29289C18.3436 7.90237 18.9767 7.90237 19.3673 8.29289C19.7578 8.68342 19.7578 9.31658 19.3673 9.70711L13.3673 15.7071C12.9767 16.0976 12.3436 16.0976 11.953 15.7071L5.95305 9.70711C5.56253 9.31658 5.56253 8.68342 5.95305 8.29289Z' fill='black'/%3E%3C/svg%3E") !important;
  width: 20px !important;
  height: 20px !important;
  background-repeat: no-repeat !important;
  background-size: 20px !important;
  background-position: center !important;
  transform: rotate(0deg) !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  content: '' !important;
}

/* [enquiry_box.php] .accordion-button:not(.collapsed) 展開時文字 */
.enquiry-switcher__panel--ej .accordion-button:not(.collapsed) {
  color: #000 !important;
}

/* [enquiry_box.php] .accordion-button:not(.collapsed)::after 展開時箭頭 */
.enquiry-switcher__panel--ej .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg) !important;
}

/* [enquiry_box.php] .accordion-body 額外要求內容區 */
.enquiry-switcher__panel--ej .accordion-body {
  padding: 16px 0 0 0 !important;
}

.enquiry-switcher__panel--ej .accordion-body .form-group {
  margin-bottom: 16px !important;
}

.enquiry-switcher__panel--ej .accordion-body .row .form-group {
  margin-bottom: 0 !important;
}

.enquiry-switcher__panel--ej .accordion-body .form-item {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* [enquiry_box.php] .form-item .content 形式選項容器 */
.enquiry-switcher__panel--ej .form-item .content {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

/* [enquiry_box.php] .content-type 形式 checkbox input（隱藏） */
.enquiry-switcher__panel--ej .form-item .content .content-type {
  border: 0;
  height: 0.0625rem;
  margin: -0.0625rem;
  overflow: hidden;
  visibility: hidden;
  padding: 0;
  position: absolute;
  width: 0.0625rem;
}

/* [enquiry_box.php] input.content-type + label 形式 chip 未選中 */
.enquiry-switcher__panel--ej input.content-type + label {
  display: flex;
  padding: 0.3125rem 0.9375rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.3125rem;
  border: 0.0625rem solid #747474;
  color: #747474;
  cursor: pointer;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  text-indent: 0;
}

/* [enquiry_box.php] input.content-type:checked + label 形式 chip 選中 */
.enquiry-switcher__panel--ej input.content-type:checked + label {
  background: #ff7e8e;
  border: 0.0625rem solid #ff7e8e;
  color: #fff;
  transition: all 0.3s;
}

/* [enquiry_box.php] .enquiry-switcher__offers 優惠列表容器 */
.enquiry-switcher__offers {
  border-top: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
  max-height: 180px;
  overflow: auto;
  margin-bottom: 0;
}

/* [enquiry_box.php] .enquiry-switcher__offer-item 單一優惠項目 */
.enquiry-switcher__offer-item {
  padding: 8px 0;
  border-bottom: 1px solid #f3f3f3;
}

/* [enquiry_box.php] .enquiry-switcher__offer-item:last-child 最後一項 */
.enquiry-switcher__offer-item:last-child {
  border-bottom: 0;
}

/* [enquiry_box.php] .enquiry-switcher__offer-title 優惠標題 */
.enquiry-switcher__offer-title {
  color: #232323;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* [enquiry_box.php] .enquiry-switcher__offer-content 優惠內容 */
.enquiry-switcher__offer-content {
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

/* [enquiry_box.php] .remarks 免責聲明 */
.enquiry-switcher__panel--ej .remarks {
  background-color: transparent;
  color: #000;
  font-size: 12px;
  line-height: 14px;
  padding: 0;
  border-top: 0;
  letter-spacing: 0.02em;
  width: 100%;
}

/* [enquiry_box.php] .btn-submit 送出按鈕 */
.enquiry-switcher__panel--ej .btn-submit {
  border-radius: 50px;
  min-height: 0;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 22px;
  width: 100%;
  margin: 0;
  background: #FF7E8E;
  border: none;
  color: #fff;
}

.enquiry-switcher__panel--ej .btn-submit:hover {
  background: #E06A7A;
  color: #fff;
}

.enquiry-switcher__panel--ej .btn-submit.exceed-enquiry-quota {
  background: #E0E0E0;
  cursor: not-allowed;
}

/* [enquiry_box.php] .form-group.mb-0 文字輸入區修正 */
.enquiry-switcher__panel--ej .form-group.mb-0 {
  margin-bottom: 0 !important;
}

/* [enquiry_box.php] prefers-reduced-motion 無障礙動畫 */
@media (prefers-reduced-motion: reduce) {
  .enquiry-switcher__panel-clip,
  .enquiry-switcher__panel-clip > .discount_box,
  .enquiry-switcher__panel-clip > .enquiry_col {
    transition: none;
  }
}

.enquiry-switcher.is-logged-in .ej-guest-only {
  display: none;
}
