* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fffaf3;
    color: #252525;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

.site-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #2b2b2b;
}

.logo span {
    color: #ff8a00;
}

nav a {
    margin-left: 18px;
    font-weight: 600;
}

.nav-btn,
.btn {
    background: #ff8a00;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn:hover,
.nav-btn:hover {
    background: #e87500;
}

.hero {
    padding: 90px 0;
    background: linear-gradient(120deg, #fff1da, #ffffff);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 54px;
    margin: 0;
    color: #222;
}

.hero h1 span {
    color: #ff8a00;
}

.hero p {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
}

.hero-card {
    background: #fff;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.09);
}

.hero-card img {
    width: 100%;
    border-radius: 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 35px;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.food-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transition: 0.2s;
}

.food-card:hover {
    transform: translateY(-5px);
}

.food-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.food-card-body {
    padding: 18px;
}

.food-card h3 {
    margin: 0 0 8px;
}

.price {
    color: #ff8a00;
    font-weight: bold;
    font-size: 20px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    background: #e9ffe9;
    color: #168a16;
    margin-bottom: 8px;
}

.badge.nonveg {
    background: #ffeaea;
    color: #c52828;
}

.form-box {
    max-width: 480px;
    background: #fff;
    margin: 50px auto;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    margin: 9px 0 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

textarea {
    min-height: 120px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background: #ff8a00;
    color: #fff;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.alert.success {
    background: #e8ffe8;
    color: #137b13;
}

.alert.error {
    background: #ffe8e8;
    color: #b00000;
}

.footer {
    background: #1d1d1d;
    color: #fff;
    padding: 35px 0;
    margin-top: 60px;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #1d1d1d;
    color: #fff;
    padding: 25px;
}

.admin-sidebar h2 {
    color: #ff8a00;
}

.admin-sidebar a {
    display: block;
    padding: 13px;
    margin: 8px 0;
    border-radius: 8px;
    color: #fff;
}

.admin-sidebar a:hover {
    background: #ff8a00;
}

.admin-main {
    flex: 1;
    padding: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.07);
}

.stat-card h3 {
    margin: 0;
    font-size: 15px;
    color: #777;
}

.stat-card p {
    font-size: 34px;
    font-weight: bold;
    color: #ff8a00;
    margin: 10px 0 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.detail-main-img {
    width: 100%;
    border-radius: 18px;
}

.gallery {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.gallery img {
    width: 90px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.small-img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .hero-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .food-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }
}

@media (max-width: 600px) {
    nav {
        margin-top: 15px;
    }

    .header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        display: inline-block;
        margin: 8px 8px 0 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.order-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-accepted {
    background: #d1ecf1;
    color: #0c5460;
}

.status-preparing {
    background: #e2d9f3;
    color: #4b2684;
}

.status-out_for_delivery {
    background: #cce5ff;
    color: #004085;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.cart-summary-box {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

.coupon-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.coupon-form input {
    margin: 0;
}

.small-note {
    color: #777;
    font-size: 13px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .coupon-form {
        flex-direction: column;
        align-items: stretch;
    }
}

.site-logo-img {
    max-height: 55px;
    max-width: 180px;
    object-fit: contain;
}

.nav-call-btn {
    background: #1fa463;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}

.whatsapp-btn {
    background: #25D366;
}

.location-btn {
    background: #4665eb;
}

.location-result {
    margin-top: 15px;
}

.location-result input {
    margin-top: 10px;
}

.food-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 30px;
}

.settings-box {
    margin: 0;
    max-width: 100%;
}

.settings-preview-img {
    max-width: 160px;
    max-height: 90px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    padding: 8px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 800px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.food-detail-section {
    padding: 55px 0;
    background: #fffaf3;
}

.food-detail-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 34px;
    align-items: flex-start;
}

.food-image-card,
.food-info-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.food-image-card {
    padding: 18px;
}

.food-main-image-box {
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.food-detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right details card */
.food-info-card {
    padding: 34px;
}

.food-top-line {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.food-type-badge,
.available-badge,
.not-available-badge {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.food-type-badge {
    background: #e9ffe9;
    color: #168a16;
}

.food-type-badge.nonveg {
    background: #ffeaea;
    color: #c52828;
}

.available-badge {
    background: #eef8ff;
    color: #1268a5;
}

.not-available-badge {
    background: #ffe8e8;
    color: #b00000;
}

.food-detail-title {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #222;
}

.food-category {
    font-size: 17px;
    margin: 0 0 18px;
    color: #555;
}

.food-detail-price {
    font-size: 34px;
    font-weight: 800;
    color: #ff8a00;
    margin-bottom: 22px;
}

.food-description-box {
    background: #fff8ef;
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 24px;
    border: 1px solid #ffe1b8;
}

.food-description-box h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.food-description-box p {
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}

/* Gallery */
.food-gallery-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.food-gallery-thumb {
    width: 92px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    transition: 0.2s;
}

.food-gallery-thumb:hover,
.food-gallery-thumb.active {
    border-color: #ff8a00;
}

/* Order form */
.food-order-form label {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 18px;
    max-width: 180px;
}

.quantity-row input {
    width: 70px;
    height: 45px;
    text-align: center;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.qty-btn {
    width: 48px;
    height: 45px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 22px;
    cursor: pointer;
}

.qty-btn:first-child {
    border-radius: 10px 0 0 10px;
}

.qty-btn:last-child {
    border-radius: 0 10px 10px 0;
}

.add-cart-btn {
    width: 100%;
    text-align: center;
    font-size: 17px;
    padding: 14px 18px;
}

/* Offline order */
.offline-order-box {
    background: #f3fff4;
    border: 1px solid #cbf2d0;
    padding: 22px;
    border-radius: 18px;
}

.offline-order-box h3 {
    margin: 0 0 8px;
    color: #0f6b25;
}

.offline-order-box p {
    margin: 0 0 18px;
    color: #315b38;
    line-height: 1.6;
}

.food-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.call-action-btn {
    background: #ff8a00;
}

.whatsapp-btn {
    background: #25D366;
}

.location-btn {
    background: #4665eb;
}

.location-result {
    margin-top: 18px;
}

.location-result input {
    margin-top: 10px;
}

/* Fix old detail-grid effect if existing */
.detail-grid .food-info-card,
.detail-grid .food-image-card {
    max-width: 100%;
}

/* Tablet */
@media (max-width: 1000px) {
    .food-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .food-main-image-box {
        height: 420px;
    }

    .food-detail-title {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .food-detail-section {
        padding: 28px 0;
    }

    .food-image-card,
    .food-info-card {
        border-radius: 18px;
    }

    .food-image-card {
        padding: 10px;
    }

    .food-main-image-box {
        height: 280px;
        border-radius: 15px;
    }

    .food-info-card {
        padding: 22px;
    }

    .food-detail-title {
        font-size: 30px;
    }

    .food-detail-price {
        font-size: 28px;
    }

    .food-action-buttons {
        flex-direction: column;
    }

    .food-action-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .food-gallery-thumb {
        width: 78px;
        height: 65px;
    }
}

/* ================================
   Compact Food Detail Page Design
================================ */

.food-detail-section {
    padding: 35px 0;
    background: #fffaf3;
}

.food-detail-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: flex-start;
}

/* Left image card */
.food-image-card,
.food-info-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.food-image-card {
    padding: 14px;
}

.food-main-image-box {
    width: 100%;
    height: 390px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.food-detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right detail card */
.food-info-card {
    padding: 28px 30px;
}

.food-top-line {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.food-type-badge,
.available-badge,
.not-available-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.food-type-badge {
    background: #e9ffe9;
    color: #168a16;
}

.food-type-badge.nonveg {
    background: #ffeaea;
    color: #c52828;
}

.available-badge {
    background: #eef8ff;
    color: #1268a5;
}

.not-available-badge {
    background: #ffe8e8;
    color: #b00000;
}

.food-detail-title {
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #222;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.food-category {
    font-size: 15px;
    margin: 0 0 16px;
    color: #555;
}

.food-category strong {
    color: #222;
}

.food-detail-price {
    font-size: 30px;
    font-weight: 800;
    color: #ff8a00;
    margin-bottom: 20px;
}

/* Description */
.food-description-box {
    background: #fff9f1;
    padding: 16px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid #ffe1b8;
}

.food-description-box h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #222;
}

.food-description-box p {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.65;
}

/* Offline order box */
.offline-order-box {
    background: #f3fff4;
    border: 1px solid #cbf2d0;
    padding: 18px;
    border-radius: 14px;
}

.offline-order-box h3 {
    margin: 0 0 8px;
    color: #0f6b25;
    font-size: 19px;
}

.offline-order-box p {
    margin: 0 0 16px;
    color: #315b38;
    font-size: 15px;
    line-height: 1.5;
}

.food-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.food-action-buttons .btn {
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 9px;
}

/* Gallery */
.food-gallery-row {
    display: flex;
    gap: 9px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.food-gallery-thumb {
    width: 82px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.food-gallery-thumb:hover,
.food-gallery-thumb.active {
    border-color: #ff8a00;
}

/* Online quantity form */
.food-order-form label {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.quantity-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    max-width: 160px;
}

.quantity-row input {
    width: 62px;
    height: 42px;
    text-align: center;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.qty-btn {
    width: 44px;
    height: 42px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
}

.qty-btn:first-child {
    border-radius: 9px 0 0 9px;
}

.qty-btn:last-child {
    border-radius: 0 9px 9px 0;
}

.add-cart-btn {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 13px 18px;
}

/* Location result */
.location-result {
    margin-top: 14px;
}

.location-result input {
    margin-top: 10px;
}

/* Header compact fix */
.site-header {
    background: #ffffff;
}

.header-flex {
    min-height: 72px;
    padding: 10px 0;
}

.logo {
    font-size: 26px;
    letter-spacing: 1px;
}

nav a {
    font-size: 15px;
}

.nav-call-btn {
    background: #1fa463;
    color: #fff;
    padding: 10px 20px;
    border-radius: 9px;
}

/* Tablet */
@media (max-width: 1000px) {
    .food-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .food-main-image-box {
        height: 360px;
    }

    .food-detail-title {
        font-size: 30px;
    }

    .food-detail-price {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .food-detail-section {
        padding: 22px 0;
    }

    .food-detail-wrapper {
        gap: 18px;
    }

    .food-image-card,
    .food-info-card {
        border-radius: 16px;
    }

    .food-image-card {
        padding: 10px;
    }

    .food-main-image-box {
        height: 250px;
        border-radius: 13px;
    }

    .food-info-card {
        padding: 20px;
    }

    .food-detail-title {
        font-size: 26px;
    }

    .food-category {
        font-size: 14px;
    }

    .food-detail-price {
        font-size: 25px;
        margin-bottom: 16px;
    }

    .food-description-box {
        padding: 14px;
    }

    .food-description-box h3 {
        font-size: 17px;
    }

    .food-description-box p {
        font-size: 14px;
    }

    .offline-order-box {
        padding: 15px;
    }

    .food-action-buttons {
        flex-direction: column;
    }

    .food-action-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .food-gallery-thumb {
        width: 74px;
        height: 60px;
    }

    .logo {
        font-size: 24px;
    }
}

/* ================================
   Correct Logo + Header Design
================================ */

.site-header {
    background: #ffffff;
    box-shadow: 0 3px 18px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-flex {
    min-height: 78px;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo area */
.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #222;
    line-height: 1;
}

/* Uploaded logo image */
.site-logo-img {
    height: 58px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
}

/* Navigation */
.site-header nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-header nav a {
    margin-left: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.site-header nav a:hover {
    color: #ff8a00;
}

.nav-call-btn {
    background: #159957;
    color: #ffffff !important;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 16px;
}

.nav-call-btn:hover {
    background: #0f7f46;
    color: #ffffff !important;
}

/* Mobile header */
@media (max-width: 700px) {
    .header-flex {
        min-height: auto;
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-logo-img {
        height: 50px;
        max-width: 200px;
    }

    .site-header nav {
        width: 100%;
        gap: 12px;
        flex-wrap: wrap;
    }

    .site-header nav a {
        font-size: 14px;
    }

    .nav-call-btn {
        padding: 9px 18px;
    }
}

/* ===============================
   FINAL MOBILE HEADER FIX
================================ */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .site-header {
        background: #ffffff;
        position: sticky;
        top: 0;
        z-index: 99999;
        box-shadow: 0 3px 14px rgba(0,0,0,0.08);
    }

    .header-flex {
        width: 92%;
        min-height: 74px;
        padding: 10px 0;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .logo {
        display: flex;
        align-items: center;
        max-width: 210px;
    }

    .site-logo-img {
        height: 42px !important;
        width: auto !important;
        max-width: 170px !important;
        object-fit: contain;
        display: block;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 42px;
        background: #ff8a00;
        color: #ffffff;
        border: none;
        border-radius: 12px;
        font-size: 28px;
        font-weight: 700;
        cursor: pointer;
        line-height: 1;
        margin-left: auto;
    }

    .main-nav {
        display: none !important;
        position: fixed !important;
        top: 74px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        padding: 14px 18px 18px !important;
        box-shadow: 0 16px 35px rgba(0,0,0,0.15);
        border-radius: 0 0 18px 18px;
        z-index: 99998;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .main-nav.active {
        display: flex !important;
    }

    .main-nav a {
        width: 100%;
        display: block;
        padding: 13px 16px;
        margin: 0 !important;
        border-radius: 12px;
        background: #fff8ef;
        color: #222 !important;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
    }

    .main-nav a:hover {
        background: #ffefd9;
        color: #222 !important;
    }

    .main-nav .nav-call-btn {
        background: #159957 !important;
        color: #ffffff !important;
        text-align: center;
    }

    .main-nav .nav-btn {
        background: #ff8a00 !important;
        color: #ffffff !important;
        text-align: center;
    }

    /* Stop opened menu from overlapping too badly */
    .hero {
        padding-top: 28px !important;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .hero h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 15px !important;
        line-height: 1.55;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 10px;
    }

    .hero-card {
        padding: 10px;
        border-radius: 18px;
    }

    .hero-card img {
        width: 100%;
        height: 220px !important;
        max-height: 220px !important;
        object-fit: cover;
        border-radius: 14px;
    }

    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .food-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .food-card img {
        height: 200px;
    }

    .food-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .food-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* =================================
   Login Page With Header + Footer
================================= */

.login-page-wrapper {
    min-height: calc(100vh - 170px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 18px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(20,20,20,0.78), rgba(255,138,0,0.45)),
        url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1600') center/cover no-repeat;
}

.login-page-wrapper.with-header-footer {
    margin-top: 0;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255,138,0,0.30), transparent 35%),
        radial-gradient(circle at bottom right, rgba(37,211,102,0.18), transparent 35%);
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1080px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: center;
}

.login-left-content {
    color: #ffffff;
    padding: 20px;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.95);
    padding: 10px 14px;
    border-radius: 16px;
    margin-bottom: 28px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.22);
}

.login-brand img {
    height: 58px;
    max-width: 220px;
    object-fit: contain;
}

.login-brand h2 {
    margin: 0;
    color: #222;
    font-size: 28px;
}

.login-left-content h1 {
    font-size: 52px;
    line-height: 1.08;
    margin: 0 0 18px;
    max-width: 600px;
    letter-spacing: -1px;
}

.login-left-content p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 24px;
    color: rgba(255,255,255,0.92);
}

.login-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.login-highlights span {
    display: inline-block;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

.login-card {
    background: rgba(255,255,255,0.96);
    border-radius: 26px;
    padding: 36px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.65);
}

.login-card-header {
    margin-bottom: 26px;
}

.login-card-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
    color: #222;
}

.login-card-header p {
    margin: 0;
    color: #777;
    font-size: 15px;
}

.modern-login-form label {
    display: block;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    font-size: 14px;
}

.login-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8ef;
    border: 1px solid #ffe0b5;
    border-radius: 14px;
    padding: 0 14px;
    margin-bottom: 18px;
}

.login-input-box span {
    font-size: 18px;
}

.login-input-box input {
    border: none;
    background: transparent;
    margin: 0;
    padding: 15px 0;
    outline: none;
    font-size: 15px;
}

.login-input-box input:focus {
    outline: none;
}

.login-submit-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #ff8a00, #ff6500);
    color: #fff;
    padding: 15px 18px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(255,138,0,0.35);
    transition: 0.2s;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255,138,0,0.42);
}

.login-bottom-text {
    text-align: center;
    margin-top: 22px;
}

.login-bottom-text p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.login-bottom-text a {
    color: #ff7900;
    font-weight: 800;
}

.login-card .alert {
    margin-bottom: 18px;
}

/* Mobile */
@media (max-width: 850px) {
    .login-page-wrapper {
        min-height: auto;
        align-items: flex-start;
        padding: 30px 14px;
        background:
            linear-gradient(160deg, rgba(20,20,20,0.78), rgba(255,138,0,0.52)),
            url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1200') center/cover no-repeat;
    }

    .login-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .login-left-content {
        padding: 5px;
        text-align: center;
    }

    .login-brand {
        margin-bottom: 18px;
        padding: 8px 12px;
    }

    .login-brand img {
        height: 46px;
        max-width: 180px;
    }

    .login-left-content h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .login-left-content p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .login-highlights {
        justify-content: center;
    }

    .login-highlights span {
        font-size: 12px;
        padding: 8px 11px;
    }

    .login-card {
        border-radius: 22px;
        padding: 24px 20px;
    }

    .login-card-header {
        margin-bottom: 20px;
        text-align: center;
    }

    .login-card-header h2 {
        font-size: 27px;
    }

    .login-input-box input {
        padding: 14px 0;
    }
}

/* ======================================
   FINAL HEADER FIX DESKTOP + MOBILE
====================================== */

.site-header {
    background: #ffffff;
    box-shadow: 0 3px 18px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 99999;
}

.header-flex {
    min-height: 78px;
    padding: 10px 0;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-direction: row !important;
}

.logo {
    display: flex;
    align-items: center;
    color: #222;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1;
}

.site-logo-img {
    height: 54px !important;
    width: auto !important;
    max-width: 230px !important;
    object-fit: contain;
    display: block;
}

/* Desktop menu */
.main-nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    position: static !important;
    width: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.main-nav a {
    margin: 0 !important;
    color: #222 !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: transparent !important;
    padding: 0;
}

.main-nav a:hover {
    color: #ff8a00 !important;
}

.main-nav .nav-btn {
    background: #ff8a00 !important;
    color: #ffffff !important;
    padding: 11px 20px !important;
    border-radius: 10px;
}

.main-nav .nav-call-btn {
    background: #159957 !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 12px;
}

/* Hide hamburger on desktop */
.mobile-menu-btn {
    display: none !important;
}

/* Mobile header */
@media (max-width: 768px) {
    .header-flex {
        min-height: 70px;
        padding: 9px 0;
        position: relative;
    }

    .site-logo-img {
        height: 42px !important;
        max-width: 170px !important;
    }

    .logo {
        font-size: 22px;
        max-width: calc(100% - 60px);
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 42px;
        background: #ff8a00;
        color: #ffffff;
        border: none;
        border-radius: 12px;
        font-size: 28px;
        font-weight: 700;
        cursor: pointer;
        line-height: 1;
        margin-left: auto;
    }

    .main-nav {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        padding: 14px 18px 18px !important;
        box-shadow: 0 16px 35px rgba(0,0,0,0.15) !important;
        border-radius: 0 0 18px 18px !important;
        z-index: 99998;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .main-nav.active {
        display: flex !important;
    }

    .main-nav a {
        width: 100%;
        display: block;
        padding: 13px 16px !important;
        margin: 0 !important;
        border-radius: 12px;
        background: #fff8ef !important;
        color: #222 !important;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
    }

    .main-nav .nav-call-btn {
        background: #159957 !important;
        color: #ffffff !important;
        text-align: center;
    }

    .main-nav .nav-btn {
        background: #ff8a00 !important;
        color: #ffffff !important;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .site-logo-img {
        height: 38px !important;
        max-width: 145px !important;
    }

    .mobile-menu-btn {
        width: 42px;
        height: 40px;
        font-size: 25px;
    }
}

/* =================================
   Register Page Design
================================= */

.register-page-wrapper {
    min-height: calc(100vh - 170px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 18px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(20,20,20,0.78), rgba(255,138,0,0.45)),
        url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1600') center/cover no-repeat;
}

.register-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255,138,0,0.30), transparent 35%),
        radial-gradient(circle at bottom right, rgba(37,211,102,0.18), transparent 35%);
    z-index: 1;
}

.register-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 34px;
    align-items: center;
}

.register-left-content {
    color: #ffffff;
    padding: 20px;
}

.register-brand {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.95);
    padding: 10px 14px;
    border-radius: 16px;
    margin-bottom: 28px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.22);
}

.register-brand img {
    height: 58px;
    max-width: 220px;
    object-fit: contain;
}

.register-brand h2 {
    margin: 0;
    color: #222;
    font-size: 28px;
}

.register-left-content h1 {
    font-size: 52px;
    line-height: 1.08;
    margin: 0 0 18px;
    max-width: 600px;
    letter-spacing: -1px;
}

.register-left-content p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 24px;
    color: rgba(255,255,255,0.92);
}

.register-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.register-highlights span {
    display: inline-block;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

.register-card {
    background: rgba(255,255,255,0.96);
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.65);
}

.register-card-header {
    margin-bottom: 24px;
}

.register-card-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
    color: #222;
}

.register-card-header p {
    margin: 0;
    color: #777;
    font-size: 15px;
}

.modern-register-form label {
    display: block;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    font-size: 14px;
}

.register-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8ef;
    border: 1px solid #ffe0b5;
    border-radius: 14px;
    padding: 0 14px;
    margin-bottom: 16px;
}

.register-input-box span {
    font-size: 18px;
    min-width: 22px;
}

.register-input-box input {
    border: none;
    background: transparent;
    margin: 0;
    padding: 14px 0;
    outline: none;
    font-size: 15px;
}

.register-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.register-submit-btn {
    width: 100%;
    display: block;
    border: none;
    background: linear-gradient(135deg, #ff8a00, #ff6500);
    color: #fff;
    padding: 15px 18px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 12px 30px rgba(255,138,0,0.35);
    transition: 0.2s;
}

.register-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255,138,0,0.42);
}

.register-login-link {
    text-decoration: none;
}

.register-bottom-text {
    text-align: center;
    margin-top: 20px;
}

.register-bottom-text p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.register-bottom-text a {
    color: #ff7900;
    font-weight: 800;
}

.register-card .alert {
    margin-bottom: 18px;
}

/* Mobile Register */
@media (max-width: 850px) {
    .register-page-wrapper {
        min-height: auto;
        align-items: flex-start;
        padding: 30px 14px;
        background:
            linear-gradient(160deg, rgba(20,20,20,0.78), rgba(255,138,0,0.52)),
            url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1200') center/cover no-repeat;
    }

    .register-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .register-left-content {
        padding: 5px;
        text-align: center;
    }

    .register-brand {
        margin-bottom: 18px;
        padding: 8px 12px;
    }

    .register-brand img {
        height: 46px;
        max-width: 180px;
    }

    .register-left-content h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .register-left-content p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .register-highlights {
        justify-content: center;
    }

    .register-highlights span {
        font-size: 12px;
        padding: 8px 11px;
    }

    .register-card {
        border-radius: 22px;
        padding: 24px 20px;
    }

    .register-card-header {
        margin-bottom: 20px;
        text-align: center;
    }

    .register-card-header h2 {
        font-size: 27px;
    }

    .register-two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .register-input-box input {
        padding: 14px 0;
    }
}

@media (max-width: 420px) {
    .register-page-wrapper {
        padding: 24px 12px;
    }

    .register-left-content h1 {
        font-size: 28px;
    }

    .register-card {
        padding: 22px 16px;
    }

    .register-card-header h2 {
        font-size: 25px;
    }
}