/* ==========================================================================
   JOMIO STORE
   style.css
   ========================================================================== */


/* ==========================================================================
   1. DESIGN SYSTEM
   ========================================================================== */

:root {
    color-scheme: dark;

    /* Backgrounds */
    --bg-primary: #030711;
    --bg-primary-rgb: 3, 7, 17;
    --bg-secondary: #050b18;
    --bg-tertiary: #081126;

    --bg-card: rgba(7, 16, 37, 0.94);
    --bg-card-strong: #081329;
    --bg-card-soft: rgba(10, 21, 47, 0.83);
    --bg-input: rgba(10, 19, 44, 0.95);

    --bg-header: rgba(2, 6, 16, 0.97);
    --bg-modal: #071126;
    --bg-overlay: rgba(0, 3, 11, 0.78);

    /* Text */
    --text-primary: #f7f9ff;
    --text-secondary: #aeb8d0;
    --text-muted: #77839f;
    --text-dark: #071020;

    /* Brand */
    --accent-blue: #58a8ff;
    --accent-blue-bright: #72ddff;
    --accent-indigo: #6871ff;
    --accent-purple: #8b58ff;
    --accent-purple-bright: #bb5cff;
    --accent-pink: #db66ff;
    --accent-gold: #ffc54b;
    --accent-orange: #ff9f29;
    --accent-red: #ff516d;
    --accent-green: #58df9a;

    /* Borders */
    --border-color: rgba(78, 111, 196, 0.38);
    --border-color-soft: rgba(70, 91, 157, 0.26);
    --border-color-strong: rgba(106, 125, 224, 0.58);
    --border-purple: rgba(143, 86, 255, 0.72);

    /* Gradients */
    --gradient-primary:
        linear-gradient(
            135deg,
            #3859ff 0%,
            #6658ff 42%,
            #a44fff 100%
        );

    --gradient-primary-hover:
        linear-gradient(
            135deg,
            #4d70ff 0%,
            #765fff 42%,
            #bc5aff 100%
        );

    --gradient-button-soft:
        linear-gradient(
            180deg,
            rgba(69, 70, 199, 0.40) 0%,
            rgba(39, 38, 130, 0.50) 100%
        );

    --gradient-card:
        linear-gradient(
            180deg,
            rgba(11, 24, 52, 0.98) 0%,
            rgba(5, 13, 31, 0.98) 100%
        );

    --gradient-card-hover:
        linear-gradient(
            180deg,
            rgba(16, 34, 70, 0.99) 0%,
            rgba(8, 18, 41, 0.99) 100%
        );

    --gradient-header:
        linear-gradient(
            180deg,
            rgba(4, 8, 19, 0.99) 0%,
            rgba(2, 6, 15, 0.97) 100%
        );

    /* Shadows */
    --shadow-card:
        0 10px 28px rgba(0, 0, 0, 0.28);

    --shadow-card-hover:
        0 14px 36px rgba(0, 0, 0, 0.42),
        0 0 18px rgba(100, 90, 255, 0.12);

    --shadow-modal:
        0 35px 100px rgba(0, 0, 0, 0.70);

    --glow-purple:
        0 0 18px rgba(154, 79, 255, 0.42);

    --glow-blue:
        0 0 18px rgba(79, 144, 255, 0.34);

    --glow-gold:
        0 0 18px rgba(255, 191, 55, 0.32);

    /* Sizes */
    --page-padding: 18px;
    --content-gap: 14px;

    --left-sidebar-width: 262px;
    --right-sidebar-width: 262px;

    --header-height: 102px;

    /* Radius */
    --radius-xs: 5px;
    --radius-sm: 7px;
    --radius-md: 10px;
    --radius-lg: 13px;
    --radius-xl: 18px;

    /* Animation */
    --transition-fast: 150ms ease;
    --transition-normal: 220ms ease;
    --transition-slow: 320ms ease;
}


/* ==========================================================================
   2. LIGHT MODE
   ========================================================================== */

html[data-theme="light"] {
    color-scheme: light;

    --bg-primary: #edf2fb;
    --bg-primary-rgb: 237, 242, 251;
    --bg-secondary: #f6f8fd;
    --bg-tertiary: #e7edf9;

    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-strong: #ffffff;
    --bg-card-soft: rgba(246, 249, 255, 0.95);
    --bg-input: #f6f8ff;

    --bg-header: rgba(247, 249, 255, 0.97);
    --bg-modal: #ffffff;
    --bg-overlay: rgba(17, 24, 44, 0.42);

    --text-primary: #10172a;
    --text-secondary: #536078;
    --text-muted: #7b879e;
    --text-dark: #ffffff;

    --border-color: rgba(92, 110, 166, 0.25);
    --border-color-soft: rgba(102, 119, 167, 0.18);
    --border-color-strong: rgba(97, 104, 218, 0.40);
    --border-purple: rgba(118, 72, 238, 0.55);

    --gradient-card:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(246, 249, 255, 0.98) 100%
        );

    --gradient-card-hover:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f2f5ff 100%
        );

    --gradient-header:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(244, 247, 254, 0.98) 100%
        );

    --gradient-button-soft:
        linear-gradient(
            180deg,
            rgba(103, 91, 235, 0.15) 0%,
            rgba(102, 85, 218, 0.10) 100%
        );

    --shadow-card:
        0 8px 25px rgba(47, 61, 107, 0.09);

    --shadow-card-hover:
        0 13px 32px rgba(50, 61, 112, 0.15),
        0 0 18px rgba(112, 89, 255, 0.08);
}


/* ==========================================================================
   3. RESET
   ========================================================================== */

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

html {
    min-width: 320px;
    min-height: 100%;
    scroll-behavior: smooth;
    background: var(--bg-primary);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 50% -100px,
            rgba(49, 69, 157, 0.16),
            transparent 510px
        ),
        radial-gradient(
            circle at 94% 35%,
            rgba(116, 54, 214, 0.055),
            transparent 360px
        ),
        var(--bg-primary);

    color: var(--text-primary);

    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        system-ui,
        -apple-system,
        sans-serif;

    font-size: 14px;
    line-height: 1.45;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    transition:
        background-color var(--transition-normal),
        color var(--transition-normal);
}

body.modal-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
a {
    cursor: pointer;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--accent-purple-bright);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}


/* ==========================================================================
   4. ACCESSIBILITY
   ========================================================================== */

.sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================================
   5. APP SHELL
   ========================================================================== */

.app-shell {
    width: 100%;
    min-height: 100vh;

    padding:
        0
        var(--page-padding)
        16px;

    transition:
        background-color var(--transition-normal),
        color var(--transition-normal);
}


/* ==========================================================================
   6. HEADER
   ========================================================================== */

.store-header {
    position: relative;
    z-index: 50;

    display: grid;

    grid-template-columns:
        var(--left-sidebar-width)
        minmax(540px, 1fr)
        auto;

    align-items: center;

    width: 100%;
    height: var(--header-height);

    gap: var(--content-gap);

    border-bottom:
        1px solid
        rgba(77, 105, 176, 0.32);

    background: var(--gradient-header);

    transition:
        background var(--transition-normal),
        border-color var(--transition-normal);
}

.store-header::after {
    position: absolute;

    right: 0;
    bottom: -1px;
    left: var(--left-sidebar-width);

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(85, 132, 255, 0.24),
            rgba(136, 86, 255, 0.08),
            transparent
        );

    content: "";
}


/* ==========================================================================
   7. BRAND LOGO
   ========================================================================== */

.brand-logo {
    display: flex;
    align-items: center;

    min-width: 0;
    height: 100%;

    gap: 8px;

    user-select: none;
}

.brand-logo__crown {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 69px;
    height: 76px;

    flex: 0 0 auto;

    filter:
        drop-shadow(0 0 8px rgba(67, 152, 255, 0.24))
        drop-shadow(0 0 13px rgba(133, 78, 255, 0.20));
}

.brand-logo__crown svg {
    width: 100%;
    height: 100%;
}

.brand-logo__text {
    display: flex;
    flex-direction: column;

    min-width: 0;

    line-height: 0.86;
}

.brand-logo__browser,
.brand-logo__empire {
    display: block;

    font-weight: 900;

    letter-spacing: -1.7px;

    white-space: nowrap;
}

.brand-logo__browser {
    color: #ffffff;

    font-size: 29px;

    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(255, 255, 255, 0.08);
}

.brand-logo__empire {
    margin-top: 7px;

    background:
        linear-gradient(
            180deg,
            #b9a8ff 0%,
            #7e65ff 48%,
            #5c75ff 100%
        );

    color: transparent;

    font-size: 37px;

    -webkit-background-clip: text;
    background-clip: text;

    text-shadow:
        0 0 20px rgba(98, 72, 255, 0.26);
}

html[data-theme="light"] .brand-logo__browser {
    color: #172039;
    text-shadow: none;
}


/* ==========================================================================
   8. MAIN NAVIGATION
   ========================================================================== */

.main-navigation {
    display: flex;
    align-items: center;

    min-width: 0;
    height: 100%;

    gap: clamp(4px, 0.55vw, 13px);

    white-space: nowrap;
}

.nav-link {
    position: relative;

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

    min-height: 44px;

    padding: 0 clamp(10px, 0.75vw, 17px);

    border: 1px solid transparent;
    border-radius: 8px;

    background: transparent;

    color: var(--text-primary);

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.15px;

    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.nav-link:hover {
    border-color: rgba(99, 105, 221, 0.22);

    background:
        rgba(87, 85, 188, 0.10);

    color: #c5caff;
}

.nav-link:active {
    transform: translateY(1px);
}

.nav-link.is-active {
    border-color:
        rgba(116, 104, 255, 0.62);

    background:
        linear-gradient(
            180deg,
            rgba(67, 67, 169, 0.25),
            rgba(29, 28, 83, 0.36)
        );

    color: #a7a8ff;

    box-shadow:
        inset 0 0 18px rgba(83, 75, 204, 0.12),
        0 0 14px rgba(85, 76, 217, 0.11);
}

html[data-theme="light"] .nav-link.is-active {
    background:
        linear-gradient(
            180deg,
            rgba(105, 93, 242, 0.12),
            rgba(91, 82, 227, 0.08)
        );

    color: #6150db;
}


/* ==========================================================================
   9. HEADER ACTIONS
   ========================================================================== */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-width: 0;

    gap: 12px;
}

.header-info-card {
    display: flex;
    align-items: center;

    height: 64px;

    padding: 0 13px;

    border:
        1px solid
        var(--border-color);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            rgba(10, 17, 37, 0.94),
            rgba(5, 10, 24, 0.96)
        );

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.015);

    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.header-info-card:hover {
    transform: translateY(-1px);

    border-color:
        var(--border-color-strong);

    box-shadow:
        var(--glow-blue);
}

html[data-theme="light"] .header-info-card {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.97),
            rgba(244, 247, 255, 0.97)
        );
}

.header-info-card--community {
    width: 176px;
}

.header-info-card--coins {
    width: 220px;
}

.header-info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-right: 8px;

    flex: 0 0 auto;
}

.header-info-card__icon svg {
    width: 38px;
    height: 38px;

    filter:
        drop-shadow(0 0 7px rgba(93, 112, 255, 0.24));
}

.header-info-card__coin {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-right: 9px;

    flex: 0 0 auto;

    filter:
        drop-shadow(0 0 6px rgba(255, 177, 41, 0.28));
}

.header-info-card__coin svg {
    width: 39px;
    height: 39px;
}

.header-info-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;

    line-height: 1.1;
}

.header-info-card__eyebrow {
    max-width: 100%;

    overflow: hidden;

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: 0.2px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-info-card__value {
    margin-top: 4px;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.25px;
}

.header-info-card__value--purple {
    color: #a695ff;
}

.header-info-card__value--gold {
    color: var(--accent-gold);
}

.header-info-card__coin-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;

    width: 100%;

    gap: 10px;
}

.header-coin-balance {
    color: var(--text-primary);

    font-size: 21px;
    font-weight: 900;

    letter-spacing: -0.4px;
}


/* ==========================================================================
   10. HEADER SQUARE BUTTONS
   ========================================================================== */

.header-square-button {
    position: relative;

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

    width: 64px;
    height: 64px;

    padding: 0;

    flex: 0 0 auto;

    border:
        1px solid
        var(--border-color);

    border-radius: 11px;

    background:
        linear-gradient(
            180deg,
            rgba(9, 16, 35, 0.95),
            rgba(5, 10, 23, 0.98)
        );

    color: var(--text-primary);

    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.header-square-button:hover {
    transform: translateY(-1px);

    border-color:
        var(--border-color-strong);

    box-shadow:
        0 0 16px rgba(102, 90, 255, 0.13);
}

html[data-theme="light"] .header-square-button {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f3f6fd
        );
}

.cart-toggle__icon {
    width: 31px;
    height: 31px;
}

.cart-toggle__icon svg {
    width: 100%;
    height: 100%;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;

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

    min-width: 22px;
    height: 22px;

    padding: 0 6px;

    border:
        2px solid
        var(--bg-primary);

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #6b66ff,
            #a34eff
        );

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;

    box-shadow:
        0 0 10px rgba(135, 75, 255, 0.38);
}


/* ==========================================================================
   11. THEME TOGGLE
   ========================================================================== */

.theme-toggle svg {
    width: 26px;
    height: 26px;
}

.theme-toggle__sun,
.theme-toggle__moon {
    position: absolute;

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

    transition:
        opacity var(--transition-normal),
        transform var(--transition-normal);
}

.theme-toggle__sun svg {
    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.theme-toggle__moon svg {
    fill: currentColor;
}

html[data-theme="dark"] .theme-toggle__sun {
    opacity: 1;
    transform: scale(1) rotate(0);
}

html[data-theme="dark"] .theme-toggle__moon {
    opacity: 0;
    transform: scale(0.5) rotate(-30deg);
}

html[data-theme="light"] .theme-toggle__sun {
    opacity: 0;
    transform: scale(0.5) rotate(30deg);
}

html[data-theme="light"] .theme-toggle__moon {
    opacity: 1;
    transform: scale(1) rotate(0);
}


/* ==========================================================================
   12. MOBILE MENU BUTTON
   ========================================================================== */

.mobile-menu-toggle {
    display: none;

    width: 48px;
    height: 48px;

    padding: 0 12px;

    flex: 0 0 auto;

    border:
        1px solid
        var(--border-color);

    border-radius: 9px;

    background: var(--bg-card);

    color: var(--text-primary);
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    border-radius: 3px;

    background: currentColor;

    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================================
   13. MAIN STORE LAYOUT
   ========================================================================== */

.store-layout {
    display: grid;

    grid-template-columns:
        var(--left-sidebar-width)
        minmax(0, 1fr)
        var(--right-sidebar-width);

    align-items: start;

    width: 100%;

    gap: var(--content-gap);

    padding-top: 10px;
}


/* ==========================================================================
   14. GENERIC SIDEBAR
   ========================================================================== */

.store-sidebar {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 14px;
}

.sidebar-card,
.store-search-card {
    width: 100%;

    overflow: hidden;

    border:
        1px solid
        var(--border-color);

    border-radius: var(--radius-md);

    background: var(--gradient-card);

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.015);

    transition:
        border-color var(--transition-normal),
        background var(--transition-normal),
        box-shadow var(--transition-normal);
}

.sidebar-card__header {
    display: flex;
    align-items: center;

    min-height: 51px;

    padding: 0 14px;

    border-bottom:
        1px solid
        var(--border-color-soft);

    background:
        linear-gradient(
            90deg,
            rgba(13, 30, 66, 0.90),
            rgba(8, 18, 39, 0.60)
        );

    gap: 9px;
}

html[data-theme="light"] .sidebar-card__header {
    background:
        linear-gradient(
            90deg,
            rgba(232, 239, 255, 0.92),
            rgba(248, 250, 255, 0.92)
        );
}

.sidebar-card__header h2 {
    margin: 0;

    flex: 1;

    color: var(--text-primary);

    font-size: 14px;
    font-weight: 850;

    letter-spacing: 0.1px;
}

.sidebar-card__header-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    flex: 0 0 auto;

    color: #7fb5ff;
}

.sidebar-card__header-icon svg {
    width: 25px;
    height: 25px;
}

.sidebar-card__header-icon--clock {
    filter:
        drop-shadow(0 0 6px rgba(83, 140, 255, 0.30));
}

.sidebar-card__header-icon--ticket {
    width: 31px;
    height: 31px;

    margin-left: -2px;
}

.sidebar-card__header-icon--ticket svg {
    width: 31px;
    height: 31px;
}

.sidebar-card__header-icon--gold {
    width: 30px;
    height: 30px;

    filter:
        drop-shadow(0 0 5px rgba(255, 190, 48, 0.30));
}

.sidebar-card__header-icon--gold svg {
    width: 30px;
    height: 30px;
}

.sidebar-card__header-icon--gift {
    width: 31px;
    height: 31px;

    filter:
        drop-shadow(0 0 6px rgba(206, 76, 255, 0.25));
}

.sidebar-card__header-icon--gift svg {
    width: 31px;
    height: 31px;
}

.sidebar-card__counter {
    display: none;

    min-width: 21px;
    height: 21px;

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

    padding: 0 5px;

    border-radius: 999px;

    background: var(--accent-purple);

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;
}

.sidebar-card__counter:not(:empty) {
    display: inline-flex;
}

.sidebar-card__body {
    padding: 14px;
}


/* ==========================================================================
   15. SIDEBAR CART
   ========================================================================== */

.sidebar-cart-preview__empty {
    margin: 0 0 15px;

    color: var(--text-secondary);

    font-size: 12px;
    text-align: center;
}

.sidebar-cart-preview__filled {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 13px;

    padding: 10px 11px;

    border:
        1px solid
        var(--border-color-soft);

    border-radius: 7px;

    background:
        rgba(43, 59, 109, 0.10);

    color: var(--text-secondary);

    font-size: 11px;
}

.sidebar-cart-preview__filled strong {
    color: var(--text-primary);

    font-size: 13px;
}


/* ==========================================================================
   16. DAILY DEAL
   ========================================================================== */

.daily-deal-card .sidebar-card__header {
    padding-right: 11px;
}

.daily-deal-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 71px;
    height: 28px;

    padding: 0 8px;

    border:
        1px solid
        rgba(217, 64, 95, 0.36);

    border-radius: 7px;

    background:
        rgba(130, 26, 50, 0.24);

    color: #ff6b82;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.2px;
}

html[data-theme="light"] .daily-deal-countdown {
    background:
        rgba(255, 77, 111, 0.08);
}

.daily-deal {
    padding-top: 12px;
}

.daily-deal__content {
    display: grid;

    grid-template-columns:
        110px
        minmax(0, 1fr);

    align-items: center;

    min-height: 111px;

    gap: 7px;
}

.daily-deal__image-wrap {
    position: relative;

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

    width: 110px;
    height: 105px;
}

.daily-deal__image-wrap::before {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 88px;
    height: 70px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(64, 139, 255, 0.34),
            rgba(69, 91, 255, 0.10) 46%,
            transparent 72%
        );

    content: "";

    filter: blur(9px);

    transform: translate(-50%, -50%);
}

.daily-deal__image {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 10px 9px rgba(0, 0, 0, 0.42))
        drop-shadow(0 0 11px rgba(73, 128, 255, 0.28));
}

.daily-deal__details {
    min-width: 0;
}

.daily-deal__details h3 {
    margin: 0 0 9px;

    color: var(--text-primary);

    font-size: 12px;
    font-weight: 550;
}

.daily-deal__discount {
    display: block;

    margin-bottom: 10px;

    color: var(--accent-gold);

    font-size: 16px;
    font-weight: 900;
}

.daily-deal__prices {
    display: flex;
    align-items: baseline;

    gap: 11px;
}

.daily-deal__old-price {
    color: var(--text-muted);

    font-size: 11px;

    text-decoration: line-through;
}

.daily-deal__new-price {
    color: var(--text-primary);

    font-size: 17px;
    font-weight: 900;
}


/* ==========================================================================
   17. TOP PURCHASES
   ========================================================================== */

.top-purchases-list {
    display: flex;
    flex-direction: column;

    margin: 0 0 13px;
    padding: 0;

    gap: 5px;

    list-style: none;
}

.top-purchases-list li {
    display: grid;

    grid-template-columns:
        22px
        23px
        minmax(0, 1fr)
        auto;

    align-items: center;

    min-height: 32px;

    gap: 7px;

    color: var(--text-secondary);

    font-size: 11px;
}

.top-purchases-list li > strong {
    color: var(--text-primary);

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}

.top-purchases-list__rank {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 22px;

    border:
        1px solid
        var(--border-color-soft);

    border-radius: 5px;

    background:
        rgba(54, 67, 113, 0.20);

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 800;
}

.top-purchases-list__mini-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    color: #b673ff;

    filter:
        drop-shadow(0 0 5px rgba(133, 73, 255, 0.24));
}

.top-purchases-list__mini-icon svg {
    width: 21px;
    height: 21px;

    fill: currentColor;

    stroke: currentColor;
    stroke-width: 1;
}

.top-purchases-list__mini-icon--coin {
    color: #ffc33e;
}

.top-purchases-list__name {
    min-width: 0;

    overflow: hidden;

    color: var(--text-secondary);

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==========================================================================
   18. BUTTONS
   ========================================================================== */

.button {
    position: relative;

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

    min-height: 38px;

    padding: 0 18px;

    border:
        1px solid
        rgba(112, 99, 255, 0.54);

    border-radius: 7px;

    background:
        var(--gradient-button-soft);

    color: #c8cdff;

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 0.15px;

    text-align: center;

    user-select: none;

    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast),
        opacity var(--transition-fast);
}

.button:hover {
    transform: translateY(-1px);

    border-color:
        rgba(132, 111, 255, 0.92);

    color: #ffffff;

    box-shadow:
        0 0 15px rgba(105, 78, 255, 0.20);
}

.button:active {
    transform: translateY(0);
}

.button:disabled {
    cursor: not-allowed;

    opacity: 0.52;
}

.button--full {
    width: 100%;
}

.button--primary {
    border-color:
        rgba(111, 89, 255, 0.72);

    background:
        linear-gradient(
            180deg,
            rgba(78, 68, 215, 0.62),
            rgba(49, 39, 156, 0.67)
        );

    color: #d8dcff;

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.06),
        0 0 12px rgba(95, 68, 230, 0.10);
}

.button--primary:hover {
    background:
        linear-gradient(
            180deg,
            rgba(92, 80, 239, 0.77),
            rgba(60, 48, 184, 0.81)
        );
}

.button--secondary {
    border-color:
        rgba(85, 94, 207, 0.46);

    background:
        linear-gradient(
            180deg,
            rgba(41, 48, 139, 0.42),
            rgba(31, 34, 104, 0.42)
        );

    color: #bfcaff;
}

.button--hero {
    min-width: 196px;
    min-height: 43px;

    padding: 0 24px;

    border:
        1px solid
        #9b5dff;

    background:
        linear-gradient(
            180deg,
            rgba(82, 48, 189, 0.84),
            rgba(53, 32, 146, 0.90)
        );

    color: #ffffff;

    font-size: 14px;

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.08),
        0 0 15px rgba(130, 67, 255, 0.34);
}

.button--hero:hover {
    background:
        linear-gradient(
            180deg,
            rgba(105, 65, 221, 0.93),
            rgba(69, 42, 177, 0.96)
        );

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.12),
        0 0 23px rgba(145, 73, 255, 0.50);
}

.button--purchase {
    min-height: 44px;

    border-color:
        rgba(128, 91, 255, 0.88);

    background:
        var(--gradient-primary);

    color: #ffffff;

    font-size: 12px;

    box-shadow:
        0 0 18px rgba(101, 72, 255, 0.21);
}

.button--purchase:hover {
    background:
        var(--gradient-primary-hover);

    box-shadow:
        0 0 24px rgba(117, 76, 255, 0.35);
}

.button--ghost {
    border-color:
        var(--border-color);

    background:
        rgba(58, 71, 119, 0.10);

    color: var(--text-secondary);
}

.button__cart-icon {
    width: 20px;
    height: 20px;

    margin-right: 7px;
}

.button__cart-icon svg {
    width: 100%;
    height: 100%;
}


/* ==========================================================================
   19. STORE MAIN
   ========================================================================== */

.store-main {
    min-width: 0;
}


/* ==========================================================================
   20. HERO
   ========================================================================== */

.store-hero {
    position: relative;

    width: 100%;
    height: 286px;

    overflow: hidden;

    border:
        1px solid
        rgba(74, 108, 194, 0.46);

    border-radius: var(--radius-md);

    background: #061022;

    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.17),
        0 8px 24px rgba(0, 0, 0, 0.22);
}

.store-hero__background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.004);

    transition:
        transform 800ms ease;
}

.store-hero:hover .store-hero__background {
    transform: scale(1.018);
}

.store-hero__overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 10, 28, 0.93) 0%,
            rgba(4, 10, 28, 0.81) 11%,
            rgba(6, 13, 34, 0.49) 32%,
            rgba(5, 10, 27, 0.10) 63%,
            rgba(4, 8, 20, 0.11) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 8, 21, 0.10) 0%,
            rgba(3, 7, 19, 0.05) 65%,
            rgba(3, 7, 19, 0.26) 100%
        );

    pointer-events: none;
}

.store-hero__glow {
    position: absolute;

    top: 30px;
    left: 70px;

    width: 420px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(89, 71, 255, 0.23),
            rgba(111, 55, 232, 0.08) 42%,
            transparent 72%
        );

    filter: blur(30px);

    pointer-events: none;
}

.store-hero__content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: 52%;
    height: 100%;

    padding:
        16px
        0
        16px
        clamp(65px, 8.4vw, 115px);
}

.store-hero__eyebrow {
    margin: 0 0 -3px;

    color: #7d84ff;

    font-size: 31px;
    font-weight: 900;

    letter-spacing: -1px;

    line-height: 1;

    text-shadow:
        0 0 12px rgba(93, 91, 255, 0.66),
        0 3px 5px rgba(0, 0, 0, 0.64);
}

.store-hero__title {
    margin: 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f4f2ff 42%,
            #a289ff 74%,
            #6f54ff 100%
        );

    color: transparent;

    font-size: clamp(55px, 4.75vw, 69px);
    font-weight: 950;

    letter-spacing: -2px;

    line-height: 0.98;

    -webkit-background-clip: text;
    background-clip: text;

    filter:
        drop-shadow(0 3px 0 rgba(24, 12, 77, 0.86))
        drop-shadow(0 0 10px rgba(112, 74, 255, 0.56));
}

.store-hero__subtitle {
    margin: 12px 0 16px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 650;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.72);
}


/* ==========================================================================
   21. PRODUCT GRID
   ========================================================================== */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;

    margin-top: 12px;
}

.product-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 203px;

    overflow: hidden;

    border:
        1px solid
        var(--border-color);

    border-radius: var(--radius-md);

    background: var(--gradient-card);

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.015);

    cursor: pointer;

    isolation: isolate;

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        background var(--transition-normal),
        box-shadow var(--transition-normal),
        opacity var(--transition-normal);
}

.product-card::before {
    position: absolute;

    top: 50px;
    left: 50%;

    width: 150px;
    height: 105px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(91, 83, 255, 0.13),
            transparent 68%
        );

    content: "";

    filter: blur(9px);

    opacity: 0;

    transform:
        translateX(-50%)
        scale(0.85);

    transition:
        opacity var(--transition-normal),
        transform var(--transition-normal);

    pointer-events: none;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(104, 119, 224, 0.70);

    background: var(--gradient-card-hover);

    box-shadow: var(--shadow-card-hover);
}

.product-card:hover::before {
    opacity: 1;

    transform:
        translateX(-50%)
        scale(1);
}

.product-card__header {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 5px 8px 0;
}

.product-card__header h2 {
    margin: 0;

    overflow: hidden;

    color: var(--text-primary);

    font-size: 13px;
    font-weight: 850;

    letter-spacing: -0.1px;

    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__visual {
    position: relative;

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

    width: 100%;
    height: 92px;

    padding: 1px 15px;
}

.product-card__visual::after {
    position: absolute;

    bottom: 4px;
    left: 50%;

    width: 105px;
    height: 14px;

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.30);

    content: "";

    filter: blur(8px);

    transform: translateX(-50%);

    pointer-events: none;
}

.product-card__image {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    filter:
        drop-shadow(0 8px 7px rgba(0, 0, 0, 0.42))
        drop-shadow(0 0 8px rgba(85, 82, 255, 0.13));

    transform: scale(0.96);

    transition:
        transform var(--transition-normal),
        filter var(--transition-normal);
}

.product-card:hover .product-card__image {
    transform: scale(1.025);

    filter:
        drop-shadow(0 9px 8px rgba(0, 0, 0, 0.44))
        drop-shadow(0 0 12px rgba(98, 83, 255, 0.25));
}

.product-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;

    min-height: 0;

    padding: 3px 8px 9px;

    text-align: center;
}

.product-card__content p {
    min-height: 35px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 10.7px;
    font-weight: 450;

    line-height: 1.36;
}

.product-card__price {
    margin-top: auto;

    color: var(--text-primary);

    font-size: 12px;
    font-weight: 850;

    letter-spacing: 0.1px;
}


/* ==========================================================================
   22. PRODUCT FILTER ANIMATION CLASSES
   ========================================================================== */

.product-card.is-filtering-out {
    pointer-events: none;

    opacity: 0;

    transform:
        scale(0.94)
        translateY(5px);
}

.product-card.is-highlighted {
    border-color:
        rgba(145, 89, 255, 0.85);

    box-shadow:
        0 0 22px rgba(126, 79, 255, 0.20);
}


/* ==========================================================================
   23. STORE EMPTY STATE
   ========================================================================== */

.store-empty-state {
    min-height: 418px;

    margin-top: 12px;
    padding: 45px 25px;

    border:
        1px solid
        var(--border-color);

    border-radius: var(--radius-md);

    background: var(--gradient-card);

    text-align: center;
}

.store-empty-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin: 0 auto 16px;

    color: var(--accent-purple-bright);
}

.store-empty-state__icon svg {
    width: 100%;
    height: 100%;
}

.store-empty-state h2 {
    margin-bottom: 8px;

    color: var(--text-primary);

    font-size: 21px;
}

.store-empty-state p {
    margin-bottom: 19px;

    color: var(--text-secondary);

    font-size: 13px;
}


/* ==========================================================================
   24. STORE SEARCH
   ========================================================================== */

.store-search-card {
    padding: 10px;
}

.store-search {
    position: relative;

    display: block;

    width: 100%;
}

.store-search input {
    width: 100%;
    height: 37px;

    padding:
        0
        38px
        0
        12px;

    border:
        1px solid
        var(--border-color);

    border-radius: 7px;

    outline: none;

    background:
        var(--bg-input);

    color: var(--text-primary);

    font-size: 11px;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-normal);
}

.store-search input::placeholder {
    color: var(--text-muted);

    opacity: 1;
}

.store-search input:focus {
    border-color:
        rgba(105, 110, 231, 0.72);

    box-shadow:
        0 0 0 3px rgba(105, 90, 225, 0.10);
}

.store-search__icon {
    position: absolute;

    top: 50%;
    right: 10px;

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

    width: 22px;
    height: 22px;

    color: #7280ac;

    pointer-events: none;

    transform: translateY(-50%);
}

.store-search__icon svg {
    width: 20px;
    height: 20px;
}


/* ==========================================================================
   25. TEXT INPUT
   ========================================================================== */

.text-input {
    width: 100%;
    height: 39px;

    padding: 0 12px;

    border:
        1px solid
        var(--border-color-strong);

    border-radius: 7px;

    outline: none;

    background:
        var(--bg-input);

    color: var(--text-primary);

    font-size: 11px;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-normal);
}

.text-input::placeholder {
    color: var(--text-muted);

    opacity: 1;
}

.text-input:focus {
    border-color:
        rgba(127, 95, 255, 0.82);

    box-shadow:
        0 0 0 3px rgba(107, 73, 231, 0.11);
}


/* ==========================================================================
   26. REDEEM CARD
   ========================================================================== */

.redeem-card__body {
    text-align: center;
}

.redeem-card__body > p {
    margin: 0 0 13px;

    color: var(--text-secondary);

    font-size: 11px;

    line-height: 1.5;
}

.redeem-card form {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.form-feedback {
    margin-top: 10px;
    padding: 9px 10px;

    border:
        1px solid
        var(--border-color);

    border-radius: 6px;

    color: var(--text-secondary);

    font-size: 10px;
    font-weight: 650;

    line-height: 1.4;
}

.form-feedback.is-success {
    border-color:
        rgba(67, 214, 140, 0.37);

    background:
        rgba(39, 165, 104, 0.10);

    color: #72e5ad;
}

.form-feedback.is-error {
    border-color:
        rgba(255, 79, 108, 0.36);

    background:
        rgba(181, 48, 72, 0.10);

    color: #ff778d;
}


/* ==========================================================================
   27. PREMIUM BENEFITS
   ========================================================================== */

.benefits-list {
    display: flex;
    flex-direction: column;

    margin: 0 0 14px;
    padding: 0;

    gap: 9px;

    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;

    color: var(--text-secondary);

    font-size: 11px;

    gap: 10px;
}

.benefits-list li > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    flex: 0 0 auto;

    color: var(--accent-gold);

    filter:
        drop-shadow(0 0 5px rgba(255, 184, 42, 0.23));
}

.benefits-list svg {
    width: 25px;
    height: 25px;

    fill: currentColor;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   28. REWARDS
   ========================================================================== */

.rewards-card__text {
    margin: 0 0 14px;

    color: var(--text-secondary);

    font-size: 11px;

    line-height: 1.5;

    text-align: center;
}


/* ==========================================================================
   29. FOOTER / BENEFIT BAR
   ========================================================================== */

.store-footer {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    width: 100%;

    min-height: 76px;

    margin-top: 12px;

    overflow: hidden;

    border:
        1px solid
        var(--border-color);

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            180deg,
            rgba(7, 16, 36, 0.94),
            rgba(4, 11, 26, 0.96)
        );

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.015);
}

html[data-theme="light"] .store-footer {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f5f8fe
        );
}

.footer-feature {
    position: relative;

    display: flex;
    align-items: center;

    min-width: 0;

    padding: 10px 23px;

    gap: 13px;
}

.footer-feature:not(:last-child)::after {
    position: absolute;

    top: 14px;
    right: 0;
    bottom: 14px;

    width: 1px;

    background:
        var(--border-color-soft);

    content: "";
}

.footer-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    flex: 0 0 auto;

    filter:
        drop-shadow(0 0 7px rgba(105, 83, 255, 0.19));
}

.footer-feature__icon svg {
    width: 50px;
    height: 50px;
}

.footer-feature__content {
    min-width: 0;
}

.footer-feature__content h2 {
    margin: 0 0 3px;

    overflow: hidden;

    color: var(--text-primary);

    font-size: 12px;
    font-weight: 850;

    letter-spacing: 0.1px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-feature__content p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 9.7px;

    line-height: 1.4;
}


/* ==========================================================================
   30. MOBILE SEARCH
   ========================================================================== */

.mobile-search-container {
    display: none;
}


/* ==========================================================================
   31. MODALS - GENERIC
   ========================================================================== */

.modal {
    position: fixed;
    z-index: 1000;

    inset: 0;

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

    padding: 20px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity var(--transition-normal),
        visibility var(--transition-normal);
}

.modal.is-open {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}

.modal__backdrop {
    position: absolute;

    inset: 0;

    background:
        var(--bg-overlay);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal__dialog {
    position: relative;
    z-index: 2;

    width: min(780px, 100%);
    max-height: calc(100vh - 40px);

    overflow: auto;

    border:
        1px solid
        var(--border-color-strong);

    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            var(--bg-card-strong),
            var(--bg-modal)
        );

    box-shadow:
        var(--shadow-modal);

    opacity: 0;

    transform:
        translateY(10px)
        scale(0.975);

    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}

.modal.is-open .modal__dialog {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

.modal__dialog::-webkit-scrollbar {
    width: 8px;
}

.modal__dialog::-webkit-scrollbar-track {
    background:
        rgba(30, 40, 67, 0.12);
}

.modal__dialog::-webkit-scrollbar-thumb {
    border-radius: 99px;

    background:
        rgba(104, 95, 191, 0.38);
}

.modal__close {
    position: absolute;
    z-index: 10;

    top: 13px;
    right: 13px;

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

    width: 36px;
    height: 36px;

    padding: 0;

    border:
        1px solid
        var(--border-color);

    border-radius: 8px;

    background:
        rgba(32, 43, 80, 0.30);

    color: var(--text-secondary);

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.modal__close:hover {
    transform: rotate(3deg);

    border-color:
        var(--border-color-strong);

    background:
        rgba(78, 63, 167, 0.24);

    color: var(--text-primary);
}

.modal__close svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}


/* ==========================================================================
   32. PRODUCT MODAL
   ========================================================================== */

.product-modal {
    width: min(790px, 100%);
}

.product-modal__layout {
    display: grid;

    grid-template-columns:
        minmax(250px, 0.8fr)
        minmax(340px, 1.2fr);

    min-height: 410px;
}

.product-modal__visual {
    position: relative;

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

    min-height: 410px;

    overflow: hidden;

    border-right:
        1px solid
        var(--border-color-soft);

    background:
        radial-gradient(
            circle at 50% 48%,
            rgba(97, 78, 255, 0.18),
            transparent 48%
        ),
        linear-gradient(
            160deg,
            rgba(21, 35, 72, 0.68),
            rgba(8, 15, 33, 0.68)
        );
}

html[data-theme="light"] .product-modal__visual {
    background:
        radial-gradient(
            circle at 50% 48%,
            rgba(98, 78, 255, 0.13),
            transparent 48%
        ),
        linear-gradient(
            160deg,
            #f1f5ff,
            #ffffff
        );
}

.product-modal__image-glow {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 280px;
    height: 250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(103, 68, 255, 0.28),
            transparent 68%
        );

    filter: blur(28px);

    transform:
        translate(-50%, -50%);
}

.product-modal__image {
    position: relative;
    z-index: 2;

    width: 83%;
    height: 290px;

    object-fit: contain;

    filter:
        drop-shadow(0 18px 15px rgba(0, 0, 0, 0.45))
        drop-shadow(0 0 18px rgba(97, 78, 255, 0.20));
}

.product-modal__content {
    display: flex;
    flex-direction: column;

    padding: 49px 38px 32px;
}

.product-modal__category {
    margin-bottom: 6px;

    color: #8d7cff;

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

    letter-spacing: 0.8px;
}

.product-modal__content h2 {
    margin: 0 0 13px;

    color: var(--text-primary);

    font-size: 27px;
    font-weight: 900;

    letter-spacing: -0.8px;
}

.product-modal__description {
    margin: 0 0 24px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.6;
}

.product-modal__benefits-wrap {
    margin-bottom: 24px;
}

.product-modal__benefits-wrap h3 {
    margin: 0 0 10px;

    color: var(--text-primary);

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

    letter-spacing: 0.5px;
}

.product-modal__benefits {
    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;

    gap: 8px;

    list-style: none;
}

.product-modal__benefits li {
    position: relative;

    padding-left: 20px;

    color: var(--text-secondary);

    font-size: 12px;
}

.product-modal__benefits li::before {
    position: absolute;

    top: 2px;
    left: 0;

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

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background:
        rgba(97, 216, 151, 0.15);

    color: #62dda0;

    content: "✓";

    font-size: 9px;
    font-weight: 900;
}

.product-modal__purchase {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-top: auto;

    padding-top: 19px;

    border-top:
        1px solid
        var(--border-color-soft);

    gap: 18px;
}

.product-modal__purchase > div {
    display: flex;
    flex-direction: column;
}

.product-modal__purchase > div > span {
    margin-bottom: 2px;

    color: var(--text-muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.5px;
}

.product-modal__purchase > div > strong {
    color: var(--text-primary);

    font-size: 24px;
    font-weight: 900;
}

.product-modal__purchase .button {
    min-width: 142px;
}


/* ==========================================================================
   33. CART MODAL
   ========================================================================== */

.cart-modal {
    width: min(880px, 100%);
}

.cart-modal__header {
    display: flex;
    align-items: center;

    min-height: 92px;

    padding:
        20px
        66px
        18px
        27px;

    border-bottom:
        1px solid
        var(--border-color-soft);

    gap: 13px;
}

.cart-modal__heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex: 0 0 auto;

    color: #857aff;

    filter:
        drop-shadow(0 0 7px rgba(102, 87, 255, 0.28));
}

.cart-modal__heading-icon svg {
    width: 38px;
    height: 38px;
}

.cart-modal__header span {
    display: block;

    margin-bottom: 2px;

    color: #8778ff;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.7px;
}

.cart-modal__header h2 {
    margin: 0;

    color: var(--text-primary);

    font-size: 23px;
    font-weight: 900;
}

.cart-modal__body {
    padding: 24px;
}


/* ==========================================================================
   34. EMPTY CART
   ========================================================================== */

.cart-empty-state {
    padding: 34px 20px 38px;

    text-align: center;
}

.cart-empty-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 17px;

    color: #8076f5;

    opacity: 0.85;
}

.cart-empty-state__icon svg {
    width: 100%;
    height: 100%;
}

.cart-empty-state h3 {
    margin: 0 0 7px;

    color: var(--text-primary);

    font-size: 19px;
}

.cart-empty-state p {
    max-width: 450px;

    margin: 0 auto 20px;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.55;
}


/* ==========================================================================
   35. FILLED CART
   ========================================================================== */

.cart-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        255px;

    align-items: start;

    gap: 20px;
}

.cart-items {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 9px;
}

.cart-item {
    display: grid;

    grid-template-columns:
        74px
        minmax(0, 1fr)
        auto;

    align-items: center;

    min-width: 0;

    padding: 10px;

    border:
        1px solid
        var(--border-color-soft);

    border-radius: 9px;

    background:
        rgba(43, 58, 104, 0.08);

    gap: 11px;
}

.cart-item__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 74px;
    height: 66px;

    overflow: hidden;

    border:
        1px solid
        var(--border-color-soft);

    border-radius: 7px;

    background:
        radial-gradient(
            circle,
            rgba(93, 76, 230, 0.13),
            rgba(10, 19, 40, 0.30)
        );
}

.cart-item__image {
    width: 92%;
    height: 92%;

    object-fit: contain;

    filter:
        drop-shadow(0 5px 5px rgba(0, 0, 0, 0.30));
}

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

.cart-item__details h4 {
    margin: 0 0 4px;

    overflow: hidden;

    color: var(--text-primary);

    font-size: 12px;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item__unit-price {
    color: var(--text-secondary);

    font-size: 10px;
}

.cart-item__controls {
    display: flex;
    align-items: center;

    margin-top: 8px;

    gap: 5px;
}

.cart-quantity-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    padding: 0;

    border:
        1px solid
        var(--border-color);

    border-radius: 5px;

    background:
        rgba(61, 70, 137, 0.18);

    color: var(--text-primary);

    font-size: 15px;
}

.cart-quantity-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 26px;

    color: var(--text-primary);

    font-size: 11px;
    font-weight: 800;
}

.cart-item__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 11px;
}

.cart-item__price {
    color: var(--text-primary);

    font-size: 13px;
    font-weight: 850;

    white-space: nowrap;
}

.cart-remove-button {
    padding: 0;

    border: 0;

    background: transparent;

    color: #ff667f;

    font-size: 9px;
    font-weight: 750;

    text-decoration: underline;

    text-decoration-color:
        rgba(255, 94, 119, 0.35);

    text-underline-offset: 2px;
}


/* ==========================================================================
   36. CART SUMMARY
   ========================================================================== */

.cart-summary {
    padding: 17px;

    border:
        1px solid
        var(--border-color);

    border-radius: 9px;

    background:
        rgba(35, 47, 91, 0.11);
}

.cart-summary h3 {
    margin: 0 0 16px;

    color: var(--text-primary);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 0.3px;
}

.cart-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;

    gap: 10px;

    color: var(--text-secondary);

    font-size: 11px;
}

.cart-summary__row strong {
    color: var(--text-primary);
}

.cart-summary__divider {
    height: 1px;

    margin: 13px 0;

    background:
        var(--border-color-soft);
}

.cart-summary__row--total {
    margin-bottom: 16px;

    color: var(--text-primary);

    font-weight: 850;
}

.cart-summary__row--total strong {
    font-size: 18px;
    font-weight: 900;
}

.cart-summary .button {
    margin-top: 8px;
}

.cart-summary__demo-note {
    margin: 13px 0 0;

    color: var(--text-muted);

    font-size: 9px;

    line-height: 1.4;

    text-align: center;
}


/* ==========================================================================
   37. NOTICE MODAL
   ========================================================================== */

.notice-modal {
    width: min(430px, 100%);

    padding:
        43px
        36px
        34px;

    text-align: center;
}

.notice-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;

    margin: 0 auto 14px;

    color: #8f70ff;

    filter:
        drop-shadow(0 0 10px rgba(133, 77, 255, 0.22));
}

.notice-modal__icon svg {
    width: 100%;
    height: 100%;
}

.notice-modal h2 {
    margin: 0 0 9px;

    color: var(--text-primary);

    font-size: 22px;
    font-weight: 900;
}

.notice-modal p {
    margin: 0 auto 22px;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.55;
}


/* ==========================================================================
   38. TOASTS
   ========================================================================== */

.toast-container {
    position: fixed;
    z-index: 2000;

    top: 18px;
    right: 18px;

    display: flex;
    flex-direction: column;

    width: min(340px, calc(100vw - 36px));

    gap: 9px;

    pointer-events: none;
}

.toast {
    position: relative;

    display: grid;

    grid-template-columns:
        32px
        minmax(0, 1fr);

    align-items: center;

    min-height: 64px;

    overflow: hidden;

    padding: 10px 13px;

    border:
        1px solid
        var(--border-color-strong);

    border-radius: 9px;

    background:
        rgba(7, 15, 33, 0.97);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.40),
        0 0 14px rgba(97, 75, 255, 0.10);

    opacity: 0;

    transform: translateX(24px);

    transition:
        opacity var(--transition-normal),
        transform var(--transition-normal);

    pointer-events: auto;
}

html[data-theme="light"] .toast {
    background:
        rgba(255, 255, 255, 0.98);

    box-shadow:
        0 12px 30px rgba(49, 63, 113, 0.16);
}

.toast.is-visible {
    opacity: 1;

    transform: translateX(0);
}

.toast__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    border-radius: 50%;

    background:
        rgba(105, 82, 255, 0.15);

    color: #9d81ff;

    font-size: 14px;
    font-weight: 900;
}

.toast--success .toast__icon {
    background:
        rgba(68, 215, 144, 0.13);

    color: #64dea0;
}

.toast--error .toast__icon {
    background:
        rgba(255, 75, 104, 0.13);

    color: #ff6d85;
}

.toast__content {
    min-width: 0;

    padding-left: 9px;
}

.toast__title {
    display: block;

    margin-bottom: 1px;

    color: var(--text-primary);

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

.toast__message {
    display: block;

    color: var(--text-secondary);

    font-size: 10px;

    line-height: 1.35;
}

.toast::after {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            #5e6aff,
            #a24fff
        );

    content: "";
}


/* ==========================================================================
   39. IMAGE LOADING
   ========================================================================== */

.store-image {
    opacity: 1;

    transition:
        opacity var(--transition-normal),
        transform var(--transition-normal),
        filter var(--transition-normal);
}

.store-image.is-loading {
    opacity: 0.22;
}

.store-image.is-loaded {
    opacity: 1;
}


/* ==========================================================================
   40. SCROLLBAR
   ========================================================================== */

* {
    scrollbar-width: thin;

    scrollbar-color:
        rgba(92, 89, 176, 0.45)
        rgba(10, 15, 30, 0.35);
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background:
        rgba(5, 9, 20, 0.75);
}

::-webkit-scrollbar-thumb {
    border:
        2px solid
        rgba(5, 9, 20, 0.75);

    border-radius: 20px;

    background:
        rgba(91, 89, 176, 0.55);
}

::-webkit-scrollbar-thumb:hover {
    background:
        rgba(112, 96, 216, 0.70);
}

html[data-theme="light"] ::-webkit-scrollbar-track {
    background: #edf1f8;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
    border-color: #edf1f8;

    background:
        rgba(105, 99, 178, 0.44);
}


/* ==========================================================================
   41. LARGE DESKTOP
   1920 / 1600 / 1440
   ========================================================================== */

@media (min-width: 1700px) {

    :root {
        --page-padding: 20px;
        --content-gap: 15px;

        --left-sidebar-width: 270px;
        --right-sidebar-width: 270px;
    }

    .store-hero {
        height: 295px;
    }

    .product-card {
        height: 211px;
    }

    .product-card__visual {
        height: 98px;
    }

    .footer-feature {
        padding-right: 28px;
        padding-left: 28px;
    }
}


/* ==========================================================================
   42. DESKTOP COMPACTION
   ========================================================================== */

@media (max-width: 1580px) {

    :root {
        --page-padding: 14px;
        --content-gap: 11px;

        --left-sidebar-width: 245px;
        --right-sidebar-width: 245px;
    }

    .store-header {
        grid-template-columns:
            var(--left-sidebar-width)
            minmax(500px, 1fr)
            auto;
    }

    .brand-logo__crown {
        width: 60px;
    }

    .brand-logo__browser {
        font-size: 26px;
    }

    .brand-logo__empire {
        font-size: 34px;
    }

    .nav-link {
        padding-right: 10px;
        padding-left: 10px;

        font-size: 12.5px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-info-card--community {
        width: 158px;
    }

    .header-info-card--coins {
        width: 190px;
    }

    .header-info-card {
        height: 60px;

        padding-right: 10px;
        padding-left: 10px;
    }

    .header-info-card__eyebrow {
        font-size: 9.8px;
    }

    .header-coin-balance {
        font-size: 18px;
    }

    .header-square-button {
        width: 58px;
        height: 58px;
    }

    .store-hero {
        height: 273px;
    }

    .store-hero__content {
        padding-left:
            clamp(52px, 6vw, 84px);
    }

    .store-hero__eyebrow {
        font-size: 27px;
    }

    .store-hero__title {
        font-size: 58px;
    }

    .product-grid {
        gap: 9px;
    }

    .product-card {
        height: 193px;
    }

    .product-card__header h2 {
        font-size: 11.5px;
    }

    .product-card__visual {
        height: 86px;
    }

    .product-card__content p {
        font-size: 9.8px;
    }

    .footer-feature {
        padding-right: 16px;
        padding-left: 16px;
    }

    .footer-feature__icon {
        width: 44px;
        height: 44px;
    }

    .footer-feature__icon svg {
        width: 43px;
        height: 43px;
    }
}


/* ==========================================================================
   43. 1366-1440 DESKTOP
   ========================================================================== */

@media (max-width: 1440px) {

    :root {
        --page-padding: 12px;
        --content-gap: 10px;

        --left-sidebar-width: 222px;
        --right-sidebar-width: 222px;

        --header-height: 91px;
    }

    .store-header {
        grid-template-columns:
            var(--left-sidebar-width)
            minmax(460px, 1fr)
            auto;
    }

    .brand-logo {
        gap: 4px;
    }

    .brand-logo__crown {
        width: 52px;
        height: 67px;
    }

    .brand-logo__browser {
        font-size: 22px;

        letter-spacing: -1.1px;
    }

    .brand-logo__empire {
        margin-top: 5px;

        font-size: 30px;

        letter-spacing: -1.4px;
    }

    .main-navigation {
        gap: 1px;
    }

    .nav-link {
        min-height: 39px;

        padding-right: 7px;
        padding-left: 7px;

        font-size: 11px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-info-card {
        height: 55px;

        padding-right: 7px;
        padding-left: 7px;
    }

    .header-info-card--community {
        width: 137px;
    }

    .header-info-card--coins {
        width: 166px;
    }

    .header-info-card__icon {
        width: 32px;
        height: 32px;

        margin-right: 5px;
    }

    .header-info-card__icon svg {
        width: 31px;
        height: 31px;
    }

    .header-info-card__coin {
        width: 34px;
        height: 34px;

        margin-right: 5px;
    }

    .header-info-card__coin svg {
        width: 33px;
        height: 33px;
    }

    .header-info-card__eyebrow {
        font-size: 8px;
    }

    .header-info-card__value {
        font-size: 9px;
    }

    .header-coin-balance {
        font-size: 16px;
    }

    .header-square-button {
        width: 53px;
        height: 53px;
    }

    .store-layout {
        padding-top: 9px;
    }

    .store-sidebar {
        gap: 10px;
    }

    .sidebar-card__header {
        min-height: 45px;

        padding-right: 10px;
        padding-left: 10px;
    }

    .sidebar-card__header h2 {
        font-size: 12px;
    }

    .sidebar-card__body {
        padding: 11px;
    }

    .daily-deal__content {
        grid-template-columns:
            94px
            minmax(0, 1fr);

        min-height: 96px;
    }

    .daily-deal__image-wrap {
        width: 94px;
        height: 92px;
    }

    .daily-deal__details h3 {
        font-size: 10px;
    }

    .daily-deal__discount {
        font-size: 14px;
    }

    .daily-deal__new-price {
        font-size: 15px;
    }

    .top-purchases-list li {
        grid-template-columns:
            19px
            20px
            minmax(0, 1fr)
            auto;

        gap: 4px;

        font-size: 9px;
    }

    .top-purchases-list li > strong {
        font-size: 9px;
    }

    .top-purchases-list__rank {
        width: 19px;
        height: 20px;

        font-size: 9px;
    }

    .top-purchases-list__mini-icon {
        width: 18px;
        height: 18px;
    }

    .top-purchases-list__mini-icon svg {
        width: 18px;
        height: 18px;
    }

    .store-hero {
        height: 245px;
    }

    .store-hero__content {
        padding-left:
            clamp(45px, 5vw, 67px);
    }

    .store-hero__eyebrow {
        font-size: 22px;
    }

    .store-hero__title {
        font-size: 51px;
    }

    .store-hero__subtitle {
        margin-top: 9px;
        margin-bottom: 13px;

        font-size: 14px;
    }

    .button--hero {
        min-width: 170px;
        min-height: 38px;

        font-size: 12px;
    }

    .product-grid {
        gap: 8px;

        margin-top: 9px;
    }

    .product-card {
        height: 176px;
    }

    .product-card__header {
        min-height: 31px;
    }

    .product-card__header h2 {
        font-size: 10.4px;
    }

    .product-card__visual {
        height: 78px;

        padding-right: 10px;
        padding-left: 10px;
    }

    .product-card__content {
        padding-bottom: 7px;
    }

    .product-card__content p {
        min-height: 29px;

        font-size: 8.8px;
    }

    .product-card__price {
        font-size: 10.5px;
    }

    .store-search-card {
        padding: 8px;
    }

    .store-search input {
        height: 34px;

        font-size: 9.5px;
    }

    .redeem-card__body > p,
    .rewards-card__text {
        font-size: 9.5px;
    }

    .benefits-list {
        gap: 6px;
    }

    .benefits-list li {
        font-size: 9.4px;
    }

    .benefits-list li > span {
        width: 21px;
        height: 21px;
    }

    .benefits-list svg {
        width: 21px;
        height: 21px;
    }

    .button {
        min-height: 34px;

        font-size: 9.5px;
    }

    .store-footer {
        min-height: 68px;

        margin-top: 9px;
    }

    .footer-feature {
        padding:
            8px
            10px;

        gap: 8px;
    }

    .footer-feature__icon {
        width: 38px;
        height: 38px;
    }

    .footer-feature__icon svg {
        width: 38px;
        height: 38px;
    }

    .footer-feature__content h2 {
        font-size: 9.5px;
    }

    .footer-feature__content p {
        font-size: 8px;
    }
}


/* ==========================================================================
   44. MEDIUM DESKTOP / SMALL LAPTOP
   ========================================================================== */

@media (max-width: 1250px) {

    :root {
        --left-sidebar-width: 218px;
        --right-sidebar-width: 218px;
    }

    .store-header {
        grid-template-columns:
            210px
            minmax(0, 1fr)
            auto;
    }

    .header-info-card--community {
        display: none;
    }

    .nav-link {
        padding-right: 8px;
        padding-left: 8px;

        font-size: 10.8px;
    }

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

    .product-card {
        height: 188px;
    }

    .product-card__header h2 {
        font-size: 11px;
    }

    .product-card__visual {
        height: 87px;
    }

    .product-card__content p {
        font-size: 9.4px;
    }
}


/* ==========================================================================
   45. TABLET / NARROW LAPTOP
   ========================================================================== */

@media (max-width: 1080px) {

    :root {
        --page-padding: 12px;
        --content-gap: 12px;
    }

    .store-header {
        grid-template-columns:
            minmax(190px, auto)
            1fr
            auto;

        height: 86px;
    }

    .brand-logo__crown {
        width: 50px;
    }

    .brand-logo__browser {
        font-size: 21px;
    }

    .brand-logo__empire {
        font-size: 28px;
    }

    .main-navigation {
        position: absolute;

        top: calc(100% - 1px);
        right: 0;
        left: 0;

        display: none;
        flex-wrap: wrap;

        height: auto;

        padding: 10px 12px;

        border:
            1px solid
            var(--border-color);

        border-radius:
            0
            0
            10px
            10px;

        background:
            rgba(4, 10, 24, 0.98);

        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.35);
    }

    html[data-theme="light"] .main-navigation {
        background:
            rgba(255, 255, 255, 0.98);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .nav-link {
        min-height: 38px;

        padding: 0 12px;

        font-size: 11px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-info-card--coins {
        width: 172px;
    }

    .store-layout {
        grid-template-columns:
            225px
            minmax(0, 1fr);

        grid-template-areas:
            "left main"
            "right main";
    }

    .store-sidebar--left {
        grid-area: left;
    }

    .store-main {
        grid-area: main;
    }

    .store-sidebar--right {
        grid-area: right;

        margin-top: 0;
    }

    .store-sidebar--right .store-search-card {
        display: none;
    }

    .store-hero {
        height: 260px;
    }

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

    .product-card {
        height: 195px;
    }

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

    .footer-feature:nth-child(2)::after {
        display: none;
    }

    .footer-feature:nth-child(-n + 2) {
        border-bottom:
            1px solid
            var(--border-color-soft);
    }
}


/* ==========================================================================
   46. TABLET
   ========================================================================== */

@media (max-width: 820px) {

    .app-shell {
        padding:
            0
            10px
            12px;
    }

    .store-header {
        grid-template-columns:
            minmax(180px, 1fr)
            auto;

        gap: 8px;
    }

    .brand-logo {
        min-width: 0;
    }

    .header-actions {
        grid-column: 2;
    }

    .header-info-card--coins {
        width: 145px;
    }

    .header-info-card__eyebrow {
        display: none;
    }

    .header-info-card__coin-row {
        align-items: center;
    }

    .header-info-card__value--gold {
        display: none;
    }

    .header-info-card__content {
        align-items: center;
    }

    .store-layout {
        grid-template-columns:
            1fr;

        grid-template-areas:
            "main"
            "left"
            "right";

        gap: 12px;
    }

    .store-main {
        grid-area: main;
    }

    .store-sidebar--left {
        grid-area: left;

        display: grid;

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

    .store-sidebar--left .top-purchases-card {
        grid-column:
            1 / -1;
    }

    .store-sidebar--right {
        grid-area: right;

        display: grid;

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

    .store-sidebar--right .store-search-card {
        display: block;

        grid-column:
            1 / -1;
    }

    .store-sidebar--right .premium-benefits-card {
        min-height: 100%;
    }

    .store-sidebar--right .rewards-card {
        min-height: 100%;
    }

    .store-hero {
        height: 270px;
    }

    .store-hero__content {
        width: 70%;

        padding-left: 46px;
    }

    .store-hero__eyebrow {
        font-size: 24px;
    }

    .store-hero__title {
        font-size: 56px;
    }

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

        gap: 10px;
    }

    .product-card {
        height: 195px;
    }

    .product-card__header h2 {
        font-size: 11px;
    }

    .footer-feature__content p br {
        display: none;
    }

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

    .product-modal__visual {
        min-height: 250px;

        border-right: 0;
        border-bottom:
            1px solid
            var(--border-color-soft);
    }

    .product-modal__image {
        height: 210px;
    }

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

    .cart-summary {
        width: 100%;
    }
}


/* ==========================================================================
   47. MOBILE
   ========================================================================== */

@media (max-width: 640px) {

    :root {
        --page-padding: 8px;
    }

    body {
        font-size: 13px;
    }

    .app-shell {
        padding:
            0
            8px
            10px;
    }

    .store-header {
        position: relative;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        height: 76px;
    }

    .brand-logo__crown {
        width: 43px;
        height: 57px;
    }

    .brand-logo__browser {
        font-size: 18px;
    }

    .brand-logo__empire {
        margin-top: 4px;

        font-size: 24px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-info-card--coins {
        display: none;
    }

    .theme-toggle {
        width: 44px;
        height: 44px;
    }

    .cart-toggle {
        width: 44px;
        height: 44px;
    }

    .cart-toggle__icon {
        width: 25px;
        height: 25px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .main-navigation {
        display: none;

        gap: 5px;
    }

    .main-navigation.is-open {
        display: grid;

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

    .nav-link {
        width: 100%;

        font-size: 11px;
    }

    .mobile-search-container {
        display: block;

        margin:
            8px
            8px
            0;

        padding: 8px;

        border:
            1px solid
            var(--border-color);

        border-radius: var(--radius-md);

        background: var(--gradient-card);
    }

    .store-layout {
        padding-top: 8px;
    }

    .store-hero {
        height: 260px;
    }

    .store-hero__background {
        object-position: 61% center;
    }

    .store-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 8, 22, 0.93),
                rgba(3, 8, 22, 0.74) 58%,
                rgba(3, 8, 22, 0.25)
            ),
            linear-gradient(
                180deg,
                transparent,
                rgba(2, 6, 16, 0.25)
            );
    }

    .store-hero__content {
        width: 82%;

        padding:
            15px
            18px;
    }

    .store-hero__eyebrow {
        font-size: 20px;
    }

    .store-hero__title {
        font-size: 50px;
    }

    .store-hero__subtitle {
        font-size: 13px;
    }

    .button--hero {
        min-width: 163px;
    }

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

        gap: 8px;
    }

    .product-card {
        height: 188px;
    }

    .product-card__header h2 {
        font-size: 10.5px;
    }

    .product-card__visual {
        height: 85px;
    }

    .product-card__content p {
        font-size: 9px;
    }

    .store-sidebar--left,
    .store-sidebar--right {
        display: flex;
        flex-direction: column;
    }

    .store-sidebar--right .store-search-card {
        display: none;
    }

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

    .footer-feature {
        min-height: 73px;

        border-bottom:
            1px solid
            var(--border-color-soft);
    }

    .footer-feature:last-child {
        border-bottom: 0;
    }

    .footer-feature::after {
        display: none !important;
    }

    .footer-feature__content h2 {
        font-size: 11px;
    }

    .footer-feature__content p {
        font-size: 9.5px;
    }

    .modal {
        align-items: flex-end;

        padding: 8px;
    }

    .modal__dialog {
        width: 100%;
        max-height: calc(100vh - 16px);

        border-radius:
            15px
            15px
            9px
            9px;
    }

    .product-modal__visual {
        min-height: 200px;
    }

    .product-modal__image {
        width: 74%;
        height: 175px;
    }

    .product-modal__content {
        padding:
            28px
            20px
            24px;
    }

    .product-modal__content h2 {
        font-size: 23px;
    }

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

    .product-modal__purchase .button {
        width: 100%;
    }

    .cart-modal__header {
        min-height: 79px;

        padding:
            15px
            55px
            13px
            16px;
    }

    .cart-modal__body {
        padding: 13px;
    }

    .cart-item {
        grid-template-columns:
            58px
            minmax(0, 1fr)
            auto;

        padding: 8px;

        gap: 8px;
    }

    .cart-item__image-wrap {
        width: 58px;
        height: 57px;
    }

    .cart-item__details h4 {
        font-size: 11px;
    }

    .notice-modal {
        padding:
            42px
            21px
            27px;
    }

    .toast-container {
        top: 10px;
        right: 10px;

        width: calc(100vw - 20px);
    }
}


/* ==========================================================================
   48. VERY SMALL MOBILE
   ========================================================================== */

@media (max-width: 420px) {

    .brand-logo__crown {
        width: 38px;
        height: 52px;
    }

    .brand-logo__browser {
        font-size: 15px;

        letter-spacing: -0.7px;
    }

    .brand-logo__empire {
        font-size: 21px;

        letter-spacing: -1px;
    }

    .theme-toggle {
        display: none;
    }

    .store-hero {
        height: 235px;
    }

    .store-hero__content {
        width: 92%;
    }

    .store-hero__eyebrow {
        font-size: 18px;
    }

    .store-hero__title {
        font-size: 44px;
    }

    .store-hero__subtitle {
        font-size: 12px;
    }

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

    .product-card {
        display: grid;

        grid-template-columns:
            112px
            minmax(0, 1fr);

        grid-template-rows:
            37px
            1fr;

        height: 142px;
    }

    .product-card__header {
        grid-column:
            2;

        grid-row:
            1;

        justify-content: flex-start;

        padding:
            11px
            11px
            0;
    }

    .product-card__header h2 {
        width: 100%;

        font-size: 11px;

        text-align: left;
    }

    .product-card__visual {
        grid-column:
            1;

        grid-row:
            1 / 3;

        width: 112px;
        height: 142px;

        padding: 13px;
    }

    .product-card__content {
        grid-column:
            2;

        grid-row:
            2;

        align-items: flex-start;

        padding:
            0
            11px
            12px;

        text-align: left;
    }

    .product-card__content p {
        min-height: unset;

        text-align: left;
    }

    .product-card__price {
        margin-top: 9px;
    }

    .daily-deal__content {
        grid-template-columns:
            110px
            minmax(0, 1fr);
    }

    .daily-deal__image-wrap {
        width: 110px;
    }

    .footer-feature {
        padding-right: 13px;
        padding-left: 13px;
    }

    .cart-item {
        grid-template-columns:
            53px
            minmax(0, 1fr);
    }

    .cart-item__right {
        grid-column:
            2;

        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        width: 100%;
    }
}


/* ==========================================================================
   49. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* ==========================================================================
   50. PRINT
   ========================================================================== */

@media print {

    body {
        background: #ffffff;

        color: #000000;
    }

    .store-header,
    .store-sidebar,
    .store-footer,
    .modal,
    .toast-container,
    .mobile-search-container {
        display: none !important;
    }

    .store-layout {
        display: block;
    }

    .store-hero {
        height: 250px;
    }

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

    .product-card {
        break-inside: avoid;

        border: 1px solid #bbbbbb;

        background: #ffffff;
    }
}