/**
 * File: single-product-header.css
 * Location: assets/css/single-product-header.css
 * Purpose: Styles the premium header of the single product page. 
 * Updated: Tightened spacing and refined typography to match Envato elite design.
 */

/* 🚀 1. HEADER CONTAINER (Inner alignment) */
.daf-header-container {
    padding: 10px 0 !important;
}

/* 🚀 2. BREADCRUMBS (Very subtle, top-aligned) */
.daf-breadcrumbs {
    font-size: 12px !important;
    color: #777 !important;
    margin-bottom: 12px !important;
    font-weight: 400 !important;
    text-transform: capitalize;
}

.daf-breadcrumbs a {
    color: #2271b1 !important;
    text-decoration: none !important;
}

.daf-breadcrumbs a:hover {
    text-decoration: underline !important;
}

.daf-breadcrumbs .daf-sep {
    margin: 0 5px !important;
    color: #ccc !important;
}

/* 🚀 3. MAIN TITLE (Elite Bold Typography) */
.daf-main-product-title {
    font-size: 32px !important; /* Adjusted for elite look */
    font-weight: 700 !important;
    color: #333333 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.5px !important;
}

/* 🚀 4. ELITE META ROW (Inline Harmony) */
.daf-header-meta-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    border-top: none !important; /* Removing inner borders */
}

/* Left Side: Author & Category Links */
.daf-meta-left {
    font-size: 14px !important;
    color: #666 !important;
    display: flex !important;
    align-items: center !important;
}

.daf-meta-label {
    margin-right: 4px !important;
}

.daf-meta-author {
    color: #2271b1 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.daf-meta-divider {
    margin: 0 12px !important;
    color: #ddd !important;
    font-size: 18px !important;
    font-weight: 200 !important;
}

.daf-meta-cat {
    color: #2271b1 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

/* Right Side: Ratings & Sales Stats */
.daf-meta-right {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

.daf-header-rating {
    display: flex !important;
    align-items: center !important;
    color: #ffb400 !important; /* Standard Gold */
}

.daf-header-rating .dashicons {
    font-size: 15px !important;
    width: 15px !important;
    height: 15px !important;
    margin-right: 1px !important;
}

.daf-rating-count {
    margin-left: 6px !important;
    color: #888 !important;
    font-weight: 400 !important;
    font-size: 13px !important;
}

.daf-header-sales {
    display: flex !important;
    align-items: center !important;
    color: #555 !important;
    font-size: 13px !important;
    background: #f1f1f1 !important; /* Subtle background for sales */
    padding: 3px 10px !important;
    border-radius: 2px !important;
}

.daf-header-sales .dashicons {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    margin-right: 5px !important;
    color: #888 !important;
}

.daf-sales-count {
    font-weight: 700 !important;
    color: #333 !important;
}

/* 🚀 5. RESPONSIVE ADJUSTMENTS */
@media (max-width: 900px) {
    .daf-header-meta-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .daf-meta-divider {
        display: none !important;
    }
    .daf-main-product-title {
        font-size: 26px !important;
    }
}