@layer view-transitions {
  @view-transition {
    navigation: auto;
  }
}
@keyframes vt-fade-in {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}
@keyframes vt-fade-out {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}
::view-transition-old([view-transition-name^="boat-image-"]) {
  animation: vt-fade-out 3.2s ease forwards;
}

::view-transition-new([view-transition-name^="boat-image-"]) {
  animation: vt-fade-in 1.2s ease forwards;
}

.boat-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0 auto;
  gap: 20px;
  padding: 20px;
  max-width: 1920px;
}

.boat-gallery {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 8px;
  position: sticky;
  top: 20px;
  height: 100vh;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(255, 255, 255, 0.8) rgba(0, 0, 0, 0);
  padding-right: 3px;
}
.boat-gallery__item,
.boat-gallery a:focus,
.boat-gallery a:active,
.boat-gallery img:focus,
.boat-gallery img:active {
  box-shadow: none !important;
  outline: none !important;
  user-select: none !important;
  border: none !important;
}
.boat-gallery img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 16/12 auto;
  transition: opacity 0.4s ease;
  outline: none;
  user-select: none;
}
.boat-gallery img[data-sweet-lazyload] {
  opacity: 0;
}
.boat-gallery img:not([data-sweet-lazyload]) {
  opacity: 1;
}

.back-button {
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
  font-size: 16px;
  color: #1BD0E3;
}

.boat-details {
  width: 50%;
  padding: 20px;
  border-radius: 8px;
}
.boat-details .boat-sale-label-single {
  padding: 8px 20px;
  background: black;
  font-size: 18px;
  color: white;
  width: max-content;
  margin: 30px 0;
}
.boat-details h1 {
  line-height: 1.2;
}
.boat-details p {
  font-weight: 300;
}
.boat-details .boat-price {
  margin: 20px 0 0 0;
}
.boat-details .boat-price .value {
  font-size: 28px;
}
.boat-details .boat-price .currency {
  font-size: 18px;
  margin-left: 6px;
}
.boat-details .boat-monthly-price {
  color: #6D6E7A;
  margin-bottom: 30px;
  font-weight: 300;
}
.boat-details .spec-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.boat-details .spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0);
  background-color: #121221;
}
.boat-details .spec-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.boat-details .spec-icon {
  width: 48px;
  height: 48px;
}
.boat-details .spec-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.boat-details .spec-info {
  display: flex;
  flex-direction: column;
}
.boat-details .spec-info .label {
  font-weight: 500;
}
.boat-details .spec-info .value {
  font-size: 14px;
  font-weight: 300;
}
.boat-details .spec-info .value span {
  font-size: 12px;
  margin-left: 4px;
}
.boat-details .boat-info {
  padding: 45px 0;
}
.boat-details .boat-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}
.boat-details .boat-info-header h3 {
  margin: 0;
  font-weight: 500;
}
.boat-details .boat-info-header svg {
  width: 12px;
  height: auto;
  transition: transform 0.3s ease-in-out;
}
.boat-details .boat-info-header.active svg {
  transform: rotate(180deg);
}
.boat-details .boat-info-wrapper {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-in-out;
  padding: 0;
}
.boat-details .boat-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #2a2a33;
  font-size: 14px;
  font-weight: 300;
}
.boat-details .boat-content.full {
  grid-template-columns: 1fr;
}
.boat-details .boat-content.full p {
  columns: 2;
}
.boat-details .boat-content:last-of-type {
  border-bottom: 1px solid #2a2a33;
  margin-bottom: 30px;
}
.boat-details .boat-content .label {
  text-align: left;
}
.boat-details .boat-content .value {
  text-align: right;
}
.boat-details .boat-info-wrapper.open {
  max-height: 500px;
  padding: 0;
}
.boat-details .boat-preamble {
  font-weight: 300;
  font-size: 22px;
  line-height: 1.2em;
  text-wrap: balance;
}
.boat-details .boat-description {
  margin: 20px 0 0 0;
  font-size: 16px;
  font-weight: 200;
  padding-bottom: 30px;
  border-bottom: 1px solid #363640;
}
.boat-details .boat-description p {
  font-size: 14px;
  font-weight: 200;
  margin-bottom: 10px;
}
.boat-details .boat-seller {
  display: flex;
  flex-flow: column;
}
.boat-details .boat-seller .company-info {
  display: flex;
  gap: 120px;
  padding: 40px 20px;
  align-items: center;
}
.boat-details .boat-seller .company-info .company-logo {
  flex: 1;
}
.boat-details .boat-seller .company-info .company-details {
  flex: 1;
}
.boat-details .boat-seller .company-info .company-details .sold-by {
  display: block;
  font-weight: 300;
}
.boat-details .boat-seller .company-info .company-details .company-name {
  font-weight: 500;
}
.boat-details .boat-seller .contact-seller-btn {
  border-radius: 12px;
  outline: none;
  border: none;
  padding: 20px;
  background: #1DCEE3;
  color: #020312;
  cursor: pointer;
}

.seller-info {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
.seller-info.active {
  display: block;
}

.seller-info .popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  box-shadow: 0 0 90px rgb(0, 0, 0);
  max-width: 620px;
  width: 90%;
  z-index: 1000;
  animation: popup-fadeIn 0.3s ease-out;
  text-align: left;
  position: relative;
  max-height: 90vh;
  overflow: hidden;
  overflow-y: auto;
  background: #020312;
  color: inherit;
}
.seller-info .popup .close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  color: #fff;
  transition: color 0.2s ease-in-out;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  border-radius: 100%;
  padding: 10px;
  place-items: center;
}
.seller-info .popup .close svg {
  width: 24px;
  height: 24px;
}
.seller-info .popup h2 {
  margin: 0 0 20px 0;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}
.seller-info .popup h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 40px 0 10px 0;
}
.seller-info .popup p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  text-wrap: balance;
}
.seller-info .popup p a {
  text-decoration: none;
  font-weight: 500;
  color: #007ACC;
}
.seller-info .popup p a:hover {
  text-decoration: underline;
}
.seller-info .popup .popup-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.seller-info .popup .popup-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  max-height: 220px;
  object-fit: cover;
}
.seller-info .popup .popup-content {
  padding: 40px;
}
.seller-info .popup .price {
  font-size: 20px;
  font-weight: 500;
}
.seller-info .popup .financing-text {
  font-weight: 400;
  line-height: 1.6;
}
.seller-info .popup .seller-details {
  margin-top: 20px;
}
.seller-info .popup .contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}
.seller-info .popup .contact-buttons .btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1DCEE3;
  color: #020312;
  text-decoration: none;
}

@keyframes popup-fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@media only screen and (max-width: 768px) {
  .boat-container {
    flex-flow: column;
  }
  .boat-container h1 {
    font-size: 25px;
  }
  .boat-container .boat-details {
    padding: 10px 0;
  }
  .boat-container .boat-details .full p {
    columns: 1;
  }
  .boat-container .boat-price .value {
    font-size: 22px;
  }
  .boat-container .boat-gallery {
    position: relative;
    overflow: hidden;
    overflow-x: auto;
    width: 100%;
    height: auto;
    gap: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    max-height: max-content;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .boat-container .boat-gallery a {
    display: flex;
    flex: 1 0 80%;
    height: 100%;
    scroll-behavior: smooth;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .boat-container .boat-gallery a img {
    aspect-ratio: 16/12;
  }
  .boat-container .boat-details {
    width: 100%;
  }
  .seller-info .popup .popup-content {
    padding: 20px;
  }
  .boat-details .boat-seller .company-info {
    display: flex;
    gap: 20px;
    padding: 60px 0;
    align-items: center;
    flex-flow: column-reverse;
    align-items: flex-start;
  }
  .boat-details .boat-seller .company-info .company-name {
    display: none;
  }
}
.boat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  background-color: #03040F;
}
.boat-grid .boat-featured-image {
  width: 100%;
  height: 200px;
  text-align: center;
  min-height: 200px;
  position: relative;
}
.boat-grid .boat-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  overflow-clip-margin: unset;
  overflow: hidden;
}
.boat-grid .boat-featured-image .boat-sale-label {
  position: absolute;
  top: 15px;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 90000;
  padding: 6px 16px;
  font-size: 14px;
  text-transform: uppercase;
}
.boat-grid .boat-card {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  background-color: #1C1D2A;
  color: #fff;
  overflow: hidden;
}
.boat-grid .boat-info {
  padding: 15px 20px;
  margin: 0;
  font-size: 14px;
  color: #fff;
  display: flex;
  flex-flow: column;
  justify-content: center;
  justify-content: space-between;
  flex: 1 1 auto;
}
.boat-grid .boat-info h3 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2em;
}
.boat-grid .boat-info .boat-price {
  font-weight: 300;
  font-size: 16px;
  margin-top: 5px;
}
.boat-grid .boat-info .boat-seller {
  font-weight: 300;
  color: #739bbc;
  margin-top: 20px;
}

@page {
  size: A4;
  margin: 15mm;
}
@media print {
  html, body {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    line-height: 1.4;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #000 !important;
    width: 100%;
  }
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    background: none !important;
    color: #000 !important;
  }
  a[href]:after {
    content: "" !important;
  }
  .back-button,
  .popup,
  .seller-info,
  .boat-description,
  .boat-preamble,
  .company-info,
  .contact-buttons,
  .contact-seller-btn,
  .boat-info-header,
  .boat-gallery a:not(:first-child),
  .boat-info__specs,
  .boat-info__misc {
    display: none !important;
  }
  .boat-details .boat-info {
    padding: 0;
  }
  .boat-details .boat-info__equipment .boat-info-wrapper {
    all: unset;
  }
  .boat-details .boat-info__equipment .boat-content.full {
    display: block;
    columns: 3;
    border: none !important;
  }
  .boat-details .boat-info__equipment .boat-content.full p {
    font-size: 10pt;
    font-weight: 300;
  }
  .boat-container {
    display: block !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    page-break-inside: avoid;
    break-inside: avoid;
    page-break-after: avoid;
    orphans: 3;
    widows: 3;
  }
  .boat-gallery,
  .boat-details {
    width: 100% !important;
    padding: 0 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .boat-gallery {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin-bottom: 5mm;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .boat-gallery .boat-gallery__item {
    display: none !important;
  }
  .boat-gallery .boat-gallery__item:first-child {
    display: block !important;
  }
  .boat-gallery .boat-gallery__item:first-child img {
    width: 100% !important;
    height: auto !important;
    max-height: 140mm !important;
    object-fit: cover !important;
    border-radius: 4px;
    page-break-after: avoid;
    break-inside: avoid;
    display: block !important;
    max-height: 90mm !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    page-break-after: avoid;
    break-inside: avoid;
  }
  .boat-details {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .boat-details h1,
  .boat-details .boat-price,
  .boat-details .boat-monthly-price {
    display: block;
    width: 100%;
    page-break-inside: avoid;
    break-inside: avoid;
    page-break-after: avoid;
    margin: 0;
  }
  .boat-details h1 {
    font-size: 20pt;
  }
  .boat-details .boat-price {
    font-size: 14pt;
    font-weight: bold;
  }
  .boat-details .boat-price .currency {
    font-size: 12pt;
  }
  .boat-details .boat-monthly-price {
    font-size: 12pt;
    margin-bottom: 6mm;
  }
  .boat-details .spec-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2mm;
    margin-bottom: 10mm;
    page-break-inside: avoid;
    align-items: start;
  }
  .boat-details .spec-item {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    text-align: left;
    width: 100%;
    height: 100%;
    padding: 0.1mm;
    break-inside: avoid;
    box-sizing: border-box;
  }
  .boat-details .spec-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 2mm;
  }
  .boat-details .spec-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0%) !important;
  }
  .boat-details .spec-icon svg {
    width: 100%;
    height: 100%;
    fill: #000 !important;
    stroke: #000 !important;
  }
  .boat-details .spec-info .label {
    font-weight: 600;
    font-size: 10pt !important;
    margin-bottom: 1mm;
  }
  .boat-details .spec-info .value {
    font-weight: 400;
    font-size: 10pt;
  }
}
@media only screen and (min-width: 769px) {
  html, body {
    overscroll-behavior-y: none;
  }
}
.fslightbox-container {
  background: rgba(0, 0, 0, 0.75);
}