.irv2-payment,
.irv2-result {
  max-width: 720px;
  margin: 24px auto;
  padding: 24px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #fff;
}

/* Gravity Forms dentro del modal de reserva */
#icaur-order-form .gform_wrapper {
  color: #231815;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#icaur-order-form .gform_wrapper .gform_fields {
  row-gap: 22px;
}

#icaur-order-form .gform_wrapper .gfield_label,
#icaur-order-form .gform_wrapper .gform-field-label {
  margin-bottom: 8px;
  color: #231815;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

#icaur-order-form .gform_wrapper .gfield_required {
  color: #b34828;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

#icaur-order-form .gform_wrapper input[type="text"],
#icaur-order-form .gform_wrapper input[type="email"],
#icaur-order-form .gform_wrapper input[type="tel"],
#icaur-order-form .gform_wrapper input[type="number"],
#icaur-order-form .gform_wrapper input[type="url"],
#icaur-order-form .gform_wrapper select,
#icaur-order-form .gform_wrapper textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  color: #231815;
  background: #fbfaf9;
  border: 1px solid #d5cec8;
  border-radius: 8px;
  box-shadow: none;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

#icaur-order-form .gform_wrapper textarea {
  min-height: 112px;
  resize: vertical;
}

#icaur-order-form .gform_wrapper input::placeholder,
#icaur-order-form .gform_wrapper textarea::placeholder {
  color: #8a827e;
  opacity: 1;
}

#icaur-order-form .gform_wrapper input:focus,
#icaur-order-form .gform_wrapper select:focus,
#icaur-order-form .gform_wrapper textarea:focus {
  background: #fff;
  border-color: #5c3629;
  box-shadow: 0 0 0 3px rgba(92, 54, 41, 0.12);
}

#icaur-order-form .gform_wrapper .gfield_description {
  color: #756d68;
  font-size: 12px;
  line-height: 1.55;
}

#icaur-order-form .gform_wrapper .gfield_checkbox,
#icaur-order-form .gform_wrapper .gfield_radio {
  display: grid;
  gap: 10px;
}

#icaur-order-form .gform_wrapper .gchoice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#icaur-order-form .gform_wrapper .gchoice input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: #5c3629;
}

#icaur-order-form .gform_wrapper .gchoice label {
  color: #49413d;
  font-size: 13px;
  line-height: 1.55;
}

#icaur-order-form .gform_wrapper .gchoice a {
  color: #5c3629;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#icaur-order-form .gform_wrapper .gform_footer,
#icaur-order-form .gform_wrapper .gform_page_footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 28px;
  padding-top: 24px;
  gap: 12px;
  border-top: 1px solid rgba(35, 24, 21, 0.12);
}

#icaur-order-form .gform_wrapper .gform_button,
#icaur-order-form .gform_wrapper .gform_next_button,
#icaur-order-form .gform_wrapper button[type="submit"],
#icaur-order-form .gform_wrapper input[type="submit"] {
  min-height: 48px;
  margin: 0;
  padding: 13px 24px;
  color: #fff;
  background: #5c3629;
  border: 1px solid #5c3629;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(92, 54, 41, 0.2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#icaur-order-form .gform_wrapper .gform_button:hover,
#icaur-order-form .gform_wrapper .gform_button:focus,
#icaur-order-form .gform_wrapper .gform_next_button:hover,
#icaur-order-form .gform_wrapper .gform_next_button:focus,
#icaur-order-form .gform_wrapper button[type="submit"]:hover,
#icaur-order-form .gform_wrapper button[type="submit"]:focus,
#icaur-order-form .gform_wrapper input[type="submit"]:hover,
#icaur-order-form .gform_wrapper input[type="submit"]:focus {
  color: #fff;
  background: #3f251c;
  border-color: #3f251c;
  box-shadow: 0 10px 24px rgba(63, 37, 28, 0.25);
  transform: translateY(-1px);
}

#icaur-order-form .gform_wrapper .gform_previous_button {
  min-height: 48px;
  margin: 0;
  padding: 13px 22px;
  color: #5c3629;
  background: transparent;
  border: 1px solid rgba(92, 54, 41, 0.42);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  cursor: pointer;
}

#icaur-order-form .gform_wrapper .gform_previous_button:hover,
#icaur-order-form .gform_wrapper .gform_previous_button:focus {
  color: #fff;
  background: #5c3629;
  border-color: #5c3629;
}

#icaur-order-form .gform_wrapper .gfield_error input,
#icaur-order-form .gform_wrapper .gfield_error select,
#icaur-order-form .gform_wrapper .gfield_error textarea {
  border-color: #b20812;
}

#icaur-order-form .gform_wrapper .gfield_validation_message,
#icaur-order-form .gform_wrapper .validation_message {
  padding: 8px 0 0;
  color: #9f111b;
  background: transparent;
  border: 0;
  font-size: 12px;
}

.payment-checkout-modal {
  z-index: 100000 !important;
}
.irv2-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.irv2-payment-selector {
  margin: 18px 0;
  min-width: 0;
  padding: 0;
  color: #1d1d1f;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
}
.irv2-payment-selector legend {
  width: auto;
  margin-left: 12px;
  padding: 0 6px;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 700;
}
.gform_wrapper .irv2-payment-selector > label {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  margin: 8px 14px !important;
  padding: 10px 12px !important;
  gap: 10px;
  color: #1d1d1f !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  background: #fafafa !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  cursor: pointer;
}
.gform_wrapper .irv2-payment-selector input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #5c3629 !important;
  border-radius: 50% !important;
}
.irv2-bank-selector {
  margin: 14px;
}
.gform_wrapper .irv2-bank-selector > label {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #1d1d1f !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.gform_wrapper .irv2-bank-selector select {
  display: block;
  width: 100% !important;
  min-height: 42px;
  margin-top: 6px !important;
  color: #1d1d1f !important;
  line-height: 1.4 !important;
}
.irv2-payment-selector > .description,
.irv2-payment-selector__status {
  margin: 10px 14px !important;
  font-size: 13px;
  line-height: 1.5;
}
.irv2-payment-selector__status { min-height: 20px; font-weight: 600; }
.irv2-payment button,
.irv2-promo-button {
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: #5c3629;
  color: #fff;
  cursor: pointer;
}
.irv2-payment button:disabled,
.irv2-promo-button:disabled { opacity: .55; cursor: wait; }
.irv2-payment button[data-open-card] {
  background: #5c3629;
}
.irv2-payment button[data-open-card]:hover,
.irv2-payment button[data-open-card]:focus {
  background: #3f251c;
}
.irv2-pse,
.irv2-card { padding: 16px; background: #f7f7f7; border-radius: 8px; }
.irv2-pse select { display: block; width: 100%; max-width: 480px; margin: 8px 0 16px; }
.irv2-feedback { margin-top: 14px; font-weight: 600; }
.irv2-feedback--error,
.irv2-result--error { color: #9f111b; }
.irv2-result--success { border-left: 6px solid #16833e; }
.irv2-result--pending { border-left: 6px solid #c88800; }
.irv2-result--warning { border-left: 6px solid #d66c00; }
.irv2-result--error { border-left: 6px solid #b20812; }
.irv2-result__status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.irv2-result__status-header h2 { margin: 0; }
.irv2-pending-countdown {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  color: #7a4b00;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  background: #fff0b8;
  border: 1px solid #efc451;
  border-radius: 999px;
}
.irv2-pending-countdown::before {
  width: 8px;
  height: 8px;
  content: "";
  background: #e0a000;
  border-radius: 50%;
}
.irv2-pending-countdown time {
  min-width: 38px;
  font-variant-numeric: tabular-nums;
}
.irv2-pending-timeout[hidden],
.irv2-pending-countdown[hidden],
.irv2-result [data-irv2-auto-message][hidden],
.irv2-result [data-irv2-pending-follow-up][hidden] {
  display: none !important;
}
.irv2-pending-timeout { margin: 16px 0; }
.irv2-pending-timeout p { margin-top: 0; }
.irv2-pending-timeout__contact {
  display: inline-block;
  padding: 10px 16px;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  background: #16833e;
  border-radius: 6px;
}
.irv2-pending-timeout__contact:hover,
.irv2-pending-timeout__contact:focus {
  color: #fff !important;
  background: #106b31;
}
.irv2-result dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.irv2-result dt { font-weight: 700; }
.irv2-result dd { margin: 0; }
.irv2-result-content {
  color: #1d1d1f;
  font-family: Arial, Helvetica, sans-serif;
}
.irv2-result-content__intro {
  padding: 32px 28px 4px;
}
.irv2-result-content__intro h1 {
  margin: 0 0 20px;
  color: #000;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.25;
}
.irv2-result-content__intro p,
.irv2-result-content__section p,
.irv2-result-content__section li {
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}
.irv2-result-content__lead { margin-bottom: 24px; }
.irv2-result-content__section {
  padding: 4px 28px 32px;
}
.irv2-result-content__section h2 {
  margin: 32px 0 12px;
  color: #000;
  font-size: 19px;
}
.irv2-result-content__section ul,
.irv2-result-content__section ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.irv2-result-content__important {
  margin: 20px 0;
  padding: 16px;
  color: #000 !important;
  background: #f5f5f5;
  border-radius: 8px;
}
.irv2-result-content__signature {
  color: #000 !important;
  font-weight: 700;
}
.irv2-result-content__home {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 20px;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  background: #5c3629;
  border-radius: 6px;
}
.irv2-result-content__home:hover,
.irv2-result-content__home:focus {
  color: #fff !important;
  background: #231815;
}
.irv2-result-content__footer {
  padding: 20px 28px;
  color: #888;
  font-size: 12px;
}
.irv2-promo-button { margin-left: 8px; }
.irv2-promo-status { display: block; margin-top: 6px; }
.irv2-promo-status.is-valid { color: #16833e; }
.irv2-promo-status.is-invalid { color: #b20812; }
.irv2-notice { padding: 16px; border-radius: 8px; }
.irv2-notice--warning { background: #fff4d6; }
.irv2-notice--error { background: #fde7e8; color: #861018; }
@media (max-width: 600px) {
  #icaur-order-form .gform_wrapper .gform_footer,
  #icaur-order-form .gform_wrapper .gform_page_footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  #icaur-order-form .gform_wrapper .gform_button,
  #icaur-order-form .gform_wrapper .gform_next_button,
  #icaur-order-form .gform_wrapper .gform_previous_button,
  #icaur-order-form .gform_wrapper button[type="submit"],
  #icaur-order-form .gform_wrapper input[type="submit"] {
    width: 100%;
  }
  .irv2-result__status-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .irv2-result dl { grid-template-columns: 1fr; gap: 3px; }
  .irv2-result dd { margin-bottom: 10px; }
  .irv2-result-content__intro,
  .irv2-result-content__section,
  .irv2-result-content__footer { padding-left: 18px; padding-right: 18px; }
}
