/**
 * 24GSTYLE Beat Store — Styling
 * Extracted from 24gtv.org's style.css, scoped to only the selectors
 * actually used by the catalog storefront and lightweight account page
 * (no member profile / EP marketplace / social styling carried over).
 *
 * The :root block below provides default values for every --beatstore-*
 * CSS variable these rules use. On 24gtv.org, individual members can
 * override --beatstore-accent (etc.) per-profile via
 * beatstore_color_scheme_style_attr() — that per-member theming system
 * doesn't exist here, so these defaults are the only values in play,
 * site-wide, for every visitor.
 */

:root {
    --beatstore-accent: #d86800;
    --beatstore-accent-rgb: 216,104,0;
    --beatstore-bg: #111;
    --beatstore-page-bg: rgba(0,0,0,0.7);
    --beatstore-text: #fff;
    --beatstore-hover: #d86800;
    --beatstore-hover-rgb: 216,104,0;
    --beatstore-hover-text: #fff;
    --beatstore-border-style: solid;
    --beatstore-border-color: #d86800;
    --beatstore-action-bg: #d86800;
    --beatstore-action-hover: #8B4513;
    --beatstore-action-text: #fff;
    --beatstore-action-hover-text: #fff;
    --beatstore-font: sans-serif;
    --beatstore-font-size: 16px;
    --beatstore-btn-bg: #d86800;
    --beatstore-btn-hover: #d86800;
    --beatstore-btn-text: #fff;
    --beatstore-outline-bg: #d86800;
    --beatstore-outline-fill: transparent;
    --beatstore-outline-hover: #d86800;
    --beatstore-outline-hover-rgb: 216,104,0;
    --beatstore-outline-text: #fff;
    --beatstore-outline-hover-text: #fff;
}

.beatstore-wrap {
    padding: 20px;
    color: #fff;
}

.beatstore-section {
    margin-bottom: 40px;
    border: 2px var(--beatstore-border-style) var(--beatstore-border-color);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
}

.beatstore-section h2 {
    font-family: 'Impact', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--beatstore-text);
    border-bottom: 2px var(--beatstore-border-style) var(--beatstore-border-color);
    padding-bottom: 10px;
    margin-top: 0;
}

.beatstore-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.beatstore-heading-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.beatstore-occupation-search-inline .beatstore-search-input {
    max-width: 180px;
}

.beatstore-btn-small {
    padding: 6px 14px;
    font-size: 0.55em;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
    border-bottom: none;
}

.beatstore-subscribers-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.4);
}

.beatstore-subscriber-thumb {
    flex: 0 0 auto;
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 0;
    overflow: hidden;
    border: 2px var(--beatstore-border-style) var(--beatstore-border-color);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.beatstore-subscriber-thumb:hover {
    transform: scale(1.08);
    border-color: var(--beatstore-hover);
}

.beatstore-subscriber-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beatstore-subscriber-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--beatstore-accent);
    color: #fff;
    font-weight: bold;
    font-size: 2em;
}

.beatstore-empty {
    color: #ccc;
    font-style: italic;
}

.beatstore-search-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.beatstore-search-input {
    flex: 1 1 auto;
    max-width: 320px;
    background-color: var(--beatstore-bg);
    border: 2px var(--beatstore-border-style) var(--beatstore-border-color);
    color: var(--beatstore-text);
    padding: 8px 12px;
    font-size: 1em;
    -webkit-appearance: none;
    appearance: none;
}

.beatstore-search-input:focus {
    outline: none;
    border-color: var(--beatstore-hover);
}

.beatstore-search-input::placeholder {
    color: #aaa;
}

.beatstore-search-input::-webkit-search-cancel-button {
    filter: invert(1);
    cursor: pointer;
}

.beatstore-account-box {
    text-align: center;
    border: 2px var(--beatstore-border-style) var(--beatstore-border-color);
    background-color: rgba(139, 69, 19, 0.2);
    padding: 15px;
    margin-bottom: 30px;
}

.beatstore-btn {
    display: inline-block;
    border: 2px var(--beatstore-border-style) var(--beatstore-btn-bg);
    background-color: var(--beatstore-btn-bg);
    color: var(--beatstore-btn-text);
    padding: 8px 18px;
    margin: 0;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.beatstore-btn:hover {
    background-color: var(--beatstore-btn-hover);
    border-color: var(--beatstore-btn-hover);
    color: var(--beatstore-hover-text);
    transform: scale(1.08);
}

.beatstore-btn:active {
    transform: scale(1.14);
}

.beatstore-btn-outline {
    background-color: var(--beatstore-outline-fill);
    border-color: var(--beatstore-outline-bg);
    color: var(--beatstore-outline-text);
}

.beatstore-btn-outline:hover {
    background-color: rgba(var(--beatstore-outline-hover-rgb), 0.3);
    border-color: var(--beatstore-outline-hover);
    color: var(--beatstore-outline-hover-text);
    transform: scale(1.08);
}

.beatstore-status-active {
    color: #6dff8c;
    font-weight: bold;
}

.beatstore-free-grid, .beatstore-catalog-grid {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.beatstore-free-item:not(:first-child), .beatstore-track:not(:first-child) {
    margin-top: -1px;
}

.beatstore-free-item, .beatstore-track {
    border: 1px var(--beatstore-border-style) var(--beatstore-border-color);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 14px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.beatstore-demo-player .beatstore-catalog-grid {
    gap: 0;
}

.beatstore-demo-player .beatstore-track:not(:first-child) {
    margin-top: -1px;
}

.beatstore-track-title {
    font-weight: bold;
    text-transform: capitalize;
    color: var(--beatstore-text);
    flex: 1 1 auto;
    min-width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.beatstore-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px var(--beatstore-border-style) var(--beatstore-border-color);
    flex: 0 0 40px;
}

.beatstore-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--beatstore-bg);
    color: var(--beatstore-accent);
    font-size: 1.2em;
}

.beatstore-preview-label {
    font-size: 0.75em;
    color: #ccc;
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.beatstore-track audio, .beatstore-free-item audio {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    flex: 0 0 180px;
}

.beatstore-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
}

.beatstore-price {
    color: var(--beatstore-accent);
    font-weight: bold;
}

.beatstore-price-toggle {
    font-family: inherit;
    cursor: pointer;
}

.beatstore-paypal-btn {
    display: none;
    max-width: 260px;
}

.beatstore-paypal-btn.open {
    display: block;
}

.beatstore-buy-lease, .beatstore-buy-bundle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.beatstore-free-item > a.beatstore-btn {
    margin-left: auto;
}

.beatstore-free-cta {
    text-align: center;
    margin-top: 20px;
}

.beatstore-theme-settings-grid .beatstore-account-section {
    margin-bottom: 0;
}

.beatstore-account-section .beatstore-upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 280px;
    margin-bottom: 10px;
}

.beatstore-account-section .beatstore-upload-form > .beatstore-btn, .beatstore-account-section .beatstore-upload-form > summary.beatstore-btn, .beatstore-account-section .beatstore-upload-form > input.beatstore-search-input {
    width: 100%;
    box-sizing: border-box;
}

.beatstore-upload-controls .beatstore-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.beatstore-account-section form.beatstore-bio-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
}

.beatstore-bio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
}

.beatstore-pagination {
    margin-top: 16px;
    gap: 10px;
}

.beatstore-account-section label {
    font-weight: bold;
}

.beatstore-hint {
    font-weight: normal;
    font-size: 0.8em;
    color: #ccc;
}

.beatstore-account-section input[type="file"], .beatstore-account-section input[type="text"], .beatstore-account-section input[type="password"], .beatstore-account-section input[type="url"], .beatstore-account-section input[type="search"], .beatstore-account-section textarea {
    background-color: var(--beatstore-bg);
    border: 1px var(--beatstore-border-style) var(--beatstore-border-color);
    color: var(--beatstore-text);
    padding: 8px;
    font-family: inherit;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .beatstore-uploads-row .beatstore-btn, .beatstore-uploads-row summary.beatstore-btn {
        font-size: 0.75em;
        padding: 6px 8px;
    }

    .beatstore-upload-controls .beatstore-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        text-align: center;
        font-size: 0.8em;
        padding: 6px 8px;
    }

    .beatstore-file-row > .beatstore-btn {
        flex: 1 1 0;
        min-width: 0;
    }

    .beatstore-file-row-stacked > .beatstore-btn {
        flex: 1 1 100%;
    }
}

.beatstore-file-row-stacked > .beatstore-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.beatstore-poster-meta .beatstore-track-title {
    flex: 1 1 auto;
    min-width: 0;
}

.beatstore-history-list a.beatstore-btn {
    color: inherit;
    flex: 0 0 auto;
}

.beatstore-following-unfollow .beatstore-btn {
    padding: 2px 8px;
    font-size: 0.75em;
}

.beatstore-account-section .beatstore-upload-form.beatstore-group-chat-create {
    margin-top: 0;
}

.beatstore-demo-controls .beatstore-btn {
    margin: 0;
}

.beatstore-inline-delete-form .beatstore-btn {
    padding: 2px 8px;
    font-size: 0.75em;
}

.beatstore-comment-actions-bar .beatstore-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .beatstore-heading-btns, .beatstore-free-cta {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .beatstore-site-nav .beatstore-btn, .beatstore-profile-actions .beatstore-btn, .beatstore-heading-btns .beatstore-btn, .beatstore-free-cta .beatstore-btn {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    .beatstore-search-input {
        font-size: 0.8em;
        padding: 6px;
    }
}

.beatstore-free {
    margin-bottom: 0;
}

.beatstore-free + .beatstore-wrap {
    padding-top: 0;
}