﻿/* ==========================================================
   DIMENSION RECORD STORE
   Coopers 45 RPM
   ========================================================== */

:root {
    --black: #070707;
    --panel: #101010;
    --panel-2: #151515;
    --line: rgba(255, 255, 255, .20);
    --text: #e9e9e9;
    --muted: #ffffff;
    --orange: #f45112;
    --orange-bright: #ff641e;
    --sidebar: 318px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}


/* ==========================================================
   GLOBAL
   ========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--black);
    color: var(--text);
    font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

body {
    overflow-x: hidden;
}

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}


/* ==========================================================
   BACKGROUND
   ========================================================== */

.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .78) 0 20%,
            rgba(0, 0, 0, .12) 52%,
            rgba(0, 0, 0, .52)
        ),
        url("../images/bg.png") center / cover no-repeat;

    transform: scale(1.015);
}

.site-vignette {
    position: fixed;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 58% 48%,
            transparent 0 28%,
            rgba(0, 0, 0, .28) 70%,
            rgba(0, 0, 0, .72) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, .34),
            transparent 30%,
            rgba(0, 0, 0, .2)
        );
}


/* ==========================================================
   SIDEBAR
   ========================================================== */

.sidebar {
    position: fixed;
    z-index: 30;

    left: 0;
    top: 0;
    bottom: 0;

    width: var(--sidebar);

    display: flex;
    flex-direction: column;

    padding: 30px 24px 20px;

    background: rgba(6, 6, 6, .93);

    border-right: 1px solid rgba(255, 255, 255, .14);

    backdrop-filter: blur(4px);
}


/* ==========================================================
   BRAND
   ========================================================== */

.brand {
    height: 192px;

    display: grid;
    place-items: center;

    position: relative;

    border-bottom: 1px solid rgba(255, 255, 255, .13);

    margin: -30px -24px 22px;
}

.brand-rings {
    position: absolute;

    width: 120px;
    height: 120px;

    border: 2px solid rgba(255, 255, 255, .33);

    border-radius: 50%;
}

.brand-rings::before,
.brand-rings::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(255, 255, 255, .22);

    border-radius: 50%;
}

.brand-rings::before {
    inset: 12px;
}

.brand-rings::after {
    inset: 24px;
}

.brand-name {
    z-index: 1;

    color: var(--orange);

    font-size: 35px;
    line-height: 1;

    letter-spacing: 5px;

    font-weight: 900;
}

.brand-sub {
    z-index: 1;

    position: absolute;

    margin-top: 72px;

    font-size: 12px;
    letter-spacing: 4px;

    color: #eee;
}

.brand img {
    width: 175px;
    height: 175px;
    display: block;
    object-fit: contain;
    image-rendering: auto;
}



/* ==========================================================
   PRIMARY NAVIGATION
   ========================================================== */

.primary-nav {
    display: grid;
    gap: 3px;
}

.nav-item {
    appearance: none;

    border: 0;
    background: transparent;

    text-decoration: none;
    text-align: left;

    display: flex;
    align-items: center;

    min-height: 53px;

    padding: 0 8px;

    color: #9a9a9a;

    cursor: pointer;

    text-transform: uppercase;

    font-size: 14px;
    letter-spacing: 1.7px;

    transition:
        color .25s ease,
        background .25s ease,
        padding .25s ease;
}

.nav-item:hover,
.nav-item.is-active {
    color: var(--orange);
    background: rgba(255, 255, 255, .035);
}

.nav-item:hover {
    padding-left: 12px;
}

.nav-symbol {
    width: 43px;
    flex: 0 0 43px;

    font-size: 24px;

    text-align: center;
}


/* ==========================================================
   NOW PLAYING
   ========================================================== */

.now-playing {
    position: relative;

    margin-top: auto;

    padding: 23px 10px 22px;

    border-top: 1px solid rgba(255, 255, 255, .13);
}

.now-label {
    color: #777;

    font-size: 10px;
    letter-spacing: 2px;

    margin-bottom: 16px;
}

.eq {
    color: var(--orange);
    margin-right: 7px;
}

.track-artist {
    color: var(--orange);

    font-size: 13px;

    margin-bottom: 5px;
}

.track-title {
    color: #777;

    font-size: 12px;
}

.play-btn {
    position: absolute;

    right: 8px;
    bottom: 22px;

    width: 42px;
    height: 42px;

    border: 1px solid var(--orange);

    border-radius: 50%;

    background: transparent;

    color: var(--orange);

    cursor: pointer;
}

.play-btn:hover {
    background: var(--orange);
    color: #050505;
}


/* ==========================================================
   SOCIALS
   ========================================================== */

.socials {
    display: flex;
    gap: 27px;

    padding: 18px 10px 2px;

    border-top: 1px solid rgba(255, 255, 255, .10);
}

.socials a {
    color: var(--orange);

    text-decoration: none;

    font-size: 20px;
}


/* ==========================================================
   HAMBURGER
   ========================================================== */

.hamburger {
    position: fixed;
    z-index: 80;

    right: 31px;
    top: 28px;

    width: 46px;
    height: 42px;

    padding: 5px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.hamburger span {
    display: block;

    width: 36px;
    height: 3px;

    margin: 6px auto;

    background: var(--orange);

    transition: transform .25s ease;
}


/* ==========================================================
   MAIN HOMEPAGE
   ========================================================== */

.main {
    position: relative;
    z-index: 5;

    min-height: 100svh;

    margin-left: var(--sidebar);
}

.home {
    min-height: 100svh;

    display: grid;
    place-items: center;

    padding: 55px 55px 45px;
}

.home-card {
    width: min(
        665px,
        74vh,
        calc(100vw - var(--sidebar) - 150px)
    );

    aspect-ratio: 1;

    position: relative;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 66px 54px;

    text-align: center;

    background:
        linear-gradient(
            rgba(8, 8, 8, .16),
            rgba(8, 8, 8, .16)
        ),
        url("../images/1bg.png") center center / cover no-repeat;

    border: 0 solid rgba(255, 255, 255, .18);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .72),
        inset 0 0 90px rgba(0, 0, 0, .42);

    transform: rotate(-.45deg);

    transition:
        transform .45s var(--ease);

    overflow: hidden;
}

.home-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(0, 0, 0, .02) 0%,
            rgba(0, 0, 0, .08) 55%,
            rgba(0, 0, 0, .32) 100%
        );

    pointer-events: none;

    z-index: 1;
}

.home-card::before {
    content: "";

    position: absolute;
    inset: 5px;

    border: 0 solid rgba(244, 81, 18, .78);

    pointer-events: none;

    z-index: 3;
}

.home-card > * {
    position: relative;
    z-index: 2;
}

.home-card:hover {
    transform: rotate(0deg) translateY(-4px);
}


/* ==========================================================
   WELCOME
   ========================================================== */

.welcome {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 500;

    letter-spacing: 3px;

    margin-bottom: 22px;
}

.welcome span {
    display: block;

    width: 78px;
    height: 1px;

    background: rgba(255, 255, 255, .30);
}


/* ==========================================================
   MAIN LOGO
   ========================================================== */

.home-card h1 {
    position: relative;
    z-index: 2;

    margin: 0;

    color: var(--orange);

    font-size: clamp(45px, 5.2vw, 79px);

    line-height: .95;

    letter-spacing: 6px;

    font-weight: 900;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, .35);
}


/* ==========================================================
   SUBTITLE
   ========================================================== */

.home-subtitle {
    position: relative;
    z-index: 2;

    margin: 18px 0 25px;

    color: #e7e7e7;

    font-size: 18px;

    line-height: 1;

    letter-spacing: 7px;

    font-weight: 600;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .55);
}


/* ==========================================================
   HOME DIVIDER
   ========================================================== */

.home-divider {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    color: var(--orange);

    margin-bottom: 30px;
}

.home-divider::before,
.home-divider::after {
    content: "";

    width: 80px;
    height: 1px;

    background: rgba(255, 255, 255, .27);
}

.home-divider i {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 10px;
    height: 10px;

    font-style: normal;

    color: var(--orange);

    border: 1px solid var(--orange);

    border-radius: 50%;

    font-size: 0;
}

.home-divider i::after {
    content: "";

    width: 3px;
    height: 3px;

    background: var(--orange);

    border-radius: 50%;
}


/* ==========================================================
   HOME ACTIONS
   ========================================================== */

.home-actions {
    position: relative;
    z-index: 2;

    width: 100%;

    border: 1px solid rgba(255, 255, 255, .25);

    background: rgba(0, 0, 0, .08);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .12);
}

.home-actions button {
    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 0 22px;

    border: 0;

    border-bottom: 1px solid rgba(255, 255, 255, .18);

    background: transparent;

    color: #ddd;

    cursor: pointer;

    text-align: left;

    letter-spacing: 3px;

    font-size: 13px;

    font-weight: 600;

    transition:
        background .25s ease,
        padding .25s ease,
        color .25s ease;
}

.home-actions button:last-child {
    border-bottom: 0;
}

.home-actions button:hover {
    padding-left: 29px;

    color: var(--orange);

    background: rgba(244, 81, 18, .08);
}


/* ==========================================================
   ACTION ICON
   ========================================================== */

.action-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--orange);
}

.action-icon svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform .25s ease,
        color .25s ease;
}

.home-actions button:hover .action-icon svg {
    transform: scale(1.12);

    color: var(--orange);
}


/* ==========================================================
   RIGHT ARROW
   ========================================================== */

.home-actions b {
    margin-left: auto;

    color: var(--orange);

    font-size: 27px;

    font-weight: 300;

    line-height: 1;

    transition:
        transform .25s ease,
        color .25s ease;
}

.home-actions button:hover b {
    transform: translateX(4px);
}


/* ==========================================================
   TAGLINE
   ========================================================== */

.tagline {
    position: relative;
    z-index: 2;

    margin: 25px 0 0;

    color: var(--orange);

    font-size: 10px;

    line-height: 1.2;

    letter-spacing: 3px;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .5);
}


/* ==========================================================
   ENTRANCE ANIMATIONS
   ========================================================== */

@keyframes logoFade {

    from {
        opacity: 0;
        transform:
            translateY(14px)
            scale(.97);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }

}


@keyframes taglineFade {

    from {
        opacity: 0;
        transform:
            translateY(8px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }

}


@keyframes diggingFade {

    from {
        opacity: 0;
        transform:
            translateY(10px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }

}


@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }

}




/* ==========================================================
   POPUP / DIMENSION WINDOWS
========================================================== */

.popup-layer {
    position: fixed;

    z-index: 100;

    inset: 0;

    display: grid;

    place-items: center;

    visibility: hidden;

    opacity: 0;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


.popup-layer.is-open {
    visibility: visible;

    opacity: 1;
}


/* ==========================================================
   BACKDROP
========================================================== */

.popup-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .72);

    backdrop-filter: blur(4px);
}


/* ==========================================================
   DIMENSION WINDOW
========================================================== */

.dimension-window {
    position: relative;

    z-index: 2;

    width: min(
        980px,
        calc(100vw - 120px)
    );

    max-height: min(
        820px,
        calc(100svh - 100px)
    );

    background: rgba(10, 10, 10, .97);

    border: 1px solid rgba(255, 255, 255, .25);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, .85);

    transform:
        translateY(28px)
        scale(.96);

    opacity: 0;

    transition:
        transform .42s var(--ease),
        opacity .32s ease;

    /*
     * Keep all scrolling content inside
     * the popup frame.
     */
    overflow: hidden;

    box-sizing: border-box;
}


.popup-layer.is-open .dimension-window {
    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}


/* ==========================================================
   INNER FRAME
========================================================== */

.dimension-window::before {
    content: "";

    position: absolute;

    inset: 6px;

    border: 0 solid rgba(244, 81, 18, .65);

    pointer-events: none;

    z-index: 10;

    box-sizing: border-box;
}


/* ==========================================================
   SCROLLING CONTENT
========================================================== */
.popup-scroll {
    position: relative;

    /* Fast, native scrolling */
    overflow-y: auto;
    overflow-x: hidden;

    max-height: min(
        820px,
        calc(100svh - 100px)
    );

    padding: 58px 65px 65px;

    box-sizing: border-box;

    /* Prevent scroll chaining */
    overscroll-behavior: contain;

    /* Smooth touch scrolling */
    -webkit-overflow-scrolling: touch;

    /* Don't force browser smooth scrolling */
    scroll-behavior: auto;

    /* Improve rendering performance */
    contain: layout paint;
}


/* ==========================================================
   CLOSE BUTTON
========================================================== */

.popup-close {
    position: absolute;

    z-index: 20;

    right: 19px;

    top: 11px;

    border: 0;

    background: transparent;

    color: var(--orange);

    font-size: 42px;

    line-height: 1;

    cursor: pointer;
}


/* ==========================================================
   POPUP KICKER
========================================================== */

.popup-kicker {
    color: var(--orange);

    letter-spacing: 3px;

    font-size: 10px;

    margin-bottom: 10px;
}


/* ==========================================================
   POPUP HEADING
========================================================== */

.dimension-window h2 {
    margin: 0 0 16px;

    font-size: clamp(
        34px,
        5vw,
        58px
    );

    letter-spacing: 3px;
}


/* ==========================================================
   POPUP TEXT
========================================================== */

.intro,
.muted {
    color: #999;

    max-width: 720px;

    line-height: 1.8;
}


.muted {
    color: #777;
}

/* ==========================================================
   SHOP VINYL
   ========================================================== */

.shop-vinyl {
    position: relative;
}


/* ==========================================================
   SHOP SEARCH
   ========================================================== */

.shop-vinyl .shop-search {
    position: relative;

    margin-top: 24px;
}

.shop-vinyl #recordSearch {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, .18);

    background: #111;

    color: #eee;

    outline: none;

    font-size: 12px;

    letter-spacing: 1px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.shop-vinyl #recordSearch::placeholder {
    color: #666;

    letter-spacing: 1.5px;
}

.shop-vinyl #recordSearch:focus {
    border-color: var(--orange);

    box-shadow:
        0 0 0 1px rgba(244, 81, 18, .15);
}


/* ==========================================================
   SHOP GENRE BUTTONS
   SMALL + HORIZONTAL
   ========================================================== */

.shop-vinyl .genre-grid {
    display: flex;

    flex-direction: row;

    flex-wrap: nowrap;

    align-items: center;

    gap: 6px;

    width: 100%;

    margin-top: 24px;

    padding: 2px 0 6px;

    background: transparent;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: thin;
}

.shop-vinyl .genre-button {
    flex: 0 0 auto;

    width: auto;

    min-width: 0;

    min-height: auto;

    padding: 5px 9px;

    border: 1px solid rgba(255, 255, 255, .18);

    background: rgba(255, 255, 255, .025);

    color: #aaa;

    cursor: pointer;

    font-size: 9px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    white-space: nowrap;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.shop-vinyl .genre-button:hover,
.shop-vinyl .genre-button.is-active {
    color: #050505;

    background: var(--orange);

    border-color: var(--orange);

    transform: translateY(-1px);
}

/* ==========================================================
   CATALOGUE CATEGORY WRAPPERS
   ========================================================== */

.shop-vinyl .catalogue-category {
    position: relative;

    flex: 0 0 auto;

    display: block;
}


/* ==========================================================
   SUBGENRE POPUP
   ========================================================== */

.shop-vinyl .catalogue-subgenre-popup {
    position: absolute;

    z-index: 500;

    top: calc(100% + 6px);
    left: 0;

    min-width: 190px;

    margin: 0;

    padding: 7px;

    background: rgba(8, 8, 8, .98);

    border: 1px solid rgba(244, 81, 18, .65);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .75),
        inset 0 0 20px rgba(255, 255, 255, .025);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;
}


/*
   JavaScript removes the hidden attribute when opened.
*/

.shop-vinyl .catalogue-subgenre-popup:not([hidden]) {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/*
   Subgenre heading
*/

.shop-vinyl .catalogue-subgenre-popup .subgenre-heading {
    padding: 8px 11px;

    color: var(--orange);

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    border-bottom:
        1px solid rgba(255, 255, 255, .10);

    margin-bottom: 3px;
}


/*
   Subgenre buttons
*/

.shop-vinyl .catalogue-subgenre-popup .subgenre-button {
    display: block;

    width: 100%;

    padding: 9px 11px;

    border: 0;

    border-bottom:
        1px solid rgba(255, 255, 255, .08);

    background: transparent;

    color: #aaa;

    text-align: left;

    cursor: pointer;

    font-size: 10px;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    transition:
        color .2s ease,
        background .2s ease,
        padding-left .2s ease;
}

.shop-vinyl .catalogue-subgenre-popup
.subgenre-button:last-child {
    border-bottom: 0;
}

.shop-vinyl .catalogue-subgenre-popup
.subgenre-button:hover,

.shop-vinyl .catalogue-subgenre-popup
.subgenre-button.is-active {
    color: var(--orange);

    background: rgba(244, 81, 18, .08);

    padding-left: 15px;
}


/* ==========================================================
   SUBGENRE POPUP
   ========================================================== */

.shop-vinyl .subgenre-list {
    position: absolute;

    z-index: 200;

    min-width: 190px;

    margin-top: 5px;

    padding: 7px;

    background: rgba(8, 8, 8, .98);

    border: 1px solid rgba(244, 81, 18, .65);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .75),
        inset 0 0 20px rgba(255, 255, 255, .025);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-5px);

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;
}

.shop-vinyl .subgenre-list:not([hidden]) {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* ==========================================================
   SUBGENRE BUTTONS
   ========================================================== */

.shop-vinyl .subgenre-button {
    display: block;

    width: 100%;

    padding: 9px 11px;

    border: 0;

    border-bottom:
        1px solid rgba(255, 255, 255, .08);

    background: transparent;

    color: #aaa;

    text-align: left;

    cursor: pointer;

    font-size: 10px;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    transition:
        color .2s ease,
        background .2s ease,
        padding-left .2s ease;
}

.shop-vinyl .subgenre-button:last-child {
    border-bottom: 0;
}

.shop-vinyl .subgenre-button:hover,
.shop-vinyl .subgenre-button.is-active {
    color: var(--orange);

    background: rgba(244, 81, 18, .08);

    padding-left: 15px;
}


/* ==========================================================
   SHOP RESULTS
   ========================================================== */

.shop-vinyl .shop-results {
    margin-top: 32px;
}

.shop-vinyl #resultsTitle {
    margin: 0;

    color: #eee;

    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.shop-vinyl #resultsCount {
    color: #666;

    font-size: 10px;

    letter-spacing: 1px;
}

.shop-vinyl .shop-message {
    margin-top: 20px;

    padding: 20px;

    border: 1px solid rgba(255, 255, 255, .10);

    background: rgba(255, 255, 255, .025);

    color: #666;

    font-size: 11px;

    line-height: 1.7;

    letter-spacing: .5px;
}


/* ==========================================================
   CATALOGUE RECORDS
   ========================================================== */

.record-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 28px;
}

.record {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, .12);

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.record img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


.record:hover {
    transform:
        translateY(-6px);

    border-color:
        var(--orange);
}

.record-cover {
    aspect-ratio: 1;

    display: grid;

    place-items: center;

    font-weight: 900;

    letter-spacing: 3px;

    color: #eee;

    background:
        radial-gradient(
            circle at 35% 30%,
            #4c2b1e,
            #17100d 46%,
            #050505 72%
        );
}

.cover-two {
    background:
        radial-gradient(
            circle at 60% 30%,
            #40311f,
            #17120d 50%,
            #050505 75%
        );
}

.cover-three {
    background:
        radial-gradient(
            circle at 50% 45%,
            #b34a16,
            #261208 50%,
            #050505 75%
        );
}

.record-meta {
    padding: 15px;
}

.record-meta strong,
.record-meta span,
.record-meta b {
    display: block;
}

.record-meta strong {
    font-size: 14px;

    margin-bottom: 6px;
}

.record-meta span {
    color: #777;

    font-size: 12px;

    margin-bottom: 10px;
}

.record-meta b {
    color: var(--orange);

    font-size: 13px;
}


/* ==========================================================
   FEATURE LIST
   ========================================================== */

.feature-list {
    margin-top: 30px;

    border-top:
        1px solid rgba(255, 255, 255, .15);
}

.feature-list div {
    display: grid;

    grid-template-columns:
        55px 1fr auto;

    gap: 15px;

    align-items: center;

    min-height: 68px;

    border-bottom:
        1px solid rgba(255, 255, 255, .15);
}

.feature-list span,
.feature-list em {
    color: var(--orange);

    font-size: 11px;

    font-style: normal;

    letter-spacing: 2px;
}

.feature-list em {
    color: #666;
}


/* ==========================================================
   GENERAL GENRE GRID
   Used by Browse Genres
   ========================================================== */

.genre-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 1px;

    background:
        rgba(255, 255, 255, .15);

    margin-top: 30px;
}

.genre-grid button {
    border: 0;

    background: #111;

    color: #eee;

    min-height: 72px;

    cursor: pointer;

    letter-spacing: 3px;

    font-size: 15px;
}

.genre-grid button:hover {
    background: var(--orange);

    color: #050505;
}


/* ==========================================================
   LABEL CLOUD
   ========================================================== */

.label-cloud {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}

.label-cloud span {
    border: 1px solid rgba(255, 255, 255, .18);

    padding: 14px 18px;

    color: #aaa;

    letter-spacing: 2px;

    font-size: 11px;
}

.label-cloud span:hover {
    border-color: var(--orange);

    color: var(--orange);
}


/* ==========================================================
   FEATURED RECORD
   ========================================================== */

.featured-record {
    display: grid;

    grid-template-columns:
        280px 1fr;

    gap: 35px;

    align-items: center;

    margin-top: 25px;
}

.featured-record small {
    color: var(--orange);

    letter-spacing: 2px;
}

.featured-record h3 {
    font-size: 30px;

    margin: 12px 0;
}

.featured-record p {
    color: #888;

    line-height: 1.7;
}

.featured-record b {
    color: var(--orange);
}


/* ==========================================================
   CONTACT FORM
   ========================================================== */

.contact-form {
    display: grid;

    gap: 16px;

    max-width: 720px;

    margin-top: 25px;
}

.contact-form label {
    display: grid;

    gap: 8px;

    color: #777;

    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: 1px solid rgba(255, 255, 255, .16);

    background: #111;

    color: #eee;

    padding: 14px;

    outline: none;
}

.contact-form textarea {
    min-height: 150px;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
}

.contact-form button {
    justify-self: start;

    border: 1px solid var(--orange);

    background: transparent;

    color: var(--orange);

    padding: 14px 22px;

    cursor: pointer;

    letter-spacing: 2px;
}

.contact-form button:hover {
    background: var(--orange);

    color: #050505;
}


/* ==========================================================
   MENU OVERLAY
   ========================================================== */

.menu-overlay {
    position: fixed;

    z-index: 70;

    inset: 0;

    display: grid;

    place-items: center;

    background: rgba(5, 5, 5, .98);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.menu-overlay.is-open {
    opacity: 1;

    visibility: visible;
}

.menu-inner {
    display: grid;

    gap: 18px;

    text-align: center;

    width: min(
        500px,
        86vw
    );
}

.menu-logo {
    color: var(--orange);

    font-size: 31px;

    letter-spacing: 5px;

    font-weight: 900;

    margin-bottom: 20px;
}

.menu-logo small {
    display: block;

    color: #eee;

    font-size: 10px;

    letter-spacing: 4px;

    margin-top: 8px;
}

.menu-inner button {
    border: 0;

    background: transparent;

    color: #ddd;

    padding: 10px;

    cursor: pointer;

    font-size: 22px;

    letter-spacing: 4px;
}

.menu-inner button:hover {
    color: var(--orange);
}

.menu-close {
    position: absolute;

    right: 28px;

    top: 20px;

    border: 0;

    background: transparent;

    color: var(--orange);

    font-size: 48px;

    cursor: pointer;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1150px) {

    :root {
        --sidebar: 235px;
    }

    .sidebar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand {
        margin-left: -16px;
        margin-right: -16px;
    }

    .brand-name {
        font-size: 27px;

        letter-spacing: 4px;
    }

    .nav-item {
        font-size: 12px;
    }

    .home {
        padding: 45px 35px;
    }

    .home-card {
        width: min(
            620px,
            73vh,
            calc(100vw - var(--sidebar) - 100px)
        );

        padding: 50px 42px;
    }

    .shop-vinyl .genre-grid {
        gap: 5px;
    }

    .shop-vinyl .genre-button {
        padding: 5px 8px;

        font-size: 8px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 800px) {

    .sidebar {
        display: none;
    }

    .main {
        margin-left: 0;
    }

    .hamburger {
        right: 20px;

        top: 18px;
    }

    .home {
        padding: 65px 18px 25px;
    }

    .home-card {
        width: min(
            92vw,
            650px
        );

        max-height: none;

        padding: 44px 22px;

        aspect-ratio: 1;
    }

    .home-card h1 {
        font-size:
            clamp(
                38px,
                12vw,
                66px
            );

        letter-spacing: 4px;
    }

    .home-subtitle {
        font-size: 12px;

        letter-spacing: 4px;
    }

    .welcome {
        font-size: 9px;

        gap: 10px;
    }

    .welcome span {
        width: 45px;
    }

    .home-actions button {
        min-height: 50px;

        padding: 0 14px;

        font-size: 10px;

        letter-spacing: 2px;
    }

    .action-icon {
        width: 25px;

        font-size: 19px;
    }

    .dimension-window {
        width:
            calc(100vw - 24px);

        max-height:
            calc(100svh - 24px);
    }

    .popup-scroll {
        max-height:
            calc(100svh - 24px);

        padding:
            52px 22px 30px;
    }

    .record-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .featured-record {
        grid-template-columns: 1fr;
    }

    .featured-record .record-cover {
        max-width: 280px;
    }


    /* ------------------------------------------------------
       MOBILE SHOP GENRES
       ------------------------------------------------------ */

    .shop-vinyl .genre-grid {
        display: flex;

        flex-direction: row;

        flex-wrap: nowrap;

        gap: 5px;

        overflow-x: auto;
        overflow-y: hidden;
    }

    .shop-vinyl .genre-button {
        flex: 0 0 auto;

        padding: 5px 8px;

        font-size: 8px;

        letter-spacing: 1px;
    }

    /*
       On touch screens the JS click opens the panel.
       We make the panel part of the flow so it doesn't
       disappear off-screen.
    */

    .shop-vinyl .subgenre-list {
        position: relative;

        width: 100%;

        min-width: 0;

        margin-top: 5px;

        margin-bottom: 5px;

        box-shadow: none;
    }
}


/* ==========================================================
   SMALL PHONES
   ========================================================== */

@media (max-width: 480px) {

    .home {
        padding: 62px 10px 15px;
    }

    .home-card {
        width: 96vw;

        padding: 34px 13px;
    }

    .home-card h1 {
        font-size: 36px;

        letter-spacing: 3px;
    }

    .home-subtitle {
        margin:
            12px 0 17px;
    }

    .home-divider {
        margin-bottom: 18px;
    }

    .home-actions button {
        min-height: 47px;
    }

    .tagline {
        margin-top: 18px;

        font-size: 8px;
    }

    .record-grid {
        grid-template-columns: 1fr;
    }

    .genre-grid {
        grid-template-columns: 1fr;
    }

    .feature-list div {
        grid-template-columns:
            40px 1fr;
    }

    .feature-list em {
        grid-column: 2;

        margin-top: -15px;
    }

    /* Small horizontal Shop buttons */

    .shop-vinyl .genre-grid {
        gap: 4px;

        flex-wrap: nowrap;
    }

    .shop-vinyl .genre-button {
        flex: 0 0 auto;

        padding: 4px 7px;

        font-size: 8px;

        letter-spacing: .8px;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important;
    }
}

/* ==========================================================
   MODERN 45 RPM CATALOGUE
   ========================================================== */

.catalogue {
    width: 100%;
}


/* ==========================================================
   HEADER
   ========================================================== */

.catalogue-header {
    display: grid;

    grid-template-columns: 1fr minmax(260px, 340px);

    gap: 40px;

    align-items: end;

    padding-bottom: 28px;

    border-bottom:
        1px solid rgba(255,255,255,.14);
}


.catalogue-label {
    display: block;

    margin-bottom: 9px;

    color: var(--orange);

    font-size: 9px;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.catalogue-heading h3 {
    margin: 0;

    color: #eee;

    font-size: clamp(34px, 5vw, 58px);

    line-height: .95;

    letter-spacing: 3px;

    font-weight: 800;

    text-transform: uppercase;
}


.catalogue-heading p {
    margin: 14px 0 0;

    color: #777;

    font-size: 12px;

    letter-spacing: 1px;
}


/* ==========================================================
   SEARCH
   ========================================================== */

.catalogue-search label {
    display: block;

    margin-bottom: 8px;

    color: #fff;

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.search-box {
    display: flex;

    align-items: center;

    height: 44px;

    border:
        1px solid rgba(255,255,255,.16);

    background: #333333;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.search-box:focus-within {
    border-color: var(--orange);

    box-shadow:
        0 0 0 1px
        rgba(244,81,18,.12);
}


.search-icon {
    width: 42px;

    color: var(--orange);

    font-size: 22px;

    text-align: center;
}


.search-box input {
    width: 100%;

    height: 100%;

    padding: 0 12px 0 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #ffffff;

    font-size: 11px;

    letter-spacing: 1px;
}


.search-box input::placeholder {
    color: #fff;
}


/* ==========================================================
   SECTION HEADINGS
   ========================================================== */

.catalogue-genres {
    margin-top: 32px;
}


.section-heading {
    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 17px;
}


.section-heading span,
.results-kicker,
.subgenre-heading span {
    display: block;

    margin-bottom: 5px;

    color: var(--orange);

    font-size: 8px;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.section-heading h4 {
    margin: 0;

    color: #ffffff;

    font-size: 17px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.section-heading p {
    margin: 0;

    color: #ffffff;

    font-size: 10px;

    letter-spacing: 1px;
}


/* ==========================================================
   GENRE CARDS
   ========================================================== */

.catalogue-genre-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}


.genre-card-wrap {
    position: relative;
}


.catalogue-genre {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 1 / .78;

    padding: 0;

    overflow: hidden;

    border: 1px solid
        rgba(255,255,255,.15);

    background: #111;

    color: #fff;

    cursor: pointer;

    text-align: left;

    transition:
        transform .25s var(--ease),
        border-color .25s ease,
        box-shadow .25s ease;
}


.catalogue-genre img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(.25)
        brightness(.55);

    transition:
        transform .45s var(--ease),
        filter .3s ease;
}


.genre-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.05) 20%,
            rgba(0,0,0,.82) 100%
        );
}


.catalogue-genre:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--orange);

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.45);
}


.catalogue-genre:hover img {
    transform: scale(1.06);

    filter:
        grayscale(0)
        brightness(.72);
}


.genre-name {
    position: absolute;

    left: 13px;

    bottom: 11px;

    z-index: 2;

    color: #eee;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.genre-arrow {
    position: absolute;

    right: 12px;

    bottom: 8px;

    z-index: 2;

    color: var(--orange);

    font-size: 21px;

    font-weight: 300;

    opacity: .8;

    transition:
        transform .25s ease;
}


.catalogue-genre:hover .genre-arrow {
    transform:
        translate(3px,-3px);
}


/* ==========================================================
   SUBGENRES
   ========================================================== */

.catalogue-subgenres {
    margin-top: 12px;

    padding: 15px;

    border:
        1px solid
        rgba(244,81,18,.35);

    background:
        rgba(244,81,18,.035);

    animation:
        subgenreIn .2s ease;
}


@keyframes subgenreIn {

    from {
        opacity: 0;

        transform:
            translateY(-5px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


.subgenre-heading {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 11px;
}


.subgenre-heading span {
    margin: 0;
}


.subgenre-heading strong {
    color: #eee;

    font-size: 11px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.subgenre-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


.subgenre-button {
    padding: 7px 10px;

    border:
        1px solid
        rgba(255,255,255,.14);

    background:
        rgba(255,255,255,.025);

    color: #999;

    cursor: pointer;

    font-size: 9px;

    letter-spacing: 1.1px;

    text-transform: uppercase;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}


.subgenre-button:hover,
.subgenre-button.is-active {
    color: #050505;

    background: var(--orange);

    border-color: var(--orange);
}


/* ==========================================================
   TOOLBAR
   ========================================================== */

.catalogue-toolbar {
    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 20px;

    margin-top: 38px;

    padding-bottom: 14px;

    border-bottom:
        1px solid
        rgba(255,255,255,.13);
}


.catalogue-results-heading {
    display: flex;

    align-items: baseline;

    gap: 12px;

    flex-wrap: wrap;
}


.catalogue-results-heading .results-kicker {
    width: 100%;

    margin-bottom: -4px;
}


.catalogue-results-heading h4 {
    margin: 0;

    color: #ddd;

    font-size: 16px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


#resultsCount {
    color: #555;

    font-size: 9px;

    letter-spacing: 1px;
}


.catalogue-sort {
    display: flex;

    align-items: center;

    gap: 8px;
}


.catalogue-sort label {
    color: #555;

    font-size: 8px;

    letter-spacing: 2px;
}


.catalogue-sort select {
    height: 30px;

    padding: 0 25px 0 9px;

    border:
        1px solid
        rgba(255,255,255,.15);

    background: #111;

    color: #aaa;

    outline: none;

    font-size: 9px;

    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;
}


.catalogue-sort select:focus {
    border-color: var(--orange);
}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

.catalogue-empty {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 230px;

    padding: 35px;

    border:
        1px solid
        rgba(255,255,255,.09);

    background:
        rgba(255,255,255,.018);

    text-align: center;
}


.empty-disc {
    position: relative;

    width: 70px;
    height: 70px;

    margin-bottom: 18px;

    border-radius: 50%;

    background:
        repeating-radial-gradient(
            circle,
            #151515 0 2px,
            #080808 3px 5px
        );

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.6);
}


.empty-disc::before {
    content: "";

    position: absolute;

    inset: 26px;

    border-radius: 50%;

    background:
        var(--orange);
}


.empty-disc span {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 5px;
    height: 5px;

    transform:
        translate(-50%,-50%);

    border-radius: 50%;

    background: #111;

    z-index: 2;
}


.catalogue-empty h4 {
    margin: 0 0 8px;

    color: #aaa;

    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.catalogue-empty p {
    margin: 0;

    color: #555;

    font-size: 10px;

    letter-spacing: .5px;
}


/* ==========================================================
   RECORD CARDS
   ========================================================== */

.catalogue-record-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 20px;
}


.catalogue-record {
    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.11);

    background: #111;

    transition:
        transform .25s ease,
        border-color .25s ease;
}


.catalogue-record:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(244,81,18,.7);
}


.catalogue-record-cover {
    aspect-ratio: 1;

    overflow: hidden;

    background: #171717;
}


.catalogue-record-cover img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .4s var(--ease);
}


.catalogue-record:hover
.catalogue-record-cover img {
    transform: scale(1.04);
}


.catalogue-record-info {
    padding: 12px;
}


.catalogue-record-artist {
    display: block;

    margin-bottom: 4px;

    color: var(--orange);

    font-size: 6px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.catalogue-record-title {
    display: block;

    margin-bottom: 8px;

    color: #ddd;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: .5px;
}


.catalogue-record-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 9px;

    border-top:
        1px solid
        rgba(255,255,255,.08);
}


.catalogue-record-label {
    color: #555;

    font-size: 8px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.catalogue-record-price {
    color: var(--orange);

    font-size: 9px;

    font-weight: 700;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 800px) {

    .catalogue-header {
        grid-template-columns: 1fr;

        gap: 24px;
    }


    .catalogue-genre-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }


    .catalogue-genre {
        aspect-ratio: 1 / .85;
    }


    .genre-name {
        font-size: 10px;

        left: 10px;

        bottom: 9px;
    }


    .genre-arrow {
        right: 9px;

        bottom: 6px;

        font-size: 17px;
    }


    .section-heading {
        display: block;
    }


    .section-heading p {
        margin-top: 7px;
    }


    .catalogue-toolbar {
        align-items: flex-start;

        flex-direction: column;
    }


    .catalogue-sort {
        width: 100%;
    }


    .catalogue-sort select {
        flex: 1;
    }


    .catalogue-record-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

}


@media (max-width: 480px) {

    .catalogue-heading h3 {
        font-size: 34px;
    }


    .catalogue-genre-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .catalogue-genre {
        aspect-ratio: 1;
    }


    .genre-name {
        font-size: 9px;

        letter-spacing: 1px;
    }


    .subgenre-buttons {
        gap: 5px;
    }


    .subgenre-button {
        padding:
            6px 8px;

        font-size: 8px;
    }


    .catalogue-record-grid {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================
   COOPERS 45RPM
   SHOP / GENRE / SUBGENRE — CLEANED SYSTEM
   ========================================================== */


/* ==========================================================
   SHOP
   ========================================================== */

.shop-vinyl {
    width: 100%;
    position: relative;
}


/* ==========================================================
   SHOP HEADER
   ========================================================== */

.shop-vinyl .catalogue-header {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 300px);
    gap: 35px;
    align-items: end;

    padding-bottom: 25px;

    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.shop-vinyl .catalogue-label {
    display: block;

    margin-bottom: 8px;

    color: var(--orange);

    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.shop-vinyl .catalogue-heading h3 {
    margin: 0;

    color: #eee;

    font-size: clamp(34px, 5vw, 58px);
    line-height: .95;
    letter-spacing: 3px;
    font-weight: 800;

    text-transform: uppercase;
}

.shop-vinyl .catalogue-heading p {
    max-width: 680px;

    margin: 13px 0 0;

    color: #777;

    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 1px;
}


/* ==========================================================
   SEARCH
   ========================================================== */

.shop-vinyl .catalogue-search label {
    display: block;

    margin-bottom: 8px;

    color: #555;

    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.shop-vinyl .search-box {
    display: flex;
    align-items: center;

    height: 43px;

    border: 1px solid rgba(255, 255, 255, .15);

    background: #0d0d0d;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.shop-vinyl .search-box:focus-within {
    border-color: var(--orange);

    box-shadow:
        0 0 0 1px rgba(244, 81, 18, .12);
}

.shop-vinyl .search-icon {
    width: 40px;
    flex: 0 0 40px;

    color: var(--orange);

    font-size: 19px;
    text-align: center;
}

.shop-vinyl .search-box input {
    width: 100%;
    height: 100%;

    padding: 0 12px 0 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #eee;

    font-size: 10px;
    letter-spacing: 1px;
}

.shop-vinyl .search-box input::placeholder {
    color: #555;
}


/* ==========================================================
   GENRE SECTION
   ========================================================== */

.shop-vinyl .catalogue-genres {
    margin-top: 30px;
}

.shop-vinyl .section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 14px;
}

.shop-vinyl .section-heading span {
    display: block;

    margin-bottom: 5px;

    color: var(--orange);

    font-size: 8px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.shop-vinyl .section-heading h4 {
    margin: 0;

    color: #ddd;

    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.shop-vinyl .section-heading p {
    margin: 0;

    color: #555;

    font-size: 9px;
    letter-spacing: 1px;
}


/* ==========================================================
   GENRE NAVIGATION
   ========================================================== */

.shop-vinyl .genre-grid,
.shop-vinyl .catalogue-genre-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;

    gap: 7px;

    width: 100%;

    margin-top: 0;
    padding: 0 0 10px;

    background: transparent;

    border-bottom: 1px solid rgba(255, 255, 255, .10);

    overflow-x: auto;
    overflow-y: visible;

    scrollbar-width: thin;
}

/* Prevent the scrollbar from becoming visually dominant */
.shop-vinyl .genre-grid::-webkit-scrollbar,
.shop-vinyl .catalogue-genre-grid::-webkit-scrollbar {
    height: 3px;
}

.shop-vinyl .genre-grid::-webkit-scrollbar-track,
.shop-vinyl .catalogue-genre-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .03);
}

.shop-vinyl .genre-grid::-webkit-scrollbar-thumb,
.shop-vinyl .catalogue-genre-grid::-webkit-scrollbar-thumb {
    background: rgba(244, 81, 18, .55);
}


/* ==========================================================
   GENRE WRAPPERS
   ========================================================== */

.shop-vinyl .catalogue-category,
.shop-vinyl .genre-card-wrap {
    position: relative;

    flex: 0 0 auto;
}


/* ==========================================================
   GENRE BUTTONS
   ========================================================== */

.shop-vinyl .genre-button,
.shop-vinyl .catalogue-category-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-width: 0;
    min-height: 34px;

    padding: 0 13px;

    border: 1px solid rgba(255, 255, 255, .14);

    background: rgba(255, 255, 255, .018);

    color: #777;

    cursor: pointer;

    font-size: 9px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1.4px;

    text-transform: uppercase;
    white-space: nowrap;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.shop-vinyl .genre-button:hover,
.shop-vinyl .genre-button.is-active,
.shop-vinyl .catalogue-category-button:hover,
.shop-vinyl .catalogue-category-button.is-active {
    color: #050505;

    background: var(--orange);

    border-color: var(--orange);

    transform: translateY(-1px);

    box-shadow:
        0 5px 16px rgba(244, 81, 18, .16);
}


/* ==========================================================
   SUBGENRE SYSTEM
   ==========================================================

   The subgenre panel is intentionally INLINE.

   It should read as:

       GENRES
       [ SOUL ] [ JAZZ ] [ FUNK ] ...

       ┌─────────────────────────────────────────────┐
       │ SOUL / SUBGENRES                            │
       │ [ Northern ] [ Southern ] [ Philly ] ...   │
       └─────────────────────────────────────────────┘

   rather than a floating dropdown.
   ========================================================== */

.shop-vinyl .catalogue-subgenre-popup,
.shop-vinyl .subgenre-list {

    position: relative;

    z-index: 5;

    display: none;

    width: 100%;
    min-width: 0;

    margin: 14px 0 0;
    padding: 15px 16px;

    background:
        linear-gradient(
            180deg,
            rgba(244, 81, 18, .055),
            rgba(255, 255, 255, .012)
        );

    border:
        1px solid rgba(244, 81, 18, .30);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035),
        inset 0 0 35px rgba(0, 0, 0, .20);

    opacity: 1;
    visibility: visible;
    transform: none;
}


/*
   JS opens the panel by removing [hidden].
*/

.shop-vinyl .catalogue-subgenre-popup:not([hidden]),
.shop-vinyl .subgenre-list:not([hidden]) {
    display: block;

    animation: shopSubgenreIn .22s var(--ease);
}

@keyframes shopSubgenreIn {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================
   SUBGENRE HEADING
   ========================================================== */

.shop-vinyl .catalogue-subgenre-popup .subgenre-heading,
.shop-vinyl .subgenre-list .subgenre-heading,
.shop-vinyl .subgenre-heading {

    display: flex;
    align-items: center;
    gap: 11px;

    margin: 0 0 12px;
    padding: 0 0 10px;

    border-bottom:
        1px solid rgba(255, 255, 255, .09);

    color: #777;

    font-size: 8px;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.shop-vinyl .catalogue-subgenre-popup .subgenre-heading::before,
.shop-vinyl .subgenre-list .subgenre-heading::before,
.shop-vinyl .subgenre-heading::before {

    content: "";

    width: 20px;
    height: 1px;

    flex: 0 0 20px;

    background: var(--orange);
}

.shop-vinyl .catalogue-subgenre-popup .subgenre-heading span,
.shop-vinyl .subgenre-list .subgenre-heading span,
.shop-vinyl .subgenre-heading span {

    margin: 0;

    color: var(--orange);

    font-size: 8px;
    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ==========================================================
   SUBGENRE BUTTON CONTAINER
   ========================================================== */

.shop-vinyl .subgenre-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


/* ==========================================================
   SUBGENRE BUTTONS
   ========================================================== */

.shop-vinyl .catalogue-subgenre-popup .subgenre-button,
.shop-vinyl .subgenre-list .subgenre-button,
.shop-vinyl .subgenre-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;

    min-height: 30px;

    padding: 0 11px;

    border:
        1px solid rgba(255, 255, 255, .12);

    background:
        rgba(255, 255, 255, .025);

    color: #777;

    cursor: pointer;

    font-size: 8px;
    letter-spacing: 1.2px;

    text-transform: uppercase;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.shop-vinyl .catalogue-subgenre-popup .subgenre-button:hover,
.shop-vinyl .catalogue-subgenre-popup .subgenre-button.is-active,
.shop-vinyl .subgenre-list .subgenre-button:hover,
.shop-vinyl .subgenre-list .subgenre-button.is-active,
.shop-vinyl .subgenre-button:hover,
.shop-vinyl .subgenre-button.is-active {

    color: #050505;

    background: var(--orange);

    border-color: var(--orange);

    transform: translateY(-1px);
}


/* ==========================================================
   SUBGENRE ACTIVE CONTEXT
   ========================================================== */

/*
   If the JS places an active class on the genre wrapper,
   this creates a subtle visual connection between the
   selected genre and its subgenre panel.
*/

.shop-vinyl .catalogue-category:has(.genre-button.is-active),
.shop-vinyl .genre-card-wrap:has(.genre-button.is-active) {
    z-index: 10;
}


/* ==========================================================
   RESULTS TOOLBAR
   ========================================================== */

.shop-vinyl .catalogue-toolbar {

    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 20px;

    margin-top: 32px;
    padding-bottom: 13px;

    border-bottom:
        1px solid rgba(255, 255, 255, .13);
}

.shop-vinyl .catalogue-results-heading {

    display: flex;

    align-items: baseline;

    gap: 10px;

    flex-wrap: wrap;
}

.shop-vinyl .catalogue-results-heading .results-kicker {

    width: 100%;

    margin-bottom: -3px;

    color: var(--orange);

    font-size: 8px;
    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.shop-vinyl .catalogue-results-heading h4 {

    margin: 0;

    color: #ddd;

    font-size: 15px;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.shop-vinyl #resultsCount {

    color: #555;

    font-size: 9px;
    letter-spacing: 1px;
}


/* ==========================================================
   SORT
   ========================================================== */

.shop-vinyl .catalogue-sort {

    display: flex;

    align-items: center;

    gap: 8px;
}

.shop-vinyl .catalogue-sort label {

    color: #555;

    font-size: 8px;
    letter-spacing: 2px;
}

.shop-vinyl .catalogue-sort select {

    height: 29px;

    padding: 0 24px 0 9px;

    border:
        1px solid rgba(255, 255, 255, .14);

    background: #111;

    color: #888;

    outline: none;

    font-size: 8px;
    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;
}

.shop-vinyl .catalogue-sort select:focus {

    border-color: var(--orange);
}


/* ==========================================================
   RECORD GRID
   Main catalogue appearance preserved.
   ========================================================== */

.shop-vinyl .record-grid,
.shop-vinyl .catalogue-record-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 13px;

    margin-top: 18px;
}


/* ==========================================================
   RECORD CARDS
   ========================================================== */

.shop-vinyl .record,
.shop-vinyl .catalogue-record {

    position: relative;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, .11);

    background: #111;

    transition:
        transform .25s var(--ease),
        border-color .25s ease,
        box-shadow .25s ease;
}

.shop-vinyl .record:hover,
.shop-vinyl .catalogue-record:hover {

    transform: translateY(-5px);

    border-color:
        rgba(244, 81, 18, .72);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, .42);
}


/* ==========================================================
   RECORD COVERS
   ========================================================== */

.shop-vinyl .record-cover,
.shop-vinyl .catalogue-record-cover {

    position: relative;

    aspect-ratio: 1;

    overflow: hidden;

    background: #171717;
}

.shop-vinyl .record-cover img,
.shop-vinyl .catalogue-record-cover img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s var(--ease),
        filter .3s ease;
}

.shop-vinyl .record:hover .record-cover img,
.shop-vinyl .catalogue-record:hover
.catalogue-record-cover img {

    transform: scale(1.045);

    filter: brightness(1.04);
}


/* ==========================================================
   RECORD INFORMATION
   ========================================================== */

.shop-vinyl .record-meta,
.shop-vinyl .catalogue-record-info {

    padding: 12px 12px 13px;
}

.shop-vinyl .record-meta strong,
.shop-vinyl .catalogue-record-artist {

    display: block;

    margin-bottom: 4px;

    color: var(--orange);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.shop-vinyl .record-meta span,
.shop-vinyl .catalogue-record-title {

    display: block;

    margin-bottom: 9px;

    color: #ddd;

    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: .5px;
}

.shop-vinyl .catalogue-record-bottom {

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-top: 9px;

    border-top:
        1px solid rgba(255, 255, 255, .08);
}

.shop-vinyl .catalogue-record-label {

    color: #555;

    font-size: 7px;
    letter-spacing: 1px;

    text-transform: uppercase;
}

.shop-vinyl .record-meta b,
.shop-vinyl .catalogue-record-price {

    color: var(--orange);

    font-size: 10px;
    font-weight: 700;
}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

.shop-vinyl .catalogue-empty,
.shop-vinyl .shop-message {

    min-height: 190px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 30px;

    border:
        1px solid rgba(255, 255, 255, .09);

    background:
        rgba(255, 255, 255, .015);

    text-align: center;
}

.shop-vinyl .catalogue-empty h4 {

    margin: 0 0 7px;

    color: #aaa;

    font-size: 12px;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.shop-vinyl .catalogue-empty p,
.shop-vinyl .shop-message {

    color: #555;

    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .5px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1150px) {

    .shop-vinyl .catalogue-record-grid,
    .shop-vinyl .record-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 800px) {

    .shop-vinyl .catalogue-header {

        grid-template-columns: 1fr;

        gap: 22px;
    }

    .shop-vinyl .genre-grid,
    .shop-vinyl .catalogue-genre-grid {

        gap: 5px;
    }

    .shop-vinyl .genre-button,
    .shop-vinyl .catalogue-category-button {

        min-height: 32px;

        padding: 0 10px;

        font-size: 8px;
    }

    .shop-vinyl .catalogue-toolbar {

        align-items: flex-start;

        flex-direction: column;

        gap: 13px;
    }

    .shop-vinyl .catalogue-sort {

        width: 100%;
    }

    .shop-vinyl .catalogue-sort select {

        flex: 1;
    }

    .shop-vinyl .record-grid,
    .shop-vinyl .catalogue-record-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .shop-vinyl .catalogue-subgenre-popup,
    .shop-vinyl .subgenre-list {

        margin-top: 10px;

        padding: 13px;
    }

    .shop-vinyl .subgenre-buttons {

        gap: 5px;
    }
}


/* ==========================================================
   SMALL PHONES
   ========================================================== */

@media (max-width: 480px) {

    .shop-vinyl .catalogue-heading h3 {

        font-size: 34px;
    }

    .shop-vinyl .section-heading {

        display: block;
    }

    .shop-vinyl .section-heading p {

        margin-top: 6px;
    }

    .shop-vinyl .subgenre-buttons {

        gap: 4px;
    }

    .shop-vinyl .subgenre-button {

        min-height: 27px;

        padding: 0 8px;

        font-size: 7px;
    }

    .shop-vinyl .record-grid,
    .shop-vinyl .catalogue-record-grid {

        grid-template-columns: 1fr;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #070707;
}

::-webkit-scrollbar-thumb {
  background: #8a8a8a;
  border: 2px solid #070707;
}

::-webkit-scrollbar-thumb:hover {
  background: #070707;
}

/* Firefox */
html {
  scrollbar-color: #8a8a8a #070707;
  scrollbar-width: auto;
}

.subgenre-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 6rem;
}

.subgenre-page .genre-back-button {
    margin-bottom: 5rem;
}

.subgenre-page-kicker {
    margin-bottom: 1rem;
}

.subgenre-page-title {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: 0.88;
    letter-spacing: -0.055em;
}

.subgenre-page-description {
    margin-top: 2rem;
    max-width: 520px;
}

.subgenre-records {
    margin-top: 7rem;
    padding-top: 1.5rem;

    border-top: 1px solid currentColor;
}

/* ==========================================================
   GENRE PAGE
========================================================== */

.genre-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 6rem;
}


/* ----------------------------------------------------------
   HEADER
---------------------------------------------------------- */

.genre-page-header {
    margin-bottom: 5rem;
}

.genre-page-header .genre-back-button {
    margin-bottom: 4rem;
}

.genre-page-kicker {
    display: block;

    margin-bottom: 1rem;

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.55;
}

.genre-page-title {
    margin: 0;

    font-size: clamp(3.5rem, 10vw, 9rem);
    line-height: 0.85;
    letter-spacing: -0.06em;
    font-weight: 500;
}

.genre-page-description {
    max-width: 550px;
    margin-top: 2rem;

    font-size: 1rem;
    line-height: 1.6;

    opacity: 0.65;
}


/* ----------------------------------------------------------
   SUBGENRES
---------------------------------------------------------- */

.genre-subgenres {
    margin-top: 4rem;
}

.genre-subgenres-label {
    display: block;

    margin-bottom: 1rem;

    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.5;
}


.genre-subgenre-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    border-top: 1px solid currentColor;
}


/* ----------------------------------------------------------
   SUBGENRE BUTTONS
---------------------------------------------------------- */

.catalogue-subgenre {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 1.25rem 0;

    border: 0;
    border-bottom: 1px solid currentColor;

    background: none;

    font: inherit;
    text-align: left;

    cursor: pointer;

    transition:
        padding 0.25s ease,
        opacity 0.25s ease;
}


.catalogue-subgenre:hover {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}


.subgenre-name {
    font-size: 1rem;
}


.subgenre-arrow {
    font-size: 1rem;

    opacity: 0.5;

    transition:
        transform 0.25s ease;
}


.catalogue-subgenre:hover .subgenre-arrow {
    transform: translate(3px, -3px);
}


/* ----------------------------------------------------------
   GENRE RECORD AREA
---------------------------------------------------------- */

.genre-records {
    margin-top: 6rem;
    padding-top: 1.5rem;

    border-top: 1px solid currentColor;
}

.genre-records-kicker {
    display: block;

    margin-bottom: 0.5rem;

    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.5;
}

.genre-records h4 {
    margin: 0;

    font-size: 1.5rem;
    font-weight: 500;
}

.genre-records-message {
    margin-top: 1rem;

    opacity: 0.55;
}

/* ==========================================================
   SUBGENRE BUTTON GRID
========================================================== */

.genre-subgenre-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 1.25rem;
}


/* ==========================================================
   SUBGENRE BUTTON
========================================================== */

.catalogue-subgenre {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 48px;

    padding: 0.7rem 0.9rem;

    border: 0px solid currentColor;
    border-radius: 0;

    background: transparent;
    color: inherit;

    font: inherit;
    text-align: left;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}


/* ==========================================================
   TEXT
========================================================== */

.subgenre-name {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}


/* ==========================================================
   ARROW
========================================================== */

.subgenre-arrow {
    font-size: 0.85rem;
    opacity: 0.55;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* ==========================================================
   HOVER — ORANGE
========================================================== */

.catalogue-subgenre:hover {
    color: #f36f21;
    border-color: #f36f21;
    background: transparent;

    transform: translateY(-1px);
}

.catalogue-subgenre:hover .subgenre-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}


/* ==========================================================
   ACTIVE
========================================================== */

.catalogue-subgenre:active {
    transform: translateY(0);
}


/* ==========================================================
   KEYBOARD FOCUS
========================================================== */

.catalogue-subgenre:focus-visible {
    outline: 2px solid #f36f21;
    outline-offset: 3px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .genre-subgenre-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .catalogue-subgenre {
        min-height: 44px;
        padding: 0.6rem 0.7rem;
    }

    .subgenre-name {
        font-size: 0.72rem;
    }

    .subgenre-arrow {
        font-size: 0.75rem;
    }
}

/* ==========================================================
   GENRE + SUBGENRE PAGES
========================================================== */

.genre-page,
.subgenre-page {
    width: 100%;
    box-sizing: border-box;
}


/* ==========================================================
   BACK BUTTON
========================================================== */

.genre-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 32px;

    padding: 0;

    border: 0;
    background: none;

    color: inherit;

    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.genre-back-button:hover {
    color: #d86f28;
    transform: translateX(-3px);
}


/* ==========================================================
   GENRE PAGE
========================================================== */

.genre-page-header {
    margin-bottom: 48px;
}

.genre-page-description,
.subgenre-page-description {
    max-width: 600px;

    margin: 0;

    color: rgba(0, 0, 0, 0.58);

    font-size: 15px;
    line-height: 1.7;
}


/* ==========================================================
   SUBGENRE SECTION
========================================================== */

.genre-subgenres {
    margin-bottom: 64px;
}


/* ==========================================================
   SECTION HEADING
========================================================== */

.genre-page .section-heading,
.subgenre-page .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 24px;

    padding-bottom: 16px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.genre-page .section-heading > div,
.subgenre-page .section-heading > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.genre-page .section-heading span,
.subgenre-page .section-heading span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.55;
}

.genre-page .section-heading h4,
.subgenre-page .section-heading h4 {
    margin: 0;

    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
}

.genre-page .section-heading p,
.subgenre-page .section-heading p {
    max-width: 360px;

    margin: 0;

    font-size: 12px;
    line-height: 1.5;

    opacity: 0.55;
}


/* ==========================================================
   SUBGENRE GRID
========================================================== */

.genre-subgenre-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(165px, 1fr));

    gap: 10px;
}


/* ==========================================================
   SUBGENRE BUTTONS
========================================================== */

.catalogue-subgenre {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 46px;

    box-sizing: border-box;

    padding: 0 14px;

    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 0;

    background: transparent;

    color: inherit;

    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-align: left;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.catalogue-subgenre:hover {
    border-color: #d86f28;

    color: #d86f28;

    background: rgba(216, 111, 40, 0.04);

    transform: translateY(-2px);
}

.catalogue-subgenre:focus-visible {
    outline: 2px solid #d86f28;
    outline-offset: 3px;
}


/* ==========================================================
   SUBGENRE ARROW
========================================================== */

.subgenre-arrow {
    margin-left: 12px;

    font-size: 13px;

    transition:
        transform 0.2s ease;
}

.catalogue-subgenre:hover .subgenre-arrow {
    transform: translate(2px, -2px);
}


/* ==========================================================
   GENRE RECORD AREA
========================================================== */

.genre-records {
    margin-top: 20px;
}


/* ==========================================================
   SUBGENRE PAGE
========================================================== */

.subgenre-page-header {
    margin-bottom: 64px;
}


/* ==========================================================
   RECORD AREA
========================================================== */

.genre-records .catalogue-results,
.subgenre-records .catalogue-results {
    width: 100%;
}


/* ==========================================================
   EMPTY STATE
========================================================== */

.genre-records .catalogue-empty,
.subgenre-records .catalogue-empty {
    padding: 60px 20px;

    text-align: center;

    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.genre-records .catalogue-empty h4,
.subgenre-records .catalogue-empty h4 {
    margin: 20px 0 8px;

    font-size: 18px;
    font-weight: 500;
}

.genre-records .catalogue-empty p,
.subgenre-records .catalogue-empty p {
    max-width: 400px;

    margin: 0 auto;

    font-size: 13px;
    line-height: 1.6;

    opacity: 0.55;
}


/* ==========================================================
   EMPTY RECORD DISC
========================================================== */

.genre-records .empty-disc,
.subgenre-records .empty-disc {
    position: relative;

    width: 54px;
    height: 54px;

    margin: 0 auto;

    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.genre-records .empty-disc::before,
.subgenre-records .empty-disc::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 9px;
    height: 9px;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(0, 0, 0, 0.35);
    border-radius: 50%;
}

.genre-records .empty-disc span,
.subgenre-records .empty-disc span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 3px;
    height: 3px;

    transform: translate(-50%, -50%);

    background: currentColor;
    border-radius: 50%;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .genre-page-header {
        margin-bottom: 40px;
    }

    .genre-subgenres {
        margin-bottom: 48px;
    }

    .genre-page .section-heading,
    .subgenre-page .section-heading {
        display: block;

        margin-bottom: 20px;
    }

    .genre-page .section-heading p,
    .subgenre-page .section-heading p {
        margin-top: 10px;
    }

    .genre-subgenre-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .catalogue-subgenre {
        min-height: 44px;

        padding: 0 11px;

        font-size: 10px;
    }

    .subgenre-page-header {
        margin-bottom: 48px;
    }

}

.genre-page-description,
.subgenre-page-description,
.genre-records p,
.subgenre-records p,
.genre-records-message,
.subgenre-records-message {
    color: var(--orange);
}

/* ==========================================================
   RECORD DETAIL — FOUR IMAGE GALLERY
========================================================== */

.record-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 50px;
    align-items: start;
}


/* ----------------------------------------------------------
   IMAGE GALLERY
---------------------------------------------------------- */

.record-detail-gallery {
    min-width: 0;
}


.record-detail-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
    cursor: zoom-in;
}


.record-detail-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
}


.record-detail-image-label {
    position: absolute;
    left: 14px;
    bottom: 14px;

    padding: 6px 9px;

    background: rgba(0, 0, 0, 0.75);

    color: #fff;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* ----------------------------------------------------------
   THUMBNAILS
---------------------------------------------------------- */

.record-detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}


.record-detail-thumbnail {
    position: relative;

    display: block;

    width: 100%;
    aspect-ratio: 1 / 1;

    padding: 0;

    border: 1px solid #333;

    background: #111;

    cursor: pointer;

    overflow: hidden;
}


.record-detail-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.record-detail-thumbnail:hover img {
    opacity: 0.8;
    transform: scale(1.03);
}


.record-detail-thumbnail.is-active {
    border-color: var(--orange);
}


.record-detail-thumbnail.is-empty {
    opacity: 0.35;
    cursor: default;
}


.record-detail-thumbnail span {
    position: absolute;

    left: 6px;
    bottom: 6px;

    padding: 4px 6px;

    background: rgba(0, 0, 0, 0.8);

    color: #fff;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* ==========================================================
   RECORD DETAIL INFORMATION
========================================================== */

.record-detail-info {
    min-width: 0;
}


.record-detail-kicker {
    display: block;

    margin-bottom: 12px;

    color: var(--orange);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}


.record-detail-artist {
    margin: 0;

    color: #eee;

    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.05;
}


.record-detail-title {
    margin: 8px 0 20px;

    color: #999;

    font-size: clamp(16px, 2vw, 24px);
    font-weight: 400;

    line-height: 1.2;
}


.record-detail-price {
    display: block;

    margin-bottom: 28px;

    color: var(--orange);

    font-size: 28px;
    line-height: 1;
}


/* ----------------------------------------------------------
   META
---------------------------------------------------------- */

.record-detail-meta {
    border-top: 1px solid #292929;
    border-bottom: 1px solid #292929;

    margin-bottom: 24px;
}


.record-detail-meta-row {
    display: grid;

    grid-template-columns: 110px 1fr;

    gap: 15px;

    padding: 10px 0;

    border-bottom: 1px solid #222;
}


.record-detail-meta-row:last-child {
    border-bottom: 0;
}


.record-detail-meta-label {
    color: #666;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.record-detail-meta-value {
    color: #ddd;

    font-size: 11px;

    line-height: 1.4;
}


/* ----------------------------------------------------------
   DESCRIPTION
---------------------------------------------------------- */

.record-detail-description {
    margin: 0 0 20px;

    color: #999;

    font-size: 13px;

    line-height: 1.7;
}


/* ----------------------------------------------------------
   STOCK
---------------------------------------------------------- */

.record-detail-stock {
    margin: 0 0 18px;

    color: #aaa;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}


.record-detail-stock.is-sold-out {
    color: #777;
}


/* ----------------------------------------------------------
   ADD TO BASKET
---------------------------------------------------------- */

.record-detail-add {
    width: 100%;

    padding: 15px 20px;

    border: 1px solid var(--orange);

    background: var(--orange);

    color: #000;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}


.record-detail-add:hover {
    background: transparent;

    color: var(--orange);
}


.record-detail-add:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ==========================================================
   VIEW BASKET BUTTON
========================================================== */

.record-detail-view-basket {
    width: 100%;

    min-height: 44px;

    margin-top: 8px;

    padding: 12px 20px;

    border: 1px solid rgba(255,255,255,.18);

    background: transparent;

    color: #aaa;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.record-detail-view-basket:hover {
    color: #fff;

    border-color: var(--orange);

    background: rgba(244,81,18,.08);
}

.record-detail-view-basket:active {
    transform: translateY(1px);
}

/* ==========================================================
   IMAGE LIGHTBOX
========================================================== */

.record-image-lightbox {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.94);
}


.record-image-lightbox.is-open {
    display: flex;
}


.record-image-lightbox-image {
    display: block;

    max-width: 90vw;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    cursor: zoom-out;
}


.record-image-lightbox-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 36px;
    line-height: 1;

    cursor: pointer;
}


.record-image-lightbox-label {
    position: absolute;

    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    color: #fff;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 800px) {

    .record-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .record-detail-main-image {
        aspect-ratio: 1 / 1;
    }


    .record-detail-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }


    .record-detail-info {
        padding-bottom: 20px;
    }

}

/* ==========================================================
   RECORD DETAIL — FOUR IMAGE LAYOUT
========================================================== */

.record-detail-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0 70px;
    box-sizing: border-box;
}


/* ==========================================================
   MAIN DETAIL GRID

   LEFT  = image gallery
   RIGHT = record information
========================================================== */

.record-detail {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(340px, 0.72fr);

    gap: 55px;

    align-items: start;

    margin-top: 35px;
}


/* ==========================================================
   IMAGE GALLERY
========================================================== */

.record-detail-gallery {
    width: 100%;
    min-width: 0;
}


/* ==========================================================
   LARGE FRONT IMAGE
========================================================== */

.record-detail-main-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 35% 30%,
            #333,
            #111 55%,
            #050505 85%
        );

    border:
        1px solid
        rgba(255,255,255,0.1);

    cursor: zoom-in;

    box-sizing: border-box;
}


.record-detail-main-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    user-select: none;

    transition:
        transform 0.35s ease,
        opacity 0.25s ease;
}


.record-detail-main-image:hover img {
    transform: scale(1.015);
}


/* ==========================================================
   IMAGE LABEL
========================================================== */

.record-detail-image-label {
    position: absolute;

    left: 15px;
    bottom: 15px;

    padding:
        7px 10px;

    background:
        rgba(0,0,0,0.78);

    color: #fff;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;

    pointer-events: none;
}


/* ==========================================================
   THUMBNAILS

   Three thumbnails:
   BACK / A-SIDE / B-SIDE
========================================================== */

.record-detail-thumbnails {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    width: 100%;

    margin-top: 12px;
}


.record-detail-thumbnail {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    padding: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,0.12);

    background: #101010;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}


.record-detail-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.record-detail-thumbnail:hover img {
    opacity: 0.82;

    transform:
        scale(1.04);
}


.record-detail-thumbnail.is-active {
    border-color:
        var(--orange);
}


.record-detail-thumbnail.is-empty {
    opacity: 0.3;

    cursor: default;
}


.record-detail-thumbnail span {
    position: absolute;

    left: 7px;
    bottom: 7px;

    padding:
        5px 7px;

    background:
        rgba(0,0,0,0.82);

    color: #fff;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1.5px;

    pointer-events: none;
}


/* ==========================================================
   RECORD INFORMATION
========================================================== */

.record-detail-info {
    min-width: 0;

    padding-top: 3px;
}


/* ==========================================================
   GENRE / SUBGENRE
========================================================== */

.record-detail-kicker {
    display: block;

    margin-bottom: 14px;

    color:
        var(--orange);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ==========================================================
   ARTIST
========================================================== */

.record-detail-artist {
    margin: 0;

    color: #f2f2f2;

    font-size:
        clamp(
            26px,
            3vw,
            40px
        );

    font-weight: 800;

    line-height: 1.02;

    text-transform: uppercase;
}


/* ==========================================================
   TITLE
========================================================== */

.record-detail-title {
    margin:
        8px 0 20px;

    color: #999;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.4;
}


/* ==========================================================
   PRICE
========================================================== */

.record-detail-price {
    display: block;

    margin-bottom: 28px;

    color:
        var(--orange);

    font-size: 30px;

    font-weight: 700;

    line-height: 1;
}


/* ==========================================================
   META INFORMATION
========================================================== */

.record-detail-meta {
    width: 100%;

    margin-bottom: 28px;

    border-top:
        1px solid
        rgba(255,255,255,0.1);
}


.record-detail-meta-row {
    display: grid;

    grid-template-columns:
        105px
        minmax(0, 1fr);

    gap: 15px;

    padding:
        10px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,0.07);
}


.record-detail-meta-label {
    color: #666;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.record-detail-meta-value {
    color: #ddd;

    font-size: 12px;

    line-height: 1.4;
}


/* ==========================================================
   DESCRIPTION
========================================================== */

.record-detail-description {
    margin:
        0 0 22px;

    max-width: 560px;

    color: #999;

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================================
   STOCK
========================================================== */

.record-detail-stock {
    margin:
        0 0 18px;

    color: #aaa;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.record-detail-stock.is-sold-out {
    color: #b44;
}


/* ==========================================================
   ADD TO BASKET
========================================================== */

.record-detail-add {
    width: 100%;

    min-height: 50px;

    padding:
        14px 20px;

    border: 0;

    background:
        var(--orange);

    color: #050505;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.record-detail-add:hover {
    opacity: 0.85;
}


.record-detail-add:active {
    transform:
        translateY(1px);
}


.record-detail-add:disabled {
    opacity: 0.35;

    cursor: not-allowed;
}


.record-detail-add.is-added {
    background: #eee;
}


/* ==========================================================
   IMAGE LIGHTBOX
========================================================== */

.record-image-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;

    background:
        rgba(0,0,0,0.94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}


.record-image-lightbox.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.record-image-lightbox-image {
    display: block;

    max-width: 90vw;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow:
        0 20px 80px
        rgba(0,0,0,0.7);
}


.record-image-lightbox-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 34px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;
}


.record-image-lightbox-label {
    position: absolute;

    left: 50%;
    bottom: 20px;

    transform:
        translateX(-50%);

    color: #fff;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* ==========================================================
   TABLET
========================================================== */

@media (
    max-width: 900px
) {

    .record-detail {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 0.75fr);

        gap: 35px;
    }


    .record-detail-artist {
        font-size: 30px;
    }


    .record-detail-price {
        font-size: 26px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (
    max-width: 800px
) {

    .record-detail-page {
        padding:
            20px 0 45px;
    }


    .record-detail {
        grid-template-columns:
            1fr;

        gap: 35px;

        margin-top: 25px;
    }


    .record-detail-main-image {
        aspect-ratio: 1 / 1;

        min-height: 0;
    }


    .record-detail-info {
        width: 100%;

        padding-top: 0;
    }


    .record-detail-thumbnails {
        gap: 8px;
    }


    .record-detail-artist {
        font-size: 28px;
    }


    .record-detail-price {
        font-size: 24px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (
    max-width: 480px
) {

    .record-detail-meta-row {
        grid-template-columns:
            90px
            minmax(0, 1fr);

        gap: 10px;
    }


    .record-detail-thumbnail span {
        font-size: 6px;

        letter-spacing: 1px;
    }


    .record-image-lightbox {
        padding: 15px;
    }


    .record-image-lightbox-image {
        max-width: 96vw;

        max-height: 80vh;
    }


    .record-detail-description {
        font-size: 12px;

        line-height: 1.65;
    }

}

/* ==========================================================
BASKET PAGE
========================================================== */

.basket-page {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 30px 0 60px;
box-sizing: border-box;
}

/* ==========================================================
BASKET HEADER
========================================================== */

.basket-page-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;


margin-bottom: 35px;

padding-bottom: 20px;

border-bottom: 1px solid rgba(255,255,255,.1);


}

.basket-page-description {
margin: 0;


color: #777;

font-size: 11px;
letter-spacing: 1px;


}

/* ==========================================================
BASKET ITEMS SECTION
========================================================== */

.basket-items-section {
min-width: 0;
}

.basket-items {
display: grid;


gap: 12px;

margin-top: 20px;


}

/* ==========================================================
BASKET ITEM
========================================================== */

.basket-item {
display: grid;

grid-template-columns:
    130px
    minmax(0, 1fr);

gap: 22px;

padding: 14px;

background: rgba(255,255,255,.025);

border: 1px solid rgba(255,255,255,.09);

box-sizing: border-box;

cursor: pointer;

transition:
    border-color .2s ease,
    background .2s ease;


}

.basket-item:hover {
background: rgba(255,255,255,.045);


border-color:
    rgba(244,81,18,.45);


}

/* ==========================================================
BASKET ITEM COVER
========================================================== */

.basket-item-cover {
position: relative;


width: 130px;
aspect-ratio: 1 / 1;

overflow: hidden;

background: #111;

border: 1px solid rgba(255,255,255,.08);

box-sizing: border-box;


}

.basket-item-cover::after {
content: "";


position: absolute;

inset: 0;

background:
    linear-gradient(
        to top,
        rgba(0,0,0,.65),
        transparent 55%
    );

pointer-events: none;


}

/* ==========================================================
REMOVE OLD COVER TEXT LOOK
========================================================== */

.basket-item-cover-text {
position: absolute;


left: 10px;
right: 10px;
bottom: 10px;

z-index: 2;

display: flex;

flex-direction: column;

gap: 3px;


}

.basket-item-cover-text span {
color: #eee;


font-size: 7px;
font-weight: 700;

letter-spacing: 1.2px;

line-height: 1.25;

text-transform: uppercase;


}

.basket-item-cover-text strong {
color: var(--orange);


font-size: 8px;
font-weight: 700;

letter-spacing: 1px;

line-height: 1.25;

text-transform: uppercase;


}

/* ==========================================================
BASKET ITEM INFORMATION
========================================================== */

.basket-item-info {
min-width: 0;

display: flex;

flex-direction: column;

justify-content: center;


}

/* Artist */

.basket-item-artist {
margin: 0;


color: #eee;

font-size: 12px;
font-weight: 700;

letter-spacing: 1.5px;

line-height: 1.25;

text-transform: uppercase;


}

/* Title */

.basket-item-title {
margin-top: 5px;

color: #888;

font-size: 11px;
font-weight: 400;

line-height: 1.4;


}

/* Metadata */

.basket-item-meta {
display: block;


margin-top: 12px;

color: #666;

font-size: 8px;
font-weight: 700;

letter-spacing: 1.2px;

line-height: 1.5;

text-transform: uppercase;


}

/* Price */

.basket-item-price {
display: block;


margin-top: 12px;

color: var(--orange);

font-size: 18px;
font-weight: 700;

line-height: 1;


}

/* ==========================================================
BASKET CONTROLS
========================================================== */

.basket-item-controls {
display: flex;


align-items: center;

gap: 14px;

margin-top: 15px;

padding-top: 12px;

border-top:
    1px solid rgba(255,255,255,.07);


}

.basket-quantity-label {
color: #666;


font-size: 8px;
font-weight: 700;

letter-spacing: 1.5px;


}

.basket-quantity-controls {
display: flex;


align-items: center;

border:
    1px solid rgba(255,255,255,.15);


}

.basket-quantity-minus,
.basket-quantity-plus {
width: 30px;
height: 28px;


padding: 0;

border: 0;

background: #151515;

color: #ddd;

font-size: 14px;

cursor: pointer;


}

.basket-quantity-minus:hover,
.basket-quantity-plus:hover {
color: var(--orange);
}

.basket-quantity-minus:disabled,
.basket-quantity-plus:disabled {
opacity: .25;


cursor: not-allowed;


}

.basket-quantity-value {
width: 30px;


color: #eee;

font-size: 10px;
font-weight: 700;

text-align: center;


}

/* ==========================================================
REMOVE
========================================================== */

.basket-item-remove {
margin-left: auto;


padding: 7px 10px;

border:
    1px solid rgba(255,255,255,.12);

background: transparent;

color: #777;

font-size: 7px;
font-weight: 700;

letter-spacing: 1.5px;

cursor: pointer;


}

.basket-item-remove:hover {
color: #fff;


border-color:
    rgba(244,81,18,.6);


}

/* ==========================================================
ORDER SUMMARY
========================================================== */

.basket-summary {
margin-top: 35px;


padding: 25px;

background: rgba(255,255,255,.025);

border:
    1px solid rgba(255,255,255,.1);

box-sizing: border-box;


}

.basket-summary .results-kicker {
display: block;

margin-bottom: 18px;

color: var(--orange);

font-size: 9px;
font-weight: 700;

letter-spacing: 2px;

text-transform: uppercase;


}

/* ==========================================================
SUMMARY ROW
========================================================== */

.basket-summary-row {
display: flex;


align-items: center;

justify-content: space-between;

gap: 20px;

padding: 15px 0;

border-top:
    1px solid rgba(255,255,255,.08);

border-bottom:
    1px solid rgba(255,255,255,.08);


}

.basket-summary-row span {
color: #777;


font-size: 9px;
font-weight: 700;

letter-spacing: 1.5px;


}

.basket-summary-row strong {
color: var(--orange);


font-size: 24px;
font-weight: 700;


}

/* ==========================================================
SUMMARY NOTE
========================================================== */

.basket-summary-note {
margin: 16px 0 20px;


color: #666;

font-size: 10px;

line-height: 1.6;


}

/* ==========================================================
CHECKOUT BUTTON
========================================================== */

.basket-checkout {
width: 100%;


margin-top: 5px;


}

/* ==========================================================
CLEAR BASKET
========================================================== */

.basket-clear {
width: 100%;


margin-top: 10px;

padding: 11px 15px;

border:
    1px solid rgba(255,255,255,.1);

background: transparent;

color: #666;

font-size: 8px;
font-weight: 700;

letter-spacing: 2px;

cursor: pointer;

transition:
    color .2s ease,
    border-color .2s ease;


}

.basket-clear:hover {
color: #aaa;


border-color:
    rgba(255,255,255,.25);


}

/* ==========================================================
EMPTY BASKET
========================================================== */

.basket-empty {
padding: 70px 30px;


text-align: center;

background: rgba(255,255,255,.02);

border:
    1px solid rgba(255,255,255,.08);


}

.basket-empty .results-kicker {
display: block;


margin-bottom: 12px;

color: var(--orange);

font-size: 9px;
font-weight: 700;

letter-spacing: 2px;


}

.basket-empty h3 {
margin: 0 0 10px;


color: #eee;

font-size: 22px;
font-weight: 700;

text-transform: uppercase;


}

.basket-empty p {
max-width: 450px;

margin: 0 auto 25px;

color: #777;

font-size: 11px;

line-height: 1.7;


}

.basket-empty .record-detail-add {
width: auto;


min-width: 220px;


}

/* ==========================================================
   BASKET DESKTOP LAYOUT
========================================================== */

@media (min-width: 900px) {

    .basket-page {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            300px;

        gap: 45px;

        align-items: start;
    }

    .basket-page-header {
        grid-column: 1 / -1;
    }

    .basket-items-section {
        min-width: 0;
    }

    .basket-summary {
        position: sticky;

        top: 20px;

        margin-top: 20px;
    }
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 899px) {

    .basket-page {
        padding:
            20px 0 45px;
    }

    .basket-page-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

    .basket-summary {
        margin-top: 25px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .basket-item {
        grid-template-columns:
            90px
            minmax(0, 1fr);

        gap: 14px;

        padding: 10px;
    }

    .basket-item-cover {
        width: 90px;
    }

    .basket-item-artist {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .basket-item-title {
        font-size: 10px;
    }

    .basket-item-meta {
        margin-top: 8px;
        font-size: 7px;
    }

    .basket-item-price {
        font-size: 16px;
    }

    .basket-item-controls {
        flex-wrap: wrap;

        gap: 8px;

        margin-top: 10px;
    }

    .basket-item-remove {
        margin-left: 0;
    }

    .basket-summary {
        padding: 20px;
    }

    .basket-summary-row strong {
        font-size: 21px;
    }
}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

    .basket-item {
        grid-template-columns:
            75px
            1fr;
    }

    .basket-item-cover {
        width: 75px;
    }

    .basket-item-cover-text {
        display: none;
    }

    .basket-item-artist {
        font-size: 9px;
    }

    .basket-item-title {
        font-size: 9px;
    }

    .basket-item-meta {
        font-size: 6px;
    }

    .basket-item-price {
        font-size: 15px;
    }
}


/* ==========================================================
   CHECKOUT — CLEAN TWO COLUMN VERSION
========================================================== */

.checkout-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 40px !important;
    box-sizing: border-box !important;
}


/* ==========================================================
   CHECKOUT POPUP WIDTH
========================================================== */

.dimension-window:has(.checkout-page) {
    width: min(1400px, calc(100vw - 40px)) !important;
    max-width: none !important;
}


/* ==========================================================
   POPUP CONTENT
========================================================== */

.dimension-window:has(.checkout-page) .popup-scroll {
    padding-left: 55px !important;
    padding-right: 55px !important;
}


/* ==========================================================
   INTRO
========================================================== */

.checkout-intro {
    margin-bottom: 30px !important;
}


/* ==========================================================
   TWO COLUMN LAYOUT
========================================================== */

.checkout-layout {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr) !important;

    gap: 40px !important;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    align-items: start !important;
    box-sizing: border-box !important;
}


/* ==========================================================
   PANELS
========================================================== */

.checkout-customer-panel,
.checkout-summary-panel {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
}


/* ==========================================================
   SUMMARY
========================================================== */

.checkout-summary-panel {
    position: sticky !important;
    top: 20px !important;
}


/* ==========================================================
   FORM
========================================================== */

.checkout-form {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}


/* ==========================================================
   INPUTS
========================================================== */

.checkout-field input,
.checkout-field textarea,
.checkout-field select {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}


/* ==========================================================
   MOBILE
========================================================== */

@media screen and (max-width: 800px) {

    .dimension-window:has(.checkout-page) {
        width: calc(100vw - 30px) !important;
    }

    .dimension-window:has(.checkout-page) .popup-scroll {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .checkout-summary-panel {
        position: static !important;
    }
}

/* ======================================================
   YOUTUBE TRACK LINKS
====================================================== */

.record-track-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0.45rem;

    margin-top: 0.8rem;
}


/* Individual track */

.record-track-link {
    display: inline-flex;
    align-items: center;

    font-size: 0.72rem;
    line-height: 1.3;

    padding: 0.2rem 0.5rem;

    color: #c9572d;

    text-decoration: none;

    letter-spacing: 0.08em;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


/* Play symbol */

.record-track-link::before {
    content: "▶";

    color: #c9572d;

    font-size: 0.65rem;

    margin-right: 0.45rem;

    line-height: 1;

    transition:
        color 0.2s ease;
}


/* ======================================================
   HOVER
====================================================== */

.record-track-link:hover {
    color: #ffffff;

    transform: translateX(3px);
}


.record-track-link:hover::before {
    color: #ffffff;
}

/* =========================================================
   HOME GENRES
   Symmetrical two-column layout
   Play buttons point OUT from centre
   ========================================================= */

.home-genres {
    width: 100%;
    max-width: 430px;

    margin: 28px auto 0;

    display: grid;

    grid-template-columns: 1fr 1px 1fr;

    column-gap: 20px;

    align-items: stretch;
}


/* =========================================================
   GENRE COLUMNS
   ========================================================= */

.home-genre-column {
    display: flex;

    flex-direction: column;

    gap: 9px;

    min-width: 0;
}


/* LEFT COLUMN */

.home-genre-left {
    align-items: flex-end;
}


/* RIGHT COLUMN */

.home-genre-right {
    align-items: flex-start;
}


/* =========================================================
   CENTRE DIVIDER
   ========================================================= */

.home-genre-divider {
    width: 1px;

    min-height: 135px;

    background: rgba(255, 255, 255, 0.32);

    align-self: center;
}


/* =========================================================
   GENRE BUTTONS
   ========================================================= */

.home-genre-link {
    appearance: none;
    -webkit-appearance: none;

    display: flex;

    align-items: center;

    height: 20px;

    padding: 0;

    margin: 0;

    border: 0 !important;

    outline: none;

    background: transparent !important;

    box-shadow: none !important;

    color: #c9572d !important;

    font-family: inherit;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.06em;

    line-height: 1;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   LEFT SIDE

   Text        Play
   ROCK        ◀

   The play button sits nearest the centre line.
   ========================================================= */

.home-genre-left .home-genre-link {

    justify-content: flex-end;

    gap: 7px;
}


/* =========================================================
   RIGHT SIDE

   Play        Text
   ▶           BEAT

   The play button sits nearest the centre line.
   ========================================================= */

.home-genre-right .home-genre-link {

    justify-content: flex-start;

    gap: 7px;
}


/* =========================================================
   PLAY BUTTONS
   ========================================================= */

.home-genre-play {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 9px;

    min-width: 9px;

    color: #c9572d;

    font-size: 8px;

    font-weight: 400;

    line-height: 1;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.home-genre-link:hover {

    color: #ffffff !important;

    background: transparent !important;
}


/* LEFT SIDE HOVER

   Moves slightly away from the centre
   to reinforce the outward direction.
*/

.home-genre-left .home-genre-link:hover {

    transform: translateX(-3px);
}


.home-genre-left .home-genre-link:hover .home-genre-play {

    color: #ffffff;

    transform: translateX(-2px);
}


/* RIGHT SIDE HOVER

   Moves slightly away from the centre.
*/

.home-genre-right .home-genre-link:hover {

    transform: translateX(3px);
}


.home-genre-right .home-genre-link:hover .home-genre-play {

    color: #ffffff;

    transform: translateX(2px);
}


/* =========================================================
   REMOVE DIMENSION BUTTON DECORATIONS
   ========================================================= */

.home-genre-link::before,
.home-genre-link::after {

    display: none !important;

    content: none !important;
}


/* =========================================================
   REMOVE FOCUS BACKGROUND
   ========================================================= */

.home-genre-link:focus,
.home-genre-link:focus-visible {

    outline: none;

    background: transparent !important;

    box-shadow: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    .home-genres {

        max-width: 350px;

        column-gap: 13px;

        margin-top: 22px;
    }


    .home-genre-column {

        gap: 7px;
    }


    .home-genre-divider {

        min-height: 120px;
    }


    .home-genre-link {

        height: 18px;

        font-size: 8px;

        letter-spacing: 0.035em;
    }


    .home-genre-play {

        width: 8px;

        min-width: 8px;

        font-size: 7px;
    }

}

/* =========================================================
   COOPERS45RPM RADIO
   ========================================================= */

.radio-player {
    width: 100%;
    box-sizing: border-box;
    padding: 1.15rem 1.15rem 1rem;
    background: rgba(10, 9, 8, 0.92);
    border: 1px solid rgba(229, 220, 205, 0.22);
    border-radius: 4px;
    color: #e5dccd;
}

/* Station name */
.radio-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.2;
    color: #c9572d;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

/* Station description */
.radio-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: rgba(229, 220, 205, 0.55);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Currently playing */
.radio-track {
    margin-bottom: 0.8rem;
}

.radio-track .track-artist {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #e5dccd;
    line-height: 1.35;
}

.radio-track .track-title {
    font-size: 0.75rem;
    color: rgba(229, 220, 205, 0.62);
    letter-spacing: 0.025em;
    line-height: 1.35;
}

/* Progress bar */
.radio-progress {
    width: 100%;
    margin-top: 0.65rem;
}

.radio-progress input[type="range"] {
    width: 100%;
    height: 3px;
    margin: 0;
    padding: 0;
    display: block;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(229, 220, 205, 0.2);
    border-radius: 2px;
    outline: none;
}

/* Chrome / Edge / Safari */
.radio-progress input[type="range"]::-webkit-slider-runnable-track {
    height: 3px;
    background: rgba(229, 220, 205, 0.2);
    border-radius: 2px;
}

.radio-progress input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 9px;
    height: 9px;
    margin-top: -3px;
    border: 0;
    border-radius: 50%;
    background: #c9572d;
    cursor: pointer;
}

/* Firefox */
.radio-progress input[type="range"]::-moz-range-track {
    height: 3px;
    background: rgba(229, 220, 205, 0.2);
    border-radius: 2px;
}

.radio-progress input[type="range"]::-moz-range-thumb {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #c9572d;
    cursor: pointer;
}

/* Time display */
.radio-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.35rem;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    color: rgba(229, 220, 205, 0.45);
}

/* Player controls */
.radio-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.75rem;
}

/* All radio buttons */
.radio-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(229, 220, 205, 0.25);
    border-radius: 50%;
    background: transparent;
    color: #e5dccd;
    font-family: inherit;
    font-size: 0.65rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

/* Play button */
.radio-controls #radioPlay {
    width: 2.35rem;
    height: 2.35rem;
    border-color: #c9572d;
    color: #c9572d;
    font-size: 0.7rem;
}

/* Hover */
.radio-controls button:hover {
    background: #c9572d;
    border-color: #c9572d;
    color: #0a0908;
}

/* Play button hover */
.radio-controls #radioPlay:hover {
    background: #c9572d;
    border-color: #c9572d;
    color: #0a0908;
    transform: scale(1.05);
}

/* Keyboard focus */
.radio-controls button:focus-visible,
.radio-progress input[type="range"]:focus-visible {
    outline: 1px solid #c9572d;
    outline-offset: 3px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 736px) {

    .radio-player {
        padding: 1rem;
    }

    .radio-title {
        font-size: 0.8rem;
    }

    .radio-subtitle {
        font-size: 0.6rem;
        margin-bottom: 0.8rem;
    }

    .radio-track .track-artist {
        font-size: 0.78rem;
    }

    .radio-track .track-title {
        font-size: 0.7rem;
    }

}

#youtubeRadioPlayer {
    position: fixed;
    width: 200px;
    height: 200px;
    left: -1000px;
    top: -1000px;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================
   GENRE PAGE TEMPLATE
========================================================== */

.genre-page {
    position: relative;
    width: 100%;
}


/* ==========================================================
   GENRE PAGE HEADER
========================================================== */

.genre-page-header {
    position: relative;
    min-height: 130px;
    padding: 0 145px 25px 0;
}


/* ==========================================================
   BACK TO ITEMS FOR SALE
========================================================== */

.genre-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 20px 0;
    padding: 8px 14px;

    border: 1px solid rgba(255,255,255,.25);
    background: transparent;

    color: inherit;

    font-family: inherit;
    font-size: .75rem;
    font-weight: 600;

    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.genre-back-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}


/* ==========================================================
   GENRE HEADER DESCRIPTION
========================================================== */

.genre-page-header-text {
    max-width: 650px;
}


.genre-page-description {
    margin: 0;
    opacity: .7;
}


/* ==========================================================
   GENRE IMAGE
========================================================== */

.genre-page-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 250px;
    height: 250px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.2);
}


.genre-page-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==========================================================
   SUBGENRE SECTION
========================================================== */

.genre-subgenres {
    margin-top: 25px;
}


/* ==========================================================
   SUBGENRE GRID
========================================================== */

.genre-subgenre-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                180px,
                1fr
            )
        );

    gap: 10px;

    margin-top: 20px;
}


/* ==========================================================
   SUBGENRE BUTTONS
========================================================== */

.catalogue-subgenre {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 55px;

    padding: 14px 16px;

    border: 1px solid rgba(255,255,255,.2);

    background: rgba(51,51,51,.03);

    color: inherit;

    font-family: inherit;
    font-size: .85rem;

    text-align: left;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.catalogue-subgenre:hover {
    background: #fff;

    color: #000;

    border-color: #fff;

    transform: translateY(-2px);
}


/* ==========================================================
   SUBGENRE NAME
========================================================== */

.subgenre-name {
    display: block;

    font-weight: 600;

    letter-spacing: .04em;
}


/* ==========================================================
   SUBGENRE ARROW
========================================================== */

.subgenre-arrow {
    flex-shrink: 0;

    margin-left: 12px;

    font-size: 1rem;

    transition:
        transform .2s ease;
}


.catalogue-subgenre:hover
.subgenre-arrow {
    transform: translateX(4px);
}


/* ==========================================================
   RECORDS SECTION
========================================================== */

.genre-records {
    margin-top: 45px;
}


/* ==========================================================
   EMPTY SUBGENRE MESSAGE
========================================================== */

.catalogue-empty-subgenres {
    margin-top: 20px;

    opacity: .6;
}


/* ==========================================================
   MOBILE
========================================================== */

@media screen and (max-width: 736px) {

    .genre-page-header {
        min-height: 100px;

        padding-right: 100px;
    }


    .genre-page-image {
        width: 80px;
        height: 80px;
    }


    .genre-subgenre-grid {
        grid-template-columns:
            1fr;
    }


    .catalogue-subgenre {
        min-height: 50px;
    }

}


/* ==========================================================
   VERY SMALL SCREENS
========================================================== */

@media screen and (max-width: 480px) {

    .genre-page-header {
        padding-right: 0;
        padding-top: 95px;
    }


    .genre-page-image {
        top: 0;
        left: 0;
        right: auto;

        width: 75px;
        height: 75px;
    }


    .genre-back-button {
        margin-bottom: 15px;
    }

}

/* ==========================================================
   COOPERS 45RPM — PERFORMANCE OVERRIDES
========================================================== */

/* ----------------------------------------------------------
   DIMENSION WINDOWS
---------------------------------------------------------- */

.popup-backdrop,
.dimension-window,
#popupWindow {

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

}


/* ----------------------------------------------------------
   CATALOGUE RESULTS
---------------------------------------------------------- */

.catalogue-results {

    transform: translateZ(0);

}


/* ----------------------------------------------------------
   RECORD CARDS
---------------------------------------------------------- */

.record {

    contain: layout paint;

}


/* ----------------------------------------------------------
   DISABLE EXPENSIVE HOVER EFFECTS ON RECORDS
---------------------------------------------------------- */

.record {

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;

}


.record:hover {

    transform: translateY(-2px);

}


/* ----------------------------------------------------------
   IMAGES
---------------------------------------------------------- */

.record img,
.genre-page-image img {

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

}


/* ----------------------------------------------------------
   REDUCE EXPENSIVE FILTERS
---------------------------------------------------------- */

.popup-backdrop,
.dimension-window {

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

}