﻿:root {
    --longos-red: #d60000;
    --longos-red-dark: #790000;
    --longos-orange: #ff5a00;
    --longos-yellow: #ffc400;
    --longos-black: #090909;
    --longos-cream: #fff4df;
    --longos-bg: #fff8ef;
    --longos-card: #ffffff;
}

body {
    background: var(--longos-bg);
    color: #191919;
}

.navbar.bg-dark {
    background: linear-gradient(90deg, #050505, #1a0000, #050505) !important;
    border-bottom: 3px solid var(--longos-red);
}

.brand-logo-nav {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}

.hero-business-info {
    color: rgba(255, 255, 255, 0.92);
    display: grid;
    gap: 0.25rem;
}

    .hero-business-info div:empty {
        display: none;
    }

#alertaNoAceptaPedidos {
    border: 0;
    border-left: 5px solid var(--longos-yellow, #ffc400);
    font-weight: 700;
}

.public-footer {
    background: #080808;
    color: rgba(255, 255, 255, 0.82);
    padding: 1.2rem 0;
    border-top: 3px solid var(--longos-red, #d60000);
}

.public-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-footer-contact {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
}

.public-admin-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.78rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: all 0.18s ease;
}

    .public-admin-link:hover {
        color: #fff;
        border-color: var(--longos-red, #d60000);
        background: rgba(214, 0, 0, 0.25);
    }

@media (max-width: 575.98px) {
    .public-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-footer-contact {
        display: block;
        margin-top: 0.25rem;
    }
}

.brand-name {
    letter-spacing: 0.5px;
}

.btn-warning {
    background: linear-gradient(135deg, var(--longos-red), var(--longos-orange)) !important;
    border-color: var(--longos-red) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(214, 0, 0, 0.25);
}

    .btn-warning:hover {
        background: linear-gradient(135deg, var(--longos-red-dark), var(--longos-red)) !important;
        border-color: var(--longos-red-dark) !important;
        color: #fff !important;
        transform: translateY(-1px);
    }

.hero-public {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(255, 196, 0, 0.35), transparent 28%), radial-gradient(circle at 80% 15%, rgba(255, 90, 0, 0.35), transparent 30%), linear-gradient(135deg, #140000 0%, #d60000 48%, #070707 100%);
    color: #fff;
    padding: 80px 0 60px;
}

    .hero-public::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,0.3), transparent);
        pointer-events: none;
    }

    .hero-public .container {
        position: relative;
        z-index: 2;
    }

    .hero-public h1 {
        font-size: clamp(2.4rem, 5vw, 5rem);
        font-weight: 950;
        line-height: 0.98;
        text-transform: uppercase;
        text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    }

    .hero-public p {
        font-size: 1.2rem;
        max-width: 620px;
        opacity: 0.96;
    }

.hero-logo {
    max-width: 210px;
    width: 100%;
    margin-bottom: 1rem;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.35));
}

.hero-promo-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    border-radius: 2rem;
    border: 4px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.slogan-banner {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.10);
    margin-top: -34px;
    position: relative;
    z-index: 3;
}

    .slogan-banner img {
        width: 100%;
        display: block;
        object-fit: contain;
    }

.producto-card {
    border: 0;
    border-radius: 1.35rem;
    overflow: hidden;
    background: var(--longos-card);
    box-shadow: 0 12px 35px rgba(30, 0, 0, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .producto-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 55px rgba(214, 0, 0, 0.20);
    }

.precio-producto,
.precio-detalle span,
.total-carrito {
    color: var(--longos-red);
}

.opcion-card input:checked + .opcion-card-body {
    border-color: var(--longos-red);
    box-shadow: 0 0 0 4px rgba(214, 0, 0, 0.18);
}

.opcion-check:hover {
    border-color: var(--longos-red);
}

.folio-box {
    background: #fff0dc;
    border: 1px solid rgba(214, 0, 0, 0.25);
}

.hero-public {
    background: radial-gradient(circle at top left, #ffc107 0, #ff9800 30%, #212529 75%);
    color: #fff;
    padding: 90px 0;
}

    .hero-public h1 {
        font-size: clamp(2.2rem, 5vw, 4.5rem);
        font-weight: 800;
        line-height: 1.05;
        max-width: 760px;
    }

    .hero-public p {
        font-size: 1.2rem;
        max-width: 620px;
        opacity: 0.95;
    }

.categorias-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
}

.producto-card {
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .producto-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    }

.producto-img {
    height: 220px;
    object-fit: cover;
    background: #e9ecef;
}

.precio-producto {
    font-size: 1.35rem;
    font-weight: 800;
    color: #212529;
}

.btn-warning {
    font-weight: 700;
}

.detalle-img-wrapper {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.10);
}

.detalle-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    background: #e9ecef;
}

.precio-detalle span {
    font-size: 2.2rem;
    font-weight: 900;
    color: #212529;
}

.opcion-card {
    cursor: pointer;
    display: block;
}

    .opcion-card input {
        display: none;
    }

.opcion-card-body {
    border: 2px solid #dee2e6;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    transition: all 0.15s ease;
}

.opcion-card input:checked + .opcion-card-body {
    border-color: #ffc107;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.25);
}

.grupo-opciones {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.opciones-lista {
    display: grid;
    gap: 0.75rem;
}

.opcion-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    background: #fff;
    transition: all 0.15s ease;
}

    .opcion-check:hover {
        border-color: #ffc107;
    }

    .opcion-check input {
        width: 18px;
        height: 18px;
    }

    .opcion-check span {
        display: flex;
        flex-direction: column;
    }

    .opcion-check small {
        color: #6c757d;
    }

.cantidad-control {
    display: flex;
    max-width: 180px;
}

    .cantidad-control input {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .cantidad-control .btn:first-child {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .cantidad-control .btn:last-child {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

@media (max-width: 768px) {
    .detalle-img {
        height: 320px;
    }
}

.carrito-vacio {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.carrito-vacio-icon {
    font-size: 4rem;
}

.carrito-items {
    display: grid;
    gap: 1rem;
}

.carrito-item {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.carrito-opciones {
    background: #f8f9fa;
    border-radius: 0.85rem;
    padding: 0.75rem;
}

.carrito-notas {
    background: #fff8e1;
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: 0.85rem;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.resumen-carrito {
    top: 90px;
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.total-carrito {
    font-size: 1.6rem;
    color: #212529;
}

.cantidad-control-sm {
    max-width: 150px;
}

    .cantidad-control-sm input {
        max-width: 60px;
    }

@media (max-width: 768px) {
    .carrito-item {
        padding: 1rem;
    }

    .resumen-carrito {
        position: static !important;
    }
}

.checkout-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.checkout-resumen-item {
    padding: 0.9rem 0;
    border-bottom: 1px solid #e9ecef;
}

    .checkout-resumen-item:last-child {
        border-bottom: 0;
    }

.confirmacion-card {
    max-width: 620px;
    background: #fff;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.10);
}

.confirmacion-icon {
    font-size: 4rem;
}

.folio-box {
    background: #fff8e1;
    border: 1px solid rgba(255, 193, 7, 0.45);
    border-radius: 1rem;
    padding: 1rem;
}

    .folio-box strong {
        font-size: 1.7rem;
        letter-spacing: 1px;
    }

.seguimiento-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.seguimiento-badge {
    color: #fff;
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
}

.seguimiento-producto {
    padding: 0.9rem 0;
    border-bottom: 1px solid #e9ecef;
}

    .seguimiento-producto:last-child {
        border-bottom: 0;
    }

.timeline-pedido {
    position: relative;
    padding-left: 1.5rem;
}

    .timeline-pedido::before {
        content: "";
        position: absolute;
        left: 9px;
        top: 8px;
        bottom: 8px;
        width: 2px;
        background: #dee2e6;
    }

.timeline-item {
    position: relative;
    padding-left: 1.75rem;
    padding-bottom: 1.5rem;
}

    .timeline-item:last-child {
        padding-bottom: 0;
    }

.timeline-dot {
    position: absolute;
    left: -1.5rem;
    top: 0.35rem;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #dee2e6;
    z-index: 2;
}

.timeline-content {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1rem;
}

.timeline-item-activo .timeline-content {
    background: #fff8e1;
    border: 1px solid rgba(255, 193, 7, 0.35);
}

.timeline-comentario {
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin: 0.75rem 0;
    font-size: 0.92rem;
}

.toast-estatus {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #212529;
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 9999;
}

.toast-estatus-visible {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .seguimiento-card {
        padding: 1.1rem;
    }

    .toast-estatus {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

.opcion-check-visual {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
}

.opcion-img {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
    background: #111;
    border: 2px solid var(--longos-red, #d60000);
    box-shadow: 0 6px 16px rgba(214, 0, 0, 0.18);
}

.opcion-img-placeholder {
    display: grid;
    place-items: center;
    font-size: 1.35rem;
}

.opcion-check input:checked + .opcion-img,
.opcion-check input:checked + .opcion-img-placeholder {
    border-color: var(--longos-yellow, #ffc400);
    box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.25);
}

.opcion-check-visual:has(input:checked) {
    border-color: var(--longos-red, #d60000);
    background: #fff4df;
}