/* Template 8 ONLY — HTML Sitemap redesign */
body.al_body_template_eight .nest-sitemap-page {
    background: linear-gradient(180deg, #f6faf8 0%, #ffffff 42%) !important;
    padding: 0 0 60px !important;
    margin: 0 !important;
    overflow: visible !important;
}

body.al_body_template_eight .nest-sitemap-page .breadcrumb-section {
    display: none !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-wrapper {
    padding: 12px 0 0 !important;
    background: transparent !important;
    font-family: inherit !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-main-title {
    display: none !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-links-section {
    background: #fff !important;
    border: 1px solid #e6ece9 !important;
    border-radius: 20px !important;
    padding: 8px 22px 18px !important;
    margin-bottom: 28px !important;
    box-shadow:
        0 2px 4px rgba(37, 61, 78, 0.03),
        0 12px 32px rgba(37, 61, 78, 0.08) !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-link-row {
    border-bottom: 1px solid #eaf1ed !important;
    padding: 13px 4px !important;
    font-size: 15px !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-link-row:last-of-type {
    border-bottom: 0 !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-link-row a {
    color: #1f3344 !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-link-row a::before {
    content: ">" !important;
    color: var(--theme-deafult) !important;
    font-weight: 800 !important;
    font-size: 13px !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-link-row a:hover {
    color: var(--theme-deafult) !important;
    transform: translateX(3px) !important;
}

body.al_body_template_eight .nest-sitemap-page .indented-row {
    padding-left: 28px !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-products-heading,
body.al_body_template_eight .nest-sitemap-page .ratings-header-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #1f3344 !important;
    letter-spacing: -0.01em !important;
    padding: 18px 4px 6px !important;
    margin: 0 !important;
    border: 0 !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-links-section .sitemap-products-heading {
    margin-top: 8px !important;
    padding-top: 18px !important;
    border-top: 1px solid #eaf1ed !important;
}

body.al_body_template_eight .nest-sitemap-page .category-block,
body.al_body_template_eight .nest-sitemap-page .sitemap-blogs-section,
body.al_body_template_eight .nest-sitemap-page .sitemap-ratings-reviews-section {
    background: #fff !important;
    border: 1px solid #e6ece9 !important;
    border-radius: 20px !important;
    padding: 20px 22px 22px !important;
    margin-bottom: 24px !important;
    box-shadow:
        0 2px 4px rgba(37, 61, 78, 0.03),
        0 10px 28px rgba(37, 61, 78, 0.07) !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-category-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1f3344 !important;
    margin: 0 0 16px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #eaf1ed !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
    margin-bottom: 8px !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-product-card {
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    border: 1px solid #e6ece9 !important;
    border-radius: 14px !important;
    padding: 12px !important;
    height: 100% !important;
    box-shadow: 0 4px 12px rgba(37, 61, 78, 0.04) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-product-card:hover {
    transform: translateY(-6px) !important;
    border-color: #b6e4c8 !important;
    box-shadow:
        0 8px 16px rgba(59, 183, 126, 0.08),
        0 16px 28px rgba(37, 61, 78, 0.1) !important;
}

body.al_body_template_eight .nest-sitemap-page .card-image-wrapper {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    background: #f4faf7 !important;
    border: 1px solid #d7efe2 !important;
    border-radius: 12px !important;
    margin-right: 12px !important;
    padding: 6px !important;
}

body.al_body_template_eight .nest-sitemap-page .product-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1f3344 !important;
    margin-bottom: 6px !important;
}

body.al_body_template_eight .nest-sitemap-page .product-price {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--theme-deafult) !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-btn-view-more {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(180deg, #e8fbf1 0%, #def9ec 100%) !important;
    color: var(--theme-deafult) !important;
    border: 1px solid #bfe9d2 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    margin-top: 8px !important;
    box-shadow: 0 4px 10px rgba(59, 183, 126, 0.12) !important;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
}

body.al_body_template_eight .nest-sitemap-page .sitemap-btn-view-more:hover {
    background: linear-gradient(180deg, #47c989 0%, #3BB77E 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 20px rgba(59, 183, 126, 0.35) !important;
    transform: translateY(-1px) !important;
}

body.al_body_template_eight .nest-sitemap-page .ratings-summary-container {
    background: #f7fbf9 !important;
    border: 1px solid #eaf1ed !important;
    border-radius: 16px !important;
    padding: 28px 18px !important;
    margin: 12px 0 8px !important;
}

body.al_body_template_eight .nest-sitemap-page .average-rating-num {
    color: #1f3344 !important;
}

body.al_body_template_eight .nest-sitemap-page .progress-bar {
    background-color: var(--theme-deafult) !important;
}

body.al_body_template_eight .nest-sitemap-page .review-feedback-card {
    background: #fff !important;
    border: 1px solid #e6ece9 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    box-shadow: 0 6px 16px rgba(37, 61, 78, 0.05) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

body.al_body_template_eight .nest-sitemap-page .review-feedback-card:hover {
    transform: translateY(-4px) !important;
    border-color: #b6e4c8 !important;
    box-shadow: 0 12px 24px rgba(37, 61, 78, 0.1) !important;
}

body.al_body_template_eight .nest-sitemap-page .avatar-circle-wrapper {
    background: #eef8f2 !important;
    color: var(--theme-deafult) !important;
    border: 1px solid #d7efe2 !important;
}

body.al_body_template_eight .nest-sitemap-page .author-name-text {
    color: #1f3344 !important;
    font-weight: 800 !important;
}

@media (max-width: 991px) {
    body.al_body_template_eight .nest-sitemap-page .sitemap-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    body.al_body_template_eight .nest-sitemap-page .category-block,
    body.al_body_template_eight .nest-sitemap-page .sitemap-blogs-section,
    body.al_body_template_eight .nest-sitemap-page .sitemap-ratings-reviews-section,
    body.al_body_template_eight .nest-sitemap-page .sitemap-links-section {
        border-radius: 16px !important;
        padding: 16px 16px 18px !important;
    }
}

@media (max-width: 767px) {
    body.al_body_template_eight .nest-sitemap-page .sitemap-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 479px) {
    body.al_body_template_eight .nest-sitemap-page .sitemap-products-grid {
        grid-template-columns: 1fr !important;
    }

    body.al_body_template_eight .nest-sitemap-page {
        padding-bottom: 36px !important;
    }
}
