* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f3ff;
    color: #1e1b4b;
    line-height: 1.6;
}

header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-box img {
    height: 52px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #1e1b4b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #4f46e5;
    background: #ede9fe;
}

nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px;
    min-width: 230px;
}

nav ul li:hover ul {
    display: block;
}

.btn-danger {
    background: #e30613 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 8px 18px !important;
    border: none !important;
}

.hero {
    background: 
        linear-gradient(
            rgba(46, 26, 110, 0.82),
            rgba(46, 26, 110, 0.82)
        ),
        url('../img/carta_1.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #ffffff;
}

.hero p {
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto 20px;
    color: #e0e7ff;
}

.contenido {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.seccion-clara {
    background: #f5f3ff;
    padding: 50px 20px 80px;
}

.seccion-clara .ratio {
    border: 6px solid #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tienda-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fill,
        minmax(220px, 1fr)
    );
    gap: 20px;
    padding: 10px 0;
}

.tienda-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #ede9fe;
    transition: 0.25s;
}

.tienda-card:hover {
    transform: translateY(-4px);
}

.tienda-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f1f1f1;
    padding: 16px;
}

.tienda-info {
    padding: 14px 16px 16px;
}

.tienda-cat {
    font-size: 10px;
    font-weight: 800;
    color: #e30613;
    text-transform: uppercase;
}

.tienda-info h3 {
    font-size: 14px;
    margin: 6px 0;
    color: #1e1b4b;
    font-weight: 700;
}

.tienda-price {
    font-size: 18px;
    font-weight: 900;
    color: #1e1b4b;
}

.btn-wsp {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    color: #ffffff;
    background: #22c55e;
}

.btn-wsp:hover {
    background: #16a34a;
}

footer {
    background: 
        linear-gradient(
            rgba(46, 26, 110, 0.82),
            rgba(46, 26, 110, 0.82)
        ),
        url('../img/carta_2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 11px;
    line-height: 1.6;
    margin-top: 35px;
}

footer p {
    margin: 0;
    color: #e0e7ff;
}

footer strong {
    color: #ffffff;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 12px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .tienda-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .tienda-card img {
        height: 150px;
    }
}