:root {
    /* Colors */
    --color-primary: #FF7A18;
    --color-primary-hover: #ff922b;
    --color-primary-light: #FFE1C4;

    --color-bg-white: #ffffff;
    --color-bg-offwhite: #F9FAFB;

    --color-border-light: #F3F4F6;
    --color-border-dark: #E5E7EB;

    --color-text-base: #1F2937;
    --color-text-black: #000000;
    --color-text-secondary: #4B5563;
    --color-text-muted: #6B7280;
    --color-text-icon: #9CA3AF;

    --color-accent-blue: #1E88E5;
    --color-accent-blue-hover: #64B5F6;
    --color-footer-bg: #6D4C41;

    /* Typography */
    --font-family-base: "Inter", sans-serif;
    --font-family-heading: "Jost", sans-serif;
    --font-family-secondary: "Poppins", sans-serif;
    --font-family-logo: "Island Moments", cursive;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===== BASE RESET & TYPOGRAPHY ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #1F2937;
    background: #ffffff;
    line-height: 1.6;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

img {
    display: block;
    max-width: 100%;
}

/* Shared Font Styles */
.logo,
.footer__logo {
    color: #FF7A18;
    font-family: "Island Moments", cursive;
    font-weight: 400;
}

.footer__tagline,
.footer__heading {
    font-family: "Jost", sans-serif;
    font-weight: 400;
}

.footer__list li,
.footer__link,
.bottom-bar__text,
.divider,
.checkbox-label,
.auth-footer {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

/* ===== LAYOUT GRID ===== */
.page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(100vh, auto) auto;
}

/* Row 1, Column 1: Image Area */
.hero-image-area {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    overflow: hidden;
    position: relative;
    align-self: stretch;
}

.hero-image-area-orange-overlay {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    overflow: hidden;
    position: relative;
    align-self: stretch;
    height: 100%;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Row 1, Column 2: Content Area */
.main-content-area {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    padding: 32px 50px 48px 96px;
    justify-content: center;
    align-items: center;
}

/* Shared Navigation/Header Styles */
.header-inner {
    width: 80%;
    margin: 24px auto 128px;
}

.header-inner-overlay {
    width: 80%;
    margin: 24px auto 2px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 40.81px;
    line-height: 40.81px;
}

/* ===== HERO SECTION ===== */
.hero__content {
    flex: 1;
    margin: auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 42px;
    margin-bottom: 20px;
}

.hero__description {
    font-size: 18px;
    margin-bottom: 32px;
}

/* Features Block */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #FFE1C4;
    border-radius: 10px;
    color: #FF7A18;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    line-height: 24px;
}

/* CTA Buttons */
.btn {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
}

.btn-primary {
    background: #FF7A18;
    color: #fff;
    border: 2px solid #FF7A18;
    padding: 16px 0;
    width: 100%;
}

.btn-primary:hover {
    background: #ff922b;
    border-color: #ff922b;
}

.btn-outline-blue {
    background: transparent;
    color: #1E88E5;
    border: 2px solid #1E88E5;
    padding: 12px 28px;
}

.btn-outline-blue:hover {
    background: #1E88E5;
    color: #fff;
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.hero__cta .btn-outline-blue {
    padding: 16px 0;
    width: 100%;
}

/* Copyright Row-Home */
.copyright-bar {
    margin: auto;
    padding: 20px 24px;
    border-top: 1px solid #F3F4F6;
    width: 90%;
}

.copyright-bar__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.copyright-bar__text {
    font-size: 14px;
}

.copyright-bar__links {
    display: flex;
    gap: 20px;
}

.copyright-bar__link {
    font-size: 14px;
    color: #64B5F6;
    line-height: 20px;
}

/* ===== AUTH COMPONENTS (Overlay & Forms) ===== */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 122, 24, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    text-align: center;
    color: #fff;
}

.hero-overlay h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-overlay p {
    font-size: 20px;
    line-height: 30px;
    max-width: 400px;
}

.form-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 32px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4B5563;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon,
.toggle-password {
    position: absolute;
    color: #9CA3AF;
    width: 20px;
    height: 20px;
}

.input-icon {
    left: 16px;
}

.toggle-password {
    right: 16px;
    cursor: pointer;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FF7A18;
}

.forgot-link,
.auth-link,
.checkbox-label a {
    color: #1E88E5;
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 24px;
}

/* Form Extras */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #6B7280;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #E5E7EB;
}

.divider::before {
    margin-right: 12px;
}

.divider::after {
    margin-left: 12px;
}

.btn-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
    margin-top: 24px;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.checkbox-label {
    font-size: 13px;
    color: #4B5563;
}

/* ===== FOOTER SECTION ===== */
.footer-area {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.site-footer {
    background: #6D4C41;
    color: #fff;
    padding: 48px 64px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer__logo {
    font-size: 37.02px;
    margin-bottom: 0px;
    padding-left: 48px;

}

.footer__tagline {
    font-size: 24px;
    line-height: 1.7;
    padding: 0 8px 0 48px;
    width: 80%;

}

.footer__heading {
    font-size: 24px;
    margin-bottom: 16px;
}

.footer__list {
    list-style: none;
}

.footer__list li,
.footer__link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.footer__list li {
    margin-bottom: 10px;
}

.footer__link:hover {
    color: #fff;
    text-decoration: underline;
}

.bottom-bar {
    background: #6D4C41;
    padding: 24px 108px 48px;
}

.bottom-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-bar__text {
    font-size: 13px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.65);
}

.bottom-bar__scroll-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #0081FE;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

.bottom-bar__scroll-top:hover {
    background: #1A5FBA;
}

/* ===== HOME PAGE HEADER & NAV ===== */
.home-header {
    background: #fff;
    padding: 16px 64px;
    border-bottom: 1px solid #F3F4F6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.home-navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.home-navbar>.logo {
    text-align: left;
}

.home-navbar>.home-nav-links {
    justify-self: center;
}

.home-navbar>.btn-login {
    justify-self: end;
}

.home-nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
}

.home-nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: #1F2937;
}

.home-nav-links a.active,
.home-nav-links a:hover {
    color: #FF7A18;
}

.btn-login {
    background: #FF7A18;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

/* ===== HOME HERO SECTION ===== */
.home-hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 64px;
    overflow: visible;
    margin-bottom: 100px;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../images/header-background.png');
    background-size: cover;
    background-position: center;
}

.home-hero__content {
    color: #fff;
    width: 70%;
}

.home-hero__title {
    font-size: 52px;
    font-weight: 700;
    line-height: 61px;
    margin-bottom: 24px;
}

.home-hero__subtitle {
    font-size: 32px;
    font-weight: 7#80737300;
    margin-bottom: 32px;
}

.home-hero__btn {
    width: auto;
    padding: 16px 48px;
}

/* Floating Search Bar */
.search-container {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
}

.search-wrapper {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 20px 32px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.search-icon {
    width: 24px;
    height: 24px;
    color: #807373;
    margin-right: 16px;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 24px;
    color: #1F2937;
    font-weight: 600;
}

/* ===== GENERAL SECTIONS ===== */
.section {
    padding: 100px 64px;
    margin: auto;
}

.section-title {
    font-family: "Jost", sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #1F2937;
}

/* ===== CATEGORY GRID ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-image {
    height: 240px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    padding: 52px 0 74px;
    font-size: 24px;
    font-weight: 600;
    color: #1B1C1E;
}

/* Wrap categories grid to 2nd row if needed */
.category-grid>div:nth-child(n+5) {
    display: none;
    /* Hide extra for cleaner look unless specified */
}

/* Adjusting to match screenshot (6 categories) */
.category-section .category-grid {
    grid-template-columns: repeat(3, 1fr);
}

.category-grid>div:nth-child(n+5) {
    display: block;
}

/* ===== SPECIALS GRID ===== */
.specials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.special-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.special-image {
    height: 200px;
}

.special-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-info {
    padding: 24px;

}

.special-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1F2937;
}

.special-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    width: 85%;
    height: 100px
}

.special-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.special-price {
    font-size: 18px;
    font-weight: 700;
    color: #FF7A18;
}

.btn-add-cart {
    background: #FF7A18;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* ===== PROMO BANNER ===== */
.home-promo {
    position: relative;
    height: 700px;
    margin: 40px 0 0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.home-promo__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../images/last-section-image.png');
    background-size: cover;
    background-position: center;
}

.home-promo__content {
    width: 80%;
    padding: 10px 64px;
    color: #fff;
}

.home-promo__title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.home-promo__desc {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    width: 50%;
}

.home-promo__btn {
    width: auto;
    padding: 14px 40px;
}

/* ===== VIEW ALL LINK (mobile-only, hidden on desktop) ===== */
.view-all-link {
    display: none;
}

/* ===== EXPLORE PAGE STYLES ===== */
.explore-hero {
    position: relative;
    height: 70vh;
    padding: 64px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../images/Explore-header.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    /* margin-bottom: 40px; */
}

.explore-hero__info h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.explore-hero__info p {
    font-size: 18px;
    font-weight: 500;
}

.explore-container {
    display: block;
    padding: 50px 64px 40px;
    max-width: 100%;
    margin: 0 0 90px 0;
    background-color: #F3F4F6;
}

.explore-sidebar {
    background: #fff;
    padding: 20px 0;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 1px solid #F3F4F6;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    padding: 0 24px 20px;
    color: #1F2937;
}

.category-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 8px;
    width: 90%;
}

.category-item a {
    display: block;
    padding: 8px 20px;
    font-size: 15px;
    border-radius: 6px;
    font-weight: 600;
    color: #1B1C1E;
    transition: all 0.2s;
}

.category-item.active a {
    background: #FFE1C4;
    color: #FF7A18;
    border-left: 4px solid #FF7A18
}

.category-item a:hover:not(.active) {
    background: #F9FAFB;
}

.explore-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1F2937;
    /* margin: 40px ; */
}

.explore-section-title:first-child {
    margin-top: 0;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.explore-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.explore-card__img {
    height: 200px;
}

.explore-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-card__content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.explore-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1F2937;
}

.explore-card__desc {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.explore-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.explore-card__price {
    font-size: 16px;
    font-weight: 700;
    color: #FF7A18;
}

.btn-add-plus {
    width: 30px;
    height: 30px;
    background: #FF7A18;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
}

/* ===== FOOD DETAILS PAGE ===== */
.food-details-bg {
    background-color: #F6F7F9;
    padding: 64px 80px 64px 0;
}

.food-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    background: #fff;
    border-radius: 0;
}

.food-details-image {
    width: 100%;
}

.food-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-details-content {
    background-color: #fff;
    padding: 64px 80px 64px 64px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.btn-close-modal {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 32px;
    right: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-modal svg {
    stroke: #fff;
}

.food-details__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 16px;
    color: #111;
}

.food-details__price {
    font-size: 24px;
    font-weight: 700;
    color: #FF7A18;
    margin-bottom: 24px;
}

.food-details__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 32px;
}

.food-details__meta {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6B7280;
}

.meta-icon {
    width: 20px;
    height: 20px;
    stroke: #FF7A18;
    fill: none;
    stroke-width: 2;
    margin-right: 8px;
}

.options-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111;
}

.options-section {
    margin-bottom: 32px;
}

.option-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.option-row:hover {
    border-color: #D1D5DB;
}

.custom-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    margin-right: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    margin-right: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-radio:checked {
    border: 5px solid #FF7A18;
    background: #fff;
}

.custom-checkbox:checked {
    border: none;
    background: #FF7A18;
}

.custom-checkbox:checked::after {
    content: '\2713';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.option-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #111;
}

.option-price {
    font-size: 15px;
    color: #111;
}

.special-instructions {
    width: 100%;
    height: 120px;
    padding: 16px 24px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    resize: vertical;
    outline: none;
    color: #000;
    line-height: 24px;
}

/* Constrain placeholder wrapping to ~70% width */
.special-instructions:placeholder-shown {
    padding-right: 35%;
}

.special-instructions:focus {
    border-color: #FF7A18;
}

/* ===== CART PAGE STYLES ===== */
.cart-bg {
    background-color: #F6F7F9;
    padding: 64px 80px;
    min-height: calc(100vh - 84px);
}

.cart-container {
    background: #fff;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 64px;
    min-height: 600px;
}

.cart-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 32px;
}

.cart-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    background: #fff;
}

.cart-item__img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item__title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.cart-item__desc {
    font-size: 16px;
    color: #6B7280;
}

.cart-item__actions {
    display: flex;
    align-items: center;
    gap: 48px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #E5E7EB;
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-btn:hover {
    background: #D1D5DB;
}

.qty-num {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    min-width: 20px;
    text-align: center;
}

.cart-item__price {
    font-size: 24px;
    font-weight: 700;
    color: #FF7A18;
    min-width: 100px;
    text-align: right;
}

.btn-remove {
    background: #FF7A18;
    color: #fff;
    border: none;
    border-radius: 10px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-more-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3B82F6;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    margin-top: 8px;
    padding: 8px 0;
    width: fit-content;
}

.add-more-link:hover {
    text-decoration: underline;
}

/* ===== CHECKOUT & ORDER FLOW STYLES ===== */
.checkout-bg {
    background-color: #F6F7F9;
    padding: 64px 20px;
    min-height: calc(100vh - 84px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.checkout-center-bg {
    background-color: #F6F7F9;
    padding: 64px 20px;
    min-height: calc(100vh - 84px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout-container {
    background: #fff;
    width: 100%;
    max-width: 580px;
    border-radius: 8px;
    padding: 40px;
}

.checkout-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 32px;
}

.checkout-box {
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 24px;
}

.checkout-box-header {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.checkout-box-text {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
}

.checkout-box-link {
    font-size: 13px;
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
}

/* Utility: normal font-weight inside bold context */
.text-normal {
    font-weight: 400;
}

/* Cart checkout button row */
.cart-checkout-row {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

.cart-checkout-btn {
    max-width: 300px;
    margin-bottom: 0;
}

.checkout-label {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    display: block;
}

.checkout-input {
    width: 100%;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    margin-bottom: 32px;
}

.checkout-input:focus {
    border-color: #FF7A18;
}

.checkout-textarea {
    width: 100%;
    height: 100px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    outline: none;
    margin-bottom: 32px;
}

.checkout-textarea:focus {
    border-color: #FF7A18;
}

/* Promo Row */
.promo-row {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.promo-row .checkout-input {
    margin-bottom: 0;
}

.btn-promo {
    background: #FF7A18;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0 40px;
    font-weight: 600;
    cursor: pointer;
}

/* Summary Lines */
.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #6B7280;
    font-size: 15px;
}

.summary-line.total {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
    margin-bottom: 32px;
}

/* Segmented Control */
.toggle-switch {
    display: flex;
    background: #B6B6B6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
}

.toggle-btn {
    flex: 1;
    padding: 16px 0;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.toggle-btn.active {
    background: #FF7A18;
    color: #fff;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 32px;
}

.method-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #6B7280;
    font-weight: 500;
    cursor: pointer;
}

/* Card Inputs */
.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.save-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #9CA3AF;
    font-weight: 500;
    margin-bottom: 32px;
}

.save-card-row input[type="checkbox"] {
    accent-color: #FF7A18;
    width: 18px;
    height: 18px;
}

.btn-checkout {
    width: 100%;
    background: #FF7A18;
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: 0.2s;
}

.btn-checkout:hover {
    background: #e66b12;
}

.payment-note {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.5;
    text-align: center;
}

/* Loading & Success Page specifics */
.center-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.loading-spinner {
    width: 64px;
    height: 64px;
    border: 6px solid #E5E7EB;
    border-top-color: #FF7A18;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon svg {
    stroke: #fff;
    stroke-width: 3;
    width: 40px;
    height: 40px;
}

.success-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.success-desc {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 64px;
}

.pulsing-dot {
    width: 16px;
    height: 16px;
    background: #10B981;
    border-radius: 50%;
    opacity: 0.2;
    margin-bottom: 64px;
}

.success-order-id {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin-bottom: 24px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 400px;
}

.btn-track {
    width: 100%;
    background: #FF7A18;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.btn-receipt {
    display: block;
    color: #9CA3AF;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 8px;
}

.link-help {
    display: block;
    color: #3B82F6;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE STYLES (TABLET & MOBILE)
   ========================================================================== */

/* --- TABLET MAX-WIDTH 1024px --- */
@media (max-width: 1024px) {

    .home-hero,
    .explore-hero {
        padding: 40px;
    }

    .home-hero__title {
        font-size: 40px;
    }

    .category-grid,
    .category-section .category-grid,
    .specials-grid,
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .explore-container {
        padding: 20px 40px 60px;
    }

    /* ===== FOOTER (tablet) ===== */
    .site-footer {
        padding: 32px 40px;
    }

    .footer__grid {
        grid-template-columns: 3fr 2fr;
        gap: 24px;
    }

    .footer__logo {
        font-size: 24px;
        padding-left: 0;
        margin-bottom: 8px;
    }

    .footer__tagline {
        font-size: 14px;
        line-height: 1.6;
        padding: 0;
        width: 100%;
    }

    .footer__heading {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer__list li,
    .footer__link {
        font-size: 13px;
    }

    .bottom-bar {
        padding: 16px 40px 24px;
    }

    .bottom-bar__text {
        font-size: 12px;
    }

    /* ===== AUTH / LANDING PAGES (tablet layout) ===== */
    /* Image hidden on tablet — form takes full centered width */
    .page-wrapper {
        display: block;
    }

    .hero-image-area,
    .hero-image-area-orange-overlay {
        display: none;
    }

    .main-content-area {
        width: 100%;
        min-height: 100vh;
        padding: 60px 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home-promo__title {
        font-size: 36px;
    }

    .home-promo__desc {
        font-size: 18px;
        width: 70%;
    }

    .food-details-content {
        padding: 40px 40px 40px 40px;
    }

    .section {
        padding: 80px 40px;
    }

    .cart-bg {
        padding: 40px 40px;
    }

    .cart-container {
        padding: 32px 40px;
    }



    .search-wrapper {
        width: 80%;
        margin: 0 auto;
    }
}

/* --- MOBILE MAX-WIDTH 768px --- */
@media (max-width: 768px) {

    /* ===== NAVBAR ===== */
    .home-header {
        padding: 16px 20px;
    }

    .home-navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        grid-template-columns: none;
    }

    .home-nav-links {
        display: none;
    }

    .btn-login {
        display: none;
    }

    .home-navbar::after {
        content: '\2630';
        font-size: 24px;
        color: #111;
        cursor: pointer;
    }

    /* ===== HOME HERO ===== */
    .home-hero {
        height: auto;
        min-height: 80vh;
        padding: 60px 20px 100px;
        align-items: center;
        text-align: center;
        margin-bottom: 8px;
    }

    .home-hero__content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-hero__title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .home-hero__subtitle {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .home-hero__btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
    }

    /* ===== FLOATING SEARCH BAR ===== */
    .search-container {
        width: 90%;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 auto;
    }

    .search-wrapper {
        width: 80%;
        margin: 0 auto;
        padding: 14px 20px;
    }

    .search-input {
        font-size: 16px;
    }

    /* ===== GENERAL SECTIONS ===== */
    .section {
        padding: 32px 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 28px;
        text-align: center;
    }

    /* ===== CATEGORY GRID ===== */
    .category-grid {
        display: block;
    }

    .category-card {
        width: 100%;
        margin-bottom: 16px;
    }

    .category-name {
        font-size: 18px;
        padding: 28px 0 36px;
    }

    /* ===== CHEF'S SPECIALS GRID ===== */
    .specials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .special-card {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    .special-desc {
        height: auto;
    }

    /* ===== PROMO BANNER ===== */
    .home-promo {
        height: auto;
        padding: 60px 0;
        align-items: center;
    }

    .home-promo__content {
        width: 100%;
        padding: 24px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-promo__title {
        font-size: 28px;
    }

    .home-promo__desc {
        font-size: 16px;
        width: 100%;
        margin-bottom: 24px;
    }

    .home-promo__btn {
        padding: 14px 32px;
    }

    /* ===== AUTH / LANDING PAGES (mobile sizing & structure) ===== */
    .page-wrapper {
        display: block;
    }

    /* index.html hero image: show on mobile */
    .hero-image-area {
        display: block;
        width: 100%;
        height: 260px;
        min-height: unset;
    }

    /* signin/signup orange image: always hidden below desktop */
    .hero-image-area-orange-overlay {
        display: none;
    }

    .hero-image-area .hero__image,
    .hero-image-area-orange-overlay .hero__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .main-content-area {
        width: 100%;
        min-height: unset;
        padding: 32px 24px 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer-area {
        padding: 0;
    }


    .header-inner,
    .header-inner-overlay {
        width: 100%;
        margin: 16px auto 32px;
    }

    .hero__content {
        width: 100%;
    }

    .hero__title {
        font-size: 26px;
        line-height: 1.3;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-overlay {
        padding: 40px 24px;
    }

    .hero-overlay h2 {
        font-size: 28px;
    }

    .hero-overlay p {
        font-size: 16px;
    }

    .form-container {
        max-width: 100%;
    }

    /* ===== EXPLORE PAGE ===== */
    .explore-hero {
        height: 40vh;
        padding: 32px 20px;
    }

    .explore-hero__info h1 {
        font-size: 30px;
    }

    .explore-hero__info p {
        font-size: 15px;
    }

    .explore-container {
        padding: 16px 16px 24px;
        margin-bottom: 0;
    }

    .explore-sidebar {
        margin-bottom: 16px;
    }

    /* Show and style the View All link on mobile */
    .view-all-link {
        display: block;
        text-align: center;
        color: #1E88E5;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        padding: 12px 0;
        margin-top: 8px;
        margin-bottom: 32px;
        border-top: 1px solid #F3F4F6;
        border-bottom: 1px solid #F3F4F6;
    }

    .category-list {
        flex-direction: column;
        width: 100%;
        gap: 4px;
        padding: 0 8px;
    }

    .category-item {
        width: 100%;
    }

    .category-item a {
        display: block;
        width: 100%;
        padding: 10px 16px;
        font-size: 14px;
    }

    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .explore-section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* ===== FOOD DETAILS PAGE ===== */
    .food-details-bg {
        padding: 0 0 40px;
    }

    .food-details-container {
        display: block;
    }

    .food-details-image {
        display: block;
        width: 100%;
        height: 260px;
    }

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

    .food-details-content {
        padding: 32px 24px;
    }

    .food-details__title {
        font-size: 26px;
    }

    .food-details__meta {
        gap: 16px;
    }

    /* ===== CART PAGE ===== */
    .cart-bg {
        padding: 24px 16px;
    }

    .cart-container {
        padding: 20px 16px;
    }

    .cart-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .cart-item__img {
        width: 100%;
        height: 200px;
        border-radius: 8px;
    }

    .cart-item__actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }

    .cart-item__title {
        font-size: 18px;
    }

    .cart-item__price {
        font-size: 20px;
        min-width: auto;
        text-align: left;
    }

    /* ===== CHECKOUT PAGES ===== */
    .checkout-bg,
    .checkout-center-bg {
        padding: 24px 16px;
    }

    .checkout-container {
        padding: 24px 16px;
    }

    .checkout-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .promo-row {
        flex-direction: column;
        gap: 12px;
    }

    .btn-promo {
        width: 100%;
        padding: 14px;
    }

    .card-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .payment-methods {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    /* ===== FOOTER ===== */
    .footer-area {
        display: none;
    }

    .site-footer {
        padding: 40px 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer__logo {
        padding-left: 0;
    }

    .footer__tagline {
        padding: 0;
        width: 100%;
    }

    .bottom-bar {
        padding: 20px 20px 32px;
    }

    .bottom-bar__content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    /* ===== LOADING / SUCCESS PAGES ===== */
    .success-actions {
        max-width: 100%;
    }
}

/* --- SMALL MOBILE MAX-WIDTH 480px --- */
@media (max-width: 480px) {

    .logo {
        font-size: 26px;
        line-height: 1;
    }

    .home-hero__title {
        font-size: 26px;
    }

    .home-hero__subtitle {
        font-size: 16px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        max-width: 100%;
    }

    .explore-grid {
        grid-template-columns: 1fr;
    }

    .cart-title,
    .checkout-title {
        font-size: 20px;
    }

    .qty-num {
        font-size: 18px;
    }

    .hero__title {
        font-size: 22px;
    }

    .form-title {
        font-size: 22px;
    }

    .food-details__title {
        font-size: 22px;
    }

    .food-details__price {
        font-size: 20px;
    }

    .section-title,
    .explore-section-title {
        font-size: 20px;
    }

    .copyright-bar__content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}