/* =====================================================================
   Xoăn Media — GIAO DIỆN BỘ DỰ TOÁN & ĐẶT LỊCH
   Website: xoanmedia.com
   ===================================================================== */

.est-wrap {
  max-width: 1140px;
  margin: 120px auto 80px;
  padding: 0 24px;
}

.est-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.est-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 12px;
}

.est-head p {
  color: var(--text-muted);
  font-size: 16px;
}

.est-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

.est-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.est-step {
  margin-bottom: 32px;
}

.est-step:last-child {
  margin-bottom: 0;
}

.est-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.est-step h3 .badge-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radio button pills */
.pkg-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pkg-opt {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.pkg-opt:hover {
  border-color: rgba(224, 122, 40, 0.4);
}

.pkg-opt.active {
  border-color: var(--accent);
  background: var(--accent-light);
}

.pkg-opt b {
  display: block;
  font-size: 15px;
  color: var(--text-main);
}

.pkg-opt span {
  font-size: 13px;
  color: var(--accent-hover);
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

/* Slider */
.slider-wrap {
  margin-top: 10px;
}

.slider-val-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.slider-val-box b {
  font-size: 20px;
  color: var(--accent);
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #EBE5DB;
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Checkboxes */
.addons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addon-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.addon-label:hover {
  background: #FAF7F2;
}

.addon-label input {
  margin-right: 10px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.addon-label .fee {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--accent-hover);
}

/* RESULT BOX (RIGHT COLUMN) */
.est-summary {
  position: sticky;
  top: 90px;
  background: #171614;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-popup);
}

.est-summary h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.est-price-big {
  margin-bottom: 24px;
}

.est-price-big .price-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.est-price-big .price-sub {
  font-size: 13.5px;
  color: #A39D94;
  margin-top: 6px;
}

.est-perks-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 28px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #DDD8D0;
}

.est-perks-box b {
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group input {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.btn-est-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(224, 122, 40, 0.35);
  margin-top: 8px;
}

.btn-est-submit:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 900px) {
  .est-grid {
    grid-template-columns: 1fr;
  }
  .est-summary {
    position: static;
  }
}
