/* Service category page — Service-on-Wheel style: utility bar, nav, breadcrumb, 60/40 hero, carousel, detail */

html:has(.service-detail-page) {
    scroll-behavior: smooth;
}

.service-detail-page {
    background: #fff;
    min-height: 60vh;
    padding-bottom: 88px;
    /* sticky: nav + estimated picker strip height (title + cards) taake sidebar picker ke niche chipke merge na lage */
    --service-nav-sticky-h: 77px;
    --service-picker-sticky-h: 212px;
}

/* — SOW utility bar (teal) — */
.sow-utility-bar {
    background: var(--button, #0f766e);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.sow-utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 7px 0;
}

.sow-utility-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none;
}

.sow-utility-app:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sow-utility-app-icon {
    display: grid;
    place-items: center;
    color: #fff;
}

.sow-utility-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 22px;
    line-height: 1.35;
}

.sow-utility-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
}

.sow-utility-contact__link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .sow-utility-contact {
        justify-content: flex-start;
        width: 100%;
        font-size: 12px;
    }
}

/* — Navbar tweaks (SOW) — */
.main-nav--sow .nav-inner {
    height: 76px;
}

.nav-links--sow {
    gap: 22px;
}

.sow-nav-partner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sow-nav-chevron {
    display: inline-flex;
    color: #64748b;
}

.sow-nav-chevron svg {
    display: block;
}

.sow-btn-call-round {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--button, #0d9488) 92%, #0f172a) !important;
    color: #fff !important;
    text-decoration: none;
    box-sizing: border-box;
}

.sow-btn-call-round:hover {
    filter: brightness(1.06);
}

/* — Breadcrumb — */
.service-detail-breadcrumbs {
    padding: 18px 0 8px;
    font-size: 13px;
    color: #6b7280;
}

.service-detail-breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.service-detail-breadcrumbs a:hover {
    color: var(--button);
    text-decoration: underline;
}

.bc-sep {
    margin: 0 8px;
    opacity: 0.55;
}

/* — Hero row (≈60/40) — */
.service-detail-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 28px 40px;
    align-items: start;
    padding: 12px 0 36px;
}

@media (max-width: 900px) {
    .service-detail-hero-row {
        grid-template-columns: 1fr;
    }
}

.service-detail-title {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
}

.service-detail-rating {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-detail-star {
    color: var(--button);
    font-size: 18px;
    line-height: 1;
}

.service-detail-bodycopy p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
    text-align: justify;
}

.service-detail-weprovide {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

.service-detail-weprovide strong {
    color: #111827;
    font-weight: 800;
}

.service-detail-hero-cta {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
}

.service-detail-hero-media {
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 44px rgba(17, 24, 39, 0.08);
    min-height: 260px;
}

.service-detail-hero-img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 260px;
    max-height: min(48vh, 400px);
    object-fit: cover;
}

.service-detail-hero-fallback {
    padding: 28px 20px 36px;
    display: grid;
    place-items: center;
}

.service-detail-ac-art {
    width: min(100%, 380px);
    height: auto;
    display: block;
}

/* — Floating Chat / Help — */
.service-float {
    position: fixed;
    z-index: 60;
    font-family: 'Barlow', sans-serif;
}

.service-float--chat {
    left: max(16px, calc((100vw - 1180px) / 2 + 8px));
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    border-radius: 10px;
    background: #16a34a;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
}

.service-float--chat:hover {
    filter: brightness(1.05);
}

.service-float--chat-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.service-float--help {
    right: max(16px, calc((100vw - 1180px) / 2 + 8px));
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 0;
    background: #1f2937;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.service-float--help:hover {
    background: #111827;
}

@media (max-width: 600px) {
    .service-float--chat {
        left: 12px;
        bottom: 16px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .service-float--help {
        right: 12px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}

/* — Sticky service-type strip (navbar ke neeche chipka; neeche panel/scroll) — */
.service-detail-picker-sticky {
    position: sticky;
    top: var(--service-nav-sticky-h, 77px);
    z-index: 38;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

@media (max-width: 640px) {
    .service-detail-page {
        --service-nav-sticky-h: 73px;
        --service-picker-sticky-h: 220px;
    }

    .service-detail-picker-sticky {
        top: var(--service-nav-sticky-h);
    }
}

/* — Sub-service carousel (bordered cards + grey label strip) — */
.service-detail-picker {
    padding: 6px 0 4px;
}

.service-detail-picker-title {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.service-detail-picker-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.service-detail-picker-shell .service-detail-picker-nav {
    position: static;
    transform: none;
    flex-shrink: 0;
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.service-detail-picker-shell .service-detail-picker-nav:hover {
    background: #e2e8f0;
}

.service-detail-card-row {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 4px 14px;
}

.service-detail-card-row::-webkit-scrollbar {
    display: none;
}

.service-detail-card-tab {
    flex: 0 0 auto;
    width: 118px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin: 0;
    border: 2px solid #0f172a;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    font: inherit;
    text-align: center;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.service-detail-card-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.service-detail-card-tab:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--button) 55%, transparent);
    outline-offset: 2px;
}

.service-detail-card-tab.is-active {
    border-color: var(--button);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--button) 35%, transparent), 0 12px 28px rgba(15, 23, 42, 0.12);
}

.service-detail-card-tab__visual {
    min-height: 88px;
    display: grid;
    place-items: center;
    background: #fff;
    padding: 10px 8px;
}

.service-detail-card-tab__visual img {
    width: 100%;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
}

.service-detail-card-tab__mono {
    font-size: 22px;
    font-weight: 800;
    color: var(--button);
    letter-spacing: -0.02em;
}

.service-detail-card-tab__label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px 9px;
    background: #d1d5db;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    min-height: 2.7em;
    text-align: center;
}

.service-detail-empty {
    padding: 48px 0;
    text-align: center;
    color: #4b5563;
}

.service-detail-empty .btn {
    display: inline-block;
    margin-top: 16px;
    text-decoration: none;
}

/* — Detail grid — */
.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px 32px;
    align-items: start;
    padding: 20px 0 64px;
    border-top: 0;
    margin-top: 0;
}

@media (max-width: 960px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-aside {
        order: -1;
    }
}

/* Har service ka block: heading + neeche saari types — ek saath scroll */
.service-detail-service-block {
    scroll-margin-top: calc(var(--service-nav-sticky-h, 77px) + var(--service-picker-sticky-h, 212px) + 12px);
    margin-bottom: 40px;
}

.service-detail-service-block:last-of-type {
    margin-bottom: 8px;
}

.service-detail-panel-head {
    margin-bottom: 18px;
}

.service-detail-panel-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.service-detail-panel-sub {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

.service-line-list {
    border: 2px solid #0f172a;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.service-line-row {
    display: grid;
    grid-template-columns: 88px 1fr minmax(148px, auto);
    gap: 14px 16px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.service-line-row:last-child {
    border-bottom: 0;
}

@media (max-width: 560px) {
    .service-line-row {
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-areas:
            "thumb body"
            "actions actions";
        align-items: start;
    }

    .service-line-actions {
        grid-area: actions;
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: flex-end;
        margin-top: 4px;
        width: 100%;
    }

    .service-line-thumb {
        grid-area: thumb;
        width: 88px;
        height: 72px;
    }

    .service-line-body {
        grid-area: body;
        min-width: 0;
        padding-top: 2px;
    }

    .btn-add-cart {
        width: min(210px, 100%);
    }

    .cart-stepper:not([hidden]) {
        margin-left: auto;
    }
}

.service-line-thumb {
    width: 88px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: grid;
    place-items: center;
}

.service-line-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-line-fallback {
    font-weight: 800;
    font-size: 14px;
    color: var(--button);
}

.service-line-body {
    min-width: 0;
}

.service-line-name {
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    line-height: 1.25;
    word-break: break-word;
}

.service-line-price {
    font-weight: 700;
    font-size: 16px;
    color: #0e7490;
    margin-top: 4px;
}

/* Empty packages (no service types) */
.service-detail-empty-packages {
    padding: 28px 22px 32px;
    text-align: center;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.service-detail-empty-packages__icon {
    color: var(--button);
    margin: 0 auto 12px;
    display: flex;
    justify-content: center;
}

.service-detail-empty-packages__title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.service-detail-empty-packages__text {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.service-detail-empty-packages__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.service-detail-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    border: 2px solid var(--button);
    color: var(--button) !important;
    background: #fff;
    text-decoration: none;
}

.service-detail-btn-outline:hover {
    background: color-mix(in srgb, var(--button) 8%, #fff);
}

.btn-add-cart {
    background: var(--button);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    line-height: 1.1;
}

.btn-add-cart:hover {
    filter: brightness(1.05);
}

.service-line-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-height: 40px;
}

/* [hidden] ko author CSS override na kare — pehle sirf Add, baad mein sirf stepper */
.btn-add-cart[hidden] {
    display: none !important;
}

.cart-stepper[hidden] {
    display: none !important;
}

.cart-stepper:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--button) 55%, #fff);
}

.cart-stepper__btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: var(--button);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.cart-stepper__btn:hover {
    filter: brightness(1.08);
}

.cart-stepper__qty {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-weight: 800;
    font-size: 14px;
    color: #0f172a;
    padding: 0 6px;
}

.service-detail-summary-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    text-align: left;
}

.cart-summary-lines {
    text-align: left;
    margin-bottom: 14px;
    min-height: 8px;
}

.cart-summary-empty {
    margin: 0 0 14px;
    font-size: 13px;
    color: #64748b;
    text-align: left;
}

.cart-summary-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cart-summary-line:last-child {
    border-bottom: 0;
}

.cart-summary-line__body {
    flex: 1;
    min-width: 0;
}

.cart-summary-line__title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    line-height: 1.35;
    margin-bottom: 6px;
}

.cart-summary-line__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-summary-line__qtypill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 26px;
    padding: 0 6px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.cart-summary-line__amt {
    font-size: 14px;
    font-weight: 700;
    color: var(--button);
}

.cart-summary-line__remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    padding: 0;
}

.cart-summary-line__remove:hover {
    background: #fee2e2;
    color: #b91c1c;
}

.cart-summary-total[hidden] {
    display: none !important;
}

.cart-summary-total:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 14px;
    margin-bottom: 4px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.cart-summary-total strong {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.service-detail-aside-card--cart {
    text-align: left;
}

.service-detail-checkout--primary.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.service-detail-checkout--primary:not(.is-disabled):hover {
    filter: brightness(1.06);
}

/* Sidebar: sticky — top picker ke niche (overlap / merge fix) */
.service-detail-page .service-detail-aside {
    position: sticky;
    top: calc(var(--service-nav-sticky-h, 77px) + var(--service-picker-sticky-h, 212px));
    z-index: 6;
    align-self: start;
    max-height: calc(100vh - var(--service-nav-sticky-h, 77px) - var(--service-picker-sticky-h, 212px) - 24px);
}

.service-detail-page .service-detail-aside-card--cart {
    max-height: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (max-width: 960px) {
    .service-detail-page .service-detail-aside {
        position: relative;
        top: auto;
        max-height: none;
    }

    .service-detail-page .service-detail-aside-card--cart {
        max-height: none;
        overflow-y: visible;
    }
}

.service-detail-aside-card {
    border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
    border-radius: 14px;
    padding: 20px 16px 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.service-detail-aside-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.service-detail-aside-phone {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 800;
}

.service-detail-aside-phone a {
    color: var(--button) !important;
    text-decoration: none;
}

.service-detail-aside-phone a:hover {
    text-decoration: underline;
}

.service-detail-aside-phone-sep {
    margin: 0 4px;
    color: #94a3b8;
    font-weight: 600;
}

.service-detail-aside-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.service-detail-cart-count {
    margin: 0 0 14px;
    font-size: 13px;
    color: #64748b;
}

.service-detail-checkout {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff !important;
    border-radius: 8px;
    padding: 14px 16px;
    font-weight: 800;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--button) 35%, transparent);
}

.service-detail-checkout:hover {
    filter: brightness(1.05);
}

.service-detail-disclaimer {
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: #64748b;
    text-align: left;
}
