.produtoCard {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 18px;
    background: var(--store-surface);
    box-shadow: 0 4px 14px rgba(23, 32, 51, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.produtoCard:hover {
    transform: translateY(-3px);
    box-shadow: var(--store-shadow);
}

.produtoCardTopo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 0;
}

.produtoNivel {
    color: var(--store-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.produtoNivel {
    padding: 5px 9px;
    border-radius: 20px;
    background: #e9f3ff;
    color: var(--store-primary-dark);
}

.produtoImagem {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    margin: 14px 16px 0;
    padding: 22px;
    border-radius: 14px;
    background-color: #f7f9fc;
    background-image: url('../store/img/planoFundoTabuleiro.png?v=1');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
}

.imgJogos {
    width: min(105px, 44%);
    max-height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 6px 8px rgba(23, 32, 51, 0.14));
    max-width: 100%;
}

.produtoConteudo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px;
    min-width: 0;
}

.produtoConteudo h3 {
    margin: 0;
    color: var(--store-text);
    font-family: inherit;
    font-size: 1.25rem;
    line-height: 1.25;
    text-align: left;
}

.produtoDescricao {
    margin: 0;
    color: var(--store-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.produtoOpcoes {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.produtoOpcoes legend {
    width: 100%;
    margin-bottom: 6px;
    color: #3e4b5e;
    font-size: 0.82rem;
    font-weight: 800;
}

.produtoOpcao {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

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

.produtoOpcao span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid var(--store-border);
    border-radius: 9px;
    background: #fff;
    color: #445066;
    font-size: 0.84rem;
    font-weight: 700;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.produtoOpcao input:checked + span {
    border-color: #8bb8e9;
    background: #eaf4ff;
    color: var(--store-primary-dark);
}

.produtoOpcao input:focus-visible + span {
    outline: 3px solid rgba(23, 105, 194, 0.25);
    outline-offset: 2px;
}

.produtoOpcoes.operacoesDestacadas {
    padding: 8px;
    background: #fff7d6;
    box-shadow: 0 0 0 3px #f0b429;
}

.produtoRodape {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid var(--store-border);
    background: #fbfcfe;
    min-width: 0;
}

.produtoRodape > div {
    display: grid;
    gap: 2px;
}

.produtoPrecoRotulo,
.produtoPrecoDetalhe {
    color: var(--store-muted);
    font-size: 0.72rem;
}

.divPreco {
    display: inline-block;
    border-radius: 6px;
    color: var(--store-text);
    font-size: 1.35rem;
}

.divPreco.precoAtualizado {
    animation: destacarPreco 0.9s ease-out;
}

.btnAddCarrinho {
    position: relative;
    flex: 0 0 auto;
    width: 205px;
    min-width: 205px;
    min-height: 44px;
    border-radius: 11px;
    background: var(--store-success);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
}

.btnAddCarrinho:hover {
    background: #0d684a;
}

.btnAddCarrinho:disabled {
    opacity: 0.7;
    cursor: wait;
}

.msgSelecioneOperacao {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    z-index: 10;
    width: max-content;
    max-width: 210px;
    padding: 7px 10px;
    border-radius: 6px;
    background: #26303f;
    color: #fff;
    font-size: 0.76rem;
    line-height: 1.2;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.msgSelecioneOperacao::after {
    position: absolute;
    top: 100%;
    left: 50%;
    border: 6px solid transparent;
    border-top-color: #26303f;
    content: '';
    transform: translateX(-50%);
}

.msgFeedbackCarrinho {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    z-index: 20;
    width: max-content;
    max-width: 230px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #26303f;
    box-shadow: 0 6px 18px rgba(23, 32, 51, 0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    transform: translateX(-50%);
    pointer-events: none;
}

.msgFeedbackCarrinho::after {
    position: absolute;
    top: 100%;
    left: 50%;
    border: 7px solid transparent;
    border-top-color: #26303f;
    content: '';
    transform: translateX(-50%);
}

.msgFeedbackCarrinho--sucesso {
    border: 1px solid #86d7a5;
    background: #e8f8ee;
    box-shadow: 0 6px 18px rgba(22, 101, 52, 0.14);
    color: #17653a;
}

.msgFeedbackCarrinho--sucesso::after {
    border-top-color: #e8f8ee;
}

.msgFeedbackCarrinho--erro {
    background: #a62d2d;
}

.msgFeedbackCarrinho--erro::after {
    border-top-color: #a62d2d;
}

@keyframes destacarPreco {
    0%, 35% { background-color: #b7f7cf; }
    100% { background-color: transparent; }
}

@media (max-width: 420px) {
    .produtoRodape {
        align-items: stretch;
        flex-direction: column;
    }

    .btnAddCarrinho {
        width: 100%;
        height: 46px;
        min-height: 46px;
        max-height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .produtoCard,
    .produtoOpcao span {
        transition: none;
    }

    .divPreco.precoAtualizado {
        animation: none;
    }
}
