.yfs-v2-filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: end;
  padding: 20px;
  background: #f5f0e7;
  color: #1c2b38;
}
.yfs-v2-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.yfs-v2-filters fieldset {
  border: 1px solid #d8cdb7;
  display: flex;
  gap: 8px;
  max-width: 290px;
}
.yfs-v2-filters input,
.yfs-v2-filters select {
  max-width: 145px;
  min-width: 0;
  padding: 8px;
}
.yfs-v2-filters input[type="range"] {
  width: 100%;
  padding: 0;
}
.yfs-v2-filters button {
  background: #2b3e53;
  color: white;
  padding: 12px 20px;
  border: 0;
}
.yfs-v2-listings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 30px 0;
}
.yfs-v2-card {
  display: block;
  border: 1px solid #ddd3be;
  color: #233446;
  text-decoration: none;
  background: #fff;
  padding-bottom: 18px;
}
.yfs-v2-card > div {
  padding: 3px 18px;
}
.yfs-v2-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.yfs-card-broker_company {
  background: #304156;
  color: white;
  text-transform: uppercase;
}
.yfs-card-builder {
  font-size: 24px;
  font-weight: 700;
  margin-top: 12px;
}
.yfs-card-model {
  font-size: 20px;
}
.yfs-card-price {
  margin-top: 12px;
  font-weight: 600;
}
.yfs-card-length span,
.yfs-card-year span,
.yfs-card-hull span {
  font-size: 11px;
  text-transform: uppercase;
}
.yfs-v2-specs details {
  border-bottom: 1px solid #d8cdb7;
  padding: 16px 0;
}
.yfs-v2-specs summary {
  cursor: pointer;
  text-transform: uppercase;
  color: #75633d;
  font-weight: 600;
}
.yfs-v2-specs dl > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}
.yfs-v2-specs dd {
  margin: 0;
}
.yfs-v2-specs table {
  width: 100%;
  border-collapse: collapse;
}
.yfs-v2-specs th,
.yfs-v2-specs td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #ddd;
}
.yfs-table-scroll {
  overflow-x: auto;
}
.yfs-plan {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
}
.yfs-v2-broker {
  padding: 24px;
  background: #f4eee2;
  margin: 24px 0;
}
.yfs-v2-broker img {
  width: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}
.yfs-v2-broker:after {
  content: "";
  display: block;
  clear: both;
}
.yfs-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: #656565;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}
.yfs-pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.yfs-gallery-v2 .gallery-hero {
  display: none !important;
}
.yfs-gallery-v2 .gallery-thumbs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.yfs-gallery-v2 .gthumb {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
}
.yfs-gallery-v2 .gthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yfs-v2-header h1,
.yfs-v2-header h2 {
  margin: 8px 0;
}
@media (max-width: 760px) {
  .yfs-v2-listings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yfs-v2-filters fieldset {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .yfs-v2-listings {
    grid-template-columns: 1fr;
  }
  .yfs-v2-specs dl > div {
    grid-template-columns: 1fr;
  }
  .yfs-gallery-v2 .gallery-thumbs {
    gap: 4px;
  }
}
.yfs-v2-filters fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-inline-size: 0;
  width: 290px;
}
.yfs-v2-filters fieldset > select {
  grid-column: 1/-1;
  max-width: 75px;
}
.yfs-v2-filters fieldset label {
  min-width: 0;
}
.yfs-v2-filters fieldset input {
  width: 100%;
  max-width: 100%;
}
.yfs-v2-specs,
.yfs-v2-detail,
.yfs-table-scroll {
  min-width: 0;
  max-width: 100%;
}
