/* ============================================
 * Module Rentabilite au m2 - Styles
 * Couleur module : #b45309 (C4 Diffusion)
 * Bootstrap 5.3.2 + Font Awesome 6.4.0
 * Mobile-first responsive
 * ============================================ */

/* ---- CSS Custom Properties ---- */

:root {
    --rentabilite-color: #b45309;
    --rentabilite-light: #fef3c7;
    --rentabilite-dark: #92400e;
    --diag-optimal: #059669;
    --diag-acceptable: #d97706;
    --diag-critique: #dc2626;
}

/* ---- Cercles icônes (landing + steps) ---- */

span.rounded-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
span.rounded-circle i {
    line-height: 1 !important;
    vertical-align: middle !important;
    height: auto !important;
}

/* ============================================
 * Landing Page (index.php)
 * ============================================ */

.rentabilite-hero {
    background: linear-gradient(135deg, var(--rentabilite-dark), var(--rentabilite-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.rentabilite-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rentabilite-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- CTA Cards ---- */

.cta-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}

.cta-card:hover {
    border-color: var(--rentabilite-color);
    box-shadow: 0 8px 25px rgba(180, 83, 9, 0.15);
    transform: translateY(-4px);
}

.cta-card .cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--rentabilite-light);
    color: var(--rentabilite-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.cta-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.cta-card .btn-cta {
    background: var(--rentabilite-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.cta-card .btn-cta:hover {
    background: var(--rentabilite-dark);
    color: white;
}

/* ---- How It Works Section ---- */

.how-it-works {
    padding: 3rem 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.step-preview {
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-preview .step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--rentabilite-light);
    color: var(--rentabilite-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.2rem;
}

.step-preview .step-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--rentabilite-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.step-preview h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-preview p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ============================================
 * Stepper Bar (5 steps horizontal)
 * ============================================ */

.rentabilite-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    max-width: 700px;
    padding: 0 1rem;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.stepper-step.active .step-number {
    background: var(--rentabilite-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.2);
}

.stepper-step.completed .step-number {
    background: var(--diag-optimal);
    color: white;
}

.step-label {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 0.4rem;
    text-align: center;
    white-space: nowrap;
}

.stepper-step.active .step-label {
    color: var(--rentabilite-color);
    font-weight: 600;
}

.stepper-step.completed .step-label {
    color: var(--diag-optimal);
}

.stepper-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 0.25rem;
    margin-bottom: 1.2rem;
    transition: background 0.3s ease;
}

.stepper-line.completed {
    background: var(--diag-optimal);
}

/* ============================================
 * Analysis Steps (Step Cards with Input Forms)
 * ============================================ */

.analysis-step {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.analysis-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.analysis-step .step-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ---- Form Styling ---- */

.analysis-step .form-label {
    font-weight: 500;
    color: #374151;
}

.analysis-step .form-control,
.analysis-step .form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.625rem 0.875rem;
}

.analysis-step .form-control:focus,
.analysis-step .form-select:focus {
    border-color: var(--rentabilite-color);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

/* ---- Input Group with Unit Suffix ---- */

.input-metric {
    position: relative;
}

.input-metric .form-control {
    padding-right: 3rem;
}

.input-metric .metric-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    pointer-events: none;
}

/* ---- Method Toggle (Step 1) ---- */

.method-toggle {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.method-option {
    flex: 1;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.method-option:hover {
    border-color: #d1d5db;
}

.method-option.selected {
    border-color: var(--rentabilite-color);
    background: var(--rentabilite-light);
}

.method-option input[type="radio"] {
    display: none;
}

.method-option .method-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}

.method-option .method-desc {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* ---- Formula Tooltip ---- */

.formula-hint {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.formula-hint i {
    color: var(--rentabilite-color);
}

.formula-hint code {
    background: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* ============================================
 * Result Cards with Diagnostic Badges
 * ============================================ */

.result-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
    animation: fadeInUp 0.4s ease;
}

.result-label {
    font-size: 0.85rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

/* ---- Diagnostic Badge ---- */

.diagnostic-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
 * Navigation Buttons
 * ============================================ */

.step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.step-nav .btn-prev {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.step-nav .btn-prev:hover {
    background: #f9fafb;
}

.step-nav .btn-next {
    background: var(--rentabilite-color);
    color: white;
    border: none;
    padding: 0.625rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.step-nav .btn-next:hover {
    background: var(--rentabilite-dark);
}

/* ============================================
 * Synthesis Grid
 * ============================================ */

.synthesis-header {
    text-align: center;
    margin-bottom: 2rem;
}

.synthesis-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.synthesis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.synthesis-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: box-shadow 0.2s;
}

.synthesis-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.synthesis-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rentabilite-light);
    color: var(--rentabilite-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1rem;
}

.synthesis-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.synthesis-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.synthesis-diag {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---- Synthesis Recommendations ---- */

.synthesis-recommendations {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.synthesis-recommendations h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.synthesis-recommendations ul {
    list-style: none;
    padding: 0;
}

.synthesis-recommendations li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
    font-size: 0.95rem;
}

.synthesis-recommendations li::before {
    content: '\f0eb';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--rentabilite-color);
}

/* ============================================
 * Account & Rayons Pages
 * ============================================ */

.rentabilite-form-page {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.rentabilite-form-page h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

/* ---- Rayon Checkboxes Grid ---- */

.rayon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.rayon-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.2s;
}

.rayon-item:has(input:checked) {
    border-color: var(--rentabilite-color);
    background: var(--rentabilite-light);
}

.rayon-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.rayon-item .surface-input {
    margin-top: 0.5rem;
}

.rayon-item .surface-input input {
    width: 100px;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 0.85rem;
}

/* ============================================
 * History Table
 * ============================================ */

.history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.history-table thead th {
    background: #f9fafb;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.history-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
    color: #374151;
}

.history-table tbody tr:hover {
    background: #fefce8;
}

/* ---- Diagnostic Pills for Table ---- */

.diag-pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.diag-pill.optimal,
.diag-pill.sain,
.diag-pill.eleve {
    background: #d1fae5;
    color: #065f46;
}

.diag-pill.acceptable,
.diag-pill.surveiller,
.diag-pill.correct {
    background: #fef3c7;
    color: #92400e;
}

.diag-pill.critique,
.diag-pill.problematique,
.diag-pill.faible {
    background: #fee2e2;
    color: #991b1b;
}

/* ---- Empty State ---- */

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ============================================
 * Toast Notifications
 * ============================================ */

.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.toast-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.toast-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.toast-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ============================================
 * Animations
 * ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
 * Responsive - Tablet (max-width: 768px)
 * ============================================ */

@media (max-width: 768px) {
    .rentabilite-hero h1 {
        font-size: 1.75rem;
    }

    .rentabilite-hero {
        padding: 2.5rem 1rem;
    }

    .rentabilite-stepper {
        gap: 0;
    }

    .step-label {
        font-size: 0.6rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .method-toggle {
        flex-direction: column;
    }

    .synthesis-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-nav {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .step-nav .btn-prev,
    .step-nav .btn-next {
        width: 100%;
        text-align: center;
    }

    .result-value {
        font-size: 1.5rem;
    }
}

/* ============================================
 * Responsive - Mobile (max-width: 480px)
 * ============================================ */

@media (max-width: 480px) {
    .synthesis-grid {
        grid-template-columns: 1fr;
    }

    .rayon-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 1.5rem;
    }
}

/* ============================================
 * V2 STYLES — Dashboard, Comparaison, Volt'R
 * ============================================ */

/* ---- Dashboard ---- */

.dashboard-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
    overflow: hidden;
}
.dashboard-card:hover {
    border-color: var(--rentabilite-color);
    box-shadow: 0 4px 16px rgba(180, 83, 9, 0.12);
}
.dashboard-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dashboard-card-header h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: #1f2937;
}
.dashboard-card-header .badge-taille {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    background: var(--rentabilite-light);
    color: var(--rentabilite-color);
}
.dashboard-card-body {
    padding: 1.25rem 1.5rem;
}
.dashboard-kpis {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.dashboard-kpi {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #6b7280;
}
.dashboard-kpi i { color: var(--rentabilite-color); font-size: 0.75rem; }
.dashboard-kpi strong { color: #1f2937; }

.dashboard-last-analysis {
    background: #f9fafb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.dashboard-last-analysis .mini-stat {
    text-align: center;
}
.dashboard-last-analysis .mini-stat-label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dashboard-last-analysis .mini-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}
.dashboard-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ---- Detail Page ---- */

.detail-inputs {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}
.detail-inputs .row > div {
    padding: 0.4rem 0;
    font-size: 0.9rem;
}
.detail-inputs .label {
    color: #6b7280;
    font-size: 0.8rem;
}
.detail-inputs .value {
    font-weight: 600;
    color: #1f2937;
}

/* ---- Comparison Page ---- */

.compare-toggle {
    display: inline-flex;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.compare-toggle button {
    padding: 0.5rem 1.25rem;
    border: none;
    background: white;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.compare-toggle button.active {
    background: var(--rentabilite-color);
    color: white;
}
.compare-toggle button:hover:not(.active) {
    background: #f9fafb;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}
.compare-table thead th {
    background: #f9fafb;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
    text-align: center;
}
.compare-table thead th:first-child {
    text-align: left;
    background: white;
}
.compare-table tbody td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #4b5563;
    background: #fafafa;
}
.compare-table tbody tr:hover td { background: #fefce8; }
.compare-table tbody td:first-child:hover { background: #fafafa; }

.compare-best {
    color: var(--diag-optimal);
    font-weight: 700;
}
.compare-worst {
    color: var(--diag-critique);
    font-weight: 600;
}

.chart-container {
    position: relative;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

/* ---- Volt'R Section ---- */

.voltr-card {
    background: #fff8e1;
    border: 1px solid #ffd54f;
    border-radius: 12px;
    padding: 1.25rem;
}
.voltr-card .voltr-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.voltr-card .voltr-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rentabilite-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.voltr-card .voltr-name {
    font-weight: 700;
    color: var(--rentabilite-dark);
}
.voltr-card .voltr-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
}
.voltr-card .voltr-body ul {
    padding-left: 1.2rem;
    margin: 0.5rem 0;
}
.voltr-card .voltr-body li {
    margin-bottom: 0.3rem;
}

.btn-voltr {
    background: var(--rentabilite-color);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-voltr:hover { background: var(--rentabilite-dark); color: white; }
.btn-voltr:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---- Historique Checkboxes ---- */

.history-check {
    width: 18px;
    height: 18px;
    accent-color: var(--rentabilite-color);
    cursor: pointer;
}
.compare-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}
.compare-bar .compare-count {
    font-size: 0.9rem;
    color: #6b7280;
}
.compare-bar .btn-compare {
    background: var(--rentabilite-color);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}
.compare-bar .btn-compare:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- Responsive V2 ---- */

@media (max-width: 768px) {
    .dashboard-kpis { flex-direction: column; gap: 0.5rem; }
    .dashboard-last-analysis { flex-direction: column; text-align: center; }
    .dashboard-card-footer { flex-direction: column; }
    .dashboard-card-footer .btn { width: 100%; text-align: center; }

    .compare-table { font-size: 0.8rem; }
    .compare-table thead th,
    .compare-table tbody td { padding: 0.5rem; }

    .voltr-card { padding: 1rem; }
}

@media (max-width: 480px) {
    .compare-toggle { width: 100%; }
    .compare-toggle button { flex: 1; }
}
