html {
    overflow-x: hidden;
}

textarea.form-control {
    height: auto;
}

.modal .modal-header .close {
    float: right;
}

.footer_style_3 .follow_us {
    z-index: 999999;
    position: relative;
}

.listing-wp {
    position: relative;
}

.listing_cate span.listing_like {
    margin-left: 10px;
}

.footer_widgets {
    position: relative;
}

.footer_bottom {
    position: relative;
}

.event_listing {
    position: relative;
}

/* Normalized Pill Button Style */
.btn,
input.btn.btn-block,
.btn-primary,
.btn-info,
.outline-btn,
.make-reservation,
.post_category .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FEFF00;
    color: #000000;
    border: 1px solid #D9D900;
    border-radius: 50px;
    padding: 8px 32px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: none;
    height: auto;
    width: auto;
    cursor: pointer !important;
}

.btn:hover,
input.btn.btn-block:hover,
.outline-btn:hover,
.make-reservation:hover {
    background-color: #E6E600;
    box-shadow: none;
    color: #000000;
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Ensure block buttons still take full width if needed */
.btn-block {
    display: flex !important;
    width: 100% !important;
}

span.cate_icon img {
    margin-top: -7px;
}

span.listing_like i {
    position: relative;
    bottom: 2px;
}

span.like_post i {
    position: relative;
    bottom: 1px;
}

@media only screen and (max-width: 479px) {
    #dashboard .copyrights {
        text-align: center !important;
    }

    .footer_widgets {
        margin: 20px 0;
    }

    .listing-heder-inner p {
        font-size: 11px;
    }

    div#category_slider .owl-next {
        left: 15px;
    }

    div#category_slider .owl-prev {
        right: 35px;
    }

    span.cate_icon img {
        margin-top: 0px;
    }

}

/* two button in a modal windows */
#deleteServiceModalContainer .btn.btn-block {
    width: 49%;
    height: 50px;
}

#deleteServiceModalContainer span {
    font-weight: bold;
}

/* Error messages */
.error,
form label.error {
    font-size: 13px;
    line-height: 1.2;
    color: #e63946;
    margin-top: 8px;
    font-weight: 500;
    display: block;
}


/*CreateSalon Form  BEGIN */
#createSalonForm label.error {
    display: inline;
    color: #FF2761;
    font-size: 13px;
    font-weight: 100;
}

.btn-file {
    line-height: 34px;

    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

#img-upload {
    width: 100%;
}

/* Premium Search Bar V2 */
.search_form_advanced {
    position: relative;
    z-index: 1000;
    margin-top: 0;
    width: 100%;
}

.custom-search-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 5px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #eee;
    position: relative;
    /* Positioning anchor for dropdowns */
}

.search-section {
    flex: 1;
    padding: 12px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 40px;
}

.search-section:hover {
    background-color: #f8f9fa;
}

.section-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.section-label {
    font-size: 15px;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arrow-icon {
    font-size: 12px;
    color: #aaa;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.search-section.active .arrow-icon {
    transform: rotate(180deg);
}

.search-separator {
    width: 1px;
    height: 35px;
    background-color: #e0e0e0;
    margin: 0;
}

.search-submit-btn {
    background-color: #ffffff;
    border: none;
    color: #666;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.search-submit-btn i {
    font-size: 18px;
}

.search-submit-btn:hover {
    background-color: #f1f1f1;
    color: #333;
}

/* Dropdowns */
.mega-dropdown,
.mini-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid #eee;
    z-index: 1001;
    padding: 25px;
}

.mega-dropdown,
.mini-dropdown {
    width: 100%;
    left: 0;
    box-sizing: border-box;
}

.search-section.active .mega-dropdown,
.search-section.active .mini-dropdown {
    display: block;
    animation: fadeInDownV2 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeInDownV2 {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.grid-item {
    font-size: 14px;
    color: #555;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: left;
}

.grid-item:hover {
    background-color: #f0f4f8;
    color: #000;
    font-weight: 500;
}

.mini-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 350px;
    overflow-y: auto;
}

/* Custom scrollbar for dropdowns */
.mini-dropdown ul::-webkit-scrollbar {
    width: 6px;
}

.mini-dropdown ul::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.mini-dropdown li {
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    text-align: left;
    font-size: 14px;
    color: #555;
}

.mini-dropdown li:hover {
    background-color: #f0f4f8;
    color: #000;
}

.search-section.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .custom-search-pill {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
    }

    .search-section {
        width: 100%;
        border-radius: 10px;
    }

    .search-separator {
        width: 100%;
        height: 1px;
    }

    .mega-dropdown {
        width: calc(100vw - 40px);
        left: 0;
    }

    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    @keyframes slideDownMobile {
        from {
            transform: translateY(-100%);
        }

        to {
            transform: translateY(0);
        }
    }
}

/* Hide Premium Mobile Search UI on Desktop */
.mobile-search-nav,
.mobile-search-header,
.mobile-search-wrapper,
.mobile-search-toggle {
    display: none;
}

@media (max-width: 991px) {
    #header_nav {
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        will-change: transform;
    }

    /* Clean Mobile Menu (No Scrollbars) */
    #navigation.collapse.show,
    #navigation.collapsing {
        overflow-y: auto;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
    }

    #navigation.collapse.show::-webkit-scrollbar,
    #navigation.collapsing::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }


    /* Improved Mobile Header Alignment */
    #header .container-fluid>.row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 0;
    }

    #banner .container {
        padding-top: 130px;
    }

    .navbar-header {
        float: none;
        display: flex;
        align-items: center;
    }

    /* Absolute Centering for Performance Toggler */
    .navbar-toggler.custom-toggler {
        border: none;
        background: transparent;
        padding: 5px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 44px;
        height: 44px;
        align-items: flex-end;
        justify-content: center;
        margin-top: 0;
        transition: all 0.3s ease;
        outline: none;
        box-shadow: none;
        position: absolute;
        top: 20px;
        /* Precise vertical placement in the black bar */
        right: 15px;
        z-index: 100;
    }

    .navbar-header {
        display: flex;
        align-items: center;
    }

    .navbar-toggler.custom-toggler:hover {
        transform: scale(1.05);
    }

    .navbar-toggler.custom-toggler:hover .bar-mid {
        width: 28px;
        /* Expand on hover for interactivity */
    }

    .toggler-bar {
        display: block;
        height: 3px;
        background: #FEFF00;
        border-radius: 4px;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        will-change: transform, opacity, width;
    }

    .bar-top {
        width: 28px;
    }

    .bar-mid {
        width: 22px;
    }

    .bar-bot {
        width: 16px;
    }

    /* Animation to 'X' */
    .navbar-toggler.custom-toggler:not(.collapsed) .bar-top {
        transform: translateY(9px) rotate(45deg);
        width: 28px;
    }

    .navbar-toggler.custom-toggler:not(.collapsed) .bar-mid {
        opacity: 0;
        transform: translateX(10px);
    }

    .navbar-toggler.custom-toggler:not(.collapsed) .bar-bot {
        transform: translateY(-9px) rotate(-45deg);
        width: 28px;
    }

    body.search-open #header_nav,
    body.search-open header {
        display: none;
    }

    .search_form_advanced {
        position: fixed;
        top: 83px;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        z-index: 5000;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        will-change: top, height, border-radius;
        overflow-x: hidden;
    }

    .search_form_advanced.is-collapsed {
        background: #000;
        padding: 12px 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        border-radius: 0;
    }

    body.nav-hidden .search_form_advanced {
        top: 0;
    }

    /* EXPANDED STATE (Mobile Modal) */
    .search_form_advanced:not(.is-collapsed) {
        top: 0;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 0;
        z-index: 999999;
        background: #ffffff;
        display: flex;
        flex-direction: column;
    }



    .mobile-search-wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        text-align: left;
    }

    .search_form_advanced.is-collapsed .mobile-search-wrapper {
        display: none;
    }

    .mobile-search-nav {
        display: flex;
        flex-shrink: 0;
        /* Prevent collapsing */
        width: 100%;
        padding: 20px 24px;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        z-index: 100;
    }

    .search_form_advanced.is-collapsed .mobile-search-nav {
        display: none;
    }

    .nav-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    }

    .nav-btn i {
        font-size: 16px;
        color: #fff;
    }

    .nav-btn.close-search i {
        color: #FEFF00;
        display: block;
    }

    .nav-btn:active {
        transform: scale(0.92);
        opacity: 0.9;
    }

    .mobile-search-header {
        display: none;
        padding: 0 28px 25px;
    }

    .search_form_advanced:not(.is-collapsed) .mobile-search-header {
        display: block;
    }

    .mobile-search-header h2 {
        font-size: 38px;
        font-weight: 800;
        margin: 0;
        color: #000;
        letter-spacing: -1px;
    }

    .mobile-search-header p {
        font-size: 15px;
        color: #888;
        margin: 5px 0 0;
    }

    .mobile-search-container {
        flex: 1;
        overflow-y: auto;
        padding: 0 24px 40px;
    }

    .search-input-group {
        margin-bottom: 24px;
    }

    .input-label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #666;
        margin-bottom: 10px;
    }

    .custom-section-trigger {
        display: flex;
        align-items: center;
        background: #fff;
        border: 1.5px solid #eee;
        border-radius: 50px;
        padding: 16px 28px;
        transition: all 0.2s ease;
    }

    .custom-section-trigger.active {
        border-color: #FEFF00;
        box-shadow: 0 0 0 4px rgba(254, 255, 0, 0.1);
    }

    .trigger-icon {
        width: 24px;
        font-size: 18px;
        color: #888;
        margin-right: 15px;
    }

    .trigger-text {
        flex: 1;
        font-size: 16px;
        font-weight: 500;
        color: #222;
    }

    .search-submit-button {
        width: 100%;
        height: 54px;
        background: #FEFF00;
        border: 1px solid #D9D900;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 16px;
        font-weight: 700;
        color: #000;
        box-shadow: 0 10px 25px rgba(254, 255, 0, 0.25);
        margin: 30px 0;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .search-submit-button:active {
        transform: scale(0.96);
        background: #e6e600;
        box-shadow: 0 5px 15px rgba(254, 255, 0, 0.2);
    }

    .option-divider {
        display: flex;
        align-items: center;
        text-align: center;
        margin: 40px 0;
    }

    .option-divider::before,
    .option-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #eee;
    }

    .option-divider span {
        padding: 0 15px;
        font-size: 13px;
        color: #aaa;
    }

    .quick-options-section h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #111;
    }

    .popular-brands-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .brand-card {
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 20px;
        padding: 25px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        transition: all 0.2s ease;
    }

    .brand-card:active {
        background: #f8f8f8;
        transform: scale(0.97);
    }

    .brand-card.selected {
        border-color: #000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .brand-card.selected i,
    .brand-card.selected .brand-name {
        color: #000;
        font-weight: 700;
    }

    .popular-brands-grid .brand-name {
        font-size: 14px;
        font-weight: 600;
        color: #444;
    }

    .common-services-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .service-row {
        display: flex;
        align-items: center;
        padding: 18px 20px;
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 18px;
        transition: all 0.2s ease;
    }

    .service-row.selected {
        border-color: #000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .service-row.selected .service-row-icon,
    .service-row.selected .service-row-text {
        color: #000 !important;
        font-weight: 700;
    }

    .service-row-icon {
        font-size: 18px;
        color: #888;
        margin-right: 15px;
    }

    .service-row-text {
        flex: 1;
        font-size: 15px;
        font-weight: 500;
        color: #222;
    }

    /* Closed State Toggle */

    .mobile-search-toggle {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 2px solid #FEFF00;
        /* Signature MonoPiston Border */
        border-radius: 28px;
        padding: 18px 22px;
        margin: 0 auto;
        width: 100%;
        max-width: 480px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-search-toggle .toggle-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-search-toggle .header-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-search-toggle .search-icon {
        color: black;
        /* Darker yellow for better contrast on white */
        font-size: 24px;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    }

    .mobile-search-toggle .header-title {
        font-size: 17px;
        font-weight: 700;
        color: #111;
    }

    .mobile-search-toggle .header-right {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-search-toggle .edit-text {
        font-size: 15px;
        font-weight: 800;
        color: #D4B200;
        /* Darker yellow for better contrast on white */
        text-decoration: none;
    }

    .mobile-search-toggle .arrow-icon {
        color: #444;
        font-size: 13px;
    }

    .mobile-search-toggle .toggle-tags {
        display: none;
        flex-wrap: wrap;
        gap: 12px;
    }

    .mobile-search-toggle.has-tags .toggle-tags {
        display: flex;
        margin-top: 15px;
    }

    .search-tag {
        display: flex;
        align-items: center;
        gap: 10px;
        background: #f8f8f8;
        border-radius: 50px;
        padding: 10px 18px;
        font-size: 13px;
        font-weight: 700;
        color: #000;
        border: 1px solid #eee;
    }

    .search-tag i:not(.clear-tag) {
        font-size: 12px;
        color: #222;
    }

    .search-tag .clear-tag {
        margin-left: 5px;
        font-size: 12px;
        color: #888;
        cursor: pointer;
        padding: 4px;
    }

    .mobile-search-toggle:active {
        transform: scale(0.99);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .mobile-search-toggle {
        display: none;
    }

    .search_form_advanced.is-collapsed .mobile-search-toggle {
        display: flex;
    }

    .search_form_advanced:not(.is-collapsed) .mobile-search-toggle {
        display: none;
    }

    /* Hide Original Desktop Elements on Mobile when Modal Open */
    .search_form_advanced:not(.is-collapsed) .custom-search-pill {
        display: none;
    }

    .search_form_advanced:not(.is-collapsed) .mega-dropdown,
    .search_form_advanced:not(.is-collapsed) .mini-dropdown {
        display: none;
    }

    .listing_header {
        padding: 35px 24px;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        background: #fff;
    }

    .listing_header h5 {
        font-size: 22px;
        font-weight: 500;
        color: #444;
        line-height: 1.4;
        margin: 0;
    }

    .listing_header h5 strong {
        color: #000;
        font-weight: 800;
    }
}

/* Sidebar Contact Info Accessibility & Enhancements */
.sidebar_wrap.listing_contact_info {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.listing_contact_info ul li {
    padding: 12px 0 12px 40px !important;
    border-bottom: 1px solid #f8f8f8;
    position: relative;
    line-height: 1.5;
}

.listing_contact_info ul li:last-child {
    border-bottom: none;
}

.listing_contact_info ul li .fa {
    position: absolute;
    left: 0;
    top: 15px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 16px;
    background: #fdfdfd;
    border-radius: 6px;
}

.listing_contact_info ul li a {
    color: #333 !important;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.listing_contact_info ul li a:hover {
    color: #E6E600 !important;
    /* Muted yellow for better visibility on white */
    text-decoration: none;
}

/* Social Links Redesign */
.social_links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.social_links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #555 !important;
    border-radius: 50% !important;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eee !important;
    background-color: #f8f9fa !important;
}

.social_links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social_links a.facebook_link:hover {
    background: #3b5998 !important;
    color: #fff !important;
    border-color: #3b5998 !important;
}

.social_links a.twitter_link:hover {
    background: #1da1f2 !important;
    color: #fff !important;
    border-color: #1da1f2 !important;
}

.social_links a.google_plus_link:hover {
    background: #E1306C !important;
    color: #fff !important;
    border-color: #E1306C !important;
}

/* Premium Dark Theme Enhancements */
body.dark-theme,
.dark-theme #login_signup,
.dark-theme .primary-bg {
    background-color: #0c0c0c !important;
    /* Force true black/dark background */
    color: #f1f1f1;
}

/* Glassmorphism for Login/Signup Cards */
.dark-theme #login_signup .white_box {
    background: rgba(30, 30, 30, 0.9) !important;
    /* Slightly more opaque for better contrast */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(254, 255, 0, 0.25) !important;
    /* More defined border */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8) !important;
    padding: 60px 40px !important;
    /* More breathing room */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dark-theme #login_signup form {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dark-theme #login_signup .form-group {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

.dark-theme #login_signup h1,
.dark-theme #login_signup h2,
.dark-theme #login_signup h3,
.dark-theme #login_signup h4,
.dark-theme #login_signup h6,
.dark-theme #login_signup p,
.dark-theme #login_signup label {
    color: #ffffff !important;
}

/* Input Fields on Dark Theme */
.dark-theme #login_signup .form-control {
    background: rgba(40, 40, 40, 0.6) !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.dark-theme #login_signup .form-control:focus {
    border-color: #FEFF00 !important;
    box-shadow: 0 0 8px rgba(254, 255, 0, 0.2) !important;
    background: rgba(50, 50, 50, 0.8) !important;
}

.dark-theme #login_signup .form-control::placeholder {
    color: #777 !important;
}

/* Back home button on dark mode */
.dark-theme .back_home {
    width: 100%;
    margin-bottom: 20px;
}

.dark-theme #login_signup .btn,
.dark-theme #login_signup input.btn-block {
    width: 100% !important;
    margin: 10px 0 !important;
    box-sizing: border-box !important;
    gap: 10px;
}

.dark-theme .back_home a.btn {
    background-color: #FEFF00 !important;
    color: #000000 !important;
    border: 1px solid #D9D900 !important;
    display: flex !important;
    width: 100% !important;
    opacity: 1;
    margin: 0 !important;
    justify-content: center;
}

.dark-theme .back_home a.btn:hover {
    background-color: #E6E600 !important;
    text-decoration: none;
}

/* Fix for existing links in dark mode */
.dark-theme .post_info a,
.dark-theme .sidebar_widgets a {
    color: #ddd !important;
}

.dark-theme .post_info a:hover {
    color: #FEFF00 !important;
}

/* =========================================================================
   PREMIUM PRICING SECTION - LIGHT MODE (MonoPiston Aesthetic)
   ========================================================================= */

/* Section container — #inner_pages has higher specificity than base styles */
#inner_pages {
    background-color: #f8f8f8;
    padding: 100px 0;
}

#inner_pages p {
    color: #555;
}

#inner_pages strong {
    color: #111111;
}

/* Cards */
#inner_pages .pricing_wrap {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 0;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: visible;
    display: flex;
    flex-direction: column;
    position: relative;
}

#inner_pages .pricing_wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(254, 255, 0, 0.6);
}

/* Top accent bar */
#inner_pages .pricing_wrap::before {
    content: '';
    display: block;
    height: 4px;
    background: #e8e8e8;
    transition: background 0.4s ease;
    border-radius: 20px 20px 0 0;
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    opacity: 1;
}

#inner_pages .pricing_wrap:hover::before {
    background: linear-gradient(90deg, #FEFF00, #e6e400);
}

/* Featured / Active plan */
#inner_pages .pricing_wrap.active {
    border-color: #FEFF00;
    box-shadow: 0 15px 50px rgba(254, 255, 0, 0.18);
    transform: scale(1.03);
    z-index: 2;
}

#inner_pages .pricing_wrap.active::before {
    background: linear-gradient(90deg, #FEFF00, #e6e400);
}

#inner_pages .pricing_wrap.active:hover {
    transform: scale(1.03) translateY(-8px);
}

/* Header */
#inner_pages .pricing_header {
    padding: 30px 30px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    border-radius: 20px 20px 0 0;
    /* No overflow:hidden — badge floats above and would be clipped */
}

/* Extra room for the floating badge on the active card */
#inner_pages .pricing_wrap.active .pricing_header {
    padding-top: 46px;
}

#inner_pages .pricing_header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

#inner_pages .pricing_header p {
    font-size: 14px;
    color: #888888;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* "Recomendado" badge — floats above the card top edge */
#inner_pages .popular_plan {
    background: #FEFF00;
    color: #111111;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 22px;
    border-radius: 50px;
    position: absolute;
    top: -18px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(254, 255, 0, 0.5);
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#inner_pages .popular_plan::before {
    content: '\2605';
    /* ★ */
    font-size: 13px;
    line-height: 1;
    color: #111111;
}

/* Plan body */
#inner_pages .plan_info {
    background: transparent;
    padding: 25px 30px 30px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Price */
#inner_pages .plan_price {
    font-size: 52px;
    font-weight: 900;
    color: #111111;
    margin: 0 auto 20px;
    letter-spacing: -2px;
    line-height: 1;
}

/* Feature list */
#inner_pages .plan_info ul {
    margin: 0 0 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    flex: 1;
}

#inner_pages .plan_info ul li {
    padding: 9px 0 9px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #555555;
    position: relative;
}

#inner_pages .plan_info ul li:last-child {
    border-bottom: none;
}

/* Yellow circular checkmark */
#inner_pages .plan_info ul li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #111111;
    background: #FEFF00;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

#inner_pages .plan_info ul li span {
    font-weight: 700;
    color: #111111;
}

/* CTA Button — normal plans: black bg / yellow text */
#inner_pages .plan_info .btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #111111;
    color: #FEFF00;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    margin-top: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#inner_pages .plan_info .btn:hover {
    background: #FEFF00;
    color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(254, 255, 0, 0.35);
}

/* CTA Button — active plan: yellow bg / black text (inverted) */
#inner_pages .pricing_wrap.active .plan_info .btn {
    background: #FEFF00;
    color: #111111;
    box-shadow: 0 8px 25px rgba(254, 255, 0, 0.35);
}

#inner_pages .pricing_wrap.active .plan_info .btn:hover {
    background: #111111;
    color: #FEFF00;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    #inner_pages .pricing_wrap.active {
        transform: scale(1);
    }

    #inner_pages .pricing_wrap.active:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 767px) {
    #inner_pages .pricing_wrap {
        margin-bottom: 20px;
    }
}


/* Premium Logo Color Correction (Yellow Theme) */
.logo img,
.footer_logo img,
.navbar-brand img {
    filter: brightness(0) saturate(100%) invert(91%) sepia(86%) saturate(1906%) hue-rotate(351deg) brightness(101%) contrast(106%) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo img:hover {
    filter: brightness(0) saturate(100%) invert(91%) sepia(86%) saturate(1906%) hue-rotate(351deg) brightness(130%) contrast(106%) !important;
    transform: scale(1.02);
}

.logo img:active {
    transform: scale(0.95);
    filter: brightness(0) saturate(100%) invert(91%) sepia(86%) saturate(1906%) hue-rotate(351deg) brightness(110%) contrast(106%) !important;
    transition: all 0.1s ease;
}

/* Global Modal Modernization & Centering */
.modal {
    padding-right: 0 !important;
}

.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}

@media (max-width: 576px) {
    .modal-dialog {
        min-height: calc(100% - 1rem);
        margin: 0.5rem auto;
        padding: 0 15px;
    }
}

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Premium Dashboard Redesign */
.premium-dashboard-header {
    margin: 40px 0 20px;
    padding-left: 5px;
}

.premium-dashboard-header h4 {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.premium-dashboard-header p {
    color: #888;
    font-size: 16px;
}

.premium-dashboard-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.premium-dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #FEFF00;
}

.premium-dashboard-card .card-icon {
    width: 60px;
    height: 60px;
    background: #FEFF00;
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(254, 255, 0, 0.3);
}

.premium-dashboard-card .card-content {
    flex-grow: 1;
}

.premium-dashboard-card .card-content h5 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0 0 5px 0;
}

.premium-dashboard-card .card-content p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.premium-dashboard-card .card-arrow {
    color: #ccc;
    font-size: 18px;
    transition: all 0.3s ease;
}

.premium-dashboard-card:hover .card-arrow {
    color: #FEFF00;
    transform: translateX(5px);
}

/* Premium Service Management Redesign */
.dashboard-list-box li.premium-service-item {
    background: #fff;
    border-radius: 15px !important;
    margin-bottom: 20px !important;
    padding: 20px !important;
    border: 1px solid #eee !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-list-box li.premium-service-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

.list-box-listing-img img {
    border-radius: 10px;
}

.premium-tag {
    background: #f8f8f8 !important;
    color: #333 !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-right: 6px !important;
    border: 1px solid #e0e0e0 !important;
    display: inline-block;
    text-transform: uppercase;
}

.service-price-tag {
    color: #111;
    font-weight: 800;
    font-size: 16px;
    margin-top: 10px;
}

/* Floating Action Button Redesign */
.addservice.float {
    background-color: #FEFF00 !important;
    color: #000000 !important;
    width: 65px !important;
    height: 65px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    box-shadow: 0 8px 25px rgba(254, 255, 0, 0.4) !important;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #D9D900;
}

.addservice.float i {
    font-size: 24px !important;
    margin: 0 !important;
}

.addservice.float:hover {
    transform: scale(1.1) rotate(90deg);
    background-color: #E6E600 !important;
}

/* Button Normalization in Dashboard */
.buttons-to-right {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .buttons-to-right {
        flex-direction: row;
    }
}

.buttons-to-right .button {
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.buttons-to-right .button.editService {
    background-color: #FEFF00 !important;
    color: #000 !important;
    border: none !important;
}

.buttons-to-right .button.deleteService {
    background-color: #fce4e4 !important;
    color: #e63946 !important;
    border: 1px solid #f8d7da !important;
}

.buttons-to-right .button.deleteService:hover {
    background-color: #e63946 !important;
    color: #fff !important;
}

/* Premium Modal Buttons Redesign */
#deleteServiceModalContainer .modal-body {
    padding: 30px 40px !important;
}

#deleteServiceModalContainer .modal-body p {
    font-size: 18px;
    color: #444;
    margin-bottom: 30px;
    text-align: center;
}

#deleteServiceModalContainer .modal-body p span {
    font-weight: 800;
    color: #111;
}

#deleteServiceModalContainer .modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

#deleteServiceModalContainer .btn {
    flex: 1;
    height: 50px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 0 !important;
    border: none !important;
}

#deleteServiceModalContainer .deleteServiceClose {
    background-color: #f1f1f1 !important;
    color: #666 !important;
}

#deleteServiceModalContainer .deleteServiceClose:hover {
    background-color: #e0e0e0 !important;
    color: #111 !important;
}

#deleteServiceModalContainer .deleteService {
    background-color: #FEFF00 !important;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(254, 255, 0, 0.3) !important;
}

#deleteServiceModalContainer .deleteService:hover {
    background-color: #E6E600 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 255, 0, 0.4) !important;
}

/* Specific styling for the danger action if preferred - but here we keep brand yellow as requested */
#deleteServiceModalContainer .deleteService.danger-vibe {
    background-color: #e63946 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3) !important;
}

/* Premium Progress Modal Redesign */
#messageModal .modal-content {
    border-radius: 24px !important;
    border: none !important;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

#messageModal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 25px 30px;
}

#messageModal .modal-title {
    font-weight: 800;
    color: #111;
    font-size: 20px;
}

#messageModal .modal-body {
    padding: 50px 30px !important;
    text-align: center;
}

/* Success/Error Icon Styling */
.premium-status-icon {
    font-size: 110px !important;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

@keyframes iconEntrance {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-icon {
    animation: iconEntrance 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Custom Spinner for MonoPiston */
.premium-spinner {
    width: 6rem !important;
    height: 6rem !important;
    border-width: 0.4em !important;
    color: #FEFF00 !important;
}

/* Premium Edit Button Hover Effect */
.buttons-to-right .button.editService:hover {
    background-color: #E6E600 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 255, 0, 0.4) !important;
}

/* Premium Add Taller Form Redesign */
section.premium-form-container {
    padding: 60px 0;
    background: #fdfdfd;
}

section.premium-form-container .container form#createSalonForm {
    box-shadow: none;
    padding: 0;
    background: transparent;
    margin-bottom: 0;
}

.premium-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.premium-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-card h4::before {
    content: '';
    width: 4px;
    height: 24px;
    background: #FEFF00;
    border-radius: 4px;
}

.premium-form-group {
    margin-bottom: 25px;
}

.premium-form-group .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
    display: block;
}

/* Higher specificity for inputs to override global styles without !important */
form .premium-input,
form textarea.premium-input,
form select.premium-input {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
    height: 52px;
    box-shadow: none;
}

form .premium-input:focus,
form textarea.premium-input:focus,
form select.premium-input:focus {
    background: #fff;
    border-color: #D9D900;
    box-shadow: 0 0 0 4px rgba(254, 255, 0, 0.15);
    outline: none;
    border-width: 2px;
}

form textarea.premium-input {
    height: auto;
    min-height: 120px;
    padding: 15px 18px;
}

.premium-select-wrapper {
    position: relative;
}

.premium-select-wrapper::after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #aaa;
}

form select.premium-select {
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
}

/* File Upload Redesign */
.premium-file-upload {
    border: 2px dashed #eee;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fafafa;
    position: relative;
}

.premium-file-upload:hover {
    border-color: #FEFF00;
    background: #fff;
}

.premium-file-upload i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

.premium-file-upload h5 {
    font-size: 16px;
    color: #444;
    font-weight: 600;
    margin-bottom: 5px;
}

.premium-file-upload p {
    font-size: 13px;
    color: #999;
}

#img-upload-preview {
    margin-top: 20px;
    border-radius: 12px;
    max-width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
}

/* Premium Modal Styling */
.premium-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.premium-modal .modal-body {
    padding: 40px !important;
    text-align: left;
}

.premium-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    animation: iconBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.premium-modal-icon.error {
    background: #fff5f5;
    color: #e63946;
    border: 2px solid #fee2e2;
}

.premium-modal-icon.success {
    background: #f0fdf4;
    color: #22c55e;
    border: 2px solid #dcfce7;
}

@keyframes iconBounce {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.premium-modal .modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
}

.modal-text-content {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.btn-premium-modal-close {
    background: #111 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    width: 100%;
}

.btn-premium-modal-close:hover {
    background: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.url-badge {
    background: #fdfdfd;
    border-radius: 12px;
    padding: 15px;
    border: 1px dashed #e6b400;
    word-break: break-all;
}

.url-badge a {
    color: #e6b400;
    font-weight: 600;
    text-decoration: underline;
}

/* Premium Dashboard Modernization */
#dashboard .add_listing_info {
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    margin-top: 20px;
}

#dashboard .add_listing_info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: none;
}

#dashboard .add_listing_info h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: #FEFF00;
    border-radius: 4px;
}

#dashboard .add_listing_info .form-control {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
    height: 52px;
    padding: 12px 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#dashboard .add_listing_info .form-control:focus {
    border-color: #FEFF00;
    box-shadow: 0 0 0 4px rgba(254, 255, 0, 0.2);
    background-color: #fff;
    outline: none;
}

/* Button Action Group Styling */
#dashboard .add_listing_info .btn-group-actions {
    margin-top: 30px;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 15px !important;
}

/* HEADER BUTTON: Ir a mi Taller */
#header .submit_listing .btn {
    background-color: #FEFF00;
    color: #000000;
    border: none;
    border-radius: 50px;
    padding: 8px 32px;
    font-weight: 800;
    text-transform: none;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(254, 255, 0, 0.2);
    height: auto;
}

#header .submit_listing .btn:hover {
    background-color: #E6E600;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 255, 0, 0.3);
    color: #000000;
}

#header .submit_listing .btn i {
    color: #000000;
    background: transparent;
    padding: 5px;
    border-radius: 4px;
    font-size: 16px;
}

#dashboard .add_listing_info .btn-group-actions .btn {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 700;
    text-transform: capitalize;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    margin: 0 !important;
}

/* EDIT BUTTONS: Premium Black */
#bannerLandingFormEditButton,
#infoLandingFormEditButton,
#schedulesFormEditButton {
    background-color: #111 !important;
    color: #FEFF00 !important;
}

/* SAVE BUTTONS: Signature Yellow */
#bannerLandingFormSaveButton,
#infoLandingFormSaveButton,
#schedulesFormSaveButton {
    background-color: #FEFF00 !important;
    color: #111 !important;
}

/* CANCEL BUTTONS: Neutral Gray */
#bannerLandingFormCancelButton,
#infoLandingFormCancelButton,
#schedulesFormCancelButton {
    background-color: #f1f1f1 !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
}

#dashboard .add_listing_info .btn-group-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}


/* Premium Banner Image Preview */
#dashboard #img-upload {
    width: 100%;
    max-height: 400px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    display: block;
}

/* Premium Trumbowyg Editor Styles */
#dashboard .trumbowyg-box {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

#dashboard .trumbowyg-box.trumbowyg-disabled .trumbowyg-editor {
    background-color: #f9f9f9;
    color: #bababa;
    cursor: not-allowed;
}

#dashboard .trumbowyg-box.trumbowyg-focus {
    border-color: #FEFF00;
    box-shadow: 0 0 0 4px rgba(254, 255, 0, 0.2);
}

#dashboard .trumbowyg-button-pane {
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
}

#dashboard .trumbowyg-editor {
    min-height: 200px;
    background-color: #fff;
    padding: 20px;
    color: #333;
    font-size: 15px;
}

/* Standardized Form Grid Alignment */
#dashboard .add_listing_info .row {
    margin-left: -15px;
    margin-right: -15px;
}

#dashboard .add_listing_info .row>[class*='col-'] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Premium Services Header Styling */
.premium-services-header {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    flex-wrap: wrap;
    gap: 20px;
}

.premium-header-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.premium-header-content p {
    color: #777;
    margin: 0;
    font-size: 16px;
}

#dashboard .premium-services-header .btn {
    background-color: #FEFF00;
    color: #111;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid #D9D900;
    display: inline-flex;
    align-items: center;
    height: 36px;
    width: 110px;
}

/* Premium Service List Styling */
#dashboard .dashboard-list-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
}

#dashboard .dashboard-list-box h4 {
    padding: 20px 0;
    margin: 0 0 10px 0;
    background: transparent;
    border-bottom: none;
    font-weight: 800;
    font-size: 22px;
    color: #111;
    letter-spacing: -0.5px;
}

#dashboard .dashboard-list-box,
#dashboard .dashboard-list-box ul,
#dashboard .dashboard-list-box li {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    list-style: none;
    margin: 0;
}

#dashboard .premium-service-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 25px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#dashboard .premium-service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

#dashboard .premium-service-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

#dashboard .premium-card-img {
    flex: 0 0 220px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#dashboard .premium-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#dashboard .premium-card-body {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#dashboard .premium-card-info {
    flex: 1;
    overflow-wrap: break-word;
    word-break: break-all;
}

#dashboard .premium-card-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

#dashboard .premium-service-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.6;
}

#dashboard .premium-service-meta {
    display: flex;
    gap: 25px;
    margin-top: 15px;
    color: #111;
    font-weight: 700;
    font-size: 15px;
}

#dashboard .premium-service-meta i {
    color: #111;
    margin-right: 8px;
}

#dashboard .premium-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid #dee2e6;
    display: inline-block;
    margin-bottom: 12px;
}

#dashboard .premium-card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#dashboard .premium-card-actions .btn {
    width: 110px;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 50px;
    font-weight: 800;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.5px;
    height: 36px;
    margin: 0;
}

#dashboard .premium-card-actions .editService {
    background-color: #111;
    color: #FEFF00;
    border: 1px solid #111;
}

#dashboard .premium-card-actions .btn-delete {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #dc2626;
}

#dashboard .premium-card-actions .btn-delete:hover {
    background-color: #dc2626;
    color: #fff;
}

#dashboard .premium-card-actions .editService:hover {
    background-color: #333;
    color: #FEFF00;
    border-color: #333;
}

/* Premium Modal Styling */
.premium-modal {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.premium-modal .modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 25px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premium-modal .modal-title {
    font-weight: 800;
    font-size: 26px;
    color: #111;
    margin: 0;
    letter-spacing: -0.5px;
}

.premium-modal .modal-body {
    padding: 40px;
}

.premium-modal .form-label {
    font-weight: 800;
    color: #555;
    margin-bottom: 12px;
    display: block;
    text-align: left;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.premium-modal .form-control {
    border-radius: 12px;
    padding: 12px 18px;
    border: 1px solid #eee;
    background: #f4f4f4;
    font-size: 15px;
    transition: all 0.3s ease;
    text-align: left;
    color: #111;
    font-weight: 500;
    width: 100%;
}

.premium-modal .form-control:focus {
    background: #fff;
    border-color: #FEFF00;
    box-shadow: 0 5px 20px rgba(254, 255, 0, 0.1);
    outline: none;
}

.btn-premium-save {
    background-color: #FEFF00;
    color: #111;
    border: 2px solid #D9D900;
    border-radius: 50px;
    padding: 16px 40px;
    width: 100%;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    margin-top: 20px;
}

.btn-premium-save:hover {
    background-color: #FEFF00;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(254, 255, 0, 0.3);
}

.premium-modal .btn-close,
.premium-modal .close {
    background: #111;
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    opacity: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    right: 25px;
    top: 25px;
    z-index: 10;
}

.premium-modal .close span {
    line-height: normal;
    display: block;
    margin-top: -2px;
}

.premium-modal .close:hover {
    background: #000;
    transform: rotate(90deg);
}

/* Modal Internal Layout */
#editServiceForm .input-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    width: 100%;
}

#editServiceForm .input-group-btn {
    display: block;
    flex: 0 0 auto;
}

#editServiceForm .input-group .form-control {
    flex: 1 1 auto;
    margin: 0;
    height: 42px;
    width: auto;
}

.btn-file {
    position: relative;
    overflow: hidden;
    background: #FEFF00;
    color: #111;
    border-radius: 50px;
    padding: 0 25px;
    font-weight: 800;
    border: 1px solid #D9D900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 42px;
}

.btn-file:hover {
    background: #E6E600;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

#img-upload {
    max-width: 100%;
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Premium Chips for Car Types */
.premium-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}

.premium-car-chip {
    position: relative;
}

.chip-input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.chip-label {
    display: block;
    padding: 8px 18px;
    background: #f4f4f4;
    border: 1px solid #eee;
    border-radius: 10px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    font-size: 13px;
    margin-bottom: 0 !important;
}

.chip-input:checked+.chip-label {
    background: #FEFF00;
    color: #111;
    border-color: #D9D900;
    box-shadow: 0 4px 12px rgba(254, 255, 0, 0.2);
}

.chip-label:hover {
    background: #e9e9e9;
    transform: translateY(-2px);
}

/* Center ALL Modals and Blur Background */
html body .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    margin: 0.5rem auto;
    pointer-events: none;
}

html body .modal-content {
    pointer-events: auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
    html body .modal-dialog {
        min-height: calc(100% - 3.5rem);
        margin: 1.75rem auto;
    }
}

html body .modal.fade .modal-dialog,
html body .modal.in .modal-dialog {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    transform: scale(0.9);
    opacity: 0;
}

html body .modal.show .modal-dialog,
html body .modal.in .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

html body .modal-backdrop {
    transition: all 0.2s ease-in-out;
    backdrop-filter: blur(0px);
    z-index: 1000000;
}

html body .modal-backdrop.show {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.48);
    opacity: 1;
}

html body .modal {
    z-index: 1000001;
}

html.modal-open,
body.modal-open {
    overflow: hidden;
    padding-right: 0;
}

@media (max-width: 991px) {
    .premium-service-card {
        flex-direction: column;
    }

    .premium-card-img {
        width: 100%;
        flex: 0 0 200px;
    }

    .premium-card-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .premium-card-actions {
        width: 100%;
        flex-direction: row;
    }
}


/* ==========================================================================
   PRO VERSION: PUBLIC SERVICE CARDS (MonoPiston Premium)
   ================================================= */

section#similar_listings .listing_wrap,
section#inner_pages .listing_wrap,
.lastest-salon-added .listing_wrap {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 30px;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
}

section#similar_listings .listing_wrap:hover,
section#inner_pages .listing_wrap:hover,
.lastest-salon-added .listing_wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #FEFF00;
}

section#similar_listings .listing_img,
section#inner_pages .listing_img,
.lastest-salon-added .listing_img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

section#similar_listings .listing_img img,
section#inner_pages .listing_img img,
.lastest-salon-added .listing_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

section#similar_listings .listing_wrap:hover .listing_img img,
section#inner_pages .listing_wrap:hover .listing_img img,
.lastest-salon-added .listing_wrap:hover .listing_img img {
    transform: scale(1.1);
}

section#similar_listings .listing_info,
section#inner_pages .listing_info,
.lastest-salon-added .listing_info {
    padding: 25px 25px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

section#similar_listings .post_category,
section#inner_pages .post_category,
.lastest-salon-added .post_category {
    position: absolute;
    top: -22px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: flex-start;
    z-index: 5;
}

section#similar_listings .post_category a.btn,
section#inner_pages .post_category a.btn,
.lastest-salon-added .post_category a.btn {
    background: #FEFF00;
    color: #111;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(254, 255, 0, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

section#similar_listings .listing_wrap .listing_info .post_category a.btn:hover,
section#inner_pages .listing_wrap .listing_info .post_category a.btn:hover,
.lastest-salon-added .listing_wrap .listing_info .post_category a.btn:hover {
    background: #111;
    color: #FEFF00 !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

#similar_listings .listing_info h4,
#inner_pages .listing_info h4,
.lastest-salon-added .listing_info h4 {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin: 10px 0 12px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

#similar_listings .listing_info .description,
#inner_pages .listing_info .description,
.lastest-salon-added .listing_info .description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    min-height: 4.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing_info .description p {
    margin: 0;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
    display: inline;
}

.listing_info .description p+p::before {
    content: ' ';
    display: inline;
}

#similar_listings .listing_review_info,
#inner_pages .listing_review_info,
.lastest-salon-added .listing_review_info {
    background: transparent;
    border-top: 1px solid #f0f0f0;
    padding: 15px 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto 0 0 0;
}

#similar_listings .listing_review_info p,
#inner_pages .listing_review_info p,
.lastest-salon-added .listing_review_info p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    display: flex;
    align-items: center;
    line-height: 1;
}

#similar_listings .listing_review_info p i,
#inner_pages .listing_review_info p i,
.lastest-salon-added .listing_review_info p i {
    color: #FEFF00;
    font-size: 14px;
    margin-right: 10px;
    background: #111;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

#similar_listings .listing_review_info p.listing_map_m,
#inner_pages .listing_review_info p.listing_map_m,
.lastest-salon-added .listing_review_info p.listing_map_m {
    color: #111;
    font-weight: 800;
    font-size: 16px;
}

#similar_listings .listing_review_info p.listing_map_m i,
#inner_pages .listing_review_info p.listing_map_m i,
.lastest-salon-added .listing_review_info p.listing_map_m i {
    background: #FEFF00;
    color: #111;
}

#similar_listings .section-header h2,
.lastest-salon-added .section-header h2,
.how_work .section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 15px;
}

#similar_listings .section-header h2::after,
.lastest-salon-added .section-header h2::after,
.how_work .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #FEFF00;
    border-radius: 2px;
}

/* ==========================================================================
   PREMIUM VIEW MORE MODAL (Public Page)
   ========================================================================== */

#view-more-service-modal-container .modal-content {
    background-color: #111;
    border-radius: 24px;
    border: 1px solid rgba(254, 255, 0, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

#view-more-service-modal-container .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.02);
}

#view-more-service-modal-container .modal-title {
    color: #FEFF00;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.5px;
    margin: 0;
}

#view-more-service-modal-container .close {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    opacity: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 10;
    font-size: 18px;
    line-height: 1;
}

#view-more-service-modal-container .close:hover {
    background: #FEFF00;
    color: #111;
    transform: rotate(90deg) scale(1.1);
}

#view-more-service-modal-container .modal-body {
    padding: 30px 40px 40px;
    color: #ddd;
    font-size: 15px;
    line-height: 1.8;
}

#view-more-service-modal-container .view-more-description {
    color: #bbb;
    margin-bottom: 30px;
    font-weight: 400;
}

#view-more-service-modal-container .modal-body ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

#view-more-service-modal-container .modal-body li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 10px;
}

#view-more-service-modal-container .modal-body li::before {
    content: '\f058';
    font-family: 'FontAwesome';
    color: #FEFF00;
    position: absolute;
    left: -20px;
    font-size: 16px;
}

#view-more-service-modal-container .modal-body p strong {
    color: #fff;
    display: block;
    margin: 30px 0 15px;
    font-size: 19px;
    letter-spacing: -0.3px;
    border-left: 3px solid #FEFF00;
    padding-left: 15px;
}

#view-more-service-modal-container .car-types .badge {
    background-color: #222 !important;
    color: #FEFF00 !important;
    border: 1px solid rgba(254, 255, 0, 0.2);
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-right: 12px;
    margin-bottom: 10px;
}

#view-more-service-modal-container .form-group {
    margin-top: 40px;
}

#view-more-service-modal-container a.buttonLinkReservation .btn {
    background: #FEFF00;
    color: #111;
    font-weight: 800;
    font-size: 18px;
    padding: 18px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(254, 255, 0, 0.3);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: 100%;
}

#view-more-service-modal-container a.buttonLinkReservation .btn:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
    color: #111;
}

/* --- Responsive Modal Improvements --- */

@media (min-width: 768px) {
    #view-more-service-modal-container .modal-dialog {
        max-width: 700px !important;
        margin: 1.75rem auto;
    }
}

@media (max-width: 767px) {
    #view-more-service-modal-container .modal-dialog {
        margin: 10px;
        max-width: none !important;
    }

    #view-more-service-modal-container .modal-content {
        border-radius: 16px;
    }

    #view-more-service-modal-container .modal-header {
        padding: 20px 25px;
    }

    #view-more-service-modal-container .modal-title {
        font-size: 20px;
        padding-right: 30px;
    }

    #view-more-service-modal-container .close {
        right: 15px;
        top: 15px;
        width: 32px;
        height: 32px;
    }

    #view-more-service-modal-container .modal-body {
        padding: 20px 25px 30px;
    }

    #view-more-service-modal-container .modal-body p strong {
        font-size: 17px;
        margin-top: 25px;
    }

    #view-more-service-modal-container .car-types .badge {
        padding: 8px 14px;
        font-size: 11px;
    }

    #view-more-service-modal-container a.buttonLinkReservation .btn {
        padding: 15px;
        font-size: 16px;
    }
}

/* Glassmorphism Backdrop */
.modal-backdrop.show {
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.7);
}

/* --- Service Card Brand Chips --- */

.listing_marcas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 5px 0 20px 0;
}

.listing_marcas span {
    background: #111;
    color: #FEFF00;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(254, 255, 0, 0.2);
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    cursor: default;
}

.listing_wrap:hover .listing_marcas span {
    border-color: #FEFF00;
    box-shadow: 0 4px 12px rgba(254, 255, 0, 0.2);
}

/* --- Counter for excess brands --- */
.listing_marcas span.more-brands {
    background: #FEFF00;
    color: #111;
    border-color: #FEFF00;
}

/* --- Force Single Row for Brand Chips --- */
.listing_marcas {
    display: flex;
    flex-wrap: nowrap !important;
    overflow: hidden;
    position: relative;
    padding-bottom: 2px;
    margin: 15px 0 20px 0;
    min-height: 30px;
    /* Ensure space is reserved even if empty */
}

.listing_marcas span {
    flex: 0 0 auto;
    /* Prevent shrinking */
}

/* --- Mobile Brand Optimization --- */
@media (max-width: 767px) {
    .listing_marcas {
        min-height: 28px;
    }

    .listing_marcas span {
        padding: 8px 10px;
        font-size: 9px;
    }
}

/* Search Result Card Customizations */
/* Global Card Typography and Truncation - Final Grid Alignment */
.listing_wrap .listing_info h4,
.listing_wrap .listing_info h4.view-more-element,
.listing_wrap .listing_info h4 a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 8px 0;
    max-width: 100%;
    display: block;
    height: 100%;
}

.listing_wrap .listing_info .description,
.listing_wrap .listing_info .description.view-more-element {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Balanced 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 75px;
    /* Mandated height for grid stability */
    margin-bottom: 12px;
    white-space: normal;
}

.listing_info .salon_provider {
    margin-bottom: 8px;
    /* Tighter spacing */
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.listing_info .salon_provider a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.listing_info .salon_provider a:hover {
    color: #000;
}

.listing_info .salon_provider a:hover i {
    color: #FEFF00;
}

/* =========================================================================
   HOW IT WORKS - PREMIUM LIGHT MODE (MonoPiston Aesthetic)
   ========================================================================= */

.how_work {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.how_work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(254, 255, 0, 0.4), transparent);
}

.how_work .section-header {
    margin-bottom: 15px;
}

.how_work .section-header h2 {
    color: #111111;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.how_work .section-header p {
    color: #555555;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

.how_work .section-header p strong {
    color: #111111;
    font-weight: 600;
}

.how_work .work_step {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.how_work .work_step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #FEFF00;
    transition: width 0.4s ease;
}

.how_work .work_step:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.how_work .work_step:hover::after {
    width: 80px;
}

.how_work .work_step .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    min-width: 80px;
    max-width: 80px;
    min-height: 80px;
    max-height: 80px;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    padding: 0;
    box-sizing: border-box;
    background: #f4f4f4;
    color: #111111;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    font-size: 0;
    line-height: 1;
    overflow: hidden;
    flex-shrink: 0;
}

/* Explicitly targeting the i tag to bypass inline font-size without using !important */
.how_work .work_step .icon i {
    transition: all 0.4s ease;
}

.how_work .work_step:hover .icon {
    background: #111111;
    color: #FEFF00;
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.how_work .work_step h4 {
    color: #111111;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.how_work .work_step p {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.how_work .work_step p strong {
    color: #111111;
    font-weight: 600;
}

@media (max-width: 768px) {
    .how_work .work_step {
        margin-bottom: 30px;
    }

    .how_work .row {
        gap: 16px;
    }

    .how_work .section-header {
        margin-bottom: 0;
    }
}

/* =========================================================================
   PREMIUM SUB HEADING LIGHT MODE (MonoPiston Aesthetic)
   ========================================================================= */

.container .sub_heading {
    text-align: center;
    padding: 60px 40px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    margin: 20px auto 40px;
    transition: all 0.4s ease;
}

.container .sub_heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FEFF00, transparent);
    opacity: 1;
}

.container .sub_heading p {
    font-size: 28px;
    line-height: 1.4;
    margin: 0 auto 40px;
    color: #111111;
    font-weight: 400;
    max-width: 900px;
    letter-spacing: -0.5px;
}

.container .sub_heading p strong {
    font-weight: 700;
    color: #111111;
}

.container .sub_heading .btn {
    background: #FEFF00;
    color: #111111;
    font-weight: 800;
    padding: 16px 45px;
    border-radius: 50px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px rgba(254, 255, 0, 0.4);
    display: inline-block;
}

.container .sub_heading .btn:hover {
    background: #111111;
    color: #FEFF00;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .container .sub_heading {
        padding: 40px 25px;
        margin-top: 10px;
    }

    .container .sub_heading p {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .container .sub_heading .btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    body #listing_banner {
        padding: 100px 0 20px;
        /* Reduced to match new compact top nav */
    }
}