﻿/*inicio css scroll sticky sections*/

.produtoGeral-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: 125px;
    border-top: 1px solid #dee2e6;
    background-color: #fff;
    align-content: space-around;
}

    .produtoGeral-footer.stopped {
        position: absolute !important;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
    }

.lock-img-sticky {
    position: sticky;
    top: 5px;
}

.lock-content {
    padding: 20px 0px 0px 8px;
    min-height: 100%;
}

.lock-features {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.lock-callout {
    background: #fadf25;
    color: #234;
    padding: 18px;
    border-radius: 1rem;
    margin: 36px 0;
    font-weight: bold;
    box-shadow: 0 1px 12px #fadf2507;
}

.dummy-below {
    margin-top: 5rem
}

@media (max-width: 991px) {
    .lock-img-sticky {
        max-width: 100%;
        padding-left: 0;
        top: 0;
    }
}

/*fim css scroll sticky sections*/

/*inicio coluna esquerda*/

/* Miniaturas */
.product-thumbs {
    display: flex;
    flex-direction: column;
    width: 87px;
    height: 479px;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

    .product-thumbs::-webkit-scrollbar {
        width: 3px;
    }

    .product-thumbs::-webkit-scrollbar-track {
        background: #fff;
        border-radius: 8px;
    }

    .product-thumbs::-webkit-scrollbar-thumb {
        background: #f4f4f4;
        border-radius: 8px;
        border: 1px solid #f4f4f4;
    }

    .product-thumbs:hover::-webkit-scrollbar-thumb {
        background: #f4f4f4;
    }

@media (max-width: 767.98px) {
    .product-thumbs {
        flex-direction: row;
        width: 100%;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        margin-bottom: 10px;
        justify-content: flex-start;
        align-items: center;
        padding-bottom: 8px;
    }

    .product-thumb {
        width: 64px;
        height: 64px;
        min-width: 64px; /* Garante largura mesmo rolando */
        min-height: 64px;
    }

    .row-cards-infos {
        display: none !important;
    }

    .lock-content {
        padding: 20px 8px 0px 0px;
    }
}

.product-thumb {
    width: 80px;
    height: 80px;
    border: 1px solid transparent;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    transition: border 0.2s;
}

    .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-thumb.active,
    .product-thumb:hover {
        border: 1px solid #999;
    }

    .product-thumb .play-icon {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 3rem;
        color: rgba(0, 0, 0, 0.35);
    }

    /* Sobre a capa real do video, o play precisa ler em cima de imagem. */
    .product-thumb .play-icon-capa {
        top: 50%;
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    }

    .product-thumb .thumb-label {
        position: absolute;
        bottom: 6px;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 11px;
        background: rgba(255, 255, 255, 0.75);
    }

@media (max-width: 767.98px) {
    #product-thumbs {
        order: 2;
    }

    #product-main-media {
        order: 1;
    }

    .col-md-2:has(#product-thumbs) {
        order: 2;
    }

    .col-md-10:has(#product-main-media) {
        order: 1;
    }

    .product-image {
        max-height: none;
        padding: 0;
    }

        .product-image img,
        .product-image iframe {
            max-width: 100%;
            max-height: 60vw;
        }
}
/* Imagem principal */

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

    .product-image img,
    .product-image iframe {
        max-width: 500px;
        max-height: 500px;
        object-fit: contain;
        display: block;
    }

    /* Zoom no hover (ticket #62113): o JS aplica scale seguindo o cursor; o overflow
       hidden do quadro corta o excedente. Em touch nao ha hover e nada disso roda. */
    .product-image #main-img {
        cursor: zoom-in;
        transition: transform .12s ease-out;
    }

/* O player ocupa o mesmo quadro da imagem (1:1 de ate 500px): video vertical usa a
   altura inteira com sobra nas laterais, horizontal fica com faixas em cima e embaixo.
   Antes era uma caixa fixa de 573x389 que nao respeitava nenhum dos dois formatos. */
.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#main-video-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

#product-main-media .label-group-up {
    left: 2rem !important;
    position: absolute !important;
    top: 2rem !important;
}

#product-main-media .product-label-down {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: .8rem !important;
    color: #fff !important;
    letter-spacing: .075em !important;
    font-family: var(--fonte-site) !important;
    margin: 0 !important;
    border: none !important;
    text-align: center !important;
}

#product-main-media .label-group-down {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
}

/*fim coluna esquerda*/
/*inicio code coluna direita*/
.row-cards-infos {
    display: grid;
    grid-template-columns: 230px 255px;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.card-infos {
    flex: 1;
    padding: 20px 0px;
}

    .card-infos a {
        display: block;
        text-decoration: none;
        color: inherit;
        border-radius: 10px;
    }

        .card-infos a:hover {
            box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.15);
            padding: 4px;
            background-color: #f8f8f8;
        }

.card-with-img {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.infos-card p {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.infos-card div {
    color: #000;
    font-size: 11px;
}

.card-with-img img {
    width: 60px;
    height: 49px
}

#table-variacoes td {
    padding: 1.2rem;
}

.resumo-tabela td {
    padding: 1.2rem;
}

#cepSku {
    border-bottom-left-radius: 7px;
    border-top-left-radius: 7px;
}

#btn_calcular_frete_sku {
    border-bottom-right-radius: 7px;
    border-top-right-radius: 7px;
}

.gabarito-card {
    border-top: 2px solid;
    border-bottom: 2px solid;
    padding: 10px 0px;
}

.gabarito-titulo {
    font-weight: bold;
    white-space: nowrap;
    vertical-align: middle;
    color: #000;
    font-size: 15px;
}

    .gabarito-titulo i {
        font-size: 17px;
        color: #007bff;
    }

.gabarito-icones {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0px
}

.gabarito-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .gabarito-item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
        gap: 6px;
        text-decoration: none;
        color: inherit;
    }

.bw-hover {
    filter: grayscale(1) brightness(0.4);
    transition: filter 0.2s;
}

.gabarito-item:hover .bw-hover,
.gabarito-item:focus .bw-hover {
    filter: grayscale(0) brightness(1);
}

.gabarito-icon {
    width: 70px;
    height: 70px;
}

/*selects e botoes*/
.selects-produto label {
    font-size: 14px !important;
    font-weight: bold;
}

.selects-produto span {
    margin: 0 0 .6rem;
    font-size: 14px !important;
    font-weight: bold;
    line-height: 2rem;
    letter-spacing: 0.3px;
    color: black;
    display: inline-block;
}

.selects-produto .select-custom {
    margin-bottom: 1rem !important;
}

.selects-produto .btn-group[role="group"] {
    margin-bottom: 1rem;
}

.select-custom select.form-control {
    width: 100%;
    height: 4rem !important;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    border: 1px solid #BCBCBC;
    border-radius: 6px;
    color: #494848;
}

.btn-group[role="group"] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-group .btn {
    all: unset; /* Zera os estilos do Bootstrap */
    align-content: center;
    display: inline-block;
    text-align: center;
    font-size: 1.3rem;
    min-width: 140px;
    padding: 1rem;
    border: 1px solid #BCBCBC;
    border-radius: 6px !important;
    color: #494848;
    background-color: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

    .btn-group .btn:hover {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    }

    .btn-group .btn.active {
        border: 2px solid var(--padrao-new);
        box-shadow: none;
    }

    .btn-group .btn:disabled {
        opacity: unset !important;
    }

.btn-ver-mais-sku {
    all: unset;
    color: var(--padrao-new);
    cursor: pointer;
    display: block;
    width: fit-content;
    font-size: 1.3rem;
    letter-spacing: .4px;
    margin-top: .3rem;
    margin-bottom: 1.2rem;
    padding: .4rem 1.2rem;
    background-color: #eef0ff;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}

    .btn-ver-mais-sku:hover {
        background-color: #dde1ff;
    }

.btn-group.btn-group-md .btn {
    min-width: 70px;
}
/*acabamentos*/
.acabamentos-wrapper {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
}

.acabamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem 1.5rem;
    padding: 0 1rem;
}

    .acabamentos-grid span {
        all: unset;
        margin-left: 6px;
        line-height: 1.4;
        font-size: 12px !important;
        font-weight: 100;
    }

.acabamento-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem !important;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
}

    .acabamento-box:hover {
        background-color: #f0f0f0;
    }

    .acabamento-box input[type="checkbox"] {
        margin-top: 0.1rem;
        accent-color: var(--padrao-new);
    }

.acabamento-label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
}

    .acabamento-label .prazo, .acabamento-label .preco {
        color: #555;
    }

.acabamento-incompativel {
    opacity: 0.5;
    pointer-events: none;
}

.li-cor {
    width: calc(7% - 9px) !important;
    margin-bottom: 7px;
    margin-right: 5px;
}

.header-table th {
    border: none;
    padding-left: 1.25rem;
}

.modal {
    z-index: 1080 !important;
}

.modal-backdrop {
    z-index: 1079 !important;
}

/* Preço footer ||*/
.produtoGeral-footer-row {
    justify-content: space-between;
}

.produtoGeral-footer-pipe {
    width: 1px;
    height: 60px;
    background: #212529;
    margin: 0 auto;
}

.justify-end {
    justify-self: right;
}

.produtoGeral-footer-right {
    gap: 25px;
    flex-wrap: wrap;
    justify-content: right;
}

/* Quantidade: label em cima, stepper embaixo (um por linha) em qualquer largura */
.footer-preco-qty {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .footer-preco-qty > label {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }

.btn-input-qtd-touchSpin {
    padding: 0.8rem 1.1rem !important;
    border: 1px solid #dfdfdf;
    height: 4rem;
}

.bootstrap-touchspin.input-group {
    margin-bottom: 0;
    max-width: max-content;
    padding-right: 0px;
    border-radius: 25px;
    border: 1px solid #606060;
}

.btn-input-qtd-touchSpin {
    border: none;
}

.bootstrap-touchspin .form-control:not(:focus) {
    border: none;
}

.preco-estrutura {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
}

.preco-esq {
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.preco-dir {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.desconto {
    color: #008A00;
    font-weight: bold;
    font-size: 1.5rem;
    white-space: nowrap;
}

.txt-valor-de {
    font-size: var(--fonte-size-base);
    color: #000;
    font-weight: bold;
}

.valor-antigo {
    text-decoration: line-through;
}

.footer-preco-label {
    font-weight: bold;
    margin-right: 5px
}

.txt-valor {
    color: var(--padrao-new);
    font-weight: bold;
    font-size: 2.5rem;
    line-height: 1;
}

.footer-preco-actions {
    margin-top: 1.8rem
}

.justify-start {
    justify-self: start;
}

.button-comprar, .button-padrao {
    background-color: var(--padrao-new);
    border-radius: 4.5rem;
    color: #fff;
    padding: 1.4rem;
    min-width: 200px;
    font-size: 16px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 100;
}

    .button-comprar img {
        width: 23px;
        height: 23px
    }

    .button-comprar:hover, .button-comprar:focus,
    .button-padrao:hover, .button-padrao:focus,
    .button-add-cart-outline:hover, .button-add-cart-outline:focus {
        color: #fff !important;
        background-color: var(--padrao-new-hover);
        border: 1px solid var(--padrao-new-hover);
    }

    .button-comprar.disabled, .button-comprar:disabled,
    .button-padrao.disabled, .button-padrao:disabled,
    .button-add-cart-outline.disabled, .button-add-cart-outline:disabled {
        opacity: .3 !important;
        cursor: unset !important;
    }

.button-add-cart-outline {
    border: 1px solid var(--padrao-new);
    border-radius: 3rem;
    padding: 0.6rem;
    width: 60px;
    background-color: transparent;
    justify-items: center;
    color: var(--padrao-new);
    transition: .2s ease;
}

    .button-add-cart-outline .icon-cart {
        width: 30px;
        height: 30px;
        transition: .2s ease;
    }

#quantidade_sku {
    display: inline-block;
    max-width: 6rem !important;
    font-size: 15px;
    font-weight: bold
}

.resumo-tabela th {
    width: 200px;
    font-weight: bold;
    white-space: nowrap;
    vertical-align: middle;
    color: #000;
}

.resumo-tabela td {
    color: #000;
    vertical-align: middle;
}

.resumo-tabela tr {
    border-bottom: 1px solid #ddd;
}

    .resumo-tabela tr:last-child {
        border-bottom: none;
    }

/* Responsivo */
.footer-arrow-up, .footer-arrow-down {
    display: none;
}

@media (max-width: 1024px) {
    .label-group-down {
        bottom: 40%;
    }

    .produtoGeral-footer,
    .produtoGeral-footer-row {
        max-width: inherit !important;
        width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-preco-info {
        max-width: 100vw !important;
        box-sizing: border-box;
        overflow-x: auto;
        width: 100%;
        text-align: end;
    }

    .produtoGeral-footer {
        height: max-content;
    }

    .produtoGeral-footer-row {
        padding: 1rem 1.5rem !important;
    }

    .produtoGeral-footer-right {
        display: grid !important;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        align-items: end;
        justify-items: center;
        width: 100%;
        gap: 12px 10px;
    }

    .footer-preco-info, .d-none.d-md-flex {
        grid-column: 1;
        width: 100%;
    }

    .footer-preco-qty {
        grid-column: 1;
        grid-row: 2;
        align-items: center !important;
        flex-direction: column !important;
        justify-content: flex-end;
    }

    .footer-preco-actions {
        grid-column: 1;
        grid-row: 3;
        flex-direction: row !important;
        justify-content: center;
        align-self: center;
    }

    .footer-preco-qty label {
        margin-bottom: 2px !important;
        font-size: 1rem;
        font-weight: 600;
        margin-right: 0 !important;
        text-align: center !important;
        width: 100%;
        white-space: normal;
    }

    .footer-preco-qty,
    .footer-preco-actions {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer-preco-actions {
        flex-direction: row !important;
        justify-content: center;
    }

    .button-comprar, .button-padrao {
        padding: 1.2rem 2.5rem;
        box-sizing: border-box;
        box-shadow: unset;
        min-width: 160px
    }

    .button-add-cart-outline {
        min-width: 48px !important;
        box-sizing: border-box;
        box-shadow: unset
    }

    #quantidade_sku {
        max-width: 70px !important;
        text-align: center;
        margin: 0;
    }
    /* ===== Fim do bloco horizontal ===== */

    .descricao-produto {
        text-align: center !important;
        margin-bottom: 8px;
        font-weight: 500;
        font-size: 1rem;
        width: 100%;
    }

    .txt-valor {
        font-size: 2rem !important;
    }

    #table-variacoes {
        font-size: 12px !important;
    }

    .produtoGeral-footer-pipe {
        display: none
    }

    .row-cards-infos {
        grid-template-columns: 1fr;
        display: none;
    }

    .selects-produto {
        max-width: 100%;
        overflow-x: hidden;
    }

    .btn-group[role="group"] {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .btn-group .btn {
        min-width: 0 !important;
        flex: 1 1 auto;
        max-width: 100%;
    }

    .atributo-visual-cards {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        max-width: 100%;
    }

    .atributo-visual-card {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        min-width: 0 !important;
    }

        .atributo-visual-card img {
            width: 75%;
            height: auto;
            aspect-ratio: 1 / 1;
        }

    .preco-estrutura {
        justify-items: end;
        text-align: right;
    }

    .preco-esq {
        justify-content: flex-end;
    }

    .button-comprar, .button-padrao {
        align-self: flex-start;
    }

    .produtoGeral-footer-row.row > [class*="col"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.no-pointer {
    cursor: default !important;
}

#card-dimensao-manual {
    width: 100%;
    padding: 1rem;
    border: 1px solid whitesmoke;
    background-color: #f9f9f9;
    border-radius: 6px;
    color: #000;
    margin-bottom: 1rem;
}

#prod-relacionados {
    border-top: 1px solid rgba(0, 0, 0, .08);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

/* Atributo Visual Cards */
.atributo-visual-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.atributo-visual-card {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: .3rem;
    padding: .6rem .5rem .5rem;
    width: 135px;
    min-height: 135px;
    border: 1px solid #BCBCBC;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    font-family: inherit;
    color: #494848;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

    .atributo-visual-card:hover {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    }

    .atributo-visual-card.active {
        border: 2px solid var(--padrao-new);
        box-shadow: none;
    }

    .atributo-visual-card img {
        display: block;
        width: 95px;
        height: 95px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .atributo-visual-card small {
        font-size: 1.3rem;
        font-weight: normal;
        color: #494848;
        line-height: 1.2;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

/* Formato: card com a miniatura em escala da medida (FormatoMedidaHelper) */

.medida-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: .8rem;
    margin-bottom: 1rem;
}

.medida-card {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .5rem .4rem;
    aspect-ratio: 1 / 1;
    border: 1px solid #BCBCBC;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    font-family: inherit;
    color: #494848;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

    .medida-card:hover {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    }

    .medida-card.active {
        border: 2px solid var(--padrao-new);
        box-shadow: none;
    }

    .medida-card.no-pointer {
        cursor: default;
    }

    .medida-card small {
        font-size: 1.3rem;
        font-weight: normal;
        color: #494848;
        line-height: 1.2;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

/* Escopado em .medida-cards de propósito: ".selects-produto span" tem
   especificidade (0,1,1) e ganharia de ".medida-desenho" (0,1,0), forçando
   inline-block + margin-bottom nos spans do desenho. Daí o zera-margem abaixo. */

/* box de altura fixa = LadoMax do helper, pra todos os cards ficarem alinhados */
.medida-cards .medida-desenho {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; /* absorve a sobra do card: desenho centrado, rótulo empurrado pro rodapé */
    min-height: 44px; /* = LadoMax do FormatoMedidaHelper; os dois têm que andar juntos */
    margin: 0;
}

    /* tracejado = linha de corte; leve o bastante pra repetir 20x sem pesar */
    .medida-cards .medida-desenho > span {
        display: block;
        box-sizing: border-box;
        margin: 0;
        background-color: transparent;
        border: 1px dashed #BCBCBC;
        border-radius: 1px;
    }

    /* "Tamanho personalizado": não tem medida pra desenhar, então vai de régua */
    .medida-cards .medida-desenho .medida-livre {
        display: block;
        width: 26px;
        height: 26px;
        color: #BCBCBC; /* mesmo tom do tracejado: ícone e desenho são a mesma camada */
        stroke-width: 1.25; /* traço fino, pra casar com o tracejado de 1px dos retângulos */
    }

/* "ver mais": último quadrado da grade. Herda tudo de .medida-card; muda só o
   tracejado da borda, pra ler como "tem mais aqui" e não como mais um formato. */
.medida-cards .medida-card-mais {
    border-style: dashed;
}

    .medida-cards .medida-mais {
        display: block;
        width: 26px;
        height: 26px;
        color: #494848;
        stroke-width: 1.5;
    }

/* Atributo Visual Cards Full */

.atributo-visual-cards-full {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.atributo-visual-card-full {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 183px;
    border: 1px solid #BCBCBC;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

    .atributo-visual-card-full:hover {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    }

    .atributo-visual-card-full.active {
        border: 2px solid var(--padrao-new);
        box-shadow: none;
    }

    .atributo-visual-card-full img {
        display: block;
        width: 100%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .atributo-visual-card-full small {
        font-size: 1.3rem;
        font-weight: normal;
        color: #494848;
        line-height: 1.2;
        padding: .5rem;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

@media (max-width: 767.98px) {
    .li-cor {
        width: auto !important;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .container-variacao-cor {
        width: 42px;
        height: 42px;
    }
}

/* Estado "atualizando" do bloco do produto: feedback visual imediato ao trocar
   SKU/recalcular preco, pintado no mesmo frame do toque (INP mobile). */
#produtoGeral.produto-atualizando {
    opacity: .55;
    pointer-events: none;
    transition: opacity .15s ease;
}

/* O bloco de ultimos posts do blog e o mesmo da home, onde .section-pd usa 7rem.
   Aqui embaixo dele fica a barra fixa de preco (#precoFooter), entao precisa de
   mais folga pra ela nao cobrir o "Ver todos os posts". */
.produtoGeral-page .blog-section.section-pd {
    padding-bottom: 20rem !important;
}
