/* Home page styles */
.sc-page {
    padding: 24px 0 60px;
}

.sc-container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.home-page .sc-topbar {
    background: #ffffff;
    border: 1px solid #dde6d8;
    border-radius: 18px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.home-page .sc-brand {
    font-size: 24px;
    font-weight: 800;
    color: #1d5c34;
}

.home-page .sc-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.home-page .sc-nav a {
    color: #5c655d;
    font-size: 14px;
    font-weight: 600;
}

.home-page .sc-search {
    flex: 1;
    max-width: 360px;
    min-width: 220px;
    position: relative;
}

.home-page .sc-search input {
    width: 100%;
    height: 42px;
    border: 1px solid #d7e0d3;
    border-radius: 999px;
    padding: 0 16px;
    background: #f8faf7;
    outline: none;
    font-size: 14px;
}

.home-page .sc-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-page .sc-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.home-page .sc-login {
    background: #eef5ee;
    color: #1d5c34;
}

.home-page .sc-contact {
    background: #1d5c34;
    color: #fff;
}

.sc-main {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
}

.sc-sidebar {
    background: #ffffff;
    border: 1px solid #dde6d8;
    border-radius: 18px;
    padding: 22px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    height: fit-content;
}

.sc-sidebar h3 {
    margin: 0 0 16px;
    font-size: 16px;
    color: #1f2e20;
}

.sc-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.sc-menu a,
.sc-menu span {
    color: #536053;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.sc-menu-details {
    margin: 0;
}

.sc-menu-details > summary {
    list-style: none;
}

.sc-menu-details > summary::-webkit-details-marker {
    display: none;
}

.sc-menu-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #536053;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
}

.sc-toggle-icon::before {
    content: '+';
    font-size: 18px;
    line-height: 1;
    color: #1d5c34;
}

.sc-menu-details[open] .sc-toggle-icon::before {
    content: '−';
}

.sc-category-drawer {
    margin: 8px 0 4px 10px;
    padding: 10px 12px;
    border-left: 2px solid #d9e7d6;
    background: #f7faf6;
    border-radius: 0 12px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sc-category-item {
    color: #33543b !important;
    font-size: 13px !important;
    font-weight: 600;
}

.sc-support-box {
    border-top: 1px solid #e5ece2;
    padding-top: 18px;
}

.sc-support-box p {
    margin: 0 0 12px;
    color: #6b736b;
    font-size: 14px;
    line-height: 1.6;
}

.sc-support-box a {
    display: inline-block;
    color: #1d5c34;
    font-weight: 700;
    font-size: 14px;
}

.sc-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sc-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1c6b30 0%, #2f8a3f 45%, #6ba94d 100%);
    border-radius: 22px;
    padding: 42px 42px 38px;
    min-height: 320px;
    color: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 14px 30px rgba(29, 92, 52, 0.18);
}

.sc-hero::before,
.sc-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.sc-hero::before {
    width: 220px;
    height: 220px;
    top: -40px;
    right: 40px;
}

.sc-hero::after {
    width: 300px;
    height: 300px;
    bottom: -130px;
    right: -20px;
}

.sc-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.sc-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.22);
    color: #f3ffe9;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sc-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.sc-hero p {
    margin: 0 0 24px;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
}

.sc-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.sc-hero-btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.sc-hero-btn-primary {
    background: #ffffff;
    color: #1d5c34;
}

.sc-hero-btn-secondary {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
}

.sc-section {
    background: #ffffff;
    border: 1px solid #dde6d8;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.sc-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.sc-section-head h2 {
    margin: 0;
    font-size: 24px;
    color: #1f2e20;
}

.sc-section-head a {
    color: #1d5c34;
    font-size: 14px;
    font-weight: 700;
}

.sc-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sc-product-card {
    background: #fbfcfa;
    border: 1px solid #e3ebe0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    z-index: 10;
    position: relative;
}

.sc-product-image {
    height: 190px;
    overflow: hidden;
    background: #edf5e8;
}

.sc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: object-fit 0.3s ease, transform 0.3s ease;
}

.sc-product-card:hover .sc-product-image {
    background: #fff;
}

.sc-product-card:hover .sc-product-image img {
    object-fit: contain;
    transform: scale(0.95);
}

.sc-product-body {
    padding: 16px;
}

.sc-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f4e8;
    color: #25633a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.sc-product-title {
    margin: 0 0 8px;
    font-size: 17px;
    color: #243324;
}

.sc-product-text {
    margin: 0 0 12px;
    color: #677167;
    font-size: 14px;
    line-height: 1.6;
}

.sc-price {
    font-size: 20px;
    font-weight: 800;
    color: #1d5c34;
}

.sc-product-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: #5d685d;
    font-size: 13px;
    font-weight: 600;
}

.sc-search-summary {
    margin: 0 0 18px;
    color: #536053;
}

.sc-empty-state {
    border: 1px dashed #cfe0cb;
    border-radius: 16px;
    padding: 28px;
    background: #f8fbf7;
    text-align: center;
}

#search-results {
    scroll-margin-top: 24px;
}

.sc-empty-state h3 {
    margin: 0 0 10px;
    color: #1f2e20;
}

.sc-empty-state p {
    margin: 0;
    color: #5d685d;
}

.sc-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sc-category-card {
    min-height: 180px;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sc-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}

.sc-category-card > * {
    position: relative;
    z-index: 1;
}

.sc-category-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.sc-category-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
}

.bg-farm {
    background: linear-gradient(135deg, #658f2e, #2e6b2b);
}

.bg-home {
    background: linear-gradient(135deg, #9abf3b, #4c7c2e);
}

.bg-ai {
    background: linear-gradient(135deg, #1d5c34, #4f8c58);
}

.bg-fashion {
    background: linear-gradient(135deg, #c78552, #8d4c35);
}

.bg-tech {
    background: linear-gradient(135deg, #2f6c69, #194847);
}

.sc-footer {
    background: #1a3d28;
    color: #c8dfc8;
    padding: 48px 0 0;
    margin-top: 40px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.sc-footer .sc-container {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
}

.sc-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sc-footer-col h4 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.sc-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sc-footer-col ul li a {
    color: #9ab89a;
    font-size: 14px;
}

.sc-footer-col ul li a:hover {
    color: #fff;
}

.sc-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.sc-footer-brand {
    font-size: 25px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    min-width: 160px;
}

.sc-footer-copy {
    font-size: 13px;
    color: #6d8f6d;
    margin: 0;
    text-align: center;
    flex: 1;
}

.sc-footer-social {
    display: flex;
    gap: 10px;
}

.sc-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8dfc8;
}

.sc-footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sc-innovators-intro {
    margin: -4px 0 20px;
    color: #5d685d;
    font-size: 15px;
    line-height: 1.7;
    max-width: 760px;
}

.sc-innovator-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sc-innovator-card {
    background: #fbfcfa;
    border: 1px solid #e3ebe0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sc-innovator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.sc-innovator-image {
    height: 190px;
    overflow: hidden;
    background: #edf5e8;
}

.sc-innovator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-innovator-body {
    padding: 18px;
}

.sc-innovator-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #243324;
}

.sc-innovator-body p {
    margin: 0 0 14px;
    color: #677167;
    font-size: 14px;
    line-height: 1.7;
}

.sc-innovator-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sc-innovator-tags span {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f4e8;
    color: #25633a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.sc-innovator-link {
    display: inline-block;
    color: #1d5c34;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .sc-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-categories {
        grid-template-columns: 1fr;
    }

    .sc-innovator-grid {
        grid-template-columns: 1fr;
    }

    .sc-trust-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 900px) {
    .sc-main {
        grid-template-columns: 1fr;
    }

    .sc-sidebar {
        order: 2;
    }

    .sc-content {
        order: 1;
    }

    .sc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .home-page .sc-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page .sc-search {
        max-width: none;
    }

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

    .sc-hero {
        padding: 28px 22px;
        min-height: auto;
    }

    .sc-hero h1 {
        font-size: 32px;
    }

    .sc-section {
        padding: 18px;
    }
}

@media (max-width: 500px) {
    .sc-footer-grid {
        grid-template-columns: 1fr;
    }

    .sc-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .sc-footer-copy {
        text-align: left;
    }
}
/* Trust section */
.sc-trust-intro {
    margin: -4px 0 20px;
    color: #5d685d;
    font-size: 15px;
    line-height: 1.7;
    max-width: 760px;
}

.sc-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sc-trust-card {
    background: #fbfcfa;
    border: 1px solid #e3ebe0;
    border-radius: 16px;
    padding: 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sc-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.sc-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e8f4e8;
    color: #25633a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
}

.sc-trust-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #243324;
}

.sc-trust-card p {
    margin: 0;
    color: #677167;
    font-size: 14px;
    line-height: 1.7;
}

/* CTA section */
.sc-cta {
    margin-top: 8px;
}

.sc-cta-inner {
    background: linear-gradient(135deg, #1d5c34 0%, #3b8743 100%);
    border-radius: 22px;
    padding: 32px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 14px 30px rgba(29, 92, 52, 0.18);
}

.sc-cta-text {
    max-width: 640px;
}

.sc-cta-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #f3ffe9;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.sc-cta-text h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.15;
    color: #fff;
}

.sc-cta-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.sc-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.sc-cta-btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.sc-cta-btn-primary {
    background: #ffffff;
    color: #1d5c34;
}

.sc-cta-btn-secondary {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
}

@media (max-width: 900px) {
    .sc-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .sc-cta-inner {
        padding: 24px 22px;
    }

    .sc-cta-text h2 {
        font-size: 28px;
    }
}

.sc-cta-btn-primary:hover {
    background: #f3f7f1;
    color: #1d5c34;
}

.sc-cta-btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

/* Hide extra products by default */
.sc-product-hidden {
    display: none;
}

/* Show when expanded */
.sc-product-hidden.sc-product-visible {
    display: block;
}

/* Make View All look clickable */
.sc-view-all-toggle {
    cursor: pointer;
}
.sc-view-all-toggle:hover {
    text-decoration: underline;
}

