/* R22: reserve dimensions and prevent page overflow without hiding horizontal activity rails. */
*,*::before,*::after{box-sizing:border-box}
.s6m-inner,.s6m-desktop-nav,.s6m-actions,.s6m-brand,.s6m-search-shell,.detail-main,.detail-side,.footer-col,.uae-card,.uae-card-body,.summary,.stack,.card-body{min-width:0}
.s6m-inner{max-width:100%;gap:clamp(8px,1.4vw,22px)}
#s6HeaderSwitchers{min-width:218px;flex:0 0 auto;min-height:40px}
#s6HeaderSwitchers .harbor-choice{width:105px;max-width:105px;min-width:0;min-height:38px}
.s6m-brand-name{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.gallery-main{aspect-ratio:3/2;overflow:hidden}.gallery-main img,.gallery-side-item img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-side-item{aspect-ratio:3/2;overflow:hidden}
.uae-card-media,.activity-authority-media{aspect-ratio:16/10;overflow:hidden}
.uae-card-media img,.activity-authority-media img{width:100%;height:100%;object-fit:cover}
.s6m-logo{flex:none;object-fit:contain}
.btn,.s6m-search-form,.s6m-search-submit,.harbor-choice,.s6m-nav-link{border-radius:9px!important}
.s6m-search-submit{flex:none}
.detail-section p,.detail-section li,.footer-col a,.article-body,.r22-directory a,.card-body label{overflow-wrap:anywhere}
.article-body img,.card-body img{max-width:100%}
.article-body table{display:block;max-width:100%;overflow-x:auto}
.r22-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 24px;list-style:none;padding:0}
.r22-directory li{border-bottom:1px solid #dde5ed;padding:10px 0;min-width:0}.r22-directory a{color:#006eb7;text-decoration:underline}.r22-directory small{display:block;color:#53677a}
.r22-directory-pages{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin:24px 0}.r22-directory-pages a{padding:8px 12px;border:1px solid #c4d6e6;border-radius:8px;color:#006eb7}
#couponStatus{min-height:1.4em;margin:6px 0;color:#314c62;font-size:.88rem}
@media(max-width:1199px){.s6m-inner{padding-inline:16px}.s6m-desktop-nav{gap:2px}.s6m-nav-link{padding-inline:7px}.s6m-brand{max-width:240px}}
@media(max-width:767px){.s6m-inner{padding-inline:12px;gap:8px}.s6m-brand{min-width:0;max-width:calc(100vw - 112px)}.s6m-brand-name{white-space:normal;font-size:.94rem;line-height:1.1}.s6m-search-shell{min-width:0;max-width:100%}#s6HeaderSwitchers{min-width:0;display:none!important}#s6HeaderMobileSwitchers{display:flex;flex-wrap:wrap;gap:8px;min-width:0}#s6HeaderMobileSwitchers .harbor-choice{max-width:100%;min-height:44px}.gallery-main{min-height:0!important;aspect-ratio:3/2}.r22-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.card-body input,.card-body select,.card-body textarea{max-width:100%;min-width:0}.s6m-mobile-nav{max-width:100vw}.form-grid>*,.summary>*,.stack>*{min-width:0}.btn{white-space:normal}}
@media(max-width:479px){.r22-directory{grid-template-columns:1fr}.s6m-brand{max-width:calc(100vw - 100px)}}
@media(prefers-reduced-motion:reduce){.s6m-search-shell,.uae-card,.hero-slide{transition:none!important;animation:none!important}}

@media(max-width:1100px){.s6-master-header .s6m-inner{display:flex!important}.s6-master-header .s6m-desktop-nav{display:none!important}.s6-master-header .s6m-menu-toggle{display:flex!important}.s6-master-header .s6m-right{min-width:0;max-width:100%}.s6-master-header .s6m-search-shell{min-width:0;flex:1 1 auto}.s6-master-header .s6m-controls{flex:none}}


/* R23: translated copy must determine text-box height; only visual media and icon
   controls have intentional dimensions. Keep the rail and clickable card layers. */
.s6cc-ready > .s6cc-controls {aspect-ratio:auto;max-width:100%;overflow:hidden}
.s6cc-ready:has(>.uae-card-media) > .s6cc-controls {aspect-ratio:16/10}
/* Move the transfer badge above the dots, leaving both inside the photo. */
.uae-card.s6cc-ready .uae-card-transfer {bottom:34px;max-width:calc(100% - 20px);white-space:normal;overflow-wrap:anywhere;line-height:1.25}
.uae-card.s6cc-ready:has(.uae-card-transfer) > .s6cc-controls .s6cc-dots {left:50%;right:auto;transform:translateX(-50%)}
.s6cc-ready > .s6cc-controls .s6cc-dots {bottom:8px;max-width:calc(100% - 12px)}

/* Responsive card rows grow for translated words, without changing the rail's
   image size, whole-card links, wishlist or payment actions. */
body.s6-has-master-header :is(.uae-card,.card.activity-card,.activity-authority-card,.s6tp-card) {min-width:0;height:auto;max-width:100%}
body.s6-has-master-header :is(.uae-card-body,.card-body,.activity-authority-body,.s6tp-card-content) {min-width:0;max-width:100%}
body.s6-has-master-header :is(.uae-card-title,.card-title,.activity-authority-body h3,.s6tp-card h4) {display:block;max-height:none!important;height:auto!important;-webkit-line-clamp:unset!important;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
body.s6-has-master-header :is(.uae-card-title,.card-title,.activity-authority-body h3,.s6tp-card h4) a {white-space:normal;overflow-wrap:anywhere}
body.s6-has-master-header :is(.s6-home-card-heading,.s6-universal-heading,.activity-authority-meta) {flex-wrap:wrap;min-width:0}
body.s6-has-master-header :is(.s6-universal-category,.s6-home-category,.uae-card-meta,.uae-card-description) {max-width:100%;height:auto;white-space:normal!important;overflow-wrap:anywhere}
body.s6-has-master-header .s6-sitewide-enhanced :is(.s6-universal-benefits,.s6-home-benefits) {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;grid-auto-rows:auto;height:auto;max-height:none}
body.s6-has-master-header .s6-sitewide-enhanced .s6-universal-benefit {align-items:flex-start;min-width:0;height:auto;line-height:1.35}
body.s6-has-master-header .s6-sitewide-enhanced .s6-universal-benefit > span {font-size:inherit!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:normal;letter-spacing:normal}
body.s6-has-master-header :is(.s6-home-card-bottom,.s6-universal-bottom) {grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:auto;max-height:none}
body.s6-has-master-header :is(.uae-card-rating,.card-rating,.s6-authority-rating) {flex-wrap:wrap;white-space:normal!important;overflow-wrap:anywhere}
body.s6-has-master-header :is(.uae-card-price,.price,.activity-authority-price,.s6tp-price) {max-width:100%;min-width:0;overflow-wrap:anywhere}
body.s6-has-master-header :is(.uae-card-price,.price) :is(b,.price-old,.uae-card-pct,.s6-home-discount) {white-space:normal!important;overflow-wrap:anywhere}
body.s6-has-master-header :is(.uae-card-actions,.card-actions) {display:flex!important;flex-flow:row wrap!important;align-items:stretch;gap:8px;min-width:0;height:auto;max-height:none}
body.s6-has-master-header :is(.uae-card-actions,.card-actions) > :is(a,button) {display:block!important;align-content:center;flex:1 1 min(100%,8rem)!important;width:auto!important;min-width:0!important;max-width:100%;height:auto!important;min-height:44px;max-height:none!important;padding:10px 8px!important;line-height:1.3!important;text-align:center;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
body.s6-has-master-header :is(.uae-card-actions,.card-actions) > .s6-paylater-cta {display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap;gap:5px!important}
body.s6-has-master-header .s6-paylater-copy {min-width:0!important;max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal;line-height:1.3!important}

/* Same intrinsic text sizing in public forms, booking options, trust panels,
   header/menu links, footer and planner. Avoid modifying form values or logic. */
body.s6-has-master-header :is(.btn,.btn-outline-pill,.environment-btn,.chip,.s6tp-btn,.s6tp-add,.s6-purchase-now,.s6m-nav-link,.s6m-mobile-nav a,.s6m-search-submit) {min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.3}
body.s6-has-master-header :is(.btn,.btn-outline-pill,.environment-btn,.s6tp-btn,.s6tp-add,.s6-purchase-now) {height:auto!important;max-height:none!important}
body.s6-has-master-header :is(.hero-search,.search-bar) .btn {min-height:44px;padding-block:8px}
body.s6-has-master-header :is(.hero-search,.search-bar,.form-grid,.payment-option,.s6-transfer-choice,.ticket-row,.confidence-row,.quick-info-row,.s6tp-step,.s6tp-card-bottom,.s6tp-foot,.s6tp-heading,.summary-activity,.summary,.footer-col) {min-width:0;max-width:100%;overflow-wrap:anywhere}
body.s6-has-master-header :is(.form-grid,.payment-option,.s6-transfer-choice,.ticket-row,.confidence-row,.quick-info-row,.s6tp-step,.s6tp-card-bottom,.s6tp-foot,.s6tp-heading,.summary-activity) > * {min-width:0;max-width:100%;overflow-wrap:anywhere}
body.s6-has-master-header :is(.payment-option,.s6-transfer-choice,.confidence-row,.s6tp-step,.s6tp-foot,.s6tp-card-bottom) {height:auto!important;max-height:none!important;white-space:normal!important}
body.s6-has-master-header :is(.s6tp-foot,.s6tp-card-bottom,.s6tp-heading) {flex-wrap:wrap}
body.s6-has-master-header :is(.s6tp-foot,.s6tp-card-bottom) > :is(button,a) {flex:1 1 min(100%,8rem);min-height:44px}
body.s6-has-master-header :is(.s6tp-steptext,.s6tp-stepno,.footer-col a,.s6m-mobile-nav a) {white-space:normal!important;overflow-wrap:anywhere}
body.s6-has-master-header :is(.s6tp-launch,.s6tp-launch>button) {max-width:calc(100vw - 90px);min-width:0}
body.s6-has-master-header .s6tp-launch-copy {min-width:0;overflow-wrap:anywhere;text-align:start}
body.s6-has-master-header .s6tp-launch-icon {flex:none}
body.s6-page-internal #miniHeader .mini-header-inner {flex-wrap:wrap;min-width:0}
body.s6-page-internal #miniHeader .mini-header-title {white-space:normal;overflow-wrap:anywhere;overflow:visible}
body.s6-page-internal #miniHeader .s6-purchase-now {flex:0 1 auto!important;white-space:normal!important;overflow-wrap:anywhere;max-width:100%}
@media(max-width:767px){
 body.s6-has-master-header :is(.uae-card-actions,.card-actions) > :is(a,button) {min-height:44px}
 body.s6-has-master-header :is(.s6-transfer-options,.quick-info-row) {grid-template-columns:minmax(0,1fr)}
 body.s6-has-master-header :is(.hero-search,.search-bar) {flex-wrap:wrap;min-height:0;height:auto;max-height:none}
 body.s6-has-master-header :is(.hero-search,.search-bar) input {flex:1 1 10rem;min-width:0;max-width:100%}
 body.s6-has-master-header .s6tp-step {gap:4px}
}
@media(max-width:420px){
 body.s6-has-master-header .ticket-row {grid-template-columns:minmax(0,1fr) auto!important;gap:8px}
 body.s6-page-internal .mobile-book-bar .mobile-book-lower {flex-wrap:wrap}
 body.s6-page-internal .mobile-book-bar .mobile-book-actions {flex:1 1 12rem;flex-wrap:wrap}
 body.s6-page-internal .mobile-book-bar .mobile-book-actions .btn {flex:1 1 5.5rem!important;white-space:normal!important;overflow-wrap:anywhere}
}

/* Native selects stay bounded by available header space; selected text can use
   its intrinsic width on engines supporting field-sizing. */
#s6HeaderSwitchers {min-width:0;max-width:100%;flex:0 1 auto}
#s6HeaderSwitchers .harbor-choice,#s6HeaderMobileSwitchers .harbor-choice {width:auto;min-width:0;max-width:min(100%,11rem);field-sizing:content;flex:0 1 auto}
@media(max-width:1100px){#s6HeaderSwitchers .harbor-choice{max-width:min(100%,9rem)}}
@media(max-width:899px){
 body.s6-page-internal.s6-detail-smart-visible{padding-bottom:var(--r23-mobile-dock-height,114px)!important}
 body.s6-page-internal.s6-detail-smart-visible .s6tp-launch{bottom:calc(var(--r23-mobile-dock-height,114px) + 12px)!important}
 body.s6-page-internal.s6-detail-smart-visible .wa-fab{bottom:calc(var(--r23-mobile-dock-height,114px) + 12px)!important}
}


/* R26: cleaner language/currency controls + broader responsive spacing safeguards. */
#s6HeaderSwitchers,#s6HeaderMobileSwitchers{align-items:center;gap:10px;row-gap:8px}
#s6HeaderSwitchers .harbor-choice,#s6HeaderMobileSwitchers .harbor-choice{max-width:min(100%,10rem);min-height:44px;padding-inline:14px 36px}
.s6-master-header .s6m-controls,.s6-master-header .s6m-right{min-width:0;max-width:100%}
.s6-master-header .s6m-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.s6-master-header .s6m-right{gap:10px 12px;flex-wrap:wrap}
body.s6-has-master-header :is(.btn,.s6m-nav-link,.s6m-mobile-nav a,.harbor-choice,.chip,.payment-option,.s6-transfer-choice,.ticket-row,.confidence-row,.quick-info-row){min-width:0}
body.s6-has-master-header :is(.btn,.s6-paylater-cta,.s6m-nav-link,.s6m-mobile-nav a){display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:normal!important;text-align:center}
body.s6-has-master-header :is(.hero-search,.search-bar,.form-grid,.summary,.stack,.ticket-row,.payment-option,.s6-transfer-choice,.quick-info-row,.confidence-row,.s6tp-step,.s6tp-card-bottom,.s6tp-foot,.s6-home-card-bottom,.s6-universal-bottom){gap:clamp(8px,1.4vw,14px)}
body.s6-has-master-header :is(.hero-search,.search-bar,.form-grid,.summary,.stack,.ticket-row,.payment-option,.s6-transfer-choice,.quick-info-row,.confidence-row,.s6tp-step,.s6tp-card-bottom,.s6tp-foot,.s6-home-card-bottom,.s6-universal-bottom) > *{min-width:0;max-width:100%}
body.s6-has-master-header :is(.uae-card-actions,.card-actions,.s6-home-card-bottom,.s6-universal-bottom,.mobile-book-actions){align-items:stretch}
body.s6-has-master-header :is(.uae-card-actions,.card-actions,.s6-home-card-bottom,.s6-universal-bottom,.mobile-book-actions) > *{min-width:0;max-width:100%}
@media(max-width:1100px){
  .s6-master-header .s6m-right{justify-content:flex-end;flex:1 1 auto}
  #s6HeaderSwitchers .harbor-choice{max-width:min(100%,9.25rem)}
}
@media(max-width:767px){
  .s6-master-header .s6m-inner{padding-inline:12px!important;gap:10px!important}
  .s6-master-header .s6m-right{width:100%;justify-content:space-between;gap:10px}
  .s6-master-header .s6m-controls{margin-left:auto;gap:8px}
  #s6HeaderMobileSwitchers{width:100%}
  #s6HeaderMobileSwitchers .harbor-choice{flex:1 1 calc(50% - 6px);max-width:none;width:100%}
  body.s6-has-master-header :is(.btn,.s6-paylater-cta,.s6-purchase-now){min-height:44px}
}
@media(max-width:480px){
  .s6-master-header .s6m-brand{max-width:calc(100vw - 108px)}
  .s6-master-header .s6m-controls{width:auto}
  #s6HeaderMobileSwitchers .harbor-choice{flex:1 1 100%}
  body.s6-has-master-header :is(.uae-card-actions,.card-actions,.mobile-book-actions){display:grid!important;grid-template-columns:minmax(0,1fr)!important}
}
