:root {
    --page: #f4f6f9;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --ink: #111827;
    --muted: #667085;
    --line: #e3e8ef;
    --accent: #e7672e;
    --accent-hover: #cf5825;
    --steam: #1b2838;
    --steam-light: #66c0f4;
    --success: #168a58;
    --warning: #b76a00;
    --danger: #c24145;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--ink);
    background: var(--page);
    font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.metrika-pixel {
    position: absolute;
    left: -9999px;
}

button,
input,
select {
    font: inherit;
}

a {
    color: inherit;
}

.shop-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.14);
    background: #fff;
}

.shop-header__inner {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 12px clamp(14px, 3vw, 34px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #808080;
    text-decoration: none;
}

.brand__logo {
    width: 34px;
    height: 34px;
    display: block;
    object-fit: contain;
}

.brand__name {
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.shop-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.shop-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    color: #808080;
    background: transparent;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: color 0.18s ease;
}

.icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    flex: 0 0 auto;
    fill: currentColor;
}

.shop-nav a:hover,
.shop-nav a:focus-visible {
    color: var(--accent-hover);
}

.shop-nav__pay {
    justify-content: center;
    margin-left: 8px;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    color: #808080 !important;
    background: #ededed !important;
    font-weight: 500 !important;
}

.shop-nav__pay:hover,
.shop-nav__pay:focus-visible {
    color: #808080 !important;
    background: #e5e5e5 !important;
}

.steam-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 11% 18%, rgba(102, 192, 244, 0.2), transparent 30%),
        radial-gradient(circle at 88% 75%, rgba(231, 103, 46, 0.14), transparent 32%),
        linear-gradient(135deg, #111827 0%, #172538 58%, #101b2a 100%);
}

.steam-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to right, #000, transparent 68%);
}

.steam-hero__grid {
    position: relative;
    z-index: 2;
    min-height: 680px;
    padding-block: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.78fr);
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--steam-light);
}

.steam-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.steam-hero h1 span {
    color: var(--steam-light);
}

.steam-hero__lead {
    max-width: 640px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(17px, 2vw, 20px);
}

.trust-row {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-row span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    font-weight: 600;
}

.checkout-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: clamp(22px, 3vw, 32px);
}

.checkout-card--hero {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.3);
}

.checkout-card__heading {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.checkout-card__heading p,
.checkout-card__heading h2 {
    margin: 0;
}

.checkout-card__heading p {
    color: var(--muted);
    font-size: 13px;
}

.checkout-card__heading h2 {
    font-size: 27px;
    line-height: 1.1;
}

.steam-logo {
    width: 58px;
    height: 58px;
    display: block;
    flex: 0 0 auto;
}

.purchase-form {
    display: grid;
    gap: 18px;
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group label {
    font-size: 14px;
    font-weight: 700;
}

.field-group input,
.field-group select {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #d4dbe5;
    border-radius: 12px;
    outline: 0;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field-group input::placeholder {
    color: #98a2b3;
}

.field-group input:focus,
.field-group select:focus {
    border-color: #4496c8;
    box-shadow: 0 0 0 4px rgba(68, 150, 200, 0.13);
}

.field-group small {
    color: var(--muted);
    font-size: 12px;
}

.amount-input {
    position: relative;
}

.amount-input input {
    padding-right: 42px;
    font-size: 18px;
    font-weight: 700;
}

.amount-input > span {
    position: absolute;
    top: 50%;
    right: 16px;
    color: var(--muted);
    font-weight: 700;
    transform: translateY(-50%);
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.amount-presets button {
    min-height: 36px;
    padding: 6px 5px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: #475467;
    background: var(--surface-soft);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.amount-presets button:hover,
.amount-presets button:focus-visible,
.amount-presets button.is-active {
    color: #14628f;
    border-color: rgba(68, 150, 200, 0.55);
    background: #eef8fe;
}

.order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    border-radius: 13px;
    background: #f2f7fb;
}

.order-total span {
    color: var(--muted);
    font-size: 13px;
}

.order-total div {
    display: grid;
    gap: 2px;
}

.order-total small {
    color: #7a8798;
    font-size: 11px;
}

.order-total strong {
    flex: 0 0 auto;
    color: #0b5f8f;
    font-size: 23px;
}

.primary-button,
.secondary-button {
    min-height: 50px;
    padding: 13px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 800;
    transition: background 0.18s ease, transform 0.18s ease;
}

.primary-button {
    color: #fff;
    background: var(--accent);
}

.primary-button:hover,
.primary-button:focus-visible {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.primary-button:disabled {
    color: #98a2b3;
    background: #e8edf2;
    cursor: not-allowed;
    transform: none;
}

.primary-button--wide {
    width: 100%;
}

.secondary-button {
    margin: 6px 6px 0 0;
    color: #155f8c;
    border: 1px solid #bcd9ea;
    background: #eef8fe;
}

.form-legal,
.form-notice {
    margin: -5px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 11px;
}

.form-notice {
    padding: 10px 12px;
    border-radius: 9px;
    color: #925a00;
    background: #fff7e8;
    font-size: 12px;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.catalog-empty {
    display: grid;
    gap: 12px;
}

.catalog-empty h3,
.catalog-empty p {
    margin: 0;
}

.catalog-empty p {
    color: var(--muted);
}

.how-it-works,
.catalog-section,
.faq-section {
    padding-block: clamp(64px, 8vw, 104px);
}

.product-page {
    padding: clamp(32px, 4vw, 48px) 0 clamp(64px, 8vw, 104px);
}

.how-it-works {
    padding-bottom: 28px;
}

.catalog-section--featured {
    padding-bottom: 28px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.section-heading--row > p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
}

.catalog-search {
    max-width: 680px;
    margin-bottom: 24px;
}

.catalog-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.catalog-search > div {
    display: flex;
    gap: 10px;
}

.catalog-search input {
    min-width: 0;
    height: 50px;
    flex: 1;
    padding: 0 16px;
    border: 1px solid #d4dbe5;
    border-radius: 12px;
    outline: 0;
    color: var(--ink);
    background: var(--surface);
}

.catalog-search input:focus {
    border-color: #4496c8;
    box-shadow: 0 0 0 4px rgba(68, 150, 200, 0.13);
}

.catalog-search button {
    padding-inline: 22px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--steam);
    cursor: pointer;
    font-weight: 800;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.steps-grid article,
.product-card,
.order-card,
.delivery-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.steps-grid article {
    min-height: 190px;
    padding: 24px;
}

.steps-grid article > span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.steps-grid h3 {
    margin: 32px 0 8px;
    font-size: 20px;
}

.steps-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

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

.product-card {
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.product-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e5e9ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.product-card__icon img,
.product-brand-icon img {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
}

.product-card__category {
    margin: 0 0 6px !important;
    color: var(--accent) !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.product-card__variants {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 5px 9px;
    overflow: hidden;
    border-radius: 999px;
    color: #475467;
    background: #eef2f6;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.product-card__footer {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
}

.product-card__footer a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.pagination {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.pagination strong {
    color: var(--muted);
    font-size: 13px;
}

.pagination a {
    justify-self: start;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: var(--surface);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.pagination a:last-child {
    justify-self: end;
}

.empty-selection {
    padding: 28px;
    border: 1px dashed #ccd5e0;
    border-radius: 18px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.45);
}

.empty-selection p {
    margin: 0;
}

.faq-section {
    max-width: 900px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.faq-list summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 700;
}

.faq-list p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 14px;
}

.product-page--landing {
    padding-bottom: clamp(40px, 5vw, 64px);
}

.product-page + .faq-section {
    padding-top: 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    color: var(--accent-hover);
}

.landing-guide {
    padding-bottom: clamp(40px, 7vw, 88px);
}

.landing-guide__content h2 {
    margin: 0 0 22px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.landing-guide__content > p:not(.eyebrow) {
    max-width: 700px;
    margin: 0 0 14px;
    color: var(--muted);
}

.landing-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.landing-links a {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.landing-links a:hover,
.landing-links a:focus-visible {
    color: var(--accent-hover);
    border-color: var(--accent);
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
    align-items: start;
    gap: clamp(40px, 7vw, 96px);
}

.product-copy {
    padding-top: 26px;
}

.product-brand-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    border: 1px solid #e5e9ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.13);
}

.product-brand-icon img {
    width: 52px;
    height: 52px;
}

.product-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.product-description {
    max-width: 680px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 17px;
}

.variant-picker {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.variant-picker > label,
.selected-variant span {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.variant-picker select {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.selection-note {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.variant-picker select {
    width: 100%;
    padding: 0 38px 0 13px;
    color: var(--ink);
    background: #fff;
}

.selected-variant {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
}

.selected-variant span {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 12px;
}

.benefit-list {
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.benefit-list li {
    position: relative;
    padding-left: 28px;
    font-weight: 600;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 900;
}

.shop-footer {
    padding-block: 38px;
    color: rgba(255, 255, 255, 0.7);
    background: #0f1825;
}

.shop-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.shop-footer strong {
    color: #fff;
}

.shop-footer p {
    margin: 4px 0 0;
    font-size: 13px;
}

.shop-footer .steam-attribution {
    max-width: 520px;
    font-size: 11px;
    opacity: 0.75;
}

.shop-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.shop-footer a {
    color: inherit;
    font-size: 13px;
    text-decoration: none;
}

.message-page {
    width: min(620px, calc(100% - 32px));
    min-height: calc(100vh - 59px);
    margin-inline: auto;
    padding-block: 36px;
    display: grid;
    align-content: center;
    gap: 20px;
}

.message-card {
    padding: clamp(28px, 7vw, 54px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.message-card h1 {
    margin: 0;
    font-size: clamp(30px, 7vw, 46px);
    line-height: 1.08;
}

.message-card > p:not(.eyebrow) {
    margin: 18px 0 28px;
    color: var(--muted);
}

.order-page {
    padding-block: 56px 80px;
}

.order-status {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.order-status h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.05;
}

.order-status > p:not(.eyebrow) {
    max-width: 580px;
    margin: 16px auto 0;
    color: var(--muted);
}

.status-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f6fe;
}

.status-icon span {
    width: 20px;
    height: 20px;
    display: block;
    border: 3px solid #328ec4;
    border-top-color: transparent;
    border-radius: 50%;
}

.order-status--awaiting_payment .status-icon span,
.order-status--paid .status-icon span,
.order-status--purchasing .status-icon span,
.order-status--in_process .status-icon span {
    animation: status-spin 0.8s linear infinite;
}

@keyframes status-spin {
    to { transform: rotate(360deg); }
}

.order-status--fulfilled .status-icon {
    background: #e9f8f1;
}

.order-status--fulfilled .status-icon span {
    width: 24px;
    height: 13px;
    border: 0;
    border-left: 4px solid var(--success);
    border-bottom: 4px solid var(--success);
    border-radius: 0;
    transform: rotate(-45deg) translate(2px, -2px);
}

.order-status--manual_review .status-icon {
    background: #fff5e3;
}

.order-status--manual_review .status-icon span {
    width: 4px;
    height: 25px;
    border: 0;
    border-radius: 3px;
    background: var(--warning);
}

.status-pulse {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #52758a;
    font-size: 12px;
    font-weight: 700;
}

.status-pulse span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #44a5db;
    animation: status-pulse 1.5s ease-in-out infinite;
}

@keyframes status-pulse {
    50% { opacity: 0.35; }
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.order-card,
.delivery-card {
    padding: clamp(22px, 4vw, 32px);
}

.order-card h2,
.delivery-card h2 {
    margin: 0 0 22px;
    font-size: 22px;
}

.order-details {
    margin: 0;
}

.order-details > div {
    padding: 12px 0;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.order-details dt {
    color: var(--muted);
    font-size: 13px;
}

.order-details dd {
    margin: 0;
    text-align: right;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
}

.order-card .primary-button {
    margin-top: 22px;
}

.order-timeline {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
}

.order-timeline li {
    min-height: 66px;
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
}

.order-timeline li::before {
    content: "";
    width: 2px;
    position: absolute;
    left: 7px;
    top: 17px;
    bottom: -2px;
    background: var(--line);
}

.order-timeline li:last-child::before {
    display: none;
}

.order-timeline li > span {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    position: relative;
    z-index: 1;
    border: 3px solid #d7dee7;
    border-radius: 50%;
    background: #fff;
}

.order-timeline li.is-done > span {
    border-color: var(--success);
    background: var(--success);
}

.order-timeline li.is-active > span {
    border-color: #449dce;
    box-shadow: 0 0 0 4px rgba(68, 157, 206, 0.12);
}

.order-timeline strong,
.order-timeline small {
    display: block;
}

.order-timeline small {
    margin-top: 3px;
    color: var(--muted);
}

.delivery-card {
    margin-top: 16px;
    border-color: #bfe7d3;
    background: #f7fdfa;
}

.delivery-value {
    margin-top: 12px;
    padding: 16px;
    display: grid;
    gap: 5px;
    border: 1px solid #cfe8dc;
    border-radius: 12px;
    background: #fff;
}

.delivery-value span {
    color: var(--muted);
    font-size: 12px;
}

.delivery-value strong {
    overflow-wrap: anywhere;
    font-size: 17px;
}

.delivery-value button {
    width: fit-content;
    padding: 0;
    border: 0;
    color: var(--success);
    background: transparent;
    cursor: pointer;
    font-weight: 700;
}

.order-help {
    max-width: 760px;
    margin: 30px auto 0;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 900px) {
    .steam-hero__grid,
    .product-layout {
        grid-template-columns: 1fr;
    }

    .steam-hero__grid {
        padding-block: 56px 72px;
    }

    .steam-hero__copy {
        text-align: center;
    }

    .steam-hero__lead {
        margin-inline: auto;
    }

    .trust-row {
        justify-content: center;
    }

    .checkout-card--hero {
        width: min(100%, 540px);
        margin-inline: auto;
    }

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

@media (max-width: 700px) {
    .steps-grid,
    .product-grid,
    .order-grid {
        grid-template-columns: 1fr;
    }

    .section-heading--row,
    .shop-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .steps-grid article {
        min-height: 0;
    }

    .steps-grid h3 {
        margin-top: 20px;
    }
}

@media (max-width: 640px) {
    .shop-header__inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }

    .shop-nav {
        width: auto;
        min-width: 0;
        margin-left: auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .shop-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 12px;
    }

    .shop-nav a:not(.shop-nav__pay) {
        display: none;
    }

    .shop-nav__pay {
        margin-left: 0;
        padding: 7px 11px !important;
    }
}

@media (max-width: 480px) {
    .shop-container {
        width: min(100% - 22px, 1180px);
    }

    .steam-hero__grid {
        padding-block: 42px 54px;
        gap: 34px;
    }

    .steam-hero h1 {
        font-size: 39px;
    }

    .trust-row {
        gap: 6px;
    }

    .trust-row span {
        font-size: 11px;
    }

    .checkout-card {
        padding: 19px;
        border-radius: 17px;
    }

    .amount-presets {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-search > div {
        flex-direction: column;
    }

    .catalog-search button {
        min-height: 46px;
    }

    .order-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-details > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .order-details dd {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
