/* SEO Components - Hidden for users, visible for search engines */

/* Hide all SEO-related sections from user view */
.related-products,
.category-products,
.brand-products,
.popular-categories,
.category-navigation,
.brand-navigation {
    display: none !important;
}

/* Alternative approach - make them very small and positioned off-screen */
.seo-internal-links {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Hide any SEO-specific product cards */
.seo-product-card {
    display: none !important;
}

/* Ensure structured data is not visible */
[type="application/ld+json"] {
    display: none !important;
}

/* SEO-friendly hidden text for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* SEO breadcrumbs - visible but styled appropriately */
.seo-breadcrumbs {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.seo-breadcrumbs a {
    color: #0066cc;
    text-decoration: none;
}

.seo-breadcrumbs a:hover {
    text-decoration: underline;
}

/* SEO category navigation */
.seo-category-nav {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.seo-category-nav h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.seo-category-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-category-nav li {
    margin: 0;
}

.seo-category-nav a {
    display: inline-block;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.seo-category-nav a:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* SEO product recommendations */
.seo-product-recommendations {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.seo-product-recommendations h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.seo-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.seo-product-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.seo-product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
}

.seo-product-item h4 {
    font-size: 14px;
    margin: 10px 0 5px 0;
    color: #333;
}

.seo-product-item .price {
    font-weight: bold;
    color: #0066cc;
    font-size: 16px;
}

/* SEO FAQ section */
.seo-faq {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.seo-faq h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.seo-faq-item {
    margin-bottom: 15px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.seo-faq-question {
    background: #0066cc;
    color: #fff;
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.seo-faq-question:hover {
    background: #0052a3;
}

.seo-faq-answer {
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    background: #fff;
}

/* SEO internal linking */
.seo-internal-links-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.seo-internal-links-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.seo-internal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.seo-internal-link-group {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.seo-internal-link-group h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 5px;
}

.seo-internal-link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-internal-link-group li {
    margin-bottom: 8px;
}

.seo-internal-link-group a {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.seo-internal-link-group a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Responsive design for SEO components */
@media (max-width: 768px) {
    .seo-category-nav ul {
        flex-direction: column;
    }
    
    .seo-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .seo-internal-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles for SEO components */
@media print {
    .seo-category-nav,
    .seo-product-recommendations,
    .seo-faq,
    .seo-internal-links-section {
        display: block !important;
        page-break-inside: avoid;
    }
}

