* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fffaf7;
  color: #222;
  padding: 30px;
}
.restaurant-menu-body {
    padding: 0 !important;
}
/* Small side spacing for restaurant menu page only */
.restaurant-menu-body .restaurant-menu-back-button {
    margin-left: 16px !important;
    margin-right: 16px !important;
}

.restaurant-menu-body #promotion-section {
    width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.restaurant-menu-body #restaurant-list {
    width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
h1 {
  color: #ff5a1f;
  font-size: 40px;
  margin-bottom: 10px;
}

p {
  color: #666;
  margin-bottom: 20px;
}

input {
  width: 100%;
  max-width: 500px;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 30px;
  font-size: 16px;
}

h2 {
  margin-bottom: 20px;
}

div {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

div h3 {
  margin-bottom: 8px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: white;
  padding: 15px 20px;
  border-radius: 15px;

  margin-bottom: 30px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #ff5a1f;
}

.location {
  font-size: 16px;
  color: #555;
}

.cart-button {
  background-color: #ff5a1f;
  color: white;

  border: none;
  padding: 10px 18px;
  border-radius: 10px;

  font-size: 15px;
  font-weight: bold;

  cursor: pointer;
}

.cart-button:hover {
  background-color: #e94e15;
}
/* ADMIN DASHBOARD */

#admin-dashboard {
    max-width: 1000px;
    margin: 0 auto;
}

#all-orders > div {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

#all-orders button {
    padding: 10px 14px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#all-orders button:hover {
    opacity: 0.8;
}

#search-order {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#refresh-orders {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Admin login box */
#login-section {
    max-width: 500px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

#login-section input {
    width: 100%;
    margin-bottom: 12px;
}

#login-section button {
    width: 100%;
    background-color: #ff5a1f;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#login-section button:hover {
    background-color: #e94e15;
}
#logout-button,
#search-order,
#refresh-orders {
    background-color: #ff5a1f;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#logout-button:hover,
#search-order:hover,
#refresh-orders:hover {
    background-color: #e94e15;
}

/* ===== CHOPGO CUSTOMER PAGE ===== */

#track-order-section {
    max-width: 760px;
    margin: 40px auto;
    padding: 28px;
    background: #fff7f2;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

#track-order-section h2 {
    margin-bottom: 18px;
    font-size: 28px;
    color: #222;
}

#track-order-number {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #ffd5c4;
    border-radius: 14px;
    font-size: 16px;
    margin-bottom: 12px;
    background: white;
}

#track-order-button {
    width: 100%;
    background: #ff5a1f;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

#track-order-button:hover {
    background: #e94e15;
}

#tracking-result {
    margin-top: 18px;
    padding: 18px;
    background: white;
    border-radius: 14px;
}

/* ===== CUSTOMER TRACK ORDER - MOBILE ===== */
@media (max-width: 700px) {

    #track-order-section {
        margin: 24px auto !important;
        padding: 18px 14px !important;
        border-radius: 18px !important;
    }

    #track-order-section h2 {
        font-size: 24px !important;
        margin-bottom: 14px !important;
    }

    #track-order-number {
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 12px 14px !important;
        font-size: 16px !important;
    }

    #track-order-button {
        padding: 13px !important;
        font-size: 16px !important;
    }

    #tracking-result {
        margin-top: 12px !important;
    }

    #tracking-result:empty {
        display: none !important;
    }
}
/* ===== RESTAURANT CARDS ===== */

#restaurant-list > div {
    background: white;
    padding: 24px;
    margin: 18px 0;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#restaurant-list > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

#restaurant-list h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

#restaurant-list p {
    color: #666;
    margin-bottom: 18px;
}

#restaurant-list button {
    background: #ff5a1f;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

#restaurant-list button:hover {
    background: #e94e15;
}
/* EXTRA RESTAURANT CARD POLISH */

#restaurant-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

#restaurant-list > div {
    border: 1px solid #f3e6df;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf7 100%);
}

#restaurant-list h3 {
    color: #222;
}

#restaurant-list button {
    box-shadow: 0 6px 14px rgba(255, 90, 31, 0.18);
}

#restaurant-list button:active {
    transform: scale(0.98);
}
/* ===== CHOPGO HEADER ===== */

body {
    background: #fffaf7;
}

header {
    max-width: 1100px;
    margin: 25px auto 0;
    padding: 18px 22px;
    background: white;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

header h1 {
    color: #ff5a1f;
    font-size: 28px;
    font-weight: 800;
}

header .location {
    background: #fff3ed;
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 600;
}

main {
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    padding: 55px 10px 25px;
}

.hero h2 {
    font-size: 46px;
    line-height: 1.1;
    color: #ff5a1f;
    max-width: 850px;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-top: 12px;
}
/* ===== CUTE HERO POLISH ===== */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff8f3, #fff1e8);
    border-radius: 26px;
    padding: 45px 35px;
    margin-top: 22px;
    box-shadow: 0 10px 30px rgba(255, 90, 31, 0.08);
}


.hero h2 {
    max-width: 700px;
}

.hero input {
    background: white;
    border: 1px solid #ffd8c8;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
/* ===== RESTAURANT CARD FINAL POLISH ===== */

#restaurant-list > div {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid #f2e4dc;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

#restaurant-list h3 {
    font-size: 21px;
    margin-bottom: 6px;
}

#restaurant-list p {
    font-size: 15px;
    color: #777;
    margin-bottom: 16px;
}

#restaurant-list button {
    background: linear-gradient(135deg, #ff6a2f, #ff4f1f);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 90, 31, 0.18);
}
.food-float {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
    font-size: 44px;

    background: rgba(255, 255, 255, 0.75);
    padding: 14px 18px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.food-float span {
    display: inline-block;
    animation: foodBounce 2.5s ease-in-out infinite;
}

.food-float span:nth-child(2) {
    animation-delay: 0.3s;
}

.food-float span:nth-child(3) {
    animation-delay: 0.6s;
}

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

    50% {
        transform: translateY(-8px);
    }
}
.hero {
    min-height: 260px;
    padding: 40px 30px;
}

.hero h1 {
    margin-bottom: 14px;
}

.hero p {
    margin-bottom: 18px;
}

@media (max-width: 700px) {
    .hero {
        padding: 28px 20px;
        text-align: center;
    }

    .food-float {
        position: static;
        transform: none;
        justify-content: center;
        margin: 20px auto 0;
        width: fit-content;
    }

    .hero h1 {
        font-size: 34px;
    }
}
.hero {
    min-height: 190px;
    padding: 35px 30px;
}

.hero h1 {
    margin-bottom: 20px;
}

.food-float {
    top: 48%;
}
/* =================================
   CHOPGO PREMIUM CUSTOMER UI
================================= */

.hero {
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 24px auto 35px;
    padding: 55px 50px;

    background:
        radial-gradient(circle at 90% 20%, #ffd7c7 0%, transparent 30%),
        linear-gradient(135deg, #fff7f1 0%, #fffdfb 70%);

    border: 1px solid #ffe4d8;
    border-radius: 32px;

    box-shadow:
        0 20px 50px rgba(255, 90, 31, 0.08);

    min-height: 330px;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero-badge {
    display: inline-block;

    background: #fff0e8;
    color: #f05a28;

    padding: 9px 15px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 20px;
}

.hero h1 {
    margin: 0;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -2px;

    color: #222;
}

.hero h1::first-line {
    color: #ff5a1f;
}

.hero p {
    margin: 20px 0 24px;

    color: #6e625d;
    font-size: 17px;
    line-height: 1.6;
}

.hero-search {
    width: 100%;
    max-width: 500px;

    display: flex;
    align-items: center;
    gap: 10px;

    background: white;

    padding: 6px 8px 6px 18px;

    border-radius: 18px;
    border: 1px solid #f1ded5;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.06);
}

.hero-search input {
    width: 100%;

    border: none;
    outline: none;

    padding: 15px 5px;

    background: transparent;

    font-size: 16px;
}

.food-float {
    position: absolute;

    right: 55px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    gap: 14px;

    padding: 20px;

    background: rgba(255,255,255,0.85);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.9);

    border-radius: 28px;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.10);

    font-size: 48px;
}

.food-float span {
    display: inline-block;
    animation: foodBounce 2.5s ease-in-out infinite;
}

.food-float span:nth-child(2) {
    animation-delay: .2s;
}

.food-float span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes foodBounce {

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

    50% {
        transform: translateY(-9px) rotate(4deg);
    }
}

/* Mobile */

@media (max-width: 750px) {

    .hero {
        padding: 35px 22px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .food-float {
        position: static;

        transform: none;

        width: fit-content;

        margin: 30px auto 0;

        font-size: 38px;
    }
}
/* ===== PREMIUM RESTAURANT CARD ===== */

#restaurant-list > div {
    overflow: hidden;
    padding: 0;
    background: white;
    border-radius: 26px;
    border: 1px solid #f3e5dc;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
}

.restaurant-image {
    height: 180px;
    width: 220px;
margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg, #ffefe6, #ffd9c8);

    font-size: 78px;
    
}

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

.restaurant-info {
    padding: 22px;
}

.restaurant-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.restaurant-top h3 {
    margin: 0;
    font-size: 23px;
    color: #222;
}

.rating {
    background: #fff4db;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.restaurant-info p {
    margin: 10px 0 16px;
    color: #777;
}

.restaurant-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;

    color: #666;
    font-size: 14px;

    margin-bottom: 18px;
}

.restaurant-info button {
    width: 100%;
    padding: 14px;

    background: linear-gradient(135deg, #ff6a2f, #ff4f1f);
    color: white;

    border: none;
    border-radius: 14px;

    font-weight: 800;
    font-size: 15px;

    cursor: pointer;
}
.menu-food-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}
#restaurant-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

#restaurant-list > div {
    background: white;
    border-radius: 18px;
    padding: 14px;
    min-height: 330px;
}

.menu-food-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}
.menu-image-placeholder {
    width: 100%;
    height: 170px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    background: #f5f5f5;
    margin-bottom: 12px;
}
/* ===== CHOPGO PARTNER DASHBOARD ===== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
}

.restaurant-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px;
}

/* Header */
.restaurant-dashboard-header {
    background: white;
    padding: 28px 32px;
    border-radius: 22px;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.restaurant-dashboard-header h1 {
    margin: 0;
    color: #f4511e;
    font-size: 38px;
}

.restaurant-dashboard-header p {
    color: #777;
    margin-top: 8px;
}

#restaurant-logout-button {
    margin-top: 18px;
    background: #222;
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 10px;
    cursor: pointer;
}

/* Add food section */
.add-food-section {
    background: white;
    padding: 28px;
    border-radius: 22px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.add-food-section h2,
.add-food-section .price-preview,
#add-food-button,
#food-message {
    grid-column: 1 / -1;
}

.add-food-section input,
.add-food-section textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
}

.add-food-section textarea {
    min-height: 52px;
    resize: vertical;
}

.price-preview {
    background: #fff7f2;
    padding: 18px;
    border-radius: 14px;
    line-height: 1.8;
}

#add-food-button {
    background: #f4511e;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    width: fit-content;
}

/* Menu section */
.restaurant-menu-section {
    background: white;
    padding: 28px;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

#restaurant-menu-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    #restaurant-menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {

    #restaurant-menu-list {
        grid-template-columns: 1fr;
    }

    #restaurant-list:not(.restaurants-mode) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

}

.partner-food-card {
    border: 1px solid #eee;
    border-radius: 18px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
}

.partner-food-card > img,
.partner-food-placeholder {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.partner-food-placeholder {
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.partner-food-card > div {
    padding: 18px;
}


    /* ===== EDIT FOOD MODAL ===== */

.edit-food-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.edit-food-modal.show {
    display: flex;
}

.edit-food-box {
    width: 100%;
    max-width: 480px;
    max-height: calc(100dvh-40px);
    overflow-y: auto;

    background: white;
    border-radius: 22px;
    padding: 20px;
    position: relative;

    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.edit-food-box h2 {
    margin: 0;
    font-size: 26px;
}

.edit-subtitle {
    color: #777;
    margin-bottom: 20px;
}

.edit-modal-close {
    position: absolute;
    top: 15px;
    right: 17px;
    border: none;
    background: #f2f2f2;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}

.edit-food-box label {
    display: block;
    font-weight: 600;
    margin: 14px 0 7px;
}

.edit-food-box input,
.edit-food-box textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 11px;
    font-size: 15px;
}

.edit-food-box textarea {
    min-height: 70px;
    max-height: 100px;
    resize: vertical;
}



.edit-price-preview {
    margin-top: 12px;
    padding: 13px;
    background: #fff5ef;
    border-radius: 10px;
}

.edit-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.edit-modal-actions button {
    border: none;
    padding: 11px 18px;
    border-radius: 10px;
    cursor: pointer;
}

.save-edit-button {
    background: #f4511e;
    color: white;
    font-weight: bold;
}
/* ===== EDIT FOOD MODAL ===== */

.edit-food-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 99999;
}

.edit-food-modal.show {
    display: flex;
}

.edit-food-box {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.edit-food-box h2 {
    margin: 0 0 5px;
}

.edit-subtitle {
    margin: 0 0 20px;
    color: #777;
}

.edit-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f2f2f2;
    font-size: 22px;
    cursor: pointer;
}

.edit-food-preview {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 14px;
    margin: 10px 0;
}

.edit-food-box label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 600;
}

.edit-food-box input,
.edit-food-box textarea {
    display: block;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.edit-food-box textarea {
    min-height: 90px;
    resize: vertical;
}

.edit-price-preview {
    margin-top: 12px;
    background: #fff3ed;
    padding: 12px;
    border-radius: 10px;
}

.edit-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.edit-modal-actions button {
    border: none;
    border-radius: 10px;
    padding: 11px 18px;
    cursor: pointer;
}

.save-edit-button {
    background: #f4511e;
    color: white;
    font-weight: 700;
}
@media (max-width: 600px) {
    .edit-food-modal {
        padding: 10px;
        align-items: center;
    }

    .edit-food-box {
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - 20px);
        padding: 16px;
        border-radius: 18px;
    }

    .edit-food-preview {
        height: 110px;
    }

    .edit-food-box input,
    .edit-food-box textarea {
        font-size: 16px;
    }
}
.edit-food-box label {
    margin: 10px 0 4px;
}

.edit-food-box input,
.edit-food-box textarea {
    padding: 10px;
}

.edit-modal-actions {
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 10px;
}
#back-to-restaurants {
    background: #ff6b3d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

#back-to-restaurants:hover {
    transform: translateY(-2px);
}
#restaurant-list.restaurants-mode {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px 22px;
    scroll-behavior: smooth;
}

/* EXACTLY 3 RESTAURANTS VISIBLE */
#restaurant-list.restaurants-mode > div {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);

    margin: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

/* SAME SPACE FOR EVERY RESTAURANT NAME */
#restaurant-list.restaurants-mode .restaurant-top {
    min-height: 82px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

#restaurant-list.restaurants-mode h3 {
    margin: 0;
    line-height: 1.2;
    min-height: 52px;
    overflow-wrap: anywhere;
}

/* SAME DESCRIPTION HEIGHT */
#restaurant-list.restaurants-mode .restaurant-info > p {
    height: 72px;
    min-height: 72px;
    margin: 0 0 12px 0;
    overflow: hidden;
}

/* KEEP META DETAILS ALIGNED */
#restaurant-list.restaurants-mode .restaurant-meta {
    min-height: 30px;
}

/* ALL VIEW MENU BUTTONS SAME POSITION */
#restaurant-list.restaurants-mode button {
    margin-top: auto;
    width: 100%;
}

/* MAKE SIDEWAYS SCROLL EASY TO SEE */
#restaurant-list.restaurants-mode::-webkit-scrollbar {
    height: 10px;
}

#restaurant-list.restaurants-mode::-webkit-scrollbar-thumb {
    background: #ff6b3d;
    border-radius: 20px;
}
.show-password-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 18px;
    font-size: 15px;
    cursor: pointer;
}

.show-password-option input {
    width: 18px;
    height: 18px;
    margin: 0;
}

#restaurant-login-button {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}
#login-section .show-password-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 12px 0 18px;
}

#login-section .show-password-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
}
/* ===== MENU CARDS EQUAL LAYOUT ===== */

#restaurant-list:not(.restaurants-mode) > div {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* SAME IMAGE SPACE */
#restaurant-list:not(.restaurants-mode) .menu-food-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* SAME FOOD NAME SPACE */
#restaurant-list:not(.restaurants-mode) h3 {
    min-height: 58px;
    margin-bottom: 8px;
}

/* SAME DESCRIPTION SPACE */
#restaurant-list:not(.restaurants-mode) p {
    min-height: 70px;
    margin-bottom: 10px;
}

/* SAME PRICE SPACE */
#restaurant-list:not(.restaurants-mode) .food-price {
    min-height: 32px;
}

/* KEEP ADD TO CART BUTTONS ON SAME LINE */
#restaurant-list:not(.restaurants-mode) button {
    margin-top: auto;
    width: 100%;
}
/* ===== ALIGN FOOD MENU CARDS ===== */

#restaurant-list:not(.restaurants-mode) > div {
    display: flex;
    flex-direction: column;
}

/* SAME SPACE FOR FOOD NAME */
#restaurant-list:not(.restaurants-mode) > div > h3 {
    min-height: 58px;
    margin-bottom: 8px;
}

/* SAME SPACE FOR DESCRIPTION ONLY */
#restaurant-list:not(.restaurants-mode) > div > h3 + p {
    min-height: 70px;
    margin-bottom: 8px;
}

/* PRICE STAYS ON SAME LINE */
#restaurant-list:not(.restaurants-mode) > div > h3 + p + p {
    min-height: 32px;
    margin-bottom: 12px;
}

/* ALL ADD TO CART BUTTONS LINE UP */
#restaurant-list:not(.restaurants-mode) .add-to-cart {
    margin-top: auto;
}
/* EXACT FOOD CARD ALIGNMENT */
.menu-card {
    display: flex;
    flex-direction: column;
}

.menu-card > h3 {
    height: 58px;
    min-height: 58px;
    margin: 10px 0 8px;
}

.menu-card > h3 + p {
    height: 70px;
    min-height: 70px;
    margin: 0 0 8px;
}

.menu-card > h3 + p + p {
    height: 32px;
    min-height: 32px;
    margin: 0 0 12px;
}

.menu-card .add-to-cart {
    margin-top: auto;
}
/* FLOATING CART BUTTON */
#cart-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.20);
}

#cart-button.cart-visible {
    display: block;
}
/* ===== CHOPGO CHECKOUT ===== */

.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.quantity-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 12px;
    background: #fff0ec;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.quantity-btn:hover {
    transform: scale(1.08);
}

.quantity-number {
    min-width: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.delete-item-btn {
    width: 42px;
    height: 38px;
    border: none;
    border-radius: 12px;
    background: #ffe4e4;
    cursor: pointer;
    font-size: 17px;
}
/* ===== CHOPGO CHECKOUT PAGE ===== */

.checkout-page {
    background: #fff8f5;
    padding: 30px 20px;
}

.checkout-page #checkout-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 25px 0;
}

.checkout-page #checkout-items > div {
    background: white;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.checkout-page select,
.checkout-page input,
.checkout-page textarea {
    width: 100%;
    padding: 15px;
    margin: 8px 0 18px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    font-size: 16px;
    box-sizing: border-box;
    background: white;
}

.checkout-page textarea {
    min-height: 100px;
    resize: vertical;
}

.checkout-page #checkout-place-order {
    width: 100%;
    padding: 17px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff623e, #ff2f4f);
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 8px 22px rgba(255, 70, 70, 0.25);
}

.checkout-page #checkout-place-order:hover {
    transform: translateY(-2px);
}

.checkout-page #clear-cart-button {
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff0ee;
    cursor: pointer;
    font-weight: 600;
}

.checkout-page h1 {
    font-size: 40px;
    margin-bottom: 25px;
}

.checkout-page h2 {
    margin-top: 22px;
}

@media (max-width: 600px) {
    .checkout-page {
        padding: 15px;
    }

    .checkout-page h1 {
        font-size: 30px;
    }

    .checkout-page #checkout-items > div {
        padding: 15px;
    }

.checkout-page #checkout-items > div {
    padding: 12px !important;
    border-radius: 16px !important;
}

.checkout-page #checkout-items > div > p {
    margin: 0 0 8px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.checkout-page .cart-quantity-controls {
    margin: 0 0 10px !important;
    padding: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.checkout-page .special-instructions-box {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.checkout-page .special-instructions-box label {
    margin: 0 0 6px !important;
    font-size: 14px !important;
}

.checkout-page .special-instructions-box input {
    margin: 0 !important;
    padding: 11px 12px !important;
}

.checkout-page .checkout-location-section {
    padding: 16px !important;
    margin: 18px 0 !important;
    border-radius: 18px !important;
}

.checkout-page .checkout-location-section h3 {
    margin: 0 0 6px !important;
    font-size: 20px !important;
}

.checkout-page #checkout-location-status {
    margin: 0 0 14px !important;
    font-size: 15px !important;
}

.checkout-page .checkout-location-methods {
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;

    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.checkout-page .checkout-location-methods button {
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
}

.checkout-page .checkout-location-or {
    margin: 0 !important;
    padding: 4px 0 !important;

    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.checkout-page label {
    margin-top: 10px !important;
    margin-bottom: 5px !important;

    font-size: 16px !important;
}

.checkout-page #checkout-delivery-area-display,
.checkout-page #checkout-name,
.checkout-page #checkout-phone,
.checkout-page #checkout-address {
    margin: 0 0 10px !important;
    padding: 12px 14px !important;

    border-radius: 14px !important;
}

.checkout-page #checkout-address {
    min-height: 90px !important;
}

.checkout-page #checkout-place-order {
    margin-top: 8px !important;
    padding: 14px !important;

    border-radius: 15px !important;
}

}
.checkout-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.checkout-page #checkout-items {
    width: 100%;
}
/* Checkout delivery form - one field per row */

.checkout-page label {
    display: block;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 7px;
    font-weight: 600;
}

.checkout-page #checkout-delivery-area,
.checkout-page #checkout-name,
.checkout-page #checkout-phone,
.checkout-page #checkout-address {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px 0;
}

.checkout-page #checkout-address {
    min-height: 100px;
}

.checkout-page #checkout-place-order {
    display: block;
    width: 100%;
    margin-top: 20px;
}
.checkout-page a[href="index.html"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 18px;
    margin-top: 18px;

    background: #fff;
    color: #ff4b3e;

    border: 2px solid #ff4b3e;
    border-radius: 14px;

    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 5px 14px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.checkout-page a[href="index.html"]:hover {
    background: #fff1ee;
    transform: translateY(-2px);
}
.checkout-summary-card {
    background: white;
    padding: 22px;
    border-radius: 20px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.checkout-summary-card h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.checkout-summary-card p {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #f1f1f1;
}

/* Full-screen order success popup */
#order-success-box {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.order-success-popup {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 24px;
    padding: 35px 28px;
    text-align: center;

    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.success-check {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #27c76f;
    color: white;

    font-size: 36px;
    font-weight: bold;
}

.order-success-popup h2 {
    margin-bottom: 15px;
}

.order-success-popup #continue-shopping-link {
    display: block;
    margin-top: 25px;
    padding: 15px 20px;

    border-radius: 14px;
    background: linear-gradient(135deg, #ff623e, #ff2f4f);
    color: white;

    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}
#all-orders-section {
    margin-top: 20px;
}

#all-orders {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;

    padding: 15px;
    margin-top: 15px;

    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
}
.back-to-shop-button {
    display: inline-block;
    margin-bottom: 18px;
    padding: 12px 20px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid #ff5a5f;
    color: #ff5a5f;
    font-weight: 700;
    text-decoration: none;
}

.back-to-shop-button:hover {
    background: #ff5a5f;
    color: white;
}
.checkout-page #clear-cart-button {
    display: inline-block !important;
    margin-left: 12px !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    border: 2px solid #ff5a5f !important;
    background: #ff5a5f !important;
    color: white !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.checkout-page #clear-cart-button:hover {
    background: #e94b50 !important;
}
.restaurant-top-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.restaurant-logo-section,
.restaurant-orders-section {
    width: 100%;
    box-sizing: border-box;
}

/* On phones, stack them instead */
@media (max-width: 700px) {
    .restaurant-top-grid {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   CHOPGO RESTAURANT DASHBOARD
   ============================== */

.restaurant-orders-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eeeeee;
}

.restaurant-orders-section h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.restaurant-orders-section > p {
    color: #777;
    margin-bottom: 20px;
}

/* Order number search */
.restaurant-order-search-row {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

#restaurant-order-search {
    flex: 1;
    padding: 16px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    font-size: 18px;
    outline: none;
}

#restaurant-order-search:focus {
    border-color: #ff4d4d;
}

#restaurant-order-search-button {
    padding: 15px 24px;
    border: none;
    border-radius: 14px;
    background: #ff4d4d;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

/* Found order */
#restaurant-order-result {
    margin-top: 20px;
}

#restaurant-order-result h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

/* Foods */
.restaurant-order-items {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
}

/* ================================
   ADMIN SEARCHED ORDER - ITEMS
================================ */

#order-result .admin-order-items {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 16px;
    margin: 14px 0 18px;
}

#order-result .admin-order-item {
    background: transparent;
    margin: 0;
    padding: 14px 0;
    border: none;
    box-shadow: none;
}

#order-result .admin-order-item + .admin-order-item {
    border-top: 1px solid #e5e5e5;
}

#order-result .admin-order-option,
#order-result .admin-order-instruction {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.75;
}

.restaurant-order-items > strong {
    font-size: 18px;
}

.restaurant-order-items p {
    background: white;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 10px 0;
    line-height: 1.6;
}

/* Order status buttons */
.restaurant-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.restaurant-order-actions button {
    border: none;
    padding: 11px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

/* Earnings */
.restaurant-earnings-section {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.06);
}

/* Payment History */
.restaurant-payment-history-section {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.06);
}

/* IMPORTANT: keep payment history from making page too long */
#restaurant-payment-history {
    max-height: 340px;
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 16px;
}

.payment-history-card {
    background: #f8f8f8;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #eeeeee;
}

.payment-history-card p {
    margin: 7px 0;
}

/* Mobile */
@media (max-width: 700px) {
    .restaurant-order-search-row {
        flex-direction: column;
    }

    #restaurant-order-search-button {
        width: 100%;
    }

    .restaurant-orders-section {
        padding: 20px;
    }
}
/* ===== ALIGN RESTAURANT FOOD CARDS ===== */

.partner-food-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-food-card > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.food-availability {
    margin-top: auto;
}

.food-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
/* ===== CUSTOMER RESTAURANTS - POPULAR BRANDS MOBILE ===== */

/* ===== CUSTOMER RESTAURANTS - MOBILE ===== */

@media (max-width: 700px) {

    /* Horizontal restaurant row */
    #restaurant-list.restaurants-mode {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;

        gap: 12px;

        width: 100%;
        height: auto !important;
        min-height: 0 !important;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 8px 4px 12px;

        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }


    /* Individual restaurant */
    #restaurant-list.restaurants-mode > .restaurant-card {
        flex: 0 0 27% !important;
        min-width: 27% !important;
        max-width: 27% !important;

        width: 27% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        display: block !important;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;

        cursor: pointer;
    }


    /* Restaurant logo box */
    #restaurant-list.restaurants-mode
    > .restaurant-card
    > .restaurant-image {

        position: relative;

        width: 100% !important;
        height: auto !important;

        aspect-ratio: 1 / 1;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden;

        background: #fff3ed;

        border-radius: 18px;
        box-shadow: none !important;
    }


    /* Make logo/image fill the box */
    #restaurant-list.restaurants-mode
    > .restaurant-card
    > .restaurant-image
    > img {

        position: absolute;
        inset: 0;

        width: 100% !important;
        height: 100% !important;

        object-fit: cover;
        object-position: center;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        display: block !important;
    }


    /* Information immediately below logo */
    #restaurant-list.restaurants-mode
    > .restaurant-card
    > .restaurant-info {

        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 5px 1px 0 !important;

        display: block !important;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;

        box-sizing: border-box;
        text-align: center;
    }


    /* Name container */
    #restaurant-list.restaurants-mode
    .restaurant-top {

        display: block !important;

        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        box-shadow: none !important;
    }


    /* Restaurant name */
    #restaurant-list.restaurants-mode h3 {

        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 3px 0 3px !important;
        padding: 0 !important;

        font-size: 11px !important;
        line-height: 1.15 !important;
        font-weight: 700;

        text-align: center;

        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
    }


    /* Hide star rating on phones */
    #restaurant-list.restaurants-mode .rating {
        display: none !important;
    }


    /* Hide restaurant description on phones */
    #restaurant-list.restaurants-mode
    > .restaurant-card
    > .restaurant-info
    > p {

        display: none !important;
    }


    /* Delivery time */
    #restaurant-list.restaurants-mode .restaurant-meta {

        display: block !important;

        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 2px 0 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;

        font-size: 9px !important;
        line-height: 1.15 !important;

        text-align: center;
    }


    #restaurant-list.restaurants-mode .restaurant-meta span {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }


    /* Hide Kano — keep only 20–30 min */
    #restaurant-list.restaurants-mode
    .restaurant-meta
    span:last-child {

        display: none !important;
    }


    /* Small feedback when restaurant is tapped */
    #restaurant-list.restaurants-mode
    > .restaurant-card:active {

        transform: scale(0.97);
    }
}
@media (max-width: 550px) {

    #restaurant-list:not(.restaurants-mode) > div {
        min-width: 0;
        min-height: 0 !important;
        padding: 10px;
        border-radius: 14px;
    }

    #restaurant-list:not(.restaurants-mode) .menu-food-image {
        width: 100%;
        height: 120px;
        object-fit: contain;
        border-radius: 12px;
    }

    #restaurant-list:not(.restaurants-mode) > div > h3 {
        height: auto;
        min-height: 0;
        margin: 10px 0 6px;
        font-size: 18px;
        line-height: 1.15;
    }

    #restaurant-list:not(.restaurants-mode) > div > h3 + p {
        height: auto;
        min-height: 0;
        margin: 4px 0;
        font-size: 13px;
        line-height: 1.3;
    }

    #restaurant-list:not(.restaurants-mode) .food-price {
        min-height: 0;
        font-size: 16px;
        margin: 8px 0;
    }

    #restaurant-list:not(.restaurants-mode) .add-to-cart {
        margin-top: auto;
        padding: 11px 5px;
        font-size: 15px;
        border-radius: 12px;
    }
}

/* =====================================================
   CHOPGO PREMIUM RESTAURANT CARDS
   Individual floating + clickable cards
===================================================== */

@media (max-width: 700px) {

    /* REMOVE THE BIG WHITE BOX LOOK */
    #restaurant-list.restaurants-mode {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;

        gap: 14px !important;

        width: 100% !important;

        padding: 12px 8px 22px !important;
        margin: 0 !important;

        overflow-x: auto !important;
        overflow-y: visible !important;

        background: transparent !important;

        border: none !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    #restaurant-list.restaurants-mode::-webkit-scrollbar {
        display: none;
    }


    /* ==========================================
       EACH RESTAURANT IS ITS OWN CARD
    ========================================== */

    #restaurant-list.restaurants-mode
    > .restaurant-card {

        flex: 0 0 36% !important;

        width: 36% !important;
        min-width: 36% !important;
        max-width: 36% !important;

        position: relative !important;

        display: flex !important;
        flex-direction: column !important;

        padding: 7px !important;
        margin: 0 !important;

        background:
            linear-gradient(
                145deg,
                #ffffff 0%,
                #fffaf7 100%
            ) !important;

        border:
            1px solid rgba(255, 101, 55, 0.13) !important;

        border-radius: 20px !important;

        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.05),
            0 10px 24px rgba(0, 0, 0, 0.10) !important;

        overflow: visible !important;

        cursor: pointer !important;

        transform: translateY(0);

        transition:
            transform 0.16s ease,
            box-shadow 0.16s ease,
            border-color 0.16s ease !important;

        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }


    /* orange glow around card */

    #restaurant-list.restaurants-mode
    > .restaurant-card::before {

        content: "";

        position: absolute;

        inset: -1px;

        border-radius: 21px;

        background:
            linear-gradient(
                135deg,
                rgba(255, 112, 67, 0.12),
                transparent 40%,
                rgba(255, 81, 47, 0.05)
            );

        z-index: -1;

        pointer-events: none;
    }


    /* ==========================================
       LITTLE ARROW = THIS IS CLICKABLE
    ========================================== */

    #restaurant-list.restaurants-mode
    > .restaurant-card::after {

        content: "›";

        position: absolute;

        top: 11px;
        right: 11px;

        width: 25px;
        height: 25px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background:
            rgba(255, 255, 255, 0.96);

        color: #ff5b32;

        font-size: 22px;
        font-weight: 700;
        line-height: 1;

        box-shadow:
            0 3px 10px rgba(0, 0, 0, 0.15);

        z-index: 5;

        pointer-events: none;
    }


    /* ==========================================
       TOUCH / PRESS EFFECT
    ========================================== */

    #restaurant-list.restaurants-mode
    > .restaurant-card:active {

        transform:
            translateY(2px)
            scale(0.95) !important;

        border-color:
            rgba(255, 91, 50, 0.35) !important;

        box-shadow:
            0 2px 6px rgba(0, 0, 0, 0.07),
            0 5px 12px rgba(255, 91, 50, 0.12) !important;
    }


    /* ==========================================
       RESTAURANT IMAGE
    ========================================== */

    #restaurant-list.restaurants-mode
    > .restaurant-card
    > .restaurant-image {

        position: relative !important;

        width: 100% !important;

        aspect-ratio: 1 / 1 !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        border-radius: 15px !important;

        background:
            linear-gradient(
                145deg,
                #fff7f2,
                #ffffff
            ) !important;

        box-shadow:
            inset 0 0 0 1px rgba(0, 0, 0, 0.025) !important;
    }


    #restaurant-list.restaurants-mode
    > .restaurant-card
    > .restaurant-image
    > img {

        position: absolute !important;

        inset: 0 !important;

        display: block !important;

        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center !important;

        border-radius: 15px !important;

        transform: scale(1);

        transition:
            transform 0.22s ease !important;
    }


    /* Image reacts when restaurant is touched */

    #restaurant-list.restaurants-mode
    > .restaurant-card:active
    .restaurant-image img {

        transform: scale(1.06) !important;
    }


    /* ==========================================
       RESTAURANT INFORMATION
    ========================================== */

    #restaurant-list.restaurants-mode
    > .restaurant-card
    > .restaurant-info {

        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;

        height: auto !important;
        min-height: 58px !important;

        padding: 9px 3px 5px !important;
        margin: 0 !important;

        background: transparent !important;

        text-align: left !important;

        border: none !important;
        box-shadow: none !important;
    }


    /* restaurant top */

    #restaurant-list.restaurants-mode
    .restaurant-top {

        display: block !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        min-height: 32px !important;
    }


    /* Restaurant name */

    #restaurant-list.restaurants-mode
    .restaurant-top h3 {

        display: -webkit-box !important;

        margin: 0 0 5px !important;
        padding: 0 !important;

        color: #202020 !important;

        font-size: 13px !important;
        font-weight: 800 !important;

        line-height: 1.12 !important;

        letter-spacing: -0.15px;

        text-align: left !important;

        overflow: hidden !important;

       -webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
        -webkit-box-orient: vertical;
    }


    /* Hide rating on these small cards */

    #restaurant-list.restaurants-mode
    .rating {

        display: none !important;
    }


    /* Hide restaurant description */

    #restaurant-list.restaurants-mode
    .restaurant-info > p {

        display: none !important;
    }


    /* ==========================================
       DELIVERY TIME
    ========================================== */

    #restaurant-list.restaurants-mode
    .restaurant-meta {

        display: flex !important;

        align-items: center !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        min-height: 18px !important;

        color: #777 !important;

        font-size: 10px !important;
        font-weight: 600 !important;

        line-height: 1.2 !important;

        text-align: left !important;
    }


    #restaurant-list.restaurants-mode
    .restaurant-meta span {

        display: block !important;
    }


    /* hide Kano */

    #restaurant-list.restaurants-mode
    .restaurant-meta span:last-child {

        display: none !important;
    }


    /* orange delivery icon emphasis */

    #restaurant-list.restaurants-mode
    .restaurant-meta span:first-child {

        color: #696969 !important;
    }


    /* Hide old View Menu button.
       Whole card is clickable instead. */

    #restaurant-list.restaurants-mode
    button {

        display: none !important;
    }
}
/* ===== COMPACT HERO TITLE ===== */

.hero-title {
    width: 100%;
    max-width: 360px;

    margin: 14px auto 8px;

    text-align: center;

    font-size: 46px;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -1.2px;

    color: #202020;
}

.hero-title span {
    color: #ff5b2e;
}

@media (max-width: 700px) {
    .hero-title {
        max-width: 320px;

        margin: 12px auto 6px;

        font-size: 38px;
        line-height: 1.02;
        letter-spacing: -0.8px;
    }
}
/* ===== COMPACT CHOPGO HERO ===== */

@media (max-width: 700px) {

    .hero {
        min-height: 0 !important;
        height: auto !important;

        padding: 24px 18px 26px !important;

        gap: 22px !important;
    }

    .hero-text {
        min-height: 0 !important;
        height: auto !important;

        padding: 24px 18px !important;
        margin: 0 !important;
    }

    .hero-badge {
        margin-bottom: 18px !important;
    }

    .hero-title {
        max-width: 315px !important;

        margin: 8px auto 12px !important;

        font-size: 36px !important;
        line-height: 1.02 !important;
    }
}
/* ===== FINAL COMPACT HERO SPACING ===== */

@media (max-width: 700px) {

    /* Main outer hero box */
    .hero {
        min-height: 0 !important;
        height: auto !important;

        padding: 14px 12px !important;
        gap: 10px !important;
    }

    /* White content box */
    .hero-text {
        min-height: 0 !important;
        height: auto !important;

        padding: 16px 12px 14px !important;
        margin: 0 !important;
    }

    /* Fast delivery badge */
    .hero-badge {
        margin-bottom: 8px !important;
    }

    /* Main headline */
    .hero-title {
        max-width: 290px !important;

        margin: 4px auto 8px !important;

        font-size: 32px !important;
        line-height: 1.02 !important;
    }

    /* Search container */
    .hero-search {
        width: 100% !important;

        min-height: 0 !important;
        height: auto !important;

        margin: 6px auto 0 !important;
        padding: 6px 12px !important;

        border-radius: 18px !important;
    }

    .hero-search input {
        height: auto !important;

        margin: 0 !important;
        padding: 10px 4px !important;

        font-size: 16px !important;
        border-radius: 14px !important;
    }

    /* Floating food emoji box */
    .food-float {
        width: 48% !important;

        min-height: 0 !important;
        height: 62px !important;

        margin: 6px auto 0 !important;
        padding: 6px 10px !important;

        border-radius: 18px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 11px !important;
    }

    .food-float span {
        font-size: 26px !important;
        line-height: 1 !important;
    }
}
/* ChopGo top food banner */
header {
    background-image:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("images/chopgo-food-banner.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== CHOPGO HEADER - MOBILE ===== */
@media (max-width: 700px) {

    header {
        width: 100% !important;
        min-height: 120px !important;

        margin: 16px auto 18px !important;
        padding: 12px !important;

        gap: 10px !important;

        border-radius: 20px !important;

        display: grid !important;
        grid-template-columns:
            minmax(105px, 0.9fr)
            minmax(0, 1.4fr) !important;

        align-items: center !important;
    }

    header .logo {
        margin: 0 !important;
        padding: 12px 10px !important;

        background: transparent !important;

        border-radius: 16px !important;
        box-shadow: none !important;

        font-size: clamp(20px, 5vw, 25px) !important;
        text-align: center !important;
    }

    header .location {
        min-width: 0 !important;

        margin: 0 !important;
        padding: 12px 10px !important;

        border-radius: 16px !important;
        box-shadow: none !important;

        font-size: clamp(13px, 3.7vw, 16px) !important;
        line-height: 1.2 !important;

        text-align: center !important;

        overflow-wrap: anywhere !important;
    }
    /* Make top header controls feel clickable */
header .logo,
header .location {
    border: 1.5px solid rgba(255, 91, 46, 0.45) !important;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

header .logo:active,
header .location:active {
    transform: scale(0.97);
    border-color: #ff5b2e !important;
    box-shadow: 0 3px 10px rgba(255, 91, 46, 0.18) !important;
}
header .logo {
    border: none !important;
}
}
/* Restaurant name shown on food search results */
.search-restaurant-name {
    display: inline-block;

    margin: 8px 0 4px;
    padding: 5px 10px;

    background: #fff1ea;
    color: #f45b2c;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;
}
/* ===== PREMIUM GLOBAL FOOD SEARCH RESULTS ===== */

@media (max-width: 700px) {

    #restaurant-list:not(.restaurants-mode) {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: stretch !important;
    }


    /* Search title */
    #restaurant-list:not(.restaurants-mode) > .search-results-heading {
        grid-column: 1 / -1 !important;

        width: 100% !important;
        height: fit-content !important;
min-height: unset !important;
max-height: 105px !important;

align-self: start !important;
display: block !important;
overflow: hidden !important;


        margin: 0 0 10px !important;
        padding: 16px 18px !important;

        background: #ffffff !important;

        border: 1px solid rgba(255, 103, 55, 0.15);
        border-radius: 18px;

        box-shadow:
            0 6px 18px rgba(0, 0, 0, 0.06);

        box-sizing: border-box;
    }

    #restaurant-list .search-results-heading h2 {
        margin: 0 0 4px !important;

        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    #restaurant-list .search-results-heading p {
        margin: 0 !important;

        font-size: 14px !important;
        color: #777 !important;
    }


    /* Individual food card */
    #restaurant-list:not(.restaurants-mode) .menu-card {
        width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        padding: 10px !important;

        background: #ffffff !important;

        border: 1px solid rgba(255, 103, 55, 0.15);
        border-radius: 18px !important;

        box-shadow:
            0 6px 18px rgba(0, 0, 0, 0.07);

        box-sizing: border-box !important;
    }


    /* Food image */
    #restaurant-list:not(.restaurants-mode)
    .menu-card .menu-food-image {

        width: 100% !important;
        height: 115px !important;

        object-fit: contain !important;

        background: #fafafa;

        border-radius: 13px !important;

        margin: 0 0 7px !important;
    }


    /* No-image placeholder */
    #restaurant-list:not(.restaurants-mode)
    .menu-card .menu-image-placeholder {

        width: 100% !important;
        height: 115px !important;
        min-height: 115px !important;

        background: #f7f7f7 !important;

        border-radius: 13px !important;

        margin: 0 0 7px !important;
    }


    /* Restaurant badge */
    #restaurant-list:not(.restaurants-mode)
    .search-restaurant-name {

        width: fit-content !important;

        margin: 2px 0 7px !important;
        padding: 5px 9px !important;

        font-size: 10px !important;
    }


    /* Food name */
    #restaurant-list:not(.restaurants-mode)
    .menu-card h3 {

        margin: 2px 0 5px !important;

        font-size: 16px !important;
        line-height: 1.15 !important;

        color: #222;
    }


    /* Description */
    #restaurant-list:not(.restaurants-mode)
    .menu-card p {

        margin: 3px 0 !important;

        font-size: 12px !important;
        line-height: 1.3 !important;

        color: #777;
    }


    /* Price */
    #restaurant-list:not(.restaurants-mode)
    .menu-card p strong {

        font-size: 16px !important;
        color: #555;
    }


    /* Add to Cart */
    #restaurant-list:not(.restaurants-mode)
    .menu-card .add-to-cart {

        width: 68% !important;

        min-height: 42px !important;

        margin-top: 10px !important;
        padding: 8px 5px !important;

        border-radius: 12px !important;

        font-size: 14px !important;
        font-weight: 700 !important;
    }
}
/* Make the craving search box shorter on phones */
@media (max-width: 700px) {
    .hero-search {
        height: 100px !important;
        min-height: 100px !important;
        padding: 10px 16px !important;
    }

    .hero-search input {
        height: 60px !important;
    }
}
/* Compact hero search bar */
.hero-search {
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 22px !important;
}

.hero-search input {
    height: 58px !important;
    min-height: 58px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Compact + centered hero search */
@media (max-width: 700px) {

    .hero-search {
        height: 70px !important;
        min-height: 70px !important;

        margin: 22px auto 14px !important;
        padding: 0 18px !important;

        display: flex !important;
        align-items: center !important;

        box-sizing: border-box !important;
    }

    .hero-search input {
        height: 52px !important;
        min-height: 52px !important;

        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;

        align-self: center !important;
        transform: none !important;
    }
}
/* ==================================================
   TOP SELLERS — CLEAN FINAL DESIGN
   ================================================== */

#promotion-section {
    padding: 12px !important;
    margin: 12px 0 !important;

    height: auto !important;
    min-height: 0 !important;

    border-radius: 22px !important;
}

/* Heading */
#promotion-section .promotion-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 6px 10px !important;
    margin: 0 0 6px !important;

    min-height: 0 !important;
    height: auto !important;

    border-radius: 18px !important;

    background: #f7f7f7 !important;
border: 1px solid #eeeeee !important;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}

#promotion-section .promotion-label {
display: none !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

#promotion-section .promotion-heading h2 {
    margin: 0 !important;
    padding: 10px 18px !important;

    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 800 !important;

    text-transform: uppercase !important;

    background: #ffffff !important;
    color: #111 !important;

    border-radius: 13px !important;
    border-bottom: 3px solid #ff5a2f !important;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06) !important;
}

#promotion-section .promotion-swipe-text {
    margin: 0 !important;

    font-size: 11px !important;
    color: #777 !important;

    white-space: nowrap !important;
}


/* Slider */
#promotion-section #promotion-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;

    width: 100% !important;

    gap: 12px !important;

    margin: 0 !important;
    padding: 4px 0 8px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

#promotion-section #promotion-slider::-webkit-scrollbar {
    display: none;
}


/* Top Seller card */
#promotion-section #promotion-slider > .promotion-card {
    flex: 0 0 220px !important;

    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    height: auto !important;
    min-height: 0 !important;

    scroll-snap-align: start;

    cursor: pointer !important;

    box-sizing: border-box !important;
}


/* Food image */
#promotion-section #promotion-slider .promotion-image,
#promotion-section #promotion-slider .promotion-placeholder {
    width: 100% !important;
    height: 150px !important;

    margin: 0 0 9px !important;
    padding: 0 !important;

    border-radius: 18px !important;
    background: #fafafa !important;

    box-sizing: border-box !important;
}

#promotion-section #promotion-slider .promotion-image {
    display: block !important;
    object-fit: contain !important;
}

#promotion-section #promotion-slider .promotion-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 30px !important;
}


/* Name + price + plus */
#promotion-section #promotion-slider .top-seller-details {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 8px !important;

    width: 100% !important;
    margin-top: 8px !important;

}

#promotion-section #promotion-slider .top-seller-text {
    flex: 1 !important;
    min-width: 0 !important;

    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

}

#promotion-section #promotion-slider .top-seller-text h3 {
    margin: 0 0 5px !important;
    padding: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    color: #222 !important;
}

#promotion-section #promotion-slider .top-seller-price {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    color: #f45b2c !important;
}


/* Small + button */
#promotion-section #promotion-slider .promotion-add-button {
    flex: 0 0 38px !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 50% !important;

    background: linear-gradient(
    135deg,
    #fff0ea 0%,
    #fff5ee 55%,
    #effcf4 100%
) !important;

color: #ff6238 !important;

box-shadow:
    0 4px 12px rgba(255, 98, 56, 0.10),
    0 3px 10px rgba(36, 180, 105, 0.10) !important;
    font-size: 25px !important;
    line-height: 1 !important;

    cursor: pointer !important;
}

#promotion-section #promotion-slider .promotion-add-button:active {
    transform: scale(0.92) !important;
}


/* ==================================================
   PHONE
   ================================================== */

@media (max-width: 700px) {

    #promotion-section {
        padding: 8px 10px !important;
        margin: 10px 0 !important;
    }

    #promotion-section .promotion-heading {
    height: auto !important;
    min-height: 0 !important;
    padding: 3px 12px !important;
    margin-bottom: 10px !important;
    box-sizing: border-box !important;
}
#promotion-section .promotion-heading > div {
    padding: 0px 8px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}


    #promotion-section #promotion-slider {
        gap: 12px !important;
    }


    /* 3+ Top Sellers:
       two visible + part of the next card */
    #promotion-section
    #promotion-slider.many-top-sellers
    > .promotion-card {

        flex: 0 0 40% !important;

        width: 40% !important;
        min-width: 40% !important;
        max-width: 40% !important;
    }


    /* Exactly 1 or 2:
       fill available space — no empty half-card */
    #promotion-section
    #promotion-slider.two-top-sellers {
        overflow-x: hidden !important;
    }

    #promotion-section
    #promotion-slider.two-top-sellers
    > .promotion-card {

        flex: 1 1 0 !important;

        width: calc((100% - 12px) / 2) !important;
        min-width: 0 !important;
        max-width: none !important;
    }


    #promotion-section #promotion-slider .promotion-image,
    #promotion-section #promotion-slider .promotion-placeholder {
        height: 135px !important;
    }

    #promotion-section #promotion-slider .top-seller-text h3 {
        font-size: 15px !important;
    }

    #promotion-section #promotion-slider .top-seller-price {
        font-size: 14px !important;
    }

    #promotion-section #promotion-slider .promotion-add-button {
        flex-basis: 40px !important;

        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;

        height: 40px !important;
        min-height: 40px !important;

        font-size: 26px !important;
    }
}
/* ===== PREMIUM MENU CATEGORY TABS ===== */

#restaurant-list .customer-menu-groups {
    grid-column: 1 / -1 !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    width: calc(100% - 20px) !important;
    max-width: 100% !important;

    gap: 10px !important;

    padding: 8px 8px 16px !important;
    position: relative !important;
    margin: 0 10px 18px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;

    background: #f7f7f7 !important;
    border: 1px solid #eeeeee !important;
    border-radius: 18px !important;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;

    box-sizing: border-box !important;
    scrollbar-width: none;
}

#restaurant-list .customer-menu-groups::-webkit-scrollbar {
    display: none;
}

#restaurant-list .customer-menu-group {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: auto !important;
    height: 42px !important;

    padding: 0 18px !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 13px !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #555 !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
}

#restaurant-list .customer-menu-group.active {
    background: white !important;
    color: #111 !important;
    font-weight: 700 !important;

    border-bottom: 3px solid #ff5a2f !important;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06) !important;
}

#restaurant-list .customer-menu-groups::after {
    content: "";
    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 6px;

    height: 2px;

    background: #e3e3e3;
    border-radius: 999px;
}
/* ===== COMPACT FULL-WIDTH MENU CARDS ===== */

@media (max-width: 700px) {

    #restaurant-list:not(.restaurants-mode) {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    #restaurant-list .customer-menu-groups {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    #restaurant-list > .menu-card {
        width: 100% !important;
        max-width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        padding: 12px !important;
        margin: 0 !important;

        background: #fff !important;
        border: 1px solid #f3e7df !important;
        border-radius: 20px !important;

        box-shadow: 0 5px 16px rgba(0,0,0,0.04) !important;

        box-sizing: border-box !important;
    }

   #restaurant-list > .menu-card .menu-food-image {
    width: 200px !important;
    max-width: 200px !important;
    height: 125px !important;

    display: block !important;
    align-self: center !important;
    margin: 0 auto 8px !important;

    object-fit: contain !important;

    background: transparent !important;
    border-radius: 14px !important;
}

#restaurant-list > .menu-card .menu-image-placeholder {
    width: 200px !important;
    max-width: 200px !important;
    height: 125px !important;

    align-self: center !important;
    margin: 0 auto 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #fafafa !important;
    border-radius: 14px !important;
}

    #restaurant-list > .menu-card .menu-food-name {
        margin: 0 0 4px !important;

        font-size: 20px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    #restaurant-list > .menu-card .menu-food-description {
        margin: 0 0 7px !important;

        font-size: 14px !important;
        line-height: 1.4 !important;

        color: #777 !important;
    }

   #restaurant-list > .menu-card .menu-card-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
#restaurant-list > .menu-card .menu-food-price {
    align-self: flex-start !important;
    margin: 0 0 6px 0 !important;
}

#restaurant-list > .menu-card .add-to-cart {
    width: 58% !important;
    align-self: center !important;
    margin: 0 auto !important;
}
    }

    #restaurant-list > .menu-card .menu-food-price {
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
height: auto !important;

        font-size: 17px !important;
        font-weight: 700 !important;

        color: #222 !important;
    }

    #restaurant-list > .menu-card .add-to-cart {
    width: 58% !important;
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 auto !important;
    padding: 11px 18px !important;

    text-align: center !important;

    /* Soft orange + tiny green tint */
    background: linear-gradient(
        135deg,
        rgba(255, 245, 240, 0.96),
        rgba(240, 255, 247, 0.96)
    ) !important;

    color: #ef5d2f !important;

    border: 2px solid #ff6a3d !important;
    border-radius: 999px !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    box-shadow:
        0 5px 15px rgba(255, 106, 61, 0.16),
        0 3px 10px rgba(36, 180, 105, 0.10) !important;

    cursor: pointer !important;

    box-sizing: border-box !important;
}
#restaurant-list > .menu-card .add-to-cart:active {
    transform: scale(0.97) !important;

    box-shadow:
        0 3px 10px rgba(255, 106, 61, 0.15),
        0 2px 8px rgba(36, 180, 105, 0.21) !important;
}
#restaurant-list > .menu-card .add-to-cart {
    position: relative !important;
}

#restaurant-list > .menu-card .cart-label {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

#restaurant-list > .menu-card .cart-icon {
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    font-size: 18px !important;
}
.restaurant-menu-back-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: fit-content;
    margin: 0 0 14px 0;
    padding: 9px 14px;

    background: #fff4ee;
    color: #f45b2c;

    border: 1px solid rgba(244, 91, 44, 0.22);
    border-radius: 12px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.restaurant-menu-back-button:active {
    transform: scale(0.97);
}
.restaurant-menu-banner {
   width: 100vw !important;

max-width: 100vw !important;

margin-left: calc(50% - 50vw) !important;

margin-right: calc(50% - 50vw) !important;

margin-top: -30px !important;

margin-bottom: 18px !important;
    padding: 0;
    border-radius: 0 !important;
    overflow: hidden;
    background: linear-gradient(135deg, #fff4ee, #ffffff);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    position: relative;
}
.restaurant-menu-banner::before {
    content: "";

    position: absolute;
    left: -5%;
    bottom: -24px;

    width: 110%;
    height: 48px;

    background: #fff;

    border-radius: 50% 50% 0 0 / 100% 100% 0 0;

    z-index: 3;
    pointer-events: none;
}
.restaurant-menu-banner-info {
    min-height: 200px;
    padding: 18px 12px 12px !important;

    display: flex;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    position: relative;
    z-index: 2;
    padding-bottom: 30px !important;
}

.restaurant-menu-logo {
    width: 62px !important;
    height: 62px !important;

    flex-shrink: 0;
    object-fit: cover;

    border-radius: 16px !important;
    background: white;
    border: 3px solid white !important;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.restaurant-menu-banner-info h2 {
    margin: 0 0 4px !important;

    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 800;

    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.restaurant-menu-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.restaurant-menu-banner::after {
    content: "";
    position: absolute;
    inset: 0;
   background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.15)
);
    z-index: 1;
    pointer-events: none;
}

.restaurant-menu-banner-info {
    position: relative;
    z-index: 2;
}
#restaurant-list > .menu-card.menu-group-highlight {
    border: 2px solid #ff6238 !important;
    box-shadow:
        0 0 0 3px rgba(255, 98, 56, 0.10),
        0 10px 25px rgba(255, 98, 56, 0.12) !important;
}
/* PHONE ONLY — exactly 2 Top Sellers fill the row */
@media (max-width: 700px) {

    #promotion-section #promotion-slider.two-top-sellers {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    #promotion-section #promotion-slider.two-top-sellers > .promotion-card {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        width: calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
    }
}
/* Pull Top Seller price closer to food name on phone */
@media (max-width: 700px) {
    #promotion-section #promotion-slider > .promotion-card .promotion-prices {
        margin-top: -12px !important;
    }
}
/* REMOVE OLD BOX AROUND TOP SELLER DETAILS */
#promotion-section #promotion-slider .top-seller-details {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
}

/* =========================================
   FOOD CUSTOMIZATION / MEAL OPTIONS MODAL
========================================= */

.food-options-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
    z-index: 9999;
}

.food-options-modal.active {
    display: flex;
}

.food-options-box {
    width: 100%;
    max-width: 620px;
    max-height: 88vh;
    overflow-y: auto;

    background: #ffffff;
    border-radius: 24px;
    padding: 24px;

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);

    position: relative;
}

.food-options-close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: #fff3ed;
    color: #ff5a2f;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;
}

.food-options-box > h2 {
    margin: 0 50px 4px 0;
    font-size: 24px;
}

.food-options-subtitle {
    margin: 0 40px 18px 0;
    color: #777;
    line-height: 1.45;
}

#options-food-name {
    margin: 0 0 20px;
    padding: 12px 14px;

    background: #fff7f3;
    border-radius: 14px;

    color: #222;
    font-size: 17px;
}

.option-group-form,
.existing-option-groups {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 18px;

    padding: 18px;
    margin-top: 16px;
}

.option-group-form h3,
.existing-option-groups h3 {
    margin: 0 0 14px;
}

.option-group-form label {
    display: block;
    margin: 12px 0 6px;

    font-weight: 600;
    font-size: 14px;
}

.option-group-form input[type="text"],
.option-group-form input[type="number"] {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #dddddd;
    border-radius: 12px;

    background: #ffffff;
    font-size: 15px;
}

.option-checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.option-checkbox-row input {
    width: auto;
}

.option-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

#add-option-group-button {
    width: 100%;
    margin-top: 16px;

    padding: 13px 16px;

    border: none;
    border-radius: 14px;

    background: #ff5a2f;
    color: white;

    font-weight: 700;
    font-size: 15px;

    cursor: pointer;
}

#add-option-group-button:active {
    transform: scale(0.98);
}

#option-group-message {
    margin: 10px 0 0;
    font-size: 14px;
}

#option-groups-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* PHONE */

@media (max-width: 700px) {

    .food-options-modal {
        padding: 0;
        align-items: flex-end;
    }

    .food-options-box {
        max-width: none;
        width: 100%;

        max-height: 90vh;

        border-radius: 26px 26px 0 0;
        padding: 20px 16px 24px;

        animation: foodOptionsSlideUp 0.25s ease;
    }

    .option-selection-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

}

@keyframes foodOptionsSlideUp {

    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* =========================================
   CUSTOMER FOOD CUSTOMIZATION SHEET
   FINAL LIQUID GLASS DESIGN
========================================= */

.customer-options-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: none;
    align-items: flex-end;
    justify-content: center;

    padding: 12px;

    background: rgba(18, 18, 18, 0.16);

    backdrop-filter: blur(5px) saturate(115%);
    -webkit-backdrop-filter: blur(5px) saturate(115%);

    box-sizing: border-box;
}

.customer-options-modal.active {
    display: flex;
}


/* ================================
   LIQUID GLASS SHEET
================================ */

.customer-options-sheet {
    width: 100%;
    max-width: 620px;
    max-height: 92dvh;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.72),
            rgba(255, 255, 255, 0.48)
        );

    border:
        1px solid rgba(255, 255, 255, 0.72);

    border-radius: 28px;

    backdrop-filter:
        blur(30px)
        saturate(175%);

    -webkit-backdrop-filter:
        blur(30px)
        saturate(175%);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    animation: customerOptionsSlideUp 0.25s ease;
}


/* ================================
   FOOD HEADER
================================ */

.customer-options-header {
    position: relative;

    margin: 0 !important;
    padding: 14px !important;

    background: transparent !important;

    border-radius: 0 !important;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.50);

    box-shadow: none !important;
}


/* Close button */

.customer-options-close {
    position: absolute;

    top: 24px;
    right: 24px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid rgba(255, 255, 255, 0.75);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    color: #ff5a2f;

    font-size: 25px;
    line-height: 1;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.10);

    cursor: pointer;

    z-index: 5;
}


/* Food image */

.customer-options-image {
    display: block;

    width: 100%;
    height: 165px;

    margin: 0;

    object-fit: cover;
    object-position: center;

    border-radius: 20px;

    background: #f5f5f5;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.07);
}


/* Food information */

.customer-options-food-info {
    margin: 8px 0 0 !important;
    padding: 11px 12px 9px !important;

    background:
        rgba(255, 255, 255, 0.30) !important;

    border:
        1px solid rgba(255, 255, 255, 0.55);

    border-radius: 17px !important;

    box-shadow: none !important;
}


.customer-options-food-info h2 {
    margin: 0 42px 4px 0 !important;

    color: #202020;

    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
}


.customer-options-food-info p {
    margin: 0 0 6px !important;

    color: #686868;

    font-size: 14px;
    line-height: 1.35;
}


#customer-options-base-price {
    display: block;

    margin: 0;

    color: #ff5a2f;

    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}


/* ================================
   OPTIONS AREA
================================ */

.customer-options-groups {
    flex: 1;

    overflow-y: auto;
    overflow-x: hidden;

    margin: 0 !important;
    padding: 8px 18px 16px !important;

    background: transparent !important;

    border-radius: 0 !important;
    box-shadow: none !important;

    -webkit-overflow-scrolling: touch;
}


.customer-option-group {
    width: 100%;

    margin: 0 !important;
    padding: 14px 0 !important;

    background: transparent !important;

    border-radius: 0 !important;

    border-bottom:
        1px solid rgba(80, 80, 80, 0.10);

    box-shadow: none !important;
}


.customer-option-group:last-child {
    border-bottom: none;
}


.customer-option-group-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;

    margin: 0 0 7px !important;
    padding: 0 !important;

    background: transparent !important;

    border-radius: 0 !important;
    box-shadow: none !important;
}


.customer-option-group-title {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border-radius: 0 !important;
    box-shadow: none !important;
}


.customer-option-group-title h3 {
    margin: 0 0 3px !important;

    color: #202020;

    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
}


.customer-option-group-title p {
    margin: 0 !important;

    color: #8a8a8a;

    font-size: 12px;
    line-height: 1.2;

    text-transform: uppercase;
}


.customer-option-required {
    flex-shrink: 0;

    padding: 5px 9px;

    background:
        rgba(255, 240, 234, 0.78);

    color: #ff5a2f;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
}


/* ================================
   OPTION CHOICES
================================ */

.customer-option-choices {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border-radius: 0 !important;
    box-shadow: none !important;
}


.customer-option-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 52px;

    gap: 12px;

    margin: 0 !important;
    padding: 7px 0 !important;

    background: transparent !important;

    border-radius: 0 !important;
    box-shadow: none !important;

    cursor: pointer;
}


.customer-option-choice-left {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 12px;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border-radius: 0 !important;
    box-shadow: none !important;
}


.customer-option-choice input {
    width: 23px !important;
    height: 23px !important;

    flex-shrink: 0;

    margin: 0 !important;

    accent-color: #ff5a2f;
}


.customer-option-choice-name {
    margin: 0;

    color: #202020;

    font-size: 16px;
}


.customer-option-choice-price {
    flex-shrink: 0;

    margin-left: auto;

    color: #3f3f3f;

    font-size: 15px;
    font-weight: 700;
}


.customer-option-choice.unavailable {
    opacity: 0.45;
    cursor: not-allowed;
}


/* ================================
   COMPACT LIQUID GLASS FOOTER
================================ */

.customer-options-footer {
    position: sticky;
    bottom: 0;

    z-index: 20;

    display: flex;
    align-items: center;

    width: 100%;

    gap: 10px;

    margin: 0 !important;

    padding:
        9px
        12px
        calc(9px + env(safe-area-inset-bottom)) !important;

    box-sizing: border-box;

    background:
        rgba(255, 255, 255, 0.66) !important;

    backdrop-filter:
        blur(24px)
        saturate(170%);

    -webkit-backdrop-filter:
        blur(24px)
        saturate(170%);

    border-top:
        1px solid rgba(255, 255, 255, 0.70);

    border-radius:
        0 0 27px 27px !important;

    box-shadow:
        0 -8px 24px rgba(0, 0, 0, 0.06) !important;
}


/* Smaller quantity BOX */

.customer-options-quantity {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 44px;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.54) !important;

    border:
        1px solid rgba(255, 255, 255, 0.72);

    border-radius: 14px !important;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.06) !important;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


/* − and + themselves stay easy to tap */

.customer-options-quantity button {
    width: 36px;
    height: 42px;

    margin: 0;
    padding: 0;

    border: none;

    background: transparent;

    color: #ff5a2f;

    font-size: 21px;
    line-height: 1;

    cursor: pointer;
}


#customer-options-quantity {
    min-width: 30px;

    text-align: center;

    color: #222;

    font-size: 16px;
    font-weight: 800;
}


/* Add button */

.customer-options-add-button {
    flex: 1;

    height: 44px;

    margin: 0;
    padding: 0 14px;

    border: none;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #ff7048,
            #ff5733
        );

    color: white;

    font-size: 16px;
    font-weight: 800;

    box-shadow:
        0 5px 15px rgba(255, 90, 47, 0.20);

    cursor: pointer;
}


.customer-options-add-button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}


/* ================================
   ANIMATION
================================ */

@keyframes customerOptionsSlideUp {

    from {
        transform: translateY(100%);
        opacity: 0;
    }

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


/* ================================
   PHONE
================================ */

@media (max-width: 700px) {

    .customer-options-modal {
        padding:
            10px
            10px
            max(10px, env(safe-area-inset-bottom));
    }

    .customer-options-sheet {
    width: 100%;
    height: 92dvh;
    max-height: 92dvh;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;

    border-radius: 27px;

    -webkit-overflow-scrolling: touch;
}

    .customer-options-header {
        padding: 12px !important;
    }

    .customer-options-image {
        height: 150px;
        border-radius: 18px;
    }

    .customer-options-close {
        top: 20px;
        right: 20px;

        width: 38px;
        height: 38px;
    }

    .customer-options-food-info {
        padding: 10px 11px 8px !important;
    }

    .customer-options-food-info h2 {
        font-size: 20px;
    }

    .customer-options-food-info p {
        font-size: 13px;
    }

    #customer-options-base-price {
        font-size: 17px;
    }

   .customer-options-groups {
    flex: 1 1 auto !important;
    min-height: 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    padding: 6px 16px 16px !important;

    -webkit-overflow-scrolling: touch;
}

    .customer-option-group {
        padding: 12px 0 !important;
    }

    .customer-options-footer {
    position: relative !important;
    bottom: auto !important;

    flex: 0 0 auto !important;

    padding:
        8px
        10px
        calc(8px + env(safe-area-inset-bottom)) !important;

    gap: 9px;
}

    .customer-options-quantity {
        height: 42px;
    }

    .customer-options-quantity button {
        width: 34px;
        height: 40px;
    }

    .customer-options-add-button {
        height: 42px;
        font-size: 15px;
    }
}


/* ================================
   DESKTOP
================================ */

@media (min-width: 701px) {

    .customer-options-modal {
        align-items: center;
        padding: 24px;
    }

    .customer-options-sheet {
        max-height: 88vh;
        border-radius: 28px;
    }
}


.checkout-customizations {
    margin-top: 6px;
    margin-bottom: 12px;
}

.checkout-customization-item {
    margin: 3px 0;
    font-size: 14px;
    color: #666;
}

.checkout-customization-item strong {
    color: #333;
}
/* ================================
   RESTAURANT DASHBOARD NAVIGATION
================================ */

.restaurant-dashboard-nav {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    padding: 16px;

    background: #ffffff;
    border-radius: 18px;

    overflow-x: auto;
    white-space: nowrap;

    box-sizing: border-box;
}

.restaurant-dashboard-nav::-webkit-scrollbar {
    display: none;
}

.restaurant-dashboard-tab {
    flex: 1 0 auto;

    min-height: 52px;
    padding: 12px 18px;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    background: #f8f8f8;
    color: #333;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.restaurant-dashboard-tab:hover {
    background: #f1f1f1;
}

.restaurant-dashboard-tab.active {
    background: #222;
    color: white;
    border-color: #222;
}
/* ================================
   FIND ORDER PAGE
================================ */

.restaurant-orders-section {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    padding: 28px;
    margin-top: 18px;
    box-sizing: border-box;
}

.restaurant-orders-section h2 {
    margin: 0 0 6px;
    font-size: 28px;
}

.restaurant-orders-section > p {
    margin: 0 0 24px;
    color: #777;
}
/* Restaurant Find Order search */
.restaurant-order-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.restaurant-order-search-row #restaurant-order-search {
    flex: 1;
    height: 52px;
    padding: 0 16px;
    margin: 0;
    box-sizing: border-box;
}

.restaurant-order-search-row #restaurant-order-search-button {
    width: auto;
    height: 52px;
    padding: 0 24px;
    margin: 0;
    white-space: nowrap;
}
/* Fix restaurant order search alignment */
.restaurant-order-search-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100%;
}

.restaurant-order-search-row input {
    flex: 1 !important;
    width: auto !important;
    margin: 0 !important;
}

.restaurant-order-search-row button {
    width: 130px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.restaurant-order-search-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
}

.restaurant-order-search-row input {
    width: 70% !important;
    height: 50px !important;
}

.restaurant-order-search-row button {
    width: 140px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
}
/* ===== RESTAURANT MENU GROUPS ===== */

.menu-groups-section {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
}

.menu-groups-section h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.menu-groups-section > p {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 14px;
}

.menu-group-create {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.menu-group-create input {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #dcdfe4;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}

.menu-group-create input:focus {
    border-color: #ff6238;
}

#add-menu-group-button {
    border: none;
    background: #ff6238;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

#menu-group-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#menu-group-list > div {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fb;
    border: 1px solid #e8e8e8;
    padding: 10px 12px;
    border-radius: 10px;
}

@media (max-width: 700px) {
    .menu-groups-section {
        padding: 18px;
    }

    .menu-group-create {
        flex-direction: column;
    }

    #add-menu-group-button {
        width: 100%;
    }
}
/* ===== RESTAURANT MENU GROUP CARDS ===== */

.menu-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 16px 18px;
    margin-bottom: 12px;

    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 14px;

    font-weight: 600;
}

/* Delete button inside menu groups */
.menu-group-item button {
    border: none;
    background: #fff0ed;
    color: #e84b32;

    padding: 8px 12px;
    border-radius: 9px;

    font-weight: 600;
    cursor: pointer;
}

.menu-group-item button:hover {
    background: #ffe1da;
}
/* ===== RESTAURANT MENU GROUPS - CLEAN DESIGN ===== */

.menu-group-create {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

#menu-group-name {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e2e5ea;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

#menu-group-name:focus {
    border-color: #ff6238;
    box-shadow: 0 0 0 3px rgba(255, 98, 56, 0.10);
}

#add-menu-group-button {
    height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 14px;
    background: #ff6238;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* PHONE */
@media (max-width: 700px) {
    .menu-group-create {
        gap: 8px;
    }

    #menu-group-name {
        height: 48px;
        font-size: 14px;
    }

    #add-menu-group-button {
        height: 48px;
        padding: 0 14px;
        font-size: 14px;
    }
}
/* ===== MENU GROUP CARDS ===== */

#menu-groups-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

#menu-groups-list > div {
    min-height: 0 !important;
    padding: 18px;
    border: 1px solid #eceef2;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#menu-groups-list > div strong {
    font-size: 15px;
    font-weight: 700;
}

/* PHONE */
@media (max-width: 700px) {
    #menu-groups-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #menu-groups-list > div {
        padding: 14px;
        border-radius: 14px;
    }
}
/* ===== MENU GROUP CARD POLISH ===== */

#menu-groups-list > div {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#menu-groups-list > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

#menu-groups-list > div button {
    border: none;
    background: #fff1f2;
    color: #e5485d;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

#menu-groups-list > div button:hover {
    background: #ffe4e6;
}

/* PHONE */
@media (max-width: 700px) {
    #menu-groups-list > div button {
        padding: 7px 10px;
        font-size: 12px;
    }
}
/* ===== ADD FOOD ITEM SECTION ===== */

.add-food-section {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 26px;
    margin-top: 24px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.add-food-section > h2 {
    margin: 0 0 22px;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
}

/* PHONE */
@media (max-width: 700px) {
    .add-food-section {
        padding: 18px;
        border-radius: 16px;
        margin-top: 18px;
    }

    .add-food-section > h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }
}
/* ===== ADD FOOD FORM - SAFE FIELD STYLING ===== */

#food-name,
#food-price,
#food-menu-group,
#food-description {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    background: #ffffff;
    font-size: 15px;
    outline: none;
}

#food-name,
#food-price,
#food-menu-group {
    height: 52px;
    padding: 0 15px;
}

#food-description {
    min-height: 110px;
    padding: 14px 15px;
    resize: vertical;
}

#food-name:focus,
#food-price:focus,
#food-menu-group:focus,
#food-description:focus {
    border-color: #ff6238;
    box-shadow: 0 0 0 3px rgba(255, 98, 56, 0.10);
}

@media (max-width: 700px) {
    #food-name,
    #food-price,
    #food-menu-group {
        height: 48px;
        font-size: 16px;
    }

    #food-description {
        font-size: 16px;
        min-height: 95px;
    }
}
/* ===== ADD FOOD IMAGE + PRICE PREVIEW ===== */

#food-image {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px dashed #d7dce2;
    border-radius: 12px;
    background: #fafafa;
    font-size: 14px;
}

.price-preview {
    margin-top: 16px;
    padding: 18px;
    background: #f8f9fb;
    border: 1px solid #eceef2;
    border-radius: 14px;
}

.price-preview p,
.price-preview strong {
    margin: 7px 0;
}

@media (max-width: 700px) {
    #food-image {
        font-size: 14px;
        padding: 10px;
    }

    .price-preview {
        padding: 14px;
    }
}
/* ===== ADD FOOD FINAL POLISH ===== */

#add-food-button {
    min-width: 140px;
    height: 50px;
    padding: 0 22px;

    border: none;
    border-radius: 12px;

    background: #ff6238;
    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    margin-top: 16px;

    transition: transform 0.2s ease, opacity 0.2s ease;
}

#add-food-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

#food-message {
    margin-top: 10px;
}

/* PHONE */
@media (max-width: 700px) {
    #add-food-button {
        width: 100%;
        height: 48px;
        margin-top: 12px;
    }
}
/* ===== YOUR MENU SECTION ===== */

.restaurant-menu-section {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 26px;
    margin-top: 24px;
    box-sizing: border-box;
}

.restaurant-menu-section > h2 {
    margin: 0 0 22px;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
}

/* PHONE */
@media (max-width: 700px) {
    .restaurant-menu-section {
        padding: 18px;
        border-radius: 16px;
        margin-top: 18px;
    }

    .restaurant-menu-section > h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }
}
/* ===== RESTAURANT MENU FOOD ACTIONS ===== */

#restaurant-menu-list .food-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

#restaurant-menu-list .food-actions button {
    border: none;
    border-radius: 9px;
    padding: 9px 12px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#restaurant-menu-list .food-actions button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Edit */
#restaurant-menu-list .food-actions button:nth-child(1) {
    background: #eef2ff;
    color: #4f46e5;
}

/* Manage Options */
#restaurant-menu-list .food-actions button:nth-child(2) {
    background: #f3f4f6;
    color: #374151;
}

/* Available / Unavailable */
#restaurant-menu-list .food-actions button:nth-child(3) {
    background: #fff1f2;
    color: #e5485d;
}

/* Top Seller */
#restaurant-menu-list .food-actions button:nth-child(4) {
    background: #fff8e1;
    color: #b7791f;
}

/* Delete */
#restaurant-menu-list .food-actions button:nth-child(5) {
    background: #feecec;
    color: #dc2626;
}


/* Availability text */
#restaurant-menu-list .food-availability {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
}


/* PHONE */
@media (max-width: 700px) {

    #restaurant-menu-list .food-actions {
        gap: 6px;
    }

    #restaurant-menu-list .food-actions button {
        padding: 8px 10px;
        font-size: 12px;
    }
}
/* ===== RESTAURANT YOUR MENU FOOD CARDS ===== */

#restaurant-menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

/* Individual restaurant food card */
#restaurant-menu-list .partner-food-card {
    min-width: 0;
    padding: 16px;

    background: #ffffff;
    border: 1px solid #eceef2;
    border-radius: 18px;

    box-sizing: border-box;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#restaurant-menu-list .partner-food-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* Food image */
#restaurant-menu-list .partner-food-card > img {
    width: 100%;
    height: 180px;

    object-fit: cover;

    border-radius: 14px;
    margin-bottom: 14px;
}

/* Placeholder when food has no image */
#restaurant-menu-list .partner-food-placeholder {
    width: 100%;
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f4f5f7;
    border-radius: 14px;

    font-size: 42px;
    margin-bottom: 14px;
}

/* Food name */
#restaurant-menu-list .partner-food-card h3 {
    margin: 0 0 5px;

    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

/* Food description and prices */
#restaurant-menu-list .partner-food-card p {
    margin: 6px 0;
    line-height: 1.4;
}

/* PHONE */
@media (max-width: 700px) {

    #restaurant-menu-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #restaurant-menu-list .partner-food-card {
        padding: 14px;
        border-radius: 16px;
    }

    #restaurant-menu-list .partner-food-card > img,
    #restaurant-menu-list .partner-food-placeholder {
        height: 170px;
    }
}
/* ===== RESTAURANT FOOD CARD DETAILS ===== */

#restaurant-menu-list .partner-food-card h3 {
    margin-top: 4px;
    margin-bottom: 4px;
}

#restaurant-menu-list .partner-food-card p {
    color: #6b7280;
}

#restaurant-menu-list .partner-food-card p strong {
    color: #1f2937;
}

#restaurant-menu-list .food-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 10px;
    padding: 6px 10px;

    background: #f0fdf4;
    border-radius: 999px;

    color: #15803d;
    font-size: 13px;
    font-weight: 700;
}

/* PHONE */
@media (max-width: 700px) {
    #restaurant-menu-list .partner-food-card h3 {
        font-size: 17px;
    }

    #restaurant-menu-list .partner-food-card p {
        font-size: 14px;
    }

    #restaurant-menu-list .food-availability {
        font-size: 12px;
        padding: 5px 9px;
    }
}
/* ===== FOOD ACTIONS - ONE OPTION PER LINE ===== */

#restaurant-menu-list .food-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100%;
}

#restaurant-menu-list .food-actions button {
    width: 100% !important;
    min-height: 42px;

    display: flex;
    align-items: center;

    padding: 9px 12px !important;

    white-space: nowrap !important;
    text-align: left;
}
/* ===== EARNINGS & PAYMENTS ===== */

.restaurant-earnings-section,
.restaurant-payment-history-section {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 26px;
    box-sizing: border-box;
}

.restaurant-earnings-section h2,
.restaurant-payment-history-section h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
}

.restaurant-payment-history-section > p {
    margin: 0 0 20px;
    color: #6b7280;
}

/* PHONE */
@media (max-width: 700px) {
    .restaurant-earnings-section,
    .restaurant-payment-history-section {
        padding: 18px;
        border-radius: 16px;
    }

    .restaurant-earnings-section h2,
    .restaurant-payment-history-section h2 {
        font-size: 22px;
    }
}
/* ===== RESTAURANT EARNINGS SUMMARY ===== */

#restaurant-earnings {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

#restaurant-earnings p {
    margin: 0;
    padding: 13px 15px;

    background: #f8f9fb;
    border: 1px solid #eceef2;
    border-radius: 11px;

    font-size: 14px;
    line-height: 1.4;
}

#restaurant-earnings p strong {
    color: #1f2937;
}

@media (max-width: 700px) {
    #restaurant-earnings {
        gap: 8px;
    }

    #restaurant-earnings p {
        padding: 11px 12px;
        font-size: 13px;
    }
}
/* ===== EARNINGS + PAYMENT HISTORY STACK ===== */

.restaurant-top-grid .restaurant-earnings-section,
.restaurant-top-grid .restaurant-payment-history-section {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Space between Earnings and Payment History */
.restaurant-payment-history-section {
    margin-top: 18px;
}

/* Remove scrolling from Payment History */
.restaurant-payment-history-section,
#restaurant-payment-history {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-height: none !important;
}

/* Prevent the earnings area itself from creating horizontal scroll */
.restaurant-top-grid {
    max-width: 100%;
    min-width: 0;
}
/* ===== PAYMENT HISTORY SEARCH ===== */

.payment-history-search {
    margin: 18px 0 22px;
}

#payment-history-search {
    width: 100%;
    height: 52px;
    box-sizing: border-box;

    padding: 0 16px;

    border: 1px solid #dfe3e8;
    border-radius: 12px;

    background: #ffffff;
    font-size: 15px;
    outline: none;

    transition: 0.2s ease;
}

#payment-history-search:focus {
    border-color: #ff6238;
    box-shadow: 0 0 0 3px rgba(255, 98, 56, 0.10);
}

/* PHONE */
@media (max-width: 700px) {
    #payment-history-search {
        height: 48px;
        font-size: 16px;
    }
}
/* ===== PAYMENT HISTORY CARDS ===== */

#restaurant-payment-history {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.payment-history-card {
    background: #f8f9fb;
    border: 1px solid #eceef2;
    border-radius: 14px;
    padding: 16px;
    box-sizing: border-box;
}

.payment-history-card p {
    margin: 7px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.payment-history-card strong {
    color: #1f2937;
    font-weight: 700;
}

/* PHONE */
@media (max-width: 700px) {
    #restaurant-payment-history {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .payment-history-card {
        padding: 14px;
        border-radius: 12px;
    }

    .payment-history-card p {
        font-size: 13px;
    }
}
/* ===== RESTAURANT PROFILE CARDS ===== */

.restaurant-logo-section,
.restaurant-banner-section {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 24px;
    box-sizing: border-box;
}

.restaurant-logo-section h2,
.restaurant-banner-section h2 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

/* PHONE */
@media (max-width: 700px) {
    .restaurant-logo-section,
    .restaurant-banner-section {
        width: 100%;
        padding: 18px;
        border-radius: 16px;
    }

    .restaurant-logo-section h2,
    .restaurant-banner-section h2 {
        font-size: 21px;
        margin-bottom: 14px;
    }
}
/* ===== RESTAURANT PROFILE UPLOAD CONTROLS ===== */

#restaurant-logo-input,
#restaurant-banner-input {
    width: 100%;
    box-sizing: border-box;

    padding: 12px;
    margin-bottom: 14px;

    background: #fafafa;
    border: 1px dashed #d7dce2;
    border-radius: 12px;

    font-size: 14px;
}

/* Update buttons */
#update-restaurant-logo,
#update-restaurant-banner {
    min-height: 46px;
    padding: 0 18px;

    border: none;
    border-radius: 11px;

    background: #ff6238;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

#update-restaurant-logo:hover,
#update-restaurant-banner:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}


/* PHONE */
@media (max-width: 700px) {

    #restaurant-logo-input,
    #restaurant-banner-input {
        padding: 10px;
        font-size: 14px;
    }

    #update-restaurant-logo,
    #update-restaurant-banner {
        width: 100%;
        min-height: 48px;
    }
}
/* ===== RESTAURANT PROFILE PREVIEWS ===== */

/* Logo preview */
#restaurant-logo-preview {
    width: 120px;
    height: 120px;
    max-width: 100%;

    object-fit: cover;
    border-radius: 18px;

    border: 1px solid #eceef2;
    background: #f8f9fb;

    margin-bottom: 16px;
}

/* Banner preview */
#restaurant-banner-preview {
    width: 100%;
    max-width: 650px;
    height: 220px;

    object-fit: cover;
    border-radius: 16px;

    border: 1px solid #eceef2;
    background: #f8f9fb;

    margin-bottom: 16px;
}

/* PHONE */
@media (max-width: 700px) {
    #restaurant-logo-preview {
        width: 100px;
        height: 100px;
        border-radius: 16px;
    }

    #restaurant-banner-preview {
        width: 100%;
        height: 160px;
    }
}
/* ===== RESTAURANT PROFILE FINAL SPACING ===== */

.restaurant-logo-section {
    margin-bottom: 24px;
}

.restaurant-logo-section,
.restaurant-banner-section {
    max-width: 750px;
}

#restaurant-logo-preview,
#restaurant-banner-preview {
    display: block;
}

#update-restaurant-logo,
#update-restaurant-banner {
    margin-top: 2px;
}

/* PHONE */
@media (max-width: 700px) {
    .restaurant-logo-section {
        margin-bottom: 18px;
    }

    .restaurant-logo-section,
    .restaurant-banner-section {
        max-width: 100%;
    }

    #restaurant-banner-preview {
        height: 150px;
    }
}
/* ========================================
   CHOPGO — LIQUID GLASS LOCATION POPUP
======================================== */

.location-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    width: 100%;
    height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    /* Keep homepage visible */
    background: rgba(18, 18, 18, 0.10);

backdrop-filter: blur(2.5px) saturate(108%);
-webkit-backdrop-filter: blur(2.5px) saturate(108%);
}


/* MAIN LIQUID GLASS CARD */
.location-popup-card {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 390px;

    padding: 26px 22px 22px;
    box-sizing: border-box;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.58),
            rgba(255, 255, 255, 0.28)
        );

    border: 1px solid rgba(255, 255, 255, 0.65);

    backdrop-filter:
        blur(30px)
        saturate(180%);

    -webkit-backdrop-filter:
        blur(30px)
        saturate(180%);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}


/* Soft glass reflection */
.location-popup-card::before {
    content: "";

    position: absolute;
    top: -70px;
    left: -50px;

    width: 220px;
    height: 160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0)
        );

    filter: blur(12px);

    pointer-events: none;
}


/* LOCATION ICON */
.location-popup-icon {
    position: relative;
    z-index: 1;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.72),
            rgba(255, 255, 255, 0.32)
        );

    border: 1px solid rgba(255, 255, 255, 0.7);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    font-size: 24px;
}


/* TITLE */
.location-popup-card h2 {
    position: relative;
    z-index: 1;

    margin: 0 0 8px;

    color: #181818;

    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
}


/* DESCRIPTION */
.location-popup-card > p {
    position: relative;
    z-index: 1;

    margin: 0 0 20px;

    color: rgba(25, 25, 25, 0.62);

    font-size: 14px;
    line-height: 1.45;
}


/* USE LOCATION — GLASS WITH CHOPGO ACCENT */
.use-location-button {
    position: relative;
    z-index: 1;

    width: 100%;
    min-height: 52px;

    border-radius: 16px;

    border: 1px solid rgba(255, 255, 255, 0.7);

    background:
        linear-gradient(
            135deg,
            rgba(255, 98, 56, 0.92),
            rgba(255, 119, 78, 0.78)
        );

    color: #ffffff;

    font-size: 15px;
    font-weight: 750;

    box-shadow:
        0 10px 24px rgba(255, 98, 56, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.use-location-button:active {
    transform: scale(0.98);
}


/* OR */
.location-divider {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 12px;

    margin: 18px 0;
}

.location-divider span {
    flex: 1;
    height: 1px;

    background: rgba(80, 80, 80, 0.14);
}

.location-divider small {
    color: rgba(30, 30, 30, 0.48);
    font-size: 12px;
}


/* LABEL */
.location-popup-card label {
    position: relative;
    z-index: 1;

    display: block;

    margin-bottom: 8px;

    color: #252525;

    font-size: 13px;
    font-weight: 700;
}


/* MANUAL AREA GLASS INPUT */
#manual-area-input {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding: 0 15px;

    border-radius: 15px;

    border: 1px solid rgba(255, 255, 255, 0.72);

    background: rgba(255, 255, 255, 0.40);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 7px 20px rgba(0, 0, 0, 0.05);

    color: #222;

    font-size: 15px;

    outline: none;

    transition: 0.2s ease;
}

#manual-area-input::placeholder {
    color: rgba(40, 40, 40, 0.42);
}

#manual-area-input:focus {
    border-color: rgba(255, 98, 56, 0.60);

    box-shadow:
        0 0 0 3px rgba(255, 98, 56, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}


/* Don't show empty containers */
#area-suggestions:empty,
#location-popup-message:empty {
    display: none;
}


/* PHONE */
@media (max-width: 700px) {

    .location-popup-overlay {
        padding: 18px;
    }

    .location-popup-card {
        max-width: 355px;

        padding: 23px 19px 20px;

        border-radius: 26px;
    }

    .location-popup-card h2 {
        font-size: 24px;
    }

    .location-popup-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .use-location-button {
        min-height: 50px;
    }

    #manual-area-input {
        height: 49px;
        font-size: 16px;
    }
}
#current-location {
    cursor: pointer;
}
/* ========================================
   LIQUID GLASS AREA SUGGESTIONS
======================================== */

#area-suggestions {
    position: relative;
    z-index: 2;

    margin-top: 12px;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.area-suggestion {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 14px;

    border-radius: 15px;

    border: 1px solid rgba(255, 255, 255, 0.65);

    background: rgba(255, 255, 255, 0.42);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 6px 18px rgba(0, 0, 0, 0.05);

    color: #222;

    cursor: pointer;
}

.area-suggestion span {
    font-size: 14px;
    font-weight: 700;
}

.area-suggestion small {
    font-size: 12px;
    color: rgba(30, 30, 30, 0.55);
}

.area-suggestion:active {
    transform: scale(0.98);
}

.area-not-found {
    padding: 12px 14px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.35);

    color: rgba(30, 30, 30, 0.65);

    font-size: 13px;
}
#delivery-map {
    width: 100%;
    height: 320px;
    margin-top: 12px;
    margin-bottom: 12px;
    border-radius: 18px;
    overflow: hidden;
}
/* Prevent global div styles from breaking Google Maps */
#delivery-map div {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}
/* Stop the global div style from breaking Google Maps */
#delivery-map div {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}
#restaurant-map-wrapper {
    margin-top: 16px;
}

#restaurant-location-map {
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
}
#restaurant-location-map div {
    background-color: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}
.location-option-button {
    display: block;
    width: 100%;
    max-width: 520px;
    min-height: 58px;
    margin-top: 12px;
    padding: 14px 18px;

    background: #ffffff;
    border: 1.5px solid rgba(255, 91, 48, 0.22);
    border-radius: 16px;

    font-size: 15px;
    font-weight: 700;
    text-align: left;

    cursor: pointer;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.location-option-button:hover {
    background: #fff8f5;
    border-color: #ff5b30;
    transform: translateY(-1px);
}

.location-option-button:active {
    transform: scale(0.98);
}
.checkout-location-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.checkout-location-methods button {
    width: 100%;
    min-height: 48px;
}

.checkout-location-or {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 14px;
}

.checkout-location-or::before,
.checkout-location-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.checkout-location-or span {
    flex-shrink: 0;
}

#confirm-delivery-location {
    width: calc(100% - 24px);
    min-height: 50px;
    margin: 14px 12px 0;
    box-sizing: border-box;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}
body.checkout-map-open {
    overflow: hidden;
}

#delivery-map-wrapper.checkout-map-fullscreen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    z-index: 99999;
    background: white;
    padding: 0;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}

/* CHECKOUT MAP SEARCH */

#delivery-map-wrapper.checkout-map-fullscreen #delivery-map-search {
    position: absolute !important;

    top: 18px !important;
    left: 88px !important;
    right: 18px !important;

    width: auto !important;
    height: 52px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    z-index: 100002 !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 18px !important;

    background: rgba(255, 255, 255, 0.78) !important;

    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;

    font-size: 16px !important;
}

/* Google search suggestions must stay above map */
.pac-container {
    z-index: 100010 !important;

    border-radius: 14px !important;
    overflow: hidden !important;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16) !important;
}

#delivery-map-wrapper.checkout-map-fullscreen > p {
    display: none;
}

#delivery-map-wrapper.checkout-map-fullscreen #delivery-map {
    width: 100% !important;
    height: calc(100dvh - 90px) !important;
    border-radius: 0 !important;
}

#delivery-map-wrapper.checkout-map-fullscreen #confirm-delivery-location {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 18px;
    width: auto;
    margin: 0;
    z-index: 100000;
}
#close-delivery-map {
    display: none;
}

#delivery-map-wrapper.checkout-map-fullscreen #close-delivery-map {
    display: flex;
    position: absolute;
    top: 18px;
    left: 18px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: white;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 100001;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
#recenter-delivery-map {
    display: none;
}

#delivery-map-wrapper.checkout-map-fullscreen #recenter-delivery-map {
    display: flex;
    position: absolute;
    right: 18px;
    bottom: 110px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: white;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    z-index: 100001;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
#delivery-map-wrapper.checkout-map-fullscreen #map-selected-address {
    display: none;
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 20px;
    margin: 0;
    padding: 14px 16px;
    background: white;
    border-radius: 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    z-index: 100002;
}

#delivery-map-wrapper.checkout-map-fullscreen.address-found #map-selected-address {
    display: block;
}

#delivery-map-wrapper.checkout-map-fullscreen.address-found #confirm-delivery-location {
    bottom: 88px;
}
body.restaurant-map-open {
    overflow: hidden;
}

#restaurant-map-wrapper.restaurant-map-fullscreen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    background: white;
    border-radius: 0;
    overflow: hidden;
    z-index: 99999;
}

#restaurant-map-wrapper.restaurant-map-fullscreen #restaurant-location-map {
    width: 100% !important;
    height: calc(100dvh - 90px) !important;
    border-radius: 0 !important;
}

#restaurant-map-wrapper.restaurant-map-fullscreen #confirm-restaurant-map-location {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    min-height: 54px;
    margin: 0;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    z-index: 100001;
}
#close-restaurant-map,
#recenter-restaurant-map {
    display: none;
}

#restaurant-map-wrapper.restaurant-map-fullscreen #close-restaurant-map {
    display: flex;
    position: absolute;
    top: 18px;
    left: 18px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: white;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 100002;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

#restaurant-map-wrapper.restaurant-map-fullscreen #recenter-restaurant-map {
    display: flex;
    position: absolute;
    right: 18px;
    bottom: 110px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: white;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    z-index: 100002;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
#restaurant-map-selected-address {
    display: none;
}

#restaurant-map-wrapper.restaurant-map-fullscreen.restaurant-address-found
#restaurant-map-selected-address {
    display: block;
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 20px;
    margin: 0;
    padding: 14px 16px;
    background: white;
    border-radius: 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    z-index: 100003;
}

#restaurant-map-wrapper.restaurant-map-fullscreen.restaurant-address-found
#confirm-restaurant-map-location {
    bottom: 88px;
}
.restaurant-header-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.restaurant-branch-switcher {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 12px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    background: #ffffff;
    font-size: 15px;
    font-weight: 600;
    color: #222;

    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.restaurant-branch-switcher:hover {
    background: #f8f8f8;
}
/* Restaurant branch selector */
.restaurant-header-actions {
    position: relative;
}

.restaurant-branch-switcher {
    min-width: 180px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.restaurant-branch-dropdown {
    position: absolute;
    top: 52px;
    left: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    z-index: 1000;
}

.restaurant-branch-option {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: none;
    background: transparent;
    border-radius: 9px;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
}

.restaurant-branch-option:hover {
    background: #f5f5f5;
}
.registration-type-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.registration-type-popup-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 28px;
    border-radius: 22px;
    text-align: center;
}

.registration-type-popup-card h2 {
    margin: 0 0 22px;
}

.registration-type-option {
    display: block;
    width: 100%;
    padding: 15px 16px;
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 16px;
}

.registration-type-option:hover {
    background: #f7f7f7;
}
/* Restaurant menu page - remove inherited generic div card spacing */
.restaurant-menu-body .restaurant-menu-banner {
    margin-top: 10px !important;
}
/* Align Top Sellers + buttons */
@media (max-width: 700px) {
    #promotion-section #promotion-slider .top-seller-details {
        align-items: flex-start !important;
    }

    #promotion-section #promotion-slider .promotion-add-button {
        margin-top: 6px !important;
    }
}
/* Compact customer menu cards on phone */
@media (max-width: 700px) {
    #restaurant-list > .menu-card .menu-food-name {
        height: auto !important;
        min-height: 0 !important;
    }

    #restaurant-list > .menu-card .menu-food-description {
        height: auto !important;
        min-height: 0 !important;
    }
}
/* Center the whole menu group card on mobile */
@media (max-width: 700px) {
    #restaurant-list .customer-menu-groups {
        width: calc(100%) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ===== RESTAURANT LOGIN + SIGNUP MOBILE ===== */
@media (max-width: 700px) {

    /* Remove the big outer white shell */
    .restaurant-login-page {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 10px !important;

        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        box-sizing: border-box !important;
    }

    /* Let the actual form come close to screen edges */
    .restaurant-login-card {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 24px 18px !important;

        box-sizing: border-box !important;
    }
}
/* ===== RESTAURANT DASHBOARD LOADING GUARD ===== */

.restaurant-dashboard {
    visibility: hidden;
}

.restaurant-dashboard.restaurant-dashboard-ready {
    visibility: visible;
}

/* Hide profile cards while restaurant page is loading */
body:not(.restaurant-page-ready) .restaurant-branch-name-section,
body:not(.restaurant-page-ready) .restaurant-location-section,
body:not(.restaurant-page-ready) .restaurant-password-section {
    visibility: hidden !important;
}
/* =========================================
   UNAVAILABLE FOOD - LIGHT GLASS
========================================= */

.menu-card {
    position: relative !important;
}

.menu-card-unavailable {
    position: relative !important;
    overflow: hidden !important;
}

/* Covers the WHOLE food card */
.menu-card-unavailable .menu-unavailable-overlay {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    z-index: 50 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    /* Very light glass */
    background: rgba(255, 255, 255, 0.10) !important;

    /* Just a LITTLE blur */
    backdrop-filter: blur(0.5px) !important;
    -webkit-backdrop-filter: blur(0.5px) !important;

    border-radius: inherit !important;

    cursor: not-allowed !important;
    pointer-events: auto !important;
}

/* Unavailable pill */
.menu-unavailable-overlay span {
    padding: 9px 18px !important;

    background: rgba(255, 255, 255, 0.72) !important;

    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;

    border: 1px solid rgba(255, 255, 255, 0.85) !important;

    border-radius: 999px !important;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.08) !important;

    color: #444 !important;

    font-size: 15px !important;
    font-weight: 800 !important;

    white-space: nowrap !important;
}

/* Customer cannot press Add to Cart */
.menu-card-unavailable .add-to-cart {
    pointer-events: none !important;
}
/* =========================================
   RESTAURANT DASHBOARD - MOBILE
========================================= */

@media (max-width: 700px) {

    /* Make dashboard reach almost edge-to-edge */
    .restaurant-dashboard {
        width: 100vw !important;
        max-width: 100vw !important;

        margin: 0 !important;
        padding: 3px !important;

        box-sizing: border-box !important;
    }

    /* Make main dashboard sections use full width */
    .restaurant-dashboard-header,
    .restaurant-dashboard-nav,
    .restaurant-orders-section {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        box-sizing: border-box !important;
    }

    /* Compact restaurant header */
    .restaurant-dashboard-header {
        padding: 18px 14px !important;
        border-radius: 22px !important;

        gap: 16px !important;

        margin-bottom: 14px !important;
    }

    .restaurant-dashboard-header h1 {
        font-size: 34px !important;
        line-height: 1.05 !important;

        margin: 0 0 10px !important;
    }

    .restaurant-dashboard-header p {
        font-size: 16px !important;
        line-height: 1.35 !important;

        margin: 0 !important;
    }

    /* Branch + logout row */
    .restaurant-header-actions {
        width: 100% !important;

        margin-top: 14px !important;

        gap: 10px !important;

        box-sizing: border-box !important;
    }

    .restaurant-branch-switcher {
        min-height: 48px !important;

        padding: 0 14px !important;

        font-size: 16px !important;

        box-sizing: border-box !important;
    }

    #restaurant-logout-button {
        min-height: 48px !important;

        padding: 0 16px !important;

        font-size: 14px !important;

        box-sizing: border-box !important;
    }

    /* Navigation bar */
    .restaurant-dashboard-nav {
        padding: 10px !important;
        gap: 10px !important;

        border-radius: 18px !important;
    }

    .restaurant-dashboard-tab {
        min-height: 48px !important;

        padding: 10px 16px !important;

        font-size: 14px !important;
    }

    /* Find Order section */
    .restaurant-orders-section {
        padding: 18px 14px !important;

        border-radius: 20px !important;

        margin-top: 14px !important;
        margin-bottom: 18px !important;
    }

    .restaurant-orders-section h2 {
        font-size: 28px !important;

        margin: 0 0 6px !important;
    }

    .restaurant-orders-section > p {
        margin: 0 0 18px !important;

        font-size: 15px !important;
    }
}
.restaurant-dashboard-body {
    padding: 0 !important;
}

@media (max-width: 700px) {

    .restaurant-order-search-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .restaurant-order-search-row #restaurant-order-search {
        width: 100% !important;
        min-width: 0 !important;
        height: 50px !important;
        padding: 0 14px !important;
        font-size: 15px !important;
        margin: 0 !important;
    }

    .restaurant-order-search-row #restaurant-order-search-button {
        width: auto !important;
        min-width: 110px !important;
        height: 50px !important;
        padding: 0 16px !important;
        margin: 0 !important;
        font-size: 15px !important;
    }
}
@media (max-width: 700px) {

    .restaurant-dashboard-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;

        overflow: visible !important;
        white-space: normal !important;
    }

    .restaurant-dashboard-tab {
        width: 100% !important;
        min-width: 0 !important;

        padding: 10px 8px !important;

        font-size: 13px !important;
        text-align: center !important;
    }
}

@media (max-width: 700px) {

    /* Top restaurant card */
    .restaurant-dashboard-header {
        padding: 12px !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    .restaurant-dashboard-header h1 {
        font-size: 30px !important;
        line-height: 1 !important;
        margin-bottom: 6px !important;
    }

    .restaurant-dashboard-header p {
        font-size: 15px !important;
        margin-bottom: 0 !important;
    }

    /* Branch + logout section */
    .restaurant-header-actions {
        margin-top: 8px !important;
        gap: 8px !important;
        padding: 10px !important;
    }

    .restaurant-branch-switcher {
        min-height: 44px !important;
        height: 44px !important;
        padding: 0 12px !important;
        font-size: 15px !important;
    }

    #restaurant-logout-button {
        min-height: 44px !important;
        height: 44px !important;
        padding: 0 14px !important;
        font-size: 14px !important;
        margin-top: 0 !important;
    }
}
@media (max-width: 700px) {

    #restaurant-order-result {
        margin-top: 12px !important;
        padding: 14px !important;
        min-height: 0 !important;
        height: auto !important;
    }

    #restaurant-order-result p {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
}
/* =========================================
   RESTAURANT DASHBOARD - MOBILE ORDER RESULT
========================================= */

@media (max-width: 700px) {

    #restaurant-order-result {
        padding: 18px !important;
        border-radius: 22px !important;
    }

    #restaurant-order-result h2 {
        font-size: 26px !important;
        line-height: 1.15 !important;
        margin-bottom: 16px !important;
    }

    #restaurant-order-result p {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin: 8px 0 !important;
    }

    #restaurant-order-result .restaurant-order-items {
        padding: 14px !important;
        margin: 14px 0 !important;
        border-radius: 18px !important;
    }

    #restaurant-order-result button {
        min-height: 46px !important;
        font-size: 14px !important;
    }
}

/* =========================================
   RESTAURANT ORDER STATUS - MOBILE
========================================= */

@media (max-width: 700px) {

    .restaurant-order-actions {
        display: grid !important;
        grid-template-columns: 1.15fr 0.85fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .restaurant-order-actions button {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 13px 6px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}

/* =========================================
   RESTAURANT PROFILE - MOBILE BRANCH NAME
========================================= */

@media (max-width: 700px) {

    .restaurant-branch-name-section {
        height: auto !important;
        min-height: 0 !important;

        padding: 22px 20px !important;
        margin: 0 0 14px !important;

        border-radius: 22px !important;
        box-sizing: border-box !important;
    }

    .restaurant-branch-name-section h3 {
        margin: 0 0 10px !important;

        font-size: 24px !important;
        line-height: 1.15 !important;
    }

    #restaurant-profile-branch-name {
        margin: 0 0 14px !important;

        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    #edit-branch-name {
        margin: 0 !important;
        padding: 9px 13px !important;

        border: none !important;
        border-radius: 12px !important;

        font-size: 14px !important;
    }

    #branch-name-message {
        margin: 8px 0 0 !important;
    }
}

/* =========================================
   RESTAURANT PROFILE - MOBILE LOCATION
========================================= */

@media (max-width: 700px) {

    .restaurant-location-section {
        height: auto !important;
        min-height: 0 !important;

        padding: 22px 20px !important;
        margin: 0 0 14px !important;

        border-radius: 22px !important;
        box-sizing: border-box !important;
    }

    .restaurant-location-section h3 {
        margin: 0 0 12px !important;

        font-size: 24px !important;
        line-height: 1.15 !important;
    }

    #restaurant-location-status {
        margin: 0 0 12px !important;

        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    #restaurant-location-message {
        margin: 0 0 18px !important;

        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .restaurant-location-section .location-option-button {
        width: 100% !important;
        min-height: 56px !important;

        padding: 13px 14px !important;
        margin: 0 !important;

        border-radius: 16px !important;

        font-size: 16px !important;
        line-height: 1.2 !important;

        box-sizing: border-box !important;
    }

    #set-restaurant-location {
        margin-bottom: 12px !important;
    }

    #choose-restaurant-location-map {
        margin-top: 12px !important;
    }
}
/* =========================================
   RESTAURANT PROFILE - MOBILE PASSWORD
========================================= */

@media (max-width: 700px) {

    .restaurant-password-section {
        height: auto !important;
        min-height: 0 !important;

        padding: 22px 20px !important;
        margin: 0 0 14px !important;

        border-radius: 22px !important;
        box-sizing: border-box !important;
    }

    .restaurant-password-section h3 {
        margin: 0 0 16px !important;

        font-size: 24px !important;
        line-height: 1.15 !important;
    }

    #change-password-button {
        margin: 0 !important;

        padding: 11px 16px !important;

        background: #f3f3f3 !important;
        color: #222 !important;

        border: none !important;
        border-radius: 12px !important;

        font-size: 15px !important;
        font-weight: 600 !important;

        cursor: pointer !important;
    }
}
/* Hide empty restaurant profile grid */
.restaurant-top-grid:empty {
    display: none !important;
}
/* =========================================
   RESTAURANT PROFILE - MOBILE IMAGE UPLOADS
========================================= */

@media (max-width: 700px) {

    .restaurant-logo-section,
    .restaurant-banner-section {
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    .restaurant-logo-section input[type="file"],
    .restaurant-banner-section input[type="file"] {
        width: 100% !important;
        padding: 10px !important;

        background: #fafafa !important;
        border: 1px dashed #d8d8d8 !important;
        border-radius: 14px !important;

        font-size: 14px !important;
        box-sizing: border-box !important;
    }

    .restaurant-logo-section input[type="file"]::file-selector-button,
    .restaurant-banner-section input[type="file"]::file-selector-button {
        margin-right: 10px !important;
        padding: 8px 13px !important;

        border: none !important;
        border-radius: 10px !important;

        background: #eeeeee !important;
        color: #222 !important;

        font-size: 14px !important;
        font-weight: 600 !important;
    }
}
/* Hide empty Menu Management wrapper */
#menu-management-page:empty {
    display: none !important;
}
/* =========================================
   RESTAURANT MENU GROUPS - MOBILE COMPACT
========================================= */

@media (max-width: 700px) {

    .menu-groups-section {
        padding: 20px !important;
        margin-bottom: 16px !important;
        border-radius: 20px !important;
    }

    .menu-groups-section h2 {
        margin: 0 0 8px !important;
        font-size: 24px !important;
        line-height: 1.15 !important;
    }

    .menu-groups-section > p {
        margin: 0 0 16px !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    .menu-group-create {
        gap: 10px !important;
        margin: 0 0 16px !important;
    }

    #menu-group-name {
        height: 46px !important;
        font-size: 15px !important;
    }

    #add-menu-group-button {
        height: 46px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
    }

    #menu-groups-list {
        gap: 10px !important;
        margin-top: 14px !important;
    }

    #menu-groups-list > div {
        min-height: 58px !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
    }

    #menu-groups-list > div button {
        padding: 8px 11px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }
}
/* =========================================
   RESTAURANT ADD FOOD - MOBILE
========================================= */

@media (max-width: 700px) {

    .add-food-section {
        
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;

        padding: 20px !important;
        margin-top: 16px !important;

        border-radius: 20px !important;
        box-sizing: border-box !important;
    }

    .add-food-section hr {
        display: none !important;
    }

    .add-food-section > h2 {
        grid-column: 1 / -1 !important;

        margin: 0 0 10px !important;

        font-size: 24px !important;
        line-height: 1.15 !important;
    }

    .add-food-section label,
    #food-name,
    #food-description,
    #food-menu-group,
    #food-price,
    #food-image,
    .price-preview,
    #add-food-button,
    #food-message {
        grid-column: 1 / -1 !important;
        width: 100% !important;

        box-sizing: border-box !important;
    }

    .add-food-section label {
        margin: 4px 0 -4px !important;

        font-size: 15px !important;
        font-weight: 600 !important;
    }

    #food-name,
    #food-price,
    #food-menu-group {
        height: 48px !important;
    }

    #food-description {
        min-height: 90px !important;
    }

    #food-image {
        padding: 10px !important;

        background: #fafafa !important;
        border: 1px dashed #d7dce2 !important;
        border-radius: 12px !important;
    }

    #food-image::file-selector-button {
        margin-right: 10px !important;
        padding: 8px 12px !important;

        border: none !important;
        border-radius: 9px !important;

        background: #eeeeee !important;
        font-weight: 600 !important;
    }

    .price-preview {
        margin: 6px 0 0 !important;
        padding: 16px !important;

        border-radius: 14px !important;
    }

    #add-food-button {
        height: 50px !important;
        margin-top: 4px !important;
        padding: 0 16px !important;

        border-radius: 12px !important;

        font-size: 16px !important;
        font-weight: 700 !important;
    }
}
/* =========================================
   RESTAURANT YOUR MENU - MOBILE COMPACT
========================================= */

@media (max-width: 700px) {

    .restaurant-menu-section {
        padding: 18px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
    }

    .restaurant-menu-section > h2 {
        margin: 0 0 16px !important;
        font-size: 24px !important;
    }

    #restaurant-menu-list {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-top: 0 !important;
    }

    #restaurant-menu-list .partner-food-card {
        padding: 12px !important;
        border-radius: 18px !important;
    }

    #restaurant-menu-list .partner-food-card > img,
    #restaurant-menu-list .partner-food-placeholder {
        width: 100% !important;
        height: 190px !important;
        object-fit: cover !important;

        margin-bottom: 10px !important;
        border-radius: 14px !important;
    }

    #restaurant-menu-list .partner-food-card > div {
        padding: 12px !important;
    }

    #restaurant-menu-list .partner-food-card h3 {
        margin: 0 0 5px !important;
        font-size: 18px !important;
    }

    #restaurant-menu-list .partner-food-card p {
        margin: 5px 0 !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    #restaurant-menu-list .food-availability {
        width: fit-content !important;
        margin: 8px 0 10px !important;
        padding: 6px 10px !important;
    }

    #restaurant-menu-list .food-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;

        gap: 8px !important;
        width: 100% !important;
    }

    #restaurant-menu-list .food-actions button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 44px !important;

        margin: 0 !important;
        padding: 9px 8px !important;

        justify-content: center !important;

        font-size: 12px !important;
        white-space: normal !important;
        text-align: center !important;
    }

    #restaurant-menu-list .food-actions button:nth-child(5) {
        grid-column: 1 / -1 !important;
    }
}
/* =========================================
   RESTAURANT YOUR MENU - EDGE TO EDGE MOBILE
========================================= */

@media (max-width: 700px) {

    .restaurant-menu-section {
        width: 100vw !important;
        max-width: none !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 18px 0 24px !important;

        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .restaurant-menu-section > h2 {
        padding: 0 18px !important;
        margin-bottom: 14px !important;
    }

    #restaurant-menu-list {
        width: 100% !important;
        gap: 14px !important;
    }

    #restaurant-menu-list .partner-food-card {
        width: 100% !important;

        padding: 0 !important;

        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    #restaurant-menu-list .partner-food-card > img,
    #restaurant-menu-list .partner-food-placeholder {
        width: 100% !important;

        margin: 0 !important;

        border-radius: 0 !important;
    }

    #restaurant-menu-list .partner-food-card > div {
        padding: 16px 18px !important;
    }
}
/* Fix mobile menu image zoom/cropping */
@media (max-width: 700px) {

    #restaurant-menu-list .partner-food-card > img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;

        object-fit: contain !important;
        display: block !important;
    }

    /* Keep placeholder a normal size when there is no image */
    #restaurant-menu-list .partner-food-placeholder {
        height: 190px !important;
    }
}
/* =========================================
   RESTAURANT MENU SEARCH
========================================= */

.restaurant-menu-search {
    display: flex;
    align-items: center;
    gap: 10px;

    width: calc(100% - 36px);
    margin: 0 18px 18px;
    padding: 0 16px;

    min-height: 52px;

    background: #f7f7f7;
    border: 1px solid #e3e3e3;
    border-radius: 16px;

    box-sizing: border-box;
}

.restaurant-menu-search span {
    flex-shrink: 0;
    font-size: 20px;
}

#restaurant-menu-search {
    width: 100%;
    min-width: 0;

    border: none;
    outline: none;
    background: transparent;

    font-size: 16px;
    color: #222;
}

#restaurant-menu-search::placeholder {
    color: #aaa;
}
/* =========================================
   RESTAURANT MENU SEARCH - MOBILE FIX
========================================= */

@media (max-width: 700px) {

    .restaurant-menu-search {
        width: calc(100% - 36px) !important;
        height: 54px !important;
        min-height: 54px !important;

        margin: 0 18px 18px !important;
        padding: 0 16px !important;

        display: flex !important;
        align-items: center !important;
        gap: 10px !important;

        border-radius: 16px !important;
        box-sizing: border-box !important;
    }

    .restaurant-menu-search span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 20px !important;
        line-height: 1 !important;
    }

    #restaurant-menu-search {
        height: 100% !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: none !important;
        background: transparent !important;

        font-size: 16px !important;
        line-height: normal !important;
    }
}
/* =========================================
   RESTAURANT EARNINGS - MOBILE COMPACT
========================================= */

@media (max-width: 700px) {

    .earnings-payments-page {
        padding: 18px 14px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
    }

    .earnings-payments-page h2 {
        margin: 0 0 14px !important;
        font-size: 24px !important;
        line-height: 1.15 !important;
    }

    #restaurant-earnings {
        margin-top: 0 !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    #restaurant-earnings p {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 12px 14px !important;

        border-radius: 12px !important;

        font-size: 14px !important;
        line-height: 1.3 !important;
    }
}
/* =========================================
   PAYMENT HISTORY - MOBILE COMPACT
========================================= */

@media (max-width: 700px) {

    .payment-history-search {
        width: 100% !important;

        margin: 12px 0 16px !important;
        padding: 0 !important;

        background: transparent !important;
        box-shadow: none !important;
    }

    #payment-history-search {
        width: 100% !important;
        height: 50px !important;

        margin: 0 !important;
        padding: 0 14px !important;

        border-radius: 14px !important;

        font-size: 15px !important;
        box-sizing: border-box !important;
    }

    #restaurant-payment-history {
        margin-top: 0 !important;
        gap: 10px !important;
    }

    .payment-history-card {
        padding: 13px 14px !important;
        border-radius: 12px !important;
    }

    .payment-history-card p {
        margin: 5px 0 !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
}
/* =========================================
   ADMIN LOGIN - MOBILE HEADER
========================================= */

@media (max-width: 700px) {

    body > h1 {
        margin: 28px 20px 18px !important;

        font-size: 34px !important;
        line-height: 1.1 !important;

        text-align: left !important;
        white-space: nowrap !important;
    }

    #login-section {
        width: calc(100% - 32px) !important;
        max-width: none !important;

        margin: 0 16px !important;
        padding: 24px 20px !important;

        border-radius: 22px !important;
        box-sizing: border-box !important;
    }

    #login-section h2 {
        margin: 0 0 18px !important;

        font-size: 26px !important;
        line-height: 1.15 !important;
    }
}
/* =========================================
   ADMIN SECTION DIVIDERS
========================================= */

#admin-dashboard > hr {
    width: 100% !important;
    height: 1px !important;

    margin: 24px 0 !important;

    border: none !important;
    background: #d8d8d8 !important;
}
/* ADMIN LOGOUT - MOBILE OUTSIDE DASHBOARD CARD */
@media (max-width: 700px) {
    #logout-button {
        position: absolute !important;
        top: 185px !important;
        right: 34px !important;

        width: auto !important;
        margin: 0 !important;
        padding: 11px 18px !important;

        z-index: 20 !important;
    }
}
/* =========================================
   ADMIN LOGOUT - ABOVE DASHBOARD CARD
========================================= */

@media (max-width: 700px) {

    #admin-dashboard {
        position: relative !important;
        overflow: visible !important;

        /* creates a proper space for Logout */
        margin-top: 70px !important;
    }

    #logout-button {
        position: absolute !important;

        top: -58px !important;
        right: 16px !important;

        width: auto !important;
        height: 42px !important;

        margin: 0 !important;
        padding: 0 18px !important;

        border-radius: 12px !important;

        font-size: 14px !important;
        font-weight: 700 !important;

        z-index: 20 !important;
    }
}
/* =========================================
   ADMIN SEARCH ORDER - MOBILE
========================================= */

@media (max-width: 700px) {

    #order-search {
        width: 100% !important;
        height: 50px !important;
        padding: 0 14px !important;
        margin: 0 0 10px !important;

        box-sizing: border-box !important;
        border-radius: 14px !important;
        font-size: 15px !important;
    }

    #search-order {
        width: 100% !important;
        height: 48px !important;

        margin: 0 0 12px !important;

        border-radius: 13px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    #order-result:empty {
        display: none !important;
    }
}
/* =========================================
   ADMIN RESTAURANT STATUS - MOBILE
========================================= */

@media (max-width: 700px) {

    .restaurant-status-search-row {
        display: block !important;
        width: 100% !important;
    }

    #admin-restaurant-status-search {
        width: 100% !important;
        height: 50px !important;

        margin: 0 0 10px !important;
        padding: 0 14px !important;

        box-sizing: border-box !important;
        border-radius: 14px !important;

        font-size: 15px !important;
    }

    #admin-restaurant-status-search-button {
        width: 100% !important;
        height: 48px !important;

        margin: 0 !important;

        border-radius: 13px !important;

        font-size: 15px !important;
        font-weight: 700 !important;
    }

    #admin-restaurant-status-result:empty {
        display: none !important;
    }
}
/* =========================================
   ADMIN SEARCH BUTTONS - ORANGE LIQUID GLASS
========================================= */

@media (max-width: 700px) {

    #search-order,
    #admin-restaurant-status-search-button {
        width: 100% !important;
        height: 50px !important;

        border: 1px solid rgba(255, 130, 80, 0.35) !important;
        border-radius: 16px !important;

        background:
            linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.68),
                rgba(255, 120, 70, 0.18)
            ) !important;

        -webkit-backdrop-filter: blur(18px) saturate(180%);
        backdrop-filter: blur(18px) saturate(180%);

        box-shadow:
            0 8px 24px rgba(244, 99, 50, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            inset 0 -1px 0 rgba(244, 99, 50, 0.12) !important;

        color: #f46332 !important;

        font-size: 15px !important;
        font-weight: 700 !important;

        cursor: pointer !important;
    }

    #search-order:active,
    #admin-restaurant-status-search-button:active {
        transform: scale(0.98);

        background:
            linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.78),
                rgba(255, 120, 70, 0.28)
            ) !important;
    }
}
/* =========================================
   ADMIN SECTION DIVIDERS - DOUBLE LINE
========================================= */

#admin-dashboard > hr {
    width: 100% !important;
    height: 6px !important;

    margin: 26px 0 !important;

    border: none !important;

    background:
        linear-gradient(
            to bottom,
            #d7d7d7 0,
            #d7d7d7 1px,
            transparent 1px,
            transparent 5px,
            #d7d7d7 5px,
            #d7d7d7 6px
        ) !important;
}
/* =========================================
   ADMIN - LOAD PAYMENTS LIQUID GLASS
========================================= */

#load-restaurant-payments {
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 20px !important;

    border: 1px solid rgba(242, 101, 49, 0.35) !important;
    border-radius: 18px !important;

    background: rgba(242, 101, 49, 0.08) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;

    box-shadow:
        0 8px 24px rgba(242, 101, 49, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;

    color: #f26531 !important;
    font-size: 16px !important;
    font-weight: 700 !important;

    cursor: pointer;
}
/* =========================================
   ADMIN - REFRESH APPLICATIONS LIQUID GLASS
========================================= */

#refresh-applications {
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 20px !important;

    border: 1px solid rgba(242, 101, 49, 0.35) !important;
    border-radius: 18px !important;

    background: rgba(242, 101, 49, 0.08) !important;

    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;

    box-shadow:
        0 8px 24px rgba(242, 101, 49, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;

    color: #f26531 !important;

    font-size: 16px !important;
    font-weight: 700 !important;

    cursor: pointer !important;
}
/* =========================================
   ADMIN - MARK AS PAID BUTTON
========================================= */

.mark-restaurant-paid-button {
    width: 100% !important;
    min-height: 50px !important;
    padding: 14px 18px !important;

    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    border-radius: 16px !important;

    background: rgba(34, 197, 94, 0.10) !important;

    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;

    color: #16a34a !important;
    font-size: 15px !important;
    font-weight: 700 !important;

    box-shadow:
        0 8px 20px rgba(34, 197, 94, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;

    cursor: pointer !important;
}
/* =========================================
   ADMIN SEARCHED ORDER - MOBILE CLEANUP
   ========================================= */

#order-result {
    margin-top: 20px;
    padding: 22px 18px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#order-result h2 {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 1.2;
    color: #222;
}

#order-result > p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.5;
    color: #666;
    word-break: break-word;
}

#order-result > p strong {
    color: #222;
    font-weight: 700;
}


/* ITEMS */

.admin-order-items {
    margin: 22px 0;
    padding: 18px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 20px;
}

.admin-order-items > p {
    margin: 0 0 10px;
    font-size: 18px;
}

.admin-order-item {
    padding: 14px 0;
    font-size: 17px;
    line-height: 1.45;
    border-bottom: 1px solid #eeeeee;
}

.admin-order-item:last-child {
    border-bottom: none;
}

.admin-order-item strong {
    color: #222;
    font-size: 18px;
}

.admin-order-option {
    margin-top: 6px;
    font-size: 15px;
    color: #666;
}

.admin-order-instruction {
    margin-top: 8px;
    padding: 8px 10px;
    background: #ffffff;
    border-radius: 10px;
    font-size: 14px;
}


/* RESTAURANT + RIDER MESSAGE BUTTONS */

.order-message-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
    padding: 16px;
    background: #fafafa;
    border-radius: 18px;
}

.order-message-actions button {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    min-height: 50px;

    border: 1px solid #ff7043;
    border-radius: 14px;

    background: #fff5f1;
    color: #f15d32;

    font-size: 15px;
    font-weight: 700;

    padding: 10px;
    cursor: pointer;
}


/* ORDER STATUS BUTTONS */

.order-status-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    margin-top: 16px;
    padding: 16px;

    background: #fafafa;
    border-radius: 18px;
}

.order-status-buttons button {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    min-height: 48px;

    border: 1px solid #e8e8e8;
    border-radius: 13px;

    background: #ffffff;
    color: #333;

    font-size: 15px;
    font-weight: 700;

    padding: 10px 8px;
    cursor: pointer;
}


/* DELIVERED */

.order-status-buttons button:nth-child(4) {
    background: #ecf9ef;
    border-color: #bfe5c8;
    color: #23843c;
}


/* CANCEL */

.order-status-buttons button:nth-child(5) {
    background: #fff1f1;
    border-color: #f0caca;
    color: #c83e3e;

    grid-column: 1 / -1;
}


/* SMALL PHONES */

@media (max-width: 430px) {

    #order-result {
        padding: 20px 16px;
        border-radius: 20px;
    }

    #order-result h2 {
        font-size: 25px;
    }

    #order-result > p {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .order-message-actions {
        grid-template-columns: 1fr;
    }

    .order-status-buttons {
        grid-template-columns: 1fr 1fr;
    }
}
/* =========================================
   STRONGER ADMIN ORDER STATUS BUTTONS
   ========================================= */

.order-status-buttons button {
    min-height: 58px;
    border-radius: 15px;
    font-size: 17px;
    font-weight: 800;
    border-width: 2px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
}


/* CONFIRM */
.order-status-buttons button:nth-child(1) {
    background: #ff6b3d;
    border-color: #ff6b3d;
    color: #ffffff;
}


/* PREPARING */
.order-status-buttons button:nth-child(2) {
    background: #fff0e9;
    border-color: #ff9a78;
    color: #e85d30;
}


/* OUT FOR DELIVERY */
.order-status-buttons button:nth-child(3) {
    background: #fff7e8;
    border-color: #f0b553;
    color: #a86a00;
}


/* DELIVERED */
.order-status-buttons button:nth-child(4) {
    background: #e9f8ed;
    border-color: #7ccc8d;
    color: #23843c;
}


/* CANCEL */
.order-status-buttons button:nth-child(5) {
    grid-column: 1 / -1;

    background: #fff0f0;
    border-color: #e98d8d;
    color: #c83e3e;
}
/* =========================================
   SHOW / HIDE ALL ORDERS BUTTON
   ========================================= */

#toggle-orders {
    appearance: none;
    -webkit-appearance: none;

    display: block;
    width: 100%;
    min-height: 58px;

    margin-top: 20px;
    padding: 14px 18px;

    border: 2px solid #ff7043;
    border-radius: 16px;

    background: #fff3ee;
    color: #e85d30;

    font-size: 17px;
    font-weight: 800;
    text-align: center;

    cursor: pointer;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

#toggle-orders:active {
    transform: scale(0.98);
}

@media (max-width: 430px) {
    #toggle-orders {
        min-height: 56px;
        font-size: 16px;
        border-radius: 15px;
    }
}
/* =============================================
   CHOPGO LIQUID GLASS ALERT — POPUP ONLY
   ============================================= */


/* =========================
   INVISIBLE FULL-SCREEN HOLDER
   ========================= */

#chopgo-glass-alert {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100dvh;

    z-index: 9999999;

    /* NO background effect */
    background: transparent;

    /* NO page blur */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;

    opacity: 0;

    transition: opacity 0.22s ease;
}


/* Completely disable any old backdrop layer */
#chopgo-glass-alert::before {
    display: none !important;
    content: none !important;
}


#chopgo-glass-alert.show {
    opacity: 1;
}


/* =========================
   MAIN LIQUID GLASS POPUP
   ========================= */

.chopgo-glass-alert-card {
    position: fixed;

    top: 50dvh;
    left: 50%;

    width: min(78vw, 310px);

    padding: 16px 13px 12px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.62),
            rgba(255, 255, 255, 0.26)
        );

    border: 1.5px solid rgba(255, 255, 255, 0.92);

    -webkit-backdrop-filter:
        blur(24px)
        saturate(180%);

    backdrop-filter:
        blur(24px)
        saturate(180%);

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(255, 255, 255, 0.25);

    transform:
        translate(-50%, -50%)
        scale(0.94);

    opacity: 0;

    transition:
        transform 0.24s cubic-bezier(.2, .8, .2, 1),
        opacity 0.22s ease;
}


#chopgo-glass-alert.show
.chopgo-glass-alert-card {
    transform:
        translate(-50%, -50%)
        scale(1);

    opacity: 1;
}


/* =========================
   GLASS REFLECTION
   ========================= */

.chopgo-glass-alert-glow {
    position: absolute;

    width: 140px;
    height: 90px;

    top: -58px;
    left: -35px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0)
        );

    pointer-events: none;
}


/* =========================
   GREEN SUCCESS TICK
   ========================= */

.chopgo-success-icon {
    position: relative;
    z-index: 2;

    width: 47px;
    height: 47px;

    margin: 0 auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #63e495,
            #0caf52
        );

    border: 1.5px solid rgba(255, 255, 255, 0.92);

    color: #ffffff;

    font-size: 28px;
    font-weight: 800;

    line-height: 1;

    box-shadow:
        0 6px 16px rgba(15, 180, 80, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.45);
}


/* =========================
   MESSAGE BOX
   ========================= */

.chopgo-glass-alert-message {
    position: relative;
    z-index: 2;

    padding: 11px 9px;

    margin-bottom: 10px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.74);

    color: #111111;

    font-size: 15px;
    font-weight: 750;

    line-height: 1.35;

    text-align: center;

    word-break: break-word;

    box-shadow:
        0 5px 13px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


/* =========================
   OK BUTTON
   ========================= */

.chopgo-glass-alert-close {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 42px;

    padding: 8px 12px;

    border-radius: 15px;

    border: 1.5px solid rgba(255, 255, 255, 0.92);

    background: rgba(255, 255, 255, 0.52);

    color: #f15d32;

    font-size: 16px;
    font-weight: 800;

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);

    cursor: pointer;

    transition: transform 0.14s ease;
}


/* Success button stays glass */
.chopgo-glass-alert-close.success {
    background: rgba(255, 255, 255, 0.52);
    color: #f15d32;
}


.chopgo-glass-alert-close:active {
    transform: scale(0.97);
}


/* =========================
   SMALL PHONES
   ========================= */

@media (max-width: 430px) {

    .chopgo-glass-alert-card {
        width: 78vw;
        max-width: 310px;

        padding: 16px 13px 12px;

        border-radius: 24px;
    }

    .chopgo-success-icon {
        width: 47px;
        height: 47px;

        font-size: 28px;
    }

    .chopgo-glass-alert-message {
        font-size: 15px;
    }

    .chopgo-glass-alert-close {
        min-height: 42px;
        font-size: 16px;
    }
}
/* =============================================
   CHOPGO GLASS POPUP — CLEANER GLASS EFFECT
   ============================================= */

/* Remove the big oval reflection */
.chopgo-glass-alert-glow {
    display: none !important;
}


/* Make the main popup more transparent
   and reduce the blur */
.chopgo-glass-alert-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.38),
            rgba(255, 255, 255, 0.14)
        );

    -webkit-backdrop-filter:
        blur(10px)
        saturate(165%);

    backdrop-filter:
        blur(10px)
        saturate(165%);
}


/* Make message section more glass-like */
.chopgo-glass-alert-message {
    background: rgba(255, 255, 255, 0.48);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}


/* Make OK button more glass-like */
.chopgo-glass-alert-close,
.chopgo-glass-alert-close.success {
    background: rgba(255, 255, 255, 0.34);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
/* =============================================
   CHOPGO LIQUID GLASS — CLEARER GLASS
   ============================================= */

/* Main glass card */
.chopgo-glass-alert-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.28),
            rgba(255, 255, 255, 0.10)
        );

    -webkit-backdrop-filter:
        blur(3px)
        saturate(135%);

    backdrop-filter:
        blur(3px)
        saturate(135%);
}


/* Message glass */
.chopgo-glass-alert-message {
    background: rgba(255, 255, 255, 0.38);

    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}


/* OK glass */
.chopgo-glass-alert-close,
.chopgo-glass-alert-close.success {
    background: rgba(255, 255, 255, 0.28);

    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}
/* =============================================
   CHOPGO CUSTOMER LOADER — CLEAN ORBIT VERSION
   ============================================= */

.chopgo-page-loader {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100dvh;

    z-index: 999998;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
}

.chopgo-page-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* ORBIT HOLDER */

.chopgo-loader-orbit {
    position: relative;

    width: 145px;
    height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


/* LOGO */

.chopgo-page-loader-logo {
    position: relative;
    z-index: 2;

    width: 100px;
    height: 100px;

    object-fit: contain;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    animation:
        chopgoLogoPulse
        1.35s
        ease-in-out
        infinite;
}


/* DOT ORBIT HOLDER */

.chopgo-page-loader-dots {
    position: absolute;
    inset: 0;

    display: block !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;

    animation:
        chopgoDotsOrbit
        2.3s
        linear
        infinite;

    pointer-events: none;
}


/* DOTS */

.chopgo-page-loader-dots span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 7px;
    height: 7px;

    margin-left: -3.5px;
    margin-top: -3.5px;

    border-radius: 50%;

    background: #f15d32;

    box-shadow:
        0 2px 7px
        rgba(241, 93, 50, 0.28);
}


/* DOT POSITIONS */

.chopgo-page-loader-dots span:nth-child(1) {
    transform:
        rotate(0deg)
        translateY(-54px);
}

.chopgo-page-loader-dots span:nth-child(2) {
    transform:
        rotate(120deg)
        translateY(-54px);

    opacity: 0.7;
}

.chopgo-page-loader-dots span:nth-child(3) {
    transform:
        rotate(240deg)
        translateY(-54px);

    opacity: 0.45;
}


/* ANIMATIONS */

@keyframes chopgoDotsOrbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes chopgoLogoPulse {

    0%,
    100% {
        transform: scale(0.96);
    }

    50% {
        transform: scale(1.03);
    }
}
.header-chopgo-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Shift homepage location card to the right */
@media (max-width: 700px) {

    header {
        position: relative !important;
    }

    header #current-location {
        position: absolute !important;

        top: 50% !important;
        right: 14px !important;
        left: auto !important;

        transform: translateY(-50%) !important;

        width: 52% !important;
        max-width: 320px !important;

        margin: 0 !important;

        text-align: center !important;
    }
}
/* =========================================
   FINAL HOME BANNER LOCATION FIT
========================================= */

@media (max-width: 700px) {

    /* Remove the dark shade from the banner */
    header {
        background-image:
            url("images/chopgo-food-banner.jpeg") !important;

        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }


    /* Fit the dynamic location into the empty right side */
   @media (max-width: 700px) {

    header #current-location {
        position: absolute !important;

        top: 50% !important;
        right: 10px !important;
        left: auto !important;

        transform: translateY(-50%) !important;

        width: 42% !important;
        max-width: 260px !important;

        min-height: 0 !important;
        height: auto !important;

        margin: 0 !important;
        padding: 9px 11px 25px !important;

        border-radius: 32px !important;

        background: rgba(255, 248, 243, 0.94) !important;

        border: 1.5px solid rgba(241, 93, 50, 0.55) !important;

        box-shadow:
            0 5px 14px rgba(0, 0, 0, 0.10),
            inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;

        font-size: 13px !important;
        line-height: 1.14 !important;
        font-weight: 800 !important;

        text-align: center !important;

        cursor: pointer !important;

        transition:
            transform 0.15s ease,
            box-shadow 0.15s ease,
            border-color 0.15s ease !important;
    }

   header #current-location::after {
    content: "Change";

    position: absolute;
    right: 8px;
    bottom: 7px;

    padding: 4px 8px;

    border-radius: 999px;

    background: #f15d32;
    color: #ffffff;

    font-size: 9px;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 3px 8px rgba(241, 93, 50, 0.28);
}

    header #current-location:active {
        transform:
            translateY(-50%)
            scale(0.97) !important;

        border-color: #f15d32 !important;

        box-shadow:
            0 3px 9px rgba(0, 0, 0, 0.10) !important;
    }
}
}
.header-chopgo-logo {
    filter:
        drop-shadow(0 0 5px rgba(255, 255, 255, 1))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.95))
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.80))
        drop-shadow(0 0 28px rgba(255, 255, 255, 0.55)) !important;

    -webkit-filter:
        drop-shadow(0 0 5px rgba(255, 255, 255, 1))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.95))
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.80))
        drop-shadow(0 0 28px rgba(255, 255, 255, 0.55)) !important;
}
/* =========================================
   HOME BANNER — CONTROLLED MOBILE SIZE
========================================= */

@media (max-width: 700px) {

    /* Slightly shorter banner */
    header {
        height: 132px !important;
        min-height: 132px !important;
        max-height: 132px !important;

        position: relative !important;
        overflow: hidden !important;
    }

    /* Fixed safe area for the logo */
    header .logo {
        position: absolute !important;

        left: 14px !important;
        top: 50% !important;

        transform: translateY(-50%) !important;

        width: 145px !important;
        height: 108px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Logo stays inside its area */
    header .header-chopgo-logo {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;

        object-fit: contain !important;

        transform: scale(1.05);
    }
}