:root {
    --header: #07111d;
    --hero: #0b1b2a;
    --blue: #147cff;
    --blue-light: #42a1ff;
    --text: #111827;
    --muted: #5f6d82;
    --line: #dce3ec;
    --surface: #ffffff;
    --page: #f4f7fb;
    --dark-card: #0d1b2b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--page);
    font-family: Arial, Helvetica, sans-serif;
}

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

button,
input {
    font: inherit;
}

.market-container,
.header-container {
    width: min(1350px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    height: 58px;
    color: #fff;
    background: #06101b;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.logo-shield {
    display: grid;
    place-items: center;
    width: 37px;
    height: 42px;
    border: 3px solid var(--blue);
    border-radius: 11px 11px 15px 15px;
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 900;
    transform: rotate(1deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: .9;
}

.logo-text strong {
    font-size: 27px;
    letter-spacing: .04em;
}

.logo-text small {
    margin-top: 5px;
    color: #32a0ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.main-menu {
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 7px;
}

.main-menu a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 17px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.main-menu a:hover,
.main-menu a.active {
    color: #fff;
    background: rgba(255, 255, 255, .025);
}

.main-menu a.active::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 2px;
    background: var(--blue);
}

.new-label {
    margin-left: 6px;
    padding: 2px 5px;
    border-radius: 5px;
    color: #fff;
    background: var(--blue);
    font-size: 8px;
}

.header-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon {
    position: relative;
    font-size: 17px;
}

.header-icon > span {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--blue);
    font-size: 9px;
    font-weight: 800;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
}

.user-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #263445;
}

.market-hero {
    min-height: 190px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(5, 18, 30, .97), rgba(7, 22, 36, .72)),
        radial-gradient(circle at 70% 42%, rgba(34, 110, 180, .25), transparent 30%),
        linear-gradient(135deg, #0b2235, #07121d 72%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 27px;
    color: #8ebff5;
    font-size: 12px;
}

.hero-layout {
    min-height: 155px;
    display: grid;
    grid-template-columns: 500px 1fr;
    align-items: center;
    gap: 70px;
}

.hero-copy h1 {
    margin: 0 0 12px;
    font-size: 31px;
    line-height: 1.12;
}

.hero-copy p {
    margin: 0;
    color: #e3eaf3;
    font-size: 15px;
    line-height: 1.65;
}

.hero-copy strong {
    color: var(--blue-light);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 10px;
    background: rgba(19, 37, 56, .76);
    overflow: hidden;
}

.hero-features article {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-right: 1px solid rgba(255, 255, 255, .05);
}

.hero-features article:last-child {
    border-right: 0;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 2px solid var(--blue);
    border-radius: 10px;
    color: var(--blue-light);
    font-size: 18px;
}

.hero-features strong,
.hero-features small {
    display: block;
}

.hero-features strong {
    margin-bottom: 4px;
    font-size: 12px;
}

.hero-features small {
    color: #a9b7c9;
    font-size: 10px;
    line-height: 1.35;
}

.catalog-section {
    padding: 20px 0 17px;
    background:
        radial-gradient(circle at 50% 0, #fff, transparent 55%),
        var(--page);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.category-tabs {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.category-tabs button {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    color: #111827;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.category-tabs button:hover,
.category-tabs button.active {
    color: #fff;
    background: #111d2c;
}

.catalog-search {
    width: 295px;
    height: 40px;
    margin-left: auto;
    display: flex;
    align-items: center;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    background: #fff;
}

.catalog-search input {
    width: 100%;
    height: 100%;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 12px;
}

.catalog-search span {
    padding-right: 14px;
    color: #66809f;
    font-size: 22px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 17px 0 15px;
}

.section-title h2 {
    margin: 0;
    font-size: 20px;
}

.section-title h2 span {
    margin-right: 7px;
}

.section-title a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

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

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d9e0e9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 35, 58, .045);
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(16, 35, 58, .12);
}

.product-image {
    position: relative;
    min-height: 152px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(4, 13, 22, .3), rgba(4, 12, 20, .95)),
        radial-gradient(circle at 55% 30%, rgba(37, 102, 158, .5), transparent 36%),
        linear-gradient(135deg, #192f42, #07111c);
}

.product-image::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,.2) 49%, transparent 50%);
    background-size: 15px 15px;
}

.product-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    color: #fff;
    background: #2db84d;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-badge.purple {
    background: linear-gradient(135deg, #6d48ff, #aa42e8);
}

.product-badge.orange {
    background: #ff650c;
}

.product-close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 11px;
    color: rgba(255, 255, 255, .25);
    font-size: 18px;
}

.product-visual {
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: .93;
}

.product-visual strong,
.product-visual span {
    display: block;
}

.product-visual strong {
    color: #fff;
    font-size: clamp(24px, 2vw, 31px);
    letter-spacing: -.05em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .7);
}

.product-visual span {
    margin-top: 7px;
    color: #3b9cff;
    font-size: 19px;
    font-weight: 900;
}

.product-body {
    min-height: 183px;
    padding: 13px 15px 14px;
    display: flex;
    flex-direction: column;
}

.product-body h3 {
    margin: 0 0 7px;
    font-size: 15px;
}

.product-category {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 4px;
    color: #0874e7;
    background: #eaf3ff;
    font-size: 10px;
}

.product-body p {
    margin: 10px 0 12px;
    color: #36465c;
    font-size: 12px;
    line-height: 1.55;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.product-price strong {
    font-size: 19px;
}

.product-price del {
    color: #8995a5;
    font-size: 11px;
}

.cart-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #d6deea;
    border-radius: 7px;
    color: #1477df;
    background: #fff;
    cursor: pointer;
}

.cart-button:hover {
    background: #eff6ff;
}

.advantages-row {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #d9e0e9;
    border-radius: 9px;
    background: #fff;
}

.advantages-row article {
    min-height: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 12px 20px;
    border-right: 1px solid #dfe5ec;
}

.advantages-row article:last-child {
    border-right: 0;
}

.advantages-row article > span {
    color: #176ed2;
    font-size: 35px;
}

.advantages-row strong,
.advantages-row small {
    display: block;
}

.advantages-row strong {
    margin-bottom: 5px;
    font-size: 14px;
}

.advantages-row small {
    max-width: 180px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.promo-banner {
    min-height: 97px;
    margin-top: 19px;
    padding: 17px 34px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    border-radius: 10px;
    color: #fff;
    background:
        radial-gradient(circle at 75% 0, rgba(32, 124, 225, .18), transparent 34%),
        linear-gradient(110deg, #0a1827, #13283d);
}

.promo-icon {
    width: 76px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #33a0ff;
    background: #19385c;
    font-size: 33px;
}

.promo-copy strong {
    font-size: 17px;
}

.promo-copy p {
    margin: 8px 0 0;
    color: #c8d1dd;
    font-size: 13px;
}

.promo-copy span {
    margin: 0 4px;
    padding: 4px 8px;
    border-radius: 5px;
    color: #38a2ff;
    background: rgba(40, 122, 211, .19);
    font-weight: 700;
}

.promo-banner > a {
    min-width: 210px;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: linear-gradient(180deg, #2585f7, #1473e6);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(14, 109, 229, .26);
}

.site-footer {
    min-height: 64px;
    color: #8995a5;
    background: #06101b;
}

.footer-layout {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
    font-size: 11px;
}

.footer-layout nav {
    display: flex;
    gap: 36px;
}

.social-links {
    justify-self: end;
    display: flex;
    gap: 20px;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .main-menu a {
        padding: 0 10px;
    }

    .hero-layout {
        grid-template-columns: 390px 1fr;
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .main-menu {
        display: none;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 0;
    }

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

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-search {
        width: 100%;
        margin-left: 0;
    }

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

    .advantages-row article:nth-child(2) {
        border-right: 0;
    }

    .advantages-row article:nth-child(-n+2) {
        border-bottom: 1px solid #dfe5ec;
    }
}

@media (max-width: 680px) {
    .market-container,
    .header-container {
        width: min(100% - 24px, 1350px);
    }

    .site-header {
        height: 62px;
    }

    .header-container {
        gap: 12px;
    }

    .logo-text strong {
        font-size: 22px;
    }

    .header-icon {
        display: none;
    }

    .hero-copy h1 {
        font-size: 27px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-features article {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .05);
    }

    .hero-features article:last-child {
        border-bottom: 0;
    }

    .products-grid {
        display: flex;
        gap: 13px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .product-card {
        min-width: 260px;
        scroll-snap-align: start;
    }

    .advantages-row {
        grid-template-columns: 1fr;
    }

    .advantages-row article {
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid #dfe5ec;
    }

    .advantages-row article:last-child {
        border-bottom: 0;
    }

    .promo-banner {
        grid-template-columns: auto 1fr;
        padding: 18px;
    }

    .promo-banner > a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .footer-layout {
        padding: 24px 0;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-layout nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 25px;
    }

    .social-links {
        justify-self: center;
    }
}

/* CS2 MARKET PRODUCT PAGE */

.product-card-link {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    color: inherit;
}

.product-card-link .product-body {
    flex: 1;
}

.product-page {
    min-height: calc(100vh - 122px);
}

.product-page-hero {
    color: #fff;
    background:
        radial-gradient(circle at 70% 0, rgba(29, 105, 190, .18), transparent 35%),
        linear-gradient(110deg, #071421, #0b1c2c);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.product-breadcrumbs {
    min-height: 70px;
    padding-top: 0;
}

.product-details-section {
    padding: 28px 0 38px;
    background:
        radial-gradient(circle at 50% 0, #fff, transparent 52%),
        #f4f7fb;
}

.product-details-grid {
    display: grid;
    grid-template-columns: minmax(420px, .92fr) minmax(430px, 1.08fr);
    gap: 34px;
    align-items: start;
}

.product-gallery,
.product-info {
    min-width: 0;
}

.product-main-image {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #213448;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(4, 14, 24, .17), rgba(3, 12, 21, .92)),
        radial-gradient(circle at 67% 28%, rgba(42, 125, 213, .48), transparent 27%),
        radial-gradient(circle at 28% 75%, rgba(20, 75, 132, .34), transparent 31%),
        linear-gradient(135deg, #16324b, #07121d 70%);
    box-shadow: 0 20px 45px rgba(20, 38, 58, .13);
}

.product-main-image::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image:
        linear-gradient(
            45deg,
            transparent 48%,
            rgba(255, 255, 255, .25) 49%,
            transparent 50%
        );
    background-size: 18px 18px;
}

.product-main-image::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(62, 150, 255, .18);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(62, 150, 255, .025),
        0 0 0 90px rgba(62, 150, 255, .018);
}

.product-main-image .product-badge {
    z-index: 4;
    top: 18px;
    left: 18px;
}

.product-cover-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.product-cover-content > span,
.product-cover-content > strong,
.product-cover-content > b,
.product-cover-content > small {
    display: block;
}

.cover-small {
    margin-bottom: 37px;
    color: #83bfff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

.product-cover-content strong {
    color: #fff;
    font-size: clamp(42px, 5vw, 66px);
    line-height: .9;
    letter-spacing: -.065em;
    text-shadow: 0 7px 24px rgba(0, 0, 0, .65);
}

.product-cover-content b {
    margin-top: 12px;
    color: #3699ff;
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1;
}

.product-cover-content small {
    margin-top: 40px;
    color: #9eafc2;
    font-size: 12px;
}

.gallery-note {
    min-height: 68px;
    margin-top: 13px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #fff;
}

.gallery-note > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 2px solid #2683ee;
    border-radius: 10px;
    color: #1674df;
    font-weight: 900;
}

.gallery-note strong,
.gallery-note small {
    display: block;
}

.gallery-note strong {
    margin-bottom: 4px;
    font-size: 13px;
}

.gallery-note small {
    color: #66758a;
    font-size: 11px;
}

.product-info {
    padding: 5px 0;
}

.product-info-category {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 6px;
    color: #0874e7;
    background: #e8f2ff;
    font-size: 11px;
    font-weight: 700;
}

.product-info h1 {
    margin: 15px 0 11px;
    color: #101927;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.product-short-description {
    max-width: 680px;
    margin: 0;
    color: #506076;
    font-size: 15px;
    line-height: 1.65;
}

.product-info-benefits {
    margin-top: 23px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.product-info-benefits article {
    min-height: 96px;
    padding: 15px 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-right: 1px solid #e0e6ed;
}

.product-info-benefits article:last-child {
    border-right: 0;
}

.product-info-benefits article > span {
    color: #1479e8;
    font-size: 22px;
}

.product-info-benefits strong,
.product-info-benefits small {
    display: block;
}

.product-info-benefits strong {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.25;
}

.product-info-benefits small {
    color: #718096;
    font-size: 10px;
    line-height: 1.4;
}

.product-buy-box {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #d5dee9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 34, 55, .06);
}

.product-buy-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.product-buy-price > span {
    color: #6c7b8f;
    font-size: 12px;
}

.product-buy-price > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-buy-price strong {
    color: #0d1725;
    font-size: 29px;
}

.product-buy-price del {
    color: #8793a4;
    font-size: 13px;
}

.product-buy-button {
    width: 100%;
    min-height: 52px;
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(180deg, #278af8, #1473e5);
    box-shadow: 0 10px 24px rgba(20, 115, 229, .23);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.product-buy-button:hover {
    filter: brightness(1.06);
}

.product-buy-box > p {
    margin: 11px 0 0;
    color: #8290a1;
    font-size: 10px;
    text-align: center;
}

.product-content-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 23px;
    align-items: start;
}

.product-description-card,
.product-side-card {
    border: 1px solid #dbe3ec;
    border-radius: 11px;
    background: #fff;
}

.product-description-card {
    padding: 25px 28px;
}

.product-description-card h2 {
    margin: 0 0 13px;
    font-size: 22px;
}

.product-description-card h3 {
    margin: 24px 0 13px;
    font-size: 17px;
}

.product-description-card p {
    margin: 0;
    color: #526177;
    font-size: 13px;
    line-height: 1.72;
}

.product-description-card ul {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px 24px;
    list-style: none;
}

.product-description-card li {
    position: relative;
    padding-left: 22px;
    color: #35465c;
    font-size: 12px;
    line-height: 1.45;
}

.product-description-card li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: #1778e5;
    font-weight: 900;
}

.product-side-card {
    padding: 21px;
}

.product-side-card h3 {
    margin: 0 0 15px;
    font-size: 16px;
}

.product-property {
    padding: 11px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e5eaf0;
    font-size: 11px;
}

.product-property span {
    color: #78869a;
}

.product-property strong {
    max-width: 180px;
    color: #27374b;
    text-align: right;
}

.product-side-card > a {
    min-height: 42px;
    margin-top: 18px;
    display: grid;
    place-items: center;
    border: 1px solid #cdd9e8;
    border-radius: 7px;
    color: #146ecf;
    background: #f5f9ff;
    font-size: 11px;
    font-weight: 800;
}

.related-products {
    margin-top: 30px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.related-product-card {
    display: grid;
    grid-template-columns: 145px 1fr;
    overflow: hidden;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    color: inherit;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.related-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 27px rgba(18, 38, 62, .1);
}

.related-product-cover {
    min-height: 125px;
    display: grid;
    place-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 60% 20%, rgba(44, 131, 222, .4), transparent 36%),
        linear-gradient(145deg, #162d42, #06111c);
}

.related-product-cover strong,
.related-product-cover span {
    display: block;
}

.related-product-cover strong {
    color: #fff;
    font-size: 19px;
}

.related-product-cover span {
    margin-top: 4px;
    color: #3398ff;
    font-size: 14px;
    font-weight: 900;
}

.related-product-body {
    padding: 15px;
}

.related-product-body > span {
    color: #1475dc;
    font-size: 9px;
}

.related-product-body h3 {
    margin: 7px 0 22px;
    font-size: 14px;
}

.related-product-body > strong {
    font-size: 16px;
}

.product-not-found {
    max-width: 620px;
    margin: 50px auto;
    padding: 45px;
    border: 1px solid #dbe3ec;
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.not-found-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #1478e6;
    font-size: 27px;
    font-weight: 900;
}

.product-not-found h1 {
    margin: 0 0 10px;
}

.product-not-found p {
    color: #68778b;
    line-height: 1.6;
}

.product-not-found a {
    min-height: 44px;
    margin-top: 15px;
    padding: 0 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    background: #1478e6;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1050px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        min-height: 360px;
    }

    .product-content-grid {
        grid-template-columns: 1fr;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .product-details-section {
        padding-top: 18px;
    }

    .product-breadcrumbs {
        min-height: 55px;
        overflow: hidden;
        white-space: nowrap;
    }

    .product-main-image {
        min-height: 285px;
    }

    .product-cover-content strong {
        font-size: 44px;
    }

    .product-cover-content b {
        font-size: 28px;
    }

    .product-info h1 {
        font-size: 31px;
    }

    .product-info-benefits {
        grid-template-columns: 1fr;
    }

    .product-info-benefits article {
        min-height: 72px;
        border-right: 0;
        border-bottom: 1px solid #e0e6ed;
    }

    .product-info-benefits article:last-child {
        border-bottom: 0;
    }

    .product-description-card ul {
        grid-template-columns: 1fr;
    }

    .product-buy-price {
        align-items: flex-start;
        flex-direction: column;
    }

    .related-product-card {
        grid-template-columns: 115px 1fr;
    }
}

/* CS2 MARKET CATALOG AND CART */

.category-tabs a {
    min-height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.category-tabs a:hover,
.category-tabs a.active {
    color: #fff;
    background: #111d2c;
}

.catalog-search button {
    width: 45px;
    height: 100%;
    padding: 0;
    border: 0;
    color: #66809f;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
}

.catalog-empty {
    padding: 55px 25px;
    border: 1px solid #d9e0e9;
    border-radius: 11px;
    background: #fff;
    text-align: center;
}

.catalog-empty > div {
    color: #1a7ce8;
    font-size: 42px;
}

.catalog-empty h3 {
    margin: 13px 0 7px;
    font-size: 20px;
}

.catalog-empty p {
    margin: 0;
    color: #69788c;
    font-size: 13px;
}

.catalog-empty a {
    min-height: 42px;
    margin-top: 18px;
    padding: 0 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    background: #1478e6;
    font-size: 12px;
    font-weight: 800;
}

.cart-page {
    min-height: calc(100vh - 122px);
}

.cart-section {
    padding: 30px 0 45px;
    background:
        radial-gradient(circle at 50% 0, #fff, transparent 52%),
        #f4f7fb;
}

.cart-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
}

.cart-heading h1 {
    margin: 0 0 7px;
    font-size: 31px;
}

.cart-heading p {
    margin: 0;
    color: #65748a;
    font-size: 13px;
}

.cart-clear-button {
    border: 0;
    color: #db3f3f;
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.cart-message {
    margin-bottom: 17px;
    padding: 13px 16px;
    border: 1px solid #bfe6cf;
    border-radius: 8px;
    color: #217545;
    background: #edf9f2;
    font-size: 12px;
    font-weight: 700;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
}

.cart-products {
    min-width: 0;
}

.cart-item {
    position: relative;
    min-height: 150px;
    margin-bottom: 13px;
    padding: 14px 52px 14px 14px;
    display: grid;
    grid-template-columns: 145px minmax(180px, 1fr) 105px 125px;
    align-items: center;
    gap: 20px;
    border: 1px solid #dae2eb;
    border-radius: 11px;
    background: #fff;
}

.cart-item-cover {
    min-height: 115px;
    display: grid;
    place-content: center;
    border-radius: 8px;
    text-align: center;
    background:
        radial-gradient(circle at 65% 20%, rgba(45, 132, 223, .43), transparent 35%),
        linear-gradient(145deg, #173047, #06111c);
}

.cart-item-cover strong,
.cart-item-cover span {
    display: block;
}

.cart-item-cover strong {
    color: #fff;
    font-size: 21px;
}

.cart-item-cover span {
    margin-top: 5px;
    color: #3599ff;
    font-size: 15px;
    font-weight: 900;
}

.cart-item-info > span {
    color: #1474db;
    font-size: 10px;
}

.cart-item-info > a {
    margin-top: 6px;
    display: block;
    color: #101a28;
    font-size: 16px;
    font-weight: 800;
}

.cart-item-info p {
    margin: 8px 0 0;
    color: #657489;
    font-size: 11px;
    line-height: 1.5;
}

.cart-item-quantity label,
.cart-item-price > span {
    margin-bottom: 7px;
    display: block;
    color: #7a8799;
    font-size: 9px;
    text-transform: uppercase;
}

.cart-item-quantity input {
    width: 72px;
    height: 39px;
    padding: 0 8px;
    border: 1px solid #d4dde8;
    border-radius: 7px;
    outline: 0;
    text-align: center;
}

.cart-item-price strong,
.cart-item-price small {
    display: block;
}

.cart-item-price strong {
    font-size: 17px;
}

.cart-item-price small {
    margin-top: 5px;
    color: #8290a2;
    font-size: 9px;
}

.cart-remove-button {
    position: absolute;
    top: 15px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    color: #8795a7;
    background: #f2f5f8;
    cursor: pointer;
    font-size: 18px;
}

.cart-remove-button:hover {
    color: #fff;
    background: #e24c4c;
}

.cart-update-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
}

.cart-update-row a {
    color: #1473d8;
    font-size: 12px;
    font-weight: 700;
}

.cart-update-row button {
    min-height: 41px;
    padding: 0 18px;
    border: 1px solid #cbd8e7;
    border-radius: 7px;
    color: #166fcf;
    background: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.cart-summary {
    position: sticky;
    top: 78px;
    padding: 22px;
    border: 1px solid #d7e0ea;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 35, 56, .06);
}

.cart-summary h2 {
    margin: 0 0 19px;
    font-size: 20px;
}

.cart-summary-row {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e5eaf0;
    color: #637288;
    font-size: 12px;
}

.cart-summary-row strong {
    color: #27374a;
}

.cart-summary-total {
    padding: 19px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.cart-summary-total span {
    font-size: 14px;
    font-weight: 800;
}

.cart-summary-total strong {
    font-size: 25px;
}

.cart-summary > button {
    width: 100%;
    min-height: 49px;
    border: 0;
    border-radius: 8px;
    color: #b9c6d5;
    background: #7d91a8;
    cursor: not-allowed;
    font-size: 13px;
    font-weight: 800;
}

.cart-summary > p {
    margin: 10px 0 17px;
    color: #8592a4;
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

.cart-security {
    padding-top: 16px;
    display: flex;
    gap: 11px;
    border-top: 1px solid #e4e9ef;
}

.cart-security > span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 2px solid #2180e9;
    border-radius: 9px;
    color: #1674dc;
    font-weight: 900;
}

.cart-security strong,
.cart-security small {
    display: block;
}

.cart-security strong {
    margin-bottom: 4px;
    font-size: 11px;
}

.cart-security small {
    color: #78869a;
    font-size: 9px;
    line-height: 1.4;
}

.cart-empty {
    max-width: 620px;
    margin: 55px auto;
    padding: 48px 30px;
    border: 1px solid #dae2eb;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.cart-empty-icon {
    width: 67px;
    height: 67px;
    margin: 0 auto 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf3ff;
    font-size: 28px;
}

.cart-empty h2 {
    margin: 0 0 9px;
    font-size: 23px;
}

.cart-empty p {
    max-width: 390px;
    margin: 0 auto;
    color: #6b798d;
    font-size: 13px;
    line-height: 1.6;
}

.cart-empty a {
    min-height: 44px;
    margin-top: 21px;
    padding: 0 23px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    background: #1478e6;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1050px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 130px minmax(180px, 1fr) 90px 115px;
        gap: 14px;
    }
}

@media (max-width: 760px) {
    .category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .category-tabs a {
        flex-shrink: 0;
    }

    .cart-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-item {
        padding: 13px 45px 15px 13px;
        grid-template-columns: 105px 1fr;
    }

    .cart-item-cover {
        min-height: 100px;
    }

    .cart-item-quantity,
    .cart-item-price {
        grid-column: auto;
    }

    .cart-item-info p {
        display: none;
    }
}

@media (max-width: 480px) {
    .cart-item {
        grid-template-columns: 88px 1fr;
        gap: 12px;
    }

    .cart-item-cover {
        min-height: 88px;
    }

    .cart-item-cover strong {
        font-size: 15px;
    }

    .cart-item-cover span {
        font-size: 11px;
    }

    .cart-item-quantity {
        grid-column: 1;
    }

    .cart-item-price {
        grid-column: 2;
    }

    .cart-update-row {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-update-row a,
    .cart-update-row button {
        width: 100%;
        text-align: center;
    }
}

/* CS2_MARKET_PRODUCT_UPLOAD_IMAGES_START */

.product-image.has-product-image {
    position: relative;
    overflow: hidden;
    background: #07121d;
}

.product-uploaded-image {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.product-image.has-product-image::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(5, 14, 24, .04),
            rgba(5, 14, 24, .18)
        );
}

.product-image.has-product-image .product-visual {
    display: none;
}

.product-image.has-product-image .product-badge {
    z-index: 5;
}

.product-image.has-product-image .product-close {
    display: none;
}

.product-main-image.has-product-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
    display: block;
    background: #07121d;
}

.product-detail-uploaded-image {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.product-main-image.has-product-image::before {
    z-index: 2;
    opacity: .08;
}

.product-main-image.has-product-image::after {
    display: none;
}

.product-main-image.has-product-image .product-cover-content {
    display: none;
}

.product-main-image.has-product-image .product-badge {
    z-index: 5;
}

/* CS2_MARKET_PRODUCT_UPLOAD_IMAGES_END */

/* CS2_MARKET_CATALOG_IMAGE_RATIO_FIX_START */

/*
 * Изображение товара на главной странице всегда занимает
 * отдельный горизонтальный блок 16:10 и не растягивается
 * вместе с высотой всей карточки.
 */
.products-grid .product-card .product-image {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    display: block !important;
    overflow: hidden !important;
}

/*
 * Загруженное изображение полностью заполняет область.
 * Оно не растягивается и аккуратно обрезается по центру.
 */
.products-grid .product-card .product-uploaded-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/*
 * Текстовая обложка старых товаров также остаётся
 * внутри той же области 16:10.
 */
.products-grid .product-card .product-visual {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*
 * Содержимое карточки не влияет на высоту изображения.
 */
.products-grid .product-card .product-card-link {
    min-height: 0 !important;
}

.products-grid .product-card {
    overflow: hidden;
}

/*
 * Мобильная версия сохраняет те же пропорции.
 */
@media (max-width: 680px) {
    .products-grid .product-card .product-image {
        aspect-ratio: 16 / 10 !important;
    }
}

/* CS2_MARKET_CATALOG_IMAGE_RATIO_FIX_END */

/* CS2_OFFICIAL_SERVER_BLOCK_START */

.official-server-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 41%) minmax(0, 1fr);
    min-height: 310px;
    margin: 24px 0 30px;
    overflow: hidden;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgba(15, 39, 70, .09);
}

.official-server-visual {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(
            115deg,
            rgba(3, 11, 21, .3),
            rgba(3, 11, 21, .76)
        ),
        radial-gradient(
            circle at 22% 28%,
            rgba(54, 132, 255, .72),
            transparent 32%
        ),
        radial-gradient(
            circle at 77% 70%,
            rgba(14, 59, 116, .82),
            transparent 36%
        ),
        linear-gradient(135deg, #122e52, #06101d 72%);
}

.official-server-visual::before,
.official-server-visual::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.official-server-visual::before {
    z-index: -1;
    inset: 14% -8% -15% 18%;
    opacity: .56;
    transform: rotate(-9deg);
    clip-path: polygon(
        4% 23%,
        28% 5%,
        44% 15%,
        63% 3%,
        94% 23%,
        83% 44%,
        98% 69%,
        68% 92%,
        48% 74%,
        22% 95%,
        4% 69%,
        18% 47%
    );
    border: 2px solid rgba(103, 169, 255, .45);
    background:
        linear-gradient(
            90deg,
            transparent 48%,
            rgba(107, 169, 255, .28) 49%,
            rgba(107, 169, 255, .28) 51%,
            transparent 52%
        ),
        linear-gradient(
            transparent 48%,
            rgba(107, 169, 255, .22) 49%,
            rgba(107, 169, 255, .22) 51%,
            transparent 52%
        ),
        rgba(20, 62, 111, .45);
    background-size: 54px 54px;
}

.official-server-visual::after {
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent 0,
            rgba(255, 255, 255, .035) 50%,
            transparent 100%
        );
}

.official-server-grid {
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image:
        linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom right, #000, transparent 75%);
}

.official-server-map-label {
    position: absolute;
    z-index: 3;
    left: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #ffffff;
}

.official-server-map-label small {
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.official-server-map-label strong {
    font-size: 24px;
    line-height: 1.1;
}

.official-server-visual-title {
    position: absolute;
    z-index: 3;
    top: 25px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.official-server-visual-title span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(116, 178, 255, .65);
    border-radius: 13px;
    background: rgba(2, 13, 27, .58);
    color: #73adff;
    font-size: 14px;
    font-weight: 900;
    backdrop-filter: blur(7px);
}

.official-server-visual-title strong {
    color: #ffffff;
    font-size: 16px;
    letter-spacing: .08em;
}

.official-server-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 30px 34px;
}

.official-server-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.official-server-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #377ce4;
    font-size: 13px;
    font-weight: 800;
}

.official-server-heading h2 {
    max-width: 620px;
    margin: 0;
    color: #0c1728;
    font-size: clamp(23px, 2vw, 31px);
    line-height: 1.15;
}

.official-server-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.official-server-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.official-server-status.is-online {
    background: #eaf9f0;
    color: #168347;
}

.official-server-status.is-online i {
    background: #29b768;
    box-shadow: 0 0 0 5px rgba(41, 183, 104, .12);
}

.official-server-status.is-offline {
    background: #fff0f0;
    color: #c53d3d;
}

.official-server-status.is-offline i {
    background: #e45555;
}

.official-server-stats {
    display: grid;
    grid-template-columns: .75fr 1fr 1.5fr;
    margin: 25px 0;
    overflow: hidden;
    border: 1px solid #e4ebf4;
    border-radius: 13px;
    background: #f8fafc;
}

.official-server-stats article {
    min-width: 0;
    padding: 15px 18px;
    border-right: 1px solid #e4ebf4;
}

.official-server-stats article:last-child {
    border-right: 0;
}

.official-server-stats span {
    display: block;
    margin-bottom: 5px;
    color: #718096;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.official-server-stats strong {
    display: block;
    overflow: hidden;
    color: #101c2d;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.official-server-stats strong small {
    color: #8390a3;
    font-size: 13px;
    font-weight: 700;
}

.official-server-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.official-server-actions a,
.official-server-actions button {
    min-height: 44px;
    border-radius: 11px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.official-server-actions a:hover,
.official-server-actions button:hover {
    transform: translateY(-1px);
}

.official-server-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    background: linear-gradient(135deg, #246bea, #438cff);
    color: #ffffff;
    box-shadow: 0 9px 21px rgba(52, 124, 242, .24);
    text-decoration: none;
}

.official-server-play span {
    font-size: 11px;
}

.official-server-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid #dbe4ef;
    background: #ffffff;
    color: #26364d;
}

.official-server-details {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 5px;
    color: #3676d7;
    text-decoration: none;
}

@media (max-width: 920px) {
    .official-server-card {
        grid-template-columns: 36% minmax(0, 1fr);
    }

    .official-server-stats {
        grid-template-columns: 1fr 1fr;
    }

    .official-server-stats article:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid #e4ebf4;
    }

    .official-server-stats article:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 720px) {
    .official-server-card {
        grid-template-columns: 1fr;
        margin: 18px 0 25px;
    }

    .official-server-visual {
        min-height: 210px;
    }

    .official-server-content {
        padding: 22px 18px;
    }

    .official-server-heading {
        flex-direction: column;
        gap: 12px;
    }

    .official-server-stats {
        grid-template-columns: 1fr 1fr;
        margin: 20px 0;
    }

    .official-server-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .official-server-details {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 460px) {
    .official-server-stats {
        grid-template-columns: 1fr;
    }

    .official-server-stats article {
        border-right: 0;
        border-bottom: 1px solid #e4ebf4;
    }

    .official-server-stats article:last-child {
        grid-column: auto;
        border-top: 0;
        border-bottom: 0;
    }

    .official-server-actions {
        grid-template-columns: 1fr;
    }

    .official-server-details {
        grid-column: auto;
    }
}

/* CS2_OFFICIAL_SERVER_BLOCK_END */

/* CS2_OFFICIAL_MAP_IMAGE_START */

.official-server-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background-image:
        linear-gradient(
            180deg,
            rgba(5, 8, 15, 0.08) 0%,
            rgba(5, 8, 15, 0.20) 45%,
            rgba(5, 8, 15, 0.76) 100%
        ),
        linear-gradient(
            90deg,
            rgba(4, 7, 13, 0.42) 0%,
            rgba(4, 7, 13, 0.08) 60%,
            rgba(4, 7, 13, 0.18) 100%
        ),
        var(--official-map-image) !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.official-server-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(249, 115, 22, 0.18),
            transparent 38%
        );
}

.official-server-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 -80px 90px rgba(2, 6, 13, 0.30);
}

.official-server-visual > * {
    position: relative;
    z-index: 2;
}

.official-server-grid {
    opacity: 0.16;
}

.official-server-map-label {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 700px) {
    .official-server-visual {
        background-position: 58% center !important;
    }
}

/* CS2_OFFICIAL_MAP_IMAGE_END */

/* CS2_MARKET_FOOTER_LEGAL_START */
.market-footer-legal {
    margin-top: 0;
    min-width: 250px;
}

.market-footer-legal-title {
    display: none;
}

.market-footer-legal-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

.market-footer-legal-links a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px 7px 28px;
    border: 1px solid rgba(113, 196, 255, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(221, 235, 248, 0.72);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.market-footer-legal-links a::before {
    content: "";
    position: absolute;
    left: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(74, 189, 255, 0.58);
    box-shadow: 0 0 10px rgba(74, 189, 255, 0.2);
}

.market-footer-legal-links a:hover {
    transform: translateX(3px);
    border-color: rgba(74, 189, 255, 0.28);
    background: rgba(74, 189, 255, 0.07);
    color: #ffffff;
}

.market-footer-legal-links a:hover::before {
    background: #55c8ff;
    box-shadow: 0 0 12px rgba(85, 200, 255, 0.5);
}

@media (min-width: 1100px) {
    .market-footer-legal-links {
        grid-template-columns: repeat(2, minmax(155px, 1fr));
        gap: 8px 12px;
    }

    .market-footer-legal {
        min-width: 350px;
    }
}

@media (max-width: 680px) {
    .market-footer-legal {
        min-width: 0;
        width: 100%;
    }

    .market-footer-legal-links {
        grid-template-columns: 1fr;
    }

    .market-footer-legal-links a {
        min-height: 38px;
        font-size: 14px;
    }
}
/* CS2_MARKET_FOOTER_LEGAL_END */

/* CS2_MARKET_PLUGIN_CONSTRUCTOR_CSS_START */

.plugin-constructor {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.plugin-constructor-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.plugin-constructor-heading strong,
.plugin-constructor-heading span {
    display: block;
}

.plugin-constructor-heading strong {
    color: #101828;
    font-size: 18px;
}

.plugin-constructor-heading div > span {
    margin-top: 4px;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}

.plugin-constructor-count {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #cfe0f5;
    border-radius: 999px;
    background: #f4f8fd;
    color: #1769aa;
    font-size: 12px;
    font-weight: 800;
}

.plugin-constructor-error {
    padding: 11px 13px;
    border: 1px solid #f5b5b5;
    border-radius: 10px;
    background: #fff1f1;
    color: #a52222;
    font-size: 13px;
    font-weight: 700;
}

.plugin-constructor-groups {
    display: grid;
    gap: 18px;
    max-height: 620px;
    padding-right: 5px;
    overflow-y: auto;
}

.plugin-constructor-group {
    display: grid;
    gap: 10px;
}

.plugin-constructor-group h3 {
    margin: 0;
    color: #344054;
    font-size: 14px;
}

.plugin-constructor-options {
    display: grid;
    gap: 9px;
}

.plugin-constructor-option {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
    border: 1px solid #dce6f2;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.plugin-constructor-option:hover {
    transform: translateY(-1px);
    border-color: #9bc7f5;
    box-shadow: 0 8px 22px rgba(22, 119, 237, .08);
}

.plugin-constructor-option.is-selected {
    border-color: #1677ed;
    background: #f2f8ff;
    box-shadow:
        0 0 0 2px rgba(22, 119, 237, .08);
}

.plugin-constructor-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.plugin-constructor-check {
    position: relative;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 2px solid #b8c7d9;
    border-radius: 6px;
    background: #fff;
}

.plugin-constructor-option.is-selected
.plugin-constructor-check {
    border-color: #1677ed;
    background: #1677ed;
}

.plugin-constructor-option.is-selected
.plugin-constructor-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.plugin-constructor-option-body {
    min-width: 0;
}

.plugin-constructor-option-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.plugin-constructor-option-title strong {
    color: #101828;
    font-size: 14px;
}

.plugin-constructor-option-title b {
    flex: 0 0 auto;
    color: #1677ed;
    font-size: 14px;
}

.plugin-constructor-option small {
    display: block;
    margin-top: 5px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.plugin-constructor-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
    border: 1px solid #d5e3f2;
    border-radius: 12px;
    background: #f8fbff;
}

.plugin-constructor-total span {
    color: #475467;
    font-size: 13px;
    font-weight: 700;
}

.plugin-constructor-total strong {
    color: #101828;
    font-size: 21px;
}

.plugin-constructor
.product-buy-button:disabled {
    cursor: not-allowed;
    opacity: .52;
    filter: grayscale(.2);
}

.cart-plugin-selection,
.checkout-plugin-selection {
    margin-top: 12px;
    padding: 12px 13px;
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    background: #f7faff;
}

.cart-plugin-selection > strong,
.checkout-plugin-selection > strong {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 13px;
}

.cart-plugin-selection ul,
.checkout-plugin-selection ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-plugin-selection li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #475467;
    font-size: 12px;
}

.cart-plugin-selection li b {
    flex: 0 0 auto;
    color: #1677ed;
}

.checkout-plugin-selection li {
    position: relative;
    padding-left: 14px;
    color: #475467;
    font-size: 12px;
}

.checkout-plugin-selection li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16803c;
    font-weight: 900;
}

@media (max-width: 720px) {
    .plugin-constructor-heading,
    .plugin-constructor-total {
        align-items: stretch;
        flex-direction: column;
    }

    .plugin-constructor-count {
        align-self: flex-start;
    }

    .plugin-constructor-groups {
        max-height: none;
        overflow: visible;
    }

    .plugin-constructor-option-title {
        flex-direction: column;
        gap: 3px;
    }
}

/* CS2_MARKET_PLUGIN_CONSTRUCTOR_CSS_END */


/* CS2_MARKET_PLUGIN_CONSTRUCTOR_V2_START */

html {
    scroll-behavior: smooth;
}

.plugin-constructor-jump {
    display: grid;
    gap: 12px;
}

.plugin-constructor-jump p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.plugin-constructor-jump .product-buy-button {
    text-decoration: none;
}

.plugin-constructor-section {
    margin-top: 28px;
    padding: 30px;
    border: 1px solid #dbe6f2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 36, 68, .07);
    scroll-margin-top: 90px;
}

.plugin-constructor-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.plugin-constructor-section-head > div {
    max-width: 820px;
}

.plugin-constructor-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: #3679e8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.plugin-constructor-section-head h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.plugin-constructor-section-head p {
    margin: 12px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
}

.plugin-constructor-section
.plugin-constructor {
    display: block;
    margin: 0;
}

.plugin-constructor-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 340px);
    align-items: start;
    gap: 24px;
}

.plugin-constructor-section
.plugin-constructor-groups {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
    max-height: none;
    padding: 0;
    overflow: visible;
}

.plugin-constructor-section
.plugin-constructor-group {
    align-self: start;
    padding: 18px;
    border: 1px solid #e0e8f2;
    border-radius: 16px;
    background: #f8fbff;
}

.plugin-constructor-section
.plugin-constructor-group h3 {
    margin: 0 0 13px;
    color: #1d2939;
    font-size: 16px;
    line-height: 1.35;
}

.plugin-constructor-section
.plugin-constructor-options {
    gap: 10px;
}

.plugin-constructor-section
.plugin-constructor-option {
    padding: 14px;
    border-radius: 12px;
    background: #ffffff;
}

.plugin-constructor-summary {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid #bfd5f0;
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #f8fbff 0%,
            #edf5ff 100%
        );
    box-shadow: 0 16px 36px rgba(32, 98, 176, .10);
}

.plugin-constructor-summary-label {
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}

.plugin-constructor-summary > strong {
    color: #101828;
    font-size: 34px;
    line-height: 1;
}

.plugin-constructor-summary p {
    margin: 0;
    color: #475467;
    font-size: 13px;
    line-height: 1.55;
}

.plugin-constructor-summary small {
    color: #667085;
    font-size: 11px;
    line-height: 1.5;
}

.plugin-constructor-summary
.product-buy-button {
    width: 100%;
    min-height: 54px;
}

.plugin-constructor-summary
.product-buy-button:disabled {
    cursor: not-allowed;
    opacity: .52;
}

@media (max-width: 1050px) {
    .plugin-constructor-layout {
        grid-template-columns: 1fr;
    }

    .plugin-constructor-summary {
        position: static;
    }
}

@media (max-width: 760px) {
    .plugin-constructor-section {
        margin-top: 18px;
        padding: 20px 15px;
        border-radius: 15px;
    }

    .plugin-constructor-section-head {
        flex-direction: column;
        gap: 13px;
    }

    .plugin-constructor-section
    .plugin-constructor-groups {
        grid-template-columns: 1fr;
    }

    .plugin-constructor-section
    .plugin-constructor-group {
        padding: 13px;
    }

    .plugin-constructor-summary {
        padding: 19px;
    }

    .plugin-constructor-summary > strong {
        font-size: 29px;
    }
}

/* CS2_MARKET_PLUGIN_CONSTRUCTOR_V2_END */

/* CS2_MARKET_PRODUCT_CARD_FOOTER_ALIGN_START */

/*
 * Все карточки товаров в одном ряду получают одинаковую высоту.
 */
.products-grid {
    align-items: stretch;
}

.products-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/*
 * Ссылка занимает всю высоту карточки.
 */
.products-grid .product-card-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/*
 * Текстовая часть растягивается на всё свободное место.
 */
.products-grid .product-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    height: auto;
}

/*
 * Описание может иметь разную длину,
 * но цена всегда остаётся внизу карточки.
 */
.products-grid .product-body > p {
    margin-bottom: 18px;
}

/*
 * Цена и кнопка корзины прижимаются к нижнему краю.
 */
.products-grid .product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
}

/*
 * Цена не переносится и не сжимает кнопку.
 */
.products-grid .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
}

.products-grid .product-price strong,
.products-grid .product-price del {
    white-space: nowrap;
}

/*
 * Кнопки корзины во всех карточках одинакового размера.
 */
.products-grid .product-footer form,
.products-grid .product-footer > a,
.products-grid .product-footer > button {
    flex: 0 0 auto;
    margin: 0;
}

.products-grid .product-footer button,
.products-grid .product-footer .product-cart-button {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    margin: 0;
}

/*
 * Заголовки занимают предсказуемое место,
 * чтобы метка категории также шла ровнее.
 */
.products-grid .product-body h3 {
    min-height: 2.45em;
    margin-bottom: 7px;
    line-height: 1.22;
}

/*
 * На телефонах не создаём лишнюю высоту заголовка.
 */
@media (max-width: 680px) {
    .products-grid .product-body h3 {
        min-height: 0;
    }

    .products-grid .product-footer {
        padding-top: 12px;
    }
}

/* CS2_MARKET_PRODUCT_CARD_FOOTER_ALIGN_END */

/* CS2_MARKET_PLUGIN_PRICE_SPACING_STYLE_START */

/*
 * Дополнительный воздух между строкой стоимости
 * и карточкой помощи в установке.
 * Работает только у четырёх плагинов CS2Monitor.
 */

.cs2monitor-plugin-buy-box .product-buy-price {
    min-height: 38px;
    margin-bottom: 16px;
    padding: 0 1px;
}

.cs2monitor-plugin-buy-box .product-buy-price > span {
    display: block;
    padding-bottom: 3px;
    color: #62758d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.cs2monitor-plugin-buy-box .product-buy-price > div {
    min-height: 34px;
}

@media (max-width: 680px) {
    .cs2monitor-plugin-buy-box .product-buy-price {
        margin-bottom: 13px;
    }
}

/* CS2_MARKET_PLUGIN_PRICE_SPACING_STYLE_END */

/* CS2_MARKET_PLUGIN_WIDE_IMAGE_STYLE_START */

/*
 * Широкие обложки четырёх продуктов CS2Monitor.
 * Убираем старые текстовые элементы, которые сайт
 * накладывал поверх уже готового изображения.
 */

.product-image:has(
    img[src*="-premium-wide.webp"]
) {
    overflow: hidden;
    background: #071526;
}

.product-image:has(
    img[src*="-premium-wide.webp"]
) .product-uploaded-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
    background: #071526;
}

.product-image:has(
    img[src*="-premium-wide.webp"]
) .product-visual,
.product-image:has(
    img[src*="-premium-wide.webp"]
) .product-close {
    display: none !important;
}

/*
 * Значок скидки оставляем поверх изображения.
 */
.product-image:has(
    img[src*="-premium-wide.webp"]
) .product-badge {
    z-index: 5;
}

/*
 * Страница отдельного товара.
 */
.product-main-image:has(
    img[src*="-premium-wide.webp"]
) {
    overflow: hidden;
    background: #071526;
}

.product-main-image:has(
    img[src*="-premium-wide.webp"]
) .product-detail-uploaded-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover !important;
    object-position: center !important;
    background: #071526;
}

/*
 * Убираем текстовую заглушку старого дизайна,
 * поскольку текст уже находится на изображении.
 */
.product-main-image:has(
    img[src*="-premium-wide.webp"]
) .product-cover-content {
    display: none !important;
}

.product-main-image:has(
    img[src*="-premium-wide.webp"]
) .product-badge {
    z-index: 5;
}

@media (max-width: 720px) {
    .product-image:has(
        img[src*="-premium-wide.webp"]
    ) .product-uploaded-image,
    .product-main-image:has(
        img[src*="-premium-wide.webp"]
    ) .product-detail-uploaded-image {
        object-position: center;
    }
}

/* CS2_MARKET_PLUGIN_WIDE_IMAGE_STYLE_END */

/* CS2_MARKET_DUAL_PLUGIN_IMAGES_START */

.product-image:has(img[src*="-catalog.webp"]) {
    overflow: hidden;
    background: #071526;
}

.product-image:has(img[src*="-catalog.webp"]) .product-uploaded-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
    background: #071526;
}

.product-image:has(img[src*="-catalog.webp"]) .product-visual,
.product-image:has(img[src*="-catalog.webp"]) .product-close {
    display: none !important;
}

.product-image:has(img[src*="-catalog.webp"]) .product-badge {
    z-index: 5;
}

.product-main-image:has(img[src*="-detail.webp"]) {
    overflow: hidden;
    background: #071526;
}

.product-main-image:has(img[src*="-detail.webp"]) .product-detail-uploaded-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover !important;
    object-position: center !important;
    background: #071526;
}

.product-main-image:has(img[src*="-detail.webp"]) .product-cover-content {
    display: none !important;
}

.product-main-image:has(img[src*="-detail.webp"]) .product-badge {
    z-index: 5;
}

/* CS2_MARKET_DUAL_PLUGIN_IMAGES_END */

/* CS2_MARKET_FULLWIDTH_PLUGIN_IMAGES_START */

.product-image:has(img[src*="-catalog.webp"]) {
    overflow: hidden;
    background: #071526;
}

.product-image:has(img[src*="-catalog.webp"]) .product-uploaded-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
    background: #071526;
}

.product-image:has(img[src*="-catalog.webp"]) .product-visual,
.product-image:has(img[src*="-catalog.webp"]) .product-close {
    display: none !important;
}

.product-image:has(img[src*="-catalog.webp"]) .product-badge {
    z-index: 5;
}

.product-main-image:has(img[src*="-detail.webp"]) {
    overflow: hidden;
    background: #071526;
}

.product-main-image:has(img[src*="-detail.webp"]) .product-detail-uploaded-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover !important;
    object-position: center !important;
    background: #071526;
}

.product-main-image:has(img[src*="-detail.webp"]) .product-cover-content {
    display: none !important;
}

.product-main-image:has(img[src*="-detail.webp"]) .product-badge {
    z-index: 5;
}

/* CS2_MARKET_FULLWIDTH_PLUGIN_IMAGES_END */

/* CS2_MARKET_DETAIL_FIT_IMAGES_START */

/*
 * Полное изображение внутри рамки без обрезки.
 * Правило действует только для новых detail-fit файлов.
 */
.product-main-image:has(
    img[src*="-detail-fit.webp"]
) {
    overflow: hidden;
    background: #07101d;
}

.product-main-image:has(
    img[src*="-detail-fit.webp"]
) .product-detail-uploaded-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain !important;
    object-position: center !important;
    background: #07101d;
}

.product-main-image:has(
    img[src*="-detail-fit.webp"]
) .product-cover-content {
    display: none !important;
}

.product-main-image:has(
    img[src*="-detail-fit.webp"]
) .product-badge {
    z-index: 5;
}

/* CS2_MARKET_DETAIL_FIT_IMAGES_END */

/* CS2_PRODUCT_IMAGE_BLACK_FRAME_FIX_START */
/*
 * Убираем чёрную рамку, которая находится внутри
 * каталожных баннеров на странице отдельного товара.
 */
.product-main-image:has(
    .product-detail-uploaded-image[src*="-catalog.webp"]
) {
    overflow: hidden !important;
    border: none !important;
    background: #07121d !important;
}

.product-main-image:has(
    .product-detail-uploaded-image[src*="-catalog.webp"]
) .product-detail-uploaded-image {
    inset: -1.2% !important;
    width: 102.4% !important;
    height: 102.4% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* CS2_PRODUCT_IMAGE_BLACK_FRAME_FIX_END */


/* CS2_MARKET_CART_VISUAL_FIX_START */

/*
 * Формы удаления связаны с кнопками через атрибут form.
 * Они должны оставаться в DOM, но не занимать ячейки grid.
 */
.cart-layout > form[id^="remove-"] {
    display: none !important;
}

/*
 * Правая колонка всегда начинается на уровне первого товара.
 */
.cart-layout > .cart-summary {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-top: 0;
}

/*
 * Реальное изображение товара.
 */
.cart-item-cover {
    position: relative;
    width: 145px;
    min-width: 145px;
    height: 115px;
    min-height: 115px;
    overflow: hidden;
}

.cart-item-cover.has-image {
    background: #071526;
}

.cart-item-cover.has-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/*
 * Небольшие характеристики цифрового товара.
 */
.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.cart-item-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid #dce8f7;
    border-radius: 999px;
    color: #3476c9;
    background: #f5f9ff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/*
 * Немного больше воздуха для описания.
 */
.cart-item-info p {
    max-width: 610px;
    margin-bottom: 0;
    line-height: 1.55;
}

@media (max-width: 1050px) {
    .cart-layout > .cart-summary {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 760px) {
    .cart-item-cover {
        width: 105px;
        min-width: 105px;
        height: 100px;
        min-height: 100px;
    }

    .cart-item-meta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .cart-item-cover {
        width: 88px;
        min-width: 88px;
        height: 88px;
        min-height: 88px;
    }
}

/* CS2_MARKET_CART_VISUAL_FIX_END */

/* CS2_MARKET_CART_RECOMMENDATIONS_STYLE_START */

.cart-recommendations {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid #d8e2ee;
    border-radius: 16px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(38, 125, 234, .08),
            transparent 31%
        ),
        #ffffff;
    box-shadow: 0 16px 38px rgba(18, 39, 65, .055);
}

.cart-recommendations-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}

.cart-recommendations-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #2678de;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cart-recommendations-heading h2 {
    margin: 0;
    color: #101828;
    font-size: 23px;
    line-height: 1.2;
}

.cart-recommendations-heading p {
    margin: 7px 0 0;
    color: #69788c;
    font-size: 12px;
    line-height: 1.5;
}

.cart-recommendations-flame {
    display: grid;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid #dce8f8;
    border-radius: 13px;
    background: #f4f8ff;
    font-size: 20px;
}

.cart-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cart-recommendation-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dce4ed;
    border-radius: 13px;
    background: #ffffff;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.cart-recommendation-card:hover {
    transform: translateY(-2px);
    border-color: #bdd5f2;
    box-shadow: 0 12px 25px rgba(19, 55, 96, .09);
}

.cart-recommendation-image {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(
            circle at 65% 22%,
            rgba(50, 139, 235, .5),
            transparent 34%
        ),
        linear-gradient(145deg, #18344e, #06111c);
}

.cart-recommendation-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.cart-recommendation-image strong,
.cart-recommendation-image span {
    display: block;
}

.cart-recommendation-image strong {
    font-size: 19px;
}

.cart-recommendation-image span {
    margin-top: 4px;
    color: #3aa0ff;
    font-size: 10px;
    font-weight: 800;
}

.cart-recommendation-body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    padding: 14px;
}

.cart-recommendation-category {
    margin-bottom: 6px;
    color: #347ad1;
    font-size: 9px;
    font-weight: 800;
}

.cart-recommendation-title {
    color: #111827;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
}

.cart-recommendation-title:hover {
    color: #176fd2;
}

.cart-recommendation-body p {
    display: -webkit-box;
    margin: 8px 0 11px;
    overflow: hidden;
    color: #637288;
    font-size: 10px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.cart-recommendation-version {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 8px;
    border: 1px solid #dce8f7;
    border-radius: 999px;
    color: #3476c9;
    background: #f5f9ff;
    font-size: 9px;
    font-weight: 750;
}

.cart-recommendation-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e7ecf2;
}

.cart-recommendation-footer > strong {
    color: #111827;
    font-size: 17px;
    white-space: nowrap;
}

.cart-recommendation-footer form {
    margin: 0;
}

.cart-recommendation-footer button {
    min-height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #2f80ed, #1f6fd8);
    box-shadow: 0 7px 15px rgba(31, 111, 216, .17);
    cursor: pointer;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}

.cart-recommendation-footer button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.cart-recommendation-footer button span {
    font-size: 15px;
    line-height: 1;
}

.cart-recommendations-trust {
    margin-top: 19px;
    padding-top: 17px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid #e2e8f0;
}

.cart-recommendations-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #65758a;
    font-size: 10px;
    line-height: 1.4;
}

.cart-recommendations-trust b {
    display: grid;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    color: #198951;
    background: #e6f7ed;
    font-size: 11px;
}

@media (max-width: 1180px) {
    .cart-recommendations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .cart-recommendations {
        margin-top: 22px;
        padding: 17px;
    }

    .cart-recommendations-heading h2 {
        font-size: 20px;
    }

    .cart-recommendations-trust {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .cart-recommendations-grid {
        grid-template-columns: 1fr;
    }

    .cart-recommendation-card {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .cart-recommendation-image {
        height: 100%;
        min-height: 155px;
        aspect-ratio: auto;
    }

    .cart-recommendation-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-recommendation-footer form,
    .cart-recommendation-footer button {
        width: 100%;
    }
}

/* CS2_MARKET_CART_RECOMMENDATIONS_STYLE_END */
