#ordenPrecio:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
#btnVerTodos:hover {
  background-color: #e9ecef;
  border-color: #b1bbc4;
}
#cuponActivoBanner .d-flex {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.sidebar.open {
    left: 0;
}
.close-sidebar-btn:hover {
    color: #ccc;
}
.grupo-titulo:hover {
    background: rgba(255,255,255,0.1);
}
.subgrupo-lista.open, .subsub-lista.open {
    display: block;
}
.subgrupo-titulo-secundario {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px 6px 12px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background 0.2s;
}
.subgrupo-titulo-secundario:hover {
    background: rgba(255,255,255,0.08);
}
.subsub-lista {
    margin-left: 20px;
    padding-left: 8px;
    border-left: 1px solid rgba(255,255,255,0.15);
}
.subsub-item, .subgrupo-item {
    padding: 4px 0 4px 24px;
    cursor: pointer;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background 0.2s;
}
.subsub-item:hover, .subgrupo-item:hover {
    background: rgba(255,255,255,0.08);
}
.vendedores-header-clickable:hover, .servicios-header-clickable:hover {
    color: #ffc107;
}
.sidebar-filtro-provincia {
    margin-top: 15px;
    padding: 0 10px;
}
.sidebar-filtro-provincia label {
    font-size: 0.8rem;
    margin-bottom: 5px;
    display: block;
}
.sidebar-overlay.active {
    display: block;
}
.modal-visible {
    display: flex;
}
.modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}
#imgModal.show {
    display: flex;
    opacity: 1;
}
#imgModal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
#modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* ========== TOAST ========== */
.toast-notificacion {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    transform: translateX(400px);
}
@media (max-width: 480px) {
    .toast-message {
        font-size: 1rem;
        padding: 10px 18px;
    }
}
.toast-message {
    white-space: nowrap;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 0 30px rgba(255,255,255,0.7), 0 0 60px rgba(139,92,246,0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}
.toast-message-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
.btn-volver-arriba:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}
#volverArriba.btn-visible {
    display: block;
}
#volverArriba.btn-hidden {
    display: none;
}
.login-floating-form button {
    background: rgba(0,0,0,0.8);
    color: white;
    border: 1px solid white;
    padding: 9px 15px;
    border-radius: 20px;
    font-size: 14px;
}
@keyframes spinner-border {
    to { transform: rotate(360deg); }
}
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}
.spinner-border.text-light {
    color: #f8f9fa !important;
}
.text-center .spinner-border {
    margin: 0 auto;
}


.d-block { display: block !important; }
.btn-visible { display: block; }
.paso-oculto { display: none !important; }
.paso-visible { display: block !important; }

.btn-grupo {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    box-shadow: 0 0 6px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-grupo:hover {
    background: #fff;
    color: #333;
    transform: scale(1.05);
}
.btn-nav {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin: 6px;
    padding: 1px 6px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: white;
    box-shadow: 0 0 6px rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-nav:hover {
    background: #fff;
    color: #333;
    transform: scale(1.05);
}
.btn-cargar-mas {
    display: block;
    width: fit-content;
    margin: 20px auto 80px auto;
    height: 40px;
    text-align: center;
}

/* ========== MISCELÁNEA ========== */
.whatsapp-icono {
    width: 20px;
    height: 20px;
}
.btn-whatsapp-personalizado {
    background: #0c6909 !important;
    color: white !important;
}
.costo-envio-texto {
    font-size: 0.9rem;
}
.preservar-saltos {
    white-space: pre-line;
    word-wrap: break-word;
}
.ml-10 {
    margin-left: 10px;
}
.mt-10 {
    margin-top: 10px;
}
/* Banner de cupón activo en el carrito */
#cuponActivoBanner {
    background-color: #2c3e2f;   /* verde oscuro, acorde al modo oscuro */
    border-left: 4px solid #4caf50;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 10px 0;
    color: #e0e0e0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

#cuponActivoBanner .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

#cuponActivoBanner strong {
    color: #ffd966;
}

#cuponActivoBanner .btn-success {
    background-color: #4caf50;
    border-color: #4caf50;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background-color 0.2s;
}

#cuponActivoBanner .btn-success:hover {
    background-color: #45a049;
    border-color: #45a049;
}

#cuponActivoBanner .alert-success {
    background-color: #1e4620;
    border-color: #4caf50;
    color: #d4edda;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
}

/* Para pantallas pequeñas */
@media (max-width: 576px) {
    #cuponActivoBanner {
        flex-direction: column;
        text-align: center;
    }
    #cuponActivoBanner .d-flex {
        flex-direction: column;
    }
}
