/* ============================================
   TEMA OSCURO - FONDO NEGRO
   ============================================ */

body {
    background-color: #0d0d0d !important;
    color: #e9ecef;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ============================================
   REST (Logo + Título + Descripción)
   ============================================ */
.rest {
   
    background: linear-gradient(180deg, #111111 0%, #0d0d0d 100%);
    border: 1px solid #ffc451;          /* Borde dorado */
    border-radius: 16px;
   
    
}

.rest .logo-container {
    margin-bottom: 1.5rem;
}

.rest .logo {
    max-height: 250px !important;
    width: auto;
    max-width: 340px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.rest .logo:hover {
    transform: scale(1.03);
}

.rest .header-content {
    max-width: 720px;
    margin: 0 auto;
    margin-top: -50px;
}

.rest .title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.rest .lead {
    font-size: 1.05rem;
    color: #adb5bd;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* Nombre de la empresa en el HEADER */
/* Nombre de la empresa en el HEADER */
.header-name {
    display: inline-block;
    font-size: 1.7rem;
    font-weight: 600;
    color: #000 !important;              /* Negro forzado */
    background-color: #ffc451;
    padding: 4px 5px;
    border-radius: 8px;
    border: 2px solid #ffc451;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.header-name:hover {
    background-color: transparent;
    color: #ffc451 !important;           /* Dorado en hover */
    border-color: #ffc451;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 196, 81, 0.25);
}
.header-name:hover {
    background-color: transparent;
    color: #ffc451;
    border-color: #ffc451;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 196, 81, 0.25);
}

/* ============================================
   BUSCADOR
   ============================================ */
#searchInput {
    background-color: #1a1a1a;
    border: 1.5px solid #333;
    border-radius: 50px;
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}

#searchInput::placeholder {
    color: #6c757d;
}

#searchInput:focus {
    background-color: #222;
    border-color: #ffc451;
    box-shadow: 0 0 0 3px rgba(255, 196, 81, 0.25);
    outline: none;
    color: #ffffff;
}

/* Mensaje "No se encontraron productos" */
#noResultsMessage {
    max-width: 500px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #adb5bd;
}

/* Botón Actualizar catálogo */
.btn-outline-warning {
    border-color: #ffc451;
    color: #ffc451;
    background: transparent;
    transition: all 0.25s ease;
}

.btn-outline-warning:hover {
    background-color: #ffc451;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 196, 81, 0.3);
}

/* ============================================
   FILTROS DE CATEGORÍA
   ============================================ */
.category-filter {
    background: transparent;
    padding: 1rem 0;
}

.menu-filter button {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #adb5bd;
    border-radius: 50px;
    padding: 0.45rem 1.2rem;
    margin: 0 0.3rem;
    transition: all 0.2s ease;
}

.menu-filter button:hover,
.menu-filter button.active {
    background: #ffc451;
    border-color: #ffc451;
    color: #000;
}

/* ============================================
   COMPANY INFO FOOTER
   ============================================ */
.company-info-footer {
    background: #111111;
    color: #e9ecef;
    padding: 3.5rem 0 2.5rem;
    margin-top: 3rem;
    border-top: 1px solid #222;
}



.company-info-footer h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    letter-spacing: 0.3px;
}

.company-info-footer h6 i {
    color: #ffc451;                 /* Iconos dorados */
    font-size: 1.1rem;
}

.company-info-footer .info-text {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-info-footer .info-text li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: #adb5bd;
    line-height: 1.45;
}

.company-info-footer .info-text li i {
    color: #ffc451;                 /* Iconos dorados */
    margin-top: 3px;
    flex-shrink: 0;
}

.company-info-footer .info-text a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.company-info-footer .info-text a:hover {
    color: #ffffff;
}

.company-info-footer .schedule-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.company-info-footer .schedule-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #adb5bd;
    line-height: 1.5;
}

.company-info-footer .comercial-text {
    font-size: 0.88rem;
    color: #6c757d;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.company-info-footer .comercial-text i {
    color: #ffc451;                 /* Icono dorado */
    margin-top: 2px;
}

.company-info-footer .company-name {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 600;
    color: #000;
    background-color: #ffc451;
    padding: 8px 18px;
    border-radius: 8px;
    border: 2px solid #ffc451;
    margin-bottom: 0.7rem;
    transition: all 0.3s ease;
    cursor: default;
}




.company-info-footer .company-name:hover {
    background-color: transparent;
    color: #ffc451;
    border-color: #ffc451;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 196, 81, 0.25);
}

/* ============================================
   FOOTER COPYRIGHT
   ============================================ */
#footer {
    background: #0a0a0a;
    padding: 1.5rem 0;
    border-top: 1px solid #1a1a1a;
}

#footer .copyright {
    color: #6c757d;
    font-size: 0.9rem;
}

#footer .sitename {
    color: #ffffff;
}

#footer .footer-links {
    margin-top: 0.75rem;
}

#footer .footer-link {
    color: #adb5bd;
    text-decoration: none;
    margin: 0 0.8rem;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

#footer .footer-link:hover {
    color: #ffc451;
}

/* Logo final debajo de todo */
.final-logo {
    padding: 2rem 0 2.5rem;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.final-logo .footer-logo {
    max-height: 160px;
    width: auto;
    max-width: 220px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.final-logo .footer-logo:hover {
    opacity: 1;
}



/* ============================================
   BOTÓN BACK TO TOP
   ============================================ */
.back-to-top {
    background-color: #ffc451 !important;
    border: none !important;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(255, 196, 81, 0.4);
}

.back-to-top:hover {
    background-color: #e6b048 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767.98px) {
    .rest {
        padding: 1.8rem 1rem 1rem;
        margin: 1rem;
    }

    .rest .title {
        font-size: 1.55rem;
    }

    .rest .lead {
        font-size: 0.98rem;
    }

    .company-info-footer {
        padding: 2.5rem 0 2rem;
        text-align: center;
    }

    .company-info-footer .footer-logo {
        margin: 0 auto 1.5rem;
        display: block;
    }

    .company-info-footer h6 {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .company-info-footer .info-text li {
        justify-content: center;
    }

    .company-info-footer .comercial-text {
        justify-content: center;
    }

    #footer .footer-link {
        display: block;
        margin: 0.4rem 0;
    }
}