.ve-flex-preferences {
  margin: 14px 0 18px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid #e2ded9;
}
.ve-flex-preferences legend { padding: 0; color: #172b35; font-weight: 600; }
.ve-flex-choice { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; margin: 8px 0 0; padding: 6px 0; cursor: pointer; }
.ve-flex-choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #916348; flex: 0 0 auto; }
.ve-flex-choice span, .ve-flex-choice strong, .ve-flex-choice small { display: block; }
.ve-flex-choice strong { color: #172b35; font-weight: 600; }
.ve-flex-choice small { margin-top: 2px; color: #5c676c; line-height: 1.35; }
.ve-flex-choice input:focus-visible,
.ve-alternatives button:focus-visible,
.ve-alternatives a:focus-visible { outline: 3px solid #916348; outline-offset: 3px; }

.ve-alternatives { clear: both; padding: 40px 0 12px; color: #172b35; font-family: Jost, sans-serif; }
.ve-alternatives-title { margin: 0 0 26px; font-family: Cormorant Garamond, Georgia, serif; font-size: clamp(30px, 4vw, 44px); }
.ve-alternative-group { margin: 0 0 48px; }
.ve-alternative-group > h2 { display: inline; margin: 0 10px 0 0; font-size: 25px; }
.ve-alternative-total { display: inline; color: #687277; }
.ve-alternative-note { margin: 8px 0 0; color: #6f5140; font-weight: 500; }
.ve-alternative-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.ve-alternative-card { overflow: hidden; border: 1px solid #e4dfda; border-radius: 3px; background: #fff; box-shadow: 0 5px 18px rgba(23, 43, 53, .07); }
.ve-alternative-card > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ve-alternative-card__body { padding: 18px; }
.ve-alternative-card h3 { margin: 0 0 5px; font-family: Cormorant Garamond, Georgia, serif; font-size: 24px; line-height: 1.1; overflow-wrap: anywhere; }
.ve-alternative-card p { margin: 4px 0; color: #5c676c; }
.ve-alternative-options { display: grid; gap: 8px; margin-top: 15px; }
.ve-alternative-option { display: block; min-height: 44px; padding: 10px 12px; border: 1px solid #172b35; color: #172b35; line-height: 1.4; text-decoration: none; }
.ve-alternative-option:hover { background: #172b35; color: #fff; }
.ve-alternatives-more, .ve-alternatives-retry { min-height: 44px; margin-top: 20px; padding: 10px 20px; border: 1px solid #172b35; background: #fff; color: #172b35; font: inherit; }
.ve-alternatives-loading, .ve-alternatives-error, .ve-alternatives-incomplete { padding: 16px; background: #f7f3ef; line-height: 1.5; }
.ve-alternatives-error { border-left: 4px solid #916348; }

@media (max-width: 900px) { .ve-alternative-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  #dlg-dates { padding: 8px; }
  #dlg-dates .dlg-panel--cal {
    box-sizing: border-box;
    width: 100%;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-bottom: 76px;
  }
  #dlg-dates .dlg-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 0 -2px;
    padding: 12px 2px max(2px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -8px 14px rgba(255, 255, 255, .94);
  }
  .ve-alternatives { padding-top: 30px; }
  .ve-alternative-grid { grid-template-columns: 1fr; gap: 18px; }
  .ve-alternative-group { margin-bottom: 38px; }
}
