* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none !important;
}

/* ========================= */
/* BODY */
/* ========================= */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f1f4f4 !important;
    color: #0d1413;
    min-height: 100vh;
}

main {
    max-width: 1200px !important;
    margin: 0 auto;
    flex: 1;
}
/* ========================= */
/* HEADER */
/* ========================= */

.header {

    position: fixed;

    top: 10px;

    left: 50%;
    transform: translateX(-50%);

    width: 98%;

    background: #090f0e;

    padding: 14px 18px;

    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.25);

    z-index: 1000;

    transition: all 0.3s ease;

}

/* CONTENEDOR */

.header-container {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.desktop-nav {

    display: flex;
    align-items: center;
    gap: 28px;

}

.desktop-nav a {

    color: #f1f4f4;
    font-weight: 500;
    font-size: 0.95rem;

    transition: color 0.2s;

}

.desktop-nav a:hover {
    color: #00f5dc;
}

/* LOGO */

.logo a {

    color: #f1f4f4;
    font-size: 20px;
    font-weight: bold;

}

.img-logo {

    width: 180px;

}

/* ACCIONES (carrito, login, etc) */

.header-actions {

    display: flex;
    align-items: center;
    gap: 15px;

}

/* ========================= */
/* CART */
/* ========================= */

.cart-btn {
    position: relative;
}

.products-amount {
    font-size: 0.7rem;
    position: absolute;
    inset: 0;
    top: 3px;
    left: 1px;

    font-weight: bold;
    background: transparent;
    color: #f54e00;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cart-btn,
.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #f1f4f4;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 24px;
}

.cart-btn:hover,
.menu-toggle:hover {
    color: #00f5dc;
}

/* ========================= */
/* MOBILE SIDE MENU */
/* ========================= */

.side-menu {

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    background: #0d1413;

    display: flex;
    flex-direction: column;

    padding-top: 140px;

    transform: translateY(-100%);
    opacity: 0;

    transition: transform 0.45s cubic-bezier(.4,0,.2,1),
                opacity 0.3s ease;

    z-index: 3000;
}

.side-menu a:first-of-type {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.side-menu a {

    color: #f1f4f4;
    font-size: 1.1rem;

    padding: 14px 32px;
    column-gap: 10px;

    display: flex;
    align-items: center;

    font-weight: 500;
    letter-spacing: 0.5px;

    opacity: 0;
    transform: translateY(20px);

    transition: all 0.45s ease;

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.side-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.side-menu a:hover {
    background: rgba(255,255,255,0.03);
    color: #00f5dc;
}

/* CUANDO ESTA ABIERTO */

.side-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.side-menu.active a:nth-child(1){ transition-delay: 0.12s }
.side-menu.active a:nth-child(2){ transition-delay: 0.18s }
.side-menu.active a:nth-child(3){ transition-delay: 0.24s }
.side-menu.active a:nth-child(4){ transition-delay: 0.30s }
.side-menu.active a:nth-child(5){ transition-delay: 0.36s }

.side-menu a svg {
    opacity: 0.7;
}

/* ========================= */
/* CLOSE BUTTON */
/* ========================= */

.close-menu {

    position: absolute;
    top: 15px;
    right: 10px;

    background: none;
    border: none;

    color: #f1f4f4;
    font-size: 28px;

    cursor: pointer;
    padding: 1rem !important;

}
/* ========================= */
/* OVERLAY */
/* ========================= */

.menu-overlay {

    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.55);

    backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease;

    z-index: 1500;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================= */
/* CART LINK */
/* ========================= */

.goToCart {
    color: #f54e00;
    font-weight: 600;
}

.goToCart:hover {
    text-decoration: underline !important;
}

/* ========================= */
/* WHATSAPP BUTTON */
/* ========================= */

.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;

    background: #25D366;
    color: white;

    border-radius: 50%;

    box-shadow: 0 6px 18px rgba(0,0,0,0.2);

    z-index: 2;

    transition: transform 0.2s;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

.footer {
    background: #0d1413;
    color: #f1f4f4;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: #00f5dc;
    background-color: transparent;
}

.footer-subtitle {
    font-size: 16px;
    margin-bottom: 15px;
    color: #f1f4f4;
    background-color: transparent;
}

.footer-text {
    font-size: 14px;
    color: #9aa3a2;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9aa3a2;
    font-size: 14px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #00f5dc;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: #9aa3a2;
    height: 170px;
}

.footer-delivery {
    display: flex;
    column-gap: 10px;
    align-items: center;
    margin-top: 7px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-delivery p {
        width: 170px;
    }
}

h1 {
    font-size: 3.8rem;
    text-align: left;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
}

h2 {
    font-size: 3.6rem;
    text-align: left;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.9;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: capitalize;
    background-color: transparent;
    color: #111;
    margin-bottom: 8px;
    display: inline-block;
}

h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: none;
    background-color: #f1f4f4;
    color: #333;
    margin-bottom: 6px;
    display: inline-block;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #e5e5e5;
}

.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-box {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    color: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.age-box h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.age-box p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 25px;
}

.age-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* BOTÓN SI (naranja, CTA principal) */
.btn-yes {
    background: #ff7a00;
    border: none;
    padding: 10px 18px;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-yes:hover {
    background: #e66d00;
}

/* BOTÓN NO (estilo tipo vaciar carrito) */
.btn-no {
    background: transparent;
    border: 1px solid #555;
    padding: 10px 18px;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-no:hover {
    background: #222;
    border-color: #888;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

    main {
        width: 100%;
        margin: 0 auto;
    }

    .goToCart {
        display: none;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 3.4rem;
    }

}

/* MOBILE */

@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }

}

@media (max-width: 500px) {
    .footer-container {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 2rem;
    }
}

/* DESKTOP */

@media (min-width: 901px) {

    .menu-toggle {
        display: none;
    }

}