﻿.store-username-display {
    background: var(--oasis-bg);
    padding-top: 80px;
}

/* In-catalog sponsorship experience */
.store-donation {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    overflow: hidden;
    margin-top: var(--space-8);
    background:
        linear-gradient(135deg, rgba(14, 63, 40, .18), transparent 46%),
        color-mix(in srgb, var(--oasis-card) 88%, #061b11);
    border: 1px solid color-mix(in srgb, #22c55e 28%, var(--oasis-border));
    border-radius: clamp(1rem, 2vw, 1.6rem);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
    animation: donationReveal .42s ease-out;
}

.store-donation-story {
    position: relative;
    display: grid;
    grid-template-rows: minmax(280px, 1fr) auto;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.6rem);
    overflow: hidden;
    border-right: 1px solid color-mix(in srgb, #22c55e 18%, var(--oasis-border));
}

.store-donation-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    top: -240px;
    left: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, .2), rgba(16, 185, 129, .05) 45%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}

.store-donation-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 280px;
}

.store-donation-art::before {
    content: '';
    position: absolute;
    width: min(70%, 330px);
    height: 42px;
    bottom: 34px;
    border-radius: 50%;
    background: rgba(0, 255, 128, .19);
    filter: blur(18px);
}

.store-donation-emerald {
    position: relative;
    z-index: 2;
    width: clamp(210px, 30vw, 360px);
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .4)) drop-shadow(0 0 30px rgba(34, 197, 94, .2));
    animation: emeraldFloat 4.8s ease-in-out infinite;
}

.store-donation-orbit {
    position: absolute;
    border: 1px solid rgba(74, 222, 128, .16);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.store-donation-orbit.orbit-one { width: 360px; height: 185px; }
.store-donation-orbit.orbit-two { width: 270px; height: 330px; transform: rotate(38deg); }

.store-donation-art-label {
    position: absolute;
    z-index: 3;
    right: clamp(.25rem, 2vw, 1.5rem);
    bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .8rem;
    color: #bbf7d0;
    background: rgba(5, 46, 22, .72);
    border: 1px solid rgba(74, 222, 128, .28);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.store-donation-copy { position: relative; z-index: 2; }
.store-donation-eyebrow,
.store-donation-form-kicker {
    color: #4ade80;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.store-donation-eyebrow i { margin-right: .35rem; }
.store-donation-copy h3 {
    max-width: 580px;
    margin: .65rem 0 .8rem;
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.8rem);
    line-height: 1;
    letter-spacing: -.04em;
}
.store-donation-copy > p {
    max-width: 620px;
    margin: 0;
    color: var(--oasis-text-secondary);
    font-size: .96rem;
    line-height: 1.75;
}

.store-donation-impact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1.3rem;
}
.store-donation-impact span {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
    padding: .8rem;
    color: var(--oasis-text-secondary);
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: .8rem;
    font-size: .75rem;
}
.store-donation-impact i { color: #4ade80; margin-bottom: .25rem; }
.store-donation-impact b { color: var(--oasis-text); font-size: .82rem; }
.store-donation-copy .store-donation-note {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
    color: color-mix(in srgb, var(--oasis-text-secondary) 78%, transparent);
    font-size: .72rem;
    line-height: 1.5;
}
.store-donation-note i { color: #4ade80; margin-top: .15rem; }

.store-donation-form {
    align-self: stretch;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: color-mix(in srgb, var(--oasis-bg) 50%, transparent);
}
.store-donation-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.store-donation-form-header h4 {
    margin: .3rem 0 0;
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: 1.65rem;
}
.store-donation-secure {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .65rem;
    color: #86efac;
    background: rgba(34, 197, 94, .09);
    border: 1px solid rgba(74, 222, 128, .2);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
}
.store-donation-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .55rem;
    margin-bottom: 1.25rem;
}
.store-donation-presets button {
    min-height: 3rem;
    color: var(--oasis-text);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--oasis-border);
    border-radius: .75rem;
    font-size: 1rem;
    font-weight: 850;
    cursor: pointer;
    transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}
.store-donation-presets button span { color: #4ade80; margin-right: .08rem; }
.store-donation-presets button:hover,
.store-donation-presets button.is-selected {
    color: #dcfce7;
    background: rgba(34, 197, 94, .11);
    border-color: rgba(74, 222, 128, .65);
    transform: translateY(-2px);
}
.store-donation-label {
    display: block;
    margin: 0 0 .48rem;
    color: var(--oasis-text);
    font-size: .79rem;
    font-weight: 750;
}
.store-donation-amount {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    min-height: 4.4rem;
    padding: .45rem 1rem;
    background: color-mix(in srgb, var(--oasis-bg) 72%, transparent);
    border: 1px solid var(--oasis-border);
    border-radius: .9rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.store-donation-amount:focus-within,
.store-donation-input-wrap:focus-within {
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .09);
}
.store-donation-currency { color: #4ade80; font-size: 1.55rem; font-weight: 900; }
.store-donation-code { color: var(--oasis-text-secondary); font-size: .7rem; font-weight: 800; }
.store-donation-amount input {
    min-width: 0;
    width: 100%;
    color: var(--oasis-text);
    background: transparent;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    -webkit-appearance: none;
    appearance: none;
}
.store-donation-amount input::-webkit-inner-spin-button,
.store-donation-amount input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.store-donation-range {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: .45rem .15rem 1.2rem;
    color: var(--oasis-text-secondary);
    font-size: .67rem;
}
.store-donation-input-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .65rem;
    border: 1px solid var(--oasis-border);
    border-radius: .8rem;
    background: color-mix(in srgb, var(--oasis-bg) 72%, transparent);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.store-donation-input-wrap i { padding-left: .9rem; color: #4ade80; }
.store-donation-input-wrap input {
    min-width: 0;
    width: 100%;
    padding: .85rem .9rem .85rem 0;
    color: var(--oasis-text);
    background: transparent;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.store-donation-amount.is-invalid,
.store-donation-input-wrap.is-invalid {
    border-color: #f87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, .1);
}
.store-donation-validation {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: -.72rem 0 1rem;
    padding: .65rem .75rem;
    color: #fecaca;
    background: linear-gradient(135deg, rgba(239, 68, 68, .13), rgba(127, 29, 29, .08));
    border: 1px solid rgba(248, 113, 113, .26);
    border-radius: .7rem;
    font-size: .73rem;
    font-weight: 650;
    animation: donationValidationIn .18s ease-out;
}
.store-donation-validation[hidden] { display: none; }
.store-donation-validation i { flex: 0 0 auto; color: #fb7185; }
.store-donation-input-wrap + .store-donation-validation { margin: .5rem 0 0; }
.store-donation-gateways {
    min-width: 0;
    margin: 1.2rem 0;
    padding: 0;
    border: 0;
}
.store-donation-gateways .payment-gateway-label { width: 100%; margin-bottom: .65rem; }
.store-donation-gateways .payment-gateway-options { gap: .65rem; }
.store-donation-gateways .payment-gateway-option {
    min-width: 0;
    padding: .85rem;
    background: color-mix(in srgb, var(--oasis-bg) 70%, transparent);
    border-width: 1px;
    border-radius: .9rem;
}
.store-donation-gateways .payment-gateway-option.selected {
    background: color-mix(in srgb, var(--oasis-primary) 10%, var(--oasis-bg));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--oasis-primary) 9%, transparent);
}
.store-donation-gateways .payment-gateway-radio { width: 1.15rem; height: 1.15rem; margin-right: .7rem; border-width: 1px; }
.store-donation-gateways .payment-gateway-icon { width: 2.55rem; height: 2.55rem; margin-right: .75rem; border-radius: .75rem; font-size: 1.25rem; }
.store-donation-gateways .payment-gateway-info,
.store-donation-gateways .payment-gateway-name,
.store-donation-gateways .payment-gateway-desc,
.store-donation-gateways .payment-gateway-cards { display: block; }
.store-donation-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 3.5rem;
    padding: .9rem 1.15rem;
    color: #03220f;
    background: linear-gradient(135deg, #4ade80, #22c55e 58%, #16a34a);
    border: 0;
    border-radius: .85rem;
    font-size: .88rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(34, 197, 94, .17);
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.store-donation-submit:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 40px rgba(34, 197, 94, .24); }
.store-donation-submit:disabled { cursor: wait; opacity: .76; transform: none; }
.store-donation-form-footer {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: .9rem;
    color: var(--oasis-text-secondary);
    font-size: .65rem;
}
.store-donation-form-footer i { color: #4ade80; margin-right: .25rem; }
.store-donation-error { display: block; margin: -.75rem 0 1rem; color: #fca5a5; font-size: .75rem; }
.store-donation-alert { margin-bottom: 1rem; padding: .75rem .85rem; color: #fecaca; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .22); border-radius: .75rem; font-size: .78rem; }

body.light-mode .store-donation {
    background: linear-gradient(135deg, rgba(220, 252, 231, .7), rgba(255, 255, 255, .94));
    border-color: rgba(22, 163, 74, .3);
}
body.light-mode .store-donation-story { border-right-color: rgba(22, 163, 74, .2); }
body.light-mode .store-donation-copy h3,
body.light-mode .store-donation-form-header h4,
body.light-mode .store-donation-label,
body.light-mode .store-donation-amount input,
body.light-mode .store-donation-input-wrap input,
body.light-mode .store-donation-impact b,
body.light-mode .store-donation-presets button { color: var(--oasis-text-light); }
body.light-mode .store-donation-form { background: rgba(255, 255, 255, .56); }
body.light-mode .store-donation-amount,
body.light-mode .store-donation-input-wrap,
body.light-mode .store-donation-presets button { background: rgba(255, 255, 255, .72); border-color: rgba(22, 101, 52, .18); }

@keyframes emeraldFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes donationReveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes donationValidationIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    .store-donation { grid-template-columns: 1fr; }
    .store-donation-story { grid-template-columns: minmax(220px, .72fr) 1fr; grid-template-rows: 1fr; align-items: center; border-right: 0; border-bottom: 1px solid color-mix(in srgb, #22c55e 18%, var(--oasis-border)); }
    .store-donation-art { min-height: 250px; }
    .store-donation-emerald { width: clamp(190px, 33vw, 290px); }
}

@media (max-width: 680px) {
    .store-donation-story { grid-template-columns: 1fr; }
    .store-donation-art { min-height: 220px; }
    .store-donation-impact { grid-template-columns: 1fr 1fr 1fr; }
    .store-donation-art-label { right: 0; }
}

@media (max-width: 480px) {
    .store-donation-presets { grid-template-columns: repeat(2, 1fr); }
    .store-donation-impact { grid-template-columns: 1fr; }
    .store-donation-impact span { flex-direction: row; align-items: center; }
    .store-donation-impact i { margin: 0; }
    .store-donation-form-footer { flex-direction: column; align-items: center; gap: .35rem; }
}

body.light-mode .store-username-display {
    background: var(--oasis-bg-light);
}

.store-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(80px + clamp(2rem, 7vh, 5rem)) 0 clamp(2.5rem, 7vh, 5rem);
    background-image: url('../../images/shop_login_bg.jpg');

    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.container {
    max-width: 1600px;
}
a {
    text-decoration: none;
}
.store-login-container .container {
    width: 100%;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
    z-index: 2;
}

.store-login-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 42%, rgba(245, 158, 11, 0.22), transparent 34%),
        linear-gradient(90deg, rgba(12, 10, 8, 0.82) 0%, rgba(18, 14, 10, 0.48) 54%, rgba(12, 10, 8, 0.72) 100%),
        linear-gradient(180deg, rgba(10, 8, 6, 0.16), rgba(10, 8, 6, 0.5));
    pointer-events: none;
}

.store-login-container::after {
    content: '';
    position: absolute;
    width: min(48vw, 760px);
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(245, 158, 11, 0.12);
    border-radius: 50%;
    transform: translate(-8%, -48%);
    box-shadow: 0 0 120px rgba(245, 158, 11, 0.08), inset 0 0 120px rgba(245, 158, 11, 0.04);
    pointer-events: none;
}

body.light-mode .store-login-container {
    background-image: url('../../images/shop_login_bg.jpg');
    background-size: cover;
    background-position: center;
}

body.light-mode .store-login-container::before {
    opacity: 1;
    background:
    radial-gradient(circle at 68% 32%, rgba(255, 177, 35, 0.24), transparent 32%),
    radial-gradient(circle at 30% 80%, rgba(33, 122, 91, 0.12), transparent 28%),
    linear-gradient(135deg, #fff4d9, #ead09a);
}

.store-header .container {
    width: fit-content;
    
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.store-login-box {
    width: min(100%, 1080px);
    margin: 0 auto;
    text-align: left;
}

.store-login-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    overflow: hidden;
    background: rgba(27, 23, 19, 0.88);
    border: 1px solid rgba(255, 248, 231, 0.13);
    border-radius: 1.5rem;
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(245, 158, 11, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: storeLoginReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
/*
.store-login-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--oasis-primary-soft), var(--oasis-accent-sun), transparent 90%);
    z-index: 2;
}
*/
body.light-mode .store-login-card {
    background: rgba(255, 250, 239, 0.91);
    border-color: rgba(146, 64, 14, 0.18);
    box-shadow: 0 32px 90px rgba(69, 26, 3, 0.28), 0 0 0 1px rgba(245, 158, 11, 0.1);
}

@keyframes storeLoginReveal {
    from { opacity: 0; transform: translateY(24px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.store-login-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
    padding: clamp(2.25rem, 5vw, 4.75rem);
    background:
        linear-gradient(145deg, rgba(245, 158, 11, 0.14), transparent 52%),
        radial-gradient(circle at 15% 90%, rgba(52, 211, 153, 0.08), transparent 34%);
}

.store-login-intro::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    bottom: -110px;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: 50%;
    box-shadow: inset 0 0 60px rgba(245, 158, 11, 0.05);
}
.fa-gamepad {
    font-size: 0.78rem;
    color: var(--oasis-primary-soft);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    width: 1.85rem;
    height: 1.85rem;
    display: grid;
    place-items: center;
}

.store-login-badge {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
    padding: 0.45rem 0.75rem 0.45rem 0.5rem;
    color: var(--oasis-primary-soft);
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.light-mode .store-login-badge {
    color: var(--oasis-primary-dark);
}

.store-login-badge-icon {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    color: #23170a;
    border-radius: 50%;
    font-size: 0.78rem;
}

.store-login-title {
    max-width: 570px;
    margin: 0;
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.65rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.store-login-copy {
    max-width: 520px;
    margin: 1.5rem 0 0;
    color: rgba(255, 248, 231, 0.68);
    font-size: 1.03rem;
    line-height: 1.7;
}

.store-login-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.25rem;
}

.store-login-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 248, 231, 0.78);
    font-size: 0.82rem;
    font-weight: var(--font-weight-semibold);
}

.store-login-highlights i {
    color: var(--oasis-primary-soft);
}

.store-login-card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.75rem);
    background: rgba(9, 8, 7, 0.25);
    border-left: 1px solid rgba(255, 248, 231, 0.08);
}

.store-login-form-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.store-login-form-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 3rem;
    height: 3rem;
    color: var(--oasis-primary-soft);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 0.9rem;
}

.store-login-form-kicker {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--oasis-primary-soft);
    font-size: 0.68rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.store-login-form-heading h2 {
    margin: 0;
    color: var(--oasis-text);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
}

.store-login-instruction {
    margin: 0 0 1.65rem;
    color: rgba(255, 248, 231, 0.58);
    font-size: 0.89rem;
    line-height: 1.65;
}

.store-login-label {
    display: block;
    margin-bottom: 0.55rem;
    color: rgba(255, 248, 231, 0.88);
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
}

.store-login-input-wrap {
    position: relative;
}

.store-login-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    color: var(--oasis-text-secondary);
    transform: translateY(-50%);
    transition: color 0.2s ease;
    pointer-events: none;
}

.store-login-input {
    box-sizing: border-box;
    width: 100%;
    height: 3.65rem;
    padding: 0 1rem 0 3.5rem !important;
    color: var(--oasis-text) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(255, 248, 231, 0.13) !important;
    border-radius: 0.85rem !important;
    font-size: 0.98rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.store-login-input:hover {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.store-login-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.075) !important;
    border-color: var(--oasis-primary) !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.11);
}

.store-login-input-wrap:focus-within > i {
    color: var(--oasis-primary-soft);
}

.store-login-input::placeholder {
    color: rgba(177, 148, 95, 0.7);
}

.store-login-help {
    margin: 0.55rem 0 1.25rem;
    color: rgba(255, 248, 231, 0.42);
    font-size: 0.72rem;
}

.store-login-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 3.65rem;
    padding: 0.9rem 1.25rem;
    color: #241406;
    background: var(--gradient-sunset);
    border: 0;
    border-radius: 0.85rem;
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.store-login-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(245, 158, 11, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.store-login-btn:active {
    transform: translateY(0);
}

.store-login-btn:disabled {
    cursor: wait;
    filter: saturate(0.7);
    opacity: 0.82;
    transform: none;
}

.store-login-btn.is-loading > .fa-arrow-right {
    opacity: 0.35;
}

.store-login-error {
    margin: 0.85rem 0 0;
    padding: 0.7rem 0.85rem;
    color: #fecaca;
    background: rgba(239, 68, 68, 0.09);
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-radius: 0.7rem;
    font-size: 0.78rem;
    line-height: 1.45;
}

.store-login-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1rem 0 0;
    color: rgba(255, 248, 231, 0.4);
    font-size: 0.68rem;
    line-height: 1.4;
    text-align: center;
}

.store-login-privacy i {
    color: rgba(245, 158, 11, 0.7);
}

body.light-mode .store-login-title,
body.light-mode .store-login-form-heading h2 {
    color: var(--oasis-text-light);
}

body.light-mode .store-login-copy,
body.light-mode .store-login-highlights span,
body.light-mode .store-login-instruction,
body.light-mode .store-login-label {
    color: rgba(82, 49, 11, 0.76);
}

body.light-mode .store-login-card-body {
    background: rgba(255, 255, 255, 0.34);
    border-left-color: rgba(146, 64, 14, 0.12);
}

body.light-mode .store-login-input {
    color: var(--oasis-text-light) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(146, 64, 14, 0.2) !important;
}

body.light-mode .store-login-input:focus {
    background: #fff !important;
}

body.light-mode .store-login-help,
body.light-mode .store-login-privacy {
    color: rgba(82, 49, 11, 0.55);
}

.store-header {
    padding: calc(var(--space-16) + 80px) 0 var(--space-16) 0;
    background: var(--bg-hero-image);
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 0;
    -webkit-mask-image: linear-gradient(
      to top,
      transparent 0%,
      rgba(0, 0, 0, 1) 40%
    );
    mask-image: linear-gradient(
      to top,
      transparent 0%,
      rgba(0, 0, 0, 1) 40%
    );
}

body.light-mode .store-header {
    z-index: 0;
    -webkit-mask-image: linear-gradient(
      to top,
      transparent 0%,
      rgba(0, 0, 0, 1) 40%
    );
    mask-image: linear-gradient(
      to top,
      transparent 0%,
      rgba(0, 0, 0, 1) 40%
    );
}

.store-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    background: rgba(0, 0, 0, 0.425);
    pointer-events: none;
}
body.light-mode .store-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--oasis-bg-light);
    opacity: 0.6;
}

.store-title {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin-bottom: var(--space-4);
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

body.light-mode .store-title {
    background: var(--oasis-primary-dark-effect);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.categories-section {
    padding: var(--space-8) 0 var(--space-10);
    background: var(--oasis-bg);
    position: relative;
    text-align: center;
    font-family: var(--font-display);
}

body.light-mode .categories-section {
    background: var(--oasis-surface-light);
}

.categories-label {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--oasis-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    opacity: 0.7;
}

body.light-mode .categories-label {
    color: var(--oasis-text-secondary-light);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.category-card {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--oasis-border);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

body.light-mode .category-card {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--oasis-border-light);
}

.category-card:hover {
    border-color: var(--oasis-primary);
    background: rgba(245, 158, 11, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
}

.category-card.active {
    border-color: var(--oasis-primary);
    background: rgba(245, 158, 11, 0.12);
    box-shadow: 0 0 0 1px var(--oasis-primary), 0 4px 18px rgba(245, 158, 11, 0.22);
    transform: translateY(0);
}

body.light-mode .category-card.active {
    background: rgba(245, 158, 11, 0.14);
    border-color: var(--oasis-primary-dark);
    box-shadow: 0 0 0 1px var(--oasis-primary-dark), 0 4px 18px rgba(245, 158, 11, 0.25);
}

.category-name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--oasis-text);
    font-family: var(--font-display);
    line-height: 1;
}

body.light-mode .category-name {
    color: var(--oasis-text-light);
}

.category-card.active .category-name {
    color: var(--oasis-primary);
}

body.light-mode .category-card.active .category-name {
    color: var(--oasis-primary-dark);
}

.category-count {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--oasis-text-secondary);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 1px 7px;
    line-height: 1.6;
    min-width: 1.5rem;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

body.light-mode .category-count {
    background: rgba(0, 0, 0, 0.07);
    color: var(--oasis-text-secondary-light);
}

.category-card.active .category-count {
    background: rgba(245, 158, 11, 0.22);
    color: var(--oasis-primary);
}

body.light-mode .category-card.active .category-count {
    color: var(--oasis-primary-dark);
}

.category-store-name {
    color: white;
    position: relative;
    z-index: 20;
}

body.light-mode .category-store-name {
    color: #534105;
}

.products-section {
    padding: var(--space-16) 0;
    background: var(--oasis-surface);
}

body.light-mode .products-section {
    background: var(--oasis-surface-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-8);
    animation: fadeInUp 0.6s ease-out;
}

.product-card {
    background: var(--oasis-card);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--oasis-border);
    cursor: pointer;
    position: relative;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.light-mode .product-card {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
}

.product-card:hover {
    border-color: var(--oasis-primary);
}

/* ── Purchase-requirement lock overlay ───────────────────────── */
.product-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 7, 3, 0.83);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    z-index: 10;
    cursor: not-allowed;
    padding: 1.5rem;
    text-align: center;
}

.product-lock-icon {
    font-size: 2.4rem;
    color: #f59e0b;
    filter: drop-shadow(0 2px 8px rgba(245,158,11,0.5));
}

.product-lock-msg {
    font-size: 0.83rem;
    color: #e5e7eb;
    font-weight: 500;
    line-height: 1.45;
    max-width: 190px;
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1) 0%, 
        rgba(34, 211, 238, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.466);
}

.product-badge-lifetime {
    background: var(--oasis-accent-sun);
    color: #ffffff;
    border: 1px solid #b96b2a;
}

.product-badge-subscription {
    background: var(--oasis-accent-coral);
    color: #ffffff;
    border: 1px solid #179eb3;
}

.product-badge-detail {
    display: inline-block;
    margin-bottom: var(--space-4);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-badge-detail-lifetime {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    color: var(--oasis-primary-soft);
}

body.light-mode .product-badge-detail-lifetime {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    color: #0891b2;
}

.product-badge-detail-subscription {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.15) 100%);
    color: var(--oasis-primary);
}

body.light-mode .product-badge-detail-subscription {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(251, 191, 36, 0.2) 100%);
    color: var(--oasis-primary-dark-effect);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin-bottom: var(--space-3);
    font-family: var(--font-display);
    line-height: 1.3;
}

body.light-mode .product-title {
    color: var(--oasis-text-light);
}

.product-description {
    font-size: var(--text-base);
    color: var(--oasis-text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.6;
    flex: 1;
}

body.light-mode .product-description {
    color: var(--oasis-text-secondary-light);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--oasis-border);
}

body.light-mode .product-footer {
    border-top-color: var(--oasis-border-light);
}

.product-price {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

body.light-mode .product-price {
    background: var(--oasis-primary-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0,0,0, 0.73);
    background-clip: text;
}

.product-price-currency {
    font-size: var(--text-sm);
    color: var(--oasis-text-secondary);
    margin-left: var(--space-2);
}

body.light-mode .product-price-currency {
    color: var(--oasis-text-secondary-light);
}

.upgrade-price-top {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: var(--space-2);
    margin-bottom: 2px;
    line-height: 1;
}

.price-was {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-display);
    color: var(--oasis-text-secondary);
    text-decoration: line-through;
    text-decoration-color: rgba(245, 158, 11, 0.5);
    text-decoration-thickness: 2px;
    opacity: 0.7;
    letter-spacing: 0.01em;
}

body.light-mode .price-was {
    color: var(--oasis-text-secondary-light);
    text-decoration-color: rgba(146, 64, 14, 0.45);
}

.price-save {
    display: inline-flex;
    align-items: center;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-display);
    color: var(--oasis-accent-teal);
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-radius: var(--radius-full);
    padding: 4px 7px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

body.light-mode .price-save {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.3);
}

.upgrade-price-top-detail {
    margin-bottom: var(--space-2);
}

.upgrade-price-top-detail .price-was {
    font-size: var(--text-base);
}

.upgrade-price-top-detail .price-save {
    font-size: var(--text-xs);
    padding: 2px 9px 2px 7px;
}

.product-detail {
    padding: calc(var(--space-16) + 80px) 0 var(--space-16);
    background: var(--oasis-bg);
    min-height: 100vh;
}

body.light-mode .product-detail {
    background: var(--oasis-bg-light);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}
.store-card-label {
    gap: 1.5rem;
}
.product-detail-image {
    width: 100%;
    height: 600px;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.2) 0%, 
        rgba(34, 211, 238, 0.2) 100%);
    position: relative;
    box-shadow: 0 24px 80px rgba(245, 158, 11, 0.3);
    border: 2px solid var(--oasis-border);
}

body.light-mode .product-detail-image {
    border-color: var(--oasis-border-light);
    box-shadow: 0 24px 80px rgba(245, 158, 11, 0.4);
}

.product-detail-info {
    position: sticky;
    top: 120px;
}

.product-detail-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin-bottom: var(--space-6);
    font-family: var(--font-display);
    line-height: 1.2;
}

body.light-mode .product-detail-title {
    color: var(--oasis-text-light);
}

.product-detail-price {
    font-size: var(--text-6xl);
    font-weight: var(--font-weight-bold);
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-8);
    font-family: var(--font-display);
}

body.light-mode .product-detail-price {
    background: linear-gradient(135deg, var(--oasis-primary-dark) 0%, var(--oasis-accent-sun) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-description {
    font-size: var(--text-lg);
    color: var(--oasis-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-6);
    border-bottom: 2px solid var(--oasis-border);
}

body.light-mode .product-detail-description {
    color: var(--oasis-text-secondary-light);
    border-bottom-color: var(--oasis-border-light);
}

.product-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: linear-gradient(135deg, var(--oasis-primary) 0%, var(--oasis-accent-sun) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--oasis-store-bg-dark);
    color: white;
}
.light-mode .btn-primary {
    background: var(--oasis-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--oasis-border);
    color: var(--oasis-text);
}

body.light-mode .btn-outline {
    border-color: var(--oasis-border-light);
    color: var(--oasis-text-light);
}

.btn-outline:hover {
    background: var(--oasis-card);
    border-color: var(--oasis-primary);
}

body.light-mode .btn-outline:hover {
    background: var(--oasis-card-light);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-owned {
    background: #22c55e;
    color: #fff;
    border: none;
    cursor: default;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    padding: 0.35rem 0.85rem;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

body.light-mode .btn-owned {
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

.btn-block {
    width: 100%;
}

.cart-section {
    padding: var(--space-16) 0;
}

.cart-table {
    width: 100%;
    background-color: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-8);
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background-color: var(--bg-tertiary);
    padding: var(--space-4);
    text-align: left;
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-primary);
}

.cart-table td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-primary);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cart-item-title {
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.cart-total {
    background-color: var(--bg-primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    max-width: 400px;
    margin-left: auto;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-primary);
}

.cart-total-row:last-child {
    border-bottom: none;
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
}

.empty-state {
    text-align: center;
    padding: var(--space-20) var(--space-6);
    max-width: 600px;
    margin: 0 auto;
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-8);
    background: linear-gradient(135deg, var(--oasis-primary) 0%, var(--oasis-accent-sun) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-6xl);
    color: white;
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4), 0 0 60px rgba(245, 158, 11, 0.2);
    animation: float 3s ease-in-out infinite;
}

body.light-mode .empty-state-icon {
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
}

.empty-state-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin-bottom: var(--space-4);
    font-family: var(--font-display);
}

body.light-mode .empty-state-title {
    color: var(--oasis-text-light);
}

.empty-state-description {
    font-size: var(--text-xl);
    color: var(--oasis-text-secondary);
    line-height: 1.6;
}

body.light-mode .empty-state-description {
    color: var(--oasis-text-secondary-light);
}

@media (max-width: 1200px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .product-detail-info {
        position: static;
    }
    
    .product-detail-image {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .store-title {
        font-size: var(--text-4xl);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .product-detail-image {
        height: 400px;
    }
    
    .product-detail-title {
        font-size: var(--text-3xl);
    }
    
    .product-detail-price {
        font-size: var(--text-4xl);
    }
    
    .category-card {
        padding: var(--space-6);
    }
    
    .cart-table {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .store-header {
        padding: calc(var(--space-12) + 80px) 0 var(--space-12) 0;
    }
    
    .store-title {
        font-size: 4rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-footer {
        justify-content: space-between;
    }
}

.home-toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--oasis-surface);
    border: 1px solid var(--oasis-border);
    border-radius: 0.75rem;
    color: var(--oasis-text);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: var(--blur-glass);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: var(--z-toast);
}

body.light-mode .home-toast-notification {
    background: var(--oasis-surface-light);
    border-color: var(--oasis-border-light);
    color: var(--oasis-text-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.home-toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.home-toast-notification svg {
    color: #2ed573;
}

.product-modal-page {
    padding: calc(var(--space-16) + 80px) 0 var(--space-16);
    background: var(--oasis-bg);
    min-height: 100vh;
}

body.light-mode .product-modal-page {
    background: var(--oasis-bg-light);
}

.breadcrumb-link {
    color: var(--oasis-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--oasis-primary);
}

body.light-mode .breadcrumb-link {
    color: var(--oasis-text-secondary-light);
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.375rem;
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
}

.breadcrumb-sep {
    color: var(--oasis-text-secondary);
    opacity: 0.6;
    flex-shrink: 0;
}

body.light-mode .breadcrumb-sep {
    color: var(--oasis-text-secondary-light);
}

.product-modal-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-10);
    max-width: 1400px;
    margin: 0 auto;
}

.product-modal-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.product-modal-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1) 0%, 
        rgba(34, 211, 238, 0.1) 100%);
    border: 2px solid var(--oasis-border);
}

body.light-mode .product-modal-image {
    border-color: var(--oasis-border-light);
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.05) 0%, 
        rgba(34, 211, 238, 0.05) 100%);
}
/*
.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}*/

.product-modal-image:not(.has-rank-preview) img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.product-modal-image.has-rank-preview img {
    width: 100%;
    object-fit: contain;
}

.product-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--oasis-text-secondary);
    font-size: var(--text-lg);
}
.product-background-image {
    height: 100%;
    object-fit: cover !important;
}

.product-no-image i {
    font-size: var(--text-6xl);
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

.product-modal-info {
    background: var(--oasis-card);
    border: 2px solid var(--oasis-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
}
.product-modal-title-image {
    display: flex;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1) 0%, 
        rgba(34, 211, 238, 0.1) 100%);
    align-items: center;
    justify-content: center;
    margin-right: var(--space-4);
}

body.light-mode .product-modal-info {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
}

.badge-category {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--gradient-ocean);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-4);
}

.product-modal-title {
    display: flex;
    font-family: "oasis", sans-serif !important;
    font-size: var(--text-4xl);
    font-weight: 100;
    color: var(--oasis-text);
    margin-bottom: var(--space-4);
    font-family: var(--font-display);
    align-items: end;
    line-height: 1.2;
}

body.light-mode .product-modal-title {
    color: var(--oasis-text-light);
}

.product-modal-short-desc {
    font-size: var(--text-xl);
    color: var(--oasis-text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

body.light-mode .product-modal-short-desc {
    color: var(--oasis-text-secondary-light);
}

.product-modal-details,
.product-modal-features {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--oasis-border);
}

body.light-mode .product-modal-details,
body.light-mode .product-modal-features {
    border-top-color: var(--oasis-border-light);
}

.product-modal-details h3,
.product-modal-features h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

body.light-mode .product-modal-details h3,
body.light-mode .product-modal-features h3 {
    color: var(--oasis-text-light);
}

.product-modal-details-content {
    font-size: var(--text-base);
    color: var(--oasis-text-secondary);
    line-height: 1.8;
}

body.light-mode .product-modal-details-content {
    color: var(--oasis-text-secondary-light);
}

.product-modal-features ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.product-modal-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--oasis-text);
}

body.light-mode .product-modal-features li {
    color: var(--oasis-text-light);
}

.product-modal-features li i {
    color: var(--oasis-primary);
    font-size: var(--text-lg);
}

.product-modal-right {
    position: sticky;
    top: calc(80px + var(--space-8));
    height: fit-content;
}

.product-purchase-card {
    background: var(--oasis-card);
    border: 2px solid var(--oasis-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.light-mode .product-purchase-card {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.product-purchase-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 2px solid var(--oasis-border);
}

body.light-mode .product-purchase-header {
    border-bottom-color: var(--oasis-border-light);
}

.product-price-display {
    display: flex;
    justify-self: center;
    align-items: end;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.product-price-amount {
    display: flex;
    flex-direction: column;
    align-items: left;
    font-size: var(--text-6xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-primary);
    font-family: var(--font-display);
    line-height: 1;
}

body.light-mode .product-price-amount {
    color: var(--oasis-primary-dark);
}

.product-price-currency {
    font-size: var(--text-xl);
    color: var(--oasis-text-secondary);
    font-weight: var(--font-weight-semibold);
}

body.light-mode .product-price-currency {
    color: var(--oasis-text-secondary-light);
}

.product-delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
}

.product-purchase-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.product-title-label {
    color: var(--oasis-text-secondary);
}

body.light-mode .product-title-label {
    color: var(--oasis-text-secondary-light);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-text);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

body.light-mode .form-group label {
    color: var(--oasis-text-light);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    border: 2px solid var(--oasis-border);
    border-radius: var(--radius-lg) !important;
    background: var(--oasis-surface) !important;
    color: var(--oasis-text);
    transition: all 0.3s ease;
}

body.light-mode .form-input {
    border-color: var(--oasis-border-light);
    background: var(--oasis-surface-light) !important;
    color: var(--oasis-text-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--oasis-primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-input::placeholder {
    color: var(--oasis-text-secondary);
}

body.light-mode .form-input::placeholder {
    color: var(--oasis-text-secondary-light);
}

.form-help {
    font-size: var(--text-sm);
    color: var(--oasis-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

body.light-mode .form-help {
    color: var(--oasis-text-secondary-light);
}

.receiver-display {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--oasis-surface);
    border: 2px solid var(--oasis-primary);
    border-radius: var(--radius-lg);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-text);
}

body.light-mode .receiver-display {
    background: var(--oasis-surface-light);
    color: var(--oasis-text-light);
}

.receiver-display i {
    color: var(--oasis-primary);
    font-size: var(--text-xl);
}

.promo-code-wrapper {
    display: flex;
    gap: var(--space-2);
}

.overlined-price-promocode {
    position: relative;
    font-size: var(--text-xl);
    text-decoration: line-through;
    color: var(--oasis-text-secondary);
    font-weight: var(--font-weight-medium);
}

.product-modal-page .promo-price-note {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    margin-top: 0.65rem;
    color: var(--oasis-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
    white-space: nowrap;
}

.product-modal-page .promo-price-note[hidden] {
    display: none;
}

.product-modal-page .promo-price-note s {
    color: var(--oasis-text-secondary);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.product-modal-page .promo-price-note strong {
    color: var(--oasis-accent-teal);
    font-weight: var(--font-weight-bold);
}

.btn-apply-promo {
    display: block;
    padding: var(--space-3) var(--space-6);
    background: var(--oasis-surface);
    border: 2px solid var(--oasis-border);
    border-radius: var(--radius-lg);
    color: var(--oasis-text);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

body.light-mode .btn-apply-promo {
    background: var(--oasis-surface-light);
    border-color: var(--oasis-border-light);
    color: var(--oasis-text-light);
}

.btn-apply-promo:hover {
    border-color: var(--oasis-primary);
    background: var(--oasis-primary);
    color: white;
}

.remove-promocode {
    background: none;
    padding: 5px 10px;
    border: 2px solid var(--oasis-text-secondary);
    border-radius: 50%;
    color: var(--oasis-text-secondary);
    cursor: pointer;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}
.remove-promocode:hover {
    border-color: var(--oasis-primary);
    color: var(--oasis-primary);
    transform: scale(0.89);
    border: 2px solid var(--oasis-primary);
}

.form-checkbox-group {
    padding: var(--space-4);
    background: var(--oasis-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--oasis-border);
}

body.light-mode .form-checkbox-group {
    background: var(--oasis-surface-light);
    border-color: var(--oasis-border-light);
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--oasis-text-secondary);
    cursor: pointer;
}

body.light-mode .checkbox-label {
    color: var(--oasis-text-secondary-light);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--oasis-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-continue {
    width: 100%;
    padding: var(--space-4);
    background: linear-gradient(135deg, #7c2d12 0%, #9a3412 100%);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    box-shadow: 0 4px 12px rgba(124, 45, 18, 0.3);
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 45, 18, 0.4);
}

.btn-continue:active {
    transform: translateY(0);
}

.payment-methods-info {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--oasis-border);
    text-align: center;
}

body.light-mode .payment-methods-info {
    border-top-color: var(--oasis-border-light);
}

.payment-methods-info p {
    font-size: var(--text-sm);
    color: var(--oasis-text-secondary);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

body.light-mode .payment-methods-info p {
    color: var(--oasis-text-secondary-light);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    font-size: var(--text-2xl);
    color: var(--oasis-text-secondary);
}

.store-product-logo {
    display: flex;
    width: 15rem;
    margin: 0 auto 1rem auto;
    justify-content: center;
    opacity: 0.6;
}
body.light-mode .store-product-logo {
    opacity: 1;
}

body.light-mode .payment-icons {
    color: var(--oasis-text-secondary-dark);
}

hr {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border: none;
    border-top: 2px solid var(--oasis-border);
}

@media (max-width: 1200px) {
    .product-modal-container {
        gap: var(--space-8);
    }
}

@media (max-width: 1024px) {
    .product-modal-container {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
    }

    /* Flatten left column so image & info become direct flex children */
    .product-modal-left {
        display: contents;
    }

    /* Order: 1 = image at top, 2 = purchase card, 3 = product info */
    .product-modal-image {
        order: 1;
        aspect-ratio: 16 / 9;
        max-height: 420px;
    }

    .product-modal-right {
        order: 2;
        position: static;
        display: flex;
        justify-content: center;
    }

    .product-modal-right .product-purchase-card {
        width: 100%;
    }

    .product-modal-info {
        order: 3;
    }
}

@media (max-width: 768px) {
    .product-modal-page {
        padding: calc(var(--space-12) + 70px) 0 var(--space-10);
    }

    .product-modal-right .product-purchase-card {
        max-width: 100%;
    }

.product-modal-page,
    .product-modal-container,
    .product-modal-left,
    .product-modal-right,
    .product-purchase-card,
    .product-modal-info {
        max-width: 100%;
        overflow-x: hidden;
    }

nav[style*="margin-bottom"] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.25rem 0.5rem;
        font-size: var(--text-xs);
    }

.product-modal-image {
        aspect-ratio: 1 / 1;
        max-height: 320px;
        border-radius: var(--radius-xl);
    }

.product-modal-info,
    .product-purchase-card {
        padding: var(--space-5) var(--space-4);
        border-radius: var(--radius-xl);
    }

.product-modal-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.25;
    }

    .product-modal-short-desc {
        font-size: var(--text-base);
    }

.product-price-amount {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .product-price-display {
        align-items: baseline;
        flex-wrap: wrap;
        gap: var(--space-2);
    }

.product-purchase-form {
        gap: var(--space-4);
    }

    .receiver-display {
        font-size: var(--text-base);
        padding: var(--space-3);
    }

    .form-input {
        padding: var(--space-3);
        font-size: var(--text-base);
    }

.payment-gateway-option {
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .payment-gateway-radio {
        width: 18px;
        height: 18px;
        margin-right: var(--space-2);
        flex-shrink: 0;
    }

    .payment-gateway-icon {
        width: 38px;
        height: 38px;
        font-size: var(--text-xl);
        margin-right: var(--space-2);
    }

    .payment-gateway-name {
        font-size: var(--text-base);
    }

    .payment-gateway-desc {
        font-size: var(--text-xs);
    }

    .payment-gateway-cards {
        font-size: var(--text-lg);
        gap: var(--space-1);
        flex-wrap: wrap;
        margin-top: var(--space-1);
    }

.promo-code-wrapper {
        flex-direction: column;
        gap: var(--space-2);
    }

    .btn-apply-promo {
        width: 100%;
        padding: var(--space-3);
        text-align: center;
    }

.btn-continue {
        width: 100%;
        padding: var(--space-4);
        font-size: var(--text-base);
        letter-spacing: 0.5px;
    }

.payment-methods-info {
        text-align: center;
    }

    .payment-icons {
        justify-content: center;
        font-size: var(--text-xl);
    }

.sub-plan-radio-card {
        padding: var(--space-3);
    }
}

@media (max-width: 480px) {
    .product-modal-title {
        align-items: center;
    }
    .product-modal-page {
        padding: calc(var(--space-10) + 65px) 0 var(--space-8);
    }

    .product-modal-image {
        aspect-ratio: 4 / 3;
        max-height: 260px;
        border-radius: var(--radius-lg);
    }

    .product-modal-info,
    .product-purchase-card {
        padding: var(--space-4);
        border-radius: var(--radius-lg);
    }

    .product-modal-title {
        font-size: clamp(1.25rem, 5.5vw, 1.75rem);
    }

    .product-price-amount {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .payment-gateway-option {
        flex-wrap: nowrap;
        padding: var(--space-2) var(--space-3);
    }

    .payment-gateway-icon {
        width: 32px;
        height: 32px;
        font-size: var(--text-lg);
        margin-right: var(--space-2);
    }

    .payment-gateway-desc {
        display: none; 
    }

    .payment-gateway-cards {
        margin-top: var(--space-1);
    }

    .form-input {
        padding: var(--space-2) var(--space-3);
    }

    .product-purchase-form {
        gap: var(--space-3);
    }
    .product-modal-page .container {
        padding: 0 1rem;
    }
    .store-product-logo {
        width: 15rem;
        margin: 0 auto 1rem auto;
    }
}

.payment-gateway-section {
    margin-bottom: var(--space-5);
}

.payment-gateway-label {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-text);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

body.light-mode .payment-gateway-label {
    color: var(--oasis-text-light);
}

.payment-gateway-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.payment-gateway-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--space-4);
    background: var(--oasis-surface);
    border: 2px solid var(--oasis-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-mode .payment-gateway-option {
    background: var(--oasis-surface-light);
    border-color: var(--oasis-border-light);
}

.payment-gateway-option:hover {
    border-color: var(--oasis-primary);
    background: rgba(245, 158, 11, 0.05);
}

.payment-gateway-option.selected {
    border-color: var(--oasis-primary);
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.payment-gateway-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-gateway-radio {
    width: 22px;
    height: 22px;
    border: 2px solid var(--oasis-border);
    border-radius: 50%;
    margin-right: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

body.light-mode .payment-gateway-radio {
    border-color: var(--oasis-border-light);
}

.payment-gateway-option.selected .payment-gateway-radio {
    border-color: var(--oasis-primary);
    background: var(--oasis-primary);
}

.payment-gateway-option.selected .payment-gateway-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.payment-gateway-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    margin-right: var(--space-4);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.payment-gateway-icon.stripe {
    background: linear-gradient(135deg, #635bff 0%, #7a73ff 100%);
    color: white;
}

.payment-gateway-icon.xsolla {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
}

.payment-gateway-info {
    flex: 1;
}

.payment-gateway-name {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin-bottom: var(--space-1);
}

body.light-mode .payment-gateway-name {
    color: var(--oasis-text-light);
}

.payment-gateway-desc {
    font-size: var(--text-sm);
    color: var(--oasis-text-secondary);
}

body.light-mode .payment-gateway-desc {
    color: var(--oasis-text-secondary-light);
}

.payment-gateway-badge {
    padding: var(--space-1) var(--space-3);
    background: #9a601d;
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.light-mode .payment-gateway-badge {
    background: var(--oasis-primary);
}

.payment-gateway-cards {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
    font-size: var(--text-xl);
    color: var(--oasis-text-secondary);
}

body.light-mode .payment-gateway-cards {
    color: var(--oasis-text-secondary-light);
}

.tinymce-content {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--oasis-text);
}

body.light-mode .tinymce-content {
    color: var(--oasis-text-light);
}

.tinymce-content h1 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
    font-family: var(--font-display);
}

body.light-mode .tinymce-content h1 {
    color: var(--oasis-text-light);
}

.tinymce-content h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
    margin-top: var(--space-5);
    margin-bottom: var(--space-3);
    font-family: var(--font-display);
}

body.light-mode .tinymce-content h2 {
    color: var(--oasis-text-light);
}

.tinymce-content h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-text);
    margin-top: var(--space-4);
    margin-bottom: var(--space-3);
    font-family: var(--font-display);
}

body.light-mode .tinymce-content h3 {
    color: var(--oasis-text-light);
}

.tinymce-content h4,
.tinymce-content h5,
.tinymce-content h6 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-text);
    margin-top: var(--space-3);
    margin-bottom: var(--space-2);
}

body.light-mode .tinymce-content h4,
body.light-mode .tinymce-content h5,
body.light-mode .tinymce-content h6 {
    color: var(--oasis-text-light);
}

.tinymce-content p {
    margin-bottom: var(--space-4);
    color: var(--oasis-text-secondary);
}

body.light-mode .tinymce-content p {
    color: var(--oasis-text-secondary-light);
}

.tinymce-content ul,
.tinymce-content ol {
    margin-left: var(--space-6);
    margin-bottom: var(--space-4);
    color: var(--oasis-text-secondary);
}

body.light-mode .tinymce-content ul,
body.light-mode .tinymce-content ol {
    color: var(--oasis-text-secondary-light);
}

.tinymce-content li {
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.tinymce-content strong,
.tinymce-content b {
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
}

body.light-mode .tinymce-content strong,
body.light-mode .tinymce-content b {
    color: var(--oasis-text-light);
}

.tinymce-content em,
.tinymce-content i {
    font-style: italic;
}

.tinymce-content a {
    color: var(--oasis-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.tinymce-content a:hover {
    color: var(--oasis-primary-soft);
}

body.light-mode .tinymce-content a {
    color: var(--oasis-primary-dark-effect);
}

body.light-mode .tinymce-content a:hover {
    color: var(--oasis-primary);
}

.tinymce-content blockquote {
    border-left: 4px solid var(--oasis-primary);
    padding-left: var(--space-4);
    margin: var(--space-4) 0;
    font-style: italic;
    color: var(--oasis-text-secondary);
    background: rgba(245, 158, 11, 0.05);
    padding: var(--space-4);
    border-radius: var(--radius);
}

body.light-mode .tinymce-content blockquote {
    background: rgba(245, 158, 11, 0.1);
    color: var(--oasis-text-secondary-light);
}

.tinymce-content code {
    background: var(--oasis-surface);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--oasis-primary);
}

body.light-mode .tinymce-content code {
    background: var(--oasis-surface-light);
    color: var(--oasis-primary-dark-effect);
}

.tinymce-content pre {
    background: var(--oasis-surface);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--space-4) 0;
    border: 1px solid var(--oasis-border);
}

body.light-mode .tinymce-content pre {
    background: var(--oasis-surface-light);
    border-color: var(--oasis-border-light);
}

.tinymce-content pre code {
    background: none;
    padding: 0;
    color: var(--oasis-text);
}

body.light-mode .tinymce-content pre code {
    color: var(--oasis-text-light);
}

.tinymce-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
}

.tinymce-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-4) 0;
    background: var(--oasis-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

body.light-mode .tinymce-content table {
    background: var(--oasis-surface-light);
}

.tinymce-content th,
.tinymce-content td {
    padding: var(--space-3);
    text-align: left;
    border: 1px solid var(--oasis-border);
}

body.light-mode .tinymce-content th,
body.light-mode .tinymce-content td {
    border-color: var(--oasis-border-light);
}

.tinymce-content th {
    background: var(--oasis-card);
    font-weight: var(--font-weight-bold);
    color: var(--oasis-text);
}

body.light-mode .tinymce-content th {
    background: var(--oasis-card-light);
    color: var(--oasis-text-light);
}

.tinymce-content hr {
    border: none;
    height: 2px;
    background: var(--oasis-border);
    margin: var(--space-6) 0;
}

body.light-mode .tinymce-content hr {
    background: var(--oasis-border-light);
}

#rankComparisonSection {
    padding: var(--space-8) 0;
}

.rct-scroll {
    overflow: visible;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--oasis-border);
    scrollbar-gutter: stable;
}

body.light-mode .rct-scroll {
    border-color: var(--oasis-border-light);
}

.rct-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
    font-size: 0.9rem;
}

.rct-table thead tr {
    background: var(--oasis-card);
}

body.light-mode .rct-table thead tr {
    background: var(--oasis-card-light);
}

.rct-table thead th {
    position: sticky;
    top: 64px;
    z-index: 20;
    background: color-mix(in srgb, var(--oasis-card) 96%, var(--oasis-primary));
    box-shadow: 0 1px 0 var(--oasis-border), 0 10px 24px color-mix(in srgb, var(--oasis-bg) 44%, transparent);
}

.rct-table thead .rct-feature-col {
    left: 0;
    z-index: 22;
}

.rct-table thead .rct-owned-col {
    background: color-mix(in srgb, var(--oasis-primary) 10%, var(--oasis-card));
}

body.light-mode .rct-table thead th {
    background: color-mix(in srgb, var(--oasis-card-light) 94%, var(--oasis-primary));
    box-shadow: 0 1px 0 var(--oasis-border-light), 0 10px 24px color-mix(in srgb, var(--oasis-text-light) 12%, transparent);
}

body.light-mode .rct-table thead .rct-owned-col {
    background: color-mix(in srgb, var(--oasis-primary) 12%, var(--oasis-card-light));
}

.rct-feature-col {
    width: 200px;
    min-width: 160px;
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    vertical-align: bottom;
}

body.light-mode .rct-feature-col {
    border-bottom-color: rgba(0,0,0,0.09);
}

.rct-rank-col {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    vertical-align: top;
    min-width: 130px;
}

body.light-mode .rct-rank-col {
    border-bottom-color: rgba(0,0,0,0.09);
}

.rct-owned-col {
    background: rgba(245,158,11,0.07);
    border-left: 2px solid rgba(245,158,11,0.4);
    border-right: 2px solid rgba(245,158,11,0.4);
}

body.light-mode .rct-owned-col {
    background: rgba(245,158,11,0.06);
}

.rct-rank-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.rct-rank-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
}

.rct-rank-img-ph {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 1.5rem;
    color: var(--oasis-primary, #F59E0B);
}

.rct-rank-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--oasis-text, #e2e8f0);
    line-height: 1.2;
}

body.light-mode .rct-rank-name {
    color: #1e293b;
}

.rct-rank-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--oasis-primary, #F59E0B);
}

.rct-btn {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.rct-btn:hover { opacity: 0.85; }

.rct-btn-buy {
    background: var(--oasis-primary, #F59E0B);
    color: #000;
}

.rct-btn-upgrade {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}

.rct-btn-owned {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.4);
    cursor: default;
}

.rct-table tbody tr {
    transition: background 0.1s;
}

.rct-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

body.light-mode .rct-table tbody tr:hover {
    background: rgba(0,0,0,0.02);
}

.rct-table tbody tr:last-child td {
    border-bottom: none;
}

.rct-feature-cell {
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}

body.light-mode .rct-feature-cell {
    border-bottom-color: rgba(0,0,0,0.06);
}

.rct-feature-name {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--oasis-text, #e2e8f0);
}

body.light-mode .rct-feature-name {
    color: #1e293b;
}

.rct-feature-desc {
    display: block;
    font-size: 0.75rem;
    opacity: 0.55;
    margin-top: 1px;
}

.rct-value-cell {
    padding: 0.7rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}

body.light-mode .rct-value-cell {
    border-bottom-color: rgba(0,0,0,0.06);
}

.rct-val-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    font-size: 0.8rem;
}

.rct-val-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239,68,68,0.12);
    color: #ef4444;
    font-size: 0.8rem;
}

.rct-val-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--oasis-text, #e2e8f0);
}

body.light-mode .rct-val-text {
    color: #1e293b;
}

.rct-val-empty {
    opacity: 0.3;
    font-size: 0.85rem;
}

@font-face {
    font-family: 'Minecraft';
    src: url('/fonts/minecraft/MinecraftRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.rct-mc-prefix {
    font-family: 'Minecraft', monospace;
    font-size: 13px;
    line-height: 1;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.8);
    display: inline-block;
    background-color: rgba(16,0,16,0.93);
    border: 2px solid transparent;
    border-image: linear-gradient(to bottom, rgba(80,0,255,0.31), rgba(40,0,127,0.31));
    border-image-slice: 1;
    box-shadow: 0 0 0 2px rgba(16,0,16,0.93);
    max-height: 28px;
    padding: 4px 3px 3px 4px;
}

.rct-prefix-row td {
    background: rgba(0,0,0,0.15);
}

body.light-mode .rct-prefix-row td {
    background: rgba(0,0,0,0.04);
}

@keyframes rct-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.rct-skeleton {
    --sk-base:    rgba(255,255,255,0.06);
    --sk-shine:   rgba(255,255,255,0.13);
    --sk-radius:  6px;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}
body.light-mode .rct-skeleton {
    --sk-base:  rgba(0,0,0,0.06);
    --sk-shine: rgba(255,255,255,0.55);
    border-color: rgba(0,0,0,0.09);
}

.rct-skeleton-block {
    background: linear-gradient(
        90deg,
        var(--sk-base) 25%,
        var(--sk-shine) 50%,
        var(--sk-base) 75%
    );
    background-size: 600px 100%;
    animation: rct-shimmer 1.4s infinite linear;
    border-radius: var(--sk-radius);
}

.rct-sk-header {
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    padding: 0.75rem 0;
}
body.light-mode .rct-sk-header {
    border-bottom-color: rgba(0,0,0,0.09);
    background: rgba(0,0,0,0.03);
}
.rct-sk-feature-col {
    flex: 0 0 190px;
    padding: 0.9rem 1.2rem;
}
.rct-sk-rank-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.5rem 0.9rem;
}
.rct-sk-avatar {
    width: 56px;
    height: 56px;
    border-radius: 8px;
}
.rct-sk-line {
    height: 10px;
    border-radius: 5px;
}
.rct-sk-line-sm {
    width: 48px;
    height: 8px;
    border-radius: 4px;
}
.rct-sk-line-xs {
    width: 62px;
    height: 22px;
    border-radius: 20px;
}

.rct-sk-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.7rem 0;
}
body.light-mode .rct-sk-row {
    border-bottom-color: rgba(0,0,0,0.06);
}
.rct-sk-row:last-child { border-bottom: none; }
.rct-sk-row-label {
    flex: 0 0 190px;
    padding: 0 1.2rem;
}
.rct-sk-row-label .rct-sk-line {
    width: 70%;
}
.rct-sk-cell {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rct-sk-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .store-login-card {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    }

    .store-login-intro {
        min-height: 470px;
        padding: 3rem;
    }

    .store-login-title {
        font-size: clamp(2.75rem, 5.5vw, 3.75rem);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    .store-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 860px) {
    .rct-scroll {
        max-height: min(72vh, 760px);
        overflow: auto;
    }

    .rct-table thead th {
        top: 0;
    }

    .store-login-container {
        align-items: flex-start;
        padding-top: calc(80px + 2rem);
    }

    .store-login-card {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin-inline: auto;
    }

    .store-login-intro {
        min-height: auto;
        padding: 2.75rem;
    }

    .store-login-title {
        max-width: 520px;
        font-size: clamp(2.6rem, 8vw, 3.65rem);
    }

    .store-login-copy {
        margin-top: 1rem;
    }

    .store-login-highlights {
        margin-top: 1.5rem;
    }

    .store-login-card-body {
        padding: 2.75rem;
        border-top: 1px solid rgba(255, 248, 231, 0.08);
        border-left: 0;
    }

    body.light-mode .store-login-card-body {
        border-top-color: rgba(146, 64, 14, 0.12);
    }
}

@media (max-width: 768px) {
    .store-header {
        text-align: center;
    }

    .store-header-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .store-login-card {
        margin: 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .category-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .rank-comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .store-login-container {
        padding-top: calc(72px + 1.25rem);
        padding-bottom: 1.5rem;
    }

    .store-login-container .container {
        padding-inline: 0.9rem;
    }

    .store-login-card {
        border-radius: 1.15rem;
    }

    .store-login-intro {
        padding: 2rem 1.5rem 1.75rem;
    }

    .store-login-badge {
        margin-bottom: 1.25rem;
    }

    .store-login-title {
        font-size: clamp(2.2rem, 12vw, 3rem);
        line-height: 1.02;
    }

    .store-login-copy {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .store-login-highlights {
        gap: 0.75rem 1rem;
    }

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

    .store-login-card-body {
        padding: 1.75rem 1.5rem;
    }

    .store-login-form-heading {
        align-items: flex-start;
    }

    .store-login-instruction {
        margin-bottom: 1.25rem;
    }

    .store-login-privacy {
        align-items: flex-start;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .store-login-highlights span {
        font-size: 0.75rem;
    }

    .store-login-form-icon {
        width: 2.65rem;
        height: 2.65rem;
    }

    .category-card {
        padding: 0.375rem 0.75rem;
        font-size: var(--text-sm);
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-login-card {
        animation: none;
    }

    .store-login-btn,
    .store-login-input {
        transition: none;
    }
}

/* Storefront catalog */
.store-header {
    padding: calc(80px + clamp(3.5rem, 8vw, 7rem)) 0 clamp(3.5rem, 7vw, 6rem);
    text-align: left;
    border-bottom: 1px solid var(--oasis-border);
    -webkit-mask-image: none;
    mask-image: none;
}

.store-header .container {
    width: 100%;
    max-width: 1460px;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.store-header::before,
body.light-mode .store-header::before {
    background: color-mix(in srgb, var(--oasis-bg) 82%, transparent);
    opacity: 1;
}

body.light-mode .store-header {
    border-bottom-color: var(--oasis-border-light);
    -webkit-mask-image: none;
    mask-image: none;
}

body.light-mode .store-header::before {
    background: color-mix(in srgb, var(--oasis-bg-light) 82%, transparent);
}

.store-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 0.9fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: end;
}

.store-eyebrow,
.products-kicker {
    display: block;
    margin-bottom: var(--space-4);
    color: var(--oasis-primary-soft);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.light-mode .store-eyebrow,
body.light-mode .products-kicker {
    color: var(--oasis-primary-dark);
}

.store-header .store-title {
    max-width: 780px;
    margin: 0;
    color: var(--oasis-text);
    background: none;
    font-size: clamp(3.1rem, 6.5vw, 6.4rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
    text-shadow: none;
    -webkit-text-fill-color: currentColor;
}

body.light-mode .store-header .store-title {
    color: var(--oasis-text-light);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.store-subtitle {
    max-width: 650px;
    margin: var(--space-6) 0 0;
    color: var(--oasis-text-secondary);
    font-size: clamp(var(--text-base), 1.8vw, var(--text-xl));
    line-height: 1.65;
}

body.light-mode .store-subtitle {
    color: var(--oasis-text-secondary-light);
}

.store-hero-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: end;
    width: 100%;
    min-width: 0;
}

.store-hero-character {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: clamp(300px, 28vw, 430px);
    margin: 0 auto clamp(-1.5rem, -2vw, -0.75rem);
    width: min(100%, 620px);
    pointer-events: none;
}

.store-hero-character::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 47%;
    z-index: -2;
    width: min(76%, 360px);
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--oasis-primary-soft) 20%, transparent);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            color-mix(in srgb, var(--oasis-primary) 18%, transparent) 0%,
            color-mix(in srgb, var(--oasis-primary-dark) 10%, transparent) 45%,
            transparent 72%
        );
    box-shadow:
        inset 0 0 70px color-mix(in srgb, var(--oasis-primary) 8%, transparent),
        0 0 90px color-mix(in srgb, var(--oasis-primary) 10%, transparent);
    transform: translate(-50%, -50%);
}

.store-hero-character::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4%;
    z-index: -1;
    width: min(72%, 360px);
    height: 13%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        color-mix(in srgb, var(--oasis-primary-dark) 38%, rgba(0, 0, 0, 0.58)),
        transparent 70%
    );
    filter: blur(8px);
    transform: translateX(-50%);
}

.store-hero-icon {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter:
        drop-shadow(0 24px 22px rgba(0, 0, 0, 0.38))
        drop-shadow(0 0 18px color-mix(in srgb, var(--oasis-primary) 12%, transparent));
    transform: translateY(2%);
    animation: storeCamelFloat 5s ease-in-out infinite;
}

@keyframes storeCamelFloat {
    0%, 100% { transform: translateY(2%); }
    50% { transform: translateY(-1%); }
}

.store-hero-facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    overflow: hidden;
    background: color-mix(in srgb, var(--oasis-bg) 62%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 18%, var(--oasis-border));
    border-radius: var(--radius-lg);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 7%, transparent),
        0 18px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px) saturate(125%);
    -webkit-backdrop-filter: blur(14px) saturate(125%);
}

body.light-mode .store-hero-facts {
    background: color-mix(in srgb, var(--oasis-card-light) 68%, transparent);
    border-color: color-mix(in srgb, var(--oasis-primary) 22%, var(--oasis-border-light));
}

.store-hero-facts > div {
    padding: var(--space-5) clamp(var(--space-4), 2vw, var(--space-6));
    border-left: 1px solid var(--oasis-border);
}

.store-hero-facts > div:first-child {
    border-left: 0;
}

body.light-mode .store-hero-facts > div {
    border-left-color: var(--oasis-border-light);
}

.store-hero-facts dt {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
}

.store-hero-facts dt i {
    color: var(--oasis-primary);
    font-size: var(--text-sm);
}

.store-hero-facts dd {
    margin: 0;
    color: var(--oasis-text-secondary);
    font-size: var(--text-xs);
    line-height: 1.4;
}

body.light-mode .store-hero-facts dt {
    color: var(--oasis-text-light);
}

body.light-mode .store-hero-facts dd {
    color: var(--oasis-text-secondary-light);
}

.store-catalog {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    background: var(--oasis-surface);
}

body.light-mode .store-catalog {
    background: var(--oasis-surface-light);
}

.store-catalog > .container {
    max-width: 1460px;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.store-catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.store-catalog .categories-section {
    position: static;
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    padding: 0 0 var(--space-8);
    background: transparent;
    border-right: 0;
    border-bottom: 1px solid var(--oasis-border);
    font-family: var(--font-sans);
    text-align: left;
}

body.light-mode .store-catalog .categories-section {
    background: transparent;
    border-bottom-color: var(--oasis-border-light);
}

.categories-heading {
    margin-bottom: 0;
}

.categories-heading h2 {
    margin: 0;
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    line-height: 1.15;
}

body.light-mode .categories-heading h2 {
    color: var(--oasis-text-light);
}

.store-catalog .categories-label {
    margin-bottom: var(--space-2);
    color: var(--oasis-primary-soft);
    opacity: 1;
    letter-spacing: 0.14em;
}

body.light-mode .store-catalog .categories-label {
    color: var(--oasis-primary-dark);
}

.store-catalog .category-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: var(--space-3);
}

.store-catalog .category-card {
    display: grid;
    grid-template-columns: 1.8rem minmax(0, 1fr) auto;
    gap: var(--space-3);
    align-items: center;
    min-width: 0;
    padding: var(--space-4);
    background: color-mix(in srgb, var(--oasis-card) 72%, transparent);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-md);
    box-shadow: none;
    transform: none;
}

.store-catalog .category-card:last-child {
    border-bottom: 1px solid var(--oasis-border);
}

body.light-mode .store-catalog .category-card,
body.light-mode .store-catalog .category-card:last-child {
    background: color-mix(in srgb, var(--oasis-card-light) 84%, transparent);
    border-color: var(--oasis-border-light);
}

.store-catalog .category-card:hover {
    padding-left: var(--space-4);
    background: color-mix(in srgb, var(--oasis-primary) 8%, var(--oasis-card));
    border-color: color-mix(in srgb, var(--oasis-primary) 55%, var(--oasis-border));
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.store-catalog .category-card.active {
    padding-left: var(--space-4);
    background: color-mix(in srgb, var(--oasis-primary) 13%, var(--oasis-card));
    border: 1px solid var(--oasis-primary);
    box-shadow: none;
    transform: none;
}

body.light-mode .store-catalog .category-card:hover,
body.light-mode .store-catalog .category-card.active {
    background: color-mix(in srgb, var(--oasis-primary) 13%, var(--oasis-card-light));
    border-color: var(--oasis-primary-dark);
}

.category-index {
    color: var(--oasis-text-secondary);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
}

.store-catalog .category-name {
    min-width: 0;
    overflow: hidden;
    color: var(--oasis-text);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-catalog .category-card.active .category-name,
.store-catalog .category-card:hover .category-name {
    color: var(--oasis-primary-soft);
}

body.light-mode .store-catalog .category-name {
    color: var(--oasis-text-light);
}

body.light-mode .store-catalog .category-card.active .category-name,
body.light-mode .store-catalog .category-card:hover .category-name {
    color: var(--oasis-primary-dark);
}

.store-catalog .category-count {
    display: grid;
    place-items: center;
    min-width: 1.8rem;
    height: 1.8rem;
    padding: 0 var(--space-2);
    color: var(--oasis-text-secondary);
    background: color-mix(in srgb, var(--oasis-bg) 58%, transparent);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
}

.store-catalog .category-card.active .category-count {
    color: var(--oasis-primary-soft);
    background: color-mix(in srgb, var(--oasis-primary) 10%, var(--oasis-bg));
    border-color: color-mix(in srgb, var(--oasis-primary) 45%, var(--oasis-border));
}

body.light-mode .store-catalog .category-count {
    color: var(--oasis-text-secondary-light);
    background: color-mix(in srgb, var(--oasis-card-light) 72%, var(--oasis-border-light));
    border-color: var(--oasis-border-light);
}

body.light-mode .store-catalog .category-card.active .category-count {
    color: var(--oasis-primary-dark);
    background: color-mix(in srgb, var(--oasis-primary) 12%, var(--oasis-card-light));
    border-color: color-mix(in srgb, var(--oasis-primary-dark) 42%, var(--oasis-border-light));
}

.store-catalog .products-section {
    min-width: 0;
    padding: 0;
    background: transparent;
}

body.light-mode .store-catalog .products-section {
    background: transparent;
}

.products-section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
    gap: var(--space-8);
    align-items: end;
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--oasis-border);
}

body.light-mode .products-section-header {
    border-bottom-color: var(--oasis-border-light);
}

.products-kicker {
    margin-bottom: var(--space-2);
}

.products-title {
    margin: 0;
    color: var(--oasis-text);
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    line-height: 1;
    letter-spacing: -0.035em;
}

.products-intro {
    max-width: 420px;
    margin: 0;
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.65;
}

body.light-mode .products-title {
    color: var(--oasis-text-light);
}

body.light-mode .products-intro {
    color: var(--oasis-text-secondary-light);
}

.store-catalog .products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(var(--space-5), 2.5vw, var(--space-8));
    margin-top: var(--space-8);
    animation: fadeInUp 0.45s ease-out;
}

.store-catalog .product-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--oasis-primary) 5%, var(--oasis-card)) 0%,
        var(--oasis-card) 46%,
        color-mix(in srgb, var(--oasis-bg) 18%, var(--oasis-card)) 100%
    );
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 14%, var(--oasis-border));
    border-radius: var(--radius-lg);
    cursor: default;
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 5%, transparent),
        0 16px 38px color-mix(in srgb, var(--oasis-bg) 52%, transparent);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.store-catalog .product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--oasis-text) 5%, transparent),
        transparent 28%
    );
    pointer-events: none;
    opacity: 0.7;
}

body.light-mode .store-catalog .product-card {
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--oasis-primary) 7%, var(--oasis-card-light)) 0%,
        var(--oasis-card-light) 52%,
        color-mix(in srgb, var(--oasis-bg-light) 14%, var(--oasis-card-light)) 100%
    );
    border-color: color-mix(in srgb, var(--oasis-primary) 20%, var(--oasis-border-light));
}

.store-catalog .product-card:hover {
    border-color: var(--oasis-primary);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 8%, transparent),
        0 22px 50px color-mix(in srgb, var(--oasis-bg) 62%, transparent),
        0 0 0 1px color-mix(in srgb, var(--oasis-primary) 16%, transparent);
    transform: translateY(-6px);
}

.store-catalog .product-card:hover::before {
    opacity: 0.95;
}

body.light-mode .store-catalog .product-card:hover {
    border-color: var(--oasis-primary-dark);
}

.store-catalog .product-card-featured {
    border-color: color-mix(in srgb, var(--oasis-primary) 72%, var(--oasis-border));
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-primary-soft) 16%, transparent),
        0 0 0 1px color-mix(in srgb, var(--oasis-primary) 18%, transparent),
        0 0 28px color-mix(in srgb, var(--oasis-primary) 24%, transparent),
        0 22px 48px color-mix(in srgb, var(--oasis-bg) 66%, transparent);
    animation: featuredProductGlow 3.2s ease-in-out infinite;
}

.store-catalog .product-card-featured::before {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--oasis-primary-soft) 13%, transparent),
        transparent 34%
    );
    opacity: 1;
}

.store-catalog .product-card-featured:hover {
    border-color: var(--oasis-primary-soft);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-primary-soft) 22%, transparent),
        0 0 0 1px color-mix(in srgb, var(--oasis-primary-soft) 28%, transparent),
        0 0 42px color-mix(in srgb, var(--oasis-primary) 34%, transparent),
        0 26px 56px color-mix(in srgb, var(--oasis-bg) 72%, transparent);
}

body.light-mode .store-catalog .product-card-featured {
    border-color: color-mix(in srgb, var(--oasis-primary-dark) 60%, var(--oasis-border-light));
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-primary-soft) 22%, transparent),
        0 0 0 1px color-mix(in srgb, var(--oasis-primary) 20%, transparent),
        0 0 28px color-mix(in srgb, var(--oasis-primary) 22%, transparent),
        0 18px 40px color-mix(in srgb, var(--oasis-primary-dark) 16%, transparent);
}

@keyframes featuredProductGlow {
    0%, 100% {
        filter: drop-shadow(0 0 2px color-mix(in srgb, var(--oasis-primary) 18%, transparent));
    }
    50% {
        filter: drop-shadow(0 0 9px color-mix(in srgb, var(--oasis-primary) 32%, transparent));
    }
}

.store-catalog .product-image {
    isolation: isolate;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 0;
    background:
        radial-gradient(
            circle at 50% 45%,
            color-mix(in srgb, var(--oasis-primary-soft) 15%, transparent),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--oasis-store-bg-dark) 78%, var(--oasis-card)),
            color-mix(in srgb, var(--oasis-bg) 18%, var(--oasis-card))
        );
    border-bottom: 1px solid color-mix(in srgb, var(--oasis-primary) 12%, var(--oasis-border));
}

body.light-mode .store-catalog .product-image {
    background:
        radial-gradient(
            circle at 50% 45%,
            color-mix(in srgb, var(--oasis-primary-soft) 18%, transparent),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--oasis-primary) 10%, var(--oasis-card-light)),
            color-mix(in srgb, var(--oasis-bg-light) 16%, var(--oasis-card-light))
        );
    border-bottom-color: var(--oasis-border-light);
}

.store-catalog .product-image::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    height: 24%;
    background: linear-gradient(to bottom, transparent, var(--oasis-card));
    pointer-events: none;
}

body.light-mode .store-catalog .product-image::after {
    background: linear-gradient(to bottom, transparent, var(--oasis-card-light));
}

.store-catalog .product-card-featured .product-image {
    background:
        radial-gradient(
            circle at 50% 42%,
            color-mix(in srgb, var(--oasis-primary-soft) 25%, transparent),
            transparent 52%
        ),
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--oasis-primary-dark) 34%, var(--oasis-store-bg-dark)),
            color-mix(in srgb, var(--oasis-bg) 12%, var(--oasis-card))
        );
}

.store-catalog .product-image img {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    object-fit: contain !important;
    padding: clamp(var(--space-4), 2vw, var(--space-8));
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.store-catalog .product-card:hover .product-image img {
    filter: saturate(1.06);
    transform: scale(1.045);
}

.store-catalog .product-badge {
    --badge-accent: var(--oasis-primary-soft);
    top: var(--space-4);
    right: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: auto;
    min-width: 0;
    padding: 0.48rem 0.72rem;
    color: var(--oasis-text);
    background: color-mix(in srgb, var(--oasis-bg) 68%, transparent);
    border: 1px solid color-mix(in srgb, var(--badge-accent) 52%, transparent);
    border-radius: var(--radius-full);
    font-size: 0.66rem;
    line-height: 1;
    letter-spacing: 0.08em;
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 15%, transparent),
        0 8px 22px color-mix(in srgb, var(--oasis-bg) 46%, transparent),
        0 0 18px color-mix(in srgb, var(--badge-accent) 12%, transparent);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
}

.store-catalog .product-badge::before {
    content: '';
    flex: 0 0 auto;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--badge-accent);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px color-mix(in srgb, var(--badge-accent) 72%, transparent);
}

.store-catalog .product-badge-lifetime {
    --badge-accent: var(--oasis-accent-sun-soft);
    color: var(--oasis-text);
    background: color-mix(in srgb, var(--oasis-bg) 68%, transparent);
    border-color: color-mix(in srgb, var(--badge-accent) 52%, transparent);
}

.store-catalog .product-badge-subscription {
    --badge-accent: var(--oasis-accent-coral);
    color: var(--oasis-text);
    background: color-mix(in srgb, var(--oasis-bg) 68%, transparent);
    border-color: color-mix(in srgb, var(--badge-accent) 52%, transparent);
}

body.light-mode .store-catalog .product-badge,
body.light-mode .store-catalog .product-badge-lifetime,
body.light-mode .store-catalog .product-badge-subscription {
    color: var(--oasis-text-light);
    background: color-mix(in srgb, var(--oasis-card-light) 72%, transparent);
}

.store-catalog .product-featured-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.5rem 0.76rem;
    color: var(--oasis-text);
    background: color-mix(in srgb, var(--oasis-primary-dark) 48%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-primary-soft) 66%, transparent);
    border-radius: var(--radius-full);
    font-size: 0.66rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 18%, transparent),
        0 0 18px color-mix(in srgb, var(--oasis-primary) 28%, transparent),
        0 8px 22px color-mix(in srgb, var(--oasis-bg) 48%, transparent);
    backdrop-filter: blur(14px) saturate(145%);
    -webkit-backdrop-filter: blur(14px) saturate(145%);
}

.store-catalog .product-featured-badge i {
    color: var(--oasis-accent-sun-soft);
    font-size: 0.7rem;
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--oasis-primary-soft) 68%, transparent));
}

body.light-mode .store-catalog .product-featured-badge {
    color: var(--oasis-text-light);
    background: color-mix(in srgb, var(--oasis-card-light) 72%, transparent);
    border-color: color-mix(in srgb, var(--oasis-primary-dark) 58%, transparent);
}

.store-catalog .product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: clamp(var(--space-5), 2vw, var(--space-8));
    background: color-mix(in srgb, var(--oasis-card) 88%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.light-mode .store-catalog .product-content {
    background: color-mix(in srgb, var(--oasis-card-light) 90%, transparent);
}

.product-copy {
    min-width: 0;
    flex: 1;
}

.store-catalog .product-title {
    display: inline-block;
    margin: 0 0 var(--space-2);
    color: var(--oasis-text);
    font-size: clamp(var(--text-xl), 1.8vw, var(--text-2xl));
    line-height: 1.2;
    transition: color var(--transition-fast);
}

.store-catalog .product-card:hover .product-title {
    color: var(--oasis-primary-soft);
}

body.light-mode .store-catalog .product-title {
    color: var(--oasis-text-light);
}

body.light-mode .store-catalog .product-card:hover .product-title {
    color: var(--oasis-primary-dark);
}

.store-catalog .product-description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.light-mode .store-catalog .product-description {
    color: var(--oasis-text-secondary-light);
}

.store-catalog .product-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--oasis-border);
    text-align: left;
}

body.light-mode .store-catalog .product-footer {
    border-top-color: var(--oasis-border-light);
}

.store-catalog .product-price {
    color: var(--oasis-text);
    background: none;
    font-size: var(--text-2xl);
    letter-spacing: -0.025em;
    -webkit-text-fill-color: currentColor;
}

body.light-mode .store-catalog .product-price {
    color: var(--oasis-text-light);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.store-catalog .upgrade-price-top {
    justify-content: flex-start;
}

.store-catalog .product-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    min-height: 2.5rem;
    gap: var(--space-2);
    padding-block: 0.68rem;
    border-radius: var(--radius-full);
    line-height: 1;
    white-space: nowrap;
}

.store-catalog .product-footer .btn-primary {
    color: var(--oasis-text);
    background: color-mix(in srgb, var(--oasis-primary) 14%, var(--oasis-card));
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 42%, var(--oasis-border));
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 10%, transparent);
}

.store-catalog .product-footer .btn-primary:hover {
    color: var(--oasis-bg);
    background: var(--oasis-primary);
    border-color: var(--oasis-primary-soft);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--oasis-primary) 24%, transparent);
}

body.light-mode .store-catalog .product-footer .btn-primary {
    color: var(--oasis-text-light);
    background: color-mix(in srgb, var(--oasis-primary) 14%, var(--oasis-card-light));
    border-color: color-mix(in srgb, var(--oasis-primary-dark) 42%, var(--oasis-border-light));
}

body.light-mode .store-catalog .product-footer .btn-primary:hover {
    color: var(--oasis-card-light);
    background: var(--oasis-primary-dark);
    border-color: var(--oasis-primary-dark);
}

.store-catalog .product-footer .btn i {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.8rem;
    height: 0.8rem;
    margin: 0;
    font-size: 0.7em;
    line-height: 1;
    transform: none;
}

.store-catalog .product-footer .btn i::before {
    display: block;
    line-height: 1;
}

.store-catalog .btn-owned {
    color: var(--oasis-bg);
    background: var(--oasis-accent-teal);
    box-shadow: none;
}

.store-catalog .product-lock-overlay {
    flex-direction: column;
    justify-content: center;
    padding: var(--space-6);
    background: color-mix(in srgb, var(--oasis-bg) 88%, transparent);
    border-radius: var(--radius-lg);
}

.store-catalog .product-lock-icon {
    font-size: var(--text-3xl);
    color: var(--oasis-primary);
    filter: none;
}

.store-catalog .product-lock-msg {
    max-width: 240px;
    color: var(--oasis-text);
    text-align: center;
}

.product-skeleton-list {
    --sk-base: color-mix(in srgb, var(--oasis-card) 75%, transparent);
    --sk-shine: color-mix(in srgb, var(--oasis-border) 80%, transparent);
    --sk-radius: var(--radius-sm);
    display: grid;
}

body.light-mode .product-skeleton-list {
    --sk-base: color-mix(in srgb, var(--oasis-border-light) 58%, transparent);
    --sk-shine: color-mix(in srgb, var(--oasis-card-light) 85%, transparent);
}

.product-skeleton-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--oasis-card);
    border: 1px solid var(--oasis-border);
    border-radius: var(--radius-lg);
}

body.light-mode .product-skeleton-card {
    background: var(--oasis-card-light);
    border-color: var(--oasis-border-light);
}

.product-skeleton-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.product-skeleton-copy,
.product-skeleton-action {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-inline: var(--space-6);
}

.product-skeleton-copy {
    flex: 1;
    padding-top: var(--space-6);
}

.product-skeleton-action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    padding-bottom: var(--space-6);
    border-top: 1px solid var(--oasis-border);
}

body.light-mode .product-skeleton-action {
    border-top-color: var(--oasis-border-light);
}

.product-skeleton-title {
    width: min(260px, 65%);
    height: 1.4rem;
}

.product-skeleton-line {
    width: min(520px, 92%);
    height: 0.7rem;
}

.product-skeleton-line-short {
    width: min(340px, 62%);
}

.product-skeleton-price {
    width: 88px;
    height: 1.65rem;
}

.product-skeleton-button {
    width: 108px;
    height: 2.35rem;
}

@media (max-width: 1100px) {
    .store-hero-layout {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .store-hero-facts {
        max-width: 720px;
    }

    .store-hero-aside {
        max-width: 720px;
        margin-inline: auto;
    }

    .store-hero-character {
        justify-content: center;
        height: clamp(270px, 42vw, 390px);
    }

    .store-catalog-layout {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .store-catalog .categories-section {
        position: static;
        padding: 0 0 var(--space-8);
        border-right: 0;
        border-bottom: 1px solid var(--oasis-border);
    }

    body.light-mode .store-catalog .categories-section {
        border-bottom-color: var(--oasis-border-light);
    }

    .categories-heading {
        margin-bottom: var(--space-5);
    }

    .store-catalog .category-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        gap: 0 var(--space-6);
    }

    .store-catalog .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 760px) {
    .store-header {
        padding: calc(80px + var(--space-12)) 0 var(--space-12);
    }

    .store-header .store-title {
        font-size: clamp(2.8rem, 14vw, 4.6rem);
    }

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

    .store-hero-character {
        justify-content: center;
        height: clamp(230px, 70vw, 340px);
        margin-bottom: calc(var(--space-4) * -1);
    }

    .store-hero-facts > div,
    .store-hero-facts > div:first-child {
        display: grid;
        grid-template-columns: minmax(100px, 0.5fr) 1fr;
        align-items: center;
        padding: var(--space-3) 0;
        border: 0;
        border-top: 1px solid var(--oasis-border);
    }

    .store-hero-facts > div:first-child {
        border-top: 0;
    }

    body.light-mode .store-hero-facts > div {
        border-top-color: var(--oasis-border-light);
    }

    .store-hero-facts dt {
        margin: 0;
    }

    .products-section-header {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .store-catalog .categories-section {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

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

@media (max-width: 480px) {
    .store-catalog .category-tabs {
        grid-template-columns: 1fr;
    }

    .store-catalog .category-card {
        padding: var(--space-3) 0;
    }

    .store-catalog .category-card.active {
        padding-left: var(--space-3);
    }

    .store-catalog .product-footer {
        align-items: center;
    }

    .store-catalog .product-footer .btn {
        min-width: 0;
        padding-inline: var(--space-3);
    }

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

@media (prefers-reduced-motion: reduce) {
    .store-hero-icon {
        animation: none;
    }

    .store-catalog .product-card-featured {
        animation: none;
        filter: drop-shadow(0 0 6px color-mix(in srgb, var(--oasis-primary) 26%, transparent));
    }
}

/* Product detail page */
.product-modal-page {
    position: relative;
    isolation: isolate;
    padding: calc(80px + var(--space-10)) 0 var(--space-16);
    background:
        radial-gradient(circle at 78% 7%, color-mix(in srgb, var(--oasis-primary) 9%, transparent), transparent 29rem),
        linear-gradient(180deg, color-mix(in srgb, var(--oasis-card) 28%, var(--oasis-bg)) 0, var(--oasis-bg) 26rem);
}

.product-modal-page::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 80px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--oasis-primary) 30%, transparent), transparent);
    pointer-events: none;
}

body.light-mode .product-modal-page {
    background:
        radial-gradient(circle at 78% 7%, color-mix(in srgb, var(--oasis-primary) 11%, transparent), transparent 29rem),
        linear-gradient(180deg, color-mix(in srgb, var(--oasis-card-light) 68%, var(--oasis-bg-light)) 0, var(--oasis-bg-light) 26rem);
}

.product-modal-page > .container {
    width: min(100% - 2rem, 1480px);
    max-width: 1480px;
    padding-inline: 0;
}

.product-modal-page .product-breadcrumb {
    width: fit-content;
    max-width: 100%;
    margin-bottom: var(--space-6);
    padding: 0.55rem 0.8rem;
    color: var(--oasis-text-secondary);
    background: color-mix(in srgb, var(--oasis-card) 72%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-border) 80%, transparent);
    border-radius: var(--radius-full);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 4%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.light-mode .product-modal-page .product-breadcrumb {
    color: var(--oasis-text-secondary-light);
    background: color-mix(in srgb, var(--oasis-card-light) 78%, transparent);
    border-color: color-mix(in srgb, var(--oasis-border-light) 88%, transparent);
}

.product-modal-page .breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: var(--font-weight-semibold);
}

.product-modal-page .breadcrumb-sep {
    margin-inline: 0.15rem;
}

.product-modal-page .product-title-label {
    min-width: 0;
    overflow: hidden;
    color: var(--oasis-text);
    font-weight: var(--font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.light-mode .product-modal-page .product-title-label {
    color: var(--oasis-text-light);
}

.product-modal-page .product-modal-container {
    grid-template-columns: minmax(0, 1.52fr) minmax(370px, 0.86fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    max-width: none;
}

.product-modal-page .product-modal-left {
    min-width: 0;
    gap: var(--space-6);
}

.product-modal-page .product-modal-image {
    position: relative;
    isolation: isolate;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--oasis-primary) 13%, transparent), transparent 52%),
        color-mix(in srgb, var(--oasis-card) 82%, var(--oasis-bg));
    border: 1px solid color-mix(in srgb, var(--oasis-border) 82%, var(--oasis-primary) 18%);
    border-radius: clamp(1.15rem, 2vw, 1.65rem);
    box-shadow:
        0 28px 70px color-mix(in srgb, var(--oasis-bg) 72%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 5%, transparent);
}

.product-modal-page .product-modal-image::after {
    content: '';
    position: absolute;
    z-index: 4;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 -5rem 8rem color-mix(in srgb, var(--oasis-bg) 26%, transparent);
    pointer-events: none;
}

body.light-mode .product-modal-page .product-modal-image {
    background:
        radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--oasis-primary) 12%, transparent), transparent 52%),
        color-mix(in srgb, var(--oasis-card-light) 85%, var(--oasis-bg-light));
    border-color: color-mix(in srgb, var(--oasis-border-light) 78%, var(--oasis-primary) 22%);
    box-shadow: 0 28px 70px color-mix(in srgb, var(--oasis-text-light) 16%, transparent);
}

.product-modal-page .product-modal-image:not(.has-rank-preview) > img {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    filter: drop-shadow(0 1.25rem 2rem color-mix(in srgb, var(--oasis-bg) 50%, transparent));
}

.product-modal-page .product-modal-image.has-rank-preview > .product-background-image {
    position: relative;
    z-index: 0;
    height: 100%;
}

.product-modal-page .rank-preview-overlay {
    z-index: 2;
}

.product-modal-page .rank-preview-nametag {
    border: 1px solid color-mix(in srgb, var(--oasis-text) 9%, transparent);
    box-shadow: 0 0.55rem 1.5rem color-mix(in srgb, var(--oasis-bg) 56%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-modal-page .product-modal-info {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: color-mix(in srgb, var(--oasis-card) 91%, transparent);
    border: 1px solid var(--oasis-border);
    border-radius: clamp(1.15rem, 2vw, 1.65rem);
    box-shadow:
        0 24px 64px color-mix(in srgb, var(--oasis-bg) 62%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 4%, transparent);
}

body.light-mode .product-modal-page .product-modal-info {
    background: color-mix(in srgb, var(--oasis-card-light) 94%, transparent);
    border-color: var(--oasis-border-light);
    box-shadow: 0 24px 64px color-mix(in srgb, var(--oasis-text-light) 13%, transparent);
}

.product-summary-block {
    position: relative;
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.product-summary-block::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: min(15rem, 40%);
    aspect-ratio: 1;
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--oasis-primary) 10%, transparent), transparent 68%);
    pointer-events: none;
}

.product-modal-page .product-info-badges {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: var(--space-6);
}

.product-modal-page .badge-category,
.product-modal-page .product-badge-detail,
.product-detail-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2rem;
    margin: 0;
    padding: 0.42rem 0.75rem;
    color: var(--oasis-primary-soft);
    background: color-mix(in srgb, var(--oasis-primary) 11%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 25%, transparent);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 5%, transparent);
}

.product-detail-featured-badge {
    color: var(--oasis-bg);
    background: linear-gradient(135deg, var(--oasis-primary-soft), var(--oasis-primary));
    border-color: color-mix(in srgb, var(--oasis-primary-soft) 72%, var(--oasis-text));
    box-shadow: 0 0 1.25rem color-mix(in srgb, var(--oasis-primary) 22%, transparent);
}

.product-modal-page .product-badge-detail-subscription {
    color: var(--oasis-accent-coral);
    background: color-mix(in srgb, var(--oasis-accent-coral) 10%, transparent);
    border-color: color-mix(in srgb, var(--oasis-accent-coral) 28%, transparent);
}

body.light-mode .product-modal-page .badge-category,
body.light-mode .product-modal-page .product-badge-detail {
    color: var(--oasis-primary-dark);
}

.product-title-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: self-end;
    justify-content: flex-start;
    gap: var(--space-5);
    width: 100%;
    text-align: left;
}

.product-title-art {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: clamp(4rem, 8vw, 5.25rem);
    aspect-ratio: 1;
    overflow: hidden;
    background: color-mix(in srgb, var(--oasis-surface) 72%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 28%, var(--oasis-border));
    border-radius: 1.15rem;
    box-shadow:
        0 0.8rem 2rem color-mix(in srgb, var(--oasis-bg) 55%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 6%, transparent);
}

body.light-mode .product-title-art {
    background: color-mix(in srgb, var(--oasis-surface-light) 78%, transparent);
    border-color: color-mix(in srgb, var(--oasis-primary) 28%, var(--oasis-border-light));
}

.product-modal-page .product-modal-title-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    border-radius: 0;
}

.product-title-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.product-title-kicker,
.product-details-kicker,
.purchase-card-kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--oasis-primary);
    font-size: 0.69rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-modal-page .product-modal-title {
    display: block;
    margin: 0;
    color: var(--oasis-text);
    font-family: "oasis", var(--font-display), sans-serif !important;
    font-size: clamp(2rem, 4.2vw, 3.45rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.015em;
}

body.light-mode .product-modal-page .product-modal-title {
    color: var(--oasis-text-light);
}

.product-modal-page .product-modal-short-desc {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin: var(--space-5) 0 0;
    color: var(--oasis-text-secondary);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.75;
}

.product-modal-page .product-modal-details {
    margin: 0;
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    background: color-mix(in srgb, var(--oasis-surface) 35%, transparent);
    border-top: 1px solid var(--oasis-border);
}

body.light-mode .product-modal-page .product-modal-details {
    background: color-mix(in srgb, var(--oasis-surface-light) 52%, transparent);
    border-top-color: var(--oasis-border-light);
}

.product-details-heading {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.product-details-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 3rem;
    aspect-ratio: 1;
    color: var(--oasis-primary-soft);
    background: color-mix(in srgb, var(--oasis-primary) 11%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 25%, transparent);
    border-radius: 0.95rem;
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 5%, transparent);
}

.product-details-heading h2 {
    margin: 0;
    color: var(--oasis-text);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

body.light-mode .product-details-heading h2 {
    color: var(--oasis-text-light);
}

.product-modal-page .product-modal-details-content {
    max-width: 54rem;
    color: color-mix(in srgb, var(--oasis-text) 84%, var(--oasis-text-secondary));
    font-size: 1rem;
    line-height: 1.85;
}

.product-modal-page .product-modal-details-content > :first-child {
    margin-top: 0;
}

.product-modal-page .product-modal-details-content h1,
.product-modal-page .product-modal-details-content h2,
.product-modal-page .product-modal-details-content h3 {
    color: var(--oasis-primary-soft);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.product-modal-page .product-modal-details-content h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
}

.product-modal-page .product-modal-details-content h2 {
    margin-top: clamp(2rem, 4vw, 3rem);
    font-size: clamp(1.55rem, 2.7vw, 2.15rem);
}

.product-modal-page .product-modal-details-content h3 {
    margin-top: var(--space-8);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.product-modal-page .product-modal-details-content p {
    margin-bottom: var(--space-5);
}

.product-modal-page .product-modal-details-content ul,
.product-modal-page .product-modal-details-content ol {
    display: grid;
    gap: 0.55rem;
    margin-block: var(--space-5);
    padding-left: 1.35rem;
}

.product-modal-page .product-modal-details-content li {
    margin: 0;
    padding-left: 0.25rem;
    color: color-mix(in srgb, var(--oasis-text) 88%, var(--oasis-text-secondary));
}

.product-modal-page .product-modal-details-content blockquote {
    border-left-width: 2px;
    border-radius: 0 0.85rem 0.85rem 0;
}

body.light-mode .product-modal-page .product-modal-details-content,
body.light-mode .product-modal-page .product-modal-details-content li {
    color: color-mix(in srgb, var(--oasis-text-light) 86%, var(--oasis-text-secondary-light));
}

.product-modal-page .product-modal-right {
    top: calc(80px + var(--space-5));
}

.product-modal-page .product-purchase-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 2.6vw, 2rem);
    background: color-mix(in srgb, var(--oasis-card) 90%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-border) 80%, var(--oasis-primary) 20%);
    border-radius: clamp(1.15rem, 2vw, 1.65rem);
    box-shadow:
        0 30px 80px color-mix(in srgb, var(--oasis-bg) 72%, transparent),
        0 0 0 1px color-mix(in srgb, var(--oasis-primary) 4%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 5%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


body.light-mode .product-modal-page .product-purchase-card {
    background: color-mix(in srgb, var(--oasis-card-light) 92%, transparent);
    border-color: color-mix(in srgb, var(--oasis-border-light) 78%, var(--oasis-primary) 22%);
    box-shadow: 0 30px 80px color-mix(in srgb, var(--oasis-text-light) 15%, transparent);
}

.product-modal-page .product-purchase-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--oasis-border);
}

body.light-mode .product-modal-page .product-purchase-header {
    border-bottom-color: var(--oasis-border-light);
}

.purchase-card-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.product-modal-page .store-product-logo {
    width: min(10rem, 45%);
    margin: 0;
    opacity: 0.88;
}

.purchase-card-secure {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    color: var(--oasis-primary-soft);
    background: color-mix(in srgb, var(--oasis-primary) 9%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 22%, transparent);
    border-radius: var(--radius-full);
    font-size: 0.64rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.purchase-card-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.purchase-card-kicker {
    margin: 0;
}

.purchase-card-product {
    min-width: 0;
    overflow: hidden;
    color: var(--oasis-text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.light-mode .purchase-card-product {
    color: var(--oasis-text-secondary-light);
}

.product-modal-page .product-price-display {
    display: flex;
    justify-content: flex-start;
    justify-self: auto;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
}

.product-modal-page .product-price-amount {
    display: block;
    color: var(--oasis-primary);
    font-size: clamp(2.65rem, 5vw, 4.4rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.product-modal-page .product-price-currency {
    color: var(--oasis-text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.product-modal-page .product-purchase-form {
    gap: var(--space-5);
}

.product-modal-page .form-group,
.product-modal-page .payment-gateway-section {
    width: 100%;
    margin: 0;
}

.product-modal-page .form-group {
    gap: 0.55rem;
}

.product-modal-page .form-group label,
.product-modal-page .payment-gateway-label {
    min-height: 1.25rem;
    margin: 0;
    color: var(--oasis-text);
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.25rem;
    letter-spacing: 0.035em;
}

.product-modal-page .payment-gateway-label {
    margin-bottom: 0.55rem;
}

.product-modal-page .form-group label > i,
.product-modal-page .payment-gateway-label > i {
    color: var(--oasis-primary);
}

.product-modal-page .receiver-display,
.product-modal-page .form-input {
    width: 100%;
    height: 3.35rem;
    min-height: 3.35rem;
    background: color-mix(in srgb, var(--oasis-surface) 74%, transparent) !important;
    border: 1px solid var(--oasis-border);
    border-radius: 0.9rem !important;
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 3%, transparent);
}

.product-modal-page .receiver-display {
    padding: 0 1rem;
    border-color: color-mix(in srgb, var(--oasis-primary) 62%, var(--oasis-border));
    font-size: 1rem;
}

.product-modal-page .form-input {
    padding: 0 1rem;
    line-height: calc(3.35rem - 2px);
}

.product-modal-page .form-input:hover {
    border-color: color-mix(in srgb, var(--oasis-primary) 45%, var(--oasis-border));
}

.product-modal-page .form-input:focus {
    border-color: var(--oasis-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--oasis-primary) 11%, transparent);
}

.product-modal-page .email-input-product {
    height: 100% !important;
}

body.light-mode .product-modal-page .receiver-display,
body.light-mode .product-modal-page .form-input {
    background: color-mix(in srgb, var(--oasis-surface-light) 86%, transparent) !important;
    border-color: var(--oasis-border-light);
}

body.light-mode .product-modal-page .receiver-display {
    border-color: color-mix(in srgb, var(--oasis-primary) 55%, var(--oasis-border-light));
}

.product-modal-page .form-help {
    padding-inline: 0.15rem;
    color: var(--oasis-text-secondary);
    font-size: 0.72rem;
    line-height: 1.5;
}

.product-modal-page .chat-color-selector-group {
    gap: 0.75rem;
}

.product-modal-page .chat-color-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.product-modal-page .chat-color-option {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 3rem;
    padding: 0.55rem 0.7rem;
    background: color-mix(in srgb, var(--oasis-surface) 72%, transparent);
    border: 1px solid var(--oasis-border);
    border-radius: 0.9rem;
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 3%, transparent);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-modal-page .chat-color-option:hover,
.product-modal-page .chat-color-option:focus-within {
    background: color-mix(in srgb, var(--chat-color) 8%, var(--oasis-surface));
    border-color: color-mix(in srgb, var(--chat-color) 48%, var(--oasis-border));
    transform: translateY(-1px);
}

.product-modal-page .chat-color-option.selected {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--chat-color) 16%, transparent), transparent 56%),
        color-mix(in srgb, var(--oasis-surface) 82%, transparent);
    border-color: color-mix(in srgb, var(--chat-color) 72%, var(--oasis-primary));
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--chat-color) 13%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 5%, transparent);
}

.product-modal-page .chat-color-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.product-modal-page .chat-color-swatch {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-right: 0.65rem;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0) 42%),
        var(--chat-color);
    border: 1px solid color-mix(in srgb, var(--chat-color) 55%, var(--oasis-text));
    border-radius: 0.5rem;
    box-shadow: 0 0.4rem 1rem color-mix(in srgb, var(--chat-color) 20%, transparent);
}

.product-modal-page .chat-color-option.selected .chat-color-swatch::after {
    content: '';
    width: 0.45rem;
    height: 0.75rem;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.8));
    transform: rotate(45deg) translate(-1px, -1px);
}

.product-modal-page .chat-color-name {
    min-width: 0;
    overflow: hidden;
    color: var(--oasis-text);
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-modal-page .chat-color-error {
    color: #ef4444;
}

body.light-mode .product-modal-page .chat-color-option {
    background: color-mix(in srgb, var(--oasis-surface-light) 84%, transparent);
    border-color: var(--oasis-border-light);
}

body.light-mode .product-modal-page .chat-color-option:hover,
body.light-mode .product-modal-page .chat-color-option:focus-within {
    background: color-mix(in srgb, var(--chat-color) 9%, var(--oasis-surface-light));
    border-color: color-mix(in srgb, var(--chat-color) 42%, var(--oasis-border-light));
}

body.light-mode .product-modal-page .chat-color-option.selected {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--chat-color) 15%, transparent), transparent 56%),
        color-mix(in srgb, var(--oasis-surface-light) 90%, transparent);
    border-color: color-mix(in srgb, var(--chat-color) 62%, var(--oasis-primary));
}

body.light-mode .product-modal-page .chat-color-name {
    color: var(--oasis-text-light);
}

.product-modal-page .payment-gateway-options {
    gap: 0.65rem;
}

.product-modal-page .payment-gateway-option {
    min-width: 0;
    padding: 0.9rem;
    background: color-mix(in srgb, var(--oasis-surface) 70%, transparent);
    border: 1px solid var(--oasis-border);
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 3%, transparent);
}

.product-modal-page .payment-gateway-option:hover {
    background: color-mix(in srgb, var(--oasis-primary) 6%, var(--oasis-surface));
    border-color: color-mix(in srgb, var(--oasis-primary) 48%, var(--oasis-border));
    transform: translateY(-1px);
}

.product-modal-page .payment-gateway-option.selected {
    background: color-mix(in srgb, var(--oasis-primary) 10%, var(--oasis-surface));
    border-color: var(--oasis-primary);
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--oasis-primary) 9%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 5%, transparent);
}

body.light-mode .product-modal-page .payment-gateway-option {
    background: color-mix(in srgb, var(--oasis-surface-light) 84%, transparent);
    border-color: var(--oasis-border-light);
}

body.light-mode .product-modal-page .payment-gateway-option.selected {
    background: color-mix(in srgb, var(--oasis-primary) 10%, var(--oasis-surface-light));
    border-color: var(--oasis-primary);
}

.product-modal-page .payment-gateway-radio {
    width: 1.15rem;
    height: 1.15rem;
    margin-right: 0.75rem;
    border-width: 1px;
}

.product-modal-page .payment-gateway-option.selected .payment-gateway-radio::after {
    width: 0.38rem;
    height: 0.38rem;
}

.product-modal-page .payment-gateway-icon {
    width: 2.65rem;
    height: 2.65rem;
    margin-right: 0.8rem;
    border-radius: 0.8rem;
    font-size: 1.35rem;
}

.product-modal-page .payment-gateway-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.2rem;
    font-size: 0.98rem;
}

.product-modal-page .payment-gateway-desc {
    font-size: 0.73rem;
    line-height: 1.4;
}

.product-modal-page .payment-gateway-badge {
    padding: 0.22rem 0.48rem;
    color: var(--oasis-text);
    background: color-mix(in srgb, var(--oasis-primary) 48%, var(--oasis-card));
    font-size: 0.56rem;
}

.product-modal-page .payment-gateway-cards {
    gap: 0.38rem;
    margin-top: 0.4rem;
    font-size: 0.95rem;
}

.product-modal-page .promo-code-wrapper {
    gap: 0.6rem;
}

.product-modal-page .btn-apply-promo {
    padding-inline: 1.15rem;
    background: color-mix(in srgb, var(--oasis-primary) 9%, var(--oasis-surface));
    border: 1px solid color-mix(in srgb, var(--oasis-primary) 38%, var(--oasis-border));
    border-radius: 0.9rem;
    color: var(--oasis-primary-soft);
    font-size: 0.78rem;
}

.product-modal-page #promo-code:disabled {
    color: var(--oasis-primary-soft);
    background: color-mix(in srgb, var(--oasis-primary) 7%, var(--oasis-surface)) !important;
    border-color: color-mix(in srgb, var(--oasis-primary) 30%, var(--oasis-border));
    opacity: 1;
}

.product-modal-page .remove-promocode {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--oasis-text-secondary);
    background: color-mix(in srgb, var(--oasis-card) 70%, transparent);
    border: 1px solid color-mix(in srgb, var(--oasis-text-secondary) 42%, var(--oasis-border));
    border-radius: 0.65rem;
    transform: none;
}

.product-modal-page .remove-promocode:hover {
    color: var(--oasis-accent-sun);
    background: color-mix(in srgb, var(--oasis-accent-sun) 8%, var(--oasis-card));
    border: 1px solid color-mix(in srgb, var(--oasis-accent-sun) 38%, var(--oasis-border));
    transform: translateY(-1px);
}

body.light-mode .product-modal-page #promo-code:disabled {
    color: var(--oasis-primary-dark);
    background: color-mix(in srgb, var(--oasis-primary) 7%, var(--oasis-surface-light)) !important;
    border-color: color-mix(in srgb, var(--oasis-primary) 30%, var(--oasis-border-light));
}

.product-modal-page .form-checkbox-group {
    padding: 0.9rem 1rem;
    background: color-mix(in srgb, var(--oasis-surface) 64%, transparent);
    border: 1px solid var(--oasis-border);
    border-radius: 0.9rem;
}

.product-modal-page .checkbox-label input[type="checkbox"] {
    accent-color: var(--oasis-primary);
}

.product-modal-page .btn-continue {
    min-height: 3.65rem;
    padding: 0.9rem 1.2rem;
    color: var(--oasis-bg);
    background: linear-gradient(135deg, var(--oasis-primary-soft), var(--oasis-primary));
    border: 1px solid color-mix(in srgb, var(--oasis-primary-soft) 55%, var(--oasis-text));
    border-radius: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    box-shadow:
        0 0.9rem 2rem color-mix(in srgb, var(--oasis-primary) 20%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 35%, transparent);
}

.product-modal-page .btn-continue:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow:
        0 1.15rem 2.5rem color-mix(in srgb, var(--oasis-primary) 27%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--oasis-text) 40%, transparent);
}

.product-modal-page .payment-methods-info {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--oasis-border);
}

.product-modal-page .payment-methods-info p {
    margin-bottom: 0.75rem;
    color: var(--oasis-text-secondary);
    font-size: 0.7rem;
    letter-spacing: 0.025em;
}

.product-modal-page .payment-methods-info p i {
    color: var(--oasis-primary);
}

.product-modal-page .payment-icons {
    gap: 0.85rem;
    color: color-mix(in srgb, var(--oasis-text-secondary) 72%, transparent);
    font-size: 1.25rem;
}

@media (max-width: 1180px) {
    .product-modal-page .product-modal-container {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
        gap: var(--space-6);
    }
}

@media (max-width: 920px) {
    .product-modal-page .product-modal-container {
        grid-template-columns: 1fr;
    }

    .product-modal-page .product-modal-right {
        position: static;
    }

    .product-modal-page .product-purchase-card {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .product-modal-page {
        padding: calc(70px + var(--space-6)) 0 var(--space-10);
    }

    .product-modal-page > .container {
        width: min(100% - 1.25rem, 1480px);
    }

    .product-modal-page .product-breadcrumb {
        margin-bottom: var(--space-4);
        padding: 0.5rem 0.7rem;
        font-size: 0.72rem;
    }

    .product-modal-page .product-modal-image {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .product-summary-block,
    .product-modal-page .product-modal-details {
        padding: 1.25rem;
    }

    .product-title-row {
        gap: var(--space-4);
    }

    .product-title-art {
        width: 4rem;
        border-radius: 0.9rem;
    }

    .product-modal-page .product-modal-title {
        font-size: clamp(1.8rem, 9vw, 2.55rem);
    }

    .product-modal-page .product-modal-short-desc {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .purchase-card-brand,
    .purchase-card-intro {
        align-items: flex-start;
    }

    .product-modal-page .product-purchase-card {
        padding: 1.15rem;
    }
}

@media (max-width: 480px) {
    .product-modal-page .product-info-badges {
        margin-bottom: var(--space-5);
    }

    .product-title-row {
        align-items: center;
    }

    .product-title-art {
        width: 3.5rem;
    }

    .product-title-kicker,
    .product-details-kicker {
        font-size: 0.61rem;
    }

    .product-details-icon {
        width: 2.65rem;
    }

    .purchase-card-brand {
        flex-wrap: wrap;
    }

    .product-modal-page .store-product-logo {
        width: 8.5rem;
    }

    .purchase-card-intro {
        display: block;
    }

    .purchase-card-product {
        display: block;
        margin-top: 0.35rem;
    }

    .product-modal-page .payment-gateway-option {
        padding: 0.8rem;
    }

    .product-modal-page .payment-gateway-radio {
        margin-right: 0.5rem;
    }

    .product-modal-page .payment-gateway-icon {
        width: 2.4rem;
        height: 2.4rem;
        margin-right: 0.6rem;
    }

    .product-modal-page .chat-color-selector {
        grid-template-columns: 1fr;
    }
}
