/* ═══════════════════════════════════════════════════════════
   Ammoria — Categories Carousel (compacto, continuo, infinito)
   Imagen ancha con poca altura, overlay rosa #ffe9ed
   Solo título visible (sin descripción, sin CTA, sin dots)
   Desktop: 8 visibles | Móvil: 2 visibles
   ═══════════════════════════════════════════════════════════ */

/* ── Wrapper ── */
.acc-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.acc-carousel {
    overflow: visible;
}

/* ── Slide ── */
.acc-carousel .swiper-slide {
    height: auto;
}

/* ── Tarjeta (más ancha que alta) ── */
.acc-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 2 / 1;
}

/* ── Imagen ── */
.acc-card__image {
    width: 100%;
    height: 100%;
}

.acc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* ── Overlay con gradiente #ffe9ed ── */
.acc-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 14px 10px;
    background: linear-gradient(to top, #fff8f7 0%, rgba(255, 248, 247, 0.90) 40%, rgba(255, 248, 247, 0) 100%);
    pointer-events: none;
}

/* ── Título ── */
.acc-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4a1a1d;
    line-height: 1.15;
}

/* ── Zoom hover ── */
.acc-card:hover .acc-card__image img,
.acc-card:focus-visible .acc-card__image img {
    transform: scale(1.06);
}

/* ── Foco accesible ── */
.acc-card:focus-visible {
    outline: 2px solid #731d20;
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */

/* Tablet: 4 visibles */
@media (max-width: 768px) {
    .acc-card {
        aspect-ratio: 16 / 7;
    }

    .acc-card__overlay {
        padding: 20px 10px 8px;
    }

    .acc-card__title {
        font-size: 0.9rem;
    }
}

/* Móvil: 2 visibles, imagen aún más ancha y baja */
@media (max-width: 480px) {
    .acc-card {
        aspect-ratio: 4 / 1;
    }

    .acc-card__overlay {
        padding: 16px 8px 6px;
    }

    .acc-card__title {
        font-size: 0.85rem;
    }
}