/* Birthday Yacht Party Dubai – responsive layout, app-style drawer and bottom app bar (≤ 900px). @author Mohammed Zaki */

.ybd-drawer, .ybd-appbar { display: none; }

@media (max-width: 1180px) {
	.ybd-menu > li > a, .ybd-sub-btn { padding: 10px 10px; font-size: 14px; }
	.ybd-stats { grid-template-columns: repeat(3, 1fr); }
	.ybd-pay { grid-template-columns: 1fr 1fr; }
	.ybd-contact { grid-template-columns: repeat(3, 1fr); }
	.ybd-fleet { grid-template-columns: repeat(2, 1fr); }
	.ybd-yp-grid, .ybd-book-form { grid-template-columns: 1fr 340px; }
}

@media (max-width: 1024px) {
	.ybd-steps { grid-template-columns: 1fr 1fr; row-gap: 30px; }
	.ybd-occ, .ybd-addons, .ybd-posts { grid-template-columns: 1fr 1fr; }
	.ybd-fgrid { grid-template-columns: 1fr 1fr; }
	.ybd-book-form, .ybd-yp-grid { grid-template-columns: 1fr; }
	.ybd-book-sum, .ybd-yp-pricebox { position: relative; top: 0; }
}

@media (max-width: 900px) {
	:root { --ybd-head-h: 64px; }
	body { font-size: 16px; }
	.ybd-nav-menu, .ybd-head-call, .ybd-wa-float { display: none; }
	.ybd-head-book { min-height: 40px; padding: 0 16px; font-size: 14px; }
	.ybd-mark { width: 36px; height: 36px; }
	.ybd-wm-t { font-size: 19px; }
	.ybd-wm-t small { font-size: 9px; letter-spacing: .26em; }
	.ybd-lsel-btn { height: 40px; padding: 0 10px; }
	.ybd-lsel-btn span { display: none; }
	.ybd-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); cursor: pointer; }
	.ybd-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; }
	.ybd-burger span:nth-child(2) { width: 70%; }
	.ybd-head-end { margin-inline-start: auto; gap: 8px; }

	.ybd-split, .ybd-calc, .ybd-fcta-box { grid-template-columns: 1fr; }
	.ybd-split { gap: 26px; }
	.ybd-fcta-box { padding: 34px 24px; }
	.ybd-gal { columns: 2; column-gap: 10px; }
	.ybd-gal-item { margin-bottom: 10px; }
	.ybd-gal-cap { opacity: 1; transform: none; font-size: 12px; padding: 22px 10px 8px; }
	.ybd-calc-in, .ybd-calc-out { padding: 24px; }
	.ybd-hero { padding-bottom: 70px; }
	.ybd-phero { min-height: 56vh; padding-bottom: 90px; }
	.ybd-fbody { padding-bottom: 130px; }
	.ybd-filters { padding: 14px; gap: 12px; }
	.ybd-fgroup { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
	.ybd-fgroup::-webkit-scrollbar { display: none; }
	.ybd-chip { flex: none; }
	.ybd-fcount { margin: 0 !important; }
	.ybd-yp-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; border-radius: 20px; transform: translateY(30px); }
	.ybd-yp-ph.is-main { grid-column: 1 / 3; grid-row: 1; }
	.ybd-yp-gal > .ybd-yp-ph:nth-child(n+4) { display: none; }
	.ybd-yp-grid { padding-top: 60px; gap: 26px; }
	.ybd-yp-specs { grid-template-columns: 1fr 1fr; }

	/* bottom app bar */
	.ybd-has-appbar { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
	.ybd-appbar { position: fixed; z-index: 95; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 64px; padding: 0 6px; border-radius: 22px; background: rgba(11, 15, 46, .95); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(243, 201, 105, .22); transition: transform .35s var(--ybd-ease); }
	.ybd-appbar.is-hidden { transform: translateY(130%); }
	.ybd-appbar > a, .ybd-appbar > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; border: 0; background: none; color: #aab0d8; text-decoration: none; font: 700 11px/1 var(--ybd-sans); cursor: pointer; }
	.ybd-appbar .ybd-i { width: 22px; height: 22px; }
	.ybd-appbar > a.on, .ybd-appbar > a:active { color: var(--ybd-gold); }
	.ybd-appbar .ybd-ab-wa { position: relative; }
	.ybd-appbar .ybd-ab-wa span { position: absolute; top: -22px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--ybd-wa); color: #05331a; box-shadow: 0 10px 26px -6px rgba(37, 211, 102, .8), 0 0 0 6px rgba(11, 15, 46, .95); }
	.ybd-appbar .ybd-ab-wa svg { width: 32px; height: 32px; }

	/* full-screen menu */
	.ybd-drawer { display: block; position: fixed; inset: 0; z-index: 120; pointer-events: none; }
	.ybd-dr-panel { position: absolute; inset: 0; overflow-y: auto; padding: 18px 18px calc(30px + env(safe-area-inset-bottom)); color: #fff; background: radial-gradient(600px 400px at 100% 0%, rgba(29, 37, 102, .95), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(255, 111, 97, .18), transparent 60%), var(--ybd-night); clip-path: circle(0 at var(--ox, 90%) var(--oy, 95%)); transition: clip-path .55s var(--ybd-ease); }
	.ybd-dr-panel > *:not(.ybd-confetti) { position: relative; z-index: 1; }
	.ybd-dr-open .ybd-drawer { pointer-events: auto; }
	.ybd-dr-open .ybd-dr-panel { clip-path: circle(150% at var(--ox, 90%) var(--oy, 95%)); }
	.ybd-dr-open, .ybd-dr-open body { overflow: hidden; }
	.ybd-dr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
	.ybd-dr-close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
	.ybd-langs { display: flex; gap: 8px; margin-bottom: 18px; }
	.ybd-langs a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; }
	.ybd-langs a.on { background: var(--ybd-btn); color: var(--ybd-night); }
	.ybd-dr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.ybd-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(243, 201, 105, .18); color: #fff; text-decoration: none; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ybd-ease) var(--d), transform .45s var(--ybd-ease) var(--d); }
	.ybd-dr-open .ybd-tile { opacity: 1; transform: none; }
	.ybd-tile.on { border-color: var(--ybd-gold); background: rgba(243, 201, 105, .12); }
	.ybd-tile-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: var(--ybd-btn); color: var(--ybd-night); }
	.ybd-tile b { font: 700 19px/1.2 var(--ybd-serif); }
	.ybd-tile small { font-size: 12px; line-height: 1.4; color: #aab0d8; }
	.ybd-dr-h { margin: 22px 0 10px; font: 800 12px/1 var(--ybd-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ybd-gold); }
	.ybd-dr-yachts { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
	.ybd-dr-yachts::-webkit-scrollbar { display: none; }
	.ybd-dr-yachts a { flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; color: #fff; text-decoration: none; }
	.ybd-dr-yachts img, .ybd-dr-yachts .ybd-ph { width: 132px; height: 88px; min-height: 0; border-radius: 12px; object-fit: cover; margin-bottom: 4px; }
	.ybd-dr-yachts b { font: 700 16px/1.2 var(--ybd-serif); }
	.ybd-dr-yachts small { font-size: 12px; color: var(--ybd-gold); }
	.ybd-dr-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
	.ybd-dr-links a { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
	.ybd-dr-links a.on { background: var(--ybd-gold2); color: var(--ybd-night); }
	.ybd-dr-foot { display: grid; gap: 10px; }
	.ybd-dr-foot .ybd-btn { width: 100%; }
	.ybd-dr-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; color: var(--ybd-gold); text-decoration: none; font-weight: 700; }
}

@media (max-width: 600px) {
	.ybd-wrap { padding: 0 16px; }
	.ybd-hero h1 { font-size: clamp(40px, 12vw, 56px); }
	.ybd-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.ybd-stats li { padding: 18px 8px; }
	.ybd-stats li:last-child { grid-column: 1 / -1; }
	.ybd-stat-v { font-size: 30px; }
	.ybd-fleet, .ybd-occ, .ybd-addons, .ybd-posts, .ybd-sitemap, .ybd-steps, .ybd-pay, .ybd-f2, .ybd-incl, .ybd-yp-box .ybd-incl { grid-template-columns: 1fr; }
	.ybd-contact { grid-template-columns: 1fr 1fr; }
	.ybd-contact .ybd-ccard:last-child { grid-column: 1 / -1; }
	.ybd-fgrid { grid-template-columns: 1fr 1fr; gap: 26px; }
	.ybd-fbrand { grid-column: 1 / -1; }
	.ybd-fcta-stats li { padding: 14px; }
	.ybd-ctas { gap: 10px; }
	.ybd-ctas .ybd-btn { flex: 1 1 100%; }
	.ybd-price-chip { font-size: 13px; padding: 10px 14px; }
	.ybd-price-chip b { font-size: 16px; }
	.ybd-head-book { display: none; }
	.ybd-book fieldset { padding: 20px 14px; }
	.ybd-pick-grid { grid-template-columns: 1fr 1fr; }
	.ybd-q summary { font-size: 16px; padding: 16px 18px; padding-inline-end: 54px; }
	.ybd-a { padding: 0 18px 16px; }
	.ybd-lb-arr { top: auto; bottom: 20px; }
	.ybd-fpay { flex-direction: column; align-items: flex-start; }
	.ybd-card-foot { flex-wrap: wrap; }
	.ybd-yp-price b { font-size: 46px; }
	.ybd-yp-gal { grid-template-rows: 220px 110px; }
	.ybd-post-cta { padding: 26px 20px; }
	.ybd-table-wrap { margin: 0; }
}

/* ==========================================================================
   1.0.3 - responsive fixes (owner iPhone review): Kadence list indent, card chips, compact filters,
   balanced stats, hero slideshow, home yacht slider, logo sizes, header at 320 px, app bar clearance.
   ========================================================================== */
html { scroll-padding-top: calc(var(--ybd-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*="ybd-"], .entry-content :is(ul, ol)[class*="ybd-"] { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.single-content .ybd-card-chips li, .single-content .ybd-stats li { margin: 0; }

/* Card chips: full width, never truncated, 2 columns on narrow cards, 3 when the card is wide enough. */
.ybd-card { container-type: inline-size; }
.ybd-card ul.ybd-card-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 !important; padding: 0 !important; }
.ybd-card-chips li { align-items: center; min-height: 40px; padding: 7px 9px; font: 600 12.5px/1.25 var(--ybd-sans); }
.ybd-card-chips li span { overflow: visible; white-space: normal; text-overflow: clip; overflow-wrap: normal; word-break: normal; hyphens: manual; min-width: 0; }
.ybd-card-chips .ybd-i { flex: none; }
@container (min-width: 400px) { .ybd-card ul.ybd-card-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ybd-paypills > *, .ybd-cbtn { min-width: 0; }
.ybd-pill-tabby, .ybd-pill-tamara { white-space: normal; text-align: center; line-height: 1.15; padding: 4px 10px; }
@container (max-width: 300px) { .ybd-paypills, .ybd-card-btns { grid-template-columns: 1fr !important; } }

/* Fleet filters: label above, pills wrap, compact, count right under. */
.ybd-filters { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 30px; padding: 16px 18px; }
.ybd-fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; overflow: visible; width: auto; padding: 0; }
.ybd-fgroup > span { flex: 0 0 100%; margin: 0 0 2px; font: 800 11.5px/1.2 var(--ybd-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ybd-muted); white-space: nowrap; }
html[lang^="ar"] .ybd-fgroup > span { letter-spacing: 0; font-size: 13px; }
.ybd-filters .ybd-chip { flex: none; min-height: 40px; padding: 8px 14px; margin: 0; white-space: nowrap; box-shadow: none; text-transform: none; }
.ybd-filters .ybd-chip:hover, .ybd-filters .ybd-chip:focus { background: var(--ybd-ivory); color: var(--ybd-ink); border-color: var(--ybd-gold2); }
.ybd-filters .ybd-chip.on, .ybd-filters .ybd-chip.on:hover { background: var(--ybd-night); border-color: var(--ybd-night); color: var(--ybd-gold); }
.ybd-fcount { flex: 0 0 100%; margin: 0 !important; align-self: center; }
@media (min-width: 1000px) { .ybd-fcount { flex: 1 1 auto; text-align: end; align-self: flex-end; padding-bottom: 10px; } }

/* Stats: 5 equal tiles, balanced rows on tablet (3 + 2 centred) and phone (2 + 2 + 1 wide). */
.ybd-stats li { min-width: 0; }
.ybd-stat-l { line-height: 1.35; }
@media (max-width: 1180px) and (min-width: 601px) {
	.ybd-stats { grid-template-columns: repeat(6, 1fr); }
	.ybd-stats li { grid-column: span 2; }
	.ybd-stats li:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 600px) {
	.ybd-stats li:last-child { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; text-align: start; padding: 16px 18px; }
	.ybd-stats li:last-child .ybd-stat-l { max-width: 190px; }
}

/* Home hero slideshow. */
.ybd-slides .ybd-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.ybd-slides .ybd-slide:not(:first-child) { display: none; }
.ybd-slides.is-live .ybd-slide { display: block; }
.ybd-slides .ybd-slide.is-on { opacity: 1; }
.ybd-slides .ybd-slide img { animation: none; transform: scale(1.04); }
.ybd-slides .ybd-slide.is-on img { animation: ybd-kb 7s ease-out both; }
.ybd-slides .ybd-slide:first-child.is-on img { animation-name: ybd-zoom; animation-duration: 9s; }
@keyframes ybd-kb { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.ybd-hero-dots { position: absolute; z-index: 3; bottom: 30px; inset-inline-end: max(24px, calc((100vw - 1240px) / 2 + 24px)); display: flex; gap: 2px; }
.ybd-hero-dots button { position: relative; width: 28px; height: 28px; min-height: 0; padding: 0; border: 0; background: none; cursor: pointer; box-shadow: none; }
.ybd-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, .45); transition: width .3s, margin .3s, background .3s; }
.ybd-hero-dots button[aria-current="true"]::after { width: 22px; margin-left: -11px; background: var(--ybd-gold); }
.ybd-hero-dots button:hover, .ybd-hero-dots button:focus { background: none; }

/* Home yacht slider: scroll-snap track, peeking next card, arrows + progress. */
.ybd-slider { position: relative; z-index: 1; }
.ybd-fleet.ybd-fleet-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; }
.ybd-fleet-slider::-webkit-scrollbar { display: none; }
.ybd-fleet-slider:focus-visible { outline: 2px solid var(--ybd-gold2); outline-offset: 4px; }
.ybd-fleet-slider > .ybd-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
.ybd-fleet-slider > .ybd-card:hover { transform: translateY(-4px); }
.ybd-sl-nav { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.ybd-sl-arr { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--ybd-line); background: #fff; color: var(--ybd-ink); cursor: pointer; box-shadow: 0 8px 20px -12px rgba(11, 15, 46, .45); transition: .2s; }
.ybd-sl-arr svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .ybd-sl-arr svg { transform: scaleX(-1); }
.ybd-sl-arr:hover:not(:disabled), .ybd-sl-arr:focus-visible { background: var(--ybd-night); color: var(--ybd-gold); border-color: var(--ybd-night); }
.ybd-sl-arr:disabled, .ybd-sl-arr:disabled:hover { opacity: .35; cursor: default; background: #fff; color: var(--ybd-ink); }
.ybd-sl-bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--ybd-line); overflow: hidden; }
.ybd-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(--ybd-btn); transition: inset-inline-start .15s linear; }
.ybd-slider.is-static .ybd-sl-nav { display: none; }
.ybd-sl-all { margin: 22px 0 0 !important; text-align: center; }
.ybd-dark .ybd-sl-bar { background: rgba(255, 255, 255, .15); }
@media (max-width: 1180px) { .ybd-fleet-slider > .ybd-card { flex-basis: calc((100% - 22px) / 2.15); } }
@media (max-width: 900px) {
	.ybd-fleet.ybd-fleet-slider { gap: 14px; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
	.ybd-sl-arr { display: none; }
	.ybd-sl-nav { padding: 0 2px; }
}
@media (max-width: 760px) { .ybd-fleet-slider > .ybd-card { flex-basis: min(86%, 380px); } }
@media (max-width: 600px) { .ybd-fleet.ybd-fleet-slider { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } }

/* Logo image (uploaded PNG): readable size in header, drawer and footer. */
.ybd-logo img.ybd-logo-img { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }
html[dir="rtl"] .ybd-logo img.ybd-logo-img { object-position: right center; }
.ybd-footer .ybd-logo img.ybd-logo-img { height: 60px; max-width: 260px; }
@media (max-width: 900px) {
	.ybd-logo { min-width: 0; flex: 0 1 auto; }
	.ybd-logo img.ybd-logo-img { height: 42px; max-width: min(200px, calc(100vw - 168px)); }
	.ybd-head-end { flex: none; }
	.ybd-nav { gap: 10px; }
	/* clear the floating app bar (+ the raised WhatsApp button) at the end of every page */
	.ybd-has-appbar { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
	/* chat bubbles of plugins would sit on the app bar - the app bar already has WhatsApp + Call */
	.ybd-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) {
	.ybd-wrap { padding: 0 14px; }
	.ybd-mark { width: 30px; height: 30px; }
	.ybd-wordmark { gap: 7px; }
	.ybd-wm-t { font-size: 16.5px; }
	.ybd-wm-t small { font-size: 8px; letter-spacing: .2em; }
	.ybd-head-end { gap: 6px; }
	.ybd-lsel-btn { padding: 0 8px; }
	.ybd-burger { width: 40px; height: 40px; }
	.ybd-logo img.ybd-logo-img { height: 38px; max-width: calc(100vw - 150px); }
	.ybd-filters { padding: 14px; }
	.ybd-filters .ybd-chip { padding: 8px 11px; font-size: 13px; }
	.ybd-card-body { padding: 16px 14px 4px; }
	.ybd-card-foot { padding: 12px 14px 16px; }
	.ybd-card-chips li { padding: 7px; gap: 5px; font-size: 12px; }
	.ybd-fleet.ybd-fleet-slider { margin-inline: -14px; padding-inline: 14px; scroll-padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.ybd-slides .ybd-slide, .ybd-slides .ybd-slide img { transition: none; animation: none !important; transform: none; }
}
.ybd-pill-tabby, .ybd-pill-tamara { gap: 5px; padding: 4px 8px; font-size: 12.5px; }
.ybd-pill-tabby b, .ybd-pill-tamara b { white-space: nowrap; }
.ybd-fcta-stats b { white-space: nowrap; }
@media (max-width: 900px) {
	.ybd-hero-dots { top: calc(var(--ybd-head-h) + 10px); bottom: auto; inset-inline-end: 12px; }
}
@media (max-width: 600px) {
	.ybd-fcta-stats b { font-size: clamp(22px, 6.4vw, 28px); }
}
.ybd-pill-tabby > span, .ybd-paybadge { unicode-bidi: isolate; }
html[dir="rtl"] .ybd-pill-tabby > span { direction: ltr; }
.ybd-pill-tabby > span { white-space: nowrap; }
@media (max-width: 900px) {
	/* the footer body already reserves room for the app bar - no ivory band under the footer */
	body.ybd-has-appbar { padding-bottom: 0; }
	body.ybd-has-appbar .ybd-fbody { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   1.0.4 - lighter hero overlay (photos visible, dark only behind the text) + compact birthday yacht card.
   ========================================================================== */
.ybd-hero::after, html[dir="rtl"] .ybd-hero::after {
	background:
		linear-gradient(180deg, rgba(11, 15, 46, .5) 0%, rgba(11, 15, 46, 0) 22%, rgba(11, 15, 46, 0) 80%, rgba(11, 15, 46, .55) 94%, var(--ybd-night) 100%),
		linear-gradient(var(--ybd-hero-dir, 90deg), rgba(11, 15, 46, .74) 0%, rgba(11, 15, 46, .5) 34%, rgba(11, 15, 46, .12) 60%, rgba(11, 15, 46, 0) 76%);
}
html[dir="rtl"] .ybd-hero { --ybd-hero-dir: 270deg; }
.ybd-hero .ybd-confetti { opacity: .35; }
.ybd-hero h1, .ybd-hero-sub, .ybd-hero .ybd-kicker { text-shadow: 0 2px 18px rgba(6, 8, 30, .55), 0 1px 3px rgba(6, 8, 30, .45); }
.ybd-hero h1 em { text-shadow: none; filter: drop-shadow(0 2px 10px rgba(6, 8, 30, .5)); }
.ybd-hero .ybd-price-chip { background: rgba(11, 15, 46, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 900px) {
	.ybd-hero::after, html[dir="rtl"] .ybd-hero::after {
		background: linear-gradient(180deg, rgba(11, 15, 46, .55) 0%, rgba(11, 15, 46, .05) 18%, rgba(11, 15, 46, .08) 32%, rgba(11, 15, 46, .5) 52%, rgba(11, 15, 46, .78) 78%, rgba(11, 15, 46, .92) 100%);
	}
}

/* Compact card: shorter photo, one row of festive icon badges, price + pay pills on one row, 2 buttons. */
.ybd-card-media { aspect-ratio: 16 / 10; }
.ybd-card-body { padding: 14px 16px 2px; }
.ybd-card .ybd-card-title { margin: 0 0 9px !important; font-size: 24px !important; line-height: 1.1; }
.ybd-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.ybd-badges, ul.ybd-badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 !important; padding: 0 !important; }
.ybd-badges li { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 30px; margin: 0; padding: 0 9px 0 3px; border-radius: 999px; background: var(--ybd-ivory); border: 1px solid var(--ybd-line); font: 700 12.5px/1 var(--ybd-sans); color: var(--ybd-ink); white-space: nowrap; }
.ybd-badges li:not(:has(span[aria-hidden])) { padding-inline-end: 3px; }
.ybd-badges i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); color: var(--fg); flex: none; }
.ybd-badges .ybd-i { width: 15px; height: 15px; }
.ybd-badges .c-gold { --bg: #fdf0cf; --fg: #a8781c; }
.ybd-badges .c-coral { --bg: #ffe2de; --fg: #d9473a; }
.ybd-badges .c-teal { --bg: #d8f6f2; --fg: #16867b; }
.ybd-badges .c-violet { --bg: #ece3fd; --fg: #7552c4; }
.ybd-badges .is-req { background: transparent; border-style: dashed; color: var(--ybd-muted); }
.ybd-badges .is-req i { background: #f1f1f5; color: #8a8ea8; }
.ybd-card-req { margin: 7px 0 0 !important; font-size: 12.5px; line-height: 1.3; color: var(--ybd-muted); }
.ybd-card-foot { gap: 10px; padding: 12px 16px 16px; }
.ybd-card-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.ybd-card-row .ybd-card-price b { font-size: 27px; }
.ybd-paypills.is-mini { display: flex; flex-wrap: wrap; gap: 5px; margin-inline-start: auto; }
.ybd-paypills.is-mini .ybd-pill-tabby, .ybd-paypills.is-mini .ybd-pill-tamara { min-height: 28px; padding: 0 9px; gap: 4px; font-size: 11.5px; white-space: nowrap; }
.ybd-paypills.is-mini b { font-size: 12px; }
.ybd-paypills.is-mini .ybd-pill-tamara > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ybd-card .ybd-card-btns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px; }
.ybd-card .ybd-cbtn { min-height: 42px; font-size: 14px; }
.ybd-card .ybd-cbtn.is-wide { grid-column: 1 / -1; }
@container (max-width: 270px) { .ybd-card .ybd-cbtn { font-size: 13px; padding: 0 8px; gap: 5px; } }
@media (max-width: 380px) {
	.ybd-card-body { padding: 12px 13px 2px; }
	.ybd-card-foot { padding: 10px 13px 14px; }
	.ybd-badges li { height: 28px; font-size: 12px; }
	.ybd-badges i { width: 22px; height: 22px; }
}
.single-content ul.ybd-badges, ul.ybd-badges { gap: 4px; }
.ybd-badges li { height: 28px; gap: 4px; padding: 0 8px 0 3px; font-size: 12px; }
.ybd-badges i { width: 22px; height: 22px; }
.ybd-badges .ybd-i { width: 14px; height: 14px; }
.ybd-badges li:not(:has(span[aria-hidden])) { padding: 0 2px; }
@media (min-width: 901px) { .ybd-card-media { aspect-ratio: 16 / 9; } }
.ybd-card-row .ybd-card-price { gap: 3px; }
.ybd-card-row .ybd-card-price b { font-size: 25px; }
.ybd-card-row .ybd-card-price span, .ybd-card-row .ybd-card-price small { font-size: 11.5px; }
.ybd-paypills.is-mini .ybd-pill-tabby, .ybd-paypills.is-mini .ybd-pill-tamara { padding: 0 8px; font-size: 11px; }
.ybd-badges li:not(:has(span[aria-hidden])) { padding: 0; border-color: transparent; background: none; }
@media (max-width: 600px) { .ybd-badges li { padding-inline-end: 7px; font-size: 11.5px; gap: 3px; } }
@media (max-width: 760px) { .ybd-fleet-slider > .ybd-card { flex-basis: min(90%, 380px); } }
.ybd-extra-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 12px; background: #fff0f6; color: #7a2350; font-size: 14px; line-height: 1.45; }
.ybd-extra-note .ybd-i { flex: none; width: 18px; height: 18px; color: #d63a83; margin-top: 2px; }
.ybd-field-note.is-extra { color: #b0306f; font-weight: 600; }

/* 1.0.4 – Pink Yacht 64: decoration & cake choice (booking + calculator) and yacht page note */
.ybd-dpkg { display: grid; gap: 6px; margin: 14px 0 6px; padding: 14px; border-radius: 16px; background: #fff3f8; border: 1px solid #f5c6dc; }
.ybd-dpkg[hidden] { display: none; }
.ybd-dpkg-h { display: flex; align-items: center; gap: 6px; margin: 0 0 2px !important; font-weight: 800; color: #7a2350; }
.ybd-dpkg-h .ybd-i { width: 18px; height: 18px; color: #d63a83; }
.ybd-dpkg-o { display: flex; align-items: flex-start; gap: 9px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid #f1d3e1; color: var(--ybd-ink); font-size: 14.5px; line-height: 1.35; cursor: pointer; }
.ybd-dpkg-o input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #d63a83; }
.ybd-dpkg-o b { color: #b0306f; white-space: nowrap; }
.ybd-dpkg-o small { color: var(--ybd-muted); }
.ybd-dpkg-custom { display: grid; gap: 6px; margin-inline-start: 26px; }
.ybd-dpkg-custom[hidden] { display: none; }
.ybd-dpkg-custom small { font-size: 12.5px; color: var(--ybd-muted); }
.ybd-calc .ybd-dpkg { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.ybd-calc .ybd-dpkg-h { color: #ffd1e6; }
.ybd-calc .ybd-dpkg-o { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.ybd-calc .ybd-dpkg-o b { color: #ffb3d6; }
.ybd-calc .ybd-dpkg-o small, .ybd-calc .ybd-dpkg-custom small { color: #c9cdeb; }
.ybd-extra-note > div { min-width: 0; }
.ybd-extra-note p { margin: 0 0 6px !important; font-weight: 700; }
.ybd-extra-note .ybd-ticks { margin: 0 !important; gap: 6px; }
.ybd-extra-note .ybd-ticks li { font-size: 14px; }
.ybd-sum-total [data-sum="from"], .ybd-calc-total [data-out="from"] { font-size: .55em; font-weight: 600; }
.ybd-calc-incl[hidden], .ybd-field-note[hidden] { display: none !important; }

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