:root {
    --store-red: #99000d;
    --store-red-light: #d00016;
    --store-black: #050509;
    --store-dark: #0b0b12;
    --store-soft: #f5f6f8;
    --store-text: #111827;
    --store-muted: #6b7280;
    --store-border: #e5e7eb;
    --store-green: #16a34a;
    --store-shadow: 0 22px 65px rgba(15,23,42,.12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body.ecommerce-body {
    margin: 0;
    background: var(--store-soft);
    color: var(--store-text);
    font-family: 'Segoe UI',Arial,sans-serif
}

.store-main {
    padding-top: 172px
}

.store-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5,5,9,.96);
    backdrop-filter: blur(18px);
    z-index: 9999;
    box-shadow: 0 12px 35px rgba(0,0,0,.25)
}

.store-topbar {
    background: linear-gradient(90deg,#050509,#99000d);
    color: #fff;
    font-size: .82rem;
    font-weight: 800
}

.store-topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.store-topbar a {
    color: #fff;
    text-decoration: none;
    opacity: .95
}

.store-navbar {
    border-bottom: 1px solid rgba(255,255,255,.08)
}

.store-nav-content {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 22px
}

.store-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    min-width: 245px
}

    .store-brand:hover {
        color: #fff
    }

    .store-brand img {
        height: 48px;
        background: #fff;
        border-radius: 13px;
        padding: 6px 10px
    }

    .store-brand strong {
        display: block;
        font-size: 1.18rem;
        font-weight: 950;
        line-height: 1
    }

    .store-brand span {
        color: #d1d5db;
        font-size: .82rem;
        font-weight: 800
    }

.store-search {
    flex: 1;
    min-height: 50px;
    background: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    padding: 0 6px 0 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,.18)
}

    .store-search i {
        color: var(--store-red);
        font-size: 1.05rem;
        margin-right: 10px
    }

    .store-search input {
        flex: 1;
        border: none;
        outline: none;
        font-weight: 800;
        color: #111827;
        min-width: 0
    }

    .store-search button {
        border: none;
        background: var(--store-red);
        color: #fff;
        border-radius: 999px;
        padding: 11px 22px;
        font-weight: 950
    }

        .store-search button:hover {
            background: var(--store-red-light)
        }

.store-actions {
    display: flex;
    gap: 10px
}

.store-action-btn {
    width: 82px;
    min-height: 54px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: .78rem;
    font-weight: 900
}

    .store-action-btn i {
        font-size: 1.15rem
    }

    .store-action-btn:hover {
        color: #fff;
        background: rgba(153,0,13,.45)
    }

.store-category-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb
}

.store-category-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 10px;
    padding-bottom: 10px
}

    .store-category-inner::-webkit-scrollbar {
        display: none
    }

    .store-category-inner a {
        white-space: nowrap;
        text-decoration: none;
        color: #111827;
        font-weight: 950;
        font-size: .88rem;
        padding: 9px 15px;
        border-radius: 999px;
        background: #f3f4f6;
        border: 1px solid #e5e7eb
    }

        .store-category-inner a:hover {
            background: var(--store-red);
            color: #fff
        }

.store-hero {
    background: radial-gradient(circle at top right,rgba(208,0,22,.32),transparent 35%),linear-gradient(135deg,#050509 0%,#120006 48%,#99000d 100%);
    color: #fff;
    padding: 48px 0
}

.store-hero-card {
    min-height: 360px;
    border-radius: 34px;
    padding: 44px;
    background: linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
    overflow: hidden
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 950;
    margin-bottom: 18px
}

.store-hero h1 {
    font-size: clamp(2.3rem,4vw,4.4rem);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -1.8px;
    max-width: 850px
}

    .store-hero h1 span {
        color: #ff4054
    }

.store-hero p {
    max-width: 730px;
    color: #e5e7eb;
    font-size: 1.1rem;
    line-height: 1.75;
    margin-top: 18px
}

.store-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px
}

.store-btn-primary, .store-btn-outline {
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    gap: 9px;
    align-items: center
}

.store-btn-primary {
    background: var(--store-red);
    color: #fff
}

    .store-btn-primary:hover {
        background: var(--store-red-light);
        color: #fff
    }

.store-btn-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.34)
}

    .store-btn-outline:hover {
        color: #fff;
        background: rgba(255,255,255,.10)
    }

.store-section {
    padding: 58px 0
}

.store-products-section {
    background: #f5f6f8
}

.store-dark-strip {
    background: #07070c;
    color: #fff
}

.store-section-header {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

    .store-section-header > div {
        max-width: 800px;
        text-align: center;
    }

    .store-section-header h2 {
        margin: 6px 0 0;
        font-weight: 950;
        letter-spacing: -1px;
        color: #111827
    }

    .store-section-header p {
        color: var(--store-muted);
        margin: 8px 0 0;
        font-weight: 650
    }

.store-dark-strip .store-section-header h2 {
    color: #fff
}

.store-dark-strip .store-section-header p {
    color: #d1d5db
}

.store-product-card {
    height: 100%;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(229,231,235,.9);
    box-shadow: 0 16px 45px rgba(15,23,42,.08);
    transition: .22s ease;
    position: relative;
    display: flex;
    flex-direction: column
}

    .store-product-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--store-shadow)
    }

.store-product-media {
    position: relative;
    aspect-ratio: 4/3;
    background: #e5e7eb;
    overflow: hidden
}

.store-system-media {
    background: radial-gradient(circle at top right,rgba(208,0,22,.45),transparent 35%),linear-gradient(135deg,#050509,#111827 55%,#99000d);
    display: grid;
    place-items: center
}

.store-media-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,.11);
    filter: blur(10px)
}

.store-system-icon {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 2.8rem;
    z-index: 1;
    box-shadow: 0 22px 60px rgba(0,0,0,.25)
}

.store-product-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    z-index: 2
}

.store-tag {
    background: rgba(5,5,9,.82);
    color: #fff;
    border-radius: 999px;
    padding: 7px 10px;
    font-weight: 950;
    font-size: .72rem;
    backdrop-filter: blur(8px)
}

    .store-tag.red {
        background: rgba(153,0,13,.92)
    }

.store-product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.store-product-price {
    color: var(--store-red);
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.5px
}

.store-product-installment {
    color: var(--store-green);
    font-size: .9rem;
    font-weight: 900;
    margin-top: 5px
}

.store-product-title {
    margin: 12px 0 8px;
    font-size: 1.05rem;
    font-weight: 950;
    color: #111827;
    line-height: 1.25
}

.store-product-desc {
    color: var(--store-muted);
    font-size: .92rem;
    line-height: 1.5;
    min-height: 66px;
    margin-bottom: 0
}

.store-product-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0
}

    .store-product-meta span {
        background: #f3f4f6;
        border: 1px solid #e5e7eb;
        color: #374151;
        border-radius: 999px;
        padding: 6px 10px;
        font-size: .78rem;
        font-weight: 900
    }

.store-product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: auto
}

.store-buy-btn, .store-ai-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 12px 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 950
}

.store-buy-btn {
    background: var(--store-red);
    color: #fff
}

    .store-buy-btn:hover {
        background: var(--store-red-light);
        color: #fff
    }

.store-ai-btn {
    background: #111827;
    color: #fff
}

    .store-ai-btn:hover {
        background: #050509;
        color: #fff
    }

.store-feature-card {
    height: 100%;
    background: linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px;
    padding: 32px 18px;
    text-align: center;
    color: #fff;
    transition: .22s
}

    .store-feature-card:hover {
        transform: translateY(-6px)
    }

    .store-feature-card i {
        font-size: 2rem;
        color: #ff4054;
        margin-bottom: 14px
    }

    .store-feature-card h5 {
        font-weight: 950;
        margin: 0
    }

.store-footer {
    background: #050509;
    color: #fff;
    padding: 46px 0 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 0;
    clear: both
}

    .store-footer h5 {
        font-weight: 950;
        margin-bottom: 14px
    }

    .store-footer p {
        color: #d1d5db;
        line-height: 1.6;
        margin-bottom: 8px
    }

    .store-footer hr {
        border-color: rgba(255,255,255,.12);
        margin: 28px 0 18px
    }

.store-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}

    .store-footer-brand img {
        max-height: 54px;
        background: #fff;
        border-radius: 12px;
        padding: 6px 12px
    }

    .store-footer-brand strong {
        font-size: 1.2rem;
        font-weight: 950
    }

.store-copy {
    color: #9ca3af;
    font-size: .9rem;
    text-align: center
}

.store-whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 22px;
    bottom: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 14px 35px rgba(0,0,0,.28);
    z-index: 9998
}

    .store-whatsapp-float:hover {
        color: #fff;
        transform: scale(1.06)
    }

.store-mobile-actions {
    display: none
}

@media(max-width:991px) {
    .store-main {
        padding-top: 194px
    }

    .store-nav-content {
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        display: grid;
        grid-template-columns: 1fr
    }

    .store-brand {
        min-width: 0
    }

    .store-actions {
        display: none
    }

    .store-hero-card {
        padding: 30px;
        border-radius: 26px
    }
}

@media(max-width:768px) {
    .store-main {
        padding-top: 184px
    }

    .store-topbar-inner {
        justify-content: center;
        text-align: center
    }

    .store-topbar a {
        display: none
    }

    .store-search {
        border-radius: 18px;
        padding: 9px 9px 9px 14px
    }

        .store-search button {
            padding: 10px 14px
        }

    .store-hero {
        padding: 26px 0
    }

    .store-hero-card {
        padding: 24px
    }

    .store-hero h1 {
        font-size: 2.25rem
    }

    .store-hero-buttons .store-btn-primary, .store-hero-buttons .store-btn-outline {
        width: 100%;
        justify-content: center
    }

    .store-section {
        padding: 38px 0
    }

    .store-section-header {
        align-items: flex-start;
        flex-direction: column
    }

    .store-whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
        font-size: 28px
    }
}

.store-product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #050509, #99000d);
    color: #fff;
    font-size: 3.2rem;
}

.store-empty {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 60px 24px;
    text-align: center;
    box-shadow: var(--store-shadow);
}

    .store-empty i {
        font-size: 3rem;
        color: #99000d;
        margin-bottom: 18px;
    }

    .store-empty h3 {
        font-weight: 950;
    }

    .store-empty p {
        color: #6b7280;
        font-weight: 700;
    }

.store-detail-subtitle {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 650;
    margin-bottom: 18px;
}

.store-btn-back {
    width: 100%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    border-radius: 16px;
    padding: 12px 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 950;
}

    .store-btn-back:hover {
        background: #f3f4f6;
        color: #111827;
    }

.store-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--store-shadow);
    height: 100%;
}

    .store-info-card span {
        color: #99000d;
        font-size: .8rem;
        text-transform: uppercase;
        letter-spacing: 1.4px;
        font-weight: 950;
    }

    .store-info-card h2 {
        font-weight: 950;
        letter-spacing: -1px;
        margin: 8px 0 18px;
    }

.store-benefit-list {
    display: grid;
    gap: 12px;
}

    .store-benefit-list div {
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 13px 14px;
        color: #374151;
        font-weight: 750;
        line-height: 1.45;
    }

    .store-benefit-list i {
        color: #16a34a;
        margin-right: 7px;
    }

.store-thumb {
    border: none;
    padding: 0;
}

.store-thumb-video-bg {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #050509, #99000d);
    color: #fff;
    font-size: 1.25rem;
}

/* ============================================================
   NITRA STORE - CORREÇÃO DEFINITIVA DA PÁGINA DE DETALHES
   Cole no FINAL do wwwroot/css/ecommerce.css
============================================================ */

.store-product-detail-page {
    background: #f5f6f8;
    padding: 42px 0 64px;
}

.store-product-detail-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 22px;
    box-shadow: 0 22px 65px rgba(15,23,42,.12);
    overflow: hidden;
}

/* Galeria */
.store-gallery-box {
    width: 100%;
}

.store-main-media {
    width: 100%;
    height: 520px;
    background: #0b0b12;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid #e5e7eb;
}

    .store-main-media img,
    .store-main-media video,
    .store-main-media iframe {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        border: 0;
        background: #0b0b12;
    }

.store-detail-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-bottom: 6px;
    overflow-x: auto;
}

.store-detail-thumb {
    width: 92px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid transparent;
    background: #111827;
    cursor: pointer;
    padding: 0;
}

    .store-detail-thumb.active {
        border-color: #99000d;
    }

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

/* Caixa de compra */
.store-product-buy-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    position: sticky;
    top: 198px;
}

    .store-product-buy-box h1 {
        font-size: clamp(1.9rem, 2.5vw, 3rem);
        line-height: 1.08;
        font-weight: 950;
        letter-spacing: -1.1px;
        color: #111827;
        margin: 8px 0 12px;
    }

.store-detail-kicker {
    color: #99000d;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: 1.4px;
}

.store-detail-subtitle {
    color: #6b7280;
    font-size: 1.02rem;
    line-height: 1.55;
    font-weight: 700;
    margin-bottom: 18px;
}

.store-detail-price {
    color: #99000d;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -1px;
}

.store-detail-installment {
    color: #16a34a;
    font-weight: 950;
    margin-top: 8px;
}

.store-detail-actions {
    display: grid;
    gap: 11px;
    margin: 24px 0;
}

.store-buy-btn,
.store-ai-btn,
.store-btn-back {
    width: 100%;
    border-radius: 16px;
    padding: 13px 15px;
    text-align: center;
    text-decoration: none;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.store-btn-back {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
}

    .store-btn-back:hover {
        background: #f3f4f6;
        color: #111827;
    }

/* Especificações */
.store-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.store-spec {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 13px;
}

    .store-spec span {
        display: block;
        color: #6b7280;
        font-size: .75rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .store-spec strong {
        display: block;
        color: #111827;
        font-weight: 950;
        margin-top: 3px;
    }

/* Cards inferiores */
.store-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 22px 65px rgba(15,23,42,.12);
    height: 100%;
}

    .store-info-card span {
        color: #99000d;
        font-size: .8rem;
        text-transform: uppercase;
        letter-spacing: 1.4px;
        font-weight: 950;
    }

    .store-info-card h2 {
        font-weight: 950;
        letter-spacing: -1px;
        margin: 8px 0 18px;
    }

.store-detail-description {
    color: #374151;
    line-height: 1.75;
    font-weight: 650;
}

.store-benefit-list {
    display: grid;
    gap: 12px;
}

    .store-benefit-list div {
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 13px 14px;
        color: #374151;
        font-weight: 800;
        line-height: 1.45;
    }

    .store-benefit-list i {
        color: #16a34a;
        margin-right: 7px;
    }

.store-thumb-video-bg {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #050509, #99000d);
    color: #fff;
    font-size: 1.25rem;
}

/* Mobile */
@media (max-width: 991px) {
    .store-product-buy-box {
        position: static;
        margin-top: 0;
    }

    .store-main-media {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .store-product-detail-page {
        padding: 24px 0 86px;
    }

    .store-product-detail-card {
        padding: 14px;
        border-radius: 22px;
    }

    .store-main-media {
        height: 310px;
        border-radius: 18px;
    }

    .store-product-buy-box {
        padding: 20px;
        border-radius: 22px;
    }

    .store-spec-grid {
        grid-template-columns: 1fr;
    }
}
