/* ==========================================================================
   ======================= SECCIÓN: VOLVER ==================================
   ========================================================================== */

/* Botón de volver (bloque negro con flecha blanca) */
.bohoo-btn-volver {
    background-color: #000000;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: none;
    transition: background-color 0.3s ease;
}

.bohoo-btn-volver:hover,
.bohoo-btn-volver:focus {
    background-color: #333333;
    color: #ffffff;
}

/* El icono de la flecha */
.bohoo-volver-icon {
    font-size: 0.9rem;
}

/* ==========================================================================
   ======================= DETALLE DE PRODUCTO ==============================
   ========================================================================== */

/* --- GALERÍA DE IMÁGENES (PÁGINA PRINCIPAL) --- */
.bohoo-gallery-thumbs {
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    .bohoo-gallery-thumbs {
        width: 85px; /* Ancho fijo para las miniaturas en PC */
    }
}

.bohoo-thumb-img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* Indicador visual de la foto seleccionada (Borde oscuro) */
.bohoo-thumb-img.active {
    border-color: #333333;
}

.bohoo-thumb-img:hover {
    opacity: 0.8;
}

.bohoo-main-img-container {
    width: 100%;
}

.bohoo-main-img {
    object-fit: cover;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

/* Cursor de lupa sobre la imagen principal para indicar que es clickeable */
.bohoo-zoom-img {
    cursor: zoom-in;
}

/* Ocultar barra de scroll por defecto en móviles, dejando una línea súper delgada */
.bohoo-gallery-thumbs::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}
.bohoo-gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}
.bohoo-gallery-thumbs::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 4px;
}

/* --- TEXTOS Y DETALLES (COLUMNA DERECHA) --- */
.bohoo-detalle-title {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #333333;
}

.bohoo-detalle-price {
    font-size: 1.15rem;
    font-weight: 400;
    color: #333333;
    letter-spacing: 0.5px;
}

.bohoo-detalle-tax {
    font-size: 0.75rem;
    line-height: 1.4;
}

.bohoo-detalle-desc {
    font-size: 0.95rem;
    color: #4a4a4a;
    font-weight: 400;
}

.bohoo-detalle-divider {
    border-top: 1px solid #eaeaea;
    opacity: 1;
}

/* --- LISTA DE CARACTERÍSTICAS (VIÑETAS PREMIUM) --- */
.bohoo-detalle-list {
    font-size: 0.9rem;
    color: #4a4a4a;
}

.bohoo-detalle-list li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.2rem;
}

/* Viñetas personalizadas (Puntitos oscuros minimalistas) */
.bohoo-detalle-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333333;
    font-size: 1.2rem;
    line-height: 0.8;
}

.bohoo-detalle-list .fw-semibold {
    color: #333333;
}

/* --- BOTÓN COMPRAR AHORA --- */
.bohoo-btn-comprar {
    background-color: #000000;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.bohoo-btn-comprar:hover,
.bohoo-btn-comprar:focus {
    background-color: #333333;
    color: #ffffff;
}

/* ==========================================================================
   ==================== LIGHTBOX / POPUP DE IMÁGENES ========================
   ========================================================================== */

/* Fondo oscuro translúcido casi opaco para resaltar la imagen */
.bohoo-lightbox-modal .modal-backdrop.show {
    opacity: 0.95; 
}

.bohoo-lightbox-modal .modal-content {
    background: transparent;
}

/* Indicador de que hacer clic en el fondo oscuro cerrará la ventana */
.bohoo-lightbox-modal .modal-body {
    cursor: zoom-out; 
}

/* Restaura el cursor normal sobre la foto y los controles para no confundir al usuario */
.bohoo-lightbox-img,
.bohoo-lightbox-modal .carousel-control-prev,
.bohoo-lightbox-modal .carousel-control-next,
.bohoo-lightbox-indicators button {
    cursor: default; 
}

/* La imagen ocupa su tamaño máximo sin deformarse ni desbordar la pantalla */
.bohoo-lightbox-img {
    max-height: 100vh; 
    max-width: 100vw;
    height: auto; 
    width: auto; 
    object-fit: contain;
}

/* --- CONTROLES FLOTANTES (FLECHAS DEL CARRUSEL) --- */
.bohoo-lightbox-modal .carousel-control-prev,
.bohoo-lightbox-modal .carousel-control-next {
    z-index: 1050; 
    width: 8%;     
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.bohoo-lightbox-modal .carousel-control-prev:hover,
.bohoo-lightbox-modal .carousel-control-next:hover {
    opacity: 1;
}

/* Tamaño de los iconos de las flechas */
.bohoo-lightbox-modal .carousel-control-prev-icon,
.bohoo-lightbox-modal .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100%, 100%;
}

/* --- INDICADORES (PUNTOS) DEL CARRUSEL --- */
.bohoo-lightbox-indicators {
    bottom: 25px; /* Distancia desde la parte inferior de la pantalla */
    margin-bottom: 0;
    z-index: 1050; /* Para asegurar que estén por encima de la imagen */
}

/* Diseño de cada punto inactivo */
.bohoo-lightbox-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: #ffffff !important;
    opacity: 0.4; /* Medio transparentes para no molestar */
    border: none !important;
    margin: 0 6px !important; /* Separación entre puntos */
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Sombrita para que se vean en fotos blancas */
}

/* Diseño del punto activo (La foto que se está viendo) */
.bohoo-lightbox-indicators button.active {
    opacity: 1; /* Blanco sólido */
    transform: scale(1.3); /* Crece ligeramente para resaltar */
}

/* ==========================================================================
   ==================== MODAL DE GASTOS DE ENVÍO ============================
   ========================================================================== */

/* Estilos limpios para la tabla de precios */
.bohoo-shipping-table td {
    padding: 1rem 0;
    font-size: 0.9rem;
    border-color: #eaeaea; /* Línea gris muy sutil */
    background-color: transparent !important;
}

/* Oscurecemos un poco más el texto de la izquierda para generar contraste */
.bohoo-shipping-table .fw-medium {
    font-weight: 500;
    letter-spacing: 0.5px;
}