/*
==============================================================
PREMIUM ECOLÓGICA
BOARD 4 — PDP V1
==============================================================
*/


body.catalog-product-view
.column.main {
    box-sizing: border-box;

    max-width: 1220px;

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   HERO / DUAS COLUNAS
   ========================================================== */

@media (min-width: 768px) {

    body.catalog-product-view
    .product.media {
        box-sizing: border-box !important;

        float: left !important;

        width: 52% !important;

        padding:
            0
            42px
            30px
            0 !important;
    }


    body.catalog-product-view
    .product-info-main {
        box-sizing: border-box !important;

        float: right !important;

        width: 44% !important;

        margin: 0 0 34px !important;
        padding: 28px 30px !important;

        background: #fff !important;

        border: 1px solid #dce8df !important;
        border-radius: 18px !important;

        box-shadow:
            0 8px 30px
            rgba(20, 70, 40, .07) !important;
    }

}


/* ==========================================================
   TÍTULO
   ========================================================== */

body.catalog-product-view
.product-info-main
.page-title-wrapper {
    margin: 0 0 12px !important;
}


body.catalog-product-view
.product-info-main
.page-title {
    margin: 0 !important;

    color: #173f2c !important;

    font-size: 27px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;

    text-transform: none !important;
}


/* ==========================================================
   RESUMO
   ========================================================== */

body.catalog-product-view
.premium-board4-summary {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin:
        4px
        0
        18px;
}


body.catalog-product-view
.premium-board4-summary__chip {
    display: inline-flex;
    align-items: center;

    min-height: 29px;

    padding: 5px 10px;

    color: #315844;
    background: #f3f8f4;

    border: 1px solid #d7e6dc;
    border-radius: 999px;

    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 700;
}


/* ==========================================================
   PREÇO
   ========================================================== */

body.catalog-product-view
.product-info-main
.product-info-price {
    float: none !important;

    width: 100% !important;

    margin: 0 0 18px !important;
    padding: 0 0 18px !important;

    border-bottom: 1px solid #edf2ee !important;
}


body.catalog-product-view
.product-info-main
.price-box {
    float: none !important;

    width: 100% !important;

    margin: 0 !important;
}


body.catalog-product-view
.product-info-main
.price-box
.price {
    color: #173f2c !important;

    font-size: 31px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
}


body.catalog-product-view
.product-info-main
.mm-price-parcels-view {
    margin:
        5px
        0
        4px !important;

    color: #566d60 !important;

    font-size: 12px !important;
    line-height: 1.4 !important;
}


body.catalog-product-view
.product-info-main
#preco-a-vista-mm {
    margin: 7px 0 0 !important;
}


body.catalog-product-view
.product-info-main
#preco-a-vista-mm p {
    display: inline-flex;

    margin: 0 !important;
    padding: 6px 10px !important;

    color: #087f3b !important;
    background: #edf8f0 !important;

    border: 1px solid #cce8d4 !important;
    border-radius: 7px !important;

    font-size: 11.5px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}


/* ==========================================================
   ESTOQUE / SKU
   ========================================================== */

body.catalog-product-view
.product-info-main
.product-info-stock-sku {
    float: none !important;

    width: 100% !important;

    margin-top: 10px !important;

    color: #718078 !important;

    font-size: 10px !important;
}


/* ==========================================================
   OPÇÕES
   ========================================================== */

body.catalog-product-view
.product-options-wrapper {
    margin:
        10px
        0
        14px !important;
}


body.catalog-product-view
.product-options-wrapper
.field {
    margin-bottom: 16px !important;
}


body.catalog-product-view
.product-options-wrapper
.label {
    display: block !important;

    margin:
        0
        0
        8px !important;

    color: #173f2c !important;

    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}


body.catalog-product-view
.premium-pdp-option-pills {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


body.catalog-product-view
.premium-pdp-option-pill {
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 92px;
    min-height: 42px;

    padding: 8px 18px;

    color: #315844;
    background: #fff;

    border: 1px solid #cbdcd0;
    border-radius: 22px;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;

    cursor: pointer;
}


body.catalog-product-view
.premium-pdp-option-pill:hover {
    border-color: #168846;
}


body.catalog-product-view
.premium-pdp-option-pill.is-selected {
    color: #fff;
    background: #168846;

    border-color: #168846;

    box-shadow:
        0 4px 12px
        rgba(22, 136, 70, .16);
}


/*
 * O select real permanece no DOM, com dimensões reais,
 * para preservar validação e integração Magento.
 */
body.catalog-product-view
.premium-pdp-option-enhanced
select.product-custom-option {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


body.catalog-product-view
.premium-pdp-option-hint {
    margin-top: 7px;

    color: #718078;

    font-size: 9.5px;
    line-height: 1.4;
}


/* ==========================================================
   QUANTIDADE + CTA
   ========================================================== */

body.catalog-product-view
.product-info-main
.box-tocart {
    margin:
        8px
        0
        18px !important;
}


body.catalog-product-view
.product-info-main
.box-tocart
.field.qty {
    float: none !important;

    display: inline-block !important;

    margin:
        0
        8px
        0
        0 !important;
}


body.catalog-product-view
.product-info-main
#qty {
    box-sizing: border-box !important;

    width: 64px !important;
    height: 48px !important;

    border: 1px solid #d3e0d7 !important;
    border-radius: 10px !important;

    text-align: center !important;
}


body.catalog-product-view
.product-info-main
.actions {
    display: inline-block !important;

    vertical-align: bottom !important;
}


body.catalog-product-view
.product-info-main
#product-addtocart-button {
    box-sizing: border-box !important;

    min-width: 270px !important;
    min-height: 48px !important;

    padding: 10px 25px !important;

    color: #fff !important;
    background: #168846 !important;

    border: 1px solid #168846 !important;
    border-radius: 24px !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;

    box-shadow:
        0 6px 14px
        rgba(22, 136, 70, .16) !important;
}


body.catalog-product-view
.product-info-main
#product-addtocart-button:hover {
    background: #0f6f38 !important;

    border-color: #0f6f38 !important;
}


/* ==========================================================
   FRETE EXISTENTE — MESTREMAGE
   ========================================================== */

body.catalog-product-view
.product-info-main
#simularFrete {
    box-sizing: border-box !important;

    width: 100% !important;

    margin:
        18px
        0 !important;
    padding: 16px !important;

    background: #f8fbf9 !important;

    border: 1px solid #dce8df !important;
    border-radius: 12px !important;
}


body.catalog-product-view
.product-info-main
#simularFrete
.field.postcode {
    margin: 0 !important;
}


body.catalog-product-view
.product-info-main
#simularFrete
.label-mm {
    display: block !important;

    margin-bottom: 8px !important;

    color: #173f2c !important;

    font-size: 11px !important;
    font-weight: 800 !important;
}


body.catalog-product-view
.product-info-main
#simularFrete
#cep {
    box-sizing: border-box !important;

    width: calc(100% - 138px) !important;
    height: 42px !important;

    padding: 8px 12px !important;

    border: 1px solid #d3e0d7 !important;
    border-radius: 9px !important;
}


body.catalog-product-view
.product-info-main
#simularFrete
#sendFrete {
    box-sizing: border-box !important;

    width: 128px !important;
    height: 42px !important;

    margin-left: 6px !important;

    padding: 6px 10px !important;

    color: #168846 !important;
    background: #fff !important;

    border: 1px solid #168846 !important;
    border-radius: 9px !important;

    font-size: 10.5px !important;
    font-weight: 800 !important;
}


body.catalog-product-view
.product-info-main
#simularFrete
.link-cep-br {
    display: block !important;

    margin-top: 7px !important;

    font-size: 9px !important;
}


/* ==========================================================
   CONFIANÇA
   ========================================================== */

body.catalog-product-view
.premium-board4-trust {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;

    margin-top: 18px;
}


body.catalog-product-view
.premium-board4-trust__item {
    display: flex;
    align-items: center;

    gap: 9px;

    min-height: 54px;

    padding: 9px 10px;

    background: #fbfdfb;

    border: 1px solid #e0ebe3;
    border-radius: 10px;
}


body.catalog-product-view
.premium-board4-trust__icon {
    flex: 0 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #168846;
    background: #edf8f0;

    border-radius: 50%;

    font-size: 10px;
    font-weight: 900;
}


body.catalog-product-view
.premium-board4-trust__item strong,
body.catalog-product-view
.premium-board4-trust__item small {
    display: block;
}


body.catalog-product-view
.premium-board4-trust__item strong {
    color: #173f2c;

    font-size: 10.5px;
    line-height: 1.25;
    font-weight: 800;
}


body.catalog-product-view
.premium-board4-trust__item small {
    margin-top: 2px;

    color: #748279;

    font-size: 8.5px;
    line-height: 1.25;
}


/* ==========================================================
   GALERIA
   ========================================================== */

body.catalog-product-view
.product.media
.gallery-placeholder,
body.catalog-product-view
.product.media
.fotorama__wrap {
    border-radius: 16px !important;
}


body.catalog-product-view
.product.media
.fotorama__stage {
    background: #fff !important;

    border: 1px solid #e0e9e3 !important;
    border-radius: 16px !important;
}


/* ==========================================================
   CONTEÚDO ABAIXO
   ========================================================== */

body.catalog-product-view
.product.info.detailed {
    clear: both !important;

    margin-top: 32px !important;
}


body.catalog-product-view
.product.info.detailed
.product.data.items {
    border-top: 1px solid #e4ece6 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    body.catalog-product-view
    .product.media,
    body.catalog-product-view
    .product-info-main {
        float: none !important;

        width: 100% !important;
    }


    body.catalog-product-view
    .product.media {
        padding: 0 0 18px !important;
    }


    body.catalog-product-view
    .product-info-main {
        box-sizing: border-box !important;

        margin: 0 0 24px !important;
        padding: 20px 17px !important;

        border-radius: 14px !important;
    }


    body.catalog-product-view
    .product-info-main
    .page-title {
        font-size: 22px !important;
    }


    body.catalog-product-view
    .product-info-main
    .price-box
    .price {
        font-size: 27px !important;
    }


    body.catalog-product-view
    .premium-pdp-option-pill {
        flex: 1 1 0;

        min-width: 0;
    }


    body.catalog-product-view
    .product-info-main
    .box-tocart
    .field.qty {
        width: 100% !important;

        margin:
            0
            0
            9px !important;
    }


    body.catalog-product-view
    .product-info-main
    #qty {
        width: 100% !important;
    }


    body.catalog-product-view
    .product-info-main
    .actions {
        display: block !important;

        width: 100% !important;
    }


    body.catalog-product-view
    .product-info-main
    #product-addtocart-button {
        width: 100% !important;
        min-width: 0 !important;
    }


    body.catalog-product-view
    .premium-board4-trust {
        grid-template-columns: 1fr;
    }


    body.catalog-product-view
    .product-info-main
    #simularFrete
    #cep {
        width: 100% !important;
    }


    body.catalog-product-view
    .product-info-main
    #simularFrete
    #sendFrete {
        width: 100% !important;

        margin:
            7px
            0
            0 !important;
    }

}
