.col.is-selected .sticky-add-to-cart.sticky-add-to-cart--active {
    position: fixed;
    bottom: 20px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.col.is-selected #woocommerce-correios-calculo-de-frete-na-pagina-do-produto {
    background-color: #ffffff;
    margin-top: 50px;
}

.col.is-selected .flickity-viewport .stock.in-stock {
    margin-bottom: 30px;
}

.col.is-selected .product-title-small,
.col.is-selected .attachment-woocommerce_gallery_thumbnail {
    margin-bottom: 30px;
}

.col.is-selected .icon-box.featured-box.circle.icon-box-left.text-left a.button.primary {
    background-color: green;
    color: white;
}

.col.is-selected .sticky-add-to-cart.sticky-add-to-cart--active .ux-quantity.quantity.buttons_added.form-minimal {
    position: relative;
    bottom: 85px; 
    left: 20px;
}

.col.is-selected .sticky-add-to-cart.sticky-add-to-cart--active .single_add_to_cart_button {
    position: absolute;
    bottom: 20px; 
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.col.is-selected .add-to-cart-button a {
    background-color: #006837;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.col.is-selected .product-title {
    min-height: 40px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.2;
    max-height: 3.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    -ms-flex-direction: column;
}

.col.is-selected .product-description { 
    min-height: 60px; 
}

.col.is-selected .product-small {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.col.is-selected .price {
    min-height: 20px;
}

@media (max-width: 768px) {
    .col.is-selected .flickity-viewport .product-title {
        max-height: 2.4em; 
    }
}

.col.is-selected .icon-box-text.last-reset a.button.primary {
    background-color: green;
}
.product-small .add-to-cart-button a {
    background-color: #006837; /* Green background */
    padding: 10px 20px; /* Size and spacing */
    color: white; /* Text color */
    text-decoration: none; /* No underline */
    display: inline-block; /* Align correctly */
    width: 100%; /* Full width */
    box-sizing: border-box; /* Include padding and border in element's width */
    text-align: center; /* Center the text */
    font-weight: bold; /* Make the text bold */
    border-radius: 5px; /* Optional: Adds rounded corners to the button */
}

.product-small .box-text.text-center.is-small {
    height: auto; /* Adjust height automatically based on content */
    padding: 10px; /* Add some padding around the text for better readability */
}

/* Ensures the text is not too clumped together */
.product-small .price, .product-small .product-title {
    margin-bottom: 10px; /* Space below price and title */
}
div.product-small div.add-to-cart-button a {
    background-color: #006837 !important; /* Other styles remain the same */
}


#woocommerce-correios-calculo-de-frete-na-pagina-do-produto.containerCalculator {
    background-color: transparent; /* Remove o fundo cinza */
}

#col-534206929 > .col-inner .button.primary.customize-unpreviewable {
    background-color: #91bfbb;
    padding: 10px 20px;
    border-radius: 99px;
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

/* Estilo base, aplica um espaço acima do elemento dentro da div específica em todas as resoluções */
.sticky-add-to-cart .calculatorRow {
    margin-top: 10px; /* Ajuste este valor conforme necessário */
}

/* Estilos para telas menores, como tablets */
@media (max-width: 768px) {
    .sticky-add-to-cart .calculatorRow {
        margin-top: 20px; /* Reduz a margem para telas menores */
    }
}

/* Estilos para dispositivos móveis */
@media (max-width: 480px) {
    .sticky-add-to-cart .calculatorRow {
        margin-top: 15px; /* Reduz ainda mais a margem para telas de dispositivos móveis */
    }
}

/* Repita o processo de prefixar com .sticky-add-to-cart para todos os outros seletores */
.sticky-add-to-cart .stock.in-stock {
    margin-bottom: 35px; /* Ajustes conforme necessário */
}

@media (max-width: 768px) {
    .sticky-add-to-cart .stock.in-stock {
        margin-bottom: 8px; /* Ajustes para telas menores */
    }
}

@media (max-width: 480px) {
    .sticky-add-to-cart .stock.in-stock {
        margin-bottom: 5px; /* Ajustes para dispositivos móveis */
    }
}

.sticky-add-to-cart .product-title-small.hide-for-small {
    margin-bottom: 35px; /* Ajustes conforme necessário */
}

@media (max-width: 768px) {
    .sticky-add-to-cart .product-title-small.hide-for-small {
        margin-bottom: 8px; /* Ajustes para telas menores */
    }
}

@media (max-width: 480px) {
    .sticky-add-to-cart .product-title-small.hide-for-small {
        margin-bottom: 5px; /* Ajustes para dispositivos móveis */
    }
}

.sticky-add-to-cart .sticky-add-to-cart-img {
    margin-top: -35px; /* Ajustes conforme necessário */
	border-radius: 5px;
}

@media (max-width: 768px) {
    .sticky-add-to-cart .sticky-add-to-cart-img {
        margin-top: -8px; /* Ajustes para telas menores */
    }
}

@media (max-width: 480px) {
    .sticky-add-to-cart .sticky-add-to-cart-img {
        margin-top: -5px; /* Ajustes para dispositivos móveis */
    }
}

.sticky-add-to-cart .ux-quantity {
    margin-top: -88px; /* Ajustes conforme necessário */
    margin-left: 20px; /* Aumenta o espaço à esquerda */
}

@media (max-width: 768px) {
    .sticky-add-to-cart .ux-quantity {
        margin-top: -8px; /* Ajustes para telas menores */
        margin-left: 8px; /* Ajustes para telas menores */
    }
}

@media (max-width: 480px) {
    .sticky-add-to-cart .ux-quantity {
        margin-top: -5px; /* Ajustes para dispositivos móveis */
        margin-left: 5px; /* Ajustes para dispositivos móveis */
    }
}

.sticky-add-to-cart .single_add_to_cart_button {
    margin-top: -20px; /* Ajuste este valor conforme necessário */
}

@media (min-width: 768px) {
    .sticky-add-to-cart .single_add_to_cart_button {
        margin-top: -25px; /* Ajustes para telas maiores */
    }
}

@media (min-width: 992px) {
    .sticky-add-to-cart .single_add_to_cart_button {
        margin-top: -165px; /* Ajustes para telas de desktop */
    }
}
a.button.primary {
    background-color: #006400; /* Define o fundo como verde escuro */
    border-radius: 99px; /* Mantém o estilo de borda arredondada */
}

@media only screen and (max-width: 768px) {
    .sticky-add-to-cart {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .sticky-add-to-cart__product {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sticky-add-to-cart-img {
        max-width: 100px; /* Mantém a imagem não muito grande */
        height: auto; /* Mantém a proporção da imagem */
    }

    .product-title-small, .stock.in-stock {
        width: 100%; /* Faz o texto ocupar toda a largura disponível */
        margin-top: 10px; /* Adiciona um espaço no topo */
        text-align: center; /* Centraliza o texto */
    }

    .sticky-add-to-cart .ux-quantity, .sticky-add-to-cart .single_add_to_cart_button {
        width: auto; /* Permite que o botão e os controles de quantidade ocupem apenas o espaço necessário */
        margin-top: 10px; /* Adiciona um espaço no topo */
    }

    #open-popup, .calculatorRow, .containerCalculator {
        width: 100%; /* Faz com que estes elementos ocupem toda a largura */
        text-align: center; /* Centraliza o conteúdo para dispositivos móveis */
        margin-top: 10px; /* Adiciona um espaço no topo para separação clara */
    }

    .calculatorRow .row, .calculatorRow .col-75 {
        display: block; /* Transforma o layout de linha/coluna em blocos para uma melhor visualização em telas menores */
    }

    .iptCep {
        width: 100%; /* Permite que o campo de entrada ocupe toda a largura */
        margin-top: 10px; /* Adiciona espaço acima */
    }

    #calcular-frete-loader, .resultado-frete {
        margin-top: 10px; /* Adiciona espaço acima do carregador e do resultado do frete */
    }
}

@media only screen and (max-width: 480px) {
    /* Aqui você pode fazer ajustes mais refinados para telas ainda menores, se necessário */
    .sticky-add-to-cart {
        padding: 5px;
    }

    .sticky-add-to-cart-img {
        max-width: 80px; /* Torna a imagem menor em dispositivos muito pequenos */
    }
}
.related.related-products-wrapper.product-section .add-to-cart-button .button.product_type_simple.add_to_cart_button.ajax_add_to_cart.is-flat {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    padding: 5px 20px; /* Initial padding */
    text-align: center; /* Centered text */
    text-decoration: none; /* No underlines */
    display: inline-block; /* Allows setting dimensions */
    font-size: 14px; /* Suitable font size */
    margin: 4px 2px; /* Some margin */
    cursor: pointer; /* Pointer/hand icon */
    border: none; /* No borders */
    border-radius: 5px; /* Rounded corners */
    transition: background 0.3s ease; /* Smooth background color change on hover */
    line-height: normal; /* Adjust line height to fit the button size */
}

/* Styles for screens smaller than 600px */
@media (max-width: 600px) {
    .related.related-products-wrapper.product-section .add-to-cart-button .button.product_type_simple.add_to_cart_button.ajax_add_to_cart.is-flat {
        font-size: 12px; /* Smaller font size on mobile */
        padding: 5px 15px; /* Reduced padding on mobile */
        margin: 2px 1px; /* Less margin on mobile */
    }
}

/* Styles for screens smaller than 400px */
@media (max-width: 400px) {
    .related.related-products-wrapper.product-section .add-to-cart-button .button.product_type_simple.add_to_cart_button.ajax_add_to_cart.is-flat {
        padding: 4px 10px; /* Even smaller padding for very small screens */
        font-size: 11px; /* Even smaller font size for very small screens */
    }
}
/* Esconde a div sticky-add-to-cart em dispositivos com largura máxima de 768px */
@media (max-width: 768px) {
    .sticky-add-to-cart {
        display: none !important;
    }
}

.entry-content a {color: # FFA500; }.entry-content a: hover {color: # FF0000; decoração de texto: sublinhado; }.entry-content a: visitado {cor: # 0000FF; }

.mfp-content #popup-new {
    display: none !important;
}

.mfp-bg {
    display: none !important;
}

#woocommerce-correios-calculo-de-frete-na-pagina-do-produto {
    display: block !important; 
}

@media (max-width: 768px) {
  .col-inner .add-to-cart-button a {
    height: 50px; /* Diminui a altura do botão */
    padding: 10px; /* Ajusta o preenchimento para centralizar o texto, se necessário */
    font-size: 10px; /* Diminui o tamanho da fonte para se ajustar ao novo tamanho do botão */
    line-height: normal; /* Ajusta o alinhamento do texto no botão, se necessário */
  }
}
.add_to_cart_button a {
    font-family: 'Montserrat', sans-serif;

}

#open-popup {
    visibility: hidden;
    position: absolute;
}

.sticky-add-to-cart {
    display: none;
}


