.customer-music-page {
    background: #eef4fb;
    padding: 128px 16px 48px;
}

.customer-music-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.customer-music-hero {
    min-height: 176px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #101827 0%, #1e3a5f 56%, #0f766e 100%);
    color: #fff;
    padding: 28px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, .16);
}

.customer-music-hero span,
.customer-music-section-head span,
.customer-music-now > span {
    display: block;
    color: #5eead4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.customer-music-hero h1 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.05;
}

.customer-music-hero p {
    margin: 0;
    max-width: 680px;
    color: rgba(226, 232, 240, .86);
    font-size: 16px;
    font-weight: 700;
}

.customer-music-hero-actions,
.customer-music-song-actions,
.customer-music-tabs,
.customer-music-scope {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.customer-music-btn {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    font-weight: 900;
    line-height: 1.1;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.customer-music-btn:hover,
.customer-music-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

.customer-music-btn.light {
    background: #fff;
    color: #0f172a;
}

.customer-music-btn.outline {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.customer-music-btn.queue {
    min-height: 36px;
    background: #ecfeff;
    color: #0f766e;
    padding: 7px 11px;
}

.customer-music-btn.submit {
    width: 100%;
    background: #ef4444;
    color: #fff;
    box-shadow: 0 16px 28px rgba(239, 68, 68, .18);
}

.customer-music-btn:disabled {
    cursor: not-allowed;
    opacity: .56;
    transform: none;
    box-shadow: none;
}

.customer-music-player,
.customer-music-library,
.customer-music-upload,
.customer-music-restaurant-queue,
.customer-music-pending,
.customer-music-alert,
.customer-music-empty {
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
}

.customer-music-player {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
}

.customer-music-cover {
    width: 104px;
    aspect-ratio: 1;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #153449, #0f766e);
    color: #fff;
    font-size: 34px;
}

.customer-music-now {
    min-width: 0;
}

.customer-music-now h2 {
    margin: 3px 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.customer-music-now p {
    margin: 0 0 12px;
    color: #64748b;
    font-weight: 700;
}

.customer-music-now audio {
    width: 100%;
}

.customer-music-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
    align-items: start;
}

.customer-music-library,
.customer-music-upload,
.customer-music-pending {
    padding: 18px;
}

.customer-music-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.customer-music-section-head.stacked {
    display: block;
}

.customer-music-section-head h2 {
    margin: 2px 0 0;
    color: #0f172a;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.15;
}

.customer-music-tabs button {
    min-height: 40px;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    padding: 8px 12px;
    font-weight: 900;
}

.customer-music-tabs button.is-active {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.customer-music-list-panel {
    display: none;
}

.customer-music-list-panel.is-active {
    display: block;
}

.customer-music-song-list {
    display: grid;
    gap: 10px;
}

.customer-music-song {
    min-width: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.customer-music-song.is-active {
    border-color: #14b8a6;
    box-shadow: 0 10px 24px rgba(20, 184, 166, .1);
}

.customer-music-play {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #ecfeff;
    color: #0f766e;
    font-size: 18px;
}

.customer-music-song strong,
.customer-music-pending-list strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.customer-music-song small,
.customer-music-pending-list small {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.customer-music-chip {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 900;
}

.customer-music-chip.new {
    background: #eef2ff;
    color: #4338ca;
}

.customer-music-chip.pending {
    background: #fffbeb;
    color: #b45309;
}

.customer-music-chip.rejected {
    background: #fef2f2;
    color: #b91c1c;
}

.customer-music-side {
    display: grid;
    gap: 16px;
}

.customer-music-form {
    display: grid;
    gap: 12px;
}

.customer-music-form label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.customer-music-form label > span,
.customer-music-scope span {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.customer-music-form input,
.customer-music-form select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    padding: 8px 10px;
    outline: none;
}

.customer-music-form input:focus,
.customer-music-form select:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .14);
}

.customer-music-scope label {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    padding: 8px 12px;
}

.customer-music-scope input {
    width: auto;
    min-height: 0;
    accent-color: #0f766e;
}

.customer-music-pending-list {
    display: grid;
    gap: 10px;
}

.customer-music-pending-list > div {
    display: grid;
    gap: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
}

.customer-music-alert {
    padding: 12px 14px;
    font-weight: 900;
}

.customer-music-alert.success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.customer-music-alert.error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.customer-music-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 24px;
    color: #64748b;
    text-align: center;
}

.customer-music-empty.compact {
    min-height: 180px;
}

.customer-music-empty.mini {
    min-height: 110px;
}

.customer-music-empty i {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #ecfeff;
    color: #0f766e;
}

.customer-music-empty strong {
    color: #0f172a;
    font-weight: 900;
}

.customer-music-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1050;
    max-width: min(360px, calc(100vw - 32px));
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    padding: 12px 14px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .2);
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .customer-music-page {
        padding-top: 108px;
    }

    .customer-music-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-music-hero h1 {
        font-size: 32px;
    }

    .customer-music-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .customer-music-page {
        padding: 94px 10px 34px;
    }

    .customer-music-hero,
    .customer-music-library,
    .customer-music-upload,
    .customer-music-pending,
    .customer-music-player {
        padding: 14px;
    }

    .customer-music-hero h1 {
        font-size: 27px;
    }

    .customer-music-player {
        grid-template-columns: 1fr;
    }

    .customer-music-cover {
        width: 100%;
        height: 74px;
        aspect-ratio: auto;
    }

    .customer-music-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-music-song {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .customer-music-song-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .customer-music-btn.queue,
    .customer-music-btn.light,
    .customer-music-btn.outline {
        width: 100%;
    }
}

/* Cart-style music page refresh */
.customer-music-page,
.customer-music-page * {
    box-sizing: border-box;
}

.customer-music-page {
    position: relative;
    overflow: hidden;
    background: #f6f7f9;
    padding: 184px 18px 72px;
}

.customer-music-page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 360px;
    background:
        linear-gradient(180deg, rgba(8, 9, 12, .58), rgba(246, 247, 249, .9) 72%, #f6f7f9 100%),
        var(--customer-music-menu-bg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
    pointer-events: none;
}

.customer-music-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    gap: 28px;
}

.customer-music-hero,
.customer-music-player,
.customer-music-library,
.customer-music-upload,
.customer-music-pending,
.customer-music-alert,
.customer-music-empty {
    border: 1px solid #eef0f4;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .08);
}

.customer-music-hero {
    position: relative;
    min-height: 0;
    overflow: hidden;
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 18px;
    padding: 26px 30px 26px 36px;
    color: #111827;
    background: linear-gradient(135deg, rgba(228, 0, 43, .08), rgba(255, 82, 0, .04) 44%, #fff 78%);
}

.customer-music-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: linear-gradient(180deg, #e4002b, #ff5200);
}

.customer-music-hero-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.customer-music-hero-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #fff;
    font-size: 27px;
    background: linear-gradient(135deg, #111827, #e4002b);
    box-shadow: 0 14px 30px rgba(228, 0, 43, .22);
}

.customer-music-hero span,
.customer-music-section-head span,
.customer-music-now > span {
    color: #e4002b;
    letter-spacing: 0;
}

.customer-music-hero h1 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    line-height: 1.16;
}

.customer-music-hero p {
    max-width: 720px;
    margin-top: 7px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.customer-music-hero-meta {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.customer-music-hero-meta span {
    min-width: 92px;
    min-height: 52px;
    display: grid;
    align-content: center;
    gap: 2px;
    padding: 9px 14px;
    border-radius: 16px;
    border: 1px solid #f1e5df;
    background: #fff;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
}

.customer-music-hero-meta strong {
    color: #111827;
    font-size: 22px;
    line-height: 1;
}

.customer-music-hero-actions {
    position: relative;
    z-index: 1;
    justify-content: flex-end;
}

.customer-music-btn {
    border-radius: 14px;
    min-height: 44px;
    font-size: 14px;
    box-shadow: none;
}

.customer-music-btn.light {
    background: #e4002b;
    color: #fff;
}

.customer-music-btn.outline {
    border-color: #e5e7eb;
    background: #fff;
    color: #111827;
}

.customer-music-btn.queue {
    min-width: 188px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
}

.customer-music-btn.submit {
    min-height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e4002b, #ff5200);
    box-shadow: 0 14px 28px rgba(228, 0, 43, .18);
}

.customer-music-player {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 22px;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #111827 0%, #153449 56%, #0f766e 100%);
}

.customer-music-cover {
    width: 88px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e4002b, #ff8a00);
    box-shadow: 0 15px 32px rgba(228, 0, 43, .24);
}

.customer-music-now h2 {
    color: #fff;
    font-size: 26px;
    line-height: 1.12;
}

.customer-music-now p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .76);
}

.customer-music-player-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
}

.customer-music-player-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.customer-music-control-board {
    display: grid;
    gap: 14px;
}

.customer-music-control-board audio {
    display: none;
}

.customer-music-timebar {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 900;
}

.customer-music-timebar span:last-child {
    text-align: right;
}

.customer-music-timebar input,
.customer-music-volume input {
    width: 100%;
    accent-color: #ffb703;
}

.customer-music-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.customer-music-icon-btn,
.customer-music-favorite-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 16px;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}

.customer-music-icon-btn:hover,
.customer-music-icon-btn:focus,
.customer-music-favorite-btn:hover,
.customer-music-favorite-btn:focus {
    outline: none;
    transform: translateY(-1px);
}

.customer-music-icon-btn.primary {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-color: #e4002b;
    background: linear-gradient(135deg, #e4002b, #ff5200);
    box-shadow: 0 14px 26px rgba(228, 0, 43, .25);
}

.customer-music-icon-btn.favorite.is-active,
.customer-music-favorite-btn.is-active {
    border-color: rgba(228, 0, 43, .24);
    background: #fff1f2;
    color: #e4002b;
}

.customer-music-icon-btn:disabled {
    cursor: not-allowed;
    opacity: .45;
    transform: none;
}

.customer-music-volume {
    min-width: min(180px, 100%);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 0 auto;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.customer-music-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .85fr);
    gap: 26px;
}

.customer-music-library,
.customer-music-upload,
.customer-music-restaurant-queue,
.customer-music-pending {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.customer-music-library > .customer-music-section-head,
.customer-music-upload > .customer-music-section-head,
.customer-music-restaurant-queue > .customer-music-section-head,
.customer-music-pending > .customer-music-section-head {
    margin: 0;
    padding: 24px 26px;
    border-bottom: 1px solid #edf0f4;
}

.customer-music-upload > .customer-music-section-head,
.customer-music-restaurant-queue > .customer-music-section-head,
.customer-music-pending > .customer-music-section-head {
    padding-bottom: 18px;
}

.customer-music-section-head h2 {
    color: #111827;
    font-size: 24px;
    line-height: 1.18;
}

.customer-music-tabs {
    flex-wrap: nowrap;
    max-width: 100%;
    padding: 4px;
    border-radius: 18px;
    background: #f3f4f6;
}

.customer-music-tabs button {
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #334155;
    white-space: nowrap;
}

.customer-music-tabs button span {
    min-width: 24px;
    min-height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, .08);
    color: inherit;
    font-size: 12px;
}

.customer-music-tabs button.is-active {
    background: #111827;
    color: #fff;
    box-shadow: 0 12px 24px rgba(17, 24, 39, .13);
}

.customer-music-list-panel {
    padding: 24px 26px 26px;
}

.customer-music-song-list {
    gap: 14px;
}

.customer-music-song {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 16px;
    border: 0;
    border-radius: 18px;
    padding: 16px;
    background: #f8f6f3;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .03);
}

.customer-music-song.is-active {
    box-shadow: inset 0 0 0 2px rgba(228, 0, 43, .3), 0 14px 28px rgba(228, 0, 43, .08);
}

.customer-music-play {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #fff;
    color: #e4002b;
    box-shadow: 0 10px 20px rgba(17, 24, 39, .06);
}

.customer-music-favorite-btn {
    border-color: #edf0f4;
    background: #fff;
    color: #94a3b8;
    box-shadow: 0 10px 18px rgba(17, 24, 39, .05);
}

.customer-music-song strong,
.customer-music-pending-list strong {
    color: #111827;
    font-size: 17px;
    line-height: 1.25;
}

.customer-music-song small {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.customer-music-song small span {
    display: inline-flex;
    min-width: 0;
    max-width: 100%;
}

.customer-music-song small span + span::before {
    content: "";
    width: 4px;
    height: 4px;
    margin: auto 2px auto 0;
    border-radius: 50%;
    background: #cbd5e1;
}

.customer-music-song-actions {
    justify-content: flex-end;
}

.customer-music-song-tags {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.customer-music-chip {
    border-radius: 999px;
    background: #fff;
    color: #475569;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05);
}

.customer-music-chip.new {
    background: #fff7ed;
    color: #c2410c;
}

.customer-music-side {
    gap: 26px;
}

.customer-music-form,
.customer-music-queue-list,
.customer-music-pending-list {
    padding: 22px 24px 24px;
}

.customer-music-form {
    gap: 14px;
}

.customer-music-form label > span,
.customer-music-scope span {
    color: #374151;
}

.customer-music-form input,
.customer-music-form select {
    min-height: 46px;
    border-color: #e5e7eb;
    border-radius: 14px;
    background: #fbfbfc;
}

.customer-music-form input[type="file"] {
    padding: 10px;
    background: #fff;
}

.customer-music-form input:focus,
.customer-music-form select:focus {
    border-color: rgba(228, 0, 43, .55);
    box-shadow: 0 0 0 3px rgba(228, 0, 43, .1);
}

.customer-music-scope {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.customer-music-scope label {
    border-radius: 14px;
    background: #f8f6f3;
}

.customer-music-scope input {
    accent-color: #e4002b;
}

.customer-music-restaurant-queue > .customer-music-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    align-items: end;
}

.customer-music-restaurant-queue > .customer-music-section-head span,
.customer-music-restaurant-queue > .customer-music-section-head h2 {
    grid-column: 1;
}

.customer-music-restaurant-queue > .customer-music-section-head > strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.customer-music-queue-list {
    display: grid;
    gap: 12px;
}

.customer-music-queue-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 13px;
    border: 1px solid #edf0f4;
    border-radius: 16px;
    background: #fbfbfc;
}

.customer-music-queue-list article > span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827, #0f766e);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 12px 22px rgba(15, 118, 110, .16);
}

.customer-music-queue-list strong {
    display: block;
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-music-queue-list small {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.customer-music-queue-list em {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-style: normal;
    font-weight: 950;
}

.customer-music-pending-list > div {
    border-color: #edf0f4;
    border-radius: 16px;
    background: #fbfbfc;
}

.customer-music-empty {
    background: #fff;
}

.customer-music-empty i {
    background: #fff1f2;
    color: #e4002b;
}

.customer-music-toast {
    border-radius: 16px;
}

@media (max-width: 1199.98px) {
    .customer-music-page {
        padding: 168px 14px 56px;
    }

    .customer-music-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .customer-music-hero-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .customer-music-grid {
        grid-template-columns: 1fr;
    }

    .customer-music-side {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
        align-items: start;
    }

    .customer-music-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-music-form > label:first-of-type,
    .customer-music-scope,
    .customer-music-form .customer-music-btn.submit,
    .customer-music-form .text-danger {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .customer-music-page {
        padding-top: 144px;
    }

    .customer-music-hero {
        grid-template-columns: 1fr;
        align-items: flex-start;
        padding: 24px;
    }

    .customer-music-hero-main {
        align-items: flex-start;
    }

    .customer-music-hero-meta,
    .customer-music-hero-actions {
        justify-content: flex-start;
    }

    .customer-music-side {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .customer-music-page {
        padding: 108px 10px 38px;
    }

    .customer-music-shell {
        gap: 16px;
    }

    .customer-music-hero,
    .customer-music-player,
    .customer-music-library,
    .customer-music-upload,
    .customer-music-pending,
    .customer-music-alert,
    .customer-music-empty {
        border-radius: 18px;
    }

    .customer-music-hero {
        padding: 20px 18px 20px 22px;
    }

    .customer-music-hero-main {
        gap: 13px;
    }

    .customer-music-hero-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
        font-size: 21px;
    }

    .customer-music-hero h1 {
        font-size: 24px;
    }

    .customer-music-hero p {
        font-size: 13px;
    }

    .customer-music-hero-meta {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .customer-music-hero-meta span {
        min-width: 0;
    }

    .customer-music-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .customer-music-btn.light,
    .customer-music-btn.outline {
        width: auto;
    }

    .customer-music-player {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
    }

    .customer-music-cover {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 20px;
    }

    .customer-music-now h2 {
        font-size: 21px;
    }

    .customer-music-player-badges {
        margin-bottom: 10px;
    }

    .customer-music-player-badges span {
        font-size: 11px;
    }

    .customer-music-control-board {
        grid-column: 1 / -1;
    }

    .customer-music-controls {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .customer-music-icon-btn,
    .customer-music-favorite-btn,
    .customer-music-icon-btn.primary {
        width: 100%;
        height: 44px;
        flex-basis: auto;
    }

    .customer-music-volume {
        grid-column: 1 / -1;
        width: 100%;
        margin-left: 0;
    }

    .customer-music-library > .customer-music-section-head,
    .customer-music-upload > .customer-music-section-head,
    .customer-music-restaurant-queue > .customer-music-section-head,
    .customer-music-pending > .customer-music-section-head,
    .customer-music-list-panel,
    .customer-music-form,
    .customer-music-queue-list,
    .customer-music-pending-list {
        padding: 18px;
    }

    .customer-music-section-head {
        align-items: stretch;
    }

    .customer-music-section-head h2 {
        font-size: 21px;
    }

    .customer-music-tabs {
        overflow-x: auto;
        justify-content: stretch;
    }

    .customer-music-tabs button {
        flex: 1 0 auto;
    }

    .customer-music-form {
        grid-template-columns: 1fr;
    }

    .customer-music-scope {
        grid-template-columns: 1fr;
    }

    .customer-music-song {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
        border-radius: 16px;
    }

    .customer-music-play {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .customer-music-song-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 10px;
        width: 100%;
    }

    .customer-music-song-tags {
        justify-content: flex-start;
    }

    .customer-music-song-actions .customer-music-btn.queue {
        grid-column: 1 / -1;
        width: 100%;
    }

    .customer-music-song-actions .customer-music-chip {
        min-width: 0;
        overflow: hidden;
        justify-content: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .customer-music-btn.queue {
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 479.98px) {
    .customer-music-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .customer-music-hero-main {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .customer-music-hero-actions {
        grid-template-columns: 1fr;
    }

    .customer-music-player {
        grid-template-columns: 1fr;
    }

    .customer-music-cover {
        width: 100%;
    }

    .customer-music-song-actions {
        grid-template-columns: 1fr;
    }

    .customer-music-favorite-btn {
        width: 100%;
    }

    .customer-music-btn.queue {
        width: 100%;
    }

    .customer-music-restaurant-queue > .customer-music-section-head {
        grid-template-columns: 1fr;
    }

    .customer-music-restaurant-queue > .customer-music-section-head > strong {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }
}

body.has-customer-music-mini .soft-page-content,
body.has-customer-music-mini .soft-page-content.is-leaving,
body.has-customer-music-mini .soft-page-content.is-entering {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.customer-music-mini-player {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 2147482500;
    width: min(360px, calc(100vw - 24px));
    min-height: 62px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(9, 15, 26, .96), rgba(9, 88, 83, .95));
    color: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .28), 0 8px 18px rgba(15, 118, 110, .16);
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
}

.customer-music-mini-player[hidden] {
    display: none !important;
}

body.has-customer-music-mini {
    padding-bottom: 0;
}

body.has-mobile-cart-bar .customer-music-mini-player {
    bottom: calc(98px + env(safe-area-inset-bottom));
}

.customer-music-mini-art {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #e4002b, #ff5200);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(228, 0, 43, .24);
}

.customer-music-mini-main {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.customer-music-mini-main span {
    overflow: hidden;
    color: #5eead4;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.customer-music-mini-main strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-music-mini-main small {
    overflow: hidden;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-music-mini-progress {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
    align-items: center;
    margin-top: 2px;
    color: rgba(255, 255, 255, .74);
    font-size: 10px;
    font-weight: 900;
}

.customer-music-mini-progress span:last-child {
    text-align: right;
}

.customer-music-mini-progress input {
    width: 100%;
    accent-color: #ffb703;
}

.customer-music-mini-player.is-compact .customer-music-mini-main small,
.customer-music-mini-player.is-compact .customer-music-mini-progress span {
    display: none;
}

.customer-music-mini-player.is-compact .customer-music-mini-progress {
    grid-template-columns: 1fr;
    gap: 0;
}

.customer-music-mini-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.customer-music-mini-controls button {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 13px;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}

.customer-music-mini-player.is-compact .customer-music-mini-controls button:not(.primary):not([data-nc-music-mini-expand]):not([data-nc-music-mini-stop]) {
    display: none;
}

.customer-music-mini-controls button:hover,
.customer-music-mini-controls button:focus {
    outline: none;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .14);
}

.customer-music-mini-controls button.primary {
    background: linear-gradient(135deg, #e4002b, #ff5200);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 10px 20px rgba(228, 0, 43, .24);
}

.customer-music-mini-controls button.is-active {
    background: #fff1f2;
    border-color: rgba(255, 255, 255, .36);
    color: #e4002b;
}

.customer-music-mini-controls button:disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
}

.customer-music-mini-player.is-expanded {
    width: min(560px, calc(100vw - 24px));
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 11px;
    padding: 11px;
    border-radius: 20px;
}

.customer-music-mini-player.is-expanded .customer-music-mini-art {
    width: 48px;
    height: 48px;
    border-radius: 15px;
}

.customer-music-mini-player.is-expanded .customer-music-mini-controls {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
}

.customer-music-mini-player.is-expanded .customer-music-mini-controls button {
    width: 100%;
    height: 36px;
    flex-basis: auto;
}

@media (max-width: 767.98px) {
    .customer-music-mini-player {
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: min(314px, calc(100vw - 20px));
        min-height: 58px;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 8px;
        border-radius: 16px;
    }

    body.has-mobile-cart-bar .customer-music-mini-player {
        bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .customer-music-mini-art {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: 16px;
    }

    .customer-music-mini-main span {
        display: none;
    }

    .customer-music-mini-main strong {
        font-size: 13px;
    }

    .customer-music-mini-progress {
        margin-top: 0;
    }

    .customer-music-mini-controls button {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 11px;
        font-size: 12px;
    }

    .customer-music-mini-player.is-expanded {
        left: 10px;
        right: 10px;
        width: auto;
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .customer-music-mini-player.is-expanded .customer-music-mini-art {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 374.98px) {
    .customer-music-mini-player {
        width: min(292px, calc(100vw - 16px));
        right: 8px;
    }

    .customer-music-mini-controls {
        gap: 4px;
    }

    .customer-music-mini-controls button {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
}

.customer-music-form .music-combo {
    position: relative;
    width: 100%;
    z-index: 1;
}

.customer-music-form .music-combo.is-open {
    z-index: 40;
}

.customer-music-form .music-combo-native {
    display: none !important;
}

.customer-music-form .music-combo-box {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 38px;
    align-items: center;
    gap: .25rem;
    min-height: 46px;
    padding: 0 .35rem 0 .7rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.customer-music-form .music-combo-box:focus-within {
    border-color: rgba(228, 0, 43, .55);
    box-shadow: 0 0 0 3px rgba(228, 0, 43, .1);
}

.customer-music-form .music-combo-box > i {
    color: #e4002b;
    font-size: .92rem;
    text-align: center;
}

.customer-music-form .music-combo-input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #0f172a;
}

.customer-music-form .music-combo-input:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.customer-music-form .music-combo-input::placeholder {
    color: #9ca3af;
}

.customer-music-form .music-combo-inline-add {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #fff1f2;
    color: #e4002b;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.customer-music-form .music-combo-inline-add:hover,
.customer-music-form .music-combo-inline-add:focus {
    background: #e4002b;
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

.customer-music-form .music-combo-inline-add:disabled {
    cursor: default;
    opacity: .5;
    transform: none;
}

.customer-music-form .music-combo-inline-add.is-add {
    background: #ffe4e6;
    color: #e4002b;
}

.customer-music-form .music-combo-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    gap: .25rem;
    padding: .35rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
}

.customer-music-form .music-combo.is-open .music-combo-menu {
    display: grid;
}

.customer-music-form .music-combo-option,
.customer-music-form .music-combo-empty {
    min-height: 36px;
    padding: .45rem .6rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #111827;
    font-weight: 800;
    text-align: left;
}

.customer-music-form .music-combo-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.customer-music-form .music-combo-option:hover,
.customer-music-form .music-combo-option:focus {
    background: #fff1f2;
    color: #e4002b;
    outline: none;
}

.customer-music-form .music-combo-option.add-new {
    color: #e4002b;
    background: #fff1f2;
}

.customer-music-form .music-combo-option.add-new strong {
    font-weight: 900;
}

.customer-music-form .music-combo-option[hidden],
.customer-music-form .music-combo-empty[hidden] {
    display: none !important;
}

.customer-music-form .music-combo-empty {
    color: #6b7280;
}
