/*
 * Maceful store, ROCK red theme for PayNow.
 * Look ported from ROCK Template for Tebex by Lixel (blocks with a bottom edge,
 * pill headers, square navigation, toolbar, copy blocks) onto the PayNow engine.
 * Colors come from the dashboard (Template settings) as --rk-* variables set in partials/head.html.
 * Every class is prefixed rk- so nothing collides with the Tailwind runtime the modals still use.
 */

:root {
    --rk-primary: #ef2b2d;
    --rk-primary-light: #ff5a5c;
    --rk-primary-dark: #a3151b;
    --rk-success: #34c768;
    --rk-success-light: #5ee08a;
    --rk-success-dark: #1f8a45;
    --rk-bg: #0f0a0b;
    --rk-block: #1c1214;
    --rk-footer: #0a0607;
    --rk-btn: #2a181b;
    --rk-btn-hover: #3b2226;
    --rk-text: #c7a9ac;
    --rk-text-h: #ffffff;
    --rk-radius: 14px;
    --rk-radius-s: 8px;
    --rk-bw: 6px;
    --rk-width: 1180px;
    --rk-gap: 24px;
    --rk-pad: 16px;
    --rk-sidebar: 320px;
}

@media (min-width: 961px) {
    :root {
        --rk-pad: 24px;
        --rk-gap: 32px;
    }
}

/* base */

html {
    scrollbar-color: var(--rk-btn-hover) var(--rk-bg);
    scrollbar-width: thin;
}

body.rk {
    margin: 0;
    min-height: 100vh;
    background-color: var(--rk-bg);
    color: var(--rk-text);
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* zero specificity so button and link classes keep their own colors */
:where(body.rk) a {
    color: inherit;
    text-decoration: none;
}

body.rk ::selection {
    color: #fff;
    background: var(--rk-primary);
}

body.rk img {
    max-width: 100%;
}

[x-cloak] {
    display: none !important;
}

.rk-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.rk-wrap {
    width: 100%;
    max-width: calc(var(--rk-width) + var(--rk-pad) * 2);
    margin: 0 auto;
    padding: 0 var(--rk-pad);
}

.rk-site {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--rk-gap);
    min-height: 100vh;
}

.rk-only-desk {
    display: none;
}

@media (min-width: 961px) {
    .rk-only-desk {
        display: block;
    }

    .rk-only-phone {
        display: none !important;
    }
}

/* page background: deep red glow over near black, fixed so it never repeats */

.rk-bg {
    position: absolute;
    inset: 0 0 auto 0;
    height: 760px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 50% 0%, color-mix(in srgb, var(--rk-primary) 38%, transparent), transparent 70%),
        radial-gradient(600px 380px at 8% 18%, color-mix(in srgb, var(--rk-primary-dark) 40%, transparent), transparent 70%),
        radial-gradient(600px 380px at 92% 18%, color-mix(in srgb, var(--rk-primary-dark) 40%, transparent), transparent 70%);
}

.rk-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
}

.rk-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, var(--rk-bg) 100%);
}

.rk-bg.has-img {
    background-image: var(--rk-header-img);
    background-size: cover;
    background-position: center;
}

.rk-bg.has-img::before {
    background: linear-gradient(180deg, color-mix(in srgb, var(--rk-bg) 45%, transparent), color-mix(in srgb, var(--rk-bg) 75%, transparent));
    -webkit-mask-image: none;
    mask-image: none;
}

.rk-site > *:not(.rk-bg) {
    position: relative;
    z-index: 1;
}

/* full page picture (dashboard: Background). Fixed behind everything, blocks float over it.
   --rk-page-img comes from rock-bg.css (embedded art) or the Picture URL setting,
   --rk-page-op from the Picture strength setting. */
.rk-page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: var(--rk-bg);
}

.rk-page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--rk-page-img, none);
    background-position: center 32%;
    background-size: cover;
    opacity: var(--rk-page-op, 0.7);
}

/* keeps text readable: calmer behind the content column, full color on the sides,
   a touch of the theme red on top and a darker bottom */
.rk-page-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--rk-bg) 42%, transparent) 26%, color-mix(in srgb, var(--rk-bg) 42%, transparent) 74%, transparent 100%),
        linear-gradient(180deg, color-mix(in srgb, var(--rk-primary-dark) 14%, transparent) 0%, transparent 25%, transparent 55%, color-mix(in srgb, var(--rk-bg) 50%, transparent) 100%);
}

/* the rank table has many thin gaps, so it gets its own dark panel over the picture */
body.has-page-bg .rk-rt {
    padding: 16px;
    border-radius: var(--rk-radius);
    background: color-mix(in srgb, var(--rk-bg) 84%, transparent);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 20px 50px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

body.has-page-bg .rk-bg {
    background: radial-gradient(900px 420px at 50% 0%, color-mix(in srgb, var(--rk-primary) 22%, transparent), transparent 70%);
}

body.has-page-bg .rk-bg::before,
body.has-page-bg .rk-bg::after {
    display: none;
}

/* text that sits straight on the picture gets a soft shadow */
body.has-page-bg .rk-topnav-link,
body.has-page-bg .rk-rt-intro,
body.has-page-bg .rk-section-title,
body.has-page-bg .rk-basket-head,
body.has-page-bg .rk-content > .rk-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

body.has-page-bg .rk-topnav-row {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.35), transparent);
}

body.has-page-bg .rk-footer {
    position: relative;
}

/* shared pieces: blocks, buttons, pills */

.rk-block {
    background: var(--rk-block);
    border-radius: var(--rk-radius);
    box-shadow: 0 var(--rk-bw) 0 var(--rk-footer);
    padding: 24px;
}

.rk-inset {
    background: var(--rk-footer);
    border: 4px solid var(--rk-block);
    border-radius: var(--rk-radius);
}

.rk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--rk-radius-s);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    color: var(--rk-text-h);
    background: var(--rk-btn);
    transition: background-color 0.2s, color 0.2s, transform 0.1s;
}

.rk-btn:hover {
    background: var(--rk-btn-hover);
}

.rk-btn:active {
    transform: translateY(1px);
}

.rk-btn[disabled],
.rk-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.rk-btn-primary {
    background: var(--rk-primary);
    box-shadow: 0 4px 0 var(--rk-primary-dark);
}

.rk-btn-primary:hover {
    background: var(--rk-primary-light);
}

.rk-btn-primary:active {
    background: var(--rk-primary-dark);
    box-shadow: 0 2px 0 var(--rk-primary-dark);
}

.rk-btn-success {
    background: var(--rk-success);
    box-shadow: 0 4px 0 var(--rk-success-dark);
}

.rk-btn-success:hover {
    background: var(--rk-success-light);
}

.rk-btn-success:active {
    background: var(--rk-success-dark);
    box-shadow: 0 2px 0 var(--rk-success-dark);
}

.rk-btn-wide {
    width: 100%;
}

.rk-btn-sm {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
}

.rk-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: var(--rk-radius-s);
    font-size: 18px;
    cursor: pointer;
    color: var(--rk-text-h);
    background: var(--rk-btn);
    transition: background-color 0.2s, color 0.2s;
}

.rk-icon-btn:hover {
    background: var(--rk-btn-hover);
    color: var(--rk-primary-light);
}

.rk-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    border-radius: var(--rk-radius-s);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--rk-text-h);
    background: var(--rk-primary);
}

/* a pill that sits on the top edge of its block, ROCK widget header style */
.rk-block > .rk-pill.is-edge,
.rk-card > .rk-pill.is-edge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.rk-title {
    margin: 0;
    color: var(--rk-text-h);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rk-kicker {
    margin: 0 0 4px;
    color: var(--rk-primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rk-muted {
    color: var(--rk-text);
}

.rk-prose {
    color: var(--rk-text);
    line-height: 1.65;
    word-break: break-word;
}

.rk-prose p:not(:last-child),
.rk-prose ul:not(:last-child),
.rk-prose ol:not(:last-child) {
    margin-bottom: 12px;
}

.rk-prose ul,
.rk-prose ol {
    padding-left: 1.2em;
}

.rk-prose ul {
    list-style: disc;
}

.rk-prose ol {
    list-style: decimal;
}

.rk-prose li {
    display: list-item;
    margin-bottom: 4px;
}

.rk-prose li p {
    margin: 0;
}

.rk-prose a {
    color: var(--rk-primary-light);
    text-decoration: underline;
}

.rk-prose strong,
.rk-prose b {
    color: var(--rk-text-h);
    font-weight: 700;
}

.rk-prose code {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--rk-btn);
    color: var(--rk-text-h);
    font-size: 0.92em;
}

.rk-prose h1,
.rk-prose h2,
.rk-prose h3,
.rk-prose h4 {
    margin: 0 0 10px;
    color: var(--rk-text-h);
    font-weight: 700;
    line-height: 1.3;
}

.rk-prose h1 { font-size: 26px; }
.rk-prose h2 { font-size: 22px; }
.rk-prose h3 { font-size: 19px; }
.rk-prose img { display: inline-block; height: auto; border-radius: var(--rk-radius-s); }

/* header: nav links, logo, copy blocks */

.rk-header {
    padding-top: 8px;
}

.rk-topnav {
    position: relative;
}

.rk-topnav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding: 20px 0;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--rk-primary) 10%, transparent), transparent);
}

.rk-topnav-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.rk-topnav-link {
    color: var(--rk-text-h);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.78;
    transition: opacity 0.2s, color 0.2s;
}

.rk-topnav-link:hover,
.rk-topnav-link.is-active {
    opacity: 1;
    color: var(--rk-text-h);
}

.rk-topnav-link.is-active {
    text-shadow: 0 0 18px color-mix(in srgb, var(--rk-primary) 80%, transparent);
}

.rk-burger {
    display: none;
}

.rk-logo {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 48px 0 104px;
}

.rk-logo a {
    display: block;
    transition: transform 0.25s ease;
}

.rk-logo a:hover {
    transform: scale(1.03);
}

.rk-logo img {
    display: block;
    width: auto;
    height: var(--rk-logo-h, 120px);
    max-width: min(940px, 100%);
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 10px 30px color-mix(in srgb, var(--rk-primary) 45%, transparent)) drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6));
}

.rk-logo .rk-logo-text {
    color: var(--rk-text-h);
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rk-copy-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: -120px;
    position: relative;
    z-index: 3;
}

.rk-copy {
    position: relative;
    display: block;
    width: 268px;
    padding-top: 16px;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.rk-copy-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    background: var(--rk-footer);
    border: 4px solid var(--rk-block);
    border-radius: var(--rk-radius);
    transition: border-color 0.2s, transform 0.2s;
}

.rk-copy:hover .rk-copy-box {
    border-color: color-mix(in srgb, var(--rk-primary) 55%, var(--rk-block));
    transform: translateY(-2px);
}

.rk-copy-icon {
    flex: none;
    margin-left: auto;
    color: var(--rk-text-h);
    font-size: 32px;
    transition: color 0.2s;
}

.rk-copy.is-right .rk-copy-icon {
    margin-left: 0;
    margin-right: auto;
}

.rk-copy:hover .rk-copy-icon,
.rk-copy:hover .rk-copy-sub {
    color: var(--rk-primary-light);
}

.rk-copy-title {
    display: block;
    color: var(--rk-text-h);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rk-copy-sub {
    display: block;
    color: var(--rk-text);
    font-size: 13px;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rk-copy-text {
    min-width: 0;
}

.rk-copy.is-right .rk-copy-box {
    flex-direction: row-reverse;
    text-align: right;
}

.rk-copy-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--rk-radius-s);
    color: var(--rk-text-h);
    background: var(--rk-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    white-space: nowrap;
}

.rk-copy-tag[hidden] {
    display: none;
}

.rk-copy-tag .rk-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #6dff9c;
    box-shadow: 0 0 0 3px rgba(109, 255, 156, 0.25);
    vertical-align: 1px;
}

@media (max-width: 960px) {
    .rk-topnav-row {
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0;
        background: none;
    }

    .rk-topnav-links {
        display: none;
    }

    .rk-burger {
        display: inline-flex;
    }

    .rk-logo {
        padding: 26px 0 30px;
    }

    .rk-logo img {
        height: var(--rk-logo-h-phone, 64px);
    }

    .rk-copy-row {
        margin-top: 0;
    }

    .rk-copy {
        width: calc(50% - 8px);
    }

    .rk-copy-box {
        padding: 12px;
        justify-content: center;
        text-align: center;
    }

    .rk-copy.is-right .rk-copy-box {
        text-align: center;
    }

    .rk-copy-icon {
        display: none;
    }

    .rk-copy-title {
        font-size: 15px;
    }

    .rk-copy-sub {
        font-size: 12px;
    }

    .rk-copy-tag .rk-long {
        display: none;
    }
}

@media (min-width: 961px) {
    .rk-topnav-links {
        display: contents;
    }
}

/* sale banner */

.rk-sale {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 22px 28px;
    overflow: hidden;
    border-radius: var(--rk-radius);
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 14px, transparent 14px 34px),
        linear-gradient(100deg, var(--rk-primary-dark), var(--rk-primary) 55%, var(--rk-primary-light));
    box-shadow: 0 var(--rk-bw) 0 color-mix(in srgb, var(--rk-primary-dark) 70%, #000);
    color: #fff;
}

.rk-sale[hidden] {
    display: none;
}

/* following the real PayNow sale: hidden until rock.js confirms one is running */
.rk-sale[data-auto="1"]:not(.is-live) {
    display: none;
}

/* the greeting waits for rock.js to pick the sale or after sale line; shows anyway after 1.5 s */
.rk-greeting-text[data-rk-greeting]:not(.is-ready) {
    visibility: hidden;
    animation: rk-greeting-fallback 0s linear 1.5s forwards;
}

@keyframes rk-greeting-fallback {
    to { visibility: visible; }
}

.rk-sale::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -30%;
    width: 30%;
    height: 220%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    animation: rk-shine 5.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rk-shine {
    0%, 55% { left: -40%; }
    100% { left: 130%; }
}

.rk-sale-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #fff;
    color: var(--rk-primary-dark);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: rotate(-8deg);
    text-align: center;
    line-height: 1;
}

.rk-sale-badge b {
    display: block;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.rk-sale-badge span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.rk-sale-copy {
    position: relative;
    min-width: 0;
}

.rk-sale-kicker {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rk-sale-title {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

.rk-sale-text {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.rk-sale-side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.rk-count {
    display: flex;
    gap: 6px;
}

.rk-count[hidden] {
    display: none;
}

.rk-count span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    border-radius: var(--rk-radius-s);
    background: rgba(0, 0, 0, 0.32);
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.rk-count span small {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.8;
    text-transform: uppercase;
}

.rk-sale .rk-btn {
    background: #fff;
    color: var(--rk-primary-dark);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.rk-sale .rk-btn:hover {
    background: #ffecec;
}

@media (max-width: 760px) {
    .rk-sale {
        grid-template-columns: auto 1fr;
        gap: 14px 16px;
        padding: 18px;
    }

    .rk-sale-badge {
        width: 78px;
        height: 78px;
    }

    .rk-sale-badge b {
        font-size: 21px;
    }

    .rk-sale-badge span {
        font-size: 10px;
    }

    .rk-sale-title {
        font-size: 22px;
    }

    .rk-sale-text {
        font-size: 13px;
    }

    .rk-sale-side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .rk-count span {
        min-width: 44px;
        height: 46px;
        font-size: 17px;
    }
}

@media (max-width: 520px) {
    .rk-sale-side {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rk-count {
        flex: 1 1 100%;
    }

    .rk-count span {
        flex: 1 1 0;
    }

    .rk-sale-side .rk-btn {
        flex: 1 1 100%;
    }
}

/* toolbar: store icon, greeting, user, cart */

.rk-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
}

.rk-toolbar-home {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-primary);
    color: var(--rk-text-h);
    font-size: 28px;
    transition: background-color 0.2s;
}

.rk-toolbar-home:hover {
    background: var(--rk-primary-light);
}

.rk-toolbar-home i {
    transition: transform 0.15s;
}

.rk-toolbar-home:hover i {
    transform: scale(1.1);
}

.rk-greeting {
    margin-right: auto;
    min-width: 0;
}

.rk-greeting-title {
    margin: 0;
    color: var(--rk-text-h);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.rk-greeting-text {
    margin: 0;
    color: var(--rk-success-light);
    font-size: 14px;
}

.rk-avatar {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    object-fit: cover;
    image-rendering: pixelated;
}

.rk-avatar.is-guest {
    filter: grayscale(1);
    opacity: 0.8;
}

.rk-user {
    min-width: 0;
    margin-right: 12px;
}

.rk-user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--rk-text-h);
    font-size: 16px;
    font-weight: 700;
}

.rk-user-name a {
    color: var(--rk-text);
    font-size: 16px;
    transition: color 0.2s;
}

.rk-user-name a:hover {
    color: var(--rk-primary-light);
}

.rk-user-sub {
    margin: 2px 0 0;
    color: var(--rk-text);
    font-size: 13px;
}

.rk-user-total {
    display: inline-block;
    margin-top: 2px;
    padding: 1px 8px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-primary);
    color: var(--rk-text-h);
    font-size: 13px;
}

.rk-toolbar .rk-btn {
    height: 64px;
    padding: 0 28px;
    font-size: 15px;
}

.rk-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 13px;
}

@media (max-width: 960px) {
    .rk-toolbar {
        gap: 12px;
        padding: 12px;
    }

    .rk-toolbar-home,
    .rk-greeting {
        display: none;
    }

    .rk-avatar {
        width: 52px;
        height: 52px;
    }

    .rk-user {
        margin-right: auto;
    }

    .rk-toolbar .rk-btn {
        height: 52px;
        padding: 0 16px;
    }

    .rk-toolbar .rk-btn .rk-btn-label {
        display: none;
    }
}

/* page grid: sidebar + main */

.rk-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--rk-gap);
    align-items: start;
}

@media (min-width: 961px) {
    .rk-main.has-sidebar {
        grid-template-columns: var(--rk-sidebar) minmax(0, 1fr);
    }

    .rk-main.has-sidebar > .rk-sidebar {
        order: -1;
    }
}

.rk-content {
    display: flex;
    flex-direction: column;
    gap: var(--rk-gap);
    min-width: 0;
}

.rk-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
}

/* same module order as before: supporter, feed, goal, gift cards, text */
.rk-sidebar .rk-nav-block { order: 0; }
.rk-sidebar .rk-mod-top { order: 2; }
.rk-sidebar .rk-mod-feed { order: 3; }
.rk-sidebar .rk-mod-goal { order: 4; }
.rk-sidebar .rk-mod-gift { order: 10; }
.rk-sidebar .rk-mod-text { order: 15; }

@media (max-width: 960px) {
    .rk-sidebar {
        order: 10;
    }

    .rk-sidebar .rk-nav-block {
        display: none;
    }
}

/* navigation list: square on the left, name bar on the right */

.rk-nav-block {
    position: relative;
    padding: 28px 16px 16px;
}

.rk-nav {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rk-nav-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.rk-nav-square {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    color: var(--rk-text);
    font-size: 20px;
    transition: background-color 0.2s, color 0.2s;
}

.rk-nav-square img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.rk-nav-item:hover .rk-nav-square {
    background: var(--rk-btn-hover);
    color: var(--rk-text-h);
}

.rk-nav-item.is-active .rk-nav-square {
    background: var(--rk-primary);
    color: var(--rk-text-h);
}

.rk-nav-item.is-active:hover .rk-nav-square {
    background: var(--rk-primary-light);
}

.rk-nav-body {
    min-width: 0;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    overflow: hidden;
    transition: background-color 0.2s;
}

.rk-nav-item:hover .rk-nav-body {
    background: var(--rk-btn-hover);
}

.rk-nav-row {
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.rk-nav-link {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    color: var(--rk-text-h);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.rk-nav-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rk-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--rk-text);
    cursor: pointer;
    transition: transform 0.25s;
}

.rk-nav-item.is-open .rk-nav-toggle {
    transform: rotate(180deg);
}

.rk-nav-sub {
    display: none;
    margin: 0;
    padding: 0 8px 8px;
    list-style: none;
}

.rk-nav-item.is-open .rk-nav-sub {
    display: block;
}

.rk-nav-sub a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--rk-text);
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}

.rk-nav-sub a:hover,
.rk-nav-sub a.is-active {
    background: var(--rk-block);
    color: var(--rk-text-h);
}

/* widgets (PayNow modules) */

.rk-widget {
    position: relative;
    padding: 28px 20px 20px;
    text-align: center;
}

.rk-widget-empty {
    color: var(--rk-text);
    font-size: 14px;
}

.rk-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rk-top-head {
    width: 96px;
    height: 96px;
    border-radius: var(--rk-radius);
    background: var(--rk-btn);
    object-fit: cover;
    image-rendering: pixelated;
    box-shadow: 0 0 0 4px var(--rk-footer), 0 0 30px color-mix(in srgb, var(--rk-primary) 40%, transparent);
}

.rk-top-name {
    margin: 0;
    color: var(--rk-primary-light);
    font-size: 18px;
    font-weight: 800;
}

.rk-feed {
    display: grid;
    gap: 8px;
    text-align: left;
}

.rk-feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    padding: 0 10px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    transition: background-color 0.2s;
}

.rk-feed-item:hover {
    background: var(--rk-btn-hover);
}

.rk-feed-item img {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    image-rendering: pixelated;
}

.rk-feed-name {
    display: block;
    color: var(--rk-text-h);
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rk-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.rk-feed-meta span {
    padding: 0 6px;
    border-radius: 5px;
    background: var(--rk-block);
    color: var(--rk-text);
    font-size: 11px;
    line-height: 18px;
    white-space: nowrap;
}

.rk-feed-fade {
    height: 18px;
    width: 88%;
    margin: 2px auto 0;
    border-radius: 0 0 var(--rk-radius-s) var(--rk-radius-s);
    background: var(--rk-btn);
    opacity: 0.6;
}

.rk-goal-bar {
    height: 14px;
    border-radius: 7px;
    background: var(--rk-footer);
    overflow: hidden;
}

.rk-goal-bar span {
    display: block;
    height: 100%;
    border-radius: 7px;
    background: repeating-linear-gradient(115deg, var(--rk-primary) 0 12px, var(--rk-primary-light) 12px 24px);
    background-size: 200% 100%;
    animation: rk-stripes 8s linear infinite;
}

@keyframes rk-stripes {
    to { background-position: 100% 0; }
}

.rk-goal-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
}

.rk-goal-meta b {
    color: var(--rk-text-h);
}

.rk-input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 2px solid transparent;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    color: var(--rk-text-h);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.rk-input::placeholder {
    color: var(--rk-text);
    opacity: 0.75;
}

.rk-input:focus {
    border-color: var(--rk-primary);
    background: var(--rk-footer);
}

.rk-input.is-center {
    text-align: center;
}

select.rk-input {
    cursor: pointer;
}

.rk-alert {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: var(--rk-radius-s);
    font-size: 13px;
}

.rk-alert.is-error {
    background: color-mix(in srgb, var(--rk-primary) 18%, transparent);
    color: #ffb3b3;
}

.rk-alert.is-ok {
    background: color-mix(in srgb, var(--rk-success) 18%, transparent);
    color: #b9f5cd;
}

/* home: category tiles */

.rk-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.rk-cat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 136px;
    padding: 12px 28px 12px 12px;
    overflow: hidden;
    border-radius: var(--rk-radius);
    background: var(--rk-primary);
    box-shadow: 0 var(--rk-bw) 0 var(--rk-primary-dark);
    transition: background-color 0.2s, transform 0.2s;
}

.rk-cat::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 12px, transparent 12px 30px);
    pointer-events: none;
}

.rk-cat:hover {
    background: var(--rk-primary-light);
    transform: translateY(-2px);
}

.rk-cat:active {
    background: var(--rk-primary-dark);
    transform: translateY(1px);
}

.rk-cat-art {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    transition: transform 0.25s;
}

.rk-cat-art img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.rk-cat-art i {
    color: #fff;
    font-size: 56px;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.rk-cat:hover .rk-cat-art {
    transform: scale(0.92) rotate(-4deg);
}

.rk-cat-name {
    position: relative;
    margin-left: auto;
    color: var(--rk-text-h);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: right;
    text-transform: uppercase;
    line-height: 1.15;
}

.rk-cat-name small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

.rk-cat-name i {
    margin-left: 10px;
    transition: transform 0.2s;
}

.rk-cat:hover .rk-cat-name i {
    transform: translateX(6px);
}

@media (max-width: 760px) {
    .rk-cats {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .rk-cat {
        min-height: 104px;
    }

    .rk-cat-art,
    .rk-cat-art img {
        width: 84px;
        height: 84px;
    }

    .rk-cat-name {
        font-size: 19px;
    }
}

.rk-panel {
    position: relative;
}

.rk-panel-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.rk-panel-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    color: var(--rk-primary-light);
    font-size: 20px;
}

.rk-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.rk-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rk-gap);
}

@media (max-width: 760px) {
    .rk-info-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

.rk-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
}

.rk-trust-item i {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--rk-block);
    color: var(--rk-primary-light);
    font-size: 17px;
    line-height: 40px;
    text-align: center;
}

.rk-trust-item b {
    display: block;
    color: var(--rk-text-h);
    font-size: 14px;
}

.rk-trust-item span {
    display: block;
    font-size: 12px;
}

@media (max-width: 760px) {
    .rk-trust {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* category head and tab row */

.rk-cat-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rk-cat-head-art {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--rk-radius);
    background: var(--rk-btn);
    color: var(--rk-primary-light);
    font-size: 30px;
}

.rk-cat-head-art img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.rk-cat-head .rk-prose {
    margin-top: 4px;
    font-size: 14px;
}

.rk-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rk-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 16px 0 6px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    color: var(--rk-text-h);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.rk-tab:hover {
    background: var(--rk-btn-hover);
}

.rk-tab.is-active {
    background: var(--rk-primary);
}

.rk-tab-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.rk-tab-art img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* product cards */

.rk-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 40px 24px;
    padding-top: 16px;
}

.rk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: var(--rk-radius);
    background: var(--rk-block);
    box-shadow: 0 var(--rk-bw) 0 var(--rk-footer);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 calc(var(--rk-bw) + 4px) 0 var(--rk-footer), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.rk-card.is-hot {
    background: linear-gradient(180deg, color-mix(in srgb, var(--rk-primary) 16%, var(--rk-block)), var(--rk-block) 55%);
    box-shadow: 0 var(--rk-bw) 0 var(--rk-footer), inset 0 0 0 2px color-mix(in srgb, var(--rk-primary) 55%, transparent);
}

.rk-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 168px;
    border-radius: var(--rk-radius-s);
    background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--rk-primary) 14%, transparent), transparent 70%), var(--rk-footer);
    cursor: pointer;
    overflow: hidden;
}

.rk-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.rk-card:hover .rk-card-media img {
    transform: scale(1.07) rotate(-2deg);
}

.rk-card-media > i {
    color: var(--rk-primary-light);
    font-size: 58px;
}

.rk-off {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--rk-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.rk-soldout {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: #ff9c9c;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rk-card-title {
    margin: 0;
    color: var(--rk-text-h);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: color 0.2s;
}

.rk-card-title:hover {
    color: var(--rk-primary-light);
}

.rk-card-label {
    display: block;
    margin-top: 2px;
    color: var(--rk-text);
    font-size: 12px;
    font-weight: 500;
}

.rk-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.rk-price b {
    color: var(--rk-text-h);
    font-size: 20px;
    font-weight: 800;
}

.rk-price del {
    padding: 0 6px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--rk-primary) 75%, #000);
    color: #ffd6d6;
    font-size: 12px;
    text-decoration-thickness: 2px;
}

.rk-price small {
    color: var(--rk-text);
    font-size: 12px;
}

.rk-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.rk-card-actions .rk-btn {
    flex: 1 1 auto;
    min-width: 0;
}

/* product tag pill on the top edge of a card */
.rk-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 14px;
    transform: translateX(-50%);
    border-radius: var(--rk-radius-s);
    background: var(--rk-primary);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--rk-primary) 45%, transparent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rk-tag.is-gold {
    background: linear-gradient(90deg, #ffb31a, #ff7a1a);
    box-shadow: 0 6px 16px rgba(255, 150, 30, 0.4);
}

.rk-empty {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rk-empty i {
    width: 48px;
    height: 48px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    color: var(--rk-primary-light);
    font-size: 22px;
    line-height: 48px;
    text-align: center;
}

/* rank comparison table */

.rk-rt {
    --rt-desc: minmax(220px, 1.5fr);
    --rt-cols: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rk-rt-head,
.rk-rt-row {
    display: grid;
    grid-template-columns: var(--rt-desc) repeat(var(--rt-cols), minmax(0, 1fr));
    gap: 10px;
}

.rk-rt-head {
    align-items: end;
    margin-bottom: 8px;
    padding-top: 18px;
}

.rk-rt-intro {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 6px 6px 2px;
}

.rk-rt-intro .rk-title {
    font-size: 26px;
}

.rk-rt-intro p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.rk-rt-legend {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    font-size: 12px;
}

.rk-rt-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rk-rt-legend .fa-circle-check {
    color: var(--rk-primary-light);
}

.rk-rt-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px 12px;
    border-radius: var(--rk-radius);
    background: var(--rk-block);
    box-shadow: 0 var(--rk-bw) 0 var(--rk-footer);
    text-align: center;
}

.rk-rt-card.is-pop {
    background: linear-gradient(180deg, color-mix(in srgb, var(--rk-primary) 26%, var(--rk-block)), var(--rk-block));
    box-shadow: 0 var(--rk-bw) 0 var(--rk-footer), inset 0 0 0 2px var(--rk-primary);
}

.rk-rt-card img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    cursor: pointer;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
    transition: transform 0.25s;
}

.rk-rt-card:hover img {
    transform: translateY(-3px) scale(1.05);
}

.rk-rt-name {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.rk-rt-card .rk-price {
    justify-content: center;
    gap: 4px 6px;
}

.rk-rt-card .rk-price b {
    font-size: 17px;
}

.rk-rt-card .rk-btn {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 0 8px;
    font-size: 12px;
}

.rk-rt-card .rk-tag {
    top: -14px;
    height: 26px;
    padding: 0 10px;
    font-size: 10px;
}

.rk-rt-card-links {
    display: flex;
    gap: 6px;
    width: 100%;
}

.rk-rt-card-links .rk-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 15px;
}

.rk-rt-group {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    margin-top: 10px;
    padding: 0 14px;
    border-radius: var(--rk-radius);
    background: var(--rk-primary);
    box-shadow: 0 4px 0 var(--rk-primary-dark);
    color: var(--rk-text-h);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rk-rt-desc,
.rk-rt-cell {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-radius: var(--rk-radius-s);
}

.rk-rt-desc {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 6px 14px;
    border: 3px solid var(--rk-block);
    background: var(--rk-footer);
    line-height: 1.25;
}

.rk-rt-desc b {
    color: var(--rk-text-h);
    font-size: 14px;
    font-weight: 700;
}

.rk-rt-desc span {
    color: var(--rk-text);
    font-size: 12px;
}

.rk-rt-cell {
    justify-content: center;
    padding: 6px;
    background: var(--rk-footer);
    color: var(--rk-text-h);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.2s;
}

.rk-rt-row:hover .rk-rt-cell,
.rk-rt-row:hover .rk-rt-desc {
    background: color-mix(in srgb, var(--rk-btn) 70%, var(--rk-footer));
}

.rk-rt-cell.is-pop {
    background: var(--rk-btn);
}

.rk-rt-cell .fa-circle-check {
    color: var(--rk-primary-light);
    font-size: 21px;
}

.rk-rt-cell .fa-circle-xmark {
    color: color-mix(in srgb, var(--rk-btn-hover) 70%, var(--rk-text));
    opacity: 0.55;
    font-size: 21px;
}

.rk-rt-cell.is-prefix {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rk-rt-scroll {
    overflow-x: auto;
    padding-bottom: 8px;
}

.rk-rt-scroll > .rk-rt {
    min-width: 980px;
}

.rk-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0 0;
}

.rk-section-title::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--rk-btn-hover), transparent);
}

/* rank cards with perk lists (phones and the custom ranks) */

.rk-rank-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 24px;
    padding-top: 16px;
}

@media (min-width: 761px) {
    .rk-rank-cards.is-pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rk-rank-card {
    --rank: var(--rk-primary-light);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-radius: var(--rk-radius);
    background: var(--rk-block);
    box-shadow: 0 var(--rk-bw) 0 var(--rk-footer);
}

.rk-rank-card.is-hot {
    background: linear-gradient(180deg, color-mix(in srgb, var(--rk-primary) 18%, var(--rk-block)), var(--rk-block) 60%);
    box-shadow: 0 var(--rk-bw) 0 var(--rk-footer), inset 0 0 0 2px color-mix(in srgb, var(--rk-primary) 60%, transparent);
}

.rk-rank-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rk-rank-top img {
    flex: none;
    width: 84px;
    height: 84px;
    object-fit: contain;
    cursor: pointer;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
}

.rk-rank-top .rk-rank-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: var(--rk-radius);
    background: var(--rk-footer);
    color: var(--rank);
    font-size: 38px;
}

.rk-rank-name {
    margin: 0;
    color: var(--rank);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.rk-rank-base {
    margin: 0;
    padding: 8px 12px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-footer);
    font-size: 13px;
}

.rk-rank-base b {
    color: var(--rk-text-h);
}

.rk-perks {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rk-perks li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    font-size: 14px;
    line-height: 1.4;
}

.rk-perks li i {
    margin-top: 2px;
    color: var(--rk-primary-light);
}

.rk-perks li b {
    color: var(--rk-text-h);
    font-weight: 700;
}

/* crates (keys) with quantity rows */

.rk-crates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px 24px;
    padding-top: 16px;
}

.rk-qty {
    display: grid;
    gap: 10px;
}

.rk-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rk-qty-row .rk-btn {
    flex: none;
    width: 64px;
    padding: 0;
    font-size: 17px;
}

.rk-qty-info {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 48px;
    padding: 0 12px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    font-size: 13px;
}

.rk-qty-info b {
    color: var(--rk-text-h);
    font-size: 15px;
}

.rk-qty-info del {
    display: block;
    color: #ff9c9c;
    font-size: 11px;
    line-height: 1;
}

.rk-qty-each {
    color: var(--rk-text);
    font-size: 11px;
    text-align: right;
}

.rk-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--rk-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}

.rk-link-btn:hover {
    color: var(--rk-primary-light);
}

/* product page */

.rk-pv-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.rk-pv {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 28px;
}

.rk-pv-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 28px;
    border-radius: var(--rk-radius);
    background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--rk-primary) 22%, transparent), transparent 65%), var(--rk-footer);
}

.rk-pv-media img {
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
}

.rk-pv-media > i {
    color: var(--rk-primary-light);
    font-size: 96px;
}

.rk-pv-name {
    margin: 0;
    color: var(--rk-text-h);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}

.rk-pv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.rk-pv-meta span {
    padding: 2px 10px;
    border-radius: 6px;
    background: var(--rk-btn);
    font-size: 12px;
}

.rk-pv .rk-price {
    margin: 18px 0;
}

.rk-pv .rk-price b {
    font-size: 30px;
}

.rk-pv .rk-price del {
    font-size: 14px;
}

.rk-pv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rk-pv-actions .rk-btn {
    flex: 1 1 200px;
}

.rk-field {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.rk-field label {
    color: var(--rk-text-h);
    font-size: 13px;
    font-weight: 700;
}

.rk-pv-desc {
    margin-top: 24px;
}

@media (max-width: 760px) {
    .rk-pv {
        grid-template-columns: minmax(0, 1fr);
    }

    .rk-pv-media {
        aspect-ratio: auto;
        height: 240px;
    }

    .rk-pv-name {
        font-size: 24px;
    }
}

/* cart page */

.rk-basket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--rk-gap);
    align-items: start;
}

.rk-basket-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.rk-basket-items {
    display: grid;
    gap: 14px;
}

.rk-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
}

.rk-line-img {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-footer);
    color: var(--rk-primary-light);
    font-size: 26px;
}

.rk-line-img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.rk-line-info {
    flex: 1 1 auto;
    min-width: 0;
}

.rk-line-name {
    margin: 0;
    color: var(--rk-text-h);
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rk-line-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 4px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-footer);
}

.rk-line-qty input {
    width: 48px;
    height: 36px;
    border: 0;
    background: none;
    color: var(--rk-text-h);
    font: inherit;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.rk-line-total {
    min-width: 84px;
    color: var(--rk-text-h);
    font-size: 17px;
    font-weight: 800;
    text-align: right;
}

.rk-checkout {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rk-checkout-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-footer);
}

.rk-checkout-total b {
    color: var(--rk-text-h);
    font-size: 26px;
    font-weight: 800;
}

.rk-pay-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.5;
}

.rk-pay-note i {
    margin-top: 2px;
    color: var(--rk-success-light);
}

.rk-cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--rk-text);
    font-size: 22px;
}

@media (max-width: 960px) {
    .rk-basket {
        grid-template-columns: minmax(0, 1fr);
    }

    .rk-line {
        flex-wrap: wrap;
    }

    .rk-line-total {
        margin-left: auto;
    }
}

/* login page */

.rk-login {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.rk-login-head {
    position: relative;
    margin: -24px -24px 22px;
    padding: 30px 24px 26px;
    overflow: hidden;
    border-radius: var(--rk-radius) var(--rk-radius) 0 0;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 12px, transparent 12px 30px),
        linear-gradient(120deg, var(--rk-primary-dark), var(--rk-primary));
    text-align: center;
}

.rk-login-head h1 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
}

.rk-login-head p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.rk-login-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rk-login-row img {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    image-rendering: pixelated;
    transition: filter 0.3s;
}

.rk-login-row img.is-guest {
    filter: grayscale(1);
}

.rk-login-note {
    margin: 10px 0 0;
    font-size: 12px;
}

/* account page */

.rk-account-nav {
    display: grid;
    gap: 10px;
}

.rk-account-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
}

.rk-account-row img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* modals and drawers */

.rk-modal-wrap {
    position: fixed;
    inset: 0;
    z-index: 60;
    overflow-y: auto;
}

.rk-modal-back {
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, var(--rk-bg) 86%, transparent);
    backdrop-filter: blur(3px);
}

.rk-modal-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 16px;
}

.rk-modal {
    position: relative;
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 26px;
    border-radius: var(--rk-radius);
    background: var(--rk-block);
    box-shadow: 0 var(--rk-bw) 0 var(--rk-footer), 0 30px 80px rgba(0, 0, 0, 0.6);
    scrollbar-width: thin;
}

.rk-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    color: var(--rk-text);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.rk-modal-close:hover {
    background: var(--rk-btn-hover);
    color: var(--rk-text-h);
}

.rk-modal-product {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-right: 44px;
}

.rk-modal-art {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: var(--rk-radius);
    background: radial-gradient(circle, color-mix(in srgb, var(--rk-primary) 22%, transparent), transparent 70%), var(--rk-footer);
    color: var(--rk-primary-light);
    font-size: 38px;
}

.rk-modal-art img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.rk-modal-name {
    margin: 0 0 6px;
    color: var(--rk-text-h);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}

.rk-modal-sec {
    margin-bottom: 14px;
    padding: 16px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-footer);
}

.rk-modal-sec h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--rk-text-h);
    font-size: 14px;
    font-weight: 700;
}

.rk-modal-sec h4 i {
    color: var(--rk-primary-light);
}

.rk-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rk-modal-actions .rk-btn {
    flex: 1 1 160px;
}

.rk-modal-actions .rk-icon-btn {
    flex: none;
}

.rk-modal-nav-title {
    margin: 0 0 18px;
    color: var(--rk-text-h);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.rk-modal-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.rk-modal-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
    color: var(--rk-text-h);
    font-size: 14px;
    font-weight: 700;
}

.rk-modal-links a:hover {
    background: var(--rk-btn-hover);
}

.rk-drawer-wrap {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.rk-drawer {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: var(--rk-bg);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.rk-drawer-head {
    padding: 22px;
    background: var(--rk-block);
}

.rk-drawer-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--rk-text-h);
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
}

.rk-drawer-head h2 i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-primary);
    color: #fff;
    font-size: 17px;
}

.rk-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-btn);
}

.rk-drawer-user img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    image-rendering: pixelated;
}

.rk-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px;
}

.rk-drawer-item {
    margin-bottom: 12px;
    padding: 14px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-block);
    box-shadow: 0 4px 0 var(--rk-footer);
}

.rk-drawer-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.rk-drawer-item h3 {
    margin: 0;
    color: var(--rk-text-h);
    font-size: 15px;
    font-weight: 700;
}

.rk-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 1px 8px;
    border-radius: 5px;
    background: var(--rk-btn);
    color: var(--rk-text);
    font-size: 11px;
    font-weight: 600;
}

.rk-chip.is-gift {
    background: color-mix(in srgb, var(--rk-primary) 30%, transparent);
    color: #ffd0d0;
}

.rk-stepper {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: var(--rk-radius-s);
    background: var(--rk-footer);
}

.rk-stepper button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: var(--rk-btn);
    color: var(--rk-text-h);
    cursor: pointer;
}

.rk-stepper button:hover {
    background: var(--rk-primary);
}

.rk-stepper span {
    min-width: 28px;
    color: var(--rk-text-h);
    font-weight: 700;
    text-align: center;
}

.rk-drawer-foot {
    padding: 18px;
    background: var(--rk-block);
}

.rk-drawer-warn {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: var(--rk-radius-s);
    background: rgba(255, 190, 40, 0.14);
    color: #ffd98a;
    font-size: 13px;
}

.rk-spinner {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--rk-bg) 80%, transparent);
}

.rk-spinner span {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.85);
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rk-spin 0.9s linear infinite;
}

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

/* footer */

.rk-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.rk-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--rk-radius);
    color: #fff;
    font-size: 22px;
    transition: transform 0.15s;
}

.rk-social a:hover {
    transform: translateY(-6px);
}

.rk-social .is-discord { background: #5865f2; }
.rk-social .is-youtube { background: #ff0833; }
.rk-social .is-tiktok { background: #111; }
.rk-social .is-x { background: #000; }
.rk-social .is-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.rk-social .is-twitch { background: #9146ff; }
.rk-social .is-facebook { background: #1877f2; }
.rk-social .is-store { background: var(--rk-primary); }

.rk-footer {
    margin-top: 24px;
    padding: 30px 0 26px;
    border-top: var(--rk-bw) solid var(--rk-block);
    background: var(--rk-footer);
}

.rk-footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.rk-footer-logo img {
    display: block;
    height: 64px;
    width: auto;
    image-rendering: pixelated;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.rk-footer-logo:hover img {
    opacity: 1;
}

.rk-footer-text {
    text-align: right;
}

.rk-footer-disc {
    margin: 0 0 4px;
    color: var(--rk-primary-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rk-footer-copy {
    margin: 0;
    font-size: 12px;
}

.rk-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 18px;
    margin-top: 8px;
    font-size: 12px;
}

.rk-footer-links a {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.rk-footer-links a:hover {
    color: var(--rk-text-h);
}

.rk-footer-credit {
    display: inline-block;
    margin-top: 6px;
    color: var(--rk-text);
    font-size: 11px;
    opacity: 0.8;
}

.rk-footer-credit:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .rk-footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .rk-footer-text {
        text-align: center;
    }

    .rk-footer-links {
        justify-content: center;
    }
}

/* toast notifications from app.js (#cart-notification) */

#cart-notification {
    top: auto !important;
    right: 50% !important;
    bottom: 24px;
    min-width: 280px;
    max-width: min(460px, calc(100vw - 32px)) !important;
    padding: 14px 18px 14px 20px !important;
    border-left: 5px solid var(--rk-primary);
    border-radius: var(--rk-radius-s) !important;
    background: var(--rk-btn) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
    color: var(--rk-text-h) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600 !important;
    translate: none !important;
    transform: translateX(50%) !important;
    transition: opacity 0.3s, transform 0.3s !important;
}

#cart-notification.translate-x-full {
    opacity: 0;
    transform: translate(50%, 20px) !important;
}

#cart-notification.bg-green-500 { border-left-color: var(--rk-success); }
#cart-notification.bg-red-500 { border-left-color: #ff4d4d; }
#cart-notification.bg-yellow-500 { border-left-color: #ffbf2e; }
#cart-notification.bg-blue-500 { border-left-color: var(--rk-primary-light); }

#notification-alert {
    background: var(--rk-primary) !important;
}

/* motion preferences */

@media (prefers-reduced-motion: reduce) {
    .rk-sale::after,
    .rk-goal-bar span {
        animation: none;
    }

    .rk-card,
    .rk-card-media img,
    .rk-cat,
    .rk-cat-art,
    .rk-logo a {
        transition: none;
    }
}

/* Pixel-art category pictures stay crisp when scaled */
.rk-art-img,
.rk-cx-art img {
    image-rendering: pixelated;
}

/* Crystal amount picker */
.rk-cx {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: var(--rk-gap);
}

.rk-cx-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rk-cx-art {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--rk-radius);
    background: var(--rk-btn);
    color: var(--rk-primary-light);
    font-size: 30px;
}

.rk-cx-art img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.rk-cx-desc {
    margin-top: 4px;
    font-size: 14px;
}

.rk-cx-readout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.rk-cx-amount {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}

.rk-cx-amount input {
    width: 11ch;
    min-width: 0;
    padding: 6px 12px;
    border: 0;
    border-radius: var(--rk-radius-s);
    background: var(--rk-footer);
    color: var(--rk-text-h);
    font: inherit;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
}

.rk-cx-amount input:focus {
    outline: 2px solid var(--rk-primary);
}

.rk-cx-amount span {
    color: var(--rk-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rk-cx-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 10px;
}

.rk-cx-price b {
    font-size: 28px;
}

.rk-cx-price del {
    color: var(--rk-text);
    font-size: 16px;
}

.rk-cx-save {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--rk-success);
    color: var(--rk-text-h);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rk-cx-range {
    --rk-cx-fill: 0%;
    width: 100%;
    height: 14px;
    margin: 0;
    border-radius: 999px;
    background: linear-gradient(to right, var(--rk-primary) var(--rk-cx-fill), var(--rk-footer) var(--rk-cx-fill));
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.rk-cx-range::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    border: 4px solid var(--rk-text-h);
    border-radius: 50%;
    background: var(--rk-primary);
    box-shadow: 0 3px 0 var(--rk-primary-dark);
    -webkit-appearance: none;
}

.rk-cx-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 4px solid var(--rk-text-h);
    border-radius: 50%;
    background: var(--rk-primary);
    box-shadow: 0 3px 0 var(--rk-primary-dark);
}

.rk-cx-range:focus-visible {
    outline: 2px solid var(--rk-primary-light);
    outline-offset: 4px;
}

.rk-cx-scale {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: center;
    margin-top: -10px;
    color: var(--rk-text);
    font-size: 12px;
    font-weight: 700;
}

.rk-cx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rk-cx-chips .rk-btn small {
    color: var(--rk-success-light);
    font-size: 11px;
}

.rk-cx-chips .rk-btn.is-active {
    background: var(--rk-primary);
}

.rk-cx-actions .rk-btn {
    width: 100%;
}

@media (max-width: 600px) {
    .rk-cx-amount input {
        font-size: 24px;
    }

    .rk-cx-price b {
        font-size: 22px;
    }
}
