/**
 * ── HOÀNG HỔ SMART EVENT ESTIMATOR & BOOKING CSS ──
 * 2-COLUMN LUXURY CONFIGURATOR WITH SLENDER SCROLLABLE PANEL
 * Strictly conforming to Hoàng Hổ Luxury Design System
 */

.event-estimator-section {
  padding: 120px 60px;
  background: linear-gradient(180deg, var(--ink, #0D1A12) 0%, #060e0a 100%);
  position: relative;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  overflow: hidden;
}

.estimator-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Section Header ── */
.estimator-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.estimator-header .section-eyebrow {
  justify-content: center;
}

.estimator-title {
  font-family: var(--display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ivory, #F7F2E8);
  margin-bottom: 18px;
}

.estimator-title em {
  font-style: italic;
  color: var(--gold, #C9A84C);
}

.estimator-desc {
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247, 242, 232, 0.72);
  margin: 0 auto;
}

/* ── 2-COLUMN BALANCED GRID ── */
.estimator-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
}

/* ── CỘT TRÁI: KHUNG ĐIỀU KHIỂN CUỘN MƯỢT (LUXURY SCROLLBAR) ── */
.estimator-config-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.estimator-config-panel.scrollable-panel {
  max-height: 770px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.4) transparent;
}

/* Custom scrollbar mạ vàng mảnh tinh tế */
.estimator-config-panel.scrollable-panel::-webkit-scrollbar {
  width: 5px;
}

.estimator-config-panel.scrollable-panel::-webkit-scrollbar-track {
  background: rgba(247, 242, 232, 0.03);
  border-radius: 4px;
}

.estimator-config-panel.scrollable-panel::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.35);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.estimator-config-panel.scrollable-panel::-webkit-scrollbar-thumb:hover {
  background: var(--gold, #C9A84C);
}

/* Thẻ Card từng bước */
.config-step-card {
  background: rgba(247, 242, 232, 0.025);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  padding: 28px 26px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.config-step-card:hover {
  border-color: rgba(201, 168, 76, 0.38);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.step-num {
  font-family: var(--display, 'Cormorant Garamond', serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #0D1A12);
  background: var(--gold, #C9A84C);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-label {
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
}

/* BƯỚC 1: Chọn sảnh tiệc */
.hall-selection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.hall-select-item {
  background: rgba(13, 26, 18, 0.65);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  padding: 14px 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.hall-select-item:hover {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(201, 168, 76, 0.06);
}

.hall-select-item.active {
  border-color: var(--gold, #C9A84C);
  background: rgba(201, 168, 76, 0.12);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.15);
}

.hall-radio-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.5);
  margin-bottom: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.hall-select-item.active .hall-radio-mark {
  border-color: var(--gold, #C9A84C);
  background: var(--gold, #C9A84C);
}

.hall-select-item.active .hall-radio-mark::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink, #0D1A12);
}

.hall-select-name {
  font-family: var(--display, 'Cormorant Garamond', Georgia, serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ivory, #F7F2E8);
}

.hall-select-meta {
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 12.5px;
  color: var(--text-3, #999C92);
  line-height: 1.35;
}

/* Slider số lượng bàn */
.table-slider-wrap {
  margin-top: 6px;
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.slider-label {
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 13px;
  color: rgba(247, 242, 232, 0.85);
}

.slider-counter {
  font-family: var(--display, 'Cormorant Garamond', serif);
  font-size: 22px;
  color: var(--gold, #C9A84C);
}

.slider-counter small {
  font-size: 13px;
  color: var(--ivory, #F7F2E8);
  font-style: normal;
}

.slider-pax-tag {
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 12.5px;
  color: var(--text-3, #999C92);
  margin-left: 4px;
}

.luxury-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(247, 242, 232, 0.12);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.luxury-range-slider:hover {
  background: rgba(201, 168, 76, 0.25);
}

.luxury-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold, #C9A84C);
  border: 3px solid var(--ink, #0D1A12);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
  transition: transform 0.15s ease, background 0.2s ease;
}

.luxury-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #e0bc5a;
}

.luxury-range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold, #C9A84C);
  border: 3px solid var(--ink, #0D1A12);
  cursor: pointer;
}

.capacity-alert {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(139, 58, 42, 0.15);
  border: 1px solid rgba(139, 58, 42, 0.4);
  color: #fca5a5;
  padding: 9px 12px;
  border-radius: 2px;
  font-size: 11.5px;
  line-height: 1.45;
  animation: fadeIn 0.3s ease;
}

.capacity-alert svg {
  flex-shrink: 0;
  color: #f87171;
}

/* BƯỚC 2: Chọn Thực Đơn (3 Cột) */
.menu-selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.menu-card-option {
  background: rgba(13, 26, 18, 0.65);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  padding: 18px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.menu-card-option:hover {
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-2px);
}

.menu-card-option.active {
  border-color: var(--gold, #C9A84C);
  background: rgba(201, 168, 76, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.menu-popular-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: var(--gold, #C9A84C);
  color: var(--ink, #0D1A12);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 1px;
}

.menu-option-name {
  font-family: var(--display, 'Cormorant Garamond', Georgia, serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ivory, #F7F2E8);
  margin-bottom: 4px;
}

.menu-option-price {
  font-family: var(--display, 'Cormorant Garamond', serif);
  font-size: 18px;
  color: var(--gold, #C9A84C);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding-bottom: 8px;
}

.menu-option-price span {
  font-size: 12px;
  color: var(--text-3, #999C92);
  font-family: var(--body, sans-serif);
}

.menu-sample-dishes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-sample-dishes li {
  font-size: 13px;
  color: var(--text-2, #B5B6AC);
  line-height: 1.4;
  position: relative;
  padding-left: 12px;
}

.menu-sample-dishes li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold, #C9A84C);
  font-size: 14px;
  line-height: 1;
}

/* BƯỚC 3: Dịch vụ Sự Kiện (LƯỚI 2 CỘT GỌN GÀNG 2X2) */
.services-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 1200px) {
  .services-checkbox-grid {
    grid-template-columns: 1fr;
  }
}

.service-checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 26, 18, 0.55);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 2px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.22s ease;
  min-height: 48px;
}

.service-checkbox-item:hover {
  border-color: rgba(201, 168, 76, 0.45);
  background: rgba(201, 168, 76, 0.05);
}

.service-checkbox-item input[type="checkbox"] {
  display: none;
}

.service-box-custom {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 2px;
  background: transparent;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.service-checkbox-item input[type="checkbox"]:checked + .service-box-custom {
  background: var(--gold, #C9A84C);
  border-color: var(--gold, #C9A84C);
}

.service-checkbox-item input[type="checkbox"]:checked + .service-box-custom::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--ink, #0D1A12);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-info {
  flex: 1;
  min-width: 0;
  padding-right: 6px;
}

.service-name {
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ivory, #F7F2E8);
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
}

.service-fee {
  font-family: var(--display, 'Cormorant Garamond', serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold, #C9A84C);
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}

/* ── CỘT PHẢI: STICKY SUMMARY & FORM CARD ── */
.estimator-summary-panel {
  position: relative;
}

.summary-sticky-card {
  position: sticky;
  top: 100px;
  background: rgba(13, 26, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 2px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.summary-card-header {
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding-bottom: 12px;
}

.summary-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 4px;
}

.summary-title {
  font-family: var(--display, 'Cormorant Garamond', Georgia, serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ivory, #F7F2E8);
}

.summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.4;
}

.breakdown-label {
  color: rgba(247, 242, 232, 0.65);
}

.breakdown-val {
  color: var(--ivory, #F7F2E8);
  font-weight: 400;
  text-align: right;
}

.breakdown-val.highlight-val {
  color: var(--gold, #C9A84C);
  font-weight: 500;
}

.discount-row {
  background: rgba(201, 168, 76, 0.08);
  padding: 8px 10px;
  border-radius: 2px;
  border-left: 2px solid var(--gold, #C9A84C);
}

.discount-row .breakdown-label {
  color: var(--gold, #C9A84C);
  display: flex;
  align-items: center;
  gap: 6px;
}

.discount-row .discount-val {
  color: var(--gold, #C9A84C);
  font-weight: 600;
}

.summary-total-box {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.total-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.7);
  margin-bottom: 4px;
}

.total-figure {
  font-family: var(--display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--gold, #C9A84C);
  line-height: 1.1;
  margin-bottom: 6px;
}

.total-figure small {
  font-size: 15px;
  font-weight: 300;
  color: var(--ivory, #F7F2E8);
}

.total-disclaimer {
  font-size: 12px;
  color: rgba(247, 242, 232, 0.72);
  line-height: 1.5;
}
.total-disclaimer strong {
  color: var(--gold, #C9A84C);
  font-weight: 600;
}

/* Form chốt dự toán */
.estimator-lead-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field-wrap label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(247, 242, 232, 0.85);
}

.est-input {
  width: 100%;
  background: rgba(247, 242, 232, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
  color: var(--ivory, #F7F2E8);
  padding: 10px 12px;
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 12.5px;
  outline: none;
  transition: all 0.25s ease;
}

.est-input:focus {
  border-color: var(--gold, #C9A84C);
  background: rgba(201, 168, 76, 0.06);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.2);
}

/* Checkbox đồng ý: đồng bộ với checkbox tùy biến của popup đặt bàn (leads.css .checkbox-container) */
.form-field-wrap .est-consent-label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 24px;
  padding: 3px 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(247, 242, 232, 0.85);
  user-select: none;
}

/* Ẩn checkbox gốc nhưng vẫn nhận focus bàn phím & click */
.est-consent-label input[type="checkbox"] {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.est-consent-box {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background-color: rgba(13, 26, 18, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* Mở rộng vùng chạm của ô 18px lên ≥ 26px */
.est-consent-box::before {
  content: '';
  position: absolute;
  inset: -5px;
}

.est-consent-label:hover .est-consent-box {
  border-color: var(--gold, #C9A84C);
}

.est-consent-label input[type="checkbox"]:checked + .est-consent-box {
  background-color: var(--gold, #C9A84C);
  border-color: var(--gold, #C9A84C);
}

.est-consent-label input[type="checkbox"]:checked + .est-consent-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid var(--ink, #0D1A12);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.est-consent-label input[type="checkbox"]:focus-visible + .est-consent-box {
  outline: 2px solid var(--gold, #C9A84C);
  outline-offset: 2px;
}

.est-consent-text a {
  color: var(--gold, #C9A84C);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.estimator-actions-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  margin-top: 8px;
  align-items: stretch;
}

.est-submit-btn {
  width: 100%;
  height: 44px;
  justify-content: center;
  padding: 0 12px;
  cursor: pointer;
  border: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  gap: 6px;
}

.est-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 44px;
  justify-content: center;
  padding: 0 10px;
  cursor: pointer;
  background: transparent !important;
  border: 1px solid rgba(201, 168, 76, 0.45) !important;
  border-radius: 2px;
  color: var(--gold, #C9A84C) !important;
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  outline: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.est-print-btn svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold, #C9A84C);
  transition: all 0.25s ease;
}

.est-print-btn:hover {
  border-color: var(--gold, #C9A84C) !important;
  color: var(--ink, #0D1A12) !important;
  background: var(--gold, #C9A84C) !important;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
  transform: translateY(-1px);
}

.est-print-btn:hover svg {
  stroke: var(--ink, #0D1A12);
  transform: scale(1.1);
}

.print-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold, #C9A84C) !important;
  color: var(--ink, #0D1A12) !important;
  border: none !important;
  border-radius: 2px;
  padding: 12px 24px;
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.25);
  transition: all 0.25s ease;
}

.print-trigger-btn svg {
  stroke: var(--ink, #0D1A12);
}

.print-trigger-btn:hover {
  background: #e0bc5a !important;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
  transform: translateY(-1px);
}

.est-feedback-msg {
  padding: 11px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.est-feedback-msg.success {
  background: rgba(74, 97, 88, 0.3);
  border: 1px solid rgba(200, 230, 212, 0.4);
  color: var(--seafoam, #C8E6D4);
}

.est-feedback-msg .est-feedback-link {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 2px;
  color: var(--gold, #C9A84C);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.est-feedback-msg .est-feedback-link:hover,
.est-feedback-msg .est-feedback-link:focus-visible {
  color: #e0bc5a;
}

.est-feedback-msg.error {
  background: rgba(139, 58, 42, 0.2);
  border: 1px solid rgba(139, 58, 42, 0.5);
  color: #fca5a5;
}

/* ── MODAL IN PHIẾU DỰ TOÁN A4 (PRINTABLE LUXURY SHEET) ── */
.estimator-print-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.print-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.print-modal-sheet {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 40px;
}

.print-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  line-height: 1;
}

.print-sheet-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.printable-a4-content {
  background: #fff;
  font-family: 'Times New Roman', Georgia, serif;
  color: #222;
  line-height: 1.5;
}

.print-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.print-brand-name {
  font-size: 22px;
  color: #0D1A12;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.print-brand-sub {
  font-size: 13px;
  color: #8B3A2A;
  font-style: italic;
}

.print-brand-address {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

.print-meta-box {
  text-align: right;
}

.print-meta-title {
  font-size: 16px;
  font-weight: bold;
  color: #0D1A12;
  letter-spacing: 0.08em;
}

.print-meta-code {
  font-size: 13px;
  color: #8B3A2A;
  margin-top: 4px;
}

.print-meta-date {
  font-size: 11px;
  color: #777;
}

.print-divider {
  border: none;
  height: 1.5px;
  background: #0D1A12;
  margin: 16px 0;
}

.print-client-info {
  background: #fcfbfa;
  border: 1px solid #e8e3d8;
  padding: 14px 18px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-size: 13px;
  margin-bottom: 24px;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 13px;
}

.print-table th, 
.print-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
}

.print-table th {
  background: #f4f0e6;
  color: #0D1A12;
  text-align: left;
  font-weight: bold;
}

.print-notes {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

.print-signatures {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 20px;
}

.signature-col {
  width: 240px;
}

.sig-title {
  font-size: 12px;
  font-weight: bold;
  color: #0D1A12;
}

.sig-space {
  height: 70px;
}

.sig-name {
  font-size: 12px;
  color: #555;
  font-style: italic;
}

/* Media print A4 */
@media print {
  body * {
    visibility: hidden;
  }
  .no-print, .print-close-btn, .print-modal-overlay {
    display: none !important;
  }
  #estimator-print-modal,
  #estimator-print-modal * {
    visibility: visible;
  }
  #estimator-print-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  .print-modal-sheet {
    box-shadow: none;
    border: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
}

/* ── Responsive Breakpoints ── */
@media (max-width: 1024px) {
  .estimator-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .estimator-config-panel.scrollable-panel {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
  .summary-sticky-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .event-estimator-section {
    padding: 80px 20px;
  }
  .hall-selection-cards {
    grid-template-columns: 1fr;
  }
  .menu-selection-grid {
    grid-template-columns: 1fr;
  }
  .services-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .print-client-info {
    grid-template-columns: 1fr;
  }
  .print-signatures {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .estimator-actions-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Ô nhập trong form dự toán đủ cao để chạm trên điện thoại (≥ 44px) */
.estimator-lead-form input[type="text"],
.estimator-lead-form input[type="tel"],
.estimator-lead-form input[type="date"] {
  min-height: 46px;
}
