
/* =========================================
   HUSSEIN'S KITCHEN
   COMPLETE PREMIUM WEBSITE STYLING
========================================= */

:root {
    --orange: #ed791f;
    --orange-dark: #c95710;
    --cream: #fff8ef;
    --dark: #28180f;
    --brown: #603014;
    --text: #34302c;
    --white: #ffffff;
    --green: #168b49;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.6;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
}

/* =========================================
   NAVIGATION
========================================= */

.navbar {
    min-height: 76px;
    padding: 14px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--dark);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0,0,0,.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 22px;
    font-weight: 800;
}

.logo strong {
    color: #ff9b38;
}

.logo-icon {
    color: #ff9b38;
    font-size: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: white;
    font-weight: 600;
    transition: .2s;
}

.nav-links a:hover {
    color: #ff9b38;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--orange);
    color: white;
    border-radius: 30px;
    font-weight: bold;
}

.cart-link:hover {
    background: var(--orange-dark);
}

#cart-count {
    min-width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--orange-dark);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
    min-height: 530px;
    display: flex;
    align-items: center;
    padding: 70px 9%;
    color: white;
    background:
        linear-gradient(90deg, rgba(35,17,7,.88), rgba(35,17,7,.25)),
        url("https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=2000&q=90")
        center/cover no-repeat;
}

.hero-content {
    max-width: 620px;
}

.welcome {
    color: #ffb45e;
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.1;
    margin: 12px 0;
    color: white;
}

.hero h1 span {
    color: #ff9b38;
}

.hero-description {
    font-size: 19px;
    margin: 18px 0 30px;
}

.primary-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: .25s;
}

.primary-button:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
    margin-bottom: 38px;
}

.section-heading h2 {
    font-size: 32px;
    color: var(--dark);
}

.section-heading p {
    color: #81766d;
    margin-top: 5px;
}

.heading-line {
    height: 3px;
    width: 55px;
    border-radius: 5px;
    background: var(--orange);
}

/* =========================================
   MENU
========================================= */

.menu-section {
    padding: 75px 7%;
    background: var(--cream);
}

.menu-layout {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.food-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.food-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(65,36,12,.09);
    transition: transform .25s, box-shadow .25s;
}

.food-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 30px rgba(65,36,12,.15);
}

.food-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: #eee0d1;
}

.food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.food-card:hover .food-image img {
    transform: scale(1.06);
}

.popular-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: var(--orange);
    color: white;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.food-details {
    padding: 23px;
}

.food-details h3 {
    color: var(--dark);
    font-size: 21px;
    margin-bottom: 8px;
}

.food-details p {
    color: #77716c;
    font-size: 14px;
    min-height: 45px;
}

.food-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.food-bottom strong {
    color: var(--orange-dark);
    font-size: 19px;
    white-space: nowrap;
}

.add-to-cart {
    padding: 11px 15px;
    border: none;
    border-radius: 25px;
    background: var(--orange);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.add-to-cart:hover {
    background: var(--orange-dark);
}

/* =========================================
   SHOPPING CART
========================================= */

.cart-section {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 28px;
    background: white;
    border: 1px solid #f0dfcd;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(65,36,12,.08);
}

.cart-heading {
    padding-bottom: 18px;
    border-bottom: 2px solid #f5e8da;
    margin-bottom: 15px;
}

.cart-heading h2 {
    font-size: 23px;
    color: var(--dark);
}

.cart-items {
    min-height: 65px;
}

.empty-cart {
    padding: 20px 5px;
    color: #888;
    text-align: center;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 15px 0;
    border-bottom: 1px solid #eee5dc;
}

.cart-item button {
    cursor: pointer;
}

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

.quantity-controls button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background: #f3e5d8;
    color: var(--dark);
}

.remove-item {
    padding: 7px 12px;
    border: none;
    border-radius: 7px;
    background: #ffe6e2;
    color: #c0392b;
    font-weight: bold;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 22px 0;
    padding: 18px;
    background: #fff5e9;
    border-radius: 12px;
    font-size: 19px;
}

.cart-summary strong {
    color: var(--orange-dark);
    font-size: 23px;
}

.clear-cart-button,
.checkout-button {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}

.clear-cart-button {
    background: #ffe6e2;
    color: #b83c2d;
}

.checkout-button {
    margin-left: 10px;
    background: var(--orange);
    color: white;
}

.checkout-button:hover {
    background: var(--orange-dark);
}

/* =========================================
   CHECKOUT
========================================= */

.checkout-section {
    padding: 75px 20px;
    background: #fff;
}

.checkout-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 35px;
    background: var(--cream);
    border: 1px solid #f0dfcd;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(65,36,12,.07);
}

.checkout-intro {
    color: #777;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.form-group label {
    color: var(--dark);
    font-size: 14px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dfd1c3;
    border-radius: 9px;
    background: white;
    color: var(--text);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(237,121,31,.12);
}

.form-group textarea {
    min-height: 95px;
    resize: vertical;
}

.place-order-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background: var(--orange);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.place-order-button:hover {
    background: var(--orange-dark);
}

/* =========================================
   CART NOTIFICATION
========================================= */

.cart-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 2000;
    padding: 14px 22px;
    background: var(--green);
    color: white;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* =========================================
   PREMIUM ORDER RECEIPT
========================================= */

.receipt-section[hidden] {
    display: none !important;
}

.receipt-section:not([hidden]) {
    display: block;
    min-height: 100vh;
    padding: 45px 15px;
    background: #fff5e9;
}

.receipt-card {
    max-width: 750px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border: 1px solid #efd8c0;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(65,36,12,.10);
}

.receipt-card > h2 {
    display: none;
}

.receipt-brand {
    max-width: 750px;
    margin: 0 auto;
    padding: 25px 20px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #281006, #8c3b0b);
    border-bottom: 6px solid var(--orange);
    border-radius: 15px 15px 0 0;
}

.receipt-logo {
    font-size: 42px;
}

.receipt-brand h1 {
    color: #ffae50;
    font-size: 34px;
    margin: 5px 0;
}

.receipt-brand p {
    color: #fff0df;
    font-size: 14px;
}

.receipt-success {
    text-align: center;
    padding: 25px 10px;
}

.success-check {
    width: 65px;
    height: 65px;
    margin: 0 auto 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #168b49;
    color: white;
    font-size: 42px;
    font-weight: bold;
}

.receipt-success h2 {
    color: #168b49;
    font-size: 30px;
}

.receipt-success p {
    color: var(--dark);
    font-size: 17px;
    font-weight: bold;
}

.receipt-success span {
    display: block;
    color: #777;
    font-style: italic;
    margin-top: 5px;
}

#receipt-details {
    width: 100%;
    padding: 25px;
    background: #fff;
    border: 1px solid #f0dfcd;
    border-radius: 12px;
    line-height: 1.8;
}

#receipt-details h2,
#receipt-details h3 {
    color: var(--dark);
    margin: 12px 0;
}

#receipt-details p {
    margin: 7px 0;
    overflow-wrap: anywhere;
}

#receipt-details hr {
    border: none;
    border-top: 1px dashed #d8c4b1;
    margin: 18px 0;
}

#receipt-details ul {
    list-style: none;
    padding: 0;
}

#receipt-details li {
    padding: 11px 0;
    border-bottom: 1px solid #f0e6dc;
}

#receipt-details h3:last-child {
    color: var(--orange-dark);
    font-size: 24px;
    margin-top: 20px;
}

.receipt-actions {
    display: flex;
    justify-content: center;
    margin: 25px auto 12px;
}

#print-receipt {
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    background: var(--orange);
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

#print-receipt:hover {
    background: var(--orange-dark);
}

#back-to-menu {
    display: block;
    margin: 12px auto;
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    background: var(--dark);
    color: white;
    text-align: center;
    cursor: pointer;
}

#back-to-menu:hover {
    background: var(--orange-dark);
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    padding: 70px 8%;
    background: var(--cream);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-chef {
    font-size: 100px;
}

.about-text {
    max-width: 650px;
}

.about-text h2 {
    color: var(--dark);
    font-size: 29px;
    margin-bottom: 12px;
}

.about-text p {
    color: #71665e;
    margin-bottom: 15px;
}

.about-text strong {
    color: var(--orange-dark);
}

.about-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 35px;
}

.about-features div {
    font-weight: bold;
    color: var(--dark);
}

.about-features span {
    margin-left: 5px;
}

/* =========================================
   FOOTER
========================================= */

footer {
    padding: 35px 20px;
    text-align: center;
    background: var(--dark);
    color: white;
}

footer h2 {
    color: #ff9b38;
    margin-bottom: 8px;
}

footer p {
    color: #e5d4c5;
}

.copyright {
    margin-top: 18px;
    font-size: 13px;
}

/* =========================================
   PRINT RECEIPT
========================================= */

@media print {

    @page {
        size: A4;
        margin: 12mm;
    }

    body {
        background: white !important;
    }

    body * {
        visibility: hidden !important;
    }

    #order-receipt,
    #order-receipt * {
        visibility: visible !important;
    }

    #order-receipt {
        display: block !important;
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0 !important;
        background: white !important;
    }

    .receipt-card {
        max-width: 100%;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .receipt-brand,
    .receipt-success,
    #receipt-details {
        max-width: 100%;
        box-shadow: none !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .receipt-actions,
    #back-to-menu {
        display: none !important;
    }
}

/* =========================================
   TABLET AND MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 900px) {

    .navbar {
        padding: 13px 4%;
    }

    .food-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .food-image {
        height: 240px;
    }

    .hero {
        min-height: 450px;
    }
}

@media (max-width: 600px) {

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 13px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        min-height: 400px;
        padding: 50px 7%;
    }

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

    .menu-section {
        padding: 50px 5%;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .heading-line {
        width: 25px;
    }

    .food-container {
        grid-template-columns: 1fr;
    }

    .food-image {
        height: 260px;
    }

    .cart-section {
        padding: 20px 15px;
    }

    .cart-item {
        align-items: flex-start;
    }

    .checkout-card {
        padding: 22px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-features {
        gap: 17px;
        flex-direction: column;
        align-items: center;
    }

    .receipt-section:not([hidden]) {
        padding: 20px 10px;
    }

    .receipt-card {
        padding: 14px;
    }

    .receipt-brand h1 {
        font-size: 27px;
    }

    .receipt-success h2 {
        font-size: 25px;
    }

    #receipt-details {
        padding: 17px;
    }

    #print-receipt {
        width: 100%;
    }

    .clear-cart-button,
    .checkout-button {
        margin: 5px 0;
    }
}

/* ORDER CONFIRMATION SCREEN */

body.order-complete > .navbar,
body.order-complete > .hero,
body.order-complete > .menu-section,
body.order-complete > .checkout-section,
body.order-complete > .about-section,
body.order-complete > footer {
    display: none;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.receipt-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff3e5;
    border-radius: 12px;
    color: #603014;
    font-size: 18px;
}

.receipt-grand-total strong {
    color: #c95710;
    font-size: 25px;
}

.receipt-thank-you {
    text-align: center;
    margin-top: 25px;
    color: #603014;
    font-weight: bold;
}

@media print {
    body.order-complete > #cart-notification {
        display: none !important;
    }
}

/* =================================
   HUSSEIN'S KITCHEN - PREMIUM CART
================================= */

#cart.cart-section {
    background: #ffffff;
    border: 2px solid #f2a15b;
    border-radius: 22px;
    padding: 30px;
    margin: 45px auto;
    max-width: 1100px;
    box-shadow: 0 12px 30px rgba(120, 65, 20, 0.12);
}

/* CART HEADING */

#cart h2 {
    color: #382015;
    font-size: 25px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f5dfcc;
}

/* CART CONTENT AREA */

#cart-items {
    background: #fffaf5;
    border: 1px solid #f3d8c1;
    border-radius: 15px;
    padding: 20px;
    min-height: 90px;
}

/* CART TOTAL */

#cart-total {
    display: inline-block;
    color: #d95e12;
    font-size: 25px;
    font-weight: 800;
    padding: 12px 20px;
    background: #fff0df;
    border: 1px solid #f3c69e;
    border-radius: 12px;
    margin-top: 20px;
}

/* CART BUTTONS */

#clear-cart,
#cart a,
#cart button {
    border-radius: 25px;
    transition: 0.25s ease;
}

#clear-cart {
    padding: 12px 20px;
    border: 1px solid #e8a1a1;
    background: #fff0f0;
    color: #b83232;
    font-weight: 700;
    cursor: pointer;
}

#cart button:hover,
#cart a:hover {
    transform: translateY(-2px);
}

/* MOBILE CART */

@media (max-width: 600px) {
    #cart.cart-section {
        padding: 18px 12px;
        margin: 25px 10px;
    }

    #cart h2 {
        font-size: 21px;
    }

    #cart-items {
        padding: 12px;
    }
}

/* =========================================
   HUSSEIN'S KITCHEN
   LUXURY GOLD RECEIPT DESIGN
========================================= */

#order-receipt {
    padding: 45px 20px;
    background: #211a12;
    background-image:
        radial-gradient(circle at top left, #49351e 0%, transparent 40%),
        radial-gradient(circle at bottom right, #49351e 0%, transparent 40%);
}

#order-receipt .receipt-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 12px;
    border: 2px solid #bd914b;
    border-radius: 22px;
    background: #302317;
    box-shadow:
        0 0 0 5px rgba(189, 145, 75, 0.12),
        0 20px 55px rgba(0, 0, 0, 0.4);
}

/* RECEIPT CONTENT */

#receipt-details {
    padding: 0;
    background: #f2e8d5;
    border: 1px solid #bd914b;
    border-radius: 13px;
    overflow: hidden;
}

.premium-receipt {
    background: #f2e8d5;
    color: #382819;
}

/* RESTAURANT HEADER */

.receipt-header {
    padding: 38px 22px;
    text-align: center;
    background: linear-gradient(145deg, #211a12, #49351e);
    border-bottom: 3px solid #bd914b;
}

.receipt-logo {
    font-size: 43px;
    margin-bottom: 8px;
}

.receipt-header h1 {
    margin: 0;
    color: #e4bd75;
    font-family: Georgia, serif;
    font-size: 34px;
    letter-spacing: 1.5px;
}

.receipt-header p {
    margin: 10px 0 18px;
    color: #e4d4b5;
    font-size: 13px;
    letter-spacing: 1px;
}

.receipt-label {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #bd914b;
    border-radius: 30px;
    color: #e4bd75;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ORDER CONFIRMATION */

.receipt-confirmation {
    padding: 30px 20px;
    text-align: center;
    background: #e9dcc1;
    border-bottom: 1px solid #c6a56b;
}

.success-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;
    border: 2px solid #b58b45;
    border-radius: 50%;
    background: #302317;
    color: #e4bd75;
    font-size: 30px;
    font-weight: bold;
}

.receipt-confirmation h2 {
    margin: 8px 0;
    color: #49351e;
    font-family: Georgia, serif;
    font-size: 25px;
}

.receipt-confirmation p,
.receipt-confirmation span {
    color: #725b3c;
    font-size: 14px;
}

/* ORDER NUMBER AND DATE */

.receipt-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px;
}

.receipt-info-box {
    padding: 15px;
    border: 1px solid #bd914b;
    border-radius: 10px;
    background: #e9dcc1;
}

.receipt-info-box span {
    display: block;
    margin-bottom: 7px;
    color: #876634;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.receipt-info-box strong {
    color: #382819;
    font-size: 13px;
    overflow-wrap: anywhere;
}

/* CUSTOMER DETAILS AND ORDER */

.receipt-customer,
.receipt-order {
    margin: 22px;
    padding: 20px;
    border: 1px solid #c6a56b;
    border-radius: 12px;
    background: #f8efdf;
}

.receipt-customer h3,
.receipt-order h3 {
    padding-bottom: 12px;
    margin: 0 0 15px;
    border-bottom: 1px solid #c6a56b;
    color: #755126;
    font-family: Georgia, serif;
    font-size: 19px;
}

.receipt-customer p {
    margin: 11px 0;
    color: #49351e;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.receipt-customer strong {
    color: #755126;
}

/* ORDERED FOOD */

.receipt-items-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dashed #c6a56b;
    color: #382819;
}

.receipt-item:last-child {
    border-bottom: none;
}

.receipt-item-details strong {
    font-size: 14px;
}

.receipt-item-details p {
    margin: 5px 0 0;
    color: #806742;
    font-size: 12px;
}

/* TOTAL AMOUNT */

.receipt-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 22px;
    padding: 22px;
    border: 1px solid #bd914b;
    border-radius: 12px;
    background: linear-gradient(135deg, #211a12, #49351e);
}

.receipt-grand-total span {
    color: #e4bd75;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.receipt-grand-total strong {
    color: #f1cf8b;
    font-size: 24px;
}

/* THANK YOU SECTION */

.receipt-thank-you {
    margin: 22px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid #bd914b;
    border-radius: 12px;
    background: #e9dcc1;
}

.receipt-thank-you h3 {
    color: #49351e;
    font-family: Georgia, serif;
    font-size: 21px;
}

.receipt-thank-you p {
    color: #725b3c;
    font-size: 13px;
}

.receipt-thank-you span {
    display: block;
    margin-top: 15px;
    color: #926c32;
    font-weight: bold;
    letter-spacing: 1px;
}

/* RECEIPT BUTTONS */

.receipt-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 10px 10px;
    flex-wrap: wrap;
}

#order-receipt #print-receipt,
#order-receipt #back-to-menu {
    padding: 13px 25px;
    border: 1px solid #d5ad67;
    border-radius: 30px;
    background: #bd914b;
    color: #211a12;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s ease;
}

#order-receipt #print-receipt:hover,
#order-receipt #back-to-menu:hover {
    background: #e4bd75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(189, 145, 75, 0.25);
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 600px) {

    #order-receipt {
        padding: 20px 10px;
    }

    #order-receipt .receipt-card {
        padding: 7px;
    }

    .receipt-header h1 {
        font-size: 26px;
    }

    .receipt-meta {
        grid-template-columns: 1fr;
        margin: 14px;
    }

    .receipt-customer,
    .receipt-order,
    .receipt-thank-you {
        margin: 14px;
        padding: 15px;
    }

    .receipt-grand-total {
        margin: 14px;
        padding: 16px;
    }

    .receipt-grand-total strong {
        font-size: 20px;
    }

    .receipt-item {
        font-size: 12px;
    }
}

/* PROFESSIONAL PRINT LAYOUT */

@media print {

    body * {
        visibility: hidden !important;
    }

    #order-receipt,
    #order-receipt * {
        visibility: visible !important;
    }

    #order-receipt {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
        background: white !important;
    }

    #order-receipt .receipt-card {
        max-width: 100%;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: white;
    }

    #receipt-details {
        border: 1px solid #bd914b;
        border-radius: 0;
    }

    .receipt-actions,
    #back-to-menu,
    #print-receipt {
        display: none !important;
    }

    .receipt-header,
    .receipt-confirmation,
    .receipt-grand-total {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    @page {
        size: A4;
        margin: 12mm;
    }
}

/* =========================================
   HUSSEIN'S KITCHEN - MOBILE RESPONSIVENESS
   ========================================= */

@media screen and (max-width: 768px) {

    /* Prevent horizontal scrolling */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    /* Navigation */
    nav,
    .navbar {
        width: 100%;
        padding: 15px 12px;
    }

    nav ul,
    .nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0;
        margin: 12px 0;
    }

    nav a,
    .nav-links a {
        font-size: 14px;
    }

    /* Main sections */
    section,
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Food menu */
    .menu-grid,
    .food-grid,
    .menu-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        width: 100%;
    }

    /* Food cards */
    .food-card,
    .menu-item,
    .food-item {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 16px;
    }

    .food-card img,
    .menu-item img,
    .food-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

    /* Food card content */
    .food-card button,
    .menu-item button,
    .food-item button {
        max-width: 100%;
    }

    /* Cart */
    #cart,
    .cart-section,
    .shopping-cart {
        width: 100%;
        max-width: 100%;
        margin: 25px auto;
        padding: 16px;
        border-radius: 16px;
    }

    #cart-items {
        width: 100%;
        overflow-wrap: anywhere;
    }

    /* Checkout */
    #checkout-form,
    .checkout-section {
        width: 100%;
        max-width: 100%;
        padding: 16px;
    }

    #checkout-form input,
    #checkout-form textarea,
    #checkout-form select {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
    }

    #checkout-form button {
        width: 100%;
        margin-top: 12px;
    }

    /* Cart notification */
    #cart-notification,
    .cart-notification {
        max-width: calc(100% - 30px);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        font-size: 14px;
        text-align: center;
        z-index: 1000;
    }

    /* Receipt */
    #order-receipt {
        width: 100%;
        padding: 12px;
    }

    #order-receipt .receipt-card {
        width: 100%;
        max-width: 100%;
        padding: 12px;
    }

    #receipt-details {
        width: 100%;
        overflow-wrap: anywhere;
    }

    .receipt-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .receipt-actions button {
        width: 100%;
    }
}

/* Extra-small phones */
@media screen and (max-width: 400px) {

    nav a,
    .nav-links a {
        font-size: 13px;
    }

    .food-card img,
    .menu-item img,
    .food-item img {
        height: 220px;
    }

    #cart,
    .cart-section,
    .shopping-cart {
        padding: 12px;
    }
}

/* =========================================
   HUSSEIN'S KITCHEN
   PREMIUM MOBILE SHOPPING CART
========================================= */

@media screen and (max-width: 768px) {

    /* Shopping cart container */
    #cart,
    .cart-section,
    .shopping-cart {
        padding: 20px 15px;
        margin: 25px auto;
        border: 1px solid #e8c99a;
        border-radius: 20px;
        background: #fffaf3;
        box-shadow: 0 8px 25px rgba(60, 35, 15, 0.09);
    }

    /* Cart heading */
    #cart h2,
    .cart-section h2,
    .shopping-cart h2 {
        font-size: 23px;
        margin-bottom: 20px;
        color: #382014;
    }

    /* Cart items area */
    #cart-items {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    /* Individual cart item */
    #cart-items .cart-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 16px 12px;
        background: #ffffff;
        border: 1px solid #f0dfc8;
        border-radius: 14px;
        box-shadow: 0 3px 10px rgba(40, 24, 15, 0.04);
    }

    /* Food name and price */
    #cart-items .cart-product-info {
        flex: 1 1 100%;
        min-width: 0;
    }

    #cart-items .cart-product-info strong {
        color: #382014;
        font-size: 16px;
    }

    #cart-items .cart-product-info p {
        margin: 5px 0;
        color: #806b5a;
        font-size: 14px;
    }

    /* Quantity controls */
    #cart-items .quantity-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 5px;
        background: #fff5e8;
        border-radius: 30px;
    }

    #cart-items .quantity-controls button {
        width: 34px;
        height: 34px;
        border: none;
        border-radius: 50%;
        background: #ed791f;
        color: white;
        font-size: 20px;
        font-weight: bold;
        cursor: pointer;
    }

    #cart-items .quantity-controls span {
        min-width: 20px;
        text-align: center;
        color: #382014;
        font-weight: bold;
    }

    /* Item subtotal */
    #cart-items .cart-item > strong {
        color: #603014;
        font-size: 15px;
    }

    /* Remove button */
    #cart-items .remove-item {
        border: none;
        background: #fff0ed;
        color: #bd4938;
        padding: 9px 13px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
    }

    /* Cart total */
    #cart-total {
        color: #c95710;
        font-size: 23px;
        font-weight: 800;
    }

    /* Clear cart button */
    #clear-cart {
        margin-top: 15px;
        padding: 11px 17px;
        border: 1px solid #d9a36b;
        border-radius: 10px;
        background: #fff4e5;
        color: #9b451b;
        font-weight: 600;
    }

}

/* Smaller phones */
@media screen and (max-width: 400px) {

    #cart,
    .cart-section,
    .shopping-cart {
        padding: 15px 11px;
    }

    #cart-items .cart-item {
        padding: 13px 10px;
    }

    #cart-items .quantity-controls {
        gap: 8px;
    }

}
.quantity-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 0;
}/* FIX GREEN CART NOTIFICATION OVERLAP */

#cart-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    left: auto;
    z-index: 9999;
    max-width: 280px;
    width: fit-content;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}

/* Mobile positioning */
@media (max-width: 600px) {
    #cart-notification {
        top: 75px;
        right: 12px;
        left: 12px;
        max-width: none;
        width: auto;
        text-align: center;
    }
}

/* =========================================
   HUSSEIN'S KITCHEN
   FINAL NOTIFICATION AND CART BUTTON FIX
========================================= */

/* Green cart notification:
   Stays in normal document flow instead
   of floating over the screen while scrolling. */

#cart-notification,
.cart-notification {
    position: static !important;
    display: block;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 12px auto;
    padding: 9px 14px;
    background: #168b49;
    color: #ffffff;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transform: none !important;
    z-index: auto;
}

/* Keep notification hidden when JavaScript hides it */
#cart-notification[hidden] {
    display: none !important;
}

/* Centre the orange quantity symbols */
#cart-items .quantity-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 0;
}

/* Mobile adjustments */
@media screen and (max-width: 600px) {
    #cart-notification,
    .cart-notification {
        max-width: calc(100% - 30px);
        padding: 8px 12px;
        font-size: 12px;
        margin: 10px auto;
    }

    #cart-items .quantity-controls button {
        width: 34px;
        height: 34px;
    }
}

/* =========================================
   HUSSEIN'S KITCHEN
   CLEAN CART NOTIFICATION FIX
========================================= */

#cart-notification,
.cart-notification {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: fit-content;
    max-width: calc(100% - 30px);
    margin: 12px auto;
    padding: 9px 15px;

    background: #168b49;
    color: #ffffff;
    border-radius: 9px;

    font-size: 13px;
    line-height: 1.5;
    text-align: center;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transform: none !important;
    z-index: auto;
}

/* Hide the empty notification until JavaScript displays a message */
#cart-notification:empty,
#cart-notification[hidden] {
    display: none !important;
}

/* Keep quantity symbols centred */
#cart-items .quantity-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 0;
}

/* Mobile notification adjustments */
@media screen and (max-width: 600px) {
    #cart-notification,
    .cart-notification {
        max-width: calc(100% - 30px);
        padding: 8px 12px;
        font-size: 12px;
    }

    #cart-items .quantity-controls button {
        width: 34px;
        height: 34px;
    }
}

/* =========================================
   HUSSEIN'S KITCHEN
   CART NOTIFICATION FIX
========================================= */

#cart-notification {
    position: fixed !important;
    top: 90px !important;
    right: 20px !important;
    left: auto !important;

    width: fit-content !important;
    max-width: calc(100% - 40px) !important;

    padding: 14px 22px !important;

    background: #168b49 !important;
    color: #ffffff !important;

    border-radius: 10px !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2) !important;

    z-index: 99999 !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease;
}

#cart-notification.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
}

#cart-notification[hidden] {
    display: none;
}

@media (max-width: 600px) {
    #cart-notification {
        top: 75px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        text-align: center;
        width: max-content !important;
    }
}

/* =====================================
   HUSSEIN'S KITCHEN
   PREMIUM CART NOTIFICATIONS
===================================== */

.cart-notification {
    position: fixed;
    top: 100px;
    right: 25px;
    z-index: 99999;

    max-width: 350px;
    min-width: 260px;

    padding: 16px 22px;

    background: #168b49;
    color: #ffffff;

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

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

    font-size: 15px;
    font-weight: 600;
    text-align: center;

    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.cart-notification[hidden] {
    display: none !important;
}

.cart-notification.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .cart-notification {
        top: 85px;
        right: 12px;
        left: 12px;
        min-width: unset;
        max-width: none;
        width: auto;
    }
}
/* ADD TO CART SUCCESS STATE */

.add-to-cart.added-to-cart {
    background: #168b49;
    color: #ffffff;
    border-color: #168b49;
    transition: background 0.3s ease;
}

/* =========================================
   HUSSEIN'S KITCHEN
   MOBILE VIEW REFINEMENT ONLY
   Original desktop design preserved
========================================= */

@media screen and (max-width: 768px) {

    /* Prevent horizontal scrolling */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Navigation */
    .navbar {
        width: 100%;
        padding: 13px 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .logo {
        justify-content: center;
        width: 100%;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    /* Hero */
    .hero {
        min-height: 400px;
        padding: 50px 22px;
        background-position: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 43px);
    }

    .hero-description {
        font-size: 16px;
    }

    /* Menu */
    .menu-section {
        padding: 45px 16px;
    }

    .food-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .food-card {
        width: 100%;
        min-width: 0;
    }

    /* Preserve original food images */
    .food-image {
        height: 250px;
    }

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

    .food-details {
        padding: 20px;
    }

    .food-details p {
        min-height: auto;
    }

    /* Cart */
    #cart.cart-section {
        width: calc(100% - 24px);
        max-width: 950px;
        margin: 25px auto;
        padding: 18px 13px;
    }

    #cart-items {
        width: 100%;
        padding: 12px;
    }

    #cart-items .cart-item {
        width: 100%;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    #cart-items .cart-product-info {
        flex: 1 1 100%;
        min-width: 0;
    }

    #cart-items .quantity-controls {
        justify-content: center;
        gap: 10px;
    }

    #cart-items .quantity-controls button {
        display: inline-flex;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        line-height: 1;
    }

    #cart-total {
        max-width: 100%;
        font-size: 21px;
    }

    /* Checkout */
    .checkout-section {
        padding: 40px 13px;
    }

    .checkout-card {
        width: 100%;
        padding: 22px 16px;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        min-width: 0;
        font-size: 16px;
    }

    /* Receipt */
    #order-receipt {
        width: 100%;
        padding: 20px 10px;
    }

    #order-receipt .receipt-card {
        width: 100%;
        padding: 8px;
    }

    #receipt-details {
        width: 100%;
        overflow-wrap: anywhere;
    }

    .receipt-meta {
        grid-template-columns: 1fr;
        margin: 14px;
    }

    .receipt-customer,
    .receipt-order,
    .receipt-thank-you {
        margin: 14px;
        padding: 14px;
    }

    .receipt-grand-total {
        margin: 14px;
        padding: 15px;
        gap: 8px;
    }

    .receipt-grand-total strong {
        font-size: 20px;
    }

    .receipt-item {
        gap: 8px;
        flex-wrap: wrap;
    }

    .receipt-actions {
        flex-direction: column;
        gap: 10px;
    }

    #order-receipt #print-receipt,
    #order-receipt #back-to-menu {
        width: 100%;
    }

    /* About */
    .about-section {
        padding: 45px 18px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .about-features {
        gap: 15px;
    }

    /* Notification remains in normal page flow */
    #cart-notification,
    .cart-notification {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: fit-content;
        max-width: calc(100% - 24px);
        min-width: 0;
        margin: 12px auto;
    }

    #cart-notification[hidden],
    .cart-notification[hidden] {
        display: none !important;
    }
}

/* Smaller phones */
@media screen and (max-width: 400px) {

    .nav-links {
        gap: 10px 13px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero {
        padding: 40px 16px;
    }

    .food-image {
        height: 220px;
    }

    .food-details {
        padding: 16px;
    }

    .food-bottom {
        gap: 8px;
    }

    #cart.cart-section {
        width: calc(100% - 18px);
        padding: 14px 10px;
    }

    #cart-items {
        padding: 9px;
    }

    .receipt-header h1 {
        font-size: 24px;
    }

    .receipt-grand-total {
        font-size: 15px;
    }
}

/* WINNIE'S KITCHEN â€” MENU CATEGORY LAYOUT REPAIR */
.food-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 22px !important;
}

.menu-category-section {
    display: block;
    width: 100%;
    min-width: 0;
    background: #fffaf3;
    border: 1px solid #ead5c2;
    border-radius: 12px;
    overflow: hidden;
}

.menu-category-heading {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 18px;
    background: #790d16;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
}

.menu-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    padding: 16px;
    align-items: stretch;
}

.menu-category-grid .food-card {
    min-width: 0;
    border: 1px solid #ead9c9;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(65,36,12,.07);
}

.menu-category-grid .food-image {
    height: 155px;
    background: #f5eadc;
}

.menu-category-grid .food-details {
    padding: 12px;
}

.menu-category-grid .food-details h3 {
    font-size: 15px;
    line-height: 1.35;
}

.menu-category-grid .food-details p {
    min-height: 0;
    font-size: 12px;
}

.menu-category-grid .food-bottom {
    flex-wrap: wrap;
    margin-top: 12px;
}

.menu-category-grid .add-to-cart {
    width: 100%;
}

@media (max-width: 1200px) {
    .menu-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .menu-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .menu-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
    }

    .menu-category-grid .food-image {
        height: 125px;
    }

    .menu-category-heading {
        font-size: 18px;
    }
}


/* WINNIE'S KITCHEN — DESKTOP MENU IMAGE POLISH */
@media screen and (min-width: 801px) {
    .menu-category-grid .food-image {
        height: 205px;
        overflow: hidden;
    }

    .menu-category-grid .food-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}


/* DESKTOP FOOD IMAGE ZOOM */
@media screen and (min-width: 801px) {
    .menu-category-grid .food-image img {
        transform: scale(1.12);
        transform-origin: center;
    }

    .menu-category-grid .food-card:hover .food-image img {
        transform: scale(1.18);
    }
}


/* STRONGER DESKTOP FOOD IMAGE ZOOM */
@media screen and (min-width: 801px) {
    .menu-category-grid .food-image img {
        transform: scale(1.25) !important;
        transform-origin: center center;
    }

    .menu-category-grid .food-card:hover .food-image img {
        transform: scale(1.30) !important;
    }
}
