:root {
    --bg: #0b0b0b;
    --bg-soft: #101010;
    --panel: #141414;
    --panel-2: #1a1a1a;
    --line: #2a2a2a;
    --line-2: #353535;
    --text: #ffffff;
    --text-dim: #b8b8b8;
    --text-soft: #8f8f8f;
    --accent: #c6ff00;
    --accent-strong: #d2ff3f;
    --accent-glow: rgba(198, 255, 0, 0.26);
    --shop-shared-hero-bg: none;
    --danger: #e86f6f;
    --warning: #f8ce5d;
    --success: #83d68d;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-lg: 0 24px 58px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 14px 30px rgba(0, 0, 0, 0.36);
    --font-sans: 'Poppins', 'Noto Sans', 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    color: var(--text);
    font-family: var(--font-sans);
    background:
        radial-gradient(1000px 440px at 8% -10%, rgba(198, 255, 0, 0.11), transparent 58%),
        radial-gradient(760px 420px at 95% 8%, rgba(255, 255, 255, 0.08), transparent 62%),
        linear-gradient(180deg, #090909 0%, #0b0b0b 46%, #0e0e0e 100%);
}

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

a {
    color: inherit;
}

.shop-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    z-index: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0);
    background-size: 3px 3px;
}

.shop-topbar,
.shop-build-banner,
.shop-shell,
.shop-footer {
    position: relative;
    z-index: 1;
}

.shop-topbar {
    max-width: 1360px;
    margin: 14px auto 0;
    padding: 14px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(12, 12, 12, 0.96));
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.shop-brand {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.shop-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

.shop-brand-title {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.shop-brand-sub {
    display: block;
    margin-top: 3px;
    color: var(--text-soft);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.shop-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-link-pill {
    text-decoration: none;
    color: var(--text);
    background: #151515;
    border: 1px solid #303030;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: border-color .2s ease, color .2s ease;
}

.shop-link-pill:hover {
    border-color: rgba(198, 255, 0, 0.62);
    color: #f6ffc8;
}

.shop-link-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #131313;
    font-size: 0.68rem;
    font-weight: 800;
}

.shop-build-banner {
    max-width: 1360px;
    margin: 12px auto 0;
    padding: 0 2px;
}

.shop-build-banner-inline {
    max-width: none;
    margin: 12px 0 14px;
    padding: 0;
}

.shop-build-banner-inline .shop-build-banner-track {
    border-radius: 14px;
}

.shop-build-banner-track {
    width: 100%;
    border: 1px solid rgba(198, 255, 0, 0.35);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(198, 255, 0, 0.15), rgba(198, 255, 0, 0.07));
    color: #f4ffd3;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
    padding: 10px 14px;
    overflow: hidden;
    cursor: pointer;
}

.shop-build-banner-track span {
    white-space: nowrap;
    animation: shopTicker 26s linear infinite;
}

.shop-build-banner-track:hover {
    border-color: rgba(198, 255, 0, 0.8);
}

.shop-build-banner-track.is-danger {
    border-color: rgba(248, 81, 73, 0.72);
    background: linear-gradient(90deg, rgba(116, 18, 18, 0.94), rgba(160, 30, 30, 0.9));
    color: #ffe8e6;
    box-shadow: 0 10px 24px rgba(133, 22, 22, 0.34);
}

.shop-build-banner-track.is-danger:hover {
    border-color: rgba(255, 141, 137, 0.95);
}

.shop-build-banner-track.is-danger span {
    animation-duration: 30s;
}

@keyframes shopTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.shop-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 18px 20px 44px;
    display: grid;
    gap: 18px;
}

.shop-view-catalog .shop-landing-only {
    display: none;
}

.shop-hero,
.shop-mosaic,
.shop-story-card,
.shop-category-showcase,
.shop-catalog,
.shop-checkout,
.shop-track {
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.95), rgba(14, 14, 14, 0.96));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.shop-section-headline h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    letter-spacing: 0.01em;
}

.shop-section-headline p {
    margin: 6px 0 0;
    color: var(--text-dim);
    font-size: 0.96rem;
    line-height: 1.5;
}

.shop-hero {
    display: grid;
    grid-template-columns: minmax(140px, 20%) 1fr;
    min-height: 300px;
    background:
        radial-gradient(560px 240px at 75% 10%, rgba(198, 255, 0, 0.12), transparent 62%),
        linear-gradient(130deg, #121212 0%, #101010 50%, #090909 100%);
}

.shop-hero-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.shop-hero-logo {
    width: min(180px, 100%);
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(198, 255, 0, 0.22));
}

.shop-hero-content {
    padding: 36px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.shop-hero-content h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.shop-hero-sub {
    margin: 14px 0 0;
    color: #edf2dd;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    font-weight: 500;
}

.shop-hero-desc {
    margin: 14px 0 0;
    color: var(--text-dim);
    max-width: 600px;
    font-size: 1rem;
}

.shop-mosaic,
.shop-category-showcase,
.shop-catalog,
.shop-checkout,
.shop-track {
    padding: 24px;
}

.shop-hero-collage {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.shop-hero-collage-item {
    border: 1px solid #2e2e2e;
    border-radius: 16px;
    background: linear-gradient(180deg, #151515, #0e0e0e);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease;
    aspect-ratio: 1 / 1;
}

.shop-hero-collage-item:hover {
    border-color: rgba(198, 255, 0, 0.62);
    transform: translateY(-2px);
}

.shop-hero-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-hero-collage-empty {
    border: 1px dashed #3c3c3c;
    border-radius: 16px;
    padding: 18px;
    min-height: 160px;
    display: grid;
    place-items: center;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.02);
}

.shop-story-card {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
}

.shop-story-copy {
    padding: 34px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(6, 6, 6, 0.84), rgba(10, 10, 10, 0.9)),
        var(--shop-story-copy-bg, var(--shop-shared-hero-bg));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.shop-story-copy h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1.04;
    letter-spacing: 0.01em;
}

.shop-story-copy p {
    margin: 0;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

.shop-story-visual {
    min-height: 320px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    background: #101010;
}

.shop-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shop-story-card-secondary .shop-story-visual::after,
.shop-story-card-community .shop-story-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(0, 0, 0, 0.28), rgba(198, 255, 0, 0.08));
    pointer-events: none;
}

.shop-category-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.shop-category-card {
    position: relative;
    border: 1px solid #2f2f2f;
    border-radius: 16px;
    overflow: hidden;
    background: #121212;
    color: var(--text);
    aspect-ratio: 1 / 1;
    min-height: 170px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.shop-category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(198, 255, 0, 0.72);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34);
}

.shop-category-card.is-active {
    border-color: rgba(198, 255, 0, 0.95);
    box-shadow: 0 0 0 1px rgba(198, 255, 0, 0.35) inset;
}

.shop-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.8) 88%);
    z-index: 1;
}

.shop-category-media {
    position: absolute;
    inset: 0;
}

.shop-category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-category-card strong,
.shop-category-card p,
.shop-category-card small {
    position: relative;
    z-index: 2;
}

.shop-category-card strong {
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.shop-category-card p {
    margin: 5px 0 0;
    color: #d2d2d2;
    font-size: 0.82rem;
    line-height: 1.4;
}

.shop-category-card small {
    margin-top: 4px;
    color: #ebebeb;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.shop-grid-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.48fr) minmax(340px, .92fr);
}

.shop-grid-layout.is-catalog-only {
    grid-template-columns: minmax(0, 1fr);
}

.shop-grid-layout.is-catalog-only .shop-checkout {
    display: none;
}

.shop-catalog,
.shop-checkout {
    min-height: 100%;
}

.shop-checkout {
    position: sticky;
    top: 14px;
    align-self: start;
}

.shop-discover-controls {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
    gap: 12px;
}

.shop-discover-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.shop-discover-search label,
.shop-discover-filters label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.shop-discover-search input,
.shop-discover-filters select,
.shop-track-form input,
.shop-form input,
.shop-form select,
.shop-form textarea,
.shop-modal input,
.shop-modal select {
    width: 100%;
    border: 1px solid #343434;
    border-radius: 12px;
    background: #101010;
    color: var(--text);
    font: inherit;
    padding: 11px 12px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.shop-discover-search input:focus,
.shop-discover-filters select:focus,
.shop-track-form input:focus,
.shop-form input:focus,
.shop-form select:focus,
.shop-form textarea:focus,
.shop-modal input:focus,
.shop-modal select:focus {
    border-color: rgba(198, 255, 0, 0.72);
    box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.12);
}

.shop-products-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.shop-product {
    background: linear-gradient(180deg, #191919, #141414);
    border: 1px solid #2f2f2f;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shop-product-cover {
    background: #0f0f0f;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
}

.shop-product-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-product-cover i {
    color: #777;
    font-size: 2rem;
}

.shop-product-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.shop-product-title {
    margin: 0;
    font-size: 1.12rem;
}

.shop-product-desc {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.48;
}

.shop-chip-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.shop-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.7rem;
    border: 1px solid #3b3b3b;
    color: #d9d9d9;
}

.shop-chip.is-accent {
    border-color: rgba(198, 255, 0, 0.56);
    color: #f4ffd2;
    background: rgba(198, 255, 0, 0.1);
}

.shop-chip.is-warning {
    border-color: rgba(248, 206, 93, 0.6);
    color: #ffe7a6;
    background: rgba(248, 206, 93, 0.12);
}

.shop-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.shop-price strong {
    font-size: 1.2rem;
    color: var(--accent);
}

.shop-price del {
    color: #888;
    font-size: 0.92rem;
}

.shop-color-strip {
    display: flex;
    gap: 6px;
}

.shop-color-strip button {
    width: 40px;
    height: 40px;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    padding: 0;
    background: #121212;
    overflow: hidden;
    cursor: pointer;
}

.shop-color-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-product-actions {
    display: grid;
    grid-template-columns: 78px 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.shop-product-actions input {
    width: 100%;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    background: #101010;
    color: var(--text);
    text-align: center;
    padding: 10px 6px;
    font: inherit;
}

.btn {
    border-radius: 11px;
    border: 1px solid #3b3b3b;
    background: #1b1b1b;
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent-strong), var(--accent));
    border-color: rgba(198, 255, 0, 0.95);
    color: #101010;
}

.btn-primary:hover:not(:disabled) {
    border-color: #e6ff92;
}

.btn-ghost {
    background: #121212;
    border-color: #3c3c3c;
    color: #ececec;
}

.btn-full {
    width: 100%;
}

.shop-stepper {
    margin: 18px 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.shop-stepper li {
    border: 1px solid #333;
    border-radius: 11px;
    background: #101010;
    color: var(--text-soft);
    padding: 9px 8px;
    font-size: 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 700;
}

.shop-stepper li span {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #2d2d2d;
    color: #d8d8d8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
}

.shop-stepper li.is-active {
    border-color: rgba(198, 255, 0, 0.92);
    color: #f4ffd8;
    background: rgba(198, 255, 0, 0.09);
}

.shop-stepper li.is-active span {
    background: var(--accent);
    color: #111;
}

.shop-stepper li.is-done {
    border-color: rgba(198, 255, 0, 0.5);
    color: #d9ed8a;
}

.shop-step-panel {
    display: none;
}

.shop-step-panel.is-active {
    display: block;
}

.shop-cart-empty,
.shop-empty {
    margin: 0;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed #3a3a3a;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-soft);
}

.shop-cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #303030;
    border-radius: 12px;
    background: #111;
    margin-bottom: 8px;
}

.shop-cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #2d2d2d;
}

.shop-cart-item strong {
    font-size: 0.88rem;
}

.shop-cart-item p {
    margin: 3px 0 0;
    color: var(--text-dim);
    font-size: 0.78rem;
}

.shop-cart-right {
    text-align: right;
}

.shop-cart-actions {
    margin-top: 7px;
    display: inline-flex;
    gap: 4px;
}

.shop-cart-actions button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #3c3c3c;
    background: #171717;
    color: #fff;
    cursor: pointer;
}

.shop-total-block {
    margin-top: 10px;
    border: 1px solid #313131;
    border-radius: 12px;
    overflow: hidden;
}

.shop-total-block>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #292929;
}

.shop-total-block>div:last-child {
    border-bottom: 0;
}

.shop-total-block span {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.shop-total-block strong {
    font-size: 0.9rem;
}

.shop-total-block .is-grand strong {
    color: var(--accent);
    font-size: 1.02rem;
}

.shop-form {
    display: grid;
    gap: 10px;
}

.shop-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.shop-step-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.shop-payment-block {
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    padding: 12px;
    background: #111;
}

.shop-payment-block h3 {
    margin: 0;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-note {
    margin: 8px 0 0;
    color: var(--text-dim);
    font-size: 0.86rem;
    line-height: 1.5;
}

#shopTransferAccounts {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.shop-transfer-item {
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px;
    background: #141414;
    display: grid;
    gap: 4px;
}

.shop-transfer-item strong {
    font-size: 0.86rem;
}

.shop-transfer-item span,
.shop-transfer-item small {
    color: var(--text-dim);
    font-size: 0.78rem;
}

.shop-transfer-iban-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-transfer-iban-row code {
    border: 1px solid #363636;
    border-radius: 8px;
    background: #0d0d0d;
    padding: 5px 8px;
    font-size: 0.75rem;
}

.shop-copy-btn {
    border: 1px solid rgba(198, 255, 0, 0.5);
    border-radius: 8px;
    padding: 5px 8px;
    background: rgba(198, 255, 0, 0.1);
    color: #f4ffd8;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

#shopTransferSteps {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--text-dim);
    display: grid;
    gap: 5px;
    font-size: 0.82rem;
}

.shop-receipt-mail {
    margin-top: 10px;
    color: var(--text-dim);
    font-size: 0.82rem;
}

.shop-receipt-mail strong {
    color: #f0f0f0;
}

.shop-confirm-row {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.45;
}

.shop-success {
    border: 1px solid rgba(131, 214, 141, 0.5);
    background: rgba(131, 214, 141, 0.1);
    color: #d4ffda;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.shop-track-form {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
}

.shop-track-card {
    margin-top: 14px;
    border: 1px solid #323232;
    border-radius: 14px;
    background: #111;
    padding: 14px;
}

.shop-track-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #292929;
    padding-bottom: 10px;
}

.shop-track-head strong {
    font-size: 1.02rem;
}

.shop-track-head p {
    margin: 2px 0 0;
    color: var(--text-dim);
    font-size: 0.86rem;
}

.shop-track-head .shop-track-guide {
    color: #def2a1;
}

.shop-track-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.shop-track-grid h4,
.shop-track-items h4 {
    margin: 0 0 6px;
    font-size: 0.86rem;
    letter-spacing: 0.07em;
    color: var(--text-soft);
    text-transform: uppercase;
}

.shop-track-grid p {
    margin: 0 0 4px;
    color: var(--text-dim);
    font-size: 0.82rem;
}

.shop-track-timeline {
    display: grid;
    gap: 7px;
}

.shop-track-timeline-item {
    border: 1px solid #323232;
    border-radius: 10px;
    background: #151515;
    padding: 9px;
}

.shop-track-status {
    font-size: 0.82rem;
    color: #e8f8b8;
    font-weight: 700;
}

.shop-track-time {
    margin-top: 2px;
    color: var(--text-dim);
    font-size: 0.78rem;
}

.shop-track-note {
    margin-top: 4px;
    color: #d3d3d3;
    font-size: 0.78rem;
}

.shop-track-items {
    margin-top: 12px;
}

.shop-track-items table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.shop-track-items th,
.shop-track-items td {
    border: 1px solid #333;
    padding: 8px;
    text-align: left;
}

.shop-track-items th {
    background: #161616;
}

.shop-track-ship {
    margin-top: 8px;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    padding: 8px;
    background: #151515;
}

.shop-track-ship strong {
    display: block;
    font-size: 0.78rem;
    margin-bottom: 4px;
    color: #f0f0f0;
}

.shop-track-ship p,
.shop-track-ship a {
    margin: 0 0 4px;
    color: var(--text-dim);
    font-size: 0.78rem;
}

.shop-footer {
    max-width: 1360px;
    margin: 0 auto 34px;
    padding: 18px 20px 0;
}

.shop-footer-grid {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #141414, #0f0f0f);
    padding: 18px;
    display: grid;
    grid-template-columns: 1.6fr repeat(2, 1fr);
    gap: 14px;
}

.shop-footer h4 {
    margin: 0 0 8px;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
}

.shop-footer-grid p,
.shop-footer-grid a {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.65;
    text-decoration: none;
}

.shop-footer-grid a:hover {
    color: #f4ffd2;
}

.shop-mobile-cartbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 12px;
    border: 1px solid rgba(198, 255, 0, 0.8);
    background: linear-gradient(180deg, #d7ff4f, #c6ff00);
    color: #0f0f0f;
    text-decoration: none;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    z-index: 70;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.44);
}

.shop-mobile-cartbar.is-visible {
    display: inline-flex;
}

.shop-mobile-cartbar span {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #101010;
    color: #f4ffd2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
}

.shop-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    z-index: 80;
    padding: 14px;
}

.shop-modal.is-open {
    display: flex;
}

.shop-modal-card {
    width: min(980px, 100%);
    max-height: calc(100vh - 28px);
    overflow: auto;
    border: 1px solid #353535;
    border-radius: 18px;
    background: linear-gradient(180deg, #171717, #101010);
    position: relative;
    padding: 18px;
}

.shop-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #3b3b3b;
    background: #121212;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.shop-modal-layout {
    display: grid;
    grid-template-columns: 1.03fr 1fr;
    gap: 14px;
}

.shop-modal-main-image {
    border: 1px solid #333;
    border-radius: 14px;
    overflow: hidden;
    background: #0e0e0e;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.shop-modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-modal-main-image i {
    color: #707070;
    font-size: 2rem;
}

.shop-modal-gallery {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.shop-modal-gallery button {
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    padding: 0;
    height: 56px;
    cursor: pointer;
}

.shop-modal-gallery button.is-active {
    border-color: rgba(198, 255, 0, 0.9);
}

.shop-modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-modal-content h3 {
    margin: 0;
    font-size: 1.45rem;
}

.shop-modal-content p {
    margin: 8px 0 0;
    color: var(--text-dim);
    line-height: 1.55;
}

.shop-modal-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 84px 1fr 1fr;
    gap: 8px;
}

.shop-notify-modal-card {
    width: min(560px, 100%);
}

.shop-notify-head h3 {
    margin: 0;
    font-size: 1.35rem;
}

.shop-kicker {
    margin: 0 0 6px;
    color: #d9e9a8;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.74rem;
    font-weight: 700;
}

.shop-notify-head p {
    margin: 8px 0 0;
    color: var(--text-dim);
}

.shop-notify-feedback {
    margin-top: 10px;
    min-height: 20px;
    color: var(--text-dim);
    font-size: 0.84rem;
}

.shop-notify-feedback[data-state="error"] {
    color: #ffc7c7;
}

.shop-notify-feedback[data-state="success"] {
    color: #d6ffbf;
}

@media (min-width: 1420px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1220px) {
    .shop-hero-collage {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .shop-grid-layout {
        grid-template-columns: 1fr;
    }

    .shop-checkout {
        position: static;
    }

}

@media (max-width: 980px) {
    .shop-shell {
        padding: 14px 14px 90px;
        gap: 14px;
    }

    .shop-topbar {
        margin-top: 10px;
        padding: 12px 14px;
    }

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

    .shop-hero-logo-col {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: flex-start;
        padding: 18px 24px 12px;
    }

    .shop-hero-logo {
        width: min(170px, 40vw);
    }

    .shop-hero-content {
        padding: 14px 24px 26px;
    }

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

    .shop-story-card {
        grid-template-columns: 1fr;
    }

    .shop-story-visual {
        min-height: 260px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

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

    .shop-track-form {
        grid-template-columns: 1fr;
    }

    .shop-track-grid {
        grid-template-columns: 1fr;
    }

    .shop-modal-layout {
        grid-template-columns: 1fr;
    }

    .shop-modal-main-image {
        min-height: 220px;
    }

    .shop-mobile-cartbar.is-visible {
        display: inline-flex;
    }
}

@media (max-width: 700px) {
    .shop-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-top-actions {
        width: 100%;
    }

    .shop-link-pill {
        flex: 1;
        justify-content: center;
    }

    .shop-mosaic,
    .shop-category-showcase,
    .shop-catalog,
    .shop-checkout,
    .shop-track {
        padding: 18px;
    }

    .shop-discover-controls,
    .shop-discover-filters,
    .shop-form-row,
    .shop-step-actions,
    .shop-modal-actions {
        grid-template-columns: 1fr;
    }

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

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

    .shop-hero-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

/* === Showcase Match Overrides === */
.shop-hero {
    border: 0;
    box-shadow: none;
    min-height: 138px;
    background: transparent;
    grid-template-columns: minmax(110px, 17%) 1fr;
}

.shop-hero-logo-col {
    border-right: 0;
    background: transparent;
    padding: 8px 0;
    justify-content: flex-start;
}

.shop-hero-logo {
    width: min(145px, 100%);
    max-height: 120px;
}

.shop-hero-content {
    padding: 8px 6px 8px 18px;
}

.shop-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    letter-spacing: 0.02em;
    line-height: 1;
}

.shop-hero-sub {
    margin-top: 10px;
    font-size: clamp(1.2rem, 2.8vw, 2rem);
    color: #f5f5f5;
}

.shop-story-card {
    border-radius: 30px;
    background:
        radial-gradient(800px 360px at 80% 0%, rgba(255, 255, 255, 0.08), transparent 65%),
        linear-gradient(180deg, #151515, #0f0f0f);
}

.shop-story-card-primary,
.shop-story-card-secondary,
.shop-story-card-community {
    min-height: 430px;
}

.shop-story-copy {
    padding: 44px 38px;
    width: 100%;
    max-width: none;
}

.shop-story-copy > * {
    max-width: 520px;
}

.shop-story-copy h2 {
    font-size: clamp(2rem, 3.3vw, 4rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.shop-story-copy .shop-story-lead {
    font-size: clamp(1.15rem, 1.9vw, 1.9rem);
    color: #f0f0f0;
}

.shop-story-copy p {
    color: #e2e2e2;
    max-width: 490px;
    font-size: clamp(1rem, 1.25vw, 1.55rem);
    line-height: 1.5;
}

.shop-story-copy .btn {
    margin-top: 8px;
    min-width: 188px;
    padding: 12px 18px;
    font-size: 1.12rem;
    border-radius: 14px;
}

.shop-story-card-primary .shop-story-visual,
.shop-story-card-secondary .shop-story-visual,
.shop-story-card-community .shop-story-visual {
    border-left: 0;
}

.shop-story-visual-mosaic {
    padding: 22px;
    display: flex;
    align-items: stretch;
    background:
        radial-gradient(720px 280px at 60% 20%, rgba(255, 255, 255, 0.15), transparent 58%),
        linear-gradient(180deg, rgba(48, 48, 48, 0.5), rgba(14, 14, 14, 0.95));
}

.shop-story-visual-mosaic .shop-hero-collage {
    margin: 0;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(90px, 1fr);
    gap: 10px;
}

.shop-story-visual-mosaic .shop-hero-collage-item {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.2);
    aspect-ratio: auto;
}

.shop-story-visual-mosaic .shop-hero-collage-item:nth-child(1),
.shop-story-visual-mosaic .shop-hero-collage-item:nth-child(2) {
    grid-row: span 2;
}

.shop-story-visual-mosaic .shop-hero-collage-item:nth-child(3),
.shop-story-visual-mosaic .shop-hero-collage-item:nth-child(4),
.shop-story-visual-mosaic .shop-hero-collage-item:nth-child(5) {
    grid-column: span 2;
}

.shop-story-card-secondary .shop-story-visual img,
.shop-story-card-community .shop-story-visual img {
    object-fit: cover;
    filter: contrast(1.06) saturate(0.92);
}

.shop-category-showcase {
    padding: 24px 24px 28px;
    background:
        radial-gradient(840px 320px at 60% -20%, rgba(255, 255, 255, 0.09), transparent 62%),
        linear-gradient(180deg, #191919, #111111);
}

.shop-category-showcase .shop-section-headline h2 {
    font-size: clamp(2rem, 2.7vw, 3.2rem);
}

.shop-category-grid {
    margin-top: 18px;
    gap: 10px;
}

.shop-category-card {
    border-radius: 14px;
    min-height: 190px;
}

.shop-category-card p,
.shop-category-card small {
    display: none;
}

.shop-category-card strong {
    font-size: clamp(1.1rem, 1.2vw, 1.5rem);
    text-transform: none;
    color: #f6f6f6;
}

@media (max-width: 1080px) {
    .shop-story-card-primary,
    .shop-story-card-secondary,
    .shop-story-card-community {
        min-height: 0;
    }

    .shop-story-copy {
        padding: 26px 24px;
    }

    .shop-story-copy h2 {
        font-size: clamp(1.8rem, 5.2vw, 3rem);
    }

    .shop-story-copy p {
        font-size: clamp(0.98rem, 2.7vw, 1.25rem);
    }

    .shop-story-visual-mosaic {
        padding: 14px;
    }

    .shop-story-visual-mosaic .shop-hero-collage {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-story-visual-mosaic .shop-hero-collage-item:nth-child(3),
    .shop-story-visual-mosaic .shop-hero-collage-item:nth-child(4),
    .shop-story-visual-mosaic .shop-hero-collage-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 760px) {
    .shop-hero {
        grid-template-columns: 1fr;
    }

    .shop-hero-logo-col {
        padding: 0;
    }

    .shop-hero-content {
        padding: 0;
    }

    .shop-hero-content h1 {
        font-size: clamp(1.9rem, 9vw, 3.1rem);
    }

    .shop-hero-sub {
        font-size: clamp(1rem, 5.1vw, 1.35rem);
    }

    .shop-story-visual-mosaic .shop-hero-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

/* === Product Card Preserve Override === */
.shop-catalog {
    background: #f0f2f7;
    border-color: #d6dae4;
}

.shop-catalog .shop-section-headline h2 {
    color: #171b24;
}

.shop-catalog .shop-section-headline p {
    color: #5f6675;
}

.shop-catalog .shop-discover-search label,
.shop-catalog .shop-discover-filters label {
    color: #566173;
}

.shop-catalog .shop-discover-search input,
.shop-catalog .shop-discover-filters select {
    background: #ffffff;
    border-color: #ccd3df;
    color: #1d2330;
}

.shop-catalog .shop-discover-search input:focus,
.shop-catalog .shop-discover-filters select:focus {
    border-color: #80b4ff;
    box-shadow: 0 0 0 3px rgba(0, 105, 255, 0.12);
}

.shop-catalog .shop-product {
    background: #f4f5f7;
    border: 1px solid #d9dce3;
    border-radius: 26px;
}

.shop-catalog .shop-product-cover {
    background: #dce1ea;
}

.shop-catalog .shop-product-title {
    color: #21252f;
    font-size: clamp(1.05rem, 1.2vw, 1.55rem);
}

.shop-catalog .shop-product-desc {
    color: #5f6571;
    font-size: clamp(0.96rem, 1.05vw, 1.35rem);
}

.shop-catalog .shop-chip {
    border-color: #ced3dc;
    color: #4d525d;
    background: #eceef3;
    font-size: 0.7rem;
}

.shop-catalog .shop-chip.is-accent {
    border-color: #afd0ff;
    color: #0e56ab;
    background: #e5efff;
}

.shop-catalog .shop-chip.is-warning {
    border-color: #f0c99f;
    color: #91540d;
    background: #fff2e2;
}

.shop-catalog .shop-price strong {
    color: #1d2330;
}

.shop-catalog .shop-price del {
    color: #767c87;
}

.shop-catalog .shop-color-strip button {
    border-color: #c7cfdb;
    background: #eef1f6;
}

.shop-catalog .shop-product-actions input {
    background: #ffffff;
    border-color: #cdd3de;
    color: #1f2430;
}

.shop-catalog .shop-product-actions .btn-ghost {
    background: #ffffff;
    border-color: #cdd4df;
    color: #202736;
}

.shop-catalog .shop-product-actions .btn-primary {
    background: #1878e7;
    border-color: #1878e7;
    color: #ffffff;
}

/* === Product Action Ratio Fix === */
.shop-catalog .shop-product-actions {
    grid-template-columns: minmax(54px, 0.72fr) minmax(0, 1fr) minmax(0, 1.15fr);
}

.shop-catalog .shop-product-actions input,
.shop-catalog .shop-product-actions .btn {
    min-width: 0;
}

.shop-catalog .shop-product-actions .btn {
    padding: 10px 10px;
    line-height: 1.15;
}

@media (max-width: 1100px) {
    .shop-catalog .shop-product-actions {
        grid-template-columns: minmax(50px, 0.68fr) minmax(0, 1fr) minmax(0, 1fr);
    }

    .shop-catalog .shop-product-actions .btn {
        padding: 10px 8px;
        font-size: 0.86rem;
    }
}

@media (max-width: 980px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
    }
}

/* === Unified Catalog + Checkout Block (Desktop) === */
@media (min-width: 1221px) {
    .shop-grid-layout.has-checkout {
        height: calc(100vh - 112px);
        min-height: 680px;
        max-height: 980px;
        gap: 12px;
        align-items: stretch;
        overflow: hidden;
    }

    .shop-grid-layout.has-checkout .shop-catalog,
    .shop-grid-layout.has-checkout .shop-checkout {
        min-height: 0;
        height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .shop-grid-layout.has-checkout .shop-checkout {
        position: static;
        top: auto;
        align-self: stretch;
    }

    .shop-grid-layout.has-checkout .shop-catalog::-webkit-scrollbar,
    .shop-grid-layout.has-checkout .shop-checkout::-webkit-scrollbar {
        width: 10px;
    }

    .shop-grid-layout.has-checkout .shop-catalog::-webkit-scrollbar-thumb,
    .shop-grid-layout.has-checkout .shop-checkout::-webkit-scrollbar-thumb {
        background: rgba(140, 149, 166, 0.45);
        border-radius: 999px;
    }
}

/* === Index Header + Full Width Shop === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 70;
    padding: 12px 0;
    transition: all .3s ease;
}

.navbar.scrolled {
    background: rgba(9, 10, 12, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(198, 255, 0, 0.16);
    padding: 8px 0;
}

.nav-container {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.nav-logo-img {
    width: auto;
    height: 54px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.nav-logo-copy {
    min-width: 0;
}

.nav-logo-slogan {
    display: block;
    max-width: clamp(120px, 14vw, 210px);
    color: #ececec;
    font-size: clamp(0.56rem, 0.54vw + 0.32rem, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: normal;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}

.navbar.scrolled .nav-logo-img {
    height: 44px;
}

.navbar.scrolled .nav-logo-slogan {
    font-size: clamp(0.52rem, 0.5vw + 0.28rem, 0.66rem);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(12px, 1.2vw, 22px);
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-menu a {
    font-family: var(--font-sans);
    font-size: clamp(0.72rem, 0.74vw, 0.85rem);
    font-weight: 600;
    letter-spacing: clamp(1px, 0.11vw + 0.7px, 2px);
    text-transform: uppercase;
    color: var(--text-dim);
    position: relative;
    white-space: nowrap;
    transition: color .25s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-auth {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #121212;
    background: var(--accent);
    border-radius: 10px;
    padding: 10px 14px;
    transition: background .2s ease;
}

.nav-cta:hover {
    background: var(--accent-strong);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
}

.shop-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 104px 20px 44px;
}

.shop-footer {
    max-width: none;
    margin: 0;
    padding: 18px 20px 22px;
}

@media (max-width: 1280px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        flex: none;
        z-index: 69;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 1.15rem;
        letter-spacing: 2px;
    }

    .nav-auth {
        margin-left: auto;
    }

    .nav-logo-slogan {
        max-width: 180px;
    }

    .nav-toggle {
        margin-left: 10px;
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }

    .nav-logo {
        gap: 8px;
    }

    .nav-logo-img {
        height: 46px;
    }

    .navbar.scrolled .nav-logo-img {
        height: 38px;
    }

    .nav-logo-slogan {
        max-width: 128px;
        font-size: 0.52rem;
        letter-spacing: 0.07em;
    }

    .shop-shell {
        padding: 86px 12px 86px;
    }
}
