.modelo-marca-detalles1 {
    font-size: 1em; 
    color: #5c5757; 
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
}
.containerdetallesleft {
    background: #ffffff;
    padding: 0px 30px 10px 30px;
    color: #5c5757;
}
.containerdetallesleft-wrapper {
  background: #ffffff;
  padding: 0;
  color: #5c5757;
  flex: 1.5;
}
.containerdetallesleftbottom {
    background: #ffffff;
    padding: 0px 30px 0px 30px;
    color: #5c5757;
}
.containerdetallesright {
    background: #e9eaea;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.34);
    color: #5c5757;
    flex: 0.7;
}
.price-right {
    font-weight: bold;
    color: #5c5757;
    text-align: center;
}
.price-right h3 {
    margin: 0;
    font-size: 40px;
    color: #00bfba;
    padding-top: 20px;
}
.containerdetallesmain {
  margin: 40px auto;
  background: #ffffff;
  padding: 30px 30px 30px 30px;
  color: #5c5757;
  max-width: 75%;
  display: flex;
  justify-content: center;
  margin-top: 0px;
  font-family: "Oswald", sans-serif;
}
.modelo-contenido-imagenes {
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    align-items: flex-start; 
    margin-bottom: 20px; 
}
.modelo-img-principal {
    flex: 2;
    min-width: 250px; 
    max-width: 60%; 
    box-sizing: border-box;
}
.modelo-img-principal img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; 
}
.caravan-thumbnails-gallery {
    flex: 1; 
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    max-width: 150px; 
    box-sizing: border-box;
}
.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent; 
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.thumbnail-item:hover {
    border-color: #00bfba; 
}
.thumbnail-item.active-thumbnail { 
    border-color: #00bfba; 
    box-shadow: 0 0 5px rgba(0, 191, 186, 0.5); 
}
.thumbnail-item img {
    width: 100%;
    height: auto;
    display: block;
}
.section-card {
    background-color: #ffffff; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.34);
    padding: 25px; 
    margin-bottom: 25px; 
}
.section-card-right {
    background-color: #e9eaea; 
    padding: 25px 25px 0px 25px;
}
.section-title {
    font-size: 18px; 
    color: #5c5757; 
    margin-bottom: 20px; 
    margin-top:0px;
    border-bottom: 1px solid #eee; 
    padding-bottom: 10px;
}
.section-title-right {
    font-size: 18px; 
    color: #5c5757; 
    margin: 0;
    padding-bottom: 10px;
}
.price {
    font-weight: bold;
    color: #5c5757; 
    margin-left: 5px; 
}
.extras-options label,
.insurance-options label {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 5px; 
    padding-bottom: 5px;
    border-bottom: 1px dashed #f0f0f0; 
}
.extras-options label:last-child,
.insurance-options label:last-child {
    border-bottom: none; 
    margin-bottom: 0;
    padding-bottom: 0;
}
.extras-options input[type="checkbox"],
.insurance-options input[type="radio"] {
    margin-right: 10px; /* Space between checkbox/radio and text */
    transform: scale(1.2); /* Slightly larger checkboxes/radios */
}
.modelo-detalles h3 {
    font-size: 2.2em; /* Larger, more prominent model name */
    color: #5c5757;
    margin-bottom: 10px;
    text-align: left; /* Center the model name */
    padding-bottom: 15px;
    border-bottom: 1px solid #00bfba;
    margin-top: 0;
}
.daily-price {
    font-size: 1.6em; /* Make the price stand out */
    font-weight: bold;
    color: #28a745; /* Green for price, or a contrasting color */
    text-align: center;
    margin-top: 15px;
    margin-bottom: 25px; /* More space below price */
}
.modelo-detalles p {
    line-height: 1.6; /* Better readability */
    color: #5c5757;
    margin-bottom: 0; /* Space between paragraphs */
    margin-top: 0;
}

.modelo-right {
    display: none;
}

.characteristics-section {
    /* Mantiene los estilos de section-card */
}
.characteristics-section .section-title {
    /* Mantiene los estilos de section-title */
}
.characteristics-grid {
    list-style: none; /* Quita los puntos de la lista por defecto */
    padding: 0; /* Quita el padding por defecto de la lista */
    margin: 0; /* Quita el margen por defecto de la lista */
    display: grid; /* Habilita CSS Grid para este contenedor */
    /* Define las columnas: auto-fit intentará crear tantas columnas como quepan */
    /* minmax(250px, 1fr) significa que cada columna tendrá al menos 250px de ancho,
       y si hay espacio, se estirarán para ocupar el espacio disponible de forma equitativa.
       Ajusta '250px' según cuántas características por columna quieras y su contenido. */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    //gap: 15px 30px; /* Espacio vertical y horizontal entre los elementos del grid */
    align-items: start; /* Alinea los elementos al inicio verticalmente */
}
.characteristics-grid li {
    //background-color: #f9f9f9; /* Fondo ligeramente diferente para cada característica */
    padding: 5px 10px;
    //border-radius: 5px;
    //border: 1px solid #eee;
    font-size: 0.95em;
    color: #444;
}
.characteristics-grid li strong {
    color: #5c5757; /* Color más oscuro para el nombre de la característica */
}

@media (max-width: 767px) {
    
    .modelo-marca-detalles {
        font-size: 1em;
        color: #5c5757;
        margin-bottom: 5px;
        font-weight: bold;
        text-transform: uppercase;
    }
    .modelo p {
        line-height: 1.6;
        color: #5c5757;
        margin-bottom: 15px;
    }
    .modelo-right {
        display: block;
        text-align: center;
    }
    .modelo-right h3 {
        font-size: 40px;
        margin: 0;
    }
    .containerdetallesmain {
        margin: 20px auto;
        background: #ffffff;
        padding: 15px;
        color: #5c5757;
        max-width: 95%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        margin-top: 0px;
        gap: 20px;
    }
    .containerdetallesleft {
        background: #ffffff;
        padding: 10px;
        color: #5c5757;
        flex: 1; 
    }
    .containerdetallesleft-wrapper {
        padding: 0px;
    }
    .containerdetallesleftbottom {
        padding: 0px;
    }
    .containerdetallesright {
        background: #e9eaea;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.34);
        color: #5c5757;
        padding: 15px;
        flex: 1; 
    }
    .price-right {
        font-weight: bold;
        color: #5c5757;
        text-align: center;
    }
    .price-right h3 {
        margin: 0;
        font-size: 40px;
        color: #00bfba;
        padding-top: 20px;
    }
    .modelo-contenido-imagenes {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        flex-direction: column; /* Apilamos la imagen principal y el mosaico */
        align-items: center;
        margin-bottom: 20px;
    }
    .modelo-img-principal {
        flex: none;
        min-width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .modelo-img-principal img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }
    .caravan-thumbnails-gallery {
        flex: none;
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 miniaturas en móviles */
        gap: 10px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .thumbnail-item {
        cursor: pointer;
        border: 2px solid transparent;
        border-radius: 4px;
        overflow: hidden;
        transition: border-color 0.2s ease;
    }
    .thumbnail-item:hover,
    .thumbnail-item.active-thumbnail {
        border-color: #00bfba;
        box-shadow: 0 0 5px rgba(0, 191, 186, 0.5);
    }
    .thumbnail-item img {
        width: 100%;
        height: auto;
        display: block;
    }
    .section-card {
        background-color: #ffffff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.34);
        padding: 20px;
        margin-bottom: 20px;
    }
    .section-card-right {
        background-color: #e9eaea;
        padding: 20px 10px 10px 10px;
    }
    .section-title  {
        font-size: 18px;
        color: #5c5757;
        margin-bottom: 15px;
        margin-top: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }
    .section-title-right {
        font-size: 18px;
        color: #5c5757;
        margin-bottom: 0;
        margin-top: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }
    .price {
        font-weight: bold;
        color: #5c5757;
        margin-left: 5px;
    }
    .extras-options label,
    .insurance-options label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
        padding-bottom: 5px;
        border-bottom: 1px dashed #f0f0f0;
    }
    .extras-options label:last-child,
    .insurance-options label:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .extras-options input[type="checkbox"],
    .insurance-options input[type="radio"] {
        margin-right: 10px;
        transform: scale(1.2);
    }
    .daily-price {
        font-size: 1.6em;
        font-weight: bold;
        color: #28a745;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 25px;
    }
    .characteristics-grid {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
    }
    .characteristics-grid li {
        padding: 0px 0px 0px 0px;
        font-size: 0.95em;
        color: #444;
    }
    .characteristics-grid li strong {
        color: #5c5757;
    }
}
