

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


.loader-menu-badge.is-in-stock {
    color: #b6f0c8;
    border-color: rgba(130, 220, 165, .32);
}

.loader-menu-badge.is-low-stock {
    color: #f2d9a0;
    border-color: rgba(226, 197, 128, .34);
}

.loader-menu-badge.is-sold-out {
    color: #d6a9b3;
    border-color: rgba(200, 125, 138, .32);
}

.icon.is-filled {
    fill: currentColor;
    stroke: none;
}


.store-mode-tabs { display: flex; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--edge); }
.store-mode-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 100px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px; color: var(--copy); font-size: 14px; font-weight: 600; }
.store-mode-tabs a[aria-current="page"] { background: var(--store-accent); border-color: var(--store-accent); color: var(--store-accent-ink); }
.store-mode-tabs a:not([aria-current]):hover { background: var(--surface-raised); border-color: var(--edge); color: var(--ink); }
.store-mode-tabs a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.store-search {
    height: 44px;
    min-width: 0;
    flex: 1 1 150px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    background: var(--loader-control);
    border: 1px solid var(--loader-line);
    border-radius: 7px;
}

.store-search:focus-within {
    border-color: var(--loader-line-strong);
    box-shadow: inset 0 0 0 1px var(--focus);
}

.store-search .icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: var(--loader-muted);
}


.store-controls .store-search input {
    height: 100%;
    min-height: 0;
    width: 100%;
    padding: 0;
    color: var(--loader-ink);
    background: transparent;
    box-shadow: none;
    border: 0;
    outline: 0;
    appearance: none;
    font: 500 14px/1 "Inter UI", "Inter", sans-serif;
}

.store-controls .store-search input:focus,
.store-controls .store-search input:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.store-search input::-webkit-search-cancel-button {
    filter: invert(.75);
}

.store-search input::placeholder {
    color: var(--quiet);
}

.store-search input::-webkit-search-cancel-button {
    filter: invert(.75);
}

.store-apply {
    height: 44px;
    padding: 0 12px;
    color: var(--loader-ink);
    background: var(--loader-control);
    border: 1px solid var(--loader-line-strong);
    border-radius: 7px;
    font: 600 14px/1 "Inter UI", "Inter", sans-serif;
    cursor: pointer;
    transition: color 140ms ease, background 140ms ease;
}

.store-apply:hover {
    color: var(--loader-accent-strong);
    background: var(--control-hover);
}

.store-apply:focus-visible {
    outline: 0;
    border-color: var(--loader-line-strong);
    box-shadow: inset 0 0 0 1px var(--focus);
}


.store-categories {
    display: flex;
    gap: 6px;
    padding: 14px 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.store-categories::-webkit-scrollbar {
    display: none;
}

.store-category {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    color: var(--copy);
    background: var(--surface);
    border: 1px solid var(--edge);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    text-decoration: none;
    transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}

.store-category:hover {
    color: var(--loader-ink);
    border-color: var(--loader-line-strong);
}

.store-category.is-active {
    color: var(--loader-accent-strong);
    background: var(--surface-raised);
    border-color: var(--control-edge-hover);
}

.store-category span {
    color: var(--loader-muted);
    font-size: 9px;
}


.store-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 16px;
}

.view-store .wyvern-main { width: min(1440px, calc(100% - 64px)); }
@media (min-width: 680px) { .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 680px) { .view-store .wyvern-main { width: calc(100% - 28px); } }
.menu-get.button { gap: 8px; white-space: nowrap; font-size: 12px; }
.menu-get .icon { width: 16px; height: 16px; }

.store-controls .loader-toolbar-controls { flex-wrap: wrap; }
.store-card { background: var(--surface); border-radius: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.store-cover { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; flex: 0 0 auto; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #272727, #141414); border-bottom: 1px solid var(--edge); }
.store-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.store-cover [hidden] { display: none; }
.store-cover-fallback { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 20px; color: var(--quiet); }
.store-cover-fallback > span { color: #99948b; font-size: 64px; font-weight: 600; letter-spacing: -.06em; line-height: 1; text-transform: uppercase; }
.store-cover-fallback small { font-size: 12px; }
.store-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 18px; }
.store-card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; color: var(--quiet); font-size: 11px; line-height: 1.5; }
.store-card-meta > span { overflow-wrap: anywhere; }
.store-stock { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.store-stock::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.store-stock.is-in-stock { color: #a7d6b5; }
.store-stock.is-low-stock { color: #e3c587; }
.store-stock.is-sold-out { color: #c4a8a8; }
.store-card-title { margin: 0 0 10px; color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.03em; overflow-wrap: anywhere; }
.store-card-title a { color: inherit; text-decoration: none; }
.store-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.store-card:has(:focus-visible), a.store-card:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; }
.store-card-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; min-height: 40px; margin: 0 0 12px; color: var(--copy); font-size: 13px; line-height: 1.55; }
.store-card-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 18px; margin-bottom: 10px; }
.store-card-updated { margin: 0 0 16px; color: var(--quiet); font-size: 11px; }
.store-card footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; min-height: 62px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--edge); }
.store-card footer .button { position: relative; z-index: 2; min-height: 44px; padding-inline: 12px; font-size: 12px; }
.store-card-price { color: var(--ink); font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.store-card-price small { display: block; margin-top: 5px; color: var(--quiet); font-size: 10px; line-height: 1.4; font-weight: 400; letter-spacing: 0; }
.store-commerce-note { padding: 16px 20px; color: var(--copy); border-top: 1px solid var(--edge); font-size: 13px; }
.store-unavailable { padding: 8px 10px; border: 1px dashed var(--edge); border-radius: 7px; color: var(--quiet); font-size: 12px; }


.store-price-symbol {
    margin-right: 2px;
    color: inherit;
    font-size: .82em;
}

.store-price-currency {
    margin-right: 5px;
    color: var(--loader-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}


.store-stars {
    --star-size: 14px;
    display: inline-flex;
    gap: 2px;
    line-height: 0;
}


.store-review-heading .store-stars,
.loader-menu-heading .store-stars {
    display: inline-flex;
    flex-direction: row;
}

.store-stars-sm {
    --star-size: 12px;
}

.store-stars-lg {
    --star-size: 16px;
}

.store-stars .icon {
    width: var(--star-size);
    height: var(--star-size);
    flex: 0 0 auto;
    color: #707070;
}

.store-stars .store-star-on {
    color: var(--star-color, #ffd05e);
    fill: currentColor;
    stroke: none;
}

.store-star-half {
    position: relative;
    width: calc(var(--star-size) / 2);
    height: var(--star-size);
    flex: 0 0 auto;
    overflow: hidden;
}

.store-star-half .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--star-size);
    height: var(--star-size);
}


.store-status {
    margin: 16px;
}


.store-detail {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
    gap: 16px;
    padding: 16px;
}

.store-detail-media {
    min-width: 0;
}

.store-detail-cover { max-height: 520px; border: 1px solid var(--edge); border-radius: 12px; }

.store-detail-identity {
    padding: 16px 14px 0;
}

.store-detail-section {
    padding: 0 14px;
    margin-top: 14px;
}

.store-detail-section > span {
    display: block;
    color: var(--loader-accent-strong);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.store-detail-section > p {
    margin: 9px 0 0;
    color: var(--copy);
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-line;
}

.view-store-product .wyvern-main { width: min(1260px, calc(100% - 64px)); }
.store-gallery, .store-related { padding: 28px; border-top: 1px solid var(--edge); }
.store-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.store-section-heading > div > span { color: var(--quiet); font-size: 12px; }
.store-section-heading h2 { margin: 6px 0 0; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
.store-section-heading .button { gap: 10px; flex-shrink: 0; }
.store-gallery-count { color: var(--quiet); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.store-gallery-stage {
    position: relative; display: grid; place-items: center;
    width: 100%; height: clamp(240px, 28vw, 360px); overflow: hidden;
    background: radial-gradient(ellipse at center, #232323, #0a0a0a);
    border: 1px solid var(--edge); border-radius: 14px; cursor: zoom-in;
    box-shadow: 0 18px 48px rgb(0 0 0 / 22%);
}
.store-gallery-stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.store-gallery > :is(.store-gallery-stage, .store-gallery-controls, .store-gallery-thumbs) { max-width: 900px; margin-inline: auto; }
.store-gallery-expand { position: absolute; bottom: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--edge-hover); border-radius: 8px; background: rgb(15 15 15 / 90%); color: var(--ink); font-size: 12px; }
.store-gallery-expand .icon { width: 16px; height: 16px; }
.store-gallery-stage:hover { border-color: var(--edge-hover); }
.store-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.store-gallery-controls p { flex: 1; margin: 0; color: var(--copy); text-align: center; font-size: 13px; overflow-wrap: anywhere; }
.store-gallery-controls .button { min-width: 48px; min-height: 44px; font-size: 20px; }
.store-gallery-thumbs { display: flex; gap: 12px; overflow-x: auto; padding: 3px 3px 12px; scrollbar-color: var(--edge-hover) transparent; scroll-snap-type: x proximity; }
.store-gallery-thumb { flex: 0 0 136px; min-width: 0; overflow: hidden; border: 1px solid var(--edge); border-radius: 9px; background: var(--surface); scroll-snap-align: start; transition: border-color 180ms ease, background-color 180ms ease; }
.store-gallery-thumb img { display: block; width: 100%; height: 80px; object-fit: contain; background: #0b0b0b; }
.store-gallery-thumb span { display: block; padding: 9px 10px; color: var(--copy); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-gallery-thumb[aria-current="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--surface-raised); }
.store-gallery-dialog { width: min(1600px, calc(100vw - 32px)); max-width: calc(100% - 32px); height: calc(100dvh - 32px); max-height: none; padding: 0; margin: auto; background: #101010; color: var(--ink); border: 1px solid var(--edge-hover); border-radius: 14px; }
.store-gallery-dialog[open] { display: flex; flex-direction: column; }
.store-gallery-dialog::backdrop { background: rgb(0 0 0 / 88%); backdrop-filter: var(--glass-filter); }
.store-gallery-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; flex-shrink: 0; }
.store-gallery-dialog-bar h2 { margin: 0; min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.store-gallery-dialog-bar > div { display: flex; gap: 8px; flex-shrink: 0; }
.store-gallery-dialog-bar .button { min-width: 44px; min-height: 44px; }
.store-gallery-dialog-bar p { display: grid; gap: 5px; text-align: center; margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.store-gallery-fullscreen { flex: 1; min-height: 0; display: grid; place-items: center; background: #080808; }
.store-gallery-fullscreen img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.store-gallery-stage, .store-gallery-fullscreen { touch-action: pan-y; }
body:has(.store-gallery-dialog[open]) { overflow: hidden; }
.store-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0; }
@media (min-width: 1100px) { .store-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.store-related .store-card { text-decoration: none; }
.store-related .store-card-price { font-size: 21px; }
.store-related-action { display: inline-flex; align-items: center; gap: 6px; color: var(--copy); font-size: 11px; }
.store-related-action .icon { width: 16px; height: 16px; }
.store-related .store-card:is(:hover, :focus-visible) .store-related-action { color: var(--store-accent); }
@media (max-width: 680px) {
    .view-store-product .wyvern-main { width: calc(100% - 28px); }
    .store-gallery, .store-related { padding: 18px 12px; }
    .store-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
    .store-gallery-stage { height: clamp(240px, 68vw, 420px); }
    .store-gallery-expand { right: 10px; bottom: 10px; }
    .store-gallery-thumb { flex-basis: 124px; }
    .store-gallery-thumb img { height: 78px; }
    .store-gallery-dialog { width: calc(100vw - 12px); max-width: calc(100% - 12px); height: calc(100dvh - 12px); }
    .store-gallery-dialog-bar { padding: 10px; flex-wrap: wrap; }
    .store-gallery-dialog-bar h2 { flex-basis: 100%; }
    .store-gallery-dialog-bar > div { margin-left: auto; }
    .store-related-grid { grid-template-columns: 1fr; }
}


.store-detail-panel {
    min-width: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--loader-line);
    border-radius: 10px;
    box-shadow: none;
    -webkit-backdrop-filter: var(--glass-filter);
    backdrop-filter: var(--glass-filter);
}

.store-detail-rating {
    display: flex;
    align-items: center;
    gap: 9px;
}

.store-detail-rating strong {
    color: var(--loader-ink);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.store-detail-rating > span:last-child {
    color: var(--loader-muted);
    font-size: 13px;
}


.store-detail-price {
    min-width: 0;
    padding: 0 0 0 14px;
    border-left: 1px solid var(--loader-line);
    text-align: left;
}


.store-detail-price .store-price-symbol {
    display: inline;
    margin-right: 2px;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
}

.store-detail-price .store-price-currency {
    display: block;
    margin: 0 0 4px;
}

.store-detail-price strong {
    color: #a7ecbc;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
}

.store-detail-price .store-price-note {
    margin-top: 4px;
    color: var(--loader-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.store-buy {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--loader-muted);
    background: var(--loader-control);
    border: 1px solid var(--loader-line);
    border-radius: 8px;
    font: 600 14px/1 "Inter UI", "Inter", sans-serif;
    cursor: not-allowed;
}

.store-buy .icon {
    width: 15px;
    height: 15px;
}

.store-buy-note {
    margin: -6px 0 0;
    color: var(--loader-muted);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}


.store-review {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0 14px 12px;
    background: var(--surface);
    border: 1px solid var(--loader-line);
    border-radius: 10px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .02);
}

.store-review .loader-menu-heading {
    padding-top: 12px;
}

.store-review-heading {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.store-review .loader-menu-heading h3 {
    margin: 3px 0 0;
    color: var(--loader-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.store-review .loader-menu-description {
    min-height: 0;
}

.store-review footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 9px;
    color: var(--loader-muted);
    border-top: 1px solid var(--edge);
    font-size: 12px;
}

.store-review footer strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--copy);
    font-weight: 600;
    text-transform: lowercase;
}

.store-review footer .icon {
    width: 12px;
    height: 12px;
}


.store-buy.is-ready {
    color: var(--canvas);
    background: var(--brand);
    border-color: var(--brand);
    cursor: pointer;
    box-shadow: none;
}

.store-buy.is-ready:hover {
    filter: brightness(1.06);
}

.store-buy.is-ready:focus-visible {
    outline: none;
    border-color: #a7ecbc;
    box-shadow: 0 0 0 2px rgba(167, 236, 188, .38);
}


.store-checkout {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-checkout-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px 0 0;
    border-top: 1px solid var(--loader-line);
}

.store-checkout-panel[hidden] {
    display: none;
}

.store-checkout-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.store-checkout-field label {
    color: var(--loader-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.store-checkout-field .store-checkout-optional {
    color: var(--loader-muted);
    font-weight: 400;
}

.store-checkout-field input,
.store-checkout-field select {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    height: 44px;
    padding: 0 10px;
    color: var(--ink);
    background: var(--control);
    border: 1px solid var(--loader-line);
    border-radius: 7px;
    font: 500 16px/1 "Inter UI", "Inter", sans-serif;
}

.store-checkout-field input::placeholder {
    color: var(--loader-muted);
}

.store-checkout-field input:focus-visible,
.store-checkout-field select:focus-visible {
    outline: none;
    border-color: #a7ecbc;
    box-shadow: 0 0 0 2px rgba(167, 236, 188, .3);
}

.store-checkout [hidden] { display: none !important; }
.store-payment-methods { min-width: 0; margin: 0; padding: 0; border: 0; }
.store-payment-methods legend { margin: 0 0 10px; padding: 0; color: var(--loader-muted); font-size: 13px; font-weight: 700; }
.store-payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.store-payment-option { position: relative; min-width: 0; cursor: pointer; }
.store-payment-option > input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.store-payment-option > input:disabled { cursor: not-allowed; }
.store-payment-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.store-payment-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; box-sizing: border-box; gap: 5px; padding: 16px 13px 14px; color: var(--ink); background: var(--control); border: 1px solid var(--loader-line); border-radius: 12px; transition: border-color .15s, background .15s, box-shadow .15s; }
.store-payment-option > input:checked + .store-payment-card { border-color: var(--store-accent); background: linear-gradient(145deg, rgb(227 197 135 / 9%), transparent 85%), var(--control); box-shadow: inset 0 0 0 1px rgb(227 197 135 / 15%); }
.store-payment-option > input:focus-visible + .store-payment-card { outline: 2px solid var(--store-accent); outline-offset: 3px; }
.store-payment-option > input:disabled + .store-payment-card { opacity: .5; cursor: not-allowed; }
.store-payment-indicator { position: absolute; top: 13px; right: 12px; width: 14px; height: 14px; box-sizing: border-box; border: 1px solid var(--edge-hover); border-radius: 50%; }
.store-payment-option > input:checked + .store-payment-card .store-payment-indicator { border: 4px solid var(--store-accent); background: var(--store-accent-ink); }
.store-payment-brand { display: flex; align-items: center; height: 32px; margin: 0 20px 7px 0; }
.store-stripe-wordmark { color: var(--ink); font: 800 28px/1 "Inter UI", "Inter", sans-serif; letter-spacing: -1.7px; }
.store-crypto-mark { color: var(--store-accent); }
.store-crypto-mark svg { width: 38px; height: 32px; overflow: visible; }
.store-payment-name { color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.3; }
.store-payment-description { color: var(--loader-muted); font-size: 11px; line-height: 1.5; }
.store-crypto-availability { display: flex; align-items: center; gap: 12px; margin-top: -8px; }
.store-crypto-availability .store-checkout-note { flex: 1; font-size: 12px; }
.store-crypto-availability .store-checkout-apply { flex: none; min-height: 36px; }
.store-crypto-details { display: grid; gap: 20px; min-width: 0; padding-top: 2px; }
.store-billing-address { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--loader-line); }
.store-billing-address legend { padding: 0 10px 0 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.store-billing-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (hover: hover) {
    .store-payment-option:hover > input:not(:disabled):not(:checked) + .store-payment-card { border-color: var(--edge-hover); background: var(--surface-raised); }
}
@media (max-width: 380px) {
    .store-payment-options { gap: 8px; }
    .store-payment-card { padding: 14px 10px 12px; }
    .store-payment-indicator { top: 11px; right: 9px; }
    .store-stripe-wordmark { font-size: 26px; }
    .store-billing-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .store-payment-card { transition: none; }
}
.store-crypto-payment { display: flex; flex-direction: column; align-items: stretch; gap: 14px; min-width: 0; }
.store-crypto-payment h3 { margin: 0; color: var(--ink); font-size: 20px; }
.store-crypto-payment iframe { display: block; width: 100%; max-width: 410px; height: 696px; margin: 0 auto; border: 0; border-radius: 10px; background: var(--surface); }
.store-crypto-payment .button { justify-content: center; text-align: center; min-height: 44px; }
.store-checkout-field select { width: 100%; box-sizing: border-box; appearance: auto; }

.store-checkout-discount-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
}

.store-checkout-discount-row #store-discount-remove {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 32px;
    padding: 0 2px;
    background: transparent;
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.store-checkout-apply {
    min-height: 44px;
    padding: 0 12px;
    color: var(--copy);
    background: var(--loader-control);
    border: 1px solid var(--loader-line);
    border-radius: 7px;
    font: 600 13px/1 "Inter UI", "Inter", sans-serif;
    cursor: pointer;
}

.store-checkout-apply:hover {
    color: var(--ink);
    border-color: var(--edge-hover);
}

.store-checkout-apply:focus-visible {
    outline: none;
    border-color: var(--focus);
    box-shadow: inset 0 0 0 1px var(--focus);
}

.store-checkout-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 16px;
    background: var(--control);
    border: 1px solid var(--loader-line);
    border-radius: 10px;
}

.store-checkout-summary div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.store-checkout-summary dt {
    color: var(--loader-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.store-checkout-summary dd {
    margin: 0;
    color: var(--ink);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.store-checkout-summary .is-total dt {
    color: var(--ink);
}

.store-checkout-summary .is-total dd {
    color: var(--store-accent, #a7ecbc);
    font-size: 20px;
    font-weight: 700;
}

.store-checkout-summary .is-total { padding-top: 12px; margin-top: 2px; border-top: 1px solid var(--loader-line); }

.store-checkout-note {
    margin: -2px 0 0;
    color: var(--loader-muted);
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.store-checkout-captcha,
.store-turnstile {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 65px;
}

.store-checkout-captcha iframe,
.store-turnstile iframe {
    display: block;
    border-radius: 7px;
}

.store-checkout-consent {
    display: flex;
    align-items: flex-start;
    min-height: 36px;
    gap: 8px;
    color: var(--loader-muted);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.store-checkout-panel .store-checkout-consent input[type="checkbox"] {
    flex: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    padding: 0;
    margin: 2px 0 0;
    accent-color: var(--store-accent, #93e3ae);
    cursor: pointer;
}

.store-checkout-consent a {
    color: var(--ink);
}

.store-checkout-error {
    margin: 0;
    padding: 8px 10px;
    color: #f0b6bd;
    background: rgba(96, 32, 40, .35);
    border: 1px solid rgba(200, 125, 138, .32);
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
}

.store-checkout-error[hidden] {
    display: none;
}

.store-checkout-submit {
    width: 100%;
}

.store-checkout-submit:disabled {
    opacity: .55;
    cursor: wait;
    filter: none;
}

.store-email-dialog {
    width: min(480px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    color: var(--copy);
    background: var(--surface);
    border: 1px solid var(--edge);
    border-radius: 12px;
    box-shadow: 0 20px 64px rgb(0 0 0 / 35%);
}
.store-email-dialog form { display: grid; gap: 20px; padding: 24px; }
.store-email-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.store-email-heading h2 { margin: 0; color: var(--ink); font: 600 24px/1.2 var(--font-copy); letter-spacing: -.025em; }
.store-email-close { flex: 0 0 36px; height: 36px; padding: 0; color: var(--copy); background: var(--control); border: 1px solid var(--edge); border-radius: 6px; font: 24px/1 var(--font-copy); cursor: pointer; }
.store-email-close:hover { color: var(--ink); background: var(--control-hover); }
.store-email-dialog p { margin: 0; font: 400 14px/1.7 var(--font-copy); }
.store-email-address { min-width: 0; padding: 12px; overflow-wrap: anywhere; color: var(--ink); background: var(--control); border: 1px solid var(--edge); border-radius: 6px; font: 600 16px/1.5 var(--font-copy); user-select: all; }
.store-email-actions { display: flex; justify-content: flex-end; gap: 10px; }
.store-email-actions .button { margin: 0; }
body:has(.store-email-dialog[open]) { overflow: hidden; }
@media (max-width: 520px) {
    .store-email-dialog form { padding: 20px; }
    .store-email-actions { flex-direction: column; }
    .store-email-actions .button { width: 100%; }
}


.store-status-surface {
    display: flex;
    justify-content: center;
    padding: 34px 20px;
}

.store-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 460px;
    width: 100%;
    text-align: center;
}

.store-status-marker {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--loader-line);
    position: relative;
}

.store-status-marker.is-waiting::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 2px solid rgba(167, 236, 188, .25);
    border-top-color: #a7ecbc;
    border-radius: 50%;
    animation: store-status-spin 1s linear infinite;
}

.store-status-marker.is-done {
    border-color: rgba(130, 220, 165, .5);
    background: rgba(130, 220, 165, .1);
}

.store-status-marker.is-done::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ecbc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E") center/20px no-repeat;
}

.store-status-marker.is-error {
    border-color: rgba(200, 125, 138, .5);
    background: rgba(96, 32, 40, .3);
}

.store-status-marker.is-error::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b6bd' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='m9 9 6 6'/%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E") center/20px no-repeat;
}

.store-status-marker.is-cancelled {
    border-color: rgba(200, 125, 138, .5);
    background: rgba(96, 32, 40, .3);
}

.store-status-marker.is-cancelled::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b6bd' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E") center/20px no-repeat;
}

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

.store-status-title {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.store-status-message {
    margin: 0;
    color: var(--loader-muted);
    font-size: 15px;
    line-height: 1.6;
}

.store-status-meta {
    margin: 0;
    color: var(--copy);
    font-size: 13px;
    font-weight: 600;
}

.store-status-meta[hidden] {
    display: none;
}

.store-status-license {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    background: var(--surface-quiet);
    border: 1px solid rgba(130, 220, 165, .3);
    border-radius: 10px;
}

.store-status-license[hidden] {
    display: none;
}

.store-status-license > span {
    color: var(--loader-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.store-status-license strong {
    width: 100%;
    padding: 9px 10px;
    color: #b2f0c6;
    background: rgba(130, 220, 165, .07);
    border: 1px dashed rgba(130, 220, 165, .32);
    border-radius: 7px;
    font: 600 14px/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
    user-select: all;
}

.store-license-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    color: var(--canvas);
    background: var(--brand);
    border: 1px solid var(--brand);
    border-radius: 7px;
    font: 600 14px/1 "Inter UI", "Inter", sans-serif;
    letter-spacing: 0;
    cursor: pointer;
}

.store-license-copy .icon {
    width: 12px;
    height: 12px;
}

.store-license-instructions {
    width: 100%;
    margin-top: 2px;
    padding: 12px 14px;
    color: var(--copy);
    background: var(--surface);
    border: 1px solid var(--loader-line);
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

.store-license-instructions[hidden] {
    display: none;
}

.store-license-instructions :first-child {
    margin-top: 0;
}

.store-license-instructions :last-child {
    margin-bottom: 0;
}

.store-license-instructions a {
    color: var(--ink);
}

.store-license-instructions code {
    padding: 1px 5px;
    color: #b2f0c6;
    background: rgba(130, 220, 165, .08);
    border-radius: 5px;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 13px;
}

.store-status-action {
    margin-top: 10px;
    padding: 0 18px;
    text-decoration: none;
}

@media (max-width: 900px) {
    .store-detail {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .store-controls .loader-toolbar-controls {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }

    .store-controls .store-search,
    .store-controls .store-filter { grid-column: 1 / -1; }

    .store-categories {
        padding: 12px 12px 0;
    }

    .store-grid,
    .store-detail {
        padding: 12px;
    }

    .store-detail-section {
        padding: 0 12px;
    }

    .store-detail-identity { padding: 16px 12px 0; }

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

    .store-status-surface {
        padding: 24px 12px;
    }

    .store-checkout-panel {
        padding: 20px 0 0;
    }
}


body:is(.view-store, .view-store-product, .view-store-orders) {
    --store-accent: #e3c587;
    --store-accent-hover: #f0d59b;
    --store-accent-ink: #211b11;
}


.store-pagination, .store-status-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.store-catalog-pagination { gap: 16px; margin: 0 28px; padding: 24px 0 28px; border-top: 1px solid var(--loader-line); }
.store-page-numbers { display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; list-style: none; }
.store-page-control { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 42px; height: 42px; padding: 0 10px; box-sizing: border-box; border: 1px solid var(--loader-line); border-radius: 9px; background: var(--control); color: var(--copy); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.store-page-step { min-width: 110px; padding: 0 14px; }
a.store-page-control:hover { color: var(--ink); border-color: var(--edge-hover); background: var(--surface-raised); }
a.store-page-control:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; }
.store-page-control[aria-current="page"] { color: var(--store-accent-ink); background: var(--store-accent); border-color: var(--store-accent); }
.store-page-control[aria-disabled="true"] { color: var(--quiet); background: transparent; opacity: .45; }
.store-page-gap { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 42px; color: var(--quiet); }
@media (max-width: 680px) {
    .store-catalog-pagination { gap: 8px; margin: 0 12px; padding: 18px 0; }
    .store-page-numbers { gap: 4px; }
    .store-page-control { min-width: 36px; height: 40px; padding: 0 8px; }
    .store-page-step { min-width: 36px; padding: 0 8px; }
    .store-page-step-label { display: none; }
    .store-page-gap { width: 16px; height: 40px; }
}
.store-status-actions { margin-top: 24px; }
.store-account-surface { padding-bottom: 28px; }
.store-account-surface [hidden], .store-status [hidden] { display: none !important; }
.store-account-surface > .store-checkout-error, .store-account-surface > #account-retry { margin: 24px 28px 0; }
.store-account-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 32px; }
.store-account-intro h3 { margin: 0 0 14px; font-size: 24px; letter-spacing: -.025em; }
.store-account-intro p { color: var(--copy); line-height: 1.7; max-width: 44ch; }
.store-account-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.store-account-form p { margin: 0; color: var(--copy); line-height: 1.6; overflow-wrap: anywhere; }
.store-account-form input { width: 100%; box-sizing: border-box; }
.store-account-form #account-code { font-size: 24px; letter-spacing: .25em; font-variant-numeric: tabular-nums; }
.store-account-surface .loader-surface-hero > div { min-width: 0; }
.store-account-surface #account-status { overflow-wrap: anywhere; }
.store-account-surface #account-logout { margin-left: auto; flex-shrink: 0; }
.store-order-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 28px 28px 0; }
.store-order { padding: 24px; min-width: 0; border: 1px solid var(--edge); border-radius: 16px; background: var(--loader-canvas, #151515); }
.store-order-header { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.store-order-brand { color: var(--store-accent); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.store-order h3 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.025em; }
.store-order-status { padding: 6px 10px; border: 1px solid var(--edge); border-radius: 6px; font-size: 12px; color: var(--copy); }
.store-order-items { padding: 18px 0; margin: 0; list-style: none; line-height: 1.7; overflow-wrap: anywhere; }
.store-order-items li + li { margin-top: 8px; }
.store-order-amounts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 16px; margin: 0; padding-top: 18px; border-top: 1px solid var(--edge); font-size: 13px; }
.store-order-amounts dt { color: var(--copy); }
.store-order-amounts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.store-order-amounts dt:nth-last-child(2), .store-order-amounts dd:last-child { font-weight: 600; color: var(--ink); padding-top: 5px; }
.store-order-reference { color: var(--quiet); overflow-wrap: anywhere; font-size: 11px; margin: 20px 0; }
.store-account-license { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--edge); }
.store-account-license h4 { margin: 0 0 12px; overflow-wrap: anywhere; }
.store-account-license code { display: block; overflow-wrap: anywhere; user-select: all; padding: 14px; margin: 12px 0; background: #101010; border: 1px solid var(--edge); border-radius: 8px; }
.store-account-license .store-license-instructions { text-align: left; margin: 16px 0 0; }
.store-account-surface .button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 900px) {
    .store-account-login { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .store-order-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
    .store-account-login { padding: 20px 14px; }
    .store-order-list { padding: 20px 12px 0; }
    .store-order { padding: 18px 14px; }
    .store-account-surface .loader-surface-hero { flex-wrap: wrap; }
    .store-account-surface #account-logout { margin-left: 0; }
}
.store-benefits { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; color: var(--copy); font-size: 12px; }
.store-benefits > span { display: inline-flex; align-items: center; gap: 8px; }
.store-benefits .icon { width: 16px; height: 16px; color: var(--store-accent); }
.view-store .store-surface { background: linear-gradient(145deg, rgb(227 197 135 / 4%), transparent 30%), var(--loader-canvas); }
.view-store .store-surface .loader-surface-mark { color: var(--store-accent); }
.view-store .store-card:has(.menu-buy):hover { box-shadow: 0 10px 30px rgb(0 0 0 / 24%); }
.store-rating-copy { color: var(--ink); font-size: 12px; }
.store-rating-copy > span { color: var(--quiet); }
body.view-store .store-card .button.menu-buy,
body.view-store-product .store-buy.is-ready {
    color: var(--store-accent-ink);
    background: var(--store-accent);
    border-color: var(--store-accent);
    box-shadow: 0 3px 16px rgb(227 197 135 / 9%);
}
body.view-store .store-card .button.menu-buy:hover,
body.view-store-product .store-buy.is-ready:hover { background: var(--store-accent-hover); border-color: var(--store-accent-hover); }
@media (hover: hover) {
    body.view-store .store-card .button.menu-buy:not(:disabled):not([aria-disabled="true"]):hover,
    body.view-store-product .store-buy.is-ready:not(:disabled):not([aria-disabled="true"]):hover {
        color: var(--store-accent-ink);
        background: var(--store-accent-hover);
        border-color: #f3d9a6;
    }
    body.view-public .store-license-copy:not(:disabled):hover {
        background: var(--brand-hover);
        border-color: var(--button-hover-edge, #aaa7a1);
    }
}
body.view-store .store-card .button.menu-get { color: var(--ink); background: var(--control); border-color: var(--edge-hover); box-shadow: none; }
body.view-store .store-card .button.menu-get:hover { color: var(--ink); background: var(--surface-raised); }
.store-detail-panel { padding: 24px; gap: 20px; background: linear-gradient(155deg, rgb(227 197 135 / 7%), transparent 60%), var(--surface); }
.store-purchase-heading > span { color: var(--store-accent); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.store-purchase-heading h2 { margin: 8px 0; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.store-purchase-heading p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--copy); font-size: 12px; }
.store-purchase-heading .icon { width: 15px; height: 15px; flex-shrink: 0; }
.store-detail-rating { flex-wrap: wrap; }
.store-detail-rating > a { color: var(--copy); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.store-detail-price { display: block; padding: 0; border: 0; }
.store-detail-price strong { color: var(--ink); font-size: 38px; }
.store-detail-price .store-price-note { letter-spacing: .02em; text-transform: none; }
.store-price-disclosure { margin: 10px 0 0; color: var(--quiet); font-size: 12px; line-height: 1.5; }
.store-purchase-help { margin: 12px 0 0; color: var(--copy); font-size: 12px; line-height: 1.6; }
body.view-store-product #store-buy-button { min-height: 50px; font-size: 15px; }
@media (max-width: 680px) {
    .store-detail-panel { padding: 18px; }
    .store-benefits { gap: 12px; }
    .wyvern-content-shell { grid-template-rows: var(--site-header-height) minmax(0, 1fr) auto auto; }
    .wyvern-plain-footer { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; }
    .wyvern-plain-footer nav { flex-wrap: wrap; gap: 12px 18px; }
    .wyvern-business-details { margin-top: 14px; }
}
