#yfs-tabs {
  font-family: Arial, sans-serif;
  margin-top: 20px;
}
#yfs-tabs ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}
#yfs-tabs ul li {
  padding: 8px 20px;
  cursor: pointer;
  border: 1px solid #fff;
  background: transparent;
  margin-right: 5px;
  margin-left: 5px;
  user-select: none;
  color: #fff;
}
#yfs-tabs ul li.active {
  background-color: #fff !important;
  color: rgba(14, 28, 39, 1);
}
.yfs-tab-content {
  display: none;
  padding: 15px;
}
.yfs-tab-content.active {
  display: block;
}
video {
  margin-top: 10px;
  max-width: 100%;
  height: auto;
  display: block;
}
/** Filter Box **/
.filter-form {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
}
.filter-form .form-block {
  flex: 0 0 20%;
  margin-right: 20px;
}

.filter-form .form-block select {
  background-color: transparent;
  border-left: 0;
  border-top: 0px;
  border-radius: 0px;
  border-right: 0px;
  border-bottom-color: rgba(223, 223, 223, 1) !important;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Aloevera Display Regular", Sans-serif;
  padding-left: 0px !important;
  font-size: 18px;
}
.filter-form .form-block select option {
  color: #000 !important;
}
.filter-form .form-block select:focus {
  outline: none !important;
}
.filter-form .form-block label {
  font-family: "Angeli", Sans-serif;
  font-size: 22px;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.filter-form .form-block button {
  background-color: transparent !important;
  padding: 0px !important;
  border: none !important;
}

.video-slider-v1 .tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 600px) {
  .video-slider-v1 .tabs {
    margin-bottom: 20px !important;
  }
  .video-slider-v1 .tabs button {
    line-height: 20px !important;
    padding: 4px 20px !important;
  }
  .item video {
    height: 420px !important;
    object-fit: cover !important;
  }
}

.video-slider-v1 .tabs button {
  padding: 8px 20px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 1);
  min-width: 120px;
  font-family: "Aloevera Display Regular", Sans-serif;
}
.video-slider-v1 .tabs button.active {
  background-color: #fff !important;
  color: rgba(14, 28, 39, 1) !important;
}

.video-slider-v1 .tab-content {
  opacity: 0;
  visibility: hidden;
  height: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease, height 0.5s ease;
  overflow: hidden;
}

.video-slider-v1 .tab-content.active {
  opacity: 1;
  visibility: visible;
  height: auto;
}
.video-slider-v1 .tab-content.active {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-slider-v1 .item {
  opacity: 0.4;
  transition: 0.4s ease all;
  transform: scale(0.9);
}

.video-slider-v1 .owl-item.active .item {
  opacity: 1;
}

/**Interior Extrior Gallery**/

.gallery-section-v1 .tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-section-v1 .tabs-title {
  font-size: 38px;
  font-weight: 400;
  color: #fff;
  font-family: "Angeli", Sans-serif;
  line-height: 45px;
  flex: 0 0 60%;
}

.gallery-section-v1 .tabs {
  display: flex;
  gap: 10px;
}

.gallery-section-v1 .tabs button {
  padding: 8px 20px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 1);
  min-width: 120px;
  font-family: "Aloevera Display Regular", Sans-serif;
}

.gallery-section-v1 .tabs button.active {
  background-color: #fff !important;
  color: rgba(14, 28, 39, 1) !important;
}

.gallery-section-v1 .tab-content {
  opacity: 0;
  visibility: hidden;
  height: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease, height 0.5s ease;
  overflow: hidden;
}

.gallery-section-v1 .tab-content.active {
  opacity: 1;
  visibility: visible;
  height: auto;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-section-v1 .item {
  opacity: 0.4;
  transition: 0.4s ease all;
  transform: scale(0.9);
}

.gallery-section-v1 .owl-item.active .item {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 600px) {
  .gallery-section-v1 .tabs-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .yacht-layout-description {
    font-size: 16px !important;
    line-height: 22px !important;
  }
  .gallery-section-v1 .owl-item .item img {
    height: 380px !important;
  }
  .gallery-section-v1 .tabs-title {
    font-size: 25px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 20px;
  }

  .gallery-section-v1 .tabs button {
    padding: 4px 20px !important;
    line-height: 20px !important;
  }
}

.gallery-section-v1 .owl-item .item img {
  height: 600px;
  object-fit: cover;
  transition: height 0.5s ease; /* ✅ smooth height transition */
}
.gallery-section-v1 .owl-item.active .item img {
  transform: scale(1.1);
}
.gallery-section-v1 .owl-item.active {
  overflow: hidden;
}
/**Interior Extrior Gallery**/

.yfs-gallery-preview {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.yfs-gallery-item {
  position: relative;
  display: inline-block;
}
.yfs-remove-image {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-weight: bold;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.yacht-description p {
  font-family: "Aloevera Display Regular", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: #ffffff;
}

@media (max-width: 600px) {
  .yacht-description p {
    font-size: 16px !important;
  }
}

/**Tabs**/
.yacht-info-tabs {
  margin-top: 30px;
}
.yacht-info-tabs .tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
  outline: none !important;
}
.yacht-info-tabs .tab-yacht-btn {
  padding: 15px 20px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: "Angeli", Sans-serif;
  font-size: 25px !important;
  cursor: pointer;
}
.yacht-info-tabs .tab-yacht-btn.active {
  color: #fff !important;
  border-bottom: 4px solid #fff;
  border-radius: 0px !important;
}
.yacht-info-tabs .tab-content {
  display: none;
  margin-top: 50px;
}
.yacht-info-tabs .tab-content.active {
  display: block;
}
.yacht-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Default: Mobile (2 columns) */
  gap: 60px;
}

@media (min-width: 768px) {
  .yacht-grid {
    grid-template-columns: repeat(3, 1fr); /* Tablet: 3 columns */
  }
}

@media (min-width: 1024px) {
  .yacht-grid {
    grid-template-columns: repeat(4, 1fr); /* Desktop: 4 columns */
  }
}

.yacht-info-item {
  border-left: 1px solid #fff;
  padding-left: 15px;
}

.yacht-info-item h3 {
  font-family: "Aloevera Display Regular", Sans-serif;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: #fff;
  font-size: 18px;
  margin-top: 0px;
  margin-bottom: 8px;
}
.yacht-info-item p {
  font-family: "Aloevera Display Regular", Sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  font-size: 25px;
  margin-top: 0px;
  margin-bottom: 0px !important;
  font-family: "Angeli", Sans-serif;
}

/** Yacht Container Block **/
.yacht-sale-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #fff;
}
.yacht-sale-image-wrapper {
  flex: 1 1 60%;
}
.yacht-sale-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.yacht-sale-details {
  flex: 1 1 40%;
  padding-left: 3rem;
}
.yacht-sale-details h2 {
  margin-top: 0;
  font-family: "Angeli", Sans-serif;
  font-size: 38px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 8px;
}
.yacht-sale-location {
  font-family: "Aloevera Display Regular", Sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
}
.yacht-sale-divider {
  height: 1px;
  background-color: #fff;
  width: 100%;
  margin: 20px 0;
}
.yacht-sale-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 30px;
  margin-bottom: 30px;
}
.yacht-sale-spec-item {
  display: flex;
  align-items: center;
  font-family: "Aloevera Display Regular", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
.yacht-sale-spec-item svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  fill: #fff;
}
.yacht-sale-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.yacht-sale-btn {
  background-color: #61ce7000;
  font-family: "Aloevera Display Regular", Sans-serif;
  font-weight: 500;
  fill: #ffffff;
  color: #ffffff;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #ffffff;
  border-radius: 0px 0px 0px 0px;
  padding: 12px 24px;
  font-size: 15px;
  line-height: 1;
}
.yacht-sale-btn:hover {
  background-color: #fff;
  color: #0e1c27;
}
@media (max-width: 768px) {
  .yacht-sale-details,
  .yacht-sale-image-wrapper {
    flex: 1 1 100% !important;
  }
  .yacht-sale-details {
    padding-left: 0px !important;
    margin-top: 20px !important;
  }
  .yacht-sale-details h2 {
    font-size: 30px !important;
  }
  .yacht-sale-location {
    font-size: 18px !important;
  }
  .yacht-sale-specs-grid {
    gap: 10px 30px !important;
    margin-bottom: 20px !important;
  }
}



@media(max-width:600px){
    .yacht-sale-image-wrapper, .yacht-sale-image-wrapper img {
    height: 240px !important;
    object-fit: cover !important;
}
}


/** Yacht Container Block **/
div.yacht-sale-image-wrapper, div.yacht-sale-image-wrapper img {
    height: 361px !important;
    object-fit: cover !important;
}
.flabel{
    color: #fff;
    font-family: "Aloevera Display Regular", Sans-serif;   
}

#filter-search, #filter-year, #filter-brand{
background-color: transparent;
    border-left: 0;
    border-top: 0px;
    border-radius: 0px;
    border-right: 0px;
    border-bottom-color: rgba(223, 223, 223, 1) !important;
    color: #fff;
    font-family: "Aloevera Display Regular", Sans-serif;
    padding-left: 0px !important;
    font-size: 18px;    height: 45px !important;
    outline: none !important;
}#filter-year option, #filter-brand option{color: #000 !important;}

#load-more-yachts{
    font-family: "Aloevera Display Regular", Sans-serif;   
      font-size: 18px !important;
      color: #fff !important;
      border-color: #fff !important;    border-radius: 0px !important;
    line-height: 1.2;
}#load-more-yachts:hover, #load-more-yachts:focus{
    background-color: #fff !important;
    color: #0e1c27 !important;
}