.dut-bundle-wrapper {
    margin: 30px 0 !important;
    padding: 25px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
    clear: both !important;
}

.dut-bundle-title {
    margin: 0 0 20px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
    line-height: 1.2 !important;
}

.dut-bundle-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.dut-bundle-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: transparent !important;
    width: 100% !important;
}

.dut-bundle-item:last-child {
    border-bottom: none !important;
}

.dut-bundle-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
}

.dut-bundle-thumb {
    position: relative !important;
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0 !important;
}

.dut-bundle-thumb img {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #eef2f6 !important;
    display: block !important;
    margin: 0 !important;
}

.dut-bundle-qty-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #64748b !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    z-index: 10 !important;
    line-height: 1 !important;
}

.dut-bundle-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.dut-bundle-price {
    font-size: 14px !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.dut-bundle-promo {
    margin-top: 25px !important;
    padding: 15px 20px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    border: 1px dashed #cbd5e1 !important;
    color: #475569 !important;
    font-size: 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.dut-bundle-promo strong {
    color: #1e293b !important;
}

.dut-bundle-promo .dashicons {
    color: #64748b !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .dut-bundle-wrapper {
        padding: 15px !important;
    }
    .dut-bundle-name {
        font-size: 13px !important;
    }
}

/* PC Optimization - Wider display */
@media (min-width: 992px) {
    .dut-bundle-wrapper {
        margin: 40px 0 !important;
        padding: 30px 35px !important;
    }
    .dut-bundle-name {
        font-size: 15px !important;
    }
    .dut-bundle-price {
        font-size: 16px !important;
    }
}

/* Bundle Gallery (Pro) */
.dut-bundle-gallery-wrapper {
    margin: 40px 0 !important;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.dut-hero-bundle-stage {
    flex: 0 0 70%;
    position: relative;
    overflow: visible; /* Prevent shadow clipping */
    background: #f8fafc;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.dut-p-no-gallery .dut-hero-bundle-stage {
    flex: 0 0 100% !important;
    border-bottom: none !important;
}

.dut-hero-bundle-stage img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
    cursor: zoom-in;
}

.dut-bundle-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--dut-cols-pc, 4), 1fr) !important;
    gap: 12px !important;
    padding: 20px !important;
    background: #fff !important;
    flex: 1;
    overflow-y: auto;
    max-height: 350px;
}

@media (max-width: 850px) {
    .dut-bundle-gallery-wrapper {
        height: auto !important;
        max-height: none !important;
    }
    .dut-hero-bundle-stage, .dut-bundle-gallery-grid {
        flex: 0 0 100% !important;
        height: auto !important;
    }
    .dut-hero-bundle-stage {
        aspect-ratio: 1/1 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
        padding: 40px !important; /* Safety padding for mobile */
        box-sizing: border-box !important;
    }
}
.dut-bundle-gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.dut-bundle-gallery-item {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    background: #f1f5f9 !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.dut-bundle-gallery-item.active {
    border-color: #8da336 !important;
    box-shadow: 0 0 0 3px rgba(141, 163, 54, 0.2) !important;
}

.dut-bundle-gallery-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.dut-bundle-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.dut-bundle-gallery-item:hover img {
    transform: scale(1.1) !important;
}

.dut-bundle-gallery-footer {
    text-align: center !important;
    margin-top: 20px !important;
}

.dut-bundle-gallery-load-more {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 2px solid #e2e8f0 !important;
    padding: 12px 30px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.dut-bundle-gallery-load-more:hover {
    background: #1e293b !important;
    color: #ffffff !important;
    border-color: #1e293b !important;
    transform: translateY(-2px) !important;
}

.dut-bundle-gallery-load-more.loading {
    opacity: 0.6 !important;
    cursor: wait !important;
}

/* Minimalist Lightbox */
.dut-lightbox-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.95) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    transition: opacity 0.3s ease !important;
}

.dut-lightbox-overlay.active {
    opacity: 1 !important;
}

.dut-lightbox-content {
    position: relative !important;
    max-width: 90% !important;
    max-height: 90% !important;
    transform: scale(0.9) !important;
    transition: transform 0.3s ease !important;
}

.dut-lightbox-overlay.active .dut-lightbox-content {
    transform: scale(1) !important;
}

.dut-lightbox-content img {
    max-width: 100% !important;
    max-height: 90vh !important;
    border-radius: 8px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.dut-lightbox-close {
    position: absolute !important;
    top: -40px !important;
    right: 0 !important;
    color: #fff !important;
    font-size: 30px !important;
    cursor: pointer !important;
    line-height: 1 !important;
}


/* Combo Label Badge style */
.dut-bundle-label {
    display: inline-block !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    padding: 2px 10px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 5px !important;
}

@media (max-width: 767px) {
    .dut-bundle-gallery-grid {
        grid-template-columns: repeat(var(--dut-cols-mobile, 2), 1fr) !important;
        gap: 10px !important;
    }
}
