/* IHMS theme for the native membership + guest-portal pages (ihms/lib/IHMS/*).
   Bootstrap (scoped under .ihp) supplies the grid and components; everything
   visible is re-skinned here with the IHMS tokens from the site's own CSS
   (walnut / cream / gold, Author body, Cormorant headings, the reservation
   page's form fields and the pill buttons). */

.ihp{
  --ihp-walnut:var(--color-walnut,#5a3417);
  --ihp-walnut-dark:#3a2410;
  --ihp-ink:#0f0a06;
  --ihp-cream:#f0e8d5;
  --ihp-page:#efe8d5;
  --ihp-panel:var(--color-reservation-panel,#fffdf8);
  --ihp-border:var(--color-reservation-border,#d8cdbc);
  --ihp-hairline:var(--color-reservation-hairline,#ece5d8);
  --ihp-label:var(--color-reservation-label,#8b7d6b);
  --ihp-muted:var(--color-reservation-muted,#a89a88);
  --ihp-error:var(--color-reservation-error,#a3271f);
  --ihp-gold:#e2b03b;
  --ihp-copy:#2b1d10;

  --bs-body-font-family:author,"author Fallback",ui-sans-serif,system-ui,sans-serif;
  --bs-body-font-size:15px;
  --bs-body-line-height:1.65;
  --bs-body-color:var(--ihp-copy);
  --bs-body-bg:transparent;
  --bs-emphasis-color:var(--ihp-ink);
  --bs-secondary-color:var(--ihp-label);
  --bs-tertiary-bg:#f6f0e4;
  --bs-border-color:var(--ihp-border);
  --bs-border-radius:6px;
  --bs-border-radius-sm:4px;
  --bs-border-radius-lg:10px;
  --bs-primary:var(--ihp-walnut);
  --bs-primary-rgb:90,52,23;
  --bs-secondary-rgb:139,125,107;
  --bs-success-rgb:61,107,52;
  --bs-info-rgb:90,52,23;
  --bs-warning-rgb:226,176,59;
  --bs-danger-rgb:163,39,31;
  --bs-light-rgb:246,240,228;
  --bs-dark-rgb:15,10,6;
  --bs-link-color:var(--ihp-walnut);
  --bs-link-color-rgb:90,52,23;
  --bs-link-hover-color:var(--ihp-walnut-dark);
  --bs-link-hover-color-rgb:58,36,16;
  --bs-heading-color:var(--ihp-walnut);
  --bs-focus-ring-color:rgba(226,176,59,.4);
  font-family:var(--bs-body-font-family);
  font-size:15px;
  color:var(--ihp-copy);
  background:transparent;
  line-height:1.65;
}

/* Page body: the cream document area under the dark masthead */
.ihp-page{background:var(--ihp-page);padding:56px 0 96px;min-height:50vh}
.ihp .container{max-width:calc(1080px + 2 * var(--space-gutter-desktop,24px));padding-left:var(--space-gutter-desktop,24px);padding-right:var(--space-gutter-desktop,24px)}
/* the masthead title lines up with the (wider) content column */
.ihp-mast .Legal-module__6WM23W__title{max-width:calc(1080px + 2 * var(--space-gutter-desktop,24px))}
.ihp .text-muted,.ihp .text-secondary{color:var(--ihp-label)!important}
.ihp .small,.ihp small{font-size:.86em}

/* Headings: Cormorant like the site's section headings */
.ihp h1,.ihp h2,.ihp h3,.ihp h4,.ihp .h1,.ihp .h2,.ihp .h3,.ihp .h4,.ihp .display-6{
  font-family:cormorant,"cormorant Fallback","Times New Roman",serif;font-weight:500;color:var(--ihp-walnut);letter-spacing:.01em;line-height:1.15}
.ihp h4,.ihp .h4{font-size:1.85rem}
.ihp h5,.ihp .h5,.ihp h6,.ihp .h6{font-family:author,"author Fallback",sans-serif;font-weight:600;color:var(--ihp-walnut);font-size:1.02rem}
.ihp .fw-bold,.ihp b,.ihp strong{font-weight:600}

/* Cards = the reservation page's warm white panels */
.ihp .card{--bs-card-bg:var(--ihp-panel);--bs-card-border-color:var(--ihp-hairline);--bs-card-border-radius:10px;--bs-card-cap-bg:transparent;
  --bs-card-spacer-y:1.5rem;--bs-card-spacer-x:1.5rem;box-shadow:0 10px 32px rgba(90,52,23,.08)!important}
.ihp .card-header{border-bottom-color:var(--ihp-hairline);padding-top:1rem;padding-bottom:1rem}
.ihp .card-header.bg-light,.ihp .bg-light{background:#f6f0e4!important}
.ihp .shadow-sm{box-shadow:0 10px 32px rgba(90,52,23,.08)!important}

/* Buttons: the IHMS pill (walnut fill / walnut outline), Author caps-free */
.ihp .btn{--bs-btn-font-family:author,"author Fallback",sans-serif;--bs-btn-font-weight:500;--bs-btn-border-radius:999px;
  --bs-btn-padding-x:1.5rem;--bs-btn-padding-y:.62rem;--bs-btn-font-size:15px;letter-spacing:.02em}
.ihp .btn-sm{--bs-btn-padding-x:1rem;--bs-btn-padding-y:.36rem;--bs-btn-font-size:13.5px}
.ihp .btn-lg{--bs-btn-padding-y:.85rem;--bs-btn-font-size:16px}
.ihp .btn-primary,.ihp .btn-success,.ihp .btn-danger,.ihp .btn-dark{--bs-btn-color:var(--ihp-cream);--bs-btn-bg:var(--ihp-walnut);--bs-btn-border-color:var(--ihp-walnut);
  --bs-btn-hover-color:#fff;--bs-btn-hover-bg:var(--ihp-walnut-dark);--bs-btn-hover-border-color:var(--ihp-walnut-dark);
  --bs-btn-active-color:#fff;--bs-btn-active-bg:var(--ihp-walnut-dark);--bs-btn-active-border-color:var(--ihp-walnut-dark);
  --bs-btn-disabled-color:var(--ihp-cream);--bs-btn-disabled-bg:var(--ihp-walnut);--bs-btn-disabled-border-color:var(--ihp-walnut);
  box-shadow:0 0 0 1px var(--ihp-panel),0 0 0 2px var(--ihp-walnut)}
.ihp .btn-primary:hover{box-shadow:0 0 0 1px var(--ihp-panel),0 0 0 2px var(--ihp-walnut-dark)}
.ihp .btn-outline-primary,.ihp .btn-outline-secondary,.ihp .btn-outline-success,.ihp .btn-outline-danger,.ihp .btn-outline-dark,.ihp .btn-light{
  --bs-btn-color:var(--ihp-walnut);--bs-btn-bg:transparent;--bs-btn-border-color:var(--ihp-walnut);
  --bs-btn-hover-color:var(--ihp-cream);--bs-btn-hover-bg:var(--ihp-walnut);--bs-btn-hover-border-color:var(--ihp-walnut);
  --bs-btn-active-color:var(--ihp-cream);--bs-btn-active-bg:var(--ihp-walnut-dark);--bs-btn-active-border-color:var(--ihp-walnut-dark);
  --bs-btn-disabled-color:var(--ihp-muted);--bs-btn-disabled-border-color:var(--ihp-border)}
.ihp .btn-link{--bs-btn-color:var(--ihp-walnut);--bs-btn-hover-color:var(--ihp-walnut-dark);border-radius:0}
.ihp .btn:focus-visible{box-shadow:0 0 0 3px rgba(226,176,59,.5)}

/* Form fields: exactly the reservation page's fields */
.ihp .form-label,.ihp label.form-label{color:var(--ihp-label);font-size:14px;margin-bottom:6px}
.ihp .form-control,.ihp .form-select{color:var(--ihp-walnut);background-color:#fff;border:1px solid var(--ihp-border);border-radius:6px;
  padding:13px 14px;font-size:15px;font-family:author,"author Fallback",sans-serif;box-shadow:none}
.ihp .form-control-sm,.ihp .form-select-sm{padding:7px 10px;font-size:14px}
.ihp .form-control::placeholder{color:var(--ihp-muted)}
.ihp .form-control:focus,.ihp .form-select:focus{border-color:var(--ihp-walnut);box-shadow:0 0 0 3px rgba(226,176,59,.4);background:#fffdf6}
.ihp .form-control.is-invalid{border-color:var(--ihp-error)}
.ihp .form-check-input{border-color:var(--ihp-border)}
.ihp .form-check-input:checked{background-color:var(--ihp-walnut);border-color:var(--ihp-walnut)}
.ihp .form-check-input:focus{box-shadow:0 0 0 3px rgba(226,176,59,.4);border-color:var(--ihp-walnut)}
.ihp .form-text{color:var(--ihp-label)}
.ihp .input-group-text{background:#f6f0e4;border-color:var(--ihp-border);color:var(--ihp-label)}

/* Alerts: warm, no stock blues/greens */
.ihp .alert{border-radius:8px;border:1px solid var(--ihp-border);background:var(--ihp-panel);color:var(--ihp-copy);padding:14px 18px}
.ihp .alert-info,.ihp .alert-secondary,.ihp .alert-light{border-left:3px solid var(--ihp-gold)}
.ihp .alert-success{border-left:3px solid #3d6b34;background:#f4f7ee}
.ihp .alert-warning{border-left:3px solid var(--ihp-gold);background:#fdf6e3}
.ihp .alert-danger{border-left:3px solid var(--ihp-error);background:#fbf0ee;color:#6d1a14}
.ihp .alert a{color:var(--ihp-walnut);font-weight:600}

/* Badges + tables */
.ihp .badge{font-family:author,"author Fallback",sans-serif;font-weight:500;letter-spacing:.03em;border-radius:999px;padding:.35em .75em}
.ihp .bg-success{background-color:#3d6b34!important}
.ihp .bg-secondary{background-color:var(--ihp-label)!important}
.ihp .bg-warning{background-color:var(--ihp-gold)!important;color:var(--ihp-ink)!important}
.ihp .bg-danger{background-color:var(--ihp-error)!important}
.ihp .bg-info,.ihp .bg-primary{background-color:var(--ihp-walnut)!important;color:var(--ihp-cream)!important}
.ihp .text-success{color:#3d6b34!important}
.ihp .text-danger{color:var(--ihp-error)!important}
.ihp .text-primary{color:var(--ihp-walnut)!important}
.ihp .table{--bs-table-bg:transparent;--bs-table-striped-bg:rgba(90,52,23,.035);--bs-table-hover-bg:rgba(90,52,23,.05);--bs-table-border-color:var(--ihp-hairline);--bs-table-color:var(--ihp-copy)}
.ihp .table thead th{color:var(--ihp-label);font-weight:500;font-size:13px;letter-spacing:.06em;text-transform:uppercase;border-bottom-color:var(--ihp-border)}
.ihp .list-group{--bs-list-group-bg:var(--ihp-panel);--bs-list-group-border-color:var(--ihp-hairline);--bs-list-group-action-hover-bg:#f6f0e4;--bs-list-group-active-bg:var(--ihp-walnut);--bs-list-group-active-border-color:var(--ihp-walnut)}
.ihp .nav-tabs{--bs-nav-tabs-border-color:var(--ihp-border);--bs-nav-tabs-link-active-bg:var(--ihp-panel);--bs-nav-tabs-link-active-border-color:var(--ihp-border) var(--ihp-border) var(--ihp-panel)}
.ihp .nav-link{color:var(--ihp-walnut)}
.ihp .progress{--bs-progress-bg:#ece5d8;--bs-progress-bar-bg:var(--ihp-gold);border-radius:999px}
.ihp hr{border-color:var(--ihp-border);opacity:1}
.ihp details summary{color:var(--ihp-walnut);cursor:pointer}
.ihp code{color:var(--ihp-walnut)}

/* footer legal bar on the content column; warm disabled fields; walnut avatar */
.ihp-foot .Legal-module__6WM23W__footerBar{max-width:1080px}
.ihp .form-control:disabled,.ihp .form-control[readonly]{background:#f6f0e4;color:var(--ihp-label)}
.ihp .guest-avatar{background:var(--ihp-walnut)!important;color:var(--ihp-cream)!important;font-family:cormorant,"cormorant Fallback",serif}

/* Section eyebrow, like the site's small caps labels */
.ihp .ihp-eyebrow{font-size:12.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--ihp-label)}
.ihp .ihp-lead{font-size:16.5px;color:#4d3a28;max-width:640px}

/* Membership card faces: walnut + gold metal, IHMS monogram mood */
.ihp .ihp-cardface{position:relative;border-radius:16px;padding:22px 24px;color:#fff;aspect-ratio:1.586;display:flex;flex-direction:column;justify-content:space-between;
  overflow:hidden;box-shadow:0 18px 40px rgba(15,10,6,.28);font-family:author,"author Fallback",sans-serif}
.ihp .ihp-cardface::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 38%,rgba(255,255,255,.08) 62%,rgba(255,255,255,0) 100%);pointer-events:none}
.ihp .ihp-cardface .ihp-cf-hotel{font-size:12px;letter-spacing:.24em;text-transform:uppercase;opacity:.92}
.ihp .ihp-cardface .ihp-cf-name{font-family:cormorant,"cormorant Fallback",serif;font-size:28px;font-weight:600;line-height:1.1}
.ihp .ihp-cardface .ihp-cf-no{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:20px;letter-spacing:.08em;white-space:nowrap}
.ihp .ihp-prog .ihp-cardface .ihp-cf-no{font-size:16px}
.ihp .ihp-cardface .ihp-cf-small{font-size:10px;letter-spacing:.16em;opacity:.8;text-transform:uppercase}

/* Program tiles on the store */
.ihp .ihp-prog{border:1px solid var(--ihp-hairline);border-radius:14px;background:var(--ihp-panel);padding:18px;height:100%;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}
.ihp .ihp-prog.is-chosen{border-color:var(--ihp-walnut);box-shadow:0 0 0 1px var(--ihp-walnut),0 14px 36px rgba(90,52,23,.14)}
.ihp .ihp-price{font-family:cormorant,"cormorant Fallback",serif;font-size:34px;font-weight:600;color:var(--ihp-walnut);line-height:1}
.ihp .ihp-benefits{list-style:none;padding:0;margin:14px 0 18px}
.ihp .ihp-benefits li{position:relative;padding:5px 0 5px 22px;border-bottom:1px dashed var(--ihp-hairline)}
.ihp .ihp-benefits li::before{content:"";position:absolute;left:2px;top:13px;width:8px;height:8px;border-radius:50%;background:var(--ihp-gold)}

/* Steps on the order page */
.ihp .ihp-steps{display:flex;gap:10px;margin:0 0 26px;padding:0;list-style:none;flex-wrap:wrap}
.ihp .ihp-steps li{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--ihp-muted);padding:6px 14px;border:1px solid var(--ihp-hairline);border-radius:999px}
.ihp .ihp-steps li.is-on{color:var(--ihp-cream);background:var(--ihp-walnut);border-color:var(--ihp-walnut)}
.ihp .ihp-steps li.is-done{color:var(--ihp-walnut);border-color:var(--ihp-walnut)}

/* Code input */
.ihp .ihp-code{font-size:28px;letter-spacing:.5em;text-align:center;font-family:ui-monospace,Menlo,Consolas,monospace}

/* XPay card element frame */
.ihp #ihp-xpay-card{min-height:150px}
.ihp .ihp-secure{font-size:12.5px;color:var(--ihp-label)}

/* Portal sub-navigation */
.ihp .ihp-subnav{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 28px;padding:0;list-style:none;border-bottom:1px solid var(--ihp-border)}
.ihp .ihp-subnav a{display:block;padding:10px 16px;color:var(--ihp-label);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;letter-spacing:.04em}
.ihp .ihp-subnav a:hover{color:var(--ihp-walnut)}
.ihp .ihp-subnav a.is-on{color:var(--ihp-walnut);border-bottom-color:var(--ihp-gold);font-weight:600}

@media (max-width:767.98px){
  .ihp-page{padding:32px 0 64px}
  .ihp h4,.ihp .h4{font-size:1.6rem}
  .ihp .card{--bs-card-spacer-y:1.1rem;--bs-card-spacer-x:1.1rem}
  .ihp .form-control,.ihp .form-select{font-size:16px}
  .ihp .ihp-cardface .ihp-cf-no{font-size:16px}
}
@media print{.Header-module__sj-PPG__header,.Legal-module__6WM23W__footer,.ihp-noprint{display:none!important}.ihp-page{padding:0;background:#fff}}
