﻿/*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: 80px;
    height: 479px;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 10px;
    scrollbar-width: none;
}

    .product-thumbs::-webkit-scrollbar {
        width: 0;
        background: transparent;
    }

@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: flow !important;
    }
}

.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);
    }

    .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-image {
        max-width: 100%;
        aspect-ratio: 1/1;
        min-height: 220px;
        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;
}

    .product-image img,
    .product-image iframe {
        max-width: 500px;
        max-height: 500px;
        object-fit: contain;
        display: block;
    }

.video-container {
    width: 100%;
    max-width: 573px;
    height: 389px;
    position: relative;
}

#main-video-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

#product-main-media .label-group-up {
    right: 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: 'Sarabun', sans-serif !important;
    margin: 0 !important;
    border: none !important;
    text-align: center !important;
}


#product-main-media .label-group-down {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin: 0px 20px;
}


/*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: 1rem;
            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 #e7e7e7;
    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-group.btn-group-md .btn {
    font-size: 1.5rem;
    min-width: 70px;
    font-weight: bold;
}
/*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;
}

.footer-preco-label {
    font-weight: bold;
    margin-right: 5px
}

.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;
}

.txt-valor {
    color: var(--padrao-new);
    font-weight: bold;
    font-size: 2.7rem;
}

.footer-preco-actions {
    margin-top: 1.8rem
}


.button-comprar {
    background-color: var(--padrao-new);
    border-radius: 4.5rem;
    color: #fff;
    padding: 1.5rem;
    min-width: 200px;
    font-size: 16px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 10px 26px 0 #162bee38, 0 10px 26px 0 #00000014;
    font-weight: 100;
}

    .button-comprar img {
        width: 23px;
        height: 23px
    }

    .button-comprar:hover, .button-comprar:focus,
    .button-add-cart-outline:hover, .button-add-cart-outline:focus {
        color: #fff !important;
        box-shadow: 0 12px 36px 0 #162bee63, 0 20px 48px 0 #00000018;
    }

    .button-comprar.disabled, .button-comprar:disabled,
    .button-add-cart-outline.disabled, .button-add-cart-outline:disabled {
        opacity: .3 !important;
        cursor: unset !important;
    }

.button-add-cart-outline {
    border: 1px solid #162BEE;
    border-radius: 3rem;
    padding: 0.6rem;
    width: 60px;
    background-color: transparent;
    color: #162BEE;
    justify-items: center;
}

    .button-add-cart-outline img {
        width: 30px;
        height: 30px
    }

    .button-add-cart-outline:hover {
        box-shadow: 0 10px 26px 0 #162bee38, 0 10px 26px 0 #00000014;
    }


#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: 85px 1fr;
        grid-template-rows: auto auto;
        align-items: end;
        justify-items: center;
        width: 100%;
        gap: 0px 10px;
    }

    .footer-preco-info, .d-none.d-md-flex {
        grid-column: 1 / 3;
        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: 2;
        grid-row: 2;
        flex-direction: row !important;
        align-self: flex-end;
    }

    .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: auto !important;
        display: flex !important;
        align-items: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
    }


    .footer-preco-actions {
        flex-direction: row !important;
    }

    .button-comprar {
        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;
    }
}

.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);
}
