.royal-shop {
    --royal-yellow: var(--color-yellow, #fadb0a);
    --royal-green: var(--color-green, #52ac62);
    --royal-black: var(--surface-shop, #070707);
    --royal-panel: var(--surface-shop-panel, #121212);
    --royal-panel-soft: var(--surface-raised, #181818);
    --royal-cream: #f1ead8;
    --royal-muted: var(--text-muted, #99958d);
    --royal-line: var(--border-subtle, rgba(255, 255, 255, 0.11));
    min-height: 100vh;
    color: #fff;
    background: var(--royal-black);
    overflow: hidden;
}

.royal-cart,
.royal-floating-cart,
.royal-product-modal,
.royal-consultation-modal {
    --royal-yellow: var(--color-yellow, #fadb0a);
    --royal-green: var(--color-green, #52ac62);
    --royal-cream: #f1ead8;
    --royal-muted: #99958d;
    --royal-line: rgba(255, 255, 255, 0.11);
}

.royal-shop button,
.royal-cart button {
    font: inherit;
}

.royal-shop-hero {
    position: relative;
    isolation: isolate;
    min-height: 50svh;
    box-sizing: border-box;
    padding: clamp(6.25rem, 10vh, 7.5rem) 0 clamp(2.5rem, 5vh, 3.5rem);
    overflow: hidden;
    background: #070707;
}

.royal-shop-hero__background {
    position: absolute;
    z-index: -4;
    top: 0;
    right: 0;
    width: 66.666%;
    height: 100%;
    min-height: 100%;
    background-color: #070707;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--hero-image);
    background-size: cover !important;
    opacity: 1;
    filter: none;
}

@media (max-width: 768px) {
    .royal-shop-hero__background {
        background-image: var(--hero-image-mobile, var(--hero-image));
    }
}

.royal-shop-hero__image {
    position: absolute;
    z-index: -4;
    top: 0;
    right: -4%;
    width: min(48vw, 760px);
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.68;
    filter: saturate(0.72) contrast(1.08);
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
}

.royal-shop-hero__shade {
    position: absolute;
    z-index: -3;
    inset: 0;
    background: linear-gradient(
        90deg,
        #070707 0%,
        #070707 33.333%,
        rgba(7, 7, 7, 1) 33.333%,
        rgba(7, 7, 7, 0.85) 48%,
        rgba(7, 7, 7, 0.58) 63%,
        rgba(7, 7, 7, 0.3) 78%,
        rgba(7, 7, 7, 0.1) 90%,
        rgba(7, 7, 7, 0) 97%,
        rgba(7, 7, 7, 0) 100%
    );
}

.royal-shop-hero__lines {
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(250, 219, 10, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250, 219, 10, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to right, #000, transparent 78%);
}

.royal-shop-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 820px);
    align-items: center;
    justify-content: start;
    gap: 1.4rem;
}

.royal-shop-hero__copy {
    max-width: 820px;
}

.royal-kicker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--royal-yellow);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.royal-kicker > span {
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}

.royal-shop-hero h1 {
    max-width: 760px;
    margin: 0.85rem 0 1rem;
    font-size: clamp(2.3rem, 4.5vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.95;
    text-wrap: balance;
}

.royal-shop-hero h1 em {
    color: #aa0000;
    font-style: normal;
}

.royal-shop-hero__copy > p {
    max-width: 590px;
    margin: 0;
    color: #bbb7ae;
    font-size: clamp(0.92rem, 1.25vw, 1.04rem);
    line-height: 1.6;
}

.royal-shop-hero__action {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0.95rem 1.25rem;
    border: 1px solid rgba(250, 219, 10, 0.55);
    border-radius: var(--radius-ui, 12px);
    color: var(--royal-yellow);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.royal-shop-hero__action:hover {
    color: #050505;
    background: var(--royal-yellow);
}

.royal-shop-account {
    position: relative;
    display: grid;
    width: min(100%, 420px);
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-self: start;
    gap: 1rem;
    margin-bottom: 0;
    padding: 1.15rem;
    border: 1px solid rgba(250, 219, 10, 0.28);
    border-radius: var(--radius-ui, 12px);
    background: rgba(11, 11, 11, 0.82);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
}

.royal-shop-account__avatar {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    color: var(--royal-yellow);
    background: #171717;
    font-size: 1.8rem;
}

.royal-shop-player-face {
    display: block;
    border-radius: 0;
    image-rendering: pixelated;
}

.royal-shop-account__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.royal-shop-account__text > span {
    color: #888;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.royal-shop-account__text strong {
    overflow: hidden;
    margin: 0.15rem 0;
    font-size: 1.1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.royal-shop-account__text small,
.royal-shop-account__text a {
    color: #858585;
    font-size: 0.72rem;
    line-height: 1.35;
}

.royal-cart-trigger {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #050505;
    background: var(--royal-yellow);
    transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.royal-cart-trigger:hover,
.royal-cart-trigger:focus-visible {
    color: #fff;
    background: var(--royal-green);
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 10px 26px rgba(82, 172, 98, 0.26);
}

.royal-cart-icon {
    position: relative;
    z-index: 2;
    display: block;
    width: 22px;
    height: 22px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.royal-cart-trigger span {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #090909;
    border-radius: 999px;
    color: #fff;
    background: #aa0000;
    font-size: 0.62rem;
    font-weight: 800;
}

.royal-cart-trigger.is-pulsing {
    animation: royalCartPulse 0.38s ease;
}

.royal-catalog {
    position: relative;
    padding: clamp(2.75rem, 5vw, 4.75rem) 0 clamp(4rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 88% 12%, rgba(82, 172, 98, 0.07), transparent 28rem),
        #0a0a0a;
}

.royal-preview-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 2rem;
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--royal-yellow);
    color: #bbb;
    background: rgba(250, 219, 10, 0.07);
    font-size: 0.82rem;
    line-height: 1.5;
}

.royal-preview-notice i,
.royal-preview-notice strong {
    color: var(--royal-yellow);
}

.royal-shop-error {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem 1rem;
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(170, 0, 0, 0.55);
    border-radius: var(--radius-ui, 12px);
    color: #d4d4d4;
    background: rgba(170, 0, 0, 0.12);
}

.royal-shop-error strong {
    color: #ff9696;
    font-size: 0.82rem;
}

.royal-shop-error span {
    font-size: 0.78rem;
    line-height: 1.5;
}

.royal-catalog-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.royal-shop-guide__heading h2 {
    margin: 0.65rem 0 0.7rem;
    font-size: clamp(2rem, 4.2vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.royal-catalog-heading p {
    max-width: 600px;
    margin: 0;
    color: var(--royal-muted);
    line-height: 1.6;
}

.royal-catalog-cart {
    display: grid;
    grid-template-columns: 1fr auto;
    min-width: 168px;
    padding: 0.72rem 0.85rem;
    border: 1px solid var(--royal-line);
    border-radius: var(--radius-ui, 12px);
    color: #fff;
    text-align: left;
    background: var(--royal-panel);
}

.royal-catalog-cart span {
    color: #777;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.royal-catalog-cart strong {
    margin-top: 0.1rem;
    font-size: 1.12rem;
}

.royal-catalog-cart i {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--royal-yellow);
}

.royal-catalog-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--royal-line);
    border-bottom: 1px solid var(--royal-line);
}

.royal-catalog-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    gap: 0.75rem;
}

.royal-server-switch {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
}

.royal-server-switch button,
.royal-type-filter button {
    flex: 0 0 auto;
    border: 0;
    color: #858585;
    background: transparent;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.royal-server-switch button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-ui, 12px);
    font-size: 0.83rem;
    font-weight: 750;
}

.royal-server-switch button > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--royal-green);
    box-shadow: 0 0 0 3px rgba(82, 172, 98, 0.12);
}

.royal-server-switch button:hover,
.royal-server-switch button.is-active {
    color: #050505;
    background: var(--royal-yellow);
}

.royal-server-switch button:hover > span,
.royal-server-switch button.is-active > span {
    background: #111;
    box-shadow: none;
}

.royal-shop-search {
    display: flex;
    width: min(300px, 40vw);
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.8rem;
    border-bottom: 1px solid #3b3b3b;
    color: #777;
}

.royal-shop-search:focus-within {
    border-color: var(--royal-yellow);
}

.royal-shop-search input {
    width: 100%;
    padding: 0.7rem 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.royal-shop-search input::placeholder {
    color: #666;
}

.royal-type-filter {
    display: flex;
    gap: 0.25rem;
    margin: 1rem 0 1.6rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.royal-type-filter button {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 700;
}

.royal-type-filter button:hover,
.royal-type-filter button.is-active {
    border-color: var(--royal-category-color, var(--royal-yellow));
    color: var(--royal-category-color, var(--royal-yellow));
}

.royal-product-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 315px;
    grid-auto-flow: dense;
    gap: 1rem;
}

.royal-product {
    --royal-category-color: var(--royal-yellow);
    position: relative;
    display: grid;
    grid-column: span 1;
    grid-row: span 1;
    grid-template-columns: 1fr;
    grid-template-rows: 132px minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--royal-line);
    border-radius: var(--radius-ui, 12px);
    background: var(--royal-panel);
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.royal-product,
.royal-product button,
.royal-product__content,
.royal-product__content * {
    cursor: pointer;
}

.royal-product button:disabled {
    cursor: not-allowed;
}

.royal-product[hidden] {
    display: none;
}

.royal-product--size-2x1 {
    grid-column: span 2;
    grid-row: span 1;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr;
}

.royal-product--size-2x2 {
    grid-column: span 2;
    grid-row: span 2;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 1.15fr) minmax(0, 0.85fr);
}

.royal-product:hover {
    z-index: 2;
    transform: translateY(-4px);
    border-color: var(--royal-category-color);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.royal-product__number {
    position: absolute;
    z-index: 3;
    top: 0.85rem;
    left: 0.85rem;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.royal-product__visual {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 100%;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-right: 0;
    border-bottom: 1px solid var(--royal-line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 58%),
        #0c0c0c;
}

.royal-product--size-2x1 .royal-product__visual {
    min-height: 100%;
    border-right: 1px solid var(--royal-line);
    border-bottom: 0;
}

.royal-product__image-box {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    width: min(58%, 190px);
    aspect-ratio: 1;
    place-items: center;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 34px rgba(250, 219, 10, 0.26)) drop-shadow(0 0 78px rgba(250, 219, 10, 0.12));
    filter:
        drop-shadow(0 0 34px color-mix(in srgb, var(--royal-category-color) 32%, transparent))
        drop-shadow(0 0 78px color-mix(in srgb, var(--royal-category-color) 16%, transparent));
    transition: transform 0.35s ease;
}

.royal-product__image-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.55));
}

.royal-product--size-1x1 .royal-product__image-box {
    width: min(42%, 88px);
}

.royal-product--size-2x1 .royal-product__image-box {
    width: min(62%, 190px);
}

.royal-product--size-2x2 .royal-product__visual {
    place-items: center;
}

.royal-product--size-2x2 .royal-product__image-box {
    width: min(38%, 220px);
}

.royal-product:hover .royal-product__image-box {
    transform: translate(-50%, -50%) scale(1.055) rotate(-1deg);
}

.royal-product__fallback {
    color: var(--royal-category-color);
    font-size: 3.4rem;
}

.royal-product__sale {
    position: absolute;
    z-index: 3;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.35rem 0.48rem;
    border-radius: var(--radius-ui, 12px);
    color: #fff;
    background: #aa0000;
    font-size: 0.68rem;
    font-weight: 900;
}

.royal-product__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1rem;
}

.royal-product--size-1x1 .royal-product__content > p {
    margin-bottom: 0.65rem;
    -webkit-line-clamp: 2;
}

.royal-product--size-2x1 .royal-product__content,
.royal-product--size-2x2 .royal-product__content {
    justify-content: center;
    padding: 1.6rem;
}

.royal-product__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--royal-category-color);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.royal-product__meta span:last-child {
    overflow: hidden;
    color: #646464;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.royal-product h3 {
    margin: 0.55rem 0 0.45rem;
    font-size: clamp(1.08rem, 2vw, 1.42rem);
    font-weight: 850;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.royal-product--size-2x1 h3,
.royal-product--size-2x2 h3 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.royal-product__content > p {
    display: -webkit-box;
    margin: 0 0 1rem;
    overflow: hidden;
    color: var(--royal-muted);
    font-size: 0.78rem;
    line-height: 1.52;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.royal-product--size-2x1 .royal-product__content > p,
.royal-product--size-2x2 .royal-product__content > p {
    max-width: 560px;
    font-size: 0.85rem;
    -webkit-line-clamp: 4;
}

.royal-product__purchase {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.royal-product__price {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.royal-product__price del {
    color: #686868;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.royal-product__price strong {
    color: var(--royal-cream);
    font-size: 1.5rem;
    line-height: 1;
    white-space: nowrap;
}

.royal-product--size-2x1 .royal-product__price strong,
.royal-product--size-2x2 .royal-product__price strong {
    font-size: 2rem;
}

.royal-product__price small {
    color: var(--royal-yellow);
    font-size: 0.7em;
}

.royal-product__price .royal-price-from {
    color: #aaa;
    font-size: 0.52em;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.royal-product__actions {
    display: flex;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
}

.royal-product__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.68rem 0.8rem;
    border: 1px solid rgba(250, 219, 10, 0.48);
    border-radius: var(--radius-ui, 12px);
    color: #090909;
    background: var(--royal-yellow);
    font-size: 0.74rem;
    font-weight: 800;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.royal-add-icon {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
}

.royal-add-icon::before,
.royal-add-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 0;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.royal-add-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.royal-add-icon.is-check::before {
    width: 7px;
    transform: translate(-62%, 2px) rotate(45deg);
}

.royal-add-icon.is-check::after {
    width: 12px;
    transform: translate(-25%, -1px) rotate(-45deg);
}

.royal-product__add:hover {
    color: #fff;
    background: var(--royal-green);
}

.royal-product__consult {
    border-color: var(--royal-category-color);
    color: var(--royal-category-color);
    background: #111;
    background: color-mix(in srgb, var(--royal-category-color) 10%, #090909);
}

.royal-product__consult:hover {
    border-color: var(--royal-category-color);
    color: #fff;
    background: #191919;
    background: color-mix(in srgb, var(--royal-category-color) 28%, #090909);
}

.royal-product__add:disabled {
    border-color: rgba(82, 172, 98, 0.45);
    color: #b9ddbf;
    background: rgba(82, 172, 98, 0.12);
    cursor: default;
}

.royal-product__add[hidden],
.royal-product__inline-cart[hidden] {
    display: none;
}

.royal-product__inline-cart {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: 34px;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid rgba(250, 219, 10, 0.48);
    border-color: color-mix(in srgb, var(--royal-category-color) 48%, transparent);
    border-radius: var(--radius-ui, 12px);
    background: #090909;
}

.royal-product__inline-cart button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: var(--radius-ui, 12px);
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    font-size: 1rem;
    font-weight: 850;
    line-height: 1;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.royal-product__inline-cart button:hover:not(:disabled) {
    color: #050505;
    background: var(--royal-green);
}

.royal-product__inline-cart button:disabled {
    color: #4f4f4f;
    cursor: not-allowed;
}

.royal-product__inline-cart strong {
    display: grid;
    min-width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    font-size: 0.78rem;
}

.royal-product__inline-cart.is-single {
    grid-auto-columns: auto 34px;
}

.royal-product__inline-status {
    padding: 0 0.55rem;
    color: var(--royal-category-color);
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.royal-product__inline-cart .royal-product__inline-remove:hover {
    color: #fff;
    background: #aa0000;
}

.royal-no-results {
    display: grid;
    min-height: 330px;
    place-items: center;
    align-content: center;
    padding: 2rem;
    border: 1px dashed rgba(250, 219, 10, 0.28);
    text-align: center;
}

.royal-no-results[hidden] {
    display: none;
}

.royal-no-results > span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(250, 219, 10, 0.36);
    border-radius: 50%;
    color: var(--royal-yellow);
    font-size: 1.5rem;
}

.royal-no-results h3 {
    margin-bottom: 0.35rem;
}

.royal-no-results p {
    max-width: 520px;
    margin: 0;
    color: var(--royal-muted);
}

.royal-catalog-count {
    margin-top: 1rem;
    color: #606060;
    font-size: 0.72rem;
    text-align: right;
}

.royal-shop-trust {
    border-top: 1px solid var(--royal-line);
    border-bottom: 1px solid var(--royal-line);
    background: #0d0d0d;
}

.royal-shop-trust__inner {
    display: grid;
    grid-template-columns: 0.9fr repeat(3, 1fr);
}

.royal-shop-trust__intro,
.royal-shop-trust__item {
    min-width: 0;
    padding: 1.5rem;
    border-right: 1px solid var(--royal-line);
}

.royal-shop-trust__intro {
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-left: 1px solid var(--royal-line);
}

.royal-shop-trust__intro span {
    color: var(--royal-yellow);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.royal-shop-trust__intro strong {
    max-width: 190px;
    margin-top: 0.4rem;
    font-size: 1.18rem;
    line-height: 1.2;
}

.royal-shop-trust__item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
}

.royal-shop-trust__item > i {
    color: var(--royal-yellow);
    font-size: 1.15rem;
}

.royal-shop-trust__item div {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.royal-shop-trust__item strong {
    font-size: 0.82rem;
    line-height: 1.3;
}

.royal-shop-trust__item span {
    color: #777;
    font-size: 0.7rem;
    line-height: 1.45;
}

.royal-shop-guide {
    padding: clamp(4rem, 8vw, 7rem) 0;
    border-top: 1px solid var(--royal-line);
    background: #070707;
}

.royal-shop-guide__inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.royal-shop-guide__steps {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--royal-line);
    list-style: none;
}

.royal-shop-guide__steps li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--royal-line);
}

.royal-shop-guide__steps b {
    color: var(--royal-yellow);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.royal-shop-guide__steps div {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.royal-shop-guide__steps strong {
    font-size: 1rem;
}

.royal-shop-guide__steps span {
    color: var(--royal-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.royal-floating-cart {
    position: fixed;
    z-index: 1035;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    display: grid;
    grid-template-columns: 48px auto;
    align-items: center;
    gap: 0.75rem;
    min-width: 156px;
    padding: 0.55rem 0.85rem 0.55rem 0.55rem;
    border: 1px solid rgba(250, 219, 10, 0.48);
    border-radius: var(--radius-ui, 12px);
    color: #fff;
    background: rgba(12, 12, 12, 0.94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.royal-floating-cart[hidden] {
    display: none;
}

.royal-floating-cart:hover {
    transform: translateY(-3px);
    border-color: var(--royal-yellow);
}

.royal-floating-cart__icon {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--royal-yellow) !important;
    background: transparent;
    border-right: 1px solid rgba(250, 219, 10, 0.22);
    font-size: 1.15rem;
}

.royal-floating-cart__icon .royal-cart-icon {
    color: inherit;
    stroke: currentColor;
}

.royal-floating-cart__icon b {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #0c0c0c;
    border-radius: 999px;
    color: #fff;
    background: #aa0000;
    font-size: 0.6rem;
}

.royal-floating-cart__total {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.royal-floating-cart__total small {
    color: #777;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.royal-floating-cart__total strong {
    margin-top: 0.1rem;
    color: #fff;
    font-size: 0.98rem;
    white-space: nowrap;
}

.royal-cart.offcanvas {
    --bs-offcanvas-width: min(460px, 100vw);
    color: #fff;
    background: #0c0c0c;
    border-left: 1px solid rgba(250, 219, 10, 0.25);
}

.royal-cart .offcanvas-header {
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 1px solid var(--royal-line);
}

.royal-cart .offcanvas-header span {
    color: var(--royal-yellow);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.royal-cart .offcanvas-title {
    margin: 0.25rem 0 0;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 900;
}

.royal-cart .offcanvas-body {
    padding: 1.5rem;
}

.royal-cart-buyer {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--royal-line);
    background: #121212;
}

.royal-cart-buyer__avatar {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    overflow: hidden;
    border: 0;
    background: transparent;
}

.royal-cart-player-face {
    display: block;
    image-rendering: pixelated;
}

.royal-cart-buyer > div:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.royal-cart-buyer span {
    color: #777;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.royal-cart-buyer strong {
    overflow: hidden;
    margin-top: 0.15rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.royal-cart-destination {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.85rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(82, 172, 98, 0.38);
    background: rgba(82, 172, 98, 0.065);
    box-shadow: inset 3px 0 0 var(--royal-green);
}

.royal-cart-destination[hidden] {
    display: none;
}

.royal-cart-destination__icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--royal-green);
    background: rgba(82, 172, 98, 0.1);
}

.royal-cart-destination__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.royal-cart-destination > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.royal-cart-destination span {
    color: #7f9e85;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.royal-cart-destination strong {
    margin: 0.12rem 0 0.18rem;
    color: #fff;
    font-size: 1rem;
}

.royal-cart-destination select {
    width: 100%;
    margin: 0.3rem 0 0.45rem;
    padding: 0.62rem 2rem 0.62rem 0.7rem;
    border: 1px solid rgba(82, 172, 98, 0.42);
    border-radius: var(--radius-ui, 12px);
    color: #fff;
    background-color: #0d130f;
    font-size: 0.82rem;
    font-weight: 750;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.royal-cart-destination select:hover,
.royal-cart-destination select:focus {
    border-color: var(--royal-green);
    box-shadow: 0 0 0 3px rgba(82, 172, 98, 0.1);
}

.royal-cart-destination select option {
    color: #fff;
    background: #101010;
}

.royal-cart-destination small {
    display: block;
    color: #738077;
    font-size: 0.67rem;
    line-height: 1.4;
}

.royal-cart-destination small.is-warning {
    color: #ff9b9b;
}

.royal-cart-empty {
    display: flex;
    min-height: 60vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.royal-cart-empty[hidden],
.royal-checkout[hidden] {
    display: none;
}

.royal-cart-empty__seal {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(250, 219, 10, 0.4);
    border-radius: 50%;
    color: var(--royal-yellow);
    font-size: 1.7rem;
}

.royal-cart-empty strong {
    font-size: 1.16rem;
}

.royal-cart-empty p {
    max-width: 270px;
    margin: 0.35rem 0 0;
    color: #777;
    font-size: 0.8rem;
}

.royal-cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.royal-cart-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem;
    border: 1px solid var(--royal-line);
    background: #141414;
}

.royal-cart-row__image {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    object-fit: contain;
    color: var(--royal-yellow);
    background: #090909;
}

.royal-cart-row__info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.royal-cart-row__info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.royal-cart-row__info span {
    margin-top: 0.25rem;
    color: #777;
    font-size: 0.68rem;
}

.royal-cart-row__quantity {
    display: grid;
    grid-template-columns: 28px 25px 28px;
    align-items: center;
    text-align: center;
}

.royal-cart-row__quantity button {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--royal-line);
    border-radius: var(--radius-ui, 12px);
    color: #fff;
    background: #202020;
}

.royal-cart-row__quantity button:hover {
    color: #050505;
    background: var(--royal-yellow);
}

.royal-cart-row__quantity button:disabled {
    color: #555;
    background: #171717;
    cursor: not-allowed;
}

.royal-cart-row__quantity.is-single {
    display: flex;
    justify-content: flex-end;
}

.royal-cart-row__quantity.is-single button {
    border-color: rgba(170, 0, 0, 0.35);
    color: #ff9b9b;
}

.royal-product-modal .royal-product-modal__footer button:disabled {
    color: #aaa !important;
    background: #292929 !important;
    cursor: default;
}

.royal-checkout {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--royal-line);
}

.royal-gift-toggle {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid var(--royal-line);
    cursor: pointer;
    background: #121212;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.royal-gift-toggle:hover,
.royal-gift-toggle:has(input:checked) {
    border-color: rgba(250, 219, 10, 0.5);
    background: rgba(250, 219, 10, 0.055);
}

.royal-gift-toggle > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.royal-gift-toggle__box {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(250, 219, 10, 0.28);
    color: var(--royal-yellow);
    background: #0a0a0a;
}

.royal-gift-toggle:has(input:checked) .royal-gift-toggle__box {
    color: #050505;
    background: var(--royal-yellow);
}

.royal-gift-toggle > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.2rem;
}

.royal-gift-toggle strong {
    font-size: 0.76rem;
}

.royal-gift-toggle small {
    color: #777;
    font-size: 0.68rem;
}

.royal-checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.royal-checkout-field > span {
    color: #bbb;
    font-size: 0.72rem;
    font-weight: 750;
}

.royal-checkout-field small {
    color: #666;
    font-weight: 500;
}

.royal-checkout-field input {
    width: 100%;
    padding: 0.78rem;
    border: 1px solid var(--royal-line);
    border-radius: var(--radius-ui, 12px);
    outline: 0;
    color: #fff;
    background: #151515;
}

.royal-checkout-field input:focus {
    border-color: rgba(250, 219, 10, 0.6);
    box-shadow: 0 0 0 3px rgba(250, 219, 10, 0.06);
}

.royal-checkout-field input[readonly] {
    color: #999;
    background: #101010;
}

.royal-checkout-total {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 1.2rem 0;
}

.royal-checkout-total span {
    color: #777;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.royal-checkout-total strong {
    font-size: 1.55rem;
}

.royal-checkout-submit,
.royal-product-modal__footer button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: var(--radius-ui, 12px);
    color: #050505;
    background: var(--royal-yellow);
    font-weight: 850;
}

.royal-checkout-submit:hover,
.royal-product-modal__footer button:hover {
    background: var(--royal-green);
}

.royal-checkout > p {
    margin: 0.7rem 0 0;
    color: #666;
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: center;
}

.royal-product-modal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 1120px;
}

.royal-product-modal .modal-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.42fr);
    height: min(680px, calc(100vh - 2rem)) !important;
    height: min(680px, calc(100dvh - 2rem)) !important;
    min-height: 0 !important;
    max-height: calc(100vh - 2rem) !important;
    max-height: calc(100dvh - 2rem) !important;
    overflow: hidden !important;
    border: 1px solid rgba(250, 219, 10, 0.32);
    border-radius: var(--radius-ui, 12px);
    color: #fff !important;
    background: #111;
}

.royal-product-modal .btn-close,
.royal-consultation-modal .btn-close {
    position: absolute;
    z-index: 3;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-ui, 12px);
    background: rgba(255, 255, 255, 0.06) !important;
    filter: none;
    opacity: 1;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.royal-product-modal .btn-close::before,
.royal-product-modal .btn-close::after,
.royal-consultation-modal .btn-close::before,
.royal-consultation-modal .btn-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 2px;
    border-radius: 0;
    background: #fff;
    transition: background-color 0.18s ease;
}

.royal-product-modal .btn-close::before,
.royal-consultation-modal .btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.royal-product-modal .btn-close::after,
.royal-consultation-modal .btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.royal-product-modal .btn-close:hover,
.royal-consultation-modal .btn-close:hover {
    background: rgba(170, 0, 0, 0.14) !important;
    transform: scale(1.06);
}

.royal-product-modal .btn-close:hover::before,
.royal-product-modal .btn-close:hover::after,
.royal-consultation-modal .btn-close:hover::before,
.royal-consultation-modal .btn-close:hover::after {
    background: #ff3434;
}

.royal-product-modal__visual {
    display: grid;
    min-height: 340px;
    place-items: center;
    padding: 1.5rem;
    border-right: 1px solid var(--royal-line);
    background: #090909;
}

.royal-product-modal__visual img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 45px rgba(250, 219, 10, 0.28)) drop-shadow(0 0 95px rgba(250, 219, 10, 0.13));
    filter:
        drop-shadow(0 0 45px color-mix(in srgb, var(--royal-category-color) 36%, transparent))
        drop-shadow(0 0 95px color-mix(in srgb, var(--royal-category-color) 18%, transparent));
}

.royal-product-modal__visual img[hidden] {
    display: none;
}

.royal-product-modal__content {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 3.25rem 3rem 2.5rem;
}

.royal-product-modal__content > span {
    color: var(--royal-category-color);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.royal-product-modal__content h2 {
    margin: 0.5rem 0 0.8rem;
    color: #fff !important;
    font-size: 1.8rem;
    font-weight: 900;
}

.royal-product-modal__content > p {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto !important;
    padding-right: 0.75rem;
    color: #999;
    font-size: 0.94rem;
    line-height: 1.72;
    scrollbar-color: var(--royal-category-color) #1b1b1b;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    overscroll-behavior: contain;
    white-space: pre-line;
}

.royal-product-modal__content > p::-webkit-scrollbar {
    width: 8px;
}

.royal-product-modal__content > p::-webkit-scrollbar-track {
    border-radius: var(--radius-ui, 12px);
    background: #1b1b1b;
}

.royal-product-modal__content > p::-webkit-scrollbar-thumb {
    border: 2px solid #1b1b1b;
    border-radius: var(--radius-ui, 12px);
    background: var(--royal-category-color);
}

.royal-product-modal__content > p::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

.royal-product-modal__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.royal-product-modal .royal-product-modal__footer button {
    border: 1px solid rgba(250, 219, 10, 0.62) !important;
    color: #fff !important;
    background: rgba(250, 219, 10, 0.09) !important;
}

.royal-product-modal .royal-product-modal__footer button:hover {
    border-color: var(--royal-green) !important;
    color: var(--royal-green) !important;
    background: rgba(82, 172, 98, 0.1) !important;
}

.royal-product-modal__footer strong {
    flex: 0 0 auto;
    font-size: 1.7rem;
}

.royal-product-modal__footer button {
    width: auto;
    flex: 1;
}

.royal-consultation-modal {
    overflow: hidden !important;
    padding: 1rem !important;
}

.royal-consultation-modal .modal-dialog {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 1040px;
    max-height: 100%;
    margin: 0 auto !important;
}

.royal-consultation-modal .modal-content {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: min(760px, 100%);
    min-height: 0;
    max-height: 100% !important;
    overflow: hidden;
    border: 1px solid rgba(250, 219, 10, 0.38);
    border-color: color-mix(in srgb, var(--royal-category-color, var(--royal-yellow)) 48%, transparent);
    border-radius: var(--radius-ui, 12px);
    color: #fff !important;
    background: #0e0e0e;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.65);
}

.royal-consultation-modal .modal-content::after {
    content: "";
    position: absolute;
    right: -15%;
    bottom: -45%;
    width: 360px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--royal-category-color, var(--royal-yellow));
    filter: blur(130px);
    opacity: 0.08;
    pointer-events: none;
}

.royal-consultation-modal__product-view,
.royal-consultation-modal__agreement {
    position: relative;
    z-index: 1;
}

.royal-consultation-modal__product-view {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    min-height: 0;
    overflow: hidden;
}

.royal-consultation-modal__visual {
    display: grid;
    min-height: 0;
    place-items: center;
    padding: 2rem;
    border-right: 1px solid var(--royal-line);
    background:
        radial-gradient(circle at center, color-mix(in srgb, var(--royal-category-color, var(--royal-yellow)) 11%, transparent), transparent 56%),
        #090909;
}

.royal-consultation-modal__visual img {
    width: min(100%, 300px);
    max-height: 285px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 52px color-mix(in srgb, var(--royal-category-color, var(--royal-yellow)) 34%, transparent))
        drop-shadow(0 0 105px color-mix(in srgb, var(--royal-category-color, var(--royal-yellow)) 15%, transparent));
}

.royal-consultation-modal__visual > i {
    color: var(--royal-category-color, var(--royal-yellow));
    font-size: 4rem;
    opacity: 0.35;
}

.royal-consultation-modal__visual [hidden] {
    display: none !important;
}

.royal-consultation-modal__product-copy {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 2.75rem 3rem 2rem;
}

.royal-consultation-modal__kicker {
    color: var(--royal-category-color, var(--royal-yellow));
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.royal-consultation-modal h2 {
    max-width: 560px;
    margin: 0.55rem 3rem 0.75rem 0;
    color: #fff !important;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.royal-consultation-modal__description {
    min-height: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 0.7rem;
    color: #aaa;
    font-size: 0.88rem;
    line-height: 1.68;
    scrollbar-color: var(--royal-category-color, var(--royal-yellow)) #1b1b1b;
    scrollbar-width: thin;
    white-space: pre-line;
}

.royal-consultation-modal__description::-webkit-scrollbar {
    width: 7px;
}

.royal-consultation-modal__description::-webkit-scrollbar-track {
    background: #1b1b1b;
}

.royal-consultation-modal__description::-webkit-scrollbar-thumb {
    border: 2px solid #1b1b1b;
    border-radius: var(--radius-ui, 12px);
    background: var(--royal-category-color, var(--royal-yellow));
}

.royal-consultation-modal__price {
    margin-top: 1rem;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 900;
}

.royal-consultation-modal__agreement {
    padding: 1.4rem 2rem 1.6rem;
    border-top: 1px solid var(--royal-line);
    background: rgba(255, 255, 255, 0.018);
}

.royal-consultation-modal__agreement-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
}

.royal-consultation-modal__agreement-head > div:first-child > span {
    color: var(--royal-category-color, var(--royal-yellow));
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.royal-consultation-modal__agreement h3 {
    margin: 0.25rem 0 0.3rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 850;
}

.royal-consultation-modal__agreement-head p {
    max-width: 620px;
    margin: 0;
    color: #747474;
    font-size: 0.73rem;
    line-height: 1.5;
}

.royal-consultation-modal__documents {
    display: flex;
    gap: 0.55rem;
}

.royal-consultation-modal__documents a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-ui, 12px);
    color: #d8d8d8;
    font-size: 0.67rem;
    font-weight: 800;
    white-space: nowrap;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.royal-consultation-modal__documents a:hover {
    border-color: var(--royal-category-color, var(--royal-yellow));
    color: var(--royal-category-color, var(--royal-yellow));
}

.royal-consultation-modal__consent {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-ui, 12px);
    color: #d7d7d7;
    background: #121212;
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.45;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.royal-consultation-modal__consent:hover,
.royal-consultation-modal__consent:has(input:focus-visible) {
    border-color: color-mix(in srgb, var(--royal-category-color, var(--royal-yellow)) 65%, transparent);
    background: color-mix(in srgb, var(--royal-category-color, var(--royal-yellow)) 5%, #121212);
}

.royal-consultation-modal__consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.royal-consultation-modal__check {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid #4a4a4a;
    border-radius: var(--radius-ui, 12px);
    color: #080808;
    background: #181818;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.royal-consultation-modal__check i {
    opacity: 0;
    transform: scale(0.65);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.royal-consultation-modal__consent input:checked + .royal-consultation-modal__check {
    border-color: var(--royal-category-color, var(--royal-yellow));
    background: var(--royal-category-color, var(--royal-yellow));
}

.royal-consultation-modal__consent input:checked + .royal-consultation-modal__check i {
    opacity: 1;
    transform: scale(1);
}

.royal-consultation-modal__consent a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--royal-category-color, var(--royal-yellow)) 60%, transparent);
    text-underline-offset: 3px;
}

.royal-consultation-modal__consent a:hover {
    color: var(--royal-category-color, var(--royal-yellow));
}

.royal-consultation-modal__consent small {
    display: block;
    margin-top: 0.2rem;
    color: #5f5f5f;
    font-size: 0.62rem;
}

.royal-consultation-modal__status {
    min-height: 1.15rem;
    margin-top: 0.65rem;
    color: #686868;
    font-size: 0.68rem;
}

.royal-consultation-modal__status.is-loading {
    color: var(--royal-category-color, var(--royal-yellow));
}

.royal-consultation-modal__status.is-ready {
    color: var(--royal-green);
}

.royal-consultation-modal__status.is-error {
    color: #ff6a6a;
}

.royal-consultation-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.7rem;
}

.royal-consultation-modal__actions[hidden] {
    display: none !important;
}

.royal-consultation-modal__actions a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-ui, 12px);
    color: #fff;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.78rem;
    font-weight: 820;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.royal-consultation-modal__actions a svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.royal-consultation-modal__actions a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.royal-consultation-modal__telegram:hover {
    border-color: #2aabee !important;
    background: rgba(42, 171, 238, 0.14) !important;
}

.royal-consultation-modal__discord:hover {
    border-color: #5865f2 !important;
    background: rgba(88, 101, 242, 0.16) !important;
}

@media (max-height: 760px) and (min-width: 768px) {
    .royal-consultation-modal__product-copy {
        padding-top: 2rem;
        padding-bottom: 1.4rem;
    }

    .royal-consultation-modal__agreement {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .royal-consultation-modal__consent {
        margin-top: 0.7rem;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }
}

@keyframes royalCartPulse {
    50% { transform: scale(1.12); }
}

.royal-shop-result {
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: 7rem 1rem 3rem;
    background:
        radial-gradient(circle at 50% 35%, rgba(82, 172, 98, 0.09), transparent 28rem),
        #070707;
}

.royal-shop-result__panel {
    width: min(100%, 680px);
    padding: clamp(1.6rem, 5vw, 3.5rem);
    border: 1px solid rgba(82, 172, 98, 0.4);
    border-radius: var(--radius-ui, 12px);
    background: #111;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.royal-shop-result__mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    color: #050505;
    background: var(--royal-green);
    font-size: 1.5rem;
    font-weight: 900;
}

.royal-shop-result h1 {
    margin: 1rem 0;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.royal-shop-result p {
    max-width: 560px;
    margin: 0;
    color: var(--royal-muted);
    line-height: 1.7;
}

.royal-shop-result__actions {
    display: flex;
    align-items: center;
    gap: 1rem 1.4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.royal-shop-result__actions a {
    font-weight: 800;
}

.royal-shop-result__actions .royal-shop-result__primary {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-ui, 12px);
    color: #050505;
    background: var(--royal-yellow);
}

.royal-shop-result__actions .royal-shop-result__primary:hover {
    color: #fff;
    background: var(--royal-green);
}

@media (max-width: 1199.98px) {
    .royal-shop-hero__inner {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 3rem;
    }

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

    .royal-shop-trust__intro,
    .royal-shop-trust__item {
        border-bottom: 1px solid var(--royal-line);
    }
}

@media (max-width: 991.98px) {
    .royal-shop-hero {
        min-height: 50svh;
        padding-top: 6.75rem;
    }

    .royal-shop-hero__image {
        right: -20%;
        width: 90vw;
        opacity: 0.42;
    }

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

    .royal-shop-account {
        max-width: 430px;
        margin-top: 0;
    }

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

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

@media (max-width: 767.98px) {
    .royal-shop-hero__image {
        right: -48%;
        width: 130vw;
        mask-image: linear-gradient(90deg, transparent, #000 45%);
    }

    .royal-shop-account {
        display: none;
    }

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

    .royal-shop-trust__intro,
    .royal-shop-trust__item {
        border-left: 1px solid var(--royal-line);
    }

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

    .royal-catalog-actions {
        width: 100%;
    }

    .royal-shop-search {
        width: auto;
        flex: 1 1 auto;
    }

    .royal-product-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 270px;
        gap: 0.65rem;
    }

    .royal-product {
        grid-column: span 1;
        grid-row: span 1;
        grid-template-columns: 1fr;
        grid-template-rows: 110px minmax(0, 1fr);
        min-height: 0;
    }

    .royal-product--size-2x1 {
        grid-column: span 2;
        grid-row: span 1;
        grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
        grid-template-rows: 1fr;
    }

    .royal-product--size-2x2 {
        grid-column: span 2;
        grid-row: span 2;
        grid-template-columns: 1fr;
        grid-template-rows: 270px minmax(0, 1fr);
    }

    .royal-product__visual {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--royal-line);
    }

    .royal-product--size-2x1 .royal-product__visual {
        border-right: 1px solid var(--royal-line);
        border-bottom: 0;
    }

    .royal-product-modal .modal-content {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(150px, 0.65fr) minmax(0, 1.35fr);
        height: calc(100vh - 2rem);
        height: calc(100dvh - 2rem);
        min-height: 0;
        max-height: calc(100vh - 2rem);
        max-height: calc(100dvh - 2rem);
        overflow: hidden;
    }

    .royal-product-modal__visual {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--royal-line);
    }

    .royal-product-modal__visual img {
        max-height: 180px;
    }

    .royal-product-modal__content {
        min-height: 0;
        overflow: hidden;
    }

    .royal-product-modal__content > p {
        min-height: 0;
        max-height: 100%;
        overflow-y: scroll;
    }

    .royal-consultation-modal__product-view {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(135px, 0.55fr) minmax(0, 1.45fr);
    }

    .royal-consultation-modal__visual {
        border-right: 0;
        border-bottom: 1px solid var(--royal-line);
    }

    .royal-consultation-modal__visual img {
        max-height: 150px;
    }

    .royal-consultation-modal__product-copy {
        padding: 1.6rem 1.5rem 1.25rem;
    }

    .royal-consultation-modal__agreement-head {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .royal-consultation-modal__documents {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .royal-consultation-modal__documents a {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .royal-shop-hero,
    .royal-catalog,
    .royal-shop-guide {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .royal-shop-hero {
        padding-top: 6.25rem;
        padding-bottom: 2.25rem;
    }

    .royal-shop-hero h1 {
        font-size: clamp(2.2rem, 11.5vw, 3.35rem);
    }

    .royal-shop-hero__copy > p {
        font-size: 0.92rem;
    }

    .royal-consultation-modal {
        padding: 0.45rem !important;
    }

    .royal-consultation-modal .modal-content {
        height: 100%;
    }

    .royal-consultation-modal h2 {
        margin-right: 2.5rem;
        font-size: 1.5rem;
    }

    .royal-consultation-modal__product-view {
        grid-template-rows: 112px minmax(0, 1fr);
    }

    .royal-consultation-modal__visual {
        padding: 0.75rem;
    }

    .royal-consultation-modal__visual img {
        max-height: 96px;
    }

    .royal-consultation-modal__product-copy {
        padding: 1.25rem 1rem 0.9rem;
    }

    .royal-consultation-modal__description {
        font-size: 0.79rem;
        line-height: 1.55;
    }

    .royal-consultation-modal__price {
        margin-top: 0.65rem;
        font-size: 1.35rem;
    }

    .royal-consultation-modal__agreement {
        padding: 0.85rem 1rem 1rem;
    }

    .royal-consultation-modal__agreement-head p {
        display: none;
    }

    .royal-consultation-modal__documents a {
        min-height: 36px;
        padding: 0.5rem 0.35rem;
        font-size: 0.61rem;
    }

    .royal-consultation-modal__consent {
        margin-top: 0.7rem;
        padding: 0.7rem;
        font-size: 0.7rem;
    }

    .royal-consultation-modal__actions {
        grid-template-columns: 1fr;
    }

    .royal-consultation-modal__actions a {
        min-height: 43px;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .royal-shop-account {
        grid-template-columns: 56px minmax(0, 1fr) 38px;
        gap: 0.7rem;
        padding: 0.75rem;
    }

    .royal-shop-account__avatar {
        width: 56px;
        height: 56px;
    }

    .royal-shop-player-face {
        width: 52px;
        height: 52px;
    }

    .royal-cart-trigger {
        width: 38px;
        height: 38px;
    }

    .royal-shop-account__text small {
        display: none;
    }

    .royal-catalog-cart {
        width: 100%;
    }

    .royal-catalog-actions {
        flex-direction: column;
    }

    .royal-product__purchase {
        gap: 0.4rem;
    }

    .royal-product--size-1x1 .royal-product__content {
        padding: 0.7rem;
    }

    .royal-product--size-1x1 .royal-product__meta span:last-child,
    .royal-product--size-1x1 .royal-product__content > p {
        display: none;
    }

    .royal-product--size-1x1 h3 {
        margin: 0.4rem 0;
        font-size: 0.9rem;
        line-height: 1.08;
    }

    .royal-product--size-1x1 .royal-product__price strong {
        font-size: 1.2rem;
    }

    .royal-product--size-1x1 .royal-product__purchase {
        align-items: stretch;
        flex-direction: column;
    }

    .royal-product--size-1x1 .royal-product__add {
        width: 100%;
        min-height: 32px;
        padding: 0.42rem 0.35rem;
        font-size: 0.62rem;
    }

    .royal-product--size-1x1 .royal-product__actions,
    .royal-product--size-1x1 .royal-product__inline-cart {
        width: 100%;
    }

    .royal-product--size-1x1 .royal-product__inline-cart:not(.is-single) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-flow: initial;
        grid-auto-columns: initial;
    }

    .royal-product--size-1x1 .royal-product__inline-cart button,
    .royal-product--size-1x1 .royal-product__inline-cart strong {
        width: 100%;
        min-width: 0;
    }

    .royal-product--size-1x1 .royal-product__inline-cart.is-single {
        grid-template-columns: minmax(0, 1fr) 34px;
        grid-auto-flow: initial;
        grid-auto-columns: initial;
    }

    .royal-product--size-1x1 .royal-product__add-label {
        display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .royal-product--size-2x1 .royal-product__content,
    .royal-product--size-2x2 .royal-product__content {
        padding: 0.9rem;
    }

    .royal-product--size-2x1 h3,
    .royal-product--size-2x2 h3 {
        font-size: 1.2rem;
    }

    .royal-product--size-2x1 .royal-product__content > p {
        margin-bottom: 0.5rem;
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
    }

    .royal-product--size-2x1 .royal-product__purchase {
        align-items: stretch;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .royal-product--size-2x1 .royal-product__actions,
    .royal-product--size-2x1 .royal-product__add,
    .royal-product--size-2x1 .royal-product__inline-cart {
        width: 100%;
    }

    .royal-product-modal__content {
        padding: 1.35rem;
    }

    .royal-product-modal__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .royal-product-modal__footer button {
        width: 100%;
    }

    .royal-cart-row {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .royal-cart-row__image {
        width: 52px;
        height: 52px;
    }

    .royal-cart-row__quantity {
        grid-column: 2;
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .royal-product,
    .royal-product__image-box,
    .royal-shop-hero__action {
        transition: none;
    }

    .royal-cart-trigger.is-pulsing {
        animation: none;
    }
}
