/* Stargo Yacht — "Pearl Navy" (light pearl ground, deep navy blue, gold from the logo) */
:root {
  --navy: #0A212D;          /* text on gold */
  --blue: #0B2F4A;          /* deep navy blue: header, footer, totals */
  --bg: #F6F8FA;
  --card: #FFFFFF;
  --field: #F6F8FA;
  --line: #DDE5EB;
  --line-gold: rgba(230, 162, 67, 0.45);
  --tx: #0A212D;
  --mu: #56707F;
  --link: #0B5C8A;
  --gold-ink: #8A5E0F;      /* gold dark enough to read on white */
  --shadow: 0 16px 40px rgba(11, 47, 74, 0.12);
  --gold: #F5CA61;
  --gold-l: #FADC6C;
  --gold-d: #E6A243;
  --grad: linear-gradient(90deg, #FADC6C 0%, #F5CA61 45%, #E6A243 100%);
  --danger: #B42318;
  /* Arabic and Russian letters fall back to the fonts loaded for those languages (assets/js/i18n.js) */
  --disp: 'Gloock', 'Playfair Display', 'IBM Plex Sans Arabic', Georgia, serif;
  --body: 'Figtree', 'Onest', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--body); font-size: 15px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; margin: 0; line-height: 1.1; text-wrap: balance; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-ink); }
.muted { color: var(--mu); }
.gold { color: var(--gold-ink); }
.hidden { display: none !important; }

/* ---------- header / nav ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--blue); }
.topbar .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .logo img { height: 40px; width: auto; }
.topnav { display: flex; gap: 26px; align-items: center; }
.topnav a { color: #fff; font-size: 14px; font-weight: 600; }
.topnav a:hover, .topnav a.on { color: var(--gold-l); }
.topbar .btn-line { color: var(--gold-l); border-color: rgba(250, 220, 108, 0.55); }
.topbar .btn-line:hover { color: #fff; border-color: var(--gold-l); }
.topbar.over { position: absolute; left: 0; right: 0; background: transparent; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: none; background: rgba(255, 255, 255, 0.92); color: var(--tx); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.btn { height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--tx); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn svg { width: 18px; height: 18px; }
.btn-gold { border: none; background: var(--grad); color: var(--navy); }
.btn-gold:hover { color: var(--navy); filter: brightness(1.05); }
.btn-gold:disabled { opacity: 0.45; cursor: default; filter: none; }
.btn-line { border: 1px solid var(--gold-d); color: var(--gold-ink); }
.btn-line:hover { color: var(--blue); border-color: var(--blue); }
.btn-sm { height: 44px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.tabbar { display: none; }

/* ---------- hero + planner ---------- */
.hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; overflow: hidden; background: var(--blue); }
/* desktop: the photo fills the area left of the search card, framed on the yacht, and fades into navy under the card */
.hero > img { position: absolute; top: 0; bottom: 0; left: 0; width: min(calc(50% + 80px), calc(100% - 500px)); height: 100%; object-fit: cover; object-position: 60% 58%;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.hero .wrap > div:first-child { align-self: start; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,47,74,0.85) 0%, rgba(11,47,74,0.35) 40%, rgba(11,47,74,0.55) 75%, var(--bg) 100%); }
.hero .eyebrow { color: var(--gold-l); }
.hero h1 { color: #fff; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; align-items: end; padding-top: 120px; padding-bottom: 56px; }
.hero h1 { font-size: 54px; line-height: 1.04; margin: 12px 0 14px; }
.hero p.lead { font-size: 17px; color: #E3EBF1; max-width: 520px; margin: 0; }
.planner { background: var(--card); border: 1px solid var(--line-gold); border-radius: 26px; box-shadow: 0 24px 60px rgba(11, 47, 74, 0.22); padding: 20px 20px 10px; display: flex; flex-direction: column; gap: 16px; }
.pl-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--mu); }
.bars { display: flex; gap: 5px; }
.bars span { width: 30px; height: 5px; border-radius: 9px; background: var(--line); }
.bars span.on { background: var(--grad); }
.pl-q { display: flex; align-items: center; gap: 12px; font-family: var(--disp); font-size: 23px; line-height: 1.15; }
.num { width: 30px; height: 30px; flex-shrink: 0; border-radius: 999px; background: var(--blue); color: var(--gold-l); font-family: var(--body); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.num.todo { background: none; border: 1.5px solid var(--line); color: var(--mu); }
.num.done { background: var(--gold); color: var(--navy); }
.num svg { width: 15px; height: 15px; }
.city-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.tile img { width: 100%; height: 84px; border-radius: 11px; object-fit: cover; }
.tile b { padding: 0 4px; font-size: 14px; }
.tile small { padding: 0 4px; margin-top: -4px; font-size: 12px; color: var(--mu); }
.tile.sel, .opt.sel { border: 2px solid var(--gold-d); }
.opt.sel { background: #FFF8E8; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; text-align: left; }
.opt svg { width: 20px; height: 20px; color: var(--gold-ink); flex-shrink: 0; }
.pl-note { font-size: 13px; color: var(--mu); margin: 0; }
/* one-step search (home) */
.planner { gap: 18px; padding: 18px 16px; }
.ps-sec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ps-lbl { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mu); }
.ps-head { display: flex; justify-content: space-between; align-items: center; }
.ps-cal { position: relative; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; font-size: 13px; font-weight: 700; color: #0B5C8A; cursor: pointer; }
.ps-cal svg { width: 15px; height: 15px; }
.ps-cal input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.ps-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ps-city { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--tx); }
.ps-city img { width: 54px; height: 54px; border-radius: 999px; object-fit: cover; }
.ps-city b { font-size: 13px; }
.ps-city small { font-size: 11px; font-weight: 600; color: var(--mu); margin-top: -3px; }
.ps-city.sel { border: 2px solid var(--gold-d); background: #FFF8E8; }
.ps-city.sel small { color: var(--gold-ink); }
.strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.strip::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; width: 56px; height: 70px; scroll-snap-align: center; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--tx); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.day small { font-size: 11px; font-weight: 600; color: var(--mu); }
.day b { font-size: 20px; line-height: 1.1; }
.day.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.day.sel small { color: var(--gold-l); }
.tpill { flex: 0 0 auto; height: 40px; padding: 0 14px; scroll-snap-align: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--tx); font-size: 14px; font-weight: 600; }
.tpill.sel { border: 2px solid var(--gold-d); background: #FFF8E8; color: var(--blue); }
.ps-steps { gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.ps-step { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ps-step b { display: block; font-size: 15px; }
.ps-step small { display: block; font-size: 12px; color: var(--mu); }
.ps-step .ctl { display: flex; align-items: center; gap: 12px; }
.ps-step .ctl button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); }
.ps-step .ctl button.plus { border-color: var(--blue); background: var(--blue); color: var(--gold-l); }
.ps-step .ctl button svg { width: 18px; height: 18px; }
.ps-step .ctl output { min-width: 24px; text-align: center; font-size: 17px; font-weight: 700; }
.pl-actions { display: flex; gap: 8px; }
.pl-actions .btn-gold { flex: 1; }
.pl-steps { display: flex; flex-direction: column; }
.pl-step { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.pl-step b { display: block; font-size: 15px; }
.pl-step small { display: block; font-size: 12px; color: var(--mu); }
.pl-step.todo b { color: var(--mu); }

/* ---------- form controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); font-size: 15px; font-weight: 400; color: var(--tx); width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A9BA8; }
/* iPhone Safari gives date inputs a fixed minimum width that spills into the next field: let them shrink */
/* …and without its native look iPhone puts the date at the top of the box: centre it with a line height equal to the inside height */
.field input[type="date"] { color-scheme: light; -webkit-appearance: none; appearance: none; display: block; text-align: left; padding-top: 0; padding-bottom: 0; line-height: 48px; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; line-height: 48px; }
.field input[type="date"]::-webkit-datetime-edit { padding: 0; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2356707F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; background-color: #fff; }
.field .err { color: var(--danger); font-weight: 500; font-size: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.stepper .lbl b { display: block; font-size: 15px; }
.stepper .lbl small { font-size: 12px; color: var(--mu); }
.stepper .ctl { display: flex; align-items: center; gap: 12px; }
.stepper .ctl button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.stepper .ctl button.plus { border-color: var(--blue); background: var(--blue); color: var(--gold-l); }
.stepper .ctl button svg { width: 18px; height: 18px; }
.stepper .ctl output { min-width: 28px; text-align: center; font-size: 17px; font-weight: 700; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--mu); }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex-shrink: 0; }

/* ---------- sections ---------- */
.section { padding: 56px 0 0; }
.section h2 { font-size: 34px; margin-bottom: 8px; }
.section .sub { color: var(--mu); margin: 0 0 22px; }
.classes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.class-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--tx); }
.class-card:hover { border-color: var(--gold-d); color: var(--tx); box-shadow: var(--shadow); }
.class-card img { width: 100%; height: 190px; object-fit: cover; }
.class-card .in { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.class-card h3 { font-size: 24px; }
.class-card p { margin: 0; font-size: 13px; color: var(--mu); flex: 1; }
.class-card .price { font-size: 14px; color: var(--mu); }
.class-card .price b { color: var(--gold-ink); font-size: 18px; }
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.inc { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: 14px; line-height: 1.3; }
.inc svg { width: 24px; height: 24px; color: var(--gold-ink); flex-shrink: 0; }
.concierge { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 22px; background: var(--blue); color: #fff; }
.concierge:hover { color: #fff; box-shadow: var(--shadow); }
.concierge .ic { width: 52px; height: 52px; border-radius: 999px; background: var(--grad); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.concierge .ic svg { width: 24px; height: 24px; }
.concierge b { display: block; font-size: 17px; }
.concierge small { color: #C9D6E2; font-size: 14px; }
.foot { margin-top: 64px; padding: 36px 0 120px; background: var(--blue); color: #C9D6E2; font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot img { height: 44px; width: auto; margin-bottom: 10px; }
.foot a { color: #fff; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pb { height: 28px; min-width: 46px; padding: 0 9px; box-sizing: border-box; border-radius: 6px; background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 3px; line-height: 1; }
.pb svg { height: 16px; width: auto; }
.pb-apple { background: #000; border: 1px solid rgba(255,255,255,.35); }
.pb-apple svg { height: 15px; margin-top: -2px; }
.pb-apple b { color: #fff; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: -0.2px; }
.pb-card svg { height: 20px; }
.pb-visa { color: #1A1F71; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 900; font-style: italic; letter-spacing: 0.5px; }
.pb-stripe { color: #635BFF; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 15px; font-weight: 800; letter-spacing: -0.4px; }

/* ---------- fleet ---------- */
.page-head { padding: 26px 0 8px; }
.page-head h1 { font-size: 40px; color: var(--blue); }
.trip-card { padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 12px; }
.trip-card .row1 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.trip-card .row1 h2 { font-size: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.chip svg { width: 15px; height: 15px; color: var(--gold-ink); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.pill { flex: 0 0 auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 700; color: var(--tx); }
.pill.on { border: none; background: var(--grad); color: var(--navy); }
.group { padding-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.group-head h2 { font-size: 26px; color: var(--blue); }
.group-head span { font-size: 13px; color: var(--mu); text-align: right; }
.group-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.yrow { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; color: var(--tx); }
.yrow:hover { border-color: var(--gold-d); color: var(--tx); box-shadow: var(--shadow); }
.yrow img { width: 112px; height: 88px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.yrow .in { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yrow .nm { font-family: var(--disp); font-size: 20px; }
.yrow small { font-size: 12px; color: var(--mu); }
.yrow .pr { font-size: 13px; color: var(--mu); }
.yrow .pr b { font-size: 17px; color: var(--blue); }
.yrow svg { width: 20px; height: 20px; color: var(--gold-ink); flex-shrink: 0; }

/* ---------- yacht page ---------- */
.y-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; padding-top: 22px; }
.gallery { position: relative; border-radius: 24px; overflow: hidden; }
.gallery .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .track img { flex: 0 0 100%; width: 100%; height: 520px; object-fit: cover; scroll-snap-align: start; }
.gallery .count { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--tx); font-size: 12px; font-weight: 700; }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery .nav.prev { left: 12px; }
.gallery .nav.next { right: 12px; }
.thumbs { display: flex; gap: 10px; padding: 12px 2px 2px; overflow-x: auto; }
.thumbs button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 14px; background: none; }
.thumbs button.on { border-color: var(--gold-d); }
.thumbs img { width: 84px; height: 68px; border-radius: 11px; object-fit: cover; }
.y-title { padding: 22px 0 16px; }
.y-title h1 { font-size: 46px; margin-top: 8px; color: var(--blue); }
.y-title p { color: var(--mu); margin: 8px 0 0; font-size: 16px; }
.tiles4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tiles4 > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.tiles4 svg { width: 22px; height: 22px; color: var(--gold-ink); }
.tiles4 b { font-size: 15px; }
.tiles4 small { font-size: 11px; color: var(--mu); }
.box { padding: 6px 18px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.box.goldline { border-color: var(--line-gold); box-shadow: var(--shadow); }
.box h2 { font-size: 22px; padding: 14px 0 8px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv span:first-child { color: var(--mu); }
.kv span:last-child { font-weight: 600; text-align: right; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.total .big { font-family: var(--disp); font-size: 36px; color: var(--blue); }
.addon { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 0; border: none; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.addon > svg { width: 22px; height: 22px; color: var(--gold-ink); flex-shrink: 0; }
.addon .in { flex: 1; }
.addon b { display: block; font-size: 15px; }
.addon small { font-size: 12px; color: var(--mu); }
.tg { width: 46px; height: 28px; padding: 3px; border-radius: 999px; background: var(--line); display: flex; flex-shrink: 0; transition: background .2s; }
.tg i { width: 22px; height: 22px; border-radius: 99px; background: #fff; transition: transform .2s; }
.addon[aria-pressed="true"] .tg { background: var(--gold-d); }
.addon[aria-pressed="true"] .tg i { background: var(--blue); transform: translateX(18px); }
.goodlist { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--mu); }
.goodlist span { display: flex; gap: 10px; }
.goodlist svg { width: 18px; height: 18px; color: var(--gold-ink); flex-shrink: 0; margin-top: 1px; }
.side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.bottombar { display: none; }

/* ---------- checkout ---------- */
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding-top: 18px; }
.steps3 { display: flex; align-items: center; gap: 8px; padding: 12px 0 18px; }
.steps3 .s { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--mu); }
.steps3 .s.on, .steps3 .s.done { color: var(--tx); }
.steps3 .dot { width: 26px; height: 26px; border-radius: 99px; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.steps3 .s.on .dot { border: none; background: var(--grad); color: var(--navy); }
.steps3 .s.done .dot { border: none; background: var(--gold); color: var(--navy); }
.steps3 .dot svg { width: 14px; height: 14px; }
.steps3 .ln { flex: 1; height: 1px; background: var(--line); }
.mini { display: flex; align-items: center; gap: 12px; }
.mini img { width: 76px; height: 64px; border-radius: 12px; object-fit: cover; }
.mini b { font-family: var(--disp); font-weight: 400; font-size: 20px; display: block; }
.mini small { color: var(--mu); font-size: 12px; }
#payment-element { min-height: 40px; }
.alert { padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.alert.err { background: #FDECEA; border: 1px solid #F5C2BB; color: #8C2A1D; }
.alert.info { background: #FFF7E6; border: 1px solid var(--line-gold); color: var(--tx); }
.secure { text-align: center; font-size: 12px; color: var(--mu); }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(10,33,45,0.35); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* page loader: a navy screen with a gold ring from the very first paint (class set in the HTML) until the page script calls SG.ready() */
body.sg-loading { overflow: hidden; }
body.sg-loading::before { content: ''; position: fixed; inset: 0; z-index: 29; background: var(--blue); transition: opacity .3s ease; animation: sgHide 0s 12s forwards; }
body.sg-loading::after { content: ''; position: fixed; left: 50%; top: 50%; z-index: 29; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 3px solid rgba(250, 220, 108, 0.22); border-top-color: var(--gold-l); border-right-color: var(--gold-d); animation: spin .9s linear infinite, sgHide 0s 12s forwards; transition: opacity .3s ease; }
body.sg-fade::before, body.sg-fade::after { opacity: 0; }
@keyframes sgHide { to { visibility: hidden; } }
.success { max-width: 560px; margin: 0 auto; padding: 48px 0; display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; }
.success .badge { width: 76px; height: 76px; border-radius: 999px; background: var(--grad); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.success .badge svg { width: 38px; height: 38px; }
.success h1 { font-size: 38px; color: var(--blue); }
.success .box { width: 100%; text-align: left; }

/* ---------- responsive (phone first-class: this becomes the app) ---------- */
@media (max-width: 900px) {
  .topnav, .topbar .desk { display: none; }
  .topbar .wrap { height: 64px; }
  .hero { min-height: 0; display: block; }
  /* phone: a photo band with the whole yacht between the title and the search card */
  .hero { background: var(--bg); }
  .hero > img { right: 0; bottom: auto; width: 100%; height: 520px; object-position: 55% 50%; -webkit-mask-image: none; mask-image: none; }
  .hero::after { height: 520px; background: linear-gradient(180deg, rgba(11,47,74,0.85) 0%, rgba(11,47,74,0.45) 32%, rgba(11,47,74,0.05) 48%, rgba(11,47,74,0.05) 80%, var(--bg) 100%); }
  .hero .wrap { display: block; padding-top: 104px; padding-bottom: 0; }
  .hero .wrap > div:first-child { min-height: 316px; }
  .hero h1 { font-size: 36px; margin: 10px 0 12px; }
  .hero p.lead { display: none; }
  .planner { padding: 16px 14px; }
  .strip { margin: 0 -14px; padding: 2px 14px; }
  .classes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .class-card img { height: 130px; }
  .class-card h3 { font-size: 20px; }
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .section h2 { font-size: 28px; }
  .group-list { grid-template-columns: 1fr; }
  .y-layout, .co-layout { display: block; padding-top: 0; }
  .gallery { border-radius: 0; margin: 0 -16px; }
  .gallery .track img { height: 380px; }
  .gallery .nav { display: none; }
  .y-title h1 { font-size: 40px; }
  .side { position: static; margin-top: 22px; }
  .bottombar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 47, 74, 0.08); }
  .bottombar .t b { display: block; font-size: 20px; color: var(--blue); }
  .bottombar .t small { font-size: 12px; color: var(--mu); }
  .has-bottombar .tabbar { display: none !important; }
  .has-bottombar .foot { padding-bottom: 130px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(70px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--card); border-top: 1px solid var(--line); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #566A7A; font-size: 11px; font-weight: 700; border-top: 3px solid transparent; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--blue); border-top-color: var(--gold-d); }
  .co-layout .side { margin-top: 16px; }
}
@media (max-width: 420px) {
  .city-tiles .tile img { height: 72px; }
  .tiles4 b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- fleet: photo feed (layout 2) ---------- */
.fl-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 4px; font-size: 13px; color: var(--mu); }
.fl-bar b { color: var(--tx); }
.fl-bar a { font-weight: 700; margin-left: 6px; }
.sortsel { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--tx); font-size: 13px; font-weight: 700; }
.filters .pill.on { background: var(--blue); color: var(--gold-l); }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; padding-top: 18px; }
.fcard { display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fcard .media { position: relative; border-radius: 20px; overflow: hidden; background: var(--line); }
.fcard .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fcard .track::-webkit-scrollbar { display: none; }
.fcard .track a { flex: 0 0 100%; scroll-snap-align: start; }
.fcard .track img { width: 100%; height: 250px; object-fit: cover; }
.fcard .badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 8px; background: var(--blue); color: var(--gold-l); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; pointer-events: none; }
.fcard .fav { position: absolute; top: 8px; right: 8px; }
.fcard .fav svg { width: 19px; height: 19px; }
.fcard .fav[aria-pressed="true"] svg { fill: #D64545; stroke: #D64545; }
.fcard .dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.fcard .dots i { width: 6px; height: 6px; border-radius: 9px; background: rgba(255,255,255,0.6); transition: width .2s; }
.fcard .dots i.on { width: 16px; background: #fff; }
.fcard .info { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; color: var(--tx); }
.fcard .info:hover { color: var(--tx); }
.fcard .nm { font-family: var(--disp); font-size: 23px; line-height: 1.15; }
.fcard .meta { font-size: 13px; color: var(--mu); margin-top: 4px; }
.fcard .port { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 13px; font-weight: 600; color: var(--tx); }
.fcard .port svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold-ink); }
.fcard .pr { text-align: right; flex-shrink: 0; }
.fcard .pr b { display: block; font-size: 20px; color: var(--blue); }
.fcard .pr b.req { font-size: 16px; color: var(--gold-ink); }
.fcard .pr small { font-size: 12px; color: var(--mu); }
.feed-empty { padding: 30px 0; color: var(--mu); }
@media (max-width: 1100px) { .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .feed { grid-template-columns: 1fr; gap: 18px; padding-top: 14px; } .fcard .track img { height: 236px; } }

/* ---------- live-fleet yachts: availability, facilities, show more ---------- */
.avail { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.45; margin: 4px 0 8px; }
.avail svg { width: 20px; height: 20px; flex-shrink: 0; }
.avail.ok { background: #E8F5EE; color: #17603E; }
.avail.bad { background: #FDECEA; color: #8C2A1D; }
.btn.disabled { opacity: 0.45; pointer-events: none; filter: grayscale(0.4); }
.facs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; font-size: 14px; }
.facs span { display: flex; gap: 8px; align-items: flex-start; }
.facs svg { width: 17px; height: 17px; color: var(--gold-ink); flex-shrink: 0; margin-top: 2px; }
.desc { margin: 0; white-space: pre-line; font-size: 14px; line-height: 1.6; color: var(--tx); max-height: 150px; overflow: hidden; position: relative; }
.desc::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: linear-gradient(180deg, rgba(255,255,255,0), var(--card)); }
.desc.open { max-height: none; }
.desc.open::after { display: none; }
.more { margin-top: 8px; padding: 0; border: none; background: none; color: var(--link); font-weight: 700; font-size: 14px; min-height: 44px; }
.fcard.booked .media { opacity: 0.5; filter: grayscale(0.5); }
.fcard .flag { position: absolute; left: 12px; bottom: 34px; padding: 5px 10px; border-radius: 8px; background: #FDECEA; color: #8C2A1D; font-size: 12px; font-weight: 700; pointer-events: none; }
.fcard .ref { font-size: 12px; color: var(--mu); }
.showmore { display: flex; justify-content: center; padding: 26px 0 0; }
@media (max-width: 900px) { .facs { grid-template-columns: 1fr; } }

/* ---------- booking box: calendar, time slots, extras ---------- */
.bw-top { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 12px; }
.bw-price b { font-family: var(--disp); font-weight: 400; font-size: 30px; color: var(--blue); }
.bw-price span { font-size: 13px; color: var(--mu); margin-left: 4px; }
.bw-min { font-size: 12px; color: var(--mu); }
.bw-sec { padding: 14px 0; border-top: 1px solid var(--line); }
.bw-lbl { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mu); }
.bw-lbl b { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--blue); }
.bw-calhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.bw-calhead b { font-size: 15px; }
.bw-nav { background: var(--bg); color: var(--tx); width: 40px; height: 40px; }
.bw-nav:disabled { opacity: 0.35; }
.bw-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bw-wd { font-size: 11px; font-weight: 700; color: var(--mu); text-align: center; padding: 4px 0; }
.bw-day { height: 42px; border-radius: 10px; border: 1px solid transparent; background: transparent; font-size: 14px; font-weight: 600; color: var(--tx); }
.bw-day.ok { background: #EAF4EE; color: #17603E; }
.bw-day.ok:hover { border-color: #17603E; }
.bw-day.full { background: #FBECEA; color: #A8483C; text-decoration: line-through; }
.bw-day.off { color: #B7C2CB; }
.bw-day.sel { background: var(--blue); color: var(--gold-l); }
.bw-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--mu); }
.bw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg.ok { background: #EAF4EE; border: 1px solid #9ACDB0; } .lg.full { background: #FBECEA; border: 1px solid #E6AFA7; } .lg.sel { background: var(--blue); }
.bw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bw-chip { min-width: 56px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 14px; }
.bw-chip.on { border: none; background: var(--blue); color: var(--gold-l); }
.bw-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bw-slot { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 2px; min-height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.bw-slot b { font-size: 14px; }
.bw-slot small { font-size: 10px; color: var(--mu); }
.bw-slot.ok:hover { border-color: var(--blue); }
.bw-slot.sel { border: 2px solid var(--gold-d); background: #FFF8E8; }
.bw-slot.booked { background: #F4F6F8; color: #A5B1BB; text-decoration: line-through; }
.bw-slot.booked small { text-decoration: none; color: #A8483C; }
.bw-slot.short { background: #FFF8E8; color: #8A6A2F; }
.bw-slot.short small { color: var(--gold-ink); }
.bw-hint { font-size: 13px; margin: 0; }
.bw-sum { padding-top: 4px; }
.bw-extra { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.bw-extra > svg { width: 22px; height: 22px; color: var(--gold-ink); flex-shrink: 0; }
.bw-extra .in { flex: 1; }
.bw-extra b { display: block; font-size: 15px; }
.bw-extra small { font-size: 13px; color: var(--blue); font-weight: 700; }
.bw-extra .ctl { display: flex; align-items: center; gap: 10px; }
.bw-extra .ctl button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.bw-extra .ctl button.plus { border-color: var(--blue); background: var(--blue); color: var(--gold-l); }
.bw-extra .ctl button svg { width: 16px; height: 16px; }
.bw-extra .ctl output { min-width: 18px; text-align: center; font-weight: 700; }
.bw-add { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--blue); background: transparent; color: var(--blue); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.bw-add svg { width: 15px; height: 15px; }
.bw-add.on { background: var(--blue); color: var(--gold-l); }
.bw-extra.on b { color: var(--blue); }
/* fleet search bar */
.searchbar { margin-top: 16px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.searchbar .field select, .searchbar .field input { height: 48px; }
.searchbar .field input[type="date"], .searchbar .field input[type="date"]::-webkit-date-and-time-value { line-height: 46px; }
.searchbar .btn { height: 48px; }
@media (max-width: 900px) {
  .searchbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .searchbar .btn { grid-column: 1 / -1; }
  .bw-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* yacht page: booking box sits beside the photos on desktop and right after them on phones */
.y-layout .y-a, .y-layout .y-b { grid-column: 1; min-width: 0; }
.y-layout .side { grid-column: 2; grid-row: 1 / span 2; position: static; }
.y-layout .y-b .stack { margin-top: 22px; }

/* ---------- Google reviews (home + yacht pages) ---------- */
#reviews { scroll-margin-top: 80px; }
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.rv-head h2 { margin: 6px 0 10px; }
.rv-box .rv-head h2 { font-size: 22px; margin: 14px 0 6px; padding: 0; }
.rv-score { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--mu); }
.rv-score > b { font-size: 26px; line-height: 1; color: var(--blue); }
.rv-box .rv-score > b { font-size: 20px; }
.rv-score span b { color: var(--tx); }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { width: 16px; height: 16px; fill: var(--gold-d); }
.rv-nav { display: flex; gap: 10px; flex-shrink: 0; }
.rv-nav button { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.rv-nav button.rv-next { background: var(--blue); border-color: var(--blue); color: var(--gold-l); }
.rv-nav svg { width: 18px; height: 18px; }
.rv-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px 2px 22px; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 calc((100% - 28px) / 3); scroll-snap-align: start; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px rgba(11, 47, 74, 0.07); display: flex; flex-direction: column; gap: 12px; }
.rv-box .rv-card { flex-basis: calc((100% - 14px) / 2); box-shadow: none; background: var(--bg); }
.rv-who { display: flex; align-items: center; gap: 10px; }
.rv-av { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }
.rv-av.a0 { background: var(--blue); color: var(--gold-l); } .rv-av.a1 { background: #FFF4DC; color: #8A5E0F; }
.rv-av.a2 { background: #E6EEF4; color: var(--blue); } .rv-av.a3 { background: #F3E9D7; color: #6B4A0E; }
.rv-nm { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rv-nm b { font-size: 15px; }
.rv-nm small { font-size: 12px; color: var(--mu); }
.rv-g { font-size: 12px; font-weight: 700; color: var(--mu); }
.rv-text { margin: 0; font-size: 15px; line-height: 1.55; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-text.open { display: block; -webkit-line-clamp: unset; }
.rv-more { align-self: flex-start; margin-top: -6px; padding: 0; border: none; background: none; color: #0B5C8A; font-size: 13px; font-weight: 700; }
.rv-tr { margin-top: auto; font-size: 12px; color: var(--mu); }
.rv-tr button { padding: 0; border: none; background: none; color: #0B5C8A; font-size: 12px; font-weight: 600; text-decoration: underline; }
.rv-dots { display: none; justify-content: center; gap: 6px; }
.rv-dots i { width: 7px; height: 7px; border-radius: 99px; background: #C9D6E2; transition: width .2s; }
.rv-dots i.on { width: 22px; background: var(--blue); }
.rv-all { margin-top: 18px; }
.rv-box .rv-all { margin: 4px 0 6px; }
.rv-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin-top: 12px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--tx); font-size: 13px; font-weight: 700; }
.rv-chip:hover { color: var(--tx); border-color: var(--gold-d); }
.rv-chip span { color: var(--mu); font-weight: 500; }
.rv-chip .rv-stars svg { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .rv-nav { display: none; }
  .rv-dots { display: flex; }
  .rv-track { margin: 0 -16px; padding: 18px 16px 20px; scroll-padding-left: 16px; }
  .rv-box .rv-track { margin: 0 -18px; padding: 14px 18px 18px; scroll-padding-left: 18px; }
  .rv-card, .rv-box .rv-card { flex-basis: 84%; }
  .rv-all { display: flex; width: 100%; justify-content: center; }
  .rv-head h2 { font-size: 28px; }
}

/* ---------- gold shimmer (approved finishing touch) ---------- */
/* a soft light sweeps across every gold button every few seconds */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-150%) skewX(-20deg); animation: sg-sheen 3.6s ease-in-out infinite; }
.btn-gold:disabled::after, .btn-gold.disabled::after { display: none; }
@keyframes sg-sheen { 0% { transform: translateX(-150%) skewX(-20deg); } 40%, 100% { transform: translateX(330%) skewX(-20deg); } }
/* the home photo drifts in very slowly */
.hero > img { transform-origin: 58% 60%; animation: sg-kb 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes sg-kb { from { transform: scale(1); } to { transform: scale(1.08); } }
/* yacht cards: a fainter shine now and then (staggered so they do not flash together) */
.fcard .media::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-160%) skewX(-20deg); animation: sg-sheen 7s ease-in-out 1s infinite; }
.fcard:nth-child(3n+2) .media::after { animation-delay: 3.3s; }
.fcard:nth-child(3n) .media::after { animation-delay: 5.6s; }
.fcard.booked .media::after { display: none; }
/* photos zoom in a touch under the mouse */
.fcard .track img, .class-card img { transition: transform 0.6s ease; }
@media (hover: hover) { .fcard .media:hover .track img, .class-card:hover img { transform: scale(1.05); } }

.section { scroll-margin-top: 16px; }

/* ---------- customer account ---------- */
.tb-acts { display: flex; gap: 10px; align-items: center; }
.topbar .acct-btn.on { background: rgba(250, 220, 108, 0.12); }
.small { font-size: 12.5px; line-height: 1.5; }
.acct { padding-bottom: 60px; }
.auth { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 360px); gap: 40px; justify-content: center; align-items: start; padding-top: 36px; }
.auth-card { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h1 { font-size: 34px; color: var(--blue); margin: 0; }
.auth-card > p { margin: -6px 0 0; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); }
.seg2 button { height: 40px; border: none; border-radius: 10px; background: transparent; font: 700 14px var(--body); color: var(--mu); cursor: pointer; }
.seg2 button.on { background: var(--card); color: var(--blue); box-shadow: 0 2px 8px rgba(11, 47, 74, 0.1); }
.gwrap { display: flex; justify-content: center; min-height: 44px; }
.gbtn { width: 100%; max-width: 400px; display: flex; justify-content: center; }
.or { display: flex; align-items: center; gap: 12px; color: var(--mu); font-size: 12px; font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw { position: relative; display: block; }
.pw input { width: 100%; padding-right: 64px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 10px; border: none; background: transparent; color: var(--link); font: 700 13px var(--body); cursor: pointer; }
.linkbtn { border: none; background: none; padding: 4px; color: var(--link); font: 600 14px var(--body); cursor: pointer; align-self: center; }
.perks { list-style: none; margin: 0; padding: 20px 0 0; display: flex; flex-direction: column; gap: 22px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold-d); margin-top: 2px; }
.perks b { display: block; color: var(--blue); font-size: 15px; margin-bottom: 2px; }
.perks span { color: var(--mu); font-size: 14px; }

.pass { margin-top: 26px; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(245, 202, 97, 0.22) 0%, rgba(245, 202, 97, 0) 55%), linear-gradient(135deg, #0B2F4A 0%, #0A2536 100%);
  box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pass::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.pass .av { width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--grad); color: var(--navy); font: 400 28px var(--disp); overflow: hidden; border: 2px solid rgba(250, 220, 108, 0.6); }
.pass .av img { width: 100%; height: 100%; object-fit: cover; }
.pass .pn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pass .eyebrow { color: var(--gold-l); }
.pass h1 { margin: 0; font-size: 32px; color: #fff; line-height: 1.1; }
.pass .pm { color: rgba(255, 255, 255, 0.75); font-size: 14px; overflow-wrap: anywhere; }
.pass .vb { font-style: normal; display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(250, 220, 108, 0.16); color: var(--gold-l); font-size: 12px; font-weight: 700; }
.pass .vb svg { width: 12px; height: 12px; }
.vnote { margin-top: 14px; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.atabs { display: flex; gap: 6px; margin: 22px 0 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.atabs::-webkit-scrollbar { display: none; }
.atabs button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: none; background: none; border-bottom: 3px solid transparent; margin-bottom: -1px;
  font: 700 14px var(--body); color: var(--mu); cursor: pointer; }
.atabs button svg { width: 18px; height: 18px; }
.atabs button.on { color: var(--blue); border-bottom-color: var(--gold-d); }
.apane { padding-top: 18px; }
.ah { font-size: 22px; color: var(--blue); margin: 10px 0 12px; }
.bks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.bk { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; align-items: center; }
.bk.off { opacity: 0.72; }
.bk-img img { width: 150px; height: 112px; object-fit: cover; border-radius: 14px; background: var(--field); }
.bk-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bk-main h3 { margin: 0; font: 400 22px/1.2 var(--disp); color: var(--blue); }
.bk-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.st.ok { background: #E3F5EC; color: #1E6B48; }
.st.wait { background: #FFF3D6; color: #8A6200; }
.st.off { background: #F1F3F5; color: #5B6377; }
.soon { font-size: 12px; font-weight: 700; color: var(--gold-ink); }
.bk-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--tx); }
.bk-meta span { display: inline-flex; align-items: center; gap: 6px; }
.bk-meta svg { width: 16px; height: 16px; color: var(--mu); }
.bk-x { font-size: 13px; color: var(--mu); }
.bk-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.bk-side .ref { font-size: 12px; color: var(--mu); font-weight: 600; letter-spacing: 0.3px; }
.bk-side .amt { font-size: 22px; color: var(--blue); }
.bk-side small { font-size: 12px; }
.bk-acts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; justify-content: flex-end; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 40px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: 22px; margin-bottom: 18px; }
.empty-state svg { width: 30px; height: 30px; color: var(--gold-d); }
.empty-state b { font-size: 17px; color: var(--blue); }
.empty-state .btn { margin-top: 8px; }
.svg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sv { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.sv a { display: block; color: inherit; }
.sv img { width: 100%; height: 190px; object-fit: cover; }
.sv-in { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.sv-in b { font-size: 16px; color: var(--blue); }
.sv-in small { color: var(--mu); font-size: 13px; }
.sv .fav { position: absolute; top: 10px; right: 10px; }
.sv .fav svg { width: 19px; height: 19px; fill: #D64545; stroke: #D64545; }
.pform { padding: 6px 22px 22px; }
.pform h2 small { font: 500 13px var(--body); margin-left: 6px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.box.danger { border-color: #F5C2BB; }
.btn-del { border-color: #F5C2BB; color: var(--danger); background: #FDECEA; }
.btn-del:hover { color: #fff; background: var(--danger); }
.acct-cta { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-top: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-gold); background: #FFFBF1; font-size: 14px; text-align: left; }
.acct-cta b { color: var(--blue); }
.signed-as { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mu); margin: -4px 0 4px; }
.signed-as svg { width: 16px; height: 16px; color: var(--gold-d); }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; gap: 26px; padding-top: 18px; }
  .auth-card { padding: 20px 18px; }
  .auth-card h1 { font-size: 30px; }
  .perks { padding: 0 6px; }
  .pass { flex-wrap: wrap; padding: 18px; gap: 14px; margin-top: 16px; }
  .pass .av { width: 52px; height: 52px; font-size: 24px; }
  .pass h1 { font-size: 26px; }
  .pass .btn { width: 100%; }
  .vnote { flex-direction: column; align-items: stretch; }
  .bk { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; align-items: start; }
  .bk-img img { width: 96px; height: 96px; }
  .bk-main h3 { font-size: 19px; }
  .bk-meta { font-size: 13px; gap: 4px 12px; }
  .bk-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; gap: 4px 10px; border-top: 1px solid var(--line); padding-top: 10px; }
  .bk-side .amt { font-size: 18px; margin-left: auto; }
  .bk-side small { width: 100%; text-align: right; }
  .bk-acts { width: 100%; margin-top: 4px; }
  .bk-acts .btn { flex: 1; }
  .svg { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sv img { height: 130px; }
  .g2 { grid-template-columns: 1fr; }
  .pform { padding: 4px 16px 18px; }
  .acct-cta { flex-direction: column; align-items: stretch; }
}
.bk-ph { width: 150px; height: 112px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #0B2F4A, #0A2536); color: var(--gold); }
.bk-ph svg { width: 30px; height: 30px; }
@media (max-width: 900px) { .bk-ph { width: 96px; height: 96px; } }
/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding-bottom: 60px; }
.legal .page-head h1 { margin: 8px 0 10px; }
.legal section { padding: 18px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 24px; color: var(--blue); margin: 0 0 10px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--tx); }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.foot a[href="privacy.html"] { color: inherit; text-decoration: underline; text-underline-offset: 2px; opacity: .85; }
/* signed-in chip in the header */
.acct-slot { display: flex; }
.acct-menu { position: relative; }
.acct-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 5px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(250, 220, 108, 0.55); background: rgba(250, 220, 108, 0.08); color: var(--gold-l); font: 700 14px var(--body); }
.acct-chip:hover, .acct-chip[aria-expanded="true"] { background: rgba(250, 220, 108, 0.16); border-color: var(--gold-l); }
.acct-chip .chev { width: 14px; height: 14px; transition: transform .2s; }
.acct-chip[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acct-av { position: relative; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: inline-grid; place-items: center;
  background: var(--grad); color: var(--navy); font: 400 17px/1 var(--disp); box-shadow: 0 0 0 2px var(--blue), 0 0 0 3px rgba(250, 220, 108, 0.7); }
.acct-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.acct-av .on-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #2FB36E; border: 2px solid var(--blue); }
.acct-nm { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-dd { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 8px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); z-index: 60; display: flex; flex-direction: column; }
.acct-dd[hidden] { display: none; }
.acct-dd::before { content: ""; position: absolute; top: -6px; right: 22px; width: 12px; height: 12px; background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.acct-hd { display: flex; gap: 10px; align-items: center; padding: 8px 8px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.acct-hd .acct-av { box-shadow: none; }
.acct-hd .acct-av .on-dot { border-color: var(--card); }
.acct-hd span { min-width: 0; display: flex; flex-direction: column; }
.acct-hd b { color: var(--blue); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-hd small { color: var(--mu); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-dd a, .acct-dd button { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px; border-radius: 12px; border: none; background: none;
  color: var(--tx); font: 600 14px var(--body); text-align: left; cursor: pointer; }
.acct-dd a:hover, .acct-dd button:hover { background: var(--field); color: var(--blue); }
.acct-dd svg { width: 18px; height: 18px; color: var(--gold-d); }
.acct-dd [data-signout] { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; height: 46px; color: var(--mu); }
.tabbar .acct-av { width: 24px; height: 24px; font-size: 13px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(230, 162, 67, 0.7); }
.tabbar .acct-av .on-dot { width: 8px; height: 8px; border-color: #fff; }
.sg-toast { position: fixed; left: 50%; top: 80px; z-index: 80; transform: translate(-50%, -12px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 14px;
  background: var(--blue); color: #fff; font: 600 14px var(--body); box-shadow: var(--shadow); transition: opacity .25s, transform .25s; }
.sg-toast svg { width: 18px; height: 18px; color: var(--gold-l); flex-shrink: 0; }
.sg-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .acct-chip { padding: 0 4px; width: 44px; justify-content: center; }
  .acct-dd { right: -58px; width: min(270px, calc(100vw - 24px)); }
  .acct-dd::before { right: 76px; }
  .sg-toast { top: 76px; }
}
/* ---------- private booking page (booking.html) ---------- */
.bv { padding-bottom: 60px; }
.bv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 26px 0 18px; }
.bv-head h1 { font-size: 40px; color: var(--blue); margin: 6px 0 0; }
.bv-st { display: flex; gap: 10px; align-items: center; }
.bv-st .st { font-size: 13px; padding: 6px 13px; }
.bv-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bv .gallery .track img { height: 460px; }
.bv-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: 14px; }
.bv-acts { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.bv-due span { color: var(--danger) !important; font-weight: 700; }
@media (max-width: 900px) {
  .bv-head { padding: 18px 0 12px; }
  .bv-head h1 { font-size: 32px; }
  .bv-grid { grid-template-columns: 1fr; gap: 8px; }
  .bv .gallery .track img { height: 300px; }
  .bv .y-title h1 { font-size: 30px !important; }
  .bv-acts .btn { flex: 1; }
}
@media print {
  .topbar, .tabbar, .foot, .bv-acts, .bv .btn-gold, .gallery .nav, .gallery .count, .bv-link, #sgToast { display: none !important; }
  body { background: #fff; }
  .bv .gallery .track { overflow: hidden; }
  .bv .gallery .track img { height: 260px; }
  .bv-grid { grid-template-columns: 1fr; gap: 10px; }
  .box { break-inside: avoid; box-shadow: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; box-shadow: 0 10px 26px rgba(11, 47, 74, 0.28), 0 0 0 4px rgba(37, 211, 102, 0.18); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 900px) {
  .has-tabbar .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .has-bottombar .wa-float { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .wa-float { right: 14px; width: 54px; height: 54px; }
}
@media print { .wa-float { display: none !important; } }
/* ---------- home: "why Stargo" navy band (after the reviews) ---------- */
.why-band { position: relative; overflow: hidden; margin-top: 44px; padding: 44px 24px; border-radius: 28px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(245, 202, 97, 0.18) 0%, rgba(245, 202, 97, 0) 50%), linear-gradient(135deg, #0B2F4A 0%, #082233 100%);
  box-shadow: 0 20px 44px rgba(11, 47, 74, 0.22); }
.why-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.wb-head { padding: 0 32px 30px; display: flex; flex-direction: column; gap: 8px; }
.wb-head .eyebrow { color: var(--gold-l); letter-spacing: 2.6px; }
.wb-head h2 { margin: 0; font-size: 38px; line-height: 1.1; color: #fff; }
.wb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-item { display: flex; flex-direction: column; gap: 14px; padding: 4px 32px; }
.wb-item + .wb-item { border-left: 1px solid rgba(250, 220, 108, 0.28); }
.wb-ic { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(250, 220, 108, 0.12); box-shadow: inset 0 0 0 1px rgba(250, 220, 108, 0.4); }
.wb-ic svg { width: 28px; height: 28px; color: var(--gold-l); stroke-width: 1.7; }
.wb-item h3 { margin: 0 0 6px; font: 700 19px/1.3 var(--body); color: #fff; }
.wb-item p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.74); }
@media (max-width: 900px) {
  .why-band { margin-top: 28px; padding: 26px 20px 12px; border-radius: 24px; }
  .wb-head { padding: 0 0 18px; }
  .wb-head h2 { font-size: 28px; }
  .wb-grid { grid-template-columns: 1fr; }
  .wb-item { flex-direction: row; gap: 16px; padding: 18px 0; }
  .wb-item + .wb-item { border-left: none; border-top: 1px solid rgba(250, 220, 108, 0.22); }
  .wb-ic { width: 44px; height: 44px; }
  .wb-ic svg { width: 24px; height: 24px; }
  .wb-item h3 { font-size: 17px; }
  .wb-item p { font-size: 14px; }
}
/* terms page summary + checkout note */
.terms-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 4px 0 18px !important; border-top: none !important; }
.terms-sum div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-gold); }
.terms-sum b { color: var(--blue); font-size: 15px; }
.terms-sum span { color: var(--mu); font-size: 13.5px; line-height: 1.45; }
.cancel-note { margin: -4px 0 0 30px; font-size: 12.5px; line-height: 1.5; color: var(--mu); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.goodlist a { font-weight: 700; margin-left: 4px; }
@media (max-width: 900px) { .terms-sum { grid-template-columns: 1fr 1fr; } }

/* static footer links for crawlers; common.js replaces them with the full footer */
.foot-fallback { padding: 28px 16px 120px; text-align: center; font-size: 13px; color: var(--muted, #6B7C8C); }
.foot-fallback a { color: inherit; }

/* ---------- languages (assets/js/i18n.js) ---------- */
.lang-slot { display: flex; }
.lang-menu { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(250, 220, 108, 0.55); background: transparent; color: var(--gold-l); font: 700 13px var(--body); letter-spacing: .5px; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--gold-l); background: rgba(250, 220, 108, 0.08); }
.lang-btn:focus-visible, .lang-dd button:focus-visible { outline: 3px solid var(--gold-l); outline-offset: 2px; }
.lang-flag { width: 24px; height: 17px; flex-shrink: 0; border-radius: 4px; }
.lang-dd { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 230px; padding: 8px; border-radius: 18px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.lang-dd[hidden] { display: none; }
.lang-dd button { display: flex; align-items: center; gap: 14px; width: 100%; height: 48px; padding: 0 12px; border: none; border-radius: 12px; background: none;
  color: var(--tx); font: 600 16px var(--body); cursor: pointer; text-align: start; }
.lang-dd button span { flex: 1; }
.lang-dd button:hover { background: var(--field); }
.lang-dd button[aria-checked="true"] { background: #F7F1E4; }
.lang-dd .lang-flag { width: 30px; height: 21px; }
.lang-ok { width: 20px; height: 20px; color: var(--gold-d); }
@media (max-width: 900px) {
  .lang-btn { width: 44px; padding: 0; justify-content: center; }
  .lang-btn .lang-code { display: none; }
  .lang-dd { right: -104px; width: min(250px, calc(100vw - 24px)); }
}
/* Arabic: a heavier heading weight (the Arabic font is a sans) and no synthetic bold on Latin display letters */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .fcard .nm, html[lang="ar"] .pl-q, html[lang="ar"] .yrow .nm { font-weight: 600; font-synthesis: none; }
html[lang="ar"] .eyebrow, html[lang="ar"] .wb-eyebrow { letter-spacing: 0; }
html[lang="ar"] body { line-height: 1.65; }

/* ---------- right-to-left (Arabic) ---------- */
[dir="rtl"] .field input[type="date"], [dir="rtl"] .field input[type="date"]::-webkit-date-and-time-value { text-align: right; }
[dir="rtl"] .field select { padding-right: 14px; padding-left: 34px; background-position: left 12px center; }
[dir="rtl"] .group-head span, [dir="rtl"] .kv span:last-child, [dir="rtl"] .fcard .pr, [dir="rtl"] .bk-side { text-align: left; }
[dir="rtl"] .bk-side { align-items: flex-start; }
[dir="rtl"] .gallery .count { right: auto; left: 14px; }
[dir="rtl"] .gallery .nav.prev { left: auto; right: 12px; }
[dir="rtl"] .gallery .nav.next { right: auto; left: 12px; }
[dir="rtl"] svg.dir { transform: scaleX(-1); }
[dir="rtl"] .addon[aria-pressed="true"] .tg i { transform: translateX(-18px); }
[dir="rtl"] .success .box { text-align: right; }
[dir="rtl"] .fl-bar a, [dir="rtl"] .bw-price span, [dir="rtl"] .goodlist a, [dir="rtl"] .pass .vb, [dir="rtl"] .pform h2 small { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .fcard .badge, [dir="rtl"] .fcard .flag { left: auto; right: 12px; }
[dir="rtl"] .fcard .fav { right: auto; left: 8px; }
[dir="rtl"] .sv .fav { right: auto; left: 10px; }
[dir="rtl"] .pw input { padding-right: 14px; padding-left: 64px; }
[dir="rtl"] .pw-eye { right: auto; left: 6px; }
[dir="rtl"] .legal ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .acct-av .on-dot { right: auto; left: -1px; }
[dir="rtl"] .acct-dd, [dir="rtl"] .lang-dd { right: auto; left: 0; }
[dir="rtl"] .acct-dd::before { right: auto; left: 22px; }
[dir="rtl"] .acct-dd a, [dir="rtl"] .acct-dd button { text-align: right; }
[dir="rtl"] .wa-float { right: auto; left: 18px; }
[dir="rtl"] .wb-item + .wb-item { border-left: none; border-right: 1px solid rgba(250, 220, 108, 0.28); }
[dir="rtl"] .hero > img { left: auto; right: 0; }
[dir="rtl"] .rv-track { scroll-padding-left: 0; scroll-padding-right: 16px; }
@media (max-width: 900px) {
  [dir="rtl"] .acct-dd { left: -58px; }
  [dir="rtl"] .acct-dd::before { left: 76px; }
  [dir="rtl"] .lang-dd { left: -104px; }
  [dir="rtl"] .wa-float { left: 14px; }
  [dir="rtl"] .wb-item + .wb-item { border-right: none; }
  [dir="rtl"] .bk-side { text-align: right; }
  [dir="rtl"] .bk-side .amt { margin-left: 0; margin-right: auto; }
  [dir="rtl"] .bk-side small { text-align: left; }
}
