/* ============================================
   ESCAKEKAS — Tienda Online Artesanal
   Paleta: Morados, azules, cyans (del logo)
   ============================================ */

/* ---------- VARIABLES ---------- */
:root {
    --purple-dark: #2d1b69;
    --purple: #4a2c8a;
    --purple-light: #6b42b8;
    --blue: #2087d6;
    --cyan: #22c9d6;
    --cyan-light: #5ee8f0;
    --pink: #e8a0d0;

    --bg: #fefcff;
    --bg-soft: #f6f2fb;
    --bg-card: #ffffff;
    --text: #2d2340;
    --text-light: #6b6089;
    --text-lighter: #9a90ab;

    --gradient-primary: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
    --gradient-hero: linear-gradient(160deg, #f6f0ff 0%, #e8f6ff 50%, #f0fdff 100%);
    --gradient-promo: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 40%, var(--blue) 100%);

    --shadow-sm: 0 2px 8px rgba(45, 27, 105, .06);
    --shadow-md: 0 8px 30px rgba(45, 27, 105, .1);
    --shadow-lg: 0 20px 60px rgba(45, 27, 105, .12);
    --shadow-card: 0 4px 20px rgba(45, 27, 105, .08);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    --header-h: 80px;
    --container: 1200px;
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ---------- UTILITIES ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(254, 252, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 27, 105, .06);
    transition: var(--transition);
}
.header--scrolled {
    box-shadow: var(--shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header__logo img { transition: transform var(--transition); }
.header__logo:hover img { transform: scale(1.05); }

/* Nav */
.nav__list {
    display: flex;
    gap: 32px;
}
.nav__link {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--purple); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 12px; }
.btn-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-light);
    transition: var(--transition);
}
.btn-icon:hover { background: var(--bg-soft); color: var(--purple); }
.cart-btn { position: relative; }
.cart-badge {
    position: absolute;
    top: 4px; right: 4px;
    width: 18px; height: 18px;
    font-size: .65rem;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    background: var(--purple);
    color: #fff;
    border-radius: 50%;
}

/* User menu dropdown */
.user-menu { position: relative; }
.user-menu__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 200;
    border: 1px solid rgba(45, 27, 105, .08);
}
.user-menu__dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border-left: 1px solid rgba(45, 27, 105, .08);
    border-top: 1px solid rgba(45, 27, 105, .08);
    transform: rotate(45deg);
}
.user-menu.open .user-menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}
.user-menu__item:hover {
    background: var(--bg-soft);
    color: var(--purple);
}
.user-menu__item svg { flex-shrink: 0; opacity: .6; }
.user-menu__item:hover svg { opacity: 1; }

/* Hamburger */
.btn-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.btn-hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.btn-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.btn-hamburger.active span:nth-child(2) { opacity: 0; }
.btn-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: var(--header-h);
}
.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 80px 24px;
}
.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(74, 44, 138, .08);
    color: var(--purple);
    font-size: .85rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    animation: fadeInUp .8s ease;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp .8s ease .1s both;
}
.hero__text {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 36px;
    animation: fadeInUp .8s ease .2s both;
}
.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp .8s ease .3s both;
}

/* Hero Visual */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.hero__circle {
    position: absolute;
    border-radius: 50%;
}
.hero__circle--1 {
    width: 350px; height: 350px;
    background: linear-gradient(135deg, rgba(74, 44, 138, .12), rgba(34, 201, 214, .12));
    animation: float 8s ease-in-out infinite;
}
.hero__circle--2 {
    width: 250px; height: 250px;
    background: linear-gradient(135deg, rgba(32, 135, 214, .1), rgba(94, 232, 240, .1));
    top: -20px; right: 20px;
    animation: float 6s ease-in-out infinite reverse;
}
.hero__circle--3 {
    width: 150px; height: 150px;
    background: linear-gradient(135deg, rgba(232, 160, 208, .15), rgba(74, 44, 138, .1));
    bottom: 30px; left: 10px;
    animation: float 7s ease-in-out infinite .5s;
}
.hero__emoji {
    position: absolute;
    font-size: 3rem;
    animation: floatEmoji 5s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.1));
}
.hero__emoji--1 { top: 10%; left: 15%; animation-delay: 0s; font-size: 3.5rem; }
.hero__emoji--2 { top: 5%; right: 20%; animation-delay: 1s; }
.hero__emoji--3 { bottom: 20%; right: 10%; animation-delay: .5s; font-size: 4rem; }
.hero__emoji--4 { bottom: 10%; left: 25%; animation-delay: 1.5s; font-size: 2.5rem; }
.hero__emoji--5 { top: 40%; right: 35%; animation-delay: 2s; font-size: 2.5rem; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: .95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(74, 44, 138, .3);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 44, 138, .4);
}
.btn--outline {
    border: 2px solid rgba(74, 44, 138, .2);
    color: var(--purple);
}
.btn--outline:hover {
    border-color: var(--purple);
    background: rgba(74, 44, 138, .05);
}
.btn--small { padding: 10px 22px; font-size: .85rem; }
.btn--large { padding: 18px 40px; font-size: 1.05rem; }

/* ---------- STATS ---------- */
.stats {
    background: var(--bg);
    padding: 60px 0;
    border-bottom: 1px solid rgba(45, 27, 105, .06);
}
.stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple);
}
.stat__label {
    display: block;
    font-size: .85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(74, 44, 138, .08);
    color: var(--purple);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
}
.section-text {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ---------- CATEGORIES ---------- */
.categories {
    padding: 100px 0;
}
.categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.category-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.category-card:hover::before { opacity: .04; }
.category-card--large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.category-card__icon {
    font-size: 3rem;
    margin-bottom: 16px;
    position: relative;
}
.category-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
}
.category-card__text {
    color: var(--text-light);
    font-size: .9rem;
    margin-bottom: 16px;
    position: relative;
}
.category-card__link {
    color: var(--purple);
    font-weight: 500;
    font-size: .9rem;
    position: relative;
    transition: var(--transition);
}
.category-card:hover .category-card__link { letter-spacing: 1px; }

/* ---------- FEATURED PRODUCTS ---------- */
.featured {
    padding: 100px 0;
    background: var(--bg-soft);
}
.featured__cta {
    text-align: center;
    margin-top: 60px;
}
.featured__cta .btn {
    background: transparent;
    color: var(--purple);
    border: 1.5px solid var(--purple);
    font-size: .9rem;
    padding: 12px 32px;
}
.featured__cta .btn:hover {
    background: var(--purple);
    color: #fff;
}
.featured__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card__image {
    position: relative;
    background: linear-gradient(135deg, #f0ebff 0%, #e8f5ff 100%);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card__placeholder {
    font-size: 5rem;
    transition: transform var(--transition);
}
.product-card:hover .product-card__placeholder { transform: scale(1.1) rotate(5deg); }
.product-card__badge {
    position: absolute;
    top: 16px; left: 16px;
    padding: 6px 14px;
    background: var(--purple);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}
.badge--hot { background: var(--cyan); color: var(--purple-dark); }
.product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 27, 105, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover .product-card__overlay { opacity: 1; }
.product-card__info { padding: 20px 24px 24px; }
.product-card__category {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
}
.product-card__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 6px 0 8px;
}
.product-card__rating {
    color: #f5a623;
    font-size: .85rem;
    margin-bottom: 8px;
}
.product-card__rating span { color: var(--text-lighter); font-size: .8rem; }
.product-card__price { display: flex; align-items: center; gap: 10px; }
.price--current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple);
}
.price--old {
    font-size: .9rem;
    color: var(--text-lighter);
    text-decoration: line-through;
}

/* ---------- PROMO ---------- */
.promo {
    background: var(--gradient-promo);
    padding: 100px 0;
    overflow: hidden;
}
.promo__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.promo__tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, .15);
    color: var(--cyan-light);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.promo__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.promo__text {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 480px;
}
.promo__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.promo__emoji {
    font-size: 12rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .2));
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 100px 0;
}
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.testimonial-card__stars {
    color: #f5a623;
    font-size: 1rem;
    margin-bottom: 16px;
}
.testimonial-card__text {
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}
.testimonial-card__author span {
    display: block;
    font-size: .8rem;
    color: var(--text-lighter);
}
.testimonials__dots {
    display: none;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: var(--bg-soft);
}
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about__image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0ebff 0%, #e8f5ff 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow-lg);
}
.about__content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}
.about__feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.about__feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}
.about__feature strong {
    display: block;
    margin-bottom: 2px;
}
.about__feature p {
    font-size: .9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ---------- NEWSLETTER ---------- */
.newsletter {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}
.newsletter__inner { max-width: 600px; margin: 0 auto; }
.newsletter__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 12px;
}
.newsletter__text {
    color: rgba(255, 255, 255, .85);
    margin-bottom: 32px;
}
.newsletter__form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
}
.newsletter__input {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-full);
    font-size: .95rem;
    outline: none;
    box-shadow: var(--shadow-sm);
}
.newsletter__form .btn {
    background: var(--purple-dark);
    color: #fff;
    box-shadow: none;
}
.newsletter__form .btn:hover {
    background: #1a0f45;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #1a0f30;
    color: rgba(255, 255, 255, .7);
    padding-top: 80px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__logo { margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .9; }
.footer__brand p { font-size: .9rem; margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.social-link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .7);
    transition: var(--transition);
}
.social-link:hover {
    background: var(--purple);
    color: #fff;
    transform: translateY(-3px);
}
.footer__links h4 {
    color: #fff;
    font-size: .95rem;
    margin-bottom: 20px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
    font-size: .9rem;
    transition: var(--transition);
}
.footer__links a:hover { color: var(--cyan-light); }
.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: .8rem;
    color: rgba(255, 255, 255, .4);
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover { transform: translateY(-4px); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes floatEmoji {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    75% { transform: translateY(10px) rotate(-3deg); }
}
@keyframes particle {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__text { margin: 0 auto 36px; }
    .hero__buttons { justify-content: center; }
    .hero__visual { min-height: 300px; }
    .categories__grid { grid-template-columns: repeat(2, 1fr); }
    .category-card--large { grid-row: span 1; }
    .featured__grid { grid-template-columns: repeat(2, 1fr); }
    .promo__inner { grid-template-columns: 1fr; text-align: center; }
    .promo__text { margin: 0 auto 32px; }
    .about__inner { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ─── HERO CAROUSEL (defecto: oculto en desktop) ─── */
.hero__carousel {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    margin-top: 24px;
}
.hero__carousel-track {
    display: flex;
    transition: transform .4s ease;
    will-change: transform;
}
.hero__carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}
.hero__carousel-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    max-height: 280px;
}
.hero__carousel-slide a {
    display: block;
}
.hero__carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.hero__carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(74, 44, 138, .25);
    padding: 0;
    cursor: pointer;
    transition: all .3s;
}
.hero__carousel-dot.active {
    background: var(--purple);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    :root { --header-h: 68px; }

    .nav { 
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--bg);
        padding: 24px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(45, 27, 105, .06);
    }
    .nav.open { display: block; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__link {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(45, 27, 105, .06);
    }
    .btn-hamburger { display: flex; }

    .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .categories__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-card__text,
    .category-card__link { display: none; }
    .about__visual { display: none; }
    .featured__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .featured { padding: 60px 0; }
    .featured .container { padding-inline: 12px; }

    /* Cards estilo tienda en móvil */
    .product-card {
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    .product-card:hover {
        transform: none;
        box-shadow: none;
    }
    .product-card__image {
        aspect-ratio: 4/5;
        border-radius: 0;
    }
    .product-card__overlay { display: none; }
    .product-card__badge {
        top: 8px; left: 8px;
        padding: 4px 10px;
        font-size: .65rem;
    }
    .product-card__info {
        padding: 10px 2px 6px;
    }
    .product-card__category {
        font-size: .72rem;
        font-weight: 500;
        letter-spacing: .04em;
        color: #888;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-card__name {
        font-family: var(--font-body);
        font-size: .78rem;
        font-weight: 400;
        line-height: 1.4;
        margin: 0 0 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card__name a {
        text-decoration: none;
        color: var(--text);
    }
    .price--current {
        font-size: .82rem;
        font-weight: 500;
        color: var(--text);
    }
    .price--old {
        font-size: .72rem;
    }
    .product-card__price { gap: 6px; }

    .testimonials__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 16px;
        scrollbar-width: none;
    }
    .testimonials__grid::-webkit-scrollbar { display: none; }
    .testimonials__grid > .testimonial-card {
        flex: 0 0 82vw;
        max-width: 82vw;
        scroll-snap-align: center;
    }
    .testimonials__dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 12px;
    }
    .testimonials__dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: var(--text-light);
        opacity: .35;
        cursor: pointer;
        padding: 0;
        transition: opacity .3s, transform .3s;
    }
    .testimonials__dot.active {
        opacity: 1;
        background: var(--purple);
        transform: scale(1.3);
    }
    .footer__inner { grid-template-columns: 1fr; gap: 30px; }
    .footer__links { display: none; }
    .footer__links.footer__contact { display: block; text-align: center; }
    .footer__links.footer__contact ul { list-style: none; padding: 0; }
    .footer__links.footer__contact li { margin-bottom: 8px; }
    .footer__links.footer__contact a { color: inherit; text-decoration: none; }
    .footer__brand { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .footer__brand .footer__social { justify-content: center; }
    .newsletter__form { flex-direction: column; }

    .hero__emoji { font-size: 2rem !important; }
    .hero__circle--1 { width: 200px; height: 200px; }
    .hero__circle--2 { width: 150px; height: 150px; }
    .hero__circle--3 { width: 100px; height: 100px; }
    .promo__emoji { font-size: 6rem; }

    /* Carrusel móvil: ocultar visual, mostrar carrusel */
    .hero__visual { display: none !important; }
    .hero__carousel { display: block !important; margin-top: 16px; }
    .hero { min-height: auto; }
    .hero__inner { padding: 40px 16px 32px; gap: 24px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .hero__buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .hero__buttons .btn { font-size: .82rem; padding: 10px 18px; }
    .hero__inner { padding: 32px 12px 24px; }
    .hero__carousel-slide img { max-height: 220px; border-radius: 10px; }
    .stat__number { font-size: 2rem; }
}
