/* ============================================================
   EAT-NOW HOME PAGE — Premium Redesign CSS
   Primary: #4B0082 (Indigo)   Font: Poppins
============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: #fbfaff;
    margin: 0;
}

/* ====================================================
   PREMIUM 3-ROW NAVBAR
   ==================================================== */
.en-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(75, 0, 130, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

/* ─── Row shared ─── */
.en-nav-row {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ─── Row 1: Logo + buttons ─── */
.en-nav-row-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 8px;
    background: transparent;
    border: none;
}

.en-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.en-brand img {
    height: 42px;
    display: block;
}

.en-nav-row1-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Restaurants — indigo fill */
.en-btn-restaurants {
    background: #4B0082;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 22px;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s;
    display: inline-flex;
    align-items: center;
    gap: 0;
    letter-spacing: .01em;
    white-space: nowrap;
}

.en-btn-restaurants:hover {
    background: #35005a;
}

/* Login/Signup — near-black fill */
.en-btn-login {
    background: #111827;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 22px;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: .01em;
    white-space: nowrap;
}

.en-btn-login:hover {
    background: #0a0f1a;
    color: #fff;
}

/* Cart + amount — indigo fill */
.en-cart-btn {
    background: #4B0082;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: relative;
    letter-spacing: .01em;
    white-space: nowrap;
}

.en-cart-btn:hover {
    background: #35005a;
    color: #fff;
}

.en-cart-btn .material-icons {
    font-size: 19px;
}

.en-cart-amount {
    font-size: 13.5px;
    font-weight: 600;
}

.en-cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Profile dropdown */
.en-profile-drop {
    position: relative;
}

.en-profile-toggle {
    background: #4B0082;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .18s;
}

.en-profile-toggle:hover {
    background: #35005a;
}

.en-profile-menu {
    position: absolute;
    top: 46px;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(75, 0, 130, .15);
    min-width: 160px;
    z-index: 9999;
    overflow: hidden;
    display: none;
}

.en-profile-drop:hover .en-profile-menu {
    display: block;
}

.en-profile-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: background .2s;
}

.en-profile-menu a:hover {
    background: #f3e8ff;
    color: #4B0082;
}

/* ─── Row 2: Location + service options ─── */
.en-nav-row-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 16px;
    background: transparent;
    border: none;
}

/* Location pill */
.en-nav-location {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 0 4px 0 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    min-width: 0;
    max-width: fit-content;
    height: 42px;
}

.en-nav-location .material-icons {
    font-size: 20px;
    color: #FFB300;
    flex-shrink: 0;
    margin-top: -1px; /* Correction for font alignment */
}

.en-nav-location-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 450px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: normal;
}

.en-change-loc {
    color: #fff !important;
    background: #4B0082;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 18px;
    border-radius: 50px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s ease;
    cursor: pointer;
    margin-left: 10px;
}

.en-change-loc:hover {
    background: #3a0066;
    transform: scale(1.02);
}

/* Service option buttons */
.en-nav-options {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.en-nav-opt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4B0082;
    background: #f3eeff;
    border: 1.5px solid #dbc8ff;
    border-radius: 8px;
    padding: 7px 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
    white-space: nowrap;
}

.en-nav-opt-btn .material-icons {
    font-size: 18px;
}

.en-nav-opt-btn:hover,
.en-nav-opt-btn._active {
    background: #4B0082;
    color: #fff;
    border-color: #4B0082;
}

.en-nav-opt-btn._active .material-icons {
    color: #fff;
}

/* ─── Row 3: Centered search bar ─── */
.en-nav-row-3 {
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    justify-content: center;
}

.en-nav-search-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    border: 1.5px solid #e5dbff;
    box-shadow: 0 2px 12px rgba(75, 0, 130, 0.05);
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    transition: all 0.3s ease;
}

.en-nav-search-wrap:focus-within {
    border-color: #9c6fd6;
    box-shadow: 0 4px 18px rgba(75, 0, 130, .14);
}

.en-nav-search-wrap .en-search-icon {
    padding: 0 14px;
    color: #9e9e9e;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.en-nav-search-wrap .en-search-icon .material-icons {
    font-size: 20px;
}

.en-nav-search-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: #333;
    padding: 11px 8px 11px 0;
    background: transparent;
}

.en-nav-search-wrap input::placeholder {
    color: #b0b0b0;
}

/* ─── Page body offset (navbar height = ~165px) ─── */
.en-page-body {
    padding-top: 160px;
}

/* ─── Scroll-margin for anchors ─── */
#all-restaurants {
    scroll-margin-top: 180px;
}

/* ====================================================
   HERO SECTION - Modern Card Layout
   ==================================================== */
.en-hero {
    background: #fbfaff;
    padding: 35px 0 0px;
}

.en-hero .en-hero-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(75, 0, 130, 0.08);
    position: relative;
    border: 1px solid #f0ebff;
}

.en-hero-left {
    flex: 1;
    padding: 50px 60px;
    z-index: 2;
    background: #fff;
    max-width: 600px;
}

.en-hero-left .en-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #4B0082;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease-out both;
}

.en-hero-left h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.en-hero-left h1 .en-highlight {
    color: #4B0082;
}

.en-hero-left .en-hero-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Right Side - Purple Area */
.en-hero-right {
    flex: 1.2;
    background: #4B0082;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Curved transition */
.en-hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120px;
    width: 240px;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    transform: scaleY(1.4);
    z-index: 1;
}

.en-hero-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

.en-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
    /* Black shaded */
    transition: transform 0.5s ease;
}

.en-hero-inner:hover .en-hero-img {
    transform: scale(1.03);
}

/* Notification Badges / Cards */
.en-hero-badge {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
    min-width: 220px;
    animation: badgeFloat 5s ease-in-out infinite;
}

.en-hero-badge .badge-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

.en-hero-badge .badge-label span {
    color: #4B0082;
    font-size: 18px;
}

.en-hero-badge .badge-text {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #666;
}

.en-hero-badge .badge-time {
    font-size: 11px;
    color: #aaa;
    position: absolute;
    top: 14px;
    right: 14px;
}

/* Position badges */
.badge-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.badge-2 {
    top: 45%;
    right: 25%;
    animation-delay: 1.5s;
}

.badge-3 {
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ====================================================
   COMMON SECTION STYLES
   ==================================================== */
.en-section {
    padding: 52px 0 40px;
    background: #fbfaff;
}

.en-section-alt {
    background: #fbfaff;
}

.en-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #000;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.en-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.en-section-header {
    margin-bottom: 24px;
}

/* ====================================================
   CUISINES CAROUSEL
   ==================================================== */
.en-cuisines-wrapper,
.en-deals-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.en-cuisines-track-outer {
    overflow: hidden;
    flex: 1;
}

.en-cuisines-track {
    display: flex;
    gap: 16px;
    transition: transform .4s ease;
    padding: 8px 4px;
}

.en-cuisine-card {
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .25s;
}

.en-cuisine-card:hover {
    transform: translateY(-6px);
}

.en-cuisine-img {
    width: 210px;
    height: 180px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.en-cuisine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.en-cuisine-card:hover .en-cuisine-img img {
    transform: scale(1.08);
}

.en-cuisine-name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    color: #03081F;
    text-align: center;
}

.en-carousel-arrow {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 18px;
    z-index: 2;
}

.en-cuisines-wrapper .en-carousel-arrow {
    margin-top: 68px;
    /* Correctly center against 180px height */
}

.en-deals-wrapper .en-carousel-arrow {
    margin-top: 88px;
    /* Correctly center against 220px height */
}

.en-carousel-arrow:hover {
    border-color: #4B0082;
    color: #4B0082;
}

/* ====================================================
   EXCLUSIVE DEALS
   ==================================================== */
.en-deals-track {
    display: flex;
    gap: 20px;
    transition: transform .4s ease;
    padding: 8px 4px;
}

.en-deal-card {
    flex: 0 0 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: none;
    height: 220px;
    background: transparent;
}

.en-deal-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.en-deal-overlay {
    position: absolute;
    inset: 0;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
}

.en-deal-badge {
    position: absolute;
    top: 0;
    right: 15px;
    background: #03081F;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px 12px;
    border-radius: 0 0 8px 8px;
}

.en-deal-name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.2;
}

.en-deal-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #9D50FF;
    margin-bottom: 2px;
}

/* ====================================================
   NEAREST RESTAURANTS
   ==================================================== */
.en-nearest-track {
    display: flex;
    gap: 16px;
    transition: transform .4s ease;
    padding: 8px 4px;
}

.en-nearest-card {
    flex: 0 0 210px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.en-nearest-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.en-nearest-logo {
    width: 210px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.en-nearest-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.en-nearest-name {
    background: #4B0082;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 7px 6px;
    width: 100%;
}

/* ====================================================
   ALL RESTAURANTS — dynamic grid
   ==================================================== */
.en-all-section {
    background: #fbfaff;
    padding: 60px 0;
}

.en-rest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 991px) {
    .en-rest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .en-rest-grid {
        grid-template-columns: 1fr;
    }
}

.en-rest-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: none;
}

.en-rest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(75, 0, 130, .13);
}

.en-rest-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f8f8fb;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.en-rest-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.en-rest-card:hover .en-rest-img-wrap img {
    transform: scale(1.05);
}

.en-rest-body {
    padding: 18px 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.en-rest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
}

.en-rest-name {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    color: #000;
}

.en-rest-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    white-space: nowrap;
    color: #fff;
}

.en-badge-open {
    background: #008751;
}

.en-badge-closed {
    background: #D32F2F;
}

.en-badge-soon {
    background: #F57C00;
}

.en-rest-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    color: #444;
    line-height: 1.6;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====================================================
   FOOTER
   ==================================================== */
.en-footer {
    background: #fff;
    color: #03081F;
    padding: 60px 0 0;
    border-top: 1px solid #eeeaf9;
}

.en-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 2fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 991px) {
    .en-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .en-footer-grid {
        grid-template-columns: 1fr;
    }
}

.en-footer-logo img {
    height: 36px;
    filter: none;
    margin-bottom: 14px;
}

.en-footer-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.en-footer-col h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #03081F;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.en-footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #4B0082;
    border-radius: 2px;
}

.en-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.en-footer-links li {
    margin-bottom: 10px;
}

.en-footer-links a {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.en-footer-links a:hover {
    color: #4B0082;
}

.en-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #555;
}

.en-footer-contact-item .material-icons {
    font-size: 17px;
    color: #4B0082;
    margin-top: 1px;
}

.en-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 4px;
}

.en-newsletter-form input {
    flex: 1;
    border: 1px solid #eeeaf9;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    padding: 12px 14px;
    background: #fbfaff;
    color: #03081F;
}

.en-newsletter-form input::placeholder {
    color: #999;
}

.en-newsletter-form button {
    background: #4B0082;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}

.en-newsletter-form button:hover {
    background: #35005a;
}

.en-footer-bottom {
    border-top: 1px solid #eeeaf9;
    margin-top: 48px;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.en-footer-copy {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #888;
}

.en-footer-policy-links {
    display: flex;
    gap: 20px;
}

.en-footer-policy-links a {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #888;
    text-decoration: none;
    transition: color .2s;
}

.en-footer-policy-links a:hover {
    color: #4B0082;
}

/* ====================================================
   SCROLL TO TOP
   ==================================================== */
.en-scroll-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: #4B0082;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(75, 0, 130, .3);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s;
    border: none;
}

.en-scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.en-scroll-top:hover {
    background: #35005a;
}

.en-nav-location-label {
    display: none;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 992px) {
    .en-nav-row-1 {
        padding: 10px 18px;
    }

    .en-nav-row-2 {
        padding: 7px 18px;
    }

    .en-nav-row-3 {
        padding: 8px 18px 10px;
    }

    .en-nav-row-2 {
        flex-wrap: wrap;
        gap: 8px;
    }

    .en-nav-location-text {
        max-width: 180px;
    }

    .en-page-body {
        padding-top: 175px;
    }
}

@media (max-width: 768px) {

    /* ─── Page body offset ─── */
    .en-page-body {
        padding-top: 0;
    }

    /* ─── Navbar Mobile ─── */
    .en-navbar {
        position: static;
        /* Let it flow with content in mobile to match image look more closely or just disable fixed */
        box-shadow: none;
        background: #fff;
        padding-bottom: 0;
    }

    .en-nav-row {
        padding: 0 12px;
    }

    /* Row 1: Logo + Profile */
    .en-nav-row-1 {
        padding-top: 15px;
        padding-bottom: 12px;
    }

    .en-brand img {
        height: 34px;
    }

    .en-mobile-profile {
        color: #000;
        text-decoration: none;
    }

    .en-mobile-profile .material-icons {
        font-size: 40px;
    }

    /* Row 2: Location Bar (Purple) */
    .en-nav-row-2 {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    .en-nav-location {
        background: #4B0082;
        color: #fff;
        gap: 8px;
        min-height: 34px;
        padding: 4px 16px;
        width: 100%;
    }

    .en-nav-location .material-icons {
        color: #fff;
        font-size: 24px;
    }

    .en-nav-location-content {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }

    .en-nav-location-label {
        display: block;
        font-size: 11px;
        font-weight: 500;
        line-height: 1;
    }

    .en-nav-location-text {
        font-size: 13px;
        font-weight: 700;
        max-width: 180px;
    }

    .en-change-loc {
        color: #fff;
        font-size: 13px;
        font-weight: 700;
    }

    /* Row 3: Service + Cart (Placed in Row 2's .en-nav-options in HTML) */
    /* Wait, Row 2 is Location, but it also contains .en-nav-options in HTML.
       In mobile, we want Location as a full bar, then Buttons below. */
    .en-nav-row-2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0;
    }

    .en-nav-location {
        width: 100%;
        padding: 8px 16px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        min-height: 44px;
    }

    .en-nav-location .material-icons {
        font-size: 24px;
        margin-right: 8px;
    }

    .en-change-loc {
        margin-left: auto;
        font-size: 14px;
    }

    .en-nav-options {
        display: flex;
        width: 100%;
        gap: 8px;
        padding: 10px 12px;
        background: #fff;
        overflow-x: auto;
        align-items: center;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .en-nav-options::-webkit-scrollbar {
        display: none;
    }

    .en-nav-opt-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        height: 38px;
        padding: 0 14px;
        font-size: 13px;
        background: #4B0082;
        color: #fff;
        border: none;
        border-radius: 8px;
        white-space: nowrap;
        transition: all 0.2s ease;
    }

    .en-nav-opt-btn .material-icons {
        font-size: 18px;
    }

    .en-nav-opt-btn._active {
        background: #35005a;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .en-cart-btn-mob {
        position: relative;
        background: #4B0082;
        color: #fff;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        height: 38px;
        padding: 0 16px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        margin-left: auto;
        white-space: nowrap;
    }

    .en-cart-btn-mob .material-icons {
        font-size: 18px;
    }

    .en-cart-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        background: #ff4d4d;
        color: white;
        font-size: 10px;
        min-width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        font-weight: 800;
        border: 2px solid #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    /* Row 3: Search Bar */
    .en-nav-row-3 {
        display: block;
        padding: 0px 12px 10px;
    }

    .en-nav-search-wrap {
        max-width: 100%;
        border-radius: 12px;
        background: #f8f8f8;
        border: 1px solid #eee;
        box-shadow: none;
    }

    /* ─── Hero Mobile ─── */
    .en-hero {
        padding: 0 12px 10px;
        background: #fff;
    }

    .en-hero .en-hero-inner {
        flex-direction: row;
        padding: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
        border-radius: 16px;
        min-height: 160px;
        overflow: hidden;
    }

    .en-hero-left {
        flex: 1.3;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .en-hero-mob-subtitle {
        font-size: 10px;
        color: #777;
        margin-bottom: 4px;
        font-weight: 500;
        line-height: 1.2;
    }

    .en-hero-left h1 {
        font-size: 12px !important;
        font-weight: 600 !important;
        margin-bottom: 0px;
        line-height: 1.2;
        color: #000;
    }

    .en-highlight {
        display: block;
        font-size: 16px;
        font-weight: 800;
        color: #000 !important;
        margin-top: 2px;
    }

    .en-hero-desc {
        display: none;
    }

    .en-hero-right {
        display: flex !important;
        flex: 1.1;
        background: #4B0082;
        border-radius: 0 16px 16px 0;
        position: relative;
        overflow: hidden;
    }

    .en-hero-right::before {
        content: '';
        position: absolute;
        top: 0;
        left: -20px;
        width: 40px;
        height: 100%;
        background: #fff;
        border-radius: 50%;
        transform: scaleY(1.6);
        z-index: 1;
    }

    .en-hero-img-wrap {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 0;
    }

    .en-hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.7) contrast(1.1);
        border-radius: 0 16px 16px 0;
    }

    .en-hero-badge {
        display: none !important;
    }

    /* ─── Sections Mobile ─── */
    .en-section {
        padding: 10px 0;
    }

    .en-section-title {
        font-size: 19px;
        margin-bottom: 12px;
        font-weight: 700;
        color: #000;
    }

    .en-container {
        padding: 0 14px;
    }

    /* Cuisines track */
    .en-cuisine-card {
        flex: 0 0 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .en-cuisine-img {
        width: 110px;
        height: 100px;
        border-radius: 12px;
        background: #f1f1f1;
        overflow: hidden;
    }

    .en-cuisine-name {
        font-size: 13px;
        font-weight: 700;
        color: #03081F;
        text-align: center;
        width: 100%;
        display: block;
    }

    /* Deals track */
    .en-deal-card {
        flex: 0 0 220px;
        height: 140px;
        border-radius: 12px;
        background: #f1f1f1;
        margin-right: 12px;
    }

    .en-deal-overlay {
        background: linear-gradient(0deg, rgba(3, 8, 31, 0.85) 0%, rgba(3, 8, 31, 0.3) 40%, transparent 100%);
        padding: 10px;
    }

    .en-deal-label {
        font-size: 10px;
        color: #9D50FF !important;
        font-weight: 700;
    }

    .en-deal-name {
        font-size: 12px;
        color: #fff !important;
        font-weight: 700;
    }

    .en-deal-badge {
        font-size: 11px;
        padding: 6px 12px 10px;
        top: 0;
        right: 15px;
        border-radius: 0 0 8px 8px;
        background: #03081F;
    }

    /* Nearest track */
    .en-nearest-card {
        flex: 0 0 140px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
    }

    .en-nearest-logo {
        width: 140px;
        height: 120px;
        border-radius: 12px 12px 0 0;
        padding: 0;
        background: #f5f5f5;
    }

    .en-nearest-logo img {
        object-fit: cover;
    }

    .en-nearest-track a .en-nearest-logo {
        background: #f5f5f5;
    }

    .en-nearest-name {
        background: #4B0082;
        border-radius: 0;
        margin-top: 0;
        color: #fff;
        padding: 8px 6px;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.2;
    }

    .en-carousel-arrow {
        display: none !important;
        /* Hide arrows on mobile as it scrolls */
    }

    .en-all-section {
        padding: 20px 0;
    }

    /* Footer Mobile */
    .en-footer {
        padding: 40px 0 0;
        background: #fff;
    }

    .en-footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .en-footer-logo-col,
    .en-footer-col {
        width: 100%;
    }

    .en-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 16px;
    }

    .en-footer-policy-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .en-newsletter-form {
        flex-direction: column;
        border-radius: 12px;
        gap: 12px;
        background: transparent;
    }

    .en-newsletter-form input {
        border-radius: 10px;
        border: 1px solid #ddd;
    }

    .en-newsletter-form button {
        border-radius: 10px;
        width: 100%;
    }
}

/* ====================================================
   MOBILE RESPONSIVENESS (< 768px)
   ==================================================== */
@media (max-width: 768px) {
    .en-navbar {
        position: fixed;
        width: 100%;
        background: #fff;
        z-index: 1100;
        box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    }
    .en-nav-row {
        padding: 0 16px;
        max-width: 100%;
    }
    .en-page-body {
        padding-top: 185px; /* Further reduced */
    }

    /* Row 1: Logo & Profile Icon (Increased Height) */
    .en-nav-row-1 {
        padding: 10px 16px;
        background: #fff;
        border: none;
    }
    .en-brand img {
        height: 34px;
    }

    /* Row 2: Stacked Content (Reduced Height) */
    .en-nav-row-2 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 6px 16px;
        background: #fff;
        border: none;
    }

    /* Location Pill (Highly Compact) */
    .en-nav-location {
        width: 100%;
        max-width: 100% !important;
        background: #fdfdfd !important;
        color: #1a1a2e !important;
        border: 1px solid #e2e8f0;
        height: 34px; /* Reduced to 34px */
        padding: 0 4px 0 10px;
        border-radius: 50px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    }
    .en-nav-location .material-icons {
        font-size: 15px;
    }
    .en-nav-location-text {
        font-size: 12px;
    }
    .en-change-loc {
        height: 28px;
        padding: 0 12px;
        font-size: 8.5px;
    }

    /* Row 2 side-by-side elements (Reduced Height) */
    .en-nav-row-2 .d-flex.gap-2 {
        gap: 6px !important;
    }
    
    .en-nav-row-2 .dropdown button,
    .en-cart-link-mob-row div {
        height: 34px !important; /* Unified height 34px */
        font-size: 12px !important;
        border-radius: 10px !important;
    }
    .en-nav-row-2 .dropdown button i,
    .en-cart-link-mob-row div i {
        width: 14px !important;
        height: 14px !important;
    }

    /* Row 3: Search Bar (Reduced Height) */
    .en-nav-row-3 {
        padding: 0 16px 10px;
    }
    .en-nav-search-wrap {
        height: 34px; /* Unified height 34px */
        background: #fff !important;
        border: 1.5px solid #e5dbff;
        border-radius: 50px !important;
    }
    .en-nav-search-wrap .en-search-icon {
        padding-left: 10px;
    }
    .en-nav-search-wrap .en-search-icon i {
        width: 14px !important;
        height: 14px !important;
    }
    .en-nav-search-wrap input {
        font-size: 12px;
        padding: 0 12px 0 6px;
    }
}

@media (max-width: 480px) {
    .en-page-body {
        padding-top: 195px;
    }
    .en-nav-location-text {
        max-width: 180px;
    }
}