.my-account-widget {
    position: relative;
}

.garage-service-success-dialog { border: 0; padding: 0; max-width: min(92vw, 34rem); background: transparent; color: inherit; }
.garage-service-success-dialog::backdrop { background: rgba(0, 0, 0, .68); }
.garage-service-success-dialog__panel { display: grid; gap: 1rem; padding: 2rem; border: 1px solid #343740; border-radius: 1rem; background: #101116; color: #f7f7f9; box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .5); text-align: center; }
.garage-service-success-dialog__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin: auto; border-radius: 50%; background: #baff2c; color: #050506; font-size: 1.75rem; font-weight: 650; }
.garage-service-success-dialog__message { margin: 0; font-weight: 700; line-height: 1.5; }
.garage-service-success-dialog__confirm { border: 0; border-radius: .75rem; padding: .8rem 1rem; background: #baff2c; color: #050506; cursor: pointer; font: inherit; font-weight: 650; }
.garage-service-success-dialog__confirm:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Bootstrap-less UI helpers (modals, tabs, carousel, collapse) */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-open {
    overflow: hidden;
}

.modal-dialog {
    width: 100%;
}

.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
}

.packages-mobile {
    display: block;
}

.packages-desktop {
    display: none;
}

@media (min-width: 768px) {
    .packages-mobile {
        display: none;
    }

    .packages-desktop {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .packages-desktop-carousel {
        display: block;
    }
}

@media (min-width: 1024px) {
    .packages-desktop {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.packages-desktop-carousel {
    display: none;
}

/* Ensure mobile carousel only shows active item */
.packages-mobile .carousel-item {
    display: none;
}

.packages-mobile .carousel-item.active {
    display: block;
}

.packages-mobile .carousel-inner {
    overflow: hidden;
}

.carousel-control-prev .carousel-control-icon::before {
    content: "<";
    display: block;
    font-size: 1rem;
    line-height: 1rem;
}

.carousel-control-next .carousel-control-icon::before {
    content: ">";
    display: block;
    font-size: 1rem;
    line-height: 1rem;
}

/* Service calculator layout (dark theme, replaces inline styles) */
.apc-service-calculator {
    background: linear-gradient(180deg, #101014 0%, #0b0b0d 100%);
    border: 1px solid var(--wg-line, rgba(255,255,255,.12));
    border-radius: 1rem;
    padding: 1.5rem;
    color: #fff;
}

.apc-service-calculator h2 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
}

.apc-section {
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.apc-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

.apc-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (min-width: 600px) {
    .apc-items {
        grid-template-columns: 1fr 1fr;
    }
}

.apc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--wg-line, rgba(255,255,255,.12));
    border-radius: 10px;
    background: #0a0a0a;
}

.apc-item input[type="checkbox"] {
    margin-top: 4px;
}

.apc-item input[type="number"] {
    width: 80px;
    padding: 6px;
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background: #0f0f0f;
}

.apc-item span {
    display: block;
}

/* SweetAlert styling for service ordering (match single service theme) */
.garage-swal-service {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 0.75rem;
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.garage-swal-service-title {
    color: #e9d5ff;
    font-weight: 700;
}

.garage-swal-service-text {
    color: #e5e7eb;
}

.garage-swal-service-btn {
    background: var(--wg-action, linear-gradient(105deg, #6334c7 0%, #8d2eaf 52%, #b32268 100%));
    border: 1px solid transparent;
    border-radius: 11px;
    color: #ffffff;
    font-weight: 650;
    padding: 0.6em 1.6em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.garage-swal-service-btn:hover {
    background: var(--wg-action-hover, linear-gradient(105deg, #6d3bd0 0%, #9635b7 52%, #bd2a70 100%));
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.garage-swal-service .swal2-icon {
    border-color: rgba(168, 85, 247, 0.6);
    color: #a855f7;
}

.apc-item-price {
    margin-left: auto;
    font-weight: 700;
    color: #a855f7;
    font-size: 13px;
    white-space: nowrap;
}

.apc-item-price small {
    display: block;
    color: #cbd5f5;
    font-weight: 600;
    font-size: 11px;
}

.apc-required {
    color: #f87171;
    font-weight: 700;
}

.apc-service-calculator .apc-field-missing {
    outline: 2px solid #f87171;
}

.apc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 12px 16px;
    border-radius: 10px;
}

.apc-total-row span {
    font-size: 12px;
    text-transform: uppercase;
    color: #cbd5f5;
    font-weight: 700;
}

.apc-calculator-total {
    font-size: 22px;
    font-weight: 650;
    color: #fff;
}

.apc-order-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.my-account-button {
    text-align: right;
}

.my-account-button img {
    cursor: pointer;
}

.my-account-widget img {
    border-radius: 50%;
    max-width: 50px!important;
}

.my-account-content {
    position: absolute;
    width: 280px;
    top: 57px;
    right: 0;
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    -webkit-box-shadow: 0 2px 20px rgb(0 0 0 / 5%);
    box-shadow: 0 2px 20px rgb(0 0 0 / 5%);
    -webkit-transform: translateY(-16px);
    -ms-transform: translateY(-16px);
    transform: translateY(-16px);
    -webkit-transition: opacity .2s, visibility 0s .2s, -webkit-transform .2s;
    transition: opacity .2s, visibility 0s .2s, -webkit-transform .2s;
    -o-transition: opacity .2s, transform .2s, visibility 0s .2s;
    transition: opacity .2s, transform .2s, visibility 0s .2s;
    transition: opacity .2s, transform .2s, visibility 0s .2s, -webkit-transform .2s;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
}

.my-account-widget.open .my-account-content {
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(16px);
    -ms-transform: translateY(16px);
    transform: translateY(16px);
}

.my-account-content img {
    border-radius: 6px;
}

.my-account-content .header-profile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.my-account-content .header-profile img {
    margin-right: 15px;
}

.my-account-content .header-profile-content {
    margin-top: auto;
}

.my-account-content .header-profile-content p {
    margin-bottom: 0;
    font-size: 14px;
}

.my-account-content ul {
    margin-top: 10px;
    margin-bottom: 0;
}

.my-account-content ul li a {
    font-size: 15px;
    display: block;
    font-weight: 500;
    color: #4A6375;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.my-account-content ul li a:hover {
    background: #f3f3f3;
}

.my-account-content .header-profile-login h6 {
    padding-bottom: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.my-account-content .header-profile-login .login-remember {
    margin-bottom: 0;
}

.my-account-content .header-profile-login label {
    font-size: 14px;
}

.my-account-content .header-profile-login a {
    color: #4A6375;
}

/*--------------------------------------------------------------
## Login and register
--------------------------------------------------------------*/
.login-and-register {
    padding: 50px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
}

.login-and-register .custom-logo-link {
    display: block;
    text-align: center;
    margin-bottom: 30px;
    width: unset;
}

.login-and-register .custom-logo-link img {
    width: 170px;
}

.login-and-register .lost-password {
    border-top: 1px solid #f1f1f1;
    color: inherit;
    display: inline-block;
}

/*--------------------------------------------------------------
## Slick
--------------------------------------------------------------*/
i.verified {
    font-size: 16px !important;
    margin-left: 10px;
}

/*--------------------------------------------------------------
## Slick
--------------------------------------------------------------*/
.services .col-md-4.slick-slide {
    margin: 0 15px;
}

.negative-margin-15 {
    margin-left: -15px;
    margin-right: -15px;
}

.services .slick-arrow {
    display: none !important;
}

.services:hover .slick-arrow {
    display: inline !important;
}

/*--------------------------------------------------------------
## Loader
--------------------------------------------------------------*/

.loader-rel {
    position: relative;
}

.loader {
    position: absolute;
    right: 47.7%;
    border: 5px solid;
    border-radius: 50%;
    border-top: 5px solid #f3f3f3 !important;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 0.8s linear infinite;
    /* Safari */
    animation: spin 0.8s linear infinite;
    display: none;
    margin: 20px 0;
}

.swal-footer {
    text-align: center;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
## Banner
--------------------------------------------------------------*/

.banner-content h1 {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 40px;
}

.banner-content #search {
    position: relative;
}

.banner-content {
    margin-bottom: 50px;
}

.banner-content p {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 0;
    font-weight: 300;
}

.banner .garage-product-search-form {
    margin-top: 70px;
    width: 70%;
    float: left;
}

.brands_form {
    display: inline-block;
    padding: 15px;
    border-radius: 50px;
    background: #fff;
    width: 100%;
}

.brands_form .list-inline-item:nth-child(2) {
    width: 150px;
}

.garage-select-search {
    display: flex;
}

.brands_form input {
    border-radius: 10px;
}

.brands_form input[type=text] {
    margin-right: 10px;
}

.brands_form select {
    border-radius: 50px;
    margin-right: 10px;
}

.brands_form input[type="submit"] {
    width: 150px;
}

.white-text-color .banner-content h1,
.white-text-color .banner-content p,
.white-text-color .banner-content h6 {
    color: #fff;
}

.garage-product-search-form {
    margin: 0 auto;
    border-radius: 50px;
    z-index: 0;
    border: 1px solid #ccc;
}

.garage-search-btn {
    position: absolute;
    height: 60px;
    right: 0;
    top: 0;
    z-index: 1000;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    border-radius: 50px;
    width: 140px;
    text-align: center;
    border: 3px solid #fff;
}


.garage-search-btn input[type="submit"] {
    border: none;
    background: transparent;
    position: relative;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 100;
    padding: 0;
}

.garage-search-fields {
    position: relative;
    display: inline-block;
    width: 70%;
    vertical-align: top;
    color: #fff;
}

.garage-download-cat-filter {
    background: transparent !important;
    float: left;
    width: 30%;
    border-right: 1px solid #fff;
}

.message-button {
    display: block;
    border-radius: 20px;
    margin-bottom: 20px;
    padding: 0 15px 0 0;
}

.message-button:hover span {
    color: #fff;
}

.message-button i {
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    margin: 5px 10px 5px 5px;
}

/*--------------------------------------------------------------
## Blog
--------------------------------------------------------------*/
.blog-item {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 20px;
    -webkit-box-shadow: 0 6px 15px 0 rgb(64 79 104 / 5%);
    box-shadow: 0 6px 15px 0 rgb(64 79 104 / 5%);
}

.blog-thumb {
    overflow: hidden;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    position: relative;
}

.blog-thumb img {
    overflow: hidden;
    width: 100%;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 1s linear;
    -o-transition: 1s linear;
    transition: 1s linear;
}

.blog-item:hover .blog-thumb img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.blog-meta img {
    width: 40px;
    border-radius: 50% !important;
}


.blog-meta span {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 400;
}

.blog-content {
    padding: 50px 30px;
}

.blog-content a {
    text-transform: capitalize;
    color: #333;
}

.blog-content h4 {
    font-weight: 600;
    font-size: 22px;
    margin-top: 15px;
    line-height: 32px;
    margin-bottom: 0;
}

.blog-content p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
## Clients
--------------------------------------------------------------*/

.clients a img {
    filter: grayscale(100%);
    opacity: 0.4;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin: 0 auto;
}

.clients a:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/*--------------------------------------------------------------
# Packages
--------------------------------------------------------------*/

.packages .table>thead {
    vertical-align: top;
}


.packages .table>thead th h5 {
    font-weight: 500;
}

.packages .table>thead th p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 22px;
}

.price-tab h1 {
    margin-bottom: 10px;
    margin-bottom: 10px;
}

.price-tab p {
    margin-bottom: 15px;
}

.price-tab .nav-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    text-align: center;
}

.price-tab .tab-content {
    padding: 30px 15px;
}











/*--------------------------------------------------------------
## Skills required
--------------------------------------------------------------*/

.skills-required a {
    background: #F8FAFB;
    color: #808080;
    padding: 5px 15px;
    border-radius: 15px;
    margin-right: 10px;
    line-height: 45px;
}

.skills-required a:hover {
    color: #fff;
}

/*--------------------------------------------------------------
## Badges
--------------------------------------------------------------*/
.badges li img {
    width: 30px;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 0 !important;
}

/*--------------------------------------------------------------
## Partner
--------------------------------------------------------------*/

.partner img {
    padding: 0 15px;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
}

.partner img:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

/*--------------------------------------------------------------
## Service category item
--------------------------------------------------------------*/

.service-category-item {
    position: relative;
    padding: 30px 20px;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
    display: block;
    z-index: 0;
    margin-bottom: 25px;
}

.service-category-item:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.service-category-item span {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    z-index: 1;
}

/*--------------------------------------------------------------
## Accordion
--------------------------------------------------------------*/
.garage-accordion-item {
    padding: 20px 30px;
    border-radius: 6px;
    border: 1px solid #ececec;
    background: #fff;
}

.garage-accordion-item:not(:last-child) {
    margin-bottom: 20px;
}

.garage-accordion-item h5 {
    margin: 0 !important;
    font-weight: 500;
    cursor: pointer;
}

.garage-accordion-item.active h5 span:nth-child(1) {
    display: none;
}

.garage-accordion-item h5 span:nth-child(2) {
    display: none;
}

.garage-accordion-item.active h5 span:nth-child(2) {
    display: block;
}

.garage-accordion-item h5 span {
    float: right;
}

.garage-accordion-item .collapse.show {
    margin-top: 20px;
    padding-top: 20px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    border-top: 1px solid #ddd;
}

/*--------------------------------------------------------------
# Login form
--------------------------------------------------------------*/
.login-and-register input {
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Contact form
--------------------------------------------------------------*/
.wpcf7 p {
    margin-bottom: 0
}

.wpcf7 input {
    margin-bottom: 20px
}

.wpcf7 textarea {
    height: 160px;
}

.wpcf7 input[type=submit] {
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0 60px;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.social-widget {
    border-radius: 10px;
    margin-top: 30px;
    background: #F8FAFB;
    text-align: center;
}

.social-widget a {
    margin: 0 10px;
    line-height: 60px;
    text-align: center;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    font-size: 18px;
    color: #808080;
}

.widget .filter-box:not(:last-child) {
    margin-bottom: 30px;
}

.widget .filter-box>label {
    font-size: 18px;
    font-weight: 500;
    color: #4A6375;
    margin-bottom: 20px;
}

.widget .checkbox-items {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 231px;
}

.widget .checkbox-items::-webkit-scrollbar {
    width: 10px;
}

.widget .checkbox-items::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgb(0 0 0 / 5%);
    border-radius: 6px;
}

.widget .checkbox-items::-webkit-scrollbar-thumb {
    background-color: rgb(169 169 169 / 18%);
    border-radius: 6px;
}

.irs.irs--round {
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1400px) {

    .follow-button,
    .message-button {
        padding: 5px 15px;
        text-align: center;
    }

    .follow-button i,
    .message-button i {
        display: none;
    }

}

@media (max-width: 1200px) {

    .mid-meta {
        display: flex;
        margin-bottom: 0
    }

    .mid-meta li {
        width: 50%;
        margin: 0 10px;
    }

    .stats-list {
        margin-bottom: 10px
    }

    .banner h1 {
        font-size: 52px;
    }

}

@media (max-width: 991px) {

    .select-items div,
    .select-selected {
        margin-bottom: 15px;
    }

    .service-category-item-2 {
        display: block;
    }

    .service-category-item-2>a {
        width: 100%;
    }

    .service-category-item-2>a>img {
        padding-right: 0;
        margin-bottom: 20px;

    }

    .service-category-item-2>div {
        width: 100%;
    }

}

@media (max-width: 768px) {

    .banner {
        text-align: center;
    }

    .banner h1 {
        font-size: 42px;
    }


    .banner.style-2 .banner-content h1 {
        font-size: 42px;
    }

    .banner .garage-product-search-form {
        width: 100%;
        float: none;
    }

    .products-filter-area .woocommerce-ordering {
        margin-top: 20px;
    }

    .products-filter-area .woocommerce-ordering,
    .products-filter-area p {
        text-align: center !important;
    }

    .garage-service-item.style-2 .service-item-images {
        margin-bottom: 30px;
    }

    .pagination {
        margin-bottom: 100px
    }

}


@media (max-width: 576px) {
    .col-6 .garage-service-item.style-1 h3 {
        font-size: 11.2px;
        line-height: 22px;
        font-weight: 500;
    }

    .col-6 .garage-service-item.style-1 ul li {
        font-size: 13px;
        line-height: 16px;
    }

    .col-6 .garage-service-item.style-1 .service-price h4 {
        font-size: 12px;
    }

    .col-6 .garage-service-item.style-1 ul li i {
        display: none;
    }


    .garage-select-search {
        display: block;
    }

    .brands_form {
        border-radius: 20px;
    }

    .brands_form input[type=text],
    .brands_form select {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .negative-margin-15 {
        margin-left: -10px;
        margin-right: -10px;
    }
}
