/* ===== CSS Variables ===== */
:root {
    --primary-color: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #52b788;
    --accent-color: #f77f00;
    --text-dark: #1e1e1e;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.5rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: var(--background-alt);
    color: var(--primary-color);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-email {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.icon {
    width: 20px;
    height: 20px;
}

/* ===== Main Content ===== */
.site-content {
    min-height: calc(100vh - 400px);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #d8f3dc 0%, #b7e4c7 100%);
    padding: 4rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== Sections ===== */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

/* ===== Features ===== */
.features {
    background-color: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== How it works ===== */
.how-it-works {
    background-color: var(--background-alt);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.step p {
    color: var(--text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-light);
}

/* ===== Pricing ===== */
.pricing {
    background-color: var(--background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.pricing-card {
    max-width: none;
    margin: 0;
    padding: 2.25rem 1.75rem 1.75rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 2rem);
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pricing-card.is-current {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.pricing-card.is-current .pricing-badge {
    background-color: var(--primary-dark);
}

.pricing-card.is-highlighted {
    border-color: var(--accent-color);
    transform: scale(1.03);
}

.pricing-card.is-highlighted .pricing-badge {
    background-color: var(--accent-color);
}

.pricing-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.billing-period-switch {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 2.5rem;
    padding: 0.375rem;
    background: var(--background-alt);
    border-radius: 2rem;
    width: fit-content;
}

.period-option {
    position: relative;
    min-width: 7rem;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 1.5rem;
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.period-option.is-active {
    background: var(--primary-color);
    color: white;
}

.promo-badge {
    position: absolute;
    top: -0.6rem;
    right: -0.5rem;
    padding: 0.15rem 0.45rem;
    border-radius: 1rem;
    background: var(--accent-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(20, 20, 20, 0.15);
}

.period-option.is-active .promo-badge {
    background: white;
    color: var(--primary-color);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    /* Matches the stacked (2-line) layout used by monthly/yearly/trial so switching
       between monthly and yearly never shifts the card height. */
    min-height: 3.6rem;
}

.pricing-price.is-hidden {
    display: none;
}

.pricing-price.is-stacked {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.price-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Reserved even when empty (monthly has no struck price) so the card never
   changes height when switching between monthly and yearly. */
.price-strike-slot {
    display: block;
    min-height: 1.1rem;
    line-height: 1.1rem;
}

.price-strike {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: line-through;
}

.pricing-custom-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem 2.5rem;
    background: var(--background-alt);
    border: 2px dashed var(--primary-color);
    border-radius: 1rem;
    text-align: left;
}

.pricing-custom-content h3 {
    margin: 0 0 0.4rem;
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.pricing-custom-content p {
    margin: 0;
    color: var(--text-light);
}

.pricing-contact-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.pricing-note {
    background-color: var(--background-alt);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--background-alt);
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: white;
}

.footer-platform {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Dashboard ===== */
.dashboard-container {
    padding: 3rem 0;
    background-color: var(--background-alt);
    min-height: calc(100vh - 200px);
}

.dashboard-header {
    margin-bottom: 3rem;
}

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

.current-producer {
    font-size: 1.125rem;
    color: var(--text-light);
}

.current-producer .label {
    color: var(--text-light);
}

.current-producer strong {
    color: var(--primary-color);
}

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

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
}

.dashboard-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.dashboard-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.dashboard-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.dashboard-actions {
    text-align: center;
    margin-top: 3rem;
}

/* ===== Customer Dashboard ===== */
.subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.producers-section {
    margin: 3rem 0;
}

.producers-section .section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.section-icon {
    font-size: 2rem;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.producers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.producer-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.producer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.producer-card.discover-card {
    border: 2px solid var(--primary-light);
}

.discover-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.producer-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.producer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.producer-info {
    flex: 1;
}

.producer-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.producer-location {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.producer-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.producer-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.producer-actions .btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-alt);
    border-radius: 1rem;
    margin: 2rem 0;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.action-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.action-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.action-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.action-card .btn {
    flex-shrink: 0;
}

.discover-section {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

/* ===== Login Page ===== */
.login-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2rem 0;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.login-presentation {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.presentation-content {
    text-align: center;
}

.presentation-icon {
    font-size: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.presentation-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.login-presentation h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.presentation-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.login-form-container {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper {
    width: 100%;
    padding: 3rem;
}

.form-wrapper h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.form-check label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: auto;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.input-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

.btn-login {
    width: 100%;
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.login-divider {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 1.5rem 0;
    position: relative;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc((100% - 30px) / 2);
    height: 1px;
    background: var(--border-color);
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.signup-prompt {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.signup-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.alert-danger {
    background-color: #fee2e2;
    color: #7f1d1d;
    border-left: 4px solid #dc2626;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

/* ===== Account Type Tabs ===== */
.account-type-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #f3f4f6;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.tab-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.2s ease;
    background: transparent;
}

.tab-link:hover {
    color: #374151;
    background: #e5e7eb;
}

.tab-link.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-icon {
    width: 18px;
    height: 18px;
}

/* ===== Form Row ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row .form-group-small {
    grid-column: span 1;
    max-width: 180px;
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: white;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row .form-group-small {
        max-width: 100%;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .navbar-menu {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 0.5rem;
    }

    .navbar-menu .nav-link,
    .navbar-menu .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .user-menu {
        flex-direction: column;
        width: 100%;
    }

    .user-menu .btn {
        width: 100%;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

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

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

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

    .action-card {
        flex-direction: column;
        text-align: center;
    }

    .producers-section .section-title {
        font-size: 1.5rem;
        justify-content: center;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    /* ===== Login Responsive ===== */
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-presentation {
        display: none;
    }

    .login-form-container {
        border-radius: 0;
    }

    .form-wrapper {
        padding: 2rem;
    }
}
/*
 * Allergen badges (templates/_partials/allergen_badges.html.twig).
 *
 * Amber rather than red: this is information a customer looks for, not a warning that the
 * product is dangerous, and a catalogue of red pills would read as a wall of alerts. Shown
 * on four different pages, hence a shared rule here rather than in each page's own <style>.
 */
.allergen-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.allergen-badge {
    padding: 3px 10px;
    border: 1px solid #e0c68a;
    border-radius: 999px;
    background: #fdf6e3;
    color: #7a5c12;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    /* The title carries the regulation's wording; the cursor is what says so. */
    cursor: help;
}

/* Inside a cart or order line, where the product name is already small. */
.allergen-badges-compact {
    margin-top: 6px;
    gap: 4px;
}

.allergen-badges-compact .allergen-badge {
    padding: 2px 8px;
    font-size: 0.72rem;
}
