@font-face {
    font-family: 'Onest-SemiBold';
    src: url(../assets/fonts/Onest/Onest-SemiBold.ttf);
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Onest-Bold';
    src: url(../assets/fonts/Onest/Onest-Bold.ttf);
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Onest-ExtraBold';
    src: url(../assets/fonts/Onest/Onest-ExtraBold.ttf);
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Title';
    src: url(../assets/fonts/AbrilTitlingNarrow-Bold.ttf);
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
}


:root {
    --maincolor: #fff;
    --themecolor: #695cfe;
    --whitecolor: #fff;
    --blackcolor: #303030;
    --testcolor: #1e1e1e;
    --border: 0.1rem solid rgba(255, 255, 255, 0.4);
    --boxShadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

body.dark {
    --maincolor: #1e1e1e;
    --whitecolor: #000;
    --blackcolor: #fff;
    --testcolor: #695cfe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Onest-SemiBold', sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.3s;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
    background-color: var(--maincolor);
}

html,
body {
    scrollbar-color: rgba(105, 92, 254, 0.6) rgba(0, 0, 0, 0.06);
    scrollbar-width: thin;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(105, 92, 254, 0.95), rgba(90, 76, 212, 0.85));
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 10px rgba(16, 16, 24, 0.12) inset;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    transform: scale(1.02);
}

section {
    padding: 3.5rem 7%;
}

.hidden {
    display: none;
}

.heading {
    color: var(--blackcolor);
    text-transform: uppercase;
    font-size: 2.6rem;
    letter-spacing: 0.05em;
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-family: 'Onest-SemiBold', sans-serif;
    text-align: center;
}

header {
    background: var(--maincolor);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 19;
    border-radius: 0;
    box-shadow: var(--boxShadow);
    height: auto;
    min-height: 5rem;
}

/* header .logo img {
    height: 6rem;
} */

header .navbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    margin: 0 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;

}

header .navbar.scrolling {
    cursor: grabbing;
    user-select: none;
}

header .navbar::-webkit-scrollbar {
    display: none;
}

header .navbar .category-btn {
    background: var(--maincolor);
    color: var(--themecolor);
    font-size: 1.6rem;
    padding: 1.2rem 1.6rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: .5s ease;
    border: 0.1rem solid var(--themecolor);
    margin-top: 0;
    flex: 0 0 auto;
}

header .navbar .category-btn.active {
    background: var(--themecolor);
    color: var(--whitecolor);
}

body.dark header .navbar .category-btn.active {
    color: var(--blackcolor);
    background: var(--themecolor);
}

header .buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

header .buttons #mobileMenuBtn {
    cursor: pointer;
    font-size: 2.6rem;
    color: var(--blackcolor);
    margin-left: 1.5rem;
    display: inline-block;
    background-color: transparent;
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(../assets/img/main/ephesusbg.png) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 0;
}

.hero {
    width: 100%;
    padding: 6rem 11% 4rem 11%;
    background: linear-gradient(180deg, rgba(105, 92, 254, 0.45), rgba(255, 255, 255, 0));
    border-radius: 1rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 44rem;
    gap: 3.5rem;
    align-items: center;
}

.hero-left {
    padding: 15px;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-left::before {
    content: '';
    position: absolute;
    inset: 0 0 0 0;
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.22));
    border-radius: 1rem;
    pointer-events: none;
    z-index: 0;
}

.hero-left>* {
    position: relative;
    z-index: 3;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.hero-logo {
    width: 6.2rem;
    height: 6.2rem;
    object-fit: contain;
    border-radius: 0.8rem;
    box-shadow: 0 8px 30px rgba(105, 92, 254, 0.12);
}

.brand-name {
    font-size: 1.8rem;
    margin: 0;
    color: #fff;
}

.brand-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    opacity: 0.95;
}

.hero-title {
    font-family: 'Onest-ExtraBold', sans-serif;
    font-size: 3.4rem;
    margin: 0.6rem 0 1rem 0;
    color: #fff;
    line-height: 1.05;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.35rem;
    margin-bottom: 1.6rem;
    max-width: 68ch;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.4rem;
}

.primary-cta {
    padding: 1.2rem 2.2rem;
    border-radius: 1.2rem;
    background: linear-gradient(90deg, #7f66ff, #6a52f0);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 36px rgba(90, 76, 212, 0.18);
    font-size: 1.6rem;
}

.secondary-cta {
    padding: 1rem 1.6rem;
    border-radius: 1rem;
    background: transparent;
    border: 0.12rem solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.45rem;
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.04);
}

.hero-features {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    margin-top: 1.6rem;
    padding: 0;
    align-items: center;
}

.hero-features li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-features li i {
    color: rgba(255, 255, 255, 0.95);
}

.hero-right {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 44rem;
    border-radius: 1.6rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(16, 16, 24, 0.12);
}

.hero-image {
    width: 100%;
    height: 32rem;
    object-fit: cover;
    display: block;
}

.hero-card-overlay {
    position: absolute;
    left: 1.4rem;
    bottom: 1.4rem;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.price-badge {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    font-weight: 700;
}

.search-section {
    padding-top: 15rem;
    padding-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--maincolor) 0%, var(--maincolor) 100%);
    position: relative;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.1rem;
    background: linear-gradient(90deg, transparent, var(--themecolor), transparent);
}

.restaurant-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(105, 92, 254, 0.05) 0%, rgba(105, 92, 254, 0.02) 100%);
    border-radius: 1.5rem;
    border: 0.1rem solid rgba(105, 92, 254, 0.2);
    box-shadow: 0 4px 20px rgba(105, 92, 254, 0.08);
}

.restaurant-logo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 100%;
}

.restaurant-logo {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.restaurant-logo:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(105, 92, 254, 0.2);
}

.restaurant-info {
    text-align: left;
    flex: 1;
}

.search-section .restaurant-name {
    color: var(--blackcolor);
    font-family: 'Onest-ExtraBold', sans-serif;
    font-size: 3.2rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.search-section .restaurant-subtitle {
    color: var(--themecolor);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.8;
}

.search-section .search-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(105, 92, 254, 0.05) 0%, rgba(105, 92, 254, 0.02) 100%);
    border-radius: 1.2rem;
    border: 0.15rem solid var(--themecolor);
    padding: 1.2rem 2rem;
    max-width: 65rem;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(105, 92, 254, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-section .search-box-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.search-section .search-box-container:hover {
    border-color: var(--themecolor);
    box-shadow: 0 12px 40px rgba(105, 92, 254, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-section .search-box-container:hover::before {
    left: 100%;
}

.search-section .search-box-container input {
    flex-grow: 1;
    border: none;
    background: transparent;
    font-size: 1.7rem;
    color: var(--blackcolor);
    padding: 0.5rem 1rem;
    font-family: 'Onest-SemiBold', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.search-section .search-box-container input:focus {
    letter-spacing: 0.3px;
}

.search-section .search-box-container input::placeholder {
    color: #bbb;
    font-weight: 400;
}

body.dark .search-section .search-box-container input::placeholder {
    color: #666;
}

.search-section .search-box-container i {
    color: var(--themecolor);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-section .search-box-container:hover i {
    transform: scale(1.15);
    color: #5a4cd4;
}

.menu {
    background-color: var(--maincolor);
}

.menu .category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.menu .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1.4rem;
}

.menu .box-container .box {
    padding: 2rem;
    background: var(--maincolor);
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 35rem;
    height: auto;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu .box-container .box-head {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.menu .box-container .box .box-head img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 2rem;
}

.menu .box-container .box .box-head .menu-category {
    font-size: 1rem;
    font-family: 'Onest-ExtraBold', sans-serif;
    text-transform: uppercase;
    margin-top: 1rem;
    color: #888;
}

.menu .box-container .box .box-head h3 {
    font-size: 2.2rem;
    padding: 1rem 0;
    font-weight: 600;
    line-height: 1.3;
    /* font-family: 'Onest-ExtraBold', sans-serif; */
    letter-spacing: -0.6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-bottom: 0.5rem;
    color: var(--blackcolor);
}

.menu .box-container .box .box-head p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #b1b1b1;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.menu .box-container .box .boxBtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-top: auto;
    width: 100%;
    padding-top: 1rem;
}

.menu .box-container .box .boxBtn .price {
    font-size: 1.7rem;
    padding: 0.5rem 0;
    font-weight: 600;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-wrap: break-word;
    color: var(--blackcolor);
}

.menu .box-container .box .boxBtn a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--themecolor);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menu .box-container .box .boxBtn a i {
    font-size: 1.5rem;
    color: var(--maincolor);
    border: none;
}

.footer {
    background-color: #000;
    text-align: center;
}

.state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 3rem 1rem;
}

.hidden {
    display: none !important;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.spinner {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 6px solid rgba(0, 0, 0, 0.08);
    border-top-color: var(--themecolor);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(105, 92, 254, 0.03), rgba(0, 0, 0, 0.01));
    padding: 1.8rem 2rem;
    border-radius: 1rem;
    border: 0.1rem solid rgba(105, 92, 254, 0.12);
    color: var(--blackcolor);
    max-width: 60rem;
    text-align: center;
}

.state-card i {
    color: var(--themecolor);
}

.state-card h3 {
    margin: 0;
    font-size: 1.8rem;
}

.state-card p {
    margin: 0;
    color: #666;
}

.state-actions {
    margin-top: 0.8rem;
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.4rem;
    font-size: 1.4rem;
    background: linear-gradient(90deg, #6c5cff, #5a4cd4);
    color: #fff;
    border-radius: 0.9rem;
    box-shadow: 0 8px 24px rgba(90, 76, 212, 0.18);
    border: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.12s ease;
}

.retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(90, 76, 212, 0.22);
}

.retry-btn:active {
    transform: translateY(-1px) scale(0.995);
}

.retry-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.retry-btn.loading i {
    margin-right: 0.4rem;
}

.footer {
    background: linear-gradient(90deg, #0b0b0b, #0f0f0f);
    color: #fff;
    padding: 2rem 1rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-left .footer-brand {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.footer-left .footer-copy {
    font-size: 1.2rem;
    color: #aaa;
    margin: 0.25rem 0 0 0;
}

.footer-right .social-link {
    color: #fff;
    margin-left: 1rem;
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease, transform 0.15s ease;
}

.footer-right .social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
}

.scroll-top {
    position: fixed;
    right: 1.6rem;
    bottom: 2.6rem;
    z-index: 9999;
    width: 4.2rem;
    height: 4.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #695cfe, #5a4cd4);
    color: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 10px 30px rgba(90, 76, 212, 0.18);
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.2s ease;
    border: none;
}

.scroll-top i {
    font-size: 1.25rem;
}

.scroll-top:hover {
    transform: translateY(-4px);
}

.blackScreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 20;
}

.activeBlack {
    display: block;
}

.popUp {
    width: 90%;
    max-width: 55rem;
    background: linear-gradient(135deg, var(--maincolor) 0%, var(--maincolor) 100%);
    border-radius: 2rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    z-index: 50;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupEnter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.popUp::-webkit-scrollbar {
    width: 0.6rem;
}

.popUp::-webkit-scrollbar-track {
    background: transparent;
}

.popUp::-webkit-scrollbar-thumb {
    background: var(--themecolor);
    border-radius: 1rem;
}

.activePopUp {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@keyframes popupEnter {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.popUp-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--blackcolor);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.popUp-close-btn:hover {
    background-color: var(--themecolor);
    color: var(--maincolor);
    transform: rotate(90deg);
}

.popUp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 3rem;
}

.popUp-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(105, 92, 254, 0.05) 0%, rgba(105, 92, 254, 0.02) 100%);
    border-radius: 1.5rem;
    min-height: 35rem;
    position: relative;
    overflow: hidden;
}

.popUp-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.popUp-image-wrapper .himg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popUp-image-wrapper .himg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    max-width: 30rem;
    max-height: 33rem;
}

.popUp-content-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popUp-header {
    margin-bottom: 2rem;
}

.popUp-title {
    font-size: 2.8rem;
    font-family: 'Onest-ExtraBold', sans-serif;
    color: var(--blackcolor);
    margin: 0 0 0.8rem 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.popUp-category {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--themecolor);
    font-weight: 600;
    margin: 0;
}

.popUp-description {
    margin-bottom: 2.5rem;
    max-height: 20rem;
    overflow-y: auto;
    padding-right: 1rem;
}

.popUp-description::-webkit-scrollbar {
    width: 0.4rem;
}

.popUp-description::-webkit-scrollbar-thumb {
    background: var(--themecolor);
    border-radius: 0.5rem;
}

.popUp-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
    text-align: justify;
}

body.dark .popUp-text {
    color: #999;
}

.popUp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 0.1rem solid rgba(105, 92, 254, 0.1);
    gap: 1.5rem;
}

.popUp-price-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.popUp-price-label {
    font-size: 1rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.popUp-price {
    font-size: 2.4rem;
    font-family: 'Onest-ExtraBold', sans-serif;
    color: var(--themecolor);
    font-weight: 700;
}

.popUp-action-btn {
    flex: 1;
    padding: 1.3rem 2rem;
    background: linear-gradient(135deg, var(--themecolor) 0%, #5a4cd4 100%);
    color: var(--maincolor);
    border: none;
    border-radius: 1rem;
    font-size: 1.6rem;
    font-family: 'Onest-Bold', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(105, 92, 254, 0.3);
}

.popUp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 92, 254, 0.4);
}

.popUp-action-btn:active {
    transform: translateY(0);
}

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 40rem;
    height: 100vh;
    background: linear-gradient(135deg, var(--maincolor) 0%, var(--maincolor) 100%);
    border-radius: 0;
    z-index: 50;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-side-menu::-webkit-scrollbar {
    width: 0.5rem;
}

.mobile-side-menu::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-side-menu::-webkit-scrollbar-thumb {
    background: var(--themecolor);
    border-radius: 0.25rem;
}

.mobile-side-menu.active {
    right: 0;
}

.mobile-side-menu .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(105, 92, 254, 0.1) 0%, rgba(105, 92, 254, 0.05) 100%);
    border-bottom: 0.1rem solid rgba(105, 92, 254, 0.2);
    flex-shrink: 0;
    gap: 1rem;
}

.menu-header-content {
    flex: 1;
}

.mobile-side-menu .menu-header .menu-title {
    font-size: 1.8rem;
    font-family: 'Onest-ExtraBold', sans-serif;
    color: var(--blackcolor);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    font-weight: 700;
}

.mobile-side-menu .menu-header .menu-title i {
    color: var(--themecolor);
    font-size: 2rem;
}

.mobile-side-menu .menu-header .close-menu-btn {
    width: 3.2rem;
    height: 3.2rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--blackcolor);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-side-menu .menu-header .close-menu-btn:hover {
    background: var(--themecolor);
    color: var(--maincolor);
    transform: rotate(90deg);
}

.mobile-side-menu .side-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 0;
}

.mobile-side-menu .side-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-item {
    position: relative;
}

.menu-item.divider {
    height: 0.1rem;
    background: linear-gradient(90deg, transparent, rgba(105, 92, 254, 0.2), transparent);
    margin: 1rem 1.5rem;
    flex-shrink: 0;
}

.menu-item-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.7rem;
    color: var(--blackcolor);
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    border-left: 0.3rem solid transparent;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.menu-item-link:hover {
    background: rgba(105, 92, 254, 0.08);
    border-left-color: var(--themecolor);
    color: var(--themecolor);
}

.menu-item-link i {
    color: var(--themecolor);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    min-width: 1.8rem;
}

.menu-item-link:hover i {
    transform: scale(1.2);
}

.menu-item-link span {
    font-family: 'Onest-SemiBold', sans-serif;
    font-weight: 600;
}

.language-options-wrapper {
    background: rgba(105, 92, 254, 0.04);
    margin: 0.5rem 0;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.2rem 2rem;
    justify-content: flex-start;
}

.language-options .lang-option {
    font-size: 1.6rem;
    color: var(--blackcolor);
    cursor: pointer;
    padding: 1rem 1.2rem;
    border-radius: 0.6rem;
    transition: all 0.3s ease;
    border: 0.1rem solid transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.language-options .lang-option i {
    color: var(--themecolor);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.2rem;
}

.language-options .lang-option:hover {
    background-color: rgba(105, 92, 254, 0.1);
    color: var(--themecolor);
    border-color: rgba(105, 92, 254, 0.3);
}

.language-options .lang-option.active {
    background-color: rgba(105, 92, 254, 0.15);
    color: var(--themecolor);
    border-color: var(--themecolor);
}

.language-options .lang-option.active i {
    opacity: 1;
}

.menu-footer {
    padding: 2rem;
    border-top: 0.1rem solid rgba(105, 92, 254, 0.2);
    text-align: center;
    flex-shrink: 0;
}

.menu-version {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}


/* Responsive */

@media (max-width: 1000px) {
    .hero-inner {
        grid-template-columns: 1fr 36rem;
    }

    .hero-image {
        height: 28rem;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    header {
        padding: 1.5rem 5rem;
    }

    header .logo img {
        height: 9rem;
    }

    section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1rem;
    }

    header .logo {
        display: none;
    }

    header .navbar {
        position: static;
        top: auto;
        background-color: transparent;
        height: auto;
        width: auto;
        box-shadow: none;
        right: auto;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 1rem;
        justify-content: flex-start;
        align-items: center;
    }

    header .navbar .category-btn {
        font-size: 1.6rem;
        padding: 1.2rem 1.6rem;
        flex-shrink: 0;
    }

    header .buttons #mobileMenuBtn {
        font-size: 2.2rem;
        margin-left: 1rem;
        display: block;
    }

    .search-section {
        padding-top: 8rem;
        padding-bottom: 1.5rem;
    }

    .restaurant-header {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .restaurant-logo-section {
        gap: 1.5rem;
    }

    .restaurant-logo {
        width: 7rem;
        height: 7rem;
    }

    .search-section .restaurant-name {
        font-size: 2.5rem;
    }

    .search-section .restaurant-subtitle {
        font-size: 1rem;
    }

    .search-section .search-box-container {
        max-width: 100%;
        padding: 1rem 1.5rem;
        gap: 0.6rem;
    }

    .search-section .search-box-container input {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }

    .search-section .search-box-container i {
        font-size: 1.6rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    /* Ensure left content appears above the image on mobile */
    .hero-left { order: -1; }
    .hero-right { order: 0; }

    .hero-image {
        height: 22rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-cta,
    .secondary-cta {
        width: 100%;
        justify-content: center;
    }

    /* Make CTAs larger and more tappable on mobile */
    .primary-cta { font-size: 1.8rem; padding: 1.4rem 1.6rem; border-radius: 1rem; }
    .secondary-cta { font-size: 1.6rem; padding: 1.2rem 1.4rem; border-radius: 1rem; }

    .popUp {
        max-width: 95%;
        max-height: 95vh;
    }

    .popUp-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .popUp-image-section {
        min-height: 28rem;
    }

    .popUp-title {
        font-size: 2.2rem;
    }

    .popUp-text {
        font-size: 1.3rem;
    }

    .popUp-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .popUp-action-btn {
        width: 100%;
    }

    .popUp-close-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1.6rem;
    }
}

@media (max-width: 602px) {
    html {
        font-size: 50%;
    }

    .popUp .pHead h2 {
        font-size: 2.2rem;
    }

    .popUp .pHead p {
        font-size: 1.3rem;
    }

    .mobile-side-menu {
        width: 100%;
        right: -100%;
        max-width: 100%;
    }

    .menu-item-link {
        padding: 1.2rem 1.5rem;
        font-size: 1.5rem;
    }

    .menu-item-link i {
        font-size: 1.6rem;
        min-width: 1.6rem;
    }

    .language-options {
        padding: 1rem 1.5rem;
    }

    .language-options .lang-option {
        font-size: 1.4rem;
        padding: 0.9rem 1rem;
    }

    .menu-header-content {
        min-width: 0;
    }

    .search-section {
        padding-top: 6.5rem;
        padding-bottom: 1.2rem;
    }

    .restaurant-header {
        margin-bottom: 1.5rem;
        padding: 1.2rem;
        border-radius: 1rem;
    }

    .restaurant-logo-section {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .restaurant-logo {
        width: 6rem;
        height: 6rem;
    }

    .restaurant-info {
        text-align: center;
    }

    .search-section .restaurant-name {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }

    .search-section .restaurant-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .search-section .search-box-container {
        padding: 0.9rem 1.2rem;
        border-radius: 1rem;
    }

    .search-section .search-box-container input {
        font-size: 1.3rem;
        padding: 0.3rem 0.6rem;
    }

    .search-section .search-box-container i {
        font-size: 1.4rem;
    }

    .popUp {
        max-width: 90%;
    }

    .popUp-container {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .popUp-image-section {
        min-height: 24rem;
    }

    .popUp-title {
        font-size: 1.8rem;
    }

    .popUp-category {
        font-size: 0.85rem;
    }

    .popUp-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .popUp-price {
        font-size: 2rem;
    }

    .popUp-price-label {
        font-size: 0.9rem;
    }

    .popUp-action-btn {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
    }

    .scroll-top {
        right: 1rem;
        bottom: 1.6rem;
        width: 4.6rem;
        height: 4.6rem;
    }
}