.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px;
    background: linear-gradient(135deg, #000, #111);
    color: white;
}

.hero-content {
    max-width: 500px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.btn-primary {
    background: #ff4d4d;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.social-proof {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #fff;
}

.beneficios {
    display: flex;
    justify-content: space-around;
    padding: 50px;
}

section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.btn-hover {
    position: relative;
    overflow: hidden;
    color: white;
    transition: color 0.4s ease;
    z-index: 1;
}

.btn-hover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white;

    /* 🔥 empieza fuera a la izquierda */
    transform: translateX(-100%);
    transition: transform 0.5s ease;

    z-index: 0;
}

.btn-hover:hover::before {
    /* 🔥 recorre hacia la derecha */
    transform: translateX(0);
}

.btn-hover:hover {
    color: black;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeUp 0.6s ease forwards;
}

/* =============================================
   MEGA MENU — estilos completos con WooCommerce
   Archivo: /css/mega-menu.css en tu tema
   ============================================= */

:root {
    --mm-accent:      #e53e3e;
    --mm-bg:          #ffffff;
    --mm-border:      #ebebeb;
    --mm-title:       #111111;
    --mm-link:        #555555;
    --mm-link-hover:  #111111;
    --mm-shadow:      0 12px 40px rgba(0,0,0,0.10);
    --mm-radius:      10px;
    --mm-font:        inherit;
    --mm-z:           999;
}

/* ── Nav contenedor ─────────────────────────── */
.mega-nav {
    position: relative;  /* ancla los paneles */
}

/* ── Lista raíz ─────────────────────────────── */
.mega-root {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

/* ── Ítem raíz ──────────────────────────────── */
.mega-item {
    position: static;
}

/* ── Link raíz ──────────────────────────────── */
.mega-item__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 56px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--mm-title);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
    position: relative;
}

.mega-item__link:hover,
.mega-item--active > .mega-item__link {
    color: var(--mm-accent);
}

/* Subrayado ítem activo */
.mega-item--active > .mega-item__link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 2px;
    background: var(--mm-title);
    border-radius: 2px 2px 0 0;
}

/* ── Chevron SVG ────────────────────────────── */
.mega-item__chevron {
    width: 10px;
    height: 10px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.mega-item--has-panel:hover > .mega-item__link .mega-item__chevron {
    transform: rotate(180deg);
}

/* ── Panel dropdown ─────────────────────────── */
.mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mm-bg);
    border-top: 1px solid var(--mm-border);
    box-shadow: var(--mm-shadow);
    z-index: var(--mm-z);
    animation: mmSlideIn 0.18s ease both;
    width: 60vw;
}

@keyframes mmSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mega-item--has-panel:hover > .mega-panel {
    display: flex;
}

/* ── Inner del panel ────────────────────────── */
.mega-panel__columns {
    display: flex;
    padding: 28px 32px;
    gap: 0;
    border-right: 1px solid var(--mm-border);
     max-width: 1200px;
    margin: 0 auto;
}

/* ── Columna ────────────────────────────────── */
.mega-col {
    min-width: 170px;
    padding: 0 28px 0 0;
    margin-right: 28px;
    border-right: 1px solid var(--mm-border);
}

.mega-col:last-child {
    border-right: none;
}

/* ── Título de columna ──────────────────────── */
.mega-col__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--mm-title);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px 0;
}

.mega-col__title a {
    color: inherit;
    text-decoration: none;
}

.mega-col__title a:hover {
    color: var(--mm-accent);
}

/* ── Links dentro de columna ────────────────── */
.mega-col__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mega-col__links li a {
    font-size: 13.5px;
    color: var(--mm-link);
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
    display: block;
}

.mega-col__links li a:hover {
    color: var(--mm-link-hover);
    padding-left: 4px;
}

/* Título de columna más fuerte */
.mega-col__title.is-parent {
    font-weight: 700;
    font-size: 13px;
    color: #000;
}

/* Links normales */
.mega-col__links li a {
    font-weight: 400;
}

/* Opcional: separar visualmente */
.mega-col__title.is-parent {
    margin-bottom: 10px;
}

/* Título de columna más fuerte */
.mega-col__title.is-parent {
    font-weight: 700;
    font-size: 13px;
    color: #000;
}

/* Links normales */
.mega-col__links li a {
    font-weight: 400;
}

/* Opcional: separar visualmente */
.mega-col__title.is-parent {
    margin-bottom: 10px;
}

/* PADRE (título) */
.mega-col__title.is-parent {
    font-weight: 700;
}

/* HIJOS */
.mega-link-child {
    font-weight: 400;
}

/* DESTACADO desde WP */
.mega-link-child.is-highlight {
    font-weight: 700;
    color: black;
    margin-top:  10px;
    margin-bottom: 10px;
}

/* hover mejorado */
.mega-item-child:hover a {
    padding-left: 6px;
}

/* ─────────────────────────────────────────────
   PRODUCTOS EN TENDENCIA (WooCommerce)
   ───────────────────────────────────────────── */
.mega-trending {
    flex: 1;
    padding: 28px 32px;
    min-width: 360px;
}

.mega-trending__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--mm-title);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 16px 0;
}

.mega-trending__grid {
    display: flex;
    gap: 14px;
}

/* ── Tarjeta de producto ────────────────────── */
.mega-trending__item {
    flex: 1;
    text-decoration: none;
    color: var(--mm-title);
    transition: transform 0.2s;
}

.mega-trending__item:hover {
    transform: translateY(-2px);
}

/* Imagen */
.mega-trending__img-wrap {
    position: relative;
    border-radius: var(--mm-radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f3f3f3;
    margin-bottom: 9px;
}

.mega-trending__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.mega-trending__item:hover .mega-trending__img-wrap img {
    transform: scale(1.04);
}

.mega-trending__no-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

/* ── Badges ─────────────────────────────────── */
.mega-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 99px;
    padding: 3px 9px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.mega-badge--new {
    background: #2563eb;
    color: #fff;
}

.mega-badge--sale {
    background: var(--mm-accent);
    color: #fff;
}

/* ── Nombre del producto ────────────────────── */
.mega-trending__name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--mm-title);
    line-height: 1.35;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Precio WooCommerce ─────────────────────── */
.mega-trending__price {
    margin: 0;
    font-size: 12.5px;
}

/* WooCommerce inyecta sus propios tags <span> para precio */
.mega-trending__price .price {
    color: var(--mm-title);
    font-weight: 600;
    font-size: 12.5px;
}

/* Precio tachado (antes de oferta) */
.mega-trending__price del {
    color: #aaaaaa;
    font-weight: 400;
    margin-right: 4px;
}

/* Precio de oferta */
.mega-trending__price ins {
    text-decoration: none;
    color: var(--mm-accent);
    font-weight: 700;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
    .mega-nav {
        display: none; /* usar tu menú hamburguesa en móvil */
    }
}

.col-1 { order: 1; }
.col-2 { order: 2; }
.col-3 { order: 3; }
.col-4 { order: 4; }