/*
Theme Name: PlantPedia Pro
Theme URI: https://plantpedia.com
Author: PlantPedia Team
Author URI: https://plantpedia.com
Description: Professional Plant Identification & Care WordPress Theme - v2.2.8 - Disease page enhanced with Gallery, Video, FAQ
Version: 2.2.8
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plantpedia
Tags: plant, identification, agriculture, gardening, education, responsive, custom-colors, custom-menu, featured-images, blog, news, mobile-friendly, clickable-cards, clean-design, compact-layout, affiliate, review, product-review, schema-markup, custom-post-type, table-of-contents, conversion-optimized, accessibility, mobile-optimized, taxonomy, brand-filtering, easy-select, brand-showcase, space-saving, collapsible-toc, no-faq, clean-ui, related-articles, internal-linking, care-guides, smart-linking, seo-toc, sticky-cta, full-linking, auto-toc, magazine-style, plants-first, expert-companion, problem-solution, translation-ready, disease-database, faq-schema, video-embed, symptom-gallery
*/

/* ==========================================================================
   Global Styles
   ========================================================================== */

:root {
    --primary-color: #2ECC40;
    --secondary-color: #27AE60;
    --accent-color: #FF6B6B;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --text-color: #34495E;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FAFAFA;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
}

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-logo,
.custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    height: 100%;
}

/* Custom Logo Support */
.custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    overflow: hidden;
    height: 50px;
}

.custom-logo {
    height: 50px !important;
    width: auto !important;
    max-width: 70px !important;
    max-height: 50px !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: var(--transition);
}

/* Default SVG Logo */
.site-logo .default-logo {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

/* Site Title - ซ่อนชื่อเว็บ */
.site-title {
    display: none !important;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
}

.main-menu li {
    margin: 0;
    padding: 0;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    white-space: nowrap;
}

.main-menu a:hover {
    color: var(--primary-color);
    background: rgba(46, 204, 64, 0.05);
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-menu a:hover::after {
    transform: scaleX(1);
}

/* Active Menu Item */
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a {
    color: var(--primary-color);
    font-weight: 600;
}

/* User Account & Login */
.user-account,
.login-buttons {
    margin-left: auto;
    flex-shrink: 0;
}

.user-avatar {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.user-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.login-buttons .btn-secondary {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    transition: var(--transition);
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
    background: rgba(46, 204, 64, 0.1);
    outline: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px auto;
    transition: all 0.3s ease;
    border-radius: 3px;
    pointer-events: none;
}

/* Animated Hamburger to X */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #27AE60;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(46, 204, 64, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

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

/* ==========================================================================
   Plant Identifier Section
   ========================================================================== */

.plant-identifier {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.section-header p {
    font-size: 1.1rem;
    color: #7F8C8D;
    max-width: 600px;
    margin: 0 auto;
}

.upload-area {
    max-width: 800px;
    margin: 0 auto;
    background: #F8F9FA;
    border: 3px dashed #DDD;
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: #F0FFF4;
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: #E8F8F0;
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.upload-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.upload-text p {
    color: #7F8C8D;
    margin-bottom: 20px;
}

#file-input {
    display: none;
}

.file-select-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.file-select-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Plant Results */
.plant-results {
    display: none;
    margin-top: 40px;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.plant-results.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.result-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #F0F0F0;
}

.result-image {
    width: 200px;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-info {
    flex: 1;
}

.plant-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.scientific-name {
    font-size: 1.1rem;
    color: #7F8C8D;
    font-style: italic;
    margin-bottom: 15px;
}

.confidence-meter {
    margin-top: 20px;
}

.confidence-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.confidence-bar {
    width: 100%;
    height: 10px;
    background: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 1s ease;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.features-section {
    padding: 80px 0;
    background: #F8F9FA;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46,204,64,0.1), rgba(39,174,96,0.1));
    border-radius: 50%;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

.feature-card p {
    color: #7F8C8D;
    line-height: 1.6;
}

/* ==========================================================================
   Plant Database Grid
   ========================================================================== */

.plant-database {
    padding: 80px 0;
    background: white;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 25px;
    background: #F0F0F0;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--primary-color);
    color: white;
}

.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.plant-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.plant-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.plant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.plant-card:hover .plant-image img {
    transform: scale(1.1);
}

.plant-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plant-info {
    padding: 20px;
}

.plant-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.plant-info .latin-name {
    font-size: 0.9rem;
    color: #7F8C8D;
    font-style: italic;
    margin-bottom: 15px;
}

.plant-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #F0F0F0;
}

.plant-difficulty {
    display: flex;
    gap: 3px;
}

.difficulty-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E0E0E0;
}

.difficulty-dot.filled {
    background: var(--primary-color);
}

.plant-category {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================================================
   Disease Diagnosis Section
   ========================================================================== */

.disease-diagnosis {
    padding: 80px 0;
    background: #F8F9FA;
}

.diagnosis-container {
    max-width: 1000px;
    margin: 0 auto;
}

.diagnosis-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    font-size: 1.2rem;
}

.step-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-card p {
    color: #7F8C8D;
    font-size: 0.95rem;
}

/* Disease Results */
.disease-results {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    display: none;
}

.disease-results.active {
    display: block;
}

.disease-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.severity-indicator {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.severity-low {
    background: #D4EDDA;
    color: #155724;
}

.severity-medium {
    background: #FFF3CD;
    color: #856404;
}

.severity-high {
    background: #F8D7DA;
    color: #721C24;
}

.treatment-steps {
    background: #F8F9FA;
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.treatment-steps h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.treatment-list {
    list-style: none;
    counter-reset: step-counter;
}

.treatment-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    counter-increment: step-counter;
}

.treatment-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   Care Calendar
   ========================================================================== */

.care-calendar {
    padding: 80px 0;
    background: white;
}

.calendar-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.calendar-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-nav {
    display: flex;
    gap: 15px;
}

.calendar-nav button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-nav button:hover {
    background: rgba(255,255,255,0.3);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day-header {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    background: #F8F9FA;
    color: var(--text-color);
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 10px;
    border: 1px solid #F0F0F0;
    background: white;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-day:hover {
    background: #F8F9FA;
}

.calendar-day-number {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.calendar-day.has-task::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* ==========================================================================
   Community Forum
   ========================================================================== */

.community-section {
    padding: 80px 0;
    background: #F8F9FA;
}

.forum-container {
    max-width: 1000px;
    margin: 0 auto;
}

.forum-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: #7F8C8D;
    font-size: 0.9rem;
}

.forum-topics {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.topic-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #F0F0F0;
    transition: var(--transition);
    cursor: pointer;
}

.topic-item:hover {
    background: #F8F9FA;
}

.topic-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.topic-content {
    flex: 1;
}

.topic-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.topic-meta {
    display: flex;
    gap: 20px;
    color: #7F8C8D;
    font-size: 0.9rem;
}

.topic-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
}

.reply-count {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.2rem;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #BDC3C7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #BDC3C7;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        overflow-y: auto;
        padding: 80px 20px 20px;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        -webkit-overflow-scrolling: touch;
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .main-navigation.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .main-menu {
        flex-direction: column;
        padding: 0;
        gap: 0;
        align-items: stretch;
    }
    
    .main-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-menu a {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        width: 100%;
        text-align: left;
        border-radius: 0;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .main-menu a:hover {
        background: rgba(46, 204, 64, 0.05);
        padding-left: 25px;
    }
    
    .main-menu a::after {
        display: none;
    }
    
    .user-account,
    .login-buttons {
        margin-left: 0;
        padding: 20px;
        border-top: 2px solid #f0f0f0;
        margin-top: 20px;
    }
    
    /* โลโก้บน mobile */
    .site-logo,
    .custom-logo-link {
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .custom-logo {
        height: 45px !important;
        max-width: 60px !important;
        max-height: 45px !important;
    }
    
    .site-logo .default-logo {
        width: 40px;
        height: 40px;
    }
    
    /* ซ่อนชื่อเว็บบน mobile */
    .site-title {
        display: none !important;
    }
    
    .header-inner {
        padding: 0.75rem 0;
        min-height: 60px;
    }
    
    .site-branding {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    .site-logo,
    .custom-logo-link {
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    /* Close button overlay */
    .main-navigation::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: white;
        border-bottom: 1px solid #f0f0f0;
        z-index: -1;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .plants-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .result-header {
        flex-direction: column;
    }
    
    .result-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Tablet Styles */
@media (min-width: 992px) and (max-width: 1024px) {
    .main-menu {
        gap: 0.8rem;
    }
    
    .main-menu a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .site-logo,
    .custom-logo-link {
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .custom-logo {
        height: 48px !important;
        max-width: 65px !important;
    }
    
    .site-logo .default-logo {
        width: 43px;
        height: 43px;
    }
    
    .site-title {
        display: none !important;
    }
    
    .header-inner {
        padding: 0.85rem 0;
        min-height: 65px;
    }
    
    .site-branding {
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    .site-logo,
    .custom-logo-link {
        height: 100%;
        display: flex;
        align-items: center;
    }
}

/* Loading Animation */
.loader {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(46,204,64,0.1);
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notification Toast */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 20px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid var(--primary-color);
}

.notification.error {
    border-left: 4px solid var(--accent-color);
}

.notification.info {
    border-left: 4px solid #3498DB;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7F8C8D;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--dark-color);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #F0F0F0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}
/* ==========================================================================
   Mobile Menu - Ultra Bulletproof CSS
   เพิ่มใน Appearance → Customize → Additional CSS
   หรือเพิ่มท้าย style.css
   ========================================================================== */

/* ✅ CRITICAL: ให้แน่ใจว่าปุ่มเมนูแสดงและกดได้บน mobile */
@media (max-width: 991px) {
    
    /* ===== MOBILE MENU TOGGLE BUTTON ===== */
    .mobile-menu-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        background: none !important;
        border: none !important;
        padding: 10px !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 6px !important;
        transition: background-color 0.3s ease !important;
        -webkit-tap-highlight-color: rgba(46, 204, 64, 0.2) !important;
        touch-action: manipulation !important;
    }
    
    /* Hover/Active states */
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:active,
    .mobile-menu-toggle:focus {
        background: rgba(46, 204, 64, 0.1) !important;
        outline: none !important;
    }
    
    /* Hamburger lines */
    .mobile-menu-toggle span {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background: #2C3E50 !important;
        margin: 4px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 3px !important;
        pointer-events: none !important;
    }
    
    /* Hamburger to X animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg) !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg) !important;
    }
    
    /* ===== MAIN NAVIGATION (CLOSED STATE) ===== */
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 80px 20px 20px;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    /* ===== MAIN NAVIGATION (OPEN STATE) ===== */
    .main-navigation.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* ===== MENU LIST ===== */
    .main-menu {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }
    
    .main-menu li {
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    .main-menu a {
        display: flex !important;
        align-items: center !important;
        padding: 18px 25px !important;
        width: 100% !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #34495E !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        border-radius: 0 !important;
        pointer-events: auto !important;
    }
    
    .main-menu a:hover,
    .main-menu a:active,
    .main-menu a:focus {
        background: rgba(46, 204, 64, 0.08) !important;
        color: #2ECC40 !important;
        padding-left: 30px !important;
    }
    
    /* ===== LOGIN/USER BUTTONS ===== */
    .login-buttons,
    .user-account {
        padding: 20px 25px !important;
        margin: 20px 0 0 0 !important;
        border-top: 2px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    .login-buttons .btn {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 24px !important;
    }
    
    /* ===== PREVENT BODY SCROLL ===== */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* ===== HEADER Z-INDEX ===== */
    .site-header {
        position: relative !important;
        z-index: 10000 !important;
    }
    
    .header-inner {
        position: relative !important;
        z-index: 10001 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    /* ===== ENSURE TOGGLE IS ABOVE EVERYTHING ===== */
    .header-inner .mobile-menu-toggle {
        order: 999 !important;
        margin-left: auto !important;
    }
}

/* ===== FIX FOR iOS ===== */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 991px) {
        .main-navigation {
            min-height: -webkit-fill-available !important;
        }
        
        body.menu-open {
            position: fixed !important;
            width: 100% !important;
            height: 100vh !important;
            overflow: hidden !important;
        }
        
        .mobile-menu-toggle {
            -webkit-touch-callout: none !important;
            -webkit-user-select: none !important;
            user-select: none !important;
        }
    }
}

/* ===== EXTRA SMALL SCREENS ===== */
@media (max-width: 480px) {
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
    }
    
    .mobile-menu-toggle span {
        width: 22px !important;
        height: 2.5px !important;
    }
    
    .main-menu a {
        padding: 16px 20px !important;
        font-size: 15px !important;
    }
}

/* ===== DESKTOP: HIDE MOBILE TOGGLE ===== */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE MENU FIX - FINAL VERSION
   ใส่ไว้ท้ายสุดเพื่อ override ทุกอย่าง
   ========================================================================== */

/* ----- MOBILE/TABLET (991px และต่ำกว่า) ----- */
@media screen and (max-width: 991px) {
    
    /* แสดงปุ่ม Hamburger */
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 50px !important;
        height: 50px !important;
        background: #2ECC40 !important;
        border: none !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        padding: 10px !important;
        position: relative !important;
        z-index: 99999 !important;
    }
    
    /* เส้น Hamburger */
    .mobile-menu-toggle span {
        display: block !important;
        width: 24px !important;
        height: 3px !important;
        background: white !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Hamburger -> X animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }
    
    /* ซ่อนเมนูปกติ */
    .main-navigation,
    .main-navigation.mobile-menu {
        display: none !important;
    }
    
    /* แสดงเมนูเมื่อเปิด */
    .main-navigation.active,
    .main-navigation.mobile-menu.active {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        z-index: 99998 !important;
        padding: 80px 20px 20px !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }
    
    /* รายการเมนูแนวตั้ง */
    .main-navigation.active .main-menu,
    .main-navigation.mobile-menu.active .main-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    .main-navigation.active .main-menu li,
    .main-navigation.mobile-menu.active .main-menu li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
        margin: 0 !important;
    }
    
    .main-navigation.active .main-menu a,
    .main-navigation.mobile-menu.active .main-menu a {
        display: block !important;
        padding: 15px 20px !important;
        color: #2C3E50 !important;
        font-size: 16px !important;
        text-decoration: none !important;
    }
    
    /* ปุ่มค้างอยู่ด้านบนเมื่อเมนูเปิด */
    body.mobile-menu-open .mobile-menu-toggle {
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 99999 !important;
    }
    
    body.mobile-menu-open {
        overflow: hidden !important;
    }
}

/* ----- DESKTOP (992px ขึ้นไป) ----- */
@media screen and (min-width: 992px) {
    
    /* ซ่อนปุ่ม Hamburger */
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* แสดงเมนูปกติ */
    .main-navigation,
    .main-navigation.mobile-menu {
        display: flex !important;
        position: relative !important;
        background: transparent !important;
        padding: 0 !important;
        height: auto !important;
        width: auto !important;
    }
    
    .main-menu {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
    }
}

/* ==========================================================================
   HAMBURGER BUTTON SPANS - FORCE VISIBLE
   ========================================================================== */

/* Force hamburger lines to always show */
.mobile-menu-toggle span {
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    background-color: white !important;
    background: white !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* X animation when active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
}

/* Extra specificity for mobile */
@media screen and (max-width: 991px) {
    button.mobile-menu-toggle span,
    .mobile-menu-toggle span {
        display: block !important;
        width: 24px !important;
        height: 3px !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
   GLOBAL CONTAINER WIDTH SYSTEM (1400px)
   ========================================================================== */

/**
 * Global Container Override
 * ปรับ max-width มาตรฐานเป็น 1400px ทุกหน้า
 * รองรับ Responsive ไม่พัง
 */

/* Main Container Classes */
.container,
.site-content,
.wrapper,
.content-wrapper,
.page-wrapper,
.review-container,
.guide-container,
.disease-container,
.plant-container,
.archive-container,
.site-header .container,
.site-footer .container,
.footer-content,
[class*="container"] {
    max-width: 1400px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Override inline styles with attribute selector */
div[style*="max-width: 1200px"],
div[style*="max-width:1200px"],
section[style*="max-width: 1200px"],
section[style*="max-width:1200px"] {
    max-width: 1400px !important;
}

/* Specific page overrides */
.diseases-hero .container,
.plants-hero .container,
.blog-archive-header .container,
.page-header .container,
.hero-section .container,
.cta-section .container {
    max-width: 1400px !important;
}

/* Grid layouts within 1400px container */
.content-grid,
.posts-grid,
.plants-grid,
.diseases-grid,
.products-grid,
.guides-grid,
.cards-grid {
    max-width: 100%;
    margin: 0 auto;
}

/* Sidebar layouts - maintain proportions */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1400px !important;
    margin: 0 auto;
}

.content-with-sidebar.sidebar-left {
    grid-template-columns: 350px 1fr;
}

/* Full-width sections within container */
.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.full-width-section > .container {
    max-width: 1400px !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .container,
    [class*="container"] {
        max-width: 1400px !important;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Large Screens (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container,
    [class*="container"] {
        max-width: 100% !important;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container,
    [class*="container"] {
        max-width: 100% !important;
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .content-with-sidebar {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container,
    [class*="container"] {
        max-width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .content-with-sidebar {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-with-sidebar.sidebar-left {
        grid-template-columns: 1fr;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .container,
    [class*="container"],
    div[style*="max-width"],
    section[style*="max-width"] {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .content-with-sidebar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    * {
        max-width: 100vw;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    .container,
    [class*="container"] {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* ==========================================================================
   GRID SYSTEM CONSISTENCY
   ========================================================================== */

/* Ensure grid proportions work at 1400px */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.grid-70-30 {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 40px;
}

.grid-30-70 {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;
}

/* Responsive grid adjustments */
@media (max-width: 1199px) {
    .grid-4-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .grid-3-col,
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-70-30,
    .grid-30-70 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .grid-2-col,
    .grid-3-col,
    .grid-4-col {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   CHEMICAL GROUP BADGE - สไตล์ฉลากยา
   ===================================================== */

/* กรอบรวม Badge */
.chem-badge {
    display: inline-flex;
    align-items: stretch;
    border: 2px solid #1f2937;
    border-radius: 6px;
    background-color: #fff;
    font-family: inherit;
    line-height: 1.2;
    font-size: 14px;
    color: #1f2937;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.chem-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #f59e0b;
}

/* คำว่า "กลุ่ม" */
.chem-badge .chem-label {
    padding: 6px 10px;
    background-color: #f3f4f6;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: #4b5563;
    font-size: 0.85em;
}

/* รหัสกลุ่ม (ตัวดำ พื้นดำ) */
.chem-badge .chem-code {
    padding: 6px 12px;
    background-color: #1f2937;
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

/* ประเภทสาร */
.chem-badge .chem-type {
    padding: 6px 10px;
    background-color: #fef3c7;
    border-left: 2px solid #1f2937;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #92400e;
    font-size: 0.85em;
}

/* Badge ขนาดเล็ก (สำหรับการ์ด) */
.chem-badge.chem-badge-sm {
    font-size: 11px;
    border-width: 1.5px;
    border-radius: 4px;
}

.chem-badge.chem-badge-sm .chem-label {
    padding: 4px 6px;
}

.chem-badge.chem-badge-sm .chem-code {
    padding: 4px 8px;
}

.chem-badge.chem-badge-sm .chem-type {
    padding: 4px 6px;
    display: none; /* ซ่อนในขนาดเล็ก */
}

/* Badge ขนาดใหญ่ (สำหรับ Hero) */
.chem-badge.chem-badge-lg {
    font-size: 16px;
    border-width: 2.5px;
    border-radius: 8px;
}

.chem-badge.chem-badge-lg .chem-label {
    padding: 8px 14px;
}

.chem-badge.chem-badge-lg .chem-code {
    padding: 8px 16px;
    font-size: 1.2em;
}

.chem-badge.chem-badge-lg .chem-type {
    padding: 8px 14px;
}

/* สีต่างๆ ตามประเภทสาร */

/* สารกำจัดเชื้อรา - เขียว */
.chem-badge.chem-fungicide .chem-code {
    background-color: #166534;
}
.chem-badge.chem-fungicide .chem-type {
    background-color: #dcfce7;
    color: #166534;
}
.chem-badge.chem-fungicide {
    border-color: #166534;
}

/* สารกำจัดแมลง - แดง */
.chem-badge.chem-insecticide .chem-code {
    background-color: #991b1b;
}
.chem-badge.chem-insecticide .chem-type {
    background-color: #fee2e2;
    color: #991b1b;
}
.chem-badge.chem-insecticide {
    border-color: #991b1b;
}

/* สารกำจัดวัชพืช - ม่วง */
.chem-badge.chem-herbicide .chem-code {
    background-color: #6b21a8;
}
.chem-badge.chem-herbicide .chem-type {
    background-color: #f3e8ff;
    color: #6b21a8;
}
.chem-badge.chem-herbicide {
    border-color: #6b21a8;
}

/* ชีวภัณฑ์ - ฟ้า */
.chem-badge.chem-bio .chem-code {
    background-color: #0369a1;
}
.chem-badge.chem-bio .chem-type {
    background-color: #e0f2fe;
    color: #0369a1;
}
.chem-badge.chem-bio {
    border-color: #0369a1;
}

/* Responsive */
@media (max-width: 768px) {
    .chem-badge {
        font-size: 12px;
    }
    
    .chem-badge .chem-type {
        display: none;
    }
    
    .chem-badge.chem-badge-lg {
        font-size: 14px;
    }
    
    .chem-badge.chem-badge-lg .chem-type {
        display: flex;
    }
}
