:root {
    --monkey-bg: #020b1d;
    --monkey-primary: #0d6efd;
    --monkey-gradient: linear-gradient(135deg, #0d1326 0%, #0f3272 50%, #0a2348 100%);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: inherit;
    color: #0f172a;
}

.tracking-wide {
    letter-spacing: 0.18em;
}

.store-navbar {
    border-bottom: 1px solid rgba(125, 211, 252, 0.18);
    background:
        linear-gradient(90deg, rgba(34, 197, 94, 0.08), transparent 32%, rgba(250, 204, 21, 0.08)),
        rgba(3, 7, 18, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.store-navbar .navbar-brand {
    color: #f8fafc;
    font-weight: 950;
}

.store-navbar .nav-link {
    border: 1px solid transparent;
    border-radius: 8px;
    color: #cbd5e1;
    font-weight: 800;
    padding: 0.55rem 0.8rem;
}

.store-navbar .nav-link:hover,
.store-navbar .nav-link:focus {
    border-color: rgba(125, 211, 252, 0.24);
    background: rgba(14, 165, 233, 0.12);
    color: #f8fafc;
}

.store-navbar .btn-outline-light {
    border-color: rgba(125, 211, 252, 0.34);
    color: #bae6fd;
    font-weight: 800;
}

.store-navbar .btn-outline-light:hover,
.store-navbar .btn-outline-light:focus {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
}

.store-navbar .btn-primary {
    border: 0;
    background: #22c55e;
    color: #04130a;
    font-weight: 900;
}

.store-navbar .btn-primary:hover,
.store-navbar .btn-primary:focus {
    background: #bef264;
    color: #111827;
}

.store-navbar #cartCountBadge {
    background: #ef4444 !important;
}

.hero {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #05070c 0%, #141018 45%, #10160b 100%);
    background-size: 48px 48px, 48px 48px, auto;
    min-height: 72vh;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(34, 197, 94, 0.18), transparent 35%),
        linear-gradient(290deg, rgba(250, 204, 21, 0.14), transparent 38%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52));
    pointer-events: none;
}

.hero h1 {
    max-width: 760px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.96;
    text-transform: uppercase;
}

.hero .lead {
    max-width: 640px;
    color: #cbd5e1 !important;
    font-weight: 600;
}

.hero .badge {
    border: 1px solid rgba(250, 204, 21, 0.45);
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.15) !important;
    color: #fde68a !important;
}

.hero .btn-light {
    border: 0;
    background: #22c55e;
    color: #04130a;
    font-weight: 900;
}

.hero .btn-light:hover,
.hero .btn-light:focus {
    background: #bef264;
    color: #111827;
}

.hero .btn-outline-light {
    border-color: rgba(125, 211, 252, 0.42);
    color: #bae6fd;
    font-weight: 800;
}

.hero .btn-outline-light:hover,
.hero .btn-outline-light:focus {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
}

.glass-card {
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(125, 211, 252, 0.22);
    backdrop-filter: blur(12px);
    color: #fff;
}

.banner-card {
    background: rgba(2, 6, 23, 0.72);
    border-radius: 8px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    overflow: hidden;
}

.banner-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.object-fit-cover {
    object-fit: cover;
}

.progress-thin {
    height: 0.35rem;
}

.feature-card,
.faq-card,
.contact-card,
.product-card {
    border-radius: 1rem;
    background: #fff;
    padding: 1.75rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.product-card {
    padding: 1.25rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.product-card-thumb {
    border-radius: 0.85rem;
    background: #f8fafc;
    padding: 1rem;
    text-align: center;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-body {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.product-card-body .product-card-actions {
    margin-top: auto;
}

.product-card-thumb img {
    max-height: 110px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.catalog-arena {
    position: relative;
    order: 1;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #08090f 0%, #141018 45%, #0c1517 100%);
    background-size: 44px 44px, 44px 44px, auto;
    color: #f8fafc;
    overflow: hidden;
}

body:has(.catalog-arena) main {
    display: flex;
    flex-direction: column;
}

body:has(.catalog-arena) .patchlist-section {
    order: 2;
}

body:has(.catalog-arena) #faq {
    order: 3;
}

.store-faq {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(135deg, #05080f 0%, #101827 52%, #07120b 100%);
    background-size: 42px 42px, 42px 42px, auto;
    color: #f8fafc;
}

.store-faq-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 950;
    line-height: 1;
}

.store-faq-copy {
    max-width: 460px;
    color: #cbd5e1;
    font-weight: 600;
}

.store-faq .accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.store-faq .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.76);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.store-faq .accordion-button {
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    font-weight: 900;
    box-shadow: none;
}

.store-faq .accordion-button::after {
    filter: invert(1);
}

.store-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.18), rgba(14, 165, 233, 0.1));
    color: #f8fafc;
}

.store-faq .accordion-body {
    background: rgba(2, 6, 23, 0.72);
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.65;
}

.store-footer {
    border-top: 1px solid rgba(125, 211, 252, 0.18);
    background:
        linear-gradient(90deg, rgba(34, 197, 94, 0.08), transparent 36%, rgba(250, 204, 21, 0.08)),
        #030712;
    color: #94a3b8;
}

.store-footer span {
    color: #e2e8f0;
    font-weight: 800;
}

.store-footer a {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    color: #bae6fd;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.45rem 0.7rem;
    text-decoration: none;
}

.store-footer a:hover,
.store-footer a:focus {
    border-color: rgba(34, 197, 94, 0.42);
    background: rgba(34, 197, 94, 0.12);
    color: #f8fafc;
}

.catalog-arena .container {
    position: relative;
    z-index: 1;
}

.catalog-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}

.catalog-kicker,
.catalog-label {
    display: block;
    color: #7dd3fc;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.catalog-title {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 900;
    line-height: 0.95;
}

.catalog-copy {
    max-width: 620px;
    color: #cbd5e1;
    font-weight: 500;
}

.catalog-stats {
    display: flex;
    gap: 0.75rem;
}

.catalog-stats div {
    min-width: 112px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 8px;
    background: rgba(3, 7, 18, 0.72);
    padding: 0.85rem 1rem;
}

.catalog-stats strong,
.catalog-stats span {
    display: block;
}

.catalog-stats strong {
    color: #facc15;
    font-size: 1.45rem;
    line-height: 1;
}

.catalog-stats span {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.catalog-toolbar {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.76);
    padding: 1rem;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.catalog-search {
    position: relative;
}

.catalog-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #22c55e;
    z-index: 1;
}

.catalog-search .form-control,
.catalog-control {
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    background-color: rgba(15, 23, 42, 0.95);
    color: #f8fafc;
    box-shadow: none;
}

.catalog-search .form-control {
    padding-left: 2.75rem;
}

.catalog-search .form-control::placeholder {
    color: #64748b;
}

.catalog-search .form-control:focus,
.catalog-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.14);
}

.catalog-clear,
.catalog-load-more,
.product-add-btn,
.product-view-btn,
.product-modal-action {
    border-radius: 8px;
}

.catalog-clear {
    height: 46px;
    border: 1px solid rgba(248, 113, 113, 0.34);
    background: rgba(127, 29, 29, 0.28);
    color: #fecaca;
}

.catalog-clear:hover,
.catalog-clear:focus {
    background: #ef4444;
    color: #fff;
}

.catalog-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 700;
}

#catalogActiveFilters {
    color: #bef264;
}

.product-grid {
    align-items: stretch;
}

.catalog-empty {
    display: flex;
    min-height: 240px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px dashed rgba(148, 163, 184, 0.32);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.54);
    color: #cbd5e1;
}

.catalog-empty i {
    color: #facc15;
    font-size: 2rem;
}

.catalog-empty strong {
    color: #fff;
}

.catalog-load-more {
    border: 1px solid rgba(250, 204, 21, 0.42);
    background: rgba(250, 204, 21, 0.12);
    color: #fde68a;
    font-weight: 800;
}

.catalog-load-more:hover,
.catalog-load-more:focus {
    background: #facc15;
    color: #111827;
}

.catalog-arena .product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(2, 6, 23, 0.98));
    padding: 0;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.catalog-arena .product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.catalog-arena .product-card-thumb {
    position: relative;
    min-height: 210px;
    border-radius: 0;
    background: linear-gradient(145deg, #111827, #030712);
    padding: 1.15rem;
}

.catalog-arena .product-card-thumb::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
}

.catalog-arena .product-card-thumb img {
    width: 100%;
    max-width: 100%;
    height: 172px;
    max-height: none;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.42));
}

.product-stock {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    border-radius: 8px;
    padding: 0.35rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-stock.is-live {
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.36);
}

.product-stock.is-order {
    background: rgba(250, 204, 21, 0.16);
    color: #fde68a;
    border: 1px solid rgba(250, 204, 21, 0.38);
}

.catalog-arena .product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0;
    padding: 1rem;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.product-tags span {
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    color: #bae6fd;
    font-size: 0.72rem;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.catalog-arena .product-card h3 {
    min-height: 2.7rem;
    margin: 0;
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.25;
}

.catalog-arena .product-card p {
    display: -webkit-box;
    min-height: 3.9rem;
    margin: 0;
    overflow: hidden;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.product-price-row strong {
    color: #facc15;
    font-size: 1.25rem;
    line-height: 1;
}

.product-price-row span {
    color: #86efac;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: right;
}

.catalog-arena .product-card-actions {
    display: grid;
    grid-template-columns: 1fr 46px;
    gap: 0.55rem;
    margin-top: 0.2rem;
}

.product-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    background: #22c55e;
    color: #04130a;
    font-weight: 900;
}

.product-add-btn:hover,
.product-add-btn:focus,
.product-add-btn.is-added {
    background: #bef264;
    color: #111827;
}

.product-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: rgba(14, 165, 233, 0.1);
    color: #bae6fd;
}

.product-view-btn:hover,
.product-view-btn:focus {
    background: #0ea5e9;
    color: #fff;
}

.product-modal {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #05080f;
    color: #f8fafc;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.62);
}

.product-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    filter: invert(1);
}

.product-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    min-height: 520px;
}

.product-modal-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(145deg, #111827, #020617);
    background-size: 36px 36px, 36px 36px, auto;
    padding: 2rem;
}

.product-modal-media img {
    width: min(100%, 520px);
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.48));
}

.product-modal-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    padding: 2.25rem;
}

.product-modal-kicker {
    color: #7dd3fc;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-modal-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 950;
    line-height: 0.98;
}

.product-modal-description {
    color: #cbd5e1;
    line-height: 1.6;
}

.product-modal-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
}

.product-modal-price span {
    color: #facc15;
    font-size: 2rem;
    font-weight: 950;
}

.product-modal-price small {
    color: #86efac;
    font-weight: 800;
}

.product-modal-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.product-modal-specs div {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    padding: 0.8rem;
}

.product-modal-specs dt {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-modal-specs dd {
    margin: 0.2rem 0 0;
    color: #f8fafc;
    font-weight: 800;
}

.product-modal-action {
    min-height: 50px;
    background: #22c55e;
    color: #04130a;
    font-weight: 950;
}

.product-modal-action:hover,
.product-modal-action:focus {
    background: #bef264;
    color: #111827;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dashboard-preview {
    border-radius: 1.5rem;
    background: #0f172a;
    padding: 1rem;
    color: #fff;
}

.dashboard-preview .top-bar {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.dashboard-preview .screen {
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.8);
    height: 260px;
    position: relative;
    overflow: hidden;
}

.placeholder-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.05) 75%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

.faq-card h3 {
    margin-bottom: 0.4rem;
}

.contact-card {
    background: #fff;
}

#productsGrid .btn {
    font-weight: 600;
}

footer {
    font-size: 0.95rem;
}

.modal-content {
    border-radius: 1rem;
}

.btn {
    border-radius: 999px;
}

.product-card button {
    border-radius: 999px;
}

.feature-card i,
.faq-card i {
    color: var(--monkey-primary);
}

#loadMoreBtn {
    border-radius: 999px;
}

.badge {
    letter-spacing: 0.03em;
}

.profile-lock-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 11, 29, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1100;
    padding: 1.5rem;
}

.profile-lock-card {
    max-width: 420px;
    margin: 0 auto;
    border-radius: 1.25rem;
}

.profile-lock-card .form-control {
    border-radius: 0.75rem;
}

.profile-lock-card .btn {
    border-radius: 0.75rem;
}

.account-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.account-status-approved {
    border: 1px solid rgba(25, 135, 84, 0.42);
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.18), rgba(25, 135, 84, 0.08));
    color: #0f7a46;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.08), 0 8px 20px rgba(25, 135, 84, 0.16);
}

.account-status-approved::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.account-status-pending {
    border: 1px solid rgba(245, 158, 11, 0.42);
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.account-status-available {
    border: 1px solid rgba(13, 110, 253, 0.32);
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.account-status-closed,
.account-status-neutral {
    border: 1px solid rgba(100, 116, 139, 0.28);
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.patchlist-section {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 55%), #020611;
    color: #fff;
}

.patch-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.patch-card-thumb {
    width: 100%;
    border-radius: 0.85rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #f8fafc;
}

.patch-card-thumb img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.patch-card-body {
    color: #0f172a;
}

.patch-card-body p {
    margin-bottom: 0.75rem;
}

.patch-card-body p:last-child {
    margin-bottom: 0;
}

.patch-card-content.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    margin-bottom: 0;
}

.patch-card-content.collapsible.show {
    max-height: 600px;
    margin-bottom: 1rem;
}

.patch-editor {
    min-height: 180px;
    max-height: 360px;
    overflow-y: auto;
}

.patch-editor:empty:before {
    content: "Digite o conteúdo do patch...";
    color: #94a3b8;
}

.patch-modal .modal-content {
    background: #050b17;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    box-shadow: 0 30px 70px rgba(5, 11, 23, 0.8);
}

.patch-modal-content p {
    margin-bottom: 0.85rem;
    line-height: 1.6;
}

.patch-modal-content p:last-child {
    margin-bottom: 0;
}

.patch-modal-image img {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    max-height: 360px;
}

.patch-trigger {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.patch-trigger:focus,
.patch-trigger:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(8, 15, 40, 0.25);
}

.patch-highlight-card {
    position: relative;
    min-height: 380px;
    border-radius: 1.25rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.patch-highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.75) 90%);
}

.patch-highlight-body {
    position: relative;
    padding: 2rem;
    z-index: 1;
}

.patch-card.compact {
    padding: 1rem;
}

.patch-card-thumb.compact img {
    height: 120px;
}
.patch-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
    .catalog-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-stats {
        width: 100%;
    }

    .catalog-stats div {
        flex: 1;
        min-width: 0;
    }

    .product-modal-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .product-modal-media {
        min-height: 300px;
    }

    .product-modal-info {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .product-thumb {
        min-height: 140px;
    }
    #filtersForm {
        width: 100%;
    }
    #filtersForm .form-select,
    #filtersForm .form-control {
        flex: 1 1 100%;
    }

    .catalog-title {
        font-size: 2.25rem;
    }

    .catalog-toolbar {
        padding: 0.85rem;
    }

    .catalog-status {
        flex-direction: column;
    }

    .catalog-arena .product-card-thumb {
        min-height: 180px;
    }

    .catalog-arena .product-card-thumb img {
        height: 140px;
    }

    .product-modal-specs {
        grid-template-columns: 1fr;
    }

    .product-modal-media {
        min-height: 240px;
        padding: 1.5rem;
    }
}


/* Carrinho */
#cartModal .modal-body { padding: 1.5rem 1.75rem; }
#cartModal .table thead th { background: #f8f9fa; border-bottom: 1px solid #e5e7eb; }
#cartModal .table tbody td { vertical-align: middle; }
#cartModal .quantity-group .btn { min-width: 32px; padding: 4px 10px; }
#cartModal .cart-summary { text-align: right; gap: 0.35rem; }
#cartModal .cart-summary .muted { color: #6c757d; font-size: 0.9rem; }
#cartModal .cart-summary .total-money { font-size: 1.25rem; font-weight: 700; }
#cartModal .cart-summary .original-money { color: #dc3545; text-decoration: line-through; margin-left: 6px; font-size: 0.95rem; }
#cartModal .cart-summary .promo-row { margin-top: 0.5rem; }
#cartModal .promo-actions .btn { min-width: 90px; }
#cartModal .gateway-buttons .btn { min-width: 120px; }
#cartPromoCodeInput { min-width: 180px; }
@media (max-width: 767px) { #cartModal .cart-summary { text-align: left; margin-top: 1rem; } #cartModal .table thead { font-size: 0.9rem; } #cartModal .table tbody td { font-size: 0.95rem; } #cartModal .gateway-buttons { flex-direction: column; align-items: flex-start !important; gap: 0.5rem; } #cartPromoCodeInput { width: 100%; } #cartModal .quantity-group .btn { min-width: 28px; } }/* FAQ hero */
.faq-hero {
    position: relative;
    padding: 4rem 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(83, 109, 254, 0.12), transparent 32%),
        linear-gradient(135deg, #0c1020 0%, #0b182c 60%, #0a1326 100%);
    color: #f8fafc;
    overflow: hidden;
}
.faq-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 40%);
    pointer-events: none;
}
.faq-hero .container { position: relative; z-index: 1; }
.faq-kicker { letter-spacing: 0.15em; text-transform: uppercase; color: #9fb3ff; font-weight: 600; }
.faq-title { color: #f8fafc; font-weight: 800; font-size: 2rem; }
.faq-title span { color: #ffb703; }
.faq-steps { display: flex; flex-direction: column; gap: 1rem; }
.faq-step { display: flex; gap: 1rem; align-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 1rem 1.25rem; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); }
.faq-step-number { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #ffb703; color: #ffb703; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.faq-step-number.large { width: 64px; height: 64px; font-size: 1.35rem; }
.faq-step p { margin: 0; color: #e5e7eb; font-weight: 600; }
.faq-step a { color: #6eb5ff; text-decoration: none; font-weight: 700; }
.faq-step a:hover { text-decoration: underline; }
.faq-allowlist-card { position: relative; border-radius: 18px; padding: 2rem; background: linear-gradient(145deg, rgba(46, 64, 104, 0.7), rgba(12, 19, 38, 0.9)); border: 1px solid rgba(255, 255, 255, 0.12); min-height: 240px; display: flex; align-items: center; gap: 1.25rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.faq-allowlist-body h3 { color: #f8fafc; font-weight: 800; }
.faq-allowlist-body p { color: #d1d5db; margin-bottom: 0; font-weight: 600; }
@media (max-width: 992px) {
    .faq-title { font-size: 1.65rem; }
    .faq-allowlist-card { padding: 1.5rem; }
}
@media (max-width: 576px) {
    .faq-steps { gap: 0.85rem; }
    .faq-step { align-items: flex-start; }
    .faq-step-number { width: 40px; height: 40px; font-size: 1rem; }
    .faq-allowlist-card { flex-direction: row; min-height: auto; }
}
/* Patch content helpers */
.patch-editor { line-height: 1.6; }
.patch-editor .patch-media img,
.patch-detail-content img { max-width: 100%; height: auto; display: block; border-radius: 12px; margin: 0.75rem 0; }
.patch-editor blockquote,
.patch-detail-content blockquote { border-left: 4px solid #d1d5db; padding-left: 0.75rem; color: #475569; font-style: italic; margin: 0.75rem 0; }
.patch-editor hr,
.patch-detail-content hr { border-top: 1px solid #e2e8f0; margin: 1rem 0; }
.patch-video-embed { position: relative; width: 100%; aspect-ratio: 16/9; background: #0b172e; border-radius: 12px; overflow: hidden; margin: 0.75rem 0; box-shadow: 0 15px 35px rgba(0,0,0,0.25); }
.patch-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 576px) { .patch-editor { min-height: 140px; } }

/* Midnight ecommerce redesign */
html:has(body.midnight-store) {
    background: #050008;
}

body.midnight-store {
    --midnight-black: #050008;
    --midnight-ink: #0b0611;
    --midnight-panel: rgba(15, 8, 24, 0.88);
    --midnight-panel-solid: #12091d;
    --midnight-purple: #8b35ff;
    --midnight-purple-strong: #a855f7;
    --midnight-magenta: #ff2fa8;
    --midnight-cyan: #38d7ff;
    --midnight-white: #f8f7ff;
    --midnight-muted: #b8a9c9;
    --midnight-border: rgba(168, 85, 247, 0.36);
    --midnight-shadow: rgba(139, 53, 255, 0.28);
    --mx: 50vw;
    --my: 50vh;
    min-height: 100vh;
    background:
        linear-gradient(115deg, rgba(139, 53, 255, 0.11) 0 1px, transparent 1px 76px),
        repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 58px),
        linear-gradient(180deg, #030005 0%, #0d0513 48%, #040006 100%);
    color: var(--midnight-white);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

body.midnight-store::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(110deg, transparent 0 58%, rgba(56, 215, 255, 0.08) 58% 59%, transparent 59% 100%),
        linear-gradient(145deg, rgba(255, 47, 168, 0.10), transparent 32%, rgba(139, 53, 255, 0.16) 68%, transparent);
    pointer-events: none;
}

body.midnight-store::after {
    display: none;
}

body.midnight-store.is-pointer-active::after {
    opacity: 0;
}

body.midnight-store .patchlist-section,
body.midnight-store main > section.py-5.text-center:first-child {
    display: none !important;
}

body.midnight-store .container {
    position: relative;
}

body.midnight-store .tracking-wide {
    letter-spacing: 0.12em;
}

body.midnight-store .btn,
body.midnight-store .product-card button,
body.midnight-store #loadMoreBtn,
body.midnight-store .modal-content,
body.midnight-store .accordion-item,
body.midnight-store .accordion-button,
body.midnight-store .form-control,
body.midnight-store .form-select {
    border-radius: 8px;
}

body.midnight-store .store-navbar {
    border-bottom: 1px solid rgba(168, 85, 247, 0.32);
    background:
        linear-gradient(90deg, rgba(139, 53, 255, 0.18), rgba(5, 0, 8, 0.92) 32%, rgba(255, 47, 168, 0.12)),
        rgba(5, 0, 8, 0.94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.56);
}

body.midnight-store .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    overflow: hidden;
}

body.midnight-store .brand-logo-frame {
    display: inline-flex;
    width: 130px;
    height: 52px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.midnight-store .midnight-brand-logo {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    transform: scale(1.28);
    transform-origin: center;
}

body.midnight-store .brand-mark {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(56, 215, 255, 0.62);
    background: #07000c;
    color: #fff;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(139, 53, 255, 0.18), 0 0 28px rgba(139, 53, 255, 0.36);
}

body.midnight-store .brand-mark::after {
    content: "";
    position: absolute;
    left: 9px;
    right: -10px;
    bottom: 7px;
    height: 2px;
    background: linear-gradient(90deg, var(--midnight-magenta), transparent);
    transform: skewX(-28deg);
}

body.midnight-store .brand-copy {
    display: grid;
    line-height: 1;
}

body.midnight-store .brand-copy strong {
    color: #fff;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 1.18rem;
    letter-spacing: 0.12em;
}

body.midnight-store .brand-copy small {
    margin-top: 0.18rem;
    color: var(--midnight-cyan);
    font-family: 'Zen Kaku Gothic New', 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

body.midnight-store .store-navbar .nav-link,
body.midnight-store .store-navbar .btn-outline-light {
    border-color: rgba(168, 85, 247, 0.22);
    color: #e9dcff;
    text-transform: uppercase;
}

body.midnight-store .store-navbar .nav-link:hover,
body.midnight-store .store-navbar .nav-link:focus,
body.midnight-store .store-navbar .btn-outline-light:hover,
body.midnight-store .store-navbar .btn-outline-light:focus {
    border-color: var(--midnight-cyan);
    background: rgba(56, 215, 255, 0.12);
    color: #fff;
    box-shadow: 0 0 22px rgba(56, 215, 255, 0.22);
}

body.midnight-store .store-navbar .btn-primary,
body.midnight-store .hero .btn-light,
body.midnight-store .product-add-btn,
body.midnight-store .product-modal-action,
body.midnight-store #cartCheckoutMoney {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, var(--midnight-purple), var(--midnight-magenta));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(139, 53, 255, 0.34);
}

body.midnight-store .store-navbar .btn-primary:hover,
body.midnight-store .hero .btn-light:hover,
body.midnight-store .product-add-btn:hover,
body.midnight-store .product-add-btn:focus,
body.midnight-store .product-add-btn.is-added,
body.midnight-store .product-modal-action:hover,
body.midnight-store .product-modal-action:focus,
body.midnight-store #cartCheckoutMoney:hover {
    background: linear-gradient(135deg, #b86cff, #ff54ba);
    color: #fff;
    transform: translateY(-1px);
}

body.midnight-store .store-navbar #cartCountBadge {
    background: var(--midnight-magenta) !important;
    box-shadow: 0 0 18px rgba(255, 47, 168, 0.64);
}

body.midnight-store .navbar-toggler {
    margin-left: auto;
    border-color: rgba(56, 215, 255, 0.45);
    box-shadow: 0 0 18px rgba(56, 215, 255, 0.14);
}

body.midnight-store .navbar-toggler-icon {
    background-image: none;
}

body.midnight-store .navbar-toggler::before {
    content: "";
    display: block;
    width: 22px;
    height: 14px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    box-shadow: inset 0 6px 0 var(--midnight-cyan);
}

body.midnight-store .midnight-floating-cart {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1042;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(56, 215, 255, 0.54);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--midnight-purple), var(--midnight-magenta));
    color: #fff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38), 0 0 28px rgba(139, 53, 255, 0.4);
}

body.midnight-store .midnight-floating-cart i {
    font-size: 1.3rem;
}

body.midnight-store .midnight-floating-cart span {
    position: absolute;
    top: -0.35rem;
    right: -0.28rem;
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    background: #050008;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
}

body.midnight-store .midnight-floating-cart span.is-empty {
    opacity: 0.72;
}

body.midnight-store .hero {
    min-height: auto;
    background:
        repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 72px),
        linear-gradient(100deg, rgba(5, 0, 8, 0.98) 0%, rgba(19, 6, 31, 0.98) 50%, rgba(45, 8, 69, 0.94) 100%);
}

body.midnight-store .hero .row {
    padding-top: 3rem !important;
    padding-bottom: 1.25rem !important;
}

body.midnight-store .catalog-arena {
    padding-top: 2rem !important;
}

body.midnight-store .hero::before,
body.midnight-store .catalog-arena::before,
body.midnight-store .store-faq::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, transparent 0 24%, rgba(56, 215, 255, 0.12) 24% 24.35%, transparent 24.35% 100%),
        linear-gradient(100deg, transparent 0 67%, rgba(255, 47, 168, 0.13) 67% 67.45%, transparent 67.45% 100%);
    pointer-events: none;
}

body.midnight-store .hero .overlay {
    background:
        linear-gradient(90deg, rgba(5, 0, 8, 0.96) 0%, rgba(5, 0, 8, 0.72) 54%, rgba(5, 0, 8, 0.36) 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
}

body.midnight-store .hero h1,
body.midnight-store .catalog-title,
body.midnight-store .product-modal-title {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

body.midnight-store .hero h1 {
    max-width: 860px;
    color: #fff;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.82;
    text-shadow: 4px 0 0 rgba(139, 53, 255, 0.68), 8px 0 0 rgba(56, 215, 255, 0.18);
}

body.midnight-store .hero .lead {
    max-width: 620px;
    color: #d8caea !important;
    font-size: 1.08rem;
}

body.midnight-store .hero .badge,
body.midnight-store .catalog-kicker,
body.midnight-store .catalog-label,
body.midnight-store .product-modal-kicker {
    border: 1px solid rgba(56, 215, 255, 0.38);
    background: rgba(56, 215, 255, 0.09) !important;
    color: var(--midnight-cyan) !important;
    font-family: 'Zen Kaku Gothic New', 'Inter', sans-serif;
    letter-spacing: 0.16em;
}

body.midnight-store .hero .btn-outline-light,
body.midnight-store .product-view-btn,
body.midnight-store .catalog-load-more {
    border: 1px solid rgba(56, 215, 255, 0.44);
    background: rgba(56, 215, 255, 0.08);
    color: #dff8ff;
    font-weight: 900;
}

body.midnight-store .hero .btn-outline-light:hover,
body.midnight-store .hero .btn-outline-light:focus,
body.midnight-store .product-view-btn:hover,
body.midnight-store .product-view-btn:focus,
body.midnight-store .catalog-load-more:hover,
body.midnight-store .catalog-load-more:focus {
    background: var(--midnight-cyan);
    color: #071019;
}

body.midnight-store .banner-card,
body.midnight-store .glass-card,
body.midnight-store .midnight-logo-stage {
    border: 1px solid var(--midnight-border);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 42%),
        rgba(10, 3, 18, 0.82);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), inset 0 0 38px rgba(139, 53, 255, 0.14);
}

body.midnight-store .banner-card img {
    filter: saturate(1.12) contrast(1.06);
}

body.midnight-store .midnight-logo-stage {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.midnight-store .midnight-hero-logo {
    display: block;
    width: min(100%, 560px);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.46)) drop-shadow(0 0 28px rgba(139, 53, 255, 0.28));
}

body.midnight-store .moon-mark {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Zen Kaku Gothic New', 'Inter', sans-serif;
    font-size: 6.6rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 34px rgba(139, 53, 255, 0.58);
}

body.midnight-store .torii-mark {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 7.7rem;
    height: 168px;
}

body.midnight-store .torii-mark span {
    position: absolute;
    display: block;
    background: linear-gradient(90deg, #4d168f, #a855f7, #4d168f);
    box-shadow: 0 0 24px rgba(139, 53, 255, 0.46);
}

body.midnight-store .torii-mark span:nth-child(1) {
    top: 0;
    left: 4%;
    right: 4%;
    height: 18px;
    transform: skewX(-10deg);
}

body.midnight-store .torii-mark span:nth-child(2) {
    top: 42px;
    left: 18%;
    right: 18%;
    height: 12px;
}

body.midnight-store .torii-mark span:nth-child(3) {
    left: 30%;
    bottom: 0;
    width: 40%;
    height: 126px;
    background:
        linear-gradient(90deg, #4d168f 0 18%, transparent 18% 39%, #8b35ff 39% 61%, transparent 61% 82%, #4d168f 82%);
}

body.midnight-store .speed-car-line {
    position: absolute;
    left: 9%;
    right: 8%;
    bottom: 5rem;
    height: 70px;
    border-bottom: 5px solid var(--midnight-cyan);
    border-left: 4px solid var(--midnight-cyan);
    border-radius: 32px 42px 7px 7px;
    transform: skewX(-18deg);
    filter: drop-shadow(0 0 16px rgba(56, 215, 255, 0.66));
}

body.midnight-store .speed-car-line::before,
body.midnight-store .speed-car-line::after {
    content: "";
    position: absolute;
    bottom: -18px;
    width: 48px;
    height: 48px;
    border: 5px solid var(--midnight-cyan);
    border-radius: 50%;
    background: #07000c;
}

body.midnight-store .speed-car-line::before {
    left: 18%;
}

body.midnight-store .speed-car-line::after {
    right: 16%;
}

body.midnight-store .stage-word {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 1.2rem;
    display: grid;
}

body.midnight-store .stage-word strong {
    color: #fff;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 700;
    line-height: 0.85;
    text-shadow: 3px 0 0 var(--midnight-purple), 6px 0 0 rgba(255, 47, 168, 0.42);
}

body.midnight-store .stage-word small {
    color: var(--midnight-purple-strong);
    font-family: 'Zen Kaku Gothic New', 'Inter', sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
}

body.midnight-store .catalog-arena,
body.midnight-store .store-faq {
    position: relative;
    background:
        repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 66px),
        linear-gradient(180deg, #050008 0%, #13091d 58%, #060009 100%);
    color: var(--midnight-white);
}

body.midnight-store .catalog-hero {
    padding-top: 0.4rem;
}

body.midnight-store .catalog-title {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    text-shadow: 3px 0 0 rgba(139, 53, 255, 0.6);
}

body.midnight-store .catalog-copy,
body.midnight-store .store-faq-copy {
    color: var(--midnight-muted);
}

body.midnight-store .catalog-stats div,
body.midnight-store .catalog-toolbar,
body.midnight-store .store-faq .accordion-item,
body.midnight-store .modal-content {
    border: 1px solid var(--midnight-border);
    background: var(--midnight-panel);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

body.midnight-store .catalog-stats strong {
    color: #fff;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 1.9rem;
    text-shadow: 2px 0 0 var(--midnight-magenta);
}

body.midnight-store .catalog-stats span,
body.midnight-store .catalog-status,
body.midnight-store #cartModal .cart-summary .muted {
    color: var(--midnight-muted);
}

body.midnight-store .catalog-search i {
    color: var(--midnight-cyan);
}

body.midnight-store .catalog-search .form-control,
body.midnight-store .catalog-control,
body.midnight-store #cartModal .form-control,
body.midnight-store #cartModal .form-select,
body.midnight-store #loginModal .form-control {
    border-color: rgba(168, 85, 247, 0.34);
    background-color: rgba(7, 0, 12, 0.92);
    color: #fff;
}

body.midnight-store .catalog-search .form-control::placeholder,
body.midnight-store .form-control::placeholder {
    color: #7f6a96;
}

body.midnight-store .catalog-search .form-control:focus,
body.midnight-store .catalog-control:focus,
body.midnight-store .form-control:focus,
body.midnight-store .form-select:focus {
    border-color: var(--midnight-cyan);
    box-shadow: 0 0 0 0.18rem rgba(56, 215, 255, 0.16);
}

body.midnight-store .catalog-clear {
    border-color: rgba(255, 47, 168, 0.44);
    background: rgba(255, 47, 168, 0.10);
    color: #ffd8ef;
}

body.midnight-store .catalog-clear:hover,
body.midnight-store .catalog-clear:focus {
    background: var(--midnight-magenta);
    color: #fff;
}

body.midnight-store #catalogActiveFilters {
    color: var(--midnight-cyan);
}

body.midnight-store .catalog-empty {
    border-color: rgba(168, 85, 247, 0.38);
    background: rgba(10, 3, 18, 0.72);
    color: var(--midnight-muted);
}

body.midnight-store .catalog-empty i {
    color: var(--midnight-magenta);
}

body.midnight-store .catalog-arena .product-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --glow-x: 50%;
    --glow-y: 50%;
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
    border-color: rgba(168, 85, 247, 0.26);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 34%),
        linear-gradient(180deg, rgba(22, 8, 34, 0.98), rgba(5, 0, 8, 0.98));
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.46);
    transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

body.midnight-store .catalog-arena .product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(100deg, transparent 0 52%, rgba(56, 215, 255, 0.16) 52% 52.6%, transparent 52.6%),
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(139, 53, 255, 0.22), transparent 34%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

body.midnight-store .catalog-arena .product-card:hover {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-7px);
    border-color: rgba(56, 215, 255, 0.72);
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.56), 0 0 34px rgba(139, 53, 255, 0.24);
}

body.midnight-store .catalog-arena .product-card:hover::before {
    opacity: 1;
}

body.midnight-store .catalog-arena .product-card-thumb,
body.midnight-store .product-modal-media {
    background:
        repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 42px),
        linear-gradient(145deg, #140820, #050008);
}

body.midnight-store .catalog-arena .product-card-thumb::before {
    content: "";
    position: absolute;
    left: -16%;
    right: -16%;
    top: 46%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--midnight-cyan), var(--midnight-purple), transparent);
    transform: skewX(-24deg);
    opacity: 0.74;
}

body.midnight-store .catalog-arena .product-card-thumb::after {
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--midnight-cyan), var(--midnight-purple), var(--midnight-magenta));
}

body.midnight-store .catalog-arena .product-card-thumb img,
body.midnight-store .product-modal-media img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.56)) drop-shadow(0 0 22px rgba(139, 53, 255, 0.26));
    transition: transform 0.24s ease, filter 0.24s ease;
}

body.midnight-store .catalog-arena .product-card:hover .product-card-thumb img {
    transform: translateX(4px) scale(1.045);
}

body.midnight-store .catalog-arena .product-card-body {
    position: relative;
    z-index: 1;
}

body.midnight-store .product-stock {
    z-index: 2;
    border-radius: 8px;
}

body.midnight-store .product-stock.is-live {
    border-color: rgba(56, 215, 255, 0.54);
    background: rgba(56, 215, 255, 0.12);
    color: #dff8ff;
}

body.midnight-store .product-stock.is-order {
    border-color: rgba(255, 47, 168, 0.48);
    background: rgba(255, 47, 168, 0.12);
    color: #ffd8ef;
}

body.midnight-store .product-tags span {
    border-color: rgba(168, 85, 247, 0.34);
    color: #e5d6ff;
    background: rgba(139, 53, 255, 0.09);
}

body.midnight-store .catalog-arena .product-card h3 {
    color: #fff;
}

body.midnight-store .catalog-arena .product-card p {
    color: #b8a9c9;
}

body.midnight-store .product-price-row strong,
body.midnight-store .product-modal-price span,
body.midnight-store #cartModal .cart-summary .total-money {
    color: #fff;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    text-shadow: 2px 0 0 var(--midnight-purple);
}

body.midnight-store .product-price-row span,
body.midnight-store .product-modal-price small,
body.midnight-store #cartModal .cart-summary strong {
    color: var(--midnight-cyan);
}

body.midnight-store .product-modal {
    background:
        linear-gradient(120deg, rgba(139, 53, 255, 0.16), transparent 45%),
        #050008;
}

body.midnight-store .product-modal-description,
body.midnight-store .store-faq .accordion-body,
body.midnight-store .modal-body,
body.midnight-store .text-muted {
    color: var(--midnight-muted) !important;
}

body.midnight-store .product-modal-specs div {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(7, 0, 12, 0.72);
}

body.midnight-store .product-modal-specs dt {
    color: var(--midnight-cyan);
}

body.midnight-store .product-modal-specs dd,
body.midnight-store .modal-title,
body.midnight-store .table {
    color: #fff;
}

body.midnight-store .store-faq-title {
    color: #fff;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 700;
    text-transform: uppercase;
}

body.midnight-store .store-faq .accordion-button {
    background: rgba(7, 0, 12, 0.92);
    color: #fff;
    font-weight: 900;
}

body.midnight-store .store-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(139, 53, 255, 0.3), rgba(255, 47, 168, 0.16));
    color: #fff;
}

body.midnight-store .store-footer {
    border-top: 1px solid rgba(168, 85, 247, 0.32);
    background: #050008;
    color: var(--midnight-muted);
}

body.midnight-store .store-footer a {
    border-color: rgba(168, 85, 247, 0.24);
    color: #e5d6ff;
}

body.midnight-store .store-footer a:hover,
body.midnight-store .store-footer a:focus {
    border-color: var(--midnight-cyan);
    background: rgba(56, 215, 255, 0.1);
    color: #fff;
}

body.midnight-store #cartModal .modal-content,
body.midnight-store #loginModal .modal-content {
    background:
        linear-gradient(135deg, rgba(139, 53, 255, 0.12), transparent 42%),
        #08020e;
    color: #fff;
}

body.midnight-store #cartModal .table thead th {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(139, 53, 255, 0.16);
    color: #fff;
}

body.midnight-store #cartModal .table td,
body.midnight-store #cartModal .table th {
    border-color: rgba(168, 85, 247, 0.18);
}

body.midnight-store #cartModal .btn-outline-primary,
body.midnight-store #cartModal .btn-outline-secondary,
body.midnight-store #cartModal .btn-outline-danger {
    border-color: rgba(168, 85, 247, 0.38);
    color: #e5d6ff;
}

body.midnight-store #cartCheckoutGems,
body.midnight-store #loginSubmit {
    border: 1px solid rgba(56, 215, 255, 0.44);
    background: rgba(56, 215, 255, 0.12);
    color: #dff8ff;
    font-weight: 900;
}

body.midnight-store #cartCheckoutGems:hover,
body.midnight-store #loginSubmit:hover {
    background: var(--midnight-cyan);
    color: #071019;
}

body.midnight-store .alert-info {
    border-color: rgba(56, 215, 255, 0.28);
    background: rgba(56, 215, 255, 0.08);
    color: #dff8ff;
}

.midnight-cursor,
.midnight-cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1050;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.08s ease;
}

.midnight-cursor {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.86), 0 0 34px rgba(56, 215, 255, 0.58);
}

.midnight-cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(56, 215, 255, 0.72);
    transform: translate(-50%, -50%) rotate(45deg);
}

body.midnight-store.is-pointer-active .midnight-cursor,
body.midnight-store.is-pointer-active .midnight-cursor-ring {
    opacity: 1;
}

.midnight-speed-trail {
    position: fixed;
    z-index: 1049;
    width: 92px;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 215, 255, 0.9), rgba(139, 53, 255, 0.62), transparent);
    pointer-events: none;
    transform: translate(-12px, -1px) skewX(-28deg);
    animation: midnightTrail 0.46s ease-out forwards;
}

@keyframes midnightTrail {
    from {
        opacity: 0.9;
        transform: translate(-12px, -1px) skewX(-28deg) scaleX(1);
    }
    to {
        opacity: 0;
        transform: translate(-82px, -1px) skewX(-28deg) scaleX(0.28);
    }
}

@media (max-width: 991.98px) {
    body.midnight-store .navbar-toggler {
        display: inline-flex !important;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0.35rem;
    }

    body.midnight-store .navbar-collapse {
        margin-top: 1rem;
        border: 1px solid rgba(168, 85, 247, 0.26);
        background: rgba(5, 0, 8, 0.96);
        padding: 0.85rem;
    }

    body.midnight-store .hero {
        min-height: auto;
    }

    body.midnight-store .hero h1 {
        font-size: clamp(3.2rem, 16vw, 5.4rem);
    }

    body.midnight-store .midnight-logo-stage {
        min-height: 360px;
    }

    body.midnight-store .moon-mark {
        font-size: 5rem;
    }
}

@media (min-width: 1200px) {
    body.midnight-store .midnight-floating-cart {
        display: none;
    }
}

@media (max-width: 768px) {
    body.midnight-store .catalog-hero {
        align-items: flex-start;
    }

    body.midnight-store .catalog-stats {
        width: 100%;
    }

    body.midnight-store .catalog-stats div {
        min-width: 0;
    }

    body.midnight-store .product-modal-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    body.midnight-store .navbar-brand {
        gap: 0.54rem;
    }

    body.midnight-store .brand-logo-frame {
        width: 112px;
        height: 72px;
    }

    body.midnight-store .midnight-brand-logo {
        width: 96px;
        height: 96px;
        transform: scale(1.25);
    }

    body.midnight-store .navbar-toggler {
        position: absolute;
        top: 1.25rem;
        right: 0.75rem;
        z-index: 3;
        display: inline-flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(255, 47, 168, 0.16) !important;
    }

    body.midnight-store .brand-mark {
        width: 36px;
        height: 36px;
    }

    body.midnight-store .brand-copy strong {
        font-size: 0.98rem;
    }

    body.midnight-store .hero h1 {
        font-size: clamp(2.8rem, 18vw, 4.5rem);
    }

    body.midnight-store .hero .d-flex.flex-wrap.gap-3 > .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    body.midnight-store .midnight-logo-stage {
        min-height: 300px;
        padding: 1.2rem;
    }

    body.midnight-store .midnight-hero-logo {
        width: min(112%, 360px);
    }

    body.midnight-store .stage-word {
        left: 1.2rem;
        right: 1.2rem;
    }

    body.midnight-store .stage-word small {
        font-size: 1.42rem;
    }

    body.midnight-store .moon-mark {
        top: 1rem;
        right: 1rem;
        font-size: 4rem;
    }

    body.midnight-store .torii-mark {
        left: 1.2rem;
        right: 1.2rem;
        bottom: 6.4rem;
        height: 128px;
    }

    body.midnight-store .speed-car-line {
        bottom: 4.4rem;
        height: 56px;
    }

    .midnight-cursor,
    .midnight-cursor-ring,
    .midnight-speed-trail {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.midnight-store::after,
    .midnight-cursor,
    .midnight-cursor-ring,
    .midnight-speed-trail {
        display: none;
    }

    body.midnight-store .catalog-arena .product-card,
    body.midnight-store .catalog-arena .product-card-thumb img,
    body.midnight-store .btn {
        transition: none;
        transform: none !important;
    }
}
