* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #000;
    --surface: #060606;
    --accent: #e60000;
    --accent-bright: #ff3030;
    --accent-dark: #860000;
    --text: #fff;
    --dim: #aaa;
    --border: #242424;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #000;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.hash-rain {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: .84;
}

.hash-col {
    position: absolute;
    top: -100%;
    width: 1.2em;
    color: #ff2020;
    font-family: 'Courier New', monospace;
    line-height: 1.2;
    text-align: center;
    white-space: pre-line;
    animation: hash-fall var(--speed) linear infinite;
    animation-delay: var(--delay);
    text-shadow: 0 0 8px rgba(255,0,0,.92), 0 0 20px rgba(255,0,0,.58);
}

@keyframes hash-fall {
    0% { transform: translateY(-100%); opacity: 0; }
    10%, 90% { opacity: .96; }
    100% { transform: translateY(calc(100vh + 100%)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hash-rain { display: none; }
    html { scroll-behavior: auto; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    padding: 12px clamp(18px, 4vw, 58px);
    border-bottom: 1px solid #000;
    background: rgba(0,0,0,.94);
    backdrop-filter: blur(12px);
}

.brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
}

.brand span { color: var(--accent-bright); }
.back-link { color: #ddd; font-size: .84rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: #fff; }

main { position: relative; z-index: 2; }

.product-hero {
    position: relative;
    min-height: calc(100vh - 70px);
    padding: 42px clamp(18px, 5vw, 72px) 70px;
    border-bottom: 1px solid #000;
    background: linear-gradient(90deg, rgba(0,0,0,.97), rgba(0,0,0,.82)), url('wolf-matrix-hero.webp') right center / cover no-repeat;
}

.breadcrumbs {
    width: min(1180px, 100%);
    margin: 0 auto 30px;
    color: var(--dim);
    font-size: .76rem;
}

.breadcrumbs a { color: #ddd; text-decoration: none; }

.product-layout {
    display: grid;
    grid-template-columns: minmax(360px, 1.15fr) minmax(0, .85fr);
    gap: clamp(28px, 5vw, 64px);
    width: min(1300px, 100%);
    margin: 0 auto;
    align-items: center;
}

.product-media {
    position: relative;
    display: grid;
    min-height: 420px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 6px;
    background:
        radial-gradient(circle at 50% 46%, rgba(255, 28, 28, .25), rgba(0, 0, 0, .2) 35%, rgba(0, 0, 0, .78) 74%),
        linear-gradient(135deg, rgba(0, 0, 0, .74), rgba(70, 0, 0, .4)),
        url('wolf-matrix-hero.webp') center / cover no-repeat,
        #000;
    box-shadow: inset 0 0 44px rgba(255, 0, 0, .36), 0 0 24px rgba(255, 0, 0, .2);
}

.product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(0, 0, 0, .42) 100%);
}

.product-media.dual { grid-template-columns: 1.35fr .65fr; gap: 1px; }

.product-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 520px;
    margin: auto;
    object-fit: contain;
    object-position: center center;
    padding: 22px;
    background: transparent;
    filter: drop-shadow(0 0 24px rgba(255, 0, 0, .52)) drop-shadow(0 0 54px rgba(255, 0, 0, .3));
}

.product-media.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 620px;
    align-content: start;
    overflow-y: auto;
    gap: 1px;
    scrollbar-color: #ff2020 #050505;
    scrollbar-width: thin;
}

.product-media.product-gallery::-webkit-scrollbar { width: 9px; }
.product-media.product-gallery::-webkit-scrollbar-track { background: #050505; }
.product-media.product-gallery::-webkit-scrollbar-thumb { background: #a40000; border: 2px solid #050505; }

.product-media.product-gallery img {
    min-height: 210px;
    max-height: 300px;
    padding: 12px;
    border: 1px solid rgba(255, 26, 26, .24);
    object-fit: contain;
    background:
        radial-gradient(circle at 50% 46%, rgba(255, 28, 28, .23), rgba(0, 0, 0, .2) 35%, rgba(0, 0, 0, .78) 74%),
        linear-gradient(135deg, rgba(0, 0, 0, .74), rgba(70, 0, 0, .36)),
        url('wolf-matrix-hero.webp') center / cover no-repeat,
        #000;
    box-shadow: inset 0 0 28px rgba(255, 0, 0, .24);
}

.product-media.product-gallery img:first-child {
    grid-column: 1 / -1;
    min-height: 320px;
}

.product-media.product-carousel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 660px;
    padding: 12px;
    overflow: visible;
}

.carousel-stage {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 1;
    min-height: 535px;
    width: 100%;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 26, 26, .25);
    border-radius: 5px;
    background:
        radial-gradient(circle at 50% 46%, rgba(255, 28, 28, .23), rgba(0, 0, 0, .2) 35%, rgba(0, 0, 0, .78) 74%),
        linear-gradient(135deg, rgba(0, 0, 0, .74), rgba(70, 0, 0, .36)),
        url('wolf-matrix-hero.webp') center / cover no-repeat,
        #000;
}

.product-media .carousel-main-image {
    width: 100%;
    height: 100%;
    max-height: 640px;
    padding: 8px;
    cursor: zoom-in;
    transition: transform .24s ease, filter .24s ease;
    transform-origin: center center;
}

.carousel-stage:hover .carousel-main-image,
.carousel-stage:focus-within .carousel-main-image {
    transform: scale(1.18);
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, .62)) drop-shadow(0 0 70px rgba(255, 0, 0, .36));
}

.carousel-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 42, 42, .62);
    border-radius: 4px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel-control:hover,
.carousel-control:focus-visible {
    border-color: #ff4b4b;
    background: rgba(85, 0, 0, .82);
    outline: none;
    box-shadow: 0 0 16px rgba(255, 0, 0, .34);
}

.carousel-control-prev { left: 10px; }
.carousel-control-next { right: 10px; }

.carousel-thumbnails {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scrollbar-color: #ff2020 #050505;
    scrollbar-width: thin;
}

.carousel-thumbnail {
    flex: 0 0 92px;
    height: 92px;
    overflow: hidden;
    border: 1px solid rgba(255, 26, 26, .24);
    border-radius: 4px;
    background: #050505;
    cursor: pointer;
    opacity: .72;
    padding: 0;
}

.carousel-thumbnail:hover,
.carousel-thumbnail:focus-visible,
.carousel-thumbnail.is-active {
    border-color: #ff3434;
    opacity: 1;
    outline: none;
    box-shadow: 0 0 14px rgba(255, 0, 0, .38);
}

.product-media .carousel-thumbnail img {
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    object-fit: cover;
    filter: none;
    transition: transform .2s ease;
}

.carousel-thumbnail:hover img,
.carousel-thumbnail:focus-visible img,
.carousel-thumbnail.is-active img {
    transform: scale(1.08);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--accent-bright);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }
h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.04; }
.lead { margin: 22px 0; color: #d0d0d0; font-size: 1.04rem; line-height: 1.75; }

.quick-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 24px 0;
    background: var(--border);
}

.quick-spec {
    padding: 14px;
    background: #070707;
}

.quick-spec span { display: block; color: var(--dim); font-size: .68rem; text-transform: uppercase; }
.quick-spec strong { display: block; margin-top: 5px; font-size: .92rem; }

.rating-row { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-weight: 700; }
.rating-track { flex: 1; height: 7px; overflow: hidden; border-radius: 3px; background: #2a2a2a; }
.rating-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #850d0d, #ff3030); }
.rating-track .rating-30 { width: 30%; }
.rating-track .rating-40 { width: 40%; }
.rating-track .rating-60 { width: 60%; }
.rating-track .rating-70 { width: 70%; }
.rating-track .rating-80 { width: 80%; }
.rating-track .rating-90 { width: 90%; }
.rating-track .rating-100 { width: 100%; }
.rating-note { color: var(--dim); font-size: .72rem; line-height: 1.5; }

.price { margin: 24px 0 6px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 700; }
.price-note { color: var(--dim); font-size: .7rem; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: var(--accent-dark);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.button.secondary { border-color: #444; background: #090909; }
.offer-note { margin-top: 14px; color: #d8d8d8; font-size: .78rem; line-height: 1.6; }

.content-band { padding: 72px clamp(18px, 5vw, 72px); background: rgba(0,0,0,.68); }
.content-inner { width: min(1080px, 100%); margin: 0 auto; }
.content-inner h2 { margin-bottom: 18px; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.content-inner > p { max-width: 820px; color: var(--dim); line-height: 1.75; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.detail-panel { padding: 24px; border: 1px solid var(--border); background: #050505; }
.detail-panel h3 { margin-bottom: 14px; font-size: 1.1rem; }
.detail-panel p, .detail-panel li { color: var(--dim); font-size: .88rem; line-height: 1.7; }
.detail-panel ul { padding-left: 18px; }
.detail-panel li + li { margin-top: 7px; }

.spec-table { width: 100%; margin-top: 28px; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.spec-table th { width: 38%; color: #ddd; font-size: .78rem; }
.spec-table td { color: var(--dim); font-size: .84rem; }

.risk-note { margin-top: 24px; color: var(--dim); font-size: .74rem; line-height: 1.65; }
.risk-note { padding: 15px; border-left: 2px solid var(--accent); background: #070707; }

.shopify-description { border-top: 1px solid #000; background: #020202; }
.shopify-copy {
    margin-top: 26px;
    color: #d8d8d8;
    font-size: .95rem;
    line-height: 1.75;
}
.shopify-copy h3 {
    margin: 28px 0 10px;
    color: #fff;
    font-size: 1.35rem;
}
.shopify-copy h4 {
    margin: 22px 0 8px;
    color: #eee;
    font-size: 1rem;
}
.shopify-copy p { margin: 12px 0; max-width: 880px; }
.shopify-copy ul, .shopify-copy ol { margin: 14px 0 16px 22px; }
.shopify-copy li { margin-top: 7px; }
.shopify-copy strong { color: #fff; }
.shopify-copy hr { margin: 26px 0; border: 0; border-top: 1px solid #000; }

footer { position: relative; z-index: 2; padding: 28px 20px; border-top: 1px solid #000; background: rgba(0,0,0,.74); color: var(--dim); text-align: center; font-size: .74rem; line-height: 1.7; }
.footer-product-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 10px; }
.footer-product-links a { color: #d0d0d0; text-decoration: none; }
.footer-product-links a:hover { color: #fff; }

@media (max-width: 820px) {
    .product-layout, .detail-grid { grid-template-columns: 1fr; }
    .product-hero { min-height: auto; }
    .product-media { min-height: 300px; }
    .product-media.product-carousel { min-height: 460px; }
    .carousel-stage { min-height: 330px; }
}

@media (max-width: 520px) {
    .brand { font-size: .78rem; }
    .back-link { font-size: .72rem; }
    .quick-specs { grid-template-columns: 1fr; }
    .product-media.dual { grid-template-columns: 1fr; }
    .product-media.dual img { max-height: 250px; }
    .product-media.product-gallery { grid-template-columns: 1fr; max-height: 560px; }
    .product-media.product-gallery img:first-child { grid-column: auto; min-height: 280px; }
    .product-media.product-carousel { min-height: 400px; padding: 8px; }
    .carousel-stage { min-height: 280px; }
    .carousel-control { width: 34px; height: 48px; font-size: 1.65rem; }
    .carousel-thumbnail { flex-basis: 64px; height: 64px; }
    .actions { display: grid; }
}
