.bestSellingCusineImage {
    height: 264px;
    object-fit: cover;
}

.bestSellingRestaurantsImage {
    height: 146px;
    object-fit: cover;
}

.iconSearch{
    height: 30px !important;
    width: 30px !important;
}

@media (max-width: 500px) {
    .bestSellingCusineImage {
        height: 180px;
    }

    .bestSellingRestaurantsImage {
        height: 146px;
        object-fit: cover;
    }
}

.table-action .button {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
}

.table-action .fa-eye {
    background-color: #008BBA;
    -webkit-box-shadow: 0px 6px 10px rgba(0, 139, 186, 0.24);
    box-shadow: 0px 6px 10px rgba(0, 139, 186, 0.24);
}

.table-action .fa-circle-exclamation {
    background-color: #FB4E4E;
    -webkit-box-shadow: 0px 6px 10px rgba(251, 78, 78, 0.24);
    box-shadow: 0px 6px 10px rgba(251, 78, 78, 0.24);
}

.badge-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: capitalize;
}

.badge-text.yellow {
    color: #E89806;
    background-color: #FFF4DA;
}

.badge-text.green {
    color: #1AB759;
    background-color: #E2FFEE;
}

.badge-text.blue {
    color: #008BBA;
    background-color: #E2F8FF;
}

.badge-text.red {
    color: #E93C3C;
    background-color: #FFECEC;
}

.badge-text.orange {
    color: #FFA500;
    background-color: rgba(255, 166, 0, 0.12);
}

.badge-text.violet {
    color: #7F00FF;
    background-color: rgba(128, 0, 255, 0.12);
}

.badge-text.maroon {
    color: #800000;
    background-color: rgba(128, 0, 0, 0.12);
}

.order-box.status .order-box-item b {
    width: 130px;
}

.order-table-item dt {
    white-space: normal;
}


/* For menu fixing  */
.fixed {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
    background-color: var(--white);
}

.header.active {
    -webkit-box-shadow: 0px 12px 25px 0px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 12px 25px 0px rgba(0, 0, 0, 0.06);
}

.heder-padding {
    padding-bottom: 70px;
}

@media (max-width: 767px) {
    .heder-padding {
        padding-bottom: 60px;
    }
}

.restturnt {
    min-height: 205px;
    object-fit: cover;
}


.booking-confirmation-page {
    text-align: center;
    padding: 40px 0
}

.booking-confirmation-page i {
    color: #23b35f;
    font-size: 100px
}

.booking-confirmation-page h2 {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: -.5px;
    margin-bottom: 15px;
    display: block
}

.booking-confirmation-page p {
    font-size: 20px;
    display: block
}

.booking-confirmation-page a.button:before {
    display: none
}

.booking-confirmation-page a.button {
    padding: 11px 35px;
    background-color: #eee;
    color: #444;
    font-weight: 600;
    font-size: 16px
}

.book-now.button {
    padding: 9px;
    margin-bottom: -4px
}

@media (max-width:991px) {
    .booking-confirmation-page i {
        font-size: 100px
    }

    .booking-confirmation-page p {
        font-size: 18px
    }

    .booking-confirmation-page h2 {
        font-size: 30px
    }
}

.custom-map {
    width: 100%;
    min-height: 300px;
}

.banner-search {
    /* box-shadow: 0px 6px 32px rgba(237, 32, 73, 0.12); */
    box-shadow: 0px 6px 32px rgba(0, 0, 0, 0.12);
}

.coupon-label {
    border-radius: 0 5px 0 0;
    padding: 1px 6px;
    background-color: #f91942;
    position: absolute;
    top: 6%;
    left: 0%;
    color: white;
    font-size: 13px;
    font-weight: bold;
}


.add-review-box h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: capitalize;
    color: #1F1F39;
}

.add-review-box .comment-notes {
    font-size: 12px;
    color: #ba0000;
}

.sub-rating-title,
.reviewLabel {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: capitalize;
    color: #1F1F39;
}

.shop-modal-review svg.active {
    fill: #E89806;
    stroke: #E89806;
}

.shop-modal-review svg {
    fill: #aba9a9;
    stroke: #aba9a9;
}

.shop-modal-review li dl {
    gap: 4px;
}

.shop-modal-review {
    height: 210px;
    overflow-y: scroll;
}

.sub-ratings-container .leave-rating label {
    position: relative;
    font-size: 16px;
    margin-right: 5px;
}

.sub-ratings-container .leave-rating label:before {
    color: #74736e !important;
}

.sub-ratings-container .leave-rating input[type=radio]~label:after {
    content: "\f005";
    position: absolute;
    left: 0;
    color: #ffc600;
    opacity: 0;
    transition: .2s;
}

.leave-rating input[type=radio]:checked~label:after,
.leave-rating input[type=radio]:hover~label:after {
    opacity: 1
}

.leave-rating {
    transform: rotateY(180deg);
    display: flex;
    justify-content: end;
    margin-left: -4px;
}


.filter-group {
    overflow: visible;
    position: relative;
    z-index: 99;
}

.custonDropdown,
.custonDropdown:hover,
.custonDropdown.show,
.custonDropdown.show:focus,
.custonDropdown.active,
.custonDropdown:first-child:active,
.custonDropdown:focus-visible {
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    border-radius: 20px;
    padding: 0px 36px 0px 12px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-transform: capitalize;
    color: #1F1F39;
    background-color: #F7F7FC;
    border: 1px transparent;
    box-shadow: 0 0 0 0rem rgba(var(--bs-btn-focus-shadow-rgb), .0);
    padding: 8px 28px 8px 12px;
    border-radius: 20px;
    /* background: #ddd; */
}

.custonDropdown::after {
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    content: "\f078" !important;
    border-top: 0 solid;
    border-right: 0 solid transparent;
    border-bottom: 0;
    border-left: 0 solid transparent;
    font-size: 13px;
    bottom: 6px;
    position: absolute;
    right: 10px;
    color: #EE1D48;
}

.cDrop {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 4px;
    box-shadow: 0 12px 35px 2px rgba(0, 0, 0, .12);
    padding: 20px 24px;
    overflow-y: auto;
    white-space: normal;
    width: 460px;
    transform: translate(-50%, 2px) !important;
    left: 50%;
    position: absolute;
    display: none;
    z-index: 999;
}

.cDrop.active {
    display: block;
}

.panel-buttons {
    width: 100%;
    margin-top: 13px;
}

button.panel-apply,
button.panel-cancel {
    background: 0 0;
    padding: 5px 16px;
    display: block;
    outline: 0;
    border: none;
    font-weight: 600;
    float: right;
    margin: 0;
    font-size: 15px;
    border-radius: 50px;
    background-color: #66676b;
    color: #fff;
    transition: all .3s;
}

button.panel-cancel {
    float: left;
    background-color: #f0f0f0;
    color: #666;
    opacity: 1;
}

button.panel-apply {
    background-color: #f91942;
}

.clearBtn {
    color: #f91942;
}

/* Range */
.rangeslider__fill {
    background: red;
}

.rangeslider--horizontal .rangeslider__fill {
    left: 0px;
}

.rangeslider__handle {
    width: 25px;
    height: 25px;
}

.rangeslider--horizontal {
    height: 8px;
}

.radiousTxt p {
    color: #1F1F39;
}

.kilo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1F1F39;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.dateshow,
.guestQty {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1F1F39;
}

/* Custom CheckBox */
.checkNew .form-group {
    display: block;
    margin-bottom: 12px;
}

.checkNew .form-group input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.checkNew .form-group label {
    position: relative;
    cursor: pointer;
}

.checkNew .form-group label:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #EE1D48;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 8px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
}

.checkNew .form-group input:checked+label:after {
    content: '';
    display: block;
    position: absolute;
    top: 6px;
    left: 7px;
    width: 6px;
    height: 14px;
    border: solid #EE1D48;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.cart-switch-input:checked+label {
    color: var(--white);
    background-color: #EE1D48;
}


.form-control.is-invalid~.invalid-feedback {
    display: block !important;
}

.checkNew {
    max-height: 250px;
    overflow-y: scroll;
}

.panel-buttons {
    display: block;
    background: #fff;
}

@media (max-width: 1199px) {
    .cDrop {
        width: 100%
    }
}

@media (max-width: 768px) {
    .cDrop {
        width: 280px;
        transform: translate(0%, 0px) !important;
        left: 0px;
    }
}

@media (max-width: 575px) {
    .cDrop {
        width: 100%;
        transform: translate(0%, 0px) !important;
        left: 0px;
    }
}

.linkTxt {
    color: #000;
    text-decoration: underline;
}

.linkTxt:hover {
    text-decoration: underline;
}


.form-control.is-invalid~.invalid-feedback,
.form-control.is-invalid~.invalid-tooltip,
.was-validated .form-control:invalid~.invalid-feedback,
.was-validated .form-control:invalid~.invalid-tooltip {
    display: block;
}


.rest-name {
    display: flex;
    align-items: center;
}

.rest-name .dot {
    height: 11px;
    width: 11px;
    border-radius: 50%;
    cursor: pointer;
}

.rest-name .dot.on {
    background: #33cc33;
}

.rest-name .dot.off {
    background: #EE1D48;
}

/* laravel Painate css */
.custormpaginate {
    display: flex;
    justify-content: end;
}

.custormpaginate nav {
    margin-left: auto;
    display: inline-flex;
}

.custormpaginate .pagination .page-link,
.custormpaginate .pagination .page-link:focus-within,
.custormpaginate .pagination .page-link:focus {
    height: 35px;
    width: 35px;
    border-radius: 0px;
    border: 1px solid #D9DBE9;
    color: #1F1F39;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0);
    background: transparent;
    line-height: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 5px;
}

.custormpaginate .pagination .page-item:first-child .page-link,
.custormpaginate .pagination .page-item:last-child .page-link {
    font-size: 28px;
    /* margin-top: -2px; */
}

.custormpaginate .pagination .page-item.active .page-link {
    border-color: #EE1D48;
    background-color: #EE1D48;
    color: #fff;
}

.custormpaginate .pagination .page-item {
    margin: 3px;

}

.custormpaginate .pagination .page-link:hover {
    border-color: #EE1D48;
    color: #EE1D48;
}

.custormpaginate .page-item.disabled {
    opacity: 0.7;
}


@media (max-width: 575px) {

    .custormpaginate .pagination .page-item {
        margin: 1px;
    }

    .custormpaginate .pagination .page-link,
    .custormpaginate .pagination .page-link:focus-within,
    .custormpaginate .pagination .page-link:focus {
        height: 25px;
        width: 25px;
        font-size: 10px;
        border-radius: 3px;
    }

    .custormpaginate .pagination .page-item:first-child .page-link,
    .custormpaginate .pagination .page-item:last-child .page-link {
        font-size: 20px;
    }
}


/* Loader js */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    position: relative;
}

.loader {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.lazy {
    display: none;
    /* Hide the actual image initially */
}

.form-control.is-invalid~.invalid-feedback {
    display: block !important;
}

.showAddress,
.showAddress::placeholder {
    color: #1F1F39;
}

.address-modal-label-group select {
    width: 100%;
    height: 45px;
    padding: 0px 16px;
    border-radius: 8px;
    border: 1px solid #D9DBE9;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #1F1F39;
}

.address-modal-label-group select:focus {
    border: 1px solid #EE1D48;
}

.address-modal-details input:focus-within {
    border-color: rgba(238, 29, 72, 0.3);
}

#number::placeholder {
    opacity: 0.6;
}

.fs-12 {
    font-size: 12px;
}

@media (max-width: 991px) {

    .cart-sidebar.active {
        opacity: 1;
        visibility: visible;
        z-index: 9999;
    }
}

.contact {
    width: 100%;
    max-width: 780px;
    margin-inline: auto;
    padding-block: 48px;
}

.deliver_type {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: stretch;
    justify-content: center;
}

.deliver_type .delivery_toglle {
    padding-left: 10px;
    padding-right: 10px;
}

.deliver_type label.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-top: 0;
    margin-bottom: 0;
}

.deliver_type .switch input {
    display: none;
}

.deliver_type .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f91942;
    border-radius: 50px;
    transition: .4s;
}

.deliver_type .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: .4s;
    border-radius: 50px;
}

.deliver_type input:checked+.slider:before {
    transform: translateX(30px);
}



@media (max-width: 575px) {
    .header-btn {
        height: 32px;
        width: 32px;
        padding: 0px 0px;
        border-radius: 50%;
        display: flex;
        gap: 0px;
    }

    .header-btn span {
        display: none;
    }
}

@media (max-width: 400px) {
    .header-group {
        gap: 6px;
    }
}

.product-modal-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.rest-media img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.my_toggle .d_delivery{
    font-weight: 400;
}

.my_toggle .d_delivery.active{
    font-weight: 600;
}

.my_toggle .d_pickup{
    font-weight: 400;
}

.my_toggle .d_pickup.active{
    font-weight: 600;
}

.modalAddressSearch{
    position: relative !important;
}

.modalAddressSearch .pac-container {
    display: block !important;
    top: 50px !important;
    left: 0px !important;
}


.dismissButton{
    display: flex;
    justify-content: center;
    align-items: center;
    float: right;
}


/* =============================================================
   Advertisement / Banner Blocks  — frontend display styles
   ============================================================= */

/* Shared section wrapper */
.ad-block {
    width: 100%;
    overflow: hidden;
}

/* Vertical rhythm */
.ad-block--top    { padding: 16px 0; }
.ad-block--bottom { padding: 32px 0; }
.ad-block--after_hero { padding: 0 0 40px; }
.ad-block--middle { padding: 8px 0 40px; }

/* ── Single full-width banner ─────────────────────────────── */
.ad-single {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    transition: box-shadow .3s ease, transform .3s ease;
}
.ad-single:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
    transform: translateY(-2px);
}
.ad-single__link {
    display: block;
    text-decoration: none;
}
.ad-single__figure {
    margin: 0;
    position: relative;
    line-height: 0;
    /* 16:5 aspect ratio — wide cinematic promo banner */
    aspect-ratio: 16 / 5;
    background: #1a1a2e;
}
.ad-single__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.ad-single:hover .ad-single__img {
    transform: scale(1.03);
}
.ad-single__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 28px 22px;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ad-single__title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.01em;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.ad-single__desc {
    color: rgba(255,255,255,.85);
    font-size: 13px;
    line-height: 1.5;
}

/* ── Two-column grid banner ───────────────────────────────── */
.ad-grid--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 575px) {
    .ad-grid--2 { grid-template-columns: 1fr; }
}
.ad-grid__item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.10);
    transition: box-shadow .3s ease, transform .3s ease;
}
.ad-grid__item:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    transform: translateY(-3px);
}
.ad-grid__link {
    display: block;
    text-decoration: none;
}
.ad-grid__figure {
    margin: 0;
    position: relative;
    line-height: 0;
    /* 4:3 aspect ratio — square-ish promo card */
    aspect-ratio: 4 / 3;
    background: #1a1a2e;
}
.ad-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.ad-grid__item:hover .ad-grid__img {
    transform: scale(1.04);
}
.ad-grid__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 18px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ad-grid__title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.ad-grid__desc {
    color: rgba(255,255,255,.85);
    font-size: 12px;
    line-height: 1.4;
}

/* ── Carousel (3+ ads) ────────────────────────────────────── */
.ad-carousel {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.ad-carousel__slide { width: 100%; }
.ad-carousel__link { display: block; text-decoration: none; }
.ad-carousel__figure {
    margin: 0;
    position: relative;
    line-height: 0;
    aspect-ratio: 16 / 5;
    background: #1a1a2e;
}
.ad-carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ad-carousel__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 28px 22px;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ad-carousel__title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.ad-carousel__desc {
    color: rgba(255,255,255,.85);
    font-size: 13px;
    line-height: 1.5;
}

/* Swiper pagination dots */
.ad-swiper-pagination {
    position: absolute;
    bottom: 12px; left: 0; right: 0;
    text-align: center;
    z-index: 10;
}
.ad-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,.6);
    opacity: 1;
    width: 6px; height: 6px;
    margin: 0 3px;
    transition: all 0.25s;
}
.ad-swiper-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 22px;
    border-radius: 3px;
}

/* ── Position-specific shadows ────────────────────────────── */
.ad-block--top .ad-single,
.ad-block--top .ad-grid__item,
.ad-block--top .ad-carousel { box-shadow: 0 4px 20px rgba(0,0,0,.10); }

.ad-block--bottom .ad-single,
.ad-block--bottom .ad-grid__item,
.ad-block--bottom .ad-carousel { box-shadow: 0 4px 20px rgba(0,0,0,.10); }


/* =============================================================
   MOBILE PREMIUM UI OVERRIDES
   All styles below target max-width: 767px (phone view)
   and complement the existing Bootstrap 5 + style.css
   ============================================================= */

/* ── 1. GLOBAL MOBILE TOKENS ─────────────────────────────────── */
@media (max-width: 767px) {
    :root {
        --mobile-radius: 16px;
        --mobile-card-shadow: 0 4px 20px rgba(0,0,0,.08);
        --mobile-gap: 16px;
    }

    body {
        background: #f8f8fb;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Remove excessive top/bottom gaps on mobile */
    .section-gap-90 {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }
    .section-gap-66 {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
}

/* ── 2. HEADER / NAV ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .heder-padding {
        padding-top: 64px;
    }

    .header .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-content {
        height: 62px;
        gap: 10px;
    }

    /* Logo — slightly smaller on mobile */
    .header-logo img {
        height: 36px;
        width: auto;
        max-width: 130px;
        object-fit: contain;
    }

    /* Cart badge */
    .header-cart {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        flex-shrink: 0;
        position: relative;
    }

    .header-cart sup {
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
        font-size: 10px;
        line-height: 18px;
        border-radius: 50%;
    }

    /* Language selector — compact */
    .header-selection-btn {
        height: 36px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: 12px;
        gap: 4px;
    }

    .header-selection-btn span {
        display: none; /* hide language name text, show only flag */
    }

    .header-selection-list {
        min-width: 140px;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
    }

    /* Auth button — compact */
    .header-auth-btn,
    .header-account-btn {
        height: 36px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: 13px;
        gap: 6px;
    }

    .header-account-btn img {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }

    /* Account name — truncate aggressively */
    .header-account-btn > span {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 12px;
        line-height: 1.2;
    }

    /* Dropdown nav menus — full-width pill style */
    .header-auth-navs,
    .header-account-navs {
        top: calc(100% + 10px);
        right: 0;
        left: auto;
        width: min(260px, 88vw);
        border-radius: 16px;
        padding: 8px;
        box-shadow: 0 12px 40px rgba(0,0,0,.15);
        border: 1px solid rgba(0,0,0,.06);
        background: #fff;
    }

    .header-auth-navs a,
    .header-account-navs a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 14px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 500;
        color: #1F1F39;
        transition: background .15s;
    }

    .header-auth-navs a:hover,
    .header-account-navs a:hover {
        background: #fff5f7;
        color: #EE1D48;
    }

    /* Dashboard button */
    .header-btn {
        height: 36px;
        padding: 0 12px;
        border-radius: 10px;
        font-size: 12px;
        gap: 5px;
    }
}

/* ── 3. HERO / BANNER SECTION ────────────────────────────────── */
@media (max-width: 767px) {
    .banner {
        padding-top: 28px !important;
        padding-bottom: 0 !important;
        overflow: hidden;
        background: linear-gradient(160deg, #fff5f7 0%, #fff 60%);
    }

    .banner-title {
        font-size: clamp(24px, 7vw, 34px);
        line-height: 1.25;
        margin-bottom: 10px;
        text-align: center;
    }

    .banner-subtitle {
        font-size: 14px;
        line-height: 1.6;
        color: #6E7191;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Search bar — pill shaped, sticky feel */
    .main-search-input {
        border-radius: 50px;
        box-shadow: 0 6px 24px rgba(238,29,72,.15);
        overflow: hidden;
        border: 1.5px solid rgba(238,29,72,.2);
        background: #fff;
        margin-bottom: 0;
    }

    .banner-search {
        height: 52px;
        border-radius: 50px;
        padding: 0 8px 0 16px;
    }

    .banner-search input {
        font-size: 14px;
        color: #1F1F39;
    }

    .banner-search button {
        height: 38px;
        padding: 0 16px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 700;
        background: #EE1D48;
        color: #fff;
        flex-shrink: 0;
    }

    /* Hero image — smaller, centered below text */
    .banner-image {
        margin-top: 20px;
        text-align: center;
    }

    .banner-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
}

/* ── 4. HOW TO ORDER (FEATURE) SECTION ──────────────────────── */
@media (max-width: 767px) {
    .feature {
        background: #fff;
        padding: 28px 0 !important;
    }

    .feature .section-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #EE1D48;
        font-weight: 700;
    }

    .feature .section-title {
        font-size: 20px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    /* Swiper slides — horizontal cards */
    .feature-swiper .swiper-slide {
        background: #fff5f7;
        border-radius: 16px;
        padding: 20px 16px;
        text-align: center;
        box-shadow: 0 2px 12px rgba(238,29,72,.07);
        border: 1px solid rgba(238,29,72,.08);
    }

    .feature-swiper .swiper-slide svg {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
    }

    .feature-swiper .swiper-slide h3 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #1F1F39;
    }

    .feature-swiper .swiper-slide p {
        font-size: 12px;
        color: #6E7191;
        line-height: 1.5;
    }
}

/* ── 5. SECTION TITLES ───────────────────────────────────────── */
@media (max-width: 767px) {
    .section-title {
        font-size: 20px;
        font-weight: 800;
        margin-bottom: 16px;
    }

    .section-title.borderd {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 18px;
    }

    .section-title.borderd::after {
        content: '';
        flex: 1;
        height: 2px;
        background: linear-gradient(to right, rgba(238,29,72,.3), transparent);
        border-radius: 2px;
    }
}

/* ── 6. CUISINE CARDS ────────────────────────────────────────── */
@media (max-width: 767px) {
    .category .row {
        gap: 0;
    }

    /* 2 columns with tighter spacing */
    .category .col-6 {
        padding: 0 6px;
        margin-bottom: 12px;
    }

    .category-card {
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,.06);
        transition: transform .2s ease, box-shadow .2s ease;
        display: block;
        text-decoration: none;
    }

    .category-card:active {
        transform: scale(0.97);
    }

    .bestSellingCusineImage {
        height: 110px !important;
        object-fit: cover;
        width: 100%;
        display: block;
        transition: transform .3s ease;
    }

    .category-card h4 {
        font-size: 13px;
        font-weight: 600;
        padding: 10px 10px 10px;
        color: #1F1F39;
        text-align: center;
        line-height: 1.3;
    }
}

/* ── 7. RESTAURANT CARDS ─────────────────────────────────────── */
@media (max-width: 767px) {
    .restaurant .row {
        gap: 0;
    }

    /* Full width cards stacked */
    .restaurant .col-12 {
        padding: 0 0;
        margin-bottom: 14px;
    }

    .restaurant-card {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 14px rgba(0,0,0,.07);
        overflow: hidden;
        text-decoration: none;
        padding: 0;
        transition: transform .2s ease;
    }

    .restaurant-card:active {
        transform: scale(0.98);
    }

    /* Image — left side, fixed size */
    .restaurant-card .figure {
        width: 100px;
        min-width: 100px;
        height: 100px;
        margin: 0;
        flex-shrink: 0;
        border-radius: 0;
        overflow: hidden;
    }

    .bestSellingRestaurantsImage {
        width: 100px !important;
        height: 100px !important;
        object-fit: cover;
        display: block;
    }

    /* Coupon label — small badge */
    .restaurant-card .coupon-label {
        position: absolute;
        top: 6px;
        left: 6px;
        font-size: 9px;
        padding: 2px 6px;
        border-radius: 20px;
        font-weight: 700;
        background: #EE1D48;
        color: #fff;
        white-space: nowrap;
    }

    /* Content — right side */
    .restaurant-card .content {
        flex: 1;
        padding: 10px 12px 10px 0;
        min-width: 0;
    }

    .restaurant-card .content h4 {
        font-size: 15px;
        font-weight: 700;
        color: #1F1F39;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Stars */
    .restaurant-card .ratings {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-bottom: 4px;
        flex-wrap: nowrap;
    }

    .restaurant-card .ratings svg {
        width: 11px;
        height: 11px;
    }

    .restaurant-card .ratings span {
        font-size: 11px;
        color: #6E7191;
        margin-left: 2px;
    }

    /* Location */
    .restaurant-card .location {
        display: flex;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 5px;
    }

    .restaurant-card .location svg {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .restaurant-card .location span {
        font-size: 11px;
        color: #6E7191;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    /* Open/closed badge */
    .restaurant-card .on,
    .restaurant-card .off {
        display: inline-block;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 20px;
        margin: 0;
    }

    .restaurant-card .on {
        background: #e2ffee;
        color: #1AB759;
    }

    .restaurant-card .off {
        background: #ffecec;
        color: #E93C3C;
    }
}

/* ── 8. APP DOWNLOAD SECTION ─────────────────────────────────── */
@media (max-width: 767px) {
    .app {
        background: linear-gradient(135deg, #1F1F39 0%, #2d2d5a 100%);
        border-radius: 20px;
        margin: 0 16px;
        overflow: hidden;
    }

    .app-content h2 {
        font-size: 22px;
        font-weight: 800;
        color: #fff;
        margin-bottom: 8px;
    }

    .app-content p {
        font-size: 13px;
        color: rgba(255,255,255,.7);
        margin-bottom: 16px;
    }

    .app-content nav {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .app-content nav img {
        height: 40px;
        width: auto;
    }

    .app-image img {
        max-height: 200px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}

/* ── 9. FOOTER ───────────────────────────────────────────────── */
@media (max-width: 767px) {
    .footer {
        padding-top: 32px;
        padding-bottom: 80px; /* space for bottom nav */
        background: #1F1F39;
    }

    .footer-about,
    .footer-widget,
    .footer-contact {
        margin-bottom: 24px;
    }

    .footer-logo img {
        height: 36px;
        width: auto;
        margin-bottom: 12px;
    }

    .footer-about p {
        font-size: 13px;
        color: rgba(255,255,255,.6);
        margin-bottom: 12px;
    }

    .footer-about nav {
        display: flex;
        gap: 14px;
    }

    .footer-about nav a {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255,255,255,.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.8);
        font-size: 14px;
        transition: background .2s;
    }

    .footer-about nav a:hover {
        background: #EE1D48;
        color: #fff;
    }

    .footer-title {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
    }

    .footer-widget nav,
    .footer-contact nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-widget nav a,
    .footer-contact nav a {
        font-size: 13px;
        color: rgba(255,255,255,.65);
        transition: color .2s;
    }

    .footer-widget nav a:hover,
    .footer-contact nav a:hover {
        color: #EE1D48;
    }

    .footer-contact ul {
        margin-top: 12px;
    }

    .footer-contact ul li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: rgba(255,255,255,.6);
        margin-bottom: 8px;
    }

    .footer-contact ul li svg path {
        stroke: rgba(255,255,255,.5);
    }

    .footer-contact nav img {
        height: 36px;
        width: auto;
    }

    .footer-bottom {
        background: rgba(0,0,0,.3);
        padding: 12px 16px;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 11px;
        color: rgba(255,255,255,.4);
    }
}

/* ── 10. MOBILE BOTTOM NAVIGATION BAR ───────────────────────── */
/* A sticky bottom nav bar visible only on mobile — app-like feel */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: #fff;
        border-top: 1px solid #EFF0F6;
        box-shadow: 0 -4px 20px rgba(0,0,0,.08);
        z-index: 9999;
        align-items: stretch;
        padding: 0 4px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .mobile-bottom-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #A0A3BD;
        font-size: 10px;
        font-weight: 600;
        text-decoration: none;
        border-radius: 12px;
        transition: color .2s, background .2s;
        padding: 8px 4px;
        position: relative;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a:hover {
        color: #EE1D48;
        background: #fff5f7;
    }

    .mobile-bottom-nav a svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .mobile-bottom-nav a .nav-badge {
        position: absolute;
        top: 6px;
        left: calc(50% + 6px);
        background: #EE1D48;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    /* Push content above bottom nav */
    #main-wrapper {
        padding-bottom: 64px;
    }
}

/* ── 11. ADVERTISEMENT BLOCKS — MOBILE POLISH ───────────────── */
@media (max-width: 767px) {
    .ad-block--top    { padding: 10px 0; }
    .ad-block--bottom { padding: 20px 0; }
    .ad-block--after_hero { padding: 0 0 24px; }
    .ad-block--middle { padding: 0 0 24px; }

    /* Single banner: 16:6 on mobile */
    .ad-single__figure { aspect-ratio: 16 / 6; }
    .ad-single { border-radius: 14px; }
    .ad-single__caption { padding: 24px 14px 14px; }
    .ad-single__title  { font-size: 14px; }
    .ad-single__desc   { font-size: 11px; }

    /* Two-col grid: square on mobile */
    .ad-grid--2 { gap: 10px; }
    .ad-grid__figure { aspect-ratio: 1 / 1; }
    .ad-grid__item { border-radius: 12px; }

    /* Carousel: 16:6 on mobile */
    .ad-carousel__figure { aspect-ratio: 16 / 6; }
    .ad-carousel { border-radius: 14px; }
    .ad-carousel__caption { padding: 24px 14px 14px; }
    .ad-carousel__title { font-size: 14px; }
    .ad-carousel__desc  { font-size: 11px; }
}

/* ── 12. AUTH PAGES (Login / Register) ───────────────────────── */
@media (max-width: 767px) {
    .auth {
        padding: 20px 0 40px;
    }

    .auth-content {
        padding: 0;
    }

    .auth-navs {
        gap: 4px;
        margin-bottom: 20px;
    }

    .auth-navs a {
        font-size: 15px;
        font-weight: 700;
        padding-bottom: 10px;
    }

    /* Form fields */
    .form-control {
        height: 50px;
        border-radius: 12px;
        font-size: 14px;
        padding: 0 14px;
        border: 1.5px solid #E5E7EB;
        background: #fafafa;
    }

    .form-control:focus {
        border-color: #EE1D48;
        box-shadow: 0 0 0 3px rgba(238,29,72,.08);
        background: #fff;
    }

    .form-btn {
        height: 52px;
        border-radius: 50px;
        font-size: 15px;
        font-weight: 700;
        width: 100%;
        background: linear-gradient(135deg, #EE1D48 0%, #c81638 100%);
        box-shadow: 0 6px 20px rgba(238,29,72,.3);
        margin-top: 8px;
    }

    .form-label {
        font-size: 12px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 6px;
    }

    /* Premium register page overrides */
    .reg-page {
        flex-direction: column;
    }

    .reg-left {
        padding: 24px 16px !important;
    }

    .reg-tabs {
        border-radius: 50px;
    }

    .reg-tab-btn {
        border-radius: 50px;
    }

    .reg-btn-primary {
        height: 52px;
        border-radius: 50px;
        font-size: 15px;
    }
}

/* ── 13. ACCOUNT / SETTINGS PAGES ───────────────────────────── */
@media (max-width: 767px) {
    .settings {
        padding: 16px 0 32px;
    }

    .settings-navs {
        display: flex;
        overflow-x: auto;
        flex-direction: row !important;
        gap: 8px;
        padding: 12px 0 !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .settings-navs::-webkit-scrollbar { display: none; }

    .settings-navs a {
        flex-direction: column !important;
        gap: 4px !important;
        min-width: 72px !important;
        padding: 10px 10px !important;
        border-radius: 12px !important;
        font-size: 10px !important;
        white-space: nowrap;
        background: #fff;
        box-shadow: 0 1px 6px rgba(0,0,0,.06);
        border: 1px solid transparent;
        text-align: center;
    }

    .settings-navs a.active {
        border-color: #EE1D48;
        color: #EE1D48;
        background: #fff5f7;
    }

    .settings-navs a svg {
        width: 20px;
        height: 20px;
    }

    .settings-group {
        position: sticky;
        top: 62px;
        z-index: 100;
        background: #f8f8fb;
        padding: 0 0 4px;
        margin-bottom: 16px;
    }

    .settings-btn { display: none !important; }

    .profile-user {
        border-radius: 16px;
        padding: 16px;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,.06);
        margin-bottom: 16px;
    }

    .profile-meta {
        gap: 12px;
    }

    .profile-meta img {
        width: 64px;
        height: 64px;
        border-radius: 14px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .profile-meta dt {
        font-size: 17px;
        font-weight: 700;
    }

    .profile-data {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #EFF0F6;
    }

    .profile-data li span {
        font-size: 10px;
        color: #A0A3BD;
        font-weight: 500;
        display: block;
        margin-bottom: 2px;
    }

    .profile-data li {
        font-size: 13px;
        font-weight: 600;
        color: #1F1F39;
    }

    .form-fieldset {
        border-radius: 16px;
        padding: 16px;
    }

    .form-legend {
        font-size: 17px;
        margin-bottom: 16px;
    }
}

/* ── 14. SCROLLBAR HIDING for horizontal scrollers ───────────── */
@media (max-width: 767px) {
    .swiper-wrapper {
        -webkit-overflow-scrolling: touch;
    }
}

/* ── 15. TOAST NOTIFICATIONS — mobile friendly ───────────────── */
@media (max-width: 767px) {
    .iziToast-wrapper-topRight {
        top: 70px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
    }

    .iziToast {
        border-radius: 12px !important;
        font-size: 13px !important;
    }
}

/* ── 16. SMOOTH SCROLL & TAP HIGHLIGHT FIX ───────────────────── */
@media (max-width: 767px) {
    a, button {
        -webkit-tap-highlight-color: rgba(238,29,72,.1);
    }

    * {
        -webkit-overflow-scrolling: touch;
    }
}


/* =============================================================
   MOBILE FIXES v2 — Higher specificity overrides
   These fix the footer, hero, and layout issues on mobile
   ============================================================= */

/* ── FOOTER MOBILE FIX (keep light theme, improve layout) ───── */
@media (max-width: 767px) {
    /* Remove the dark theme — keep the existing light pink footer */
    footer.footer {
        padding-top: 28px !important;
        padding-bottom: 80px !important; /* space for bottom nav */
        background-color: #FFF9FA !important;
        border-top: 1px solid #FFE8ED;
    }

    footer.footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Logo */
    footer.footer .footer-logo {
        margin-bottom: 16px;
    }
    footer.footer .footer-logo img {
        width: 110px;
        height: auto;
    }

    /* "Follow Us" text */
    footer.footer .footer-about p {
        font-size: 12px;
        color: #6E7191;
        margin-bottom: 10px;
    }

    /* Social icons — pill buttons */
    footer.footer .footer-about nav {
        gap: 10px;
        flex-wrap: nowrap;
    }
    footer.footer .footer-about nav a {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #FFE8ED;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #EE1D48;
        font-size: 15px;
        transition: background .2s;
    }
    footer.footer .footer-about nav a:hover {
        background: #EE1D48;
        color: #fff;
    }

    /* Footer widget titles */
    footer.footer .footer-title {
        font-size: 14px;
        font-weight: 700;
        color: #1F1F39;
        margin-bottom: 10px;
    }

    /* Footer columns — collapse to 2 col grid */
    footer.footer .row > div {
        margin-bottom: 20px;
    }

    footer.footer .footer-widget nav {
        gap: 10px;
    }
    footer.footer .footer-widget nav a {
        font-size: 13px;
        color: #6E7191;
    }
    footer.footer .footer-widget nav a:hover {
        color: #EE1D48;
    }

    /* Contact section — stack vertically */
    footer.footer .footer-contact {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-top: 0 !important;
    }
    footer.footer .footer-contact .footer-title {
        margin-bottom: 8px !important;
    }
    footer.footer .footer-contact nav {
        margin-bottom: 8px;
        gap: 8px;
    }
    footer.footer .footer-contact nav img {
        height: 36px;
        border-radius: 8px;
    }
    footer.footer .footer-contact ul {
        gap: 10px;
    }
    footer.footer .footer-contact ul li {
        font-size: 12px;
        color: #6E7191;
    }

    /* Footer bottom strip */
    footer.footer .footer-bottom {
        margin-top: 16px;
        padding: 14px 0 16px;
        border-color: #FFE8ED;
        background: transparent;
    }
    footer.footer .footer-bottom p {
        font-size: 11px;
        color: rgba(110,113,145,.7);
    }
}

/* ── HERO / BANNER SECTION FIX ───────────────────────────────── */
@media (max-width: 767px) {
    section.banner {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
        background: linear-gradient(170deg, #fff5f7 0%, #fff 50%) !important;
        overflow: visible !important;
    }

    section.banner .col-12.col-md-7 {
        order: 1;
        text-align: center;
    }

    section.banner .col-12.col-md-5 {
        order: 2;
        margin-top: 20px;
        text-align: center;
    }

    section.banner .banner-image img {
        max-width: 280px;
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }

    section.banner .banner-title {
        font-size: clamp(22px, 6.5vw, 30px) !important;
        line-height: 1.3 !important;
        font-weight: 800;
        color: #1F1F39;
        margin-bottom: 10px !important;
        text-align: center;
    }

    section.banner .banner-subtitle {
        font-size: 13px !important;
        color: #6E7191;
        text-align: center;
        margin-bottom: 18px;
        line-height: 1.6;
    }

    /* Search input wrapper */
    section.banner .main-search-input {
        border-radius: 50px !important;
        box-shadow: 0 4px 20px rgba(238,29,72,.12) !important;
        border: 1.5px solid rgba(238,29,72,.15) !important;
        overflow: hidden;
        background: #fff;
        margin: 0 auto;
        max-width: 100%;
    }

    section.banner .banner-search {
        height: 50px;
        padding: 0 6px 0 14px;
    }

    section.banner .banner-search input {
        font-size: 13px;
    }

    section.banner .banner-search button {
        height: 36px;
        padding: 0 14px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Location icon */
    section.banner #locationIcon svg {
        width: 20px;
        height: 20px;
    }
}

/* ── CUISINE SECTION FIX ─────────────────────────────────────── */
@media (max-width: 767px) {
    section.category {
        background: #fff;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    section.category .col-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 10px;
    }

    section.category a.category-card {
        display: block;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,.07);
        text-decoration: none;
        border: 1px solid #F5F5F5;
        transition: transform .15s ease, box-shadow .15s ease;
    }

    section.category a.category-card:active {
        transform: scale(0.97);
    }

    section.category .bestSellingCusineImage {
        height: 100px !important;
        width: 100% !important;
        object-fit: cover;
        display: block;
    }

    section.category .category-card h4 {
        font-size: 12px !important;
        font-weight: 600;
        padding: 8px 8px;
        text-align: center;
        color: #1F1F39;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ── RESTAURANT SECTION FIX ──────────────────────────────────── */
@media (max-width: 767px) {
    section.restaurant {
        background: #f8f8fb;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    section.restaurant .col-12 {
        margin-bottom: 12px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    section.restaurant .row {
        margin-left: 0;
        margin-right: 0;
    }

    section.restaurant a.restaurant-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 14px rgba(0,0,0,.06);
        text-decoration: none;
        border: 1px solid #F0F0F5;
        min-height: 0;
        gap: 0;
        transition: transform .15s ease;
    }

    section.restaurant a.restaurant-card:active {
        transform: scale(0.98);
    }

    /* Left: image block */
    section.restaurant .restaurant-card .figure,
    section.restaurant .restaurant-card figure {
        width: 95px !important;
        min-width: 95px !important;
        height: 95px !important;
        margin: 0 !important;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 0;
        position: relative;
    }

    section.restaurant .bestSellingRestaurantsImage {
        width: 95px !important;
        height: 95px !important;
        object-fit: cover !important;
        display: block;
        border-radius: 0;
    }

    /* Voucher badge */
    section.restaurant .coupon-label {
        position: absolute;
        top: 5px;
        left: 5px;
        font-size: 9px !important;
        padding: 2px 6px;
        border-radius: 20px;
        font-weight: 700;
        background: #EE1D48;
        color: #fff;
        line-height: 1.4;
        z-index: 1;
    }

    /* Right: content block */
    section.restaurant .restaurant-card .content {
        flex: 1;
        padding: 10px 12px !important;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    section.restaurant .restaurant-card .content h4 {
        font-size: 14px !important;
        font-weight: 700;
        color: #1F1F39;
        margin: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    section.restaurant .restaurant-card .ratings {
        display: flex;
        align-items: center;
        gap: 1px;
        flex-wrap: nowrap;
    }

    section.restaurant .restaurant-card .ratings svg {
        width: 10px !important;
        height: 10px !important;
    }

    section.restaurant .restaurant-card .ratings span {
        font-size: 10px;
        color: #6E7191;
        margin-left: 3px;
    }

    section.restaurant .restaurant-card .location {
        display: flex;
        align-items: flex-start;
        gap: 3px;
    }

    section.restaurant .restaurant-card .location svg {
        width: 11px !important;
        height: 11px !important;
        flex-shrink: 0;
        margin-top: 1px;
    }

    section.restaurant .restaurant-card .location span {
        font-size: 11px !important;
        color: #6E7191;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

    section.restaurant .restaurant-card .on,
    section.restaurant .restaurant-card .off {
        display: inline-block;
        font-size: 10px !important;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 20px;
        margin: 0 !important;
        width: fit-content;
    }

    section.restaurant .restaurant-card .on {
        background: #e2ffee;
        color: #1AB759;
    }

    section.restaurant .restaurant-card .off {
        background: #ffecec;
        color: #E93C3C;
    }
}

/* ── SECTION TITLE MOBILE FIX ────────────────────────────────── */
@media (max-width: 767px) {
    .section-title.borderd {
        font-size: 17px !important;
        font-weight: 800;
        margin-bottom: 14px !important;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .section-title.borderd::after {
        content: '';
        flex: 1;
        height: 2px;
        background: linear-gradient(to right, rgba(238,29,72,.2), transparent);
        border-radius: 2px;
        display: block;
    }
}

/* ── BOTTOM NAV — ensure correct z-index and no overlap ──────── */
@media (max-width: 767px) {
    nav.mobile-bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10000 !important;
        background: #fff !important;
        border-top: 1px solid #EFF0F6 !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,.08) !important;
    }

    /* Extra bottom padding so footer / content is not hidden */
    div#main-wrapper {
        padding-bottom: 68px !important;
    }
}


/* =============================================================
   PREMIUM MOBILE UI v3 — Swiggy/Zomato-level polish
   ============================================================= */

/* ── GLOBAL BODY & BACKGROUND ────────────────────────────────── */
@media (max-width: 767px) {
    html, body { background: #F6F6F6 !important; }

    #main-wrapper {
        background: #F6F6F6;
    }
}

/* ── NAVBAR — Glassmorphism sticky header ─────────────────────── */
@media (max-width: 767px) {
    .header.fixed.sticky {
        background: rgba(255,255,255,0.96) !important;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(0,0,0,.07) !important;
        border-bottom: none !important;
    }
}

/* ── HERO — Premium card-style ────────────────────────────────── */
@media (max-width: 767px) {
    section.banner {
        background: #fff !important;
        padding: 20px 0 0 !important;
        margin-bottom: 0;
    }

    section.banner .container {
        padding: 0 16px 0;
    }

    /* Greeting pill above title */
    section.banner .banner-title {
        font-size: 26px !important;
        font-weight: 900 !important;
        line-height: 1.22 !important;
        letter-spacing: -0.5px;
        color: #1F1F39 !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }

    section.banner .banner-subtitle {
        font-size: 13px !important;
        color: #6E7191 !important;
        text-align: left !important;
        margin-bottom: 16px !important;
        line-height: 1.5 !important;
    }

    /* Search bar — elevated pill */
    section.banner .main-search-input {
        border-radius: 16px !important;
        box-shadow: 0 4px 24px rgba(0,0,0,.09) !important;
        border: 1.5px solid #F0F0F5 !important;
        background: #fff !important;
        margin-bottom: 0;
    }

    section.banner .banner-search {
        height: 52px !important;
        padding: 0 8px 0 16px !important;
        gap: 8px;
        display: flex;
        align-items: center;
    }

    section.banner .banner-search input,
    section.banner #autocomplete-input {
        font-size: 14px !important;
        color: #1F1F39 !important;
        font-weight: 500;
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
    }

    section.banner .banner-search button {
        height: 38px !important;
        min-width: 70px;
        padding: 0 18px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        background: #EE1D48 !important;
        color: #fff !important;
        border: none;
        flex-shrink: 0;
        box-shadow: 0 3px 10px rgba(238,29,72,.3);
    }

    /* Hero image — clips under a subtle arc */
    section.banner .col-12.col-md-5 {
        margin-top: 16px !important;
        text-align: center;
        background: linear-gradient(180deg, #fff5f7 0%, #fff 100%);
        border-radius: 24px 24px 0 0;
        padding-top: 16px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px) !important;
        max-width: none !important;
    }

    section.banner .banner-image img {
        max-width: 240px !important;
        height: 200px !important;
        object-fit: contain !important;
        margin: 0 auto;
        display: block;
    }

    section.banner .col-12.col-md-7 {
        text-align: left !important;
    }
}

/* ── HOW TO ORDER — Horizontal scroll chips ───────────────────── */
@media (max-width: 767px) {
    section.feature {
        background: #F6F6F6 !important;
        padding: 24px 0 20px !important;
    }

    section.feature .container {
        padding: 0 16px;
    }

    section.feature .section-subtitle {
        font-size: 11px !important;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        font-weight: 700;
        color: #EE1D48 !important;
        display: block;
        margin-bottom: 4px;
    }

    section.feature .section-title {
        font-size: 18px !important;
        font-weight: 800 !important;
        color: #1F1F39 !important;
        margin-bottom: 16px !important;
    }

    /* Swiper slides — rounded white cards */
    section.feature .feature-swiper {
        padding-bottom: 12px !important;
    }

    section.feature .feature-swiper .swiper-slide {
        background: #fff !important;
        border-radius: 18px !important;
        padding: 18px 14px 16px !important;
        text-align: center !important;
        box-shadow: 0 2px 16px rgba(0,0,0,.06) !important;
        border: 1px solid rgba(238,29,72,.06) !important;
        margin: 4px 2px 8px !important;
    }

    section.feature .feature-swiper .swiper-slide svg {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 10px !important;
    }

    section.feature .feature-swiper .swiper-slide h3 {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #1F1F39 !important;
        margin-bottom: 4px !important;
    }

    section.feature .feature-swiper .swiper-slide p {
        font-size: 12px !important;
        color: #6E7191 !important;
        line-height: 1.5 !important;
    }

    /* Pagination dots */
    section.feature .swiper-pagination-bullet {
        width: 5px !important;
        height: 5px !important;
        background: #D9DBE9 !important;
        opacity: 1 !important;
    }

    section.feature .swiper-pagination-bullet-active {
        width: 16px !important;
        border-radius: 3px !important;
        background: #EE1D48 !important;
    }
}

/* ── SECTION HEADINGS ─────────────────────────────────────────── */
@media (max-width: 767px) {
    h2.section-title.borderd {
        font-size: 17px !important;
        font-weight: 800 !important;
        color: #1F1F39 !important;
        letter-spacing: -0.3px;
        margin-bottom: 14px !important;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
    }

    h2.section-title.borderd::after {
        content: '' !important;
        flex: 1;
        height: 1.5px;
        background: linear-gradient(to right, #FFE8ED, transparent);
        border-radius: 2px;
        display: block;
    }
}

/* ── CUISINE CARDS — Premium grid with image + label ─────────── */
@media (max-width: 767px) {
    section.category {
        background: #fff !important;
        padding: 20px 0 24px !important;
        margin-bottom: 8px;
    }

    section.category .container {
        padding: 0 14px;
    }

    section.category .row {
        margin: 0 -5px;
    }

    section.category .col-6 {
        padding: 0 5px !important;
        margin-bottom: 10px !important;
    }

    section.category a.category-card {
        display: block !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,.07) !important;
        border: 1px solid #F5F5FA !important;
        text-decoration: none !important;
        position: relative;
        transition: box-shadow .2s, transform .15s;
    }

    section.category a.category-card:active {
        transform: scale(0.97) !important;
    }

    section.category .bestSellingCusineImage {
        height: 106px !important;
        width: 100% !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 16px 16px 0 0 !important;
    }

    section.category .category-card h4 {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #1F1F39 !important;
        text-align: center !important;
        padding: 8px 6px 9px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ── RESTAURANT CARDS — Swiggy-style horizontal card ─────────── */
@media (max-width: 767px) {
    section.restaurant {
        background: #F6F6F6 !important;
        padding: 20px 0 24px !important;
    }

    section.restaurant .container {
        padding: 0 14px;
    }

    section.restaurant .row {
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    section.restaurant .col-12 {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        flex: none !important;
    }

    section.restaurant a.restaurant-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        background: #fff !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
        border: 1px solid #F0F0F5 !important;
        text-decoration: none !important;
        min-height: 90px;
        transition: box-shadow .2s, transform .15s;
    }

    section.restaurant a.restaurant-card:active {
        transform: scale(0.98) !important;
        box-shadow: 0 1px 6px rgba(0,0,0,.08) !important;
    }

    /* Left: image */
    section.restaurant .restaurant-card figure.figure,
    section.restaurant .restaurant-card .figure {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        height: auto !important;
        min-height: 90px;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        position: relative !important;
    }

    section.restaurant .bestSellingRestaurantsImage {
        width: 100px !important;
        height: 100% !important;
        min-height: 90px;
        max-height: 110px;
        object-fit: cover !important;
        display: block !important;
        border-radius: 0 !important;
    }

    /* Voucher badge */
    section.restaurant .coupon-label {
        position: absolute !important;
        top: 6px !important;
        left: 6px !important;
        background: #EE1D48 !important;
        color: #fff !important;
        font-size: 8px !important;
        font-weight: 800 !important;
        padding: 2px 7px !important;
        border-radius: 20px !important;
        line-height: 1.5 !important;
        z-index: 2 !important;
        letter-spacing: 0.3px;
        text-transform: uppercase;
    }

    /* Right: content */
    section.restaurant .restaurant-card .content {
        flex: 1 !important;
        padding: 12px 14px 12px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 4px !important;
        min-width: 0 !important;
    }

    section.restaurant .restaurant-card .content h4 {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #1F1F39 !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Stars row */
    section.restaurant .restaurant-card .ratings {
        display: flex !important;
        align-items: center !important;
        gap: 1px !important;
        flex-wrap: nowrap !important;
    }

    section.restaurant .restaurant-card .ratings svg {
        width: 10px !important;
        height: 10px !important;
        flex-shrink: 0;
    }

    /* Active star fill */
    section.restaurant .restaurant-card .ratings svg.active {
        fill: #FFB006;
        stroke: #FFB006;
    }

    section.restaurant .restaurant-card .ratings span {
        font-size: 11px !important;
        color: #6E7191 !important;
        margin-left: 4px !important;
    }

    /* Location */
    section.restaurant .restaurant-card .location {
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
    }

    section.restaurant .restaurant-card .location svg {
        width: 11px !important;
        height: 11px !important;
        flex-shrink: 0 !important;
    }

    section.restaurant .restaurant-card .location span {
        font-size: 11px !important;
        color: #6E7191 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 190px !important;
        display: block !important;
    }

    /* Open/closed pill */
    section.restaurant .restaurant-card p.on,
    section.restaurant .restaurant-card p.off {
        display: inline-flex !important;
        align-items: center;
        font-size: 10px !important;
        font-weight: 700 !important;
        padding: 3px 9px !important;
        border-radius: 20px !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        width: fit-content !important;
    }

    section.restaurant .restaurant-card p.on {
        background: #E8F8EE !important;
        color: #1AB759 !important;
    }

    section.restaurant .restaurant-card p.off {
        background: #FFECEC !important;
        color: #E93C3C !important;
    }
}

/* ── BOTTOM NAV — Premium glassmorphism ───────────────────────── */
@media (max-width: 767px) {
    nav.mobile-bottom-nav {
        background: rgba(255,255,255,0.97) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        backdrop-filter: blur(16px) !important;
        border-top: 1px solid rgba(239,240,246,0.8) !important;
        box-shadow: 0 -4px 24px rgba(0,0,0,.07) !important;
        padding: 0 8px !important;
        padding-bottom: env(safe-area-inset-bottom, 6px) !important;
        height: auto !important;
        min-height: 64px;
    }

    nav.mobile-bottom-nav a {
        min-height: 58px;
        gap: 3px !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        border-radius: 14px !important;
        color: #A0A3BD !important;
        letter-spacing: 0.1px;
        padding: 8px 4px !important;
        transition: all .2s ease !important;
    }

    nav.mobile-bottom-nav a.active {
        color: #EE1D48 !important;
        background: rgba(238,29,72,.06) !important;
    }

    nav.mobile-bottom-nav a svg {
        width: 22px !important;
        height: 22px !important;
        transition: transform .2s ease;
    }

    nav.mobile-bottom-nav a.active svg {
        transform: translateY(-1px);
    }

    nav.mobile-bottom-nav a .nav-badge {
        top: 4px !important;
        left: calc(50% + 7px) !important;
        width: 17px !important;
        height: 17px !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        box-shadow: 0 1px 4px rgba(238,29,72,.4) !important;
    }
}

/* ── FOOTER — Clean card style ────────────────────────────────── */
@media (max-width: 767px) {
    footer.footer {
        background: #fff !important;
        padding: 24px 0 80px !important;
        margin-top: 8px;
        border-top: 1px solid #F0F0F5 !important;
    }

    footer.footer .container {
        padding: 0 16px !important;
    }

    /* Two-column grid for footer widgets */
    footer.footer .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 16px !important;
        margin: 0 !important;
    }

    footer.footer .row > div {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* Logo column — spans full width */
    footer.footer .row > div:first-child {
        grid-column: 1 / -1 !important;
        padding-bottom: 16px !important;
        border-bottom: 1px solid #F5F5FA !important;
    }

    footer.footer .footer-logo {
        margin-bottom: 12px !important;
    }

    footer.footer .footer-logo img {
        width: 100px !important;
        height: auto !important;
    }

    footer.footer .footer-about p {
        font-size: 12px !important;
        color: #A0A3BD !important;
        margin-bottom: 10px !important;
    }

    footer.footer .footer-about nav {
        gap: 8px !important;
    }

    footer.footer .footer-about nav a {
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        background: #FFF5F7 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #EE1D48 !important;
        font-size: 14px !important;
    }

    footer.footer .footer-about nav a:hover {
        background: #EE1D48 !important;
        color: #fff !important;
    }

    /* Widget titles */
    footer.footer .footer-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #1F1F39 !important;
        margin-bottom: 10px !important;
        letter-spacing: 0.2px;
    }

    /* Widget links */
    footer.footer .footer-widget nav {
        gap: 8px !important;
    }

    footer.footer .footer-widget nav a {
        font-size: 12px !important;
        color: #6E7191 !important;
        display: block !important;
        width: auto !important;
    }

    /* Contact section */
    footer.footer .footer-contact {
        display: block !important;
        margin-top: 0 !important;
    }

    footer.footer .footer-contact .footer-title {
        margin-bottom: 10px !important;
    }

    footer.footer .footer-contact nav {
        flex-direction: column !important;
        margin-bottom: 10px !important;
        gap: 8px !important;
    }

    footer.footer .footer-contact nav img {
        height: 32px !important;
        border-radius: 8px !important;
    }

    footer.footer .footer-contact ul {
        gap: 8px !important;
    }

    footer.footer .footer-contact ul li {
        font-size: 11px !important;
        color: #6E7191 !important;
        gap: 6px !important;
    }

    /* Bottom bar */
    footer.footer .footer-bottom {
        margin-top: 20px !important;
        padding: 14px 0 10px !important;
        border-color: #F0F0F5 !important;
        background: transparent !important;
    }

    footer.footer .footer-bottom p {
        font-size: 11px !important;
        color: #A0A3BD !important;
    }
}

/* ── ADVERTISEMENT BLOCKS on mobile ──────────────────────────── */
@media (max-width: 767px) {
    .ad-block { margin: 0 !important; }

    .ad-block--top, .ad-block--bottom { padding: 8px 0 !important; }
    .ad-block--after_hero, .ad-block--middle { padding: 10px 0 !important; }

    .ad-single { border-radius: 16px !important; margin: 0 14px; }
    .ad-single__img { max-height: 120px !important; border-radius: 16px !important; }

    .ad-grid--2 { gap: 8px !important; padding: 0 14px; }
    .ad-grid__img { height: 88px !important; }

    .ad-carousel { border-radius: 16px !important; margin: 0 14px; }
    .ad-carousel__img { max-height: 130px !important; }
}


/* =============================================================
   AD BLOCK VISIBILITY FIX — prevent hero CSS from collapsing ads
   ============================================================= */

/* Ensure ad blocks are always visible and have a minimum height */
@media (max-width: 767px) {
    .ad-block {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
        min-height: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .ad-block section,
    section.ad-block {
        display: block !important;
    }

    /* Fix hero column width override that was causing layout collapse */
    section.banner .col-12.col-md-5 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 0 0 100% !important;
    }

    section.banner .col-12.col-md-7 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Ad images: use aspect-ratio from the figure, not fixed heights */
    .ad-single__img,
    .ad-grid__img,
    .ad-carousel__img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Ad section wrapper */
    .ad-single,
    .ad-grid__item,
    .ad-carousel__slide {
        display: block !important;
    }

    /* Grid layout for 2 ads */
    .ad-grid.ad-grid--2 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
}


/* =============================================================
   HOMEPAGE POLISH — Feature Steps & Section Headers
   ============================================================= */

/* ── Feature / How-to-Order section background ────────────── */
section.feature {
    background: linear-gradient(135deg, #fff5f7 0%, #fafafe 100%);
    padding: 56px 0 !important;
    margin-bottom: 0 !important;
}

/* Section title — centred with a subtle underline accent */
section.feature .section-subtitle {
    display: inline-block;
    background: #fff;
    border: 1.5px solid #EE1D48;
    color: #EE1D48;
    border-radius: 50px;
    padding: 4px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
section.feature .section-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    color: #1F1F39;
    text-align: center;
    margin-bottom: 36px;
}

/* Each step card */
section.feature .feature-swiper .swiper-slide {
    background: #fff;
    border-radius: 20px;
    padding: 36px 24px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(238,29,72,.07);
    border: 1.5px solid rgba(238,29,72,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}
section.feature .feature-swiper .swiper-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(238,29,72,.12);
}

/* Icon wrapper pill */
section.feature .feature-swiper .swiper-slide > svg,
section.feature .feature-swiper .swiper-slide > div > svg {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

section.feature .feature-swiper .swiper-slide h3 {
    font-size: 17px;
    font-weight: 800;
    color: #1F1F39;
    margin-bottom: 10px;
}
section.feature .feature-swiper .swiper-slide p {
    font-size: 13px;
    color: #6E7191;
    line-height: 1.65;
    margin: 0;
}

/* ── Section headers on homepage (Cuisines, Restaurants) ─── */
section.category .section-title.borderd,
section.restaurant .section-title.borderd {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: #1F1F39;
    margin-bottom: 28px;
}
section.category .section-title.borderd::after,
section.restaurant .section-title.borderd::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, rgba(238,29,72,.25), transparent);
    border-radius: 2px;
}

/* ── Restaurant cards — desktop polish ───────────────────── */
@media (min-width: 768px) {
    .restaurant-card {
        border-radius: 16px;
        box-shadow: 0 3px 16px rgba(0,0,0,.07);
        overflow: hidden;
        transition: transform .3s ease, box-shadow .3s ease;
        background: #fff;
        text-decoration: none;
        display: block;
    }
    .restaurant-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 36px rgba(0,0,0,.13);
    }
    .bestSellingRestaurantsImage {
        height: 200px !important;
        object-fit: cover;
        width: 100%;
        display: block;
        transition: transform .4s ease;
    }
    .restaurant-card:hover .bestSellingRestaurantsImage {
        transform: scale(1.04);
    }
    .restaurant-card .content {
        padding: 14px 16px 16px;
    }
    .restaurant-card .content h4 {
        font-size: 16px;
        font-weight: 700;
        color: #1F1F39;
        margin-bottom: 5px;
    }
}

/* ── Cuisine cards — desktop polish ──────────────────────── */
@media (min-width: 768px) {
    .category-card {
        border-radius: 16px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 3px 16px rgba(0,0,0,.07);
        transition: transform .3s ease, box-shadow .3s ease;
        display: block;
        text-decoration: none;
    }
    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 32px rgba(238,29,72,.12);
    }
    .bestSellingCusineImage {
        height: 160px !important;
        object-fit: cover;
        width: 100%;
        display: block;
        transition: transform .4s ease;
    }
    .category-card:hover .bestSellingCusineImage {
        transform: scale(1.05);
    }
    .category-card h4 {
        font-size: 14px;
        font-weight: 700;
        padding: 12px 12px 14px;
        color: #1F1F39;
        text-align: center;
    }
}


/* =============================================================
   MOBILE EXPERIENCE OVERHAUL  (max-width: 767px)
   ── No changes to desktop (768px+) ──
   ============================================================= */

/* ── 1. MOBILE HEADER — logo row + search bar ───────────────── */
@media (max-width: 767px) {

    /* Give the header extra height for the search bar row */
    .heder-padding { padding-top: 112px; }

    .header .header-content {
        height: 56px;
        padding: 0 4px;
        gap: 8px;
    }

    /* Logo */
    .header-logo img {
        height: 32px;
        width: auto;
        max-width: 120px;
    }

    /* Hide desktop auth buttons (Sign In / Register / account dropdown) on mobile
       — navigation is handled by the bottom nav Profile tab */
    .header-auth,
    .header-account {
        display: none !important;
    }

    /* Keep cart icon + Dashboard button visible */
    .header-cart {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    .header-btn {
        height: 34px;
        padding: 0 10px;
        font-size: 11px;
        border-radius: 10px;
        gap: 4px;
        flex-shrink: 0;
    }
    .header-btn span { display: none; } /* icon-only on mobile */
    .header-btn svg  { flex-shrink: 0; }

    /* ── Mobile search bar row ─────────────────────────────── */
    .mobile-header-search {
        display: block;
        padding: 6px 0 8px;
        border-top: 1px solid rgba(238,29,72,.07);
    }

    .mobile-search-form { width: 100%; }

    .mobile-search-inner {
        display: flex;
        align-items: center;
        background: #f5f5f9;
        border-radius: 50px;
        border: 1.5px solid rgba(238,29,72,.12);
        padding: 0 6px 0 14px;
        height: 40px;
        gap: 8px;
        transition: border-color .2s, box-shadow .2s;
    }
    .mobile-search-inner:focus-within {
        border-color: #EE1D48;
        box-shadow: 0 0 0 3px rgba(238,29,72,.08);
        background: #fff;
    }

    .mobile-search-icon { flex-shrink: 0; }

    .mobile-search-input {
        flex: 1;
        border: 0;
        background: transparent;
        font-size: 13px;
        color: #1F1F39;
        outline: none;
        min-width: 0;
    }
    .mobile-search-input::placeholder { color: #A0A3BD; }

    .mobile-search-btn {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #EE1D48;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        flex-shrink: 0;
        cursor: pointer;
    }
}

/* Hide the mobile search bar on desktop */
@media (min-width: 768px) {
    .mobile-header-search { display: none; }
}


/* ── 2. MOBILE BOTTOM NAV — redesigned ──────────────────────── */
@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: 62px;
        background: #fff;
        border-top: 1px solid #F0F0F6;
        box-shadow: 0 -6px 24px rgba(0,0,0,.09);
        z-index: 9999;
        align-items: stretch;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .mobile-bottom-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 10px;
        font-weight: 600;
        color: #A0A3BD;
        text-decoration: none;
        padding: 8px 2px;
        border-radius: 0;
        position: relative;
        transition: color .2s;
    }

    .mobile-bottom-nav a svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        transition: stroke .2s;
    }

    /* Active state — primary colour + top indicator bar */
    .mobile-bottom-nav a.active {
        color: #EE1D48;
    }
    .mobile-bottom-nav a.active::before {
        content: '';
        position: absolute;
        top: 0; left: 20%; right: 20%;
        height: 2.5px;
        background: #EE1D48;
        border-radius: 0 0 3px 3px;
    }

    /* Cart highlight when it has items */
    .mobile-bottom-nav a.has-cart {
        color: #EE1D48;
    }

    /* Cart badge */
    .mobile-bottom-nav .nav-badge {
        position: absolute;
        top: 5px;
        left: calc(50% + 5px);
        background: #EE1D48;
        color: #fff;
        font-size: 9px;
        font-weight: 800;
        min-width: 15px;
        height: 15px;
        border-radius: 8px;
        padding: 0 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #fff;
        line-height: 1;
    }

    /* Push page content above bottom nav */
    #main-wrapper { padding-bottom: 62px; }
}

@media (min-width: 768px) {
    .mobile-bottom-nav { display: none !important; }
}


/* ── 3. HERO BANNER — mobile ─────────────────────────────────── */
@media (max-width: 767px) {
    section.banner {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    /* Hide the hero search form on mobile (search is in the sticky header) */
    section.banner .main-search-input { display: none; }

    section.banner .banner-title {
        font-size: clamp(20px, 6vw, 28px) !important;
        line-height: 1.3 !important;
        font-weight: 800;
        margin-bottom: 8px !important;
        text-align: left;
    }
    section.banner .banner-subtitle {
        font-size: 13px !important;
        color: #6E7191;
        text-align: left;
        margin-bottom: 0 !important;
        line-height: 1.5;
    }

    /* Hero image — takes right column, smaller */
    section.banner .banner-image {
        margin-top: 0;
        text-align: center;
    }
    section.banner .banner-image img {
        max-height: 180px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
}


/* ── 4. ADVERTISEMENT BLOCKS — mobile ───────────────────────── */
@media (max-width: 767px) {
    /* All ad blocks visible, tighter padding */
    .ad-block { display: block !important; visibility: visible !important; }
    .ad-block--top    { padding: 8px 0; }
    .ad-block--bottom { padding: 16px 0; }
    .ad-block--after_hero { padding: 0 0 16px; }
    .ad-block--middle { padding: 0 0 16px; }

    /* Single banner: 16:7 on mobile — taller than desktop for impact */
    .ad-single { border-radius: 16px; }
    .ad-single__figure { aspect-ratio: 16 / 7 !important; }
    .ad-single__caption { padding: 20px 14px 14px; }
    .ad-single__title  { font-size: 14px; }
    .ad-single__desc   { font-size: 11px; }

    /* Two-col: 1:1 square tiles on mobile */
    .ad-grid--2 { gap: 10px; }
    .ad-grid__figure { aspect-ratio: 4 / 3 !important; }
    .ad-grid__item  { border-radius: 14px; }
    .ad-grid__caption { padding: 20px 10px 12px; }
    .ad-grid__title { font-size: 13px; }

    /* Carousel */
    .ad-carousel { border-radius: 16px; }
    .ad-carousel__figure { aspect-ratio: 16 / 7 !important; }
    .ad-carousel__caption { padding: 20px 14px 14px; }
    .ad-carousel__title { font-size: 14px; }

    /* Ensure images fill their aspect-ratio containers */
    .ad-single__img,
    .ad-grid__img,
    .ad-carousel__img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}


/* ── 5. SECTION TITLES — mobile ──────────────────────────────── */
@media (max-width: 767px) {
    .section-title.borderd {
        font-size: 17px;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
    }
    .section-title.borderd::after {
        content: '';
        flex: 1;
        height: 2px;
        background: linear-gradient(to right, rgba(238,29,72,.2), transparent);
        border-radius: 2px;
    }
}


/* ── 6. CUISINE CARDS — mobile ───────────────────────────────── */
@media (max-width: 767px) {
    .category.section-gap-66 { padding-top: 20px !important; padding-bottom: 20px !important; }

    .category .row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    /* Override Bootstrap col for cuisine grid */
    .category .col-6,
    .category .col-md-4,
    .category .col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
        padding: 0 !important;
    }

    .category-card {
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,.07);
        display: block;
        text-decoration: none;
    }
    .bestSellingCusineImage {
        height: 80px !important;
        width: 100%;
        object-fit: cover;
        display: block;
    }
    .category-card h4 {
        font-size: 11px;
        font-weight: 700;
        padding: 7px 6px;
        text-align: center;
        color: #1F1F39;
        line-height: 1.3;
    }
}


/* ── 7. RESTAURANT CARDS — mobile ────────────────────────────── */
@media (max-width: 767px) {
    .restaurant.section-gap-66 { padding-top: 20px !important; padding-bottom: 20px !important; }

    /* Horizontal list layout */
    .restaurant .row { gap: 0; }
    .restaurant .col-12,
    .restaurant .col-sm-6,
    .restaurant .col-md-4,
    .restaurant .col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
        padding: 0 !important;
        margin-bottom: 12px;
    }

    .restaurant-card {
        display: flex;
        align-items: center;
        gap: 0;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,.07);
        overflow: hidden;
        text-decoration: none;
    }

    /* Left image */
    .restaurant-card .figure {
        width: 96px;
        min-width: 96px;
        height: 96px;
        margin: 0;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
    }
    .bestSellingRestaurantsImage {
        width: 96px !important;
        height: 96px !important;
        object-fit: cover;
        display: block;
    }
    .restaurant-card .coupon-label {
        position: absolute;
        top: 5px; left: 5px;
        font-size: 9px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 20px;
        background: #EE1D48;
        color: #fff;
        white-space: nowrap;
        z-index: 1;
    }

    /* Right content */
    .restaurant-card .content {
        flex: 1;
        padding: 10px 12px;
        min-width: 0;
    }
    .restaurant-card .content h4 {
        font-size: 14px;
        font-weight: 700;
        color: #1F1F39;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .restaurant-card .ratings {
        display: flex;
        align-items: center;
        gap: 1px;
        margin-bottom: 3px;
    }
    .restaurant-card .ratings svg { width: 10px; height: 10px; }
    .restaurant-card .ratings span { font-size: 10px; color: #6E7191; margin-left: 3px; }
    .restaurant-card .location {
        display: flex;
        align-items: flex-start;
        gap: 3px;
        margin-bottom: 5px;
    }
    .restaurant-card .location svg { width: 11px; height: 11px; flex-shrink: 0; margin-top: 1px; }
    .restaurant-card .location span {
        font-size: 11px;
        color: #6E7191;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .restaurant-card .on,
    .restaurant-card .off {
        display: inline-block;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 20px;
        margin: 0;
    }
    .restaurant-card .on  { background: #e2ffee; color: #1AB759; }
    .restaurant-card .off { background: #ffecec; color: #E93C3C; }
}


/* ── 8. HOW-TO-ORDER (FEATURE) — mobile ──────────────────────── */
@media (max-width: 767px) {
    section.feature {
        padding: 28px 0 !important;
    }
    /* Stack the 3 cards in a single column */
    section.feature .row.g-4 .col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
    }
    section.feature .row.g-4 > div > div {
        padding: 24px 20px !important;
        border-radius: 16px !important;
        height: auto !important;
    }
}


/* ── 9. APP DOWNLOAD — mobile ────────────────────────────────── */
@media (max-width: 767px) {
    section.app { border-radius: 18px; margin: 0 12px 24px; overflow: hidden; }
    .app-content h2 { font-size: 20px; }
    .app-content p  { font-size: 13px; }
    .app-content nav img { height: 36px; }
    .app-image img { max-height: 160px; object-fit: contain; margin: 0 auto; display: block; }
}


/* ── 10. FOOTER — mobile ─────────────────────────────────────── */
@media (max-width: 767px) {
    footer.footer {
        padding-top: 28px !important;
        padding-bottom: 80px !important;
    }
}


/* =============================================================
   BOTTOM NAV — 4-tab override (Home · Restaurants · My Bookings · Profile)
   ============================================================= */
@media (max-width: 767px) {
    /* With only 4 tabs each gets 25% so icons/labels are roomier */
    .mobile-bottom-nav a {
        flex: 1 1 25%;
        font-size: 9px; /* "My Bookings" is long — keep it small */
        font-weight: 700;
        letter-spacing: -.01em;
    }
    .mobile-bottom-nav a span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
        text-align: center;
    }
    /* Active indicator bar scaled to 4 tabs */
    .mobile-bottom-nav a.active::before {
        left: 15%;
        right: 15%;
    }
}


/* =============================================================
   AD CENTERING FIX — mobile (overrides all previous conflicting rules)
   The Bootstrap .container already adds horizontal padding.
   Banners just need width:100% and margin:0 to sit centred.
   ============================================================= */
@media (max-width: 767px) {

    /* ── Strip the stray side-margins that push ads to the right ── */
    .ad-single,
    .ad-grid--2,
    .ad-carousel {
        margin-left:  0 !important;
        margin-right: 0 !important;
        width:        100% !important;
        max-width:    100% !important;
        box-sizing:   border-box !important;
    }

    /* ── Single banner ──────────────────────────────────────── */
    .ad-single            { border-radius: 14px !important; overflow: hidden !important; }
    .ad-single__figure    { aspect-ratio: 16 / 7 !important; width: 100% !important; margin: 0 !important; }
    .ad-single__img       { width: 100% !important; height: 100% !important;
                             object-fit: cover !important; max-height: none !important;
                             display: block !important; }

    /* ── Two-column grid ────────────────────────────────────── */
    .ad-grid--2           { display: grid !important; grid-template-columns: 1fr 1fr !important;
                             gap: 10px !important; }
    .ad-grid__item        { border-radius: 12px !important; overflow: hidden !important; }
    .ad-grid__figure      { aspect-ratio: 4 / 3 !important; width: 100% !important; margin: 0 !important; }
    .ad-grid__img         { width: 100% !important; height: 100% !important;
                             object-fit: cover !important; max-height: none !important;
                             display: block !important; }

    /* ── Carousel ───────────────────────────────────────────── */
    .ad-carousel          { border-radius: 14px !important; overflow: hidden !important; }
    .ad-carousel__figure  { aspect-ratio: 16 / 7 !important; width: 100% !important; margin: 0 !important; }
    .ad-carousel__img     { width: 100% !important; height: 100% !important;
                             object-fit: cover !important; max-height: none !important;
                             display: block !important; }

    /* ── Section wrapper ────────────────────────────────────── */
    .ad-block             { width: 100% !important; overflow: hidden !important; }
    .ad-block .container  { padding-left: 16px !important; padding-right: 16px !important; }
}


/* =============================================================
   ADVERTISEMENT REDESIGN — Hero carousel + compact promo strips
   Replaces all previous ad-block / ad-single / ad-grid rules.
   ============================================================= */

/* ══════════════════════════════════════════════════════════════
   1.  TOP POSITION — full-bleed hero banner carousel
   ══════════════════════════════════════════════════════════════ */
.ad-hero-section {
    width: 100%;
    overflow: hidden;
    /* sits directly below the sticky header */
    margin-bottom: 0;
}

.ad-hero-swiper {
    width: 100%;
    height: auto !important;
    position: relative;
}

.ad-hero-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.ad-hero-slide {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.ad-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
}

/* Cinematic gradient overlay: dark bottom-left, subtle top */
.ad-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,10,20,.65) 0%,
        rgba(10,10,20,.35) 50%,
        rgba(10,10,20,.10) 100%
    );
    pointer-events: none;
}

/* Text content */
.ad-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

@media (max-width: 767px) {
    .ad-hero-content { padding: 20px 20px 18px; gap: 5px; }
}

.ad-hero-title {
    color: #fff;
    font-size: clamp(18px, 2.8vw, 32px);
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    margin: 0;
    max-width: 600px;
}

.ad-hero-desc {
    color: rgba(255,255,255,.88);
    font-size: clamp(12px, 1.4vw, 16px);
    line-height: 1.5;
    margin: 0;
    max-width: 520px;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

.ad-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    background: #EE1D48;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 50px;
    width: fit-content;
    letter-spacing: .02em;
    box-shadow: 0 4px 16px rgba(238,29,72,.4);
    transition: background .2s, transform .2s;
}
.ad-hero-cta:hover { background: #c41539; transform: translateY(-1px); }

/* Prev / Next arrow buttons */
.ad-hero-prev,
.ad-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.ad-hero-prev { left: 16px;  }
.ad-hero-next { right: 16px; }
.ad-hero-prev:hover,
.ad-hero-next:hover { background: rgba(238,29,72,.75); }

@media (max-width: 575px) {
    .ad-hero-prev, .ad-hero-next { width: 32px; height: 32px; }
    .ad-hero-prev { left: 8px;  }
    .ad-hero-next { right: 8px; }
}

/* Dot pagination */
.ad-hero-pagination {
    position: absolute;
    bottom: 12px; right: 20px;
    left: auto !important;
    width: auto !important;
    z-index: 10;
    display: flex;
    gap: 6px;
    align-items: center;
}
.ad-hero-pagination .swiper-pagination-bullet {
    width: 6px; height: 6px;
    background: rgba(255,255,255,.5);
    border-radius: 3px;
    opacity: 1;
    transition: all .3s;
    margin: 0;
}
.ad-hero-pagination .swiper-pagination-bullet-active {
    width: 20px;
    background: #fff;
}


/* ══════════════════════════════════════════════════════════════
   2.  OTHER POSITIONS — compact promo strip
       Max height 220px desktop / 140px mobile
       Images use object-fit:cover so any upload looks good
   ══════════════════════════════════════════════════════════════ */

/* Section wrapper */
.ad-block { overflow: visible; }
.ad-block--after_hero { padding: 28px 0 0; }
.ad-block--middle     { padding: 0 0 32px; }
.ad-block--bottom     { padding: 0 0 40px; }

/* ── shared promo card shell ─────────────────────────────── */
.ad-promo__link {
    display: block;
    text-decoration: none;
}

.ad-promo__inner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    /* Fixed height — works for ANY uploaded image shape */
    height: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ad-promo__link:hover .ad-promo__inner,
.ad-promo--single .ad-promo__inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,.18);
}

.ad-promo__img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s ease;
}
.ad-promo__link:hover .ad-promo__img { transform: scale(1.04); }

/* Caption overlay */
.ad-promo__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,.70) 0%, transparent 100%);
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ad-promo__title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.ad-promo__desc {
    color: rgba(255,255,255,.85);
    font-size: 12px;
    line-height: 1.4;
    display: block;
}

/* ── Single banner: wider, slightly taller ───────────────── */
.ad-promo--single .ad-promo__inner { height: 220px; }

/* ── Two-column grid ─────────────────────────────────────── */
.ad-promo--grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 575px) {
    .ad-promo--grid2 { grid-template-columns: 1fr; gap: 12px; }
}

/* ── Carousel strip (3+ ads) ─────────────────────────────── */
.ad-promo--carousel {
    overflow: hidden;
    border-radius: 16px;
}
.ad-promo--carousel .ad-promo__card { height: 200px; }
.ad-promo--carousel .ad-promo__inner { height: 100%; }

/* Carousel pagination */
.ad-strip-pagination {
    position: relative;
    margin-top: 10px;
    text-align: center;
}
.ad-strip-pagination .swiper-pagination-bullet {
    background: #ccc; opacity: 1; width: 6px; height: 6px;
}
.ad-strip-pagination .swiper-pagination-bullet-active {
    background: #EE1D48; width: 18px; border-radius: 3px;
}


/* ══════════════════════════════════════════════════════════════
   3.  MOBILE OVERRIDES  (≤ 767px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    /* Hero */
    .ad-hero-swiper          { height: 210px; }
    .ad-hero-title           { font-size: 15px; }
    .ad-hero-desc            { font-size: 11px; }
    .ad-hero-cta             { font-size: 11px; padding: 7px 16px; }

    /* Promo strips */
    .ad-block--after_hero    { padding: 14px 0 0; }
    .ad-block--middle        { padding: 0 0 16px; }
    .ad-block--bottom        { padding: 0 0 20px; }

    .ad-promo__inner         { height: 140px !important; border-radius: 12px; }
    .ad-promo--single .ad-promo__inner { height: 160px !important; }
    .ad-promo__title         { font-size: 13px; }
    .ad-promo__desc          { font-size: 11px; }

    .ad-promo--grid2         { gap: 10px; }
}


/* ══════════════════════════════════════════════════════════════
   4.  NULL OUT ALL OLD CONFLICTING AD RULES
       (belt-and-suspenders — the old rules had inline !important)
   ══════════════════════════════════════════════════════════════ */
/* These selectors no longer exist in the new partial, but if any
   old cached HTML somehow serves them, make them harmless. */
.ad-single,
.ad-grid--2,
.ad-grid__item,
.ad-grid__figure,
.ad-grid__img,
.ad-single__figure,
.ad-single__img,
.ad-carousel,
.ad-carousel__figure,
.ad-carousel__img {
    /* Defer to the new ad-promo rules instead */
    max-height: none;
    aspect-ratio: unset;
}


/* =============================================================
   AD HERO — FINAL RESPONSIVE IMAGE FIX
   ============================================================= */

.ad-hero-section {
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.ad-hero-swiper {
    width: 100%;
    height: 420px !important;
    position: relative;
    overflow: hidden;
}

.ad-hero-swiper .swiper-wrapper {
    height: 100% !important;
}

.ad-hero-swiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
}

.ad-hero-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ad-hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full advertisement visible — NO CROP */
.ad-hero-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: none !important;
    animation: none !important;
}

/* Remove dark/blur-looking overlay */
.ad-hero-overlay {
    display: none !important;
}

/* Keep text readable without changing image */
.ad-hero-content {
    z-index: 5;
}

/* Desktop */
@media (min-width: 992px) {
    .ad-hero-swiper {
        height: 420px !important;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .ad-hero-swiper {
        height: 320px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ad-hero-swiper {
        height: 250px !important;
    }

    .ad-hero-title {
        font-size: 15px;
    }

    .ad-hero-desc {
        font-size: 11px;
    }

    .ad-hero-cta {
        font-size: 11px;
        padding: 7px 16px;
    }
}

/* Small mobile */
@media (max-width: 575px) {
    .ad-hero-swiper {
        height: 210px !important;
    }
}

/* =============================================================
   HEADER NAV LINKS  (Home · About Us · Contact Us · Register)
   Desktop only — hidden on mobile (bottom nav handles navigation)
   ============================================================= */
.header-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 24px;
    flex-shrink: 0;
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #1F1F39;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s, color .18s;
    letter-spacing: -.01em;
}

.header-nav-link:hover {
    background: rgba(238, 29, 72, .07);
    color: #EE1D48;
}

.header-nav-link.active {
    color: #EE1D48;
    background: rgba(238, 29, 72, .08);
}

/* Hide on mobile — bottom nav covers navigation */
@media (max-width: 767px) {
    .header-nav-links { display: none; }
}

/* Tablet: compact labels */
@media (min-width: 768px) and (max-width: 1023px) {
    .header-nav-link { font-size: 13px; padding: 5px 10px; }
}


/* ── Register nav link — styled as a pill CTA ─────────────────── */
.header-nav-link--cta {
    background: #EE1D48;
    color: #fff !important;
    padding: 7px 18px;
    border-radius: 50px;
    font-weight: 700;
    transition: background .2s, transform .15s;
}
.header-nav-link--cta:hover {
    background: #c41538 !important;
    color: #fff !important;
    transform: translateY(-1px);
}


/* =============================================================
   HEADER SEARCH + RESTAURANTS DROPDOWN
   ============================================================= */

/* ── Header search wrap — base styles (width overridden by collapsible fix below) ── */
.header-search-wrap {
    position: relative;
}

.header-search-inner {
    display: flex;
    align-items: center;
    background: #f5f5f9;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    padding: 0 6px 0 12px;
    height: 38px;
    gap: 6px;
    transition: border-color .2s, box-shadow .2s;
}
.header-search-inner:focus-within {
    border-color: #EE1D48;
    box-shadow: 0 0 0 3px rgba(238,29,72,.08);
    background: #fff;
}

.header-search-icon { flex-shrink: 0; }

.header-search-input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 13px;
    color: #1F1F39;
    outline: none;
    min-width: 0;
}
.header-search-input::placeholder { color: #a0a3bd; font-size: 12px; }

.header-search-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #EE1D48;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
    transition: background .2s;
}
.header-search-btn:hover { background: #c41538; }

/* Autocomplete dropdown */
.header-ac-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.13);
    z-index: 9999;
    overflow: hidden;
    max-height: 360px;
    overflow-y: auto;
}

.hac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: #1F1F39;
    transition: background .15s;
    border-bottom: 1px solid #f5f5f9;
}
.hac-item:last-child { border-bottom: 0; }
.hac-item:hover { background: #fff5f7; }

.hac-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: #fff0f3;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: #EE1D48;
}
.hac-text { min-width: 0; }
.hac-label {
    font-size: 13px;
    font-weight: 600;
    color: #1F1F39;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hac-sub {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hac-badge {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.hac-badge--restaurant { background: #fff0f3; color: #EE1D48; }
.hac-badge--dish       { background: #f0fdf4; color: #16a34a; }
.hac-badge--cuisine    { background: #fef3c7; color: #d97706; }

.hac-empty {
    padding: 14px 16px;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
}

/* Hide on mobile — mobile search bar handles it */
@media (max-width: 767px) {
    .header-search-wrap { display: none; }
}
/* Tablet width override handled in HEADER OVERFLOW FIX section below */


/* ── Restaurants nav dropdown ──────────────────────────────── */
.header-nav-dropdown-wrap {
    position: relative;
}

.header-nav-link--arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.header-nav-arrow-icon {
    transition: transform .2s;
    flex-shrink: 0;
}
.header-nav-dropdown-wrap:hover .header-nav-arrow-icon,
.header-nav-dropdown-wrap:focus-within .header-nav-arrow-icon {
    transform: rotate(180deg);
}

.header-nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    max-width: 90vw;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 56px rgba(0,0,0,.14);
    border: 1px solid #f0f0f4;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .22s, transform .22s, visibility .22s;
    pointer-events: none;
}
.header-nav-dropdown-wrap:hover .header-nav-dropdown,
.header-nav-dropdown-wrap:focus-within .header-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.header-nav-dropdown-inner {
    padding: 16px;
}

/* 2-column grid of restaurant cards */
.hnd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.hnd-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    text-decoration: none;
    background: #fafafa;
    border: 1.5px solid #f0f0f4;
    transition: background .15s, border-color .15s, transform .15s;
    min-width: 0;
}
.hnd-card:hover {
    background: #fff5f7;
    border-color: rgba(238,29,72,.2);
    transform: translateY(-1px);
}

.hnd-img-wrap {
    width: 40px; height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f4;
}
.hnd-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.hnd-info { min-width: 0; }
.hnd-name {
    font-size: 12px;
    font-weight: 700;
    color: #1F1F39;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.hnd-addr {
    font-size: 10px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.hnd-view-all {
    display: block;
    text-align: center;
    padding: 9px 0 3px;
    font-size: 13px;
    font-weight: 700;
    color: #EE1D48;
    text-decoration: none;
    border-top: 1px solid #f0f0f4;
    margin-top: 4px;
    transition: color .15s;
}
.hnd-view-all:hover { color: #c41538; }

.hnd-empty {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    padding: 20px 0;
}

/* Tablet: narrower dropdown */
@media (max-width: 991px) {
    .header-nav-dropdown { width: 400px; }
    .hnd-grid { grid-template-columns: 1fr; }
}

/* Hide dropdown on mobile */
@media (max-width: 767px) {
    .header-nav-dropdown-wrap .header-nav-dropdown { display: none; }
}

/* =========================================================
   MORE RESTAURANTS + POPULAR DISHES
   ========================================================= */

.more-restaurants-section,
.more-dishes-section {
    width: 100%;
    padding: 55px 0;
    background: #fff;
    clear: both;
}

.more-restaurants-section .container,
.more-dishes-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.more-restaurants-section .section-title,
.more-dishes-section .section-title {
    text-align: center;
    color: #171936;
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 40px;
}

/* ---------- RESTAURANT CARDS ---------- */

.more-restaurants-row,
.more-dishes-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: -12px;
    margin-right: -12px;
}

.more-restaurants-row > div,
.more-dishes-row > div {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.more-restaurant-card {
    display: block;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    text-decoration: none !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
    transition: .25s ease;
}

.more-restaurant-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.more-restaurant-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f5f5f5;
}

.more-restaurant-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.more-restaurant-card:hover .more-restaurant-image img {
    transform: scale(1.06);
}

.more-restaurant-content {
    padding: 17px 18px 19px;
}

.more-restaurant-content h4 {
    margin: 0 0 8px;
    color: #171936;
    font-size: 19px;
    font-weight: 700;
}

.more-restaurant-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.more-restaurant-rating span:first-child {
    color: #f5224d;
    font-size: 17px;
}

.more-restaurant-rating small {
    color: #999;
}

.more-restaurant-content p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

/* ---------- DISH CARDS ---------- */

.more-dish-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
    transition: .25s ease;
}

.more-dish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.more-dish-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f5f5f5;
}

.more-dish-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.more-dish-card:hover .more-dish-image img {
    transform: scale(1.06);
}

.more-dish-content {
    padding: 17px 18px 19px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.more-dish-content h4 {
    margin: 0 0 7px;
    color: #171936;
    font-size: 19px;
    font-weight: 700;
}

.more-dish-restaurant {
    margin: 0 0 7px;
    color: #f5224d;
    font-size: 14px;
    font-weight: 600;
}

.more-dish-description {
    margin: 0 0 14px;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.more-dish-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.more-dish-price {
    display: flex;
    align-items: center;
    gap: 7px;
}

.more-dish-price del {
    color: #999;
    font-size: 13px;
}

.more-dish-price strong {
    color: #171936;
    font-size: 17px;
}

.more-dish-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border-radius: 20px;
    background: #fff0f3;
    color: #f5224d;
    font-size: 13px;
    font-weight: 600;
}

/* ---------- DISH POPUP ---------- */

.more-dish-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.more-dish-modal.is-open {
    display: flex;
}

.more-dish-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(3px);
}

.more-dish-modal-box {
    position: relative;
    z-index: 2;
    width: min(760px, 95vw);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .25);
    animation: moreDishPopupIn .22s ease;
}

.more-dish-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 27px;
    line-height: 38px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
}

.more-dish-modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.more-dish-modal-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-dish-modal-content {
    padding: 25px;
}

.more-dish-modal-content h3 {
    margin: 0 0 8px;
    color: #171936;
    font-size: 28px;
    font-weight: 700;
}

.modal-restaurant-name {
    margin: 0 0 15px;
    color: #f5224d;
    font-weight: 600;
}

.modal-category-list {
    margin-bottom: 15px;
}

@keyframes moreDishPopupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 767px) {

    .more-restaurants-section,
    .more-dishes-section {
        padding: 40px 0;
    }

    .more-restaurants-section .section-title,
    .more-dishes-section .section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .more-restaurant-image,
    .more-dish-image {
        height: 180px;
    }

    .more-dish-modal {
        padding: 12px;
    }

    .more-dish-modal-image {
        height: 220px;
    }

    .more-dish-modal-content {
        padding: 20px;
    }

}


/* =========================================================
   FINAL ADVERTISEMENT BANNER FIX
   ========================================================= */

.ad-hero-section {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.ad-hero-swiper {
    width: 100% !important;
    height: auto !important;
    position: relative;
    overflow: hidden;
}

.ad-hero-swiper .swiper-wrapper {
    height: auto !important;
}

.ad-hero-swiper .swiper-slide {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    overflow: hidden;
}

.ad-hero-link {
    display: block;
    width: 100%;
    height: auto;
}

.ad-hero-slide {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

.ad-hero-img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Remove old dark background/overlay effect */
.ad-hero-bg {
    display: none !important;
}

.ad-hero-overlay {
    display: none !important;
}

/* Logo-matching pink text */
.ad-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;

    padding: 45px 60px 38px;

    background: linear-gradient(
        to top,
        rgba(255,255,255,0.96) 0%,
        rgba(255,255,255,0.78) 45%,
        rgba(255,255,255,0) 100%
    );

    gap: 6px;
}

.ad-hero-title {
    color: #EE1D48 !important;
    font-size: clamp(20px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-shadow: none;
}

.ad-hero-desc {
    color: #20213A !important;
    font-size: clamp(12px, 1.5vw, 17px);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    text-shadow: none;
}

.ad-hero-cta {
    background: #EE1D48 !important;
    color: #fff !important;
    margin-top: 8px;
}

/* Navigation */
.ad-hero-prev,
.ad-hero-next {
    z-index: 20;
}

/* Mobile */
@media (max-width: 767px) {

    .ad-hero-content {
        padding: 25px 20px 20px;
    }

    .ad-hero-title {
        font-size: 18px;
    }

    .ad-hero-desc {
        font-size: 11px;
    }

    .ad-hero-cta {
        font-size: 10px;
        padding: 6px 14px;
    }
}


/* FINAL TOP AD SIZE */
.ad-hero-section {
    width: 100%;
    height: 300px !important;
    overflow: hidden !important;
}

.ad-hero-swiper {
    width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
}

.ad-hero-swiper .swiper-wrapper {
    height: 300px !important;
}

.ad-hero-swiper .swiper-slide {
    width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
}

.ad-hero-slide,
.ad-hero-link {
    width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
}

.ad-hero-img {
    width: 100% !important;
    height: 300px !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Hide old overlay */
.ad-hero-overlay {
    display: none !important;
}

/* Advertisement text */
.ad-hero-content {
    bottom: 0 !important;
    padding: 25px 50px !important;
    background: linear-gradient(
        to top,
        rgba(255,255,255,.92),
        rgba(255,255,255,0)
    ) !important;
}

.ad-hero-title {
    color: #EE1D48 !important;
    text-shadow: none !important;
}

.ad-hero-desc {
    color: #20213A !important;
    text-shadow: none !important;
}

/* Mobile */
@media (max-width: 767px) {
    .ad-hero-section,
    .ad-hero-swiper,
    .ad-hero-swiper .swiper-wrapper,
    .ad-hero-swiper .swiper-slide,
    .ad-hero-slide,
    .ad-hero-link {
        height: 190px !important;
    }

    .ad-hero-img {
        height: 190px !important;
    }

    .ad-hero-content {
        padding: 15px 20px !important;
    }
}


/* =============================================================
   HEADER — Account + Dashboard alignment fix
   ============================================================= */

@media (min-width: 768px) {

    /* Keep account/user section compact and vertically centered */
    .header-account {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        min-width: 0 !important;
    }

    /* User dropdown */
    .header-account-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 150px !important;
        min-width: 150px !important;
        height: 42px !important;
        padding: 0 10px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .header-account-btn > span {
        display: block !important;
        min-width: 0 !important;
        max-width: 100px !important;
        line-height: 1.15 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Prevent role text from dropping below */
    .header-account-btn small,
    .header-account-btn .role,
    .header-account-btn .user-role {
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* Dashboard button */
    .header-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin-left: 8px !important;
        height: 42px !important;
        padding: 0 18px !important;
        border-radius: 22px !important;
    }

    .header-btn span {
        display: inline-block !important;
        white-space: nowrap !important;
    }
}

/* Keep mobile behaviour unchanged */
@media (max-width: 767px) {
    .header-btn {
        margin-left: 0 !important;
    }
}


/* Reservation action - Approve text button */
.reservation-approve-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 32px;
    padding: 0 12px;
    border-radius: 7px;
    background: #EE1D48 !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .2s ease;
}

.reservation-approve-btn:hover {
    background: #d9163f !important;
    color: #fff !important;
    transform: translateY(-1px);
}



/* =============================================================
   HEADER OVERFLOW FIX + COLLAPSIBLE SEARCH
   ============================================================= */

/* Clip anything that bleeds outside the header bar */
.header {
    overflow: visible;
}

/* Flex row: no wrap, never overflow */
.header-content {
    flex-wrap: nowrap;
    min-width: 0;
    overflow: visible;
    gap: 8px;
}

/* Nav links: can shrink, but don't clip text weirdly */
.header-nav-links {
    flex-shrink: 1;
    min-width: 0;
    flex: 0 1 auto;
}

/* Header group (cart + user + dashboard): never shrink */
.header-group {
    flex-shrink: 0;
    margin-left: auto;
}

/* Logo: never shrink */
.header-logo {
    flex-shrink: 0;
}

/* ── COLLAPSIBLE SEARCH BAR ─────────────────────────────────── */
/* Default (desktop): show as a small icon-only button */
.header-search-wrap {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    max-width: 40px;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(.4,0,.2,1),
                max-width 0.3s cubic-bezier(.4,0,.2,1),
                box-shadow 0.2s;
    border-radius: 50px;
}

/* When expanded (JS adds .search-expanded on the wrap) */
.header-search-wrap.search-expanded {
    width: 280px;
    max-width: 280px;
    overflow: visible;
    box-shadow: 0 0 0 3px rgba(238,29,72,.12);
}

/* The inner form stays full width; collapsed state hides the text input visually */
.header-search-inner {
    width: 100%;
    border-radius: 50px;
    background: #f5f5f9;
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    height: 38px;
    padding: 0 6px 0 10px;
    gap: 6px;
    transition: border-color .2s, box-shadow .2s, background .2s;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}

.header-search-wrap.search-expanded .header-search-inner {
    background: #fff;
    border-color: #EE1D48;
    cursor: default;
}

/* Hide the text input & submit button when collapsed */
.header-search-input,
.header-search-btn {
    opacity: 0;
    pointer-events: none;
    width: 0;
    transition: opacity 0.25s, width 0.3s;
}

/* Show them when expanded */
.header-search-wrap.search-expanded .header-search-input {
    opacity: 1;
    pointer-events: auto;
    width: auto;
    flex: 1;
    min-width: 0;
}

.header-search-wrap.search-expanded .header-search-btn {
    opacity: 1;
    pointer-events: auto;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Search icon always visible, centered when collapsed */
.header-search-icon {
    flex-shrink: 0;
    margin: 0 auto;
}

/* ── 1024px – 1199px: slightly compact nav ──────────────────── */
@media (min-width: 1024px) and (max-width: 1199px) {
    .header-nav-link {
        font-size: 13px;
        padding: 5px 10px;
    }
    .header-nav-links {
        gap: 2px;
        margin-left: 10px;
    }
    .header-search-wrap.search-expanded {
        width: 240px;
        max-width: 240px;
    }
}

/* ── 768px – 1023px: compact nav, expanded search smaller ────── */
@media (min-width: 768px) and (max-width: 1023px) {
    .header-nav-link {
        font-size: 12px;
        padding: 4px 8px;
    }
    .header-nav-links {
        gap: 0px;
        margin-left: 6px;
    }
    .header-search-wrap.search-expanded {
        width: 200px;
        max-width: 200px;
    }
    /* Hide role label on account button to save space */
    .header-account-btn small {
        display: none;
    }
    .header-account-btn span {
        font-size: 12px;
    }
    /* Dashboard button: icon only */
    .header-btn span {
        display: none;
    }
    .header-btn {
        padding: 0 10px;
        min-width: 36px;
    }
}
