/* ========================================
   COMPARATEUR DENTIFRICES - STYLES
   ======================================== */

:root {
    --primary: #06B6D4;
    --primary-dark: #0891B2;
    --secondary: #F472B6;
    --accent: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --bg: #FAFBFC;
    --bg-card: #FFFFFF;
    --bg-dark: #111827;
    --text: #1F2937;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* SVG Icons Base Styles */
svg {
    vertical-align: middle;
    flex-shrink: 0;
}

.product-img-real {
    display: block;
    border-radius: 4px;
}

.compare-icon svg,
.btn-reset svg,
.btn-amazon svg,
.btn-select svg {
    display: inline-block;
    vertical-align: middle;
}

.hero-badge svg {
    margin-right: 6px;
}

.badge svg {
    vertical-align: -2px;
    margin-right: 4px;
}

/* Icon Colors for Yes/No indicators */
.icon-yes {
    color: var(--accent);
    display: inline-flex;
    align-items: center;
}

.icon-no {
    color: var(--danger);
    display: inline-flex;
    align-items: center;
}

.icon-yes svg,
.icon-no svg {
    margin-right: 4px;
}

/* Guide Icons */
.guide-icon svg {
    stroke: var(--primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.btn-compare {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.5;
}

.btn-compare:not(:disabled) {
    opacity: 1;
}

.btn-compare:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

/* Hero */
.hero {
    padding: 80px 0 50px;
    text-align: center;
    background: linear-gradient(180deg, #F0FDFF 0%, var(--bg) 100%);
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.filters-section {
    padding: 30px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 65px;
    z-index: 50;
}

.filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 160px;
}

.filter-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.btn-reset {
    padding: 12px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset:hover {
    background: var(--border);
}

.results-count {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.results-count span {
    font-weight: 700;
    color: var(--primary);
}

/* Products Grid */
.products-section {
    padding: 40px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card.selected {
    border-color: var(--primary);
}

.product-header {
    padding: 25px 25px 15px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.product-image {
    width: 140px;
    /* Agrandissement pour les images format paysage */
    height: 120px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 5px;
}

.product-image svg {
    width: 64px;
    height: 64px;
    stroke: var(--primary);
    opacity: 0.8;
}

.product-info {
    flex: 1;
}

.product-brand {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 5px 0 10px;
    line-height: 1.3;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-dentist {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-bio {
    background: #D1FAE5;
    color: #065F46;
}

.badge-best {
    background: #FEF3C7;
    color: #92400E;
}

.badge-value {
    background: #E0E7FF;
    color: #3730A3;
}

.product-body {
    padding: 0 25px 20px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    color: #FBBF24;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 700;
    color: var(--text);
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-composition {
    margin-bottom: 15px;
}

.composition-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.composition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.comp-tag {
    padding: 5px 12px;
    background: var(--bg);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text);
}

.comp-tag.positive {
    background: #D1FAE5;
    color: #065F46;
}

.comp-tag.negative {
    background: #FEE2E2;
    color: #991B1B;
}

.comp-tag.neutral {
    background: #F3F4F6;
    color: #374151;
}

.product-indication {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(244, 114, 182, 0.1));
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.indication-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.indication-icon svg {
    stroke: var(--primary);
}

.indication-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.product-footer {
    padding: 20px 25px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.price-info {
    text-align: left;
    margin-bottom: 15px;
}

.price-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.price-unit {
    font-size: 0.8rem;
    color: var(--text-light);
    display: inline;
    margin-left: 4px;
}

.btn-select {
    padding: 10px 14px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-select svg {
    stroke: var(--text-light);
}

.btn-select:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-select:hover svg {
    stroke: var(--primary);
}

.btn-select.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-select.active svg {
    stroke: white;
}

/* Footer Buttons */
.footer-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.btn-amazon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #FFD814 0%, #FF9900 100%);
    color: #111;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-amazon:hover {
    background: linear-gradient(180deg, #F7CA00 0%, #E68900 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
}

.btn-amazon-table {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(180deg, #FFD814 0%, #FF9900 100%);
    color: #111;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-amazon-table:hover {
    background: linear-gradient(180deg, #F7CA00 0%, #E68900 100%);
    transform: scale(1.05);
}

/* Button Details */
.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-details svg {
    stroke: white;
}

/* Details Modal */
.details-modal {
    max-width: 800px;
}

.details-header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.details-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(244, 114, 182, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.details-icon svg {
    stroke: var(--primary);
}

.details-header-info h2 {
    font-size: 1.3rem;
    margin: 5px 0 8px;
}

.details-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 120px);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.details-section {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.details-section.full-width {
    grid-column: 1 / -1;
}

.details-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text);
}

.details-section h3 svg {
    stroke: var(--primary);
}

.details-section h3.section-positive svg {
    stroke: var(--accent);
}

.details-section h3.section-negative svg {
    stroke: var(--danger);
}

.details-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text);
}

.info-value svg {
    stroke: var(--primary);
}

.price-highlight {
    color: var(--primary);
    font-size: 1.1rem;
}

.price-highlight small {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.composition-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comp-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-card);
    border-radius: 8px;
    font-size: 0.9rem;
}

.comp-detail-item.positive svg {
    stroke: var(--accent);
}

.comp-detail-item.negative svg {
    stroke: var(--danger);
}

.comp-detail-item.neutral svg {
    stroke: var(--text-light);
}

.pros-list,
.cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-list li,
.cons-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-card);
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.pros-list li:last-child,
.cons-list li:last-child {
    margin-bottom: 0;
}

.pros-list li svg {
    stroke: var(--accent);
    flex-shrink: 0;
}

.cons-list li svg {
    stroke: var(--danger);
    flex-shrink: 0;
}

.dentist-advice {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(244, 114, 182, 0.1));
    padding: 20px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.dentist-advice p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.details-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.btn-amazon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(180deg, #FFD814 0%, #FF9900 100%);
    color: #111;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-amazon-large:hover {
    background: linear-gradient(180deg, #F7CA00 0%, #E68900 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .details-header-info {
        flex-direction: column;
        text-align: center;
    }

    .footer-buttons {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .btn-details,
    .btn-select,
    .btn-amazon {
        flex: 0 0 auto;
        justify-content: center;
    }

    .btn-details {
        order: 1;
    }

    .btn-select {
        order: 2;
    }

    .btn-amazon {
        order: 3;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 1.5rem;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    padding: 25px;
    max-height: calc(90vh - 100px);
    flex: 1;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.85rem;
}

.comparison-table td {
    vertical-align: top;
}

.comparison-table .product-col {
    font-weight: 700;
    min-width: 180px;
}

/* Guide Section */
.guide-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #F0FDFF 100%);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.guide-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.guide-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guide-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Legend */
.legend-section {
    padding: 40px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.legend-section h3 {
    text-align: center;
    margin-bottom: 25px;
}

.legend-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* AdSense */
.ad-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
    background: transparent;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

.footer-note {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .filters-wrapper {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-badges {
        justify-content: center;
    }

    .modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
}

/* ========================================
   QUIZ STYLES
   ======================================== */

.btn-quiz {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.1);
}

.btn-quiz:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.25);
}

.quiz-modal-content {
    max-width: 600px;
    min-height: 500px;
}

.quiz-container {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.quiz-start {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    animation: fadeIn 0.5s ease;
}

.quiz-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(244, 114, 182, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
}

.quiz-container h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-container p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 400px;
}

.btn-primary-large {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

/* Quiz Step */
.quiz-step {
    width: 100%;
    display: none;
    animation: slideUp 0.4s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-progress {
    width: 100%;
    height: 6px;
    background: #E5E7EB;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.3s ease;
}

.quiz-question {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text);
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.quiz-option-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quiz-option-card:hover {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.05);
}

.quiz-option-card.selected {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.quiz-option-icon {
    font-size: 2rem;
    color: var(--primary);
}

.quiz-option-label {
    font-weight: 600;
    color: var(--text);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 30px;
}

.btn-back,
.btn-next {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-back {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
}

.btn-back:hover {
    background: var(--bg);
    color: var(--text);
}

.btn-next {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Quiz Loading */
.quiz-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(6, 182, 212, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Quiz Results */
.quiz-results-container {
    width: 100%;
    text-align: left;
}

.quiz-results-header {
    text-align: center;
    margin-bottom: 25px;
}

.quiz-results-header h3 {
    font-size: 1.5rem;
    color: var(--text);
}

.quiz-recommended-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.quiz-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg);
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.quiz-product-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.quiz-product-img {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 5px;
}

.quiz-product-img svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.quiz-product-info {
    flex: 1;
}

.quiz-product-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.quiz-product-match {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}