body:has(.shop-page) {
    --profile-content: 1720px;
}

.profile-site-main:has(.shop-page) {
    width: min(var(--profile-content), calc(100% - 24px));
    padding: 24px 0 50px;
}

.shop-page {
    --shop-bg: #050914;
    --shop-panel: rgba(7, 12, 25, .96);
    --shop-panel-strong: rgba(8, 14, 29, .99);
    --shop-line: rgba(112, 139, 196, .16);
    --shop-line-soft: rgba(255, 255, 255, .055);
    --shop-purple: #923cff;
    --shop-purple-soft: #b76cff;
    --shop-text: #f1f3fa;
    --shop-muted: #78849f;
    --shop-green: #62d887;
    --shop-blue: #4e91ff;
    --shop-gold: #ffc64d;
    --shop-red: #ff5b6d;

    min-width: 0;
    display: grid;
    gap: 14px;
    color: var(--shop-text);
}

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

.shop-page a {
    text-decoration: none;
}

.shop-alert {
    padding: 12px 15px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(98, 216, 135, .25);
    border-radius: 9px;
    color: #a7edbd;
    background: rgba(45, 168, 84, .08);
    font-size: 11px;
}

.shop-alert.is-error {
    border-color: rgba(255, 91, 109, .28);
    color: #ffabb5;
    background: rgba(255, 65, 89, .07);
}

/* Header and wallet strip */

.shop-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.shop-title > span,
.shop-panel-label,
.shop-recent header span {
    color: #9161df;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.shop-title h1 {
    margin: 5px 0 5px;
    color: #f4f5fb;
    font-size: clamp(29px, 3vw, 39px);
    line-height: 1;
    letter-spacing: -.7px;
}

.shop-title p {
    max-width: 620px;
    margin: 0;
    color: var(--shop-muted);
    font-size: 10px;
    line-height: 1.55;
}

.shop-wallet-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    overflow: hidden;
    border: 1px solid var(--shop-line);
    border-radius: 9px;
    background: rgba(4, 8, 18, .72);
}

.shop-wallet-strip > a {
    min-width: 0;
    min-height: 58px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aeb7cc;
    transition: background .16s ease, color .16s ease;
}

.shop-wallet-strip > a + a {
    border-left: 1px solid var(--shop-line-soft);
}

.shop-wallet-strip > a:hover,
.shop-wallet-strip > a.is-active {
    color: #fff;
    background: rgba(135, 54, 242, .1);
}

.shop-wallet-strip > a > i {
    width: 28px;
    height: 28px;
    display: grid;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid rgba(151, 68, 255, .28);
    border-radius: 8px;
    color: var(--shop-purple-soft);
    background: rgba(142, 54, 255, .08);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.shop-wallet-strip > a.is-game-money > i {
    border-color: rgba(78, 145, 255, .3);
    color: #6ca4ff;
    background: rgba(78, 145, 255, .08);
}

.shop-wallet-strip > a.is-coins > i {
    border-color: rgba(255, 198, 77, .3);
    color: var(--shop-gold);
    background: rgba(255, 198, 77, .08);
}

.shop-wallet-strip > a.is-donat > i {
    border-color: rgba(74, 181, 255, .3);
    color: #5fc2ff;
    background: rgba(74, 181, 255, .08);
}

.shop-wallet-strip > a > span {
    min-width: 0;
}

.shop-wallet-strip small,
.shop-wallet-strip strong {
    display: block;
}

.shop-wallet-strip small {
    color: #77839c;
    font-size: 7px;
}

.shop-wallet-strip strong {
    margin-top: 3px;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
}

.shop-wallet-strip strong b {
    color: #ad6eff;
    font-size: 7px;
}

.shop-guest-access {
    min-width: 360px;
    min-height: 58px;
    padding: 9px 10px 9px 13px;

    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;

    border: 1px solid var(--shop-line);
    border-radius: 9px;

    background: rgba(4, 8, 18, .72);
}

.shop-guest-access > span {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(151, 68, 255, .28);
    border-radius: 8px;

    color: var(--shop-purple-soft);
    background: rgba(142, 54, 255, .08);

    font-size: 10px;
}

.shop-guest-access p,
.shop-guest-access strong,
.shop-guest-access small {
    min-width: 0;
    margin: 0;

    display: block;
}

.shop-guest-access strong {
    color: #e8eaf2;
    font-size: 9px;
}

.shop-guest-access small {
    margin-top: 3px;

    color: #717d96;
    font-size: 7px;
}

.shop-guest-access > a {
    min-height: 34px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(180, 104, 255, .42);
    border-radius: 6px;

    color: #fff;
    background: linear-gradient(135deg, #9135f5, #6924d6);

    font-size: 8px;
    font-weight: 850;
}

.shop-currency-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    background: rgba(5, 9, 20, .72);
}

.shop-currency-tabs a {
    min-height: 42px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-right: 1px solid var(--shop-line-soft);
    color: #929db5;
    font-size: 10px;
    font-weight: 800;
}

.shop-currency-tabs a:last-child {
    border-right: 0;
}

.shop-currency-tabs a span {
    min-width: 19px;
    padding: 2px 5px;
    border-radius: 10px;
    color: #be91ff;
    background: rgba(147, 58, 255, .12);
    font-size: 7px;
    text-align: center;
}

.shop-currency-tabs a:hover {
    color: #fff;
    background: rgba(137, 57, 237, .07);
}

.shop-currency-tabs a.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(133, 48, 239, .9), rgba(101, 35, 210, .9));
    box-shadow: inset 0 0 25px rgba(255, 255, 255, .06);
}

.shop-currency-tabs a.is-active span {
    color: #fff;
    background: rgba(255, 255, 255, .15);
}

/* Three-column browser */

.shop-browser {
    min-width: 0;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 320px;
    gap: 11px;
    align-items: start;
}

.shop-categories,
.shop-catalog,
.shop-detail {
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0, rgba(85, 42, 177, .05), transparent 31%),
        linear-gradient(150deg, rgba(8, 14, 29, .98), rgba(4, 8, 18, .99));
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

/* Categories */

.shop-categories {
    min-height: 655px;
    padding: 17px 8px 12px;
    display: flex;
    flex-direction: column;
}

.shop-panel-label {
    padding: 0 9px 11px;
}

.shop-categories nav {
    display: grid;
    gap: 2px;
}

.shop-categories nav a {
    min-height: 39px;
    padding: 0 9px;
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    border-radius: 5px;
    color: #929db4;
    font-size: 9px;
}

.shop-categories nav a i {
    color: #6d7892;
    font-size: 10px;
    font-style: normal;
    text-align: center;
}

.shop-categories nav a strong {
    color: #6e7890;
    font-size: 8px;
    font-weight: 700;
}

.shop-categories nav a:hover {
    color: #fff;
    background: rgba(134, 56, 230, .08);
}

.shop-categories nav a.is-active {
    position: relative;
    color: #fff;
    background: linear-gradient(90deg, rgba(142, 54, 245, .32), rgba(96, 41, 184, .18));
}

.shop-categories nav a.is-active::before {
    position: absolute;
    inset: 0 auto 0 -8px;
    width: 2px;
    border-radius: 2px;
    background: #a043ff;
    box-shadow: 0 0 12px #8d34ff;
    content: '';
}

.shop-categories nav a.is-active i,
.shop-categories nav a.is-active strong {
    color: #bd81ff;
}

.shop-categories__note {
    margin-top: auto;
    padding: 13px 10px;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    border-top: 1px solid var(--shop-line-soft);
    color: #66728b;
}

.shop-categories__note > span {
    color: var(--shop-green);
    font-size: 9px;
}

.shop-categories__note p {
    margin: 0;
    font-size: 7px;
    line-height: 1.55;
}

/* Catalog */

.shop-catalog {
    min-width: 0;
    min-height: 655px;
    padding: 10px;
}

.shop-toolbar {
    display: grid;
    grid-template-columns: minmax(150px, 1.35fr) minmax(120px, .68fr) minmax(140px, .82fr) auto auto;
    gap: 7px;
    align-items: center;
    margin-bottom: 10px;
}

.shop-search,
.shop-select {
    min-width: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(113, 140, 198, .19);
    border-radius: 6px;
    background: rgba(4, 8, 18, .68);
}

.shop-search > span {
    padding-left: 11px;
    color: #697792;
    font-size: 17px;
}

.shop-search input,
.shop-select select {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 10px;
    border: 0;
    outline: 0;
    color: #c5cbda;
    background: transparent;
    font: inherit;
    font-size: 9px;
}

.shop-search input::placeholder {
    color: #5d6981;
}

.shop-select > span {
    padding-left: 10px;
    color: #626e86;
    font-size: 8px;
    white-space: nowrap;
}

.shop-select select option {
    color: #dce0eb;
    background: #0a1020;
}

.shop-toolbar > button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(151, 69, 255, .32);
    border-radius: 6px;
    color: #e9dbff;
    background: rgba(133, 50, 239, .14);
    font: inherit;
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
}

.shop-toolbar > button:hover {
    color: #fff;
    background: rgba(133, 50, 239, .24);
}

.shop-found {
    color: #59657e;
    font-size: 7px;
    white-space: nowrap;
}

.shop-found strong {
    color: #8e99af;
}

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

.shop-card {
    --shop-rarity: #9d50ff;
    min-width: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(108, 136, 190, .17);
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(160deg, rgba(12, 20, 36, .98), rgba(6, 11, 22, .99));
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.shop-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: var(--shop-rarity);
    box-shadow: 0 0 10px color-mix(in srgb, var(--shop-rarity) 58%, transparent);
    content: '';
}

.shop-card:hover {
    z-index: 2;
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--shop-rarity) 55%, transparent);
    box-shadow: 0 13px 28px rgba(0, 0, 0, .27);
}

.shop-card.is-selected {
    border-color: var(--shop-rarity);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--shop-rarity) 62%, transparent),
        0 0 22px color-mix(in srgb, var(--shop-rarity) 24%, transparent);
}

.shop-card__preview {
    height: 121px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--shop-rarity) 15%, transparent), transparent 55%),
        linear-gradient(145deg, rgba(16, 25, 43, .82), rgba(7, 12, 24, .94));
}

.shop-card__preview::before {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 18px 18px;
    content: '';
    mask-image: linear-gradient(to bottom, transparent, #000, transparent);
}

.shop-card__preview img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .32));
}

.shop-card__preview > span {
    position: relative;
    z-index: 1;
    color: color-mix(in srgb, var(--shop-rarity) 75%, white);
    font-size: 43px;
    font-weight: 950;
    text-shadow: 0 0 25px var(--shop-rarity);
}

.shop-card__badge,
.shop-card__owned,
.shop-card__quantity {
    position: absolute;
    z-index: 3;
    font-style: normal;
}

.shop-card__badge {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 50px);
    padding: 4px 6px;
    overflow: hidden;
    border: 1px solid rgba(170, 92, 255, .34);
    border-radius: 4px;
    color: #e7cfff;
    background: rgba(93, 27, 178, .76);
    font-size: 6px;
    letter-spacing: .5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-card__owned {
    top: 7px;
    right: 7px;
    padding: 3px 5px;
    border: 1px solid rgba(98, 216, 135, .35);
    border-radius: 9px;
    color: #a6efbc;
    background: rgba(24, 91, 47, .72);
    font-size: 6px;
}

.shop-card__quantity {
    right: 7px;
    bottom: 7px;
    padding: 3px 5px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 4px;
    color: #fff;
    background: rgba(2, 5, 11, .76);
    font-size: 7px;
}

.shop-card__copy {
    min-width: 0;
    padding: 8px 8px 10px;
}

.shop-card__copy > strong,
.shop-card__copy > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-card__copy > strong {
    color: #f3f4f9;
    font-size: 9px;
}

.shop-card__copy > span {
    margin-top: 3px;
    color: #748099;
    font-size: 7px;
}

.shop-card__bottom {
    margin-top: 8px;
    padding-top: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-top: 1px solid var(--shop-line-soft);
}

.shop-card__bottom small {
    min-width: 0;
    overflow: hidden;
    color: var(--shop-rarity);
    font-size: 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-card__bottom b {
    color: #fff;
    font-size: 9px;
    white-space: nowrap;
}

.shop-card__bottom b i {
    color: #af6fff;
    font-size: 6px;
    font-style: normal;
}

.shop-card__bottom.is-game-money b i { color: #6aa4ff; }
.shop-card__bottom.is-coins b i { color: var(--shop-gold); }
.shop-card__bottom.is-donat b i { color: #5fc2ff; }

.shop-empty,
.shop-detail__empty {
    min-height: 450px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.shop-empty > span,
.shop-detail__empty > span {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(154, 72, 255, .24);
    border-radius: 14px;
    color: #a252ff;
    background: rgba(142, 53, 245, .08);
    font-size: 20px;
}

.shop-empty strong,
.shop-detail__empty strong {
    margin-top: 15px;
    color: #e6e9f2;
    font-size: 13px;
}

.shop-empty p,
.shop-detail__empty p {
    max-width: 330px;
    margin: 7px 0 0;
    color: #6d7890;
    font-size: 9px;
    line-height: 1.6;
}

.shop-pagination {
    margin-top: 12px;
    font-size: 9px;
}

/* Product detail */

.shop-detail {
    min-width: 0;
    padding: 11px;
}

.shop-detail__preview {
    --shop-rarity: #9d50ff;
    height: 217px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(111, 139, 196, .14);
    border-radius: 7px;
    background:
        radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--shop-rarity) 20%, transparent), transparent 56%),
        linear-gradient(145deg, rgba(10, 17, 32, .96), rgba(3, 7, 15, .98));
}

.shop-detail__preview::before {
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px);
    background-size: 24px 24px;
    content: '';
    mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}

.shop-detail__preview img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .42));
}

.shop-detail__preview > span {
    position: relative;
    z-index: 1;
    color: color-mix(in srgb, var(--shop-rarity) 70%, white);
    font-size: 75px;
    font-weight: 950;
    text-shadow: 0 0 40px var(--shop-rarity);
}

.shop-detail__owned {
    right: 8px;
    bottom: 8px;
    position: absolute;
    z-index: 3;
    padding: 5px 7px;
    border: 1px solid rgba(98, 216, 135, .35);
    border-radius: 5px;
    color: #a9efbd;
    background: rgba(8, 39, 21, .83);
    font-size: 7px;
}

.shop-detail__owned i {
    margin-right: 3px;
    color: var(--shop-green);
    font-style: normal;
}

.shop-detail__identity {
    padding: 13px 2px 10px;
    border-bottom: 1px solid var(--shop-line-soft);
}

.shop-detail__identity h2 {
    margin: 0;
    color: #f5f6fa;
    font-size: 18px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.shop-detail__identity > span {
    --shop-rarity: #9d50ff;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--shop-rarity);
    font-size: 9px;
    font-weight: 800;
}

.shop-detail__identity > span i {
    width: 8px;
    height: 8px;
    display: block;
    transform: rotate(45deg);
    background: var(--shop-rarity);
    box-shadow: 0 0 10px var(--shop-rarity);
}

.shop-detail__description {
    margin: 10px 2px;
    color: #7c879d;
    font-size: 8px;
    line-height: 1.6;
}

.shop-detail__facts {
    margin: 0;
    padding: 4px 2px 8px;
}

.shop-detail__facts > div {
    min-height: 29px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--shop-line-soft);
}

.shop-detail__facts dt,
.shop-detail__facts dd {
    margin: 0;
    font-size: 8px;
}

.shop-detail__facts dt {
    color: #748097;
}

.shop-detail__facts dd {
    color: #dce0e9;
    text-align: right;
}

.shop-detail__price {
    margin-top: 9px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    border: 1px solid rgba(147, 63, 255, .2);
    border-radius: 7px;
    background: rgba(126, 46, 225, .07);
}

.shop-detail__price > span {
    color: #78839a;
    font-size: 8px;
}

.shop-detail__price strong {
    grid-row: span 2;
    color: #fff;
    font-size: 18px;
}

.shop-detail__price strong small {
    color: #b271ff;
    font-size: 8px;
}

.shop-detail__price.is-game-money strong small { color: #6ca6ff; }
.shop-detail__price.is-coins strong small { color: var(--shop-gold); }
.shop-detail__price.is-donat strong small { color: #61c4ff; }

.shop-detail__price p {
    margin: 4px 0 0;
    color: #6d7890;
    font-size: 7px;
}

.shop-buy {
    margin-top: 8px;
}

.shop-buy button,
.shop-buy__link {
    width: 100%;
    min-height: 43px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(180, 104, 255, .48);
    border-radius: 6px;

    color: #fff;
    background: linear-gradient(135deg, #9c3cff, #6d25e7);

    font: inherit;
    font-size: 10px;
    font-weight: 850;

    text-align: center;

    cursor: pointer;
    box-shadow: 0 9px 26px rgba(105, 34, 218, .19), inset 0 0 22px rgba(255, 255, 255, .08);
}

.shop-buy button:hover:not(:disabled),
.shop-buy__link:hover {
    filter: brightness(1.1);
}

.shop-buy button:disabled {
    border-color: rgba(115, 132, 166, .18);
    color: #6c778f;
    background: #111827;
    box-shadow: none;
    cursor: not-allowed;
}

.shop-delivery-note {
    margin-top: 8px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 7px;
    border: 1px solid rgba(98, 216, 135, .16);
    border-radius: 6px;
    color: #748198;
    background: rgba(31, 119, 59, .045);
}

.shop-delivery-note span {
    color: var(--shop-green);
    font-size: 9px;
}

.shop-delivery-note p {
    margin: 0;
    font-size: 7px;
    line-height: 1.5;
}

.shop-detail__empty {
    min-height: 420px;
}

.shop-recent {
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--shop-line);
    border-radius: 7px;
    background: rgba(3, 7, 15, .48);
}

.shop-recent header {
    min-height: 38px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--shop-line-soft);
}

.shop-recent header a {
    color: #9b63eb;
    font-size: 7px;
}

.shop-recent > div {
    min-height: 43px;
    padding: 7px 9px;
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid var(--shop-line-soft);
}

.shop-recent > div:last-child {
    border-bottom: 0;
}

.shop-recent > div > span {
    color: var(--shop-green);
    font-size: 8px;
}

.shop-recent p {
    min-width: 0;
    margin: 0;
}

.shop-recent p strong,
.shop-recent p small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-recent p strong {
    color: #dfe3ed;
    font-size: 8px;
}

.shop-recent p small {
    margin-top: 3px;
    color: #59657d;
    font-size: 6px;
}

.shop-recent > div > b {
    color: #ff7b8b;
    font-size: 7px;
    white-space: nowrap;
}

/* Readable typography v1.1.1 */

.shop-alert {
    font-size: 14px;
}

.shop-title > span,
.shop-panel-label,
.shop-recent header span {
    font-size: 12px;
}

.shop-title p {
    font-size: 15px;
}

.shop-wallet-strip > a > i,
.shop-guest-access > span {
    font-size: 13px;
}

.shop-wallet-strip small {
    font-size: 12px;
}

.shop-wallet-strip strong {
    font-size: 15px;
}

.shop-wallet-strip strong b {
    font-size: 12px;
}

.shop-guest-access strong {
    font-size: 14px;
}

.shop-guest-access small {
    font-size: 12px;
}

.shop-guest-access > a {
    font-size: 14px;
}

.shop-currency-tabs a {
    min-height: 48px;
    font-size: 14px;
}

.shop-currency-tabs a span {
    font-size: 12px;
}

.shop-categories nav a {
    min-height: 44px;
    font-size: 14px;
}

.shop-categories nav a i {
    font-size: 14px;
}

.shop-categories nav a strong {
    font-size: 12px;
}

.shop-categories__note > span {
    font-size: 13px;
}

.shop-categories__note p {
    font-size: 12px;
}

.shop-search input,
.shop-select select {
    font-size: 14px;
}

.shop-select > span,
.shop-found {
    font-size: 12px;
}

.shop-toolbar > button {
    font-size: 13px;
}

.shop-card__badge,
.shop-card__owned {
    font-size: 12px;
}

.shop-card__quantity {
    font-size: 12px;
}

.shop-card__copy {
    padding: 11px 10px 13px;
}

.shop-card__copy > strong {
    font-size: 14px;
}

.shop-card__copy > span {
    font-size: 12px;
}

.shop-card__bottom small {
    font-size: 12px;
}

.shop-card__bottom b {
    font-size: 14px;
}

.shop-card__bottom b i {
    font-size: 12px;
}

.shop-empty strong,
.shop-detail__empty strong {
    font-size: 17px;
}

.shop-empty p,
.shop-detail__empty p,
.shop-pagination {
    font-size: 13px;
}

.shop-detail__owned {
    font-size: 12px;
}

.shop-detail__identity h2 {
    font-size: 22px;
}

.shop-detail__identity > span {
    font-size: 13px;
}

.shop-detail__description,
.shop-detail__facts dt,
.shop-detail__facts dd {
    font-size: 13px;
}

.shop-detail__facts > div {
    min-height: 36px;
}

.shop-detail__price > span,
.shop-detail__price p {
    font-size: 12px;
}

.shop-detail__price strong {
    font-size: 22px;
}

.shop-detail__price strong small {
    font-size: 12px;
}

.shop-buy button,
.shop-buy__link {
    min-height: 48px;
    font-size: 14px;
}

.shop-delivery-note span,
.shop-delivery-note p {
    font-size: 12px;
}

.shop-recent header a {
    font-size: 12px;
}

.shop-recent > div > span,
.shop-recent p strong,
.shop-recent > div > b {
    font-size: 12px;
}

.shop-recent p small {
    font-size: 12px;
}

@media (max-width: 1420px) {
    .shop-browser {
        grid-template-columns: 154px minmax(0, 1fr) 290px;
    }

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

    .shop-toolbar {
        grid-template-columns: minmax(160px, 1fr) minmax(115px, .7fr) auto;
    }

    .shop-toolbar .shop-select:nth-of-type(3) {
        display: none;
    }

    .shop-found {
        display: none;
    }
}

@media (max-width: 1120px) {
    .shop-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-wallet-strip,
    .shop-guest-access {
        width: 100%;
    }

    .shop-browser {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .shop-detail {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(240px, .72fr) minmax(280px, 1fr);
        gap: 14px;
    }

    .shop-detail__preview {
        height: 100%;
        min-height: 310px;
        grid-row: span 6;
    }

    .shop-detail__empty,
    .shop-recent {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .profile-site-main:has(.shop-page) {
        width: min(var(--profile-content), calc(100% - 20px));
        padding: 16px 0 38px;
    }

    .shop-wallet-strip {
        grid-template-columns: 1fr;
    }

    .shop-guest-access {
        width: 100%;
        min-width: 0;
    }

    .shop-wallet-strip > a + a {
        border-top: 1px solid var(--shop-line-soft);
        border-left: 0;
    }

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

    .shop-currency-tabs a:nth-child(2) {
        border-right: 0;
    }

    .shop-currency-tabs a:nth-child(-n + 2) {
        border-bottom: 1px solid var(--shop-line-soft);
    }

    .shop-browser {
        display: block;
    }

    .shop-categories,
    .shop-catalog,
    .shop-detail {
        margin-bottom: 10px;
    }

    .shop-categories {
        min-height: 0;
    }

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

    .shop-categories__note {
        display: none;
    }

    .shop-catalog {
        min-height: 420px;
    }

    .shop-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .shop-search {
        grid-column: 1 / -1;
    }

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

    .shop-detail {
        display: block;
    }

    .shop-detail__preview {
        min-height: 240px;
        height: 280px;
    }
}

@media (max-width: 460px) {
    .shop-title p {
        font-size: 14px;
    }

    .shop-categories nav {
        grid-template-columns: 1fr;
    }

    .shop-guest-access {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .shop-guest-access > a {
        grid-column: 1 / -1;
    }

    .shop-toolbar {
        grid-template-columns: 1fr;
    }

    .shop-search {
        grid-column: auto;
    }

    .shop-grid {
        gap: 6px;
    }

    .shop-card__preview {
        height: 104px;
    }

    .shop-card__bottom {
        display: grid;
    }
}
