:root {
    --rojo: #d40000;
    --negro: #000;
    --blanco: #fff;
    --gris: #1a1a1a;
    --gris-claro: #bfbfbf;
}

body {
    background: var(--negro);
    color: var(--blanco);
    font-family: system-ui;
    padding-bottom: 3rem;
}

.delights-hero {
    text-align: center;
    padding: 3rem 1rem;
}

.delights-hero h1 {
    font-size: 2.5rem;
    color: var(--rojo);
    text-transform: uppercase;
}

.delights-grid {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.delight-card {
    background: var(--gris);
    border: 1px solid #333;
    border-radius: 14px;
    padding: 1rem;
    transition: .25s;
}

.delight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px rgba(212,0,0,0.35);
}

.delight-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.price {
    font-size: 1.3rem;
    color: var(--rojo);
    font-weight: bold;
}

.nutri {
    margin-top: .5rem;
    color: var(--gris-claro);
}

.btn-add {
    margin-top: 1rem;
    width: 100%;
    padding: .8rem;
    background: var(--rojo);
    border: none;
    border-radius: 10px;
    color: var(--blanco);
    font-weight: bold;
    cursor: pointer;
}

.carrito {
    max-width: 600px;
    margin: auto;
    background: #111;
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid #333;
}

.carrito h2 {
    text-transform: uppercase;
    color: var(--rojo);
}

#carrito-list {
    list-style: none;
    margin-top: 1rem;
}

#carrito-list li {
    margin-bottom: .5rem;
}

.total {
    margin-top: 1rem;
    font-size: 1.3rem;
}

.btn-whatsapp {
    margin-top: 1rem;
    width: 100%;
    padding: .8rem;
    background: #25D366;
    border: none;
    border-radius: 10px;
    color: var(--negro);
    font-weight: bold;
    cursor: pointer;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-img {
    height: 35px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 4px rgba(212,0,0,0.45));
}
/* ============================
   LATIDO DEL LOGO
   ============================ */
.heartbeat {
    position: relative;
    display: inline-block;
}

.heartbeat::after {
    content: "";
    position: absolute;
    top: 35%;
    left: 68%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--rojo);
    opacity: 0.8;
    animation: heartPulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(212,0,0,0.6));
}

@keyframes heartPulse {
    0%   { transform: translateX(-50%) scaleX(1); opacity: 0.8; }
    25%  { transform: translateX(-50%) scaleX(1.3); opacity: 1; }
    50%  { transform: translateX(-50%) scaleX(0.9); opacity: 0.7; }
    75%  { transform: translateX(-50%) scaleX(1.25); opacity: 1; }
    100% { transform: translateX(-50%) scaleX(1); opacity: 0.8; }
}
.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--gris-oscuro);
    position: fixed;
    width: 100%;
    z-index: 100;
}
.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--rojo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--blanco);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    border-bottom-color: var(--rojo);
}

.nav-buttons a {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: 1px solid var(--rojo);
    text-decoration: none;
}

.btn-nav-primary {
    background: var(--rojo);
    color: var(--blanco);
}