.store-hero {
    background: radial-gradient(circle at 20% 20%, rgba(83, 93, 255, 0.18), rgba(8, 10, 28, 0.9) 45%), linear-gradient(135deg, #090b1a, #0c1229);
    padding: 48px 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.store-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #c7d6ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: .8rem;
}

.store-title {
    font-weight: 800;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 14px 0 8px;
}

.gradient-text {
    background: linear-gradient(135deg, #7ee0ff, #8f82ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.store-subtitle {
    color: #c8d2e5;
    font-size: 1.05rem;
    max-width: 620px;
}

.store-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #a9b8d8;
}

.store-trust > div {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.store-hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.store-hero-badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: #ffc107;
    color: #0c0f1e;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: .8rem;
}

.store-hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.kpi-label {
    color: #9fb1d8;
    font-size: .8rem;
}

.kpi-value {
    font-weight: 800;
    font-size: 1.15rem;
}

.store-hero-hint {
    margin-top: 12px;
    color: #b8c3de;
    font-size: .9rem;
}

.store-section {
    padding: 36px 0 60px;
    background: radial-gradient(circle at 10% 10%, rgba(125, 255, 214, 0.05), transparent 30%), #050814;
}

.store-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.store-tab {
    border: 0;
    background: transparent;
    color: #c8d2e5;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    transition: all .15s ease;
}

.store-tab.active,
.store-tab:hover {
    background: linear-gradient(135deg, #6fd0ff, #a58bff);
    color: #050814;
}

.store-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.store-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #0b0f20;
}

.store-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.store-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffc107;
    color: #0b0f20;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
}

.store-card-title {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.25;
    word-break: break-word;
}

.store-card-sub {
    color: #9fb1d8;
    font-size: .9rem;
}

.store-card-price {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 800;
    font-size: 1.05rem;
}

.store-card-price small {
    color: #b1bedb;
}

.store-price-strike {
    text-decoration: line-through;
    color: #9ca8c5;
    font-weight: 600;
}

.store-price-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    color: #f1f5ff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: .95rem;
    flex-wrap: wrap;
}

.store-price-line.store-price-nft {
    display: block;
}

.store-price-line.store-price-nft span {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.store-price-line.store-price-nft span:first-child {
    white-space: normal;
    text-align: left;
}

.store-price-line span:first-child {
    white-space: nowrap;
}

.store-price-line span:last-child {
    flex: 1 1 0;
    text-align: right;
    word-break: break-word;
}

.store-price-line.store-price-today {
    display: block;
}

.store-price-line.store-price-today .store-price-label {
    display: block;
    white-space: normal;
}

.store-price-line.store-price-today .store-price-value {
    display: block;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
}

.store-price-line.store-price-credit {
    display: block;
}

.store-price-line.store-price-credit .store-price-label {
    display: block;
    white-space: normal;
}

.store-price-line.store-price-credit .store-price-value {
    display: block;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
}

.store-price-label {
    color: #a9b6d6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: .75rem;
}

.store-price-nft {
    border-color: rgba(123, 227, 255, 0.4);
    color: #8be1ff;
}

.store-price-hint {
    color: #9fb7ff;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    word-break: break-word;
}

.store-card-footer {
    padding: 12px 14px 16px;
}

.store-btn {
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 12px;
    border: 0;
    background: linear-gradient(135deg, #7be3ff, #7f7bff);
    color: #050814;
    transition: transform .12s ease, box-shadow .12s ease;
}

.store-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(127, 137, 255, 0.3);
}

.store-empty {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
}

.empty-icon {
    font-size: 2.6rem;
    color: #8aa2d8;
}

.store-cart-btn {
    position: fixed;
    right: 18px;
    bottom: 150px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #7ee0ff, #7f7bff);
    color: #050814;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    z-index: 1090;
}

.store-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-weight: 800;
    font-size: .8rem;
}

.store-cart-offcanvas {
    --bs-offcanvas-zindex: 1300; /* garante que a instância do offcanvas fique no topo */
    background: linear-gradient(180deg, #060815, #050713);
    color: #e6ebff;
    width: min(420px, 100%);
    z-index: 1300 !important; /* redundância para navegar sobre qualquer barra */
}
.offcanvas-backdrop.show {
    --bs-offcanvas-backdrop-zindex: 1299;
    z-index: 1299 !important; /* acima das navs/barras promocionais */
}

.desktop-bottom-nav {
    background: rgba(7, 10, 24, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.store-cart-items {
    max-height: 50vh;
    overflow-y: auto;
}

.store-cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-cart-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #0c1022;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.store-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-cart-title {
    font-weight: 700;
}

.store-cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 4px 8px;
}

.store-cart-qty button {
    background: transparent;
    border: 0;
    color: #e6ebff;
    font-weight: 800;
}

.store-cart-nft-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-cart-nft-line {
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    word-break: break-word;
}

.store-nft-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: .9rem;
}

.store-cart-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

.store-payment-box {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(140% 160% at 10% 0%, #151c35 0%, #060915 55%, #050711 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.store-pay-option {
    padding: 12px 12px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-pay-option .form-check-input {
    background: transparent;
    border-color: rgba(112, 180, 255, .5);
}

.store-pay-option .form-check-input:checked {
    background: linear-gradient(135deg, #63d2ff, #4b7bff);
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(99, 210, 255, .3);
}

.store-nft-payment {
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
}

.store-toast {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #0c1229;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e6ebff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    z-index: 2000;
    display: none;
}

.store-toast.show {
    display: block;
}

@media (max-width: 768px) {
    .store-hero {
        padding-top: 24px;
    }
    .store-hero-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .store-section {
        padding: 48px 0 90px;
    }
    .store-hero .container,
    .store-section .container {
        max-width: 1180px;
    }
    .store-card-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
    .store-card img {
        aspect-ratio: 16 / 9;
    }
    .store-card {
        min-height: 100%;
    }
    .desktop-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1085;
    }
    .has-desktop-bottom-nav {
        padding-bottom: 82px;
    }
}

