/* Reset and Base Styles */
:root {
    --primary-color: #7cb83d;
    --primary-dark: #6ba336;
    --secondary-color: #f8f9fa;
    --accent-color: #e8f5e8;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

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

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

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0f8f0 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* Condition Banner */
.condition-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0f8f0 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.banner-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.banner-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.banner-features li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.banner-actions {
    margin-top: 2rem;
}

/* Product Sections */
.condition-products,
.product-tabs-section,
.patient-leaflet-section,
.product-author-info {
    padding: 3rem 0;
}

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

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.product-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.product-title a {
    color: var(--text-color);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1rem 0;
}

.product-actions {
    margin-top: 1rem;
}

/* Product Detail Page */
.single-product-custom {
    padding: 2rem 0;
}

.product-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--text-muted);
}

.main-product-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.product-gallery {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.product-field {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.availability-status {
    color: var(--success-color);
    font-weight: 600;
}

.consultation-note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Product Tabs */
.product-nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.product-nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-weight: 500;
    padding: 1rem 1.5rem;
}

.product-nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: none;
}

.product-nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content-wrapper {
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Patient Leaflet */
.leaflet-download {
    padding: 2rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
    background-color: var(--secondary-color);
}

.video-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: 315px;
}

.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background-color: var(--white);
    color: var(--text-color);
    font-weight: 500;
    border: none;
    padding: 1.25rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 1.25rem;
    background-color: var(--white);
}

/* Author Section */
.author-section,
.product-author-info {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.author-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.author-photo {
    flex-shrink: 0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.author-name {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.author-qualification {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.author-label {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.author-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

/* Recommended Treatments Page */
.recommended-treatments {
    padding: 2rem 0;
}

.page-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0f8f0 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.filters-sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    font-size: 1rem;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(124, 184, 61, 0.2);
}

.form-check {
    margin-bottom: 0.75rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.count {
    background-color: var(--light-gray);
    color: var(--text-muted);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
}

/* Loading States */
.consultation-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.consultation-btn.loading i {
    animation: spin 1s linear infinite;
}

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

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: var(--white);
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: var(--box-shadow);
}

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

.notification-success {
    background-color: var(--success-color);
}

.notification-error {
    background-color: var(--danger-color);
}

.notification-warning {
    background-color: var(--warning-color);
    color: var(--text-color);
}

.notification-info {
    background-color: var(--primary-color);
}

/* WooCommerce Customizations */
.woocommerce-notices-wrapper {
    margin-bottom: 2rem;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.woocommerce-error {
    background-color: #ffeaea;
    border-left: 4px solid var(--danger-color);
    color: var(--danger-color);
}

.woocommerce-message {
    background-color: #eafff0;
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
}

.woocommerce-info {
    background-color: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    color: var(--primary-color);
}

/* Custom Product Summary */
.custom-product-summary {
    padding: 2rem 0;
}

.consultation-shop-button {
    margin-top: 1rem;
}

.consultation-price {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Styling */
.ajax-form {
    margin-bottom: 2rem;
}

.form-messages {
    margin-top: 1rem;
}

.form-messages .loading {
    color: var(--text-muted);
    font-style: italic;
}

.form-messages .success {
    color: var(--success-color);
    font-weight: 500;
}

.form-messages .error {
    color: var(--danger-color);
    font-weight: 500;
}

/* Footer */
.site-footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.copyright {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title,
    .banner-title {
        font-size: 2rem;
    }

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

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .product-nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .tab-content-wrapper {
        padding: 1.5rem;
    }

    .author-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title,
    .banner-title {
        font-size: 1.75rem;
    }

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

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

    .product-nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .product-nav-tabs .nav-link {
        display: inline-block;
        min-width: max-content;
    }
}
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: var(--accent-color);
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0f8f0 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-image svg {
    width: 100%;
    height: auto;
}

/* Sections */
.section-header {
    margin-bottom: 3rem;
}

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

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.conditions-section,
.wellness-section,
.medication-section,
.faq-section,
.blog-section {
    padding: 4rem 0;
}

.wellness-section {
    background-color: var(--secondary-color);
}

/* Conditions Grid */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.condition-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.condition-icon {
    background-color: var(--accent-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.condition-icon i {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
}

.condition-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.condition-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.condition-features li:last-child {
    border-bottom: none;
}

.condition-features li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Wellness Features */
.wellness-features {
    list-style: none;
    margin-bottom: 2rem;
}

.wellness-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.wellness-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
    height: 20px;
}

/* FAQ Section */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: var(--white);
    color: var(--text-color);
    font-weight: 500;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Blog Cards */
.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title a {
    color: var(--text-color);
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Banner Section */
.banner-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0f8f0 100%);
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.banner-list {
    list-style: none;
    margin-bottom: 2rem;
}

.banner-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.banner-list li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 1rem;
}

/* Product Section */
.product-section {
    padding: 3rem 0;
}

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

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--light-gray);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.product-title a {
    color: var(--text-color);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-actions{
    display: flex;
    gap: 0.5rem;
}

/* Single Product */
.single-product-custom {
    padding: 2rem 0;
}

.product-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-color);
}

.main-product-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.product-gallery {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumb:hover {
    border-color: var(--primary-color);
}

.product-summary {
    padding-left: 2rem;
}

.product-field {
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.availability-status {
    color: var(--success-color);
    font-weight: 600;
}

.product-actions {
    margin: 2rem 0;
}

.consultation-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.quantity-input {
    margin-bottom: 1rem;
}

.quantity-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.quantity-input input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* More Information Tabs */
.more-information {
    margin: 3rem 0;
}

.info-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.info-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-weight: 500;
    padding: 1rem 1.5rem;
}

.info-tabs .nav-link.active,
.info-tabs .nav-link:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.tab-content {
    padding: 2rem 0;
}

/* Author Sections */
.product-authors,
.author-section {
    background-color: var(--secondary-color);
    padding: 3rem 0;
    margin: 3rem 0;
}

.author-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.qualification,
.role {
    margin-bottom: 0.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Filters and Search */
.conditions-filters,
.filters-sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.condition-filters,
.type-filters {
    max-height: 200px;
    overflow-y: auto;
}

.form-check {
    margin-bottom: 0.75rem;
}

.form-check-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.count {
    background-color: var(--light-gray);
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.products-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.results-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--white);
}

.payment-methods {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 30px;
    border-radius: 4px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-bottom {
    padding-top: 1rem;
}

.copyright {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.certifications {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.certifications img {
    height: 30px;
}

/* Empty States */
.no-posts,
.no-conditions,
.no-products {
    text-align: center;
    padding: 3rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.empty-icon {
    width: 48px;
    height: 48px;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

/* Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .product-summary {
        padding-left: 0;
        margin-top: 2rem;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
    }

    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .certifications {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }

    .conditions-section,
    .wellness-section,
    .medication-section,
    .faq-section,
    .blog-section {
        padding: 2rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .condition-card,
    .product-card,
    .blog-card {
        margin-bottom: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: auto;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .product-actions,
    .social-links {
        display: none;
    }

    .single-product-custom,
    .single-condition {
        padding: 0;
    }

    * {
        color: black !important;
        background: white !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #006600;
        --text-color: #000000;
        --border-color: #000000;
        --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .btn-outline-primary {
        border-width: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Consultation specific styles */
.consultation-button-wrapper {
    margin: 2rem 0;
    text-align: center;
}

/* Single Consultation Page */
.single-consultation {
    padding: 4rem 0;
    background: var(--secondary-color);
    min-height: 80vh;
}

.consultation-wrapper {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
}

.consultation-form-container .form-header {
    margin-bottom: 2rem;
}

.consultation-form-container .form-title {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.consultation-form-container .form-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.consultation-form-container .form-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.consultation-form-container .step {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.consultation-form-container .step.active {
    background: var(--primary-color);
    color: var(--white);
}

.consultation-form-container .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.75rem;
}

.consultation-form-container .step.active .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.consultation-form-container .no-form-notice {
    text-align: center;
    padding: 3rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    color: var(--text-muted);
}