/* BeatLatin - tabla de remixes de audio */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap');

.remix-grid-wrapper {
    --bl-bg-soft: rgba(255, 255, 255, 0.035);
    --bl-bg-hover: rgba(255, 255, 255, 0.055);
    --bl-border: rgba(255, 255, 255, 0.1);
    --bl-border-strong: rgba(255, 255, 255, 0.22);
    --bl-text: #ffffff;
    --bl-muted: rgba(255, 255, 255, 0.58);
    --bl-dim: rgba(255, 255, 255, 0.34);

    width: 100%;
    max-width: 100%;
    color: var(--bl-text);
    font-family: 'Sora', sans-serif !important;
}

.remix-table-title {
    margin: 34px 0 36px !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: center !important;
    text-transform: uppercase;
}

.remix-table-title::after {
    content: '';
    display: block;
    width: 76px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.filters-section {
    display: grid !important;
    grid-template-columns: minmax(380px, 1.85fr) minmax(150px, 0.72fr) minmax(150px, 0.72fr) auto;
    gap: 14px !important;
    align-items: center;
    margin: 0 0 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.remix-search-wrap {
    position: relative;
    width: 100%;
}

.remix-search,
.remix-select,
.reset-btn {
    width: 100% !important;
    height: 46px !important;
    border-radius: 10px !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.remix-search {
    height: 56px !important;
}

.remix-search,
.remix-select {
    padding: 0 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(0, 0, 0, 0.24) !important;
    color: #ffffff !important;
    outline: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.remix-search-wrap .remix-search {
    padding: 0 190px 0 18px !important;
}

.remix-search::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.remix-search-count {
    position: absolute;
    top: 50%;
    right: 12px;
    left: auto;
    bottom: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 168px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.68);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    text-overflow: ellipsis;
    text-transform: uppercase;
    transform: translateY(-50%);
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.remix-search-count.is-visible {
    opacity: 1;
}


.remix-search:focus,
.remix-select:focus {
    border-color: rgba(255, 255, 255, 0.34) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.055);
}

.remix-select option {
    background: #101010 !important;
    color: #ffffff !important;
}

.reset-btn {
    min-width: 104px;
    padding: 0 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    cursor: pointer;
    font-weight: 700 !important;
    text-transform: uppercase;
    transition: all 0.2s ease !important;
}

.reset-btn:hover,
.reset-btn:focus-visible {
    border-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-1px);
}

.remix-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.remix-table th:nth-child(1),
.remix-table td:nth-child(1) { width: 78px; text-align: center; }
.remix-table th:nth-child(2),
.remix-table td:nth-child(2) { width: 35%; text-align: left; }
.remix-table th:nth-child(3),
.remix-table td:nth-child(3) { width: 15%; text-align: center; }
.remix-table th:nth-child(4),
.remix-table td:nth-child(4) { width: 8%; text-align: center; }
.remix-table th:nth-child(5),
.remix-table td:nth-child(5) { width: 14%; text-align: center; }
.remix-table th:nth-child(6),
.remix-table td:nth-child(6) { width: 12%; text-align: center; }
.remix-table th:nth-child(7),
.remix-table td:nth-child(7) { width: 16%; text-align: center; }

.remix-table th {
    height: 48px;
    padding: 0 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--bl-dim) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.remix-table td {
    height: 78px;
    padding: 14px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--bl-muted) !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.remix-table td:nth-child(2) {
    color: #ffffff !important;
    min-width: 0;
    white-space: normal !important;
}

.remix-row {
    position: relative;
    animation: remixRowIn 0.28s ease both;
    transition: background 0.2s ease;
}

.remix-row:hover {
    background: var(--bl-bg-soft) !important;
}

.remix-row.now-playing {
    background: var(--bl-bg-hover) !important;
}

.remix-row.now-playing td:first-child {
    box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.55);
}

.remix-title-link,
.remixer-link {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.remixer-link {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.remix-title-link {
    display: block;
    max-width: 100%;
    color: #ffffff !important;
    font-weight: 700;
}

.remix-title-link:hover,
.remixer-link:hover {
    color: #ffffff !important;
    opacity: 0.82;
}

.remix-title-stack {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-width: 0;
    gap: 3px;
}

.remix-title-main,
.remix-title-artist {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remix-title-main {
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.22;
}

.remix-title-artist {
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.18;
}

.dj-preview-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 52px;
    height: 52px;
    border: 1px solid var(--bl-border-strong) !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055) !important;
    color: rgba(255, 255, 255, 0.76) !important;
    cursor: pointer;
    overflow: hidden;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}

.dj-preview-container:hover,
.dj-preview-container:focus-visible {
    border-color: #D90C0C !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #D90C0C !important;
    transform: translateY(-1px);
}

.dj-album-art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.76;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dj-album-art-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.52);
    font-size: 16px;
}

.dj-play-overlay {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    opacity: 0.92;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.dj-preview-container:hover .dj-album-art,
.dj-preview-container:focus-visible .dj-album-art,
.remix-row.now-playing:not(.paused) .dj-preview-container .dj-album-art {
    opacity: 0.46;
    transform: scale(1.03);
}

.dj-preview-container:hover .dj-play-overlay,
.dj-preview-container:focus-visible .dj-play-overlay {
    background: rgba(0, 0, 0, 0.5);
    color: #D90C0C;
}

.dj-preview-container .pause-icon {
    display: none;
}

.remix-row.now-playing .dj-preview-container {
    border-color: var(--bl-border-strong) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: rgba(255, 255, 255, 0.76) !important;
}

.remix-row.now-playing:not(.paused) .dj-preview-container {
    border-color: #D90C0C !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #D90C0C !important;
}

.remix-row.now-playing:not(.paused) .dj-preview-container .dj-play-overlay {
    background: rgba(0, 0, 0, 0.5);
    color: #D90C0C;
}

.remix-row.now-playing:not(.paused) .dj-preview-container .play-icon {
    display: none !important;
}

.remix-row.now-playing:not(.paused) .dj-preview-container .pause-icon {
    display: inline-block !important;
}

.remix-row.now-playing.paused .dj-preview-container .play-icon {
    display: inline-block !important;
}

.remix-row.now-playing.paused .dj-preview-container .pause-icon {
    display: none !important;
}

.remix-row.now-playing.paused .dj-preview-container:hover,
.remix-row.now-playing.paused .dj-preview-container:focus-visible {
    border-color: #D90C0C !important;
    color: #D90C0C !important;
}

.remix-grid-wrapper .purchase-cell .edd_purchase_submit_wrapper,
.remix-grid-wrapper .purchase-cell .edd_download_purchase_form {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 5px !important;
    margin: 0 !important;
}

.purchase-cell {
    overflow: visible !important;
}

.remix-purchase-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 112px;
}

.remix-grid-wrapper .remix-edd-duplicate {
    display: none !important;
}

.remix-grid-wrapper .purchase-cell .edd-add-to-cart,
.remix-grid-wrapper .purchase-cell .edd_go_to_checkout,
.remix-grid-wrapper .purchase-cell .edd-submit,
.remix-grid-wrapper .purchase-cell [type="submit"].edd-submit {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    min-width: 76px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.remix-grid-wrapper .purchase-cell .edd-add-to-cart:hover,
.remix-grid-wrapper .purchase-cell .edd_go_to_checkout:hover,
.remix-grid-wrapper .purchase-cell .edd-submit:hover,
.remix-grid-wrapper .purchase-cell [type="submit"].edd-submit:hover {
    border-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 255, 255, 0.12);
}

.remix-grid-wrapper .purchase-cell.remix-product-in-cart .edd-add-to-cart:not(.edd_go_to_checkout),
.remix-grid-wrapper .purchase-cell input.edd-no-js,
.remix-grid-wrapper .purchase-cell input.edd-add-to-cart.edd-no-js,
.remix-grid-wrapper .purchase-cell .edd-add-to-cart[style*="display: none"],
.remix-grid-wrapper .purchase-cell .edd-add-to-cart[style*="display:none"] {
    display: none !important;
}

.remix-grid-wrapper .purchase-cell .edd-add-to-cart-label {
    display: inline-block !important;
    max-width: 5.6ch !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    vertical-align: bottom !important;
    white-space: nowrap !important;
}

.remix-grid-wrapper .purchase-cell .edd_go_to_checkout .edd-add-to-cart-label {
    max-width: none !important;
    overflow: visible !important;
}

.remix-grid-wrapper .purchase-cell .edd-cart-added-alert {
    display: block;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    max-width: 100px;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.58) !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    gap: 5px;
    line-height: 1.15 !important;
    text-align: center !important;
    text-transform: uppercase;
    white-space: normal !important;
}

.remix-grid-wrapper .purchase-cell .edd-cart-added-alert svg.edd-icon-check {
    display: none !important;
}

.remix-grid-wrapper .purchase-cell .edd-cart-added-alert::before {
    content: "\f07a";
    display: inline-block;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-size: 11px;
    font-weight: 900;
    margin-right: 4px;
}

.remix-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 42px 0 !important;
}

.pagination-wrapper,
.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
}

.page-num,
.pagination-arrow,
.page-numbers .dots {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.045) !important;
    color: rgba(255, 255, 255, 0.58) !important;
    cursor: pointer !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.page-num:hover,
.pagination-arrow:hover:not(:disabled) {
    border-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

.page-num.active {
    border-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    cursor: default !important;
}

.pagination-arrow:disabled {
    opacity: 0.24 !important;
    cursor: not-allowed !important;
}

.page-numbers .dots {
    min-width: auto !important;
    border-color: transparent !important;
    background: transparent !important;
    cursor: default !important;
}

.no-results {
    height: 90px !important;
    color: rgba(255, 255, 255, 0.62) !important;
    text-align: center !important;
}

.remix-row-skeleton {
    pointer-events: none;
}

.skeleton-play,
.skeleton-line,
.skeleton-pill {
    display: inline-block;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    background-size: 220% 100%;
    animation: remixSkeleton 1.1s ease-in-out infinite;
}

.skeleton-play {
    width: 52px;
    height: 52px;
    border-radius: 10px;
}

.skeleton-line {
    width: 74%;
    height: 12px;
    border-radius: 999px;
}

.skeleton-line.title {
    width: 88%;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.tiny {
    width: 36px;
}

.skeleton-pill {
    width: 88px;
    height: 38px;
    border-radius: 999px;
}

body:not(.logged-in) .remix-grid-wrapper .edd-aa-login-wrapper,
body:not(.logged-in) .remix-grid-wrapper .edd-aa-login-link {
    display: none !important;
}

@keyframes remixRowIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes remixSkeleton {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

@media (max-width: 980px) {
    .filters-section {
        grid-template-columns: minmax(0, 1fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr) auto;
    }

    .reset-btn {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .remix-table-title {
        margin: 26px 0 28px !important;
        font-size: 22px !important;
    }

    .filters-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 !important;
        margin-bottom: 28px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .remix-search,
    .remix-search-wrap,
    .remix-select,
    .reset-btn {
        width: 100% !important;
    }

    .remix-search,
    .remix-select,
    .reset-btn {
        height: 46px !important;
        font-size: 14px !important;
    }

    .remix-search {
        height: 54px !important;
    }

    .remix-search-wrap .remix-search {
        padding: 0 150px 0 15px !important;
    }

    .remix-search-count {
        right: 10px;
        max-width: 132px;
        height: 26px;
        padding: 0 9px;
        font-size: 8px;
    }

    .remix-table {
        table-layout: fixed !important;
    }

    .remix-table th:nth-child(3),
    .remix-table td:nth-child(3),
    .remix-table th:nth-child(4),
    .remix-table td:nth-child(4),
    .remix-table th:nth-child(5),
    .remix-table td:nth-child(5),
    .remix-table th:nth-child(6),
    .remix-table td:nth-child(6) {
        display: none !important;
    }

    .remix-table th:nth-child(1),
    .remix-table td:nth-child(1) {
        width: 68px !important;
    }

    .remix-table th:nth-child(2),
    .remix-table td:nth-child(2) {
        width: auto !important;
        text-align: left !important;
    }

    .remix-table th:nth-child(7),
    .remix-table td:nth-child(7) {
        width: 108px !important;
    }

    .remix-table th {
        height: 44px;
        padding: 0 6px !important;
        font-size: 11px !important;
        letter-spacing: 0.06em;
    }

    .remix-table td {
        height: 86px;
        padding: 12px 6px !important;
        font-size: 13px !important;
    }

    .remix-title-link {
        display: block;
        overflow: hidden;
    }

    .remix-title-main {
        font-size: 13px;
        line-height: 1.24;
    }

    .remix-title-artist {
        font-size: 11px;
        line-height: 1.2;
    }

    .dj-preview-container,
    .skeleton-play {
        width: 52px;
        height: 52px;
    }

    .remix-grid-wrapper .purchase-cell .edd-add-to-cart,
    .remix-grid-wrapper .purchase-cell .edd_go_to_checkout,
    .remix-grid-wrapper .purchase-cell .edd-submit,
    .remix-grid-wrapper .purchase-cell [type="submit"].edd-submit {
        min-width: 86px !important;
        min-height: 38px !important;
        padding: 8px 13px !important;
        font-size: 13px !important;
    }

    .remix-pagination {
        padding: 34px 0 !important;
    }

    .page-num,
    .pagination-arrow {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 420px) {
    .remix-table th:nth-child(1),
    .remix-table td:nth-child(1) {
        width: 62px !important;
    }

    .remix-table th:nth-child(7),
    .remix-table td:nth-child(7) {
        width: 98px !important;
    }

    .dj-preview-container,
    .skeleton-play {
        width: 46px;
        height: 46px;
    }

    .remix-table td {
        font-size: 13px !important;
    }

    .remix-grid-wrapper .purchase-cell .edd-add-to-cart,
    .remix-grid-wrapper .purchase-cell .edd_go_to_checkout,
    .remix-grid-wrapper .purchase-cell .edd-submit,
    .remix-grid-wrapper .purchase-cell [type="submit"].edd-submit {
        min-width: 82px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}
