/*header*/
header.header_in.mm-slideout.sticky {
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid #ededed;
    background-color: #fff;
    padding: 15px 20px;
    position: fixed;
}

/*general - button style*/
.loc_open {
    font-size: 11px;
    padding: 10px;
    border-radius: 5px;

    a {
        color: #32a067;
    }
}

.strip ul .loc_open .fa, .strip ul .loc_close .fa {
    font-size: 11px;
    top: 0;
}

.loc_close {
    font-size: 11px;
    padding: 10px;
    border-radius: 5px;
    background: #32a067;
    font-weight: 600;

    a {
        color: #fff;
    }
} 

/* Header Image Aspect Ratio Fix */
.hero_in.restaurant_detail {
    max-height: none !important;
    height: auto !important;
}

.hero_in.restaurant_detail .wrapper {
    height: auto !important;
    padding-bottom: 28.6458%; /* 750/1920 * 100 = 39.0625% - maintains 1920x750 aspect ratio */
    position: relative;
    background-color: #f5f5f5;
}

.hero_in.restaurant_detail .wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from contain to cover to fill the container */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero_in.restaurant_detail .wrapper {
        padding-bottom: 45%; /* Slightly taller on smaller screens */
    }
}

@media (max-width: 768px) {
    .hero_in.restaurant_detail .wrapper {
        padding-bottom: 56.25%; /* 16:9 ratio on mobile for better viewing */
    }
}

.info_phone {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Make the ul take full width */
    box-sizing: border-box;

    li {
        width: 100%; /* Ensure li takes full width */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .loc_close_phone {
        display: block;
        width: 100%; /* Make the span take full width */
        text-align: center; /* Center text inside the span */
        background: #004dda;
    }
}

/*Product/Category title  - after breadcrumbs*/
.inn-page-bg {
    padding-top: 15px;
    padding-bottom: 15px;

    .category-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
        padding: 10px 25px;
        background: #fff;
        border-radius: 3px;
        margin-bottom: 15px;
    }

    .category-title {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    h3 {
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .category-title small {
        color: #fff;
        background: #004dda;
        padding: 5px;
        border-radius: 3px;
        font-size: 16px;
    }

}

.inn-pag-ban {
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 5px;
    padding-top: 15px;
    background: #fff;

    h5 {
        color: #000;
        margin-top: 15px;
    }

    h2 {
        color: #004dda;
    }

    p {
        margin-bottom: 10px;
    }
}

#sidebar {
    .nice-select {
        width: 100%;
        word-wrap: break-word;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .nice-select .list {
        max-width: 100%;
        word-wrap: break-word;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .nice-select .option {
        max-width: 100%;
        word-wrap: break-word;
        white-space: normal;
        overflow-wrap: break-word;
        line-height: 1.5;
        padding: 5px 10px;
        border-bottom: 1px solid #ccc;
    }

    img {
        width: 100%;
    }
}

#home {
    .hero_single.version_2 {
        background: url('../images/banner2.jpg') center center no-repeat;
        background-size: cover;
    }

    /* Latest search results dropdown */

    .latest-searches {
        display: none; /* Hidden by default */
        position: absolute;
        width: 100%;
        background: #fff;
        border: 1px solid #dfe1e5;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-top: 5px;
        z-index: 1000;
    }

    /* List styles */

    .latest-search-list {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .latest-search-list li {
        padding: 10px;
        border-bottom: 1px solid #dfe1e5;
        transition: background 0.3s;
    }

    .latest-search-list li:last-child {
        border-bottom: none;
    }

    /* Link styling */

    .latestWhat {
        text-decoration: none;
        color: #1a0dab;
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    /* Search icon */

    .icon-search {
        color: #5f6368;
        font-size: 16px;
        margin-right: 8px;
    }

    /* Hover effect */

    .latest-search-list li:hover {
        background: #f8f9fa;
        cursor: pointer;
    }

    .custom-search-input-2 input[type='submit'] {
        background-color: #FFC107;
        color: #222;
    }

    .custom-search-input-2 input[type='submit']:hover {
        background-color: #004dda;
        color: #fff;
    }

    body:has(input:not(:focus)) .latest-searches {
        display: none;
    }

    .custom-search-input-2 input {
        border: 0;
    }
}

.header {
    #menu.main-menu ul,
    #menu.main-menu ul li,
    #menu.main-menu ul li span {
        display: flex;
        align-items: center;
    }

    /* Input field styling */

    .form-group {
        position: relative;
    }

    .main-menu > ul > li span > a.phone {
        padding-left: 0;
    }

    #top_menu {
        .btn_add {
            display: flex;

            .contact {
                margin-left: 5px;
            }
        }
    }
}

.mm-page {
    .call_section .wrapper {
        background-color: rgba(37, 61, 82, 0.7);
    }
}

@media (max-width: 767px) {
    #home {
        .hero_single.version_2 {
            height: 320px;
        }
    }

    .header {
        #top_menu {
            margin: 0;

            li {
                margin: 0;

                .btn_add {
                    display: block;

                    .contact {
                        display: none;
                    }
                }
            }
        }
    }

    .header_in {
        .contact {
            display: none;
        }
    }

    .proj {
        ul.clearfix {
            flex-direction: column;
            width: 100%;
            padding: 0;

            li {
                width: auto;
                border-bottom: 1px solid #d2d8dd;
                padding: 10px 0;
                box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.07);

                .fa {
                    margin-top: 10px;
                    padding-bottom: 10px;
                }
            }

            h4 {
                font-size: 18px;
            }

            p {
                font-size: 14px;
            }
        }
    }

    .category-wrapper {
        #category {
            .strip {
                margin-bottom: 0;
            }
        }
    }

    #offer, #product {
        ul {
            display: flex;
            flex-direction: column;
            margin-bottom: 0;

            li {
                border: 1px solid #32a067;
                text-align: center;
                margin-bottom: 10px;
                margin-right: 0;
                padding: 5px;
            }
        }
    }
}

#page {
    header.header_in {
        padding: 20px 30px;
        z-index: 999 !important;

        #top_menu {
            .btn_add {
                display: flex;

                .contact {
                    margin-left: 5px;
                }
            }
        }

    }

    #menu.main-menu ul,
    #menu.main-menu ul li,
    #menu.main-menu ul li span {
        display: flex;
        align-items: center;
    }

    .custom-search-input-2.inner input[type='submit'] {
        text-indent: 0;
    }

    .custom-search-input-2.inner input {
        border: 0;
    }
}

.proj {
    .main_categories {
        ul {
            display: flex;
            justify-content: space-between;

            li {
                flex: 1;

                .fa {
                    font-size: 26px;
                    color: #004dda;
                    padding-bottom: 10px;
                    margin-top: 5px;
                }

                p {
                    margin: 0;

                    .btn_1 {
                        margin-top: 15px;
                        display: inline-block;
                        width: auto;
                    }
                }
            }
        }
    }
}

.footer {
    background: #fff;

    h3 {
        font-weight: bold;
    }

    #logo-footer {
        width: 50%;
    }

    .subscribe-wrapper {
        margin-bottom: 0;
        margin-top: 16px;
    }

    .newsletter {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;

        .newletter-left {
            flex: 1;
            padding-right: 20px;

            h4 {
                color: #004dda;
                font-weight: bold;
                padding-top: 15px;
                font-size: 30px;
            }

            p {
                margin-bottom: 0;
            }

        }

        .newletter-right a {
            text-decoration: none;
            color: #000;
            font-weight: bold;
            display: flex;
            align-items: center;
        }

        .newletter-right a i {
            margin-right: 8px; /* Space between icon and text */
        }

        .newsletter-form {
            background-color: rgb(255, 255, 255);
            margin-top: 10px;
            box-shadow: rgba(0, 0, 0, 0.3) 0 0 30px 0;
            border-radius: 5px;
            display: flex;
        }

        input {
            border-top-style: initial;
            border-bottom-style: initial;
            border-left-style: initial;
            border-top-color: initial;
            border-bottom-color: initial;
            border-left-color: initial;
            height: 50px;
            padding-left: 15px;
            font-weight: 500;
            border-width: 0 1px 0 0;
            border-image: initial;
            border-right: 1px solid rgb(210, 216, 221);
        }

        i {
            font-size: 1.125rem;
            position: absolute;
            background-color: rgb(255, 255, 255);
            line-height: 50px;
            top: 1px;
            right: 1px;
            padding-right: 15px;
            display: block;
            width: 20px;
            box-sizing: content-box;
            height: 48px;
            z-index: 9;
            color: rgb(153, 153, 153);
            border-radius: 3px;
        }

        .form-group {
            margin-bottom: 0;

            .btn_add {
                width: 100%;
                position: initial;
            }
        }
    }

    .row.newsletter > * {
        width: auto !important;
    }

    hr {
        margin: 15px 0;
    }

    .text-center {
        margin-top: 0;
    }

    .footer-sitemap-wrapper {
        .footer-sitemap-2 {
            display: flex;
        }
    }

    .footer-info-links-wrapper {
        padding-bottom: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin: 0 auto;

        .text-left {
            text-align: left;
            flex: 1;
            margin-bottom: 0;
            padding: 0;
        }

        .text-right {
            text-align: right;
            flex: 1;
            margin-bottom: 0;
            padding: 0;
        }
    }

    .links {
        a {
            color: #555;
        }

        a:hover {
            color: #004dda;
        }
    }
}

@media (max-width: 991px) {
    .footer {
        .container {
            .footer-info-links-wrapper {
                display: flex;
                flex-direction: column;
                text-align: center;
            }

            .footer-info-links-wrapper p {
                width: 100%;
                margin-bottom: 10px !important;
                text-align: center;
                padding-bottom: 0;
            }
        }

        .newsletter {
            flex-direction: column;

            .newletter-right {
                width: 100%;

                .newsletter-form {
                    flex-direction: column;

                    .btn_add {
                        display: block;
                    }
                }
            }

            input {
                border-bottom: 1px solid #ddd;
            }
        }
    }
}

/*BEST THINGS*/
@media (max-width: 991px) {
    .container.margin_80_55 {
        .news-item {
            border-bottom: 1px solid #ddd;
            margin-bottom: 15px;

            .box_news {
                margin-bottom: 0;

                p {
                    margin-bottom: 0;

                }
            }
        }
    }

    #page {
        header.header_in {
            padding: 20px 0px;
        }

        #top_menu .btn_add {
            padding: 8px 15px !important;
        }

        .custom-search-input-2.inner input {
            border-radius: unset;
        }
    }
}


/*Contact-page*/
.contact {
    .map-image {
        width: 100%;
        height: 450px;
        object-fit: cover;
    }

    @media (max-width: 991px) {
        .map-image {
            height: 350px;
        }
    }

    #contactform {
        .nice-select {
            z-index: 1;
            border: 1px solid #d2d8dd;
        }

        .btn_1 {
            color: #fff;
        }

        .recaptcha {
            padding: 0;
        }
    }
    .business_phone.loc_open{
        display: inline-block;
        font-size: 15px;
    }
}

/*search result page*/
.search-result-page {
    .margin_60_35 {
        padding-top: 30px;
    }

    .business-wrapper, .offer-wrapper, .product-wrapper, .category-wrapper {
        .strip.grid {
            display: flex;
            height: 100%;
            margin-bottom: 0;

            ul {
                display: flex;
                justify-content: space-between;
                max-width: 100%;
                margin: unset;
                gap: 5px;
            }

            p, .address {
                margin-bottom: 0;
                font-size: 14px;
            }

            small {
                color: #555;
            }

            img {
                width: 100%;
            }
        }

        .label-warning {
            background-color: #FFC107;
            color: #fff;
            border-radius: 3px;
        }
    }

    .strip ul li:first-child {
        margin-top: 0;
    }

    .strip ul li {
        margin-right: 0;
    }

    .category-list {
        flex-direction: row;
        vertical-align: middle;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 10px;

        i.fa.fa-list {
            color: #004dda;
        }

        h5 {
            margin-bottom: 0;
        }

        a {
            vertical-align: middle;
            display: flex;
            align-items: center;
            font-size: 14px;
        }
    }

    .category-wrapper {
        a {
            color: #555;
            font-size: 14px;
            padding: 10px;
        }

        a:hover {
            color: #004dda;
        }

        .fa-check-circle {
            color: #32a067;
        }
    }
    .kWord {
    cursor: pointer;
    }
}

div.section-hidden {
    display: none;
}

/*product-page*/
.product, .offer, .sub-category {
    .product-item, .offer-item, .sub-category-item {
        justify-content: space-between;
        height: 100%;

        img {
            width: 100%;
            position: absolute;
            left: 50%;
            top: 50%;
            -webkit-transform: translate(-50%, -50%) scale(1);
            -moz-transform: translate(-50%, -50%) scale(1);
            -ms-transform: translate(-50%, -50%) scale(1);
            -o-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
            -webkit-backface-visibility: hidden;
            -moz-backface-visibility: hidden;
            -ms-backface-visibility: hidden;
            -o-backface-visibility: hidden;
            backface-visibility: hidden;
            width: 100%;
            -moz-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            -webkit-transition: all 0.3s ease-in-out;
            -ms-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }
        .no-logo-placeholder{
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 3px;
            z-index: 1;
        }
        .info{
            position: absolute;
            width: 100%;
            z-index: 9;
            display: block;
            padding: 150px 25px 10px 25px;
            color: #fff;
            left: 0;
            bottom: 0;
            background: transparent;
            background: -webkit-linear-gradient(top, transparent, #000);
            background: linear-gradient(to bottom, transparent, #000);
            box-sizing: border-box;
        }

        small a {
            color: #555;
        }

    }

    ul {
        margin-bottom: 0;
    }

    .buttons li a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;

    }

    .strip ul li:first-child i {
        top: 0;
    }

    .loc_open {
        font-size: 9px;
    }

    .product-description, .offer-description{
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-description > *:not(p) {
        display: none; /* Hide everything except <p> */
    }
    .offer-description > *:not(p) {
        display: none; /* Hide everything except <p> */
    }
}

#left-filter_form, #right-filter_form {
    .container_check {
        padding-left: 0;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        position: relative;
        max-width: 100%;
    }

    span.radio {
        width: 20px;
        height: 20px;
        border: 2px solid #ccc;
        border-radius: 50%;
        display: inline-block;
        position: relative;
        margin-right: 10px;
        vertical-align: middle;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    /* When the radio button is checked, add styles */

    input[type="radio"]:checked + .radio {
        background-color: #007bff; /* Color when selected */
        border-color: #007bff;
    }


    /* Hover effect for radio button */

    .radio:hover {
        border-color: #007bff;
    }
}


/*category-page*/
.allCatPage {
    .all-categories-wrapper {
        margin-bottom: 20px;

        .strip.grid {
            display: flex;
            height: 100%;
            margin-bottom: 0;
        }
    }

    a.grid_item figure img {
        width: 100%;
    }

    a.grid_item, p {
        margin-bottom: 0;
        /*border-radius: 10px;*/
    }

    summary {
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        padding: 10px 25px;
        outline: none;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    summary::after {
        content: "\25BC"; /* Down arrow */
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    details[open] summary::after {
        content: "\25B2"; /* Up arrow */
    }

    details[open] p {
        display: block;
        padding: 10px 25px;
        line-height: 24px;
        font-size: 11px;
    }

    details > summary::marker {
        content: "";
    }

    .label {
        background-color: #777;
        color: #fff;
        border-radius: .25em;
        padding: 1px 5px;
        white-space: nowrap;
    }

    #category-filter-form {
        margin: 0;
        border: 1px solid #ddd;
    }

    #category-filter-form ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .dropdown-wrapper {
        min-width: 200px;
    }

    #category-select {
        width: 100%;
        padding: 5px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .nice-select {
        padding-right: 35px;
        width: 100%;

        li.option {
            max-width: 100%;
            word-wrap: break-word;
            white-space: normal;
            overflow-wrap: break-word;
            line-height: 1.5;
            border-bottom: 1px solid #ccc;
            display: flex;
            align-items: center;
        }
        span.current{
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
    }

    h6 {
        margin-bottom: 0;
    }

    #category-filter-form {
        position: relative;
        width: 300px; /* Adjust width as needed */
    }

    .dropdown-wrapper {
        width: 100%;
    }

    .col-lg-12, .col-lg-4 {
        margin-bottom: 15px;
    }

    a.grid_item .info small {
        border-radius: 5px;
        font-size: 12px;
    }

    .main-image a.grid_item figure img {
        background-size: cover;
        width: 100%;
    }
}

@media (max-width: 991px) {
    .allCatPage {
        .category-container {
            flex-direction: column;
            gap: 10px;
        }

        #category-filter-form {
            width: 100%;
        }
    }
}

.businessDetails, .offerDetails, .productDetails, .news {
    .left-side {
        .item {
            width: 100%;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .item img {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }
    }

    .logo-wrapper {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        border: 1px solid #ddd;
    }

    ul.magnific-gallery, ul.gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }

    .grid-gallery ul li, ul.gallery ul li {

        background: none;

        figure img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
        }
    }

    .grid-gallery ul li:not(:has(img)) {
        background-color: unset;
    }

    .box_detail {
        .box_button {
            margin-top: 15px;
            align-items: center;
            justify-content: center;
        }

        .list-pg-inn-sp {
            .bd_domain {
                p {
                    color: #333;
                    margin-bottom: 10px;
                }

                p:hover {
                    color: #004dda;
                }
            }
        }
        .list-number{
            li{
                font-size: 16px;
            }
            li.business_phone{
                display: inline-flex;
            }
        }
    }

    .offers-section {
        margin-top: 20px;


        .section-header {
            margin-bottom: 20px;
        }

        .section-header h3 {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .see-all {
            text-transform: lowercase;
            font-size: 14px;
            text-decoration: underline;
        }

        .offers-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .offer-card {
            flex: 1 1 calc(33.333% - 20px);
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }

        .offer-card a {
            display: block;
            text-decoration: none;
            color: inherit;
        }

        .offer-image {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 66.66%; /* 3:2 aspect ratio */
            overflow: hidden;
        }

        .offer-image img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .offer-title {
            position: absolute;
            bottom: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 10px;
            box-sizing: border-box;
        }

        .offer-title h4 {
            margin: 0;
            font-size: 16px;
            color: #fff;
        }
    }

    .grid-gallery ul li {
        background-color: #fff;

        figure {
            background-color: #fff;

            img {
                border-bottom: 1px solid #ddd;
                margin-bottom: 10px;
            }

            p {
                padding: 5px;
            }
        }
    }

    .product-image, .offer-image {
        width: 100%;
        height: 400px;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        background-color: rgb(0 0 0 / 10%);
        display: flex;
        justify-content: center;
        img {
            height: 100%;
            object-position: center;
        }
    }

    .theiaStickySidebar{
        word-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }

    .business_phone.loc_open{
        font-size: 15px;
        display: inline-block;
    }

    .hero_in.restaurant_detail{
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        background-color: rgb(0 0 0 / 10%);
    }
}


@media (max-width: 767px) {
    .businessDetails .hero_in.restaurant_detail .wrapper img {
        padding: 15px;
    }
}


.offerDetails .list-pg-inn-sp p,
.productDetails .list-pg-inn-sp p {
    margin-bottom: 5px;
}

/* Desktop: 4 items per row (4x2 grid for 8 photos) */
@media (min-width: 1024px) {
    .grid-gallery ul li {
        width: calc(25% - 30px);
    }
}

/* Tablet: 2  per row */
@media (min-width: 600px) and (max-width: 1023px) {
    .grid-gallery ul li {
        width: calc(50% - 10px);
    }
}

/* Mobile: 1 item per row */
@media (max-width: 599px) {
    .grid-gallery ul li {
        width: 100%;
    }

    .about_us {
        .about_us_container {
            .items-row {
                grid-template-columns: 1fr;
            }
        }
    }

}


@media (max-width: 991px) {
    #page {
        .custom-search-input-2.inner input[type='submit'] {

            margin-top: 40px;
        }
    }

    .custom-search-input-2.inner {
        margin: 0 0 35px 0;
    }
}

.right-side-list {
    .strip .wrapper {
        padding: 10px 25px 10px 25px;

        span.label.label-default.kWord {
            font-size: 11px;
            display: contents;
        }
    }

    ul {
        gap: 5px;
        justify-content: space-between;
        align-items: center;
        width: 100%;

        li {
            margin-right: 0;
            display: flex;
        }
    }

    .pagination {
        display: flex;
    }

}

.counties_grid_item {
    display: block;
    margin-bottom: 30px;
    border-radius: 3px;
    overflow: hidden;
    height: 200px;
}

.background-white {
    background: #fff;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    border-radius: 5px;
    padding: 15px 5px 15px 25px;

    .termsText {
        list-style-type: none;
        padding-left: 20px;
        margin-bottom: 0;
    }

    .termsText::before {
        content: '•'; /* You can change this to any symbol */
        color: #333; /* Change color as needed */
        margin-right: 10px;
        font-weight: bold;
    }

    ul {
        margin-bottom: 10px;
    }

    li {
        margin-bottom: 10px;
        list-style: circle;
        margin-left: 50px;

    }

    .termsH4 {
        margin-top: 8px;
    }
}

/*About us page*/
.about_us {
    .inn-pag-ban {
        padding-bottom: 15px;
    }

    .about_us_container {
        margin-top: 15px;
    }

    .clearfix.about_us_section {
        background-color: #fff;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        border-radius: 3px;
        -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 15px 0;
        width: 90%;
        margin: auto;

        .header-row {
            text-align: center;
            margin-bottom: 20px;
        }

        .items-row {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
            margin: 0 20px;

            .item {
                display: inline-block;
                float: left;
                border-right: 1px solid #d2d8dd;
                padding: 10px 0;
                text-align: center;
                display: flex;
                flex-direction: column;
                justify-content: center;

                span {
                    font-size: 25px;
                    color: #004dda;
                }
            }
        }
    }

    .box_feat {
        li {
            display: flex;
        }
    }

    .about_second_section {
        display: flex;
    }

    p {
        text-align: justify;
        padding-left: 20px;
    }
}


@media (max-width: 992px) {
    .about_us .clearfix.about_us_section .items-row {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .about_us .clearfix.about_us_section .items-row {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }
}

@media (max-width: 576px) {
    .about_us .clearfix.about_us_section .items-row {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }
}
.pagination.list-pagenat {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1px;
    max-width: 100%;

    li {
        display: inline-block;
        margin: 1px;
        width: auto;

    }

    a {
        outline: none;
        position: relative;
        transition: all 170ms linear;
        display: block;
        text-align: center;
        padding: 0;
        line-height: 30px;
    }
}

li.waves-effect.active {
    background-color: #ee6e73;
    list-style-type: none;
    align-content: center;
    display: inline-block;
    padding: 0;
    border-radius: 2px;
    text-align: center;
    vertical-align: middle;
    height: 30px;
    position: relative;
    cursor: pointer;
    overflow: hidden;

    a {
        outline: none;
        position: relative;
        transition: all 170ms linear;
        color: #fff;
        display: inline-block;
        /*font-size: 1.2rem;*/
        padding: 0 10px;
        line-height: 30px;
    }
}


.product-buttons {
    ul {
        border: 0;
        padding: 15px;
    }

    .loc_close, .loc_open {
        a {
            display: inline-block;
            width: 90%;
            text-align: center;
        }
    }
}

/*articole*/
.news {
    .singlepost, .page-blog {
        background-color: #fff;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        border-radius: 3px;
        padding: 30px 30px 1px 30px;
        margin-bottom: 25px;
        -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1)
    }

    .singlepost figure {
        margin: -30px -30px 30px -30px

    }

    .singlepost figure .img-fluid {
        width: 100%;
        max-height: 350px;
        object-fit: cover;
        display: block;

    }

    .singlepost h1 {
        font-size: 28px;
        font-size: 1.75rem
    }

    @media (max-width: 767px) {
        .singlepost h1 {
            font-size: 21px;
            font-size: 1.3125rem
        }
    }

    .singlepost p, .page-blog p {
        line-height: 1.8;
        margin-bottom: 0;
    }

    .postmeta {
        padding-bottom: 10px
    }

    .postmeta ul {
        padding: 0;
        margin: 0;
        margin-bottom: 10px
    }

    .postmeta ul li {
        display: inline-block;
        margin: 0 15px 5px 0
    }

    .postmeta ul li a {
        color: #777
    }

    .postmeta ul li a:hover {
        color: #004dda
    }

    .dropcaps p:first-child::first-letter {
        color: #fff;
        background-color: #004dda;
        float: left;
        font-size: 64px;
        font-size: 4rem;
        line-height: 1;
        margin: 10px 15px 0 0 !important;
        padding: 12px
    }


    .alignleft {
        float: left;
        margin: 0 15px 10px 0;
        width: 80px;
        height: 80px;
        overflow: hidden;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        border-radius: 3px;
        position: relative
    }

    .alignleft img {
        width: auto;
        height: 80px;
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%)
    }

    .comments-list {
        padding: 0;
        list-style: none
    }

    .comments-list h3 {
        font-size: 14px;
        padding: 0 0 0;
        margin-bottom: 0;
        margin-top: 5px;
        text-transform: capitalize;
        letter-spacing: 0
    }

    .comments-list h3 a {
        color: #555
    }

    .comments-list h3 a:hover {
        color: #004dda
    }

    .comments-list li {
        margin-bottom: 10px;
        display: table;
        width: 100%
    }

    .comments-list li:last-child {
        margin-bottom: 0
    }

    .comments-list small {
        color: #555
    }


    .widget-title {
        padding: 15px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid #ddd
    }

    .widget-title h4 {
        padding: 0;
        margin: 0;
        font-weight: 500;
        line-height: 1;
        font-size: 16px;
        font-size: 1rem
    }

    .widget {
        position: relative;
        display: block;
        margin-bottom: 15px
    }
}


/*admin*/
#form {
    .input-field.col {
        .nice-select {
            width: 100%;
            margin-bottom: 15px;

            .list {
                width: 100%;
                padding-left: 15px;
            }
        }
    }

    .btn_add {
        background: #004dda;
    }
}
.tz-3{
    .pglist-p3.pglist-bg.pglist-p-com{
        display: flex;
        flex-direction: column;
        align-items: center;
        .pg-list-user-pro{
            background-color: #FFC107;
            width: 100%;
            text-align: center;
            padding: 20px 0;
            height: 50px;
            margin-bottom: 30px;
        }
    }
}
.tz-2{
    .tz-2-com{
        .ck-editor__main {
            .ck-editor__editable.ck-rounded-corners {
                background: #fff;
            }
        }
        /*#form{*/
        /*    label[for="description"], #description{*/
        /*        display: none;*/
        /*    }*/
        /*}*/
    }

    .dir-pa-sp-top{
        .of{
            .list-mig-lc-img{
                img{
                    max-width: 100%;
                    max-height: 150px;
                    background-size: cover;
                }
            }
        }
    }

}

/*order-page*/
.con-com.order-con {
    max-width: 100%;
    overflow: hidden;

    .cover-order {
        img {
            max-width: 100%;
        }
    }
}
#toast-container {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column-reverse; /* newest at the bottom */
    gap: 0.5rem;
    z-index: 1060;
}

.toast {
    min-width: 250px;
    opacity: 1; /* make sure they're visible */
    display: block; /* override .hide from Bootstrap if needed */
}

/* Contact Form Styles */
#message-contact {
    margin-bottom: 20px;
}

#message-contact.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

#message-contact.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

#message-contact.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

#message-contact strong {
    font-weight: bold;
}

#message-contact ul {
    margin: 10px 0 0 20px;
    padding: 0;
    list-style-type: disc;
}

#message-contact ul li {
    margin-bottom: 5px;
}

/* Form validation styles */
#contactform input.error,
#contactform textarea.error {
    border-color: #a94442;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(169,68,66,.6);
}

#contactform input.error:focus,
#contactform textarea.error:focus {
    border-color: #843534;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(169,68,66,.6);
}

/* Loading state for submit button */
#submit-contact:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* AI Generation Buttons and Form Sections */
.ai-generate-btn {
    background-color: #4CAF50 !important;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    width: 100%;
    max-width: 300px;
}

.ai-generate-btn:hover:not(:disabled) {
    background-color: #45a049 !important;
}

.ai-generate-btn:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed;
}

.btn-loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Hourglass animation - CSS spinner */
.hourglass {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    border: 2px solid #ffffff;
    border-top: 2px solid #4CAF50;
    border-right: 2px solid #4CAF50;
    border-radius: 50%;
    animation: hourglass-spin 1s linear infinite;
}

@keyframes hourglass-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fallback emoji animation if needed */
.hourglass-emoji {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    animation: hourglass-spin 1s linear infinite;
    transform-origin: center;
    font-size: 16px;
}

.hourglass-emoji::before {
    content: "⏳";
}

/* AI Message styling */
#ai-message-container {
    position: relative;
    z-index: 1000;
    background-color: #4CAF50;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 20px 0;
}

#ai-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 0;
    border: 1px solid;
    background: inherit;
}

/* Add spacing for form sections */
.ai-button-wrapper {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.description-section {
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.keywords-section {
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.form-section {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* Admin form AI button styles (override for business admin forms) */
#form .ai-generate-btn {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    width: auto;
    max-width: none;
}

/* Products / Offers: items beyond the first 6, revealed by the "Vezi toate cele X" button.
   !important is required because product cards carry Bootstrap's .d-flex (display:flex !important). */
.hidden-extra {
    display: none !important;
}
