/*
 * Steam Gift — new design
 */
.rv-page {
    min-height: 100vh;
    background:
            radial-gradient(1200px 700px at 80% -8%, rgba(201, 38, 242, .12), transparent 58%),
            radial-gradient(900px 600px at -8% 22%, rgba(201, 38, 242, .06), transparent 55%),
            #101014;
}
.rv-wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px 90px; }
@media (max-width: 880px) {
    .rv-wrap { padding-left: 16px; padding-right: 16px; padding-bottom: 60px; }
    .rv-pagehead h1 { font-size: 28px; }
    .rv-hero { flex-direction: column; align-items: flex-start; gap: 22px; }
}

.steam-gift-page {
    --sg-bg: #101014;
    --sg-panel: #14141a;
    --sg-panel-2: #181019;
    --sg-border: rgba(255,255,255,.08);
    --sg-border-strong: rgba(255,255,255,.14);
    --sg-text: #f4f5f8;
    --sg-muted: #9aa3b2;
    --sg-dim: #6b7383;
    --sg-purple: #c926f2;
    --sg-purple-light: #d98cf5;
    --sg-blue: #8fc2ff;
    --sg-green: #9bf7c6;
    --sg-danger: #ff8a80;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    /*background:*/
    /*        radial-gradient(1200px 700px at 80% -8%, rgba(201,38,242,.12), transparent 58%),*/
    /*        radial-gradient(900px 600px at -8% 22%, rgba(201,38,242,.06), transparent 55%),*/
    /*        var(--sg-bg);*/
    color: var(--sg-text);
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.steam-gift-page,
.steam-gift-page *,
.steam-gift-page *::before,
.steam-gift-page *::after {
    box-sizing: border-box;
}

.steam-gift-page img {
    max-width: 100%;
}

.steam-gift-page a {
    color: inherit;
}

.steam-gift-page__glow {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(70px);
    opacity: .22;
    z-index: -1;
}

.steam-gift-page__glow--one {
    width: 380px;
    height: 380px;
    top: 380px;
    right: -220px;
    background: #c926f2;
}

.steam-gift-page__glow--two {
    width: 300px;
    height: 300px;
    top: 1100px;
    left: -180px;
    background: #7c3cff;
}

.steam-gift {
    width: 100%;
}

.steam-gift__container {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    padding: 0 0 90px;
}

.steam-gift__breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 22px 0 18px;
    color: var(--sg-dim);
    font-size: 12px;
    line-height: 1.4;
}

.steam-gift__breadcrumbs a {
    color: #8b93a3;
    text-decoration: none;
    transition: color .15s ease;
}

.steam-gift__breadcrumbs a:hover {
    color: var(--sg-purple-light);
}

.steam-gift__breadcrumbs strong {
    color: #aeb6c4;
    font-weight: 600;
}

.steam-gift__breadcrumbs span {
    color: #4a525f;
}

/* HERO */

.steam-gift__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, .75fr);
    gap: 34px;
    /*align-items: center;*/
    padding: 0 0 38px 0;
}

.steam-gift__hero-media {
    min-width: 0;
}

.steam-gift__image {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--sg-border);
    border-radius: 22px;
    background: linear-gradient(155deg, #1f1326, #130a18);
    box-shadow: 0 35px 80px -45px rgba(0,0,0,.9);
}

.steam-gift__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-gift__image-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(10,10,14,0) 45%, rgba(10,10,14,.82) 100%),
            linear-gradient(90deg, rgba(10,10,14,.18), transparent 45%);
    pointer-events: none;
}

.steam-gift__image-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d7dce5;
    font-size: 12px;
    font-weight: 600;
}

.steam-gift__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(201,38,242,.45);
    border-radius: 7px;
    background: rgba(201,38,242,.16);
    color: var(--sg-purple-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.steam-gift__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    color: #5b6679;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

.steam-gift__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.steam-gift__thumbs a {
    flex: 0 0 128px;
    height: 72px;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: 10px;
    background: #14141a;
    transition: border-color .15s ease, transform .15s ease;
}

.steam-gift__thumbs a:hover {
    border-color: rgba(201,38,242,.5);
    transform: translateY(-2px);
}

.steam-gift__thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   GAME GALLERY
   ========================================= */

.steam-game-gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 2px 2px 5px;
    scrollbar-width: thin;
}
/* Chrome / Edge / Safari */
.steam-game-gallery__thumbs {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.steam-game-gallery__thumbs::-webkit-scrollbar {
    height: 5px;
}
.steam-game-gallery__thumbs::-webkit-scrollbar-track {
    background: transparent;
}
.steam-game-gallery__thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}
.steam-game-gallery__thumbs::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.19);
    scrollbar-color: rgba(255, 255, 255, 0.19) transparent;
}
.steam-game-gallery__thumbs::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.19) !important;
}
.steam-game-gallery__thumbs::-webkit-scrollbar-thumb:active {
    background-color: rgba(255, 255, 255, 0.19) !important;
}

.steam-game-gallery__thumb {
    flex: 0 0 128px;
    width: 128px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    outline: none;
    background: #14141a;
    cursor: pointer;
    opacity: 0.68;
    transition:
            border-color 0.15s ease,
            box-shadow 0.15s ease,
            opacity 0.15s ease,
            transform 0.15s ease;
}

/*.steam-game-gallery__thumb:hover {*/
/*    opacity: 1;*/
/*    border-color: rgba(201, 38, 242, 0.45);*/
/*    transform: translateY(-2px);*/
/*}*/

/*.steam-game-gallery__thumb.active {*/
/*    border-color: rgba(201, 38, 242, 0.9);*/
/*    box-shadow:*/
/*            0 0 0 2px rgba(201, 38, 242, 0.18),*/
/*            0 10px 28px -18px rgba(201, 38, 242, 0.9);*/
/*    opacity: 1;*/
/*}*/

/*.steam-game-gallery__thumb:focus-visible {*/
/*    border-color: #d98cf5;*/
/*    box-shadow: 0 0 0 3px rgba(201, 38, 242, 0.22);*/
/*}*/

.steam-game-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-gift__image-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    cursor: zoom-in;
}

.steam-gift__image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-gift__image-link:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(201, 38, 242, 0.75);
}

.steam-gift__hero-copy {
    min-width: 0;
    padding: 4px 0;
}

.steam-gift__eyebrow {
    margin-bottom: 10px;
    color: var(--sg-purple-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.steam-gift__title {
    margin: 0;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
    font-size: 32px;
}

.steam-gift__description {
    margin-top: 20px;
    color: #aeb6c4;
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: 14px;
}

.steam-gift__description p {
    margin: 0 0 12px;
}

.steam-gift__description p:last-child {
    margin-bottom: 0;
}

.steam-gift__description h2,
.steam-gift__description h3 {
    color: #fff;
    font-family: Montserrat, sans-serif;
}

.steam-gift__description a {
    color: var(--sg-blue);
    text-decoration: none;
}

.steam-gift__description a:hover {
    text-decoration: underline;
}

.steam-gift__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 25px;
}

.steam-gift__facts > div {
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--sg-border);
    border-radius: 11px;
    background: rgba(20,20,26,.55);
}

.steam-gift__facts span,
.steam-gift__facts strong {
    display: block;
}

.steam-gift__facts span {
    margin-bottom: 4px;
    color: var(--sg-dim);
    font-size: 10.5px;
}

.steam-gift__facts strong {
    overflow: hidden;
    color: #e9ecf2;
    font-size: 11.5px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.steam-gift__steam-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--sg-blue) !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

.steam-gift__steam-link:hover {
    color: #fff !important;
}

/* MAIN LAYOUT */

.steam-gift__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 440px);
    gap: 24px;
    align-items: start;
}

.steam-gift__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.steam-gift__sidebar {
    /*position: sticky;*/
    position: relative;
    top: 20px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.steam-gift-card {
    border: 1px solid var(--sg-border);
    border-radius: 18px;
    background: rgba(20,20,26,.78);
    box-shadow: 0 24px 60px -45px rgba(0,0,0,.85);
}

.steam-gift-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 24px 0;
}

.steam-gift-card__overline {
    display: block;
    margin-bottom: 10px;
    color: var(--sg-dim);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.steam-gift-card h2 {
    margin: 0;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.steam-gift-card--about {
    overflow: hidden;
}

.steam-gift__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    padding: 22px 24px 24px;
}

.steam-gift__step {
    padding: 19px;
    border: 1px solid var(--sg-border);
    border-radius: 15px;
    background: rgba(15,15,20,.45);
}

.steam-gift__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(201,38,242,.4);
    border-radius: 10px;
    background: rgba(201,38,242,.16);
    color: var(--sg-purple-light);
    font-size: 13px;
    font-weight: 800;
}

.steam-gift__step h3 {
    margin: 14px 0 6px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.steam-gift__step p {
    margin: 0;
    color: #9aa3b2;
    font-size: 12.5px;
    line-height: 1.6;
}

.steam-gift-card--description {
    padding-bottom: 25px;
}

.steam-gift__description--full {
    padding: 20px 24px 0;
}

.steam-gift__description--full > *:first-child {
    margin-top: 0;
}

.steam-gift__description--full > *:last-child {
    margin-bottom: 0;
}

.steam-gift-card--faq {
    padding-bottom: 23px;
}

.steam-gift__notice {
    display: flex;
    gap: 12px;
    margin: 20px 24px 0;
    padding: 14px;
    border: 1px solid rgba(78,161,255,.25);
    border-radius: 12px;
    background: rgba(78,161,255,.07);
}

.steam-gift__notice-icon {
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(78,161,255,.16);
    color: var(--sg-blue);
    font-size: 13px;
    font-weight: 800;
}

.steam-gift__notice strong {
    display: block;
    margin-bottom: 3px;
    color: #e9ecf2;
    font-size: 12.5px;
}

.steam-gift__notice p {
    margin: 0;
    color: #8fc2ff;
    font-size: 12px;
    line-height: 1.55;
}

.steam-gift__notice a {
    color: #fff;
}

.steam-gift__faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin: 20px 24px 0;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: 13px;
    background: var(--sg-border);
}

.steam-gift__faq-grid > div {
    padding: 17px;
    background: #14141a;
}

.steam-gift__faq-grid h3 {
    margin: 0 0 6px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
}

.steam-gift__faq-grid p {
    margin: 0;
    color: #8f98a8;
    font-size: 12px;
    line-height: 1.6;
}

.steam-gift__support {
    margin: 16px 24px 0;
    color: #6f7888;
    font-size: 12px;
}

.steam-gift__support a {
    color: var(--sg-blue);
    text-decoration: none;
}

.steam-gift__support a:hover {
    text-decoration: underline;
}

.steam-gift__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.steam-gift__image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.steam-gift-total .steam-gift-total__promo {
    display: flex;
    align-items: center;
    gap: 7px;
}
.steam-gift-total .steam-gift-total__promo span {
    font-size: 12px;
    font-weight: 700;
    color: rgb(155, 247, 198);
}

.steam-gift-total__promo svg {
    flex-shrink: 0;
}

/* BUY PANEL */

.steam-gift-card--buy {
    overflow: hidden;
    border-color: rgba(201,38,242,.18);
    background: linear-gradient(rgba(201, 38, 242, 0.08), rgba(16, 16, 20, 0.7));
}

.steam-gift__buy-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 22px 0;
}

.steam-gift__buy-head h2 {
    max-width: 260px;
    font-size: 19px;
}

.steam-gift__buy-btns {
    display: flex; gap: 8px;padding: 0 22px;
}
.steam-gift__buy-btns button{
    border:1px solid rgba(255,255,255,.09);
    background:rgba(255,255,255,.02);
    color:#c4ccda;
    flex: 1 1 0%;
    /*flex: 0 1 auto;*/
    max-width: 187px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 13px 15px;
    border-radius: 12px;
    transition: 0.15s;
}

.steam-gift__delivery-btn.active{
    border-color:#c926f2;
    background:rgba(201,38,242,.12);
    color:#fff;
}
.steam-gift__buy-btn-text {
    font-weight: 700; font-size: 13.5px;
}
.steam-gift__buy-btn-sub {
    font-size: 11px; font-weight: 600; opacity: 0.75;
}

.steam-gift__online {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(155,247,198,.15);
    border-radius: 7px;
    background: rgba(155,247,198,.06);
    color: var(--sg-green);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
}

.steam-gift-form {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.steam-gift-form__body {
    padding: 20px 22px 22px;
}
.steam-delivery-notice {
    padding: 20px 22px 0 22px;
}
.steam-gift-form__body.notice {
    padding: 0;
}
.steam-gift-form .steam-form-field {
    margin: 0 0 17px;
}
.steam-gift-form .steam-form-field.steam-gift-field-packages {
    margin-top: 22px;
}

.steam-gift-form .steam-form-field > label,
.steam-gift-form .steam-form-field > .steam-gift-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin: 0 0 9px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
}

.steam-gift-form .steam-form-field > label > span:first-child {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(201,38,242,.4);
    border-radius: 7px;
    background: rgba(201,38,242,.16);
    color: var(--sg-purple-light);
    font-size: 11px;
    font-weight: 800;
}

.steam-gift-help {
    margin-left: auto;
    color: var(--sg-blue) !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.steam-gift-help:hover {
    color: #fff !important;
}

.steam-gift-form .steam-inputs,
.steam-gift-form .gift-row {
    display: flex;
    gap: 8px;
}

.steam-gift-form .steam-input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 11px !important;
    outline: none;
    background: #18181f !important;
    background-color: #18181f !important;
    color: #e9ecf2 !important;
    font-size: 12.5px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.steam-gift-form .steam-input:-webkit-autofill,
.steam-gift-form .steam-input:-webkit-autofill:focus {
    color-scheme: dark;
    background-color: #18181f !important;
    -webkit-box-shadow: 0 0 0px 1000px #18181f inset;
    color: #e9ecf2 !important;
}

.steam-gift-form input.steam-input {
    appearance: none;
}

.steam-gift-form .steam-input::placeholder {
    color: #5f6775;
}

.steam-gift-form .steam-input:focus {
    border-color: rgba(201,38,242,.65) !important;
    box-shadow: 0 0 0 3px rgba(201,38,242,.08);
}

.steam-gift-form .steam-input-wrapper {
    flex: 1;
    min-width: 0;
}

.steam-gift-form .uk-form-select {
    padding: 0 !important;
    position: relative;
}

.steam-gift-form .uk-form-select select {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 13px;
    border: 0;
    outline: none;
    background: transparent;
    color: #e9ecf2;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
}

.steam-gift-form .uk-form-select select option {
    color: #16161b;
}

.steam-gift-form .sub-info {
    margin-top: 7px;
    color: #646d7c;
    font-size: 10.5px;
    line-height: 1.55;
}

.steam-region-info {
    display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 12px 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03);
}
.steam-region-info span{
    font-size: 12.5px; line-height: 1.5; color: rgb(174, 182, 196);
}
.steam-region-info svg {
    flex-shrink: 0; margin-top: 1px;
}

.steam-gift-form .steam-region-warning {
    display: none;
    align-items: flex-start; gap: 9px; margin-top: 8px; padding: 12px 14px; border-radius: 11px; border: 1px solid rgba(255, 150, 90, 0.4); background: rgba(255, 150, 90, 0.08);
}

.steam-gift-form .steam-region-warning svg {
    flex-shrink: 0; margin-top: 1px;
}

.steam-gift-form .steam-region-warning p, .steam-gift-form .steam-region-warning span {
    margin: 0;
    font-size: 12.5px; line-height: 1.5; color: rgb(255, 196, 163);
}

.steam-gift-form .steam-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.steam-gift-form .steam-payment-options > div {
    min-width: 0;
}

.steam-gift-form .payment-option-name {
    margin-bottom: 6px;
    color: #6b7383;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
}

.steam-gift-form .payment-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    background: #18181f;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.steam-gift-form .payment-option:hover {
    border-color: rgba(201,38,242,.45);
    transform: translateY(-1px);
}
.steam-gift-form .payment-option:has(input:checked) {
    border: 1px solid rgba(201, 38, 242, 0.6);
    background: rgba(201, 38, 242, 0.12);
}

.steam-gift-form .payment-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.steam-gift-form .payment-option img {
    display: block;
    width: auto;
    height: 29px;
}

.steam-gift-form .promo-field {
    margin-top: 2px;
}

.steam-gift-form .steam-gift-promo input {
    flex: 1;
}

.steam-gift-form .btn-apply-promo {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid rgba(201,38,242,.28);
    border-radius: 11px;
    background: rgba(201,38,242,.12);
    color: var(--sg-purple-light);
    font-family: Montserrat, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.steam-gift-form .btn-apply-promo:hover {
    border-color: rgba(201,38,242,.55);
    background: rgba(201,38,242,.2);
    color: #fff;
}

.steam-gift-form .promo-message {
    margin-top: 7px;
    color: var(--sg-green);
    font-size: 11.5px;
    font-weight: 600;
}

.steam-gift-total__discount {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgb(31, 111, 74);
    color: rgb(155, 247, 198);
    font-weight: 700;
    font-size: 12.5px;
    line-height: 1;
}

.steam-gift-total__prices {
    display: flex;
    align-items: baseline;
    gap: 11px;
    margin-top: 9px;
    flex-wrap: wrap;
}

.steam-gift__image-discount {
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 14px;

    padding: 7px 12px;

    border-radius: 10px;
    background: #1f6f4a;

    color: #9bf7c6;

    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    box-shadow: 0 8px 24px -8px rgba(31, 111, 74, 0.9);
}

.steam-gift-promo-link {
    display: inline-block;
    color: var(--sg-blue) !important;
    font-size: 11px;
    text-decoration: none;
    margin-top: 9px;
}

.steam-gift-promo-link:hover {
    text-decoration: underline;
}

.steam-gift-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 17px;
    padding: 0 0 12px 0;
    /*border: 1px solid var(--sg-border);*/
    border-radius: 11px;
    /*background: rgba(255,255,255,.018);*/
}

.steam-gift-agree input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: var(--sg-purple);
}

.steam-gift-agree .steam-agree-text {
    color: #747e8e;
    font-size: 10.5px;
    line-height: 1.55;
}

.steam-gift-agree .steam-agree-text a {
    color: #8faed2 !important;
    font-size: inherit !important;
    text-decoration: none;
}

.steam-gift-agree .steam-agree-text a:hover {
    color: #fff !important;
}

.steam-gift-total {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 10px;
    padding: 13px 14px;
    border: 1px solid var(--sg-border);
    border-radius: 11px;
    background: #111116;
    flex-direction: column;
    justify-content: flex-start;
}
.steam-gift-total__head {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 13.5px;
    color: rgb(154, 163, 178);
}
.steam-gift-total span {
    color: #858e9e;
    font-size: 13.5px;
}
.steam-gift-total .steam-gift-total__discount{
    color: rgb(155, 247, 198);
    font-weight: 700;
    font-size: 12.5px;
}
.steam-gift-total strong {
    font-weight: 800;
    font-size: 28px;
    color: rgb(255, 255, 255);
    line-height: 1;
    white-space: nowrap;
}
#steam-total-old-price {
    font-size: 16px;
    font-weight: 600;
    color: rgb(139, 147, 163);
    text-decoration: line-through;
    white-space: nowrap;
}

.steam-gift-buy {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--sg-purple) !important;
    color: #fff !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    box-shadow: 0 16px 35px -18px rgba(201,38,242,.85);
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.steam-gift-buy:hover {
    background: #d438f9 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 20px 40px -18px rgba(201,38,242,.95);
}

.steam-gift-buy:disabled {
    background: rgb(42, 38, 48) !important;
    color: rgb(107, 100, 117) !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.steam-gift-buy:disabled:hover {
    background: rgb(42, 38, 48) !important;
    color: rgb(107, 100, 117) !important;
    transform: none !important;
    box-shadow: none !important;
}

.steam-gift-buy span {
    font-size: 17px;
    line-height: 1;
}

.steam-gift-error {
    margin: 0 0 10px !important;
    padding: 10px 12px;
    border: 1px solid rgba(255,138,128,.2);
    border-radius: 9px;
    background: rgba(255,138,128,.05);
}

.steam-gift-error p {
    margin: 0;
    color: var(--sg-danger);
    font-size: 11px;
}

.error {
    color: var(--sg-danger);
    font-size: 11px;
}
.steam-gift-form .sub-info.error {
    color: var(--sg-danger);
}
.steam-gift-form .steam-input.is-error {
    border-color: var(--sg-danger) !important;
    box-shadow: 0 0 0 3px rgba(255, 138, 128, 0.08);
}

.steam-gift-form .not-available {
    margin-top: 9px;
    color: #ffaaa3;
    font-size: 11px;
    text-align: center;
}

.steam-gift__maintenance {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 17px;
    padding: 12px;
    border: 1px solid rgba(255,138,128,.2);
    border-radius: 11px;
    background: rgba(255,138,128,.05);
    color: #ffaaa3;
}

.steam-gift__maintenance svg {
    flex: 0 0 auto;
    fill: currentColor;
    margin-top: 1px;
}

.steam-gift__maintenance .alert-text {
    font-size: 11px;
    line-height: 1.5;
}

/* TRUST CARD */

.steam-gift-card--trust {
    padding: 4px 18px;
}

.steam-gift__trust-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.steam-gift__trust-row:last-child {
    border-bottom: 0;
}

.steam-gift__trust-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(201,38,242,.28);
    border-radius: 9px;
    background: rgba(201,38,242,.1);
    color: var(--sg-purple-light);
    font-size: 12px;
    font-weight: 800;
}

.steam-gift__trust-row strong,
.steam-gift__trust-row span {
    display: flex;
}

.steam-gift__trust-row strong {
    margin-bottom: 2px;
    color: #e9ecf2;
    font-size: 11.5px;
}

.steam-gift__trust-row > div > span {
    color: #6e7787;
    font-size: 10.5px;
    line-height: 1.45;
}

.steam-gift__trust-row a {
    color: var(--sg-blue);
    text-decoration: none;
}

.steam-gift__trust-row a:hover {
    color: #fff;
}

/* GLOBAL NOTICE + CTA */

.steam-gift__global-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 13px 15px;
    border: 1px solid rgba(201,38,242,.18);
    border-radius: 12px;
    background: rgba(201,38,242,.045);
    color: #bfa7c8;
}

.steam-gift__global-notice svg {
    flex: 0 0 auto;
    margin-top: 1px;
    fill: #d98cf5;
}

.steam-gift__global-notice .alert-text {
    color: #b9a8bf;
    font-size: 11.5px;
    line-height: 1.5;
}

.steam-gift-card--cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 18px;
    padding: 24px;
    border-color: rgba(78,161,255,.15);
    background: linear-gradient(110deg, rgba(78,161,255,.055), rgba(20,20,26,.8));
}

.steam-gift-card--cta h2 {
    font-size: 19px;
}

.steam-gift-card--cta p {
    max-width: 760px;
    margin: 7px 0 0;
    color: #8f98a8;
    font-size: 12px;
    line-height: 1.6;
}

.steam-gift-card--cta > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(78,161,255,.25);
    border-radius: 10px;
    background: rgba(78,161,255,.09);
    color: var(--sg-blue) !important;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.steam-gift-card--cta > a:hover {
    background: rgba(78,161,255,.16);
    color: #fff !important;
}

/* UIKIT MODAL */

#modal-pay.pum-theme-redisign .uk-modal-dialog {
    width: min(560px, calc(100% - 30px));
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: #15151b;
    color: #aeb6c4;
    box-shadow: 0 30px 90px rgba(0,0,0,.6);
}

#modal-pay .uk-modal-title {
    margin: 0 0 15px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

#modal-pay p {
    color: #9aa3b2;
    font-size: 13px;
    line-height: 1.65;
    display: flex;
    justify-content: space-between;
}
#modal-pay p:before {
    width: 0;
    display: none;
}
#modal-pay .modal-region,
#modal-pay .modal-package,
#modal-pay .modal-price, .modal-pay-info p span {
    color: #fff;
    font-weight: 700;
}

#modal-pay .uk-btns {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 22px;
}

#modal-pay .uk-button {
    min-height: 42px;
    border-radius: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
}

#modal-pay .uk-button-default {
    border-color: rgba(255,255,255,.1);
    background: #1c1c23;
    color: #c4ccda;
}

#modal-pay .uk-button-primary {
    border: 0;
    background: var(--sg-purple);
    color: #fff;
}

/* CONTENT FROM WORDPRESS */

.steam-gift__description--full .description,
.steam-gift__description--full .page-content {
    color: #aeb6c4;
}

.steam-gift__description--full ul,
.steam-gift__description--full ol {
    padding-left: 22px;
}

.steam-gift__description--full li {
    margin-bottom: 6px;
}

.steam-gift__description--full img {
    height: auto;
    border-radius: 12px;
}

.steam-gift__description--full blockquote {
    margin: 18px 0;
    padding: 13px 16px;
    border-left: 3px solid var(--sg-purple);
    background: rgba(201,38,242,.045);
    color: #aeb6c4;
}

/* SAFETY OVERRIDES FOR THE OLD THEME */

.steam-gift-page .steam-form,
.steam-gift-page .gift-form,
.steam-gift-page .stars-form {
    width: 100%;
    max-width: none;
}

.steam-gift-page .steam-form .col {
    width: 100%;
    padding: 0;
}

.steam-gift-page .steam-form input,
.steam-gift-page .steam-form select,
.steam-gift-page .steam-form button {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.steam-gift-page .steam-form .pay-now {
    color: #fff;
}

.steam-gift-page .steam-form .promo-message:empty {
    display: none;
}

.steam-gift-page .steam-form .steam-agree-text a {
    color: #8faed2;
}

.steam-gift-page .steam-form .btn-input {
    color: #8fc2ff !important;
}

.steam-gift-page .steam-form .alert-tech {
    max-width: none;
}

.steam-gift-tabs {
    display: flex;
    gap: 6px;
    margin: 30px 0 0;
    padding-bottom: 2px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.steam-gift-tabs__item {
    flex: 0 0 auto;
    padding: 11px 16px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    color: #8b93a3;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    white-space: nowrap;
}

.steam-gift-tabs__item.active {
    color: #fff;
    border-bottom-color: #c926f2;
}

.steam-gift-tab {
    display: none;
    margin-top: 22px;
}

.steam-gift-tab.active {
    display: block;
}

.steam-gift-tab h2 {
    margin: 0 0 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #fff;
}

.steam-gift-tab__text {
    max-width: 760px;
    color: #aeb6c4;
    font-size: 14.5px;
    line-height: 1.7;
}

.steam-gift-tab__text p {
    margin: 0 0 14px;
}
.steam-gift-tab__text a {
    color: #c926f2;
}

.steam-gift-tab__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.steam-gift-tab__steps article {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    background: rgba(20,20,26,.55);
}

.steam-gift-tab__steps article > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(201,38,242,.16);
    border: 1px solid rgba(201,38,242,.4);
    color: #d98cf5;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.steam-gift-tab__steps h3 {
    margin: 14px 0 6px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.steam-gift-tab__steps p {
    margin: 0;
    color: #9aa3b2;
    font-size: 13px;
    line-height: 1.55;
}
.steam-purchase-method + .steam-purchase-method {
    margin-top: 26px;
}

.steam-purchase-method__label {
    margin-bottom: 12px;

    color: #6b7383;

    font-family: Montserrat, sans-serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/*
 * Гифт — фиолетовая нумерация.
 */
.steam-purchase-step--gift > span {
    background: rgba(201, 38, 242, 0.16) !important;
    border-color: rgba(201, 38, 242, 0.4) !important;
    color: #d98cf5 !important;
}


/*
 * Ключ — голубая нумерация.
 */
.steam-purchase-step--key > span {
    background: rgba(78, 161, 255, 0.16) !important;
    border-color: rgba(78, 161, 255, 0.4) !important;
    color: #8fc2ff !important;
}

.purchase-key-activation {
    color: #8fc2ff;
    font-weight: 600;
}

.steam-purchase-method__label {
    font-size: 11px; letter-spacing: 0.14em; color: rgb(107, 115, 131); text-transform: uppercase; margin-bottom: 12px;
}


/* =========================================
   SYSTEM REQUIREMENTS
   ========================================= */

.steam-system-requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.steam-system-requirements__card {
    min-width: 0;

    padding: 20px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;

    background: rgba(20, 20, 26, 0.55);
}

.steam-system-requirements__title {
    margin: 0 0 14px;

    color: #6b7383;

    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    line-height: 1.4;

    text-transform: uppercase;
}

.steam-system-requirements__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.steam-system-requirements__row {
    display: flex;
    gap: 10px;

    font-size: 13px;
    line-height: 1.45;
}

.steam-system-requirements__label {
    flex: 0 0 78px;

    color: #6b7383;
}

.steam-system-requirements__value {
    min-width: 0;

    color: #e9ecf2;

    font-weight: 600;

    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .steam-system-requirements {
        grid-template-columns: 1fr;
    }
}


/*текстовые блоки*/
.steam-after-content {
    display: block;
    margin-top: 38px;
    max-width: 820px;
}

.steam-after-content h2 {
    margin: 32px 0 12px;

    color: #fff;

    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.steam-after-content h2:first-child {
    margin-top: 0;
}

.steam-after-content p {
    margin: 0 0 18px;

    color: #aeb6c4;

    font-size: 14.5px;
    line-height: 1.75;
}

.steam-after-content a {
    color: #8fc2ff;
    text-decoration: none;
}

.steam-after-content a:hover {
    text-decoration: underline;
}

.steam-after-content .steam-dynamic-min-gift,
.steam-after-content .steam-dynamic-min-key,
.steam-after-content .steam-dynamic-key-activation {
    color: #e9ecf2;
    font-weight: 600;
}

/* =========================================
   FAQ
   ========================================= */

.steam-faq {
    margin-top: 38px;
}

.steam-faq__title {
    margin: 0 0 16px !important;

    color: #fff;

    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.steam-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.steam-faq__item {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    background: rgba(20, 20, 26, 0.5);
}

.steam-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    width: 100%;
    padding: 16px 18px;

    border: 0;
    background: transparent;

    color: #fff;

    font-family: Montserrat, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;

    text-align: left;
    cursor: pointer;
}

.steam-faq__question-text {
    flex: 1 1 0;
    min-width: 0;
}

.steam-faq__arrow {
    flex-shrink: 0;

    color: #8b93a3;

    font-size: 11px;
}

.steam-faq__answer {
    padding: 0 18px 17px;

    color: #aeb6c4;

    font-size: 14px;
    line-height: 1.7;
}

.steam-faq__answer[hidden] {
    display: none;
}

.steam-faq__support {
    margin: 16px 0 0 !important;

    color: #8b93a3 !important;

    font-size: 13.5px !important;
}

.steam-faq__support a {
    color: #8fc2ff !important;
    text-decoration: none;
}

.steam-faq__support a:hover {
    text-decoration: underline;
}
.reviews-title {
    font-size: 26px;
    margin: 22px 0 0 0;
}

/* Динамические характеристики товара в hero */

.steam-gift__facts.steam-gift__facts--new {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 18px;
}

/*
 * Отменяем старые стили .steam-gift__facts span,
 * которые превращали все вложенные span в блочные.
 */
.steam-gift__facts.steam-gift__facts--new > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    color: #6b7383;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.steam-gift__facts.steam-gift__facts--new > span > span {
    display: inline;
    margin: 0;
    color: #6b7383;
    font-size: inherit;
    line-height: inherit;
}

.steam-gift__facts.steam-gift__facts--new > span > strong {
    display: inline;
    overflow: visible;
    margin: 0;
    color: #e9ecf2;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: inherit;
    text-overflow: unset;
    white-space: nowrap;
}

.steam-gift-delivery-fields {
    display: none;
}

.steam-gift-delivery-fields.active {
    display: block;
}

.steam-gift__delivery-btn.active {
    border-color: #c926f2;
    background: rgba(201, 38, 242, 0.12);
    color: #fff;
}

.steam-email-required {
    color: #ff8a80;
}

.steam-email-optional {
    margin-left: auto;
    color: #6b7383;
    font-size: 11.5px;
}

/* ---------- KEY DELIVERY ---------- */

.steam-key-regions{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.steam-key-region{
    display:flex;
    align-items:flex-start;
    gap:11px;
    width:100%;
    padding:13px;
    border-radius:13px;
    border:1px solid rgba(255,255,255,.09);
    background:rgba(255,255,255,.02);
    cursor:pointer;
    transition:.15s;
}

.steam-key-region:hover:not(.disabled){
    border-color:rgba(201,38,242,.35);
    background:rgba(201,38,242,.05);
}

.steam-key-region.active{
    border-color:rgba(201,38,242,.6);
    background:rgba(201,38,242,.12);
}

.steam-key-region.disabled{
    opacity:.55;
    cursor:not-allowed;
    border-color:rgba(255,255,255,.06);
    background:rgba(255,255,255,.016);
}

.steam-key-region input{
    display:none;
}

.steam-key-region__radio{
    flex-shrink:0;
    width:18px;
    height:18px;
    margin-top:2px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.22);
    transition:.15s;
    position:relative;
}

.steam-key-region.active .steam-key-region__radio{
    border-color:#c926f2;
    background:#c926f2;
}

.steam-key-region.active .steam-key-region__radio:after{
    content:"";
    position:absolute;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fff;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
}

.steam-key-region__content{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
}

.steam-key-region__content strong{
    color:#fff;
    font-size:13.5px;
    line-height:1.3;
    font-weight:700;
}

.steam-key-region__meta{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    font-size:11.5px;
    line-height:1.35;
    color:#9aa3b2;
}

.steam-key-region__dot{
    width:3px;
    height:3px;
    border-radius:50%;
    background:#4a525f;
}

.steam-key-region__stock{
    color:#9bf7c6;
    font-weight:600;
}

.steam-key-region__stock--empty{
    color:#ff8a80;
}

.steam-key-region__prices{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:1px;
    flex-shrink:0;
}

.steam-key-region__prices del{
    color:#5c6575;
    font-size:11px;
}

.steam-key-region__prices strong{
    color:#fff;
    font-size:14.5px;
    font-weight:700;
}

.steam-key-notice{
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-top:10px;
    padding:12px 14px;
    border-radius:11px;
    border:1px solid rgba(78,161,255,.35);
    background:rgba(78,161,255,.07);
    color:#8fc2ff;
    font-size:12.5px;
    line-height:1.5;
    margin-bottom: 22px;
}

.steam-key-notice__icon{
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:50%;
    border:2px solid #8fc2ff;
    font-size:11px;
    font-weight:700;
}

.steam-delivery-notice {
    font-size: 11.5px;
    line-height: 1.5;
    color: rgb(154, 163, 178);
}

/* =========================================
   FULLSCREEN GAME GALLERY
   ========================================= */

.steam-gallery-modal[hidden] {
    display: none !important;
}

.steam-gallery-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000000 !important;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 24px;

    background: rgba(6, 6, 9, 0.94);
    backdrop-filter: blur(5px);
}

.steam-gallery-modal__close,
.steam-gallery-modal__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    color: #e9ecf2;

    cursor: pointer;
    transition:
            border-color 0.15s ease,
            background 0.15s ease,
            color 0.15s ease,
            transform 0.15s ease;
}

.steam-gallery-modal__close:hover,
.steam-gallery-modal__arrow:hover {
    border-color: rgba(201, 38, 242, 0.55);
    background: rgba(201, 38, 242, 0.13);
    color: #fff;
}

.steam-gallery-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;

    width: 40px;
    height: 40px;
    border-radius: 11px;
}

.steam-gallery-modal__body {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 100%;
    max-width: 1180px;
}

.steam-gallery-modal__arrow {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.steam-gallery-modal__arrow:active {
    transform: scale(0.95);
}

.steam-gallery-modal__picture {
    position: relative;
    flex: 1 1 0;
    min-width: 0;

    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #12101a;
}

.steam-gallery-modal__picture img {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    object-fit: contain !important;
    opacity: 1 !important;
}

.steam-gallery-modal__counter {
    margin-top: 16px;
    color: #8b93a3;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
}

body.steam-gallery-open {
    overflow: hidden !important;
}

/* =========================================
   GIFT MAINTENANCE
   ========================================= */

.steam-gift-maintenance {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 26px 30px 30px;
}

.steam-gift-maintenance__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;

    border: 1px solid rgba(255, 150, 90, 0.4);
    border-radius: 50%;

    background: rgba(255, 150, 90, 0.14);
}

.steam-gift-maintenance__title {
    margin-top: 16px;

    color: #fff;

    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.steam-gift-maintenance__text {
    margin: 10px 0 0;

    color: #9aa3b2;

    font-size: 13.5px;
    line-height: 1.6;
}

.steam-gift-maintenance__support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    margin-top: 20px;
    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.04);

    color: #e9ecf2 !important;

    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
            background 0.15s ease,
            border-color 0.15s ease;
}

.steam-gift-maintenance__support:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);

    color: #fff !important;
}

.steam-gift__delivery-btn.maintenance,
.steam-gift__delivery-btn.maintenance:disabled {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: #5c6575;

    cursor: not-allowed;
    opacity: 1;
}

.steam-gift__delivery-btn.maintenance:hover {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transform: none;
}

/* =========================================
   STEAM PROFILE HELP
   ========================================= */

.steam-gift-form .steam-profile-help-toggle {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.steam-profile-help[hidden] {
    display: none !important;
}

.steam-profile-help {
    margin-top: 10px;
    padding: 14px 16px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 11px;

    background: rgba(0, 0, 0, 0.24);

    color: #c4ccda;

    font-size: 12.5px;
    line-height: 1.65;
}

.steam-profile-help__title {
    color: #fff;
    font-weight: 700;
}

.steam-profile-help__title:not(:first-child) {
    margin-top: 11px;
}

.steam-profile-help__text {
    margin-top: 5px;
}

.steam-profile-help__text a {
    color: #8fc2ff !important;
    text-decoration: none;
    word-break: break-all;
}

.steam-profile-help__text a:hover {
    text-decoration: underline;
}

.steam-profile-help__notice {
    margin-top: 11px;

    color: #9bf7c6;
    font-weight: 600;
}

.steam-profile-help__screenshots {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 12px;
    padding: 9px 14px;

    border: 1px solid rgba(78, 161, 255, 0.4);
    border-radius: 9px;

    background: rgba(78, 161, 255, 0.1);

    color: #8fc2ff;

    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
            background 0.15s ease,
            border-color 0.15s ease;
}

.steam-profile-help__screenshots:hover {
    border-color: rgba(78, 161, 255, 0.65);
    background: rgba(78, 161, 255, 0.16);
}

.steam-profile-help__screenshots svg {
    flex-shrink: 0;
}

/* =========================================
   REGION HELP
   ========================================= */

.steam-gift-form .steam-region-help-toggle {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.steam-region-help[hidden] {
    display: none !important;
}

.steam-region-help {
    margin-top: 10px;
    margin-bottom: 17px;
    padding: 14px 16px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 11px;

    background: rgba(0, 0, 0, 0.24);

    color: #c4ccda;

    font-size: 12.5px;
    line-height: 1.65;
}

.steam-region-help__title {
    margin-bottom: 8px;

    color: #fff;

    font-family: Montserrat, sans-serif;
    font-weight: 700;
}

.steam-region-help__step {
    display: flex;
    gap: 8px;
}

.steam-region-help__step + .steam-region-help__step {
    margin-top: 5px;
}

.steam-region-help__step > span {
    flex-shrink: 0;
    color: #8fc2ff;
}

/* =========================================
   GAME INFO / ABOUT GAME
   ========================================= */

.steam-game-info {
    max-width: 520px;
    margin-top: 26px;
    padding: 24px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    background: rgba(20, 20, 26, 0.55);
}

.steam-game-info__title {
    margin: 0 0 18px;

    color: #fff;

    font-family: Montserrat, sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.steam-game-info__rows {
    display: flex;
    flex-direction: column;
    gap: 14px;

    font-size: 14px;
    line-height: 1.5;
}

.steam-game-info__row {
    display: flex;
    gap: 14px;
}

.steam-game-info__row--center {
    align-items: center;
}
@media (max-width: 760px) {
    .steam-game-info__row--center {
        align-items: flex-start;
    }
}

.steam-game-info__label {
    flex: 0 0 118px;

    color: #6b7383;
}

.steam-game-info__value {
    flex: 1 1 0%;
    min-width: 0;
}

.steam-game-info__links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
}
.steam-game-info__link {
    font-weight: 600;
}
.steam-game-info__links a{
    color: #8fc2ff;
    font-weight: 600;
    text-decoration: none;
}
.steam-game-info__links a:hover, a.steam-game-info__link:hover{
    color: #fff !important;
}

.steam-game-info__strong {
    color: #e9ecf2;
    font-weight: 700;
}

.steam-game-info__reviews {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.steam-game-info__reviews-summary {
    color: #9bf7c6;
    font-weight: 700;
}

.steam-game-info__reviews-count {
    color: #6b7383;

    font-size: 12.5px;
}

.steam-game-info__metacritic {
    display: flex;
    align-items: center;
    gap: 9px;
}

.steam-game-info__metacritic-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 30px;
    padding: 0 8px;

    border-radius: 8px;

    background: #1f6f4a;
    color: #9bf7c6;

    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.steam-game-info__metacritic-caption {
    color: #6b7383;
    font-size: 12.5px;
}

.steam-additional-content {
    margin-top: 34px;
}

.steam-additional-content__title {
    margin: 0 0 16px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.steam-additional-content__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.steam-additional-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    background: #0e1117;
    color: inherit;
    text-decoration: none;
    transition:
            border-color .16s ease,
            background .16s ease;
}

.steam-additional-card:hover {
    border-color: rgba(201,38,242,.35);
    background: #12151d;
    text-decoration: none;
}

.steam-additional-card__cover {
    position: relative;
    flex: 0 0 260px;
    height: 150px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(
            155deg,
            #1f1326,
            #130a18
    );
}

.steam-additional-card__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 760px) {
    .steam-additional-card__cover {
        max-height: 170px;
    }
}


.steam-additional-card__badge {
    position: absolute;
    top: 12px;
    left: -30px;
    width: 110px;
    padding: 4px 0;
    transform: rotate(-45deg);
    background: #c926f2;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-align: center;
}

.steam-additional-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 200px;
}

.steam-additional-card__name {
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.steam-additional-card__description {
    color: #8b93a3;
    font-size: 13.5px;
    line-height: 1.6;
}

.steam-additional-card__price {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.steam-additional-card__price-top {
    display: flex;
    align-items: center;
    gap: 9px;
}

.steam-additional-card__old-price {
    color: #5c6575;
    font-size: 13px;
    text-decoration: line-through;
    white-space: nowrap;
}

.steam-additional-card__discount {
    padding: 3px 8px;
    border-radius: 7px;
    background: #1f6f4a;
    color: #9bf7c6;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.steam-additional-card__final-price {
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap;
}

.steam-additional-card__buy {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid rgba(201,38,242,.42);
    border-radius: 11px;
    background: rgba(201,38,242,.12);
    color: #d98cf5;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.sec-title {
    font-size: 26px;
    margin-bottom: 20px;
}
.section-top {
    margin-top: 56px;
}

/* =========================
   SIMILAR GAMES
   ========================= */

.steam-similar-games {
    margin-top: 56px;
    overflow: visible;
}

.steam-similar-games__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.steam-similar-games__title {
    margin: 0;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.steam-similar-games__all {
    color: #8b93a3 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.steam-similar-games__all:hover {
    color: #fff !important;
}

.steam-similar-games__grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(228px, 1fr)
        );
    gap: 16px;
    overflow: visible;
    padding-top: 6px;
    padding-bottom: 24px;
}


/* CARD */

.steam-similar-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 15px;
    background: #0e1117;
    transition:
            transform .16s ease,
            border-color .16s ease,
            box-shadow .16s ease;
}

.steam-similar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 38, 242, 0.5);
    box-shadow: rgba(201, 38, 242, 0.45) 0px 16px 38px -23px;
}


/* IMAGE */

.steam-similar-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 616 / 353;
    background:
            linear-gradient(
                    155deg,
                    #1f1326,
                    #130a18
            );
}

.steam-similar-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #5b6679;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.steam-similar-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-similar-card__discount {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #1f6f4a;
    color: #9bf7c6;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow:
            0 6px 18px -6px
            rgba(31,111,74,.9);
}


/* CONTENT */

.steam-similar-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 13px 13px 14px;
}

.steam-similar-card__title {
    position: relative;
    z-index: 2;
    min-height: 35px;
    overflow: hidden;
    color: #f1f4f9 !important;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.steam-similar-card__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.steam-similar-card__prices {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.steam-similar-card__old-price {
    color: #5c6575;
    font-size: 12px;
    text-decoration: line-through;
    white-space: nowrap;
}

.steam-similar-card__price {
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.steam-similar-card__buy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid rgba(201,38,242,.42);
    border-radius: 10px;
    background: rgba(201,38,242,.12);
    color: #d98cf5 !important;
    font-family: Montserrat, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.steam-similar-card__buy:hover {
    background: rgba(201,38,242,.2);
    color: #fff !important;
}

.steam-similar-card__overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
}


/* MOBILE */

@media (max-width: 600px) {

    .steam-similar-games {
        margin-top: 40px;
    }

    .steam-similar-games__title {
        font-size: 22px;
    }

    .steam-similar-games__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
        gap: 10px;
    }

    .steam-similar-card__body {
        padding: 11px;
    }

    .steam-similar-card__buy {
        padding: 8px 10px;
        font-size: 11.5px;
    }
}

.steam-mobile-buy {
    display: none;
}

@media (max-width: 980px) {
    .steam-mobile-buy {
        position: fixed;
        z-index: 80;
        left: 0;
        right: 0;
        bottom: 0;

        display: flex;
        align-items: center;
        gap: 14px;

        padding:
                12px
                16px
                calc(12px + env(safe-area-inset-bottom));

        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(16, 16, 20, 0.96);
        backdrop-filter: blur(14px);
    }

    .steam-mobile-buy__info {
        flex: 1 1 0;
        min-width: 0;

        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .steam-mobile-buy__prices {
        display: flex;
        align-items: baseline;
        gap: 8px;
        min-width: 0;
    }

    .steam-mobile-buy__price {
        color: #fff;
        font-family: Montserrat, sans-serif;
        font-size: 19px;
        font-weight: 800;
        white-space: nowrap;
    }

    .steam-mobile-buy__old-price {
        color: #8b93a3;
        font-size: 12.5px;
        text-decoration: line-through;
        white-space: nowrap;
    }

    .steam-mobile-buy__discount {
        padding: 2px 7px;
        border-radius: 6px;
        background: #1f6f4a;
        color: #9bf7c6;
        font-family: Montserrat, sans-serif;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.3;
        white-space: nowrap;
    }

    .steam-mobile-buy__type {
        overflow: hidden;
        color: #8b93a3;
        font-size: 11.5px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .steam-mobile-buy__button {
        flex-shrink: 0;

        display: flex;
        align-items: center;
        gap: 8px;

        padding: 14px 24px;
        border: 0;
        border-radius: 12px;

        background: #c926f2;
        color: #fff;

        font-family: Montserrat, sans-serif;
        font-size: 14.5px;
        font-weight: 800;

        cursor: pointer;
        white-space: nowrap;

        box-shadow: 0 10px 26px -12px rgba(201, 38, 242, 0.9);
    }

    /* чтобы нижняя панель не закрывала контент */
    .steam-gift-page {
        padding-bottom: 90px;
    }
}

/* =========================
   GAME ARTICLES
   ========================= */

.steam-game-articles {
    margin-top: 56px;
}

.steam-game-articles__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.steam-game-articles__title {
    margin: 0;
}

.steam-game-articles__all {
    color: #8b93a3 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.steam-game-articles__all:hover {
    color: #fff !important;
}


/* Горизонтальная лента */
.steam-game-articles {
    width: 100%;
    min-width: 0;
}
.steam-game-articles__list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 2px 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    cursor: grab;
    /*
     * Важно для pointer drag:
     * вертикальный скролл страницы остаётся,
     * горизонтальный контролируем сами.
     */
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.steam-game-articles__list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.steam-game-articles__list.is-pointer-down {
    cursor: grabbing;
}

.steam-game-articles__list.is-dragging {
    cursor: grabbing;

    /*
     * Во время движения snap может мешать
     * и создавать рывки.
     */
    scroll-snap-type: none;
}


/* CARD */

.steam-game-article {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    padding: 18px;
    scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: #14141a;
    color: inherit !important;
    text-decoration: none !important;
    transition:
            border-color .16s ease,
            transform .16s ease;
}
.steam-game-article img {
    user-select: none;
    -webkit-user-drag: none;
}

.steam-game-article:hover {
    transform: translateY(-3px);

    border-color:
            rgba(201,38,242,.4);
}


/* AUTHOR */

.steam-game-article__author {
    display: flex;
    align-items: center;
    gap: 11px;
}

.steam-game-article__avatar {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background:
            linear-gradient(
                    135deg,
                    #ff5d8f,
                    #c92d63
            );

    color: #fff;

    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.steam-game-article__author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.steam-game-article__author-name {
    color: #fff;

    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
}

.steam-game-article__date {
    margin-top: 2px;

    color: #6b7383;

    font-size: 11.5px;
}


/* TITLE */

.steam-game-article__name {
    display: block;

    min-height: 66px;

    margin-top: 14px;

    color: #fff;

    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}


.steam-region-select {
    position: relative;
    width: 100%;
}

.steam-region-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.steam-region-select__current {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;

    display: flex;
    align-items: center;
    gap: 10px;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;

    background: #17151d;
    color: #e9ecf2;

    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    font-weight: 600;

    text-align: left;
    cursor: pointer;
}

.steam-region-select__current-text {
    flex: 1 1 auto;
    min-width: 0;
}

.steam-region-select__arrow {
    flex-shrink: 0;
    color: #8b93a3;
    transition: transform 0.15s;
}

.steam-region-select.is-open
.steam-region-select__arrow {
    transform: rotate(180deg);
}

.steam-region-select__dropdown {
    position: absolute;
    z-index: 30;

    left: 0;
    right: 0;
    top: calc(100% + 6px);

    max-height: 250px;
    overflow-y: auto;

    padding: 6px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    background: #17151d;

    box-shadow:
            0 24px 54px -18px
            rgba(0, 0, 0, 0.85);

    scrollbar-width: thin;
}

.steam-region-select__option {
    width: 100%;
    padding: 10px 11px;

    display: flex;
    align-items: center;
    gap: 10px;

    border: 0;
    border-radius: 9px;

    background: transparent;
    color: #c4ccda;

    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    font-weight: 600;

    text-align: left;
    cursor: pointer;
}

.steam-region-select__option:hover,
.steam-region-select__option.active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}


/* =========================
   КРУГЛЫЕ ФЛАГИ
   ======================== */
.steam-region-flag {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

/* IMAGE */

.steam-game-article__image {
    position: relative;

    display: block;

    height: 170px;

    margin-top: 14px;

    overflow: hidden;

    border-radius: 12px;

    background:
            linear-gradient(
                    155deg,
                    #1f1326,
                    #130a18
            );
}

.steam-game-article__image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}
.rv-wrap, .osw {
    padding-bottom: 0;
}

/* MOBILE */
@media (max-width: 760px) {
    .steam-game-articles__list {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .steam-game-articles__list::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    .rv-wrap, .osw {
        padding-bottom: 0;
    }
}
@media (max-width: 600px) {

    .steam-game-articles {
        margin-top: 40px;
    }

    .steam-game-articles__list {
        margin-right: -10px;
    }

    .steam-game-article {
        flex-basis: 290px;
        padding: 15px;
    }

    .steam-game-article__image {
        height: 150px;
    }
}

@media (max-width: 420px) {

    .steam-similar-games__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .steam-additional-card {
        align-items: stretch;
    }

    .steam-additional-card__cover {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .steam-additional-card__price {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .steam-additional-card__content {
        flex-basis: 100%;
    }

    .steam-additional-card__buy {
        width: 100%;
        margin-left: 0;
    }
}


@media (max-width: 560px) {
    .steam-game-info {
        padding: 18px;
        border-radius: 15px;
    }

    .steam-game-info__row {
        flex-direction: column;
        gap: 4px;
    }

    .steam-game-info__label {
        flex: none;
    }
}

@media (max-width: 700px) {
    .steam-gallery-modal {
        padding: 16px 8px;
    }

    .steam-gallery-modal__body {
        gap: 6px;
    }

    .steam-gallery-modal__arrow {
        width: 36px;
        height: 40px;
        border-radius: 10px;
    }

    .steam-gallery-modal__picture {
        border-radius: 12px;
    }

    .steam-gallery-modal__close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 430px) {
    .steam-gallery-modal {
        padding-right: 4px;
        padding-left: 4px;
    }

    .steam-gallery-modal__body {
        gap: 4px;
    }

    .steam-gallery-modal__arrow {
        width: 32px;
        height: 38px;
    }

    .steam-gallery-modal__arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 430px) {
    .steam-game-gallery__thumb {
        flex-basis: 112px;
        width: 112px;
        height: 63px;
    }

    .steam-gallery-modal {
        padding-right: 6px;
        padding-left: 6px;
    }

    .steam-gallery-modal__body {
        gap: 4px;
    }

    .steam-gallery-modal__arrow {
        width: 32px;
        height: 38px;
    }

    .steam-gallery-modal__arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 380px) {
    .steam-game-gallery__thumb {
        flex-basis: 96px;
        width: 96px;
        height: 54px;
    }
}

@media(max-width:560px){
    .steam-gift__facts.steam-gift__facts--new {
        gap: 6px;
    }

    .steam-gift__facts.steam-gift__facts--new > span {
        max-width: 100%;
        padding: 6px 9px;
        font-size: 11.5px;
        white-space: normal;
    }

    .steam-gift__facts.steam-gift__facts--new > span > strong {
        white-space: normal;
    }
    .steam-key-region{
        gap:8px;
        padding:11px;
    }

    .steam-key-region__content strong{
        font-size:13px;
    }

    .steam-key-region__prices strong{
        font-size:13px;
    }

}

@media (max-width: 900px) {

    .steam-gift-tab__steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .steam-gift-tabs__item {
        padding: 10px 12px;
        font-size: 12.5px;
    }
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .steam-gift__hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
        gap: 24px;
    }

    .steam-gift__layout {
        grid-template-columns: minmax(0, 1fr) 380px;
    }

    .steam-gift__container {
        width: min(100% - 42px, 1120px);
    }
}

@media (max-width: 980px) {
    .steam-gift__hero {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .steam-gift__image {
        min-height: 0;
    }

    .steam-gift__hero-copy {
        max-width: 850px;
    }

    .steam-gift__layout {
        grid-template-columns: 1fr;
    }

    .steam-gift__sidebar {
        position: static;
        width: min(100%, 620px);
    }

    .steam-gift-card--buy {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .steam-gift__container {
        width: min(100% - 28px, 680px);
        padding-bottom: 55px;
    }

    .steam-gift__breadcrumbs {
        padding-top: 15px;
    }

    .steam-gift__hero {
        gap: 20px;
        padding-top: 8px;
        padding-bottom: 24px;
    }

    .steam-gift__title {
        font-size: 32px;
    }

    .steam-gift__facts {
        grid-template-columns: 1fr;
    }

    .steam-gift__steps {
        grid-template-columns: 1fr;
    }

    .steam-gift__faq-grid {
        grid-template-columns: 1fr;
    }

    .steam-gift-card--cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .steam-gift-card--cta > a {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .steam-gift__container {
        width: min(100% - 20px, 520px);
    }

    .steam-gift__image {
        border-radius: 16px;
    }

    .steam-gift__image-caption {
        left: 13px;
        right: 13px;
        bottom: 13px;
    }

    .steam-gift__thumbs > a {
        flex-basis: 112px;
        height: 63px;
    }

    .steam-gift__title {
        font-size: 26px;
    }

    .steam-gift__description {
        margin-top: 14px;
        font-size: 13.5px;
    }

    .steam-gift-card__head {
        padding: 19px 17px 0;
    }

    .steam-gift-card h2 {
        font-size: 18px;
    }

    .steam-gift__steps {
        padding: 17px;
    }

    .steam-gift__step {
        padding: 16px;
    }

    .steam-gift__description--full {
        padding: 17px;
    }

    .steam-gift__notice {
        margin-right: 17px;
        margin-left: 17px;
    }

    .steam-gift__faq-grid {
        margin-right: 17px;
        margin-left: 17px;
    }

    .steam-gift__support {
        margin-right: 17px;
        margin-left: 17px;
    }

    .steam-gift__buy-head {
        padding: 18px 17px 0;
    }

    .steam-gift-form__body {
        padding: 17px;
    }

    .steam-gift-form .steam-payment-options {
        grid-template-columns: 1fr;
    }

    .steam-gift-form .steam-gift-promo {
        flex-direction: column;
    }

    .steam-gift-form .btn-apply-promo {
        width: 100%;
    }

    .steam-gift-card--trust {
        padding-right: 13px;
        padding-left: 13px;
    }

    .steam-gift__global-notice {
        margin-top: 18px;
    }

    .steam-gift-card--cta {
        padding: 19px 17px;
    }

    #modal-pay .uk-btns {
        flex-direction: row;
    }

    #modal-pay .uk-button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .steam-gift__container {
        width: calc(100% - 16px);
    }

    .steam-gift__title {
        font-size: 23px;
    }

    .steam-gift__facts > div {
        padding: 10px;
    }

    .steam-gift-form .steam-form-field > label {
        align-items: flex-start;
    }

    .steam-gift-help {
        font-size: 10px !important;
    }
}


#steam-agree{
    appearance: none;
    -webkit-appearance: none;

    width:18px;
    height:18px;
    margin-top:1px;

    border-radius:5px;
    border:1.5px solid rgba(255,255,255,.22);
    background:#101014;

    cursor:pointer;
    position:relative;
    transition:.15s;
}

#steam-agree:hover{
    border-color:#c926f2;
}

#steam-agree:checked{
    background:#c926f2;
    border-color:#c926f2;
}

#steam-agree:checked::after{
    content:"";
    position:absolute;
    left: 6px;
    top: 3.5px;
    width: 4px;
    height:8px;
    border:solid #fff;
    border-width:0 2px 2px 0;
    transform:rotate(45deg);
}

#modal-pay.pum-theme-redisign.uk-open {
    position: fixed;
    inset: 0px;
    z-index: 90;
    background: rgba(6, 6, 9, 0.72);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

#modal-pay.uk-open .uk-modal-body {
    top: 5%;
    border-radius: 20px;
    border: 1px solid rgba(201, 38, 242, 0.32);
    background: rgb(20, 18, 26);
    padding: 28px;
    box-shadow: rgba(0, 0, 0, 0.9) 0px 40px 90px -30px;
}
@media (max-width: 760px){
    #modal-pay.uk-open .uk-modal-body {
        top: 0;
    }
    #modal-pay .uk-btns {
        height: 100%;
    }
    #modal-pay p {
        justify-content: flex-start;
        flex-direction: column;
    }
}

.modal-pay-info {
    margin-top: 20px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.modal-pay-info p {
    margin: 0;
}
#modal-pay .uk-modal-close:hover {
    border-color: rgba(255, 255, 255, 0.3);
}
#modal-pay .uk-modal-close {
    flex: 1 1 0%;
    min-width: 130px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgb(233, 236, 242);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}
#modal-pay .uk-btns {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}
#modal-pay .uk-button-primary.btn-success:hover {
    background: rgb(145, 69, 255);
}
#modal-pay .uk-button-primary.btn-success {
    flex: 1.4 1 0%;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 12px;
    background: rgb(201, 38, 242);
    color: rgb(255, 255, 255);
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none;
}
/* =========================================
   MOBILE ORDER:
   title → gallery → tabs → buy form → tab content → after content
   ========================================= */

@media (max-width: 980px) {
    /*
     * Убираем первый технический wrapper
     * из layout, но его содержимое остаётся в DOM.
     *
     * Благодаря этому его дочерние элементы
     * становятся grid-items .steam-gift__hero.
     */
    .steam-gift__hero > div:first-child {
        display: contents;
    }

    /*
     * Заголовок + lead + facts
     */
    .steam-gift__hero-copy {
        order: 1;
    }

    /*
     * Основная картинка + миниатюры
     */
    .steam-gift__hero-media {
        order: 2;
    }

    /*
     * Навигация табов.
     */
    .steam-gift-tabs {
        order: 3;
    }

    /*
     * Второй прямой div внутри hero —
     * тот, внутри которого sidebar / форма.
     *
     * Ставим сразу после табов.
     */
    .steam-gift__hero > div:nth-child(2) {
        order: 5;
        min-width: 0;
        width: 100%;
    }

    .steam-gift__sidebar {
        width: 100%;
        max-width: none;
        position: static;
        top: auto;
    }

    /*
     * Контент выбранного таба теперь
     * идёт ПОСЛЕ формы.
     */
    .steam-gift-tabs-content {
        order: 4;
    }

    /*
     * Длинные SEO / текстовые блоки + FAQ.
     */
    .steam-after-content {
        order: 6;
    }
}







/* =========================================
   POPUP "Где найти ссылку на профиль"
   новая стилизация без изменения HTML
   ========================================= */

/*
 * Затемнение всей страницы.
 * Если у твоего popup есть более конкретный ID,
 * лучше потом добавить его перед .pum-overlay.
 */
.pum-overlay {
    background: rgba(6, 6, 9, 0.74) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    padding: 24px !important;

    overflow-y: auto !important;
}


/*
 * Основное окно Popup Maker.
 */
.pum-overlay .pum-container, .pum-theme-redisign .pum-container {
    width: calc(100% - 48px) !important;
    max-width: 620px !important;

    margin: auto !important;
    padding: 28px !important;

    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;

    background: rgb(20, 18, 26) !important;

    box-shadow:
            0 40px 90px -30px rgba(0, 0, 0, 0.9) !important;

    color: #c4ccda;
}


/*
 * У Popup Maker иногда собственные стили
 * добавляют padding/margin контенту.
 */
.pum-overlay .pum-content.popmake-content {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    color: #c4ccda !important;

    font-family: Montserrat, sans-serif;
    font-size: 13px;
    line-height: 1.6;
}


/*
 * Заголовок:
 * "Где найти ссылку на профиль"
 */
.pum-overlay .title-popup {
    margin: 0 46px 0 0 !important;

    color: #fff !important;

    font-family: Montserrat, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}


/*
 * Текущий крестик Popup Maker.
 */
.pum-overlay .pum-close.popmake-close {
    position: absolute !important;

    top: 28px !important;
    right: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 32px !important;
    height: 32px !important;

    min-width: 32px !important;
    min-height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9px !important;

    background: transparent !important;

    color: #9aa3b2 !important;

    box-shadow: none !important;

    cursor: pointer;

    font-size: 0 !important;
    line-height: 1 !important;

    transition:
            background 0.15s ease,
            border-color 0.15s ease,
            color 0.15s ease;
}

.pum-overlay .pum-close.popmake-close:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;

    color: #fff !important;
}


/*
 * Обёртка SVG крестика.
 */
.pum-overlay .pum-close-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 15px !important;
    height: 15px !important;
}


/*
 * Твой старый SVG имеет viewBox 40x40.
 * Уменьшаем его визуально.
 */
.pum-overlay .pum-close-icon svg {
    display: block;

    width: 15px !important;
    height: 15px !important;
}


/*
 * В старом SVG path жёстко задан fill="#C926F2".
 * Перебиваем его и делаем как в новом макете.
 */
.pum-overlay .pum-close-icon svg path {
    fill: #9aa3b2 !important;
}

.pum-overlay .pum-close.popmake-close:hover svg path {
    fill: #fff !important;
}

.pum-overlay .pum-content p {
    color: #c4ccda;
    font-size: 13px;
    line-height: 1.6;
}

.pum-overlay .pum-content p code {
    white-space: break-spaces;
}

.pum-overlay .pum-content a {
    color: #8fc2ff !important;
}

.pum-overlay .pum-content strong,
.pum-overlay .pum-content h3,
.pum-overlay .pum-content h4 {
    color: #fff;
    font-family: Montserrat, sans-serif;
}

.pum-overlay .pum-content img {
    max-width: 100%;
    height: auto;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}
@media (max-width: 680px) {
    .pum-overlay {
        padding: 14px !important;
    }

    .pum-overlay .pum-container {
        width: calc(100% - 28px) !important;
        padding: 20px !important;

        border-radius: 16px !important;
    }

    .pum-overlay .title-popup {
        margin-right: 38px !important;
        font-size: 20px !important;
        margin-bottom: 16px;
    }

    .pum-overlay .pum-close.popmake-close {
        top: 20px !important;
        right: 20px !important;
    }
}

