:host{
  --pine:#174b45;--pine-2:#0f3c37;--cream:#f6f1e8;--paper:#fff;--ink:#292b28;--muted:#737772;
  --line:#e4dfd6;--line-strong:#d4cec3;--soft:#edf4f1;--soft-2:#f8f7f3;--danger:#9b2f2f;
  --shadow:0 22px 70px rgba(24,47,43,.18);--serif:Georgia,'Times New Roman',serif;
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.4;
}
*,*::before,*::after{box-sizing:border-box}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--pine)}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(23,75,69,.22);outline-offset:2px}
.ph{line-height:1}.muted{color:var(--muted)}.error-text{color:var(--danger)!important}.status-text{font-size:.78rem;color:var(--muted);min-height:1.2em}
.primary,.secondary,.icon-btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:.48rem}
.primary{background:var(--pine);color:#fff;border-radius:999px;padding:.9rem 1.3rem;font-weight:800}.primary:hover{background:var(--pine-2)}.primary:disabled{background:#c4cbc7;color:#fff;opacity:1;cursor:not-allowed;box-shadow:none}.primary:disabled:hover{background:#c4cbc7}
.secondary{border:1px solid var(--line);background:#fff;border-radius:999px;padding:.82rem 1.1rem;font-weight:750}.secondary:hover{background:var(--soft-2)}.full{width:100%}
.icon-btn{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff}.icon-btn:disabled{opacity:.3;cursor:not-allowed}
.tiny-spinner{display:inline-block;width:12px;height:12px;border:2px solid #d6ddd9;border-top-color:var(--pine);border-radius:50%;animation:spin .75s linear infinite}.tiny-spinner.large{width:30px;height:30px;border-width:3px}@keyframes spin{to{transform:rotate(360deg)}}

/* Keep the pill above the host page, then glide it to the top as the footer enters view. */
:host(.hinata-booking-pill-host){position:fixed;inset:auto 0 calc(20px + env(safe-area-inset-bottom,0px));z-index:2147482500;display:block;box-sizing:border-box;width:100%;padding:0 14px;pointer-events:none;transform:translateY(var(--hinata-pill-end-shift,0px));will-change:transform}
.pill-mount{width:100%;display:flex;justify-content:center;pointer-events:none}
.hinata-pill{width:min(720px,100%);height:72px;padding:7px;background:#fff;border:1px solid rgba(35,49,46,.14);border-radius:999px;box-shadow:0 14px 36px rgba(22,43,39,.16);display:grid;grid-template-columns:1fr 1.35fr 1fr;align-items:stretch;pointer-events:auto}
.pill-step{position:relative;min-width:0;border:0;background:transparent;border-radius:999px;padding:8px 15px;display:flex;align-items:center;gap:10px;text-align:left;transition:background .16s,color .16s}
.pill-step+.pill-step:before{content:"";position:absolute;left:-1px;top:13px;bottom:13px;width:1px;background:var(--line)}
.pill-step.active{background:var(--pine);color:#fff}.pill-step.active:before,.pill-step.active+.pill-step:before{opacity:0}.pill-step:disabled{color:#aaa;cursor:not-allowed}
.pill-step.complete:not(.active){color:var(--pine)}
.pill-step.complete:not(.active) .step-copy b{color:var(--pine);font-weight:850}
.step-dot{width:30px;height:30px;flex:0 0 30px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;font-size:.92rem}.step-copy{min-width:0}.step-copy b{display:block;font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.step-copy small{display:block;margin-top:2px;font-size:.66rem;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.portal-layer{position:fixed;inset:0;z-index:2147483000;pointer-events:none;font-family:var(--sans);color:var(--ink)}
.portal-backdrop{position:absolute;inset:0;border:0;background:transparent;pointer-events:auto;cursor:default}
.booking-popover{position:fixed;pointer-events:auto;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;min-height:160px}
.popover-head{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:18px 20px 10px}.popover-head h2{font:400 1.5rem/1.1 var(--serif);margin:0;display:flex;align-items:center;gap:.55rem}.popover-head p{font-size:.76rem;color:var(--muted);margin:.38rem 0 0}.popover-close{border:0;background:transparent;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:1.05rem}.popover-close:hover{background:var(--soft-2)}
.popover-content{flex:1 1 auto;min-height:0;padding:0 18px 14px;overflow:auto}.popover-footer{flex:0 0 auto;border-top:1px solid var(--line);padding:12px 16px;display:flex;align-items:center;gap:14px;justify-content:flex-end;flex-wrap:wrap;background:transparent}.popover-footer .status-text{margin-right:auto;max-width:58%}.promo-input{display:flex;align-items:center;gap:8px;margin-right:auto;color:var(--muted)}.promo-input input{width:132px;border:1px solid var(--line);border-radius:11px;padding:.72rem .8rem;background:#fff}

/* Calendar */
.calendar-topbar{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:6px}.calendar-help{font-size:.72rem;color:var(--muted);min-width:175px;text-align:center;display:flex;align-items:center;justify-content:center;gap:6px}.calendar-help .ph{font-size:1rem;color:var(--pine)}
.calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.calendar-month h3{text-align:center;font-size:.9rem;margin:6px 0 11px}.weekdays,.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.weekdays span{text-align:center;font-size:.65rem;color:#97958f;font-weight:800;padding:5px 0}
.day{position:relative;border:0;background:transparent;border-radius:10px;min-height:51px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.day:not(:disabled):hover{background:#f2f6f4}.day.pending,.day.unavailable,.day.error,.day.past{color:#aaa;cursor:not-allowed}.day.in-range{background:#edf4f1}.day.check-in,.day.check-out{background:var(--pine);color:#fff}.day.check-in:not(:disabled):hover,.day.check-out:not(:disabled):hover{background:var(--pine-2);color:#fff}.day-number{font-size:.74rem;font-weight:800}.day-value{font-size:.58rem;line-height:1;min-height:12px;white-space:nowrap}.day-role{position:absolute;top:3px;right:4px;font-size:.45rem;font-weight:900;letter-spacing:.08em}.day.unavailable .day-value,.day.error .day-value{font-size:.8rem}.day.blank{visibility:hidden}

/* Gallery */
.gallery{position:relative;overflow:hidden;background:#e8ece9;touch-action:pan-y}.gallery-track{height:100%;display:flex;transition:transform .28s ease;will-change:transform}.gallery-slide{flex:0 0 100%;min-width:0;height:100%;display:grid;place-items:center}.gallery-slide img{display:block;width:100%;height:100%;object-fit:cover}.gallery-empty{font-size:.8rem;color:var(--muted);display:flex;gap:8px;align-items:center}
.gallery-arrow{position:absolute;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:42px;height:42px;border:1px solid rgba(255,255,255,.6);border-radius:50%;background:rgba(255,255,255,.74);backdrop-filter:blur(10px);box-shadow:0 5px 18px rgba(0,0,0,.18);display:grid;place-items:center;z-index:3}.gallery-arrow.prev{left:12px}.gallery-arrow.next{right:12px}.gallery-arrow:hover{background:rgba(255,255,255,.96)}
.gallery-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:6px;z-index:3}.gallery-dot{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.6);box-shadow:0 0 0 1px rgba(0,0,0,.08)}.gallery-dot.active{background:#fff;transform:scale(1.3)}.gallery-zoom-hint{position:absolute;right:12px;bottom:11px;width:28px;height:28px;border-radius:50%;background:rgba(16,56,53,.72);color:#fff;display:grid;place-items:center;font-size:.85rem;z-index:3;pointer-events:none}

/* Room explorer */
.room-popover-content{padding:0 12px 10px!important;overflow:hidden!important}.room-loading{padding:38px;display:flex;justify-content:center;align-items:center;gap:8px;color:var(--muted)}
.room-explorer{height:min(600px,calc(100vh - 230px));min-height:430px;display:grid;grid-template-columns:96px minmax(360px,1.35fr) minmax(330px,.95fr);background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.room-rail{display:flex;flex-direction:column;min-height:0;overflow:hidden;border-right:1px solid var(--line);background:#fbfaf7;padding:12px 8px}.room-rail-title{display:flex;align-items:center;justify-content:center;gap:5px;font-size:.67rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em;color:var(--pine);margin:2px 0 12px}.room-rail-items{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;display:grid;gap:10px;align-content:start;padding-right:3px;scrollbar-width:thin;scrollbar-color:rgba(23,75,69,.35) transparent}.room-rail-items::-webkit-scrollbar{width:7px}.room-rail-items::-webkit-scrollbar-thumb{background:rgba(23,75,69,.28);border-radius:99px}
.room-thumb{border:1px solid transparent;background:transparent;border-radius:13px;padding:4px;min-width:0;text-align:center}.room-thumb:hover{background:#fff;border-color:var(--line)}.room-thumb.active{background:#fff;border-color:var(--pine);box-shadow:0 6px 18px rgba(23,75,69,.12)}.room-thumb img,.room-thumb-empty{width:100%;aspect-ratio:1.08/1;object-fit:cover;border-radius:9px;display:grid;place-items:center;background:#e8ece9;color:var(--muted)}.room-thumb-name{display:block;font-size:.58rem;line-height:1.15;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-gallery-pane{position:relative;min-width:0;border-right:1px solid var(--line);background:#e8ece9}.room-gallery-pane>.gallery{height:100%;min-height:430px}.room-mobile-caption{display:none}
.room-detail-pane{min-width:0;display:flex;flex-direction:column;min-height:0;overflow-y:auto;background:#fff}.room-copy-block{padding:22px 22px 18px}.room-eyebrow{display:flex;gap:7px;color:var(--pine);font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.room-copy-block h3{font:400 clamp(1.7rem,2.6vw,2.2rem)/1.05 var(--serif);margin:.45rem 0 .65rem}.room-description{color:var(--muted);line-height:1.55;font-size:.84rem;margin:0}.description-toggle{display:none;border:0;background:transparent;color:var(--pine);font-weight:750;padding:7px 0 0}.room-customize{margin-top:auto;padding:2px 22px 22px;border-top:1px solid var(--line);background:linear-gradient(180deg,#fff,#fbfaf7)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:18px 0 10px}.section-heading small{display:block;color:var(--pine);font-size:.62rem;font-weight:850;text-transform:uppercase;letter-spacing:.09em;margin-bottom:3px}.section-heading h4{font:400 1.05rem var(--serif);margin:0}.section-note{font-size:.62rem;color:var(--muted);text-align:right}.rate-choice-list{display:grid;gap:8px}.rate-choice{width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px 12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left}.rate-choice.selected{border-color:var(--pine);background:var(--soft)}.rate-radio{width:17px;height:17px;border:1px solid #a7aaa5;border-radius:50%;position:relative}.rate-choice.selected .rate-radio{border-color:var(--pine)}.rate-choice.selected .rate-radio:after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--pine)}.rate-copy{min-width:0}.rate-copy b{display:block;font-size:.78rem}.rate-copy small{display:block;color:var(--muted);font-size:.68rem;line-height:1.35;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rate-price{text-align:right;white-space:nowrap}.rate-price strong{display:block;font-size:.84rem}.rate-price small{display:block;color:var(--pine);font-size:.58rem;text-transform:uppercase;letter-spacing:.08em;margin-top:3px}
.addon-picker{border-top:1px solid var(--line);margin-top:18px;padding-top:2px}.addon-search{height:42px;border:1px solid var(--line);border-radius:999px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#fff}.addon-search>.ph{color:var(--muted)}.addon-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:.78rem}.addon-search button{width:28px;height:28px;border:0;border-radius:50%;background:transparent;display:grid;place-items:center}.addon-results{display:grid;gap:6px;max-height:205px;overflow:auto;margin-top:9px}.addon-option{display:grid;grid-template-columns:auto 34px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;padding:8px 9px;background:#fff}.addon-option.selected{border-color:var(--pine);background:var(--soft)}.addon-option input{accent-color:var(--pine);margin:0}.addon-option img,.addon-icon{width:34px;height:34px;border-radius:8px;object-fit:cover;display:grid;place-items:center;background:var(--soft-2);color:var(--pine)}.addon-copy{min-width:0}.addon-copy b{display:block;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.addon-copy small{display:block;font-size:.62rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.addon-option>strong{font-size:.72rem;white-space:nowrap}.addon-empty{display:flex;align-items:center;gap:8px;justify-content:center;color:var(--muted);font-size:.75rem;padding:18px}

/* Checkout */
.checkout-content{padding-bottom:18px}.checkout-loading{padding:36px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted)}.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.checkout-main,.checkout-summary{border:1px solid var(--line);border-radius:18px;padding:20px;background:#fff}.step-section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}.section-icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--pine)}.step-section-title small{color:var(--pine);font-size:.62rem;font-weight:850;text-transform:uppercase;letter-spacing:.09em}.step-section-title h2{font:400 1.65rem var(--serif);margin:.1rem 0 .2rem}.step-section-title p{margin:0;color:var(--muted);font-size:.76rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:grid;gap:6px}.field.wide{grid-column:1/-1}.field>span{font-size:.72rem;font-weight:800}.field input,.field textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:.82rem;background:#fff}.checkbox{display:flex;gap:9px;align-items:flex-start;margin:13px 0;font-size:.78rem;color:#555}.checkbox input{accent-color:var(--pine);margin-top:2px}.payment-section{margin-top:18px;padding:16px;border:1px solid #d7e8e2;border-radius:16px;background:var(--soft)}.payment-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.payment-heading small{color:var(--pine);font-size:.62rem;font-weight:850;text-transform:uppercase;letter-spacing:.09em}.payment-heading h3{font:400 1.25rem var(--serif);margin:.2rem 0}.payment-heading p{margin:.3rem 0 0;font-size:.74rem;color:var(--muted)}.payment-heading>.ph{font-size:1.25rem;color:var(--pine)}.secure-note{display:flex;gap:8px;padding:11px 12px;border-radius:12px;background:#fbfaf7;color:var(--muted);font-size:.72rem;margin:14px 0}.secure-note .ph{color:var(--pine);font-size:1rem}.checkout-main>.primary{margin-top:4px}.checkout-summary .gallery{height:190px;border-radius:13px;margin-bottom:13px}.checkout-summary>small{color:var(--muted)}.checkout-summary h3{font:400 1.4rem var(--serif);margin:.25rem 0}.summary-lines{margin-top:13px;border-top:1px solid var(--line)}.summary-line{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.76rem}.summary-line span{color:var(--muted)}.summary-line b{text-align:right}.summary-line.total{font-size:.95rem}.checkout-summary .secondary{margin-top:14px}
.checkout-validation-hint{margin:9px 0 0;color:var(--muted);font-size:.72rem;line-height:1.45}.checkout-validation-hint[hidden]{display:none}
.payment-waiting,.confirmation{text-align:center;padding:34px 24px 38px!important;max-width:650px;margin:auto}.payment-waiting-mark,.confirmation .mark{width:58px;height:58px;border-radius:50%;background:var(--soft);color:var(--pine);display:grid;place-items:center;margin:0 auto 14px;font-size:1.45rem}.payment-waiting h3,.confirmation h2{font:400 2rem var(--serif);margin:.4rem 0}.payment-waiting p,.confirmation p{color:var(--muted);max-width:520px;margin:0 auto 18px}.payment-waiting .secondary,.confirmation .secondary{margin-top:12px}
.payment-waiting .payment-checkout-slot{width:100%}.payment-checkout-slot slot{display:block}.payment-checkout-slot slot::slotted(.hinata-payment-inline){display:block;width:100%}
.payment-waiting{width:100%;min-width:0;max-width:700px;padding:16px 20px 24px!important}
.payment-checkout-slot,.payment-checkout-slot slot{min-width:0;max-width:100%}
.payment-checkout-slot slot::slotted(.hinata-payment-inline){min-width:0;max-width:100%}

/* Fullscreen image viewer inside the widget portal shadow root. */
.image-lightbox[hidden]{display:none!important}.image-lightbox{position:fixed;inset:0;z-index:2147483600;color:#fff;background:rgba(8,14,13,.94)}.lightbox-backdrop{position:absolute;inset:0}.lightbox-stage{position:absolute;inset:0;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}.lightbox-toolbar{z-index:3;display:flex;align-items:center;justify-content:space-between;padding:14px 18px}.lightbox-tools{display:flex;gap:8px}.lightbox-tools button,.lightbox-arrow{width:42px;height:42px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(20,28,26,.55);color:#fff;display:grid;place-items:center}.lightbox-canvas{position:relative;overflow:hidden;touch-action:none;display:grid;place-items:center}.lightbox-canvas img{max-width:92vw;max-height:80vh;object-fit:contain;transform-origin:center;will-change:transform;user-select:none}.lightbox-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%)}.lightbox-arrow.prev{left:18px}.lightbox-arrow.next{right:18px}.lightbox-help{text-align:center;padding:12px 18px 18px;color:rgba(255,255,255,.7);font-size:.75rem}

@media(max-width:900px){
  .room-explorer{grid-template-columns:82px minmax(300px,1fr) minmax(290px,.9fr)}.room-copy-block,.room-customize{padding-left:16px;padding-right:16px}.section-note{display:none}.checkout-grid{grid-template-columns:1fr}.checkout-summary{order:-1;display:grid;grid-template-columns:180px 1fr;gap:14px}.checkout-summary .gallery{height:150px;margin:0}.checkout-summary .summary-lines,.checkout-summary .secondary{grid-column:2}.checkout-summary>small,.checkout-summary>h3{grid-column:2}
}
@media(max-width:760px){
  .hinata-pill{height:60px;padding:5px;grid-template-columns:1fr 1.2fr 1fr}.pill-step{padding:6px 8px;gap:7px}.step-dot{width:26px;height:26px;flex-basis:26px;font-size:.8rem}.step-copy b{font-size:.7rem}.step-copy small{font-size:.56rem}.booking-popover{border-radius:18px}.popover-head{padding:14px 14px 8px}.popover-content{padding:0 12px 12px}.popover-footer{padding:10px 12px}.popover-footer .status-text{order:3;width:100%;max-width:none}.promo-input{margin-right:auto}.calendar-months{grid-template-columns:1fr}.calendar-topbar{justify-content:space-between}.calendar-help{min-width:0}.day{min-height:48px}.room-explorer{height:min(650px,calc(100vh - 180px));grid-template-columns:1fr;grid-template-rows:auto minmax(300px,1fr) auto;overflow:auto}.room-rail{display:block;max-height:none;overflow:visible;border-right:0;border-bottom:1px solid var(--line);padding:8px 10px}.room-rail-title{justify-content:flex-start;margin:0 0 7px}.room-rail-items{display:flex;overflow-x:auto;overflow-y:hidden;gap:8px;padding-bottom:4px;scrollbar-gutter:auto}.room-thumb{width:70px;flex:0 0 70px}.room-gallery-pane{border-right:0;border-bottom:1px solid var(--line)}.room-gallery-pane>.gallery{height:360px;min-height:300px}.room-detail-pane{overflow:visible}.room-copy-block{padding:16px}.room-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.room-description.expanded{display:block}.description-toggle{display:inline-flex}.room-customize{padding:2px 16px 18px}.gallery-arrow{width:40px;height:40px}.checkout-grid{display:block}.checkout-summary{display:block;margin-bottom:14px}.checkout-summary .gallery{height:180px}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.payment-waiting h3,.confirmation h2{font-size:1.65rem}
}
@media(max-width:480px){.step-copy small{display:none}.step-copy b{font-size:.65rem}.pill-step{justify-content:center}.popover-head h2{font-size:1.3rem}.calendar-help span{display:none}.promo-input{width:100%}.promo-input input{flex:1}.popover-footer .primary{width:100%}.day-value{font-size:.52rem}.room-gallery-pane>.gallery{height:300px}}

/* =========================================================
   v2.1 production UX overrides
   Compact pill + compact calendar + explicit device layouts.
   ========================================================= */
.ui-icon{display:block;flex:0 0 auto;pointer-events:none}
.step-dot .ui-icon,.section-icon .ui-icon,.payment-heading>.ui-icon,.secure-note>.ui-icon{width:1em;height:1em}

/* Pill: intentionally close to the original compact floating control. */
.hinata-pill{width:min(680px,100%);height:64px;padding:5px;border-radius:999px}
.pill-step{padding:6px 13px;gap:9px}
.pill-step+.pill-step:before{top:12px;bottom:12px}
.step-dot{width:27px;height:27px;flex-basis:27px;font-size:.84rem}
.step-copy b{font-size:.78rem}.step-copy small{font-size:.62rem}

/* Compact desktop popovers. */
.booking-popover{border-radius:19px;min-height:0}
.popover-head{padding:14px 16px 8px}.popover-head h2{font-size:1.35rem}.popover-head p{font-size:.72rem}
.popover-content{padding:0 14px 10px}.popover-footer{padding:9px 12px;gap:10px}
.primary{padding:.76rem 1.15rem}.secondary{padding:.72rem 1rem}
.status-text{font-size:.72rem}

/* Date picker */
.date-popover{overflow:hidden}
.date-sheet-head{display:none}
.date-popover-content{padding:14px 16px 8px!important;overflow:hidden!important}
.date-popover-close{position:absolute;z-index:8;right:9px;top:8px;width:30px;height:30px;border:0;border-radius:50%;background:transparent;display:grid;place-items:center;color:#666}
.date-popover-close:hover{background:var(--soft-2)}
.calendar-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.calendar-month{min-width:0}
.month-heading{height:38px;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;margin:0 0 2px}
.month-heading h3{text-align:center;font-size:.86rem;margin:0;font-weight:800}
.month-nav,.month-nav-spacer{width:34px;height:34px}
.month-nav{border:1px solid var(--line);border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--ink);transition:background .15s,border-color .15s,transform .15s}
.month-nav:hover:not(:disabled),.month-nav:focus-visible{background:var(--soft);border-color:#c7d8d2}
.month-nav:active:not(:disabled){transform:scale(.96)}
.month-nav:disabled{opacity:.26;cursor:not-allowed}
.weekdays,.days{gap:1px}.weekdays span{font-size:.61rem;padding:3px 0}
.day{min-height:39px;padding:3px 1px;border-radius:9px;gap:1px}
.day-number{font-size:.7rem}.day-value{font-size:.53rem;min-height:10px}.day-role{top:2px;right:3px;font-size:.4rem}
.day.unavailable .day-value,.day.error .day-value{font-size:.7rem}
.date-footer{min-height:58px;flex-wrap:nowrap}
.date-footer .status-text{max-width:none;flex:1;text-align:center;margin:0}
.promo-input{gap:7px}.promo-input input{width:112px;padding:.62rem .7rem}

/* Rooms: reduce height while preserving a large image canvas. */
.room-popover-content{padding:0 10px 8px!important}
.room-explorer{height:min(520px,calc(100vh - 190px));min-height:380px;grid-template-columns:90px minmax(330px,1.3fr) minmax(310px,.95fr);border-radius:15px}
.room-rail{padding:9px 7px}.room-rail-title{margin:1px 0 8px;font-size:.63rem}.room-rail-items{gap:7px}.room-thumb{padding:3px;border-radius:11px}.room-thumb-name{font-size:.55rem;margin-top:4px}
.room-copy-block{padding:15px 16px 13px}.room-copy-block h3{font-size:1.75rem;margin:.22rem 0 .45rem}.room-description{font-size:.76rem;line-height:1.48}
.room-customize{padding:2px 16px 15px}.section-heading{margin:13px 0 8px}.section-heading h4{font-size:1rem}
.rate-choice-list{gap:7px}.rate-choice{position:relative;overflow:hidden;padding:9px 10px;border-radius:12px}.rate-choice.recommended.selected{background:#fbfbfa;box-shadow:0 0 0 1px rgba(23,75,69,.08),0 8px 24px rgba(23,75,69,.06)}
.rate-copy b{font-size:.75rem}.rate-copy small{font-size:.64rem}.rate-price strong{font-size:.8rem}.rate-price small{font-size:.54rem}
.addon-picker{margin-top:13px}.addon-search{height:38px}.addon-results{max-height:165px;margin-top:7px}.addon-option{padding:7px 8px}.addon-option img,.addon-icon{width:31px;height:31px}.addon-copy b{font-size:.69rem}.addon-copy small{font-size:.59rem}
.room-footer{min-height:58px}

/* Checkout: compact and expose Mews's actual tax breakdown from final pricing. */
.checkout-content{padding-bottom:12px}.checkout-loading{padding:28px}
.checkout-grid{grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:"details summary";gap:14px}.checkout-main,.checkout-summary{padding:16px;border-radius:15px}
.checkout-main{grid-area:details}.checkout-summary{grid-area:summary}
.step-section-title{margin-bottom:11px}.step-section-title h2{font-size:1.48rem}.section-icon{width:34px;height:34px;flex-basis:34px}
.form-grid{gap:9px}.field{gap:4px}.field input,.field textarea{padding:.69rem .72rem;border-radius:10px}.field>span{font-size:.69rem}
.payment-section{margin-top:13px;padding:12px}.payment-heading h3{font-size:1.13rem}.checkbox{margin:10px 0}.secure-note{margin:10px 0;padding:9px 10px}
.checkout-summary .gallery{height:155px}.summary-lines{margin-top:10px}.summary-line{padding:8px 0}.summary-line.total{font-size:.92rem}.summary-line.due-now{color:var(--pine);font-weight:750}.summary-line.due-now span{color:var(--pine)}

/* Full-screen gallery controls use inline SVGs, so they remain visible in Shadow DOM. */
.lightbox-tools button,.lightbox-arrow{background:rgba(20,28,26,.48);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.lightbox-tools button:hover,.lightbox-arrow:hover{background:rgba(20,28,26,.72)}

@media (prefers-reduced-motion:reduce){
  .gallery-track{transition:none}.hinata-pill,.booking-popover{scroll-behavior:auto}
}

/* Wide tablets / compact laptops */
@media (max-width:1100px){
  .room-explorer{grid-template-columns:82px minmax(290px,1.18fr) minmax(280px,.9fr);height:min(500px,calc(100vh - 180px))}
  .room-copy-block,.room-customize{padding-left:14px;padding-right:14px}
  .checkout-grid{grid-template-columns:minmax(0,1fr) 270px}
}

/* Tablets */
@media (max-width:900px){
  .hinata-pill{width:min(650px,100%);height:60px}
  .booking-popover{border-radius:17px}
  .room-explorer{grid-template-columns:76px minmax(275px,1.1fr) minmax(260px,.9fr);height:min(470px,calc(100vh - 170px));min-height:350px}
  .room-copy-block h3{font-size:1.55rem}.room-description{font-size:.72rem}
  .checkout-grid{grid-template-columns:1fr;grid-template-areas:"summary" "details"}.checkout-summary{order:-1;display:grid;grid-template-columns:150px 1fr;gap:11px}.checkout-summary .gallery{height:125px;margin:0}.checkout-summary .summary-lines,.checkout-summary .secondary{grid-column:2}.checkout-summary>small,.checkout-summary>h3{grid-column:2}
}

/* Large phones / portrait tablets: one calendar month, room UI becomes a scrollable sheet. */
@media (max-width:720px){
  .hinata-pill{height:56px;padding:4px;grid-template-columns:1fr 1.22fr 1fr}.pill-step{padding:5px 7px;gap:6px}.step-dot{width:25px;height:25px;flex-basis:25px}.step-copy b{font-size:.68rem}.step-copy small{font-size:.54rem}
  .booking-popover{border-radius:16px}
  .date-popover-content{padding:10px 10px 5px!important}.calendar-months{grid-template-columns:1fr;gap:0}.month-heading{height:36px;margin:0 24px 1px}.month-heading h3{font-size:.84rem}.weekdays span{padding:2px 0}.day{min-height:42px}.day-number{font-size:.72rem}.day-value{font-size:.52rem}
  .date-footer{padding:8px 9px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.date-footer .promo-input{grid-column:1}.date-footer .status-text{grid-column:1/-1;grid-row:2;text-align:left;order:unset}.date-footer .primary{grid-column:2;grid-row:1;white-space:nowrap}.promo-input input{width:105px}
  .room-popover-content{overflow:auto!important;padding:0 8px 8px!important;overscroll-behavior:contain}
  .room-explorer{height:auto;min-height:0;display:block;overflow:visible;border-radius:14px}
  .room-rail{display:block;overflow:visible;border-right:0;border-bottom:1px solid var(--line);padding:8px}.room-rail-title{justify-content:flex-start;margin:0 0 6px}.room-rail-items{display:flex;overflow-x:auto;overflow-y:hidden;gap:7px;padding:0 0 4px;scrollbar-gutter:auto}.room-thumb{width:66px;flex:0 0 66px}
  .room-gallery-pane{border-right:0;border-bottom:1px solid var(--line)}.room-gallery-pane>.gallery{height:auto!important;min-height:0!important;aspect-ratio:4/3}.gallery-arrow{width:38px;height:38px}.gallery-arrow.prev{left:9px}.gallery-arrow.next{right:9px}
  .room-detail-pane{overflow:visible}.room-copy-block{padding:13px 14px}.room-copy-block h3{font-size:1.45rem}.room-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.room-description.expanded{display:block}.description-toggle{display:inline-flex}.room-customize{padding:1px 14px 14px}.addon-results{max-height:180px}
  .room-footer{padding:8px 9px}.room-footer .status-text{display:none}.room-footer .primary{width:100%}
  .checkout-content{overflow:auto}.checkout-grid{display:block}.checkout-summary{display:block;margin-bottom:10px}.checkout-summary .gallery{height:auto;aspect-ratio:16/8}.checkout-summary .summary-lines,.checkout-summary .secondary,.checkout-summary>small,.checkout-summary>h3{grid-column:auto}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}
  .lightbox-toolbar{padding:10px}.lightbox-tools{gap:5px}.lightbox-tools button,.lightbox-arrow{width:38px;height:38px}.lightbox-arrow.prev{left:9px}.lightbox-arrow.next{right:9px}.lightbox-canvas img{max-width:96vw;max-height:76vh}
}

/* Standard phones */
@media (max-width:520px){
  .hinata-pill{height:54px}.pill-step{justify-content:center;padding:4px 5px}.step-copy b{font-size:.63rem}.step-copy small{display:none}.step-dot{width:24px;height:24px;flex-basis:24px}
  .date-popover-close{right:6px;top:5px}.date-popover-content{padding:7px 7px 4px!important}.month-heading{margin:0 20px}.day{min-height:40px;border-radius:8px}.day-value{font-size:.49rem}.weekdays span{font-size:.58rem}
  .promo-input span{font-size:.72rem}.promo-input input{width:92px;padding:.56rem .62rem}.date-footer .primary{padding:.68rem .9rem;font-size:.75rem}
  .popover-head{padding:11px 12px 7px}.popover-head h2{font-size:1.2rem}.popover-head p{font-size:.67rem}.popover-content{padding-left:9px;padding-right:9px}.popover-footer{padding:8px}
  .room-thumb{width:62px;flex-basis:62px}.room-gallery-pane>.gallery{aspect-ratio:1.18/1}.room-copy-block{padding:12px}.room-customize{padding:0 12px 12px}.rate-choice{grid-template-columns:auto minmax(0,1fr);padding:9px}.rate-price{grid-column:2;text-align:left;display:flex;align-items:center;gap:7px}.rate-price strong{font-size:.78rem}.addon-option{grid-template-columns:auto 28px minmax(0,1fr)}.addon-option>strong{grid-column:3;margin-top:-2px;text-align:left}.addon-option img,.addon-icon{width:28px;height:28px}
  .checkout-main,.checkout-summary{padding:13px}.checkout-summary .gallery{aspect-ratio:16/9}.step-section-title h2{font-size:1.35rem}
  .lightbox-help{font-size:.66rem;padding-bottom:11px}
}

/* Small phones */
@media (max-width:390px){
  .hinata-pill{height:52px}.pill-step{gap:4px}.step-dot{width:22px;height:22px;flex-basis:22px}.step-copy b{font-size:.59rem}
  .month-heading{margin:0 16px;grid-template-columns:32px minmax(0,1fr) 32px}.month-nav,.month-nav-spacer{width:30px;height:30px}.day{min-height:38px}.day-number{font-size:.68rem}.day-value{font-size:.46rem}
  .date-footer{grid-template-columns:1fr}.date-footer .promo-input,.date-footer .primary,.date-footer .status-text{grid-column:1}.date-footer .primary{grid-row:3;width:100%}.date-footer .status-text{grid-row:2}.promo-input{width:100%}.promo-input input{flex:1;width:auto}
  .room-gallery-pane>.gallery{aspect-ratio:1.08/1}.room-thumb{width:58px;flex-basis:58px}.room-copy-block h3{font-size:1.32rem}.rate-copy small{-webkit-line-clamp:1}.addon-search{height:36px}
}

/* Landscape phones: preserve image space but keep controls visible. */
@media (max-height:560px) and (orientation:landscape){
  .hinata-pill{height:50px}.booking-popover{max-height:calc(100vh - 70px)}
  .date-popover-content{overflow:auto!important}.day{min-height:35px}.date-footer{min-height:50px}
  .room-explorer{height:auto;min-height:0;display:grid;grid-template-columns:72px minmax(280px,1.1fr) minmax(260px,.9fr)}.room-rail{border-right:1px solid var(--line);border-bottom:0}.room-rail-items{display:grid;overflow-y:auto;overflow-x:hidden}.room-thumb{width:auto;flex:auto}.room-gallery-pane{border-right:1px solid var(--line);border-bottom:0}.room-gallery-pane>.gallery{height:calc(100vh - 175px)!important;aspect-ratio:auto;min-height:260px!important}.room-detail-pane{overflow-y:auto}.room-footer{min-height:50px}
}

/* =========================================================
   v2.3 — Date popover close-button safety gutter
   Keeps the close button visually separate from next-month.
   ========================================================= */
.date-popover-close{
  top:8px;
  right:10px;
  width:32px;
  height:32px;
  z-index:20;
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.calendar-month:last-child .month-heading{
  padding-right:44px;
}
.calendar-month:last-child .month-nav.next{
  margin-right:2px;
}
@media (max-width:720px){
  .date-popover-close{top:7px;right:8px}
  .calendar-month:last-child .month-heading{padding-right:42px}
}

/* Full-screen mobile dialogs keep the booking steps docked below their content. */
@media (max-width:720px), (max-width:1024px) and (max-height:560px) and (orientation:landscape){
  :host(.hinata-booking-pill-host){padding:0 10px}
  :host(.hinata-booking-pill-host.mobile-dialog-open){bottom:var(--hinata-mobile-bottom,0px);padding:10px 10px calc(10px + env(safe-area-inset-bottom,0px));background:var(--paper);border-top:1px solid var(--line);transform:none}
  .booking-popover{border:0;border-radius:0;box-shadow:none;overflow:hidden}
  .popover-head{padding:calc(14px + env(safe-area-inset-top,0px)) 14px 10px}
  .popover-close{width:40px;height:40px;flex:0 0 40px;background:var(--soft-2)}
  .popover-content{overscroll-behavior:contain}
  .payment-waiting{max-width:none;margin:0;padding:6px 12px 16px!important;text-align:left;overflow-x:hidden}
  .payment-waiting>p{margin:4px 0 12px;font-size:.8rem;line-height:1.4}
  .hinata-pill{height:64px;padding:4px;grid-template-columns:.85fr 1.35fr .95fr}
  .pill-step{flex-direction:column;justify-content:center;gap:3px;padding:5px 3px;text-align:center}
  .step-dot{width:22px;height:22px;flex-basis:22px;border:0}
  .step-copy{width:100%}
  .step-copy b{font-size:.68rem;line-height:1.25}
  .step-copy small{display:none}

  .date-popover{border-radius:0;background:var(--paper)}
  .date-sheet-head{display:block;flex:0 0 auto;padding:calc(18px + env(safe-area-inset-top,0px)) 62px 14px 18px;border-bottom:1px solid var(--line)}
  .date-sheet-head h2{margin:0;font:400 1.5rem/1.15 var(--serif);letter-spacing:-.02em}
  .date-sheet-head p{margin:5px 0 0;font-size:.75rem;color:var(--muted)}
  .date-popover-close{top:calc(12px + env(safe-area-inset-top,0px));right:12px;width:40px;height:40px;background:var(--soft-2);border:1px solid var(--line);backdrop-filter:none}
  .date-popover-content{padding:6px 12px 16px!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
  .calendar-stacked .calendar-months{grid-template-columns:1fr;gap:22px}
  .calendar-stacked .month-heading{height:52px;margin:0;padding:0!important;grid-template-columns:minmax(0,1fr) 40px 40px;gap:5px}
  .calendar-stacked .month-heading h3{grid-column:1;grid-row:1;text-align:left;font-size:1rem;letter-spacing:-.015em}
  .calendar-stacked .month-nav.prev{grid-column:2;grid-row:1}
  .calendar-stacked .month-nav.next{grid-column:3;grid-row:1;margin:0}
  .calendar-stacked .month-nav{width:40px;height:40px;background:var(--soft-2)}
  .calendar-stacked .month-nav-spacer{display:none}
  .calendar-stacked .weekdays{padding:0 0 5px}
  .calendar-stacked .weekdays span{padding:5px 0;font-size:.66rem;font-weight:650;color:var(--muted)}
  .calendar-stacked .days{gap:2px}
  .calendar-stacked .day{min-height:48px;border-radius:11px;gap:4px;padding:5px 0}
  .calendar-stacked .day-number{font-size:.8rem;font-weight:700}
  .calendar-stacked .day-value{font-size:.6rem;min-height:11px;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
  .calendar-stacked .day.past .day-number{font-weight:500;color:#b4b4af}
  .calendar-stacked .day-role{top:3px;right:3px;font-size:.42rem}
  .calendar-stacked .day.in-range{border-radius:4px;background:var(--soft)}
  .calendar-stacked .day.check-in,.calendar-stacked .day.check-out{border-radius:11px;background:var(--pine)}

  .date-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:12px 14px 14px;background:var(--paper);box-shadow:0 -8px 22px rgba(24,47,43,.04)}
  .date-footer .promo-input{grid-column:1;grid-row:1;display:flex;width:100%;gap:12px;margin:0}
  .date-footer .promo-input span{font-size:.78rem;font-weight:650;color:var(--ink)}
  .date-footer .promo-input input{flex:1;min-width:0;width:100%;min-height:44px;padding:10px 12px;font-size:16px;border-radius:12px;background:var(--soft-2)}
  .date-footer .status-text{grid-column:1;grid-row:2;text-align:left;max-width:none;font-size:.72rem;line-height:1.4;min-height:1.4em}
  .date-footer .primary{grid-column:1;grid-row:3;width:100%;min-height:46px;padding:11px 16px;font-size:.84rem}
}

@media (max-width:1024px) and (max-height:560px) and (orientation:landscape){
  .hinata-pill{height:50px}
  .pill-step{flex-direction:row;gap:5px}
  .step-copy{width:auto}
  .date-sheet-head{padding:10px 58px 10px 14px}
  .date-sheet-head h2{font-size:1.2rem}
  .date-sheet-head p{display:none}
  .date-popover-close{top:5px;right:9px;width:34px;height:34px}
  .date-footer{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:8px 12px}
  .date-footer .promo-input{grid-column:1;grid-row:1}
  .date-footer .primary{grid-column:2;grid-row:1;min-height:44px}
  .date-footer .status-text{grid-column:1/-1;grid-row:2}
  .calendar-stacked .day{min-height:42px}
}

/* A sold-out night that can still be chosen as the departure day. */
.day.checkout-only{color:inherit;cursor:pointer}.day.checkout-only .day-value{visibility:hidden}

/* Booking-rule notes on the calendar (minimum stays, closed arrivals and departures). */
.day.rule-limited .day-number,.day.rule-limited .day-value{opacity:.5}
.day.suggested{background:#e4efe9;box-shadow:inset 0 0 0 1px rgba(23,75,69,.3);animation:cal-suggest 2.6s ease-in-out 3}
@keyframes cal-suggest{0%,100%{background:#e4efe9}50%{background:#d2e4da}}
.cal-bubble{position:absolute;z-index:6;transform:translateX(-50%);width:max-content;max-width:min(250px,calc(100% - 8px));padding:9px 13px;border-radius:12px;background:var(--pine,#174b45);color:#fff;text-align:center;line-height:1.35;box-shadow:0 12px 30px rgba(23,63,57,.24);pointer-events:none;animation:cal-bubble-in .18s ease-out}
.cal-bubble::after{content:'';position:absolute;left:var(--caret-x,50%);bottom:-5px;width:11px;height:11px;background:inherit;transform:translateX(-50%) rotate(45deg)}
.cal-bubble.below::after{bottom:auto;top:-5px}
.cal-bubble-line{display:block;font-size:.8rem;font-weight:600}
.cal-bubble-line.sub{margin-top:4px;padding-top:4px;border-top:1px solid rgba(255,255,255,.22);font-size:.74rem;font-weight:500;opacity:.92}
@keyframes cal-bubble-in{from{opacity:0;margin-top:4px}to{opacity:1;margin-top:0}}
@media (prefers-reduced-motion:reduce){.day.suggested,.cal-bubble{animation:none}}

/* Guest-first checkout on phones: 16px inputs (no iOS zoom on focus), a compact room photo so the
   form starts sooner, and special requests tucked behind a link. */
.notes-toggle summary{cursor:pointer;color:var(--pine);font-size:.8rem;font-weight:700;padding:6px 0;list-style:none}
.notes-toggle summary::-webkit-details-marker{display:none}
.notes-toggle summary::before{content:'+ '}
.notes-toggle[open] summary::before{content:'− '}
.notes-toggle textarea{margin-top:6px}
@media (max-width:720px){
  .field input,.field textarea,.promo-input input,.addon-search input{font-size:16px}
  .checkout-summary .gallery{aspect-ratio:auto!important;height:120px!important}
}

.promo-link{border:0;background:none;padding:6px 0;color:var(--pine);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;margin-right:auto;text-decoration:underline;text-underline-offset:3px}
.promo-input[hidden],.promo-link[hidden]{display:none!important}
.date-footer .promo-link{grid-column:1;grid-row:1;justify-self:start}
/* Landing-page offer note, above the calendar. */
.offer-note{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:var(--soft);color:var(--pine-2);font-size:.82rem;font-weight:600;line-height:1.4}

/* Calendar: a night guests can stay but not start (or end) a stay on looks bookable, with red numbers.
   Only nights closed to stays are softened. */
.day.rule-limited .day-number,.day.rule-limited .day-value{opacity:1}
.day.rule-limited:not(.rule-closed) .day-number{color:var(--danger,#9b2f2f)}
.day.rule-limited.rule-closed .day-number,.day.rule-limited.rule-closed .day-value{opacity:.5}
/* Suggested dates: a light tone with a slow shimmer. */
.day.suggested{background:linear-gradient(110deg,#f1f7f3 30%,#fbfdfc 50%,#f1f7f3 70%);background-size:260% 100%;box-shadow:inset 0 0 0 1px rgba(23,75,69,.18);animation:cal-suggest-shimmer 3.6s ease-in-out infinite}
@keyframes cal-suggest-shimmer{0%{background-position:100% 0}100%{background-position:-160% 0}}

/* Recommended rate: an unhurried, light champagne sweep. */

/* Room photos: the whole image, letterboxed on black, rather than a tight crop. */
.room-gallery-pane>.gallery,.gallery-large{background:#000}
.gallery-large .gallery-slide img{object-fit:contain}

/* Rate and add-on cards stay short; "See more" opens one card to its full description. */
.card-full,.card-full.md{display:none}
.rate-choice.expanded,.addon-option.expanded{align-items:start}
.rate-choice.expanded .card-summary,.addon-option.expanded .card-summary{display:none}
.rate-choice.expanded .card-full,.addon-option.expanded .card-full{display:block;margin-top:5px}
.addon-option.expanded .addon-copy b{white-space:normal}
.card-more{display:inline-block;margin-top:3px;color:var(--muted);font-size:.62rem;font-weight:600;text-decoration:underline;text-decoration-color:rgba(23,75,69,.25);text-underline-offset:3px;cursor:pointer}
.card-more:hover,.card-more:focus-visible{color:var(--pine);text-decoration-color:currentColor;outline:none}
[data-hovercard]{-webkit-touch-callout:none}
.rate-choice[data-hovercard],.addon-option[data-hovercard]{-webkit-user-select:none;user-select:none}
.md{display:block;color:var(--muted);font-size:.68rem;line-height:1.45;white-space:normal}
.md strong{color:var(--ink,#292b28);font-weight:700}
.md-p,.md-ul{display:block}
.md-p+.md-p,.md-p+.md-ul,.md-ul+.md-p{margin-top:3px}
.md-li{display:block;position:relative;padding-left:12px}
.md-li::before{content:'•';position:absolute;left:2px;color:var(--pine)}
.md-gap{display:block;height:6px}

/* Hovercard: the full description (and the add-on's photo) beside the card on desktop. */
.room-explorer{position:relative}
.explorer-hovercard{position:absolute;z-index:20;width:340px;max-height:calc(100% - 16px);overflow:hidden auto;overscroll-behavior:contain;scrollbar-width:thin;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 44px rgba(23,63,57,.22);animation:hovercard-in .16s ease-out}
.explorer-hovercard img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#000}
.hovercard-body{padding:12px 14px 14px}
.hovercard-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:6px}
.hovercard-head b{font-size:.84rem;line-height:1.3}
.hovercard-head span{font-weight:800;font-size:.8rem;text-align:right;white-space:nowrap}
.hovercard-head small{display:block;margin-top:2px;font-weight:500;font-size:.62rem;color:var(--muted)}
.explorer-hovercard .md{font-size:.72rem}
@keyframes hovercard-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.day.suggested{animation:none;background:#f1f7f3}.explorer-hovercard{animation:none}}
/* Desktop: a long, expanded description scrolls in its own column instead of stretching the gallery. */
@media (min-width:761px){.room-explorer{grid-template-rows:minmax(0,1fr)}.room-gallery-pane{min-height:0}.room-gallery-pane>.gallery{height:100%;min-height:0}}
.explorer-hovercard{width:400px;max-width:calc(100% - 16px)}
/* A pinned card (opened by a long press) closes with its × or a tap elsewhere. */
.hovercard-close{position:sticky;top:0;float:right;z-index:1;width:30px;height:30px;margin:8px 8px -38px 0;border:0;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 2px 8px rgba(23,63,57,.18);color:var(--ink,#292b28);font-size:1.1rem;line-height:1;cursor:pointer}
.explorer-hovercard.pinned:not(.has-image) .hovercard-head{padding-right:30px}

/* Recommended rate: no sweep across the card; a slow light travels around its border instead. */
/* Recommended rate: a soft champagne light travels slowly around the card's border.
   app.js registers --recommended-angle, since @property is ignored inside the shadow root. */
.rate-choice.recommended{overflow:visible}
.rate-choice.recommended::before{content:"";position:absolute;inset:-1px;padding:1px;border-radius:inherit;background:conic-gradient(from var(--recommended-angle,0deg),transparent 0deg 250deg,rgba(214,190,134,.55) 290deg,#d6be86 318deg,rgba(214,190,134,.55) 338deg,transparent 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:recommended-border 10s linear infinite;pointer-events:none}
@keyframes recommended-border{to{--recommended-angle:360deg}}
@media (prefers-reduced-motion:reduce){.rate-choice.recommended::before{animation:none}}

/* Hovercards: lists (checkout add-ons) and short notes (what is due now). */
.explorer-hovercard img{aspect-ratio:auto}
.explorer-hovercard .hovercard-hero{width:100%;aspect-ratio:16/10;object-fit:cover}
.hovercard-text{margin:0;color:var(--muted);font-size:.74rem;line-height:1.45}
.hovercard-items{display:grid;gap:10px}
.hovercard-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:start}
.hovercard-item:not(:has(img)){grid-template-columns:1fr}
.hovercard-item img{width:64px;height:64px;border-radius:10px;object-fit:cover}
.hovercard-item .hovercard-head{margin-bottom:3px}
.checkout-grid{position:relative}
.summary-hover{cursor:help}
.summary-line.summary-hover{border-radius:8px;transition:background .15s}
.summary-line.summary-hover:hover{background:var(--soft-2)}
small.summary-hover,h3.summary-hover{text-decoration:underline dotted rgba(23,75,69,.35);text-underline-offset:4px}

/* Room description toggle: the same quiet "See more" as the rate and add-on cards. */
.description-toggle.card-more{display:none;border:0;background:none;padding:0;margin-top:4px;font-family:inherit}
@media (max-width:760px){.description-toggle.card-more{display:inline-block}}
.description-toggle.card-more[hidden]{display:none}

/* Add-on checkbox lines up with the photo, also when the card is opened. */
.addon-option{--addon-thumb:34px;--addon-check:13px}
.addon-option>input{width:var(--addon-check);height:var(--addon-check)}
/* Photo starts level with the title; the checkbox sits centred on the photo. */
.addon-option{align-items:start}
.addon-option>input{margin-top:calc((var(--addon-thumb) - var(--addon-check)) / 2)}
.hovercard-actions{position:sticky;bottom:0;padding:10px 14px 12px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 12px)}
.hovercard-select{width:100%;min-height:40px;border:0;border-radius:999px;background:var(--pine);color:#fff;font:inherit;font-size:.78rem;font-weight:750;cursor:pointer}
.hovercard-select:disabled{background:var(--soft);color:var(--pine);cursor:default}
.hovercard-select:not(:disabled):hover{filter:brightness(1.08)}

/* Phones: no "Rooms" heading over the thumbnails; the add-ons fill the panel and scroll inside. */
@media (max-width:720px){
  .room-rail-title{display:none}
  .addon-option{--addon-check:18px}
  .addon-option>input{min-width:var(--addon-check)}
  .addon-picker{display:flex;flex-direction:column;height:calc(var(--addon-panel-height,auto) - 14px);min-height:260px}
  .addon-results{flex:1;min-height:0;max-height:none;overflow:auto;align-content:start}
}
@media (max-width:520px){.addon-option{--addon-thumb:28px}}

/* Payment received, while Mews confirms the booking: the same screen as the confirmation. */
.confirmation .confirming{display:flex;align-items:center;justify-content:center;gap:8px}

/* Promo code Mews doesn't recognise: the field and the date status line say so, calmly. */
.promo-input input[aria-invalid="true"]{border-color:#c98b7f;background:#fffaf8}
.date-footer .status-text.promo-warning{color:#9a4b3f}
