/**
 * Statue image carousel — full-bleed, one image per slide, below the single
 * garden statue product. Arrow controls mirror the theme's lightbox chevrons
 * (see .collection-lightbox-prev/next in single-collection.css) but use their
 * own class names so they don't collide with the lightbox JS's querySelector.
 */

.awd-statue-carousel {
    position: relative;
    width: 100%;
    max-width: var(--awd-site-max-width, 1400px);
    margin: 0 auto 60px;
    background: var(--awd-dark, #1a1a1a);
    overflow: hidden;
}

.awd-statue-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.awd-statue-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.awd-statue-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.awd-statue-carousel-slide img {
    display: block;
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

/* Arrow controls — identical styling to the theme lightbox chevrons */
.awd-statue-carousel-prev,
.awd-statue-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    color: var(--awd-text-light, #ffffff);
    transition: background 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.awd-statue-carousel-prev {
    left: 20px;
}

.awd-statue-carousel-next {
    right: 20px;
}

.awd-statue-carousel-prev:hover,
.awd-statue-carousel-next:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.awd-statue-carousel-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--awd-text-light, #ffffff);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 14px;
    border-radius: 100px;
}

@media (max-width: 768px) {
    .awd-statue-carousel-slide img {
        height: 50vh;
    }

    .awd-statue-carousel-prev {
        left: 12px;
    }

    .awd-statue-carousel-next {
        right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .awd-statue-carousel-track {
        transition: none;
    }
}
