.boats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 40px; /* Space between cards */
    padding: 20px;
}

.boat-card {
    display: block; /* Ensure visible by default */
    border: 0px solid #ddd;
    padding: 0px;
    background: #fff;
    box-shadow: 0 0px 25px rgba(0, 0, 0, 0.12);
    text-align: center;
    border-radius: 24px;
    overflow: hidden;
}

.boat-card.hidden {
    display: none; /* Hide when filtered */
}

.boat_inner h3 {
    color: #006F96;
    font-family: 'DM Sans';
    line-height: 1;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
}

p.boat-model {
    font-family: 'Montserrat';
    color: #053341;
    font-size: 18px;
}

.boat_inner {
    padding: 20px;
}

.boat-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    aspect-ratio: 16 / 9;
    object-position: center;
    object-fit: cover;
    border-radius: 0;
}

.boat-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.boat-icons a {
    display: block !important;
}

.boat-icons span {
    display: block;
    margin: 0px 4px;
}

span.disabled {
    filter: grayscale(100%);
}

span.icon-info {
    display: block;
    background-image:url(/wp-content/uploads/2025/04/info.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 64px;
    aspect-ratio: 1;
}

span.icon-gallery {
    display: block;
    background-image:url(/wp-content/uploads/2025/04/photo.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 64px;
    aspect-ratio: 1;
}

span.icon-placeholder {
    display: block;
    background-image:url(/wp-content/uploads/2025/04/reserve.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 64px;
    aspect-ratio: 1;
}

.boat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.boat-filter-btn {
    padding: 8px 16px;
    border: 1px solid #FF8300;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.2s;
    text-transform: uppercase;
    color: #FF8300;
    background: #fff;
}

.boat-filter-btn.active,
.boat-filter-btn:hover {
    background: #FF8300;
    color: #fff;
    border-color: #FF8300;
}

@media (max-width: 768px) {
    .boats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    .boat-filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .boats-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}