@font-face {
    font-family: 'Dream Orphans';
    src: url("/assets/font/dream orphans.woff");
}

@font-face {
    font-family: 'Helvetica Neue Mode';
    src: url('/assets/font/HelveticaNeue.woff2') format('woff2'),
        url('/assets/font/HelveticaNeue.woff') format('woff');
}

:root {
    --gradient-white-stop: 48%;
}

body,html {
    /* background: #fbf9f7; */
    background: #f0f0f0;
    /* background: radial-gradient(circle,rgba(246, 245, 241, 1) 50%, #fc3d39 100%); */
    /* background: radial-gradient(circle,rgba(246, 245, 241, 1) 50%, #274b2a 100%); */
    background: radial-gradient(circle,rgba(255, 255, 255, 1) var(--gradient-white-stop), rgba(246, 245, 241, 1) calc(var(--gradient-white-stop) + 2%), rgba(42, 66, 43, .75) 100%);
    transition: background 1000ms cubic-bezier(.80,0,.20,1);
    height: 100vh;
    width: 100vw;
    padding: 0;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    margin: 0;
    color: #343332;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: none;
    /*background: #feff89;*/
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.3'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cursor-glow {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 1); */
    background: rgb(117 130 118);
    box-shadow: 0 0 8px rgba(255, 255, 255, 1),
                0 0 1px 1px rgba(39, 75, 42, 1),
                0 0 10px rgba(39, 75, 42, 0.8),
                0 0 20px rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.3),
                0 0 60px rgba(255, 255, 255, 0.15),
                0 0 80px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease, box-shadow 0.2s ease;
}

body:hover .cursor-glow {
    opacity: 1;
}

.main-wrap {
    margin: 0 auto;
    position: relative;
    top: 0;
    height: 100%;
}

.dream-orphans {
    font-family: 'Dream Orphans';
    text-transform: uppercase;
}

.content-box {
    transition: 750ms all cubic-bezier(.80,0,.20,1);

    position: absolute;
    top: calc(50% + 50px);
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    font-size: 11.5px;
    line-height: 130%;
    width: 90%;
    max-width: 600px;
    padding: 0 20px;
    box-sizing: border-box;

    opacity: 0;
    filter: blur(1.5rem);
    pointer-events: none;
}

.content-box-show {
    display: block;
    opacity: 1 !important;
    transform: scale(100%);
    filter: blur(0);
    pointer-events: auto;
}

.artist-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.artist-list span {
    display: inline-block;
}

.artist-list span:not(:last-child)::after {
    content: " \2014 ";
    margin-left: 0.75em;
    margin-right: 0.75em;
}

/* Logo animation variables - shared across all logos */
:root {
    --logo-transition-duration: 1000ms;
    --logo-transition-timing: cubic-bezier(.80,0,.20,1);
    --logo-font-size: 35px;
    --logo-offset-distance: 500px;
    --logo-rotation-start: 60deg;
    --logo-rotation-end: 0deg;
}

.logo-landing,.logo-br,.logo-shop {
    transition: var(--logo-transition-duration) all var(--logo-transition-timing);
    font-size: var(--logo-font-size);
    white-space: nowrap;
    position: absolute;
}

.logo-landing {
    opacity: 1;
    top: 50%;
}

.logo-br {
    opacity: 0;
    bottom: -300px;
    right: 75px;
    transform: rotate(-90deg);
}

/* Shop logo - positioned at left edge of shop-container */
.logo-shop {
    position: fixed;
    top: 54px;
    font-size: 29px;
    /* Align with left edge of shop-container (75px from edge, or centered for max-width) */
    left: max(75px, calc((100vw - 1750px) / 2));
    z-index: 10;
    opacity: 0;
    transform: rotate(var(--logo-rotation-start));
}

/* Animate shop logo in when shop is active */
body.shop-active .logo-shop {
    opacity: 1;
    transform: rotate(var(--logo-rotation-end));
}

/* Hide shop logo when not on shop page */
body:not(.shop-active) .logo-shop {
    top: calc(-1 * var(--logo-offset-distance));
    opacity: 0;
    transform: rotate(var(--logo-rotation-start));
}

.nav-button-cont {
    display: inline-block;
    margin-right: 100px;
    box-sizing: border-box;
    position: relative;
}

.nav-button-cont:last-child {
    margin-right: 0px;
}

.nav-button {
    display: inline-block;
    transition: 300ms all cubic-bezier(0.19, 1, 0.22, 1);
}

/* Only apply hover effects on devices that support hover (desktop with mouse) */
@media (hover: hover) {
    .nav-button-cont:hover {
        opacity: 85%;
    }
}

.nav-button:after {
    width: 100px;
}

.nav-button:before,.nav-button:after {
    content: '';
    /*border-radius: 10px;*/
    width: 1px;
    height: 1px;
    position: absolute;
    transform: translateY(-50%);
    background: black;
    opacity: 0;
    transition: 300ms all cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 9999;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

.cursor-glow.hover-link {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 1); */
    background: rgb(117 130 118);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1),
                0 0 1px 1px rgba(39, 75, 42, .5),
                0 0 20px rgba(39, 75, 42, 0.9),
                0 0 35px rgba(39, 75, 42, 0.8),
                0 0 60px rgba(255, 255, 255, 0.5),
                0 0 90px rgba(255, 255, 255, 0.3),
                0 0 120px rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), width 0.3s cubic-bezier(0.19, 1, 0.22, 1), height 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.content-link {
    text-decoration: underline;
    /* font-style: italic; */
    transition: opacity 300ms ease;
}

.content-link:hover {
    opacity: 0.7;
}
/* 
.external-link::after {
    content: " \2197";
    font-size: 0.7em;
    margin-left: 4px;
    display: inline-block;
} */

.nav-button:before {
    top: calc(50% + 10px);
    right: 0;
}

.nav-button:after {
    top: calc(50% - 10px);
    left: 0;
}

/* Only apply hover effects on devices that support hover (desktop with mouse) */
@media (hover: hover) {
    .nav-button:hover:before {
        left: 0;
        right: initial !important;
    }

    .nav-button:hover:after {
        left: initial !important;
        right: 0;
    }

    /* .nav-button:hover:before,.nav-button:hover:after { */
    .nav-button:hover:before {
        opacity: 85%;
        width: 100%;
    }
}

.nav-button-cont-selected {
    transition: 300ms all cubic-bezier(.80,0,.20,1);
    position: absolute;
    top: calc(50% + 10px);
    background: #343332;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
}

.nav-button-disable {
    pointer-events: none;
}

.footer {
    position: absolute;
    bottom: 75px;
    left: 75px;
    font-size: 10px;
    z-index: 1;
    pointer-events: none;
}

/* Label page releases container */
.content-box[data-page="label"] {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100vh;
    max-width: none;
    padding: 0;
    margin: 0;
    transform: none;
    z-index: 1;
    overflow-y: hidden;
    overflow-x: visible;
    transition: 750ms all cubic-bezier(.80,0,.20,1);
}

.releases-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    margin: 0 auto;
    overflow-y: hidden;
    overflow-x: visible;
    padding: 0;
    box-sizing: border-box;
}

.releases-list {
    height: 100vh;
    overflow-y: auto;
    overflow-x: clip;
    padding: 140px 20px 140px 40px;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
    margin-left: -20px;
    padding-left: 60px;
    mask-image: linear-gradient(
        to bottom,
        transparent 20px,
        black 250px,
        black calc(100% - 250px),
        transparent calc(100% - 20px)
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 20px,
        black 250px,
        black calc(100% - 250px),
        transparent calc(100% - 20px)
    );
}

.releases-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.releases-container::before,
.releases-container::after {
    content: '';
    position: fixed;
    z-index: 1;
    inset: auto 0 0 0;
    height: 65%;
    pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 100%;
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
}

.releases-container::before {
    top: 0;
    mask: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        black 12.5%,
        black 25%,
        rgba(0, 0, 0, 0) 37.5%
    );
    -webkit-mask: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        black 12.5%,
        black 25%,
        rgba(0, 0, 0, 0) 37.5%
    );
}

.releases-container::after {
    bottom: 0;
    mask: linear-gradient(
        to top,
        rgba(0, 0, 0, 0) 0%,
        black 12.5%,
        black 25%,
        rgba(0, 0, 0, 0) 37.5%
    );
    -webkit-mask: linear-gradient(
        to top,
        rgba(0, 0, 0, 0) 0%,
        black 12.5%,
        black 25%,
        rgba(0, 0, 0, 0) 37.5%
    );
}

.releases-list-header {
    /* margin-top: 20px; */
    text-align: left;
    margin-bottom: 20px;
}

.release-item {
    display: block;
    padding: 10px 0;
    font-size: 11.5px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
    cursor: none;
    position: relative;
}

.release-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: calc(50% + 0.5px);
    transform: translateY(-50%) translateX(-10px);
    width: 10px;
    height: 10px;
    background-image: url('/assets/img/right-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
    pointer-events: none;
    filter: blur(5px);
    z-index: 10;
}

.release-item:hover {
    opacity: 0.6;
}

.release-item:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    filter: blur(0);
}

.release-item .catalog-num {
    display: inline-block;
    min-width: 80px;
    font-weight: normal;
}

.release-item .release-title {
    margin-left: 20px;
    /* opacity: 0.7; */
}

.release-title::after {
    content: " by ";
    margin-left: 0.75em;
    margin-right: 0.75em;
    opacity: 0.7;
    font-size: 10px;
}

.release-type {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 0.75em;
}

.scroll-container {
    height: 100vh;
    /*background: #37d03d;*/
    overflow-y: auto;
    margin: 0 20px;
    /*width: 200px;*/
    display: none;
}

.sc-piece {
    width: 300px;
    height: 300px;
    margin: 30px 0px;
    background: black;
}

.sc-piece img {
    width: 100%;
    height: 100%;
}

.landing-left-panel,.landing-right-panel {
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.landing-page {
    height: 100%;
}

.nav-menu {
    transition: 1000ms all cubic-bezier(.80,0,.20,1);
    top: 50%;
    transform: translateY(-50%);
    right: 75px;
    position: absolute;
    text-transform: uppercase;
    z-index: 100;
}

/* Signup form styles */
.signup-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-half {
    flex: 1;
    margin-bottom: 0;
}

.signup-form label {
    display: block;
    font-size: 11px;
    margin-bottom: 5px;
    color: #343332;
    text-transform: none;
}

.required {
    font-size: 10px;
    font-weight: normal;
}

.form-input {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #343332;
    background: transparent;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    color: #343332;
    outline: none;
    transition: border-color 300ms ease;
    box-sizing: border-box;
}

.form-input:focus {
    border-bottom-color: #343332;
    border-bottom-width: 2px;
    padding-bottom: 7px;
}

.form-input::placeholder {
    color: #999;
    opacity: 0.5;
}

.form-select {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #343332;
    background: transparent;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    color: #343332;
    outline: none;
    transition: border-color 300ms ease;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23343332' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 top 50%;
    padding-right: 20px;
}

.form-select:focus {
    border-bottom-color: #343332;
    border-bottom-width: 2px;
    padding-bottom: 7px;
}

.form-select option {
    background: #fbf9f7;
    color: #343332;
}

.form-submit {
    background: transparent;
    border: 1px solid #343332;
    padding: 8px 30px;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    color: #343332;
    cursor: none;
    text-transform: uppercase;
    transition: all 300ms ease;
    margin-top: 10px;
}

.form-submit:hover {
    background: #343332;
    color: #fbf9f7;
}

.form-submit:active {
    transform: scale(0.98);
}

.form-message {
    margin-top: 15px;
    font-size: 10px;
    min-height: 20px;
    text-align: center;
}

.form-message.success {
    color: #343332;
}

.form-message.error {
    color: #d32f2f;
}

#signup-success-message {
    text-align: center;
    font-size: 11.5px;
    line-height: 130%;
}

/* main site */
@media only screen and (min-width: 900px) {
    body, html {
        overflow-y: hidden;
        overflow-x: auto;
        height: 100vh;
        width: 100vw;
    }

    .main-wrap {
        width: calc(100vw - 150px);
        max-width: 1250px;
        min-width: 880px;
        height: 100vh;
        overflow: visible;
        position: relative;
    }

    .logo-landing {
        left: 75px;
        transform: translateY(-50%) rotate(0deg);
        z-index: 10;
    }
}

/* mobile */
@media only screen and (max-width: 900px) {
    body, html {
        overflow-y: auto;
        cursor: default;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }
    
    .cursor-glow {
        display: none;
    }
    
    /* Disable hover effects on mobile/touch devices */
    .nav-button-cont:hover {
        opacity: 1;
    }
    
    .nav-button:hover:before,
    .nav-button:hover:after,
    .nav-button-clicked:before,
    .nav-button-clicked:after {
        opacity: 0 !important;
        width: 1px !important;
    }
    
    .nav-button-clicked {
        pointer-events: none;
    }

    .main-wrap {
        width: 100vw;
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
        padding: 0 20px;
        padding-bottom: 120px;
        box-sizing: border-box;
        position: relative;
    }

    /* Logo on mobile - same animation as content */
    .logo-landing {
        display: block !important;
        left: 50%;
        font-size: 28px;
        z-index: 1;
        transition: 750ms all cubic-bezier(.80,0,.20,1);
        /* Start in hidden state like content boxes */
        opacity: 0;
        filter: blur(1.5rem);
        top: calc(50% + 50px);
        transform: translate(-50%, -50%) rotate(0deg);
    }
    
    /* Animate logo in when on home page */
    body.home-page .logo-landing {
        opacity: 1;
        filter: blur(0);
        top: 50%;
    }
    
    .logo-br {
        display: none !important;
    }
    
    .logo-shop {
        display: none !important;
    }

    .nav-menu {
        top: 30px;
        right: 50%;
        transform: translateX(50%);
        text-align: center;
        white-space: nowrap;
        z-index: 100;
    }

    .nav-button-cont {
        margin-right: 20px;
    }

    .nav-button-cont:last-child {
        margin-right: 0;
    }

    .nav-button {
        font-size: 10px;
    }

    .content-cont {
        position: absolute;
        top: 100px;
        bottom: 100px;
        left: 0;
        right: 0;
        width: 100%;
    }

    .content-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 40px);
        padding: 0 20px;
        font-size: 11px;
        text-align: center;
        margin: 0;
    }

    .signup-form {
        max-width: 100%;
    }

    .form-input {
        font-size: 11px;
    }

    .form-group-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group-half {
        margin-bottom: 20px;
    }

    .footer {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
        text-align: center;
        font-size: 9px;
        pointer-events: none;
        width: calc(100% - 40px);
    }

    /* Always show home button on mobile */
    [data-home="home"] {
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ==================== */
/* SHOP PAGE STYLES     */
/* ==================== */

/* Footer fade transition for shop page - only on footer, not logo (logo has its own animations) */
.footer {
    transition: opacity 750ms cubic-bezier(.80,0,.20,1);
    z-index: 10;
}

/* Hide footer on shop page - just fade out */
body.shop-active .footer {
    opacity: 0 !important;
    pointer-events: none;
}

/* Hide home logo on shop page - fade out */
body.shop-active .logo-landing {
    opacity: 0 !important;
    pointer-events: none;
}

/* Animate footer logo out when shop is active - reverse its normal animation */
body.shop-active .logo-br {
    bottom: calc(-1 * var(--logo-offset-distance));
    opacity: 0;
    transform: rotate(-90deg);
    pointer-events: none;
}

/* Shop page container - full viewport */
.content-box[data-page="shop"] {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100vh;
    max-width: none;
    padding: 0;
    margin: 0;
    transform: none;
    z-index: 1;
    overflow: hidden;
    text-align: left;
}

/* Shop container - Larger implied viewing area */
.shop-container {
    position: relative;
    width: calc(100vw - 150px);
    max-width: 1750px;
    min-width: 900px;
    height: 100vh;
    margin: 0 auto;
    /* Internal layout */
    display: flex;
    box-sizing: border-box;
}

/* Shop Filter Menu - Left pane, top-left anchored */
.shop-filter-menu {
    position: relative;
    width: 200px;
    flex-shrink: 0;
    padding-top: 145px;
    padding-left: 0;
    margin-right: 40px;
    text-align: left;
    box-sizing: border-box;
}

.shop-filter-main {
    margin-bottom: 25px;
}

.shop-filter-main .shop-filter-link {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.shop-filter-section {
    margin-bottom: 20px;
}

.shop-filter-heading {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.5;
    margin-bottom: 10px;
    margin-top: 5px;
}

.shop-filter-link {
    display: block;
    font-size: 11px;
    color: #343332;
    text-decoration: none;
    padding: 4px 0;
    transition: opacity 200ms linear;
    position: relative;
}

.shop-filter-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%) translateX(-5px);
    width: 3px;
    height: 3px;
    background: #343332;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 500ms cubic-bezier(.80,0,.20,1), transform 500ms cubic-bezier(.80,0,.20,1);
}

.shop-filter-link:hover {
    opacity: 0.6;
}

.shop-filter-link.shop-filter-active::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Cart Icon - fixed position, fully decoupled from all container animations */
.shop-cart {
    position: fixed;
    /* Align with right edge of shop-container (75px from edge, or centered for max-width) */
    right: max(75px, calc((100vw - 1750px) / 2));
    z-index: 100;
    top: calc(-1 * var(--logo-offset-distance));
    opacity: 0;
    transform: rotate(calc(-1 * var(--logo-rotation-start)));
    pointer-events: none;
    transition: var(--logo-transition-duration) all var(--logo-transition-timing);
}

/* Animate cart icon in when shop is active */
body.shop-active .shop-cart {
    top: 64px;
    opacity: 1;
    transform: rotate(var(--logo-rotation-end));
    pointer-events: auto;
}

/* Reverse animate cart icon out when leaving shop */
body:not(.shop-active) .shop-cart {
    top: calc(-1 * var(--logo-offset-distance));
    opacity: 0;
    transform: rotate(calc(-1 * var(--logo-rotation-start)));
    pointer-events: none;
}

.shop-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #343332;
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-size: 11px;
    text-transform: uppercase;
}

.shop-cart-link:hover {
    opacity: 0.6;
}

.shop-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-cart-icon svg {
    width: 16px;
    height: 16px;
}

.shop-cart-count {
    font-size: 9px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #343332;
    color: #f6f5f1;
    border-radius: 50%;
    font-weight: 500;
    transition: transform 0.15s ease;
}

/* Products Area - Right pane, scrollable with fade */
.shop-products-container {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 145px 0 120px 0px;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(
        to bottom,
        transparent 0px,
        transparent 40px,
        black 111px
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0px,
        transparent 40px,
        black 111px
    );
}

.shop-products-container::-webkit-scrollbar {
    display: none;
}

/* Products Grid - fills width, no right padding */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 25px;
}

/* Empty products state */
.shop-no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 11px;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Products Grid - transition matching site pattern */
.shop-products-grid {
    transition: 500ms all cubic-bezier(.80,0,.20,1);
}

/* Product Card */
.shop-product-card {
    cursor: none;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.shop-product-card:hover {
    transform: translateY(-5px) !important;
}
/* 
.shop-product-card:hover .shop-product-image {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
} */

.shop-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* background-color: #e0e0e0; */
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s cubic-bezier(0.19, 1, 0.22, 1), background-image 0.5s ease;
}

/* .shop-product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.05) 50%,
        rgba(0,0,0,0.05) 100%
    );
} */

/* Image carousel controls - hidden by default */
.shop-product-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    opacity: 0;
    pointer-events: none; /* Container doesn't block clicks */
    transition: opacity 0.3s ease;
    z-index: 3;
}

.shop-product-card:hover .shop-product-carousel-controls {
    opacity: 1;
    /* Keep pointer-events: none on container so space between buttons is clickable */
}

.shop-product-carousel-prev,
.shop-product-carousel-next {
    background: rgba(246, 245, 241, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    color: #343332;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
    line-height: 1;
    pointer-events: auto; /* Buttons themselves are clickable */
}

.shop-product-carousel-prev:hover,
.shop-product-carousel-next:hover {
    background: rgba(246, 245, 241, 1);
    transform: scale(1.1);
}

.shop-product-carousel-prev svg,
.shop-product-carousel-next svg {
    width: 12px;
    height: 12px;
    display: block;
}

.shop-product-carousel-prev svg {
    transform: rotate(180deg);
}

/* Timer indicator - hidden by default */
.shop-product-timer-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.shop-product-card:hover .shop-product-timer-indicator {
    opacity: 1;
}

.shop-product-timer-bar {
    height: 100%;
    width: 0%;
    background: rgba(246, 245, 241, 0.8);
    animation: none;
}

@keyframes shop-product-timer-progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.shop-product-info {
    text-align: left;
}

.shop-product-name {
    font-size: 11.5px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
}

.shop-product-artist {
    font-size: 10px;
    opacity: 0.6;
    margin-bottom: 6px;
}

.shop-product-price {
    font-size: 11px;
    font-weight: 500;
}

/* Quick Add Button (appears on hover) */
.shop-product-add-to-cart-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(246, 245, 241, 0.95);
    color: #343332;
    border: none;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 0;
    text-align: center;
    z-index: 2;
    cursor: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.19, 1, 0.22, 1);
    font-family: 'Helvetica Neue Mode', sans-serif;
}

.shop-product-card:hover .shop-product-add-to-cart-btn {
    opacity: 1;
    pointer-events: auto;
    animation: fadeSlideUp 0.25s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.shop-product-add-to-cart-btn:hover {
    background: rgba(246, 245, 241, 1);
}

.shop-product-add-to-cart-btn.added {
    background: rgba(39, 75, 42, 0.95) !important;
    color: #f6f5f1 !important;
}

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

/* Cart count animation */
.shop-cart-count {
    transition: transform 300ms cubic-bezier(.80,0,.20,1), background 300ms cubic-bezier(.80,0,.20,1);
}

.shop-cart-count.cart-bump {
    transform: scale(1.3);
    background: #274b2a;
}

/* Add to Cart button click state - handled by .added class on button */

/* Added confirmation toast */
.cart-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(39, 75, 42, 0.95);
    color: #f6f5f1;
    padding: 12px 24px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms cubic-bezier(.80,0,.20,1), transform 500ms cubic-bezier(.80,0,.20,1);
    z-index: 100;
}

.cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==================== */
/* CART MODAL STYLES    */
/* ==================== */

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Shared cart overlay styles (for both modal and pane) */
.cart-modal-overlay,
.cart-pane-overlay {
    position: fixed;
    inset: 0;
    background: rgba(39, 75, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms cubic-bezier(.80,0,.20,1), visibility 400ms cubic-bezier(.80,0,.20,1);
    cursor: none;
}

.cart-modal-overlay.active,
.cart-pane-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal overlay specific - centers modal */
.cart-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pane overlay specific - positions pane on right */
.cart-pane-overlay {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

/* Modal container */
.cart-modal {
    background: rgba(246, 245, 241, 0.98);
    width: 90%;
    max-width: 420px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 500ms cubic-bezier(.80,0,.20,1), opacity 500ms cubic-bezier(.80,0,.20,1);
}

.cart-modal-overlay.active .cart-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Modal header */
.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(52, 51, 50, 0.1);
}

.cart-modal-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.cart-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: none;
    color: #343332;
    opacity: 0.6;
    transition: opacity 300ms ease, transform 300ms ease;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Modal body - scrollable */
.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 25px;
    min-height: 120px;
    max-height: 45vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cart-modal-body::-webkit-scrollbar {
    display: none;
}

/* Empty cart message */
.cart-modal-empty {
    text-align: center;
    padding: 40px 20px;
    font-size: 11px;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Cart item */
.cart-modal-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(52, 51, 50, 0.08);
    position: relative;
}

.cart-modal-item:last-child {
    border-bottom: none;
}

/* Product color swatch / image */
.cart-item-color {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Gradient overlay for color swatches (hide when image is present) */
.cart-item-color:not(.has-image)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.05) 50%,
        rgba(0,0,0,0.05) 100%
    );
}

/* Item details */
.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-artist {
    font-size: 9px;
    opacity: 0.5;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 10px;
    font-weight: 500;
}

/* Quantity controls */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(52, 51, 50, 0.3);
    background: transparent;
    font-size: 14px;
    line-height: 1;
    cursor: none;
    color: #343332;
    transition: all 200ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cart-qty-btn:hover {
    background: #343332;
    color: #f6f5f1;
    border-color: #343332;
}

.cart-qty-value {
    font-size: 11px;
    min-width: 20px;
    text-align: center;
    font-weight: 500;
}

/* Remove item button */
.cart-item-remove {
    /* position: absolute; */
    /* top: 10px; */
    /* right: -5px; */
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: none;
    color: #343332;
    opacity: 0.3;
    transition: opacity 200ms ease;
    padding: 5px;
}

.cart-item-remove:hover {
    opacity: 1;
}

/* Modal footer */
.cart-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(52, 51, 50, 0.1);
}

.cart-modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 12px;
}

.cart-modal-total span:first-child {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.cart-modal-total span:last-child {
    font-size: 15px;
    font-weight: 600;
}

/* Checkout button */
.cart-modal-checkout {
    width: 100%;
    background: #343332;
    color: #f6f5f1;
    border: none;
    padding: 14px 20px;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: none;
    transition: all 300ms cubic-bezier(.80,0,.20,1);
}

.cart-modal-checkout:hover {
    background: #274b2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 75, 42, 0.3);
}

.cart-modal-checkout:active {
    transform: translateY(0);
}

.cart-modal-checkout.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==================== */
/* CART PANE STYLES (Desktop) */
/* ==================== */

/* Cart pane - right side panel for desktop */
.cart-pane {
    position: relative;
    width: 420px;
    height: 100vh;
    background: rgba(246, 245, 241, 0.98);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 500ms cubic-bezier(.80,0,.20,1);
}

.cart-pane-overlay.active .cart-pane {
    transform: translateX(0);
}

/* Cart pane header */
.cart-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(52, 51, 50, 0.1);
}

.cart-pane-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.cart-pane-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: none;
    color: #343332;
    opacity: 0.6;
    transition: opacity 300ms ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-pane-close:hover {
    opacity: 1;
}

/* Cart pane body */
.cart-pane-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
    -webkit-overflow-scrolling: touch;
}

.cart-pane-body::-webkit-scrollbar {
    display: none;
}

.cart-pane-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Cart pane footer */
.cart-pane-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(52, 51, 50, 0.1);
}

.cart-pane-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart-pane-checkout {
    width: 100%;
    background: #343332;
    color: #f6f5f1;
    border: none;
    padding: 14px 20px;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: none;
    transition: all 300ms cubic-bezier(.80,0,.20,1);
}

.cart-pane-checkout:hover {
    background: #274b2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 75, 42, 0.3);
}

.cart-pane-checkout:active {
    transform: translateY(0);
}

.cart-pane-checkout.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hide cart pane on mobile, show modal */
@media only screen and (max-width: 900px) {
    .cart-pane-overlay {
        display: none !important;
    }
    
    .cart-modal-overlay {
        cursor: default;
        align-items: flex-end;
    }
    
    .cart-modal {
        width: 100%;
        max-width: none;
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }
    
    .cart-modal-overlay.active .cart-modal {
        transform: translateY(0);
    }
    
    .cart-modal-close,
    .cart-qty-btn,
    .cart-item-remove,
    .cart-modal-checkout {
        cursor: default;
    }
    
    .cart-modal-body {
        max-height: 50vh;
    }
}

/* Hide cart modal on desktop, show pane */
@media only screen and (min-width: 901px) {
    .cart-modal-overlay {
        display: none !important;
    }
}

/* ======================== */
/* PRODUCT DETAIL STYLES    */
/* ======================== */

.product-detail {
    opacity: 0;
    filter: blur(1.5rem);
    transform: translateY(50px);
    transition: 500ms all cubic-bezier(.80,0,.20,1);
}

.product-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(52, 51, 50, 0.1);
}

.product-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #343332;
    cursor: none;
    padding: 8px 0;
    transition: opacity 300ms ease;
    flex-shrink: 0;
}

.product-back-btn:hover {
    opacity: 0.6;
}

.product-back-btn svg {
    width: 16px;
    height: 16px;
}

.product-share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #343332;
    cursor: none;
    padding: 8px 0;
    transition: opacity 300ms ease, color 300ms ease;
    flex-shrink: 0;
    margin-left: auto;
}

.product-share-btn:hover {
    opacity: 0.6;
}

.product-share-btn.copied {
    /* color: #22c55e; */
    opacity: 1;
}

.product-share-btn svg {
    width: 14px;
    height: 14px;
}

.product-detail-title {
    font-family: 'Helvetica Neue Mode';
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    flex: 1;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Product Gallery */
.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* background-color: #e0e0e0; */
    position: relative;
    background-size: cover;
    background-position: center;
    transition: background-image 300ms ease, background-color 300ms ease;
    cursor: pointer;
}

.product-detail-image[data-image-url=""] {
    cursor: default;
}

/* Image Lightbox */
.image-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 500ms cubic-bezier(.80,0,.20,1), visibility 500ms cubic-bezier(.80,0,.20,1);
    cursor: pointer;
}

.image-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    cursor: default;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 200ms ease, transform 500ms cubic-bezier(.80,0,.20,1);
}

.image-lightbox-overlay.active .image-lightbox-img {
    opacity: 1;
    transform: scale(1);
}

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(246, 245, 241, 0.1);
    border: 1px solid rgba(246, 245, 241, 0.2);
    color: #f6f5f1;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 300ms ease, border-color 300ms ease;
    z-index: 2001;
    border-radius: 4px;
}

.image-lightbox-close:hover {
    background: rgba(246, 245, 241, 0.2);
    border-color: rgba(246, 245, 241, 0.4);
}

.image-lightbox-prev,
.image-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(246, 245, 241, 0.1);
    border: 1px solid rgba(246, 245, 241, 0.2);
    color: #f6f5f1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 300ms ease, border-color 300ms ease;
    z-index: 2001;
    border-radius: 4px;
    padding: 0;
}

.image-lightbox-prev {
    left: 20px;
}

.image-lightbox-prev svg {
    transform: rotate(180deg);
}

.image-lightbox-next {
    right: 20px;
}

.image-lightbox-prev:hover,
.image-lightbox-next:hover {
    background: rgba(246, 245, 241, 0.2);
    border-color: rgba(246, 245, 241, 0.4);
}

.image-lightbox-prev svg,
.image-lightbox-next svg {
    width: 24px;
    height: 24px;
    display: block;
}

body.lightbox-open {
    overflow: hidden;
}

/* 
.product-detail-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.05) 50%,
        rgba(0,0,0,0.05) 100%
    );
} */

/* Gallery Thumbnails */
.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-gallery-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border: none;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    cursor: none;
    opacity: 0.5;
    transition: opacity 300ms ease, box-shadow 300ms ease;
}

.product-gallery-thumb:hover {
    opacity: 0.8;
}

.product-gallery-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 2px #343332;
}

/* Colorway Selector */
.product-colorway-selector {
    margin-bottom: 20px;
}

.product-colorway-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: #343332;
}

.colorway-name {
    font-weight: 500;
}

.product-colorway-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.colorway-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: none;
    position: relative;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.colorway-option:hover {
    transform: scale(1.1);
}

.colorway-option.active {
    box-shadow: 0 0 0 2px #f6f5f1, 0 0 0 4px #343332;
}

.colorway-option.active:hover {
    transform: scale(1);
}

/* Sold out colorway indicator */
.colorway-option.sold-out {
    opacity: 0.4;
    position: relative;
}

.colorway-option.sold-out::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 1px;
    background: #343332;
    transform: rotate(-45deg);
}

.colorway-option.sold-out:hover {
    transform: scale(1);
    cursor: not-allowed;
}

.product-detail-info {
    padding-top: 10px;
}

.product-detail-artist {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 12px;
}

.product-detail-price {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 25px;
}

.product-detail-description {
    font-size: 12px;
    line-height: 1.7;
    color: #343332;
    opacity: 0.8;
    margin-bottom: 35px;
    max-width: 380px;
}

.product-detail-add-btn {
    background: #343332;
    color: #f6f5f1;
    border: none;
    padding: 16px 40px;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: none;
    transition: all 300ms cubic-bezier(.80,0,.20,1);
}

.product-detail-add-btn:hover {
    background: #274b2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 75, 42, 0.3);
}

.product-detail-add-btn:active {
    transform: translateY(0);
}

.product-detail-add-btn.added {
    background: #274b2a;
}

.product-detail-add-btn:disabled {
    background: #8a8a8a;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

/* Size selector styles */
.product-size-selector {
    margin-bottom: 25px;
}

.product-size-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 12px;
}

.product-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-option {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(52, 51, 50, 0.3);
    background: transparent;
    font-family: 'Helvetica Neue Mode';
    font-size: 11px;
    color: #343332;
    cursor: none;
    transition: all 200ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-option:hover {
    border-color: #343332;
    background: rgba(52, 51, 50, 0.05);
}

.size-option.selected {
    background: #343332;
    color: #f6f5f1;
    border-color: #343332;
}

/* Shake animation for size and colorway selectors */
.product-size-options.shake,
.product-colorway-options.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-3px); }
    40%, 60% { transform: translateX(3px); }
}

/* Cart item colorway display */
.cart-item-colorway {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 4px;
    color: #4a5568;
    font-weight: 500;
}

/* Cart item size display */
.cart-item-size {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 4px;
    color: #274b2a;
    font-weight: 500;
}

/* ==================== 
   SOLD OUT STYLES
   ==================== */

/* Product card sold out */
.shop-product-card.sold-out {
    position: relative;
}

.shop-product-card.sold-out .shop-product-image {
    opacity: 0.7;
    filter: grayscale(0.6);
    transition: filter 0.3s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.shop-product-card.sold-out .shop-product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.1); */
    pointer-events: none;
    z-index: 1;
}

.shop-product-card.sold-out:hover .shop-product-image {
    filter: grayscale(0);
}

.shop-product-card.sold-out .shop-product-add-to-cart-btn {
    display: none; /* Hide add to cart button */
}

.shop-product-sold-out-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: #f6f5f1;
    padding: 8px 16px;
    font-family: 'Helvetica Neue Mode';
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    pointer-events: none;
}

/* Size option sold out - still clickable but visually crossed out */
.size-option.sold-out {
    opacity: 0.4;
    position: relative;
    cursor: none;
}

/* Strikethrough line for sold out sizes */
.size-option.sold-out::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 1px;
    background: #343332;
    transform: rotate(-12deg);
}

.size-option.sold-out:hover {
    border-color: rgba(52, 51, 50, 0.5);
    background: transparent;
}

.size-option.sold-out.selected {
    border-color: #343332;
    background: rgba(52, 51, 50, 0.1);
}

/* Product detail sold out overlay */
.product-detail-sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f6f5f1;
    font-family: 'Helvetica Neue Mode';
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.product-detail-image {
    position: relative;
}

/* Sold out notice text */
.product-sold-out-notice {
    padding: 12px 16px;
    background: rgba(139, 69, 69, 0.1);
    border: 1px solid rgba(139, 69, 69, 0.3);
    color: #8b4545;
    font-size: 11px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Sold out add button */
.product-detail-add-btn.sold-out {
    background: #8a8a8a;
    cursor: not-allowed;
    pointer-events: none;
}

.product-detail-add-btn.sold-out:hover {
    background: #8a8a8a;
    transform: none;
    box-shadow: none;
}

/* Mobile adjustments for product detail */
@media only screen and (max-width: 900px) {
    .product-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .product-detail-title {
        font-size: 16px;
    }
    
    .product-back-btn {
        cursor: default;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-detail-gallery {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .product-detail-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .product-gallery-thumbs {
        justify-content: center;
    }
    
    .product-gallery-thumb {
        cursor: default;
    }
    
    .product-colorway-selector {
        text-align: left;
    }
    
    .colorway-option {
        cursor: default;
    }
    
    .product-detail-info {
        padding-top: 0;
        text-align: center;
    }
    
    .product-detail-description {
        max-width: none;
        text-align: left;
    }
    
    .product-detail-add-btn {
        width: 100%;
        cursor: default;
    }
    
    .size-option {
        cursor: default;
    }
    
    .product-size-selector {
        text-align: left;
    }
}