
.best-rated-products-grid {
    display: flex;
    justify-content: center;
    margin-top: 3.6rem;
    gap: 2rem;
}

@media only screen and (max-width: 1024px) and (min-width: 800px) {
    .best-rated-products-grid {
        flex-direction: column;
    }
}

@media only screen and (max-width: 800px) {
    .best-rated-products-grid {
        flex-direction: column;
    }
}



.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    gap: 1rem;
    background-color: #ffffff;
}




.product-card:hover {
    transition: opacity 0.3s ease; 
    -webkit-box-shadow: 5px 5px 5px 0px rgba(189, 185, 189, 0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(189, 185, 189, 0.75);
    box-shadow: 5px 5px 5px 0px rgba(189, 185, 189, 0.75);
}

.product-card img {
  background-color: transparent; 
  object-fit: cover; 
  width: 100%;
  height: 300px; 
  display: block; 
  margin: 0 auto; 
  border: none; 
}

.woocommerce-js .star-rating {
   color: #FE6D02;
   font-size: 2em;
}

.woocommerce-js .star-rating::before {
    color: #FE6D02;
}

h3.product-title {
    margin-bottom: 0;
    text-align: center;
}

h3.product-title a {
    color: #000;
    font-family: 'Campton';
    font-size: 1.25rem;
    width:100%;
    margin-bottom: 0;
   
}

h3.entry-content{
    display: flex;
    align-items: start;
    text-align: center;
    min-height: 6rem;
}

@media only screen and (max-width: 768px){
    h3.entry-content{
        min-height:0.5rem;
    }
}

p.product-description {
    font-size: 1.125rem;
    font-family: 'Campton';
    font-weight: 300;
    text-align: center;
    
}
.ast-single-post .entry-content a {
    text-decoration: none;
}

.product-buttons {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card a.button.add-to-cart-button {
    text-align: center;
    text-transform: uppercase;
    border: 2px solid #FE6D02;
    background-color: #ffffff;
    color: #FE6D02;
    width: 13.625rem;
    height: 3rem;
}

.product-card .add-to-cart-button {
    opacity: 0; 
    transition: opacity 0.3s ease; 
    position: absolute; 
    border-radius: 0px;
    bottom: 10px; 
    left: 0%;
}


/* Estilo para dispositivos móviles y tabletas */
@media only screen and (max-width: 1024px) {
    .product-card .add-to-cart-button {
        opacity: 1; 
    }
}

/* Estilo para computadoras de escritorio */
@media only screen and (min-width: 1025px) {
    .product-card .add-to-cart-button {
        opacity: 0; 
        transition: opacity 0.3s ease; 
    }

    .product-card:hover .add-to-cart-button {
        opacity: 1; 
    }
}


.product-card a.button.learn-more-button {
    width: 13.625rem;
    text-align: center;
    height: 3rem;
    text-transform: uppercase;
    border-radius: 0px;
}

#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
}

#dynamic-popup {
    display:none;
    position: fixed;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #F5F5F5;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    width: 100%;
    max-width: 600px;
    min-width: 300px;
    max-height: 80vh;
    overflow-y: auto; 
}

@media (max-width: 400px) {
    #dynamic-popup {
        width: 90%; 
        padding: 10px; 
    }
}


.popup-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #FF6600;
    font-size: 1.5rem;
}

.popup-resellers {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.5rem;
}

.popup-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 0px;
}

.popup-section img {
    max-width: 30%;
    
}

.popup-section .button {
    background: #FF6600;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 0px;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .popup-section .button {
        padding: 15px 30px; 
        font-size: 1.75rem; 
    }
}


.popup-section .button:hover {
    background: #E65500;
}



.close-popup {
    display: block;
    margin: 20px auto 0;
    background: #fff;
    color: #ff6210;
    border: solid 1px #ff6210;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close-popup:hover {
    background: #ff6210;
    color: #ffffff;
     
}

/* Estilos para todos los navegadores */
#dynamic-popup::-webkit-scrollbar {
    /*width: 1rem; */
    width: 12px; 
    height: 12px;
}

#dynamic-popup::-webkit-scrollbar-track {
    /*background: #f1f1f1; */
    background: #eea479; 
}

#dynamic-popup::-webkit-scrollbar-thumb {
    /*background: #ff6600; */
    background: #f56109; 
    border-radius: 10px;
}

#dynamic-popup::-webkit-scrollbar-thumb:hover {
    /*background: #ff4500; */
    background: #eea479;
}

.country-selector {
    position: relative;
    display: inline-block;
    }

.selected-country {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #FF6600; /* Color de fondo */
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    }

.selected-country img {
    width: 20px;
    height: auto;
    margin-right: 8px;
    }

.country-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 5px;
    overflow: hidden;
    }

.country-list li {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s;
    }

.country-list li:hover {
    background-color: #FF6600;
    color: #fff;
    }

.country-list img {
    width: 20px;
    height: auto;
    margin-right: 8px;
    }

.fa-chevron-down {
    margin-left: auto;
    }
