/* Shared by the charter catalogue and the booking application. */
.yacht-overview-band {
  display:grid; grid-template-columns:minmax(0,1.4fr) minmax(16rem,.8fr);
  align-items:center; gap:clamp(1.2rem,3.5vw,4rem); padding:clamp(1.1rem,2.8vw,2.75rem) 0;
}
.yacht-overview-band .yacht-story {
  grid-column:1; grid-row:1; min-width:0; margin:0; padding:0 clamp(.8rem,1.8vw,1.8rem);
  border:0; border-inline-start:3px solid #aabacc; font-size:clamp(1.04rem,1.15vw,1.2rem);
  line-height:1.68; color:#344b63;
}
.yacht-overview-band .yacht-story p { max-width:78ch; margin:0 0 .75em; }
.yacht-overview-band .yacht-story p:last-child { margin-bottom:0; }
.yacht-overview-band nav.yacht-nav {
  grid-column:2; grid-row:1; align-self:center; display:flex; flex-wrap:wrap; align-items:center;
  gap:.45rem; margin:0; padding:clamp(.75rem,1.5vw,1.35rem); border:1px solid #dde4eb;
  border-radius:1rem; background:#eff3f7; position:static;
}
.yacht-overview-band:not(:has(.yacht-story:not(:empty))) { grid-template-columns:minmax(0,1fr); }
.yacht-overview-band:not(:has(.yacht-story:not(:empty))) nav.yacht-nav { grid-column:1/-1; }
.yacht-overview-band nav.yacht-nav a {
  display:inline-flex; align-items:center; justify-content:center; gap:.35em; min-height:2.65rem;
  box-sizing:border-box; padding:.5em .92em; font-size:.92rem; font-weight:600;
  line-height:1.25; white-space:normal; text-decoration:none; border:1px solid #d1dbe5;
  border-radius:.65rem; color:#354c65; background:#fff;
}
.yacht-overview-band nav.yacht-nav a[href="#teklif"] { color:#8c283c; border-color:#e8c6cb; background:#fff7f7; }
.yacht-overview-band nav.yacht-nav a:hover { border-color:#8297ac; background:#f7fafc; }
.yacht-overview-band nav.yacht-nav a[href="#teklif"]:hover { background:#fcebee; border-color:#c67f89; }
section.yacht-gallery-section#galeri { padding:clamp(.9rem,1.8vw,1.65rem) 0 0; margin:0 0 2rem; border-top:1px solid #d9e2ec; }
.yacht-gallery-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.9rem 1.5rem; margin:0 0 1rem; }
.yacht-gallery-head h2 { display:flex; align-items:center; flex-wrap:wrap; gap:.64rem; margin:0; color:#30445e; line-height:1.15; }
.yacht-gallery-head h2 small { display:inline-flex; align-items:center; justify-content:center; min-width:1.9em; padding:.3em .48em; border-radius:.6rem; background:#eaf0f5; color:#40566d; font:600 .86rem/1.1 system-ui,sans-serif; }
.yacht-gallery-head .tabs { display:flex; flex-wrap:wrap; gap:.4rem; margin:0; padding:0; }
.yacht-gallery-head .tabs button {
  display:inline-flex; align-items:center; min-height:2.6rem; padding:.45em .85em; margin:0; border:1px solid #d2dce5;
  border-radius:.66rem; background:#fff; color:#3d536b; font-size:.9rem; line-height:1.22; font-weight:550; cursor:pointer;
}
.yacht-gallery-head .tabs button[aria-pressed="true"] { border-color:#546c86; background:#4f6883; color:white; }
.yacht-gallery-head .tabs button:not([aria-pressed="true"]):hover { border-color:#a2b3c3; background:#eff4f8; }
.yacht-gallery-section .gallery {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.5rem,1.15vw,1.2rem);
}
.yacht-gallery-section .gallery > a {
  display:block; position:relative; min-width:0; aspect-ratio:1.6; overflow:hidden; border:0;
  border-radius:clamp(.65rem,1.2vw,1.2rem); background:#edf1f5;
}
.yacht-gallery-section .gallery > a:is([hidden],[data-folded]) { display:none; }
.yacht-gallery-section .gallery > a img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .23s ease; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .yacht-gallery-section .gallery > a:hover img { transform:scale(1.025); }
}
@media(max-width:52rem) {
  .yacht-overview-band { grid-template-columns:minmax(0,1fr); }
  .yacht-overview-band nav.yacht-nav,.yacht-overview-band .yacht-story { grid-column:1; grid-row:auto; }
  .yacht-gallery-section .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:36rem) {
  .yacht-overview-band nav.yacht-nav { padding:.6rem; gap:.4rem; }
  .yacht-overview-band nav.yacht-nav a,.yacht-gallery-head .tabs button { min-height:2.75rem; font-size:.86rem; }
  .yacht-gallery-section .gallery > a { aspect-ratio:1.26; }
}

section.charter-rates:is(#fiyatlar,#fiyat), section.charter-quote#teklif {
  --charter-ink:#293c55; --charter-muted:#52667b; --charter-rule:#dbe3eb;
  box-sizing:border-box; color:var(--charter-ink); background:#fff;
  border:1px solid var(--charter-rule); border-radius:1.15rem;
  padding:clamp(1rem,2.4vw,2.5rem); margin-block:clamp(1.25rem,2.4vw,2.5rem);
}
.charter-rates h2,.charter-quote h2 { margin:0 0 1.15rem; line-height:1.13; }
.charter-rate-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(15rem,.85fr); align-items:start; gap:clamp(1.2rem,2.8vw,3.3rem); }
.charter-rate-layout:has(.charter-periods:empty) { grid-template-columns:1fr; }
.charter-rate-layout .charter-periods:empty { display:none; }
.charter-periods { min-width:0; }
.charter-periods > p:first-child { margin-top:0; }
.charter-rates .charter-periods :is(.prices,.dates) {
  margin:0; inline-size:100%; max-width:none; border-collapse:separate; border-spacing:0;
  border:1px solid var(--charter-rule); border-radius:.8rem; overflow:hidden;
  font-size:clamp(.88rem,1.3vw,1rem); font-variant-numeric:tabular-nums;
}
.charter-rates .charter-periods :is(.prices,.dates) :is(th,td) {
  border:0; border-block-end:1px solid var(--charter-rule); padding:.8rem clamp(.65rem,1.25vw,1.2rem);
  text-align:start; background:#fff; overflow-wrap:anywhere; vertical-align:middle; line-height:1.45;
}
.charter-rates .charter-periods :is(.prices,.dates) th { font-family:inherit; font-size:.83em; background:#eff3f7; color:#405570; font-weight:650; }
.charter-rates .charter-periods tr:last-child td { border-block-end:0; }
.charter-rates .charter-periods :is(th,td):nth-child(2) { text-align:end; }
.charter-rates .charter-periods td:nth-child(2) { font-weight:700; white-space:nowrap; }
.charter-rates .charter-periods td:nth-child(3) { color:var(--charter-muted); }
.charter-rates .rate-terms { display:grid; gap:1.1rem; margin:0; min-width:0; }
.charter-rates .rate-terms > div { padding:0 0 0 1rem; border:0; border-inline-start:3px solid #9caec1; border-radius:0; background:transparent; }
.charter-rates .rate-terms > div:nth-child(2) { border-inline-start-color:#d29298; }
.charter-rates .rate-terms :is(h2,h3) { margin:0 0 .45rem; font-size:clamp(1.12rem,1.6vw,1.45rem); line-height:1.2; }
.charter-rates .rate-terms :is(p,ul) { margin:0; color:var(--charter-muted); }
.charter-rates .rate-terms ul { padding-inline-start:1.1em; }
section.charter-quote#teklif { display:grid; grid-template-columns:minmax(14rem,.7fr) minmax(0,1.6fr); gap:clamp(1.2rem,4.5vw,5rem); align-items:start; }
.charter-quote .book-form-intro p { max-width:33ch; margin:0 0 .75rem; color:var(--charter-muted); }
.charter-quote .book-form-intro a { text-underline-offset:.2em; }
section.charter-quote#teklif .form { min-width:0; width:100%; max-width:none; margin:0; padding:0; background:transparent; }
.charter-quote .form label { min-width:0; font-weight:600; font-size:.94rem; }
.charter-quote .form :is(input:not([type=hidden]),textarea,select) {
  box-sizing:border-box; width:100%; min-width:0; padding:.65rem .85rem; min-height:2.8rem; margin-top:.36rem;
  border:1px solid #a8b8c8; border-radius:.59rem; color:#283b52; background:#fff; font:inherit; font-weight:400;
}
.charter-quote .form :is(input,textarea,select):focus-visible { outline:2px solid #526f8e; outline-offset:2px; }
.charter-quote .form button[type=submit],.charter-quote .form button.btn {
  background:#ac3445; color:#fff; min-height:2.8rem; padding:.68rem 1.55rem; border:0;
  border-radius:3rem; justify-self:start; align-self:start; width:fit-content; font-weight:650;
}
.charter-quote .form button:hover { filter:brightness(.92); }
@media(max-width:56rem) {
  .charter-rate-layout,section.charter-quote#teklif { grid-template-columns:minmax(0,1fr); }
  .charter-rates .rate-terms { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:36rem) {
  .charter-rates .rate-terms { grid-template-columns:minmax(0,1fr); }
  .charter-rates .charter-periods :is(.prices,.dates) :is(th,td) { padding:.65rem .48rem; font-size:.82rem; }
  .charter-rates .charter-periods th { text-transform:none; }
  .charter-rates .charter-periods td:nth-child(2) small { display:block; white-space:normal; }
  .charter-quote .form { grid-template-columns:minmax(0,1fr); }
}

.yacht-page .yacht-summary a[data-charter-hero-action],
.yacht-hero a[data-charter-hero-action],
band-charter-dock a[href="#teklif"],
.charter-quote#teklif .form button[type="submit"] {
  display:inline-flex; box-sizing:border-box; align-items:center; justify-content:center; gap:.7rem;
  min-height:3rem; max-width:100%; padding:.72rem 1.25rem; border:1px solid #a82c3c;
  border-radius:2rem; background:#b32d3d; color:#fff; font:650 1rem/1.3 system-ui,sans-serif;
  text-decoration:none; text-align:center;
}
.yacht-hero a[data-charter-hero-action] { margin:0; }
main band-charter-dock a[href="#teklif"]:hover,
:is(.yacht-summary,.yacht-hero) a[data-charter-hero-action]:hover,
.charter-quote#teklif .form button[type="submit"]:hover { background:#982333; border-color:#982333; }
:is(band-charter-dock,.yacht-summary,.yacht-hero,.charter-quote#teklif) :is(a,button):focus-visible {
  outline:3px solid #334f72; outline-offset:3px;
}
.charter-quote#teklif { scroll-margin-block-start:1rem; }
.charter-quote#teklif:focus-visible { outline:3px solid #516d8a; outline-offset:2px; }
band-charter-dock:not([hidden]) {
  position:fixed; inset-inline-end:clamp(1rem,3vw,3rem);
  bottom:max(.85rem,env(safe-area-inset-bottom)); z-index:12;
  display:flex; align-items:center; gap:1rem; box-sizing:border-box;
  max-width:calc(100% - 2rem); padding:.45rem .45rem .45rem 1rem;
  border:1px solid #d4dfe7; border-radius:1.2rem; color:#30445a;
  background:#fff; box-shadow:0 .25rem 1.25rem #18354d24;
}
band-charter-dock[hidden],
body:has(dialog[open],header details[open],.band-menu-toggle[aria-expanded="true"]) band-charter-dock { display:none; }
band-charter-dock strong { min-width:0; color:#31465e; font-weight:650; line-height:1.25; overflow-wrap:anywhere; }
band-charter-dock a[href="#teklif"] { min-height:2.75rem; padding:.55rem 1rem; font-size:.93rem; }
html:has(band-charter-dock:not([hidden])) { scroll-padding-block-end:5rem; }
@media(max-width:43.75rem) {
  .yacht-page .hero.yacht-detail-hero > .yacht-summary { grid-row:1; padding:1.2rem; }
  .yacht-page .yacht-summary a[data-charter-hero-action] { align-self:stretch; }
  .charter-quote#teklif .form button[type="submit"] { width:100%; }
  band-charter-dock:not([hidden]) {
    inset-inline:.65rem; bottom:max(.6rem,env(safe-area-inset-bottom)); justify-content:space-between;
    max-width:none; padding-inline-start:.78rem; gap:.6rem;
  }
  band-charter-dock a[href="#teklif"] { max-width:67%; }
}
@media print { band-charter-dock:not([hidden]) { display:none; } }

.offer-doc-tools :is(a,button) {
  display:inline-flex; align-items:center; justify-content:center; min-height:2.8rem; box-sizing:border-box;
  border:1px solid #9aaebf; border-radius:2rem; padding:.55rem 1rem; color:#304b66; background:#fff; text-decoration:none;
  font:650 .96rem/1.3 system-ui,sans-serif; cursor:pointer;
}
.offer-doc-tools a:hover { background:#e9f0f5; }
.offer-doc-tools :is(a,button):focus-visible { outline:3px solid #445e7d; outline-offset:3px; }
body:has(> .band-charter-document) > :not(.band-charter-document) { display:none !important; }
.band-charter-document { box-sizing:border-box; min-height:100vh; padding:1rem clamp(.7rem,4vw,4rem) 2.5rem; background:#eef2f5; color:#263c53; }
.offer-doc-tools,.band-charter-document main.offer-paper { max-width:58rem; width:100%; box-sizing:border-box; margin-inline:auto; }
.offer-doc-tools { display:flex; align-items:center; justify-content:space-between; gap:.65rem; margin-bottom:1rem; }
.offer-doc-tools button { background:#a92b3b; color:#fff; border-color:#a92b3b; }
.band-charter-document main.offer-paper { padding:clamp(1.1rem,4vw,3rem); background:white; border:1px solid #d5dfe6; border-radius:1.3rem; box-shadow:0 .5rem 2rem #213d5210; }
.offer-paper .offer-brand { display:block; width:6.5rem; height:auto; }
.offer-paper .offer-doc-title { margin:1.25rem 0 .25rem; color:#95505c; font-weight:650; }
.offer-paper h1 { font-size:clamp(2rem,5.5vw,3.5rem); margin:0 0 1.25rem; line-height:1.08; }
.offer-paper h2 { margin:1.2rem 0 .6rem; font-size:clamp(1.2rem,2.5vw,1.55rem); }
.offer-paper .offer-doc-overview { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:1.25rem; align-items:start; }
.offer-paper .offer-doc-cover { width:100%; aspect-ratio:1.55; object-fit:cover; border-radius:.8rem; }
.offer-paper dl { margin:0; padding:0; }
.offer-paper dl > div { display:grid; gap:.18rem; padding:.4rem 0; border-bottom:1px solid #dce4ea; break-inside:avoid; }
.offer-paper dt { color:#53667a; font-size:.88rem; }
.offer-paper dd { margin:0; font-weight:600; }
.offer-paper .offer-confirmation { margin:1rem 0; color:#4d6075; }
.offer-paper .offer-doc-terms { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap:1rem; }
.offer-paper .offer-doc-terms section { margin:0; padding:0; }
.offer-paper ul { padding-inline-start:1.15rem; }
.offer-paper .offer-doc-policies dd { font-weight:400; }
.offer-paper footer { display:flex; flex-wrap:wrap; gap:.45rem 1.5rem; border-top:1px solid #aebcc8; padding:1rem 0 0; margin:1.3rem 0 0; background:white; color:#3e5469; }
@media print {
  body:has(> .band-charter-document),.band-charter-document,.band-charter-document main.offer-paper {
    min-height:0; width:100%; max-width:none; margin:0; padding:0; background:white; border:0; border-radius:0; box-shadow:none;
  }
  .band-charter-document .offer-doc-tools { display:none; }
  .offer-paper .offer-doc-cover { max-height:5.8cm; }
  .offer-paper :is(h1,h2,h3) { break-after:avoid; }
  .offer-paper .offer-doc-overview { grid-template-columns:1fr 1fr; }
}
