/* Power Up Store - aligned with the player guide design language. */
body.wok-3d-shell.route-store {
    --store-gold: #d8bd73;
    --store-gold-soft: #ad8c46;
    --store-cream: #f1ead7;
    --store-text: #c9c2b5;
    --store-muted: #918b80;
    --store-panel: rgba(9, 8, 6, .91);
    --store-line: rgba(205, 171, 95, .24);
    color: var(--store-text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
}

body.route-store::before,
body.route-store::after,
body.route-store .cont-items::before {
    display: none !important;
}

body.route-store .main,
body.route-store .cont-items {
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
}

body.route-store .cont-items {
    min-height: calc(100vh - 76px);
    padding: 0 24px 72px clamp(74px, 6vw, 96px) !important;
}

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

.wok-store {
    width: 100%;
    margin: 0 auto;
    color: var(--store-text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
}

.wok-store [hidden] {
    display: none !important;
}

/* Same quiet, borderless hero used by /guide. */
.wok-store-hero {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 1320px !important;
    min-height: 250px !important;
    margin: 0 auto 24px !important;
    padding: 46px 24px !important;
    overflow: visible !important;
    text-align: center !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.wok-store-hero::before {
    display: none !important;
}

.wok-store-hero::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: 0;
    left: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(219, 181, 102, .56), transparent);
}

.wok-store-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.wok-store-hero .gmr-page-hero__eyebrow {
    display: block;
    margin: 0 0 12px !important;
    color: #d8bd73 !important;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .24em !important;
    text-transform: uppercase;
}

body.wok-3d-shell.route-store:not(.route-landing):not(.route-home) .wok-store-hero h1 {
    margin: 0 !important;
    padding: 0 !important;
    color: #f2ead9 !important;
    -webkit-text-fill-color: currentColor !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 3.4vw, 46px) !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: .035em !important;
    text-align: center !important;
    text-transform: uppercase !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    filter: none !important;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .82) !important;
}

.wok-store-hero p {
    max-width: 700px;
    margin: 15px auto 0 !important;
    color: #a7a095 !important;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.65;
    letter-spacing: .01em;
    text-align: center !important;
}

/* Guide-style left navigation and one continuous content surface. */
.wok-store-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.wok-store-nav {
    position: sticky;
    top: 94px;
    z-index: 30;
    width: 100%;
    max-height: calc(100vh - 114px);
    padding: 6px;
    overflow-y: auto;
    scrollbar-color: #74582a #080705;
    scrollbar-width: thin;
    background: rgba(7, 7, 6, .97) !important;
    border: 1px solid var(--store-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 244, 211, .025) !important;
    transform: none !important;
}

.wok-store-nav::-webkit-scrollbar {
    width: 6px;
}

.wok-store-nav::-webkit-scrollbar-track {
    background: #080705;
}

.wok-store-nav::-webkit-scrollbar-thumb {
    background: #74582a;
    border-radius: 8px;
}

.wok-store-nav__section {
    width: 100%;
}

.wok-store-nav__title {
    display: block;
    padding: 9px 9px 7px;
    color: #8f887b;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.wok-store-nav__divider {
    height: 1px;
    margin: 7px 8px;
    background: rgba(205, 171, 95, .12);
}

.wok-store-nav__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    width: 100%;
}

body.wok-3d-shell.route-store:not(.route-landing):not(.route-home) .wok-store-nav button {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    width: 100% !important;
    min-height: 37px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    color: #bdb6a9 !important;
    -webkit-text-fill-color: currentColor !important;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    line-height: 1.25;
    letter-spacing: .01em;
    text-align: left !important;
    text-transform: none !important;
    background: transparent !important;
    background-image: none !important;
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    cursor: pointer;
    transform: none !important;
    transition: color .16s ease, background .16s ease !important;
}

.wok-store-nav button i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #cdb878;
    font-size: 12px;
}

.wok-store-nav button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

body.wok-3d-shell.route-store:not(.route-landing):not(.route-home) .wok-store-nav button:hover,
body.wok-3d-shell.route-store:not(.route-landing):not(.route-home) .wok-store-nav button.is-active {
    color: #fff9e7 !important;
    background: linear-gradient(90deg, rgba(78, 62, 35, .58), rgba(26, 23, 17, .92)) !important;
    background-image: linear-gradient(90deg, rgba(78, 62, 35, .58), rgba(26, 23, 17, .92)) !important;
    border-color: rgba(213, 180, 103, .24) !important;
    box-shadow: inset 2px 0 0 var(--store-gold) !important;
    transform: none !important;
}

.wok-store-content {
    min-width: 0;
    min-height: 340px;
    padding: 24px;
    color: var(--store-text);
    background: var(--store-panel) !important;
    border: 1px solid rgba(205, 171, 95, .2) !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .34) !important;
    transform: none !important;
}

.wok-store-toolbar {
    display: grid;
    grid-template-columns: minmax(190px, .8fr) minmax(280px, 1.4fr);
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
}

.wok-store-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
}

.wok-store-field > span:first-child {
    display: block;
    margin: 0;
    color: #ded6c7;
    font-size: 11px;
    font-weight: 600;
}

.wok-store-select-wrap,
.wok-store-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 47px;
    overflow: hidden;
    background: rgba(12, 13, 16, .92);
    border: 1px solid rgba(205, 171, 95, .18);
    border-radius: 5px;
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, .68), inset 0 -1px 0 rgba(255, 255, 255, .035), 0 1px 0 rgba(255, 255, 255, .025);
}

.wok-store-select-wrap:focus-within,
.wok-store-search-wrap:focus-within {
    border-color: rgba(216, 189, 115, .45);
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, .68), 0 0 0 2px rgba(216, 189, 115, .08);
}

body.wok-3d-shell.route-store .wok-store select,
body.wok-3d-shell.route-store .wok-store input {
    width: 100% !important;
    height: 45px !important;
    min-width: 0;
    margin: 0 !important;
    padding: 7px 34px 7px 11px !important;
    color: #eee7d8 !important;
    -webkit-text-fill-color: currentColor !important;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
    font-size: 12px !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.wok-3d-shell.route-store .wok-store select {
    appearance: none;
    cursor: pointer;
}

.wok-store-select-wrap > i {
    position: absolute;
    right: 12px;
    color: #857958;
    font-size: 9px;
    pointer-events: none;
}

.wok-store-search-wrap > i {
    flex: 0 0 auto;
    margin-left: 12px;
    color: #a38a51;
    font-size: 12px;
}

.wok-store-search-wrap input {
    padding-left: 10px !important;
}

.wok-store-search-wrap input::placeholder {
    color: #716c64;
    -webkit-text-fill-color: #716c64;
}

body.wok-3d-shell.route-store:not(.route-landing):not(.route-home) .wok-store button[data-store-clear] {
    display: grid !important;
    place-items: center;
    flex: 0 0 32px;
    width: 32px !important;
    height: 32px !important;
    min-height: 0 !important;
    margin: 0 3px 0 0 !important;
    padding: 0 !important;
    color: #9b9385 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.wok-store-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 38px;
    margin: 0 0 14px;
    padding: 9px 12px;
    color: #9e978b;
    font-size: 10.5px;
    background: rgba(7, 7, 6, .48);
    border: 1px solid rgba(205, 171, 95, .1);
    border-radius: 5px;
}

.wok-store-meta > div {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.wok-store-meta i {
    flex: 0 0 auto;
    color: var(--store-gold-soft);
}

.wok-store-meta > span {
    flex: 0 0 auto;
    color: #7f786d;
}

.wok-store-catalogue {
    width: 100%;
    overflow-x: auto;
    scrollbar-color: #74582a #080705;
    scrollbar-width: thin;
    background: rgba(8, 8, 7, .78);
    border: 1px solid rgba(215, 189, 114, .22);
    border-radius: 7px;
}

.wok-store-catalogue::-webkit-scrollbar {
    height: 7px;
}

.wok-store-catalogue::-webkit-scrollbar-track {
    background: #080705;
}

.wok-store-catalogue::-webkit-scrollbar-thumb {
    background: #74582a;
    border-radius: 8px;
}

.wok-store-table-head,
.wok-store-item {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) 175px 125px;
    min-width: 680px;
}

.wok-store-table-head {
    min-height: 40px;
    align-items: center;
    color: #fff0b4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(111, 78, 30, .46), rgba(22, 18, 12, .88));
    border-bottom: 1px solid rgba(205, 171, 95, .18);
}

.wok-store-table-head span {
    padding: 10px 12px;
}

.wok-store-table-head span:nth-child(2),
.wok-store-table-head span:nth-child(3) {
    text-align: center;
}

.wok-store-item {
    min-height: 66px;
    align-items: stretch;
    color: #cbc4b7;
    background: rgba(8, 8, 7, .22);
    border-bottom: 1px solid rgba(205, 171, 95, .1);
    transition: background .16s ease;
}

.wok-store-item:nth-child(even) {
    background: rgba(20, 19, 17, .34);
}

.wok-store-item:hover {
    background: rgba(126, 89, 35, .09);
}

.wok-store-item__product {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 8px 12px;
}

.wok-store-item__image {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    color: #8f7440;
    font-size: 15px;
    background: #090908;
    border: 1px solid rgba(205, 171, 95, .18);
    border-radius: 4px;
}

.wok-store-item__image img {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.wok-store-item__image img + i {
    display: none;
}

.wok-store-item__copy {
    display: block;
    min-width: 0;
}

.wok-store-item__copy small,
.wok-store-item__copy strong,
.wok-store-item__copy > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wok-store-item__copy small {
    margin-bottom: 2px;
    color: #736e65;
    font-size: 8px;
    letter-spacing: .08em;
}

.wok-store-item__copy strong {
    color: #ddd6c9;
    font-size: 11.5px;
    font-weight: 600;
}

.wok-store-item__copy > span {
    margin-top: 3px;
    color: #777168;
    font-size: 9px;
}

.wok-store-item__category,
.wok-store-item__price {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 10px 9px;
    border-left: 1px solid rgba(205, 171, 95, .08);
}

.wok-store-item__category > span {
    max-width: 100%;
    overflow: hidden;
    color: #b8b0a3;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wok-store-item__price {
    gap: 4px;
    color: #f1ded7;
    background: rgba(122, 48, 38, .07);
}

.wok-store-item__price strong,
.wok-store-item__price span {
    color: inherit;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
}

.wok-store-item__price {
    margin: 9px 12px;
    padding: 8px 10px;
    background: #a94f40;
    border: 1px solid rgba(229, 135, 116, .2);
    border-radius: 2px;
}

.wok-store-empty {
    min-width: 680px;
    padding: 58px 20px;
    text-align: center;
}

.wok-store-empty i,
.wok-store-empty strong,
.wok-store-empty span {
    display: block;
}

.wok-store-empty i {
    margin-bottom: 12px;
    color: var(--store-gold-soft);
    font-size: 22px;
}

.wok-store-empty strong {
    color: #ddd5c7;
    font-size: 13px;
}

.wok-store-empty span {
    margin-top: 6px;
    color: var(--store-muted);
    font-size: 10px;
}

.wok-store-unavailable {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 65px 20px;
    text-align: center;
    background: var(--store-panel);
    border: 1px solid var(--store-line);
    border-radius: 10px;
}

.wok-store-unavailable > i {
    color: var(--store-gold-soft);
    font-size: 25px;
}

.wok-store-unavailable h2 {
    margin: 15px 0 7px !important;
    color: #eee6d4 !important;
    -webkit-text-fill-color: currentColor !important;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
    font-size: 17px !important;
    background: none !important;
    filter: none !important;
}

.wok-store-unavailable p {
    margin: 0;
    color: var(--store-muted);
    font-size: 11px;
}

@media (max-width: 1040px) {
    body.route-store .cont-items {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

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

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

@media (max-width: 760px) {
    body.route-store .cont-items {
        padding: 0 12px 58px !important;
    }

    .wok-store-hero {
        min-height: 210px !important;
        margin-bottom: 20px !important;
        padding: 36px 18px !important;
    }

    .wok-store-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: none;
    }

    .wok-store-nav {
        position: static;
        top: auto;
        max-height: none;
        padding: 8px;
    }

    .wok-store-nav__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .wok-store-nav__section:first-child .wok-store-nav__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.wok-3d-shell.route-store:not(.route-landing):not(.route-home) .wok-store-nav button {
        min-height: 40px !important;
        padding: 7px 8px !important;
        font-size: 10px !important;
    }

    .wok-store-content {
        padding: 17px;
    }

    .wok-store-toolbar {
        gap: 12px;
    }

    .wok-store-field {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .wok-store-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .wok-store-hero {
        min-height: 170px !important;
        margin-bottom: 18px !important;
        padding: 28px 12px 24px !important;
    }

    body.wok-3d-shell.route-store:not(.route-landing):not(.route-home) .wok-store-hero h1 {
        font-size: clamp(25px, 8vw, 31px) !important;
        line-height: 1.25 !important;
    }

    .wok-store-hero p {
        max-width: 340px;
        font-size: 12px !important;
        line-height: 1.55;
    }

    .wok-store-nav__list,
    .wok-store-nav__section:first-child .wok-store-nav__list {
        grid-template-columns: 1fr;
    }

    .wok-store-content {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wok-store *,
    .wok-store *::before,
    .wok-store *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
