:root {
    --primary-color: #333333;
    --secondary-color: #505D58;
    --white-color: #FFFFFF;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --border-color: #E0E0E0;
    --background-color: #F8F9FA;
    --text-light: #666;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --max-width: 800px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--background-color) 0%, #E8F5E8 100%);
    min-height: 100vh;
    color: var(--primary-color);
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.lang-btn {
    background: var(--white-color);
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    padding: 8px 16px;
    margin-left: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

/* Header */
.header {
    text-align: center;
    margin: 60px 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    width: 25%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    text-align: center;
    font-weight: 500;
    color: var(--text-light);
    font-size: 14px;
}

/* Form Container */
.form-container {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    padding: 40px;
    margin-bottom: 30px;
    min-height: 500px;
    position: relative;
}

.form-page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-page.active {
    display: block;
}

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

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white-color);
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(80, 93, 88, 0.1);
}

.form-group input:invalid {
    border-color: var(--error-color);
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.radio-option:hover {
    background: var(--background-color);
}

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

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: var(--transition);
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Course Options */
.course-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.course-option {
    background: var(--white-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.course-option:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.course-option.selected {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.course-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.course-option.selected .course-icon {
    color: var(--white-color);
}

.course-option h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.course-option p {
    font-size: 14px;
    opacity: 0.8;
}

/* Slider */
.slider-container {
    text-align: center;
    padding: 40px 0;
}

.time-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.time-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
    margin-bottom: 20px;
    -webkit-appearance: none;
    appearance: none;
}

.time-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: 0 2px 6px var(--shadow-medium);
    transition: var(--transition);
}

.time-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--primary-color);
}

.time-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px var(--shadow-medium);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.slider-description {
    color: var(--text-light);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* Effort Options */
.effort-options {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.effort-option {
    background: var(--white-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

.effort-option:hover {
    border-color: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: 0 3px 15px var(--shadow-light);
}

.effort-option.selected {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    transform: translateX(5px);
    box-shadow: 0 3px 15px var(--shadow-medium);
}

.effort-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    min-width: 60px;
    text-align: center;
}

.effort-option.selected .effort-icon {
    color: var(--white-color);
}

.effort-option h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.effort-option p {
    font-size: 14px;
    opacity: 0.8;
}

/* Energy Sources */
.energy-options {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.energy-option {
    background: var(--white-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.energy-option:hover {
    border-color: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: 0 3px 15px var(--shadow-light);
}

.energy-option.selected {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    transform: translateX(5px);
    box-shadow: 0 3px 15px var(--shadow-medium);
}

.energy-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    min-width: 60px;
    text-align: center;
}

.energy-option.selected .energy-icon {
    color: var(--white-color);
}

.energy-option .option-content {
    flex: 1;
}

.energy-option h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.energy-option p {
    font-size: 14px;
    opacity: 0.8;
}

.energy-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
    position: relative;
}

.energy-option.disabled:hover {
    border-color: #ddd;
    transform: none;
    box-shadow: none;
}

.energy-option.disabled .energy-icon {
    color: #999;
}

.energy-option.disabled::after {
    content: attr(data-disabled-message);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.energy-option.disabled:hover::after {
    opacity: 1;
}

.energy-option.disabled[data-disabled-message=""]::after,
.energy-option.disabled:not([data-disabled-message])::after {
    content: "Not recommended for this combination";
}

/* Consent */
.consent-container {
    margin-top: 40px;
    padding: 20px;
    background: var(--background-color);
    border-radius: var(--border-radius);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 12px;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-container input[type="checkbox"]:checked {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '\2714';
    position: absolute;
    color: var(--white-color);
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.consent-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.btn {
    padding: 14px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(80, 93, 88, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(80, 93, 88, 0.4);
}

.btn-secondary {
    background: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Error Messages */
.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    display: block;
    min-height: 20px;
}

/* Results Container */
.results-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.results-header {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.results-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.results-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.recommendation-text {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    white-space: pre-wrap;
    border-left: 4px solid var(--secondary-color);
}

.recommendation-text h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.recommendation-text h3:first-child {
    margin-top: 0;
}

.recommendation-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.recommendation-text li {
    margin-bottom: 8px;
}

/* Nutrition Sections */
.results-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nutrition-section {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid var(--secondary-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.subsection {
    margin-bottom: 20px;
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.subsection-content {
    line-height: 1.6;
    color: var(--text-color);
}

/* Post-race Products */
.postrace-products {
    margin-bottom: 20px;
}

.postrace-products .product-recommendation {
    margin-bottom: 10px;
}

.recommendation-item ul {
    margin: 0;
    padding-left: 20px;
}

.recommendation-item ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Race Segments */
.race-segments {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.race-segment {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.segment-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.segment-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-recommendation {
    background: var(--background-color);
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.4;
    border-left: 3px solid var(--secondary-color);
}

.product-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.product-info {
    flex: 1;
}

.product-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    position: relative;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-thumbnail a:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.quantity-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: var(--white-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid var(--white-color);
    box-shadow: var(--shadow-light);
}

.product-recommendation strong {
    color: var(--primary-color);
    font-weight: 600;
}

.product-recommendation a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.product-recommendation a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.alternatives a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.alternatives a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--text-light);
}

.results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.results-actions .btn {
    min-width: 150px;
    padding: 12px 20px;
}

#courseProfileContainer {
  background-color: #8fb2a5;
  max-width: 100%;
  overflow-x: auto  ;
  height: auto;
  display: flex;
  flex-direction: column;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

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

    .form-container {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .course-options {
        grid-template-columns: 1fr;
    }

    .effort-option {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .energy-option {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .navigation {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .language-selector {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }

    .results-container {
        margin: 20px auto;
        padding: 20px;
    }

    .results-header h2 {
        font-size: 1.5rem;
    }

    .recommendation-text {
        padding: 20px;
        font-size: 15px;
    }

    .results-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .results-actions .btn {
        width: 100%;
        min-width: auto;
    }

    .plan-metadata {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }

    .participant-info,
    .race-info {
        padding: 20px;
    }

    .participant-info h4,
    .race-info h4 {
        font-size: 1.1rem;
    }

    .nutrition-overview {
        flex-direction: column;
        gap: 20px;
    }

    .nutrition-stat {
        min-width: auto;
        padding: 20px;
    }

    .nutrition-stat p:first-of-type {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .time-display {
        font-size: 2.5rem;
    }

    .effort-option {
        padding: 20px 15px;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.course-option:focus,
.effort-option:focus,
.energy-option:focus,
.radio-option:focus,
.checkbox-container:focus {
    outline: 3px solid rgba(80, 93, 88, 0.3);
    outline-offset: 2px;
}

/* Plan Metadata Styles for Results Page */
.plan-metadata {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.participant-info,
.race-info {
    background: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.participant-info::before,
.race-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.participant-info:hover,
.race-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.participant-info h4,
.race-info h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.participant-info h4::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.race-info h4::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.participant-info p,
.race-info p {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

.participant-info p:last-child,
.race-info p:last-child {
    margin-bottom: 0;
}

.participant-info strong,
.race-info strong {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
}

/* Nutrition Overview Styles */
.nutrition-overview {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.nutrition-stat {
    flex: 1;
    min-width: 200px;
    background: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nutrition-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.nutrition-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.nutrition-stat h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nutrition-stat h4::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 1rem;
}

.nutrition-stat:first-child h4::before {
    content: '\1f34c'; /* banana icon for carbohydrates */
}

.nutrition-stat:last-child h4::before {
    content: '\1f4a7'; /* drop icon for sodium */
}

.nutrition-stat p:first-of-type {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.2;
}

.nutrition-stat p:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Mobile responsive styles for product thumbnails */
@media (max-width: 480px) {
    .product-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .product-info {
        text-align: center;
    }
    
    .product-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .quantity-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
}

.grecaptcha-badge { visibility: hidden; }
