/* Estilos Generales - Est谷tica Retro-Futurista / Pop-Chic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fffbeb; /* Fondo crema pastel c芍lido y amigable */
    color: #1e1b4b; /* Azul marino ultra oscuro para los textos */
    font-family: 'Outfit', 'Century Gothic', system-ui, sans-serif;
    line-height: 1.5;
}

header {
    background-color: #ffffff;
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid #1e1b4b; /* Borde s車lido grueso */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #2563eb; /* Azul el谷ctrico */
}

/* Bot車n solicitado con el texto exacto */
.btn-sucursal {
    background-color: #2563eb; /* Azul cobalto/el谷ctrico vibrante */
    color: #ffffff;
    padding: 0.7rem 1.4rem;
    border-radius: 30px; /* S迆per redondeado, estilo pop */
    font-weight: 700;
    font-size: 0.85rem;
    border: 3px solid #1e1b4b;
    cursor: pointer;
    box-shadow: 4px 4px 0px #1e1b4b; /* Sombra s車lida estilo pop art */
    transition: all 0.2s ease;
}

.btn-sucursal:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #1e1b4b;
    background-color: #3b82f6;
}

.btn-sucursal:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #1e1b4b;
}

/* Secci車n Hero / Portada */
.hero {
    background: linear-gradient(rgba(255, 251, 235, 0.4), rgba(255, 251, 235, 0.7)), 
                url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 7rem 1.5rem;
    border-bottom: 4px solid #1e1b4b;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: #1e1b4b;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: #2563eb;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

/* Secci車n Historia */
.historia {
    max-width: 800px;
    margin: 5rem auto;
    padding: 2.5rem;
    background-color: #ffffff;
    border: 4px solid #1e1b4b;
    border-radius: 24px;
    box-shadow: 8px 8px 0px #1e1b4b;
}

.historia h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #1e1b4b;
    text-transform: uppercase;
}

.historia p {
    font-size: 1.05rem;
    color: #475569;
}

/* Secci車n Cat芍logo */
.catalogo {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.catalogo h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 3.5rem;
    color: #1e1b4b;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.producto-card {
    background-color: #ffffff;
    border: 4px solid #1e1b4b;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 6px 6px 0px #1e1b4b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px #1e1b4b;
}

.producto-img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-bottom: 4px solid #1e1b4b;
}

.producto-info {
    padding: 1.5rem;
}

.producto-titulo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 0.5rem;
}

.producto-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    height: 65px;
    overflow: hidden;
}

.producto-precio {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2563eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Bot車n Adquirir */
.btn-comprar {
    background-color: #ffffff;
    color: #1e1b4b;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    border: 3px solid #1e1b4b;
    cursor: pointer;
    transition: all 0.1s;
}

.btn-comprar:hover {
    background-color: #1e1b4b;
    color: #ffffff;
}

/* Footer */
footer {
    background-color: #1e1b4b;
    color: #fffbeb;
    text-align: center;
    padding: 3rem;
    margin-top: 6rem;
    font-weight: 500;
}

/* ==========================================================================
   VENTANA MODAL POP ART / SHOWROOM PRIVADO
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #fffbeb;
    border: 4px solid #1e1b4b;
    padding: 3rem;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 12px 12px 0px #1e1b4b;
    transform: scale(0.95);
    transition: transform 0.2s ease-out;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 900;
    color: #1e1b4b;
    cursor: pointer;
}

.modal-close:hover {
    color: #2563eb;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: #1e1b4b;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #475569;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e1b4b;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 3px solid #1e1b4b;
    background-color: #ffffff;
    border-radius: 12px;
    font-size: 1rem;
    color: #1e1b4b;
    outline: none;
    font-weight: 500;
}

.form-group input:focus {
    border-color: #2563eb;
}

.btn-submit {
    width: 100%;
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.9rem;
    border: 3px solid #1e1b4b;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 4px 4px 0px #1e1b4b;
    transition: all 0.1s;
}

.btn-submit:hover {
    background-color: #1e1b4b;
    color: #ffffff;
    box-shadow: 4px 4px 0px #2563eb;
}