:root {
    --hks-red: #e60012;
    --hks-black: #08060b;
    --hks-burgundy: #4d0012;
    --hks-text: #0b0b12;
    --hks-muted: #7b7b8d;
    --hks-border: #e7e7ec;
    --hks-page: #f8f8fa;
    --hks-shell: 1780px;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.hks-shell {
    width: min(calc(100% - 112px), var(--hks-shell));
    margin-inline: auto;
}

/* Announcement and navigation */
html body .announce-bar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 7px 20px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    overflow: visible !important;
    background: #0d0d0d !important;
    color: #fff !important;
    position: relative !important;
    z-index: 10020 !important;
}

html body .announce-bar p,
html body .announce-bar a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 22px !important;
}

html body .announce-bar a {
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.navbar {
    position: relative;
    z-index: 10010;
}

/* Breadcrumb */
.hks-product-breadcrumb {
    height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--hks-border);
    background: #f7f7f9;
    font-size: 13px;
}

.hks-product-breadcrumb .hks-shell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hks-product-breadcrumb a {
    color: #9292a5;
    text-decoration: none;
}

.hks-product-breadcrumb span {
    color: #c1c1cc;
}

.hks-product-breadcrumb strong {
    color: #0b0b12;
    font-weight: 700;
}

/* Product hero */
.hks-product-page {
    background: #fff;
}

.hks-product-hero {
    min-height: 680px;
    color: #fff;
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(136, 0, 33, 0.55),
            transparent 34%
        ),
        linear-gradient(
            112deg,
            #08070c 0%,
            #13000a 48%,
            #580015 100%
        );
}

.hks-product-hero__inner {
    width: min(calc(100% - 112px), var(--hks-shell));
    min-height: 680px;
    margin-inline: auto;
    padding: 90px 0 66px;
    display: grid;
    grid-template-columns:
        minmax(560px, 0.98fr)
        minmax(560px, 1.02fr);
    align-items: center;
    gap: 56px;
}

.hks-product-hero__content {
    min-width: 0;
    max-width: 820px;
}

.hks-product-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 30px;
    color: #f02a38;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hks-product-eyebrow span {
    display: block;
    width: 21px;
    height: 2px;
    background: #fff;
}

.hks-product-hero h1 {
    margin: 0;
    max-width: 100%;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: clamp(58px, 4.35vw, 84px);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.hks-product-title--nowrap {
    white-space: nowrap;
}

.hks-product-type {
    margin-top: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.hks-product-description {
    max-width: 760px;
    margin: 25px 0 0;
    color: #a8a5b4;
    font-size: 17px;
    line-height: 1.75;
}

.hks-product-badges {
    margin-top: 27px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hks-product-badges span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #d8d5de;
    font-size: 12px;
    font-weight: 700;
}

.hks-product-actions {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.hks-button {
    min-width: 118px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.hks-button--primary {
    border: 1px solid var(--hks-red);
    background: var(--hks-red);
    color: #fff;
}

.hks-button--outline {
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: transparent;
    color: #fff;
}

.hks-product-stats {
    width: min(100%, 770px);
    margin-top: 43px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 10px;
    overflow: hidden;
    background: rgba(73, 48, 57, 0.68);
}

.hks-product-stat {
    min-height: 92px;
    padding: 18px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hks-product-stat strong {
    display: block;
    color: #fff;
    font-size: 21px;
    line-height: 1.15;
}

.hks-product-stat span {
    display: block;
    margin-top: 8px;
    color: #918795;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hks-product-hero__media {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hks-product-hero__media img {
    display: block;
    width: min(100%, 690px);
    max-height: 460px;
    object-fit: contain;
    filter: drop-shadow(0 32px 44px rgba(0, 0, 0, 0.35));
}

/* Product tabs */
.hks-product-tabs {
    position: sticky;
    top: 0;
    z-index: 300;
    border-bottom: 1px solid var(--hks-border);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
}

.hks-product-tabs .hks-shell {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 42px;
}

.hks-product-tabs a {
    color: #8e8e9f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hks-product-tabs a:first-child {
    color: #111118;
}

.hks-product-tabs__buy {
    margin-left: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    border-radius: 7px;
    background: var(--hks-red);
    color: #fff !important;
    font-weight: 800 !important;
}

/* Product sections */
.hks-product-section {
    padding: 100px 0;
}

.hks-product-section:nth-of-type(even) {
    background: var(--hks-page);
}

.hks-section-eyebrow {
    margin-bottom: 16px;
    color: var(--hks-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hks-product-section h2 {
    margin: 0;
    color: var(--hks-text);
    font-size: clamp(42px, 4vw, 66px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.hks-product-overview .hks-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(480px, 0.94fr);
    gap: 90px;
}

.hks-product-overview__intro p {
    max-width: 760px;
    color: #4f4f61;
    font-size: 17px;
    line-height: 1.75;
}

.hks-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hks-feature-card {
    min-height: 215px;
    padding: 28px;
    border: 1px solid var(--hks-border);
    border-radius: 13px;
    background: #fff;
}

.hks-feature-card__icon {
    min-height: 40px;
    font-size: 28px;
}

.hks-feature-card h3 {
    margin: 18px 0 10px;
    font-size: 19px;
}

.hks-feature-card p {
    margin: 0;
    color: #686879;
    font-size: 14px;
    line-height: 1.65;
}

.hks-spec-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hks-spec-group {
    padding: 28px;
    border: 1px solid var(--hks-border);
    border-radius: 14px;
    background: #fff;
}

.hks-spec-group h3 {
    margin: 0 0 18px;
    padding: 18px 22px;
    background: #1d1d1e;
    color: #fff;
    font-size: 18px;
}

.hks-spec-row {
    min-height: 65px;
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    border-bottom: 1px solid #ececf0;
}

.hks-spec-row:last-child {
    border-bottom: 0;
}

.hks-spec-row span {
    color: #676779;
}

.hks-spec-row strong {
    text-align: right;
    color: #111118;
}

.hks-performance-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
    gap: 90px;
}

.hks-performance-layout p {
    max-width: 640px;
    color: #626274;
    font-size: 16px;
    line-height: 1.7;
}

.hks-performance-bars {
    display: grid;
    gap: 30px;
}

.hks-performance-bar > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 10px;
}

.hks-performance-bar i {
    height: 7px;
    display: block;
    overflow: hidden;
    border-radius: 100px;
    background: #ececef;
}

.hks-performance-bar b {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #e60012, #ff4050);
}

.hks-gallery-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.hks-gallery-grid figure {
    min-height: 340px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f1f4;
}

.hks-gallery-grid img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: contain;
}

/* Catalog */
.hks-catalog-page {
    background: #fff;
}

.hks-catalog-hero {
    min-height: 535px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(
            112deg,
            #09070c 0%,
            #16000b 52%,
            #510013 100%
        );
}

.hks-catalog-hero .hks-shell {
    padding-block: 72px;
}

.hks-catalog-hero h1 {
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(68px, 6vw, 106px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.hks-catalog-hero p {
    max-width: 650px;
    color: #9a96a6;
    font-size: 19px;
    line-height: 1.65;
}

.hks-catalog-filters {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hks-catalog-filters button {
    min-height: 42px;
    padding: 0 19px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: #aaa5b3;
    cursor: pointer;
    font-weight: 700;
}

.hks-catalog-filters button.is-active {
    border-color: var(--hks-red);
    background: var(--hks-red);
    color: #fff;
}

.hks-category-marquee {
    height: 50px;
    overflow: hidden;
    background: #0d0d0e;
    color: #73737b;
}

.hks-category-marquee > div {
    width: max-content;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 54px;
    animation: hks-marquee 35s linear infinite;
}

.hks-category-marquee span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hks-category-marquee span::after {
    content: "◆";
    margin-left: 54px;
    color: #4c4c52;
    font-size: 6px;
}

@keyframes hks-marquee {
    to {
        transform: translateX(-50%);
    }
}

.hks-catalog-content {
    padding-block: 90px 120px;
}

.hks-category-section + .hks-category-section {
    margin-top: 110px;
}

.hks-category-header {
    margin-bottom: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.hks-category-header h2 {
    margin: 0;
    color: #101016;
    font-size: 38px;
    letter-spacing: -0.03em;
}

.hks-category-header > strong {
    color: var(--hks-red);
    font-size: 13px;
}

.hks-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.hks-product-card {
    min-width: 0;
    border: 1px solid var(--hks-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hks-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(12, 12, 18, 0.1);
}

.hks-product-card__image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background: #f4f4f6;
}

.hks-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hks-product-card__placeholder {
    color: #777782;
    font-size: 48px;
}

.hks-product-card__content {
    min-height: 230px;
    padding: 25px;
}

.hks-product-card__type {
    min-height: 32px;
    color: var(--hks-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hks-product-card h3 {
    margin: 9px 0 14px;
    color: #0f0f16;
    font-size: 21px;
    line-height: 1.2;
}

.hks-product-card__meta {
    min-height: 55px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hks-product-card__meta span {
    height: 27px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border-radius: 5px;
    background: #f0f0f3;
    color: #777786;
    font-size: 10px;
    font-weight: 700;
}

.hks-product-card__link {
    display: block;
    margin-top: 23px;
    color: var(--hks-red);
    font-size: 13px;
    font-weight: 800;
}

.hks-empty-state {
    grid-column: 1 / -1;
    padding: 55px;
    border-radius: 12px;
    background: #f5f5f7;
    text-align: center;
}

/* Responsive */
@media (max-width: 1250px) {
    .hks-shell,
    .hks-product-hero__inner {
        width: min(calc(100% - 64px), var(--hks-shell));
    }

    .hks-product-hero__inner {
        grid-template-columns: minmax(500px, 1fr) minmax(420px, 1fr);
    }

    .hks-product-hero h1 {
        font-size: clamp(52px, 5vw, 72px);
    }

    .hks-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hks-product-hero__inner,
    .hks-product-overview .hks-shell,
    .hks-performance-layout {
        grid-template-columns: 1fr;
    }

    .hks-product-hero__inner {
        padding-block: 65px;
    }

    .hks-product-title--nowrap {
        white-space: normal;
    }

    .hks-product-hero__media {
        justify-content: center;
    }

    .hks-product-hero__media img {
        max-height: 350px;
    }

    .hks-product-tabs .hks-shell {
        overflow-x: auto;
        gap: 26px;
    }

    .hks-product-tabs a {
        flex: 0 0 auto;
    }

    .hks-product-tabs__buy {
        display: none !important;
    }

    .hks-spec-grid,
    .hks-gallery-grid {
        grid-template-columns: 1fr;
    }

    .hks-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hks-shell,
    .hks-product-hero__inner {
        width: min(calc(100% - 36px), var(--hks-shell));
    }

    html body .announce-bar {
        height: auto !important;
        min-height: 36px !important;
        flex-wrap: wrap;
        gap: 2px 9px !important;
    }

    .hks-product-breadcrumb {
        min-height: 48px;
        height: auto;
        padding-block: 10px;
    }

    .hks-product-breadcrumb .hks-shell {
        flex-wrap: wrap;
    }

    .hks-product-hero {
        min-height: auto;
    }

    .hks-product-hero__inner {
        min-height: auto;
        padding-block: 48px;
    }

    .hks-product-hero h1 {
        font-size: 48px;
    }

    .hks-product-description {
        font-size: 15px;
    }

    .hks-product-actions {
        flex-direction: column;
    }

    .hks-button {
        width: 100%;
    }

    .hks-product-stats,
    .hks-feature-grid,
    .hks-product-grid {
        grid-template-columns: 1fr;
    }

    .hks-product-section {
        padding: 70px 0;
    }

    .hks-product-tabs .hks-shell {
        width: calc(100% - 20px);
    }

    .hks-catalog-hero {
        min-height: 460px;
    }

    .hks-catalog-hero h1 {
        font-size: 58px;
    }

    .hks-category-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .hks-product-card__image {
        height: 245px;
    }
}
