/* Hero Section */
    .hero-section {
        background-color: #F2F1E5;
        padding: 20px 0 0 0;
        position: relative;
    }

    .hero-section .container {
        max-width: 1280px;
        position: relative;
        z-index: 2;
    }

    .hero-section h1 {
        font-family: 'Satoshi';
        font-weight: 700;
        font-size: 32px;
        color: #0B612E;
        margin-bottom: 10px;
    }

    .today-label,
    .location {
        color: #0B612E;
        position: relative;
        display: inline-block;
        cursor: pointer;
    }

    /* Dropdown styles */
        .white-box {
            background-color: #FFFFFF;
            border-radius: 5px;
            padding: 2px 8px;
            display: inline-block;
            position: relative;
        }
    
        .date-dropdown-content,
        .city-dropdown-content {
            display: none;
            position: absolute;
            background-color: #FFFFFF;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 10;
            border-radius: 5px;
            padding: 10px;
            left: 0;
            top: 100%;
            margin-top: 5px;
        }
    
        .city-dropdown-content a {
            color: #0B612E;
            padding: 8px 12px;
            text-decoration: none;
            display: block;
            font-size: 14px;
        }
    
        .city-dropdown-content a:hover {
            background-color: #F5FCD9;
        }
    
        #date-dropdown:hover .date-dropdown-content,
        #city-dropdown:hover .city-dropdown-content {
            display: block;
        }

    .dropdown-icon {
        color: #0B612E;
        font-size: 0.7em;
        margin-left: 0.2rem;
        vertical-align: middle;
        background-color: transparent;
        border-radius: 50%;
        padding: 2px;
    }

    .hero-section .subtitle {
        font-family: 'Satoshi';
        font-weight: 400;
        font-size: 16px;
        color: #555555;
        margin-bottom: 20px;
    }

    /* Landscape Banner */
    .landscape-banner {
        height: 130px;
        background: linear-gradient(90deg, #4d8133 0%, #4d8133 35%, #87402a 100%);
        position: relative;
        overflow: hidden;
        margin-top: 20px;
        margin-bottom: 0;
        padding-bottom: 0;
        background-image: url("../img/Imagen1.5e565da5a78a.webp");
        background-size: cover;
        background-position: center;
        border-bottom: none;
    }

    /* Tab Container */
    .tab-container {
        position: relative;
        z-index: 1;
        background-color: transparent;
        padding: 0;
        margin-top: -50px;
        display: flex;
        justify-content: center;
    }

    .custom-tabs {
        display: flex;
        justify-content: center;
        border: none;
        width: 95%;
        max-width: 1280px;
        margin: 0;
        padding: 0;
        gap: 10px;
    }

    .custom-tabs .nav-item {
        flex: 1;
        margin: 0;
    }

    .custom-tabs .nav-link {
        font-family: 'Satoshi';
        background-color: #C8C6B4;
        color: #094A24;   /* 6,05:1 sobre la pestaña sin elegir (con #0B612E, 4,41:1) */
        border: none;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        margin: 0;
        padding: 16px 0;
        font-weight: 500;
        font-size: 16px;
        text-align: center;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-tabs .nav-link.active {
        background-color: #F8F8F0;
        color: #0B612E;
        font-weight: 800;
    }

    /* Chart Section */
    .chart-section {
        background-color: #F8F8F0;
        padding: 10px 0;
        width: 100%;
        position: relative;
        z-index: 1;
        margin-top: 0;
        border-top: none;
    }

    /* Hour labels styling for the chart */
    .chart-hour-labels {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 10px;
        padding: 0 5px;
    }

    .hour-label {
        font-family: 'Satoshi';
        font-size: 14px;
        color: #666;
        text-align: center;
        width: 4.16%; /* 100% / 24 hours */
        white-space: nowrap;
    }

    .hour-label.current {
        color: #0B612E;
        font-weight: 600;
        background-color: #F5FCD9;
        border-radius: 4px;
        padding: 2px 4px;
    }
    
    /* Highlight for specific time periods */
    .hour-label.min-price-time {
        color: #0B612E;
    }
    
    .hour-label.max-price-time {
        color: #662923;
    }

    /* Price Summary */
    .price-summary {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        margin: 0 auto;
        background-color: #FFFFFF;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        width: 95%;
        max-width: 1280px;
        border-radius: 15px;
    }

    /* Chart Container */
    .chart-container {
        background-color: #FFFFFF;
        border-radius: 15px;
        padding: 20px 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        margin: 20px auto 30px auto;
        width: 95%;
        max-width: 1280px;
    }

    .stats-container {

        margin: 20px auto 30px auto;
        width: 95%;
        max-width: 1280px;
    }


    .price-box {
        flex: 1;
        text-align: left;
        padding: 10px 15px;
        border-radius: 8px;
        margin: 0;
        /* max-width: 31%; */
    }

    .min-price {
        background-color: #F5FCD9;
    }

    .avg-price {
        background-color: #FFF4D0;
    }

    .max-price {
        background-color: #FFE6E3;
    }

    .price-box p {
        font-family: 'Satoshi';
        font-size: 26px;
        font-weight: 700;
        margin: 0;
        line-height: 1.2;
    }

    .price-value {
        display: inline-block;
    }

    .price-value span {
        font-weight: 400;
        display: inline-block;
        margin-left: 5px;
    }

    .min-price .price-value {
        color: #0B612E;
    }

    .min-price .price-value span {
        color: #79A181;
    }

    .avg-price .price-value {
        color: #785C00;
    }

    .avg-price .price-value span {
        color: #BCA146;
    }

    .max-price .price-value {
        color: #662923;
    }

    .max-price .price-value span {
        color: #C37971;
    }

    .price-description {
        font-family: 'Satoshi';
        font-size: 14px;
        color: #555555;
        display: block;
        line-height: 1.2;
        margin-top: 5px;
    }

    .chart-title {
        font-family: 'Satoshi';
        color: #0B612E;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        text-align: left;
    }

    /* Notification Section */
    .notification-section {
        background-color: #FFFFFF;
        padding: 40px 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .notification-section-inner {
        max-width: 1140px;
        margin: 0 auto;
        width: 90%;
    }

    .notification-card {
        background-color: #F8F8F0;
        border-radius: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .notification-form-container {
        background-color: #ffffff;
        border-radius: 15px;
        margin: 20px;
        padding: 30px;
        height: 90%;
    }

    .notification-content h3 {
        color: #0b612e;
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .notification-content p {
        font-size: 14px;
        color: #333;
        margin-bottom: 20px;
    }

    .notification-content input[type="email"] {
        padding: 12px 15px;
        border: 1px solid #e0e0e0;
        font-size: 14px;
    }

    .notification-content input[type="email"]::placeholder {
        color: #666;
        font-size: 14px;
    }

    .notify-btn {
        background-color: #D6EB9B;
        color: #333;
        border: none;
        padding: 12px 20px;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
    }

    .legal-note {
        font-size: 12px;
        color: #6F6D4E;
        line-height: 1.4;
    }

    .legal-note a {
        color: #6F6D4E;
        text-decoration: none;
    }

    .legal-note a:hover {
        text-decoration: underline;
    }

    /* FAQ Section Styling */
    .consejos-section {
        background-color: #F8F8F0;
        padding: 50px 0;
        border-top: 1px solid #e0e0e0;
    }

    .consejos-container {
        max-width: 1140px;
        margin: 0 auto;
        width: 90%;
    }

    .consejos-header {
        margin-bottom: 40px;
        text-align: left;
    }

    .consejos-header h2 {
        font-family: 'Satoshi';
        font-weight: 700;
        font-size: 24px;
        color: #0B612E;
        margin-bottom: 10px;
        text-align: left;
    }

    .consejos-sidebar .card {
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        overflow: hidden;
        background-color: #FFFFFF;
    }

    .sidebar-links li a {
        color: #333;
        text-decoration: none;
        display: block;
        padding: 8px 0;
        transition: all 0.3s ease;
        font-size: 14px;
    }

    .sidebar-links li a:hover {
        color: #0B612E;
    }

    .consejo-accordion-item {
        background-color: #FFFFFF;
        border: 1px solid #E0E0E0;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .accordion-button {
        font-family: 'Satoshi';
        font-weight: 500;
        font-size: 16px;
        color: #333333 !important;
        background-color: #FFFFFF !important;
        padding: 15px 20px;
        transition: all 0.3s ease;
        box-shadow: none;
        border-radius: 25px !important;
    }

    .accordion-button:not(.collapsed) {
        color: #0B612E !important;
        background-color: #FFFFFF !important;
        box-shadow: none;
        border-radius: 25px 25px 0 0 !important;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .accordion-button::after {
        background-color: #F5FCD9;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        background-position: center;
        background-size: 12px;
    }

    .accordion-body {
        padding: 0 20px 20px 20px;
        color: #555555;
        font-size: 14px;
        line-height: 1.5;
    }

    /* Savings CTA Section */
    .savings-cta {
        background-color: #FFFFFF;
        padding: 30px 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .savings-cta-container {
        max-width: 1184px;
        width: 90%;
        height: 120px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #F8F8F0;
        border-radius: 10px;
        padding: 0 40px;
    }

    .savings-cta-text {
        display: flex;
        flex-direction: column;
    }

    .savings-cta-text h3 {
        font-family: 'Satoshi';
        font-weight: 700;
        font-size: 18px;
        color: #0B612E;
        margin-bottom: 5px;
    }

    .savings-cta-text p {
        font-family: 'Satoshi';
        font-size: 14px;
        color: #555555;
        margin: 0;
    }

    .compare-btn {
        background-color: #D6EB9B;
        color: #0B612E;
        font-weight: 600;
        padding: 12px 25px;
        border-radius: 30px;
        text-decoration: none;
        transition: all 0.3s;
        border: none;
        cursor: pointer;
        font-size: 14px;
        white-space: nowrap;
    }

    .compare-btn:hover {
        background-color: #C0D68A;
    }

    /* Footer */
    .footer {
        background-color: #D6EB9B;
        padding-top: 50px;
        color: #0b612e;
        width: 100%;
        margin-top: 0;
    }

    .footer .container {
        max-width: 1140px;
        margin: 0 auto;
        width: 90%;
    }

    .footer-main {
        border-bottom: 1px solid rgba(11, 97, 46, 0.2);
    }

    .footer h3 {
        color: #0b612e;
        font-weight: 600;
        margin-bottom: 20px;
        font-size: 22px;
    }

    .footer p {
        color: #0b612e;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    .social-icons {
        margin-top: 20px;
        display: flex;
        gap: 15px;
    }

    .footer a {
        color: #0b612e;
        text-decoration: none;
        transition: color 0.3s;
        font-size: 16px;
        font-weight: 600;
    }

    .footer a:hover {
        color: #0b612e;
        text-decoration: underline;
    }

    .footer-image {
        width: 100%;
        height: 186px !important;
        overflow: hidden;
        position: relative;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    .footer-image img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        object-fit: cover;
    }

    /* Responsive adjustments */
    @media (max-width: 991px) {
        .faq-links {
            margin-top: 30px;
        }

        .hero-section h1 {
            font-size: 28px;
        }

        .price-summary {
            flex-direction: column;
            gap: 10px;
        }

        .custom-tabs .nav-item {
            max-width: none;
        }
    }

    /* Expert Analysis Width */
    @media (min-width: 768px) {
        .expert-analysis {
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
        }
    }

    @media (max-width: 767px) {
        /* El H1 no puede quedar por debajo de los H2 de la página (24 px) */
        .hero-section h1 {
            font-size: 28px;
        }

        .landscape-banner {
            height: 80px;
        }

        .custom-tabs .nav-link {
            font-size: 14px;
            padding: 10px 0;
        }

        .price-box p {
            font-size: 20px;
        }

        .chart-title {
            font-size: 16px;
        }

        .header-circle {
            display: none;
        }

        .notification-section .notification-card {
            position: relative;
            min-height: 300px;
        }

        .savings-cta-container {
            height: auto;
            flex-direction: column;
            text-align: center;
            gap: 15px;
            padding: 20px;
        }
        
        .savings-cta-text h3 {
            font-size: 16px;
        }
        
        .savings-cta-text p {
            font-size: 13px;
        }

        .stats-carousel-hint {
            font-size: 0.8rem;
        }
    }

    .circle-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #D6EB9B;
        border-radius: 50%;
        color: #256333;
        font-size: 16px;
        margin-left: 4px;
        line-height: 1;
        padding: 0;
        vertical-align: middle;
    }

    .white-box {
        background-color: #FFFFFF;
        border-radius: 5px;
        padding: 4px 8px;
        display: inline-flex;
        align-items: center;
        position: relative;
    }

    /* Dropdown styles */
    .white-box {
        background-color: #FFFFFF;
        border-radius: 5px;
        padding: 2px 8px;
        display: inline-block;
        position: relative;
    }

    .date-dropdown-content,
    .city-dropdown-content {
        display: none;
        position: absolute;
        background-color: #FFFFFF;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 10;
        border-radius: 5px;
        padding: 10px;
        left: 0;
        top: 100%;
        margin-top: 5px;
    }

    .date-dropdown-content a,
    .city-dropdown-content a {
        color: #0B612E;
        padding: 8px 12px;
        text-decoration: none;
        display: block;
        font-size: 14px;
    }

    .date-dropdown-content a:hover,
    .city-dropdown-content a:hover {
        background-color: #F5FCD9;
        border-radius: 4px;
    }

    #date-dropdown:hover .date-dropdown-content,
    #city-dropdown:hover .city-dropdown-content {
        display: block;
    }

    /* Calendar styles */
        .calendar {
            width: 240px;
            font-family: 'Satoshi';
        }
        
        .calendar-header {
            text-align: center;
            font-weight: bold;
            margin-bottom: 10px;
            color: #0B612E;
        }
        
        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            font-weight: bold;
            margin-bottom: 5px;
            color: #555555;
        }
        
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
        }
        
        .calendar-grid div {
            padding: 5px;
            text-align: center;
            cursor: pointer;
            border-radius: 4px;
        }
        
        .calendar-grid div:hover {
            background-color: #F5FCD9;
        }
        
        .calendar-grid div.today {
            background-color: #D6EB9B;
            color: #256333;
            font-weight: bold;
        }

/* Additional Charts Section */
    .additional-charts-section {
        background-color: #F8F8F0;
        padding: 0 0 40px 0;
        width: 100%;
    }

    .chart-evolution-container {
        background-color: #FFFFFF;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        margin: 0 auto 30px auto;
        width: 90%;
        max-width: 1140px;
    }

    .chart-evolution-title {
        font-family: 'Satoshi';
        color: #0B612E;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 5px;
        text-align: center;
    }

    .chart-evolution-subtitle {
        font-family: 'Satoshi';
        font-size: 14px;
        color: #555555;
        margin-bottom: 20px;
        text-align: center;
    }

    .chart-source {
        font-family: 'Satoshi';
        font-size: 14px;
        color: #595735;
        margin-top: 10px;
        text-align: left;
    }

    .chart-last-update {
        font-family: 'Satoshi';
        font-size: 14px;
        color: #595735;
        margin-top: 5px;
        text-align: left;
    }


    #startDate {
        border: 1px solid #ddd;
        padding: 8px;
        border-radius: 4px;
        font-family: 'Satoshi';
        font-size: 14px;
        width: 240px;
        color: #0B612E;
        cursor: pointer;
    }
    #startDate::-webkit-calendar-picker-indicator {
        cursor: pointer;
        padding: 5px;
    }
    /* Ocultar el borde al enfocar */
    #startDate:focus {
        outline: none;
        border-color: #D6EB9B;
    }

    /* Añade estos estilos para el posicionamiento del calendario */
.daterangepicker {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    margin-top: 5px !important;
    font-family: 'Satoshi';
}

.daterangepicker .calendar-table {
    border-radius: 4px;
    background-color: white;
}

.daterangepicker td.active, 
.daterangepicker td.active:hover {
    background-color: #0B612E;
}



.date-display-label {
    cursor: pointer;
    display: inline-block;
}

.date-picker-container {
    position: relative;
    display: inline-block;
}

.date-picker-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.date-picker-hidden::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
    cursor: pointer;
}

/* === Estilos que estaban en un <style> de precio-de-la-luz-hoy.html (movidos tal cual) === */
.author-summary-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e9ecef;
}
.author-img-mini img {
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.city-link-box:hover {
    background-color: #f1f8f5 !important;
    border-color: #28a745 !important;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}
.table-seo-container table th {
    background-color: #f8f9fa;
    color: #495057;
}
.table-seo-container .green-text {
    color: #0b612e;
}
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}
.expert-analysis {
    background-color: #ffffff;
    border-left: 4px solid #28a745 !important;
}
@media (min-width: 768px) {
    .expert-analysis {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* Texto oscuro sobre el verde de WhatsApp: 5,25:1 (en blanco, 1,98:1). Botones de 44 px de alto. */
.share-box-seo .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.share-box-seo .btn-success,
.share-box-seo .btn-success:hover,
.share-box-seo .btn-success:focus {
    background-color: #25d366;
    border-color: #25d366;
    color: #094a24;
}
.share-box-seo .btn-success:hover {
    background-color: #1fbe5c;
    border-color: #1fbe5c;
}
.precio-luz-hoy-page .badge-price-low { background-color: #48F050; }
.precio-luz-hoy-page .badge-price-mid { background-color: #D9B836; }
.precio-luz-hoy-page .badge-price-high { background-color: #E35639; }
.badge-price-low, .badge-price-mid, .badge-price-high { display: inline-block; width: 1rem; height: 1rem; border-radius: 4px; vertical-align: middle; }

/* Desktop: H1 + controles en la misma fila */
.hero-title-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}
@media (min-width: 768px) {
    .hero-title-row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
    }
    .hero-title-row h1 {
        flex: 1;
        margin-bottom: 0;
    }
    .hero-title-row .date-city-selectors {
        flex-shrink: 0;
        padding-top: 6px;
    }
}

/* Legibilidad: cuerpo en tono casi negro (página precio hoy) */
.precio-luz-hoy-page .hero-section .subtitle {
    color: #212529;
}
.precio-luz-hoy-page .daily-summary-box,
.precio-luz-hoy-page .daily-summary-box .list-unstyled li {
    color: #212529;
}
.precio-luz-hoy-page .expert-analysis p {
    color: #212529;
}
.precio-luz-hoy-page .chart-section-sub .chart-container > p:first-of-type {
    color: #212529;
}
.precio-luz-hoy-page .educational-section p,
.precio-luz-hoy-page .educational-section li,
.precio-luz-hoy-page .educational-section h3 {
    color: #212529;
}
.precio-luz-hoy-page .table-custom tbody td {
    color: #212529 !important;
}
.precio-luz-hoy-page .precio-luz-hoy-footer-links a {
    color: #0d47a1;
    text-decoration: underline;
    font-weight: 500;
}
.precio-luz-hoy-page .precio-luz-hoy-footer-links a:hover {
    color: #06326e;
}
.precio-luz-hoy-page .author-byline .author-name-link {
    color: #0B612E;
    font-weight: 600;
    text-decoration: none;
}
.precio-luz-hoy-page .author-byline .author-name-link:hover {
    text-decoration: underline;
}

/* -- Premium UI Refinements -- */
.stats-grid-premium {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 12px; /* Espacio para scrollbar */
    max-width: 1100px; /* Igualando el ancho visual de .chart-container */
    margin-left: auto;
    margin-right: auto;
    -webkit-overflow-scrolling: touch;
}
/* Scrollbar más fina en Desktop si se llega a ver, en móvil se suele ocultar bien sola */
.stats-grid-premium::-webkit-scrollbar {
    height: 4px;
}
.stats-grid-premium::-webkit-scrollbar-thumb {
    background: #dcdcdc;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .stats-grid-premium {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        gap: 20px;
        padding-bottom: 0;
    }
}
.stat-item.premium-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    
    /* Configuración para el carrusel en móvil */
    min-width: 80%; 
    flex-shrink: 0;
    scroll-snap-align: center;
}
@media (min-width: 768px) {
    .stat-item.premium-card {
        min-width: auto;
    }
}
.stat-item.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.stat-item.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
}
.stat-item.premium-card.min-price::before { background-color: #28a745; }
.stat-item.premium-card.min-price { background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%); border-color: #dcfce7; }
.stat-item.premium-card.avg-price::before { background-color: #ffc107; }
.stat-item.premium-card.avg-price { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%); border-color: #fef3c7; }
.stat-item.premium-card.max-price::before { background-color: #dc3545; }
.stat-item.premium-card.max-price { background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%); border-color: #fee2e2; }

.content-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}
@media (min-width: 992px) {
    .content-grid-2col {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding-left: 0;
        padding-right: 0;
    }
}

.daily-summary-box-premium {
    background: #fcfcfc;
    border: 1px solid #eaebec;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.expert-analysis-premium {
    background: #ffffff;
    border: 1px solid #eaebec;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 5px solid #28a745 !important;
}

/* === Clases que sustituyen a los estilos en línea de la página === */
.stat-item .stat-precio {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0;
}
.stat-item.min-price .stat-precio { color: #0b612e; }
.stat-item.avg-price .stat-precio { color: #856404; }
.stat-item.max-price .stat-precio { color: #721c24; }
.stat-unidad {
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 4px;
}
.stat-rotulo {
    color: #5b5b5b;
    font-weight: 500;
    font-size: 0.95rem;
}
/* Móvil: las tres cifras a la vista, una por fila, sin carrusel que obligue a deslizar */
@media (max-width: 767.98px) {
    .stats-grid-premium {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
        margin-top: 16px;
    }
    .stat-item.premium-card {
        min-width: 0;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px 12px;
    }
    .stat-item.premium-card .stat-rotulo { order: -1; }
    .stat-item .stat-precio { font-size: 1.6rem; white-space: nowrap; }
    .stat-unidad { font-size: 0.95rem; }
}
.resumen-dia-lista {
    font-size: 0.97rem;
    line-height: 1.6;
}
.mejor-hora { border: 1px dashed #c3e6cb; }
.mejor-hora-valor { color: #155724; font-size: 1.05em; }
.experto-foto {
    object-fit: cover;
    border: 2px solid #28a745;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.experto-insignia { font-size: 0.7rem; }
.experto-cargo { font-size: 0.85rem; }
.experto-texto {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
}
.tabla-electrodomesticos { font-size: 0.9rem; }
