:root {
    --cg-white: #ffffff;
    --cg-bg: #f7fbff;
    --cg-sky: #eaf6ff;
    --cg-sky-strong: #cdeaff;
    --cg-sky-deep: #a7d8ff;
    --cg-brand: #468ed7;
    --cg-brand-deep: #1b4f86;
    --cg-ink: #17385f;
    --cg-ink-soft: #6484a4;
    --cg-line: rgba(70, 142, 215, 0.16);
    --cg-shadow: 0 28px 80px rgba(70, 142, 215, 0.12);
    --cg-font-body: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --cg-font-display: "Archivo Black", "Arial Black", sans-serif;
    --cg-shell: min(1440px, calc(100vw - 48px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(234, 246, 255, 0.92), transparent 34%),
        linear-gradient(180deg, #fcfeff 0%, var(--cg-bg) 100%);
    color: var(--cg-ink);
    font-family: var(--cg-font-body);
    line-height: 1.6;
}

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

img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.cg-shop-shell {
    min-height: 100vh;
}

.cg-shop-header__inner,
.cg-shop-section,
.cg-shop-contact-cta__inner,
.cg-shop-footer__inner,
.cg-shop-content-shell {
    width: var(--cg-shell);
    margin: 0 auto;
}

.cg-shop-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(70, 142, 215, 0.1);
    backdrop-filter: blur(16px);
}

.cg-shop-header__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px;
    align-items: center;
    min-height: 88px;
}

.cg-shop-brand {
    display: grid;
    gap: 4px;
}

.cg-shop-brand__eyebrow,
.cg-shop-section__eyebrow,
.cg-shop-hero__eyebrow,
.cg-shop-footer__kicker,
.cg-shop-contact-cta__eyebrow,
.cg-shop-entry__eyebrow,
.cg-shop-product-card__kicker,
.cg-shop-spotlight__eyebrow {
    color: var(--cg-brand);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cg-shop-brand__title {
    font-family: var(--cg-font-display);
    font-size: clamp(1.08rem, 0.97rem + 0.42vw, 1.46rem);
    line-height: 1;
}

.cg-shop-nav__list,
.cg-shop-footer__links {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cg-shop-nav__list a,
.cg-shop-footer__links a,
.cg-shop-header__phone {
    color: var(--cg-ink-soft);
    font-size: 0.95rem;
    font-weight: 700;
}

.cg-shop-header__actions,
.cg-shop-hero__actions,
.cg-shop-contact-cta__actions,
.cg-shop-carousel__controls,
.cg-shop-promo-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.cg-shop-button,
.cg-shop-carousel__button,
.cg-shop-collection-tabs__link,
.cg-shop-hero-slider__dot,
.cg-shop-promo-badges span,
.cg-shop-product-layout__note,
.cg-shop-hero-slider__meta span {
    border-radius: 999px;
}

.cg-shop-button,
.cg-shop-carousel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 800;
    transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.cg-shop-button:hover,
.cg-shop-carousel__button:hover {
    transform: translateY(-1px);
}

.cg-shop-button--primary {
    background: var(--cg-white);
    color: var(--cg-brand-deep);
    box-shadow: 0 14px 32px rgba(12, 33, 55, 0.16);
}

.cg-shop-button--secondary,
.cg-shop-carousel__button {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--cg-white);
    backdrop-filter: blur(10px);
}

.cg-shop-section .cg-shop-button--secondary,
.cg-shop-contact-cta .cg-shop-button--secondary,
.cg-shop-page-shell .cg-shop-button--secondary,
.cg-shop-carousel__button {
    background: var(--cg-white);
    border-color: var(--cg-line);
    color: var(--cg-brand-deep);
    backdrop-filter: none;
}

.cg-shop-topbar {
    overflow: hidden;
    border-bottom: 1px solid rgba(70, 142, 215, 0.1);
    background: rgba(234, 246, 255, 0.8);
}

.cg-shop-topbar__marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.cg-shop-topbar__track {
    display: flex;
    flex: 0 0 auto;
    gap: 40px;
    min-width: max-content;
    padding: 12px 28px;
    color: var(--cg-brand-deep);
    font-size: 0.86rem;
    font-weight: 800;
    animation: cgTopbarTicker 24s linear infinite;
}

.cg-shop-topbar__track span {
    position: relative;
    white-space: nowrap;
}

.cg-shop-topbar__track span::after {
    content: "•";
    position: absolute;
    left: calc(100% + 20px);
    top: 50%;
    transform: translateY(-50%);
    color: rgba(27, 79, 134, 0.44);
}

@keyframes cgTopbarTicker {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.cg-shop-hero {
    padding: 0 0 24px;
}

.cg-shop-hero-story {
    position: relative;
    min-height: 270svh;
}

.cg-shop-hero-story__sticky {
    position: sticky;
    top: 0;
    min-height: calc(100svh - 88px);
    overflow: hidden;
    background: #d9ecfb;
}

.cg-shop-hero-story__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 700ms ease;
}

.cg-shop-hero-story__slide.is-active {
    opacity: 1;
}

.cg-shop-hero-story__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 40, 69, 0.52) 0%, rgba(15, 40, 69, 0.18) 42%, rgba(15, 40, 69, 0.06) 70%, rgba(15, 40, 69, 0.08) 100%),
        linear-gradient(180deg, rgba(15, 40, 69, 0.04) 0%, rgba(15, 40, 69, 0.14) 100%);
    pointer-events: none;
}

.cg-shop-hero-story__slide img {
    height: 100%;
    min-height: calc(100svh - 88px);
    object-fit: cover;
    object-position: center;
}

.cg-shop-hero-story__caption {
    position: absolute;
    left: clamp(28px, 5vw, 78px);
    top: clamp(84px, 14vh, 160px);
    z-index: 2;
    width: min(760px, calc(100vw - 120px));
    color: var(--cg-white);
}

.cg-shop-hero-story__copy {
    max-width: 680px;
}

.cg-shop-hero-story__caption .cg-shop-hero__eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.cg-shop-hero h1,
.cg-shop-section h2,
.cg-shop-contact-cta h2,
.cg-shop-entry h1,
.cg-shop-collection-hero h1,
.cg-shop-product-layout h1,
.cg-shop-footer__intro h2 {
    margin: 10px 0 0;
    font-family: var(--cg-font-body);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.cg-shop-hero h1 {
    max-width: 9.4ch;
    font-size: clamp(2.7rem, 2.15rem + 2vw, 4.8rem);
    text-wrap: balance;
}

.cg-shop-hero__lead,
.cg-shop-section__intro p,
.cg-shop-product-card__copy,
.cg-shop-product-card__note,
.cg-shop-spotlight p,
.cg-shop-collection-hero p,
.cg-shop-product-layout__copy,
.cg-shop-footer__intro p,
.cg-shop-footer__contact p,
.cg-shop-entry__content,
.cg-shop-contact-cta p {
    color: var(--cg-ink-soft);
}

.cg-shop-hero__lead {
    max-width: 44ch;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
}

.cg-shop-hero-story__fixed {
    position: absolute;
    left: clamp(28px, 5vw, 78px);
    right: clamp(28px, 5vw, 78px);
    bottom: clamp(30px, 4vw, 52px);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.cg-shop-hero-story__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.cg-shop-hero-story__meta span,
.cg-shop-promo-badges span,
.cg-shop-product-layout__note {
    padding: 11px 18px;
    font-size: 0.88rem;
    font-weight: 800;
}

.cg-shop-hero-story__meta span {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--cg-white);
    backdrop-filter: blur(8px);
}

.cg-shop-hero-story__dots {
    position: absolute;
    right: clamp(28px, 5vw, 78px);
    top: 26px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.cg-shop-hero-story__dot {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.cg-shop-hero-story__dot.is-active {
    background: var(--cg-white);
}

.cg-shop-section,
.cg-shop-contact-cta,
.cg-shop-page-shell {
    padding: 84px 0;
}

.cg-shop-section__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.cg-shop-section__heading > div,
.cg-shop-section__intro,
.cg-shop-contact-cta__inner > div:first-child,
.cg-shop-collection-hero__copy,
.cg-shop-product-layout__summary {
    max-width: min(920px, 100%);
}

.cg-shop-section h2,
.cg-shop-contact-cta h2,
.cg-shop-entry h1,
.cg-shop-collection-hero h1,
.cg-shop-product-layout h1 {
    max-width: 18ch;
    font-size: clamp(2rem, 1.6rem + 1vw, 2.8rem);
    text-wrap: balance;
}

.cg-shop-inline-link {
    color: var(--cg-brand-deep);
    font-size: 1rem;
    font-weight: 800;
}

.cg-shop-spotlight,
.cg-shop-product-card,
.cg-shop-empty-state,
.cg-shop-product-layout__frame,
.cg-shop-games-layout__shot,
.cg-shop-collection-hero__visual {
    background: var(--cg-white);
    border: 1px solid rgba(70, 142, 215, 0.14);
    box-shadow: var(--cg-shadow);
}

.cg-shop-spotlight__media,
.cg-shop-product-card__media,
.cg-shop-section__feature-shot,
.cg-shop-games-layout__shot,
.cg-shop-collection-hero__visual,
.cg-shop-product-layout__frame {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.cg-shop-spotlight__media img,
.cg-shop-product-card__media img,
.cg-shop-section__feature-shot img,
.cg-shop-games-layout__shot img,
.cg-shop-collection-hero__visual img,
.cg-shop-product-layout__frame img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

[data-parallax] {
    transform: translate3d(0, var(--cg-parallax, 0px), 0) scale(1.06);
    will-change: transform;
}

.cg-shop-spotlight__body,
.cg-shop-product-card__body {
    padding: 22px;
}

.cg-shop-spotlight h3,
.cg-shop-product-card h3 {
    margin: 8px 0 0;
    font-family: var(--cg-font-display);
    font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem);
    line-height: 1.08;
}

.cg-shop-spotlight__price,
.cg-shop-product-card__price,
.cg-shop-product-layout__price {
    color: var(--cg-brand-deep);
    font-weight: 900;
}

.cg-shop-spotlight__price {
    display: inline-block;
    margin-top: 18px;
    font-size: 1.05rem;
}

.cg-shop-hero-categories {
    width: var(--cg-shell);
    margin: -72px auto 0;
    position: relative;
    z-index: 6;
}

.cg-shop-hero-categories__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cg-shop-hero-category {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: var(--cg-white);
    border: 1px solid rgba(70, 142, 215, 0.12);
    box-shadow: 0 26px 70px rgba(70, 142, 215, 0.14);
}

.cg-shop-hero-category__media {
    position: absolute;
    inset: 0;
}

.cg-shop-hero-category__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 40, 69, 0.1) 0%, rgba(15, 40, 69, 0.58) 100%);
}

.cg-shop-hero-category__media img {
    height: 100%;
    object-fit: cover;
}

.cg-shop-hero-category__overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 1;
    color: var(--cg-white);
}

.cg-shop-hero-category__eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cg-shop-hero-category h2 {
    max-width: none;
    margin: 8px 0 0;
    color: var(--cg-white);
    font-size: clamp(1.8rem, 1.4rem + 0.8vw, 2.5rem);
}

.cg-shop-hero-category span {
    display: inline-flex;
    margin-top: 10px;
    padding: 9px 15px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: var(--cg-white);
    font-size: 0.9rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.cg-shop-section__lede {
    max-width: 62ch;
    margin: 0;
    color: var(--cg-ink-soft);
    font-size: 1rem;
}

.cg-shop-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.cg-shop-carousel::-webkit-scrollbar {
    display: none;
}

.cg-shop-product-card {
    flex: 0 0 min(360px, 77vw);
    scroll-snap-align: start;
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.cg-shop-product-card:hover,
.cg-shop-spotlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 84px rgba(70, 142, 215, 0.18);
}

.cg-shop-product-card__link {
    display: grid;
    height: 100%;
}

.cg-shop-product-card__copy {
    margin-top: 10px;
    font-size: 0.95rem;
}

.cg-shop-product-card__note {
    margin-top: 10px;
    font-size: 0.87rem;
}

.cg-shop-product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(70, 142, 215, 0.1);
}

.cg-shop-product-card__price,
.cg-shop-product-layout__price {
    font-size: 1.08rem;
}

.cg-shop-product-card__cta {
    color: var(--cg-brand);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cg-shop-section--soft {
    background:
        linear-gradient(180deg, rgba(234, 246, 255, 0.82) 0%, rgba(247, 251, 255, 0.98) 100%);
}

.cg-shop-section__split,
.cg-shop-games-layout,
.cg-shop-collection-hero,
.cg-shop-product-layout,
.cg-shop-footer__inner,
.cg-shop-contact-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.cg-shop-games-layout__copy h2 {
    max-width: 18ch;
}

.cg-shop-promo-badges span,
.cg-shop-product-layout__note {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(70, 142, 215, 0.14);
    color: var(--cg-brand-deep);
}

.cg-shop-compact-grid,
.cg-shop-product-grid,
.cg-shop-product-grid--related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cg-shop-product-card--compact,
.cg-shop-product-card--grid {
    flex: initial;
    width: 100%;
}

.cg-shop-contact-cta__inner {
    padding-top: 38px;
    border-top: 1px solid rgba(70, 142, 215, 0.14);
}

.cg-shop-page-shell {
    padding-top: 50px;
}

.cg-shop-content-shell {
    max-width: 980px;
}

.cg-shop-content-shell--wide {
    max-width: 1320px;
}

.cg-shop-breadcrumbs {
    margin-bottom: 22px;
    color: var(--cg-ink-soft);
    font-size: 0.92rem;
}

.cg-shop-entry__content {
    max-width: 70ch;
}

.cg-shop-collection-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 8px;
}

.cg-shop-collection-tabs__link {
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(70, 142, 215, 0.14);
    color: var(--cg-brand-deep);
    font-size: 0.92rem;
    font-weight: 800;
}

.cg-shop-collection-tabs__link.is-active {
    background: var(--cg-brand);
    border-color: var(--cg-brand);
    color: var(--cg-white);
}

.cg-shop-empty-state {
    display: grid;
    gap: 12px;
    padding: 34px;
}

.cg-shop-product-layout__price {
    margin-top: 16px;
}

.cg-shop-product-layout__copy {
    margin-top: 18px;
}

.cg-shop-product-layout__facts {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.cg-shop-product-layout__facts li {
    padding: 14px 0;
    border-top: 1px solid rgba(70, 142, 215, 0.14);
    font-weight: 600;
}

.cg-shop-footer {
    margin-top: 38px;
    padding: 52px 0 60px;
    border-top: 1px solid rgba(70, 142, 215, 0.12);
}

.cg-shop-footer__intro h2 {
    max-width: 15ch;
    font-size: clamp(1.58rem, 1.24rem + 0.82vw, 2.3rem);
}

.cg-shop-footer__contact a {
    color: var(--cg-brand-deep);
    font-weight: 700;
}

.cg-shop-woo-price {
    color: var(--cg-brand-deep);
    font-weight: 900;
}

.cg-shop-js .cg-shop-section,
.cg-shop-js .cg-shop-contact-cta,
.cg-shop-js .cg-shop-collection-hero,
.cg-shop-js .cg-shop-product-layout,
.cg-shop-js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 620ms ease, transform 620ms ease;
}

.cg-shop-js .cg-shop-section.is-visible,
.cg-shop-js .cg-shop-contact-cta.is-visible,
.cg-shop-js .cg-shop-collection-hero.is-visible,
.cg-shop-js .cg-shop-product-layout.is-visible,
.cg-shop-js [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1220px) {
    .cg-shop-header__inner,
    .cg-shop-section__split,
    .cg-shop-games-layout,
    .cg-shop-collection-hero,
    .cg-shop-product-layout,
    .cg-shop-footer__inner,
    .cg-shop-contact-cta__inner {
        grid-template-columns: 1fr;
    }

    .cg-shop-header__inner {
        padding: 18px 0;
    }

    .cg-shop-nav,
    .cg-shop-header__actions {
        justify-self: start;
    }

    .cg-shop-hero-story__fixed {
        align-items: flex-start;
        flex-direction: column;
    }

    .cg-shop-hero-story__meta {
        justify-content: flex-start;
    }

    .cg-shop-spotlight-grid,
    .cg-shop-compact-grid,
    .cg-shop-product-grid,
    .cg-shop-product-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cg-shop-hero-categories__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .cg-shop-header__inner,
    .cg-shop-spotlight-grid,
    .cg-shop-compact-grid,
    .cg-shop-product-grid,
    .cg-shop-product-grid--related,
    .cg-shop-footer__inner {
        grid-template-columns: 1fr;
    }

    .cg-shop-nav__list,
    .cg-shop-header__actions,
    .cg-shop-hero__actions,
    .cg-shop-contact-cta__actions,
    .cg-shop-footer__links,
    .cg-shop-promo-badges,
    .cg-shop-carousel__controls {
        flex-wrap: wrap;
    }

    .cg-shop-topbar__track {
        gap: 32px;
        padding-inline: 20px;
    }

    .cg-shop-hero-story__caption {
        top: clamp(70px, 10vh, 90px);
        width: calc(100vw - 52px);
    }

    .cg-shop-hero h1 {
        max-width: 9ch;
        font-size: clamp(2.3rem, 1.95rem + 1.8vw, 3.6rem);
    }

    .cg-shop-hero-story__fixed {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .cg-shop-hero-story__dots {
        right: 20px;
    }

    .cg-shop-section,
    .cg-shop-contact-cta,
    .cg-shop-page-shell {
        padding: 64px 0;
    }

    .cg-shop-section__heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .cg-shop-section h2,
    .cg-shop-contact-cta h2,
    .cg-shop-entry h1,
    .cg-shop-collection-hero h1,
    .cg-shop-product-layout h1 {
        max-width: 100%;
        font-size: clamp(1.9rem, 1.68rem + 1vw, 2.5rem);
    }

    .cg-shop-product-card {
        flex-basis: min(82vw, 320px);
    }

    .cg-shop-hero-categories {
        margin-top: -44px;
    }

    .cg-shop-hero-categories__inner {
        grid-template-columns: 1fr;
    }
}
