/* =================================================================
 * SEO & Enhancement Styles — Shaarvi Biotech
 * Append to end of style.css
 * ================================================================= */

/* --- Search Overlay --- */
.header-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sb-green);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.header-search-toggle:hover {
    color: var(--sb-gold);
}
.header-search-toggle svg {
    width: 20px;
    height: 20px;
}

.sb-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sb-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sb-search-inner {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.sb-search-overlay.active .sb-search-inner {
    transform: translateY(0);
}

.sb-search-form {
    display: flex;
    gap: 8px;
}
.sb-search-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--sb-font-body);
    transition: border-color 0.3s ease;
}
.sb-search-input:focus {
    outline: none;
    border-color: var(--sb-green);
}
.sb-search-submit {
    padding: 14px 24px;
    background: var(--sb-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--sb-font-body);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s ease;
}
.sb-search-submit:hover {
    background: var(--sb-green-dark, #1b5e20);
}
.sb-search-submit svg {
    width: 16px;
    height: 16px;
}
.sb-search-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 4px;
}
.sb-search-close:hover {
    color: #333;
}

/* --- Breadcrumbs (Product Page) --- */
.sb-breadcrumbs {
    padding: 12px 0;
    font-size: 0.85rem;
    color: var(--sb-text-light, #777);
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}
.sb-breadcrumbs a {
    color: var(--sb-green);
    text-decoration: none;
}
.sb-breadcrumbs a:hover {
    text-decoration: underline;
}
.sb-breadcrumbs .sep {
    margin: 0 6px;
    color: #ccc;
}
.sb-breadcrumbs .current {
    color: var(--sb-text, #333);
    font-weight: 500;
}

/* --- Category SEO Description --- */
.category-seo-description {
    padding: 20px 0 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--sb-text-light, #666);
    max-width: 800px;
}

/* --- Trust Badges Section (Homepage) --- */
.sb-trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
    text-align: center;
}
.sb-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 140px;
}
.sb-trust-badge-icon {
    width: 56px;
    height: 56px;
    background: var(--sb-green-pale, #e8f5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-green);
}
.sb-trust-badge-icon svg {
    width: 24px;
    height: 24px;
}
.sb-trust-badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sb-text, #333);
    line-height: 1.3;
}

/* --- Testimonials Section --- */
.sb-testimonials {
    padding: 80px 0;
    background: var(--sb-green-pale, #f1f8e9);
}
.sb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.sb-testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
}
.sb-testimonial-stars {
    color: var(--sb-gold);
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.sb-testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--sb-text, #333);
    font-style: italic;
    margin-bottom: 16px;
}
.sb-testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sb-green);
}
.sb-testimonial-product {
    font-size: 0.8rem;
    color: var(--sb-text-light, #777);
}

/* --- WhatsApp Button --- */
.sb-whatsapp-enquiry .btn {
    border-color: #25D366;
    color: #25D366;
}
.sb-whatsapp-enquiry .btn:hover {
    background: #25D366;
    color: #fff;
}

/* --- Related Categories --- */
.sb-related-categories .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .sb-search-inner {
        padding: 20px;
        margin: 0 16px;
    }
    .sb-search-form {
        flex-direction: column;
    }
    .sb-search-submit {
        justify-content: center;
    }
    .sb-trust-badges {
        gap: 20px;
    }
    .sb-testimonials-grid {
        grid-template-columns: 1fr;
    }
    .sb-breadcrumbs {
        font-size: 0.8rem;
    }
    .header-search-toggle svg {
        width: 18px;
        height: 18px;
    }
}
