.storefront-hero-section {
    padding: 26px 0 10px;
}

.storefront-hero-card {
    padding: 28px 32px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(226, 132, 67, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(19, 19, 19, 0.98), rgba(12, 12, 12, 0.98));
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.26);
}

.storefront-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(226, 132, 67, 0.12);
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.storefront-hero-card h1 {
    margin: 16px 0 12px;
    max-width: 720px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
}

.storefront-hero-copy {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.7;
}

.storefront-search-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
}

.storefront-search-pill strong {
    color: #ffffff;
    font-weight: 700;
}

.storefront-empty-state {
    display: grid;
    gap: 10px;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 17, 17, 0.94);
    color: rgba(255, 255, 255, 0.72);
}

.storefront-empty-state strong {
    color: #ffffff;
    font-size: 1rem;
}

.storefront-summary-copy {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.storefront-summary-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    line-height: 1.7;
}

.storefront-fact-list {
    display: grid;
    gap: 10px;
}

.storefront-fact-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.storefront-fact-label {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.storefront-fact-value {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.storefront-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.storefront-link-button:hover,
.storefront-link-button:focus-visible {
    color: #ffffff;
    background: rgba(226, 132, 67, 0.12);
    border-color: rgba(226, 132, 67, 0.28);
    transform: translateY(-1px);
}

.storefront-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.storefront-detail-stack--wide {
    gap: 24px;
}

.product-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 34px;
    align-items: start;
}

.product-detail-main-column,
.product-detail-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
}

.product-package-card--purchase {
    padding-top: 24px;
    padding-bottom: 26px;
    grid-column: auto;
    grid-row: auto;
    order: 2;
}

.product-gallery {
    order: 1;
}

.product-offer-column {
    grid-column: auto;
    grid-row: auto;
    order: 2;
}

.product-summary {
    order: 1;
}

.storefront-rich-card {
    display: grid;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
}

.storefront-html-content {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.8;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.storefront-html-content p,
.storefront-html-content ul,
.storefront-html-content ol,
.storefront-html-content blockquote {
    margin: 0 0 14px;
}

.storefront-html-content ul,
.storefront-html-content ol {
    padding-left: 20px;
}

.storefront-html-content li {
    margin-bottom: 8px;
}

.storefront-html-content strong {
    color: #ffffff;
    font-weight: 700;
}

.storefront-html-content a {
    color: var(--accent-strong);
    text-decoration: underline;
}

.storefront-html-content img,
.storefront-html-content video,
.storefront-html-content iframe,
.storefront-html-content table,
.storefront-html-content pre {
    max-width: 100%;
}

.storefront-html-content img,
.storefront-html-content video,
.storefront-html-content iframe {
    display: block;
}

.storefront-html-content table {
    display: block;
    overflow-x: auto;
}

.storefront-html-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.product-detail-main-column > .product-overview-card {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    order: 3;
}

.product-detail-main-column > .product-package-card--purchase + .product-overview-card {
    margin-top: -8px;
}

.product-detail-main-column > .product-overview-card--details {
    order: 4;
    margin-top: -8px;
}

.product-detail-main-column > .product-inline-card--requirements {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    order: 5;
    margin-top: -8px;
}

.product-detail-main-column > .product-overview-card--steam-review {
    order: 6;
    margin-top: -8px;
}

.product-detail-main-column > .product-review-panel--inline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    order: 7;
    margin-top: -8px;
}

.product-media-specs-section .product-overview-card {
    display: none;
}

.product-overview-content {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.product-overview-content.is-collapsed {
    max-height: 320px;
}

.product-overview-content.is-collapsed::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 118px;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(17, 17, 17, 0) 0%,
        rgba(17, 17, 17, 0.9) 56%,
        rgba(17, 17, 17, 1) 100%
    );
}

.product-overview-content.is-expanded {
    max-height: none;
    overflow: visible;
}

.product-overview-content.is-expanded::after {
    display: none;
}

.product-overview-card .storefront-html-content > :first-child {
    margin-top: 0 !important;
}

.product-overview-card .storefront-html-content > :last-child {
    margin-bottom: 0 !important;
}

.product-overview-card .storefront-html-content :is(p, ul, ol, blockquote, h1, h2, h3, h4, h5, h6, figure) {
    margin-bottom: 10px;
}

.product-overview-card .storefront-html-content :is(p, div, span):empty {
    display: none;
}

.product-overview-card .storefront-html-content img {
    margin: 10px 0 12px;
}

.product-overview-card .product-package-title {
    margin-bottom: 18px;
}

.product-overview-card--steam-review .storefront-review-html {
    margin-top: 0;
}

.product-overview-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    margin-top: -2px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(121, 176, 255, 0.28);
    background: rgba(121, 176, 255, 0.08);
    color: #d6e9ff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.product-overview-toggle:hover,
.product-overview-toggle:focus-visible {
    border-color: rgba(121, 176, 255, 0.42);
    background: rgba(121, 176, 255, 0.14);
    color: #ffffff;
    transform: translateY(-1px);
}

.product-media-specs-section .storefront-detail-stack--wide {
    gap: 18px;
}

.storefront-requirement-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storefront-requirement-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.storefront-requirement-card {
    min-width: 0;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(121, 176, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
}

.storefront-requirement-card h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.storefront-requirement-body {
    font-size: 0.92rem;
    line-height: 1.7;
}

.storefront-requirement-card--windows {
    max-width: 100%;
}

.product-requirement-separator {
    margin: 18px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.storefront-review-panel {
    overflow: hidden;
}

.storefront-article-card {
    gap: 16px;
}

.storefront-article-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(226, 132, 67, 0.12);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.storefront-article-title {
    margin-bottom: 0;
}

.storefront-article-summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.75;
}

.storefront-article-body {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.storefront-article-heading {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.storefront-article-paragraph {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.storefront-article-quote {
    margin: 0;
    padding: 20px 22px;
    border-left: 3px solid rgba(226, 132, 67, 0.7);
    border-radius: 0 14px 14px 0;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 1.02rem;
    font-style: italic;
    line-height: 1.8;
}

.storefront-article-figure {
    margin: 0;
    display: grid;
    gap: 10px;
}

.storefront-article-image {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    object-fit: cover;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.storefront-article-figure figcaption {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.86rem;
    line-height: 1.6;
}

.storefront-article-video {
    display: grid;
    gap: 10px;
}

.storefront-article-video iframe,
.storefront-article-video video {
    width: 100%;
    max-width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 16px;
    background: #090909;
    display: block;
}

.storefront-article-video-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

.storefront-article-list ul {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.84);
    display: grid;
    gap: 8px;
}

.storefront-article-list li {
    line-height: 1.8;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.storefront-review-html {
    margin-top: 20px;
}

.storefront-review-html > *:last-child {
    margin-bottom: 0;
}

.storefront-empty-note {
    margin-top: 22px;
}

.wide-nav-inner {
    position: relative;
}

.header-bottom-nav > .has-dropdown--category {
    position: static;
}

.storefront-category-menu {
    left: 0;
    right: 0;
    min-width: 0;
    padding: 30px 36px 32px;
    border-radius: 18px;
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(33, 31, 30, 0.98), rgba(26, 26, 26, 0.98)),
        radial-gradient(circle at top right, rgba(226, 132, 67, 0.12), transparent 34%);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.32);
}

.storefront-category-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 44px;
}

.storefront-category-menu-column {
    display: grid;
    gap: 18px;
    align-content: start;
}

.storefront-category-menu-link {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    transition: color 0.2s ease, transform 0.2s ease;
}

.storefront-category-menu-link:hover,
.storefront-category-menu-link:focus-visible {
    color: #ffffff;
    transform: translateX(2px);
}

.storefront-category-menu-loading {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.storefront-category-browser {
    padding: 34px 0 72px;
}

.storefront-category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.storefront-category-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: #ffffff;
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    font-weight: 600;
    line-height: 1.3;
}

.storefront-category-breadcrumb a {
    color: #ffffff;
    transition: color 0.2s ease;
}

.storefront-category-breadcrumb a:hover,
.storefront-category-breadcrumb a:focus-visible {
    color: var(--accent-strong);
}

.storefront-category-breadcrumb span:nth-child(2) {
    color: rgba(255, 255, 255, 0.46);
    font-weight: 500;
}

.storefront-category-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.storefront-category-result-text {
    color: #ffffff;
    font-size: clamp(0.88rem, 1vw, 0.98rem);
    font-weight: 500;
    line-height: 1.3;
}

.storefront-category-sort-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 320px;
}

.storefront-category-sort-shell i {
    position: absolute;
    right: 22px;
    color: rgba(255, 255, 255, 0.76);
    pointer-events: none;
}

.storefront-category-sort {
    width: 100%;
    min-height: 50px;
    padding: 0 54px 0 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(31, 31, 31, 0.96);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
    appearance: none;
    outline: none;
}

.storefront-category-loading,
[data-category-empty] {
    margin-bottom: 18px;
}

.storefront-category-grid {
    align-items: start;
}

.storefront-category-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.storefront-category-pagination-btn,
.storefront-category-pagination-ellipsis {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 15, 15, 0.92);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
}

.storefront-category-pagination-btn {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.storefront-category-pagination-btn:hover,
.storefront-category-pagination-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(226, 132, 67, 0.38);
    background: rgba(36, 27, 19, 0.98);
}

.storefront-category-pagination-btn.is-active {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.storefront-category-pagination-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.storefront-category-pagination-ellipsis {
    border-color: transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.46);
}

.homepage-main .aaa-game-poster {
    aspect-ratio: 16 / 9;
}

.homepage-main .aaa-game-image {
    height: 100%;
    aspect-ratio: auto;
}

.homepage-main .aaa-game-card--free .aaa-game-poster {
    border-color: rgba(224, 0, 0, 0.22);
    box-shadow:
        0 20px 34px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(224, 0, 0, 0.08);
}

.homepage-main .aaa-game-card--free .aaa-game-link:hover .aaa-game-poster,
.homepage-main .aaa-game-card--free .aaa-game-link:focus-visible .aaa-game-poster {
    box-shadow:
        0 24px 38px rgba(0, 0, 0, 0.3),
        0 18px 32px rgba(164, 18, 18, 0.2);
    border-color: rgba(255, 102, 102, 0.28);
}

.homepage-main .aaa-game-price-row--free {
    align-items: center;
}

.homepage-main .aaa-game-free-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff3030 0%, #d40000 100%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    box-shadow:
        0 10px 18px rgba(180, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@media (max-width: 1199.98px) {
    .product-detail-shell {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 26px;
    }

    .storefront-requirement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .storefront-category-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .storefront-category-toolbar-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .storefront-category-sort-shell {
        min-width: 0;
    }

    .storefront-category-menu {
        left: 0;
        right: auto;
        min-width: 560px;
        padding: 24px;
    }

    .storefront-category-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 28px;
    }

    .product-detail-shell {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-detail-main-column,
    .product-detail-sidebar {
        gap: 20px;
    }

    .storefront-hero-card {
        padding: 24px;
    }

    .storefront-detail-stack {
        gap: 20px;
    }

    .storefront-requirement-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .storefront-category-browser {
        padding: 24px 0 56px;
    }

    .storefront-category-breadcrumb {
        gap: 10px;
        font-size: 0.9rem;
    }

    .storefront-category-result-text {
        font-size: 0.86rem;
    }

    .storefront-category-sort {
        min-height: 48px;
        font-size: 0.88rem;
    }

    .storefront-category-pagination-btn,
    .storefront-category-pagination-ellipsis {
        width: 42px;
        height: 42px;
        font-size: 0.94rem;
    }

    .storefront-hero-section {
        padding-top: 18px;
    }

    .storefront-hero-card {
        padding: 20px 18px;
        border-radius: 14px;
    }

    .storefront-hero-card h1 {
        margin-top: 14px;
    }

    .storefront-hero-copy {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .storefront-search-pill {
        margin-top: 16px;
        font-size: 0.82rem;
    }

    .storefront-summary-copy {
        padding: 12px 14px;
    }

    .storefront-fact-item {
        padding: 11px 12px;
    }

    .storefront-link-button {
        width: 100%;
    }

    .storefront-html-content {
        font-size: 0.92rem;
        line-height: 1.72;
    }

    .product-overview-content.is-collapsed {
        max-height: 280px;
    }

    .product-overview-toggle {
        width: 100%;
        min-height: 40px;
        margin-top: 4px;
    }

    .storefront-article-summary,
    .storefront-article-paragraph,
    .storefront-article-list li {
        font-size: 0.92rem;
        line-height: 1.72;
    }

    .storefront-article-quote {
        padding: 16px 16px 16px 18px;
        font-size: 0.94rem;
    }

    .storefront-article-video iframe,
    .storefront-article-video video {
        min-height: 240px;
    }

    .storefront-requirement-card {
        padding: 16px;
    }

    .homepage-main .aaa-game-free-pill {
        min-height: 26px;
        padding: 0 11px;
        font-size: 0.76rem;
    }

}

@media (max-width: 575.98px) {
    .homepage-main .aaa-game-poster {
        aspect-ratio: auto;
    }

    .homepage-main .aaa-game-image {
        height: 107px;
        aspect-ratio: auto;
    }
}
