/* charter.ekmaryachting.com — charter look on top of the shared engine styles (site.css).
   site.css stays as it is on the sales site, so fixes can be copied between the two engines;
   everything that makes the charter look like the charter lives in this file, loaded after site.css.
   Design language (from the WordPress charter): dark navy #001647, gold #d1ad10 accents and borders,
   navy metallic buttons with gold borders, orange (#ff7700) only for Ekmar's Choice, warm off-white
   background white (as the sales site, since the design phase), Montserrat headings, Inter body text (both self-hosted, SIL Open Font Licence). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #001647;
  --navy-soft: #1e3a8a;
  /* Build 06.11 (owner): one colour for running text, one for headings; change them here for the whole site. */
  --text: #63686f;      /* = rgba(15, 23, 39, .65) on white, solid so it does not take on the tint of coloured boxes */
  --heading: #22304d;
  --ink: var(--heading);
  --slate: #475569;
  /* In site.css "--orange" is the accent colour (header line, drawer edges, focus rings).
     On the charter that accent is gold; the real orange is kept for Ekmar's Choice below. */
  --orange: #d1ad10;
  --orange-deep: #1e3a8a;
  --gold: #d1ad10;
  --gold-light: #fde047;
  --gold-dark: #997b08;
  --choice: #ff7700;
  --mist: #f1f4f7;
  --line: #dde3ea;
  --whatsapp: #128c7e;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --metal: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 58, 138, 0.9) 45%, rgba(37, 99, 235, 0.85) 75%, rgba(15, 23, 42, 0.92) 100%);
}

body { background: #ffffff; color: var(--text); }

h1, h2, h3, .brand-name, .footer-brand, .drawer-label, .btn {
  font-family: var(--font-head);
  font-stretch: normal;
}
h1 { font-weight: 700; letter-spacing: -0.015em; }
h2, h3 { font-weight: 700; }

a { color: var(--navy-soft); }
a:hover { color: var(--navy); }

/* Navy metallic buttons with gold borders (bright gold on top, dark gold below), as on the charter. */
.btn--primary {
  background: var(--metal);
  color: #ffffff;
  border: 2px solid var(--gold);
  border-top-color: var(--gold-light);
  border-bottom-color: var(--gold-dark);
  box-shadow: 0 2px 8px rgba(0, 22, 71, 0.25);
}
.btn--primary:hover { background: var(--navy); color: #ffffff; border-color: var(--gold-light); }
.btn--whatsapp { background: #25d366; color: #073b2f; }
.btn--whatsapp:hover { background: #1ebe5d; color: #073b2f; }

/* Ekmar's Choice stays orange on the charter (the sales site uses red). */
.choice-ribbon > span {
  background: linear-gradient(135deg, #d96500 0%, var(--choice) 35%, #e06c00 70%, #9e3f00 100%);
}
.card--choice .card-photo { outline-color: var(--choice); }

/* Header: dark navy with a gold line. */
.site-header { border-bottom-color: var(--gold); }

/* =====================================================================================
   Build 04: yacht list, cards and yacht page in the layout of the WordPress charter
   ===================================================================================== */

/* ---- Filters: types as a list, then the fields ---- */
.filters { background: transparent; }
.filters .field > label, .filters legend { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.filters .check, .filters .check span { font-size: 0.98rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.type-list { gap: 0.15rem; }
.type-list legend + .check, .type-list .check { font-size: 0.98rem; text-transform: none; letter-spacing: 0; }
.check--sub { padding-left: 1.2rem; }
.check input[type="radio"], .check input[type="checkbox"] { accent-color: var(--navy); }   /* White boxes, navy tick (sales). */
.filters select { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background-color: transparent; padding-left: 0; }

/* ---- Cards ---- */
.ccard { border: 1px solid #f1bd6c; overflow: hidden; }
.ccard .card-link { display: flex; flex-direction: column; }
.ccard .card-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.ccard .card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1rem 1.15rem 1.15rem; }
.ccard .card-title { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; color: var(--heading); }
.ccard-type {
  position: absolute; left: 0.85rem; bottom: 0.85rem; z-index: 2; padding: 0.25rem 0.7rem; border-radius: 1rem;
  background: rgba(255, 255, 255, 0.28); backdrop-filter: blur(4px); color: #ffffff;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.ccard-sale {
  position: absolute; right: 0.85rem; bottom: 0.85rem; z-index: 2; padding: 0.25rem 0.6rem; border-radius: 4px;
  background: var(--navy); color: #ffffff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.ccard-loc { display: flex; gap: 0.35rem; align-items: center; margin: 0.4rem 0 0.7rem; color: var(--slate); font-size: 0.93rem; }
.ccard-loc .c-icon { color: #2e7d32; flex: 0 0 auto; }
.ccard-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.8rem; margin: 0 0 0.9rem; padding: 0 0 0.9rem;
  border-bottom: 1px solid var(--line); color: var(--slate); font-size: 0.85rem; list-style: none;
}
.ccard-facts li, .cfacts li { display: flex; gap: 0.4rem; align-items: center; }
.ccard-facts .c-icon, .cfacts .c-icon { color: #94a3b8; flex: 0 0 auto; }
.ccard-from { margin: 0 0 0.9rem; color: #2e7d32; font-weight: 600; font-size: 0.92rem; }
.ccard-from-label { display: block; }
.ccard-price { font-size: 1.15rem; font-weight: 700; }
.ccard-week { font-size: 0.72rem; font-weight: 500; }
.ccard-btn { margin-top: auto; width: 100%; text-align: center; }

/* Discount badge: orange on cards, red for last minute, purple for special offers. */
.c-badge {
  display: inline-block; padding: 0.3rem 0.6rem; border-radius: 4px; color: #ffffff; text-transform: uppercase;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  background: #fd7600;
}
.card-photo > .c-badge { position: absolute; left: 0.75rem; top: 0.75rem; z-index: 2; }
.c-badge--last-minute { background: #dc2626; }
.c-badge--special { background: #7c3aed; }

/* ---- Pager with page numbers ---- */
.pager { flex-wrap: wrap; gap: 0.5rem; }
.pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.5rem; border-radius: 6px; text-decoration: none; color: var(--navy); }
.pager-num[aria-current="page"] { background: var(--navy); color: #ffffff; font-weight: 700; }

/* ---- Broker page ---- */
.broker-box { display: flex; gap: 1.5rem; align-items: flex-start; margin: 0 0 2rem; padding: 1.25rem; background: #ffffff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 22, 71, 0.06); }
.broker-box-logo { width: 7.5rem; height: auto; flex: 0 0 auto; }
@media (max-width: 639px) { .broker-box { flex-direction: column; } }

/* ---- Yacht page ---- */
.cdetail-head { padding: 1.5rem 0 1.25rem; }
.cdetail-type {
  display: inline-block; margin-bottom: 0.6rem; padding: 0.2rem 0.55rem; border-radius: 3px; background: var(--navy);
  color: #ffffff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
}
.cdetail-loc { display: flex; gap: 0.35rem; align-items: center; margin: 0.6rem 0 0; color: var(--slate); }
.cdetail-loc .c-icon { color: #2e7d32; }

/* Gallery: several photos side by side on wider screens (photos are 800 × 600). */
.cgallery { margin-bottom: 2rem; }
.cgallery .gallery-track { aspect-ratio: auto; background: transparent; gap: 0.75rem; }
.cgallery .gallery-track > li { flex: 0 0 100%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
@media (min-width: 640px) { .cgallery .gallery-track > li { flex-basis: calc((100% - 0.75rem) / 2); } }
@media (min-width: 1100px) { .cgallery .gallery-track > li { flex-basis: calc((100% - 1.5rem) / 3); } }

.cdetail-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-bottom: 3rem; }
@media (min-width: 900px) {
  .cdetail-cols { grid-template-columns: minmax(0, 1.75fr) minmax(16rem, 1fr); gap: 2.5rem; }
  .cside { position: sticky; top: 1.25rem; align-self: start; }
}
.cfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; margin: 0 0 1.25rem; list-style: none; color: var(--slate); }
.cdesc { color: #475569; line-height: 1.75; }
.cmore > summary {
  display: inline-block; margin: 0.25rem 0 1rem; padding-bottom: 0.2rem; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line);
}
.cmore > summary::-webkit-details-marker { display: none; }
.cmore[open] > summary { color: var(--slate); }

.caccordions { margin: 0.5rem 0 1.5rem; }
.cacc { border-bottom: 1px solid var(--line); }
.cacc > summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: 1.15rem; color: var(--ink);
}
.cacc > summary::-webkit-details-marker { display: none; }
.cacc > summary::after { content: ""; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s ease; }
.cacc[open] > summary::after { transform: rotate(225deg); }
.cspecs { margin: 0 0 1rem; display: grid; gap: 0.6rem; }
.cspecs > div { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 1rem; }
.cspecs dt { font-weight: 600; color: var(--ink); }
.cspecs dd { margin: 0; color: #475569; }
@media (max-width: 539px) { .cspecs > div { grid-template-columns: 1fr; gap: 0.1rem; } }
.citems { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.7rem; }
.citems li { display: grid; gap: 0.15rem; }
.citems span { color: #64748b; font-size: 0.92rem; }

/* Seasonal rates and the offer boxes (colours of the old site). */
.crates { margin: 1.5rem 0; }
.crates h2 { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; margin-bottom: 0.75rem; }
.season-rates-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.season-rates-table thead th { background: #d9f6fb; text-align: left; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.7rem; }
.season-rates-table th, .season-rates-table td { padding: 0.8rem 0.7rem; border-bottom: 1px solid var(--line); text-align: left; }
.season-rates-table .season-name { font-weight: 700; }
.season-rates-table .season-period { color: #64748b; font-size: 0.9rem; }
.season-rates-table .season-price { font-weight: 700; }
.cbox { margin-top: 0.9rem; padding: 0.9rem 1.1rem; border-radius: 8px; border: 1px solid; }
.cbox h3 { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 700; font-family: var(--font-head); }
.cbox ul { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.cbox li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; padding: 0.45rem 0; border-bottom: 1px dashed currentColor; border-bottom-color: inherit; }
.cbox li:last-child { border-bottom: 0; }
.cbox li > span:first-child { flex: 1 1 14rem; }
.cbox-sub { margin: 0; font-size: 0.88rem; }
.cbox-note { margin: 0.5rem 0 0; padding-top: 0.5rem; font-size: 0.78rem; font-style: italic; border-top: 1px dashed; border-top-color: inherit; }
.rate-line { white-space: nowrap; font-size: 0.9rem; }
.rate-line del { opacity: 0.65; }
.rate-line strong { font-weight: 600; font-size: 0.97rem; }
.rate-week { font-size: 0.65rem; font-weight: 500; }
.cbox--last-minute { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.cbox--special { background: #f5f3ff; border-color: #ddd6fe; color: #4c1d95; }
.cbox--first_minute, .cbox--early { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.cbox--extended { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.cacc--note { margin-top: 0.75rem; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc; padding: 0 1rem; }
.cacc--note > summary { font-family: var(--font); font-size: 0.98rem; font-weight: 600; }
.cacc--note p { margin: 0 0 0.9rem; font-size: 0.9rem; color: #475569; line-height: 1.55; }

/* "Enquire Availability": navy metallic bar with gold border, as on the old site. */
.cacc--enquire { margin-top: 1rem; border: 0; }
.cacc--enquire > summary {
  padding: 0.9rem 1.1rem; border-radius: 6px; color: #ffffff; font-family: var(--font); font-size: 1rem; font-weight: 600;
  background: var(--metal); border: 2px solid var(--gold); border-top-color: var(--gold-light); border-bottom-color: var(--gold-dark);
}
.cacc--enquire[open] > summary { border-radius: 6px 6px 0 0; }
.cacc--enquire > .enquiry, .cacc--enquire > section { padding: 1rem 0 0; }

/* Agency notice inside the full description. */
.ekmar-disclaimer-notice { margin: 1rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--gold); background: #ffffff; font-size: 0.92rem; color: var(--text); }
.ekmar-disclaimer-notice p { margin: 0 0 0.6rem; }
.support-contact-list { margin: 0; padding-left: 1.1rem; }

/* Right column */
.cside { display: grid; gap: 1rem; align-content: start; }
.cside-box { padding: 1.25rem; background: #ffffff; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 22, 71, 0.07); text-align: center; }
.cside-choice {
  margin: 0 0 0.9rem; padding: 0.7rem; border-radius: 6px; color: #ffffff; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em;
  background: linear-gradient(135deg, #d96500 0%, var(--choice) 35%, #e06c00 70%, #9e3f00 100%); box-shadow: 0 3px 8px rgba(158, 63, 0, 0.35);
}
.cside-badge { display: inline-block; margin: 0 0 0.8rem; }
.cside-from { margin: 0; color: #2e7d32; }
.cside-from span:first-child { display: block; font-weight: 500; }
.cside-from strong { font-size: 1.3rem; }
.cside-actions { display: grid; gap: 0.6rem; }
.cside-actions .btn { width: 100%; text-align: center; }
.cside-wa { background: linear-gradient(135deg, #25d366 0%, #1ebe5d 45%, #128c7e 100%); color: #ffffff; font-weight: 700; }
.cside-wa:hover { background: #128c7e; color: #ffffff; }
.cbroker img { width: 7.5rem; height: auto; margin: 0 auto 0.75rem; display: block; }
.cbroker-name { margin: 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.cbroker-sub { margin: 0.3rem 0 1rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.cbroker-count { display: block; padding-top: 0.8rem; border-top: 1px solid var(--line); color: #2e7d32; font-weight: 600; text-decoration: none; }
/* The form's own heading repeats the bar's text: kept for screen readers only. */
.cacc--enquire .enquiry > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Build 05: charter questions in the enquiry form ===== */
.brief-grid--charter .field--wide { grid-column: 1 / -1; }
.brief-grid--charter fieldset.checks { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.brief-grid--charter fieldset.checks legend { font-weight: 600; margin-bottom: 0.35rem; padding: 0; }
.brief-grid--charter .checks .check { display: inline-flex; width: 100%; }
@media (min-width: 640px) { .brief-grid--charter .checks .check { width: calc(50% - 0.75rem); margin-right: 0.5rem; } }
.brief-grid--charter .checks input:disabled + span { opacity: 0.45; }
.budget-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 0.35rem 0 0.6rem; flex-wrap: wrap; }
.budget-value { font-weight: 700; color: var(--navy-soft); font-size: 1.05rem; }
.budget-cur { display: inline-flex; background: #e2e8f0; border-radius: 6px; padding: 3px; }
.budget-cur label { margin: 0; cursor: pointer; }
.budget-cur input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.budget-cur span { display: block; padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.8rem; font-weight: 700; color: var(--slate); }
.budget-cur input:checked + span { background: var(--navy); color: #fff; }
.budget-cur input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }
.budget input[type=range] { width: 100%; accent-color: var(--navy); }
.enquiry-hours { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--slate); }

/* ===== Design phase: instant filters, search inside the filter panel, active filter chips ===== */
.filters { position: relative; }
.filters-clear-top {
  position: absolute; top: 0.95rem; right: 1.1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); text-decoration: none;
}
.filters-clear-top:hover, .filters-clear-top:focus-visible { color: var(--navy); text-decoration: underline; }
.filters:not([open]) .filters-clear-top { display: none; }
.filter-search-box { position: relative; }
.filter-search-box input[type="search"] {
  width: 100%; min-height: 2.75rem; padding: 0.55rem 2.4rem 0.55rem 0.85rem; border: 1px solid var(--line);
  border-radius: 8px; background: #ffffff; font-size: 1rem;
}
.filter-search-box input[type="search"]:focus { outline: none; border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(209, 173, 16, 0.35); }
.filter-search-box svg { position: absolute; right: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--slate); pointer-events: none; }
.filter-search-box input[type="search"]::-webkit-search-cancel-button { margin-right: 1.4rem; }
.type-list legend { margin-bottom: 0.3rem; }
.filters-form.is-instant .filters-apply { display: none; }
.filters-form.is-instant .filters-actions:empty, .filters-form.is-instant .filters-actions { margin: 0; }
html.js .sort-submit { display: none; }
.results-count { font-weight: 400; color: var(--slate); }
.results-count strong { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-right: 0.15rem; }
.results-range { font-size: 0.9rem; }
.active-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: -0.35rem 0 1.25rem; padding: 0.7rem 0.9rem;
  background: #ffffff; border: 1px solid var(--line); border-radius: 10px;
}
.active-filters-label { font-size: 0.9rem; color: var(--slate); margin-right: 0.15rem; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.65rem; border-radius: 6px;
  background: #e8eefb; border: 1px solid #c9d6f2; color: var(--navy); font-size: 0.85rem; font-weight: 600; text-decoration: none;
}
.filter-chip:hover, .filter-chip:focus-visible { background: #d6e1f8; }
.active-filters-clear {
  margin-left: auto; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #b42318; text-decoration: none;
}
.active-filters-clear:hover, .active-filters-clear:focus-visible { text-decoration: underline; }
.results.is-loading .results-body { opacity: 0.45; transition: opacity 0.15s; }
@media (prefers-reduced-motion: reduce) { .results.is-loading .results-body { transition: none; } }

/* =====================================================================================
   Design phase, build 06: yacht page in the layout of the sales site, with the charter buttons
   ===================================================================================== */
.cdetail .detail-head h1 { margin-bottom: 0.4rem; }
.cdetail .detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.cdetail .cdetail-type { margin: 0; }
.cdetail .cdetail-loc { margin: 0; display: inline-flex; gap: 0.3rem; align-items: center; }
.cdetail .detail-top { padding-bottom: 1rem; }

/* Gallery: one photo at a time with thumbnails (sales), Ekmar's Choice ribbon top right, discount badge top left. */
.cdetail .gallery-track > li { flex-basis: 100%; }
.cdetail .gallery-frame > .c-badge { position: absolute; left: 0.85rem; top: 0.85rem; z-index: 3; font-size: 0.85rem; padding: 0.4rem 0.7rem; }
.cdetail .gallery-thumbs a[aria-current="true"] { border-color: var(--gold); }

/* Rate box */
.cbuy-from { margin: 0; color: var(--slate); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cbuy .buy-price { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.cbuy .buy-price .price { color: var(--navy); }
.cbuy .price-usd { font-weight: 700; }
.cbuy .facts dd { font-family: var(--font-head); font-size: 1.15rem; }
.cbuy-sale { display: block; margin-top: 0.9rem; font-weight: 600; text-align: center; }

/* Body: the opening text as the lead (sales style), then the accordions. */
.clead { font-size: 1.15rem; line-height: 1.6; color: var(--navy); max-width: none; margin-bottom: 0.5rem; }
.clead p { margin: 0 0 0.9rem; }
.cdetail .cmore { margin: 0 0 0.25rem; }
.cdetail .cmore > summary { display: flex; margin: 0; padding: 0.8rem 0; border-bottom: 0; color: var(--ink); font-weight: 400; }
.cdetail .cmore[open] > summary { color: var(--ink); }
.cdetail .caccordions { margin-top: 0; }
.cdetail .caccordions .cacc:first-child { border-top: 0; }
.cdetail .cmore + .caccordions .cacc:first-child { border-top: 0; }
.cdetail .crates { margin-top: 2rem; margin-bottom: 0; }

/* Cruising Routes as one more accordion (same line and heading as the others); closed until opened. */
.cdetail .ekmar-routes-section {
  margin: 1.25rem 0 0; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none;
}
.cdetail .ekmar-routes-section__title { margin: 0; padding: 0.8rem 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.cdetail .ekmar-routes-section--js .ekmar-routes-section__body:not(.is-open) { display: none; }
.cdetail .ekmar-routes-section--js .ekmar-routes-section__body.is-open { margin: 0 0 1rem; }

/* Enquire Availability: open from the start (the bar stays as the heading). */
.cdetail .cacc--enquire { margin-top: 1.5rem; }

/* =====================================================================================
   Build 06.1: owner's tweaks to the yacht page
   ===================================================================================== */

/* Buttons in the rate box: the size and order of the sales site, the colours of the charter. */
.cbuy .buy-actions .btn, .cbuy .buy-pdf {
  font-family: var(--font); font-size: 0.95rem; font-weight: 600; min-height: 2.875rem; padding: 0.55rem 0.75rem; text-align: center;
}
.cbuy .buy-actions .btn--primary { border-width: 1px; }
.cbuy .buy-pdf { align-items: center; justify-content: center; gap: 0.45rem; }
@media (max-width: 899px) { .cbuy .buy-actions .btn { padding-left: 0.4rem; padding-right: 0.4rem; } }

/* Share row: private ways first, social networks in a small card behind "+". */
.share-group { display: inline-flex; align-items: center; gap: 0.35rem; }
.share-more { position: relative; }
.share-more > summary { list-style: none; cursor: pointer; }
.share-more > summary::-webkit-details-marker { display: none; }
.share-btn--more { background: var(--gold-dark); color: #ffffff; }
.share-btn--more:hover, .share-btn--more:focus-visible, .share-more[open] > .share-btn--more { background: var(--navy); }
.share-more[open] > .share-btn--more svg { transform: rotate(45deg); }
.share-btn--more svg { transition: transform 0.15s ease; }
.share-more-card {
  position: absolute; z-index: 20; top: calc(100% + 0.45rem); right: 0; padding: 0.7rem 0.8rem; min-width: max-content;
  background: #ffffff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 22, 71, 0.16);
}
.share-more-title { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 600; color: var(--slate); }
@media (prefers-reduced-motion: reduce) { .share-btn--more svg { transition: none; } }

/* Pricing Notes, Important Disclaimer and Cruising Routes: light boxes with an icon, as on the charter. */
.cdetail .cacc--note > summary, .cdetail .ekmar-routes-section__toggle { gap: 0.6rem; justify-content: flex-start; }
.cdetail .cacc--note > summary > span, .cdetail .ekmar-routes-section__label { flex: 1 1 auto; }
.cdetail .cacc--note .c-icon--info, .cdetail .cacc--note .c-icon--shield { color: #2e7d32; flex: none; }
/* One chevron for all three (and the enquiry bar): two small arrows, grey. */
.cdetail .cacc--note > summary::after, .cdetail .ekmar-routes-section__toggle::after, .cdetail .cacc--enquire > summary::after {
  content: ""; flex: none; width: 0.95rem; height: 0.95rem; border: 0; transform: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7l6 5 6-5M6 13l6 5 6-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7l6 5 6-5M6 13l6 5 6-5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.cdetail .cacc--note > summary::after, .cdetail .ekmar-routes-section__toggle::after { color: #94a3b8; }
.cdetail .cacc--note[open] > summary::after, .cdetail .cacc--enquire[open] > summary::after,
.cdetail .ekmar-routes-section__title.is-open .ekmar-routes-section__toggle::after { transform: rotate(180deg); }
.cdetail .ekmar-routes-section__chevron { display: none; }
.cdetail .ekmar-routes-section {
  margin: 0.75rem 0 0; padding: 0 1rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px;
}
.cdetail .ekmar-routes-section__title { padding: 0; font-family: var(--font); font-size: 0.98rem; font-weight: 600; }
.cdetail .ekmar-routes-section__toggle { padding: 0.8rem 0; }
.cdetail .ekmar-routes-section__label { display: inline-flex; align-items: center; gap: 0.6rem; }
.cdetail .ekmar-routes-section__label .hp-icon { margin: 0; flex: none; }
.cdetail .ekmar-routes-section--js .ekmar-routes-section__body.is-open { margin: 0 -1rem; }
.cdetail .cacc--enquire > summary { gap: 0.7rem; justify-content: flex-start; }
.cdetail .cacc--enquire > summary > span { flex: 1 1 auto; }
.cdetail .cacc--enquire > summary::after { color: #ffffff; }

/* Travel season: a drop-down with tick-boxes that looks like the other drop-downs. */
.multi-pick { position: relative; }
.multi-pick-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 2.75rem; padding: 0.55rem 0.65rem;
  list-style: none; cursor: pointer; background: #ffffff; color: var(--ink); border: 1px solid #8a9aad; border-radius: var(--radius);
}
.multi-pick-btn::-webkit-details-marker { display: none; }
.multi-pick-btn::after {
  content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin-right: 0.2rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
}
.multi-pick[open] > .multi-pick-btn { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(209, 173, 16, 0.35); }
.multi-pick-btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi-pick-list {
  position: absolute; z-index: 15; left: 0; right: 0; top: calc(100% + 0.3rem); padding: 0.4rem 0.75rem; max-height: 18rem; overflow-y: auto;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0, 22, 71, 0.16);
}
.brief-grid--charter .multi-pick-list .check { width: 100%; margin: 0; padding: 0.35rem 0; }

/* Broker card as on the old charter site: white card, soft shadow, green tick top right, round logo in the middle,
   name and company line centred, then a divider with "N Yachts" (left) and a green message button (right). */
.cbroker {
  position: relative; display: block; padding: 2rem 1.4rem 1.1rem; text-align: center;
  background: #ffffff; border: 1px solid #eef1f5; border-radius: 12px; box-shadow: 0 8px 28px rgba(0, 22, 71, 0.08);
}
.cbroker .cbroker-tick { position: absolute; top: 1rem; right: 1rem; color: #43824f; line-height: 0; }
.cbroker .cbroker-logo { display: block; width: 8.2rem; height: 8.2rem; margin: 0 auto 1rem; object-fit: contain; border-radius: 50%; }
.cbroker .cbroker-name { margin: 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.cbroker .cbroker-sub { margin: 0.45rem 0 1.2rem; font-size: 0.68rem; line-height: 1.55; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.cbroker .cbroker-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.cbroker .cbroker-count { padding: 0; border: 0; color: #43824f; font-size: 1.05rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cbroker .cbroker-link { color: inherit; text-decoration: none; }
/* The whole card opens the broker page: the name link covers the card; the message button sits above it. */
.cbroker .cbroker-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.cbroker .cbroker-msg { position: relative; z-index: 2; }
.cbroker { transition: box-shadow 0.2s ease, transform 0.2s ease; }
.cbroker:hover { box-shadow: 0 12px 32px rgba(0, 22, 71, 0.14); }
.cbroker:hover .cbroker-name { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.2em; }
.cbroker:has(.cbroker-link:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.cbroker .cbroker-link:focus-visible { outline: 0; }
.cbroker .cbroker-msg {
  display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 8px;
  background: #ffffff; color: #25b35a; box-shadow: 0 2px 10px rgba(0, 22, 71, 0.12); transition: box-shadow 0.2s, color 0.2s;
}
.cbroker .cbroker-msg:hover, .cbroker .cbroker-msg:focus-visible { color: #128c7e; box-shadow: 0 3px 14px rgba(0, 22, 71, 0.2); }
.cbroker--side { margin-top: 1.5rem; }
.cbroker--phone { max-width: 26rem; margin: 0.5rem auto 2rem; }
@media (min-width: 900px) { .cbroker--phone { display: none; } }
@media (max-width: 899px) { .cbroker--side { display: none; } }

/* =====================================================================================
   Build 06.2: heart on the cards beside the price (owner's choice: no clash with "Also for Sale")
   The free space of a card goes above the price, so price and button always sit at the same
   distance from the bottom of the card; the heart is placed from the bottom.
   ===================================================================================== */
.ccard .ccard-facts { margin-bottom: 0; }
.ccard .ccard-from { margin: auto 0 0.9rem; padding-top: 0.9rem; padding-right: 3rem; }
.ccard .ccard-btn { margin-top: 0; }
.ccard .fav-btn--card { top: auto; bottom: calc(1.15rem + 3.3rem + 0.9rem + 0.9rem); right: 1.05rem; }   /* body padding + button + gap + half the price */

/* Logo rows (About, Licences): two even columns on phones, every logo in the same size of box. */
@media (max-width: 599px) {
  .logo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; justify-items: center; }
  .logo-row li { max-width: none; width: 100%; }
  .logo-row img { height: 3.75rem; max-width: 100%; }
}

/* Compare with one yacht left (build 06.4): one column at the width of a two-yacht table, and a hint above. */
.compare--n1, .cmp-names-row.compare--n1 { width: 50cqw; }
@media (min-width: 900px) { .compare.compare--n1, .cmp-names-row.compare--n1 { width: 50% !important; } }
.compare-one { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 0 0 1.25rem; padding: 0.9rem 1.1rem;
  background: var(--mist); border: 1px solid var(--line); border-radius: 10px; }
.compare-one p { margin: 0; flex: 1 1 18rem; }

/* Build 06.5: a 1px gold line round the open menu panel (same colour as the menu tab's edge), so it stands apart
   from the page behind it, also over dark photos and the navy footer. */
.drawer-panel { border: 1px solid var(--orange); }

/* Build 06.5: lightbox on computers shows photos at most at their real size (sharp), see site.js. */
@media (hover: hover) and (pointer: fine) {
  .lightbox-stage img { object-fit: scale-down; }
  .lightbox-stage.is-fixed { cursor: default; }
  /* Build 06.7: layout plans fill the window and can be zoomed (site.js photoRule). */
  .lightbox-stage.is-plan img { object-fit: contain; }
}

/* Build 06.6: layout plans in their own accordion on the yacht page; landscape tiles, one plan full width. */
.cplans .plans { list-style: none; margin: 0 0 0.5rem; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.cplans .plans a { aspect-ratio: 4 / 3; background: #ffffff; }
.cplans .plans--one { grid-template-columns: minmax(0, 36rem); }
.cplans .plan-label { font-size: 0.92rem; }

/* =====================================================================================
   Build 06.7: line icons as on the old charter site
   Grey-blue line icons for the facts, green pin for the place, green tick beside the yacht name.
   ===================================================================================== */
.c-icon--verified { color: #43824f; vertical-align: -0.12em; flex: none; }
.c-verified { white-space: nowrap; }
.ccard .card-title .c-icon--verified { margin-left: 0.1rem; }
.cdetail .detail-head h1 .c-icon--verified { margin-left: 0.1rem; vertical-align: -0.08em; }
.ccard-loc .c-icon, .cdetail-loc .c-icon { color: #43824f; }
.ccard-facts .c-icon, .cfacts .c-icon { color: rgba(7, 36, 86, 0.38); }
/* Cards: narrow first column (country, cabins), the rest for guests and length, so "Up to 12 Guests" stays on one line. */
.ccard .ccard-facts { grid-template-columns: max-content minmax(0, 1fr); column-gap: 1.1rem; font-size: 0.84rem; }
.ccard .ccard-facts li { min-width: 0; }
.ccard .ccard-facts li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Yacht page: icon in front of each fact label in the rate box. */
.cbuy .facts dt { display: flex; align-items: center; gap: 0.4rem; }
.cbuy .facts dt .c-icon { color: rgba(7, 36, 86, 0.38); flex: none; }

/* Price filter: "from" and "to" side by side. */
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.price-range select { width: 100%; min-width: 0; }
.filters .price-filter { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }

/* =====================================================================================
   Build 06.8: accordion icons and text style as on the old charter site; equal card heights;
   "Recently viewed" tiles with the Compare tick at the bottom and a "Now viewing" label.
   ===================================================================================== */
/* Technical Specifications and Amenities: gold icon on the left, bold name, the value under it in grey. */
.cdetail .cspecs { gap: 1.35rem; margin: 0.4rem 0 1.4rem; }
.cdetail .cspecs > div { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 0.85rem; row-gap: 0.15rem; align-items: start; }
.cdetail .cspecs > div > .c-icon { grid-row: 1 / span 2; color: var(--orange); margin-top: 0.05rem; }
.cdetail .cspecs dt { font-weight: 600; font-size: 1rem; color: var(--ink); }
.cdetail .cspecs dd { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--text); }
/* Inclusions (green ticked box) and exclusions (red box with a dash): small icon before the bold name. */
.cdetail .citems { gap: 1rem; margin: 0.4rem 0 1.4rem; }
.cdetail .citems li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.1rem; align-items: start; }
.cdetail .citems li > .c-icon { grid-row: 1 / span 2; margin-top: 0.2rem; }
.cdetail .citems--included .c-icon { color: #43824f; }
.cdetail .citems--excluded .c-icon { color: #c8344a; }
.cdetail .citems strong { font-weight: 600; font-size: 1rem; color: var(--ink); }
.cdetail .citems span { grid-column: 2; font-size: 0.9rem; line-height: 1.55; color: var(--text); }

/* Equal card heights everywhere: every row of a card grid as tall as the tallest card; in the sliders each card
   fills its slide. Price and button stay at the bottom of each card (margin-top: auto above the price). */
.cards { grid-auto-rows: 1fr; }
.slider-track > li { display: flex; }
.slider-track > li > .card { flex: 1 1 auto; width: 100%; }
.card .card-link { height: 100%; }

/* "Recently viewed": all tiles the same height, Compare tick always at the bottom; a little bigger on computers. */
.recent-track { align-items: stretch; }
.recent-track > li { display: flex; flex-direction: column; overflow: visible; }
.recent-track > li > .recent-tile { flex: 1 1 auto; align-content: start; }
.recent-track > li > .recent-cmp { margin-top: auto; padding-top: 0.45rem; }
.recent-photo { border-radius: var(--radius) var(--radius) 0 0; }
@media (min-width: 900px) {
  .recent-track > li { width: 10.5rem; }
  .recent-title { font-size: 0.9rem; padding-left: 0.65rem; }
  .recent-price { font-size: 0.85rem; }
  .recent-cmp { font-size: 0.85rem; }
}
/* The yacht of this page: "Now viewing" above its tile (it moves with the row), gold frame round the tile. */
.recent-track.has-current { padding-top: 1.9rem; }
.recent-track > li.is-current { position: relative; box-shadow: 0 0 0 2px var(--orange), 0 4px 10px rgba(20, 38, 61, 0.08); }
.is-current .recent-photo { outline: 0; }
.recent-now {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 0.35rem); display: flex; align-items: center; justify-content: center; gap: 0.3rem;
  font-size: 0.75rem; font-weight: 650; color: var(--navy); white-space: nowrap; pointer-events: none;
}
.recent-now .c-icon { color: var(--orange); flex: none; }

/* =====================================================================================
   Build 06.9: yacht page in the agreed order (option B) and bigger menu titles
   ===================================================================================== */
/* Link under the "Starting from" price down to the rates. */
.cbuy-rates { display: inline-block; margin: 0.15rem 0 0.9rem; font-size: 0.92rem; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.2em; }
.cbuy-rates:hover { color: #1e3a8a; }
.crates { scroll-margin-top: 1rem; }

/* "About <yacht>": the full description, closed; book icon, title and a grey "Read the full description". */
.cdetail .cabout { margin: 0.5rem 0 0; border-top: 1px solid var(--line); }
.cdetail .cabout > summary { justify-content: flex-start; gap: 0.85rem; padding: 1rem 0; }
.cdetail .cabout > summary > .c-icon { color: var(--orange); flex: none; }
.cdetail .cabout > summary::after { margin-left: auto; }
.cabout-text { display: grid; gap: 0.1rem; }
.cabout-title { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.cabout-sub { font-family: var(--font); font-size: 0.85rem; color: var(--slate); }
.cdetail .cabout[open] .cabout-sub { visibility: hidden; }
.cdetail .cabout .cdesc { padding: 0 0 1rem; }

/* Layout Plans as an open section with its own heading. */
.cdetail .cplans--open { padding: 1.75rem 0 0.5rem; }
.cdetail .cplans--open > h2 { margin: 0 0 1.1rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.cdetail .cplans--open .plans { display: grid; gap: 1rem; }

/* Enquiry open at the end, in the sales style (the heading shows). */
.cdetail .detail-body > .enquiry { margin-top: 0.5rem; }

/* Menu panel titles (owner: 17px): panel title gold, bold, with a thin gold line; section titles 16px;
   links in the panels 16px, white, normal weight. The main list of the menu is unchanged. */
.drawer-view-title { font-size: 1.0625rem; font-weight: 700; padding-bottom: 0.45rem; border-bottom: 1px solid rgba(209, 173, 16, 0.55); margin-bottom: 0.5rem; }
.drawer-view-title--sub { font-size: 1rem; padding-bottom: 0; border-bottom: 0; margin-bottom: 0.3rem; }
.mine-sec svg { width: 18px; height: 18px; }
.mine-sec .heart-icon { width: 17px; height: 17px; }
.drawer-view:not([data-view="main"]) > a { font-size: 1rem; font-weight: 400; }
/* One heading style for the open sections of the yacht page (same as "Seasonal Rates"): Layout Plans, Video,
   Enquire Availability. Thin line above each section. */
.cdetail .cplans--open > h2, .cdetail .detail-body > .block > h2, .cdetail .detail-body > .enquiry > h2 {
  font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; color: var(--ink); margin-bottom: 0.75rem;
}
.cdetail .crates { padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid var(--line); }

/* =====================================================================================
   Build 06.10: owner's tweaks to the yacht page
   ===================================================================================== */
/* Numbers in tables line up, but running text uses normal figures and hyphens: the shared "tabular" setting made
   hyphens look spaced out ("24 - hour") in Inter. */
body { font-variant-numeric: normal; }
.season-rates-table, .facts dd, .price, .ccard-price, .rate-line, .compare-table { font-variant-numeric: tabular-nums; }

/* Running text of the yacht page: the usual dark grey of websites, softer than navy, a little smaller, with
   room between the lines. Headings stay navy. */
.cdetail .clead { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.cdetail .clead p { margin: 0 0 1rem; }
.cdetail .cdesc { color: var(--text); }
.cdetail .cdesc p, .cdetail .cdesc li { font-size: 0.97rem; line-height: 1.75; color: var(--text); }
.cdetail .cdesc p { margin: 0 0 0.9rem; }
.cdetail .cdesc ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.cdetail .cdesc li { margin: 0 0 0.25rem; }
.cdetail .cdesc h2 { margin: 1.9rem 0 0.6rem; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.3; color: var(--heading); }
.cdetail .cdesc h2:first-child { margin-top: 0.4rem; }
.cdetail .cdesc h3 { margin: 1.3rem 0 0.35rem; font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; line-height: 1.35; color: var(--heading); }
.cdetail .cdesc h2 + h3 { margin-top: 0.6rem; }
.cdetail .cdesc a { color: var(--navy); text-decoration-color: var(--orange); text-underline-offset: 0.2em; }

/* Cruising Routes and "About <yacht>": the same plain accordion line as Technical Specifications above;
   the icon sits right after the text. */
.cdetail .ekmar-routes-section {
  margin: 0; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none;
}
.cdetail .ekmar-routes-section__title { margin: 0; padding: 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 400; color: var(--ink); }
.cdetail .ekmar-routes-section__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0;
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left;
}
.cdetail .ekmar-routes-section__label { display: inline-flex; flex: 0 1 auto; align-items: center; gap: 0.5rem; }
.cdetail .ekmar-routes-section__label .hp-icon { order: 2; width: 20px; height: 20px; color: var(--orange); stroke-width: 1.6; }
.cdetail .ekmar-routes-section__toggle::after {
  -webkit-mask: none; mask: none; background: none; color: inherit;
  width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 0.2rem;
}
.cdetail .ekmar-routes-section__title.is-open .ekmar-routes-section__toggle::after { transform: rotate(225deg); }
.cdetail .ekmar-routes-section--js .ekmar-routes-section__body.is-open { margin: 0 0 1rem; }
.cdetail .cabout { margin: 0; border-top: 0; }
.cdetail .cabout > summary { justify-content: space-between; gap: 1rem; padding: 0.8rem 0; }
.cdetail .cabout > summary::after { margin-left: 0; }
.cacc-label { display: inline-flex; align-items: center; gap: 0.5rem; }
.cacc-label .c-icon { color: var(--orange); flex: none; }

/* Layout Plans: an accordion again, same line as the others (no extra line above). */
.cdetail .cplans { padding: 0; }
.cdetail .cplans .plans { display: grid; gap: 1rem; margin-top: 0.3rem; }

/* FAQ inside the description: each question a small closed box, the answer underneath. */
.cdetail .cfaq { border-bottom: 1px solid var(--line); }
.cdetail .cfaq:first-of-type { border-top: 1px solid var(--line); }
.cdetail .cfaq > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--heading);
}
.cdetail .cfaq > summary::-webkit-details-marker { display: none; }
.cdetail .cfaq > summary::after {
  content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin-right: 0.2rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.cdetail .cfaq[open] > summary::after { transform: rotate(225deg); }
.cdetail .cfaq-answer { padding: 0 0 0.4rem; }
.cdetail .cfaq + p { margin-top: 1.2rem; }

/* Agency notice at the end of the description: no line on the left (more room for the text); our contact
   details as on the Contact page. */
.cdetail .ekmar-disclaimer-notice { border-left: 0; padding: 1.1rem 0 0; margin-top: 1.5rem; border-top: 1px solid var(--line); background: none; }
.cdetail .ekmar-disclaimer-notice p { font-size: 0.92rem; line-height: 1.7; color: var(--text); }
.cdetail .ekmar-disclaimer-notice .contact-block { margin: 0.6rem 0 0; font-size: 0.92rem; }
.cdetail .ekmar-disclaimer-notice .contact-block div { grid-template-columns: 1fr; gap: 0.15rem; }
.cdetail .ekmar-disclaimer-notice .contact-block div.contact-line { gap: 0; }

/* Region pages: the region text above the yachts (first paragraph, the rest under "Read more"). */
.region-box { margin: 0 0 1.5rem; max-width: 52rem; }
.region-box .region-lead p, .region-box .cdesc p { line-height: 1.75; color: var(--text); }
.region-box .region-lead h2, .region-box .cdesc h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--heading); margin: 1rem 0 0.4rem; }
.region-box .region-more { border-top: 1px solid var(--line); }
.region-box .region-more > summary { font-size: 1rem; }
/* The routes stylesheet loads after this file and sets its own heading font: same font as the accordions above. */
.cdetail .ekmar-routes-section .ekmar-routes-section__title {
  margin: 0; padding: 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 400; line-height: 1.5; color: var(--ink);
}
.cdetail .ekmar-routes-section .ekmar-routes-section__label .hp-icon { margin: 0; }
/* No gap and no double line between the accordions; Video follows the last accordion line without a line of its own. */
.cdetail .caccordions { margin-bottom: 0; }
.cdetail .detail-body > .block:not(.enquiry) { padding-top: 1.75rem; }
.cdetail .detail-body > .block:not(.enquiry) > h2 { border-top: 0; padding-top: 0; }

/* =====================================================================================
   Build 06.11: one text colour and one heading colour for the whole site (owner)
   ===================================================================================== */
h1, h2, h3, h4 { color: var(--heading); }
.prose p, .prose li { line-height: 1.75; }
/* Yacht page text as given by the owner: 1rem, line height 1.75, the site text colour. */
.cdetail .clead { font-size: 1rem; line-height: 1.75; color: var(--text); }
.cdetail .cdesc p, .cdetail .cdesc li { font-size: 1rem; line-height: 1.75; color: var(--text); }
.cdetail .cdesc p { margin: 0 0 0.9rem; }
.cdetail .cspecs dd, .cdetail .citems span, .cdetail .ekmar-disclaimer-notice p { color: var(--text); }

/* Build 06.12: space between the last FAQ box and the closing line (the 06.11 paragraph rule had reset it). */
.cdetail .cdesc .cfaq + p { margin-top: 1.4rem; }
/* Lead split into short paragraphs: a little space between them. */
.cdetail .clead p { margin: 0 0 0.8rem; }
.cdetail .clead p:last-child { margin-bottom: 0.5rem; }

/* =====================================================================================
   Build 06.13: Ekmar colours (navy, steel grey, Marmaris orange), white floating header, calm buttons
   with round corners, the enquiry form as a white card, site-style drop-downs.
   The menu drawer keeps its own (gold) look until its new design (06.14).
   ===================================================================================== */
:root {
  --accent: #e8730c;          /* Ekmar orange (Marmaris sunset): small highlights only */
  --accent-dark: #c25a00;
  --btn-navy: #1b2a47;
  --btn-navy-hover: #263a61;
  --steel-top: #ffffff;
  --steel-bottom: #eef1f4;
  --steel-border: #c9d0d8;
  --steel-border-hover: #9aa5b1;
  --radius-btn: 10px;
  --radius-card: 14px;
  --card-line: #e3e7ec;
  --card-shadow: 0 10px 30px rgba(15, 23, 39, 0.07);
}

/* ---- Header: white floating bar with round corners, as on the old charter site ---- */
.site-header { background: transparent; color: var(--heading); border: 0; padding: 0.9rem 0 0.2rem; }
.site-header-inner {
  background: #ffffff; border: 1px solid var(--card-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(15, 23, 39, 0.08);
  min-height: 4.5rem; padding-top: 0.45rem; padding-bottom: 0.45rem;
}
@media (max-width: 899px) {
  .site-header-inner { margin-left: 0.6rem; margin-right: 0.6rem; padding-bottom: 0.15rem; }
  .site-header .brand-logo { height: 3rem; }
  .site-header .site-nav { border-top-color: var(--card-line); }
}
.site-header .brand, .site-header .brand:hover { color: var(--heading); }
.site-header .brand-logo { height: 3.6rem; max-width: 15rem; }
.site-header .brand-section { color: var(--text); }
.site-header .site-nav a { color: var(--text); font-weight: 500; }
.site-header .site-nav a:hover, .site-header .site-nav a[aria-current="page"] { color: var(--heading); border-bottom-color: var(--accent); }

/* ---- Buttons ---- */
.btn { font-family: var(--font); font-weight: 600; border-radius: var(--radius-btn); transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
/* Main action: solid navy, white text. */
.btn--primary, .cmp-go {
  background: var(--btn-navy); color: #ffffff; border: 1px solid var(--btn-navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(27, 42, 71, 0.18);
}
.btn--primary:hover, .btn--primary:focus-visible, .cmp-go:hover, .cmp-go:focus-visible {
  background: var(--btn-navy-hover); color: #ffffff; border-color: var(--btn-navy-hover); box-shadow: 0 6px 18px rgba(27, 42, 71, 0.24);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .btn--primary:hover, .cmp-go:hover { transform: translateY(-1px); } }
/* Second-level buttons: light steel with a soft metal sheen (spec sheet, WhatsApp, Clear, paging). */
.btn--quiet, .btn--whatsapp, .cbuy .buy-pdf, .cmp-clear, .cside-wa {
  background: linear-gradient(180deg, var(--steel-top) 0%, var(--steel-bottom) 100%); color: var(--heading);
  border: 1px solid var(--steel-border); box-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgba(15, 23, 39, 0.06);
}
.btn--quiet:hover, .btn--whatsapp:hover, .cbuy .buy-pdf:hover, .cmp-clear:hover, .cside-wa:hover,
.btn--quiet:focus-visible, .btn--whatsapp:focus-visible, .cmp-clear:focus-visible, .cside-wa:focus-visible {
  background: linear-gradient(180deg, #ffffff 0%, #e6eaef 100%); color: var(--heading); border-color: var(--steel-border-hover);
}
.btn-icon { flex: none; width: 1.2rem; height: 1.2rem; fill: currentColor; margin-right: 0.5rem; }
.btn-icon--wa { fill: #25a35a; }
.cbuy .buy-actions .btn--primary { border-width: 1px; }
.ccard .ccard-btn { border-radius: var(--radius-btn); }
/* € / $ switch: a small steel switch, the chosen one navy. */
.currency { border: 1px solid var(--steel-border); border-radius: var(--radius-btn); background: linear-gradient(180deg, var(--steel-top), var(--steel-bottom)); }
.currency-btn { background: transparent; color: var(--heading); }
.currency-btn[aria-pressed="true"] { background: var(--btn-navy); color: #ffffff; }
.share-btn { border-radius: var(--radius-btn); }
.share-btn--more { background: var(--btn-navy); }
.cbuy-rates { text-decoration-color: var(--accent); }

/* ---- Cards: light grey frame; Ekmar's Choice cards framed in orange; price navy, "Per Week" orange ---- */
.ccard { border: 1px solid var(--card-line); border-radius: var(--radius-card); }
.ccard.card--choice { border-color: var(--accent); }
.ccard .ccard-from { color: var(--heading); }
.ccard .ccard-from-label { color: var(--text); font-weight: 500; }
.ccard .ccard-price { color: var(--btn-navy); }
.ccard .ccard-week { color: var(--accent); }
.recent-track > li { border-radius: var(--radius-card); }
.recent-track > li.is-current { box-shadow: 0 0 0 2px var(--accent), 0 4px 10px rgba(20, 38, 61, 0.08); }
.recent-now .c-icon { color: var(--accent); }
.recent-cmp input, .check input[type="checkbox"] { accent-color: var(--btn-navy); }
/* Gold icons of the yacht page become Ekmar orange. */
.cdetail .cspecs > div > .c-icon, .cacc-label .c-icon, .cdetail .ekmar-routes-section .ekmar-routes-section__label .hp-icon { color: var(--accent); }
.cdetail .cdesc a { text-decoration-color: var(--accent); }

/* ---- Enquiry form: one white card with round corners, like the broker card ---- */
.enquiry.block {
  background: #ffffff; border: 1px solid var(--card-line); border-radius: var(--radius-card); box-shadow: var(--card-shadow);
  padding: 1.6rem 1.6rem 1.4rem; margin-top: 1.75rem;
}
@media (max-width: 639px) { .enquiry.block { padding: 1.2rem 1rem 1.1rem; } }
.cdetail .detail-body > .enquiry > h2, .enquiry.block > h2 {
  display: flex; align-items: center; gap: 0.6rem; border-top: 0; padding-top: 0; margin: 0 0 0.35rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--heading);
}
.enquiry.block > h2::before {
  content: ""; flex: none; width: 1.35rem; height: 1.35rem; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 9h16M9 3v4M15 3v4M9 14.5l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 9h16M9 3v4M15 3v4M9 14.5l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.enquiry .enquiry-intro { color: var(--text); margin: 0 0 1.2rem; }
.enquiry-form { background: none; padding: 0; border-radius: 0; }
.enquiry-form .field > label, .enquiry-form .field > legend, .enquiry-form .multi-pick-label {
  font-family: var(--font); font-size: 0.9rem; font-weight: 600; color: var(--heading);
}
.enquiry-form .optional { color: var(--text); opacity: 0.8; font-weight: 400; }
/* Fields: taller, round corners, fine steel border; navy border with a soft orange glow when in use. */
.enquiry-form input[type="text"], .enquiry-form input[type="email"], .enquiry-form input[type="tel"], .enquiry-form input[type="number"],
.enquiry-form textarea, .enquiry-form select, .enquiry-form .multi-pick-btn, .enquiry-form .c-select-btn {
  min-height: 2.9rem; border: 1px solid var(--steel-border); border-radius: var(--radius-btn); background: #ffffff; color: var(--heading);
  padding: 0.6rem 0.8rem; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.enquiry-form textarea { min-height: 7rem; }
.enquiry-form input:hover, .enquiry-form textarea:hover, .enquiry-form .multi-pick-btn:hover, .enquiry-form .c-select-btn:hover { border-color: var(--steel-border-hover); }
.enquiry-form input:focus, .enquiry-form textarea:focus, .enquiry-form .multi-pick[open] > .multi-pick-btn, .enquiry-form .c-select.is-open .c-select-btn,
.enquiry-form .c-select-btn:focus-visible, .enquiry-form .multi-pick-btn:focus-visible {
  outline: none; border-color: var(--btn-navy); box-shadow: 0 0 0 3px rgba(232, 115, 12, 0.22);
}
.enquiry-form input[aria-invalid="true"], .enquiry-form textarea[aria-invalid="true"], .enquiry-form .c-select.is-invalid .c-select-btn { border-color: var(--error); }
.enquiry-form .multi-pick-list { border-radius: var(--radius-btn); border-color: var(--card-line); }
.enquiry-form .check input { accent-color: var(--btn-navy); }
.enquiry-form .check--single, .enquiry-form .consent { font-size: 0.92rem; color: var(--heading); }
.enquiry-form button[type="submit"].btn { min-width: 12rem; }
@media (max-width: 639px) { .enquiry-form button[type="submit"].btn { width: 100%; } }
/* Budget: navy slider with an orange handle; the value line in text colour; EUR / USD as a steel switch. */
.budget-value { color: var(--heading); font-weight: 600; }
.budget input[type=range] { accent-color: var(--accent); }
.budget-cur { background: linear-gradient(180deg, var(--steel-top), var(--steel-bottom)); border: 1px solid var(--steel-border); border-radius: var(--radius-btn); }
.budget-cur span { border-radius: 7px; color: var(--heading); }
.budget-cur input:checked + span { background: var(--btn-navy); color: #ffffff; }
.budget-cur input:focus-visible + span { outline: 2px solid var(--accent); }
.enquiry-hours { display: flex; align-items: center; gap: 0.45rem; color: var(--text); }
.enquiry-hours::before {
  content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- Broker card below the enquiry form (computers and phones) ---- */
.cbroker--below { max-width: 26rem; margin: 1.5rem 0 0.5rem; border-radius: var(--radius-card); }
@media (max-width: 639px) { .cbroker--below { margin-left: auto; margin-right: auto; } }

/* ---- Site-style drop-downs (select.js) ---- */
.c-select { position: relative; }
.c-select-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important; opacity: 0; pointer-events: none; }
.c-select-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; min-height: 2.75rem;
  padding: 0.55rem 0.7rem; font: inherit; text-align: left; color: var(--heading); background: #ffffff;
  border: 1px solid var(--steel-border); border-radius: var(--radius-btn); cursor: pointer;
}
.c-select-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-select.is-empty .c-select-text { color: var(--text); }
.c-select-btn::after {
  content: ""; flex: none; width: 0.45rem; height: 0.45rem; margin: -0.2rem 0.2rem 0 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.c-select.is-open .c-select-btn::after { transform: rotate(225deg); margin-top: 0.2rem; }
.c-select-btn:focus-visible { outline: none; border-color: var(--btn-navy); box-shadow: 0 0 0 3px rgba(232, 115, 12, 0.22); }
.c-select-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 0.35rem); margin: 0; padding: 0.35rem; list-style: none;
  max-height: 18rem; overflow-y: auto; background: #ffffff; border: 1px solid var(--card-line); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 39, 0.16); overscroll-behavior: contain;
}
.c-select.is-up .c-select-list { top: auto; bottom: calc(100% + 0.35rem); }
.c-select-option {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.6rem 0.7rem; border-radius: 8px;
  color: var(--heading); cursor: pointer; line-height: 1.3;
}
.c-select-option.is-placeholder { color: var(--text); }
.c-select-option.is-active { background: #eef1f4; }
.c-select-option[aria-selected="true"] { font-weight: 600; color: var(--btn-navy); }
.c-select-option[aria-selected="true"]::after {
  content: ""; flex: none; width: 0.35rem; height: 0.7rem; margin-right: 0.2rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
}
.c-select-option[aria-disabled="true"] { opacity: 0.45; cursor: default; }
/* In the list filters the fields are lines (as before), not boxes. */
.filters .c-select-btn { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-left: 0; background: transparent; }
.filters .c-select-btn:focus-visible { box-shadow: none; border-bottom-color: var(--btn-navy); }
.price-range .c-select { min-width: 0; }
/* Sort by: a compact box. */
.sort-form .c-select { min-width: 11rem; }
.sort-form .c-select-btn { min-height: 2.5rem; padding: 0.35rem 0.7rem; }
.sort-form .c-select-list { left: auto; min-width: 100%; width: max-content; }
/* Budget slider: slim steel track, round orange handle with a white edge. */
.budget input[type=range] { -webkit-appearance: none; appearance: none; height: 1.4rem; background: transparent; cursor: pointer; }
.budget input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #dde3ea; }
.budget input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #dde3ea; }
.budget input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--btn-navy); }
.budget input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: var(--accent); border: 3px solid #ffffff; box-shadow: 0 1px 4px rgba(15, 23, 39, 0.3);
}
.budget input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #ffffff; box-shadow: 0 1px 4px rgba(15, 23, 39, 0.3); }
.budget input[type=range]:focus-visible { outline: none; }
.budget input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(232, 115, 12, 0.3); }

/* =====================================================================================
   Build 06.15: owner's tweaks
   ===================================================================================== */
/* Header on computers as on the old charter site: hanging from the top edge (rounded only at the bottom),
   taller, bigger logo. Phones keep the 06.13 bar. Not sticky. */
@media (min-width: 900px) {
  .site-header { padding-top: 0; }
  .site-header-inner { min-height: 7.75rem; border-top: 0; border-radius: 0 0 18px 18px; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .site-header .brand-logo { height: 4.6rem; max-width: 21rem; }
}

/* Budget: the EUR / USD switch on its own line, the amount under it, so nothing moves while the text grows. */
.budget-head { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 0.55rem; }
.budget-head .budget-value { display: block; }

/* The two buttons under the price: one line each, always the same height. */
.cbuy-actions .btn { min-height: 3rem; white-space: nowrap; }

/* Pagination: «  ‹  1 … 4 [5] 6 … 10  ›  » */
.pager--chevrons { gap: 0.35rem; flex-wrap: nowrap; }
.pager--chevrons .pager-nums { display: inline-flex; align-items: center; gap: 0.35rem; }
.pager--chevrons .pager-nums--narrow { display: none; }
.pager--chevrons .pager-num, .pager--chevrons .pager-arrow {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.4rem;
  border-radius: var(--radius-btn); font-weight: 600; text-decoration: none; color: var(--heading);
}
.pager--chevrons .pager-arrow {
  font-size: 1.25rem; line-height: 1; background: linear-gradient(180deg, var(--steel-top), var(--steel-bottom));
  border: 1px solid var(--steel-border); box-shadow: inset 0 1px 0 #ffffff;
}
.pager--chevrons a.pager-num:hover { background: #eef1f4; }
.pager--chevrons a.pager-arrow:hover { border-color: var(--steel-border-hover); }
.pager--chevrons .pager-num[aria-current="page"] { background: var(--btn-navy); color: #ffffff; }
.pager--chevrons .pager-arrow.is-off { opacity: 0.35; }
.pager--chevrons .pager-gap { color: var(--text); padding: 0 0.1rem; }
@media (max-width: 479px) {
  .pager--chevrons .pager-nums--wide { display: none; }
  .pager--chevrons .pager-nums--narrow { display: inline-flex; }
  .pager--chevrons .pager-num, .pager--chevrons .pager-arrow { min-width: 2.3rem; height: 2.3rem; }
}

/* Menu sub-panels (My yachts …): Back and the title stay in place, the list scrolls under the title line. */
.drawer-view:not([data-view="main"]) { display: flex; flex-direction: column; overflow: hidden; }
.drawer-view:not([data-view="main"]) > .drawer-back, .drawer-view:not([data-view="main"]) > .drawer-view-title { flex: none; }
.drawer-view-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

/* =====================================================================================
   Build 06.16
   ===================================================================================== */
/* The yacht type tag on the yacht page: on hover the text stayed navy on navy (invisible). */
.cdetail-type:hover, .cdetail-type:focus-visible { color: #ffffff; background: var(--btn-navy-hover); }
/* The list column never grows past the screen: a long "Recently viewed" row (many yachts viewed) pushed it
   wider, so the cards got a 4th column and the page scrolled sideways. The row scrolls inside instead. */
@media (min-width: 900px) { .list-layout { grid-template-columns: 17rem minmax(0, 1fr); } }
.list-layout > *, .recent { min-width: 0; }
/* Build 06.17: the "Back to top" lift springs a little past its end when it slides out, which opened a white
   gap at the screen edge. The bar now reaches 2rem past the right edge (out of sight), so the spring never shows
   a gap; the peeking tip and the fully-out position stay as before. (Menu and the side tabs already do this.) */
.to-top { right: -2rem; padding-right: calc(1.4rem + 2rem); }
.to-top.is-shown { transform: translateX(calc(100% - var(--tip) - 2rem)); }
.to-top.is-shown.is-sliding { transform: translateX(0); }

/* ===== Builds 06.18-06.20: filters on phones in a "Filters" drawer =====
   Below 900px the filter form moves (charter.js) into a drawer on the right edge, above Menu (above Admin tools
   when that shows). Closed, the filter icon and the start of "Filters" peek out, like Menu; the orange badge on
   the icon counts the active filters. The panel opens above the bar like the other drawers, narrower, with every
   field fitted in; the list behind stays visible and updates with each choice. Computers keep the left column. */
.drawer--filters, .filters-sort-phone { display: none; }
.filters-slot { align-self: start; min-width: 0; }
.filters-title { display: inline; }

@media (max-width: 899px) {
  html.js .filters-slot { display: none; }   /* The form lives in the drawer. */
  html.js .drawer--filters { display: block; }
  /* Closed: only the icon (and the count) peek out, like Back to top (build 06.21). */
  .drawer--filters { --drawer-w: 13.5rem; --tip: 3.15rem; --intro: 3.15rem; bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
  .drawer--filters.drawer--filters-high { bottom: calc(8.65rem + env(safe-area-inset-bottom)); }
  html.js.lift-riding .drawer--filters:not([open]) { transform: translateX(calc(100% + 1rem)); visibility: hidden; }
  .drawer--filters:has(.fdrawer-badge) { --tip: 4.3rem; --intro: 4.3rem; }
  /* Icon and count side by side, on one line; the count in a white ring without a fill (build 06.21). */
  .fdrawer-icon { display: inline-flex; align-items: center; gap: 0.45rem; flex: none; }
  .fdrawer-icon > [data-live] { display: inline-flex; align-items: center; }
  .fdrawer-badge {
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    min-width: 1.4rem; height: 1.4rem; padding: 0 0.3rem; border: 1.5px solid #ffffff; border-radius: 1rem;
    background: transparent; color: #ffffff; font-size: 0.78rem; font-weight: 700; line-height: 1;
  }
  /* Back to top moves one place up to make room for the tab. */
  html.has-filters-tab .to-top { bottom: calc(8.65rem + env(safe-area-inset-bottom)); }
  html.has-filters-tab .to-top.to-top--high { bottom: calc(12.55rem + env(safe-area-inset-bottom)); }

  /* The panel: as wide as the bar (build 06.20), header and buttons fixed, the fields scroll when needed. */
  /* Sits on the screen edge, as wide as the bar (build 06.21). */
  .drawer--filters .drawer-panel--filters {
    right: 0; width: 100%; border-right: 0; border-radius: 0.75rem 0 0 0.75rem;
    padding: 0; display: flex; flex-direction: column; overflow: hidden;
    max-height: calc(100dvh - 9.5rem - env(safe-area-inset-bottom));
  }
  .drawer--filters-high .drawer-panel--filters { max-height: calc(100dvh - 13.4rem - env(safe-area-inset-bottom)); }
  .fdrawer-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; flex: none;
    padding: 0.6rem 0.95rem 0.5rem; border-bottom: 1px solid #33506f;
  }
  .fdrawer-title { font-weight: 650; font-size: 1.02rem; color: #ffffff; }
  .fdrawer-total { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
  .fdrawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .fdrawer-foot { display: flex; flex-direction: column; gap: 0.4rem; flex: none; padding: 0.6rem 0.8rem 0.7rem; border-top: 1px solid #33506f; }
  .fdrawer-foot button {
    min-height: 2.6rem; padding: 0.4rem 0.8rem; border-radius: var(--radius-btn); font: inherit; font-size: 0.93rem; font-weight: 650; cursor: pointer;
  }
  .fdrawer-clear { flex: none; background: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.4); }
  .fdrawer-clear:hover, .fdrawer-clear:focus-visible { border-color: #ffffff; background: var(--navy-soft); }

  /* The fields, compact on navy: two columns where two fit. */
  /* One field under the other (build 06.20). */
  .drawer--filters .filters-form { display: flex; flex-direction: column; padding: 0.6rem 0.85rem 0.15rem; }
  .drawer--filters .filters-form > * { margin: 0 0 0.6rem; min-width: 0; }
  .drawer--filters .filter-search { order: 1; }
  .drawer--filters .type-list { order: 2; }
  .drawer--filters .filter-choice { order: 3; }
  .drawer--filters .filter-port { order: 4; }
  .drawer--filters .field--half:has(#f-guests) { order: 5; }
  .drawer--filters .field--half:has(#f-cabins) { order: 6; }
  .drawer--filters .price-filter { order: 7; }
  .drawer--filters .field--half:has(#f-ac) { order: 8; }
  .drawer--filters .filters-sort-phone { display: block; order: 9; }
  .drawer--filters .filters-actions { display: none; }
  .drawer--filters .field > label:not(.check), .drawer--filters .field > legend {
    display: block; margin: 0 0 0.15rem; padding: 0; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
  }
  .drawer--filters .filter-choice > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .drawer--filters .filter-search-box input[type="search"] { min-height: 2.25rem; padding-top: 0.35rem; padding-bottom: 0.35rem; border: 0; font-size: 0.9rem; padding-left: 0.65rem; }
  .drawer--filters .check { display: flex; padding: 0.08rem 0; gap: 0.45rem; color: #ffffff; font-size: 0.93rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .drawer--filters .check span { color: #ffffff; font-size: 0.93rem; }
  .drawer--filters .check input { margin-top: 0.15rem; accent-color: var(--accent); }
  .drawer--filters .check--sub { padding-left: 0; }
  .drawer--filters .price-filter { border: 0; padding: 0; }
  /* Min and Max one under the other, the full width, easier to tap (build 06.21). */
  .drawer--filters .price-range { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .drawer--filters .c-select-btn {
    min-height: 2.15rem; padding: 0.25rem 0; color: #ffffff; background: transparent;
    border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0; font-size: 0.93rem;
  }
  .drawer--filters .c-select.is-empty .c-select-text { color: rgba(255, 255, 255, 0.6); }
  .drawer--filters .c-select-btn:focus-visible { box-shadow: none; border-bottom-color: var(--accent); }
  .drawer--filters .c-select-list { font-size: 0.93rem; }
  .drawer--filters .c-select-option { padding: 0.5rem 0.6rem; }
}

/* ===== Build 06.21: no gap at the screen edge while a drawer bar slides out =====
   The bars' spring (cubic-bezier 1.4) overshoots past the edge for a moment and showed a thin white gap
   (Menu, Admin tools, Filters). Each bar now carries a 2rem piece of itself beyond the right edge (out of sight),
   the same fix as Back to top in 06.17. Fixed boxes past the edge do not make the page scroll sideways. */
.drawer > summary { position: relative; }
.drawer > summary::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; left: 100%; width: 2rem;
  background: inherit; border-style: solid; border-width: 2px 0; border-color: inherit; pointer-events: none;
}

/* ===== Build 06.22: "Enquire now" and "WhatsApp" side by side on every screen (phones already were). ===== */
.cbuy-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* ===== Build 06.23 ===== */

/* Footer "Cookie settings": stays visible on hover (it turned navy on the navy footer). */
.footer-consent:hover, .footer-consent:focus-visible { color: #ffffff; text-decoration-color: var(--accent); }
/* "Cookie settings" button placed on a page (page maker): hidden until the cookie script shows it. */
.btn[data-consent-open][hidden] { display: none; }

/* Menu: the heart and compare signs right after "My yachts", in white. */
.drawer-open-title { display: inline-flex; align-items: center; gap: 0.55rem; }
.drawer-mine-icons { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--white); }
.drawer-mine-icons .heart-icon { width: 16px; height: 16px; }
.drawer-mine-icons .cmp-icon { width: 16px; height: 16px; }
/* Menu > Regions: number of yachts at the end of each line. */
.drawer-link-count { flex: none; min-width: 1.6rem; text-align: right; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }

/* Yacht page sections: the icon on the left of every title. Inclusions green, exclusions red, the rest orange. */
.cdetail .cacc > summary .cacc-label { gap: 0.65rem; }
.cdetail .cacc > summary .cacc-label .c-icon { color: var(--accent); }
.cdetail .cacc > summary .cacc-label--included .c-icon { color: #43824f; }
.cdetail .cacc > summary .cacc-label--excluded .c-icon { color: #c8344a; }
.cdetail .ekmar-routes-section__label { gap: 0.65rem; }
.cdetail .ekmar-routes-section__label .hp-icon { order: 0; width: 22px; height: 22px; }

/* FAQ in the yacht description: the same look as the FAQ on pages (charter guide). */
.cdetail .cdesc .faq { margin: 0.6rem 0 1.2rem; }
.cdetail .cdesc .faq .prose { padding: 0 0 0.6rem; }
.cdetail .cdesc .faq .prose p:last-child { margin-bottom: 0; }
.cdetail .cdesc .faq + p { margin-top: 1.4rem; }

/* ===== Build 06.24: one red for badges and the ribbon, contrast fixes, video cover, section icons ===== */

/* All offer badges and the Ekmar's Choice ribbon in one red, as on the sales site and the old charter: white text,
   a thin white border. Turkish flag red #e30a17 instead of the sales #ff0000, because white on it passes Google's
   contrast check (4.9 : 1; #ff0000 gives 4.0). */
.c-badge, .c-badge--last-minute, .c-badge--special, .c-badge--allowance {
  background: #e30a17; color: #ffffff; border: 1px solid #ffffff; box-shadow: 0 2px 6px rgba(20, 38, 61, 0.3);
}
.choice-ribbon > span {
  background: #e30a17; color: #ffffff; border: 1px solid #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); box-shadow: 0 2px 6px rgba(20, 38, 61, 0.35);
}
.card--choice .card-photo { outline-color: #e30a17; }

/* "Per Week" in the same navy as the price (orange on white failed the contrast check). */
.ccard .ccard-week { color: var(--btn-navy); }
/* Type tag on the card photo: a solid navy behind the white letters, readable on any photo. */
.ccard-type { background: rgba(16, 27, 51, 0.82); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* "(optional)" in the enquiry form: full strength grey (it was faded to 3.6 : 1). */
.enquiry-form .optional { color: var(--text); opacity: 1; }

/* Yacht page sections: closed titles all in orange, also Inclusions and Exclusions; the lists inside keep
   their green ticks and red signs. */
.cdetail .cacc > summary .cacc-label--included .c-icon,
.cdetail .cacc > summary .cacc-label--excluded .c-icon { color: var(--accent); }

/* Video: the first gallery photo as the cover, a round play button on it; the player loads only on Play. */
.video--cover { position: relative; padding: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0a121e; }
.video--cover .video-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video--cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0) 45%, rgba(10, 18, 30, 0.65) 100%);
}
.video-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1.4rem 0.8rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 999px; cursor: pointer;
  background: rgba(16, 27, 51, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #ffffff; font: inherit; font-weight: 650; font-size: 1rem; box-shadow: 0 8px 24px rgba(5, 12, 30, 0.45);
  transition: background 0.2s, transform 0.2s;
}
.video-play:hover, .video-play:focus-visible { background: rgba(27, 42, 71, 0.9); transform: translate(-50%, -50%) scale(1.04); }
.video-play:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.video--cover .video-note {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.92); font-size: 0.8rem; text-align: center;
}
/* Phones: the video in a dark full-screen window. */
.video-dialog {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0a121e; color: #ffffff;
}
.video-dialog[open] { display: flex; align-items: center; justify-content: center; }
.video-dialog::backdrop { background: #0a121e; }
.video-dialog-frame { width: 100%; aspect-ratio: 16 / 9; max-height: 100dvh; }
.video-dialog-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-dialog-close {
  position: absolute; top: calc(0.75rem + env(safe-area-inset-top)); right: 0.75rem; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #ffffff; cursor: pointer;
}
@media (orientation: landscape) {
  .video-dialog-frame { width: auto; height: 100dvh; max-width: 100vw; }
}

/* ===== Build 06.26 ===== */

/* Offer badges: no border (owner's tweak); the ribbon keeps its thin white edge. */
.c-badge, .c-badge--last-minute, .c-badge--special, .c-badge--allowance { border: none; }

/* Softer corners: everything that had 10 px now has 5 px. */
:root { --radius-btn: 5px; }
.cgallery .gallery-track > li { border-radius: 5px; }
.active-filters, .share-more-card, .compare-one { border-radius: 5px; }
html .ekmar-routes-section .ekmar-routes__card { border-radius: 5px; }   /* Map stop card (routes CSS: 10px). */
/* Recently viewed: the photo's top corners follow the card's corners (they stuck out before). */
.recent-photo { border-radius: var(--radius-card) var(--radius-card) 0 0; }

/* Results line "Showing 1–12 of 67 yachts", in the same place on computers. */
.results-count { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.list-search-phone { display: none; }

@media (max-width: 899px) {
  /* Phones: a search box above the list, the results line centred under it, no "Sort by" (it is in Filters). */
  html.js .results-bar { display: block; text-align: center; }
  html.js .list-search-phone { display: block; margin: 0 0 0.85rem; text-align: left; }
  html.js .list-search-phone input[type="search"] { width: 100%; min-height: 2.9rem; }
  html.js .results-bar .sort-form { display: none; }
  html.js .drawer--filters .filter-search { display: none; }   /* The search box is above the list. */

  /* Filters bar: a small kick out (icon and word) when the list opens, back to its tip on scrolling. */
  html.js .drawer--filters.is-kick:not([open]):not(.is-sliding) { transform: translateX(calc(var(--drawer-w) - 8.4rem)); }
  html.js .drawer.drawer--filters.is-kick:not([open]):not(.is-sliding):not(.is-greet):not(.is-intro) .drawer-label {
    -webkit-mask-image: none; mask-image: none;
  }
}

/* ===== Build 06.27: owner's tweaks ===== */
.ccard { border: 1px solid var(--card-line); border-radius: 5px; }
@media (max-width: 899px) {
  html.js .results-bar { display: block; text-align: left; }
}
.card-photo > .c-badge { position: absolute; left: -5px; top: 0.75rem; z-index: 2; }
.c-badge, .c-badge--last-minute, .c-badge--special, .c-badge--allowance { border: none; }
.cdetail .gallery-frame > .c-badge {
  position: absolute; left: -1px; top: 0.85rem; z-index: 2; font-size: 0.72rem; padding: 0.4rem 0.7rem;
  border-top-left-radius: 0; border-bottom-left-radius: 0;
}
.recent-track > li { border-radius: 5px; }
.recent-photo { border-radius: 5px 5px 0 0; }
