/**
 * File: single-product-related.css
 * Location: assets/css/single-product-related.css
 * PHP View: includes/frontend/views/single-product-related.php
 * Purpose: Styles the "Related Products" section at the bottom of the 
 * single product page. Ensures professional spacing, typography, and 
 * alignment for the author's portfolio showcase.
 */

/* 🚀 1. SECTION WRAPPER */
.daf-related-products-section {
    margin-top: 60px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e1e4e8 !important;
}

/* 🚀 2. SECTION HEADER (Title + View All Link) */
.daf-related-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 30px !important;
}

.daf-related-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    letter-spacing: -0.5px;
}

.daf-view-all-link {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2271b1 !important;
    text-decoration: none !important;
    border: 1.5px solid #2271b1 !important;
    padding: 8px 16px !important;
    transition: all 0.2s ease !important;
}

.daf-view-all-link:hover {
    background-color: #2271b1 !important;
    color: #ffffff !important;
}

/* 🚀 3. GRID OVERRIDE (For Related Section) */
/* Hum wahi elite-grid reuse kar rahe hain jo shop page par hai */
.daf-related-products-section .daf-elite-grid {
    margin-bottom: 40px !important;
}

/* 🚀 4. RESPONSIVE TUNING */
@media (max-width: 768px) {
    .daf-related-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .daf-related-title {
        font-size: 20px !important;
    }
    
    .daf-related-products-section {
        margin-top: 40px !important;
    }
}