/* ============================================================
   1800 Vine St — Booking Estimator Styles
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.est-hero-wrap {
  background: #fff;
}

.est-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 64px 56px;
}

.est-eyebrow {
  font-family: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #000;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.est-headline {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.est-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px 80px;
}

.est-section {
  padding: 32px 0;
}

.est-section:last-child {
  border-bottom: none;
}

.est-section-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0 0 24px 0;
}

/* ============================================================
   TILE GRID — VENUE AREAS
   ============================================================ */
.est-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.est-tile {
  position: relative;
  border: 2px solid #d0d0d0;
  background: #fff;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: border-color 0.2s ease;
  overflow: hidden;
  min-height: 80px;
  display: flex;
  align-items: flex-end;
}

.est-tile.is-selected {
  border-color: #4099FB;
  border-width: 3px;
  background: #f0f7ff;
}

.est-tile-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  z-index: 2;
  transition: opacity 0.15s ease;
}

.est-tile-name {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0;
  padding: 14px 14px;
  letter-spacing: 0.02em;
}

/* ============================================================
   TILE GRID — ATTRIBUTES (no image)
   ============================================================ */
.est-tile-grid--attr {
  grid-template-columns: repeat(3, 1fr);
}

.est-tile--attr {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border: 2px solid #d0d0d0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.est-tile--attr .est-tile-check {
  position: static;
  flex-shrink: 0;
}

.est-tile-attr-name {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

/* ============================================================
   DATE + TIME
   ============================================================ */
.est-datetime-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #000;
}

.est-datetime-field {
  flex: 1;
  padding: 16px 20px;
}

.est-datetime-divider {
  width: 1px;
  background: #000;
  flex-shrink: 0;
}

.est-datetime-label {
  font-family: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #000;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}

.est-datetime-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
}

.est-datetime-value {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #000;
}

.est-datetime-value.is-placeholder {
  color: #aaa;
  font-weight: 400;
}

.est-datetime-chevron {
  width: 16px;
  height: 16px;
  filter: brightness(0);
  flex-shrink: 0;
}

/* ============================================================
   GUEST COUNT
   ============================================================ */
.est-guest-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 2px solid #000;
  padding-bottom: 8px;
  width: 240px;
}

.est-guest-input {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #000;
  border: none;
  outline: none;
  width: 120px;
  background: transparent;
  -moz-appearance: textfield;
}

.est-guest-input::-webkit-outer-spin-button,
.est-guest-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.est-guest-unit {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #888;
  margin: 0;
  text-transform: uppercase;
}

/* ============================================================
   COST ESTIMATE RESULT
   ============================================================ */
.est-result {
  padding: 32px 0;
}

.est-result-inner {
  border: 1px solid #000;
  padding: 36px 40px;
}

.est-result-eyebrow {
  font-family: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #000;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.est-result-amount {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 600;
  color: #000;
  margin: 0 0 8px 0;
  line-height: 1;
}

.est-result-breakdown {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin: 0 0 24px 0;
  line-height: 1.6;
  min-height: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.est-result-breakdown span {
  display: block;
}

.est-rate-note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #999;
  margin: -16px 0 24px 0;
  line-height: 1.5;
}

/* Bundle savings */
.est-bundle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
  margin-bottom: 0;
}

.est-bundle-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #4099FB;
  text-transform: uppercase;
  margin: 0;
}

.est-bundle-amount {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #4099FB;
  margin: 0;
}

/* Disclosures — moved to separate box below cost estimate */
.est-disclosures-box {
  border: 2px solid #000;
  padding: 28px 32px;
  margin-top: 16px;
  display: none;
}

.est-disclosures-box.is-visible {
  display: block;
}

.est-disclosures-eyebrow {
  font-family: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #000;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.est-disclosures-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.est-disclosure-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #f7f7f7;
  border-left: 3px solid #000;
}

.est-disclosure-item--alert {
  border-left-color: #D4A017;
  background: #fffbf0;
}

.est-disclosure-item--info {
  border-left-color: #4099FB;
  background: #f0f7ff;
}

.est-disclosure-icon {
  display: none;
}

.est-disclosure-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  margin: 0;
  line-height: 1.6;
}

.est-disclosure-text strong {
  font-weight: 600;
}

/* ============================================================
   SUBMIT
   ============================================================ */
.est-section--submit {
  border-bottom: none;
  padding-top: 40px;
}

.est-submit-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 18px 40px;
  transition: background 0.2s ease;
}

.est-submit-btn:hover {
  background: #333;
}

/* ============================================================
   DATE/TIME PICKER MODAL — Full screen on all viewports
   ============================================================ */
.dt-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: stretch;
  justify-content: stretch;
}

.dt-modal.is-open {
  display: flex;
}

.dt-modal-overlay {
  display: none; /* No scrim — panel fills entire screen */
}

.dt-modal-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 32px 24px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Inner content: full estimator width on desktop, centered */
.dt-modal-header,
.dt-calendar,
.dt-time,
.dt-modal-footer {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Time grid — flat, no scroll container, panel scroll handles everything */
.dt-time-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

@media (min-width: 480px) {
  .dt-time-scroll {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 768px) {
  .dt-modal-panel {
    padding: 48px 64px 32px;
  }
  .dt-time-scroll {
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
  }
  .dt-time-slot {
    font-size: 16px;
    padding: 14px 8px;
  }
  .dt-cal-nav {
    margin-bottom: 24px;
  }
  .dt-cal-month {
    font-size: 24px;
    font-weight: 700;
  }
  .dt-cal-arrow img {
    width: 22px;
    height: 22px;
  }
  .dt-cal-header {
    font-size: 14px;
    padding: 8px 0 12px;
  }
  .dt-cal-days {
    gap: 8px;
  }
  .dt-cal-day {
    font-size: 18px;
    border-radius: 50%;
    aspect-ratio: unset;
    height: 52px;
  }
  .dt-time-label {
    font-size: 13px;
    margin-bottom: 20px;
    margin-top: 32px;
  }
  .dt-modal-title {
    font-size: 24px;
    letter-spacing: 0.04em;
  }
  .dt-modal-close img {
    width: 28px;
    height: 28px;
  }
  .dt-modal-confirm {
    font-size: 16px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
  }
  .dt-modal-footer {
    padding-top: 20px;
    margin-top: 16px;
  }
}

.dt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dt-modal-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dt-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.dt-modal-close img {
  width: 20px;
  height: 20px;
  filter: brightness(0);
}

/* Calendar */
.dt-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dt-cal-month {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.dt-cal-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
}

.dt-cal-arrow img {
  width: 16px;
  height: 16px;
  filter: brightness(0);
}

/* Single unified 7-column grid — headers and day buttons are siblings */
.dt-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dt-cal-header {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  padding: 4px 0 8px;
  text-align: left;
}

/* dt-cal-days is now just a fragment container — not a grid itself */
.dt-cal-days {
  display: contents;
}

.dt-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  cursor: pointer;
  border: none;
  background: none;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}

.dt-cal-day:hover {
  background: #f0f0f0;
}

.dt-cal-day.is-selected {
  background: #4099FB;
  color: #fff;
  font-weight: 600;
}

.dt-cal-day.is-today {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dt-cal-day.is-past {
  color: #ccc;
  cursor: default;
  pointer-events: none;
}

.dt-cal-day.is-empty {
  pointer-events: none;
}

/* Time picker */
.dt-time {
  margin-top: 24px;
  padding-top: 20px;
}

.dt-time-label {
  font-family: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #000;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

/* dt-time-scroll defined above in modal section */

.dt-time-slot {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #000;
  border: 1px solid #d0d0d0;
  background: #fff;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dt-time-slot:hover {
  border-color: #4099FB;
  color: #4099FB;
}

.dt-time-slot.is-selected {
  background: #4099FB;
  border-color: #4099FB;
  color: #fff;
  font-weight: 600;
}

.dt-modal-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 12px;
  margin-top: 8px;
}

.dt-modal-confirm {
  width: 100%;
  background: #000;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: none;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dt-modal-confirm:hover {
  background: #333;
}

/* ============================================================
   GUEST CAPACITY HELPER
   ============================================================ */
.est-guest-caps {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #888;
  margin: 8px 0 0 0;
  line-height: 1.5;
}

.est-guest-caps span.cap-warning {
  color: #D4A017;
  font-weight: 600;
}

/* ============================================================
   FULL DAY TOGGLE
   ============================================================ */
#fullDayMultiDayNote {
  display: none;
  margin-top: 12px;
}

.est-fullday-toggle {
  margin-bottom: 24px;
}

.est-fullday-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 2px solid #d0d0d0;
  background: #fff;
  padding: 16px 24px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: left;
}

.est-fullday-btn.is-active {
  border-color: #4099FB;
  border-width: 3px;
  background: #f0f7ff;
}

.est-fullday-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #000;
  text-transform: uppercase;
}

.est-fullday-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #888;
}

.est-fullday-date-row {
  display: none;
  margin-bottom: 0;
}

.est-fullday-date-row.is-visible {
  display: flex;
  align-items: stretch;
  border: 1px solid #000;
}

.est-fullday-date-field {
  flex: 1;
  padding: 16px 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .est-hero {
    padding: 120px 24px 40px;
  }
  .est-main {
    padding: 0 24px 60px;
  }
  .est-disclosures-box {
    padding: 20px 20px;
  }
  .est-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .est-tile-grid--attr {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .est-hero {
    padding: 100px 20px 32px;
  }
  .est-main {
    padding: 0 20px 48px;
  }
  .est-disclosure-item {
    padding: 12px;
  }
  .est-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .est-tile-grid--attr {
    grid-template-columns: 1fr 1fr;
  }
  .est-datetime-row {
    flex-direction: column;
  }
  .est-datetime-divider {
    width: 100%;
    height: 1px;
  }
  .dt-modal-panel {
    max-width: 100%;
  }
}
