:root {
    --shop-bg: #f4f0e8;
    --shop-paper: rgba(255, 252, 247, 0.88);
    --shop-paper-strong: #fffdf8;
    --shop-panel: #102a43;
    --shop-panel-soft: #173a5b;
    --shop-line: rgba(16, 42, 67, 0.12);
    --shop-line-strong: rgba(16, 42, 67, 0.2);
    --shop-text: #10233b;
    --shop-muted: #5d6d81;
    --shop-accent: #eb6d3a;
    --shop-accent-soft: #ffe3d7;
    --shop-highlight: #c7d84f;
    --shop-success: #227c53;
    --shop-danger: #b54b3a;
    --shop-shadow-soft: 0 16px 40px rgba(16, 42, 67, 0.08);
    --shop-shadow-strong: 0 24px 60px rgba(16, 42, 67, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--shop-text);
    background:
        radial-gradient(circle at top left, rgba(199, 216, 79, 0.18), transparent 22rem),
        radial-gradient(circle at 84% 14%, rgba(235, 109, 58, 0.14), transparent 20rem),
        linear-gradient(180deg, #f8f5ee 0%, #f0eadf 100%);
}

a,
button,
select {
    cursor: pointer;
}

button,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.shop-shell {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 40px;
}

.shop-header {
    display: grid;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(11, 30, 48, 0.98), rgba(18, 56, 88, 0.96));
    box-shadow: 0 14px 34px rgba(16, 42, 67, 0.12);
}

.shop-header-compact {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-header-bar,
.shop-center-nav,
.shop-header-tools,
.shop-hero,
.shop-hero-metrics,
.shop-toolbar,
.shop-content,
.shop-featured-grid,
.shop-featured-stack,
.shop-product-meta,
.shop-product-footer,
.shop-summary-row,
.shop-history-item,
.shop-history-top,
.shop-platform-row {
    display: flex;
}

.shop-header-bar,
.shop-toolbar,
.shop-content,
.shop-product-footer,
.shop-history-top {
    justify-content: space-between;
}

.shop-header-bar,
.shop-center-nav,
.shop-header-tools,
.shop-hero-metrics,
.shop-toolbar,
.shop-product-meta,
.shop-product-footer,
.shop-summary-row,
.shop-history-top,
.shop-platform-row {
    align-items: center;
}

.shop-header-bar,
.shop-hero,
.shop-content {
    gap: 18px;
}

.shop-header-bar {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
}

.shop-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #f8fbff;
    text-decoration: none;
    flex: 0 0 auto;
}

.shop-brand:hover .shop-brand-mark,
.shop-brand:focus-visible .shop-brand-mark {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.shop-brand-mark {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    object-fit: contain;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.shop-brand-copy strong,
.shop-balance-pill strong,
.shop-status-text strong,
.shop-metric-card strong,
.shop-sidebar-head h2,
.shop-cart-item strong,
.shop-summary-row strong,
.shop-history-top strong {
    font-weight: 500;
}

.shop-brand-copy {
    display: grid;
    gap: 2px;
}

.shop-brand-copy strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.96rem;
    letter-spacing: -0.02em;
}

.shop-brand-copy small {
    color: rgba(248, 251, 255, 0.56);
    font-size: 0.74rem;
}

.shop-center-nav {
    flex: 1 1 auto;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    flex-wrap: wrap;
}

.shop-header-tools {
    gap: 8px;
    flex: 0 0 auto;
}

.shop-status-button,
.shop-balance-pill,
.shop-quick-link,
.shop-filter-chip,
.shop-text-button,
.shop-cart-item-remove,
.shop-qty-button,
.shop-primary-button,
.shop-product-button,
.shop-product-select {
    min-height: 44px;
}

.shop-status-button,
.shop-balance-pill,
.shop-quick-link,
.shop-cart-item,
.shop-history-item {
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.shop-status-button,
.shop-balance-pill,
.shop-quick-link {
    background: rgba(255, 255, 255, 0.08);
    color: #f7fbff;
}

.shop-status-button,
.shop-quick-link,
.shop-filter-chip,
.shop-text-button,
.shop-cart-item-remove,
.shop-qty-button,
.shop-primary-button,
.shop-product-button {
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.shop-status-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
}

.shop-status-button:hover,
.shop-status-button:focus-visible,
.shop-quick-link:hover,
.shop-quick-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(199, 216, 79, 0.44);
    background: rgba(255, 255, 255, 0.12);
}

.shop-status-button:active,
.shop-quick-link:active,
.shop-filter-chip:active,
.shop-primary-button:active,
.shop-product-button:active,
.shop-text-button:active,
.shop-cart-item-remove:active,
.shop-qty-button:active {
    transform: translateY(1px);
}

.shop-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.shop-status-icon svg {
    width: 22px;
    height: 22px;
}

.shop-status-text {
    display: grid;
    gap: 2px;
    text-align: left;
}

.shop-status-text span,
.shop-balance-label,
.shop-metric-card span,
.shop-product-label,
.shop-product-note,
.shop-summary-row span,
.shop-history-date,
.shop-toolbar-copy span {
    color: var(--shop-muted);
    font-size: 0.88rem;
}

.shop-balance-pill {
    display: grid;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 12px;
}

.shop-header .shop-status-text span,
.shop-header .shop-balance-label {
    color: rgba(247, 251, 255, 0.72);
}

.shop-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.84rem;
    white-space: nowrap;
}

.shop-quick-link.is-button {
    background: rgba(199, 216, 79, 0.14);
    border-color: rgba(199, 216, 79, 0.24);
    color: #f7fbff;
}

.shop-main {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.shop-hero,
.shop-toolbar,
.shop-cart-card,
.shop-history-card,
.shop-featured,
.shop-shelf {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: var(--shop-paper);
    backdrop-filter: blur(18px);
    box-shadow: var(--shop-shadow-soft);
}

.shop-hero,
.shop-toolbar,
.shop-cart-card,
.shop-history-card,
.shop-featured,
.shop-shelf {
    border-radius: 18px;
}

.shop-hero {
    padding: 24px;
    align-items: stretch;
}

.shop-hero-copy {
    flex: 1 1 48%;
    display: grid;
    gap: 18px;
}

.shop-eyebrow {
    margin: 0;
    color: var(--shop-accent);
    font-size: 0.88rem;
}

.shop-hero-copy h1,
.shop-toolbar-copy strong,
.shop-featured-head h2,
.shop-shelf-head h2,
.shop-sidebar-head h2,
.shop-product-title,
.shop-hero-highlight h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #0f243c;
}

.shop-sidebar-head h2 {
    font-size: 0.98rem;
    line-height: 1.12;
}

.shop-hero-copy h1 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 0.96;
    max-width: 11ch;
}

.shop-hero-text {
    margin: 0;
    max-width: 58ch;
    color: var(--shop-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.shop-hero-metrics {
    gap: 12px;
    flex-wrap: wrap;
}

.shop-metric-card {
    flex: 1 1 220px;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(16, 42, 67, 0.1);
    background: rgba(255, 255, 255, 0.6);
}

.shop-metric-card strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(1.85rem, 4vw, 3.15rem);
    color: var(--shop-text);
}

.shop-metric-card small {
    display: block;
    margin-top: 6px;
    color: var(--shop-muted);
}

.shop-metric-card.is-accent {
    background:
        linear-gradient(140deg, rgba(235, 109, 58, 0.11), rgba(255, 255, 255, 0.72)),
        rgba(255, 255, 255, 0.7);
}

.shop-hero-stage {
    flex: 1 1 52%;
    display: grid;
    align-content: stretch;
}

.shop-feedback {
    margin: 0;
    padding: 0 6px;
    color: var(--shop-muted);
    font-size: 0.95rem;
}

.shop-feedback.is-error {
    color: var(--shop-danger);
}

.shop-toolbar {
    gap: 16px;
    padding: 14px 18px;
    flex-wrap: wrap;
}

.shop-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-filter-chip {
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--shop-line);
    background: #fffaf2;
    color: var(--shop-text);
}

.shop-filter-chip:hover,
.shop-filter-chip:focus-visible {
    border-color: var(--shop-accent);
    background: #fff4ee;
}

.shop-filter-chip.is-active {
    border-color: transparent;
    background: var(--shop-panel);
    color: #f7fbff;
    box-shadow: 0 10px 22px rgba(16, 42, 67, 0.18);
}

.shop-toolbar-copy {
    display: grid;
    gap: 2px;
    margin-left: auto;
    text-align: right;
}

.shop-toolbar-copy strong {
    font-size: 0.92rem;
}

.shop-content {
    align-items: flex-start;
}

.shop-main-store .shop-content {
    display: block;
}

.shop-catalogue {
    flex: 1 1 auto;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.shop-featured,
.shop-shelf,
.shop-cart-card,
.shop-history-card {
    padding: 20px;
}

.shop-featured-head,
.shop-shelf-head,
.shop-sidebar-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.shop-featured-head,
.shop-shelf-head {
    margin-bottom: 18px;
}

.shop-featured-head p,
.shop-shelf-head p,
.shop-sidebar-head p,
.shop-history-description,
.shop-product-description,
.shop-cart-caption,
.shop-cart-item-platform {
    margin: 0;
    color: var(--shop-muted);
    line-height: 1.65;
}

.shop-featured-grid {
    gap: 16px;
    align-items: stretch;
}

.shop-hero-highlight {
    position: relative;
    min-height: 420px;
    padding: 24px;
    border-radius: 14px;
    overflow: hidden;
    background: #11273f;
    color: #f7fbff;
}

.shop-hero-highlight::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(8, 19, 31, 0.82), rgba(8, 19, 31, 0.16) 58%, rgba(8, 19, 31, 0.8));
}

.shop-hero-highlight img,
.shop-featured-card img,
.shop-product-media img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.shop-hero-highlight img {
    position: absolute;
    inset: 0;
}

.shop-hero-highlight-copy,
.shop-featured-card-copy {
    position: relative;
    z-index: 1;
}

.shop-hero-highlight-copy {
    display: grid;
    gap: 0;
    width: min(420px, 100%);
}

.shop-hero-highlight h3 {
    color: #f7fbff;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.02;
}

.shop-hero-highlight p,
.shop-featured-card-copy p {
    margin: 0;
    color: rgba(247, 251, 255, 0.82);
    line-height: 1.65;
}

.shop-badge-row,
.shop-featured-stack {
    display: grid;
    gap: 16px;
}

.shop-badge-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 6px;
}

.shop-inline-badge,
.shop-price-badge,
.shop-history-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 8px;
    width: fit-content;
    font-size: 0.84rem;
}

.shop-inline-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #f7fbff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.shop-price-badge {
    background: rgba(199, 216, 79, 0.2);
    color: #f7fbff;
    border: 1px solid rgba(199, 216, 79, 0.22);
}

.shop-featured-stack {
    flex: 0 0 340px;
}

.shop-featured-card {
    position: relative;
    min-height: 202px;
    border-radius: 14px;
    overflow: hidden;
    background: #17334e;
}

.shop-featured-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 19, 31, 0.1), rgba(8, 19, 31, 0.82));
}

.shop-featured-card img {
    position: absolute;
    inset: 0;
}

.shop-featured-card-copy {
    display: grid;
    gap: 0;
    height: 100%;
    align-content: end;
    padding: 18px;
}

.shop-featured-card-copy h3 {
    margin: 0;
    color: #f7fbff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1.08rem;
}

.shop-featured-card-copy .shop-price-badge {
    background: rgba(255, 250, 242, 0.14);
    border-color: rgba(255, 255, 255, 0.12);
}

.shop-sections {
    display: grid;
    gap: 18px;
}

.shop-shelf-grid {
    display: grid;
    gap: 16px;
}

.shop-shelf-grid[data-style="compact"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-shelf-grid[data-style="covers"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-product-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--shop-line);
    border-radius: 12px;
    background: var(--shop-paper-strong);
}

.shop-product-card.is-soft {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 242, 0.95)),
        var(--shop-paper-strong);
}

.shop-product-card.is-game {
    grid-template-rows: auto 1fr;
}

.shop-product-card.is-compact-game {
    gap: 10px;
    padding: 12px;
}

.shop-product-media {
    position: relative;
    overflow: hidden;
    min-height: 228px;
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(16, 42, 67, 0.1), rgba(16, 42, 67, 0.02)),
        #dce7ef;
}

.shop-product-media.is-landscape {
    min-height: 180px;
}

.shop-product-card.is-compact-game .shop-product-media.is-landscape {
    min-height: 118px;
    border-radius: 8px;
}

.shop-product-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(180deg, transparent, rgba(16, 42, 67, 0.08));
}

.shop-product-body {
    display: grid;
    gap: 12px;
}

.shop-product-card.is-compact-game .shop-product-body {
    gap: 10px;
}

.shop-product-header {
    display: grid;
    gap: 6px;
}

.shop-product-label {
    color: var(--shop-accent);
}

.shop-product-title {
    font-size: 1.08rem;
    line-height: 1.06;
}

.shop-product-card.is-compact-game .shop-product-title {
    font-size: 0.94rem;
    line-height: 1.12;
}

.shop-product-description {
    font-size: 0.88rem;
}

.shop-product-card.is-compact-game .shop-product-description {
    font-size: 0.86rem;
    line-height: 1.5;
}

.shop-product-meta {
    gap: 8px;
    flex-wrap: wrap;
}

.shop-product-card.is-compact-game .shop-product-meta {
    gap: 6px;
}

.shop-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 8px;
    border: 1px solid rgba(16, 42, 67, 0.1);
    background: rgba(16, 42, 67, 0.04);
    color: var(--shop-text);
    font-size: 0.84rem;
}

.shop-product-card.is-compact-game .shop-meta-pill {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 0.77rem;
}

.shop-platform-row {
    gap: 10px;
}

.shop-product-select {
    width: 100%;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--shop-line-strong);
    background: #fffdf9;
    color: var(--shop-text);
    outline: none;
}

.shop-product-card.is-compact-game .shop-product-select {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.88rem;
}

.shop-product-select:hover,
.shop-product-select:focus-visible {
    border-color: var(--shop-accent);
}

.shop-product-footer {
    gap: 12px;
    align-items: flex-end;
}

.shop-product-card.is-compact-game .shop-product-footer {
    gap: 10px;
}

.shop-product-price strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.28rem;
    font-weight: 500;
    color: var(--shop-text);
}

.shop-product-card.is-compact-game .shop-product-price strong {
    font-size: 1.02rem;
}

.shop-product-price span {
    color: var(--shop-muted);
    font-size: 0.8rem;
}

.shop-product-card.is-compact-game .shop-product-price span {
    font-size: 0.8rem;
}

.shop-product-button,
.shop-primary-button {
    border: 0;
    color: #fffaf6;
    background: linear-gradient(145deg, #173a5b, #102a43);
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.16);
}

.shop-product-button {
    padding: 0 16px;
    border-radius: 8px;
    font-size: 0.88rem;
}

.shop-product-card.is-compact-game .shop-product-button {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.84rem;
}

.shop-primary-button {
    width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.shop-product-button:hover,
.shop-product-button:focus-visible,
.shop-primary-button:hover,
.shop-primary-button:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(145deg, #1b456e, #123251);
}

.shop-product-button:disabled,
.shop-primary-button:disabled,
.shop-text-button:disabled,
.shop-cart-item-remove:disabled,
.shop-qty-button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.shop-sidebar-head {
    margin-bottom: 16px;
}

.shop-text-button,
.shop-cart-item-remove,
.shop-qty-button {
    border: 1px solid var(--shop-line);
    background: #fffaf2;
    color: var(--shop-text);
    border-radius: 8px;
}

.shop-text-button {
    padding: 0 14px;
}

.shop-text-link,
.shop-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.shop-text-button:hover,
.shop-text-button:focus-visible,
.shop-cart-item-remove:hover,
.shop-cart-item-remove:focus-visible,
.shop-qty-button:hover,
.shop-qty-button:focus-visible {
    border-color: var(--shop-accent);
    background: #fff1ea;
}

.shop-history-card {
    background: rgba(255, 253, 248, 0.94);
}

.shop-cart-items,
.shop-history-list {
    display: grid;
    gap: 12px;
}
.shop-cart-item-top strong,
.shop-history-top strong {
    font-size: 0.94rem;
    line-height: 1.2;
}

.shop-cart-item,
.shop-history-item {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--shop-line);
    background: rgba(255, 255, 255, 0.84);
}

.shop-cart-item {
    border-radius: 10px;
}

.shop-history-item {
    border-radius: 10px;
}

.shop-cart-item-top {
    display: grid;
    gap: 4px;
}

.shop-cart-item-platform {
    font-size: 0.9rem;
}

.shop-cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shop-qty-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-qty-button {
    width: 44px;
    padding: 0;
}

.shop-cart-item-remove {
    padding: 0 14px;
}

.shop-cart-summary {
    display: grid;
    gap: 10px;
    margin: 16px 0 18px;
    padding-top: 14px;
    border-top: 1px solid var(--shop-line);
}

.shop-summary-row strong {
    color: var(--shop-text);
}

.shop-summary-danger {
    color: var(--shop-danger) !important;
}

.shop-cart-alert {
    padding: 14px 16px;
    border: 1px solid rgba(181, 75, 58, 0.18);
    border-radius: 10px;
    background: rgba(181, 75, 58, 0.08);
    color: var(--shop-danger);
    font-size: 0.84rem;
    line-height: 1.55;
}

.shop-history-status {
    background: var(--shop-accent-soft);
    color: var(--shop-accent);
}

.shop-history-status.is-approved {
    background: rgba(34, 124, 83, 0.12);
    color: var(--shop-success);
}

.shop-history-status.is-cancelled {
    background: rgba(181, 75, 58, 0.12);
    color: var(--shop-danger);
}

.shop-loading,
.shop-empty {
    padding: 28px 18px;
    border: 1px dashed rgba(16, 42, 67, 0.18);
    border-radius: 18px;
    color: var(--shop-muted);
    text-align: center;
}

.shop-empty strong {
    color: var(--shop-text);
}

.shop-main-cart {
    gap: 20px;
}

.shop-cart-page-hero,
.shop-cart-card-full,
.shop-cart-page-side .shop-history-card {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: var(--shop-paper);
    backdrop-filter: blur(18px);
    box-shadow: var(--shop-shadow-soft);
    border-radius: 18px;
}

.shop-cart-page-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
}

.shop-cart-page-copy {
    display: grid;
    gap: 12px;
    max-width: 58rem;
}

.shop-cart-page-copy h1 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #0f243c;
    line-height: 0.96;
    max-width: 10ch;
}

.shop-cart-page-copy p:last-child {
    margin: 0;
    color: var(--shop-muted);
    line-height: 1.7;
}

.shop-cart-page-metrics {
    display: grid;
    gap: 12px;
    width: min(360px, 100%);
}

.shop-cart-page-layout {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.shop-cart-card-full {
    flex: 1 1 auto;
    padding: 22px;
}

.shop-cart-page-side {
    width: min(380px, 100%);
    display: grid;
    gap: 18px;
}

.shop-filter-chip,
.shop-text-button,
.shop-cart-item-remove,
.shop-qty-button,
.shop-primary-button,
.shop-product-button {
    font-family: inherit;
}

@media (min-width: 980px) {
    .shop-hero {
        align-items: stretch;
    }

    .shop-shelf-grid[data-style="compact"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-shelf-grid[data-style="covers"] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .shop-shell {
        width: min(100% - 20px, 1440px);
    }

    .shop-header-bar {
        width: min(100% - 20px, 1440px);
        gap: 14px;
    }

    .shop-cart-page-layout,
    .shop-cart-page-hero {
        flex-direction: column;
    }

    .shop-cart-page-side {
        width: 100%;
    }
}

@media (max-width: 920px) {
    .shop-header-bar,
    .shop-hero,
    .shop-featured-grid,
    .shop-product-footer,
    .shop-toolbar,
    .shop-cart-page-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-center-nav {
        justify-content: flex-start;
    }

    .shop-toolbar-copy {
        margin-left: 0;
        text-align: left;
    }

    .shop-featured-stack {
        flex-basis: auto;
    }
}

@media (max-width: 760px) {
    .shop-shell {
        width: min(100% - 14px, 1440px);
        padding-top: 8px;
    }

    .shop-header,
    .shop-hero,
    .shop-toolbar,
    .shop-featured,
    .shop-shelf,
    .shop-cart-card,
    .shop-history-card,
    .shop-cart-page-hero,
    .shop-cart-card-full {
        border-radius: 14px;
    }

    .shop-header,
    .shop-hero,
    .shop-featured,
    .shop-shelf,
    .shop-cart-card,
    .shop-history-card,
    .shop-cart-page-hero,
    .shop-cart-card-full {
        padding: 16px;
    }

    .shop-shelf-grid[data-style="compact"],
    .shop-shelf-grid[data-style="covers"],
    .shop-badge-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-product-media {
        min-height: 200px;
    }

    .shop-hero-highlight {
        min-height: 340px;
    }

    .shop-product-button,
    .shop-primary-button,
    .shop-text-button,
    .shop-cart-item-remove {
        width: 100%;
    }

    .shop-product-footer,
    .shop-cart-item-actions,
    .shop-history-top {
        align-items: stretch;
    }

    .shop-cart-item-actions {
        flex-direction: column;
    }

    .shop-qty-group {
        width: 100%;
        justify-content: space-between;
    }

    .shop-header-bar {
        width: min(100% - 14px, 1440px);
        min-height: auto;
        padding: 10px 0;
    }

    .shop-header-tools {
        width: 100%;
    }

    .shop-status-button,
    .shop-balance-pill {
        flex: 1 1 0;
    }
}

body[data-shop-page="store"] {
    min-height: 100vh;
    color: #f8f7ff;
    background:
        radial-gradient(circle at top left, rgba(117, 45, 255, 0.2), transparent 28rem),
        radial-gradient(circle at 82% 12%, rgba(255, 184, 0, 0.12), transparent 20rem),
        linear-gradient(180deg, #050816 0%, #091126 48%, #060a16 100%);
}

body[data-shop-page="store"] .store-page {
    width: min(1520px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 36px;
}

body[data-shop-page="store"] .store-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto minmax(320px, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(147, 161, 255, 0.14);
    border-radius: 18px;
    background: rgba(4, 9, 24, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.45);
}

body[data-shop-page="store"] .store-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 108px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(147, 161, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body[data-shop-page="store"] .store-menu-toggle:hover,
body[data-shop-page="store"] .store-menu-toggle:focus-visible,
body[data-shop-page="store"] .store-menu-toggle.is-active {
    outline: 0;
    transform: translateY(-1px);
    border-color: rgba(255, 184, 0, 0.26);
    background: rgba(255, 184, 0, 0.08);
}

body[data-shop-page="store"] .store-top-panel {
    display: contents;
}

body[data-shop-page="store"] .store-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    color: #ffffff;
    text-decoration: none;
}

body[data-shop-page="store"] .store-brand-mark {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

body[data-shop-page="store"] .store-brand-copy {
    display: grid;
    gap: 3px;
}

body[data-shop-page="store"] .store-brand-copy strong,
body[data-shop-page="store"] .store-side-card h2,
body[data-shop-page="store"] .store-hero-copy h1,
body[data-shop-page="store"] .store-benefit-item strong,
body[data-shop-page="store"] .store-guide-title,
body[data-shop-page="store"] .store-section-head h2,
body[data-shop-page="store"] .store-product-head h3,
body[data-shop-page="store"] .store-product-price strong {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #ffffff;
}

body[data-shop-page="store"] .store-brand-copy strong {
    font-size: 1.08rem;
}

body[data-shop-page="store"] .store-brand-copy small {
    color: rgba(223, 227, 255, 0.72);
    font-size: 0.84rem;
}

body[data-shop-page="store"] .store-search {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(147, 161, 255, 0.16);
    border-radius: 14px;
    background: rgba(8, 13, 34, 0.9);
}

body[data-shop-page="store"] .store-search:focus-within {
    border-color: rgba(165, 86, 255, 0.82);
    box-shadow: 0 0 0 3px rgba(125, 58, 255, 0.2);
}

body[data-shop-page="store"] .store-search-icon,
body[data-shop-page="store"] .store-top-link-icon,
body[data-shop-page="store"] .store-cart-icon,
body[data-shop-page="store"] .store-side-card-icon,
body[data-shop-page="store"] .store-benefit-icon,
body[data-shop-page="store"] .store-sidebar-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f7f5ff;
}

body[data-shop-page="store"] .store-search-icon svg,
body[data-shop-page="store"] .store-top-link-icon svg,
body[data-shop-page="store"] .store-cart-icon svg,
body[data-shop-page="store"] .store-side-card-icon svg,
body[data-shop-page="store"] .store-benefit-icon svg,
body[data-shop-page="store"] .store-sidebar-link-icon svg {
    width: 20px;
    height: 20px;
}

body[data-shop-page="store"] .store-search input {
    width: 100%;
    border: 0;
    outline: none;
    color: #ffffff;
    background: transparent;
    font: inherit;
}

body[data-shop-page="store"] .store-search input::placeholder {
    color: rgba(214, 220, 255, 0.56);
}

body[data-shop-page="store"] .store-top-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

body[data-shop-page="store"] .store-top-link,
body[data-shop-page="store"] .store-cart-link,
body[data-shop-page="store"] .store-balance-pill,
body[data-shop-page="store"] .store-sidebar-link,
body[data-shop-page="store"] .store-primary-action,
body[data-shop-page="store"] .store-secondary-action,
body[data-shop-page="store"] .store-product-action,
body[data-shop-page="store"] .store-product-select {
    min-height: 44px;
}

body[data-shop-page="store"] .store-top-link,
body[data-shop-page="store"] .store-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid rgba(147, 161, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: #f7f5ff;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body[data-shop-page="store"] .store-cart-link {
    padding-right: 18px;
}

body[data-shop-page="store"] .store-cart-copy {
    display: grid;
    gap: 2px;
}

body[data-shop-page="store"] .store-cart-copy span,
body[data-shop-page="store"] .store-balance-pill span {
    color: rgba(219, 224, 255, 0.72);
    font-size: 0.82rem;
}

body[data-shop-page="store"] .store-cart-copy strong,
body[data-shop-page="store"] .store-balance-pill strong,
body[data-shop-page="store"] .store-side-card-rating strong {
    font-weight: 500;
    color: #ffffff;
}

body[data-shop-page="store"] .store-balance-pill {
    display: grid;
    gap: 2px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 184, 0, 0.12), rgba(255, 184, 0, 0.04));
}

body[data-shop-page="store"] .store-top-link:hover,
body[data-shop-page="store"] .store-top-link:focus-visible,
body[data-shop-page="store"] .store-cart-link:hover,
body[data-shop-page="store"] .store-cart-link:focus-visible,
body[data-shop-page="store"] .store-sidebar-link:hover,
body[data-shop-page="store"] .store-sidebar-link:focus-visible,
body[data-shop-page="store"] .store-primary-action:hover,
body[data-shop-page="store"] .store-primary-action:focus-visible,
body[data-shop-page="store"] .store-secondary-action:hover,
body[data-shop-page="store"] .store-secondary-action:focus-visible,
body[data-shop-page="store"] .store-product-action:hover,
body[data-shop-page="store"] .store-product-action:focus-visible,
body[data-shop-page="store"] .store-product-select:hover,
body[data-shop-page="store"] .store-product-select:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(171, 97, 255, 0.66);
    background: rgba(255, 255, 255, 0.05);
}

body[data-shop-page="store"] .store-top-link:active,
body[data-shop-page="store"] .store-cart-link:active,
body[data-shop-page="store"] .store-sidebar-link:active,
body[data-shop-page="store"] .store-primary-action:active,
body[data-shop-page="store"] .store-secondary-action:active,
body[data-shop-page="store"] .store-product-action:active {
    transform: translateY(1px);
}

body[data-shop-page="store"] .store-layout {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    gap: 26px;
    margin-top: 20px;
}

body[data-shop-page="store"] .store-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

body[data-shop-page="store"] .store-sidebar-nav,
body[data-shop-page="store"] .store-side-card,
body[data-shop-page="store"] .store-side-card-rating,
body[data-shop-page="store"] .store-hero,
body[data-shop-page="store"] .store-benefits,
body[data-shop-page="store"] .store-guide,
body[data-shop-page="store"] .store-featured,
body[data-shop-page="store"] .store-catalog-section {
    border: 1px solid rgba(147, 161, 255, 0.14);
    border-radius: 18px;
    background: rgba(7, 11, 27, 0.9);
    box-shadow: 0 22px 60px rgba(1, 4, 14, 0.34);
}

body[data-shop-page="store"] .store-sidebar-nav {
    display: grid;
    gap: 8px;
    padding: 12px;
}

body[data-shop-page="store"] .store-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #f7f5ff;
    text-align: left;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body[data-shop-page="store"] .store-sidebar-link-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

body[data-shop-page="store"] .store-sidebar-link-copy small {
    color: rgba(219, 224, 255, 0.5);
    font-size: 0.8rem;
}

body[data-shop-page="store"] .store-sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(125, 58, 255, 0.95), rgba(99, 34, 210, 0.82));
    border-color: rgba(186, 132, 255, 0.3);
}

body[data-shop-page="store"] .store-sidebar-link.is-active .store-sidebar-link-copy small {
    color: rgba(255, 255, 255, 0.82);
}

body[data-shop-page="store"] .store-side-card,
body[data-shop-page="store"] .store-side-card-rating {
    padding: 20px;
}

body[data-shop-page="store"] .store-side-card {
    display: grid;
    gap: 14px;
}

body[data-shop-page="store"] .store-side-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(125, 58, 255, 0.3), rgba(255, 184, 0, 0.14));
    color: #bf93ff;
}

body[data-shop-page="store"] .store-side-card h2 {
    font-size: 1.12rem;
}

body[data-shop-page="store"] .store-side-card p,
body[data-shop-page="store"] .store-side-card-rating span,
body[data-shop-page="store"] .store-hero-text,
body[data-shop-page="store"] .store-feedback,
body[data-shop-page="store"] .store-benefit-item span,
body[data-shop-page="store"] .store-section-copy,
body[data-shop-page="store"] .store-product-head p,
body[data-shop-page="store"] .store-meta-note {
    margin: 0;
    color: rgba(221, 225, 255, 0.76);
    line-height: 1.65;
}

body[data-shop-page="store"] .store-side-card-rating {
    display: grid;
    gap: 10px;
}

body[data-shop-page="store"] .store-side-label,
body[data-shop-page="store"] .store-kicker,
body[data-shop-page="store"] .store-section-kicker {
    margin: 0;
    color: #ffbe2e;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
}

body[data-shop-page="store"] .store-content {
    display: grid;
    gap: 18px;
    min-width: 0;
}

body[data-shop-page="store"] .store-feedback {
    padding: 0 6px;
    font-size: 0.94rem;
}

body[data-shop-page="store"] .store-feedback.is-error {
    color: #ff9485;
}

body[data-shop-page="store"] .store-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(340px, 1fr);
    gap: 22px;
    overflow: hidden;
    padding: 34px;
    background:
        radial-gradient(circle at 78% 24%, rgba(140, 42, 255, 0.24), transparent 16rem),
        radial-gradient(circle at 70% 84%, rgba(255, 136, 0, 0.18), transparent 15rem),
        linear-gradient(135deg, #070915 0%, #090623 38%, #120629 100%);
}

body[data-shop-page="store"] .store-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.02), transparent 36%),
        linear-gradient(160deg, transparent 50%, rgba(166, 79, 255, 0.12) 80%, rgba(255, 184, 0, 0.1) 100%);
    pointer-events: none;
}

body[data-shop-page="store"] .store-hero-copy,
body[data-shop-page="store"] .store-hero-stage {
    position: relative;
    z-index: 1;
}

body[data-shop-page="store"] .store-hero-copy {
    display: grid;
    align-content: center;
    gap: 18px;
}

body[data-shop-page="store"] .store-hero-copy h1 {
    font-size: clamp(2.6rem, 4.8vw, 4.6rem);
    line-height: 0.94;
    max-width: 10ch;
}

body[data-shop-page="store"] .store-hero-text {
    max-width: 52ch;
    font-size: 1.02rem;
}

body[data-shop-page="store"] .store-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body[data-shop-page="store"] .store-primary-action,
body[data-shop-page="store"] .store-secondary-action,
body[data-shop-page="store"] .store-product-action {
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    color: #ffffff;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

body[data-shop-page="store"] .store-primary-action {
    padding: 0 22px;
    background: linear-gradient(135deg, #8f37ff 0%, #5f27d6 100%);
    box-shadow: 0 18px 40px rgba(116, 53, 255, 0.28);
}

body[data-shop-page="store"] .store-secondary-action {
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(147, 161, 255, 0.18);
}

body[data-shop-page="store"] .store-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body[data-shop-page="store"] .store-hero-chip,
body[data-shop-page="store"] .store-stage-badge,
body[data-shop-page="store"] .store-product-badge,
body[data-shop-page="store"] .store-meta-pill,
body[data-shop-page="store"] .store-section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
}

body[data-shop-page="store"] .store-hero-chip {
    background: rgba(255, 184, 0, 0.12);
    color: #ffd45b;
    border: 1px solid rgba(255, 184, 0, 0.2);
}

body[data-shop-page="store"] .store-hero-counter {
    color: rgba(221, 225, 255, 0.76);
    font-size: 0.9rem;
}

body[data-shop-page="store"] .store-hero-stage {
    display: grid;
    align-content: center;
    min-height: 420px;
}

body[data-shop-page="store"] .store-hero-stage-image {
    width: min(620px, 100%);
    margin-left: auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(1, 3, 11, 0.55);
}

body[data-shop-page="store"] .store-hero-stage-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

body[data-shop-page="store"] .store-stage-badge,
body[data-shop-page="store"] .store-product-badge {
    width: fit-content;
    background: linear-gradient(135deg, rgba(157, 76, 255, 0.92), rgba(109, 40, 217, 0.9));
    color: #ffffff;
}

body[data-shop-page="store"] .store-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
}

body[data-shop-page="store"] .store-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
}

body[data-shop-page="store"] .store-benefit-item + .store-benefit-item {
    border-left: 1px solid rgba(147, 161, 255, 0.12);
}

body[data-shop-page="store"] .store-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(125, 58, 255, 0.12);
    color: #b28aff;
    flex: 0 0 auto;
}

body[data-shop-page="store"] .store-benefit-item div {
    display: grid;
    gap: 6px;
}

body[data-shop-page="store"] .store-guide {
    display: grid;
    gap: 12px;
    padding: 20px 22px;
}

body[data-shop-page="store"] .store-guide-title {
    font-size: 1rem;
}

body[data-shop-page="store"] .store-guide-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body[data-shop-page="store"] .store-guide-flow span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(147, 161, 255, 0.14);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

body[data-shop-page="store"] .store-products,
body[data-shop-page="store"] .store-sections {
    display: grid;
    gap: 18px;
}

body[data-shop-page="store"] .store-featured,
body[data-shop-page="store"] .store-catalog-section {
    padding: 22px;
}

body[data-shop-page="store"] .store-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

body[data-shop-page="store"] .store-section-head h2 {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    line-height: 1;
}

body[data-shop-page="store"] .store-section-link {
    color: #d6beff;
    border: 1px solid rgba(147, 161, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

body[data-shop-page="store"] .store-section-copy {
    margin-bottom: 18px;
    max-width: 52ch;
}

body[data-shop-page="store"] .store-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

body[data-shop-page="store"] .store-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body[data-shop-page="store"] .store-catalog-grid.is-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-shop-page="store"] .store-product-card {
    display: grid;
    gap: 16px;
    overflow: hidden;
    padding: 14px;
    border: 1px solid rgba(147, 161, 255, 0.14);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(13, 18, 39, 0.95), rgba(7, 11, 24, 0.96)),
        rgba(7, 11, 24, 0.96);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body[data-shop-page="store"] .store-product-card.is-featured {
    gap: 12px;
    padding: 12px;
}

body[data-shop-page="store"] .store-product-card:hover,
body[data-shop-page="store"] .store-product-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(171, 97, 255, 0.36);
    box-shadow: 0 22px 48px rgba(6, 9, 24, 0.44);
}

body[data-shop-page="store"] .store-product-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #0c132b;
}

body[data-shop-page="store"] .store-product-media.is-landscape {
    min-height: 214px;
}

body[data-shop-page="store"] .store-product-media.is-portrait {
    min-height: 300px;
}

body[data-shop-page="store"] .store-product-card.is-featured .store-product-media.is-landscape {
    min-height: 204px;
}

body[data-shop-page="store"] .store-product-card.is-featured.is-giftcard .store-product-media.is-portrait {
    min-height: 332px;
}

body[data-shop-page="store"] .store-product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 38%),
        linear-gradient(180deg, transparent 56%, rgba(6, 7, 20, 0.6) 100%);
}

body[data-shop-page="store"] .store-product-media img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

body[data-shop-page="store"] .store-product-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
}

body[data-shop-page="store"] .store-product-body {
    display: grid;
    gap: 14px;
}

body[data-shop-page="store"] .store-product-card.is-featured .store-product-body {
    gap: 10px;
}

body[data-shop-page="store"] .store-product-head {
    display: grid;
    gap: 6px;
}

body[data-shop-page="store"] .store-product-card.is-featured .store-product-head {
    gap: 4px;
}

body[data-shop-page="store"] .store-product-eyebrow {
    color: #ffbe2e;
    font-size: 0.86rem;
}

body[data-shop-page="store"] .store-product-head h3 {
    font-size: 1.16rem;
    line-height: 1.08;
}

body[data-shop-page="store"] .store-product-card.is-compact .store-product-head h3 {
    font-size: 1rem;
}

body[data-shop-page="store"] .store-product-head p {
    font-size: 0.9rem;
}

body[data-shop-page="store"] .store-product-card.is-featured .store-product-head p {
    font-size: 0.84rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body[data-shop-page="store"] .store-product-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body[data-shop-page="store"] .store-meta-pill {
    color: #f7f5ff;
    background: rgba(109, 40, 217, 0.18);
    border: 1px solid rgba(171, 97, 255, 0.22);
}

body[data-shop-page="store"] .store-meta-note {
    font-size: 0.86rem;
}

body[data-shop-page="store"] .store-product-select-wrap {
    display: block;
}

body[data-shop-page="store"] .store-product-select {
    width: 100%;
    padding: 0 14px;
    border: 1px solid rgba(147, 161, 255, 0.18);
    border-radius: 10px;
    outline: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    font: inherit;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body[data-shop-page="store"] .store-product-select option {
    color: #050816;
}

body[data-shop-page="store"] .store-product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

body[data-shop-page="store"] .store-product-price {
    display: grid;
    gap: 2px;
}

body[data-shop-page="store"] .store-product-price strong {
    font-size: 1.3rem;
}

body[data-shop-page="store"] .store-product-price span {
    color: rgba(219, 224, 255, 0.72);
    font-size: 0.82rem;
}

body[data-shop-page="store"] .store-product-action {
    padding: 0 16px;
    background: linear-gradient(135deg, #8f37ff 0%, #5f27d6 100%);
}

body[data-shop-page="store"] .store-product-action:disabled {
    opacity: 0.48;
    cursor: not-allowed;
    transform: none;
}

body[data-shop-page="store"] .shop-loading,
body[data-shop-page="store"] .shop-empty {
    padding: 28px 18px;
    border: 1px dashed rgba(171, 97, 255, 0.26);
    border-radius: 16px;
    color: rgba(221, 225, 255, 0.74);
    background: rgba(9, 12, 26, 0.78);
    text-align: center;
}

body[data-shop-page="store"] .shop-empty strong {
    color: #ffffff;
}

@media (max-width: 1280px) {
    body[data-shop-page="store"] .store-topbar {
        grid-template-columns: 1fr;
    }

    body[data-shop-page="store"] .store-top-actions {
        justify-content: flex-start;
    }

    body[data-shop-page="store"] .store-layout {
        grid-template-columns: 1fr;
    }

    body[data-shop-page="store"] .store-sidebar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body[data-shop-page="store"] .store-sidebar-nav {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body[data-shop-page="store"] .store-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-shop-page="store"] .store-catalog-grid,
    body[data-shop-page="store"] .store-catalog-grid.is-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    body[data-shop-page="store"] .store-page {
        width: min(100% - 18px, 1520px);
    }

    body[data-shop-page="store"] .store-sidebar {
        grid-template-columns: 1fr;
    }

    body[data-shop-page="store"] .store-sidebar-nav {
        grid-template-columns: 1fr;
    }

    body[data-shop-page="store"] .store-hero {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    body[data-shop-page="store"] .store-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-shop-page="store"] .store-benefit-item:nth-child(3) {
        border-left: 0;
    }

    body[data-shop-page="store"] .store-benefit-item:nth-child(n + 3) {
        border-top: 1px solid rgba(147, 161, 255, 0.12);
    }
}

@media (max-width: 720px) {
    body[data-shop-page="store"] .store-page {
        width: min(100% - 14px, 1520px);
        padding-top: 10px;
    }

    body[data-shop-page="store"] .store-topbar,
    body[data-shop-page="store"] .store-sidebar-nav,
    body[data-shop-page="store"] .store-side-card,
    body[data-shop-page="store"] .store-side-card-rating,
    body[data-shop-page="store"] .store-hero,
    body[data-shop-page="store"] .store-benefits,
    body[data-shop-page="store"] .store-guide,
    body[data-shop-page="store"] .store-featured,
    body[data-shop-page="store"] .store-catalog-section {
        border-radius: 16px;
    }

    body[data-shop-page="store"] .store-topbar {
        position: relative;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
        padding: 16px;
    }

    body[data-shop-page="store"] .store-brand {
        min-width: 0;
    }

    body[data-shop-page="store"] .store-brand-mark {
        width: 40px;
        height: 40px;
    }

    body[data-shop-page="store"] .store-brand-copy {
        min-width: 0;
    }

    body[data-shop-page="store"] .store-brand-copy strong {
        font-size: 0.98rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body[data-shop-page="store"] .store-brand-copy small {
        display: none;
    }

    body[data-shop-page="store"] .store-menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    body[data-shop-page="store"] .store-top-panel {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        padding: 14px;
        border: 1px solid rgba(147, 161, 255, 0.14);
        border-radius: 18px;
        background: rgba(4, 9, 24, 0.96);
        box-shadow: 0 20px 50px rgba(2, 6, 23, 0.45);
        backdrop-filter: blur(18px);
        z-index: 40;
    }

    body[data-shop-page="store"] .store-top-panel.is-open {
        display: grid;
        gap: 12px;
    }

    body[data-shop-page="store"] .store-search {
        width: 100%;
    }

    body[data-shop-page="store"] .store-top-actions {
        width: 100%;
        gap: 8px;
        flex-direction: column;
        align-items: stretch;
    }

    body[data-shop-page="store"] .store-top-link,
    body[data-shop-page="store"] .store-cart-link,
    body[data-shop-page="store"] .store-balance-pill {
        width: 100%;
        justify-content: flex-start;
    }

    body[data-shop-page="store"] .store-hero-copy h1 {
        font-size: 2.3rem;
    }

    body[data-shop-page="store"] .store-hero-actions,
    body[data-shop-page="store"] .store-product-footer,
    body[data-shop-page="store"] .store-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    body[data-shop-page="store"] .store-primary-action,
    body[data-shop-page="store"] .store-secondary-action,
    body[data-shop-page="store"] .store-product-action {
        width: 100%;
    }

    body[data-shop-page="store"] .store-benefits,
    body[data-shop-page="store"] .store-featured-grid,
    body[data-shop-page="store"] .store-catalog-grid,
    body[data-shop-page="store"] .store-catalog-grid.is-compact {
        grid-template-columns: 1fr;
    }

    body[data-shop-page="store"] .store-benefit-item + .store-benefit-item {
        border-left: 0;
        border-top: 1px solid rgba(147, 161, 255, 0.12);
    }

    body[data-shop-page="store"] .store-hero-stage {
        min-height: 0;
    }

    body[data-shop-page="store"] .store-product-card.is-featured.is-giftcard .store-product-media.is-portrait,
    body[data-shop-page="store"] .store-product-media.is-portrait {
        min-height: 280px;
    }
}

body[data-shop-page="store"] .store-heroimg {
    overflow: hidden;
    border: 1px solid rgba(147, 161, 255, 0.14);
    border-radius: 16px;
    background: rgba(7, 11, 27, 0.9);
    box-shadow: 0 22px 60px rgba(1, 4, 14, 0.34);
    aspect-ratio: 1463 / 638;
}

body[data-shop-page="store"] .store-heroimg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
