/* Enhanced Seed Categories Tabs */
.seed-category-tabs {
    margin-top: 2rem;
}

.tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    position: relative;
}

.tab-btn {
    background: none;
    border: 2px solid transparent;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    color: var(--white);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(19, 108, 57, 0.3);
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

/* Subcategory Navigation */
.subcategory-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.subcategory-btn {
    background: rgba(19, 108, 57, 0.05);
    border: 1px solid rgba(19, 108, 57, 0.1);
    border-radius: 20px;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
    white-space: nowrap;
}

.subcategory-btn:hover {
    background: rgba(19, 108, 57, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.subcategory-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(19, 108, 57, 0.2);
}

/* Subcategory Content */
.subcategory-content {
    position: relative;
}

.subcategory-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.subcategory-pane.active {
    display: block;
}

/* Seed Products Grid */
.seed-products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    padding: 1rem;
}

/* Product Card Styles */
.seed-product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.seed-product.horizontal {
    display: flex;
    align-items: stretch;
    padding: 1.5rem;
    gap: 2.5rem;
    height: 100%;
}

.seed-product.horizontal .product-image {
    flex: 0 0 240px;
    height: auto;
    align-self: stretch;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.seed-product:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.seed-product:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 0;
    min-height: 100%;
}

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

.product-header h3 {
    color: #222;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.product-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    background-color: #f8f8f8;
    color: #555;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.product-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #444;
}

.product-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: #0f5c2e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 92, 46, 0.2);
}

/* Coming Soon Placeholder */
.coming-soon {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
    border: 2px dashed rgba(19, 108, 57, 0.2);
    margin: 1rem;
}

.coming-soon p {
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .seed-product.horizontal {
        padding: 1.2rem;
        gap: 2rem;
    }

    .seed-product.horizontal .product-image {
        flex: 0 0 200px;
        height: auto;
    }

    .product-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .product-header h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .seed-product.horizontal {
        display: block;
        padding: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        position: relative;
        margin-bottom: 2rem;
    }
    
    .seed-product.horizontal .product-image {
        width: 100%;
        height: 200px;
        position: relative;
        margin: 0;
    }
    
    .seed-product.horizontal .product-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product-details {
        padding: 1rem;
    }
    
    .product-header {
        margin-bottom: 0.5rem;
    }
    
    .product-description {
        margin-bottom: 0.5rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
        margin-bottom: 0.75rem;
        gap: 0.3rem;
    }
    
    .product-actions {
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        position: relative;
        z-index: 20;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .product-actions .btn-primary {
        width: 100%;
        justify-content: center;
        display: block !important;
        text-align: center;
        position: relative;
        z-index: 25;
        font-weight: 600;
        padding: 0.8rem;
    }
    
    .product-actions .btn-primary i {
        display: inline-block;
        margin-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .product-features {
        grid-template-columns: 1fr;
    }

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

/* Seed Categories Layout */
.seed-categories-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Sidebar Styles */
.seed-categories-sidebar {
    background-color: #f8f9f8;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Search Container Styles */
.search-container {
    margin-bottom: 1.5rem;
}

.search-container h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(19, 108, 57, 0.1);
}

.product-search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.product-search-input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 3rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #555;
    background: #f9f9f9;
}

.product-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(19, 108, 57, 0.1);
    background: white;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: transparent;
    border: none;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: var(--primary-color);
}

.categories-nav h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(19, 108, 57, 0.1);
}

.categories-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.categories-nav li {
    margin-bottom: 0.5rem;
}

.categories-nav a {
    display: block;
    padding: 0.8rem 1rem;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.categories-nav a:hover {
    background: rgba(19, 108, 57, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

.categories-nav a.active {
    background: var(--primary-color);
    color: white;
    font-weight: 500;
}

.main-category {
    margin-bottom: 2rem;
}

.sub-category {
    margin-top: 1rem;
}

/* Content Area */
.seed-categories-content {
    flex: 1;
    min-height: 500px;
}

/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
}

.category-tab {
    background: white;
    border: 2px solid #f0f0f0;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.category-tab:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.category-tab.active {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(19, 108, 57, 0.25);
}

.seed-categories-content.full-width {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Force display for active category content */
.category-content {
    display: none !important;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.category-content.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Search Results Styling */
.search-results-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(19, 108, 57, 0.1);
}

.search-results-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.search-notice {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.search-notice p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.search-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.search-category-links .category-link {
    background: white;
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(19, 108, 57, 0.2);
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.search-category-links .category-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(19, 108, 57, 0.15);
}

.no-results {
    background: #fff8f8;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    border: 1px dashed #ddd;
    margin: 2rem 0;
}

.no-results p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-results p:first-child {
    font-weight: 500;
    color: #444;
}

/* Responsive adjustments for seed categories */
@media (max-width: 992px) {
    .seed-categories-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .seed-categories-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
        width: 100%;
        padding: 1.5rem;
    }
    
    .categories-nav {
        margin-bottom: 0;
    }
    
    .main-category,
    .sub-category {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1.5rem;
    }
    
    .category-tab {
        flex: 0 0 auto;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .category-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        margin-right: 0.3rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .seed-product.horizontal {
        margin-bottom: 1.5rem;
    }
    
    .product-header h3 {
        font-size: 1.3rem;
    }
    
    .product-category {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .product-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
} 