html, body {
    font-family: 'DM Sans', sans-serif;
    background: var(--mud-palette-background, #FAF6F0);
    color: var(--mud-palette-text-primary, #2C2416);
    margin: 0;
    padding: 0;
}

::selection {
    background: var(--mud-palette-primary, #3B6B4A);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.heading-font {
    font-family: 'DM Serif Display', serif !important;
    font-weight: 400 !important;
}

.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(59,107,74,0.07), rgba(193,125,74,0.06), var(--mud-palette-background, #FAF6F0));
}

.section-padding {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-padding-sm {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.bg-alt {
    background: var(--mud-palette-background-grey, #F0EAE0);
}

.text-muted-custom {
    color: var(--mud-palette-text-secondary, #7A6E5E) !important;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    padding: 0;
    display: inline-block;
}
.color-swatch.active {
    border-color: var(--mud-palette-primary, #3B6B4A);
    box-shadow: 0 0 0 2px rgba(59, 107, 74, 0.25);
}

.plant-card {
    transition: all 0.25s !important;
    cursor: pointer;
}
.plant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.nav-link-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    border-radius: 8px;
    transition: color 0.2s;
}
.nav-link-btn:hover {
    color: var(--mud-palette-primary, #3B6B4A) !important;
}
.nav-link-btn.active {
    color: var(--mud-palette-primary, #3B6B4A) !important;
    font-weight: 600;
}

.lang-toggle {
    background: var(--mud-palette-surface, #F0EAE0);
    border: 1px solid var(--mud-palette-divider, #E8E0D4);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--mud-palette-text-secondary, #7A6E5E);
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
}
.lang-toggle:hover {
    background: var(--mud-palette-divider, #E8E0D4);
}

.detail-info-cell {
    padding: 12px 16px;
    background: var(--mud-palette-surface, #F0EAE0);
    border-radius: 8px;
}

.image-upload-zone {
    border: 2px dashed var(--mud-palette-divider, #E8E0D4);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: var(--mud-palette-text-secondary, #7A6E5E);
    cursor: pointer;
    background: var(--mud-palette-surface, #F0EAE0);
    transition: border-color 0.2s;
}
.image-upload-zone:hover {
    border-color: var(--mud-palette-primary, #3B6B4A);
}

.mud-appbar.public-appbar {
    background: var(--mud-palette-appbar-background, #FFFFFF) !important;
    color: var(--mud-palette-appbar-text, #2C2416) !important;
}

.admin-sidebar .mud-nav-link {
    border-radius: 8px;
    margin: 1px 0;
}

.message-card {
    cursor: pointer;
    transition: all 0.2s;
}
.message-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.hero-title {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    width: 100%;
}

.hero-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 36px;
    margin-bottom: 8px;
}

.page-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.plant-detail-image-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.plant-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.plant-detail-name {
    font-size: 40px;
    margin-bottom: 8px;
}

.plant-detail-price {
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 24px;
    font-size: 32px;
}

.contact-info-column {
    padding-top: 60px;
}

.about-image-container {
    border-radius: 16px;
    overflow: hidden;
}

.admin-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 140px;
    padding: 0 12px;
}

.auth-card {
    max-width: 380px;
    width: 100%;
    padding: 36px;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 12px;
}

/* Tablet and below (< 960px) */
@media (max-width: 959.95px) {
    .hero-section {
        min-height: 400px;
    }

    .section-padding {
        padding: 56px 20px;
    }

    .section-padding-sm {
        padding: 32px 16px;
    }

    .contact-info-column {
        padding-top: 16px;
    }

    .admin-main-content {
        padding: 16px !important;
        padding-top: 72px !important;
    }
}

/* Phones (< 600px) */
@media (max-width: 599.95px) {
    .hero-section {
        min-height: 360px;
    }

    .section-padding {
        padding: 48px 16px;
    }

    .section-padding-sm {
        padding: 24px 16px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-content {
        padding: 40px 16px;
    }

    .hero-image-container {
        max-height: 240px;
    }
    .hero-image-container > div {
        max-height: 240px;
    }

    .section-title {
        font-size: 26px;
    }

    .page-title {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .plant-detail-image-container {
        max-height: 260px;
    }

    .plant-detail-image {
        height: 260px;
    }

    .about-image-container {
        max-height: 220px;
    }
    .about-image-container > div {
        max-height: 220px;
    }

    .plant-detail-name {
        font-size: 28px;
    }

    .plant-detail-price {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .color-swatch {
        width: 36px;
        height: 36px;
    }

    .admin-chart-bars {
        gap: 3px;
        height: 100px;
        padding: 0 4px;
    }
    .admin-chart-bars span {
        font-size: 8px !important;
    }

    .auth-card {
        padding: 24px 20px;
    }
}
