/* Variables de color */
:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #2c3e50;
    --accent-color: #16a085;
    --light-bg: #f8fafc;
    --light-border: #e9eff5;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    --text-dark: #2c3e50;
    --text-light: #505c6e;
    --white: #ffffff;
}

/* Contenedor principal mejorado */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevenir scroll horizontal en el contenedor principal */
}

/* Header fijo con el título del barco */
.boat-fixed-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

.boat-fixed-header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.boat-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.boat-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    transition: font-size 0.3s ease;
    flex: 1;
}

.boat-fixed-header.scrolled .boat-title {
    font-size: 20px;
}

.boat-key-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Estilo para el precio destacado */
.boat-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 5px 15px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.boat-price:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: -1;
}

/* Especificaciones rápidas en el header */
.boat-quick-specs {
    display: flex;
    gap: 10px;
}

.quick-spec {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.quick-spec i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Estructura de contenido principal */
.boat-content {
    padding: 20px 0;
}

.boat-content-columns {
    display: flex;
    gap: 30px;
    max-width: 100%;
    box-sizing: border-box;
}

.boat-left-column {
    flex: 2;
    min-width: 0; /* Permite que el flex item se encoja */
}

.boat-right-column {
    flex: 1;
    min-width: 0; /* Permite que el flex item se encoja */
}

/* Metadatos en versión móvil */
.boat-full-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px;
    background-color: var(--light-bg);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.mobile-only {
    display: none;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.meta-item i {
    color: var(--primary-color);
}

/* Estilos para la galería de imágenes - CORREGIDO */
.boat-gallery-section {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--light-bg);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.boat-main-image {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
}

.boat-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.boat-main-image:hover img {
    transform: scale(1.03);
}

/* Botón de lupa para ampliar imagen */
.magnify-button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0.8;
    z-index: 2;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Miniaturas de la galería - SOLUCIÓN DEFINITIVA */
.boat-thumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 15px;
    background-color: rgba(248, 249, 250, 0.7);
    border-radius: 0 0 15px 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-bg);
    -webkit-overflow-scrolling: touch;
    
    /* CLAVE: Asegurar que siempre tenga scroll horizontal */
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Scrollbar más visible y bonita para desktop */
.boat-thumbnails::-webkit-scrollbar {
    height: 12px;
}

.boat-thumbnails::-webkit-scrollbar-track {
    background: rgba(248, 249, 250, 1);
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.boat-thumbnails::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
    border: 2px solid rgba(248, 249, 250, 1);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.boat-thumbnails::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Miniaturas con tamaño fijo */
.thumbnail {
    flex: 0 0 auto; /* NO permitir que crezcan o se encojan */
    width: 80px;
    height: 60px;
    min-width: 80px; /* CLAVE: Tamaño mínimo fijo */
    max-width: 80px; /* CLAVE: Tamaño máximo fijo */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    opacity: 0.8;
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

/* Indicador visual de que hay más contenido para hacer scroll */
.boat-thumbnails::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to left, rgba(248, 249, 250, 0.9), transparent);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Mostrar indicador cuando hay scroll disponible */
.boat-thumbnails:hover::after {
    opacity: 1;
}

/* Secciones de información */
.info-section {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 25px;
}

.info-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    padding: 15px 20px;
    margin: 0;
    color: var(--text-dark);
    border-bottom: 2px solid var(--light-border);
    position: relative;
    background-color: rgba(248, 249, 250, 0.5);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-content {
    padding: 20px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

.sub-title {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 15px;
    color: var(--text-dark);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-border);
}

/* Estilo mejorado para las especificaciones - versión compacta */
.specs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.spec-item:hover {
    background-color: rgba(245, 245, 245, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.spec-icon {
    margin-right: 12px;
    color: var(--primary-color, #0066cc);
    font-size: 1.1em;
    min-width: 20px;
    text-align: center;
}

.spec-content {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark, #333);
    font-size: 0.85em;
    margin-bottom: 2px;
}

.spec-value {
    color: var(--text-light, #555);
    font-size: 0.95em;
    font-weight: 500;
}

/* Estilo para la información de contacto */
.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-border);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-label {
    font-weight: 600;
    min-width: 80px;
    color: var(--text-dark);
}

.contact-value {
    flex: 1;
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Estilo para el formulario de contacto */
.contact-form-container {
    background-color: rgba(248, 250, 252, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(5px);
    margin-top: 20px;
}

.contact-form-container h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-border);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group .required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background-color: rgba(255, 255, 255, 0.9);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: -1;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Estilo para el modal de imágenes */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-container {
    position: relative;
    max-width: 1000px;
    width: 95%;
    margin: 3% auto;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: background-color 0.2s, transform 0.2s;
}

.close-button:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: rotate(90deg);
}

.modal-img {
    max-width: 100%;
    max-height: 65vh;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-button {
    border: none;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 20px;
    pointer-events: auto;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.modal-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 15px 0;
    justify-content: center;
    margin-top: 15px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.modal-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.modal-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.modal-thumb {
    flex: 0 0 auto;
    width: 60px;
    height: 45px;
    min-width: 60px;
    max-width: 60px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    border: 2px solid transparent;
}

.modal-thumb:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.modal-thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilo para mensaje de éxito */
.message-success {
    background-color: rgba(47, 223, 132, 0.1);
    color: #1f9d55;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(47, 223, 132, 0.2);
    box-shadow: 0 2px 8px rgba(47, 223, 132, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(5px);
}

.message-success i {
    font-size: 24px;
}

/* Utilidades */
.d-none {
    display: none !important;
}

/* Estilos para el botón de contacto que ocupa todo el ancho */
.contact-button-container {
    width: 100%;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.contact-button {
    width: 100%;
    background: rgba(0, 102, 204, 0.85);
    backdrop-filter: blur(5px);
    color: white;
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.contact-button:hover {
    background: rgba(0, 86, 179, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:active {
    transform: translateY(1px);
}

.contact-button i {
    transition: transform 0.3s;
}

.contact-button:hover i {
    transform: scale(1.1);
}

/* Modern Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modern Form Styles */
.modern-form-container {
    padding: 20px;
    border-radius: 12px;
    background: white;
}

.modern-form-container .wpforms-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-form-container .wpforms-field {
    margin-bottom: 0;
}

.modern-form-container .wpforms-field-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.modern-form-container input[type="text"],
.modern-form-container input[type="email"],
.modern-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.8);
}

.modern-form-container input[type="text"]:focus,
.modern-form-container input[type="email"]:focus,
.modern-form-container textarea:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
    outline: none;
}

.modern-form-container .wpforms-submit {
    background: linear-gradient(to right, #0066cc, #004d99);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.modern-form-container .wpforms-submit:hover {
    background: linear-gradient(to right, #004d99, #003366);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.4);
}

.modern-form-container .wpforms-submit:active {
    transform: translateY(1px);
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .thumbnail {
        width: 75px;
        height: 56px;
        min-width: 75px;
        max-width: 75px;
    }
    
    .boat-thumbnails::-webkit-scrollbar {
        height: 10px;
    }
}

/* Optimized Mobile Styles */
@media screen and (max-width: 768px) {
    /* Show mobile metadata */
    .mobile-only {
        display: flex;
    }
    
    /* Header adjustments */
    .boat-fixed-header {
        padding: 10px 0;
    }
    
    .boat-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .boat-title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .boat-key-info {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .boat-price {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .boat-quick-specs {
        display: none;
    }
    
    /* Content layout */
    .boat-content-columns {
        flex-direction: column-reverse;
        gap: 20px;
    }
    
    .boat-left-column,
    .boat-right-column {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }
    
    /* Gallery adjustments */
    .boat-main-image {
        height: 250px;
    }
    
    .boat-thumbnails {
        padding: 10px;
        gap: 6px;
        scrollbar-width: thin;
    }
    
    .boat-thumbnails::-webkit-scrollbar {
        height: 8px;
    }
    
    .thumbnail {
        width: 70px;
        height: 50px;
        min-width: 70px;
        max-width: 70px;
        border-radius: 6px;
    }
    /* Para navegadores que no soportan :hover en móvil */
   .boat-thumbnails::after {
       opacity: 0.6;
   }
   
   /* Specs adjustments */
   .specs-list {
       grid-template-columns: 1fr;
       gap: 8px;
   }
   
   .spec-item {
       padding: 10px;
   }
   
   /* Fix for contact button in mobile view */
   .boat-content {
       padding-bottom: 80px; /* Adjust this value based on your button height + margins */
   }
   
   /* Make the button fixed only on mobile */
   .contact-button-container {
       position: fixed;
       bottom: 15px;
       left: 15px;
       right: 15px;
       width: calc(100% - 30px);
       margin: 0;
       z-index: 99; /* High z-index to stay above other elements */
   }
   
   /* Add extra styles for better visibility */
   .contact-button {
       box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
   }
   
   /* Ensure footer stays below the space we created */
   #colophon, footer {
       margin-top: auto;
       position: relative;
       z-index: 1;
   }
   
   /* Optional: Add animation to make the button more noticeable */
   .contact-button-container {
       animation: pulse 2s infinite;
   }
   
   @keyframes pulse {
       0% {
           box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
       }
       70% {
           box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
       }
       100% {
           box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
       }
   }
}

@media screen and (max-width: 480px) {
   .boat-thumbnails {
       gap: 6px;
   }
   
   .thumbnail {
       width: 65px;
       height: 48px;
       min-width: 65px;
       max-width: 65px;
   }