/*
Theme Name: El Número de Oro
Theme URI: https://aridenlabs.com
Author: Ariden Labs
Author URI: https://aridenlabs.com
Description: Tema personalizado - El Número de Oro - Ariden Labs
Version: 2.3.0 Release
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: el-numero-de-oro
Tags: custom-theme, responsive, business, lottery
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
}
/* Prevent layout shifts */
img, video, iframe {
    max-width: 100%;
    height: auto;
}
/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.sr-only-focusable:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 12px 24px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #353677;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}
/* Accessibility: Minimum touch targets on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn,
    .cart-icon,
    .cta-button,
    .cookie-btn,
    .age-btn,
    .scroll-to-top,
    .blog-read-more,
    .blog-read-more-small,
    .footer-legal-links a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    nav .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}
/* Focus visible for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid #35A3D6;
    outline-offset: 2px;
}
.hero-main-logo {
    aspect-ratio: 1 / 1;
    contain: layout;
}
/* Header */
header {
    background: linear-gradient(135deg, #353677 0%, #35A3D6 50%, #353677 100%);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.5rem 0 0;
    position: relative;
    gap: 3rem;
}
/* Mobile Menu */
/* Hero Section */
.hero {
    background: #ffffff;
    color: #333;
    text-align: center;
    padding: 0.25rem 2rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 2.5rem;
}
.hero > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
/* HERO BANNER - Una sola fila horizontal */
.hero-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0.5rem 2rem !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    margin: 0 auto 1rem auto !important;
    max-width: 900px !important;
}
.hero-logo-section {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.hero-main-logo {
    width: 400px !important;
    height: auto !important;
    display: block !important;
}
.hero-separator {
    width: 2px !important;
    height: 150px !important;
    background: linear-gradient(to bottom, transparent, #ddd, transparent) !important;
    flex-shrink: 0 !important;
    margin: 0 2rem !important;
}
.hero-info-section {
    flex: 1 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
.hero-admin-label {
    font-size: 1.1rem !important;
    color: #666 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-align: left !important;
}
.hero-location {
    font-size: 1.3rem !important;
    color: #353677 !important;
    font-weight: 600 !important;
    margin: 0.25rem 0 !important;
    text-align: left !important;
}
.hero-official {
    font-size: 1rem !important;
    color: #35A3D6 !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-align: left !important;
}
/* HERO BOTTOM - Texto y botón */
.hero-bottom {
    text-align: left !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
.hero-confianza {
    font-size: 1.6rem !important;
    color: #353677 !important;
    font-weight: 600 !important;
    margin: 0 0 1rem 0 !important;
    text-align: center !important;
}
.hero-bottom .cta-button {
    display: inline-block !important;
    margin: 0 auto !important;
}
/* Ocultar las secciones antiguas del grid */
.hero-confianza-section,
.hero-button-section {
    display: none !important;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.hero-logo {
    margin-bottom: 2rem;
}
.hero-logo img {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}
.hero-content p {
    color: #353677;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: none;
}
.hero .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #35A3D6, #353677);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(53, 163, 214, 0.4);
}
.hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(53, 163, 214, 0.6);
    background: linear-gradient(135deg, #353677, #35A3D6);
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.cta-button {
    background: #35A3D6;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.cta-button:hover {
    background: #353677;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
/* Sections */
.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem;
    border-radius: 20px;
}
.section h2 {
    font-size: 2.5rem;
    color: #353677;
    margin-bottom: 2rem;
    text-align: center;
}
.page-title-hidden {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.page-content .entry-content {
    line-height: 1.8;
}
.page-content .entry-content h1,
.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4 {
    color: #353677;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.page-content .entry-content p {
    margin-bottom: 1rem;
}
.page-content .entry-content ul,
.page-content .entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}
.page-content .entry-content a {
    color: #35A3D6;
    text-decoration: none;
}
.page-content .entry-content a:hover {
    text-decoration: underline;
}
/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 3px solid #353677;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(1, 97, 241, 0.3);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.service-card h3 {
    color: #35A3D6;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
/* About Section */
.about {
    background: #f9f9f9;
    width: 100%;
    padding: 2.5rem 2rem;
}
.about .section {
    max-width: 900px;
    margin: 0 auto;
}
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}
.about-image {
    min-height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about-image img {
    width: 75%;
    height: 75%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
    max-width: 100%;
}
/* Contact Section */
/* Contacto - Nueva tarjeta única */
.contact-single-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 4rem;
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1rem 0;
}
.contact-item i {
    font-size: 2.5rem;
    color: #35A3D6;
    flex-shrink: 0;
    margin-top: 0.3rem;
}
.contact-details {
    flex: 1;
}
.contact-details h3 {
    color: #353677;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.contact-details p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.2rem 0;
}
.contact-link {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}
.contact-link:hover {
    opacity: 0.7;
}
/* Footer */
footer {
    background: #02306d;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}
footer p {
    margin: 0.5rem 0;
}
.footer-legal-links {
    font-size: 0.9rem;
    margin-top: 1rem !important;
}
.footer-legal-links a {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 0 0.3rem;
}
.footer-legal-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}
.footer-legal-links a:visited,
.footer-legal-links a:active,
.footer-legal-links a:focus {
    color: white !important;
}
.footer-developer-link {
    color: white;
    text-decoration: none;
    font-weight: normal;
}
.footer-developer-link:hover {
    opacity: 0.8;
}
.footer-responsible-gaming {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding: 0;
}
.footer-responsible-gaming a {
    display: inline-block;
    line-height: 0;
    vertical-align: top;
    transition: opacity 0.3s ease;
}
.footer-responsible-gaming a:hover {
    opacity: 0.7;
}
.footer-responsible-gaming .responsible-icon {
    height: 35px;
    display: inline-block;
    vertical-align: top;
}
/* Tamaños específicos para cada logo */
.footer-responsible-gaming .responsible-icon:nth-child(1) {
    /* Logo +18 - 35x35 */
    width: 35px;
    height: 35px;
    margin-left: 0;
}
.footer-responsible-gaming a:nth-of-type(1) .responsible-icon {
    /* Autoprohibición - 35x35 */
    width: 35px;
    height: 35px;
    margin: 0 10px;
}
.footer-responsible-gaming a:nth-of-type(2) .responsible-icon {
    /* Juego Autorizado - 110x16 */
    width: 110px;
    height: 16px;
    margin: 0 10px;
}
.footer-responsible-gaming a:nth-of-type(3) .responsible-icon {
    /* Juego Seguro - 210x35 */
    width: 210px;
    height: 35px;
    margin: 0 10px;
}
/* Botón Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #35A3D6;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top i {
    line-height: 1;
}
/* Widget Botes de Lotería */
.loteria-botes-widget {
    background: #ffffff;
    padding: 0.25rem 1rem;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
}
.botes-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
}
.bote-item {
    background: white;
    padding: 1rem 0.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}
.bote-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(53, 163, 214, 0.2);
    border-color: #35A3D6;
}
.bote-logo {
    width: 75px;
    height: 75px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bote-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.bote-nombre {
    color: #353677;
    font-size: 0.7rem;
    font-weight: 700;
    margin: 0.3rem 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.1;
}
.bote-cantidad {
    color: #35A3D6;
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}
/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: slideUp 0.5s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}
.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 0.95rem;
}
.cookie-accept {
    background: white;
    color: #353677;
}
.cookie-accept:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}
.cookie-reject {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
}
.cookie-settings {
    background: rgba(255,255,255,0.2);
    color: white;
}
.cookie-settings:hover {
    background: rgba(255,255,255,0.3);
}
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}
.cookie-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}
.cookie-modal-header {
    padding: 2rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-modal-header h2 {
    margin: 0;
    color: #353677;
    font-size: 1.5rem;
}
.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}
.cookie-modal-close:hover {
    background: #f0f0f0;
    color: #353677;
}
.cookie-modal-body {
    padding: 2rem;
}
.cookie-category {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}
.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.cookie-category-header h4 {
    margin: 0;
    color: #353677;
    font-size: 1.1rem;
}
.cookie-required {
    background: #4ade80;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}
.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
.cookie-switch input:checked + .cookie-slider {
    background: linear-gradient(135deg, #353677, #35A3D6);
}
.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}
.cookie-modal-footer {
    padding: 2rem;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}
.cookie-modal-footer .cookie-btn {
    padding: 1rem 3rem;
    font-size: 1rem;
}
/* Verificación de edad */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}
.age-verification-overlay.hidden {
    display: none;
}
.age-verification-modal {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideDown 0.5s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.age-verification-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #353677, #35A3D6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 5px 20px rgba(53, 163, 214, 0.3);
}
.age-verification-modal h2 {
    color: #353677;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}
.age-verification-modal p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}
.age-verification-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
}
.age-btn-no {
    background: white;
    color: #353677;
    border: 3px solid #353677;
}
.age-btn-no:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}
.age-btn-yes {
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
    border: 3px solid transparent;
}
.age-btn-yes:hover {
    background: linear-gradient(135deg, #35A3D6, #353677);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(53, 163, 214, 0.4);
}
/* Logo en el header */
.site-logo {
    display: flex;
    align-items: center;
}
.site-logo a {
    display: block;
    line-height: 0;
}
.site-logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s;
}
.site-logo img:hover {
    transform: scale(1.05);
}
.site-logo img,
header img,
.custom-logo {
    height: 60px !important;
    width: 180px !important;
    object-fit: contain;
    max-width: 180px;
}
.botes-widget-loteria,
.botes-widget {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}
/* ==========================================
   RESPONSIVE - TABLETS
   ========================================== */
@media (max-width: 1200px) {
    .botes-container {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 1024px) and (min-width: 769px) {
    nav {
        padding: 0 1.5rem;
    }
}
/* ==========================================
   RESPONSIVE - MÓVIL
   ========================================== */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
    }
    header {
        padding: 0.5rem 1rem !important;
        margin-bottom: 0;
    }
    nav {
        padding: 0.5rem 1rem;
        justify-content: space-between;
        min-height: auto;
    }
    .cart-icon {
        font-size: 1.3rem;
        padding: 0.3rem;
    }
    /* HERO MÓVIL */
    .hero {
        padding: 1rem 0.5rem !important;
        margin-top: 0 !important;
    }
    .hero-banner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        padding: 1rem 0.5rem !important;
        background: white !important;
    }
    .hero-logo-section {
        order: 1 !important;
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 0.5rem !important;
        flex-shrink: 0 !important;
    }
    .hero-main-logo {
        width: 100% !important;
        max-width: 180px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .hero-info-section {
        order: 3 !important;
        text-align: left !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
    }
    .hero-admin-label {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin: 0 0 0.5rem 0 !important;
        color: #666 !important;
    }
    .hero-location {
        font-size: 0.9rem !important;
        margin: 0 0 0.5rem 0 !important;
        color: #353677 !important;
        font-weight: 600 !important;
    }
    .hero-official {
        font-size: 0.75rem !important;
        margin: 0 !important;
        color: #35A3D6 !important;
        font-weight: 700 !important;
    }
    .hero-content {
        padding: 1rem 0.5rem !important;
        margin-top: 0.5rem !important;
    }
    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
        color: #353677 !important;
    }
    .hero .cta-button {
        padding: 0.9rem 2rem !important;
        font-size: 1rem !important;
    }
    .hero h1 {
        font-size: 2.5rem !important;
    }
    .hero p {
        font-size: 1.2rem !important;
    }
    .hero-logo img {
        max-width: 280px !important;
    }
    /* Resto de móvil */
    .about {
        padding: 2rem 1rem;
        margin-top: 0;
    }
    .section {
        padding: 2rem 1rem;
    }
    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .contact-single-card {
        padding: 1.5rem;
    }
    .contact-item {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding: 0.8rem 0;
    }
    .contact-item i {
        font-size: 2rem;
        margin: 0 auto;
    }
    .contact-details h3 {
        font-size: 1.1rem;
    }
    .contact-link {
        font-size: 0.95rem;
    }
    .loteria-botes-widget {
        padding: 1rem 0.5rem;
        margin: 0;
    }
    .botes-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    .bote-item {
        padding: 0.8rem 0.3rem;
    }
    .bote-logo {
        width: 40px;
        height: 40px;
    }
    .bote-cantidad {
        font-size: 0.9rem;
    }
    .bote-nombre {
        font-size: 0.65rem;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-btn {
        width: 100%;
    }
    .cookie-modal {
        padding: 1rem;
    }
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.5rem;
    }
    .age-verification-modal {
        padding: 2rem 1.5rem;
    }
    .age-verification-modal h2 {
        font-size: 1.5rem;
    }
    .age-verification-modal p {
        font-size: 1.1rem;
    }
    .age-verification-buttons {
        flex-direction: column;
    }
    .age-btn {
        width: 100%;
    }
    .age-verification-logo {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    .site-logo img,
    header img,
    .custom-logo {
        height: 40px !important;
        width: 135px !important;
    }
    /* Contacto centrado en móvil */
    .contact-single-card {
        padding: 2rem 1.5rem !important;
    }
    .contact-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: left !important;
        gap: 1rem !important;
        padding: 1.5rem 0 !important;
    }
    .contact-item i {
        margin-top: 0 !important;
    }
    .contact-details {
        text-align: left !important;
    }
    .contact-details h3 {
        text-align: left !important;
    }
    .contact-details p {
        text-align: left !important;
    }
    .contact-link {
        text-align: left !important;
        display: block !important;
    }
    .contact-map {
        margin: 1rem 0 !important;
    }
}
@media (max-width: 480px) {
    .botes-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
/**
 * Estilos personalizados para WooCommerce
 * Tema: El Número de Oro
 * VERSIÓN OPTIMIZADA PARA MÓVIL
 */
/* Hero Tienda */
.hero-tienda {
    background: linear-gradient(135deg, #353677, #35A3D6);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 0.75rem 2rem 0.5rem;
}
.hero-tienda-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-tienda-content p {
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin: 0;
}
/* Info Cards Tienda */
.tienda-intro {
    background: #f9f9f9;
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.tienda-info-cards {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    padding: 2rem;
}
.info-card-tienda {
    flex: 1;
    background: transparent;
    padding: 1.5rem;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info-card-tienda:hover {
    transform: translateY(-5px);
    box-shadow: none;
}
/* Separador vertical entre cards */
.info-card-tienda:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #ddd, transparent);
}
.info-card-tienda {
    position: relative;
}
.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.info-card-tienda h3 {
    color: #353677;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}
.info-card-tienda p {
    color: #666;
}
/* Categorías */
.tienda-categorias {
    padding: 4rem 2rem;
}
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.categoria-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 3px solid #353677;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.categoria-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(53, 163, 214, 0.4);
    border-color: #35A3D6;
}
.categoria-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.categoria-card h3 {
    color: #35A3D6;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.categoria-card p {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.categoria-count {
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
/* Productos */
.productos-destacados {
    background: #f9f9f9;
    padding: 4rem 2rem;
}
.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: 0;
    margin-right: auto;
    justify-content: start;
}
.productos-recomendados,
.productos-recomendados-section {
    background: transparent;
    padding: 0;
    margin-bottom: 3rem;
    margin-top: 3rem;
}
.productos-recomendados .paso-titulo,
.productos-recomendados-section .paso-titulo {
    margin-top: 0;
}
.producto-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 2px solid #353677;
    display: flex;
    flex-direction: column;
    width: 255px;
    height: 360px;
}
.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(53, 163, 214, 0.3);
}
.producto-imagen {
    display: block;
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #353677, #35A3D6);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}
.producto-numero-grande {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.1em;
    text-decoration: none !important;
    border-bottom: none !important;
}
.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.producto-card:hover .producto-imagen img {
    transform: scale(1.1);
}
.producto-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, #353677, #35A3D6);
}
.producto-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 140px;
    justify-content: space-between;
}
.producto-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 0 0 auto;
}
.producto-info h3 a {
    color: #353677;
    text-decoration: none;
    transition: color 0.3s;
}
.producto-info h3 a:hover {
    color: #35A3D6;
}
.producto-precio {
    font-size: 1.3rem;
    font-weight: bold;
    color: #35A3D6;
    margin-bottom: 0.5rem;
    flex: 0 0 auto;
}
.add-to-cart-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
    padding: 0.6rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    flex: 0 0 auto;
}
.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #35A3D6, #353677);
    transform: scale(1.05);
}
.ver-todos-btn {
    text-align: center;
    margin-top: 3rem;
}
/* Mensajes de estado */
.no-productos,
.no-categorias,
.woocommerce-no-instalado {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    grid-column: 1 / -1;
}
.no-productos p,
.woocommerce-no-instalado p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.woocommerce-no-instalado h3 {
    color: #353677;
    font-size: 2rem;
    margin-bottom: 1rem;
}
/* Cómo Funciona */
.como-funciona {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.como-funciona h2 {
    text-align: center;
}
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.paso-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.paso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(53, 163, 214, 0.3);
}
.paso-numero {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(53, 163, 214, 0.4);
}
.paso-card h3 {
    color: #353677;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.paso-card p {
    color: #666;
    line-height: 1.6;
}
/* Garantías */
.garantias {
    background: linear-gradient(135deg, #353677, #35A3D6);
    padding: 4rem 2rem;
    color: white;
    border-radius: 20px;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.garantias-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.garantias-content h2 {
    color: white;
    margin-bottom: 2rem;
}
.garantias-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.garantia-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}
.garantia-check {
    font-size: 2rem;
    color: #4ade80;
    font-weight: bold;
}
.garantia-item p {
    font-size: 1.1rem;
    margin: 0;
}
/* WooCommerce páginas estándar */
.woocommerce-page .hero-tienda {
    padding: 4rem 2rem;
}
.woocommerce-cart-page {
    max-width: 900px;
    margin: 0 auto;
}
.woocommerce-cart-page .woocommerce {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
/* Carrito vacío - centrar contenido */
.woocommerce-cart-page .cart-empty {
    text-align: center;
    padding: 3rem 0;
}
.woocommerce-cart-page .return-to-shop {
    text-align: center;
    margin-top: 2rem;
}
/* Reducir espacio entre carrito y totales */
.woocommerce-cart .cart-collaterals {
    margin-top: 1.5rem !important;
}
.woocommerce-cart .woocommerce > * + * {
    margin-top: 1.5rem;
}
/* Estilos checkout */
.woocommerce-checkout {
    background: white;
    border-radius: 15px;
}
.woocommerce form.checkout {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}
/* Forzar orden vertical de las secciones */
.woocommerce form.checkout .col2-set {
    order: 1;
    width: 100%;
    display: block !important;
}
.woocommerce form.checkout .col2-set .col-1,
.woocommerce form.checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
}
.woocommerce form.checkout .woocommerce-additional-fields {
    order: 2;
    width: 100%;
    margin-top: 3rem;
    clear: both;
}
.woocommerce form.checkout #order_review_heading {
    order: 3;
    width: 100%;
    margin-top: 3rem;
}
.woocommerce form.checkout #order_review {
    order: 4;
    width: 100%;
}
/* Mensaje de cupón - OCULTO */
.woocommerce-form-coupon-toggle {
    display: none !important;
}
.woocommerce-form-coupon-toggle .woocommerce-info {
    margin: 0 !important;
    background: transparent !important;
    color: white !important;
    border: none !important;
}
.woocommerce-form-coupon-toggle a {
    color: white !important;
    text-decoration: underline !important;
}
/* Campos del formulario */
.woocommerce form .form-row {
    margin-bottom: 2rem;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 100%;
    font-size: 1.1rem;
    background: white;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #35A3D6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(53, 163, 214, 0.1);
}
.woocommerce form .form-row label {
    font-weight: 600;
    color: #353677;
    margin-bottom: 0.7rem;
    display: block;
    font-size: 1.1rem;
}
.woocommerce form .form-row label .required {
    color: #35A3D6;
    font-weight: bold;
    margin-left: 3px;
}
/* Títulos de secciones */
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3 {
    color: #353677;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #35A3D6;
}
/* Grid de 2 columnas para Detalles de facturación */
.woocommerce form .form-row-wide {
    width: 100%;
    clear: both;
}
/* Resumen del pedido */
.woocommerce #order_review {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 15px;
}
.woocommerce #order_review_heading {
    color: #353677;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center !important;
}
.woocommerce .woocommerce-checkout-review-order-table {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: white;
}
.woocommerce .woocommerce-checkout-review-order-table th {
    text-align: center !important;
    padding: 1rem !important;
}
.woocommerce .woocommerce-checkout-review-order-table td {
    text-align: center !important;
    padding: 1rem !important;
}
/* Centrar información del pedido confirmado (NÚMERO, FECHA, TOTAL) */
.woocommerce-order-overview {
    text-align: center !important;
    justify-content: center !important;
    list-style: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.woocommerce-order-overview li {
    text-align: center !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    border: none !important;
    padding: 0.5rem 0 !important;
}
.woocommerce-order-overview li.woocommerce-order-overview__payment-method mark {
    background: none !important;
    display: block !important;
    text-align: center !important;
}
/* Reglas para labels y dt en product-name */
/* PRIORIDAD MÁXIMA: Sobrescribir estilos por defecto de WooCommerce para labels y dt */
.woocommerce td.product-name .wc-item-meta .wc-item-meta-label,
.woocommerce td.product-name .wc-item-meta dt,
.woocommerce td.product-name dl.variation .wc-item-meta-label,
.woocommerce td.product-name dl.variation dt {
    float: none !important;
    clear: both !important;
    margin-right: 0 !important;
    display: block !important;
    list-style: none outside !important;
    text-align: center !important;
}
/* Mostrar metadatos del producto de forma visible */
/* Alinear nombre del producto a la izquierda */
.woocommerce .woocommerce-checkout-review-order-table .product-name {
    font-weight: 600 !important;
    color: #353677 !important;
    text-align: center !important;
}
/* Alinear TODO el contenido de la celda de producto a la izquierda */
.woocommerce .woocommerce-checkout-review-order-table td.product-name {
    text-align: center !important;
}
/* Eliminar TODA indentación de todos los elementos dentro de product-name */
.woocommerce .woocommerce-checkout-review-order-table .product-name * {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
/* MÁXIMA ESPECIFICIDAD: Eliminar indentación de dl.variation */
.woocommerce.woocommerce .woocommerce-checkout-review-order-table.woocommerce-checkout-review-order-table .product-name.product-name dl.variation.variation {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
}
.woocommerce.woocommerce .woocommerce-checkout-review-order-table.woocommerce-checkout-review-order-table .product-name.product-name dl.variation.variation dt {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    display: block !important;
}
.woocommerce.woocommerce .woocommerce-checkout-review-order-table.woocommerce-checkout-review-order-table .product-name.product-name dl.variation.variation dd {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    display: none !important;
}
/* CRÍTICO: Eliminar indentación de dl.variation (selector MUY específico) */
.woocommerce .woocommerce-checkout-review-order-table .product-name dl.variation {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
}
.woocommerce .woocommerce-checkout-review-order-table .product-name dl.variation dt {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    display: block !important;
}
.woocommerce .woocommerce-checkout-review-order-table .product-name dl.variation dd {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    display: none !important;
}
/* CRÍTICO: Eliminar indentación de .variation (causa principal del problema) */
.woocommerce .woocommerce-checkout-review-order-table .product-name .variation {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
}
.woocommerce .woocommerce-checkout-review-order-table .product-name .variation dt {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
}
.woocommerce .woocommerce-checkout-review-order-table .product-name .variation dd {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
}
/* Centrar metadatos */
.woocommerce .woocommerce-checkout-review-order-table .product-name .wc-item-meta {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: #666 !important;
    margin-top: 0.5rem !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}
/* Estructura de WooCommerce: dl > dt (label) + dd (value) */
.woocommerce .woocommerce-checkout-review-order-table .product-name .wc-item-meta dl {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.woocommerce .woocommerce-checkout-review-order-table .product-name .wc-item-meta dt {
    display: block !important;
    font-weight: 400 !important;
    color: #666 !important;
    margin: 0 0 0.25rem 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    float: none !important;
    text-align: left !important;
}
/* Ocultar dd completamente por defecto */
.woocommerce .woocommerce-checkout-review-order-table .product-name .wc-item-meta dd {
    display: none !important;
}
/* Mostrar dd solo cuando tiene contenido real (como "Terminado en X") */
.woocommerce .woocommerce-checkout-review-order-table .product-name .wc-item-meta dd:not(:empty) {
    display: block !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
}
.woocommerce .woocommerce-checkout-review-order-table .product-name .wc-item-meta dd p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.woocommerce .woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce .woocommerce-checkout-review-order-table .order-total th {
    font-weight: 600;
    color: #353677;
}
.woocommerce .woocommerce-checkout-review-order-table .order-total {
    font-size: 1.2rem;
    font-weight: bold;
    background: #f9f9f9;
}
.woocommerce .woocommerce-checkout-review-order-table .order-total .amount {
    color: #35A3D6;
    font-size: 1.5rem;
}
/* Métodos de pago */
.woocommerce #payment {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
}
.woocommerce #payment .payment_methods {
    padding: 0;
    margin-bottom: 1.5rem;
    list-style: none;
}
.woocommerce #payment .payment_method_paypal img {
    max-width: 100px;
}
.woocommerce #payment ul.payment_methods li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}
.woocommerce #payment ul.payment_methods li input {
    margin-right: 0.5rem;
}
.woocommerce #payment ul.payment_methods li label {
    font-weight: 600;
    cursor: pointer;
}
/* DESKTOP: Limitar tamaño del logo de Klarna */
.woocommerce #payment ul.payment_methods li label img {
    max-height: 24px !important;
    max-width: 80px !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle;
}
/* DESKTOP: Mostrar TODOS los iconos de tarjetas sin "+3" */
/* Forzar contenedor de iconos a que no se corte */
.payment-methods--logos,
.payment-method-icons,
div[class*="payment-method-icons"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    overflow: visible !important;
    max-width: none !important;
    width: auto !important;
}
.payment-methods--logos img,
.payment-method-icons img,
div[class*="payment-method-icons"] img,
.wc-payment-method-logo img {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 24px !important;
    max-width: 38px !important;
    height: auto !important;
    width: auto !important;
    margin: 0 2px !important;
    flex-shrink: 0 !important;
}
/* Ocultar contador "+X" en desktop */
.payment-methods--logos-count,
span[class*="more-cards"],
div[class*="more-cards"] {
    display: none !important;
}
/* Ocultar iconos a partir del tercero (AMEX y siguientes) - DESKTOP */
.payment-methods--logos img:nth-child(n+3),
.payment-method-icons img:nth-child(n+3),
div[class*="payment-method-icons"] img:nth-child(n+3) {
    display: none !important;
}
.woocommerce #payment div.payment_box {
    background: #e8f4f8;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}
/* Botón de realizar pedido */
.woocommerce #payment #place_order {
    width: 100%;
    padding: 1.2rem !important;
    font-size: 1.1rem !important;
    margin-top: 2rem !important;
}
/* Confirmación de pedido */
.woocommerce-order-received .woocommerce-notice {
    background: #4ade80;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.woocommerce-order-details,
.woocommerce-customer-details {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
    color: #353677;
    margin-bottom: 1rem;
}
.woocommerce table.shop_table {
    border-radius: 10px;
    overflow: hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
}
/* ============================================
   TABLA DEL CARRITO - DISEÑO LIMPIO Y MODERNO
   ============================================ */
/* Tabla base con bordes redondeados */
.woocommerce-cart table.cart {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    table-layout: fixed !important;
}
/* Contenedor scroll horizontal */
.woocommerce-cart-form {
    overflow-x: auto;
}
/* ===== HEADER CON GRADIENTE AZUL ===== */
.woocommerce-cart table.cart thead {
    background: linear-gradient(90deg, #353677 0%, #35A3D6 100%);
}
.woocommerce-cart table.cart thead th {
    padding: 0.9rem 0.5rem;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
    border: none;
    color: white !important;
    white-space: nowrap;
}
/* Header de la columna X - forzar ancho mínimo */
.woocommerce-cart table.cart thead th.product-remove {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    padding: 0.9rem 0 !important;
    overflow: hidden !important;
}
/* Ocultar el texto "Eliminar artículo" que ocupa espacio */
.woocommerce-cart table.cart thead th.product-remove .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* ===== FILAS SIN LÍNEAS, SOLO HOVER ===== */
.woocommerce-cart table.cart tbody tr {
    border: none;
    transition: background-color 0.2s ease;
}
.woocommerce-cart table.cart tbody tr:hover {
    background-color: #f8f9fa;
}
/* ===== CELDAS SIN BORDES ===== */
.woocommerce-cart table.cart td {
    border: none !important;
    padding: 0.8rem 0.5rem;
    vertical-align: middle;
}
/* ===== COLUMNA X (50PX) ===== */
.woocommerce-cart table.cart .product-remove {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    padding: 0.2rem 0 !important;
    text-align: center !important;
}
.woocommerce-cart table.cart .product-remove a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #35A3D6 !important;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-radius: 50%;
    background: transparent;
}
.woocommerce-cart table.cart .product-remove a:hover {
    color: white !important;
    background: #35A3D6;
    transform: scale(1.15);
}
/* ===== OCULTAR IMAGEN ===== */
.woocommerce-cart table.cart .product-thumbnail {
    display: none !important;
}
/* ===== COLUMNA SORTEO (200PX) ===== */
.woocommerce-cart table.cart .product-name {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    text-align: left !important;
    padding: 0.8rem 1rem !important;
    line-height: 1.6;
}
.woocommerce-cart table.cart .product-name a {
    color: #353677;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}
.woocommerce-cart table.cart .product-name a:hover {
    color: #35A3D6;
}
/* ===== COLUMNA Nº DE BOLETO (160PX) ===== */
.woocommerce-cart table.cart .product-boleto {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    text-align: left !important;
    padding: 0.8rem 0.5rem !important;
    color: #353677;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* ===== COLUMNA CANTIDAD (80PX) ===== */
.woocommerce-cart table.cart .product-quantity {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    text-align: left !important;
    padding: 0.8rem 0.3rem !important;
}
.woocommerce-cart table.cart .quantity {
    display: inline-block;
}
.woocommerce-cart table.cart .quantity input {
    width: 50px;
    padding: 0.35rem 0.2rem;
    text-align: center;
    border: 1.5px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.woocommerce-cart table.cart .quantity input:focus {
    border-color: #35A3D6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(53, 163, 214, 0.15);
}
.woocommerce-cart table.cart .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce-cart table.cart .quantity input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}
/* ===== COLUMNA UNIDAD (75PX) ===== */
/* ===== ESTILOS DE DESKTOP SOLAMENTE ===== */
@media (min-width: 769px) {
    /* ===== COLUMNA UNIDAD (80PX) ===== */
    .woocommerce-cart table.cart .product-price {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
        text-align: left !important;
        padding: 0.8rem 0.3rem !important;
    }
    .woocommerce-cart table.cart .product-price .amount,
    .woocommerce-cart table.cart .product-price .woocommerce-Price-amount {
        color: #35A3D6;
        font-weight: 600;
        font-size: 0.95rem;
    }
    /* ===== COLUMNA TOTAL (80PX) ===== */
    .woocommerce-cart table.cart .product-subtotal {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
        text-align: left !important;
        padding: 0.8rem 0.3rem !important;
    }
    .woocommerce-cart table.cart .product-subtotal .amount,
    .woocommerce-cart table.cart .product-subtotal .woocommerce-Price-amount {
        color: #353677;
        font-weight: 700;
        font-size: 1rem;
    }
    /* ===== DETALLES DE FACTURACIÓN - 2 COLUMNAS DESKTOP ===== */
    .woocommerce-billing-fields__field-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        max-width: 900px !important;
        margin: 0 auto !important;
    }
    .woocommerce-billing-fields__field-wrapper .form-row {
        width: 380px !important;
        margin-bottom: 0 !important;
        flex: 0 0 380px !important;
    }
    .woocommerce-billing-fields__field-wrapper .form-row input.input-text,
    .woocommerce-billing-fields__field-wrapper .form-row textarea,
    .woocommerce-billing-fields__field-wrapper .form-row select {
        width: 380px !important;
        height: 50px !important;
        box-sizing: border-box !important;
    }
    /* Select2 (Provincia, País, etc) con el mismo ancho */
    .woocommerce-billing-fields__field-wrapper .form-row .select2-container,
    .woocommerce-billing-fields__field-wrapper .form-row .select2-selection {
        width: 380px !important;
        height: 50px !important;
        box-sizing: border-box !important;
    }
    .woocommerce-billing-fields__field-wrapper .form-row .select2-selection__rendered {
        line-height: 50px !important;
        height: 50px !important;
    }
    .woocommerce-billing-fields__field-wrapper .form-row .select2-selection__arrow {
        height: 50px !important;
    }
    /* Solo el correo electrónico ocupa 100% */
    .woocommerce-billing-fields__field-wrapper #billing_email_field {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
    .woocommerce-billing-fields__field-wrapper #billing_email_field input.input-text {
        width: 100% !important;
    }
    /* Ocultar icono de búsqueda de dirección */
    .address-search-icon {
        display: none !important;
    }
}
/* ===== FIN ESTILOS DESKTOP ===== */
.woocommerce .cart-collaterals {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
.woocommerce .cart-collaterals .cart_totals {
    background: white;
    padding: 1.2rem;
    border-radius: 15px;
    border: 2px solid #353677;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    max-width: 550px;
    width: 100%;
}
.woocommerce .cart-collaterals .cart_totals h2 {
    color: #353677;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid #35A3D6;
}
/* Tabla de totales */
.woocommerce .cart-collaterals .cart_totals table {
    width: 100%;
    margin-bottom: 1rem;
}
.woocommerce .cart-collaterals .cart_totals th,
.woocommerce .cart-collaterals .cart_totals td {
    padding: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
    font-weight: 600;
    color: #35A3D6;
}
.woocommerce .cart-collaterals .cart_totals th {
    text-align: left;
    font-weight: 600;
    color: #353677;
}
/* Fila del total final */
.woocommerce .cart-collaterals .cart_totals .order-total th,
.woocommerce .cart-collaterals .cart_totals .order-total td {
    font-size: 1rem;
    font-weight: bold;
    padding: 0.7rem 0.5rem;
    border-top: 2px solid #353677;
    border-bottom: none;
}
.woocommerce .cart-collaterals .cart_totals .order-total td {
    color: #353677;
}
/* Mensaje de método de pago Klarna */
.cart_totals #payment-method-message {
    margin: -8px 0 4px;
    /* height: var(--wc-bnpl-height); */
    padding: 2px 1em 0;
    margin-bottom: var(--wc-bnpl-margin-bottom);
}
/* Botón de finalizar compra */
.woocommerce .wc-proceed-to-checkout {
    padding: 0;
    margin-top: 1rem;
}
.woocommerce .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    padding: 0.9rem !important;
    font-size: 1rem !important;
    background: linear-gradient(135deg, #353677, #35A3D6) !important;
    border-radius: 10px !important;
    margin-bottom: 0 !important;
}
/* Estilos para el cupón */
.woocommerce table.cart td.actions .coupon {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.woocommerce table.cart td.actions .coupon input#coupon_code {
    min-width: 200px;
    max-width: 300px;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
.woocommerce table.cart td.actions {
    padding: 1.5rem !important;
    text-align: left !important;
    width: 100% !important;
    background: transparent !important;
}
/* Contenedor del botón - CENTRADO ABSOLUTO */
.woocommerce table.cart td.actions > * {
    margin-left: auto !important;
    margin-right: auto !important;
}
.woocommerce table.cart td.actions .coupon .button {
    white-space: nowrap;
    margin: 0;
}
/* Botones de acción del carrito - CENTRADO FORZADO */
.woocommerce table.cart .actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: left !important;
}
.woocommerce table.cart .actions > .button,
.woocommerce table.cart .actions button {
    align-self: center !important;
    margin: 0 auto !important;
    display: block !important;
    text-align: left !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #353677, #35A3D6) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: linear-gradient(135deg, #35A3D6, #353677) !important;
    transform: translateY(-2px);
}
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    background: #35A3D6;
    color: white;
    border-radius: 10px;
}
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.woocommerce ul.products li.product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 2px solid #353677;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(53, 163, 214, 0.3);
}
.woocommerce ul.products li.product .button {
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
}
.woocommerce ul.products li.product .button:hover {
    background: linear-gradient(135deg, #35A3D6, #353677);
}
/* ============================================
   WIDGET/MINI CARRITO
   ============================================ */
/* Contenedor del widget del carrito */
.widget_shopping_cart,
.woocommerce-mini-cart {
    padding: 1.5rem;
}
/* Lista de productos en el mini carrito */
.woocommerce-mini-cart__items,
/* Cada producto en el mini carrito */
.woocommerce-mini-cart-item {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 60px 1fr 30px;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}
.woocommerce-mini-cart-item:last-child {
    border-bottom: none;
}
/* Miniatura del producto */
.woocommerce-mini-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #353677;
}
/* Información del producto (nombre, precio, cantidad) */
/* Información y nombre del producto - MÁS GRANDE Y SIN CORTAR */
.woocommerce-mini-cart-item .product-name,
.woocommerce-mini-cart-item > a:not(.remove) {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #353677;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal !important;
}
.woocommerce-mini-cart-item > a:not(.remove):hover {
    color: #35A3D6;
}
/* Precio y cantidad */
.woocommerce-mini-cart-item .quantity {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.3rem;
}
.woocommerce-mini-cart-item .amount {
    color: #35A3D6;
    font-weight: bold;
    font-size: 1.1rem;
}
/* Botón de eliminar (X) - AL LADO DEL PRODUCTO */
.woocommerce-mini-cart-item .remove {
    grid-column: 3;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #35A3D6 !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
    border-radius: 50%;
    transition: all 0.3s;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
}
.woocommerce-mini-cart-item .remove:hover {
    background: #fff0f0 !important;
    color: #02306d !important;
    transform: scale(1.1);
}
.woocommerce-mini-cart-item .remove::before {
    content: '×';
    line-height: 1;
}
/* Totales del mini carrito */
.woocommerce-mini-cart__total {
    padding: 1rem 0;
    border-top: 2px solid #353677;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.woocommerce-mini-cart__total strong {
    font-size: 1.2rem;
    color: #353677;
}
.woocommerce-mini-cart__total .amount {
    font-size: 1.4rem;
    color: #35A3D6;
    font-weight: bold;
}
/* Botones del mini carrito */
.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}
.woocommerce-mini-cart__buttons .button {
    width: 100%;
    text-align: center;
    padding: 0.9rem !important;
    font-size: 1rem !important;
}
/* Mensaje de carrito vacío */
.woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.1rem;
}
/* ============================================
   PÁGINA INDIVIDUAL DE PRODUCTO
   ============================================ */
.single-product .product {
    grid-template-columns: 450px 1fr;
    gap: 4rem;
    max-width: 1600px;
    margin: 2rem auto;
    padding: 2rem 3rem;
    align-items: start;
}
.single-product .woocommerce-product-gallery {
    width: 100%;
    max-width: 450px;
    margin: 0;
}
.single-product .woocommerce-product-gallery__wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid #353677;
    background: white;
}
.single-product .woocommerce-product-gallery__image {
    margin: 0;
    padding: 2rem;
    background: white;
}
.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.single-product .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}
.single-product .summary {
    padding: 0;
    width: 100%;
}
.single-product .product_title {
    color: #353677;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.single-product .price {
    font-size: 2.5rem;
    color: #35A3D6 !important;
    font-weight: bold;
    margin-bottom: 2rem;
    display: block;
}
/* Asegurar que todos los elementos del precio tengan el color correcto */
.single-product .price * {
    color: #35A3D6 !important;
}
.single-product .woocommerce-product-details__short-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 15px;
    border-left: 5px solid #35A3D6;
    font-size: 1.1rem;
}
/* Stock y cantidad */
.single-product .stock {
    display: inline-block;
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 12px rgba(53, 163, 214, 0.3);
}
.single-product .stock.in-stock {
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white !important;
}
.single-product .stock.out-of-stock {
    background: linear-gradient(135deg, #35A3D6, #02306d);
    color: white !important;
}
.single-product form.cart {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 3px solid #353677;
    margin-bottom: 1.5rem;
}
.single-product form.cart .quantity {
    margin-bottom: 1rem;
}
.single-product form.cart .quantity label {
    display: block;
    color: #353677;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.single-product form.cart .quantity input {
    width: 80px;
    padding: 0.8rem;
    border: 2px solid #35A3D6;
    border-radius: 8px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
    color: #353677;
}
.single-product form.cart .quantity input:focus {
    outline: none;
    border-color: #353677;
    box-shadow: 0 0 0 3px rgba(53, 163, 214, 0.2);
}
.single-product .single_add_to_cart_button {
    width: 100%;
    padding: 1.5rem !important;
    font-size: 1.3rem !important;
    margin-top: 2rem !important;
}
.single-product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #353677;
}
.single-product .related.products {
    display: none !important;
}
/* ============================================
   RESPONSIVE - MÓVIL OPTIMIZADO
   ============================================ */
@media (max-width: 768px) {
    /* ===== FORZAR FONDOS TRANSPARENTES EN CARRITO - MEGA IMPORTANTE ===== */
    .woocommerce-cart table.cart,
    .woocommerce-cart table.cart tbody,
    .woocommerce-cart table.cart tbody tr,
    .woocommerce-cart table.cart tbody tr td,
    .woocommerce-cart table.cart tbody tr:nth-child(odd),
    .woocommerce-cart table.cart tbody tr:nth-child(even),
    .woocommerce-cart table.cart tbody tr:hover,
    .woocommerce-cart table.cart tbody tr:hover td {
        background: transparent !important;
        background-color: transparent !important;
    }
    /* ===== HERO BANNER - SUPER COMPACTO ===== */
    .hero-tienda {
        padding: 1.5rem 1rem !important;
        min-height: auto !important;
    }
    .hero-tienda-content h1 {
        font-size: 1.3rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.3 !important;
    }
    .hero-tienda-content p {
        font-size: 0.9rem !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
    /* ===== PÁGINA DEL CARRITO - COMPACTA ===== */
    .woocommerce-cart-page {
        /* padding: 1rem; */
        max-width: 600px;
        margin: 0 auto;
    }
    .woocommerce-cart-page .woocommerce {
        padding: 0 1rem;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    /* Reducir espacio entre elementos */
    .woocommerce-cart .woocommerce > * + * {
        margin-top: 0.8rem !important;
    }
    /* ===== TABLA DEL CARRITO - RESPONSIVE MÓVIL ===== */
    .woocommerce-cart table.cart thead {
        display: none;
    }
    .woocommerce-cart table.cart tbody tr {
        display: block !important;
        background: white !important;
        border: 2px solid #e5e5e5 !important;
        border-radius: 10px !important;
        margin-bottom: 1rem !important;
        padding: 1rem !important;
        position: relative !important;
    }
    .woocommerce-cart table.cart tbody tr:hover {
        background: white !important;
    }
    .woocommerce-cart table.cart tbody td {
        display: block !important;
        text-align: left !important;
        padding: 0.5rem 0 !important;
        border: none !important;
    }
    .woocommerce-cart table.cart tbody td::before {
        display: none !important;
    }
    /* X en la esquina superior derecha DENTRO del card */
    .woocommerce-cart table.cart .product-remove {
        position: absolute !important;
        top: 0.1rem !important;
        right: 0.8rem !important;
        width: 25px !important;
        min-width: 25px !important;
        height: 25px !important;
        z-index: 10 !important;
    }
    .woocommerce-cart table.cart .product-remove a {
        width: 25px !important;
        height: 25px !important;
        font-size: 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .woocommerce-cart table.cart .product-thumbnail {
        display: none !important;
    }
    /* Nombre del producto - UNA SOLA LÍNEA */
    .woocommerce-cart table.cart .product-name {
        width: 100% !important;
        padding: 0 2.5rem 0.5rem 0 !important;
        margin-bottom: 0.5rem !important;
        /* border-bottom: 1px solid #e0e0e0 !important; */
        font-weight: 700 !important;
        font-size: 1rem !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.3 !important;
    }
    .woocommerce-cart table.cart .product-name a {
        font-size: 1rem !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        color: #353677 !important;
        white-space: normal !important;
    }
    .woocommerce-cart table.cart .product-name::before {
        display: none !important;
    }
    /* Nº de boleto - PERMITE WRAP */
    .woocommerce-cart table.cart .product-boleto {
        width: 100% !important;
        padding: 0.2rem 0 !important;
        text-align: left !important;
        font-size: 0.95rem !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.3 !important;
    }
    .woocommerce-cart table.cart .product-boleto::before {
        content: "Boleto: " !important;
        font-weight: 600 !important;
        color: #666 !important;
        display: inline !important;
    }
    /* Layout de fila completo - SIN CARD, solo separador */
    .woocommerce-cart table.cart tbody tr {
        display: block !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 2px solid #e0e0e0 !important;
        border-radius: 0 !important;
        margin-bottom: 1.2rem !important;
        padding: 0.5rem 0.8rem 0.8rem 0.8rem !important;
        position: relative !important;
    }
    .woocommerce-cart table.cart tbody tr:last-child {
        border-bottom: none !important;
    }
    /* Forzar transparente en TODAS las celdas */
    .woocommerce-cart table.cart tbody td {
        display: block !important;
        width: 100% !important;
        padding: 0.2rem 0 !important;
        text-align: left !important;
        background: transparent !important;
        background-color: transparent !important;
    }
    /* Forzar hover transparente también */
    .woocommerce-cart table.cart tbody tr:hover,
    .woocommerce-cart table.cart tbody tr:hover td {
        background: transparent !important;
        background-color: transparent !important;
    }
    /* Cantidad - etiqueta + input INLINE */
    .woocommerce-cart table.cart .product-quantity {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0.2rem 0 !important;
    }
    .woocommerce-cart table.cart .product-quantity::before {
        content: 'Cantidad:' !important;
        font-weight: 600 !important;
        color: #666 !important;
        display: inline !important;
        flex-shrink: 0 !important;
    }
    /* Precio - etiqueta en línea separada */
    .woocommerce-cart table.cart .product-price {
        width: 100% !important;
        padding: 0.3rem 0 0.1rem 0 !important;
        text-align: left !important;
        display: block !important;
    }
    .woocommerce-cart table.cart .product-price::before {
        content: 'Precio:' !important;
        font-weight: 600 !important;
        color: #666 !important;
        display: block !important;
        margin-bottom: 0.3rem !important;
    }
    .woocommerce-cart table.cart .product-price .amount,
    .woocommerce-cart table.cart .product-price .woocommerce-Price-amount {
        display: block !important;
    }
    /* Subtotal - etiqueta en línea separada */
    .woocommerce-cart table.cart .product-subtotal {
        width: 100% !important;
        padding: 0.5rem 0 0 0 !important;
        text-align: left !important;
        font-weight: 700 !important;
        font-size: 1.05rem !important;
        border-top: 1px solid #e0e0e0 !important;
        margin-top: 0.4rem !important;
        display: block !important;
    }
    .woocommerce-cart table.cart .product-subtotal::before {
        content: 'Subtotal:' !important;
        font-weight: 700 !important;
        color: #666 !important;
        display: block !important;
        margin-bottom: 0.3rem !important;
    }
    .woocommerce-cart table.cart .product-subtotal .amount,
    .woocommerce-cart table.cart .product-subtotal .woocommerce-Price-amount {
        display: block !important;
    }
    /* Ajustar el input de cantidad */
    .woocommerce-cart table.cart .quantity {
        display: inline-block;
    }
    .woocommerce-cart table.cart .quantity input {
        width: 60px !important;
        padding: 0.4rem !important;
        font-size: 1rem !important;
    }
    .woocommerce-cart table.cart .product-subtotal .amount {
        font-size: 1.3rem !important;
        color: #35A3D6 !important;
    }
    /* ===== ACCIONES DEL CARRITO ===== */
    .woocommerce table.cart td.actions {
        padding: 1rem 0.5rem !important;
        text-align: left !important;
    }
    .woocommerce table.cart td.actions .coupon {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 0.8rem;
        gap: 0.5rem;
    }
    .woocommerce table.cart td.actions .coupon input#coupon_code {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 0;
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    .woocommerce table.cart td.actions .coupon .button,
    .woocommerce table.cart .actions > .button {
        width: 100%;
        padding: 0.7rem 1rem !important;
        margin: 0 auto !important;
        display: block !important;
        font-size: 0.9rem !important;
    }
    /* ===== TOTALES DEL CARRITO ===== */
    .woocommerce .cart-collaterals {
        margin-top: 0.8rem !important;
    }
    .woocommerce .cart-collaterals .cart_totals {
        padding: 1rem;
        border-radius: 10px;
    }
    .woocommerce .cart-collaterals .cart_totals h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
        padding-bottom: 0.6rem;
    }
    .woocommerce .cart-collaterals .cart_totals table {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    .woocommerce .cart-collaterals .cart_totals th,
    .woocommerce .cart-collaterals .cart_totals td {
        padding: 0.5rem !important;
    }
    .woocommerce .cart-collaterals .cart_totals .order-total th,
    .woocommerce .cart-collaterals .cart_totals .order-total td {
        font-size: 0.95rem !important;
        padding: 0.6rem 0.5rem !important;
    }
    .woocommerce .wc-proceed-to-checkout .checkout-button {
        padding: 0.85rem !important;
        font-size: 0.95rem !important;
        width: 100%;
    }
    /* ===== CHECKOUT ===== */
    .woocommerce-checkout {
        /* padding: 0.8rem; */
    }
    .woocommerce form.checkout {
        padding: 0.5rem;
    }
    .woocommerce #order_review {
        padding: 1rem;
    }
    .woocommerce #order_review_heading {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    /* ===== PRODUCTO INDIVIDUAL ===== */
    .single-product .product {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    .single-product .woocommerce-product-gallery {
        max-width: 100%;
    }
    .single-product .summary {
        padding: 0;
    }
    .single-product .product_title {
        font-size: 1.8rem;
    }
    .single-product .price {
        font-size: 1.8rem;
    }
    .single-product .stock {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .single-product form.cart {
        padding: 1rem;
        border-width: 2px;
    }
    .single-product form.cart .quantity input {
        width: 70px;
        padding: 0.6rem;
        font-size: 1.1rem;
    }
    .single-product .woocommerce-product-details__short-description {
        padding: 1.5rem;
        font-size: 1rem;
    }
    .single-product .woocommerce-tabs {
        padding: 1.5rem;
    }
    /* ===== OTROS ===== */
    .categorias-grid,
    .productos-grid,
    .pasos-grid {
        grid-template-columns: 1fr;
    }
    .garantias-lista {
        grid-template-columns: 1fr;
    }
    /* ===== WIDGET/MINI CARRITO EN MÓVIL ===== */
    .widget_shopping_cart,
    .woocommerce-mini-cart {
        padding: 1rem;
    }
    .woocommerce-mini-cart-item {
        grid-template-columns: 50px 1fr 25px;
        gap: 0.8rem;
        padding: 0.8rem 0;
    }
    .woocommerce-mini-cart-item img {
        width: 50px;
        height: 50px;
    }
    .woocommerce-mini-cart-item > a:not(.remove) {
        font-size: 1rem !important;
    }
    .woocommerce-mini-cart-item .remove {
        width: 25px !important;
        height: 25px !important;
        font-size: 1.3rem !important;
    }
    .woocommerce-mini-cart__total strong {
        font-size: 1.1rem;
    }
    .woocommerce-mini-cart__total .amount {
        font-size: 1.2rem;
    }
}
/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-tienda {
        padding: 3rem 1.5rem;
    }
    .hero-tienda-content h1 {
        font-size: 2.2rem;
    }
    .hero-tienda-content p {
        font-size: 1.1rem;
    }
    .numeros-principales {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .single-product .product {
        grid-template-columns: 400px 1fr;
        gap: 3rem;
        padding: 2rem;
    }
    .single-product .woocommerce-product-gallery {
        max-width: 400px;
    }
    .single-product .product_title {
        font-size: 2rem;
    }
    .single-product .price {
        font-size: 2rem;
    }
}
/* ============================================
   MODAL CARRITO PERSONALIZADO
   ============================================ */
/* Overlay del modal */
.modal-carrito-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999998; /* MENOR que el modal de edad (999999) */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-carrito-overlay.mostrar {
    opacity: 1;
}
/* Contenido del modal */
.modal-carrito-contenido {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    text-align: center;
    border: 3px solid #353677;
}
.modal-carrito-overlay.mostrar .modal-carrito-contenido {
    transform: scale(1);
}
/* Botón de cerrar */
.modal-carrito-cerrar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}
.modal-carrito-cerrar:hover {
    background: #f0f0f0;
    color: #353677;
    transform: rotate(90deg);
}
/* Icono de check */
.modal-carrito-icono {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkBounce 0.6s ease;
}
@keyframes checkBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
.modal-carrito-icono .checkmark {
    color: white;
    font-size: 3rem;
    font-weight: bold;
}
/* Título */
.modal-carrito-titulo {
    color: #353677;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}
/* Mensaje */
.modal-carrito-mensaje {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}
/* Botones */
.modal-carrito-botones {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}
.modal-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
    width: 100%;
}
.modal-btn-carrito {
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
}
.modal-btn-carrito:hover {
    background: linear-gradient(135deg, #35A3D6, #353677);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(53, 163, 214, 0.4);
}
.modal-btn-seguir {
    background: white;
    color: #353677;
    border: 2px solid #353677;
}
.modal-btn-seguir:hover {
    background: #353677;
    color: white;
    transform: translateY(-2px);
}
/* Ocultar notificaciones estándar de WooCommerce */
.woocommerce-message,
.woocommerce-notices-wrapper {
    display: none !important;
}
/* Responsive móvil */
@media (max-width: 768px) {
    .modal-carrito-contenido {
        padding: 2rem 1.5rem;
    }
    .modal-carrito-titulo {
        font-size: 1.5rem;
    }
    .modal-carrito-mensaje {
        font-size: 1rem;
    }
    .modal-carrito-icono {
        width: 60px;
        height: 60px;
    }
    .modal-carrito-icono .checkmark {
        font-size: 2rem;
    }
    .modal-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}/* ========================================
   NUEVA SECCIÓN: ESCOJA SORTEO
   Estructura: Sorteo destacado (izq) + Lista otros sorteos (der)
   ======================================== */
.escoja-sorteo {
    padding: 4rem 2rem;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
}
.escoja-sorteo h2 {
    font-size: 2rem;
    color: #353677;
    margin-bottom: 2rem;
    text-align: left;
}
/* Contenedor principal con dos columnas */
.sorteos-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}
/* ========================================
   COLUMNA IZQUIERDA: SORTEO DESTACADO
   ======================================== */
.sorteos-destacados-col h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}
/* ========================================
   COLUMNA DERECHA: OTROS SORTEOS
   ======================================== */
.otros-sorteos-col h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}
.otros-sorteos-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.otro-sorteo-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    display: block;
}
.otro-sorteo-item:hover {
    border-color: #35A3D6;
    box-shadow: 0 5px 15px rgba(53, 163, 214, 0.2);
    transform: translateY(-3px);
}
.otro-sorteo-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.otro-sorteo-nombre {
    font-weight: 600;
    color: #353677;
    font-size: 0.95rem;
    line-height: 1.3;
}
.otro-sorteo-precio {
    font-size: 0.9rem;
    color: #666;
}
/* ========================================
   RESPONSIVE: TABLET
   ======================================== */
@media (max-width: 968px) {
    .sorteos-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* ========================================
   RESPONSIVE: MÓVIL
   ======================================== */
@media (max-width: 640px) {
    .escoja-sorteo {
        padding: 2rem 1rem;
    }
    .escoja-sorteo h2 {
        font-size: 1.5rem;
    }
    .otros-sorteos-lista {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   HERO Y SECCIONES
   ======================================== */
.hero-tienda-content .loteria-domicilio {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
/* ========================================
   ESTILOS SISTEMA DE 2 PASOS
   ======================================== */
.compra-loteria-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.paso-titulo {
    font-size: 2rem;
    color: #353677;
    margin-bottom: 2rem;
    font-weight: 600;
}
.paso-1 {
    margin-bottom: 3rem;
}
.sorteos-grid-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}
/* Contenedor de sorteos destacados - se muestran verticalmente */
.sorteos-destacados-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* Sorteo Destacado - NUEVO DISEÑO CON IMAGEN */
.sorteo-destacado {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.sorteo-imagen {
    width: 100%;
    overflow: hidden;
}
.sorteo-imagen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.sorteo-info {
    background: linear-gradient(135deg, #353677, #35A3D6);
    padding: 1rem;
    text-align: center;
    color: white;
}
.sorteo-destacado:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(53, 163, 214, 0.3);
    border-color: #35A3D6;
}
.sorteo-destacado.seleccionado {
    border-color: #353677;
    box-shadow: 0 0 0 4px rgba(53, 54, 119, 0.3);
}
.sorteo-destacado h3,
.sorteo-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-weight: bold;
    color: white;
}
.sorteo-destacado .fecha {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}
.sorteo-destacado .btn-seleccionar,
.sorteo-info .btn-seleccionar {
    background: white;
    color: #353677;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}
.sorteo-destacado .btn-seleccionar:hover,
.sorteo-info .btn-seleccionar:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}
/* ========================================
   PRODUCTOS RECOMENDADOS - NUEVO DISEÑO
   ======================================== */
.producto-card-recomendado {
    width: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.producto-card-recomendado:hover {
    transform: translateY(-3px);
}
/* Imagen del producto */
.producto-imagen-destacada {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.producto-imagen-destacada img {
    width: 100%;
    height: auto;
    display: block;
}
.producto-sin-imagen {
    color: #666;
    padding: 2rem;
    text-align: center;
}
/* Overlay con información */
.producto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}
/* Número del producto - posicionado sobre las bolas del décimo */
.producto-numero {
    position: absolute;
    top: 10%;
    left: 35%;
    font-size: 1.8rem;
    font-weight: bold;
    color: #222;
    background: rgba(255, 255, 255, 0.35);
    padding: 0rem 0.4rem;
    border-radius: 6px;
    letter-spacing: 0.35em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
/* Header del producto - días restantes */
.producto-header {
    position: absolute;
    top: 0.3rem;
    right: 0.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.producto-tipo {
    display: none;
}
.producto-fecha-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #353677;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}
/* Info del producto con gradiente */
.producto-info-destacada {
    background: linear-gradient(135deg, #353677, #35A3D6);
    padding: 0.5rem 0.8rem;
    text-align: center;
    color: white;
}
.producto-info-destacada h3 {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    font-weight: bold;
    color: white;
}
.producto-info-destacada .producto-fecha {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
    color: white;
}
.producto-info-destacada .producto-stock {
    font-size: 0.7rem;
    opacity: 0.85;
    margin-bottom: 0.2rem;
    color: white;
    font-weight: 600;
}
.producto-info-destacada .producto-precio {
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.3rem;
}
/* Selector de cantidad */
.producto-cantidad-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.producto-cantidad-label {
    font-size: 0.75rem;
    color: white;
    opacity: 0.9;
}
.producto-cantidad-input {
    width: 60px;
    padding: 0.3rem;
    border: 2px solid white;
    border-radius: 5px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
}
.producto-info-destacada .btn-anadir-producto {
    background: white;
    color: #353677;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 200px;
}
.producto-info-destacada .btn-anadir-producto:hover {
    background: rgba(255, 255, 255, 0.9);
}
/* Otros Sorteos */
.otros-sorteos-titulo {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
}
/* Otros Sorteos */
.otros-sorteos-container {
    display: flex;
    flex-direction: column;
}
.otros-sorteos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.sorteo-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sorteo-item:hover {
    border-color: #35A3D6;
    box-shadow: 0 5px 15px rgba(53, 163, 214, 0.2);
    transform: translateY(-3px);
}
.sorteo-item.seleccionado {
    border-color: #353677;
    background: linear-gradient(135deg, rgba(53, 54, 119, 0.05), rgba(53, 163, 214, 0.05));
    box-shadow: 0 0 0 3px rgba(53, 54, 119, 0.2);
}
.sorteo-item h4 {
    font-size: 0.95rem;
    color: #353677;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}
.sorteo-item .precio {
    font-size: 1rem;
    font-weight: bold;
    color: #35A3D6;
    margin-bottom: 0.2rem;
}
.no-productos {
    text-align: center;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 15px;
    color: #666;
}
/* ========================================
   PASO 2: ESCOJA DECIMOS
   ======================================== */
.paso-2 {
    display: none;
    animation: fadeIn 0.5s ease;
}
.paso-2.visible {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sorteo-seleccionado-info {
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sorteo-seleccionado-info h3 {
    font-size: 1.3rem;
    margin: 0;
}
.btn-cambiar-sorteo {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-cambiar-sorteo:hover {
    background: white;
    color: #353677;
}
.opcion-decimos {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}
.opcion-decimos:hover {
    border-color: #35A3D6;
    box-shadow: 0 5px 15px rgba(53, 163, 214, 0.2);
}
.opcion-header {
    margin-bottom: 1rem;
}
.opcion-numero {
    display: inline-block;
    color: #353677;
    padding: 0;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    background: none;
    border-radius: 0;
}
.opcion-titulo {
    font-size: 1.1rem;
    color: #333;
    margin: 0.3rem 0 0 0;
    font-weight: 600;
}
.metodo-azar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.azar-tipo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.azar-label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.azar-titulo {
    font-size: 0.8rem;
    color: #666;
}
.azar-tipo-nombre {
    font-size: 1.3rem;
    color: #353677;
    font-weight: bold;
}
.azar-cantidad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.azar-cantidad label {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
    min-width: 70px;
}
.terminaciones-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.terminacion-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}
.terminacion-linea-1 {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.terminacion-texto {
    font-size: 0.75rem;
    color: #666;
    white-space: nowrap;
}
.terminacion-numero {
    font-size: 1.8rem;
    color: #353677;
    font-weight: bold;
    line-height: 1;
}
.terminacion-cantidad-label {
    font-size: 0.75rem;
    color: #666;
    white-space: nowrap;
}
.input-terminacion {
    width: 100%;
    padding: 0.6rem;
    font-size: 1rem;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}
.input-cantidad {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    font-weight: bold;
    color: #353677;
    transition: all 0.3s;
    width: 100%;
    max-width: 100px;
}
.input-cantidad:focus {
    outline: none;
    border-color: #35A3D6;
    box-shadow: 0 0 0 3px rgba(53, 163, 214, 0.1);
}
.input-cantidad:hover {
    border-color: #35A3D6;
}
.btn-anadir-carrito {
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 2rem;
}
.btn-anadir-carrito:hover:not(:disabled) {
    background: linear-gradient(135deg, #35A3D6, #353677);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(53, 163, 214, 0.4);
}
.btn-anadir-carrito:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.mensaje {
    padding: 1.2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    font-weight: 600;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease;
}
.mensaje.error {
    background: linear-gradient(135deg, #353677, #35A3D6);
    color: white;
}
.mensaje.exito {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}
.mensaje.visible {
    display: block;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ========================================
   SECCION PRODUCTOS RECOMENDADOS
   ======================================== */
/* ========================================
   SECCION GARANTIAS
   ======================================== */
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
    .tienda-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .sorteos-grid-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .sorteos-destacados-wrapper {
        align-items: center;
    }
    .sorteo-destacado {
        margin: 0 auto;
    }
    .otros-sorteos-grid {
        justify-items: center;
    }
    .terminaciones-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    .producto-card {
        margin: 0 auto;
    }
    .pasos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .hero-tienda-content h1 {
        font-size: 2rem;
    }
    .tienda-info-cards {
        flex-direction: column;
        gap: 1.5rem;
    }
    /* Ocultar separadores verticales en móvil */
    .info-card-tienda:not(:last-child)::after {
        display: none;
    }
    .paso-titulo {
        font-size: 1.5rem;
    }
    .otros-sorteos-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .sorteo-item {
        margin: 0 auto;
    }
    .metodo-azar {
        grid-template-columns: 1fr;
    }
    .terminaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .azar-cantidad {
        flex-direction: column;
        align-items: stretch;
    }
    .input-cantidad {
        max-width: 100%;
    }
    .productos-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 2rem;
    }
    .producto-card-recomendado {
        margin: 0 auto;
        max-width: 100%;
    }
    .producto-numero {
        top: 10%;
        left: 35%;
    }
    .pasos-grid {
        grid-template-columns: 1fr;
    }
    .garantias-lista {
        grid-template-columns: 1fr;
    }
}
/* Modal para botones de carrito */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}
.modal-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: #28a745;
}
@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.modal-content h3 {
    color: #353677;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}
.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* Ocultar imágenes de productos en el carrito */
.woocommerce-cart .cart_item img,
.woocommerce-cart .product-thumbnail {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
}
/* Ocultar cupones y actualizar carrito */
.woocommerce-cart .coupon,
/* Ocultar solo el cupón, pero mostrar el botón actualizar */
.woocommerce-cart .actions .coupon {
    display: none !important;
}
/* Botón Actualizar carrito - visible, estilizado y CENTRADO */
.woocommerce-cart button[name="update_cart"] {
    background: linear-gradient(135deg, #353677, #35A3D6) !important;
    color: white !important;
    padding: 0.8rem 2rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: block !important;
    margin: 0 auto !important;
}
.woocommerce-cart button[name="update_cart"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(53, 54, 119, 0.3) !important;
}
/* Mejorar diseño de Detalles del pedido */
.woocommerce-order-details {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.woocommerce-order-details__title {
    color: #353677;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.woocommerce-table--order-details {
    border: none !important;
}
.woocommerce-table--order-details thead {
    background: linear-gradient(135deg, #353677, #35A3D6);
}
.woocommerce-table--order-details thead th {
    color: white !important;
    font-weight: bold;
    padding: 1rem !important;
    border: none !important;
    text-align: center !important;
}
.woocommerce-table--order-details tbody tr {
    border-bottom: 1px solid #eee;
}
.woocommerce-table--order-details tbody td {
    padding: 1.5rem 1rem !important;
    vertical-align: middle;
    text-align: center !important;
}
.woocommerce-table--order-details tfoot {
    background: #f9f9f9;
}
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
    padding: 1rem !important;
    font-weight: bold;
    border-top: 2px solid #353677 !important;
    text-align: center !important;
}
.woocommerce-table--order-details .product-name {
    font-weight: bold;
    color: #353677;
    text-align: center !important;
}
.woocommerce-table--order-details .product-name dl.variation {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}
.woocommerce-table--order-details .product-name dl.variation dt {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    display: block !important;
}
.woocommerce-table--order-details .product-name dl.variation dd {
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
}
.woocommerce-table--order-details .product-name a {
    color: #353677;
    text-decoration: none;
}
.woocommerce-table--order-details .product-name a:hover {
    color: #35A3D6;
}
/* Ocultar el valor "-" en los metadatos del pedido */
.woocommerce-table--order-details .wc-item-meta-value:contains("-") {
    display: none !important;
}
/* Ocultar también los dos puntos cuando el valor es solo "-" */
.woocommerce-table--order-details .wc-item-meta li {
    position: relative;
}
.woocommerce-table--order-details .wc-item-meta li p:last-child:only-of-type {
    display: inline;
}
/* Responsive - Footer icons */
@media (max-width: 768px) {
    .footer-responsible-gaming {
        gap: 8px;
        flex-wrap: wrap;
    }
    .footer-responsible-gaming .responsible-icon {
        height: 30px;
    }
    .footer-responsible-gaming a:nth-of-type(2) .responsible-icon {
        width: 90px;
    }
    .footer-responsible-gaming a:nth-of-type(3) .responsible-icon {
        width: 170px;
    }
    /* Scroll to top button móvil */
    .scroll-to-top {
        display: none !important;
    }
    /* Tabla de detalles del pedido en móvil - centrado */
    .woocommerce-table--order-details thead th {
        text-align: center !important;
    }
    .woocommerce-table--order-details tbody td {
        text-align: center !important;
    }
    .woocommerce-table--order-details .product-name {
        text-align: center !important;
    }
    .woocommerce-table--order-details .product-name dl.variation {
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .woocommerce-table--order-details .product-name dl.variation dt {
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}
/* ============================================
   CSS CONSOLIDADO - Duplicados eliminados
   ============================================ */
/**
 * ============================================
 * CSS FINAL LIMPIO - El Número de Oro v1.8.0
 * ============================================
 *
 * Este CSS sobrescribe TODAS las definiciones anteriores
 */
/* ============================================
   HEADER Y MENU - LAYOUT CORRECTO
   ============================================ */
header nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.7rem 3rem !important;
    gap: 2rem !important;
}
/* Logo a la IZQUIERDA */
.logo {
    flex: 0 0 auto !important;
    order: 1 !important;
    font-size: 1.6rem !important;
    font-weight: 600 !important;
}
.logo a {
    color: white !important;
    text-decoration: none !important;
}
/* Botón móvil */
.mobile-menu-btn {
    display: none !important;
    order: 2 !important;
}
/* Menu en el CENTRO */
.nav-links {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
    order: 3 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-links a {
    color: white !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease !important;
}
.nav-links a:hover {
    color: #02306d !important;
}
/* Carrito a la DERECHA */
.header-cart {
    flex: 0 0 auto !important;
    order: 4 !important;
}
.cart-icon {
    color: white !important;
    font-size: 1.8rem !important;
    padding: 0.4rem !important;
    position: relative !important;
}
.cart-count {
    position: absolute !important;
    top: -5px !important;
    right: -10px !important;
    background: #d32f2f !important;
    color: white !important;
    border-radius: 50% !important;
    min-width: 20px !important;
    height: 20px !important;
    font-size: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* ============================================
   HERO - SIN LÍNEAS HORIZONTALES
   ============================================ */
/* Ocultar hero-content antiguo */
.hero-content {
    display: none !important;
}
/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    header nav {
        padding: 0.7rem 2rem !important;
    }
}
@media (max-width: 968px) {
    header nav {
        padding: 0.7rem 1.5rem !important;
    }
    .mobile-menu-btn {
        display: block !important;
        background: none !important;
        border: none !important;
        color: white !important;
        font-size: 1.8rem !important;
        cursor: pointer !important;
        padding: 0.5rem !important;
        line-height: 1 !important;
    }
    .nav-links {
        display: none !important;
    }
    /* Ocultar carrito en el header cuando está en móvil */
    .header-cart {
        display: none !important;
    }
    /* Menú móvil desplegado - Estilo moderno con gradiente */
    .nav-links.active {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(180deg, #353677 0%, #35A3D6 100%) !important;
        padding: 0 !important;
        z-index: 1000000 !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2.5rem !important;
        width: 100% !important;
        height: 100vh !important;
        overflow: hidden !important;
    }
    /* Enlace de carrito en el menú móvil - en la parte superior */
    .nav-links.active .mobile-cart-link {
        position: absolute !important;
        top: 1.5rem !important;
        left: 1.5rem !important;
        color: white !important;
        font-size: 2rem !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.5rem !important;
        transition: none !important;
    }
    .nav-links.active .mobile-cart-link:hover {
        transform: none !important;
        opacity: 1 !important;
    }
    .nav-links.active .mobile-cart-link .cart-count {
        position: absolute !important;
        top: -0.2rem !important;
        right: -0.5rem !important;
        background: #d32f2f !important;
        color: white !important;
        border-radius: 50% !important;
        min-width: 20px !important;
        height: 20px !important;
        font-size: 0.75rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: bold !important;
    }
    /* Enlaces del menú móvil - centrados */
    .nav-links.active a:not(.mobile-cart-link) {
        color: white !important;
        font-size: 1.5rem !important;
        font-weight: 500 !important;
        padding: 1rem 2rem !important;
        text-align: center !important;
        width: 100% !important;
        border: none !important;
        transition: none !important;
        margin: 0.3rem 0 !important;
    }
    .nav-links.active a:not(.mobile-cart-link):hover {
        background: none !important;
        color: white !important;
        transform: none !important;
    }
    /* Botón de cerrar en el menú móvil - SIN círculo */
    .nav-links.active::after {
        content: '✕' !important;
        position: absolute !important;
        top: 1.5rem !important;
        right: 1.5rem !important;
        font-size: 2.5rem !important;
        color: white !important;
        cursor: pointer !important;
        width: auto !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
        background: none !important;
        transition: none !important;
        font-weight: 300 !important;
        line-height: 1 !important;
    }
    .nav-links.active::after:hover {
        background: none !important;
        opacity: 1 !important;
    }
    .hero-banner {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto auto !important;
    }
    .hero-logo-section {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .hero-separator {
        display: none !important;
    }
    .hero-info-section {
        grid-column: 1 !important;
        grid-row: 2 !important;
        text-align: left !important;
    }
    .hero-confianza-section {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }
    .hero-button-section {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }
    .hero-main-logo {
        width: 360px !important;
    }
}
@media (max-width: 640px) {
    header nav {
        padding: 0.7rem 1rem !important;
    }
    /* Separar botón Finalizar compra del texto Klarna en móvil */
    .woocommerce #payment #place_order {
        margin-top: 2.5rem !important;
    }
    .hero-banner {
        padding: 2rem 1.5rem !important;
    }
    .hero-main-logo {
        width: 260px !important;
    }
    .hero-confianza {
        font-size: 1.3rem !important;
        text-align: center !important;
    }
    .hero-admin-label {
        font-size: 0.9rem !important;
    }
    .hero-location {
        font-size: 1.1rem !important;
    }
}
/* ============================================
   BREAKPOINT ESPECÍFICO: iPhone SE y similares
   ============================================ */
@media (max-width: 375px) {
    .nav-links.active .mobile-cart-link {
        top: 6rem !important;
    }
}
/* ============================================
   INPUTS DE PAGO - AJUSTE MÓVIL
   ============================================ */
@media (max-width: 768px) {
    /* Contenedor principal de pago centrado en móvil */
    .woocommerce #payment {
        background: white;
        padding: 1.5rem;
        border-radius: 10px;
        align-items: center;
        display: grid;
        justify-content: center;
    }
    /* Centrar solo el formulario de la tarjeta */
    .wc-payment-form,
    .wcpay-upe-form,
    div[class*="CardForm"] {
        /* width: 250px !important; */
        /* max-width: 250px !important; */
        margin: 0 auto !important;
    }
    /* Payment box general */
    .payment_box.payment_method_woocommerce_payments,
    div[class*="CardNumber"] {
        width: 280px !important;
        max-width: 280px !important;
    }
    /* Hacer que los inputs de tarjeta ocupen todo el ancho en móvil */
    .p-Input.p-CardNumberInput-input,
    input.p-CardNumberInput-input,
    #Field-numberInput,
    .p-Input,
    input[name="number"],
    .wc-payment-form input[type="text"],
    .wcpay-upe-form input[type="text"],
    input[placeholder*="1234"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
        padding: 12px !important;
    }
    /* Ajustar contenedor del input */
    .p-CardNumberInput,
    .p-FieldInput,
    div[class*="CardNumberInput"],
    div[class*="FieldInput"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    /* Ajustar el grid/form del pago */
    .p-Grid,
    .p-CardForm,
    .p-Tabs-group {
        width: 100% !important;
        max-width: 100% !important;
    }
    /* MÓVIL: Mostrar TODOS los iconos de tarjetas sin "+3" */
    .payment-methods--logos,
    .payment-method-icons,
    div[class*="payment-method-icons"] {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        overflow: visible !important;
        max-width: none !important;
    }
    .payment-methods--logos img,
    .payment-method-icons img,
    div[class*="payment-method-icons"] img {
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 20px !important;
        max-width: 32px !important;
        height: auto !important;
        width: auto !important;
        margin: 0 2px !important;
    }
    /* Ocultar contador "+X" en móvil */
    .payment-methods--logos-count,
    span[class*="more-cards"],
    div[class*="more-cards"] {
        display: none !important;
    }
    /* Ocultar iconos a partir del tercero (AMEX y siguientes) - MÓVIL */
    .payment-methods--logos img:nth-child(n+3),
    .payment-method-icons img:nth-child(n+3),
    div[class*="payment-method-icons"] img:nth-child(n+3) {
        display: none !important;
    }
    /* Sorteos destacados responsive móvil */
    .sorteo-destacado {
        width: 100%;
        max-width: 100%;
    }
    .sorteo-destacado h3,
    .sorteo-info h3 {
        font-size: 0.9rem;
    }
    .sorteo-destacado .fecha {
        font-size: 0.75rem;
    }
    .sorteo-destacado .btn-seleccionar,
    .sorteo-info .btn-seleccionar {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}
/* ============================================
   SECCIÓN DE BLOG EN HOME
   ============================================ */
.blog-home {
    background: #f9f9f9;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}
.blog-home h2 {
    text-align: center;
    color: #353677;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}
.blog-home-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}
/* Entrada destacada (primera) */
.blog-post-destacado {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.blog-post-destacado:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(53, 54, 119, 0.2);
}
.blog-post-imagen-destacada {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.blog-post-imagen-destacada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-post-destacado:hover .blog-post-imagen-destacada img {
    transform: scale(1.05);
}
.blog-post-content-destacado {
    padding: 1.5rem;
}
.blog-post-content-destacado h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}
.blog-post-content-destacado h3 a {
    color: #353677;
    text-decoration: none;
    transition: color 0.3s;
}
.blog-post-content-destacado h3 a:hover {
    color: #35A3D6;
}
.blog-post-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.blog-post-meta i {
    margin-right: 0.3rem;
}
.blog-post-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.blog-read-more {
    display: inline-block;
    color: #35A3D6;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}
.blog-read-more:hover {
    color: #353677;
}
/* Contenedor de entradas secundarias */
.blog-posts-secundarios {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
/* Entradas secundarias (2 y 3) */
.blog-post-secundario {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.blog-post-secundario:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(53, 54, 119, 0.15);
}
.blog-post-imagen-secundaria {
    width: 100%;
    height: 150px;
    overflow: hidden;
}
.blog-post-imagen-secundaria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-post-secundario:hover .blog-post-imagen-secundaria img {
    transform: scale(1.05);
}
.blog-post-content-secundario {
    padding: 1rem;
}
.blog-post-content-secundario h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.blog-post-content-secundario h4 a {
    color: #353677;
    text-decoration: none;
    transition: color 0.3s;
}
.blog-post-content-secundario h4 a:hover {
    color: #35A3D6;
}
.blog-read-more-small {
    display: inline-block;
    color: #35A3D6;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}
.blog-read-more-small:hover {
    color: #353677;
}
/* Responsive */
@media (max-width: 968px) {
    .blog-home-grid {
        grid-template-columns: 1fr;
    }
    .blog-posts-secundarios {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
}
@media (max-width: 768px) {
    .blog-posts-secundarios {
        grid-template-columns: 1fr;
    }
    .blog-post-imagen-destacada {
        height: 200px;
    }
}
/* ============================================
   PÁGINA DE ENTRADA INDIVIDUAL DEL BLOG
   ============================================ */
.blog-single-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.blog-single-post {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.blog-single-header {
    margin-bottom: 0;
}
.blog-single-header-bg {
    background: linear-gradient(135deg, #353677, #35A3D6);
    padding: 2.5rem;
    border-radius: 0;
    margin: 0;
}
.blog-single-title {
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}
.blog-single-meta i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.blog-single-meta a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}
.blog-single-meta a:hover {
    color: #ffffff;
}
.blog-single-featured-image {
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
}
.blog-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.blog-single-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    padding: 2.5rem;
}
.blog-single-content p {
    margin-bottom: 1.5rem;
}
.blog-single-content h2 {
    color: #353677;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.blog-single-content h3 {
    color: #353677;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}
.blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.blog-single-content ul,
.blog-single-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
.blog-single-content li {
    margin-bottom: 0.5rem;
}
.blog-single-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.blog-single-tags i {
    color: #35A3D6;
    margin-right: 0.5rem;
}
.blog-single-tags a {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: #353677;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.blog-single-tags a:hover {
    background: #35A3D6;
    color: white;
}
/* Navegación entre entradas */
.blog-single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.nav-previous,
.nav-next {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
/* Ocultar cajas vacías de navegación */
.nav-previous:empty,
.nav-next:empty {
    display: none;
}
.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(53, 54, 119, 0.15);
}
.nav-previous a,
.nav-next a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.nav-label {
    font-size: 0.85rem;
    color: #35A3D6;
    font-weight: bold;
}
.nav-title {
    color: #353677;
    font-size: 1rem;
    line-height: 1.4;
}
.nav-next {
    text-align: right;
}
/* Responsive */
@media (max-width: 768px) {
    .blog-single-container {
        padding: 2rem 1rem;
    }
    .blog-single-post {
        padding: 0;
    }
    .blog-single-header-bg {
        padding: 1.5rem;
    }
    .blog-single-content {
        padding: 1.5rem;
    }
    .blog-single-title {
        font-size: 1.8rem;
    }
    .blog-single-content {
        font-size: 1rem;
    }
    .blog-single-navigation {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   FIN CSS FINAL LIMPIO
   ============================================ */

/* ========================================
   PERFORMANCE: Reduced motion & mobile
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Reduce animations on low-power mobile */
@media (max-width: 768px) {
    .bote-item,
    .blog-post-destacado,
    .blog-post-secundario,
    .sorteo-item,
    .sorteo-destacado,
    .contact-single-card,
    .info-card-tienda {
        transition: none !important;
    }
    .bote-item:hover,
    .sorteo-item:hover,
    .sorteo-destacado:hover {
        transform: none !important;
    }
}
