/* ============================================================
   Banners publicitarios (home) · Arletex Design System v3.3
   --------------------------------------------------------------
   Replica EXACTA del strip de banners del catálogo
   (.catalogo-banner-strip en telas-catalogo.css). Ese CSS solo se
   carga en telas.blade.php; aquí se reproduce para el home.

   Registro @gallery — marco ink, controles chunky cuadrados,
   sombra sólida offset. radius 0.
   ============================================================ */

.catalogo-banner-strip {
    margin-top: clamp(40px, 6vw, 72px);
    margin-bottom: clamp(40px, 6vw, 72px);
}

/* Slides — quita radios, añade marco editorial */
.catalogo-banner-strip .slider-nav {
    margin: 0 !important;
    width: 100% !important;
}

.catalogo-banner-strip .carousel.slide {
    border: 2px solid var(--ax-ink, #1F2530);
    box-shadow: 6px 6px 0 var(--ax-ink, #1F2530);
    background: var(--ax-white, #FFFFFF);
    position: relative;
}

.catalogo-banner-strip .carousel-inner {
    overflow: hidden;
}

.catalogo-banner-strip .carousel-item {
    transition: transform .5s ease-in-out;
}

.catalogo-banner-strip .banner-round {
    border-radius: 0 !important;
    display: block;
    overflow: hidden;
}

.catalogo-banner-strip .banner-round img {
    border-radius: 0 !important;
    display: block;
    width: 100%;
}

/* Controles prev/next — chunky brutales */
.catalogo-banner-strip .carousel-control-prev,
.catalogo-banner-strip .carousel-control-next {
    width: clamp(40px, 5vw, 56px);
    height: clamp(40px, 5vw, 56px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
    background: var(--ax-ink, #1F2530);
    border: 2px solid var(--ax-ink, #1F2530);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    z-index: 5;
}

.catalogo-banner-strip .carousel-control-prev {
    left: -14px;
    box-shadow: -4px 4px 0 var(--ax-orange, #F15A29);
}

.catalogo-banner-strip .carousel-control-next {
    right: -14px;
    box-shadow: 4px 4px 0 var(--ax-orange, #F15A29);
}

.catalogo-banner-strip .carousel-control-prev:hover,
.catalogo-banner-strip .carousel-control-next:hover {
    background: var(--ax-orange, #F15A29);
    transform: translateY(-50%) translateX(-2px);
}

.catalogo-banner-strip .carousel-control-next:hover {
    transform: translateY(-50%) translateX(2px);
}

.catalogo-banner-strip .carousel-control-prev-icon,
.catalogo-banner-strip .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-image: none;
    position: relative;
}

.catalogo-banner-strip .carousel-control-prev-icon::before,
.catalogo-banner-strip .carousel-control-next-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--ax-white, #FFFFFF);
    border-right: 3px solid var(--ax-white, #FFFFFF);
}

.catalogo-banner-strip .carousel-control-prev-icon::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.catalogo-banner-strip .carousel-control-next-icon::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

/* Indicadores cuadrados (si están presentes) */
.catalogo-banner-strip .carousel-indicators {
    margin: 16px 0 0;
    position: static;
    justify-content: center;
    gap: 8px;
}

.catalogo-banner-strip .carousel-indicators li {
    width: 28px;
    height: 6px;
    border-radius: 0;
    background: var(--ax-cream, #F2EDE4);
    border: 1.5px solid var(--ax-ink, #1F2530);
    opacity: 1;
    transition: background .15s ease, transform .15s ease;
    margin: 0;
}

.catalogo-banner-strip .carousel-indicators li.active {
    background: var(--ax-orange, #F15A29);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .catalogo-banner-strip .carousel-item,
    .catalogo-banner-strip .carousel-control-prev,
    .catalogo-banner-strip .carousel-control-next {
        transition: none !important;
    }
    .catalogo-banner-strip .carousel-control-prev:hover,
    .catalogo-banner-strip .carousel-control-next:hover {
        transform: translateY(-50%) !important;
    }
}

@media (max-width: 767px) {
    .catalogo-banner-strip .carousel-control-prev {
        left: 8px;
        box-shadow: -3px 3px 0 var(--ax-orange, #F15A29);
    }

    .catalogo-banner-strip .carousel-control-next {
        right: 8px;
        box-shadow: 3px 3px 0 var(--ax-orange, #F15A29);
    }

    .catalogo-banner-strip .carousel.slide {
        box-shadow: 4px 4px 0 var(--ax-ink, #1F2530);
    }
}
