.fvh-checkout,
.fvh-checkout * {
  box-sizing: border-box;
}

.fvh-checkout {
  --fvh-bg: #f5f5f7;
  --fvh-surface: #ffffff;
  --fvh-border: #e5e7eb;
  --fvh-border-strong: #d1d5db;
  --fvh-text: #111827;
  --fvh-muted: #6b7280;
  --fvh-green: #10b981;
  --fvh-green-dark: #059669;
  --fvh-green-soft: #ecfdf5;
  --fvh-soft: #f9fafb;
  --fvh-red: #dc2626;
  --fvh-red-soft: #fef2f2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--fvh-text);
}

.fvh-checkout div,
.fvh-checkout span,
.fvh-checkout p,
.fvh-checkout strong,
.fvh-checkout small,
.fvh-checkout label,
.fvh-checkout input,
.fvh-checkout select,
.fvh-checkout button,
.fvh-checkout section,
.fvh-checkout aside,
.fvh-checkout img {
  font-family: inherit;
}

/* =========================
   Layout
========================= */

.fvh-checkout .fvh-checkout-page-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px;
  background: var(--fvh-bg);
}

.fvh-checkout .fvh-checkout-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-sep {
  opacity: 0.7;
}

.fvh-checkout .fvh-current {
  color: var(--fvh-green-dark);
  font-weight: 600;
}

.fvh-checkout .fvh-checkout-header {
  margin-bottom: 28px;
}

.fvh-checkout .fvh-page-title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-page-subtitle {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.fvh-checkout .fvh-checkout-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fvh-checkout .fvh-checkout-sidebar {
  position: sticky;
  top: 24px;
  height: fit-content;
}

/* =========================
   Cards
========================= */

.fvh-checkout .fvh-card,
.fvh-checkout .fvh-summary-card {
  background: var(--fvh-surface);
  border: 1px solid var(--fvh-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
}

.fvh-checkout .fvh-card {
  overflow: visible;
}

.fvh-checkout .fvh-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.fvh-checkout .fvh-section-title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-secure-pill,
.fvh-checkout .fvh-optional-label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--fvh-muted);
  white-space: nowrap;
}

/* =========================
   Guest summary
========================= */

.fvh-checkout .fvh-guest-summary-box {
  background: var(--fvh-soft);
  border: 1px solid var(--fvh-border);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 20px;
}

.fvh-checkout .fvh-guest-summary-top {
  margin-bottom: 14px;
}

.fvh-checkout .fvh-block-title {
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-block-subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-guest-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fvh-checkout .fvh-guest-summary-grid > div {
  min-width: 0;
}

.fvh-checkout .fvh-guest-summary-grid .fvh-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-guest-summary-grid strong {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--fvh-text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* =========================
   Billing address
========================= */

.fvh-checkout .fvh-checkout__section {
  margin-bottom: 20px;
}

.fvh-checkout .fvh-checkout__section-title {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-checkout__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fvh-checkout .fvh-checkout__field--full {
  grid-column: 1 / -1;
}

.fvh-checkout .fvh-checkout__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #374151;
}

.fvh-checkout .fvh-checkout__input,
.fvh-checkout .fvh-checkout__select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--fvh-border-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
  color: var(--fvh-text);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.fvh-checkout .fvh-checkout__input:focus,
.fvh-checkout .fvh-checkout__select:focus {
  border-color: var(--fvh-green);
}

/* =========================
   Payment fields
========================= */

.fvh-checkout .fvh-payment-fields {
  display: block;
}

.fvh-checkout .fvh-form-grid {
  display: grid;
  gap: 12px;
}

.fvh-checkout .fvh-grid-three {
  grid-template-columns: 1fr 1fr 1fr;
}

.fvh-checkout .fvh-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.fvh-checkout .fvh-form-row label {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: #374151;
}

.fvh-checkout .fvh-form-row input[type="text"],
.fvh-checkout .fvh-form-row input[type="email"],
.fvh-checkout .fvh-form-row input[type="tel"],
.fvh-checkout .fvh-form-row input[type="number"] {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--fvh-border-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  outline: none;
  font-size: 16px;
  line-height: 1;
  color: var(--fvh-text);
  appearance: none;
  -webkit-appearance: none;
}

.fvh-checkout .fvh-form-row input:focus {
  border-color: var(--fvh-green);
}

/* =========================
   Invalid states
========================= */

.fvh-checkout .fvh-checkout__input.is-invalid,
.fvh-checkout .fvh-checkout__select.is-invalid,
.fvh-checkout .fvh-form-row input.is-invalid {
  border-color: var(--fvh-red);
  background: var(--fvh-red-soft);
}

.fvh-checkout .fvh-checkout__input.is-invalid:focus,
.fvh-checkout .fvh-checkout__select.is-invalid:focus,
.fvh-checkout .fvh-form-row input.is-invalid:focus {
  border-color: var(--fvh-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* =========================
   Travel protection
========================= */

.fvh-checkout .fvh-travel-protection {
  display: grid;
  gap: 14px;
}

.fvh-checkout .fvh-protection-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px;
  border: 1px solid var(--fvh-border);
  border-radius: 999px;
  background: #fff;
}

.fvh-checkout .fvh-protection-toggle__btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--fvh-muted);
  min-width: 76px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.08s ease,
    box-shadow 0.2s ease;
}

.fvh-checkout .fvh-protection-toggle__btn:hover {
  color: var(--fvh-text);
}

.fvh-checkout .fvh-protection-toggle__btn:active {
  transform: translateY(1px);
}

.fvh-checkout .fvh-protection-toggle__btn.is-active {
  background: var(--fvh-green);
  color: #fff;
}

.fvh-checkout .fvh-protection-toggle__btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.fvh-checkout .fvh-protection-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.fvh-checkout .fvh-protection-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fvh-checkout .fvh-protection-card {
  border: 1px solid var(--fvh-border);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.12s ease;
}

.fvh-checkout .fvh-protection-option input[type="radio"]:checked + .fvh-protection-card {
  border-color: var(--fvh-green);
  background: var(--fvh-green-soft);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.08);
}

.fvh-checkout .fvh-protection-card--recommended {
  border-color: #b7ead8;
}

.fvh-checkout .fvh-protection-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fvh-checkout .fvh-protection-title {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-protection-price {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-protection-text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  vertical-align: middle;
}

.fvh-checkout .play-travel-protection-link {
  cursor: pointer;
  font-size: 12px;
  color: #0f9ea8;
  text-decoration: underline;
  text-transform: capitalize;
}

/* =========================
   Agreement checkbox
========================= */

.fvh-checkout .fvh-checkout__agreement {
  margin-top: 20px;
}

.fvh-checkout .fvh-checkout__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

.fvh-checkout .fvh-checkout__checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: 0 0 18px;
}

.fvh-checkout .fvh-checkout__checkbox-label span {
  min-width: 0;
}

.fvh-checkout #fvh_accept_terms.is-invalid {
  outline: 2px solid rgba(220, 38, 38, 0.18);
  outline-offset: 2px;
}

/* =========================
   Add-ons
========================= */

.fvh-checkout .fvh-addon-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0 0 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--fvh-border);
  border-radius: 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: visible;
}

.fvh-checkout .fvh-addon-item:hover {
  border-color: var(--fvh-green);
  background: var(--fvh-green-soft);
}

.fvh-checkout .fvh-addon-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  overflow: visible;
}

.fvh-checkout .fvh-addon-left input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex: 0 0 20px;
}

.fvh-checkout .fvh-addon-content {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.fvh-checkout .fvh-addon-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fvh-checkout .fvh-addon-title {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--fvh-text);
  cursor: pointer;
}

.fvh-checkout .fvh-addon-price {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-addon-info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--fvh-border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--fvh-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 22px;
  appearance: none;
  -webkit-appearance: none;
}

.fvh-checkout .fvh-addon-info-toggle:hover,
.fvh-checkout .fvh-addon-info-toggle[aria-expanded="true"] {
  border-color: var(--fvh-green);
  color: var(--fvh-green-dark);
  background: var(--fvh-green-soft);
}

.fvh-checkout .fvh-addon-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  display: block;
  width: min(420px, calc(100vw - 80px));
  padding: 14px 16px;
  border: 1px solid var(--fvh-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  color: var(--fvh-text);
  font-size: 14px;
  line-height: 1.6;
  white-space: normal;
}

.fvh-checkout .fvh-addon-tooltip[hidden] {
  display: none !important;
}

/* =========================
   Summary
========================= */

.fvh-checkout .fvh-summary-image img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  border-radius: 18px;
}

.fvh-checkout .fvh-property-title {
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-property-resort {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.fvh-checkout .fvh-property-meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: #f3f4f6;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.3;
  color: #374151;
}

.fvh-checkout .fvh-stay-box {
  display: block;
  margin-bottom: 18px;
  padding: 14px;
  background: var(--fvh-soft);
  border-radius: 14px;
}

.fvh-checkout .fvh-stay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.fvh-checkout .fvh-edit-link {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--fvh-green);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.fvh-checkout .fvh-edit-link:hover {
  background: rgba(16, 185, 129, 0.08);
  color: var(--fvh-green-dark);
}

.fvh-checkout .fvh-edit-link:active {
  transform: translateY(1px);
}

.fvh-checkout .fvh-edit-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.fvh-checkout .fvh-eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-stay-box strong {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-night-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--fvh-border);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--fvh-text);
}

/* =========================
   Price details
========================= */

.fvh-checkout .fvh-price-title {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

#fvh-row-subtotal {
  font-size: 13px;
  color: var(--fvh-green-dark);
  text-decoration: underline;
  cursor: pointer;
}

.fvh-checkout .fvh-row span {
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}

.fvh-checkout .fvh-row strong {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-row.fvh-discount span,
.fvh-checkout .fvh-row.fvh-discount strong {
  color: var(--fvh-green-dark);
}

.fvh-checkout .fvh-total-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--fvh-border);
}

.fvh-checkout .fvh-total-label {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-total-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-total-updating {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--fvh-green-dark);
  animation: fvhUpdatingBlink 1s ease-in-out infinite;
}

.fvh-checkout .fvh-total-price {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--fvh-green-dark);
  white-space: nowrap;
}

.fvh-pricing-update-message {
  display: none;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.fvh-pricing-update-message.is-price-up {
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #92400e;
}

.fvh-pricing-update-message.is-price-down {
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
}

.fvh-pricing-update-savings,
.fvh-pricing-update-delta {
  margin-top: 6px;
  font-weight: 600;
}

.fvh-checkout .fvh-summary-trust {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--fvh-green-dark);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

/* =========================
   Buttons
========================= */

.fvh-checkout .fvh-confirm-btn,
.fvh-checkout .fvh-recovery-btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 16px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--primery-beg);
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
}

.fvh-checkout .fvh-confirm-btn:hover,
.fvh-checkout .fvh-recovery-btn:hover {
  background: var(--primery-hover);
}

/* =========================
   Errors / empty states
========================= */

.fvh-checkout .fvh-field-error,
.fvh-checkout .fvh-checkout__field-error {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #b91c1c;
}

.fvh-checkout .fvh-option-empty {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fvh-muted);
}

/* =========================
   Loading / animations
========================= */

.fvh-checkout .fvh-summary-card {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fvh-checkout.fvh-is-loading .fvh-summary-card {
  opacity: 0.72;
}

.fvh-checkout .fvh-total-price span,
.fvh-checkout [data-role="subtotal"],
.fvh-checkout [data-role="discount"],
.fvh-checkout [data-role="taxes"],
.fvh-checkout [data-role="required-fees"] .fvh-row strong {
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.fvh-checkout .fvh-price-is-updating {
  animation: fvhPricePulse 0.9s ease-in-out infinite;
}

.fvh-checkout .fvh-price-changed {
  animation: fvhPricePop 0.45s ease;
}

.fvh-checkout .fvh-row-changed {
  animation: fvhRowFlash 0.65s ease;
}

@keyframes fvhUpdatingBlink {
  0% { opacity: 1; }
  50% { opacity: 0.25; }
  100% { opacity: 1; }
}

@keyframes fvhPricePulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.015);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fvhPricePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes fvhRowFlash {
  0% { background: transparent; }
  35% { background: rgba(16, 185, 129, 0.14); }
  100% { background: transparent; }
}

.fvh-checkout .fvh-confirm-btn {
  position: relative;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.08s ease,
    box-shadow 0.2s ease;
}

.fvh-checkout .fvh-confirm-btn:active {
  transform: translateY(1px);
}

.fvh-checkout .fvh-confirm-btn:disabled {
  cursor: not-allowed;
  opacity: 0.92;
}

.fvh-checkout .fvh-confirm-btn.is-loading {
  background: var(--fvh-green-dark);
  color: rgba(255, 255, 255, 0.96);
}

.fvh-checkout .fvh-confirm-btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  vertical-align: -3px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: fvhCheckoutSpin 0.8s linear infinite;
}

@keyframes fvhCheckoutSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   Tax tooltip
========================= */

.fvh-checkout .fvh-row-taxes {
  position: relative;
}

.fvh-checkout .fvh-taxes-label-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fvh-checkout .fvh-tax-info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--fvh-border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--fvh-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 22px;
  appearance: none;
  -webkit-appearance: none;
}

.fvh-checkout .fvh-tax-info-toggle:hover,
.fvh-checkout .fvh-tax-info-toggle[aria-expanded="true"] {
  border-color: var(--fvh-green);
  color: var(--fvh-green-dark);
  background: var(--fvh-green-soft);
}

.fvh-checkout .fvh-tax-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  width: min(420px, calc(100vw - 80px));
  padding: 14px 16px;
  border: 1px solid var(--fvh-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.fvh-checkout .fvh-tax-tooltip[hidden] {
  display: none !important;
}

.fvh-checkout .fvh-tax-tooltip-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fvh-checkout .fvh-tax-tooltip-row + .fvh-tax-tooltip-row {
  margin-top: 10px;
}

.fvh-checkout .fvh-tax-tooltip-label {
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-tax-tooltip-amount {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--fvh-text);
}

/* =========================
   Expected charges
========================= */

.fvh-checkout [data-role="expected-charges-section"] {
  display: none;
}

.fvh-checkout .fvh-expected-charges {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--fvh-border);
}

.fvh-checkout .fvh-expected-charges-title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--fvh-text);
}

.fvh-checkout .fvh-expected-charge-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.fvh-checkout .fvh-expected-charge-row:last-child {
  margin-bottom: 0;
}

.fvh-checkout .fvh-expected-charge-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fvh-checkout .fvh-expected-charge-title {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: #374151;
}

.fvh-checkout .fvh-expected-charge-date {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fvh-muted);
}

.fvh-checkout .fvh-expected-charge-value {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--fvh-text);
}

/* =========================
   Discount tooltip
========================= */

.fvh-checkout .fvh-row-discount {
  position: relative;
}

.fvh-checkout .fvh-discount-label-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fvh-checkout .fvh-discount-info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--fvh-border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--fvh-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 22px;
  appearance: none;
  -webkit-appearance: none;
}

.fvh-checkout .fvh-discount-info-toggle:hover,
.fvh-checkout .fvh-discount-info-toggle[aria-expanded="true"] {
  border-color: var(--fvh-green);
  color: var(--fvh-green-dark);
  background: var(--fvh-green-soft);
}

.fvh-checkout .fvh-discount-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  width: min(420px, calc(100vw - 80px));
  padding: 14px 16px;
  border: 1px solid var(--fvh-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  color: var(--fvh-text);
  font-size: 14px;
  line-height: 1.6;
  white-space: normal;
}

.fvh-checkout .fvh-discount-tooltip[hidden] {
  display: none !important;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1024px) {
  .fvh-checkout .fvh-checkout-layout {
    grid-template-columns: 1fr;
  }

  .fvh-checkout .fvh-checkout-sidebar {
    position: static;
  }

  .fvh-checkout .fvh-guest-summary-grid,
  .fvh-checkout .fvh-grid-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .fvh-checkout .fvh-guest-summary-grid {
    grid-template-columns: 1fr;
  }

  .fvh-checkout .fvh-addon-tooltip {
    width: min(320px, calc(100vw - 64px));
  }
}

@media (max-width: 767px) {
  .fvh-checkout .fvh-checkout__field-grid {
    grid-template-columns: 1fr;
  }

  .fvh-checkout .fvh-checkout__field--full {
    grid-column: auto;
  }

  .fvh-checkout .fvh-protection-toggle {
    display: flex;
    width: 100%;
  }

  .fvh-checkout .fvh-protection-toggle__btn {
    flex: 1 1 50%;
    min-width: 0;
    padding: 12px 14px;
  }

  .fvh-checkout .fvh-protection-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .fvh-checkout .fvh-protection-price {
    white-space: normal;
  }

  .fvh-checkout .fvh-badge {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* =========================
   FVH FLATPICKR CAL
========================= */

.fvh-flatpickr-cal__panel {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  padding: 16px 16px 56px;
  min-width: 320px;
}

.fvh-flatpickr-cal__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.fvh-flatpickr-cal__close {
  display: block;
  margin: 16px auto 0;
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: #101a2c;
  color: #fff;
  padding: 7px 16px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ========================================
   FLATPICKR RESET
======================================== */

.fvh-flatpickr-cal__calendar .flatpickr-calendar {
  box-shadow: none;
  border: 0;
  width: auto;
  max-width: none;
}

.fvh-flatpickr-cal__calendar .flatpickr-calendar.inline {
  display: block;
}

/* ========================================
   DAY BASE
======================================== */

.fvh-flatpickr-cal__calendar .flatpickr-day.fvh-flatpickr-cal__day {
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* ========================================
   BACKGROUND LAYER
======================================== */

.fvh-flatpickr-cal__calendar .flatpickr-day.fvh-flatpickr-cal__day::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

/* ========================================
   DISABLED
======================================== */

.fvh-flatpickr-cal__calendar
  .flatpickr-day.fvh-flatpickr-cal__day--disabled-full::before {
  background: rgba(0, 0, 0, 0.07);
}

/* ========================================
   CHECKOUT (am)
======================================== */

.fvh-flatpickr-cal__calendar
  .flatpickr-day.fvh-flatpickr-cal__day--boundary-am::before {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.07) 50%,
    transparent 50%
  );
}

/* ========================================
   CHECKIN (pm)
======================================== */

.fvh-flatpickr-cal__calendar
  .flatpickr-day.fvh-flatpickr-cal__day--boundary-pm::before {
  background: linear-gradient(
    315deg,
    rgba(0, 0, 0, 0.07) 50%,
    transparent 50%
  );
}

/* ========================================
   PRICE TOOLTIP
======================================== */

.fvh-flatpickr-cal__calendar
  .flatpickr-day.fvh-flatpickr-cal__day--has-price::after {
  content: attr(data-price);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  background: #4f4f4f;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 2px 0 #000;
}

.fvh-flatpickr-cal__calendar
  .flatpickr-day.fvh-flatpickr-cal__day--has-price:hover::after {
  opacity: 1;
  visibility: visible;
}

.fvh-flatpickr-cal__calendar
  .flatpickr-day.fvh-flatpickr-cal__day--has-price[data-price] {
  --tooltip-bg: #4f4f4f;
}

.fvh-flatpickr-cal__calendar
  .flatpickr-day.fvh-flatpickr-cal__day--has-price[data-price]:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #4f4f4f;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  z-index: 19;
}

/* ========================================
   FLATPICKR MOBILE
======================================== */

@media (max-width: 767px) {
  .fvh-flatpickr-cal__panel {
    min-width: auto;
    width: calc(100vw - 24px);
  }
}

/* =========================
   Exit intent modal
   Namespaced under .fvh-checkout to avoid global theme conflicts
========================= */

.fvh-checkout .fvh-exit-intent-modal[hidden] {
  display: none !important;
}

.fvh-checkout .fvh-exit-intent-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.fvh-checkout .fvh-exit-intent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.fvh-checkout .fvh-exit-intent-modal__dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  padding: 28px 24px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  z-index: 1;
}

.fvh-checkout .fvh-exit-intent-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.fvh-checkout .fvh-exit-intent-modal__close:hover {
  background: #e2e8f0;
}

.fvh-checkout .fvh-exit-intent-modal__eyebrow {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fvh-checkout .fvh-exit-intent-modal__title {
  margin: 0 0 10px;
  color: #111827;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}

.fvh-checkout .fvh-exit-intent-modal__text {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

.fvh-checkout .fvh-exit-intent-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.fvh-checkout .fvh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.fvh-checkout .fvh-btn-secondary {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1f2937;
}

.fvh-checkout .fvh-btn-secondary:hover {
  background: #f8fafc;
}

.fvh-checkout .fvh-btn-primary {
  border: 1px solid transparent;
  background: var(--primery-beg);
  color: #fff;
}

.fvh-checkout .fvh-btn-primary:hover {
  background: var(--primery-hover);
  color: #fff;
}

body.fvh-exit-intent-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .fvh-checkout .fvh-exit-intent-modal__dialog {
    width: min(94vw, 520px);
    margin-top: 8vh;
    padding: 24px 18px 18px;
    border-radius: 18px;
  }

  .fvh-checkout .fvh-exit-intent-modal__title {
    font-size: 24px;
  }

  .fvh-checkout .fvh-exit-intent-modal__text {
    font-size: 15px;
  }

  .fvh-checkout .fvh-exit-intent-modal__actions {
    flex-direction: column;
  }

  .fvh-checkout .fvh-btn {
    width: 100%;
  }
}

