/*
	Theme Name: Vyba Yachts
	Theme URI: 
	Author:  Veronika Udod
	Author URI: 
	Version: 2.0
	Description: 
	Tags: 
	Licence: GPL v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: ecoffset.it
*/

/* MAIN SETTINGS */

:root {
  --blue: #161f48;
  --white: #ffffff;
  --gold: #d6b35f;
  --lightgold: #fbf9f1;
  --grey: #6e6b60;
  --lightgrey: #dcdee1;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  transition: 0.5s;
  background: var(--lightgold);
}

html {
  overflow-x: hidden;
}

@font-face {
  font-family: "Moderat Extended Black";
  src: url("/wp-content/themes/themebase/inc/assets/fonts/ModeratExtendedBlack.woff")
    format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Moderat Extended Bold";
  src: url("/wp-content/themes/themebase/inc/assets/fonts/ModeratExtendedBold.woff")
    format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Moderat Extended Regular";
  src: url("/wp-content/themes/themebase/inc/assets/fonts/ModeratExtendedRegular.woff")
    format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Moderat Regular";
  src: url("/wp-content/themes/themebase/inc/assets/fonts/ModeratRegular.woff")
    format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: "Moderat Regular";
  line-height: 1.25;
}

h1 {
  font-size: 60px;
  font-family: "Moderat Extended Bold";
}

h2 {
  font-size: 42px;
  font-family: "Moderat Extended Regular";
}

h3 {
  font-size: 38px;
  font-family: "Moderat Extended Regular";
}

h4 {
  font-size: 30px;
  font-family: "Moderat Extended Bold";
}

h5 {
  font-size: 24px;
  font-family: "Moderat Extended Bold";
}

h6 {
  font-size: 18px;
  font-family: "Moderat Extended Black";
}

p {
  font-size: 18px;
  font-family: "Moderat Regular";
  margin-bottom: 0;
}

button {
  font-size: 15px;
  font-family: "Moderat Extended Bold";
}

.max-w-1360 {
  max-width: 1360px;
  margin: auto;
}

.position-relative {
  position: relative;
}

.elementor-heading-title {
  line-height: 1.25 !important;
}

.mix-blend-mode-multiply {
  mix-blend-mode: multiply;
}

/* MAIN SETTINGS MOBILE */
@media only screen and (max-width: 768px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 16px;
  }

  p {
    font-size: 16px;
  }
}

/* ========================================
   SINGLE YACHT - HEADER STYLES
   Applies a dark header background on single yacht pages
   ======================================== */

/* Use multiple body-class combinations to match WP output on different installs */
body.single-yacht .site-header,
body.post-type-yacht .site-header,
body.single .post-type-yacht .site-header {
  background: var(--blue) !important;
  box-shadow: none;
}

/* Ensure header content (menu/logo) is readable */
body.single-yacht .header-container,
body.post-type-yacht .header-container,
body.single .post-type-yacht .header-container {
  color: var(--white);
}

body.single-yacht .main-menu li a,
body.post-type-yacht .main-menu li a,
body.single .post-type-yacht .main-menu li a {
  color: var(--white);
}

body.single-yacht .main-menu li a:hover,
body.post-type-yacht .main-menu li a:hover,
body.single .post-type-yacht .main-menu li a:hover {
  color: var(--gold);
}

/* Try to invert logo colors if it's a dark-on-light PNG/SVG. If not desired, remove this rule. */
body.single-yacht .logo,
body.post-type-yacht .logo,
body.single .post-type-yacht .logo {
  filter: brightness(0) invert(1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  body.single-yacht .header-container,
  body.post-type-yacht .header-container,
  body.single .post-type-yacht .header-container {
    padding: 16px;
  }
  body.single-yacht .logo,
  body.post-type-yacht .logo,
  body.single .post-type-yacht .logo {
    max-width: 180px;
  }
}

/* NAVBAR */
header {
  position: fixed;
  z-index: 99;
  width: 100%;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

header.site-header {
  background: transparent;
}

header.header-hidden {
  transform: translateY(-100%);
}

header.header-scrolled {
  background: var(--blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Container generale per header */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  gap: 80px;
  max-width: 1360px;
  margin: auto;
}

/* Menu a sinistra */
.nav-left {
  flex: 1;
  text-align: left;
}

/* Menu a destra */
.nav-right {
  flex: 1;
  text-align: right;
}

/* Contenitore del logo, centrato */
.logo-container {
  text-align: center;
  flex: 0 1 auto;
}

/* Immagine del logo */
.logo {
  max-width: 180px;
}

/* Menu principale */
.main-menu {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  margin-bottom: 0;
}

.main-menu li a {
  position: relative;
  text-decoration: none;
  color: var(--lightgold);
  text-transform: uppercase;
  font-size: 15px;
  font-family: "Moderat Extended Bold";
  transition: 0.5s;
  display: inline-block;
}

.main-menu li a:hover {
  color: var(--gold);
  transform: translateY(-5px);
}

/* Modifiche per visualizzazione su dispositivi mobili */
@media (max-width: 992px) {
  .header-container {
    flex-direction: row;
  }

  .nav-left,
  .nav-right {
    width: 100%;
    text-align: center;
  }

  .logo-container {
    margin-bottom: 10px;
  }

  .main-menu {
    flex-direction: column;
    gap: 10px;
  }
}
/* NAVBAR MOBILE */
/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 2px;
  background: var(--lightgold);
  transition: 0.3s;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--blue);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 80px 16px;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  overflow: hidden;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

/* Mobile menu header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.mobile-menu-logo {
  max-width: 180px;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  padding: 0;
}

.mobile-menu-close span {
  position: absolute;
  width: 30px;
  height: 1px;
  background: var(--white);
  top: 50%;
  left: 0;
}

.mobile-menu-close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}

/* Mobile menu navigation */
.mobile-menu-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-list li {
  margin-bottom: 14px;
}

.mobile-menu-list li a {
  font-family: "Moderat Extended Bold", sans-serif;
  font-size: 24px;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.mobile-menu-list li a:hover {
  color: var(--gold);
}

/* Mobile menu footer */
.mobile-menu-footer {
  text-align: center;
  color: var(--white);
  font-family: "Moderat Regular", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.mobile-menu-footer p {
  margin-bottom: 15px;
  opacity: 0.8;
}

.mobile-menu-footer a {
  color: var(--white);
  text-decoration: underline;
  display: block;
  margin-bottom: 50px;
}

.mobile-menu-lang {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-family: "Moderat Extended Bold", sans-serif;
  font-size: 16px;
}

.mobile-menu-lang a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.5;
  margin: 0;
}

.mobile-menu-lang a.active,
.mobile-menu-lang a:hover {
  opacity: 1;
}

@media only screen and (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .header-container {
    justify-content: space-between;
    padding: 16px;
  }

  .logo {
    max-width: 180px;
  }
}

/* HOMEPAGE */
#jarallax-container-0 {
  border-radius: 5px;
}

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-size: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  background-size: 120%;
  transition: none !important;
}

.hero-section video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: -1 !important;
  transform-origin: center center !important;
  transition: transform 0.1s linear !important;
}

/*********CONTACT US************/
.contact-us-form .form-control {
  padding: 20px;
  border-radius: 0;
  color: var(--grey);
  resize: none;
  background-color: var(--white);
  border: 0;
}

.contact-us-form .form-control::placeholder {
  color: var(--grey);
  opacity: 0.5;
  font-size: 18px;
}

.contact-us-form .btn-submit .form-control {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--white);
}

.contact-us-form p {
  margin-bottom: 24px;
}

.contact-us-form a {
  color: var(--blue);
}

.contact-us-form .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 14px;
  height: 14px;
  min-height: 14px;
  border: 1px solid var(--blue);
  display: inline-block;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.contact-us-form .wpcf7-acceptance span {
  color: var(--grey);
  font-size: 14px;
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0;
}

.contact-us-form .wpcf7-acceptance input[type="checkbox"]:checked {
  background-color: var(--blue);
}

.contact-us-form .submit-btn {
  background: transparent;
  width: 100%;
  border-radius: 5px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 15px;
  font-family: "Moderat Extended Bold";
  padding: 20px;
  transition: 0.5s;
}

.contact-us-form .submit-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* FOOTER */
footer {
  padding: 100px 46px 120px 46px;
  background: var(--blue);
}

footer p,
footer a {
  color: var(--lightgold);
  font-size: 18px;
}

footer a {
  text-decoration: none;
  transition: 0.5s;
}

footer a:hover {
  color: var(--gold);
}

.footer-logo {
  max-width: 254px;
}

.footer-first-row {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 28px;
}

.footer-first-row p {
  color: var(--gold);
  font-size: 15px;
  font-family: "Moderat Extended Bold";
}

.footer-second-row {
  padding-top: 16px;
}

.col-2nd,
.col-3rd {
  padding-top: 40px;
}

/* Footer menus sdoppiati */
.footer-menus {
  display: flex;
  gap: 40px;
  justify-content: flex-start;
}

.footer-menu-left,
.footer-menu-right {
  flex: 1;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer-menu li a {
  color: var(--lightgold);
  font-size: 18px;
  text-decoration: none;
  transition: 0.5s;
}

.footer-menu li a:hover {
  color: var(--gold);
}

/* FOOTER MOBILE */
@media only screen and (max-width: 768px) {
  .footer-menus {
    flex-direction: row;
    gap: 20px;
  }

  footer {
    padding: 100px 16px;
  }

  footer .container-fluid {
    padding: 0;
  }

  footer .footer-first-row {
    padding-top: 50px;
    padding-bottom: 15px;
  }
}

/* ========================================
   SINGLE YACHT PAGE
   ======================================== */

.single-yacht-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 160px 40px 100px;
  position: relative;
  overflow-x: hidden;
}

.yacht-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 24px;
  align-items: start;
  position: relative;
  overflow-x: hidden;
}

.yacht-main-content {
  position: relative;
  overflow-x: hidden;
}

/* Sidebar Sticky */
.yacht-sidebar {
  position: relative;
  align-self: start;
  height: 100%;
}

.yacht-sidebar-inner {
  background: var(--white);
  padding: 20px 30px;
  border-radius: 5px;
  width: 100%;
}

/* Breadcrumb for single yacht pages */
.yacht-breadcrumb {
  font-size: 14px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Moderat Extended Bold", sans-serif;
}
.yacht-breadcrumb a {
  color: var(--grey);
  text-decoration: none;
  opacity: 0.5;
  font-family: "Moderat Extended Bold", sans-serif;
}
.yacht-breadcrumb .sep {
  color: var(--lightgrey);
}
.yacht-breadcrumb .current {
  color: var(--grey);
  opacity: 1;
  font-family: "Moderat Extended Bold", sans-serif;
}

@media (max-width: 768px) {
  .yacht-breadcrumb {
    display: none;
  }
}

.yacht-title {
  font-family: "Moderat Extended Bold", sans-serif;
  font-size: 38px;
  color: var(--blue);
  margin: 0 0 16px 0;
}

.yacht-price {
  font-family: "Moderat Extended Bold", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 28px;
}

.yacht-scheda-tecnica-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  padding: 0;
  background: transparent;
  color: var(--blue);
  border: none;
  font-family: "Moderat Extended Bold", sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 28px;
}

.yacht-scheda-tecnica-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.yacht-scheda-tecnica-btn .btn-icon svg {
  width: 64px;
  height: 64px;
  display: block;
}

.yacht-scheda-tecnica-btn .btn-text {
  flex: 1;
  text-align: left;
  line-height: 1.2;
  font-size: 15px;
  color: var(--blue);
  font-family: "Moderat Extended Bold";
}

.yacht-scheda-tecnica-btn:hover {
  opacity: 0.8;
}

.yacht-specs-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 28px;
  justify-content: space-between;
}

.yacht-spec-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
}

.yacht-spec-item .spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.yacht-spec-item .spec-icon img {
  width: 20px;
  height: 20px;
}

.yacht-spec-item .spec-value {
  font-family: "Moderat Extended Black", sans-serif;
  font-size: 18px;
  color: var(--grey);
}

.yacht-brochure-btn,
.yacht-contact-btn {
  width: auto;
  padding: 18px 48px;
  font-family: "Moderat Extended Bold", sans-serif;
  font-size: 15px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}

.yacht-brochure-btn {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.yacht-brochure-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.yacht-contact-btn {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 5px;
}

.yacht-contact-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* Main Content */
.yacht-main-content {
  display: flex;
  flex-direction: column;
  gap: 0; /* use margins on children to control spacing so breadcrumb can sit flush */
  overflow: hidden;
  max-width: 100%;
}

/* Default vertical spacing between main content sections */
.yacht-main-content > * + * {
  margin-top: 100px;
}

/* When breadcrumb is present, make the gallery sit immediately below it */
.yacht-breadcrumb + .yacht-gallery-section {
  margin-top: 0;
}

.yacht-gallery-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Main image wrapper with arrows */
.yacht-main-image-wrapper {
  position: relative;
  width: 100%;
}

.yacht-main-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 5px;
}

.yacht-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* Navigation arrows - vertical on sides of main image */
.yacht-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.yacht-nav-arrow svg {
  color: var(--white);
  width: 11px;
  height: 22px;
}

.yacht-nav-prev {
  left: 24px;
}

.yacht-nav-next {
  right: 24px;
}

.yacht-nav-arrow:hover {
  background: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.yacht-nav-arrow:hover svg {
  color: var(--white);
}

/* Thumbnails scrollable container */
.yacht-thumbnails-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.yacht-thumbnails {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  max-width: 100%;
}

.yacht-thumbnails::-webkit-scrollbar {
  height: 2px;
}

.yacht-thumbnails::-webkit-scrollbar-track {
  background: var(--lightgrey);
  border-radius: 3px;
}

.yacht-thumbnails::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.yacht-thumb {
  flex: 0 0 auto;
  width: 220px;
  height: 140px;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
}

.yacht-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.yacht-thumb:hover img {
  opacity: 0.8;
}

.yacht-thumb.active img {
  opacity: 1;
}

.yacht-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yacht-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.yacht-description-section h6,
.yacht-related-section h6 {
  color: var(--gold);
  margin-bottom: 0;
}

.yacht-related-section h3 {
  max-width: 70%;
}

.yacht-related-carousel {
  position: relative;
  margin-top: 40px;
  padding-bottom: 60px;
}

.yacht-related-swiper {
  overflow: visible;
}

.yacht-related-swiper .swiper-slide {
  height: auto;
}

.yacht-related-carousel .yacht-grid-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.yacht-related-carousel .yacht-grid-card__media {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 5px;
  overflow: hidden;
}

.yacht-related-carousel .swiper-yacht-grid-gallery {
  width: 100%;
  height: 100%;
}

.yacht-related-carousel .swiper-yacht-grid-gallery .swiper-slide {
  width: 100% !important;
  height: 100%;
}

.yacht-related-carousel .yacht-grid-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yacht-related-carousel .yacht-grid-card__specs {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--grey);
  margin-bottom: 10px;
  margin-top: 18px;
}

.yacht-related-carousel .yacht-grid-card__specs .grid-spec {
  font-family: "Moderat Extended Black";
  font-size: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.yacht-related-carousel .grid-spec__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.yacht-related-carousel .grid-spec__icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.yacht-related-carousel .grid-spec__value {
  color: var(--grey);
  font-family: "Moderat Extended Black";
}

.yacht-related-carousel .yacht-grid-card__title {
  color: var(--blue);
  font-family: "Moderat Extended Bold";
  font-size: 24px;
  margin: 0 0 10px 0;
}

.yacht-related-carousel .yacht-grid-card__price h6 {
  color: var(--gold);
  font-family: "Moderat Extended Bold";
  margin: 0 0 16px 0;
}

.yacht-related-carousel .yacht-grid-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.yacht-related-carousel .yacht-grid-card__cta {
  margin-top: auto;
}

.yacht-related-carousel .yacht-grid-gallery-prev,
.yacht-related-carousel .yacht-grid-gallery-next {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.yacht-related-carousel .yacht-grid-gallery-prev {
  left: 0;
}

.yacht-related-carousel .yacht-grid-gallery-next {
  right: 0;
}

.yacht-related-carousel .yacht-grid-gallery-prev:after,
.yacht-related-carousel .yacht-grid-gallery-next:after {
  content: "";
  display: block;
  width: 9px;
  height: 17px;
  background-image: url('data:image/svg+xml;utf8,<svg width="9" height="17" viewBox="0 0 9 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 16L7.36317 9.18232C7.72176 8.79811 7.72176 8.20189 7.36317 7.81768L1 1" stroke="%23FBF9F1" stroke-width="2" stroke-linecap="round"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.yacht-related-carousel .yacht-grid-gallery-prev:after {
  transform: rotate(180deg);
}

.yacht-related-carousel .hov-btn.learn-more {
  --circle-bg: var(--blue);
  --text-color: var(--blue);
  --hover-text-color: var(--white);
  --arrow-stroke: var(--white);
  --arrow-hover-bg: var(--white);
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: 16px;
  width: auto !important;
  height: 3rem;
  padding: 0 1.5rem 0 4rem;
  overflow: visible !important;
}

.yacht-related-carousel .hov-btn.learn-more .circle {
  position: absolute !important;
  top: 0;
  left: 0;
  display: block;
  width: 3rem;
  height: 3rem;
  background: var(--circle-bg);
  border-radius: 1.625rem;
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.yacht-related-carousel .hov-btn.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: var(--arrow-stroke);
}

.yacht-related-carousel .hov-btn.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

.yacht-related-carousel .hov-btn.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid var(--arrow-stroke);
  border-right: 0.125rem solid var(--arrow-stroke);
  transform: rotate(45deg);
}

.yacht-related-carousel .hov-btn.learn-more .button-text {
  position: relative !important;
  display: inline-block !important;
  color: var(--text-color);
  font-family: "Moderat Extended Bold";
  font-size: 15px;
  text-align: left;
  text-transform: uppercase;
  line-height: 3rem;
  white-space: nowrap;
  transition: color 0.6s cubic-bezier(0.65, 0, 0.076, 1);
}

.yacht-related-carousel .hov-btn:hover .circle {
  width: 100%;
}

.yacht-related-carousel .hov-btn:hover .circle .icon.arrow {
  background: var(--arrow-hover-bg);
  transform: translate(1rem, 0);
}

.yacht-related-carousel .hov-btn:hover .button-text {
  color: var(--hover-text-color);
  transition-delay: 0.25s;
}

.yacht-related-scrollbar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.yacht-related-scrollbar .swiper-scrollbar {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(22, 31, 72, 0.1);
  border-radius: 0;
}

.yacht-related-scrollbar .swiper-scrollbar-drag {
  background: var(--gold);
  height: 2px;
  border-radius: 0;
  cursor: grab;
}

.yacht-related-scrollbar .swiper-scrollbar-drag:active {
  cursor: grabbing;
}

.yacht-related-navigation {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  position: relative;
  top: -5px;
}

.yacht-related-prev,
.yacht-related-next {
  position: static;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0;
  transform: none;
}

.yacht-related-prev:after,
.yacht-related-next:after {
  content: "";
  display: block;
  width: 11px;
  height: 22px;
  background-image: url('data:image/svg+xml;utf8,<svg width="11" height="22" viewBox="0 0 11 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.999939 20.6757L8.76299 11.6188C9.14818 11.1694 9.14818 10.5063 8.76299 10.0569L0.999938 0.999983" stroke="%23D6B35F" stroke-width="2" stroke-linecap="round"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.yacht-related-prev:after {
  transform: rotate(180deg);
}

.yacht-related-prev.swiper-button-disabled,
.yacht-related-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.yacht-related-prev.swiper-button-disabled:hover,
.yacht-related-next.swiper-button-disabled:hover {
  background: transparent;
}

.section-title {
  font-family: "Moderat Extended Regular", sans-serif;
  font-size: 38px;
  color: var(--blue);
  margin: 0 0 24px 0;
}

.yacht-description-content {
  font-family: "Moderat Regular", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: var(--grey);
}
.yacht-description-content p {
  margin-bottom: 16px;
}

.yacht-cta-section {
  text-align: left;
  padding: 0;
}

.yacht-cta-section h6 {
  color: var(--gold);
  margin-bottom: 0px;
}

.yacht-cta-section h3 {
  font-family: "Moderat Extended Regular", sans-serif;
  font-size: 38px;
  color: var(--blue);
  margin: 0 0 24px 0;
  max-width: 80%;
}

.yacht-cta-section .p-cta {
  font-family: "Moderat Regular", sans-serif;
  font-size: 18px;
  color: var(--grey);
  margin: 0;
  max-width: 60%;
  margin-bottom: 40px;
}

.yacht-contact-final-btn {
  padding: 18px 48px;
  font-family: "Moderat Extended", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.yacht-contact-final-btn:hover {
  background: var(--gold);
}

/* Responsive */
@media (max-width: 1024px) {
  .yacht-layout {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

  .yacht-sidebar {
    top: 100px;
  }

  .yacht-main-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .single-yacht-container {
    padding: 100px 16px;
  }

  .yacht-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .yacht-main-content {
    display: contents;
  }

  .yacht-gallery-section {
    order: 1;
  }

  .yacht-sidebar {
    position: relative;
    top: 0;
    order: 2;
  }

  .yacht-sidebar-inner {
    background: transparent;
    padding: 0;
  }

  .yacht-description-section {
    order: 3;
  }

  .yacht-related-section {
    order: 4;
  }

  .yacht-cta-section {
    order: 5;
  }

  .yacht-main-image {
    height: 300px;
  }

  .yacht-thumbnails-container {
    display: none;
  }

  .yacht-description-section,
  .yacht-related-section,
  .yacht-cta-section {
    padding: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .yacht-title {
    font-size: 22px;
  }

  .yacht-price {
    font-size: 20px;
  }

  .yacht-main-image {
    height: 250px;
  }

  .yacht-thumb {
    height: 100px;
  }
}

/* ========================================
   YACHT LIGHTBOX
   ======================================== */

.yacht-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.yacht-lightbox.active {
  display: flex;
}

.yacht-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 31, 72, 0.95);
  cursor: pointer;
}

.yacht-lightbox-content {
  position: relative;
  width: 90vw;
  height: 70vh;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yacht-lightbox-img {
  width: 100%;
  max-width: 70vw;
  height: 100%;
  display: block;
  border-radius: 5px;
  object-fit: cover;
}

.yacht-lightbox-close {
  position: absolute;
  top: -50px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.yacht-lightbox-close::before,
.yacht-lightbox-close::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: background 0.3s ease;
}

.yacht-lightbox-close::before {
  transform: rotate(45deg);
}

.yacht-lightbox-close::after {
  transform: rotate(-45deg);
}

.yacht-lightbox-close:hover::before,
.yacht-lightbox-close:hover::after {
  background: var(--gold);
}

.yacht-lightbox-prev,
.yacht-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.yacht-lightbox-prev {
  left: 20px;
}

.yacht-lightbox-next {
  right: 20px;
}

.yacht-lightbox-prev:hover,
.yacht-lightbox-next:hover {
  background: var(--gold);
}

.yacht-lightbox-prev:hover svg,
.yacht-lightbox-next:hover svg {
  color: var(--white);
}

.yacht-lightbox-prev svg,
.yacht-lightbox-next svg {
  color: var(--blue);
  width: 14px;
  height: 24px;
}

.yacht-lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 16px;
  font-family: "Moderat Extended", sans-serif;
  font-weight: 700;
}

@media (max-width: 768px) {
  .yacht-lightbox-prev,
  .yacht-lightbox-next {
    width: 44px;
    height: 44px;
  }

  .yacht-lightbox-prev {
    left: 10px;
  }

  .yacht-lightbox-next {
    right: 10px;
  }

  .yacht-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .yacht-main-content > * + * {
    margin-top: 60px;
  }

  .section-title {
    font-size: 26px;
  }

  .yacht-cta-section h3 {
    max-width: 100%;
    font-size: 26px;
  }

  .yacht-cta-section .p-cta {
    max-width: 100%;
  }

  .yacht-nav-prev {
    left: 0px;
  }

  .yacht-nav-next {
    right: 0px;
  }

  .yacht-nav-arrow:hover {
    background: transparent;
  }

  .yacht-related-section h3 {
    max-width: 100%;
  }

  .yacht-related-carousel {
    padding-bottom: 0;
  }
}
