/* Birthday Yacht Party Dubai – sections, heroes, fleet cards, filters, calculator, booking, yacht pages, blog. @author Mohammed Zaki */

/* ==========================================================================
   Sections
   ========================================================================== */
.ybd-sec { position: relative; padding: clamp(64px, 9vw, 110px) 0; background: var(--ybd-ivory); }
.ybd-sec.ybd-sand { background: linear-gradient(180deg, var(--ybd-sand), #faf6ec); }
.ybd-sec.ybd-dark { background: radial-gradient(1100px 500px at 0% -10%, rgba(29, 37, 102, .9), transparent 60%), radial-gradient(800px 400px at 100% 110%, rgba(255, 111, 97, .14), transparent 60%), var(--ybd-night); color: #d8dbf3; overflow: hidden; }
.ybd-sec.ybd-dark h2, .ybd-sec.ybd-dark h3 { color: #fff; }
.ybd-sec.ybd-dark a:not(.ybd-btn):not(.ybd-card-title a):not(.ybd-gal-item):not(.ybd-post) { color: var(--ybd-gold); }
.ybd-sec h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; margin: 0 0 14px; }
.ybd-sec h3 { font-size: 24px; margin: 26px 0 8px; }
.ybd-sec p { margin: 0 0 16px; }
.ybd-head { text-align: center; max-width: 800px; margin: 0 auto 46px; position: relative; z-index: 1; }
.ybd-narrow .ybd-head { margin-bottom: 30px; }
.ybd-kicker { display: inline-flex; align-items: center; gap: 10px; font: 800 12px/1 var(--ybd-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ybd-gold-d); margin-bottom: 14px; }
html[lang^="ar"] .ybd-kicker { letter-spacing: 0; font-size: 14px; }
.ybd-kicker::before { content: ""; width: 26px; height: 8px; background: radial-gradient(circle, var(--ybd-coral) 0 3px, transparent 3.5px) 0 0/9px 8px, radial-gradient(circle, var(--ybd-teal) 0 3px, transparent 3.5px) 9px 0/9px 8px, radial-gradient(circle, var(--ybd-gold) 0 3px, transparent 3.5px) 18px 0/9px 8px; background-repeat: no-repeat; }
.ybd-dark .ybd-kicker, .ybd-hero .ybd-kicker, .ybd-phero .ybd-kicker, .ybd-fcta .ybd-kicker, .ybd-post-cta .ybd-kicker { color: var(--ybd-gold); }
.ybd-lead { font-size: 19px; color: var(--ybd-muted); margin: 0 auto; }
.ybd-dark .ybd-lead { color: #b9bde0; }
.ybd-head h2 em, .ybd-hero h1 em { font-style: italic; background: var(--ybd-goldgrad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ybd-shine 7s linear infinite; }
.ybd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ybd-split.is-media { align-items: center; }
.ybd-figure { margin: 0; border-radius: var(--ybd-r); overflow: hidden; box-shadow: var(--ybd-shadow); aspect-ratio: 4 / 3; }
.ybd-figure img, .ybd-figure .ybd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.ybd-ph { display: block; width: 100%; height: 100%; min-height: 160px; background: var(--ybd-dots), linear-gradient(135deg, var(--ybd-night3), var(--ybd-night)); background-size: 300px 200px, auto; }
.ybd-prose h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 40px 0 12px; }
.ybd-prose h3 { font-size: 24px; margin: 28px 0 8px; }
.ybd-prose ul, .ybd-prose ol { padding-inline-start: 22px; }
.ybd-prose li { margin-bottom: 6px; }
.ybd-ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ybd-ticks li { position: relative; padding-inline-start: 34px; }
.ybd-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--ybd-btn); -webkit-mask: radial-gradient(circle, #000 70%, #000 0); }
.ybd-ticks li::after { content: ""; position: absolute; inset-inline-start: 7px; top: 9px; width: 8px; height: 5px; border-inline-start: 2px solid var(--ybd-night); border-bottom: 2px solid var(--ybd-night); transform: rotate(-45deg); }
html[dir="rtl"] .ybd-ticks li::after { transform: rotate(45deg); }

/* reveal */
.ybd-js .ybd-rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ybd-ease), transform .8s var(--ybd-ease); }
.ybd-js .ybd-rv.in { opacity: 1; transform: none; }
.ybd-js .ybd-rv [style*="--i"] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ybd-ease) calc(var(--i) * 70ms), transform .6s var(--ybd-ease) calc(var(--i) * 70ms); }
.ybd-js .ybd-rv.in [style*="--i"] { opacity: 1; transform: none; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.ybd-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--ybd-head-h) + 60px) 0 90px; color: #fff; background: var(--ybd-night); overflow: hidden; }
.ybd-bg, .ybd-phero-bg { position: absolute; inset: 0; overflow: hidden; }
.ybd-bg img, .ybd-phero-bg img, .ybd-bg .ybd-ph, .ybd-phero-bg .ybd-ph { width: 100%; height: 100%; object-fit: cover; animation: ybd-zoom 14s var(--ybd-ease) both; }
.ybd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 46, .55) 0%, rgba(11, 15, 46, .15) 35%, rgba(11, 15, 46, .85) 78%, var(--ybd-night) 100%), linear-gradient(90deg, rgba(11, 15, 46, .7), transparent 65%); }
html[dir="rtl"] .ybd-hero::after { background: linear-gradient(180deg, rgba(11, 15, 46, .55) 0%, rgba(11, 15, 46, .15) 35%, rgba(11, 15, 46, .85) 78%, var(--ybd-night) 100%), linear-gradient(270deg, rgba(11, 15, 46, .7), transparent 65%); }
.ybd-hero .ybd-confetti { z-index: 1; opacity: .5; }
.ybd-hero-in { position: relative; z-index: 2; max-width: 1240px; }
.ybd-hero-in > * { animation: ybd-up .9s var(--ybd-ease) both; }
.ybd-hero-in > *:nth-child(2) { animation-delay: .1s; }
.ybd-hero-in > *:nth-child(3) { animation-delay: .2s; }
.ybd-hero-in > *:nth-child(4) { animation-delay: .3s; }
.ybd-hero-in > *:nth-child(5) { animation-delay: .4s; }
.ybd-hero h1 { margin: 0 0 18px; max-width: 820px; font-size: clamp(44px, 7vw, 92px); line-height: .98; color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
html[lang^="ar"] .ybd-hero h1 { line-height: 1.25; }
.ybd-hero-sub { max-width: 640px; font-size: clamp(17px, 2vw, 21px); color: #e3e5f7; margin: 0 0 22px; }
.ybd-price-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(11, 15, 46, .55); border: 1px solid rgba(243, 201, 105, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 15px; }
.ybd-price-chip b { font-size: 19px; background: var(--ybd-goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ybd-price-chip i { color: var(--ybd-coral); font-style: normal; }
.ybd-scroll { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 28px; height: 46px; margin-left: -14px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5); }
.ybd-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ybd-gold); animation: ybd-scroll 1.8s infinite; }
@keyframes ybd-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* inner page hero */
.ybd-phero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; padding: calc(var(--ybd-head-h) + 50px) 0 100px; color: #fff; background: var(--ybd-night); overflow: hidden; }
.ybd-phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 46, .6), rgba(11, 15, 46, .35) 40%, rgba(11, 15, 46, .92)); }
.ybd-phero .ybd-confetti { z-index: 1; opacity: .4; }
.ybd-phero.is-slim { min-height: 0; padding-bottom: 80px; background: linear-gradient(135deg, var(--ybd-night3), var(--ybd-night)); }
.ybd-phero.is-slim::after { display: none; }
.ybd-phero-in { position: relative; z-index: 2; }
.ybd-phero h1 { margin: 0 0 12px; max-width: 900px; font-size: clamp(38px, 5.4vw, 70px); line-height: 1.04; color: #fff; }
.ybd-phero-lead { max-width: 720px; font-size: 18px; color: #e3e5f7; margin: 0 0 20px; }
.ybd-phero-wave, .ybd-hero-wave { position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--ybd-ivory); }
.ybd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 14px; color: #c9cdeb; }
.ybd-crumbs a { color: #fff; text-decoration: none; }
.ybd-crumbs a:hover { color: var(--ybd-gold); }
.ybd-crumbs b { font-weight: 600; color: var(--ybd-gold); }
.ybd-post-meta { color: #c9cdeb; font-size: 15px; margin: 0; }

/* ==========================================================================
   Stats strip
   ========================================================================== */
.ybd-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.ybd-stats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 12px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(243, 201, 105, .18); }
.ybd-stats .ybd-i { width: 28px; height: 28px; color: var(--ybd-gold); }
.ybd-stat-v { font: 700 36px/1 var(--ybd-serif); color: #fff; }
.ybd-stat-v small { font: 700 14px/1 var(--ybd-sans); color: var(--ybd-gold); margin-inline-start: 3px; }
.ybd-stat-v .is-word { font-size: 30px; }
.ybd-stat-l { font-size: 13px; color: #aab0d8; }

/* ==========================================================================
   Fleet: filters + cards + table
   ========================================================================== */
.ybd-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 0 0 30px; padding: 16px 20px; border-radius: 20px; background: #fff; box-shadow: 0 12px 34px -20px rgba(11, 15, 46, .35); border: 1px solid var(--ybd-line); position: relative; z-index: 1; }
.ybd-dark .ybd-filters { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.ybd-fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ybd-fgroup > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; margin-inline-end: 4px; }
.ybd-fgroup > span .ybd-i { width: 18px; height: 18px; color: var(--ybd-gold2); }
.ybd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--ybd-line); background: var(--ybd-ivory); color: var(--ybd-ink); font: 600 14px/1.1 var(--ybd-sans); cursor: pointer; transition: .2s; }
.ybd-chip .ybd-i { width: 17px; height: 17px; color: var(--ybd-gold2); }
.ybd-chip:hover { border-color: var(--ybd-gold2); }
.ybd-chip.on { background: var(--ybd-night); border-color: var(--ybd-night); color: var(--ybd-gold); }
.ybd-chip.is-static { cursor: default; }
.ybd-dark .ybd-chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.ybd-dark .ybd-chip.on { background: var(--ybd-btn); color: var(--ybd-night); border-color: transparent; }
.ybd-fcount { margin: 0 0 0 auto !important; font-size: 14px; color: var(--ybd-muted); }
.ybd-fcount b { color: var(--ybd-ink); font-size: 16px; }
.ybd-dark .ybd-fcount, .ybd-dark .ybd-fcount b { color: #c9cdeb; }
.ybd-fempty { text-align: center; padding: 30px; }
.ybd-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ybd-fleet { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ybd-card { display: flex; flex-direction: column; border-radius: var(--ybd-r); overflow: hidden; background: #fff; color: var(--ybd-ink); box-shadow: 0 18px 44px -26px rgba(11, 15, 46, .5); border: 1px solid var(--ybd-line); transition: transform .35s var(--ybd-ease), box-shadow .35s; }
.ybd-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(11, 15, 46, .6); }
.ybd-card[hidden] { display: none; }
.ybd-card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ybd-night); }
.ybd-card-media img, .ybd-card-media .ybd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ybd-ease), opacity .5s; }
.ybd-card-media .ybd-card-alt { opacity: 0; }
.ybd-card:hover .ybd-card-media img { transform: scale(1.06); }
.ybd-card:hover .ybd-card-alt { opacity: 1; }
.ybd-card-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; z-index: 1; }
.ybd-badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: rgba(11, 15, 46, .78); color: #fff; font: 700 12px/1 var(--ybd-sans); letter-spacing: .02em; backdrop-filter: blur(6px); }
.ybd-badge.is-gold { background: var(--ybd-btn); color: var(--ybd-night); }
.ybd-badge.is-red { background: var(--ybd-coral); color: #fff; }
.ybd-booked { position: absolute; z-index: 2; inset-inline-end: 12px; top: 12px; padding: 8px 14px; border-radius: 10px; background: var(--ybd-coral); color: #fff; font: 800 13px/1 var(--ybd-sans); text-transform: uppercase; letter-spacing: .06em; transform: rotate(3deg); }
.ybd-card.is-booked .ybd-card-media img { filter: grayscale(.6) brightness(.8); }
.ybd-card-body { padding: 20px 20px 6px; flex: 1; }
.ybd-card-title { margin: 0 0 4px !important; font-size: 28px !important; line-height: 1.1; }
.ybd-card-title a { color: var(--ybd-ink); text-decoration: none; }
.ybd-card-title a:hover { color: var(--ybd-gold-d); }
.ybd-card-tag { margin: 0 0 14px !important; font-size: 14px; color: var(--ybd-muted); line-height: 1.5; }
.ybd-card-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.ybd-card-specs li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: var(--ybd-ivory); font-size: 12px; color: var(--ybd-muted); text-align: center; }
.ybd-card-specs .ybd-i { width: 19px; height: 19px; color: var(--ybd-gold2); }
.ybd-card-specs b { font-size: 15px; color: var(--ybd-ink); }
.ybd-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 20px; }
.ybd-card-price { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.ybd-card-price small { font-size: 12px; font-weight: 700; color: var(--ybd-muted); }
.ybd-card-price b { font: 700 28px/1 var(--ybd-serif); color: var(--ybd-ink); }
.ybd-card-price span { font-size: 13px; color: var(--ybd-muted); }
.ybd-card-btns { display: flex; align-items: center; gap: 6px; }
.ybd-card-btns .ybd-btn-sm { min-height: 40px; padding: 0 14px; }
.ybd-card-wa { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ybd-wa); color: #05331a; flex: none; }
.ybd-card-wa svg { width: 22px; height: 22px; }

.ybd-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--ybd-line); background: #fff; }
.ybd-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.ybd-table th { background: var(--ybd-night); color: var(--ybd-gold); text-align: start; padding: 14px 16px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.ybd-table td { padding: 13px 16px; border-top: 1px solid var(--ybd-line); }
.ybd-table tr:nth-child(even) td { background: #fdfaf3; }
.ybd-table a { font-weight: 700; color: var(--ybd-ink); }
.ybd-table tr.is-booked td { color: var(--ybd-muted); }
.ybd-table-note { font-size: 14px; color: var(--ybd-muted); margin-top: 10px; }

/* ==========================================================================
   Occasions, inclusions, add-ons, steps
   ========================================================================== */
.ybd-occ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.ybd-occ-card { position: relative; padding: 28px 24px 22px; border-radius: var(--ybd-r); background: #fff; border: 1px solid var(--ybd-line); box-shadow: 0 14px 36px -26px rgba(11, 15, 46, .5); overflow: hidden; }
.ybd-occ-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--ybd-coral), var(--ybd-gold), var(--ybd-teal), var(--ybd-violet)); }
.ybd-occ-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--ybd-night); color: var(--ybd-gold); margin-bottom: 14px; }
.ybd-occ-ic .ybd-i { width: 28px; height: 28px; }
.ybd-occ-card h3 { margin: 0 0 6px !important; font-size: 25px !important; }
.ybd-occ-card p { font-size: 15px; color: var(--ybd-muted); }
.ybd-occ-pick { margin: 12px 0 0 !important; padding-top: 12px; border-top: 1px dashed var(--ybd-line); font-size: 14px !important; color: var(--ybd-ink) !important; }
.ybd-occ-pick span { font-weight: 700; }
.ybd-occ-pick a { color: var(--ybd-gold-d); font-weight: 700; text-decoration: none; }

.ybd-incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0 0 18px; padding: 0; }
.ybd-incl li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--ybd-line); font-weight: 600; font-size: 15px; }
.ybd-incl .ybd-i { width: 26px; height: 26px; color: var(--ybd-gold2); }
.ybd-dark .ybd-incl li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #fff; }

.ybd-addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ybd-addon { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(243, 201, 105, .18); }
.ybd-addon-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ybd-btn); color: var(--ybd-night); margin-bottom: 12px; }
.ybd-addon h3 { margin: 0 0 6px !important; font-size: 23px !important; }
.ybd-addon p { font-size: 15px; margin-bottom: 10px !important; }
.ybd-addon-p { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(79, 209, 197, .15); color: var(--ybd-teal); }
.ybd-sec:not(.ybd-dark) .ybd-addon { background: #fff; border-color: var(--ybd-line); }

.ybd-steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.ybd-steps li { position: relative; padding: 30px 22px 24px; border-radius: var(--ybd-r); background: #fff; border: 1px solid var(--ybd-line); }
.ybd-step-n { position: absolute; top: -16px; inset-inline-start: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ybd-night); color: var(--ybd-gold); font: 700 18px/1 var(--ybd-serif); box-shadow: 0 0 0 5px var(--ybd-ivory); }
.ybd-steps .ybd-i { width: 30px; height: 30px; color: var(--ybd-gold2); margin-bottom: 8px; }
.ybd-steps b { display: block; font: 700 22px/1.2 var(--ybd-serif); margin-bottom: 6px; }
.ybd-steps p { font-size: 15px; color: var(--ybd-muted); margin: 0 !important; }

/* ==========================================================================
   Calculator + mini calculator
   ========================================================================== */
.ybd-calc { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); border: 1px solid rgba(243, 201, 105, .25); }
.ybd-calc-in { padding: 34px; background: rgba(255, 255, 255, .06); display: grid; gap: 14px; align-content: start; }
.ybd-calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: #fff; }
.ybd-calc-row small { font-weight: 600; color: #aab0d8; font-size: 12px; margin-inline-start: 6px; }
.ybd-calc-row.is-col { flex-direction: column; align-items: stretch; }
.ybd-calc-row output { font: 700 26px/1 var(--ybd-serif); color: var(--ybd-gold); }
.ybd-select { width: 100%; height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(243, 201, 105, .35); background: var(--ybd-night2); color: #fff; font: 600 15px var(--ybd-sans); }
.ybd-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.ybd-stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ybd-night3); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ybd-stepper button:hover { background: var(--ybd-gold2); color: var(--ybd-night); }
.ybd-stepper output, .ybd-stepper input { min-width: 44px; text-align: center; font: 700 22px/1 var(--ybd-serif); color: inherit; background: transparent; border: 0; -moz-appearance: textfield; }
.ybd-stepper input::-webkit-outer-spin-button, .ybd-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ybd-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--ybd-gold2) var(--p, 0%), rgba(255, 255, 255, .14) var(--p, 0%)); outline: none; }
html[dir="rtl"] .ybd-range { background: linear-gradient(270deg, var(--ybd-gold2) var(--p, 0%), rgba(255, 255, 255, .14) var(--p, 0%)); }
.ybd-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--ybd-gold2); cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.ybd-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--ybd-gold2); cursor: pointer; }
.ybd-calc-out { padding: 34px; background: linear-gradient(160deg, var(--ybd-night3), var(--ybd-night2)); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.ybd-calc-k { font-size: 14px; color: #aab0d8; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
html[lang^="ar"] .ybd-calc-k { letter-spacing: 0; }
.ybd-calc-total { font: 700 22px/1 var(--ybd-sans); color: var(--ybd-gold); margin: 10px 0 6px; }
.ybd-calc-total b { font: 700 clamp(48px, 6vw, 68px)/1 var(--ybd-serif); background: var(--ybd-goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.bump { animation: ybd-pop .35s var(--ybd-ease); }
.ybd-calc-sub { font-size: 14px; color: #c9cdeb; }
.ybd-calc-incl { display: flex; gap: 8px; align-items: center; margin: 14px 0 0 !important; font-size: 14px; color: var(--ybd-teal); }
.ybd-calc-incl .ybd-i { width: 18px; height: 18px; }
.ybd-calc-note { display: block; margin-top: 14px; color: #8a90bd; }

/* ==========================================================================
   Gallery + lightbox
   ========================================================================== */
.ybd-gal { columns: var(--cols, 3); column-gap: 14px; position: relative; z-index: 1; }
.ybd-gal-item { position: relative; display: block; margin-bottom: 14px; border-radius: 16px; overflow: hidden; break-inside: avoid; }
.ybd-gal-item img { display: block; width: 100%; height: auto; transition: transform .7s var(--ybd-ease); }
.ybd-gal-item:hover img { transform: scale(1.05); }
.ybd-gal-cap { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(11, 15, 46, .85)); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: .3s; }
.ybd-gal-item:hover .ybd-gal-cap { opacity: 1; transform: none; }
.ybd-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(6, 8, 26, .95); }
.ybd-lb[hidden] { display: none; }
.ybd-lb figure { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.ybd-lb img { max-width: 92vw; max-height: 80vh; border-radius: 12px; }
.ybd-lb figcaption { color: #c9cdeb; font-size: 14px; margin-top: 10px; }
.ybd-lb-x, .ybd-lb-arr { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.ybd-lb-x { top: 18px; inset-inline-end: 18px; }
.ybd-lb-arr { top: 50%; margin-top: -26px; }
.ybd-lb-arr.prev { left: 18px; }
.ybd-lb-arr.next { right: 18px; }

/* ==========================================================================
   FAQ, payments, contact
   ========================================================================== */
.ybd-faq { display: grid; gap: 12px; position: relative; z-index: 1; }
.ybd-q { border-radius: 18px; background: #fff; border: 1px solid var(--ybd-line); overflow: hidden; transition: box-shadow .3s; }
.ybd-q[open] { box-shadow: 0 16px 40px -26px rgba(11, 15, 46, .5); border-color: var(--ybd-gold2); }
.ybd-q summary { position: relative; list-style: none; cursor: pointer; padding: 20px 24px; padding-inline-end: 60px; font: 700 18px/1.4 var(--ybd-sans); }
.ybd-q summary::-webkit-details-marker { display: none; }
.ybd-q summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; display: grid; place-items: center; background: var(--ybd-night); color: var(--ybd-gold); font-size: 20px; transition: transform .3s; }
.ybd-q[open] summary::after { transform: rotate(45deg); }
.ybd-a { padding: 0 24px 20px; color: var(--ybd-muted); }
.ybd-a p { margin: 0 !important; }
.ybd-dark .ybd-q { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.ybd-dark .ybd-q summary { color: #fff; }
.ybd-dark .ybd-a { color: #c9cdeb; }

.ybd-pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ybd-pay-card { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--ybd-line); display: flex; flex-direction: column; gap: 6px; }
.ybd-pay-card.is-off { background: var(--ybd-night); color: #d8dbf3; border-color: var(--ybd-night); }
.ybd-pay-card.is-off h3 { color: #fff; }
.ybd-pay-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ybd-sand); color: var(--ybd-gold-d); }
.ybd-pay-card.is-off .ybd-pay-ic { background: rgba(255, 255, 255, .08); color: var(--ybd-gold); }
.ybd-pay-card h3 { margin: 8px 0 0 !important; font-size: 23px !important; }
.ybd-pay-card p { font-size: 15px; margin: 0 0 8px !important; flex: 1; }
.ybd-pay-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ybd-pay-note { text-align: center; margin-top: 18px !important; font-weight: 600; }

.ybd-contact { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ybd-ccard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--ybd-line); color: var(--ybd-ink); text-decoration: none; transition: transform .3s var(--ybd-ease), box-shadow .3s; }
.ybd-ccard:hover { transform: translateY(-4px); box-shadow: var(--ybd-shadow); }
.ybd-ccard-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ybd-night); color: var(--ybd-gold); margin-bottom: 6px; }
.ybd-ccard-ic svg { width: 26px; height: 26px; }
.ybd-ccard b { font-size: 16px; }
.ybd-ccard small { font-size: 13px; color: var(--ybd-muted); word-break: break-word; }

/* ==========================================================================
   Booking form
   ========================================================================== */
.ybd-nye-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 22px !important; padding: 16px 20px; border-radius: 16px; background: #fff4dc; border: 1px solid var(--ybd-gold2); color: var(--ybd-ink); font-weight: 600; font-size: 15px; }
.ybd-nye-note .ybd-i { color: var(--ybd-gold-d); margin-top: 2px; }
.ybd-nye-note a { color: var(--ybd-gold-d); font-weight: 800; }
.ybd-book-form { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.ybd-book fieldset { margin: 0 0 18px; padding: 26px; border-radius: 22px; border: 1px solid var(--ybd-line); background: #fff; }
.ybd-book legend { display: flex; align-items: center; gap: 10px; padding: 0 8px; font: 700 24px/1.2 var(--ybd-serif); }
.ybd-book legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ybd-night); color: var(--ybd-gold); font: 700 15px/1 var(--ybd-sans); }
.ybd-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ybd-pick-item { position: relative; cursor: pointer; }
.ybd-pick-item input { position: absolute; opacity: 0; pointer-events: none; }
.ybd-pick-card { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 8px 8px 12px; border-radius: 16px; border: 2px solid var(--ybd-line); background: var(--ybd-ivory); transition: .2s; }
.ybd-pick-img { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; margin-bottom: 6px; }
.ybd-pick-img img, .ybd-pick-img .ybd-ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.ybd-pick-card b { font: 700 19px/1.15 var(--ybd-serif); padding: 0 4px; }
.ybd-pick-card small { font-size: 12px; color: var(--ybd-muted); padding: 0 4px; }
.ybd-pick-card em { font-style: normal; font-weight: 800; font-size: 14px; color: var(--ybd-gold-d); padding: 2px 4px 0; }
.ybd-pick-item input:checked + .ybd-pick-card { border-color: var(--ybd-gold2); background: #fff; box-shadow: 0 10px 26px -14px rgba(233, 169, 58, .9); }
.ybd-pick-item input:focus-visible + .ybd-pick-card { outline: 3px solid var(--ybd-teal); outline-offset: 2px; }
.ybd-pick-help { margin: 12px 0 0; font-size: 14px; }
.ybd-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ybd-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 700; font-size: 14px; }
.ybd-field small { font-weight: 600; color: var(--ybd-muted); }
.ybd-field input, .ybd-field select, .ybd-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--ybd-line); background: var(--ybd-ivory); font: 500 16px var(--ybd-sans); color: var(--ybd-ink); }
.ybd-field input:focus, .ybd-field select:focus, .ybd-field textarea:focus { outline: none; border-color: var(--ybd-gold2); background: #fff; }
.ybd-field .ybd-stepper { background: var(--ybd-ivory); border: 1.5px solid var(--ybd-line); align-self: flex-start; }
.ybd-field .ybd-stepper input { min-height: 0; padding: 0; border: 0; background: transparent; width: 56px; }
.ybd-stepper-lg button { width: 44px; height: 44px; }
.is-bad input, .is-bad select, .is-bad .ybd-pick-card, .is-bad .ybd-chipbox span { border-color: var(--ybd-coral) !important; }
.ybd-field-note { font-size: 14px; color: var(--ybd-muted); margin: 14px 0 10px; }
.ybd-chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.ybd-chipbox { position: relative; cursor: pointer; }
.ybd-chipbox input { position: absolute; opacity: 0; pointer-events: none; }
.ybd-chipbox span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ybd-line); background: var(--ybd-ivory); font-weight: 600; font-size: 14px; transition: .2s; }
.ybd-chipbox input:checked + span { background: var(--ybd-night); border-color: var(--ybd-night); color: var(--ybd-gold); }
.ybd-chipbox input:focus-visible + span { outline: 3px solid var(--ybd-teal); outline-offset: 2px; }
.ybd-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; } /* no left:-9999px – in RTL that widened the page */
.ybd-book-sum { position: sticky; top: 90px; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, var(--ybd-night3), var(--ybd-night)); color: #d8dbf3; box-shadow: var(--ybd-shadow); }
.ybd-sum-yacht { margin: 0 0 10px !important; font: 700 30px/1.1 var(--ybd-serif); color: #fff; }
.ybd-book-sum dl { margin: 0 0 14px; display: grid; gap: 6px; }
.ybd-book-sum dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ybd-book-sum dt { color: #aab0d8; }
.ybd-book-sum dd { margin: 0; color: #fff; font-weight: 600; text-align: end; }
.ybd-sum-calc { font-size: 15px; color: #c9cdeb; }
.ybd-sum-total { display: flex; flex-direction: column; font: 700 20px/1 var(--ybd-sans); color: var(--ybd-gold); margin: 6px 0 10px; }
.ybd-sum-total small { font-size: 12px; color: #aab0d8; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.ybd-sum-total b { font: 700 48px/1 var(--ybd-serif); background: var(--ybd-goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.ybd-sum-note, .ybd-sum-small { font-size: 13px; color: #aab0d8; }
.ybd-book-sum .ybd-btn { margin: 8px 0 6px; }
.ybd-form-msg { margin: 8px 0 !important; padding: 10px 14px; border-radius: 12px; background: rgba(255, 111, 97, .16); color: #ffd0cb; font-size: 14px; font-weight: 600; }
.ybd-book-done { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 28px; border-radius: 28px; background: #fff; border: 1px solid var(--ybd-line); box-shadow: var(--ybd-shadow); }
.ybd-done-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ybd-btn); color: var(--ybd-night); }
.ybd-done-ic .ybd-i { width: 36px; height: 36px; stroke-width: 2.4; }
.ybd-book-done h3 { font-size: 34px; margin: 14px 0 8px; }
.ybd-done-list { text-align: start; margin: 18px 0; display: grid; gap: 4px; }
.ybd-done-list div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--ybd-line); font-size: 14px; }
.ybd-done-list dt { color: var(--ybd-muted); }
.ybd-done-list dd { margin: 0; font-weight: 700; text-align: end; }

/* ==========================================================================
   Single yacht page
   ========================================================================== */
.ybd-yp-top { padding: calc(var(--ybd-head-h) + 20px) 0 0; background: var(--ybd-night); position: relative; }
.ybd-yp-top .ybd-crumbs { margin-bottom: 18px; }
.ybd-yp-gal { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; border-radius: 26px; overflow: hidden; transform: translateY(40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.ybd-yp-ph { position: relative; display: block; overflow: hidden; background: var(--ybd-night2); }
.ybd-yp-ph.is-main { grid-row: 1 / 3; }
.ybd-yp-ph img, .ybd-yp-gal > .ybd-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ybd-ease); }
.ybd-yp-ph:hover img { transform: scale(1.05); }
.ybd-yp-gal > .ybd-yp-ph:nth-child(n+6) { display: none; }
.ybd-yp-count { position: absolute; inset-inline-start: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(11, 15, 46, .8); color: #fff; font-weight: 700; font-size: 14px; }
.ybd-yp-count .ybd-i { width: 18px; height: 18px; }
.ybd-yp-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-top: 80px; padding-bottom: 70px; }
.ybd-yp-head h1 { margin: 0 0 8px; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.ybd-yp-tag { font-size: 19px; color: var(--ybd-muted); margin: 0 0 20px; }
.ybd-yp-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; margin: 0 0 16px; padding: 0; }
.ybd-yp-specs li { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--ybd-line); font-size: 13px; color: var(--ybd-muted); }
.ybd-yp-specs .ybd-i { color: var(--ybd-gold2); }
.ybd-yp-specs b { font: 700 24px/1.2 var(--ybd-serif); color: var(--ybd-ink); }
.ybd-yp-spaces { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ybd-yp-content { margin-bottom: 30px; }
.ybd-yp-box { padding: 28px; border-radius: 24px; background: var(--ybd-sand); margin-bottom: 30px; }
.ybd-yp-box h2 { margin: 0 0 16px; font-size: 32px; }
.ybd-yp-box h3 { margin: 18px 0 10px; font-size: 22px; }
.ybd-yp-box .ybd-incl { grid-template-columns: 1fr 1fr; }
.ybd-yp-faq h2 { font-size: 32px; margin: 0 0 16px; }
.ybd-yp-side { position: relative; }
.ybd-yp-pricebox { position: sticky; top: 90px; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, var(--ybd-night3), var(--ybd-night)); color: #d8dbf3; box-shadow: var(--ybd-shadow); display: grid; gap: 12px; }
.ybd-yp-price { display: flex; align-items: baseline; gap: 6px; color: #fff; }
.ybd-yp-price small { font-weight: 700; color: var(--ybd-gold); }
.ybd-yp-price b { font: 700 54px/1 var(--ybd-serif); background: var(--ybd-goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ybd-yp-note, .ybd-yp-small { margin: 0 !important; font-size: 13px; color: #aab0d8; }
.ybd-mini-row, .ybd-mini-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; color: #fff; }
.ybd-mini-total { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ybd-mini-total b { font-size: 22px; color: var(--ybd-gold); }
.ybd-yp-booked { margin: 0 !important; padding: 12px; border-radius: 12px; background: rgba(255, 111, 97, .15); color: #ffd0cb; font-size: 14px; }
.ybd-yp-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ybd-gold); text-decoration: none; font-weight: 700; }

/* ==========================================================================
   Blog
   ========================================================================== */
.ybd-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ybd-post { display: flex; flex-direction: column; border-radius: var(--ybd-r); overflow: hidden; background: #fff; border: 1px solid var(--ybd-line); color: var(--ybd-ink); text-decoration: none; transition: transform .35s var(--ybd-ease), box-shadow .35s; }
.ybd-post:hover { transform: translateY(-5px); box-shadow: var(--ybd-shadow); }
.ybd-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ybd-night); }
.ybd-post-img img, .ybd-post-img .ybd-ph { width: 100%; height: 100%; object-fit: cover; }
.ybd-post-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.ybd-post-body small { color: var(--ybd-muted); font-size: 13px; }
.ybd-post-body b { font: 700 24px/1.2 var(--ybd-serif); }
.ybd-post-body span { font-size: 15px; color: var(--ybd-muted); }
.ybd-post-body em { font-style: normal; font-weight: 700; color: var(--ybd-gold-d); font-size: 14px; }
.ybd-pages, .navigation.pagination { margin-top: 30px; text-align: center; }
.navigation.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; margin: 2px; border-radius: 50%; background: #fff; border: 1px solid var(--ybd-line); text-decoration: none; color: var(--ybd-ink); font-weight: 700; }
.navigation.pagination .page-numbers.current { background: var(--ybd-night); color: var(--ybd-gold); }
body.single-post .entry-header, body.single-post .entry-author, body.single-post .post-navigation, body.single-post .entry-related { display: none; }
body.single-post .content-area { margin-top: 30px; }
body.single-post .entry.single-entry { box-shadow: none; background: transparent; }
.ybd-article { font-size: 18px; }
.ybd-article table { width: 100%; border-collapse: collapse; }
.ybd-post-cta { position: relative; overflow: hidden; margin: 40px 0 10px; padding: 34px; border-radius: 26px; background: linear-gradient(135deg, var(--ybd-night3), var(--ybd-night)); color: #d8dbf3; }
.ybd-post-cta > div { position: relative; z-index: 1; }
.ybd-post-cta h2 { color: #fff; margin: 6px 0 8px; font-size: 34px; }
.ybd-post-cta p { margin: 0; }

/* sitemap */
.ybd-sitemap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ybd-sitemap section { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--ybd-line); }
.ybd-sitemap h2 { display: flex; align-items: center; gap: 10px; font-size: 28px !important; margin: 0 0 12px !important; }
.ybd-sitemap h2 .ybd-i { color: var(--ybd-gold2); }
.ybd-sitemap ul { margin: 0; padding-inline-start: 20px; }
.ybd-sitemap li { margin-bottom: 6px; }
.ybd-sitemap small { color: var(--ybd-muted); }

/* ==========================================================================
   Yacht card – standard card format (location + Tabby badge, chips, price, Tabby/Tamara/WhatsApp/Book) – 1.0.1
   ========================================================================== */
.ybd-loc { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(11, 15, 46, .8); color: #fff; font: 700 12px/1 var(--ybd-sans); backdrop-filter: blur(6px); }
.ybd-loc .ybd-i { width: 14px; height: 14px; color: var(--ybd-gold); }
.ybd-paybadge { position: absolute; z-index: 1; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; color: #1b1b1b; font: 700 12px/1 var(--ybd-sans); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.ybd-paybadge b { padding: 3px 7px; border-radius: 6px; background: #3bffc1; color: #1b1b1b; font-weight: 800; text-transform: lowercase; }
.ybd-card-body { padding: 18px 20px 4px; }
.ybd-card-title { margin: 0 0 12px !important; }
.ybd-card-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.ybd-card-chips li { display: flex; align-items: center; gap: 6px; padding: 8px 9px; border-radius: 12px; background: var(--ybd-ivory); border: 1px solid var(--ybd-line); font: 600 12.5px/1.2 var(--ybd-sans); color: var(--ybd-ink); min-width: 0; }
.ybd-card-chips li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ybd-card-chips .ybd-i { width: 17px; height: 17px; color: var(--ybd-gold2); }
.ybd-card-foot { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 20px 20px; }
.ybd-card-price { justify-content: flex-start; }
.ybd-card-price b { font-size: 30px; }
.ybd-paypills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ybd-pill-tabby, .ybd-pill-tamara { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 999px; color: #1b1b1b !important; text-decoration: none !important; font: 600 13px/1.1 var(--ybd-sans); white-space: nowrap; transition: transform .2s; }
.ybd-pill-tabby { background: #3bffc1; }
.ybd-pill-tamara { background: linear-gradient(90deg, #f7c6a3, #f4a7c3, #b9a7f7); }
.ybd-pill-tabby b, .ybd-pill-tamara b { font-weight: 800; text-transform: lowercase; letter-spacing: .01em; }
.ybd-pill-tabby:hover, .ybd-pill-tamara:hover { transform: translateY(-2px); }
.ybd-card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ybd-cbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 700 14px/1 var(--ybd-sans); text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.ybd-cbtn svg { width: 19px; height: 19px; }
.ybd-cbtn:hover { transform: translateY(-2px); }
.ybd-cbtn-wa { background: var(--ybd-wa); color: #05331a !important; }
.ybd-cbtn-book { background: var(--ybd-btn); color: var(--ybd-night) !important; box-shadow: var(--ybd-shadow-gold); }
.ybd-cbtn.is-wide { grid-column: 1 / -1; }
.ybd-card.is-booked .ybd-booked { top: auto; bottom: 12px; }
.ybd-tabby-line { margin: 0 !important; font-size: 13px; color: #c9cdeb; }
.ybd-tabby-line b { color: #3bffc1; }
.ybd-tabby-line a { color: var(--ybd-gold); }
.ybd-yp-pricebox .ybd-paypills { margin-bottom: 2px; }
@media (max-width: 380px) {
	.ybd-card-chips { grid-template-columns: 1fr 1fr; }
	.ybd-paypills, .ybd-card-btns { grid-template-columns: 1fr; }
}

/* Trending badge + home highlight (1.0.2) */
.ybd-trend-badge { position: absolute; z-index: 2; top: 12px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #ff5fa2, #ff6f61); color: #fff; font: 800 12px/1 var(--ybd-sans); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 20px -8px rgba(255, 95, 162, .8); }
html[lang^="ar"] .ybd-trend-badge { letter-spacing: 0; }
.ybd-trend-badge .ybd-i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.ybd-trend { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.ybd-trend-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(255, 95, 162, .55); }
.ybd-trend-media img, .ybd-trend-media .ybd-ph { width: 100%; height: 100%; object-fit: cover; }
.ybd-trend-media .ybd-trend-badge { top: 18px; inset-inline-end: 18px; font-size: 13px; padding: 8px 14px; }
.ybd-trend .ybd-fleet { grid-template-columns: 1fr; max-width: 460px; }
.ybd-trend .ybd-card-media { display: none; }
.ybd-trend h2 em { font-style: italic; background: linear-gradient(120deg, #ffd1e6, #ff5fa2 50%, #ffc1d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) { .ybd-trend { grid-template-columns: 1fr; gap: 24px; } .ybd-trend-media { aspect-ratio: 4 / 3; } }

.ybd-trend-media .ybd-trend-fig { margin: 0; height: 100%; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.ybd-trend-text .ybd-fleet { margin-top: 18px; }

/* ==========================================================================
   1.0.7 – UAE National Day (Eid Al Etihad) 2026: flag accents, top strip, menu item, landing page, package cards,
   booking lock. UAE flag colours: green #00843d, white, black, red #ef3340. RTL-safe (logical properties).
   ========================================================================== */
:root { --ybd-nd-g: #00843d; --ybd-nd-r: #ef3340; --ybd-nd-k: #000; --ybd-nd-flag: linear-gradient(90deg, #ef3340 0 25%, #00843d 25% 50%, #fff 50% 75%, #000 75%); }
/* small flag (red hoist bar + green / white / black) */
.ybd-nd-band { display: inline-flex; flex: none; width: 20px; height: 13px; border-radius: 2px; overflow: hidden; vertical-align: -2px; margin-inline-end: 8px; background: linear-gradient(180deg, #00843d 0 33.34%, #fff 33.34% 66.67%, #000 66.67%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 0 0 2px rgba(0, 0, 0, .08); }
.ybd-nd-band::before { content: ""; width: 28%; background: #ef3340; }
.ybd-nd-band i { display: none; }
/* 4-colour line */
.ybd-nd-band.is-hero, .ybd-nd-band.is-line { position: absolute; z-index: 3; inset-inline: 0; top: 0; width: auto; height: 5px; margin: 0; border-radius: 0; box-shadow: none; background: none; }
.ybd-nd-band.is-hero::before, .ybd-nd-band.is-line::before { display: none; }
.ybd-nd-band.is-hero i, .ybd-nd-band.is-line i { display: block; flex: 1; }
.ybd-nd-band.is-hero i:nth-child(1), .ybd-nd-band.is-line i:nth-child(1) { background: var(--ybd-nd-r); }
.ybd-nd-band.is-hero i:nth-child(2), .ybd-nd-band.is-line i:nth-child(2) { background: var(--ybd-nd-g); }
.ybd-nd-band.is-hero i:nth-child(3), .ybd-nd-band.is-line i:nth-child(3) { background: #fff; }
.ybd-nd-band.is-hero i:nth-child(4), .ybd-nd-band.is-line i:nth-child(4) { background: var(--ybd-nd-k); }

/* Top strip: in the normal flow above the fixed header (the header starts below it and follows it up while the
   page scrolls – site.js sets --ybd-nd-y). Fixed height = no layout shift; one line, ellipsis on narrow phones. */
body.ybd-nd-on { --ybd-nd-h: 36px; }
html.ybd-nd-x body.ybd-nd-on { --ybd-nd-h: 0px; }
html.ybd-nd-x .ybd-ndbar { display: none; }
.ybd-nd-on .ybd-header { top: var(--ybd-nd-y, var(--ybd-nd-h)); }
.admin-bar.ybd-nd-on .ybd-header { top: calc(32px + var(--ybd-nd-y, var(--ybd-nd-h))); }
.ybd-ndbar { position: relative; z-index: 95; display: flex; align-items: center; justify-content: center; height: var(--ybd-nd-h); padding: 0 46px; background: #0b0f2e; color: #fff; overflow: hidden; }
.ybd-ndbar::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--ybd-nd-flag); }
.ybd-ndbar-link { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; color: #fff !important; text-decoration: none !important; font: 700 13.5px/1.2 var(--ybd-sans); letter-spacing: .01em; }
.ybd-ndbar-link span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ybd-ndbar-link svg { flex: none; width: 15px; height: 15px; margin-inline-start: 6px; fill: none; stroke: var(--ybd-gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .ybd-ndbar-link svg { transform: scaleX(-1); }
.ybd-ndbar-link:hover span { color: var(--ybd-gold); }
.ybd-ndbar-short { display: none; }
.ybd-ndbar-x { position: absolute; top: 0; inset-inline-end: 4px; width: 38px; height: calc(var(--ybd-nd-h) - 3px); display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .7); font: 400 22px/1 var(--ybd-sans); cursor: pointer; }
.ybd-ndbar-x:hover, .ybd-ndbar-x:focus-visible { color: #fff; }
@media (max-width: 700px) {
	body.ybd-nd-on { --ybd-nd-h: 34px; }
	html.ybd-nd-x body.ybd-nd-on { --ybd-nd-h: 0px; }
	.ybd-ndbar { padding-block: 0; padding-inline: 12px 40px; justify-content: flex-start; }
	.ybd-ndbar-long { display: none; }
	.ybd-ndbar-short { display: inline; }
	.ybd-ndbar-link { font-size: 12.5px; }
}

/* Menu item (desktop) + drawer card (mobile) */
.ybd-menu-nd > a .ybd-nd-band { margin-inline-end: 6px; }
/* Desktop header between 901 and 1180 px (also fixes the 1.0.6 overflow of the Book button in AR/RU at 901–960 px):
   long labels (e.g. RU "Национальный день") wrap to two lines, tighter menu, call icon hidden (phone stays in the footer and on /contact/), language pill = flag only. */
@media (min-width: 901px) and (max-width: 1320px) {
	.ybd-nav-menu { min-width: 0; flex: 0 1 auto; }
	.ybd-head-end { flex: none; }
	.ybd-menu { min-width: 0; }
	.ybd-menu > li { min-width: 0; flex: 0 1 auto; }
	.ybd-menu > li > a { white-space: normal; text-align: center; line-height: 1.15; }
}
@media (min-width: 901px) and (max-width: 1180px) {
	.ybd-nav { gap: 12px; }
	.ybd-menu > li > a, .ybd-sub-btn { padding: 10px 7px; font-size: 14px; }
	.ybd-head-call { display: none; }
	.ybd-lsel-btn { padding: 0 9px; }
	.ybd-lsel-btn span { display: none; }
	.ybd-menu-nd > a .ybd-nd-band { display: none; }
}
@media (min-width: 901px) and (max-width: 1040px) {
	.ybd-nav { gap: 8px; }
	.ybd-menu > li > a, .ybd-sub-btn { padding: 10px 5px; font-size: 13px; }
	.ybd-logo img.ybd-logo-img { height: 44px; max-width: 170px; }
	.ybd-head-book { padding-inline: 14px; }
}
.ybd-dr-nd { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; margin: 0 0 12px; padding: 14px 16px 16px; border-radius: 18px; background: rgba(0, 132, 61, .18); border: 1px solid rgba(255, 255, 255, .16); color: #fff !important; text-decoration: none !important; overflow: hidden; }
.ybd-dr-nd::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--ybd-nd-flag); }
.ybd-dr-nd .ybd-nd-band { grid-row: span 2; width: 26px; height: 17px; margin: 0; }
.ybd-dr-nd b { font: 800 16px/1.2 var(--ybd-sans); }
.ybd-dr-nd small { color: #d6d9f2; font-size: 13px; }
.ybd-dr-nd.on { border-color: var(--ybd-gold); }

/* Landing page */
.ybd-phero.is-nd .ybd-nd-band.is-hero { top: auto; bottom: 58px; height: 6px; opacity: .95; }
.ybd-nd-chip .ybd-nd-band { margin-inline-end: 8px; }
.ybd-nd-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.ybd-nd-facts li { position: relative; padding: 20px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--ybd-line); box-shadow: var(--ybd-shadow); overflow: hidden; }
.ybd-nd-facts li::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--ybd-nd-flag); }
.ybd-nd-facts b { display: block; font: 700 clamp(26px, 3.2vw, 36px)/1.1 var(--ybd-serif); color: var(--ybd-nd-g); }
.ybd-nd-facts span { display: block; margin-top: 6px; font-size: 15px; color: var(--ybd-muted); }
.ybd-nd-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.ybd-nd-days li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px; border-radius: 18px; background: var(--ybd-night); color: #fff; text-align: center; border-bottom: 5px solid var(--ybd-nd-g); }
.ybd-nd-days li:nth-child(2) { border-bottom-color: var(--ybd-nd-r); }
.ybd-nd-days li:nth-child(3) { border-bottom-color: #fff; box-shadow: inset 0 -5px 0 #000; }
.ybd-nd-days b { font: 700 clamp(30px, 4vw, 44px)/1 var(--ybd-serif); color: var(--ybd-gold); }
.ybd-nd-days span { font-size: 14px; font-weight: 700; }
.ybd-nd-days small { font-size: 13px; color: #d6d9f2; direction: ltr; unicode-bidi: isolate; }
.ybd-nd-steps { counter-reset: nd; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ybd-nd-steps li { counter-increment: nd; position: relative; padding: 22px 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--ybd-line); }
.ybd-nd-steps li::before { content: counter(nd); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--ybd-nd-g); color: #fff; font: 800 15px/1 var(--ybd-sans); }
.ybd-nd-steps li:nth-child(2)::before { background: var(--ybd-nd-r); }
.ybd-nd-steps li:nth-child(3)::before { background: var(--ybd-night); }
.ybd-nd-steps li:nth-child(4)::before { background: var(--ybd-btn); color: var(--ybd-night); }
.ybd-nd-steps b { display: block; margin-bottom: 4px; font-size: 17px; }
.ybd-nd-steps p { margin: 0; font-size: 15px; color: var(--ybd-muted); }
.ybd-nd-rule { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; max-width: 760px; margin: 0 auto 30px; padding: 14px 18px; border-radius: 16px; background: #eaf6ef; border: 1px solid rgba(0, 132, 61, .35); color: var(--ybd-ink); font-weight: 700; text-align: center; }
.ybd-nd-amt { white-space: nowrap; font-weight: 800; }
.ybd-nd-amt[dir="ltr"] { white-space: normal; }
.ybd-nd-amt.is-booked { color: var(--ybd-coral); }
.ybd-ndcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; margin: 0 0 28px; }
.ybd-ndcard { display: flex; flex-direction: column; min-width: 0; border-radius: 20px; background: #fff; border: 1px solid var(--ybd-line); box-shadow: var(--ybd-shadow); overflow: hidden; }
.ybd-ndcard-img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ybd-night2); overflow: hidden; }
.ybd-ndcard-img img, .ybd-ndcard-img .ybd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.ybd-ndcard-img::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 5px; background: var(--ybd-nd-flag); }
.ybd-nd-tag { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(11, 15, 46, .82); color: #fff; font: 800 12px/1 var(--ybd-sans); backdrop-filter: blur(6px); }
.ybd-ndcard-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 16px 18px; }
.ybd-ndcard-body h3 { margin: 0; font-size: 24px; line-height: 1.15; }
.ybd-ndcard-body h3 a { color: inherit; text-decoration: none; }
.ybd-ndcard-meta { margin: 0; font-size: 14px; color: var(--ybd-muted); }
.ybd-ndcard-price { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 0; padding: 12px 14px; border-radius: 14px; background: #f1f8f4; border-inline-start: 4px solid var(--ybd-nd-g); }
.ybd-ndcard-price small { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ybd-nd-g); }
html[lang^="ar"] .ybd-ndcard-price small { letter-spacing: 0; }
.ybd-ndcard-price b { font: 800 26px/1.15 var(--ybd-sans); color: var(--ybd-ink); }
.ybd-ndcard-price span { font-size: 13px; color: var(--ybd-muted); text-align: start; }
html[dir="rtl"] .ybd-ndcard-price span { text-align: end; }
.ybd-ndcard-price.is-booked { background: #fff1ef; border-inline-start-color: var(--ybd-coral); }
.ybd-ndcard-price.is-booked b { font-size: 18px; color: var(--ybd-coral); }
.ybd-ndcard-when { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; }
.ybd-ndcard-when .ybd-i { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ybd-nd-g); }
.ybd-ndcard-inc { margin: 0; font-size: 13.5px; color: var(--ybd-muted); }
.ybd-ndcard-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 6px; }
.ybd-ndcard.is-booked .ybd-ndcard-img img { filter: grayscale(.6); }
.ybd-nd-table .ybd-table td:last-child, .ybd-nd-table .ybd-table th:last-child { color: var(--ybd-nd-g); }
.ybd-nd-cta { position: relative; overflow: hidden; }
@media (max-width: 900px) {
	.ybd-nd-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.ybd-nd-facts { grid-template-columns: 1fr; }
	.ybd-nd-days { gap: 8px; }
	.ybd-nd-days li { padding: 12px 6px; }
	.ybd-nd-steps { grid-template-columns: 1fr; }
	.ybd-ndcard-price b { font-size: 24px; }
	/* phones: the cards already show every package price – the comparison table is for tablets / desktop */
	.ybd-nd-table { display: none; }
}

/* Booking form: National Day dates lock time + hours */
.ybd-nd-note .ybd-nd-band { margin-top: 4px; }
.ybd-nd-note { background: #eaf6ef !important; border-color: rgba(0, 132, 61, .45) !important; }
.ybd-nd-note a { color: var(--ybd-nd-g) !important; }
.ybd-nd-lock { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #eaf6ef; border: 1px solid rgba(0, 132, 61, .45); font-size: 14.5px; font-weight: 600; color: var(--ybd-ink); }
.ybd-nd-lock[hidden] { display: none; }
.ybd-nd-lock .ybd-nd-band { margin-top: 3px; }
.ybd-nd-lock a { color: var(--ybd-nd-g); font-weight: 800; }
.ybd-stepper.is-locked { opacity: .65; }
.ybd-stepper.is-locked button { cursor: not-allowed; }
.ybd-sum-nd { margin: 6px 0 4px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 132, 61, .14); border-inline-start: 3px solid var(--ybd-nd-g); font-size: 14px; font-weight: 700; unicode-bidi: plaintext; }
.ybd-sum-nd[hidden] { display: none; }

/* 1.0.7 fix (pre-existing since 1.0.x): RU footer columns were wider than the phone screen (long words such as
   "Онлайн-бронирование" set the grid min-content) – columns may shrink, long words wrap. */
@media (max-width: 900px) {
	.ybd-fgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ybd-fgrid > * { min-width: 0; }
	.ybd-fgrid a, .ybd-fgrid h4, .ybd-fgrid p { overflow-wrap: anywhere; }
}
