.page_produto_main {
    background: #FFF;
}

.page_produto_main .container {
    padding: 64px 0;
    width: 100%;
    justify-content: space-between;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.left_produto_main {
    width: 100%;
    max-width: 588px;
    display: flex;
}

.left_produto_main .product-gallery {
    display: flex;
    gap: 16px;
}

.thumbnail-gallery img {
    width: 150px;
    height: 157.5px;
    flex-shrink: 0;
    border-radius: 10px;
    margin-bottom: 24px;
    transition: all ease 0.5s;
}

.thumbnail-gallery img:hover {
    border: 1px solid #f00;
}

.thumbnail-gallery .thumbnail,
.thumbnail-gallery {
    max-width: 150px;
}

.main-image img,
.main-image {
    max-width: 415px;
    width: 100%;
    height: 630px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
    border-radius: 10px;
}

/* Estilo da galeria */

/* Estilo do modal */
.modal {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #f00;
    text-decoration: none;
    cursor: pointer;
}

#btns_img_main {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 40px;
    max-width: 415px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 0px 0px 6px 6px;
    background: #F7F7F7;
}

#btns_img_main img {
    width: 28px;
    height: 24px;
}

#btns_img_main .divider {
    height: 24px;
    width: 1px;
    background: #909DAD;
}

#btns_img_main .btns_img_main_left {
    display: flex;
    align-items: center;
    gap: 8px;
}

#btns_img_main .btns_img_main_left p {
    color: var(--GrayScale-Normal, #546881);
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
}

.nome_produto_main {
    color: var(--GrayScale-Dark, #1D242D);
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 42px;
    /* 131.25% */
}

.descricao_pequena_produto_main {
    color: #000;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 18px;
    /* 128.571% */
}

.cor_produto_main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 5px;
    border-radius: 100px;
    border: 1px solid var(--gray-scale-light-hover, #A3ADBB);
}

.cores_produto_main {
    margin-top: 16px;
    color: #000;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 18px;
    /* 128.571% */
}

.preco_produto_main {
    margin-top: 16px;
    color: var(--Green, #36BF84);
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 62px;
    /* 129.167% */
}


.right_produto_main {
    display: flex;
    width: 100%;
    max-width: 600px;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

/* Estilização de frete e adicionar a sacola */

.page_produto_main #frete-calculadora-produto {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
}

.page_produto_main #frete-calculadora-produto h3 {
    color: #000;
    text-align: center;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
}

.page_produto_main #frete-calculadora-produto input {
    border: none;
    outline: none;
    max-width: 184px;
    width: 100%;
    height: 53px;
    padding: 16px;
    border-radius: 10px;
    background: var(--GrayScale-Lighter, #F4F5F5);

    color: var(--gray-scale-light-active, #909DAD);
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.page_produto_main #frete-calculadora-produto button {
    cursor: pointer;
    height: 40px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--Foundation-Red-Normal, #EF4444);

    color: var(--WF-Base-White, #FFF);
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 125% */
}

.quantidade_produto_main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantidade_produto_main button {
    padding: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    height: 64px;
    padding: 10px;
    align-items: center;
    gap: 10px;
    background: var(--GrayScale-Lighter, #F4F5F5);

    color: var(--GrayScale-Dark, #1D242D);
    text-align: center;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.quantidade_produto_main input {
    display: flex;
    width: 80px;
    height: 53px;
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #FFF;
    border: none;
    text-align: center;
    color: var(--GrayScale-Dark, #1D242D);
    text-align: center;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.adicionar_sacola {
    color: var(--WF-Base-White, #FFF);
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 125% */

    border-radius: 10px;
    background: var(--Foundation-Red-Normal, #EF4444);
    display: flex;
    max-width: 388px;
    width: 100%;
    height: 56px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.order_adicionar_sacola {
    max-width: 594px;
    gap: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finalizar_produto_main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.redes_produto_main {
    padding-top: 16px;
    border-top: 1px solid #931058;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.order_redes {
    display: flex;
    max-width: 601px;
    justify-content: space-between;
    align-items: center;
}

.order_redes p {
    color: #000;
    text-align: center;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    /* 128.571% */
}

.icons_redes {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Popup */
.cart-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#ship-to-different-address {
    display: none;
}

.cart-popup-content {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cart-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

.cart-popup-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
}

.cart-popup-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 1024px) {
    .page_produto_main .container {
        justify-content: center;
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {

    .left_produto_main,
    .product-gallery {
        display: flex;
        flex-wrap: wrap;
    }

    .thumbnail-gallery {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        max-width: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .thumbnail-gallery img,
    .thumbnail {
        max-width: 100px;
        height: auto;
    }

    .frete_produto_main form {
        flex-wrap: wrap;
    }

    .left_produtos_main {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nome_produto_main {
        text-align: center;
    }

    .order_adicionar_sacola {
        flex-wrap: wrap;
    }
}