/* Header layout overrides — also synced into styles.css */
.page-header,
#header {
    position: sticky;
    top: 0;
    z-index: 40;
}
#header .ack-header-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.50rem;
    padding-bottom:0.50rem;
}

#header .ack-header-search {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
}

#header .ack-search-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 2.75rem;
}

#header .ack-search-bar__input {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

#header .ack-search-bar__submit {
    display: inline-flex !important;
    width: auto !important;
    min-width: 5.5rem !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 1.1rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f97316 !important;
    color: #fff !important;
    cursor: pointer;
}

#header .ack-search-bar__submit:hover {
    background: #ea580c !important;
}

#header .ack-location-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.375rem;
    width: auto !important;
    /* margin: 0 !important; */
    padding: 0.65rem 0.25rem !important;
    background: transparent !important;
    color: #0b2c5f;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#header .ack-location-btn:hover {
    color: #f97316;
}

#header .ack-location-btn .ack-pin {
    color: #f97316;
}

#header .ack-brand-logo .ack-brand-name {
    color: #0b2c5f;
}

#header .ack-brand-logo .ack-brand-call {
    color: #f97316;
}

#header .ack-login-link {
    color: #0b2c5f;
}

/* Logo: fixed 200x50 box */
#header .ack-brand-img {
    display: block;
    /* width: 250px;
    height: 100px;  */
    max-width: 100%;
    object-fit: contain;
}

/* Navigation Links */
#header .navigation ul a {
    color: #0b2c5f;
    font-weight: 600;
}

.cms-home .page-main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.cms-home .columns {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: inline;
}

/* Homepage - Hero Banner */
.ack-home-hero-banner {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.ack-home-hero-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.ack-home-hero-banner .ack-hero-mobile {
    display: none;
}
/* Homepae - Hero Banner */

/* Hero Serach */
.popular-search-wrap {
    display: flex;
    gap: 0 10px;
}
.popular-search-wrap span.text-sm {
    display: block;
    min-width: 112px;
}
.popular-search-wrap a {
    text-align: center;
    min-width: 98px;
    background-color: #f7fbfe;
    font-size: 11px;
    padding: 6px;
    border-radius: 8px;
    height: 100%;
    justify-content: center;
    font-weight: 500;
}
.hero-search-wrap .max-w-5xl {
    max-width: 70rem;
}
.location-dialog-wrap input[type="text"] {
    max-width: 168px;
}

.title-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 5px;
}
.title-wrap .heading-section-one, .title-wrap .heading-section-two {
    font-size: 33px;
    font-weight: bold;
    color: #142856;
}
.title-wrap .heading-section-two {
    color: #f2460e;
}

.ack-expert-main {
    display: flex;
    width: 100%;
    column-gap: .25rem;
}
.ack-expert-left {
    flex: 0 40%;
    max-width: 40rem;
    display: flex;
    justify-content: center;
}
.ack-expert-right {
    max-width: 60%;
    flex: 0 60%;
}
.ack-expert-card__footer {
    border-top: 1px solid #ddd;
    padding-top: 1.2rem;
    flex-wrap: wrap;
}
.ack-expert-card__actions {
    flex-direction: row-reverse !important;
}
.ack-expert-card__actions a {
    justify-content: center;
}
.ack-expert-card__actions a {
    border-radius: 10px;
}
.ack-expert-card__verified, .ack-expert-card__online {
    background-color: rgb(231 247 253);
    padding: 3px 5px;
    border-radius: 5px;
}
.ack-expert-card__verified-mark {
    width: 13px;
    height: 13px;
}
.ack-expert-card__avatar {
    width: 6.5rem !important;
    height: 6.5rem !important;
}
.ack-expert-card__service {
    background: rgb(224 241 254 / 62%) !important; 
    color: #142856 !important;
    border-radius: 10px !important;
}
.ack-expert-card__price {
    font-size: .8rem !important;
}
.ack-expert-card__price-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

/* Mobile drawer: Menu / Account tabs */
.ack-mobile-menu .ack-drawer-tab {
    color: #64748b;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
}

.ack-mobile-menu .ack-drawer-tab[aria-selected="true"] {
    color: #0b2c5f;
    border-bottom-color: #f97316;
}

.ack-mobile-menu .ack-drawer-tab:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: -2px;
}

.ack-mobile-menu .ack-drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.875rem;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
}

.ack-mobile-menu .ack-drawer-btn--primary {
    background: #f97316;
    border: 1px solid #f97316;
    color: #fff;
}

.ack-mobile-menu .ack-drawer-btn--primary:hover {
    background: #ea580c;
    border-color: #ea580c;
}

.ack-mobile-menu .ack-drawer-btn--outline {
    background: #fff;
    border: 1px solid #0b2c5f;
    color: #0b2c5f;
}

.ack-mobile-menu .ack-drawer-btn--outline:hover {
    background: #0b2c5f;
    color: #fff;
}

.ack-mobile-menu .ack-drawer-links {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

.ack-mobile-menu .ack-drawer-links a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}

.ack-mobile-menu .ack-drawer-links a:hover,
.ack-mobile-menu .ack-drawer-links a:focus-visible {
    background: #f1f5f9;
    color: #0b2c5f;
}

.ack-mobile-menu .ack-drawer-links .delimiter {
    display: none;
}
.trusted-icon-wrap-mobile {
    display: none;
}
.ack-popular-services a .service-label {
    padding: .5rem 0;
}
.ack-popular-services a {
    border: 1px solid #ddd;
    border-radius: 8px;
}
.ack-popular-services a .thumb img, .ack-popular-services a .thumb {
    width: 100%;
}
.ack-expert-right .btn-secondary svg path {
    fill: #c14c00;
}

.customer-col-left img {
    max-height: 50px;
}
.customer-col {
    display: flex;
    align-items: center;
    column-gap: 1.6rem;
    justify-content: center;
}
.customer-col-right {
    text-align: left;
}
.customer-trust-wrap .title-wrap {
    margin-bottom: 1.5rem;
}
.customer-trust-wrap {
    background: url(/media/ack/customers-trust-bg.png) no-repeat center;
    background-size: cover;
    height: 255px;
    padding-top: 30px;
}
.ack-footer__app-soon a {
    display: flex;
    flex-wrap: wrap;
}
.ack-expert-card__service {
    transition: all ease .3s;
    border: 1px solid transparent;
}
.ack-expert-card__service:hover {
    background-color: rgb(255 165 0 / 10%) !important;
    border: 1px solid #f2460e;
}
.hero-search-wrap form button {
    top: 31px;
}
.field select {
    width: 100%;
}




/* Media Queries */
@media (min-width: 1024px) {
#header .ack-header-row {
    flex-wrap: nowrap !important;
}

#header .ack-header-search {
    order: 0;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 620px;
}
#header .ack-location-btn, #header .ack-auth-menu {
    margin-right: 15px !important;
}
.hero-search-wrap {
    margin-top: -35px;
    position: relative;
    z-index: 9;
}
/* Category Details page */
    .ack-provider-col .card img {
        height:200px;
        width: 200px;
    }
    #ack-provider-services .ack-service-thumb {
        width: 4.75rem;
        height: 4.75rem;
    }
    #ack-provider-services .ack-service-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width:1024px) {
    .popular-search-wrap {
        display: none;
    }
}
@media (max-width: 767px) {
    /* Homepae - Hero Banner */
    .ack-home-hero-banner .ack-hero-desktop {
        display: none;
    }
    .ack-home-hero-banner .ack-hero-mobile {
        display: block;
        height: 175px;
        object-fit: cover;
        object-position: left;
    }
   #header .ack-brand-img {
        max-height: 38px;
        object-position: left;
        margin-top: 11px;
    }
    .ack-header-search + div {
        position: absolute;
        right: 0;
        top: 16px;
        gap: 1px;
    }
    #header .ack-location-btn {
        width: auto !important;
        max-width: 9.5rem;
        border: none;
        gap: 0;
    }
    #header .ack-header-search {
        margin-bottom: 10px;
    }
    #header .ack-login-link {
        display: none;
    }
    .ack-drawer-account + div ul li a {
        width: 100%;
    }
    .ack-drawer-logo {
        display: none;
    }
    .hero-search-wrap .container {
        padding: 0;
    }
    .ack-mobile-menu {
        position: absolute;
        top: 18px;
        left: 1%;
    }
    .title-wrap .heading-section-one, .title-wrap .heading-section-two {
        font-size: 20px;
    }
    .ack-brand-logo {
        padding: 0;
        margin: 0 0 0 16px;
        display: inline-block;
    }
    #header .ack-header-row {
        gap: 0;
    }
    .ack-header-row .pb-2 {
        padding: 0;
    }
    .trusted-icon-wrap-mobile {
        display: block;
        margin: 10px;
    }
    .trusted-list {
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: flex-start;
        gap: 0.3rem;
    }
    .trusted-list img {
        max-height: 45px;
    }
    .trusted-list li img {
        margin: auto;
    }
    .trusted-list li span {
        display: inline-block;
        line-height: 1.2;
        font-size: .79rem;
        margin-top: .5rem;
        font-weight: 500;
    }
    .hero-search-wrap form {
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding-left: 1.5rem;
    }
    .ack-footer__app-soon a .ack-footer__app {
        padding-left: 0.5rem;
    }
    .customer-col {
        column-gap: .5rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .customer-col-right .big-text {
        font-size: 1.4rem;
    }
    .customer-col-right .sm-text {
        font-size: .7rem;
    }
    .customer-trust-wrap .grid {
        gap: 1rem;
    }
    .customer-col-left img {
        max-width: 40px;
    }
    .ack-drawer-top {
        background-color: #F6F7FC;
        display: flex;
        justify-content: flex-end;
    }
    .ack-drawer-top .btn {
        border-radius: 100%;
        box-shadow: 0 0 2px rgba(0,0,0,.2);
        width: 35px;
        height: 35px;
    }
    .ack-brands {
        padding-top: 0;
    }
    .ack-popular-services {
        padding-bottom: 0;
    }
    .ack-experts-nav, .ack-brands-nav {
        display: none !important;
    }
    dialog [aria-current="page"] {
        background-color: rgb(249 115 22 / 17%);
        color: var(--color-primary);
    }
    .customer-trust-wrap {
        height: inherit;
        padding-top: 0;
    }
    .ack-experts-slider-wrap + div {
        display: none;
    }
    .ack-expert-card__price-block {
        width: 100%;
    }
    .ack-expert-card__actions {
        width: 100%;
    }
    .ack-expert-card__actions a {
        padding-left: 0;
        padding-right: 0;
        width: 50%;
    }
    /* Category Details page */
    .ack_serviceprovider-provider-view .columns .container {
        padding: 0;
    }
    .ack-provider-col .card {
        padding: .5rem !important;
    }
    .ack-provider-col-head {
        flex-direction: row;
        gap: .5rem;
    }
    .ack-provider-col-head .text-col h1 {
        font-size: 1rem;
    }
    .ack-provider-services-head button {
        padding: .3rem .65rem;
        font-size: .75rem;
    }
    .gallery-thumbs {
        align-items: flex-start;
    }
    .catalog-product-view .page-title {
        text-align: left;
        margin-top: 1rem;
    }
    .ack-provider-card__identity .ack-provider-card__verified-icon {
        vertical-align: 1px;
    }
    .ack-provider-col-head .image-col img {
        width: 8rem;
        height: 8rem;
    }
    .verified-badge, .online-badge {
        font-size: .6rem;
    }
    .verified-badge > span, .online-badge > span, .slogan-info, .reponse-text, .time-text {
        display: none;
    }
    .location-info {
        margin-top: 0.35rem;
        font-size: 0.75rem;
        gap: 0.35rem 0.75rem;
    }
    .breadcrumb-wrap li {
        font-size: .7rem;
    }
    .page-main {
        margin-top: 1rem;
    }
    .text-col > div {
        gap: 0.3rem;
    }
    .rating-wrapper > div {
        gap: 0;
        margin-bottom: .5rem;
    }
    .rating-wrapper {
        margin-top: 0.3rem;
    }
    
    .rating-wrapper a {
        padding-left: .4rem;
        font-size: .7rem;
    }
    .rating-wrapper strong {
        font-size: .8rem;
        padding-left: .2rem;
    }
    .ack-provider-col > .card > div {
        gap: .8rem;
    }
    .box-text .leading-tight {
        font-size: .9rem;
    }
    .box-text .text-xs {
        font-size: 0.6rem;
    }
    .ack-provider-actions p {
        display: none;
    }
    .ack-provider-actions {
        display: flex;
        gap: .4rem;
    }
    .ack-provider-actions a, .ack-provider-actions button {
        width: 33%;
        display: flex;
        font-size: .7rem;
        padding: .5rem 0;
    }
}
@media (max-width:320px) {
    #header .ack-brand-img {
        max-height: 28px;
        margin-top: 11px;
        margin-bottom: 10px;
    }
    .ack-mobile-menu {
        top: 11px;
    }
    .ack-footer__app img {
        max-height: 40px !important;
    }
}

