/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress Child Theme
 Template:     generatepress
 Version:      1.0.0
*/

/* GeneratePress Site CSS */ /*style product lists built with GB query loop on homepage*/
.gb-query-loop-item .gb-product .woo-regular-price:before, .gb-query-loop-item .gb-product .woo-sale-price:before {
    content: "$";
}
.gb-query-loop-item .price-container:has(.woo-sale-price) > .woo-regular-price {
    text-decoration:line-through;
}
.gb-query-loop-item .gb-product:has(.woo-sale-price) >.sale-tag {
    /*display: inline-block;*/
}
.gb-query-loop-item .gb-product .sale-tag {
    display: none;
    position: absolute;
    top: -0.1em;
    right: -0.1em;
}
.gb-query-loop-item .gb-product:hover:before {
    opacity: 0.9;
}
.gb-query-loop-item .gb-product:hover * {
    /* color:var(--contrast); */
}
.gb-query-loop-item .gb-product {
    transition: all 0.4s ease;
}
/*position header*/
@media(min-width:1025px) {
    .site-branding,.site-branding-container {
        position: absolute;
        left: 50%;
        transform: translatex(-50%);
    }
    body #site-navigation.main-navigation {
        margin-left: 0;
        width: 100%;
    }
}/*style woo sale! badge*/
.woocommerce ul.products li.product.sales-flash-overlay .onsale {
    border-radius: 5px;
    background-color: white;
    border: 1px solid var(--contrast);
    color: var(--contrast);
    text-transform: lowercase;
    top: -0.1em;
    right: -0.1em;
    padding: 3px 12px;
    font-size: 17px;
    font-weight: 500;
    line-height: 25.5px;
}/*hide pricing filter on single product*/
.single.single-product .price-filter {
    display: none;
} /* End GeneratePress Site CSS */

/* Color botón verificador edad */
.avwp-av button.yes {
    background: #3398fa;
}

.avwp-av button.yes:hover {
    background: #1a4c7d;
}

.enlace a {
    color: #de703f;
}

.enlace a:hover {
    color: #324d7b;
}

/* Fuente Exotc350 Bd BT*/

@font-face {
    font-family: Exotc350;
    src: url(/wp-content/uploads/fonts/EXOT350B.TTF);
    font-weight: normal;
}

.main-nav ul li a {
    font-family: 'Exotc350';
    transition: text-shadow 0.3s ease;
}

.main-nav ul li a:hover {
    text-shadow: 0 0 10px #ff7139;
}

/* Ajuste base para la cuadrícula en desktop */
.gp-grid-responsive {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* 4 columnas en escritorio */
    gap: 20px !important; /* Espaciado entre columnas */
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Ajuste para tablet */
@media (max-width: 1024px) and (min-width: 768px) {
    .gp-grid-responsive {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columnas en tablet */
    }
}

/* Ajuste para móvil */
@media (max-width: 767px) {
    .gp-grid-responsive {
        grid-template-columns: repeat(1, 1fr) !important; /* 1 columna en móvil */
    }
}

/* Ajuste para los elementos internos de la cuadrícula */
.gp-grid-responsive > * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ajuste del tamaño del logotipo en dispositivos móviles */
@media (max-width: 768px) {
    .site-logo img {
        max-width: 150px !important;
        height: auto !important;
    }
}

/* Ajuste base para la cuadrícula en desktop JUEGOS */
.gp-grid-responsive2 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important; /* 5 columnas en escritorio */
    gap: 20px !important; /* Espaciado entre columnas */
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Ajuste para tablet */
@media (max-width: 1024px) and (min-width: 768px) {
    .gp-grid-responsive2 {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columnas en tablet */
    }
}

/* Ajuste para móvil */
@media (max-width: 767px) {
    .gp-grid-responsive2 {
        grid-template-columns: repeat(1, 1fr) !important; /* 1 columna en móvil */
    }
}

/* Ajuste para los elementos internos de la cuadrícula */
.gp-grid-responsive2 > * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Formato del texto Scrapeado */
.fecha-sorteo {
    text-align: center;
    font-weight: 100;
    font-size: 14px;
    line-height: 21px;
    color: #464646;
}

.bote-sorteo {
    text-align: center;
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #9d9da2;
}

/* Botón flotante Telegram */

.enlace-flotante {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.enlace-flotante img {
    width: 50px;
    height: auto;
    border-radius: 50%;
    display: block;
}

.texto-flotante {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    white-space: nowrap;
    text-align: center;
    font-size: 12px;
    color: #333;
    line-height: 1.2;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .enlace-flotante {
        bottom: 10px;
        right: 10px;
    }
    .enlace-flotante img {
        width: 40px;
    }
}
