/* Conveyor belt wrapper structural layouts */
.cc-70f709a6-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.cc-70f709a6-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.cc-70f709a6-viewport:active {
    cursor: grabbing;
}

.cc-70f709a6-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    will-change: transform;
    transition: transform 0.1s linear;
}

.cc-70f709a6-card {
    position: relative;
    overflow: hidden;
    user-select: none;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.3s ease, filter 0.3s ease;
}

.cc-70f709a6-card img {
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: filter 0.3s ease;
}

/* Grayscale/Monochrome track style */
.cc-monochrome-track .cc-70f709a6-card img {
    filter: grayscale(100%);
}

.cc-monochrome-track .cc-70f709a6-track:hover .cc-70f709a6-card img {
    filter: grayscale(0%);
}

/* Edge Scroll Buttons styling */
.cc-70f709a6-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, background 0.3s, border-radius 0.3s, padding 0.3s, opacity 0.3s;
}

.cc-btn-left {
    left: 10px;
}

.cc-btn-right {
    right: 10px;
}

/* Lightbox Frame & Overlay */
.cc-70f709a6-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInLightbox 0.25s ease-out forwards;
}

body.admin-bar .cc-70f709a6-lightbox {
    top: var(--wp-admin--admin-bar--height, 32px);
}

.cc-70f709a6-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 90%;
}

.cc-70f709a6-lightbox-img {
    object-fit: contain;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}

.cc-70f709a6-lightbox-caption {
    margin-top: 15px;
    max-width: 600px;
}

.cc-70f709a6-lightbox-caption h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.cc-70f709a6-lightbox-caption p {
    margin: 0;
    font-size: 1rem;
}

/* Lightbox Navigation Arrows */
.cc-70f709a6-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, background 0.3s, border-radius 0.3s, padding 0.3s;
    user-select: none;
}

.lb-arrow-prev {
    left: 4vw;
}

.lb-arrow-next {
    right: 4vw;
}

/* Keyframes */
@keyframes fadeInLightbox {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Tablet & Mobile Responsive */
@media (max-width: 1024px) {
    body.admin-bar .cc-70f709a6-lightbox {
        top: 46px;
    }
}

@media (max-width: 767px) {
    .cc-70f709a6-track {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        transform: none !important;
        gap: 20px !important;
        align-items: center;
    }
    
    .cc-70f709a6-card {
        width: 90% !important;
        max-width: 350px;
        /* Custom height controls from Elementor are handled responsively */
    }

    .cc-70f709a6-scroll-btn {
        display: none !important;
    }
}

/* Hide triggers */
.cc-hide-desktop {
    display: none !important;
}
@media (max-width: 1024px) {
    .cc-hide-tablet {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .cc-hide-mobile {
        display: none !important;
    }
}
