.services-layout .spPage {
    position: relative;
    z-index: 2;
    margin-top: -150px;
    padding: 0 24px 48px;
}

.services-layout .spBox {
    max-width: 1280px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(30, 43, 56, 0.08);
    padding: 34px 32px 20px;
}

.services-layout .spHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.services-layout .spHead h1 {
    margin: 0;
    font-family: "GellixBold";
    font-weight: normal;
    font-synthesis: none;
    font-size: 36px;
    line-height: 1.15;
    color: #1e2b38;
}

.services-layout .spCrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "GellixRegular";
    font-size: 15px;
    color: #8b95a1;
}

.services-layout .spCrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-layout .spCrumb li + li::before {
    content: "/";
    color: #b0b6be;
}

.services-layout .spCrumb a {
    color: #8b95a1;
    text-decoration: none;
}

.services-layout .spFilters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.services-layout .spDrop,
.services-layout .spSearch {
    height: 44px;
    border: 1px solid #e6e8eb;
    border-radius: 5px;
    background: #fff;
    color: #444d57;
    font-family: "GellixRegular";
    font-size: 15px;
}

.services-layout .spDrop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    cursor: pointer;
    white-space: nowrap;
}

.services-layout .spDrop::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 6px;
    border-right: 1.5px solid #667085;
    border-bottom: 1.5px solid #667085;
    transform: rotate(45deg) translateY(-2px);
}

.services-layout .spDropLoc img {
    width: 9px;
    height: 14px;
}

.services-layout .spSearch {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #98a2b3;
    margin: 0;
}

.services-layout .spSearch input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: "GellixRegular";
    font-size: 15px;
    color: #1e2b38;
    padding: 0;
    height: 42px;
}

.services-layout .spSearch input::placeholder {
    color: #98a2b3;
    opacity: 1;
}

.services-layout .spBody {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.services-layout .spList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
    height: 100%;
    overflow-y: auto;
    padding-right: 14px;
}

.services-layout .spList::-webkit-scrollbar {
    width: 6px;
}

.services-layout .spList::-webkit-scrollbar-track {
    background: #f2f4f7;
    border-radius: 8px;
}

.services-layout .spList::-webkit-scrollbar-thumb {
    background: #d0d5dd;
    border-radius: 8px;
}

.services-layout .spCard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: left;
    background: #f7f8f8;
    border: 1.5px solid transparent;
    border-radius: 5px;
    padding: 22px 16px 20px;
    cursor: pointer;
}

.services-layout .spCard[hidden] {
    display: none;
}

.services-layout .spCard.is-on {
    border-color: #ec671e;
    background: #fff;
}

.services-layout .spWho {
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-layout .spAvatar {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
}

.services-layout .spAvatar > img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.services-layout .spBadge {
    position: absolute;
    right: -4px;
    bottom: -2px;
    width: 18px;
    height: 18px;
    line-height: 0;
}

.services-layout .spBadge img {
    width: 18px;
    height: 18px;
    border-radius: 0;
    object-fit: contain;
}

.services-layout .spBadge:hover::after {
    content: "Verified Provider";
    position: absolute;
    left: 12px;
    top: 16px;
    background: #fff;
    color: #1e2b38;
    font-family: "GellixRegular";
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(30, 43, 56, 0.14);
    z-index: 3;
}

.services-layout .spWhoText {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.services-layout .spWhoText strong {
    font-family: "GellixSemiBold";
    font-weight: 400;
    font-synthesis: none;
    font-size: 16px;
    color: #1e2b38;
}

.services-layout .spWhoText span {
    font-family: "GellixRegular";
    font-size: 13px;
    color: #667085;
}

.services-layout .spMeta {
    display: flex;
    gap: 8px;
}

.services-layout .spMeta span {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 8px;
    background: #f7f8f8;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    font-family: "GellixRegular";
    font-size: 13px;
    color: #344054;
    white-space: nowrap;
}

.services-layout .spCard.is-on .spMeta span {
    background: #fff;
}

.services-layout .spDetail {
    min-width: 0;
}

.services-layout .spHero {
    width: 100%;
    height: 176px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    margin-bottom: 10px;
}

.services-layout .spDetail h2 {
    margin: 0 0 4px;
    font-family: "GellixSemiBold";
    font-weight: 400;
    font-synthesis: none;
    font-size: 22px;
    color: #1e2b38;
}

.services-layout .spProvider {
    margin: 0 0 8px;
    font-family: "GellixRegular";
    font-size: 15px;
    color: #667085;
}

.services-layout .spRate {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-family: "GellixSemiBold";
    font-weight: 400;
    font-synthesis: none;
    font-size: 15px;
    color: #1e2b38;
}

.services-layout .spStars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.services-layout .spStars img {
    width: 16px;
    height: 16px;
}

.services-layout .spFrom {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 0 0 12px;
    font-family: "GellixRegular";
    font-size: 16px;
    color: #667085;
}

.services-layout .spFrom sup {
    position: relative;
    top: 1px;
    font-size: 10px;
    line-height: 1;
    color: #ec671e;
    font-family: "GellixSemiBold";
    vertical-align: baseline;
}

.services-layout .spFrom strong {
    font-family: "GellixSemiBold";
    font-weight: 400;
    font-synthesis: none;
    font-size: 22px;
    line-height: 1;
    color: #1e2b38;
}

.services-layout .spFrom span {
    font-size: 16px;
    line-height: 1.2;
    color: #1e2b38;
}

.services-layout .spActions {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.services-layout .spBook,
.services-layout .spAbout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 5px;
    font-family: "GellixSemiBold";
    font-weight: 400;
    font-synthesis: none;
    font-size: 15px;
    text-decoration: none;
}

.services-layout .spBook {
    background: #1e2b38;
    color: #fff;
}

.services-layout .spAbout {
    gap: 8px;
    border: 1.5px solid #ec671e;
    color: #ec671e;
    background: #fff;
}

.services-layout .spAbout img {
    width: 14px;
    height: 14px;
}

.services-layout .spDetail h3 {
    margin: 0 0 8px;
    font-family: "GellixSemiBold";
    font-weight: 400;
    font-synthesis: none;
    font-size: 18px;
    color: #1e2b38;
}

.services-layout .spTerms {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-layout .spTerms li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    font-family: "GellixRegular";
    font-size: 14px;
    color: #667085;
}

.services-layout .spTerms li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 7px;
    border: 1.5px solid #98a2b3;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .services-layout .spPage {
        margin-top: -80px;
    }

    .services-layout .spHead {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-layout .spFilters {
        flex-wrap: wrap;
    }

    .services-layout .spSearch {
        flex: 1 1 100%;
    }

    .services-layout .spBody,
    .services-layout .spList {
        grid-template-columns: 1fr;
    }

    .services-layout .spList {
        max-height: none;
        padding-right: 0;
    }
}
