/* Birthday Yacht Party Abu Dhabi – app-style mobile menu + bottom app bar. @author Mohammed Zaki */
.yba-drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; visibility: hidden; }
.yba-dr-panel { position: absolute; inset: 0; overflow-y: auto; padding: 18px 18px 120px; background: radial-gradient(120% 70% at 100% 0%, var(--yba-em-2), var(--yba-em) 60%); color: #e1ece8;
	clip-path: circle(0 at var(--ox, 90%) var(--oy, 40px)); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1), visibility 0s .55s; }
.yba-dr-open .yba-drawer { pointer-events: auto; visibility: visible; }
.yba-dr-open .yba-dr-panel { clip-path: circle(150% at var(--ox, 90%) var(--oy, 40px)); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1); }
.yba-dr-open, .yba-dr-open body { overflow: hidden; }
.yba-dr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.yba-dr-top .yba-wordmark { color: #fff; }
.yba-dr-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(241, 226, 189, .35); background: rgba(251, 247, 239, .06); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.yba-langs { display: flex; gap: 8px; margin: 6px 0 16px; flex-wrap: wrap; }
.yba-langs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(241, 226, 189, .3); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.yba-langs a.on { background: var(--yba-gold); color: var(--yba-em); border-color: var(--yba-gold); }
.yba-dr-k { margin: 6px 0 10px; font-family: var(--yba-serif); font-size: 26px; color: var(--yba-gold-l); }
.yba-dr-occ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.yba-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; padding: 10px 6px; border-radius: 18px; background: rgba(251, 247, 239, .07); border: 1px solid rgba(241, 226, 189, .18); color: #fff; text-decoration: none; text-align: center;
	opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .4s, transform .4s; }
.yba-dr-open .yba-tile { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.yba-tile-num { font-family: var(--yba-serif); font-size: 36px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--yba-gold-l); }
.yba-tile-ic { color: var(--yba-gold-l); }
.yba-tile-ic .yba-i { width: 30px; height: 30px; }
.yba-tile b { font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.yba-dr-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; margin: 18px 0; }
.yba-dr-links a { padding: 11px 4px; color: #e1ece8; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(241, 226, 189, .12); }
.yba-dr-links a.on { color: var(--yba-gold-l); }
.yba-dr-foot { display: grid; gap: 10px; }
.yba-dr-call { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; padding: 8px; }

.yba-appbar { display: none; }
@media (max-width: 900px) {
	body.yba-has-appbar { padding-bottom: 76px; }
	.yba-appbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 64px; padding: 0 6px; border-radius: 22px;
		background: rgba(13, 58, 53, .96); backdrop-filter: blur(10px); box-shadow: 0 14px 34px -12px rgba(9, 40, 36, .7); border: 1px solid rgba(241, 226, 189, .2); transition: transform .35s ease; }
	.yba-appbar.is-hidden { transform: translateY(calc(100% + 24px)); }
	.yba-dr-open .yba-appbar { transform: none; z-index: 130; }
	.yba-appbar > a, .yba-appbar > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; color: #c6d9d2; text-decoration: none; font-size: 11px; font-weight: 700; background: none; border: 0; cursor: pointer; font-family: var(--yba-sans); }
	.yba-appbar .yba-i { width: 22px; height: 22px; }
	.yba-appbar a.on { color: var(--yba-gold-l); }
	.yba-ab-wa span { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 50%; background: var(--yba-wa); color: #fff; box-shadow: 0 10px 22px -8px rgba(31, 174, 91, .9); border: 4px solid var(--yba-ivory); }
	.yba-ab-wa .yba-wa-i { width: 28px; height: 28px; }
	.yba-yp-sticky { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: fixed; z-index: 85; left: 10px; right: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); padding: 10px 12px 10px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--yba-gold); box-shadow: var(--yba-shadow); }
	.yba-yp-sticky b { display: block; font-family: var(--yba-serif); font-size: 22px; color: var(--yba-em); line-height: 1.1; }
	.yba-yp-sticky small { font-size: 12px; color: var(--yba-muted); }
	.single-yba_yacht .yba-fbody { padding-bottom: 180px; }
}

/* ==========================================================================
   1.0.2 - responsive fixes (owner iPhone review): header (logo left, language + call + menu right), Kadence list
   indent, card chips, compact filters, hero overflow, hero slideshow, home yacht slider, logo plate, app bar clearance.
   ========================================================================== */
html { scroll-padding-top: calc(var(--yba-head-h) + 14px); }
html, body { overflow-x: clip; }
/* Kadence ".single-content ul { padding-left: 2em }" indented every theme list (cards, stats ...). */
.single-content :is(ul, ol)[class*="yba-"], .entry-content :is(ul, ol)[class*="yba-"] { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.single-content .yba-chips li, .single-content .yba-stats li { margin: 0; }

/* Header: logo at the start, language pill + call + menu together at the end (mirrored in RTL). */
.yba-head-end { margin-inline-start: auto; flex: none; }
.yba-nav-menu + .yba-head-end { margin-inline-start: 0; }
.yba-lsel-btn { min-height: 40px; box-shadow: inset 0 0 0 1px rgba(195, 154, 78, .45); }
.yba-header.is-over:not(.is-solid) .yba-lsel-btn { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.yba-header.is-over:not(.is-solid) .yba-head-call { border-color: rgba(255, 255, 255, .5); }
@media (max-width: 1080px) {
	.yba-head-end .yba-lsel { display: block; }
	.yba-nav { gap: 10px; }
	.yba-logo { min-width: 0; flex: 0 1 auto; }
	.yba-head-end { gap: 6px; }
	.yba-lsel-btn { padding: 0 9px; gap: 4px; height: 40px; }
	.yba-lsel-btn span { display: none; }
	.yba-head-call { width: 40px; height: 40px; }
	.yba-burger { width: 42px; height: 42px; padding: 10px 9px; margin-inline-end: -6px; }
}

/* Logo image (uploaded PNG, black + gold text): plain on the light header, on a cream plate on dark green. */
.yba-logo img.yba-logo-img { display: block; height: 52px; max-height: none; width: auto; max-width: 250px; object-fit: contain; }
.yba-header.is-over:not(.is-solid) .yba-logo img.yba-logo-img,
.yba-footer .yba-logo img.yba-logo-img,
.yba-drawer .yba-logo img.yba-logo-img { box-sizing: content-box; padding: 5px 12px; border-radius: 14px; background: rgba(251, 247, 239, .96); box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .55); }
.yba-header.is-over:not(.is-solid) .yba-logo img.yba-logo-img { height: 44px; }
.yba-footer .yba-logo img.yba-logo-img { height: 56px; }
@media (max-width: 900px) {
	.yba-logo img.yba-logo-img { height: 42px; max-width: min(190px, calc(100vw - 196px)); }
	.yba-header.is-over:not(.is-solid) .yba-logo img.yba-logo-img, .yba-drawer .yba-logo img.yba-logo-img { height: 34px; padding: 4px 9px; border-radius: 11px; }
}

/* Card chips: full width, never truncated / broken mid-word, 2 columns on narrow cards, 3 on wide cards. */
.yba-card { container-type: inline-size; }
.yba-card ul.yba-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 !important; padding: 0 !important; }
.yba-chips li { min-height: 40px; padding: 7px 9px; line-height: 1.25; }
.yba-chips li span { min-width: 0; overflow: visible; white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.yba-chips .yba-i { flex: none; }
@container (min-width: 400px) { .yba-card ul.yba-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.yba-card-paybtns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 0; min-height: 0; }
.yba-pill-tabby, .yba-pill-tamara { min-width: 0; padding: 4px 8px; gap: 5px; font-size: 12.5px; white-space: normal; text-align: center; line-height: 1.15; }
.yba-pill-tabby b, .yba-pill-tamara b { white-space: nowrap; }
html[dir="rtl"] .yba-pill-tabby { direction: ltr; }
@container (max-width: 300px) { .yba-card-paybtns, .yba-card .yba-card-btns { grid-template-columns: minmax(0, 1fr) !important; } }

/* Fleet filters: compact card, label above, pills wrap, count right under. */
.yba-filters { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 14px 30px; margin: 0 0 26px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--yba-line); box-shadow: 0 12px 30px -22px rgba(13, 58, 53, .45); }
.yba-fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; max-width: 100%; overflow: visible; padding: 0; }
.yba-fgroup > span { flex: 0 0 100%; margin: 0 0 2px; font-size: 11.5px; white-space: nowrap; }
html[lang^="ar"] .yba-fgroup > span { font-size: 13px; }
.yba-filters .yba-fbtn { flex: none; min-height: 40px; margin: 0; padding: 8px 14px; white-space: nowrap; box-shadow: none; line-height: 1.2; text-transform: none; }
.yba-filters .yba-fbtn:hover, .yba-filters .yba-fbtn:focus { background: #fff; color: var(--yba-em); border-color: var(--yba-gold); }
.yba-filters .yba-fbtn.on, .yba-filters .yba-fbtn.on:hover { background: var(--yba-em); color: #fff; border-color: var(--yba-em); }
.yba-fcount { flex: 0 0 100%; width: auto; text-align: start; }
@media (min-width: 1000px) { .yba-fcount { flex: 1 1 auto; text-align: end; align-self: flex-end; padding-bottom: 10px; } }

/* Stats: balanced 6 tiles (6 / 3 + 3 / 2 + 2 + 2). */
.yba-stats li { min-width: 0; }

/* Hero: nothing wider than the screen on phones. */
.yba-hero-in > * { min-width: 0; }
.yba-hero .yba-kicker { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 600px) {
	.yba-hero .yba-kicker { letter-spacing: .14em; font-size: 11.5px; }
	.yba-hero h1 { font-size: clamp(34px, 10.5vw, 44px); }
	.yba-hero .yba-price-chip { max-width: 100%; }
}

/* Home hero slideshow. */
.yba-slides .yba-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.yba-slides .yba-slide:not(:first-child) { display: none; }
.yba-slides.is-live .yba-slide { display: block; }
.yba-slides .yba-slide.is-on { opacity: 1; }
.yba-slides .yba-slide img { animation: none; transform: scale(1.04); }
.yba-slides .yba-slide.is-on img { animation: yba-kb 7s ease-out both; }
.yba-slides .yba-slide:first-child.is-on img { animation-name: yba-zoom; animation-duration: 12s; }
@keyframes yba-kb { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.yba-hero-dots { position: absolute; z-index: 3; top: calc(var(--yba-head-h) + 14px); inset-inline-end: max(16px, calc((100vw - var(--yba-wrap, 1200px)) / 2)); display: flex; gap: 2px; }
.yba-hero-dots button { position: relative; width: 28px; height: 28px; min-height: 0; padding: 0; border: 0; background: none; cursor: pointer; box-shadow: none; }
.yba-hero-dots button::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: width .3s, margin .3s, background .3s; }
.yba-hero-dots button[aria-current="true"]::after { width: 22px; margin-left: -11px; background: var(--yba-gold-l); }
.yba-hero-dots button:hover, .yba-hero-dots button:focus { background: none; }

/* Home yacht slider: scroll-snap track, peeking next card, arrows + progress. */
.yba-slider { position: relative; }
.yba-grid.yba-grid-slider { display: flex; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 2px 26px; margin: -10px -2px 0; }
.yba-grid-slider::-webkit-scrollbar { display: none; }
.yba-grid-slider:focus-visible { outline: 2px solid var(--yba-gold); outline-offset: 4px; }
.yba-grid-slider > .yba-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
.yba-sl-nav { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.yba-sl-arr { flex: none; display: grid; place-items: center; width: 46px; height: 46px; min-height: 0; padding: 0; border-radius: 50%; border: 1px solid var(--yba-line); background: #fff; color: var(--yba-em); cursor: pointer; box-shadow: 0 8px 20px -12px rgba(13, 58, 53, .45); transition: .2s; }
.yba-sl-arr svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .yba-sl-arr svg { transform: scaleX(-1); }
.yba-sl-arr:hover:not(:disabled), .yba-sl-arr:focus-visible { background: var(--yba-em); color: var(--yba-gold-l); border-color: var(--yba-em); }
.yba-sl-arr:disabled, .yba-sl-arr:disabled:hover { opacity: .35; cursor: default; background: #fff; color: var(--yba-em); }
.yba-sl-bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--yba-line); overflow: hidden; }
.yba-sl-bar i { position: absolute; top: 0; bottom: 0; inset-inline-start: calc(var(--p, 0) * (100% - var(--v, .3) * 100%)); width: calc(var(--v, .3) * 100%); border-radius: 4px; background: var(--yba-gold); transition: inset-inline-start .15s linear; }
.yba-slider.is-static .yba-sl-nav { display: none; }
.yba-sl-all { margin: 22px 0 0 !important; text-align: center; }
@media (max-width: 1180px) { .yba-grid-slider > .yba-card { flex-basis: calc((100% - 22px) / 2.15); } }
@media (max-width: 900px) {
	.yba-grid.yba-grid-slider { gap: 14px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
	.yba-sl-arr { display: none; }
}
@media (max-width: 760px) { .yba-grid-slider > .yba-card { flex-basis: min(86%, 380px); } }

/* Bottom app bar: the footer reserves the room - no cream band under it; plugin chat bubbles hidden on phones. */
@media (max-width: 900px) {
	body.yba-has-appbar { padding-bottom: 0; }
	body.yba-has-appbar .yba-fbody { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
	body.yba-has-appbar.single-yba_yacht .yba-fbody { padding-bottom: calc(190px + env(safe-area-inset-bottom)); }
	.yba-has-appbar :is(.joinchat, #ht-ctc-chat, .ht-ctc, .wa__btn_popup, .wa__popup_chat_box, #whatsapp-button, .qlwapp, .ccw_plugin, .float-whatsapp) { display: none !important; }
}
@media (max-width: 380px) {
	.yba-wrap { width: calc(100% - 28px); }
	.yba-wordmark { font-size: 18px; gap: 6px; }
	.yba-wordmark small { font-size: 9px; letter-spacing: .2em; }
	.yba-wordmark .yba-wm-b { width: 24px; height: 31px; }
	.yba-head-end { gap: 4px; }
	.yba-lsel-btn { padding: 0 7px; }
	.yba-head-call { width: 38px; height: 38px; }
	.yba-filters { padding: 14px; }
	.yba-filters .yba-fbtn { padding: 8px 11px; font-size: 13px; }
	.yba-card-body { padding: 16px 14px 16px; }
	.yba-chips li { padding: 7px; gap: 5px; font-size: 12px; }
	.yba-grid.yba-grid-slider { margin-inline: -14px; padding-inline: 14px; scroll-padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.yba-slides .yba-slide, .yba-slides .yba-slide img { transition: none; animation: none !important; transform: none; }
}
/* Kadence ".single-content { margin-top: 2rem }" left a cream band above the hero. */
.yba-site .entry-content.single-content, .yba-site .single-content { margin-top: 0; }
.yba-pill-tabby, .yba-pill-tamara, .yba-chips li, .yba-fbtn { word-break: normal; overflow-wrap: normal; }
/* Equal-height cards: chips stay under the title, price + pay pills + buttons sit together at the bottom. */
.yba-card .yba-card-price { margin-top: auto; padding-top: 4px; }

/* ==========================================================================
   1.0.3 - lighter hero overlay (photos visible, dark only behind the text) + compact birthday yacht card.
   ========================================================================== */
.yba-hero::after {
	background:
		linear-gradient(180deg, rgba(9, 40, 36, .5) 0%, rgba(9, 40, 36, 0) 22%, rgba(9, 40, 36, 0) 70%, rgba(9, 40, 36, .55) 92%, rgba(9, 40, 36, .8) 100%),
		linear-gradient(var(--yba-hero-dir, 90deg), rgba(9, 40, 36, .76) 0%, rgba(9, 40, 36, .52) 36%, rgba(9, 40, 36, .12) 62%, rgba(9, 40, 36, 0) 78%);
}
html[dir="rtl"] .yba-hero { --yba-hero-dir: 270deg; }
.yba-hero h1, .yba-hero-sub, .yba-hero .yba-kicker { text-shadow: 0 2px 18px rgba(4, 22, 20, .6), 0 1px 3px rgba(4, 22, 20, .45); }
.yba-hero .yba-price-chip { background: rgba(9, 40, 36, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 900px) {
	.yba-hero::after { background: linear-gradient(180deg, rgba(9, 40, 36, .55) 0%, rgba(9, 40, 36, .05) 18%, rgba(9, 40, 36, .1) 30%, rgba(9, 40, 36, .52) 50%, rgba(9, 40, 36, .8) 76%, rgba(9, 40, 36, .93) 100%); }
}

/* Compact card */
.yba-card-media { aspect-ratio: 16 / 10; }
@media (min-width: 901px) { .yba-card-media { aspect-ratio: 16 / 9; } }
.yba-card-media img { width: 100%; height: 100%; object-fit: cover; }
.yba-card .yba-card-body { padding: 14px 16px 16px; gap: 10px; }
.yba-card .yba-card-title { margin: 0; font-size: 25px; line-height: 1.1; }
.yba-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.single-content ul.yba-badges, ul.yba-badges { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 !important; padding: 0 !important; }
.yba-badges li { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 28px; margin: 0; padding: 0 8px 0 3px; border-radius: 999px; background: var(--yba-ivory); border: 1px solid var(--yba-line); font: 700 12px/1 var(--yba-sans); color: var(--yba-em); white-space: nowrap; }
.yba-badges li:not(:has(span[aria-hidden])) { padding: 0; border-color: transparent; background: none; }
.yba-badges i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); color: var(--fg); flex: none; }
.yba-badges .yba-i { width: 14px; height: 14px; }
.yba-badges .c-gold { --bg: #f6ead0; --fg: #9a7330; }
.yba-badges .c-em { --bg: #dcebe7; --fg: #0d3a35; }
.yba-badges .c-rose { --bg: #fbe4e4; --fg: #c0545a; }
.yba-card-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: auto; }
.yba-card .yba-card-row .yba-card-price { margin: 0; padding: 0; font-size: 12px; }
.yba-card .yba-card-row .yba-card-price b { font-size: 27px; }
.yba-card-paybtns.is-mini { display: flex; flex-wrap: wrap; gap: 5px; margin-inline-start: auto; }
.yba-card-paybtns.is-mini .yba-pill-tabby, .yba-card-paybtns.is-mini .yba-pill-tamara { min-height: 28px; padding: 0 9px; gap: 4px; font-size: 11px; white-space: nowrap; }
.yba-card-paybtns.is-mini b { font-size: 12px; }
.yba-card .yba-card-btns .yba-btn { min-height: 42px; }
@media (max-width: 600px) { .yba-badges li { padding-inline-end: 7px; font-size: 11.5px; gap: 3px; } }
@media (max-width: 380px) { .yba-card .yba-card-body { padding: 12px 13px 14px; } }
.yba-card .yba-card-btns:not(.is-one) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.yba-card .yba-card-btns .yba-btn { padding-left: 8px; padding-right: 8px; gap: 6px; }
@container (max-width: 250px) { .yba-card .yba-card-btns:not(.is-one) { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 760px) { .yba-grid-slider > .yba-card { flex-basis: min(90%, 380px); } }

/* ==========================================================================
   1.0.4 – swipeable photo gallery on every yacht card + share button / sheet.
   ========================================================================== */
.yba-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 901px) { .yba-card-media { aspect-ratio: 16 / 9; } }
.yba-cg-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.yba-cg-track::-webkit-scrollbar { display: none; }
.yba-cg-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #0d3a35; }
.yba-card-media .yba-cg-slide img, .yba-card-media .yba-cg-slide .yba-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yba-card:hover .yba-card-media img { transform: none; }
.yba-card-media > span, .yba-card-media > .yba-share, .yba-card-media > .yba-cg-arr { z-index: 3; }
.yba-cg-arr { position: absolute; top: 50%; width: 34px; height: 34px; min-height: 0; margin-top: -17px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0d3a35; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; }
.yba-cg-arr svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.yba-cg-arr.is-prev { inset-inline-start: 10px; }
.yba-cg-arr.is-next { inset-inline-end: 10px; }
html[dir="rtl"] .yba-cg-arr svg { transform: scaleX(-1); }
.yba-cg-arr:hover, .yba-cg-arr:focus-visible { background: #fff; color: #0d3a35; transform: scale(1.06); }
.yba-card-media:hover .yba-cg-arr, .yba-cg-arr:focus-visible { opacity: 1; }
@media (hover: none) { .yba-cg-arr { opacity: .85; width: 28px; height: 28px; margin-top: -14px; } .yba-cg-arr svg { width: 14px; height: 14px; } }
.yba-cg-count { position: absolute; bottom: 12px; inset-inline-end: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 700 11.5px/1 var(--yba-sans); letter-spacing: .02em; pointer-events: none; backdrop-filter: blur(4px); }
/* share button on the photo (top corner) */
.yba-share { display: inline-grid; place-items: center; width: 36px; height: 36px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0d3a35; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); transition: transform .2s; vertical-align: middle; }
.yba-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.yba-share:hover, .yba-share:focus-visible { transform: scale(1.08); background: #fff; color: #0d3a35; }
.yba-share.is-card { position: absolute; top: 10px; inset-inline-end: 10px; }
.yba-card-media .yba-none { inset-inline-end: 54px; }
.yba-share.is-page { flex: none; width: 44px; height: 44px; background: #f6efe0; box-shadow: none; border: 1px solid rgba(13, 58, 53, .16); }
.yba-share.is-post { width: 34px; height: 34px; margin-inline-start: 8px; }
.yba-yp-titlerow { display: flex; align-items: flex-start; gap: 12px; }
.yba-yp-titlerow h1 { flex: 1; min-width: 0; }
/* share sheet */
.yba-sheet { position: fixed; inset: 0; z-index: 300; display: grid; align-items: end; justify-items: center; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); background: rgba(10, 12, 30, .45); }
.yba-sheet[hidden] { display: none; }
@media (min-width: 701px) { .yba-sheet { align-items: center; } }
.yba-sheet-box { width: 100%; max-width: 380px; padding: 16px; border-radius: 22px; background: #fff; color: #0d3a35; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); animation: yba-sheet-in .25s ease both; }
@keyframes yba-sheet-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.yba-sheet-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.yba-sheet-h b { flex: 1; min-width: 0; font: 700 15px/1.3 var(--yba-sans); }
.yba-sheet-x { width: 36px; height: 36px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: #f6efe0; color: #0d3a35; font-size: 22px; line-height: 1; cursor: pointer; }
.yba-sheet-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.yba-sheet-a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; min-height: 0; border: 0; border-radius: 14px; background: none; color: #0d3a35 !important; text-decoration: none !important; font: 600 11.5px/1.2 var(--yba-sans); text-align: center; cursor: pointer; }
.yba-sheet-a:hover, .yba-sheet-a:focus-visible { background: #f6efe0; }
.yba-sheet-a i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font: 800 18px/1 var(--yba-sans); font-style: normal; }
.yba-sheet-a.is-wa i { background: #25d366; }
.yba-sheet-a.is-fb i { background: #1877f2; }
.yba-sheet-a.is-x i { background: #111; }
.yba-sheet-a.is-tg i { background: #229ed9; }
.yba-sheet-a.is-copy i { background: #e3c27e; color: #0d3a35; }
.yba-toast { position: fixed; z-index: 310; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); padding: 10px 18px; border-radius: 999px; background: #0d3a35; color: #fff; font: 700 14px/1 var(--yba-sans); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s; }
.yba-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .yba-sheet-box { animation: none; } }

/* 1.0.5 – booking step 1: chosen yacht collapses to a summary, "Change yacht" re-opens the list */
.yba-yachts-pick.is-locked .yba-ypick { display: none; }
.yba-pick-sum { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; border: 2px solid var(--yba-gold); background: #fff; box-shadow: 0 10px 26px -16px rgba(195, 154, 78, .8); }
.yba-pick-sum[hidden], .yba-yachts-pick:not(.is-locked) .yba-pick-sum { display: none; }
.yba-pick-sum-img { flex: none; width: 112px; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--yba-em); }
.yba-pick-sum-img img, .yba-pick-sum-img .yba-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.yba-pick-sum-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yba-pick-sum-k { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yba-gold-d); }
html[lang^="ar"] .yba-pick-sum-k { letter-spacing: 0; font-size: 12px; }
.yba-pick-sum-t b { font-family: var(--yba-serif); font-size: 22px; line-height: 1.15; color: var(--yba-em); }
.yba-pick-sum-t small { font-size: 13px; color: var(--yba-muted); }
.yba-pick-sum-t em { font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--yba-gold-d); }
.yba-pick-change { flex: none; align-self: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--yba-line); color: var(--yba-em) !important; text-decoration: none !important; font-size: 13px; font-weight: 700; white-space: nowrap; }
.yba-pick-change:hover, .yba-pick-change:focus-visible { border-color: var(--yba-gold); background: var(--yba-ivory); }
@media (max-width: 480px) {
	.yba-pick-sum { flex-wrap: wrap; gap: 10px 12px; }
	.yba-pick-sum-img { width: 92px; }
	.yba-pick-change { flex: 1 1 100%; text-align: center; }
}
/* legend is floated: every block after it clears (the chosen-yacht summary now sits between legend and list) */
.yba-book legend ~ * { clear: both; }
