
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --black: #090909;
    --panel: #111111;
    --white: #f2f0ed;
    --muted: #777777;
    --red: #ff3038;
    --line: rgba(255, 255, 255, 0.13);

    --font-display: "Barlow Condensed", sans-serif;
    --font-body: "Manrope", sans-serif;
    --font-mono: "DM Mono", monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--red);
    color: white;
}

/* INTRO LOADER */

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: var(--black);
}

.loader-word {
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.06em;
}

.loader-word span,
.logo span {
    color: var(--red);
}

.loader-line {
    width: min(260px, 60vw);
    height: 1px;
    overflow: hidden;
    background: #333;
}

.loader-progress {
    width: 100%;
    height: 100%;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
}

.loader-caption {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
}

/* HEADER */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 28px 5vw;
    border-bottom: 1px solid var(--line);
}

.logo {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.07em;
}

.logo span {
    margin-left: 2px;
    font-size: 10px;
}

.navigation {
    display: flex;
    gap: 34px;
}

.navigation a,
.header-cta {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.navigation a {
    color: #b0b0b0;
    transition: color 0.25s ease;
}

.navigation a:hover,
.header-cta:hover {
    color: var(--red);
}

.navigation a span {
    margin-left: 5px;
    color: var(--red);
    font-size: 8px;
}

.header-cta span {
    margin-left: 8px;
    color: var(--red);
}

/* HERO */

.hero {
    position: relative;
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    padding: 130px 5vw 45px;
    background:
        radial-gradient(
            ellipse at 73% 48%,
            rgba(255, 48, 56, 0.12),
            transparent 34%
        ),
        linear-gradient(120deg, #090909 30%, #101010 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.16;
    background-image:
        linear-gradient(to right, #777 1px, transparent 1px),
        linear-gradient(to bottom, #777 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.hero-glow {
    position: absolute;
    z-index: -1;
    top: 15%;
    right: 3%;
    width: min(48vw, 650px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(220, 220, 220, 0.13) 0%,
        rgba(255, 48, 56, 0.09) 28%,
        transparent 70%
    );
    filter: blur(35px);
    pointer-events: none;
}

.hero-topline {
    position: absolute;
    top: 115px;
    left: 5vw;
    right: 5vw;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.09em;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    margin: auto;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #c5c5c5;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 14px var(--red);
}

.hero-title {
    position: relative;
    width: fit-content;
    font-family: var(--font-display);
    font-size: clamp(7rem, 20.5vw, 21rem);
    font-weight: 900;
    line-height: 0.69;
    letter-spacing: -0.075em;
    text-transform: uppercase;
}

.title-line {
    display: block;
    position: relative;
    white-space: nowrap;
}

.title-line-one {
    color: #e7e7e7;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #a7a7a7 37%,
        #f4f4f4 49%,
        #676767 51%,
        #d5d5d5 70%,
        #777777 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-line-two {
    margin-top: 0.12em;
    color: var(--white);
}

.title-mark {
    display: inline-block;
    margin-left: 0.06em;
    color: var(--red);
    font-family: var(--font-body);
    font-size: 0.13em;
    vertical-align: top;
    letter-spacing: 0;
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 24px;
    margin-top: 55px;
}

.hero-description {
    color: #a8a8a8;
    font-size: clamp(12px, 1.1vw, 15px);
    line-height: 1.8;
}

.round-link {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid #555;
    border-radius: 50%;
    font-size: 22px;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.round-link:hover {
    color: white;
    border-color: var(--red);
    background: var(--red);
    transform: translateY(4px);
}

.hero-edition {
    justify-self: end;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    line-height: 2;
    text-align: right;
    letter-spacing: 0.07em;
}

.hero-edition span {
    display: block;
    color: var(--red);
}

.hero-orbit {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 5%;
    width: min(42vw, 580px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.orbit-two {
    width: min(32vw, 440px);
    border-color: rgba(255, 48, 56, 0.18);
}

.hero-side-label {
    position: absolute;
    top: 50%;
    right: 22px;
    color: #656565;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
    transform: translateY(-50%);
}

/* SHARED SECTIONS */

.section-pad {
    padding: 130px 5vw;
}

.section-label {
    color: var(--red);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
}

/* MANIFESTO */

.manifesto {
    position: relative;
    border-top: 1px solid var(--line);
}

.manifesto-title {
    max-width: 1100px;
    margin-top: 60px;
    font-family: var(--font-display);
    font-size: clamp(4rem, 11vw, 11rem);
    font-weight: 800;
    line-height: 0.87;
    letter-spacing: -0.045em;
}

.manifesto-title span {
    display: block;
    color: #686868;
}

.manifesto-copy {
    max-width: 380px;
    margin: 50px 0 0 auto;
    color: #a3a3a3;
    font-size: 13px;
    line-height: 1.9;
}

/* COLLECTION */

.collection {
    background: #101010;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10px;
}

.section-heading .section-label {
    color: var(--red);
}

.collection-title {
    margin: 55px 0 70px;
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 12rem);
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -0.05em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    min-width: 0;
}
.product-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.product-visual {
    position: relative;
    display: grid;
    min-height: 380px;
    overflow: hidden;
    place-items: center;
    isolation: isolate;
    background: #171717;
}

.product-visual::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: radial-gradient(
        circle at 50% 45%,
        rgba(255, 255, 255, 0.1),
        transparent 55%
    );
    transition: transform 0.5s ease;
}

.product-card:hover .product-visual::before {
    transform: scale(1.3);
}

.product-visual-two {
    background-color: #191415;
}

.product-visual-three {
    background-color: #131416;
}

.product-index {
    position: absolute;
    top: 18px;
    left: 18px;
    color: #929292;
    font-family: var(--font-mono);
    font-size: 9px;
}

.product-plus {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #555;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.product-card:hover .product-plus {
    border-color: var(--red);
    background: var(--red);
}

.product-shape {
    width: 62%;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 48% 16% 35% 20%;
    background: linear-gradient(
        145deg,
        #eeeeee,
        #676767 30%,
        #171717 58%,
        #9a9a9a 72%,
        #303030
    );
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        inset 0 2px 3px rgba(255, 255, 255, 0.5);
    transform: rotate(-22deg) skewX(-10deg);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-shape {
    transform: rotate(-15deg) skewX(-6deg) scale(1.12) translateY(-8px);
}

.shape-two {
    border-radius: 10% 40% 20% 30%;
    background: linear-gradient(145deg, #8c272d, #211416 50%, #d0d0d0);
    transform: rotate(-32deg) skewX(-10deg);
}

.shape-three {
    border-radius: 40% 15% 30% 15%;
    background: linear-gradient(145deg, #f3f3f3, #7c7c7c 25%, #242424 65%, #b9b9b9);
    transform: rotate(-16deg) skewX(-14deg);
}

.product-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.product-info h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.product-info span {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 8px;
    white-space: nowrap;
}

/* FOOTER */

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 35px 5vw;
    border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer > a:last-child {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* TABLET AND MOBILE */

@media (max-width: 800px) {
    .site-header {
        padding: 23px 5vw;
    }

    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 9px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 90svh;
        padding-top: 150px;
    }

    .hero-topline {
        top: 95px;
        font-size: 7px;
    }

    .hero-title {
        font-size: clamp(5.5rem, 21vw, 11rem);
    }

    .hero-orbit {
        top: 42%;
        right: -15%;
        width: 65vw;
    }

    .orbit-two {
        width: 48vw;
    }

    .hero-side-label {
        display: none;
    }

    .hero-bottom {
        margin-top: 45px;
    }

    .section-pad {
        padding: 90px 5vw;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-card:last-child {
        grid-column: 1 / -1;
    }

    .product-visual {
        min-height: 300px;
    }
}

@media (max-width: 520px) {
    .navigation {
        gap: 12px;
    }

    .navigation a {
        font-size: 8px;
    }

    .hero {
        min-height: 85svh;
        padding-right: 5vw;
        padding-left: 5vw;
    }

    .hero-topline {
        gap: 10px;
        font-size: 6px;
    }

    .hero-title {
        font-size: clamp(4.4rem, 20vw, 7rem);
    }

    .hero-bottom {
        grid-template-columns: 1fr auto;
        gap: 18px;
    }

    .hero-edition {
        display: none;
    }

    .round-link {
        width: 46px;
        height: 46px;
    }

    .manifesto-title {
        margin-top: 40px;
        font-size: clamp(3.7rem, 16vw, 6rem);
    }

    .manifesto-copy {
        margin-top: 35px;
    }

    .collection-title {
        margin: 40px 0;
        font-size: 18vw;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card:last-child {
        grid-column: auto;
    }

    .product-visual {
        min-height: 340px;
    }

    .site-footer {
        flex-wrap: wrap;
    }

    .site-footer p {
        order: 3;
        width: 100%;
    }
}

.test-animation {
    margin-top: 30px;
    padding: 14px 22px;
    color: #f2f0ed;
    background: transparent;
    border: 1px solid #ff3038;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.test-animation:hover {
    background: #ff3038;
}

.product-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.product-visual {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(255, 40, 50, 0.10),
            transparent 65%
        ),
        #101010;
}

.product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: filter 0.4s ease;
}

.product-card:hover .product-image {
    filter: drop-shadow(0 12px 24px rgba(255, 35, 45, 0.18));
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 0 10px;
}

.product-category {
    color: #858585;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
}

.product-name {
    margin: 0;
    color: #f2f0ed;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.product-price {
    margin: 0;
    color: #ff3038;
    font-family: "DM Mono", monospace;
    font-size: 12px;
}

.product-card {
    cursor: pointer;
}

.product-card .product-image {
    transition:
        transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.06);
    filter: drop-shadow(0 15px 30px rgba(255, 35, 45, 0.2));
}

/* ===== AFTERHOURS CAMPAIGN ===== */

.campaign {
    position: relative;
    min-height: 560px;
    margin: 100px 5% 80px;
    padding: 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.09);
}


.campaign-image {
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.78) 35%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        url("../assets/images/campaign.jpg");

    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;

    transform: scale(1.02);
}


.campaign-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.campaign-label {
    display: block;
    margin-bottom: 28px;
    color: #a4a4a4;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
}

.campaign h2 {
    margin: 0;
    color: #f5f3f0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(44px, 7vw, 96px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.campaign h2 span {
    color: #ff3038;
    text-shadow: 0 0 35px rgba(255, 48, 56, 0.18);
}

.campaign-content p {
    margin: 28px 0 32px;
    color: #999;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.campaign-button {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    padding: 17px 20px;
    color: #f5f3f0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.campaign-button span {
    color: #ff3038;
    transition: transform 0.3s ease;
}

.campaign-button:hover {
    color: #fff;
    background: #ff3038;
    border-color: #ff3038;
}

.campaign-button:hover span {
    color: #fff;
    transform: translate(3px, -3px);
}

.campaign-index {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: #777;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
}

/* Mobile */

@media (max-width: 600px) {
    .campaign {
        min-height: 430px;
        margin: 60px 4% 50px;
        padding: 30px 24px;
    }

    .campaign h2 {
        font-size: clamp(42px, 12vw, 66px);
    }

    .campaign-content p {
        max-width: 240px;
        line-height: 1.8;
    }
}

/* ===== PRODUCT DETAIL PAGE ===== */

.product-page {
    min-height: 100vh;
    background: #080808;
    color: #f2f0ed;
}

.product-header {
    min-height: 82px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.product-logo {
    color: #f2f0ed;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.06em;
    text-decoration: none;
}

.product-logo sup {
    color: #ff3038;
    font-size: 10px;
}

.back-link {
    color: #999;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.back-link:hover {
    color: #ff3038;
}

.product-detail {
    width: 90%;
    max-width: 1400px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 8%;
    align-items: start;
}

.product-detail-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(255, 35, 45, 0.13),
            transparent 55%
        ),
        #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-image {
    display: block;
    width: 90%;
    height: 460px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-detail-visual:hover .detail-image {
    transform: scale(1.06);
}

.detail-number,
.detail-caption {
    position: absolute;
    color: #858585;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.detail-number {
    top: 22px;
    left: 22px;
}

.detail-caption {
    right: 22px;
    bottom: 22px;
}

.product-detail-info {
    padding: 24px 0;
}

.detail-category {
    color: #ff3038;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.product-detail-info h1 {
    margin: 24px 0 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.detail-price {
    font-family: "DM Mono", monospace;
    font-size: 16px;
}

.detail-divider {
    height: 1px;
    margin: 28px 0;
    background: rgba(255, 255, 255, 0.15);
}

.detail-description {
    max-width: 440px;
    color: #999;
    font-size: 13px;
    line-height: 1.9;
}

.size-label {
    display: block;
    margin: 32px 0 14px;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.size-option {
    min-height: 45px;
    color: #ddd;
    background: #111;
    border: 1px solid #333;
    cursor: pointer;
    transition: 0.2s ease;
}

.size-option:hover,
.size-option.selected {
    color: #fff;
    border-color: #ff3038;
    background: rgba(255, 48, 56, 0.12);
}

.add-to-cart {
    width: 100%;
    min-height: 56px;
    margin-top: 24px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    background: #ff3038;
    border: 1px solid #ff3038;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.25s ease;
}

.add-to-cart:hover {
    background: #d91e28;
}

.cart-message {
    min-height: 18px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
}

.detail-meta {
    margin-top: 35px;
    border-top: 1px solid #292929;
}

.detail-meta p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    margin: 0;
    border-bottom: 1px solid #292929;
    color: #ddd;
    font-family: "DM Mono", monospace;
    font-size: 9px;
}

.detail-meta p span {
    color: #777;
}

@media (max-width: 760px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 30px auto;
    }

    .product-detail-visual {
        min-height: 350px;
    }

    .detail-image {
        height: 320px;
    }

    .product-detail-info {
        padding-top: 10px;
    }

    .product-header {
        min-height: 70px;
    }

    .back-link {
        font-size: 9px;
    }
}

/* FIX: product grid and card sizing */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}

.product-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-self: start;
}

.product-card img,
.product-card .product-image {
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 760px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* FIX PRODUCT GRID */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}

.product-grid .product-card {
    width: 100%;
    min-width: 0;
    grid-column: auto;
    box-sizing: border-box;
}

.product-grid .product-visual {
    width: 100%;
    height: 320px;
    min-height: 0;
}

.product-grid .product-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .product-grid .product-visual {
        height: 300px;
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-grid .product-visual {
        height: 340px;
    }
}

/* AFTERHOURS — CATALOG GRID FIX */

.product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100%;
}

.product-grid .product-card {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    grid-column: auto !important;
    align-self: start;
    box-sizing: border-box;
}

.product-grid .product-visual {
    width: 100%;
    height: 320px;
    min-height: 0;
}

.product-grid .product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ===== SHOPPING CART ===== */

.cart-page {
    min-height: 100vh;
    background: #080808;
    color: #f2f0ed;
}

.cart-main {
    width: 90%;
    max-width: 1400px;
    margin: 65px auto;
}

.cart-heading h1 {
    margin: 18px 0 45px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(35px, 6vw, 70px);
    font-weight: 800;
    letter-spacing: -0.07em;
}

.cart-heading h1 span {
    color: #ff3038;
    font-size: 0.4em;
    letter-spacing: 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 55px;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #292929;
}

.cart-item-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    background: #111;
}

.cart-item-name {
    margin: 0 0 12px;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.cart-item-meta {
    color: #999;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 2;
}

.cart-item-price {
    margin-top: 12px;
    color: #ff3038;
    font-family: "DM Mono", monospace;
    font-size: 12px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.quantity-button,
.remove-button {
    color: #eee;
    background: transparent;
    border: 1px solid #383838;
    cursor: pointer;
}

.quantity-button {
    width: 30px;
    height: 30px;
}

.quantity-value {
    min-width: 16px;
    text-align: center;
    font-size: 12px;
}

.remove-button {
    padding: 8px 10px;
    color: #999;
    font-family: "DM Mono", monospace;
    font-size: 9px;
}

.quantity-button:hover,
.remove-button:hover {
    border-color: #ff3038;
    color: #ff3038;
}

.cart-summary {
    position: sticky;
    top: 25px;
    padding: 25px;
    border: 1px solid #292929;
    background: #0d0d0d;
}

.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-family: "DM Mono", monospace;
    font-size: 11px;
}

.summary-line {
    margin-top: 24px;
    color: #999;
}

.summary-total {
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #333;
    color: #fff;
}

.summary-total span:last-child {
    color: #ff3038;
}

.cart-summary .add-to-cart {
    margin-top: 28px;
}

.cart-disclaimer {
    color: #777;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    text-align: center;
}

.cart-empty {
    padding: 50px 0;
    color: #999;
    font-family: "DM Mono", monospace;
    font-size: 12px;
    line-height: 2;
}

.cart-empty a {
    color: #ff3038;
}

@media (max-width: 800px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 520px) {
    .cart-item {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 15px;
    }

    .cart-item-image {
        width: 100px;
        height: 120px;
    }

    .cart-item-price {
        margin-top: 8px;
    }
}

/* CATALOG CONTROLS */

.catalog-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin: 35px 0 18px;
}

.catalog-search,
.catalog-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-controls label {
    color: #858585;
    font-size: 10px;
    letter-spacing: 2px;
}

.catalog-controls input,
.catalog-controls select {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    color: #f5f5f5;
    background: #101010;
    border: 1px solid #303030;
    border-radius: 0;
    font: inherit;
    font-size: 12px;
    box-sizing: border-box;
}

.catalog-controls input:focus,
.catalog-controls select:focus {
    outline: 1px solid #aaa;
    border-color: #aaa;
}

.catalog-results {
    margin: 0 0 20px;
    color: #858585;
    font-size: 10px;
    letter-spacing: 2px;
}

@media (max-width: 650px) {
    .catalog-controls {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .catalog-search {
        grid-column: 1 / -1;
    }
}

/* AFTERHOURS CHECKOUT */

.checkout-page {
    background: #080808;
    color: #f4f4f4;
    min-height: 100vh;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 6%;
    border-bottom: 1px solid #252525;
}

.checkout-logo {
    color: #fff;
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 3px;
}

.checkout-logo span {
    color: #999;
    font-size: 12px;
    vertical-align: top;
}

.checkout-back {
    color: #aaa;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.checkout-main {
    width: min(1180px, 88%);
    margin: 0 auto;
    padding: 65px 0 100px;
}

.checkout-heading {
    margin-bottom: 45px;
}

.checkout-eyebrow,
.checkout-section-number {
    color: #929292;
    font-size: 10px;
    letter-spacing: 2px;
}

.checkout-heading h1 {
    margin: 18px 0 12px;
    font-size: clamp(38px, 6vw, 68px);
    letter-spacing: -2px;
}

.checkout-heading h1 span,
.order-success h2 span {
    color: #d12b2b;
}

.checkout-heading > p:last-child {
    color: #999;
    font-size: 13px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
    align-items: start;
    gap: 65px;
}

.checkout-section {
    margin-bottom: 38px;
    padding-bottom: 35px;
    border-bottom: 1px solid #292929;
}

.checkout-section h2,
.checkout-summary h2 {
    margin: 12px 0 25px;
    font-size: 21px;
    font-weight: 500;
}

.checkout-form label:not(.shipping-option) {
    display: block;
    margin: 18px 0 9px;
    color: #aaa;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.checkout-form input:not([type="radio"]),
.checkout-form select {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    color: #f4f4f4;
    background: #111;
    border: 1px solid #303030;
    border-radius: 0;
    box-sizing: border-box;
    font: inherit;
    font-size: 13px;
}

.checkout-form input:focus,
.checkout-form select:focus {
    outline: 1px solid #aaa;
    border-color: #aaa;
}

.checkout-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 12px;
    margin-top: 12px;
    border: 1px solid #303030;
    cursor: pointer;
}

.shipping-option input[type="radio"] {
    accent-color: #eee;
}

.shipping-option span {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 7px;
}

.shipping-option strong {
    font-size: 10px;
    letter-spacing: .7px;
}

.shipping-option small {
    color: #888;
    font-size: 10px;
}

.checkout-summary {
    position: sticky;
    top: 25px;
    padding: 26px;
    border: 1px solid #292929;
    background: #0d0d0d;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.checkout-item {
    display: grid;
    grid-template-columns: 75px 1fr auto;
    align-items: center;
    gap: 13px;
}

.checkout-item img {
    width: 75px;
    height: 85px;
    object-fit: contain;
    background: #151515;
}

.checkout-item-name {
    margin: 0 0 8px;
    font-size: 12px;
}

.checkout-item-meta {
    color: #888;
    font-size: 10px;
    line-height: 1.8;
}

.checkout-item-price {
    font-size: 11px;
    white-space: nowrap;
}

.checkout-total-row,
.checkout-grand-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #292929;
    font-size: 11px;
}

.checkout-grand-total {
    align-items: center;
    font-size: 12px;
    letter-spacing: 1px;
}

.checkout-grand-total strong {
    font-size: 19px;
}

.checkout-summary-note,
.checkout-disclaimer {
    color: #777;
    font-size: 10px;
    line-height: 1.8;
}


.checkout-place-order {
    width: 100%;
    min-height: 52px;
    margin-top: 15px;

    color: #fff;
    background: #d12b2b;
    border: 1px solid #d12b2b;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;

    cursor: pointer;
    transition: background .25s ease,
                border-color .25s ease,
                transform .25s ease;
}

.checkout-place-order:hover {
    background: #a91f1f;
    border-color: #a91f1f;
    transform: translateY(-2px);
}

.checkout-place-order:active {
    transform: translateY(0);
}


.checkout-place-order:hover {
    color: #fff;
    background: #d12b2b;
    border-color: #d12b2b;
}

.checkout-error {
    color: #ff6969;
    font-size: 12px;
}

.order-success {
    margin-top: 45px;
    padding: 40px;
    border: 1px solid #303030;
}

.order-success h2 {
    font-size: clamp(35px, 5vw, 58px);
}

.order-success p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
}

.order-success a {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
}

@media (max-width: 800px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .checkout-summary {
        position: static;
        grid-row: 1;
    }

    .checkout-main {
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .checkout-header {
        padding: 22px 5%;
    }

    .checkout-logo {
        font-size: 17px;
    }

    .checkout-main {
        width: 90%;
    }

    .checkout-two-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-summary {
        padding: 18px;
    }

    .order-success {
        padding: 24px;
    }
}

/* CART — PROCEED TO CHECKOUT BUTTON */

#checkoutButton {
    width: 100%;
    min-height: 52px;
    padding: 15px 20px;

    color: #fff !important;
    background: #d12b2b !important;
    border: 1px solid #d12b2b !important;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    cursor: pointer;
    transition: background .25s ease,
                border-color .25s ease,
                transform .25s ease;
}

#checkoutButton:hover {
    background: #a91f1f !important;
    border-color: #a91f1f !important;
    transform: translateY(-2px);
}

/* AFTERHOURS WISHLIST BUTTON */

.product-visual {
    position: relative;
    isolation: isolate;
}

.wishlist-button {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 100;

    width: 48px;
    height: 48px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #555;
    border-radius: 50%;

    font-size: 27px;
    line-height: 1;
    cursor: pointer;

    pointer-events: auto;
    touch-action: manipulation;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.wishlist-button:hover {
    transform: scale(1.06);
    border-color: #d12b2b;
}

.wishlist-button.is-favorite {
    color: #ff3030;
    border-color: #d12b2b;
}

.wishlist-button:focus-visible {
    outline: 2px solid #d12b2b;
    outline-offset: 4px;
}


/* ===== WISHLIST PAGE ===== */

.wishlist-header {
    min-height: 80px;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #292929;
}

.wishlist-logo {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
}

.wishlist-header nav {
    display: flex;
    gap: 28px;
}

.wishlist-header nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
}

.wishlist-header nav a:hover {
    color: #fff;
}

.wishlist-page {
    min-height: 80vh;
    padding: 70px 5%;
}

.wishlist-heading {
    margin-bottom: 45px;
}

.wishlist-heading p {
    color: #999;
    font-size: 10px;
    letter-spacing: 3px;
}

.wishlist-heading h1 {
    margin-top: 12px;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1;
    letter-spacing: -4px;
}

.wishlist-heading h1 span {
    color: #d12b2b;
    font-size: 25px;
    vertical-align: top;
    letter-spacing: 0;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.wishlist-card {
    min-width: 0;
    border: 1px solid #292929;
    background: #0d0d0d;
}

.wishlist-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #171717;
}

.wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.wishlist-card:hover .wishlist-card-image img {
    transform: scale(1.04);
}

.wishlist-card-info {
    padding: 18px;
}

.wishlist-card-category {
    color: #888;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.wishlist-card-name {
    margin: 10px 0;
    font-size: 15px;
    font-weight: 700;
}

.wishlist-card-price {
    margin-bottom: 18px;
    font-size: 14px;
}

.wishlist-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wishlist-view-button,
.wishlist-remove-button {
    min-height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
}

.wishlist-view-button {
    flex: 1;
    color: #fff;
    background: #d12b2b;
    border: 1px solid #d12b2b;
}

.wishlist-view-button:hover {
    background: #a51f1f;
}

.wishlist-remove-button {
    color: #aaa;
    background: transparent;
    border: 1px solid #393939;
}

.wishlist-remove-button:hover {
    color: #fff;
    border-color: #d12b2b;
}

.wishlist-empty {
    padding: 65px 20px;
    text-align: center;
    border: 1px solid #292929;
}

.wishlist-empty h2 {
    font-size: clamp(24px, 4vw, 42px);
    letter-spacing: -1px;
}

.wishlist-empty p {
    margin: 16px 0 25px;
    color: #999;
}

.wishlist-empty a {
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    text-decoration-color: #d12b2b;
    text-underline-offset: 5px;
}

@media (max-width: 700px) {
    .wishlist-page {
        padding: 45px 5%;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .wishlist-card-info {
        padding: 12px;
    }

    .wishlist-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wishlist-view-button,
    .wishlist-remove-button {
        width: 100%;
        box-sizing: border-box;
    }

    .wishlist-header nav {
        gap: 14px;
    }
}

/* WISHLIST — COMPACT LAYOUT */

.wishlist-page {
    padding: 45px 5%;
}

.wishlist-heading {
    margin-bottom: 28px;
}

.wishlist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1200px;
}

.wishlist-card-image {
    aspect-ratio: 1 / 1;
}

.wishlist-card-info {
    padding: 12px;
}

.wishlist-card-name {
    font-size: 13px;
    margin: 8px 0;
}

.wishlist-card-price {
    font-size: 13px;
    margin-bottom: 12px;
}

.wishlist-card-actions {
    gap: 7px;
}

.wishlist-view-button,
.wishlist-remove-button {
    min-height: 36px;
    padding: 0 8px;
    font-size: 9px;
}

@media (max-width: 900px) {
    .wishlist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* ===== SHOPPING BAG IMPROVEMENTS ===== */

.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    align-items: start;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid #292929;
}

.cart-item-image {
    display: block;
    width: 130px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #171717;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-name {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.4;
}

.cart-item-meta {
    color: #999;
    font-size: 11px;
    line-height: 1.9;
}

.cart-item-price {
    margin: 12px 0;
    font-size: 13px;
}

.cart-item-line-total {
    font-size: 13px;
    white-space: nowrap;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.quantity-button {
    width: 34px;
    height: 34px;
    color: #fff;
    background: #111;
    border: 1px solid #393939;
    cursor: pointer;
}

.quantity-button:hover {
    border-color: #d12b2b;
}

.quantity-value {
    min-width: 18px;
    text-align: center;
    font-size: 12px;
}

.remove-button {
    padding: 8px 0;
    color: #999;
    background: transparent;
    border: 0;
    font-size: 10px;
    letter-spacing: 1px;
    cursor: pointer;
}

.remove-button:hover {
    color: #ff3030;
}

#checkoutButton:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.cart-empty {
    padding: 45px 20px;
    color: #aaa;
    text-align: center;
    line-height: 2;
    border: 1px solid #292929;
}

.cart-empty a {
    color: #fff;
    text-decoration-color: #d12b2b;
    text-underline-offset: 5px;
}

@media (max-width: 650px) {
    .cart-item {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 14px;
    }

    .cart-item-image {
        width: 90px;
    }

    .cart-item-line-total {
        grid-column: 2;
        justify-self: start;
    }

    .cart-item-name {
        font-size: 13px;
    }

    .cart-item-actions {
        gap: 7px;
    }
}
/* FLOATING CART BUTTON */
.floating-cart {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: min(420px, calc(100% - 32px));
    padding: 17px 22px;

    background: #d62828;
    color: #fff;
    border: 1px solid #ff4545;
    text-decoration: none;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
}

.floating-cart.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.floating-cart:hover {
    background: #b91f1f;
}

.floating-cart-count {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .floating-cart {
        bottom: 16px;
        padding: 16px;
        gap: 12px;
        font-size: 11px;
    }
}
.hero-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: #aaa;
    font-size: 10px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color .25s ease;
}

.hero-scroll-cue:hover {
    color: #fff;
}

.hero-scroll-arrow {
    display: inline-block;
    font-size: 18px;
    animation: scrollCue 1.4s ease-in-out infinite;
}

@keyframes scrollCue {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-arrow {
        animation: none;
    }
}

/* =========================================
   AFTERHOURS® — REFINED PRODUCT GRID
   ========================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 18px;
    align-items: start;
}

.product-card {
    position: relative;
    min-width: 0;
    cursor: pointer;
    transform-style: preserve-3d;
    border: 1px solid transparent;
    transition:
        border-color 0.35s ease,
        background-color 0.35s ease;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.015);
}

.product-visual {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(255, 40, 50, 0.075),
            transparent 67%
        ),
        #101010;
}

.product-image {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px;
    object-fit: contain;
    transition:
        transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.055);
    filter: drop-shadow(0 12px 22px rgba(255, 35, 45, 0.14));
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    min-height: 116px;
    padding: 17px 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.product-category {
    color: #858585;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-name {
    margin: 0;
    color: #f2f0ed;
    font-family: "Manrope", sans-serif;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.product-price {
    margin: auto 0 0;
    padding-top: 4px;
    color: #ff3038;
    font-family: "DM Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.025em;
}

/* Wishlist button */
.product-visual .wishlist-button {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #f2f0ed;
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.product-visual .wishlist-button:hover,
.product-visual .wishlist-button.is-favorite {
    color: #ff3038;
    border-color: rgba(255, 48, 56, 0.65);
    background: #171011;
}

/* Tablet */
@media (max-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 14px;
    }

    .product-info {
        padding: 15px 10px 13px;
    }
}

/* Small tablet / large phone */
@media (max-width: 700px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .product-card:last-child {
        grid-column: auto;
    }

    .product-info {
        min-height: 110px;
        gap: 8px;
        padding: 13px 9px 12px;
    }

    .product-category {
        font-size: 8px;
    }

    .product-name {
        font-size: 11px;
    }

    .product-price {
        font-size: 11px;
    }

    .product-visual .wishlist-button {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .product-grid {
        gap: 20px 9px;
    }

    .product-image {
        padding: 7px;
    }

    .product-info {
        padding-right: 6px;
        padding-left: 6px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-image,
    .product-visual .wishlist-button {
        transition: none !important;
    }
}

/* AFTERHOURS® — PRODUCT PAGE REFINEMENT */

.product-detail {
    width: min(90%, 1440px);
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: clamp(35px, 6vw, 100px);
    align-items: start;
    margin: 55px auto 90px;
}

.product-detail-visual {
    position: relative;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 48%,
            rgba(255, 48, 56, 0.13),
            transparent 62%
        ),
        #101010;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.detail-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 30px;
    object-fit: contain;
    transition: transform 0.65s cubic-bezier(.2, .7, .2, 1);
}

.product-detail-visual:hover .detail-image {
    transform: scale(1.045);
}

.detail-number,
.detail-caption {
    z-index: 1;
    font-size: 9px;
    letter-spacing: 0.14em;
}

.detail-number {
    top: 20px;
    left: 20px;
}

.detail-caption {
    right: 20px;
    bottom: 20px;
}

.product-detail-info {
    min-width: 0;
    padding: 12px 0 24px;
}

.detail-category {
    font-size: 9px;
    letter-spacing: 0.18em;
}

.product-detail-info h1 {
    margin: 24px 0 20px;
    font-size: clamp(34px, 4vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.065em;
    overflow-wrap: anywhere;
}

.detail-price {
    color: #ff3038;
    font-size: 17px;
    letter-spacing: 0.02em;
}

.detail-divider {
    margin: 27px 0;
    background: rgba(255, 255, 255, 0.12);
}

.detail-description {
    max-width: 460px;
    color: #a0a0a0;
    font-size: 12px;
    line-height: 1.9;
}

.size-label {
    margin: 28px 0 13px;
    color: #e8e8e8;
    font-size: 9px;
    letter-spacing: 0.14em;
}

.size-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.size-option {
    min-width: 0;
    min-height: 48px;
    background: #101010;
    border-color: #303030;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.size-option:hover,
.size-option.selected {
    color: #fff;
    background: rgba(255, 48, 56, 0.12);
    border-color: #ff3038;
}

.add-to-cart {
    min-height: 60px;
    margin-top: 22px;
    padding: 0 22px;
    font-size: 10px;
    letter-spacing: 0.12em;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.add-to-cart:hover {
    background: #d91e28;
    border-color: #d91e28;
}

.cart-message {
    margin-top: 12px;
    font-size: 11px;
}

.detail-meta {
    margin-top: 28px;
}

.detail-meta p {
    padding: 15px 0;
    font-size: 9px;
    letter-spacing: 0.04em;
}

.detail-meta p span {
    color: #777;
}

@media (max-width: 760px) {
    .product-detail {
        width: 90%;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin: 28px auto 60px;
    }

    .product-detail-visual {
        aspect-ratio: 1 / 1;
    }

    .detail-image {
        padding: 18px;
    }

    .product-detail-info {
        padding-top: 8px;
    }

    .product-detail-info h1 {
        margin-top: 18px;
        font-size: clamp(36px, 10vw, 54px);
    }

    .size-options {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 380px) {
    .product-detail {
        width: 92%;
    }

    .size-options {
        gap: 6px;
    }

    .size-option {
        min-height: 44px;
    }

    .detail-meta p {
        gap: 10px;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-image,
    .size-option,
    .add-to-cart {
        transition: none !important;
    }
}

/* AFTERHOURS® — WISHLIST BUTTON FIX */

.product-visual .wishlist-button {
    position: absolute;
    z-index: 10;
    top: 8px;
    right: 8px;

    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;
    line-height: 1;
    text-align: center;

    background: rgba(8, 8, 8, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Не рисуем отдельное сердце поверх оригинального */
.product-visual .wishlist-button::before {
    content: none !important;
    display: none !important;
}

/* Сохранённый товар */
.product-visual .wishlist-button.is-favorite {
    color: #ff3038 !important;
    background: rgba(255, 48, 56, 0.16) !important;
    border-color: #ff3038 !important;
}

@media (max-width: 700px) {
    .product-visual .wishlist-button {
        top: 6px;
        right: 6px;
        width: 58px;
        height: 58px;
        min-width: 58px;
        min-height: 58px;
        font-size: 27px;
    }
}
/* AFTERHOURS® — BIGGER DESKTOP WISHLIST HIT AREA */

@media (min-width: 701px) {
    .product-visual .wishlist-button {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
        top: 4px;
        right: 4px;
        font-size: 28px;
    }
}
/* AFTERHOURS® — INVISIBLE 70x70 HIT AREA */

@media (min-width: 701px) {
    .product-visual .wishlist-button {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;

        top: 0;
        right: 0;

        /* Сам круг делаем маленьким */
        background: transparent !important;
        border: none !important;
        border-radius: 0;

        /* Убираем оформление кнопки, но оставляем область клика */
        position: absolute;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    /* Маленький видимый круг вокруг сердечка */
    .product-visual .wishlist-button::after {
        content: "";
        position: absolute;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        background: rgba(8, 8, 8, 0.82);
        z-index: -1;
        pointer-events: none;
    }

    .product-visual .wishlist-button.is-favorite::after {
        border-color: #ff3038;
        background: rgba(255, 48, 56, 0.16);
    }
}
/* FIX — RED COLOR ONLY ON THE VISIBLE CIRCLE */

@media (min-width: 701px) {
    .product-visual .wishlist-button,
    .product-visual .wishlist-button:hover,
    .product-visual .wishlist-button.is-favorite {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    .product-visual .wishlist-button::after {
        z-index: 0;
        pointer-events: none;
    }

    .product-visual .wishlist-button {
        isolation: isolate;
    }

    .product-visual .wishlist-button.is-favorite::after {
        border-color: #ff3038 !important;
        background: rgba(255, 48, 56, 0.16) !important;
    }

    .product-visual .wishlist-button.is-favorite {
        color: #ff3038 !important;
    }
}
/* Фикс сетки: заставляем карточки-ссылки правильно вставать в колонки */
.product-grid .product-card,
.products-grid .product-card {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
/* ===== AFTERHOURS COMPACT CLICK SLIDER (FIXED) ===== */
.story-slider-section {
    position: relative !important;
    width: 100% !important;
    padding: 60px 5vw 40px !important;
    background: #090909 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13) !important;
    display: block !important; /* Гарантируем, что секция не ломает общую сетку сайта */
}

.slider-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    position: relative !important;
}

.slider-window {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    min-height: 200px !important; /* Уменьшили высоту, чтобы блок был еще аккуратнее */
}

.slider-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

/* ЖЁСТКО СКРЫВАЕМ ВСЕ СЛАЙДЫ ПО УМОЛЧАНИЮ */
.slider-wrapper .slide-item {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important; /* Полностью убираем из потока, чтобы тексты не накладывались */
    flex-direction: column !important;
    justify-content: center !important;
}

/* ПОКАЗЫВАЕМ ТОЛЬКО ОДИН АКТИВНЫЙ СЛАЙД */
.slider-wrapper .slide-item.active {
    position: relative !important; /* Первый слайд держит высоту контейнера */
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important; /* Включаем отображение */
    z-index: 10 !important;
}

.slide-num {
    display: block !important;
    color: #ff3038 !important;
    font-family: "DM Mono", monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.2em !important;
    margin-bottom: 12px !important;
}

.slide-item h2 {
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
    text-transform: uppercase !important;
    color: #f2f0ed !important;
    margin-bottom: 14px !important;
}

.slide-item p {
    font-size: clamp(13px, 1.1vw, 15px) !important;
    color: #a3a3a3 !important;
    line-height: 1.6 !important;
    max-width: 700px !important;
}

/* Кнопки-стрелки */
.slider-controls {
    display: flex !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.slider-arrow {
    width: 48px !important;
    height: 48px !important;
    border: 1px solid #333 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #f2f0ed !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

.slider-arrow:hover {
    border-color: #ff3038 !important;
    background: #ff3038 !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .slider-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
    .slider-controls {
        align-self: flex-end !important;
    }
}

