.carousel-3d-wrapper-cb7d7e86 {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 30px 0 60px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-3d-track-cb7d7e86 {
    position: relative;
    width: 100%;
    height: 520px; /* Increased height to accommodate textual details safely below the box */
    margin: 0 auto;
    perspective: 1000px;
    perspective-origin: 50% 30%;
    overflow: visible;
}

.carousel-3d-inner-cb7d7e86 {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-3d-card-cb7d7e86 {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 280px;
    height: 440px; /* Full height including text */
    margin-left: -140px;
    margin-top: -220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    cursor: grab;
    pointer-events: none; /* Text doesn't block dragging */
}

.carousel-3d-card-cb7d7e86:active {
    cursor: grabbing;
}

/* Box wrapper that now ONLY hosts the image and supports customizable background/shadow styling */
.carousel-3d-card-box-cb7d7e86 {
    width: 100%;
    height: 280px; /* Box height */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12); /* Default Shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    transition: box-shadow 0.6s ease;
}

.carousel-3d-image-container-cb7d7e86 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-3d-image-container-cb7d7e86 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Dynamic details content wrapper cleanly attached underneath the image container */
.carousel-3d-card-content-cb7d7e86 {
    text-align: center;
    transform: translateZ(20px);
    width: 100%;
    margin-top: 20px; /* Air gap separation from the visual box */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-3d-title-cb7d7e86 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    font-family: inherit;
    color: #111;
}

.carousel-3d-subtitle-cb7d7e86 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #8f8f8f;
    margin-bottom: 12px;
}

/* Premium Minimal CTA */
.carousel-3d-cta-cb7d7e86 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 40px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    pointer-events: auto; /* Buttons remain interactive */
}

.carousel-3d-cta-cb7d7e86:hover {
    transform: translateY(-2px);
}

.carousel-3d-cta-arrow-cb7d7e86 {
    transition: transform 0.3s ease;
}

.carousel-3d-cta-cb7d7e86:hover .carousel-3d-cta-arrow-cb7d7e86 {
    transform: translateX(3px);
}

/* Controls style */
.carousel-3d-nav-cb7d7e86 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-3d-nav-btn-cb7d7e86 {
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #111;
    transition: all 0.3s ease;
}

.carousel-3d-nav-btn-cb7d7e86:hover {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
}

.carousel-3d-dots-cb7d7e86 {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-3d-dot-cb7d7e86 {
    background-color: #e0e0e0;
    border: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-3d-dot-cb7d7e86.is-active {
    background-color: #111111;
    width: 18px;
    border-radius: 4px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .carousel-3d-track-cb7d7e86 {
        height: 460px;
    }
    .carousel-3d-card-cb7d7e86 {
        width: 240px;
        height: 380px;
        margin-left: -120px;
        margin-top: -190px;
    }
    .carousel-3d-card-box-cb7d7e86 {
        height: 240px;
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-3d-inner-cb7d7e86,
    .carousel-3d-card-cb7d7e86 {
        transition: none !important;
    }
}
