.quote-section-summary {
  display: none;
}

.hotel-option-rows {
  display: contents;
}

@media print {
  .quote-rendered .brief-list {
    display: none !important;
  }

  .quote-section-summary {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 15px 24px 10px;
    padding: 12px;
    border: 1px solid #dfe7ee;
    border-radius: 10px;
    background: #fff;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .quote-section-summary-item {
    display: grid;
    min-height: 64px;
    place-items: center;
    gap: 5px;
    border: 1px solid #e7edf3;
    border-radius: 8px;
    padding: 8px 5px;
    color: #25384c;
    text-align: center;
  }

  .quote-section-summary-item > span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
  }

  .quote-section-summary-item svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .quote-section-summary-item strong {
    font-size: 9px;
    font-weight: 800;
  }

  .quote-section-summary-item.is-itinerary > span { color: #7c3aed; background: #f1eafe; }
  .quote-section-summary-item.is-flights > span { color: #2563eb; background: #e8f0ff; }
  .quote-section-summary-item.is-hotels > span { color: #b7791f; background: #fff4d8; }
  .quote-section-summary-item.is-transfers > span { color: #087f5b; background: #dcf8ec; }
  .quote-section-summary-item.is-activities > span { color: #db2777; background: #fde8f2; }
  .quote-section-summary-item.is-inclusions > span { color: #059669; background: #ddf9ed; }

  .quote-highlights-section .section-heading {
    position: relative;
    border-bottom-color: #dbe4eb;
    border-bottom-color: color-mix(in srgb, var(--quote-primary) 25%, #dbe4eb);
    color: var(--quote-primary) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px !important;
    font-weight: 800;
    letter-spacing: .025em;
  }

  .quote-highlights-section .section-heading::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 72px;
    height: 2px;
    background: var(--quote-accent);
  }

  .quote-section .global-day-note,
  .quote-section .pdf-day-note {
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #26384a !important;
    font-weight: 700 !important;
  }

  .quote-section .global-day-note {
    margin: 0 0 9px !important;
  }

  .quote-section .pdf-day-note p {
    display: inline;
    margin: 0 !important;
    color: inherit !important;
    font-weight: 700 !important;
  }

  .quote-rendered .day-card {
    grid-template-columns: 58px minmax(0, 1fr) 118px !important;
    gap: 9px 12px !important;
    padding: 11px 0 !important;
    border-bottom: 1px solid #dfe6ed !important;
  }

  .quote-rendered .day-pill {
    min-width: 50px !important;
    border: 1px solid #dce5ec !important;
    border: 1px solid color-mix(in srgb, var(--quote-primary) 12%, #dce5ec) !important;
    border-radius: 999px !important;
    padding: 5px 8px !important;
    background: #eef4f7 !important;
    background: color-mix(in srgb, var(--quote-primary) 8%, #fff) !important;
    color: var(--quote-primary) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
  }

  .quote-rendered .day-title {
    color: #172b43 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }

  .quote-rendered .day-date {
    color: #617184 !important;
    font-size: 9px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    text-align: right !important;
    white-space: normal !important;
  }

  .quote-rendered .day-content {
    grid-column: 2 / -1 !important;
    grid-template-columns: 124px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .quote-rendered .day-card.no-day-images .day-content {
    grid-template-columns: 1fr !important;
  }

  .quote-rendered .day-image-stack img {
    width: 124px !important;
    height: 80px !important;
    border-radius: 5px !important;
  }

  .quote-rendered .day-plan p,
  .quote-rendered .day-plan li {
    font-size: 10px !important;
    line-height: 1.42 !important;
  }

  .quote-rendered .meal-box {
    padding: 5px 8px !important;
    font-size: 9px !important;
  }

  .quote-rendered .hotel-option-block {
    display: block !important;
    margin-bottom: 14px !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .quote-rendered .hotel-option-heading {
    margin-bottom: 8px;
    border: 0 !important;
    border-left: 4px solid var(--quote-accent) !important;
    border-radius: 4px;
    padding: 7px 10px !important;
    background: #f3f7fa !important;
    background: color-mix(in srgb, var(--quote-primary) 7%, #fff) !important;
    color: var(--quote-primary) !important;
    font-size: 12px;
  }

  .quote-rendered .hotel-option-heading span {
    display: none !important;
  }

  .quote-rendered .hotel-option-rows {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .quote-rendered .hotel-option-rows .stay-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce5ed !important;
    border-radius: 7px;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .quote-rendered .hotel-option-rows .stay-banner {
    display: none !important;
  }

  .quote-rendered .hotel-row-display {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 9px !important;
  }

  .quote-rendered .hotel-row-display-image img {
    width: 88px !important;
    height: 68px !important;
    border-radius: 5px !important;
  }

  .quote-rendered .stay-stars {
    margin-bottom: 2px;
    font-size: 8px;
  }

  .quote-rendered .stay-copy h4 {
    margin-bottom: 4px !important;
    color: #182b42 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .quote-rendered .stay-detail-row {
    font-size: 8.5px !important;
    line-height: 1.35 !important;
  }

  .quote-rendered .hotel-extra-images {
    display: none !important;
  }
}
