/* Hide the bundle's own play/cue buttons (those belong to per-child rows only) */
html.is-creator-bundle .artwork-play-overlay,
html.is-creator-bundle .product-player-controls,
html.is-creator-bundle .product-info-main > * .fap-single-track,
html.is-creator-bundle .product-info-main > * .fap-single-playlist {
    display: none !important;
}
html.is-creator-bundle .product-add-form .playnow,
html.is-creator-bundle .product-add-form > .mask-view .playnow { display: none !important; }
/* Restore visibility for our section's per-child buttons */
html.is-creator-bundle .wmdm-creator-bundle-included .fap-single-track,
html.is-creator-bundle .wmdm-creator-bundle-included .fap-single-playlist {
    display: inline-flex !important;
}

/* Section wrapper — tight, no top/side padding */
.wmdm-creator-bundle-included { margin: 16px 0 0; padding: 0; background: transparent; border: 0; }
.wmdm-creator-bundle-included .wmdm-cb-heading {
    font-size: 13px; font-weight: 600; margin: 0 0 10px;
    text-transform: uppercase; letter-spacing: 0.6px; color: inherit; opacity: 0.8;
}

/* Standalone card grid — does not depend on upsell's inline scoped styles */
.wmdm-creator-bundle-included .wmdm-product-list.wmdm-cb-product-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 10px !important;
}
@media (max-width: 1280px) {
    .wmdm-creator-bundle-included .wmdm-product-list.wmdm-cb-product-list { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}
@media (max-width: 1024px) {
    .wmdm-creator-bundle-included .wmdm-product-list.wmdm-cb-product-list { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
    .wmdm-creator-bundle-included .wmdm-product-list.wmdm-cb-product-list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 420px) {
    .wmdm-creator-bundle-included .wmdm-product-list.wmdm-cb-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

.wmdm-creator-bundle-included .wmdm-product-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.wmdm-creator-bundle-included .wmdm-product-card {
    display: flex !important;
    flex-direction: column !important;
    background: var(--bg-card, #1a1517);
    border: 1px solid var(--border-light, #2c2c2e);
    border-radius: var(--radius-sm, 8px);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s var(--ease-out, ease-out), border-color 0.2s ease;
}
.wmdm-creator-bundle-included .wmdm-product-card:hover {
    border-color: var(--border, #38383a);
    transform: translateY(-2px);
}
.wmdm-creator-bundle-included .wmdm-card-image {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    overflow: hidden;
    background: var(--bg-tint, #1a1517);
}
.wmdm-creator-bundle-included .wmdm-card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.wmdm-creator-bundle-included .wmdm-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 8px !important;
    gap: 6px;
}
.wmdm-creator-bundle-included .wmdm-card-info { margin: 0 !important; }
.wmdm-creator-bundle-included .wmdm-card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    color: var(--text, #f5f5f7) !important;
    min-height: 30px;
    margin: 0 !important;
}
.wmdm-creator-bundle-included .wmdm-card-title a {
    color: inherit !important;
    text-decoration: none !important;
}
.wmdm-creator-bundle-included .wmdm-card-meta { display: none !important; }
.wmdm-creator-bundle-included .wmdm-card-controls {
    display: flex !important;
    flex-direction: row !important;
    margin-top: auto !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}
.wmdm-creator-bundle-included .wmdm-card-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}
.wmdm-creator-bundle-included .wmdm-card-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 0 !important;
    height: 32px !important;
    font-size: 13px !important;
    font-weight: 600;
    padding: 0 8px !important;
    border-radius: var(--radius-sm, 8px) !important;
    border: 1px solid transparent !important;
    cursor: pointer;
    transition: transform 0.2s var(--ease-spring, cubic-bezier(0.34,1.56,0.64,1)), box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
    line-height: 1;
}
.wmdm-creator-bundle-included .wmdm-card-btn.wmdm-card-btn-play {
    background: linear-gradient(135deg, var(--primary, #C5032B), var(--primary-dark, #A50224)) !important;
    color: #fff !important;
}
.wmdm-creator-bundle-included .wmdm-card-btn.wmdm-card-btn-play:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(197, 3, 43, 0.3);
}
.wmdm-creator-bundle-included .wmdm-card-btn.wmdm-card-btn-queue {
    background: rgba(255,255,255,0.04) !important;
    color: var(--text, #f5f5f7) !important;
    border: 1px solid var(--border-light, #2c2c2e) !important;
    font-weight: 700;
    font-size: 16px !important;
}
.wmdm-creator-bundle-included .wmdm-card-btn.wmdm-card-btn-queue:hover {
    transform: scale(1.04);
    border-color: var(--border, #38383a) !important;
    background: rgba(255,255,255,0.08) !important;
}
.wmdm-creator-bundle-included .wmdm-card-btn svg { width: 12px; height: 12px; }
.wmdm-creator-bundle-included .wmdm-license-section,
.wmdm-creator-bundle-included .wmdm-card-cart { display: none !important; }
