/* Dedicated Yacht listing page — visual language follows the Holidays/Countries page. */
.yacht-hero {
    background: linear-gradient(to bottom, #081a2d 0%, #0f3554 100%);
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.yacht-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1540946485063-a40da27545f8?w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: .20;
}
.yacht-hero-inner { position: relative; z-index: 2; }
.yacht-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.yacht-hero p {
    color: rgba(255,255,255,.86);
    font-size: 1rem;
    margin: 0 0 28px;
}
.yacht-search-bar {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    padding: 4px 4px 4px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.yacht-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    background: transparent;
    min-width: 0;
}
.yacht-search-bar button {
    background: #0f3554;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
}
.yacht-section {
    background: #f9fafc;
    padding: 48px 20px;
    min-height: 400px;
}
.yacht-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.yacht-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}
.yacht-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(30,42,94,.10);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.yacht-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(30,42,94,.18);
}
.yacht-card-image-wrap {
    height: 210px;
    overflow: hidden;
    background: #e8edf2;
}
.yacht-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.yacht-card:hover .yacht-card-image { transform: scale(1.05); }
.yacht-card-ribbon {
    background: #0f3554;
    padding: 11px 16px;
    text-align: center;
}
.yacht-card-ribbon span {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.yacht-card-body {
    padding: 16px 16px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.yacht-card-description {
    color: #6b7280;
    font-size: .9rem;
    line-height: 1.6;
    margin: 0 0 16px;
    min-height: 45px;
}
.yacht-card-description-muted { opacity: .8; }
.yacht-readmore {
    display: inline-block;
    margin-top: auto;
    background: #0f3554;
    color: #fff !important;
    border-radius: 50px;
    padding: 9px 26px;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background .15s, transform .15s;
}
.yacht-readmore:hover {
    background: #09263d;
    transform: translateY(-1px);
}
.yacht-readmore-disabled { opacity: .5; cursor: default; }
.yacht-empty-state {
    background: #fff;
    border-radius: 12px;
    padding: 50px 25px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(30,42,94,.08);
}
.yacht-empty-state h3 { margin: 0 0 8px; font-family: 'Poppins', sans-serif; }
.yacht-empty-state p { color: #6b7280; margin: 0; }
.yacht-empty-state a { color: #0f3554; font-weight: 600; }
.yacht-search-empty { margin-top: 24px; }

@media (max-width: 900px) {
    .yacht-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .yacht-hero { padding: 45px 16px 30px; }
    .yacht-search-bar { padding-left: 16px; }
    .yacht-search-bar button { padding: 10px 17px; }
    .yacht-section { padding: 36px 14px; }
    .yacht-container { padding: 0 6px; }
    .yacht-grid { grid-template-columns: 1fr; gap: 18px; }
    .yacht-card-image-wrap { height: 220px; }
}
