/*
|--------------------------------------------------------------------------
| Edwumafie Service Detail Page
|--------------------------------------------------------------------------
*/

.edw-service-page {
    min-height: calc(100vh - 100px);

    padding: 40px 0 80px;

    background: var(--edw-cream);
}


/*
|--------------------------------------------------------------------------
| Back Link
|--------------------------------------------------------------------------
*/

.edw-service-back {
    margin-bottom: 22px;
}

.edw-service-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--edw-muted);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.edw-service-back a:hover {
    color: var(--edw-brown);
}


/*
|--------------------------------------------------------------------------
| Main Service Card
|--------------------------------------------------------------------------
*/

.edw-service-detail-card {
    padding: 30px;

    border:
        1px solid var(--edw-border);

    border-radius: 16px;

    background: var(--edw-white);

    box-shadow:
        0 10px 30px rgba(59, 33, 21, 0.055);
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.edw-service-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;
}

.edw-service-detail-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(212, 160, 23, 0.12);

    color: var(--edw-gold);

    font-size: 23px;
}

.edw-service-detail-status span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 800;
}

.edw-service-detail-status span > span {
    width: 7px;
    height: 7px;

    padding: 0;

    border-radius: 50%;
}

.edw-service-detail-status .available {
    background: #eaf7ed;
    color: #28733b;
}

.edw-service-detail-status .available > span {
    background: #3b9a52;
}

.edw-service-detail-status .unavailable {
    background: #f2eeee;
    color: #777;
}

.edw-service-detail-status .unavailable > span {
    background: #aaa;
}


/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/

.edw-service-detail-category {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--edw-gold);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}

.edw-service-detail-title {
    margin: 0 0 20px;

    color: var(--edw-brown);

    font-family:
        'Playfair Display',
        Georgia,
        serif;

    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.1;
}


/*
|--------------------------------------------------------------------------
| Price
|--------------------------------------------------------------------------
*/

.edw-service-detail-price {
    padding: 16px 18px;

    margin-bottom: 30px;

    border-radius: 10px;

    background:
        rgba(59, 33, 21, 0.045);
}

.edw-service-detail-price small {
    display: block;

    margin-bottom: 4px;

    color: var(--edw-muted);

    font-size: 11px;
}

.edw-service-detail-price strong {
    color: var(--edw-brown);

    font-size: 20px;
}


/*
|--------------------------------------------------------------------------
| Sections
|--------------------------------------------------------------------------
*/

.edw-service-detail-section {
    padding-top: 27px;

    margin-top: 27px;

    border-top:
        1px solid var(--edw-border);
}

.edw-service-detail-section h2 {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 15px;

    color: var(--edw-brown);

    font-family:
        'Playfair Display',
        Georgia,
        serif;

    font-size: 21px;
}

.edw-service-detail-section h2 i {
    color: var(--edw-gold);

    font-family:
        'Font Awesome 6 Free';
    font-size: 15px;
}

.edw-service-description {
    color: var(--edw-dark);

    font-size: 14px;
    line-height: 1.85;
}

.edw-service-muted {
    margin: 0;

    color: var(--edw-muted);

    font-size: 14px;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Location Box
|--------------------------------------------------------------------------
*/

.edw-service-location-box {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    padding: 16px;

    border-radius: 10px;

    background:
        rgba(59, 33, 21, 0.045);
}

.edw-service-location-box > i {
    margin-top: 3px;

    color: var(--edw-gold);
}

.edw-service-location-box strong {
    display: block;

    color: var(--edw-dark);

    font-size: 13px;
}

.edw-service-location-box span {
    display: block;

    margin-top: 4px;

    color: var(--edw-muted);

    font-size: 11px;
}


/*
|--------------------------------------------------------------------------
| Provider Card
|--------------------------------------------------------------------------
*/

.edw-provider-detail-card {
    padding: 28px;

    border:
        1px solid var(--edw-border);

    border-radius: 16px;

    background: var(--edw-white);

    box-shadow:
        0 10px 30px rgba(59, 33, 21, 0.055);
}

.edw-provider-detail-avatar {
    width: 82px;
    height: 82px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 50%;

    background:
        rgba(59, 33, 21, 0.08);

    color: var(--edw-brown);

    font-size: 28px;
}

.edw-provider-detail-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.edw-provider-detail-label {
    display: block;

    margin-bottom: 7px;

    color: var(--edw-gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.edw-provider-detail-card h2 {
    margin: 0 0 9px;

    color: var(--edw-brown);

    font-family:
        'Playfair Display',
        Georgia,
        serif;

    font-size: 25px;
}

.edw-provider-location {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    margin-bottom: 22px;

    color: var(--edw-muted);

    font-size: 12px;
    line-height: 1.5;
}

.edw-provider-location i {
    margin-top: 3px;

    color: var(--edw-gold);
}


/*
|--------------------------------------------------------------------------
| Provider Actions
|--------------------------------------------------------------------------
*/

.edw-provider-actions {
    display: grid;
    gap: 9px;

    margin-bottom: 20px;
}

.edw-provider-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 45px;

    padding: 10px 14px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.edw-provider-action:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.edw-call-action {
    background: var(--edw-brown);
    color: #fff;
}

.edw-call-action:hover {
    color: #fff;
}

.edw-whatsapp-action {
    background: #28733b;
    color: #fff;
}

.edw-whatsapp-action:hover {
    color: #fff;
}

.edw-email-action {
    background:
        rgba(212, 160, 23, 0.13);

    color: var(--edw-brown);
}

.edw-email-action:hover {
    color: var(--edw-brown);
}

.edw-provider-no-contact {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    padding: 12px;

    margin-bottom: 20px;

    border-radius: 8px;

    background:
        rgba(59, 33, 21, 0.045);

    color: var(--edw-muted);

    font-size: 11px;
    line-height: 1.5;
}

.edw-provider-no-contact i {
    margin-top: 2px;

    color: var(--edw-gold);
}


/*
|--------------------------------------------------------------------------
| Provider Information
|--------------------------------------------------------------------------
*/

.edw-provider-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 15px 0;

    border-top:
        1px solid var(--edw-border);
}

.edw-provider-info-row > i {
    width: 19px;

    margin-top: 3px;

    color: var(--edw-gold);

    text-align: center;
}

.edw-provider-info-row small {
    display: block;

    margin-bottom: 3px;

    color: var(--edw-muted);

    font-size: 10px;
}

.edw-provider-info-row strong {
    display: block;

    color: var(--edw-dark);

    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| Browse Link
|--------------------------------------------------------------------------
*/

.edw-provider-browse {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 18px;
    margin-top: 5px;

    border-top:
        1px solid var(--edw-border);

    color: var(--edw-brown);

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
}

.edw-provider-browse:hover {
    color: var(--edw-gold);
}


/*
|--------------------------------------------------------------------------
| Bottom CTA
|--------------------------------------------------------------------------
*/

.edw-service-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 25px 28px;

    margin-top: 30px;

    border-radius: 14px;

    background: var(--edw-brown);

    color: #fff;
}

.edw-service-bottom-cta span {
    display: block;

    margin-bottom: 4px;

    opacity: 0.75;

    font-size: 11px;
}

.edw-service-bottom-cta strong {
    display: block;

    font-family:
        'Playfair Display',
        Georgia,
        serif;

    font-size: 21px;
}


/*
|--------------------------------------------------------------------------
| Not Found
|--------------------------------------------------------------------------
*/

.edw-service-not-found {
    max-width: 650px;

    padding: 70px 25px;

    margin: 50px auto;

    border:
        1px solid var(--edw-border);

    border-radius: 16px;

    background: var(--edw-white);

    text-align: center;
}

.edw-service-not-found-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background:
        rgba(212, 160, 23, 0.12);

    color: var(--edw-gold);

    font-size: 25px;
}

.edw-service-not-found h1 {
    margin: 0 0 10px;

    color: var(--edw-brown);

    font-family:
        'Playfair Display',
        Georgia,
        serif;

    font-size: 30px;
}

.edw-service-not-found p {
    max-width: 500px;

    margin: 0 auto 25px;

    color: var(--edw-muted);

    font-size: 14px;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767.98px) {

    .edw-service-page {
        padding: 28px 0 55px;
    }

    .edw-service-detail-card {
        padding: 22px;
    }

    .edw-provider-detail-card {
        padding: 22px;
    }

    .edw-service-detail-title {
        font-size: 34px;
    }

    .edw-service-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .edw-service-bottom-cta .edw-btn-primary {
        width: 100%;

        justify-content: center;
    }

}
/* ==========================================================================
   SERVICE REVIEWS
   ========================================================================== */

.edw-service-reviews {
    margin-top: 30px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(90, 53, 31, 0.10);
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(55, 36, 20, 0.05);
}

.edw-service-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.edw-service-reviews-header h2 {
    margin: 0;
    color: #3f2617;
    font-size: 1.7rem;
    font-weight: 800;
}

.edw-service-reviews-header p {
    margin: 5px 0 0;
    color: #75685e;
    font-size: 0.9rem;
}

.edw-service-rating-summary {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    padding: 22px;
    margin-bottom: 25px;
    border-radius: 16px;
    background: #faf7f1;
    border: 1px solid #eee4d5;
}

.edw-service-rating-score {
    text-align: center;
}

.edw-service-rating-score > strong {
    display: block;
    color: #3f2617;
    font-size: 2.7rem;
    line-height: 1;
    font-weight: 850;
}

.edw-service-rating-score > span {
    display: block;
    margin-top: 5px;
    color: #81746a;
    font-size: 0.8rem;
}

.edw-review-stars {
    display: inline-flex;
    gap: 3px;
}

.edw-service-rating-score .edw-review-stars {
    margin-top: 10px;
}

.edw-review-stars .filled {
    color: #d39a2c;
}

.edw-review-stars .empty {
    color: #d9d1c8;
}

.edw-rating-row {
    display: grid;
    grid-template-columns: 35px 1fr 30px;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
}

.edw-rating-row > span {
    color: #66574b;
    font-size: 0.78rem;
    font-weight: 700;
}

.edw-rating-row > span i {
    color: #d39a2c;
    font-size: 0.7rem;
}

.edw-rating-row small {
    color: #81746a;
    text-align: right;
}

.edw-rating-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9e1d7;
}

.edw-rating-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #c28a2b;
}

.edw-service-review-list {
    display: grid;
    gap: 16px;
}

.edw-service-review-card {
    padding: 19px;
    border: 1px solid #eee6dc;
    border-radius: 16px;
}

.edw-service-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.edw-service-review-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.edw-service-review-avatar {
    width: 43px;
    height: 43px;
    min-width: 43px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #5a351f;
    color: #f5e5bc;
}

.edw-service-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edw-service-review-user strong {
    display: block;
    color: #3f2617;
    font-size: 0.9rem;
}

.edw-service-review-user span {
    display: block;
    margin-top: 2px;
    color: #918276;
    font-size: 0.75rem;
}

.edw-service-review-service {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 14px;
    color: #82756a;
    font-size: 0.78rem;
}

.edw-service-review-service i {
    margin-right: 2px;
    color: #9a651d;
}

.edw-service-review-service strong {
    color: #5a351f;
}

.edw-service-review-text {
    margin: 14px 0 0;
    color: #5f5147;
    font-size: 0.9rem;
    line-height: 1.7;
}

.edw-review-no-text {
    color: #97897d;
    font-style: italic;
}

.edw-service-reviews-empty {
    padding: 40px 20px;
    text-align: center;
    border: 1px dashed #d9cfc2;
    border-radius: 16px;
}

.edw-service-reviews-empty > div {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #f5e5bc;
    color: #9a651d;
    font-size: 21px;
}

.edw-service-reviews-empty h3 {
    margin: 0;
    color: #3f2617;
    font-size: 1.1rem;
}

.edw-service-reviews-empty p {
    margin: 6px auto 0;
    max-width: 450px;
    color: #81746a;
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {

    .edw-service-reviews {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .edw-service-reviews-header {
        align-items: stretch;
        flex-direction: column;
    }

    .edw-service-reviews-header .edw-review-find-button {
        width: 100%;
    }

    .edw-service-rating-summary {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .edw-service-rating-score {
        text-align: left;
    }

    .edw-service-review-top {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   PROVIDER CONTACT INFORMATION
========================================================= */

.edw-provider-contact {
    width: 100%;
    margin: 22px 0;
    padding: 20px;
    background: #fffdf8;
    border: 1px solid #e9dfcf;
    border-radius: 14px;
    box-sizing: border-box;
}

.edw-provider-contact-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #24150d;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
}

.edw-provider-contact-heading i {
    color: #1d5c3a;
    flex-shrink: 0;
}

.edw-provider-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.edw-provider-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid #eee6da;
    border-radius: 10px;
    box-sizing: border-box;
}

.edw-provider-contact-icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1rem;
}

.edw-contact-phone-icon {
    color: #1d5c3a;
    background: #e8f3eb;
}

.edw-contact-email-icon {
    color: #9a6b08;
    background: #fff2d1;
}

.edw-provider-contact-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.edw-provider-contact-details small {
    color: #74685e;
    font-size: 0.78rem;
    font-weight: 600;
}

.edw-provider-contact-value {
    display: block;
    max-width: 100%;
    color: #24150d;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-decoration: none;
}

.edw-provider-contact-value:hover {
    color: #1d5c3a;
    text-decoration: underline;
}

.edw-provider-contact-unavailable {
    color: #8a8179;
    font-size: 0.9rem;
    font-style: italic;
}

.edw-provider-contact-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0 0;
    color: #74685e;
    font-size: 0.82rem;
    line-height: 1.6;
}

.edw-provider-contact-note i {
    margin-top: 4px;
    color: #9a6b08;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .edw-provider-contact {
        padding: 15px;
    }

    .edw-provider-contact-item {
        padding: 12px;
        gap: 10px;
    }

    .edw-provider-contact-value {
        font-size: 0.85rem;
    }
}