/* Contenedor de horarios */
.nimue-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    animation: fadeIn 0.6s ease-out;
}

.section-title {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 600;
    color: #2a2a2a;
    letter-spacing: 0.5px;
}

.nimue-container select {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid #d4af37;
    font-size: 16px;
    margin-bottom: 22px;
    background: #fafafa;
    transition: 0.25s ease;
}

.nimue-container select:hover {
    border-color: #b8962f;
}

.nimue-gallery-wrapper {
    position: relative;
    margin-top: 25px;
}

.nimue-gallery-wrapper .gallery-main img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.25);
    transition: opacity 0.4s ease;
}

.nimue-gallery-wrapper .gallery-card {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(255,255,255,0.92);
    padding: 18px 22px;
    border-radius: 14px;
    max-width: 70%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    animation: floatUp 0.5s ease-out;
}

.gallery-card h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.gallery-card p {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.4;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s ease;
    border: 2px solid transparent;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.thumb:hover {
    transform: scale(1.04);
    box-shadow: 0 5px 14px rgba(0,0,0,0.25);
}

.thumb.active {
    border-color: #d4af37;
    box-shadow: 0 5px 14px rgba(212,175,55,0.45);
}

.thumb.grande {
    height: 150px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 40px;
}

.price-box {
    background: #fafafa;
    padding: 22px;
    border-radius: 14px;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.price-box h3 {
    margin-bottom: 6px;
}

.price-box p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.resumen-box {
    background: #fafafa;
    padding: 22px;
    border-radius: 14px;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.resumen-line {
    margin: 6px 0;
    font-size: 16px;
}

.resumen-alerta {
    margin-top: 12px;
    color: red;
    font-weight: bold;
}

.pay-button {
    width: 100%;
    padding: 18px;
    margin-top: 35px;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.25s ease;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.pay-button:hover {
    background: #b8962f;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* GRID 3×3 REAL, INFALIBLE */
.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 900px;
    margin: 20px auto !important;
}

/* MINIATURAS */
.gallery-grid .thumb-box {
    width: 100% !important;
    height: 120px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

/* IMÁGENES DENTRO DEL GRID */
.gallery-grid .thumb-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.nimue-gallery-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.nimue-gallery-wrapper .gallery-main img {
    width: 100% !important;
    height: 380px !important;
    object-fit: cover !important;
    border-radius: 14px;
}

.selector-group {
    margin-bottom: 18px;
}

.selector-group label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.nimue-container select {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid rgb(167, 122, 43);
    border: 2px solid rgb(167, 122, 43);
    margin-bottom: 12px;
}

/* FORZAR COLOR DE TEXTO EN SELECTORES */
.nimue-container select,
.nimue-container select option {
    color: #2a2a2a !important;
    background-color: #fafafa !important;
}

/* TEXTO DORADO EN LA TARJETA FLOTANTE */
.nimue-gallery-wrapper .gallery-card h3,
.nimue-gallery-wrapper .gallery-card p {
    color: #d4af37 !important;
}
/* Reducir separación entre selectores */
.selector-group {
    margin-bottom: 3px !important;
}

/* Reducir separación entre título y selector */
.selector-group h2.section-title {
    margin-bottom: 1px !important;
}

/* Reducir tamaño de títulos */
.section-title {
    font-size: 18px !important;
    font-weight: 600;
}

.section-title {
    font-size: 16px !important;
}

.pay-button {
    background: rgb(167, 122, 43) !important;
}
.pay-button:hover {
    background: rgb(140, 102, 36) !important; /* un dorado más oscuro */
}

.thumb.active {
    border-color: rgb(167, 122, 43) !important;
    box-shadow: 0 5px 14px rgba(167, 122, 43, 0.45) !important;
}

.section-title {
    color: rgb(167, 122, 43) !important;
}

.nimue-gallery-wrapper .gallery-card {
    background: rgba(0,0,0,0.55) !important;
}

#cardText {
    color: rgb(167, 122, 43) !important;
}

#cardTitle {
    color: rgb(167, 122, 43) !important;
}

/* REDUCIR MÁRGENES ENTRE TÍTULOS Y SELECTORES */
.nimue-container .section-title {
    margin-top: 1px !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
}

/* REDUCIR MÁRGENES ENTRE LOS SELECTORES */
.selector-group {
    margin: 6px 0 !important;
    padding: 0 !important;
}

/* REDUCIR MÁRGENES DE LOS SELECTORES EN SÍ */
.nimue-container select {
    margin: 4px 0 !important;
}

/* ELIMINAR MÁRGENES GLOBALES DE H2 QUE ROMPEN TODO */
.nimue-container h2 {
    margin: 4px 0 !important;
    padding: 0 !important;
}

/* REDUCIR PADDING DEL CONTENEDOR PRINCIPAL */
.nimue-container {
    padding-top: 2px !important;
}

@media (min-width: 900px) {
    .nimue-gallery-wrapper .gallery-main img {
        object-position: center top !important;
    }
}

/* Ajuste solo para la foto 'Experiencia Completa' en la imagen principal */
.nimue-gallery-wrapper .gallery-main img[src$="completa.jpg"] {
    object-position: center 60%  !important;
}
