.gdof-seccion {
    background: radial-gradient(circle at 50% 0%, #2a1a1a 0%, #150a0a 70%);
    border-radius: 20px;
    padding: 32px 20px;
    margin: 30px 0;
    box-sizing: border-box;
}
.gdof-seccion * {
    box-sizing: border-box;
}
.gdof-cabecera {
    text-align: center;
    margin-bottom: 26px;
}
.gdof-titulo {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0 0 16px;
    text-shadow: 0 0 20px rgba(255, 95, 47, .5);
}
.gdof-contador {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.gdof-caja {
    background: linear-gradient(135deg, #ff5f2f, #ff2f6d);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 64px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(255, 95, 47, .4);
}
.gdof-numero {
    display: block;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}
.gdof-etiqueta {
    display: block;
    color: rgba(255,255,255,.85);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 4px;
}
.gdof-separador {
    color: #ff5f2f;
    font-size: 24px;
    font-weight: 800;
}

/* ==================================================================
   CARRUSEL: flechas superpuestas sobre el viewport (como referencia)
   ================================================================== */
.gdof-carrusel {
    position: relative;
}
.gdof-carrusel-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.gdof-carrusel-viewport::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
}
.gdof-flecha {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(20, 10, 10, .65);
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
    transition: transform .15s ease, background .15s ease;
}
.gdof-flecha:hover {
    background: rgba(255, 95, 47, .85);
    transform: translateY(-50%) scale(1.08);
}
.gdof-flecha-izq { left: 8px; }
.gdof-flecha-der { right: 8px; }

.gdof-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}

.gdof-tarjeta {
    scroll-snap-align: start;
    position: relative;
    display: block;
    background: #1a1010;
    border: 1px solid #3a2222;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
    /* Fuerza que NINGÚN texto interno (título, precio) herede el subrayado
       de enlace por defecto del tema (Astra u otros). */
    text-decoration: none !important;
    /* Desktop: 5 tarjetas visibles */
    flex: 0 0 calc((100% - 4 * 16px) / 5);
}
.gdof-tarjeta,
.gdof-tarjeta * {
    text-decoration: none !important;
}
.gdof-tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(255, 95, 47, .25);
}

.gdof-imagen {
    width: 100%;
    /* Proporción tipo portada de juego, igual a "Juegos destacados en oferta" */
    padding-top: 130%;
    background-size: cover;
    background-position: center;
    background-color: #241414;
}

.gdof-cuerpo {
    padding: 14px 14px 18px;
}

/* Badge único "⚡ Oferta Flash -X%", DEBAJO de la imagen (no encima),
   igual que el badge "POPULARES" de la sección de referencia. */
.gdof-badge-flash {
    display: inline-block;
    background: linear-gradient(135deg, #ff5f2f, #ff2f6d);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    margin-bottom: 10px;
}

.gdof-cuerpo h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.3;
}

.gdof-precios {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
/* Estilo para el HTML nativo de precio de WooCommerce (get_price_html):
   funciona igual para productos simples y variables (rangos de precio). */
.gdof-precios del {
    color: #8a7a7a;
    font-size: 13px;
    text-decoration: line-through !important;
    opacity: .8;
}
.gdof-precios ins {
    text-decoration: none !important;
}
.gdof-precios .woocommerce-Price-amount {
    color: #ffd447;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none !important;
}
.gdof-precios del .woocommerce-Price-amount {
    color: #8a7a7a;
    font-size: 13px;
    font-weight: 400;
}

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 900px) {
    .gdof-tarjeta {
        /* Tablet: 3 tarjetas visibles */
        flex: 0 0 calc((100% - 2 * 16px) / 3);
    }
}
@media (max-width: 600px) {
    .gdof-tarjeta {
        /* Móvil: 2 tarjetas visibles */
        flex: 0 0 calc((100% - 10px) / 2);
    }
    .gdof-grid {
        gap: 10px;
    }
    .gdof-flecha {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .gdof-flecha-izq { left: 4px; }
    .gdof-flecha-der { right: 4px; }
    .gdof-cuerpo {
        padding: 10px 10px 14px;
    }
    .gdof-badge-flash {
        font-size: 9.5px;
        padding: 4px 9px;
        margin-bottom: 7px;
    }
    .gdof-cuerpo h3 {
        font-size: 13px;
        margin: 0 0 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .gdof-precios .woocommerce-Price-amount {
        font-size: 14.5px;
    }
    .gdof-precios del .woocommerce-Price-amount {
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .gdof-seccion {
        padding: 20px 12px;
        border-radius: 14px;
    }
    .gdof-titulo { font-size: 19px; margin-bottom: 12px; }
    .gdof-contador { gap: 5px; }
    .gdof-caja { min-width: 44px; padding: 6px 8px; border-radius: 8px; }
    .gdof-numero { font-size: 16px; }
    .gdof-etiqueta { font-size: 8px; }
    .gdof-separador { font-size: 16px; }
}
