/* Shop — donation store + vehicle catalogue (read from Discord) */
@property --shop-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.shop-page {
    width: min(1200px, 100%);
    margin: 0 auto;
    text-align: left;
}

/* ── Hero ── */
.shop-hero {
    text-align: center;
    margin-bottom: 16px;
}

.shop-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--br-cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.shop-kicker::before,
.shop-kicker::after {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--br-cyan));
}

.shop-kicker::after { transform: scaleX(-1); }

.shop-hero h1 {
    margin: 8px 0 8px;
    font-size: clamp(2.3rem, 6vw, 4.2rem);
    line-height: 1.05;
}

.shop-hero p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--br-muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

/* ── Section heads ── */
.shop-section {
    margin-bottom: 36px;
}

.shop-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.shop-head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.shop-head h2 span { color: var(--br-cyan); }

.shop-head p {
    margin: 6px 0 0;
    color: var(--br-muted);
    font-size: 0.9rem;
}

/* ── Donation store banner ── */
.donate {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 34px 36px;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 70% 90% at 0% 0%, rgba(47, 143, 255, 0.22), transparent 60%),
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(255, 106, 31, 0.16), transparent 60%),
        rgba(8, 12, 26, 0.86);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    isolation: isolate;
}

.donate::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--shop-angle), rgba(47, 143, 255, 0.15), #2f8fff, #7cc4ff, rgba(47, 143, 255, 0.15) 40%, rgba(255, 106, 31, 0.8) 70%, rgba(47, 143, 255, 0.15));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: shopSpin 7s linear infinite;
    pointer-events: none;
}

@keyframes shopSpin { to { --shop-angle: 360deg; } }

.donate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6a1f, #ffa53a, #ff6a1f);
    background-size: 200% 100%;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(255, 106, 31, 0.4);
    animation: shopBadge 3s linear infinite;
}

.donate-badge.is-open {
    background: linear-gradient(90deg, #22c55e, #4ade80, #22c55e);
    background-size: 200% 100%;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.4);
}

@keyframes shopBadge { to { background-position: -200% 0; } }

.donate h2 {
    margin: 16px 0 8px;
    color: #fff;
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.donate h2 span {
    color: var(--br-cyan);
    text-shadow: 0 0 22px rgba(79, 179, 255, 0.5);
}

.donate-hint {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 106, 31, 0.35);
    background: rgba(255, 106, 31, 0.1);
    color: #ffd2b8;
    font-size: 0.88rem;
    line-height: 1.45;
}

.donate-hint strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
}

.donate-text {
    margin: 0 0 22px;
    color: rgba(220, 230, 255, 0.82);
    line-height: 1.6;
}

.donate-count {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 420px;
}

.donate-count[hidden] { display: none; }

.donate-count div {
    padding: 12px 6px 10px;
    border-radius: 14px;
    text-align: center;
    background: rgba(4, 10, 22, 0.7);
    border: 1px solid var(--br-line);
}

.donate-count b {
    display: block;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.donate-count small {
    color: var(--br-muted);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.donate-pay {
    margin-top: 22px;
}

.donate-pay-label {
    display: block;
    margin-bottom: 10px;
    color: var(--br-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.donate-pay-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pay-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.pay-chip i {
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.pay-chip.paypal i { background: #ffffff; color: #003087; }
.pay-chip.d17 i { background: linear-gradient(135deg, #e30613, #ff5a36); color: #fff; }
.pay-chip.visa i { background: #1a1f71; color: #f7b600; font-style: italic; }

/* Price list */
.price-list {
    display: grid;
    gap: 8px;
}

.price-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 11px 14px 11px 11px;
    border-radius: 14px;
    background: rgba(4, 10, 22, 0.62);
    border: 1px solid var(--br-line);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    animation: shopRise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(0.1s + var(--i, 0) * 0.05s);
}

.price-row.is-requestable {
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
    cursor: pointer;
    border-color: rgba(255, 106, 31, 0.28);
}

.price-row.is-requestable:focus-visible {
    outline: 2px solid rgba(79, 179, 255, 0.7);
    outline-offset: 2px;
}

.price-row.is-requestable:hover {
    transform: translateX(4px);
    border-color: rgba(255, 106, 31, 0.55);
    background: rgba(255, 106, 31, 0.12);
}

.price-row:hover {
    transform: translateX(4px);
    border-color: rgba(79, 179, 255, 0.6);
    background: rgba(47, 143, 255, 0.1);
}

.price-cta {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 106, 31, 0.55);
    background: rgba(255, 106, 31, 0.18);
    color: #ffd2b8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-row.is-requestable:hover .price-cta {
    background: rgba(255, 106, 31, 0.35);
    color: #fff;
}

.price-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(47, 143, 255, 0.14);
    border: 1px solid rgba(79, 179, 255, 0.35);
    color: var(--br-cyan);
}

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

.price-row.is-vip .price-icon {
    background: rgba(255, 196, 64, 0.14);
    border-color: rgba(255, 196, 64, 0.45);
    color: #ffc440;
}

.price-row.is-hot .price-icon {
    background: rgba(255, 106, 31, 0.14);
    border-color: rgba(255, 106, 31, 0.45);
    color: #ff8a4a;
}

.price-name {
    min-width: 0;
}

.price-name b {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
}

.price-name small {
    color: var(--br-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-tag {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.price-tag small {
    margin-left: 3px;
    color: var(--br-cyan);
    font-size: 0.72rem;
    font-weight: 800;
}

@keyframes shopRise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* ── Catalogue controls ── */
.cat-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border-radius: 16px;
    background: rgba(4, 10, 22, 0.7);
    border: 1px solid var(--br-line);
}

.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #c8d4e6;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cat-tab svg { width: 20px; height: 20px; }

.cat-tab:hover:not(.active) { color: #fff; background: rgba(47, 143, 255, 0.1); }

.cat-tab.active {
    background: linear-gradient(135deg, var(--br-blue), var(--br-blue-deep));
    color: #fff;
    box-shadow: 0 8px 22px rgba(47, 143, 255, 0.35);
}

.cat-count {
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.7rem;
    letter-spacing: 0;
    text-align: center;
}

.cat-tab.active .cat-count { background: rgba(255, 255, 255, 0.22); }

.cat-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 14px;
}

.cat-types {
    display: inline-flex;
    gap: 8px;
}

.cat-types[hidden] { display: none !important; }

.cat-type {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 9px 18px;
    border-radius: 12px;
    border: 1px solid var(--br-line);
    background: rgba(8, 14, 28, 0.7);
    color: #dbe7f7;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.cat-type b {
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.cat-type small {
    color: var(--br-muted);
    font-size: 0.7rem;
    font-weight: 600;
}

.cat-type:hover:not(.active) { border-color: rgba(79, 179, 255, 0.55); transform: translateY(-1px); }

.cat-type.active {
    border-color: var(--br-fire);
    background: rgba(255, 106, 31, 0.14);
    box-shadow: 0 0 18px rgba(255, 106, 31, 0.25);
}

.cat-type.active small { color: #ffb48a; }

.cat-search {
    position: relative;
    flex: 0 1 320px;
    min-width: 0;
}

.cat-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: var(--br-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.cat-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px 12px 42px;
    border-radius: 12px;
    border: 1px solid var(--br-line);
    background: rgba(4, 10, 22, 0.75);
    color: #fff;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cat-search input::placeholder { color: #6f7f96; }

.cat-search input:focus {
    border-color: var(--br-cyan);
    box-shadow: 0 0 0 3px rgba(79, 179, 255, 0.18);
}

.cat-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin-bottom: 8px;
    scrollbar-width: none;
}

.cat-filters::-webkit-scrollbar { display: none; }

.cat-filters[hidden] { display: none; }

.cat-filter {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--br-line);
    background: rgba(8, 14, 28, 0.6);
    color: #c8d4e6;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-filter:hover:not(.active) { color: #fff; border-color: rgba(79, 179, 255, 0.55); }

.cat-filter.active {
    background: rgba(47, 143, 255, 0.2);
    border-color: var(--br-cyan);
    color: #fff;
}

.cat-filter span { opacity: 0.6; margin-left: 4px; }

/* ── Vehicle grid ── */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.car-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(8, 14, 28, 0.82);
    border: 1px solid var(--br-line);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    animation: shopRise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.car-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 179, 255, 0.65);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 26px rgba(47, 143, 255, 0.22);
}

.car-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    overflow: hidden;
    cursor: zoom-in;
    background: linear-gradient(110deg, #0a1622 20%, #14273a 40%, #0a1622 60%);
    background-size: 200% 100%;
    animation: shopShimmer 1.2s linear infinite;
}

.car-media.is-ready { animation: none; background: #0a1622; }

.car-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.35s ease, transform 0.5s ease;
}

.car-media.is-ready img { opacity: 1; transform: none; }

.car-card:hover .car-media img { transform: scale(1.06); }

.car-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(4, 8, 18, 0.75));
    pointer-events: none;
}

@keyframes shopShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.car-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(4, 8, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.car-badge.is-diwena {
    background: rgba(255, 106, 31, 0.85);
    border-color: rgba(255, 180, 130, 0.5);
}

/* Bought as VIP by a player — locked for everyone else */
.car-badge.is-vip-owned {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(255, 196, 64, 0.95), rgba(214, 140, 20, 0.95));
    border-color: rgba(255, 226, 150, 0.7);
    color: #1a1204;
    box-shadow: 0 4px 14px rgba(255, 180, 40, 0.35);
}

.car-badge.is-vip-owned svg {
    width: 11px;
    height: 11px;
}

.car-card.is-vip-owned {
    border-color: rgba(255, 196, 64, 0.35);
}

.car-card.is-vip-owned .car-media img {
    filter: saturate(0.55) brightness(0.8);
}

.car-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(4, 8, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.car-zoom svg { width: 16px; height: 16px; }

.car-card:hover .car-zoom { opacity: 1; transform: none; }

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

.car-label {
    color: var(--br-muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.car-name {
    margin: 2px 0 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.car-spawn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 12px;
    border-radius: 10px;
    background: rgba(47, 143, 255, 0.08);
    border: 1px dashed rgba(79, 179, 255, 0.35);
}

.car-spawn code {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--br-cyan);
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.84rem;
    font-weight: 700;
}

.car-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(79, 179, 255, 0.35);
    background: rgba(47, 143, 255, 0.16);
    color: #e6f2ff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.car-copy svg { width: 13px; height: 13px; }

.car-copy:hover { background: rgba(47, 143, 255, 0.32); border-color: var(--br-cyan); }

.car-copy.is-done {
    background: rgba(34, 197, 94, 0.22);
    border-color: rgba(74, 222, 128, 0.6);
    color: #b9f6cf;
}

/* States */
.cat-status {
    padding: 50px 20px;
    border-radius: 18px;
    border: 1px dashed var(--br-line);
    background: rgba(8, 14, 28, 0.55);
    color: var(--br-muted);
    text-align: center;
}

.cat-status svg {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    color: var(--br-cyan);
    opacity: 0.8;
}

.cat-status b {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.05rem;
}

.cat-status.is-error svg { color: #ff8a8a; }

.cat-skeleton {
    height: 250px;
    border-radius: 16px;
    background: linear-gradient(110deg, rgba(10, 22, 34, 0.9) 20%, rgba(20, 39, 58, 0.9) 40%, rgba(10, 22, 34, 0.9) 60%);
    background-size: 200% 100%;
    animation: shopShimmer 1.2s linear infinite;
}

.cat-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.cat-more[hidden] { display: none; }

.cat-more small { color: var(--br-muted); font-size: 0.8rem; }

.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--br-blue), var(--br-blue-deep));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shop-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47, 143, 255, 0.4); }

.shop-btn svg { width: 18px; height: 18px; }

.shop-btn--ghost {
    background: rgba(47, 143, 255, 0.08);
    border-color: rgba(124, 196, 255, 0.45);
    color: #cfe6ff;
}

/* ── Lightbox ── */
.car-lb {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 76px;
    box-sizing: border-box;
}

.car-lb.is-open { display: flex; }

.car-lb-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 5, 12, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.car-lb-card {
    position: relative;
    width: min(1100px, 100%);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(8, 14, 28, 0.96);
    border: 1px solid rgba(79, 179, 255, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: shopRise 0.22s ease;
}

.car-lb-media {
    position: relative;
    background: #050a14;
    line-height: 0;
}

.car-lb-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70vh, 820px);
    object-fit: cover;
    object-position: center;
    transition: opacity 0.2s ease;
}

.car-lb-media.is-loading img { opacity: 0.35; }

.car-lb-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 16px 20px;
    border-top: 1px solid var(--br-line);
}

.car-lb-info h3 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.car-lb-info .car-spawn { min-width: 240px; }

.car-lb-count {
    color: var(--br-muted);
    font-size: 0.78rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.car-lb-btn {
    position: fixed;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 18, 28, 0.78);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.15s ease, transform 0.15s ease;
}

.car-lb-btn svg { width: 22px; height: 22px; }

.car-lb-btn:hover { background: rgba(47, 143, 255, 0.3); transform: scale(1.05); }

.car-lb-btn.close { top: 18px; right: 18px; width: 44px; height: 44px; }

.car-lb-btn.prev { left: 16px; top: 50%; margin-top: -24px; }

.car-lb-btn.next { right: 16px; top: 50%; margin-top: -24px; }

.shop-toast {
    position: fixed;
    left: 50%;
    bottom: calc(28px + env(safe-area-inset-bottom));
    z-index: 13000;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(8, 14, 28, 0.95);
    border: 1px solid rgba(74, 222, 128, 0.5);
    color: #b9f6cf;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.shop-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Request button in the viewer ── */
.car-lb-buy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.car-lb-price {
    color: var(--br-muted);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.car-lb-price b { color: #fff; font-size: 1rem; }

.req-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6a1f, #ff9a3a);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(255, 106, 31, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.req-open-btn svg { width: 18px; height: 18px; }

.req-open-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 106, 31, 0.5); }

.req-open-btn.is-pending {
    background: rgba(255, 196, 64, 0.14);
    border: 1px solid rgba(255, 196, 64, 0.5);
    color: #ffd27a;
    box-shadow: none;
}

.req-open-btn.is-vip-owned,
.req-open-btn.is-vip-owned:hover {
    background: rgba(255, 196, 64, 0.08);
    border: 1px dashed rgba(255, 196, 64, 0.45);
    color: #ffd27a;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

/* ── Request modal ── */
.req-modal {
    position: fixed;
    inset: 0;
    z-index: 12500;
    display: grid;
    place-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.req-modal[hidden] { display: none; }

.req-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 5, 12, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.req-card {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    border-radius: 20px;
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(47, 143, 255, 0.18), transparent 60%),
        rgba(8, 13, 26, 0.98);
    border: 1px solid rgba(79, 179, 255, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    animation: shopRise 0.22s ease;
}

.req-x {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(4, 8, 18, 0.75);
    color: #fff;
    cursor: pointer;
}

.req-x svg { width: 18px; height: 18px; }

.req-vehicle {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px 56px 18px 20px;
    border-bottom: 1px solid var(--br-line);
}

.req-vehicle img {
    width: 132px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    background: #0a1622;
    border: 1px solid var(--br-line);
}

.req-kicker {
    color: #ff9a5a;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.req-vehicle h3 {
    margin: 4px 0 6px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.req-vehicle code {
    color: var(--br-cyan);
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 700;
}

.req-body {
    padding: 18px 20px 20px;
}

.req-label {
    display: block;
    margin: 0 0 8px;
    color: var(--br-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.req-block { margin-bottom: 18px; }

.req-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.4);
}

.req-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #1b1f3a;
}

.req-user b { display: block; color: #fff; font-size: 0.95rem; }

.req-user small {
    color: #aab3f5;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.74rem;
}

.req-user .req-verified {
    margin-left: auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(88, 101, 242, 0.3);
    color: #e0e4ff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.req-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

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

.req-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--br-line);
    background: rgba(4, 10, 22, 0.7);
    color: #dbe7f7;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.req-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.req-option b { color: #fff; font-size: 0.9rem; }

.req-option small { color: var(--br-muted); font-size: 0.72rem; font-weight: 600; }

.req-option .req-price { color: #fff; font-size: 1.15rem; font-weight: 800; }

.req-option .req-price small { color: var(--br-cyan); font-size: 0.7rem; }

.req-option:hover { border-color: rgba(79, 179, 255, 0.55); }

.req-option:has(input:checked) {
    border-color: var(--br-cyan);
    background: rgba(47, 143, 255, 0.14);
    box-shadow: 0 0 0 1px rgba(79, 179, 255, 0.35) inset;
}

.req-option.is-vip:has(input:checked) {
    border-color: #ffc440;
    background: rgba(255, 196, 64, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 196, 64, 0.35) inset;
}

.req-option:has(input:focus-visible) { outline: 2px solid var(--br-cyan); outline-offset: 2px; }

.req-option.is-disabled,
.req-option.is-disabled:hover {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: var(--br-line);
    border-style: dashed;
}

.req-block[hidden] { display: none; }

.req-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.req-qty-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--br-line);
    background: rgba(8, 14, 28, 0.8);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.req-qty-btn:hover:not(:disabled) {
    border-color: var(--br-cyan);
    background: rgba(47, 143, 255, 0.14);
}

.req-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.req-qty output {
    min-width: 28px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
}

.req-qty small {
    margin-left: 4px;
    color: var(--br-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.req-vip-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 0;
    color: #ffd27a;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.4;
}

.req-vip-note[hidden] { display: none; }

.req-vip-note svg { width: 13px; height: 13px; flex: none; }

.req-option.is-pay {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
}

.req-option.is-pay i {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 22px;
    padding: 0 5px;
    border-radius: 6px;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 900;
}

.req-option.is-pay.paypal i { background: #fff; color: #003087; }
.req-option.is-pay.d17 i { background: linear-gradient(135deg, #e30613, #ff5a36); color: #fff; }
.req-option.is-pay.visa i { background: #1a1f71; color: #f7b600; font-style: italic; }

.req-note {
    width: 100%;
    min-height: 74px;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--br-line);
    background: rgba(4, 10, 22, 0.75);
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    resize: vertical;
    outline: none;
}

.req-note:focus { border-color: var(--br-cyan); box-shadow: 0 0 0 3px rgba(79, 179, 255, 0.18); }

.req-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(255, 106, 31, 0.1);
    border: 1px solid rgba(255, 106, 31, 0.35);
}

.req-total span { color: #ffc9a8; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.req-total b { color: #fff; font-size: 1.5rem; font-weight: 800; }

.req-total b small { color: #ff9a5a; font-size: 0.8rem; margin-left: 3px; }

.req-submit {
    width: 100%;
    padding: 14px 18px;
}

.req-submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.req-fine {
    margin: 12px 0 0;
    color: var(--br-muted);
    font-size: 0.76rem;
    line-height: 1.5;
    text-align: center;
}

.req-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(237, 66, 69, 0.14);
    border: 1px solid rgba(237, 66, 69, 0.45);
    color: #ffb4b4;
    font-size: 0.84rem;
}

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

.req-center {
    padding: 10px 6px 4px;
    text-align: center;
}

.req-center .req-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.18);
    border: 1px solid rgba(88, 101, 242, 0.5);
    color: #c3c9ff;
}

.req-center .req-icon svg { width: 30px; height: 30px; }

.req-center .req-icon.is-ok { background: rgba(34, 197, 94, 0.16); border-color: rgba(74, 222, 128, 0.5); color: #86efac; }

.req-center .req-icon.is-wait { background: rgba(255, 196, 64, 0.14); border-color: rgba(255, 196, 64, 0.5); color: #ffd27a; }

.req-center .req-icon.is-vip-owned { background: rgba(255, 196, 64, 0.16); border-color: rgba(255, 210, 120, 0.6); color: #ffc940; }

.req-center h4 { margin: 0 0 8px; color: #fff; font-size: 1.15rem; font-weight: 800; }

.req-center p { margin: 0 auto 18px; max-width: 380px; color: rgba(220, 230, 255, 0.8); font-size: 0.9rem; line-height: 1.55; }

.req-discord-btn {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35);
}

.req-discord-btn:hover { box-shadow: 0 12px 28px rgba(88, 101, 242, 0.5); }

/* ── Basket button ── */
.req-basket {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 11000;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6a1f, #ff9a3a);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(255, 106, 31, 0.45), 0 0 0 4px rgba(255, 106, 31, 0.15);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.req-basket[hidden] { display: none; }

.req-basket svg { width: 28px; height: 28px; }

.req-basket:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 36px rgba(255, 106, 31, 0.55), 0 0 0 6px rgba(255, 106, 31, 0.18); }

.req-basket:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.req-basket.is-bump { animation: basketBump 0.6s ease; }

@keyframes basketBump {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.22) rotate(-8deg); }
    60% { transform: scale(0.94) rotate(4deg); }
}

.req-basket-count {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #fff;
    color: #e2560f;
    border: 2px solid #ff6a1f;
    font-size: 0.74rem;
    font-weight: 900;
}

.req-basket-count[hidden] { display: none; }

/* ── Basket drawer ── */
.req-drawer {
    position: fixed;
    inset: 0;
    z-index: 12200;
}

.req-drawer[hidden] { display: none; }

.req-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(440px, 100%);
    background:
        radial-gradient(ellipse 90% 40% at 100% 0%, rgba(255, 106, 31, 0.14), transparent 60%),
        rgba(8, 13, 26, 0.98);
    border-left: 1px solid rgba(79, 179, 255, 0.3);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.6);
    animation: drawerIn 0.26s ease;
}

@keyframes drawerIn {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.req-drawer-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 16px;
    border-bottom: 1px solid var(--br-line);
}

.req-drawer-head > div { flex: 1; min-width: 0; }

.req-drawer-head h3 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.req-drawer-head small { color: var(--br-muted); font-size: 0.78rem; }

.req-drawer-head .req-x { position: static; flex-shrink: 0; }

.req-drawer-back {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(4, 8, 18, 0.75);
    color: #fff;
    cursor: pointer;
}

.req-drawer-back[hidden] { display: none; }

.req-drawer-back svg { width: 18px; height: 18px; }

.req-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    overscroll-behavior: contain;
}

.req-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.req-tabs::-webkit-scrollbar { display: none; }

.req-tab {
    flex: 1 0 auto;
    padding: 8px 10px;
    white-space: nowrap;
    border-radius: 10px;
    border: 1px solid var(--br-line);
    background: rgba(4, 10, 22, 0.7);
    color: var(--br-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.req-tab b { color: #fff; margin-left: 3px; }

.req-tab.active { border-color: var(--br-cyan); background: rgba(47, 143, 255, 0.16); color: #fff; }

.req-items { display: grid; gap: 8px; }

.req-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    border: 1px solid var(--br-line);
    background: rgba(4, 10, 22, 0.7);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.req-item:hover { border-color: rgba(79, 179, 255, 0.55); background: rgba(47, 143, 255, 0.08); transform: translateX(-2px); }

.req-item img {
    width: 96px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    background: #0a1622;
}

.req-item b {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.req-item small {
    display: block;
    margin-top: 3px;
    color: var(--br-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.req-item .req-status { padding: 4px 9px; font-size: 0.6rem; }

.req-item.is-new {
    border-color: rgba(255, 154, 58, 0.6);
    background: rgba(255, 106, 31, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 154, 58, 0.25) inset;
}

.req-new {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 6px;
    border-radius: 6px;
    background: #ff6a1f;
    color: #fff;
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.req-basket.has-news::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 154, 58, 0.8);
    animation: basketPing 1.8s ease-out infinite;
    pointer-events: none;
}

@keyframes basketPing {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(1.45); opacity: 0; }
}

.req-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 12px;
}

.req-actions > * { flex: 1 1 140px; }

.req-act-btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--br-line);
    background: rgba(4, 10, 22, 0.75);
    color: #dbe7f7;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.req-act-btn:hover { border-color: rgba(79, 179, 255, 0.55); }

.req-act-btn.is-danger { border-color: rgba(237, 66, 69, 0.5); color: #ffb4b4; }

.req-act-btn.is-danger:hover { background: rgba(237, 66, 69, 0.14); }

.req-act-btn[disabled] { opacity: 0.6; cursor: wait; }

.req-empty {
    padding: 50px 20px;
    text-align: center;
    color: var(--br-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.req-empty svg { display: block; width: 46px; height: 46px; margin: 0 auto 12px; color: rgba(255, 154, 58, 0.7); }

.req-empty b { display: block; margin-bottom: 4px; color: #fff; font-size: 1rem; }

/* ── Request details ── */
.req-detail-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    background: #0a1622;
    border: 1px solid var(--br-line);
}

.req-detail-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 4px;
}

.req-detail-title h4 { margin: 0; color: #fff; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }

.req-detail-title code {
    display: block;
    margin-top: 4px;
    color: var(--br-cyan);
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 700;
}

.req-detail-msg {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
}

.req-detail-msg.pending { background: rgba(255, 196, 64, 0.1); border: 1px solid rgba(255, 196, 64, 0.35); color: #ffe2a6; }
.req-detail-msg.accepted { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(74, 222, 128, 0.35); color: #bbf7d0; }
.req-detail-msg.rejected { background: rgba(237, 66, 69, 0.1); border: 1px solid rgba(237, 66, 69, 0.35); color: #fecaca; }
.req-detail-msg.cancelled { background: rgba(148, 163, 184, 0.08); border: 1px solid rgba(148, 163, 184, 0.3); color: #cbd5e1; }

.req-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
}

.req-fact {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--br-line);
    background: rgba(4, 10, 22, 0.7);
}

.req-fact span {
    display: block;
    color: var(--br-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.req-fact b { display: block; margin-top: 3px; color: #fff; font-size: 0.92rem; overflow-wrap: anywhere; }

.req-fact.is-total { border-color: rgba(255, 106, 31, 0.4); background: rgba(255, 106, 31, 0.1); }

.req-fact.is-total b { font-size: 1.2rem; }

.req-timeline {
    position: relative;
    display: grid;
    gap: 14px;
    margin: 0 0 14px;
    padding: 4px 0 4px 26px;
}

.req-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 8px;
    width: 2px;
    background: var(--br-line);
}

.req-step { position: relative; }

.req-step::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -24px;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #0a1622;
    border: 2px solid var(--br-line);
}

.req-step.is-done::before { background: var(--br-cyan); border-color: var(--br-cyan); box-shadow: 0 0 10px rgba(79, 179, 255, 0.6); }
.req-step.is-ok::before { background: #22c55e; border-color: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.6); }
.req-step.is-bad::before { background: #ed4245; border-color: #ed4245; box-shadow: 0 0 10px rgba(237, 66, 69, 0.6); }
.req-step.is-off::before { background: #64748b; border-color: #64748b; }
.req-step.is-wait::before { border-color: #ffc440; animation: stepPulse 1.6s ease-in-out infinite; }

@keyframes stepPulse { 50% { box-shadow: 0 0 0 5px rgba(255, 196, 64, 0.18); } }

.req-step b { display: block; color: #fff; font-size: 0.88rem; }

.req-step small { color: var(--br-muted); font-size: 0.76rem; }

.req-quote {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-left: 3px solid var(--br-cyan);
    border-radius: 0 10px 10px 0;
    background: rgba(47, 143, 255, 0.08);
    color: #dbe7f7;
    font-size: 0.86rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.req-quote span {
    display: block;
    margin-bottom: 3px;
    color: var(--br-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.req-quote.is-staff { border-left-color: #ff9a3a; background: rgba(255, 106, 31, 0.08); }

.req-detail-id {
    margin: 4px 0 0;
    color: rgba(150, 170, 200, 0.6);
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.7rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.req-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.req-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.req-status.pending { background: rgba(255, 196, 64, 0.14); color: #ffd27a; border: 1px solid rgba(255, 196, 64, 0.45); }
.req-status.accepted { background: rgba(34, 197, 94, 0.14); color: #86efac; border: 1px solid rgba(74, 222, 128, 0.45); }
.req-status.rejected { background: rgba(237, 66, 69, 0.14); color: #ffb4b4; border: 1px solid rgba(237, 66, 69, 0.45); }
.req-status.cancelled { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.4); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .donate {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }
}

@media (max-width: 640px) {
    .shop-hero { margin-bottom: 24px; }
    .shop-hero p { font-size: 0.92rem; }
    .shop-section { margin-bottom: 40px; }
    .shop-head h2 { font-size: 1.2rem; }

    .donate { padding: 24px 16px; border-radius: 18px; gap: 22px; }
    .donate-count { gap: 6px; }
    .donate-count b { font-size: 1.35rem; }
    .price-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px 10px 10px; }
    .price-row.is-requestable { grid-template-columns: 38px minmax(0, 1fr) auto auto; }
    .price-cta { padding: 5px 8px; font-size: 0.62rem; }
    .donate-hint { font-size: 0.82rem; }
    .price-icon { width: 38px; height: 38px; }
    .price-tag { font-size: 1rem; }

    .cat-tabs { display: flex; width: 100%; box-sizing: border-box; }
    .cat-tab { flex: 1; justify-content: center; padding: 11px 10px; }
    .cat-bar { flex-direction: column; align-items: stretch; }
    .cat-types { display: grid; grid-template-columns: 1fr 1fr; }
    .cat-type { align-items: center; text-align: center; padding: 9px 8px; }
    .cat-search { flex: 1 1 auto; }

    .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .car-card { border-radius: 12px; }
    .car-body { padding: 10px; gap: 8px; }
    .car-name { font-size: 0.84rem; }
    .car-badge { top: 7px; left: 7px; padding: 3px 7px; font-size: 0.54rem; }
    .car-zoom { display: none; }
    .car-spawn { padding: 5px 5px 5px 8px; gap: 5px; }
    .car-spawn code { font-size: 0.72rem; }
    .car-copy { padding: 6px 7px; }
    .car-copy span { display: none; }

    .car-lb { padding: 0 10px; }
    .car-lb-card { border-radius: 14px; }
    .car-lb-info { padding: 12px 14px; }
    .car-lb-info .car-spawn { min-width: 0; width: 100%; }
    .car-lb-info .car-copy span { display: inline; }
    .car-lb-btn.prev, .car-lb-btn.next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); margin-top: 0; }
    .car-lb-btn.prev { left: calc(50% - 58px); }
    .car-lb-btn.next { right: calc(50% - 58px); }
    .car-lb-btn.close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
    .car-lb-buy { width: 100%; justify-content: space-between; }
    .car-lb-media img { max-height: min(52vh, 480px); }

    .req-modal { padding: 0; align-items: end; }
    .req-card { width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .req-vehicle { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 16px 52px 14px 16px; }
    .req-vehicle img { width: 96px; }
    .req-body { padding: 16px; }
    .req-options.is-3 { gap: 6px; }
    .req-option.is-pay { flex-direction: column; gap: 6px; padding: 10px 4px; font-size: 0.8rem; }

    .req-drawer-panel {
        top: auto;
        left: 0;
        width: 100%;
        max-height: 88dvh;
        border-left: 0;
        border-top: 1px solid rgba(79, 179, 255, 0.3);
        border-radius: 20px 20px 0 0;
        padding-bottom: env(safe-area-inset-bottom);
        animation-name: sheetIn;
    }
    .req-item { grid-template-columns: 78px minmax(0, 1fr) auto; gap: 10px; }
    .req-item img { width: 78px; }
}

@keyframes sheetIn {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

@media (max-width: 980px) {
    html.has-app-shell .req-basket {
        right: 14px;
        bottom: calc(var(--app-tab-h, 64px) + 22px + env(safe-area-inset-bottom));
        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .donate::before, .donate-badge, .price-row, .car-card, .car-media, .cat-skeleton { animation: none; }
}
