@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ink: #1A1A1A;
    --wine: #6B1F2A;
    --wine-dark: #4d1620;
    --beige: #F5EBDD;
    --white: #FAFAFA;
    --pink: #F2C4CC;
    --pink-dark: #e6adba;
    --grey: #6f665f;
    --border: #e4d8c4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Inter", sans-serif;
    color: var(--ink);
    background: var(--white);
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: "DM Sans", sans-serif; font-weight: 800; letter-spacing: -0.5px; }
img { display: block; max-width: 100%; }
.section { padding: 90px 7%; }
.eyebrow {
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wine);
    font-weight: 700;
    margin-bottom: 14px;
}

/* NAVBAR */
.navbar {
    height: 76px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(250,250,250,.92);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 46px;
    width: auto;
    border-radius: 8px;
}
.footer-logo .logo-img {
    height: 52px;
    background: var(--white);
    border-radius: 10px;
    padding: 4px;
}
.nav-links { display: flex; gap: 34px; margin-left: 70px; }
.nav-links a { font-size: 14px; color: var(--grey); transition: .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.icon-btn { font-size: 20px; color: var(--wine); }
.cart-btn {
    background: var(--pink);
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}
.cart-count { margin-left: 5px; color: var(--wine); }
.menu-btn { display: none; font-size: 21px; color: var(--ink); }
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 7% 16px;
    position: sticky;
    top: 76px;
    z-index: 99;
}
.mobile-nav a { padding: 10px 0; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
    padding: 70px 7% 60px;
    background: var(--beige);
}
.hero h1 {
    font-family: "DM Sans", sans-serif;
    font-weight: 900;
    font-size: 58px;
    line-height: 1.02;
    letter-spacing: -2px;
    color: var(--ink);
}
.hero h1 span { display: block; color: var(--wine); }
.hero-description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--grey);
    max-width: 440px;
}
.hero-buttons { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 14.5px;
    font-weight: 600;
    transition: .2s;
}
.btn-primary { background: var(--pink); color: var(--ink); }
.btn-primary:hover { background: var(--pink-dark); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.hero-info { display: flex; gap: 34px; margin-top: 46px; }
.hero-info strong { display: block; font-family: "Inter", sans-serif; font-size: 19px; }
.hero-info span { font-size: 12.5px; color: var(--grey); }

.hero-product { position: relative; display: flex; justify-content: center; }
.product-glow {
    position: absolute;
    width: 260px; height: 260px;
    background: var(--pink);
    filter: blur(60px);
    opacity: .55;
    border-radius: 50%;
    z-index: 0;
}
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 270px;
    aspect-ratio: 1/1;
    border-radius: 24px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 24px 48px rgba(26,26,26,.16);
}
.hero-slides { display: flex; height: 100%; transition: transform .4s ease; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; flex: none; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(250,250,250,.9);
    color: var(--wine);
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.hero-prev { left: 10px; }
.hero-next { right: 10px; }
.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.hero-dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(250,250,250,.6); }
.hero-dots span.active { background: var(--white); width: 15px; border-radius: 4px; }
.floating-card {
    position: absolute;
    bottom: -16px; left: -14px;
    background: var(--white);
    border-radius: 14px;
    padding: 11px 15px;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 12px 24px rgba(26,26,26,.14);
    z-index: 2;
}
.floating-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); border: 1.5px solid var(--wine); }
.floating-card strong { display: block; font-size: 13px; }
.floating-card small { font-size: 11.5px; color: var(--grey); }

/* MARQUEE */
.marquee { background: var(--pink); overflow: hidden; padding: 14px 0; }
.marquee-track {
    display: flex; gap: 40px; white-space: nowrap;
    animation: scroll 16s linear infinite;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: var(--ink);
}
.marquee-track span, .marquee-track i { flex: none; }
.marquee i { color: var(--wine); font-style: normal; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CARTA */
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.section-heading h2 { font-family: "DM Sans", sans-serif; font-weight: 800; letter-spacing: -0.5px; font-size: 34px; }
.promo-chip {
    background: var(--pink);
    color: var(--ink);
    padding: 12px 18px;
    border-radius: 14px;
    text-align: right;
}
.promo-chip strong { display: block; font-size: 13px; }
.promo-chip span { font-size: 12px; color: var(--wine); }

.cat-tabs { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.cat-tab {
    padding: 9px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--wine);
    color: var(--wine);
    font-size: 14px;
    font-weight: 600;
}
.cat-tab.active { background: var(--pink); color: var(--ink); border-color: var(--pink); }

.menu-group { margin-bottom: 44px; }
.group-note { font-size: 12.5px; color: var(--grey); margin-bottom: 18px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.product-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: 0 18px 34px rgba(26,26,26,.1); transform: translateY(-3px); }
.product-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--beige); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--wine); color: var(--pink);
    font-size: 10px; font-weight: 700; letter-spacing: .03em;
    padding: 4px 9px; border-radius: 6px;
}
.product-info { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.product-info h3 { font-size: 16px; line-height: 1.25; }
.product-price { font-family: "Inter", sans-serif; font-weight: 600; font-size: 15px; white-space: nowrap; }
.product-desc { font-size: 12.5px; color: var(--grey); line-height: 1.5; flex: 1; }
.product-insumos { font-size: 10.5px; color: #a3968a; }
.product-actions { margin-top: 10px; }
.quick-add {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: var(--beige);
    color: var(--wine);
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--border);
}
.quick-add:hover { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.qty-stepper {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--pink); border-radius: 10px; padding: 6px 8px;
}
.qty-stepper button {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--wine); color: var(--white);
    font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.qty-stepper span { color: var(--ink); font-weight: 700; font-size: 14px; }

/* BENEFICIOS */
.benefits { background: var(--beige); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.benefit span {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: var(--wine);
    margin-bottom: 10px;
}
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { font-size: 13.5px; color: var(--grey); line-height: 1.5; }

/* CTA FINAL */
.final-cta {
    text-align: center;
    padding: 100px 7%;
}
.final-cta h2 { font-family: "DM Sans", sans-serif; font-weight: 800; letter-spacing: -0.5px; font-size: 36px; margin-bottom: 30px; line-height: 1.2; }
.final-cta h2 span { display: block; color: var(--wine); }

/* FOOTER */
footer { background: var(--ink); color: var(--beige); padding: 60px 7% 24px; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(245,235,221,.15); }
.footer-brand p { margin-top: 12px; font-size: 13.5px; color: #c9beb1; line-height: 1.6; max-width: 280px; }
.footer-links { display: flex; gap: 60px; }
.footer-links h4 { font-family: "Inter", sans-serif; font-size: 12px; letter-spacing: .04em; color: #c9beb1; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 13.5px; color: var(--beige); margin-bottom: 10px; }
.footer-links a:hover { color: var(--pink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 12px; color: #a99d90; flex-wrap: wrap; gap: 8px; }
.hand-note { font-family: "Inter", sans-serif; font-size: 12px; color: var(--pink); font-weight: 700; letter-spacing: 0.02em; }

/* CARRITO */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(26,26,26,.45);
    z-index: 200;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }
.cart-drawer {
    position: fixed; top: 0; right: 0;
    width: 400px; max-width: 92vw; height: 100%;
    background: var(--white);
    z-index: 201;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -20px 0 40px rgba(26,26,26,.15);
}
.cart-drawer.active { transform: translateX(0); }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 16px; border-bottom: 1px solid var(--border); }
.cart-drawer-header h3 { font-size: 21px; }
.cart-close { font-size: 20px; color: var(--ink); width: 32px; height: 32px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--border); }
.cart-item-media img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; flex: none; }
.cart-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cart-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cart-item-name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.cart-item-mid { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cart-item-mid .unit { font-size: 12px; color: var(--grey); }
.cart-item-remove {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--wine);
    text-decoration: underline;
    padding: 0;
}
.cart-item-remove:hover { color: var(--wine-dark); }
.cart-item .qty-stepper {
    background: var(--beige);
    align-self: flex-start;
    padding: 7px 10px;
    gap: 16px;
}
.cart-item .qty-stepper button { background: var(--wine); color: var(--white); width: 28px; height: 28px; }
.cart-item .qty-stepper span { color: var(--wine); min-width: 16px; text-align: center; }
.cart-item .subtotal { font-family: "Inter", sans-serif; font-weight: 700; font-size: 15px; white-space: nowrap; }
.cart-empty { text-align: center; padding: 50px 20px; color: var(--grey); font-size: 14px; }
.cart-footer { padding: 18px 22px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total span { font-size: 14px; color: var(--grey); }
.cart-total strong { font-family: "Inter", sans-serif; font-size: 24px; }
.cart-checkout {
    width: 100%; padding: 15px; border-radius: 14px;
    background: var(--pink); color: var(--ink);
    font-weight: 700; font-size: 15px;
}
.cart-checkout:hover { background: var(--pink-dark); }
.cart-checkout:disabled { background: #ede2e2; color: #b5a9a9; }

/* MODAL DE PRODUCTO */
.product-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(26,26,26,.55);
    z-index: 210;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
}
.product-modal-overlay.active { opacity: 1; pointer-events: auto; }
.product-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%) scale(.96);
    width: 520px; max-width: 92vw;
    max-height: 86vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 24px;
    z-index: 211;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    box-shadow: 0 30px 70px rgba(26,26,26,.3);
}
.product-modal.active { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--white); color: var(--ink);
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(26,26,26,.15);
    z-index: 2;
}
.modal-image {
    aspect-ratio: 4/3;
    background: var(--beige);
}
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 22px 24px 26px; }
.modal-badge {
    display: inline-block;
    background: var(--wine); color: var(--pink);
    font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
    padding: 4px 10px; border-radius: 6px;
    margin-bottom: 10px;
}
.modal-body h3 { font-size: 22px; margin-bottom: 8px; }
.modal-desc { font-size: 14px; color: var(--grey); line-height: 1.55; }
.modal-insumos { font-size: 12px; color: #a3968a; margin-top: 8px; }
.modal-qty-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.modal-qty-row span { font-size: 14px; font-weight: 600; }
.modal-qty-row .qty-stepper { background: var(--beige); }
.modal-qty-row .qty-stepper button { background: var(--wine); color: var(--white); }
.modal-qty-row .qty-stepper span { color: var(--ink); font-size: 15px; }
.modal-add-btn {
    width: 100%; margin-top: 18px;
    padding: 15px; border-radius: 14px;
    background: var(--pink); color: var(--ink);
    font-weight: 700; font-size: 15px;
}
.modal-add-btn:hover { background: var(--pink-dark); }

/* WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(26,26,26,.2);
    z-index: 150;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { grid-template-columns: 1fr; }
    .hero-product { margin-top: 20px; }
}
@media (max-width: 720px) {
    .navbar { padding: 0 5%; }
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .mobile-nav[data-open] { display: flex; }
    .section { padding: 60px 5%; }
    .hero { padding: 40px 5% 50px; }
    .hero h1 { font-size: 38px; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .footer-main { flex-direction: column; }
    .footer-links { gap: 40px; }
    .cart-drawer { width: 100%; }
    .footer-bottom { padding-right: 74px; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr; }
    .hero-info { gap: 22px; flex-wrap: wrap; }
    .section-heading { align-items: flex-start; }
}
