﻿/* Estilo del botón principal */
.btn-check-stock {
    background-color: #fd7e14;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btnGeoStore {
    width: 274px;
    font-size: 14px;
    line-height: 1.86;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.8rem;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
    display: inline-block;
}
/* --- ESTILOS DEL MODAL --- */

/* Fondo oscuro semitransparente detrás del modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s;
}

/* La caja blanca del modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001; /* ← debe ser mayor que el overlay */
    background: white;
    border-radius: 8px;
    padding: 20px;
    min-width: 300px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

    .close-btn:hover {
        color: #333;
    }
/* --- ESTILOS DE LA TABLA (Reutilizados) --- */

.header-section {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 5px;
}

.title {
    color: #fd7e14;
    font-weight: 400;
    margin: 0 0 4px 0;
    font-size: 1.2rem;
}

.pink-line {
    border: 0;
    height: 2px;
    background-color: #fd7e14;
    margin: 0;
}

/* Scroll si la lista es muy larga */
.store-list {
    max-height: 60vh;
    overflow-y: auto;
}

.store-row {
    padding: 3px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .store-row:last-child {
        border-bottom: none;
    }

.store-name {
    color: #333;
    font-weight: 500;
    font-size: 0.8rem;
}

.store-stock {
    color: #666;
    font-size: 0.75rem;
}

/* Animaciones simples */
@@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* --- PRODUCTOS EN COMBO (DetalleComboXls) --- */
.combo-product-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1rem;
}

.combo-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
}

    .combo-product-item.combo-product-variable {
        border-left: 3px solid #198754;
    }

.combo-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.combo-product-name {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.2;
    word-break: break-word;
}

.combo-product-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.combo-action-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

    .combo-action-btn:hover {
        transform: scale(1.1);
        transition: transform 0.15s ease;
    }

@@media (max-width: 576px) {
    .combo-product-item {
        padding: 10px;
    }

    .combo-action-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* --- SLIDER PROMOCIONAL --- */
#carouselAguirre {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

    #carouselAguirre .carousel-inner {
        position: relative;
    }

    #carouselAguirre .carousel-item {
        display: none;
        transition: opacity 0.6s ease-in-out;
        opacity: 0;
    }

        #carouselAguirre .carousel-item.active {
            display: block;
            opacity: 1;
        }

.slider-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    background-color: #f8f9fa;
}

#carouselAguirre .carousel-control-prev-icon,
#carouselAguirre .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

#carouselAguirre .carousel-indicators button {
    background-color: #fd7e14;
}

@@media (max-width: 576px) {
    .slider-img {
        max-height: 250px;
    }
}

@@media (min-width: 577px) and (max-width: 991px) {
    .slider-img {
        max-height: 350px;
    }
}
