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

html,
body{
    width:100%;
    min-height:100%;
    margin:0;
    padding:0;
    overflow-x:hidden;
    overflow-y:auto;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f8f3ed;
    color:#2f2118;
}

/* Hero */
.hero{
    min-height:760px;
    padding:0 0 48px;
    position:relative;
    background:#f8f3ed;
}

/* Navbar */
.navbar{
    width:100%;
    max-width:none;
    height:78px;
    margin:0;
    padding:0 40px;

    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    column-gap:24px;

    background:transparent;
}

.brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    height:100%;
}

.brand img{
    width:48px;
    height:48px;
    display:block;
    object-fit:contain;
    padding:4px;

    background:#ffffff;
    border:1px solid #dbc7b4;
    border-radius:8px;
}

.brand h2{
    margin:0;
    color:#2f2118;
    font-size:23px;
    font-weight:900;
    white-space:nowrap;
}

.nav-links{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:30px;
}

.nav-links a{
    color:#2f2118;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    transition:.2s ease;
}

.login-btn{
    color:#3e2c20;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    transition:.2s ease;
}

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

.login-btn:hover{
    color:#8b5e3c;
}

.nav-buttons{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

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

.nav-buttons a{
    color:#2f2118;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    transition:.2s ease;
}

.nav-buttons a:hover{
    color:#8b5e3c;
}

.login-text-link{
    padding-left:16px;
    border-left:1px solid rgba(47,33,24,.25);
}

.login-btn{
    padding:9px 15px;
    background:#ffffff;
    border:1px solid #d8c6b6;
    border-radius:7px;
}

.register-btn{
    padding:10px 17px;
    border-radius:7px;

    background:#8b5e3c;
    color:#ffffff;
    text-decoration:none;

    font-size:14px;
    font-weight:800;
    transition:.2s ease;
}

.register-btn:hover{
    background:#70472c;
}

/* Hero Content */
.hero-content{
    width:100%;
    max-width:1440px;
    min-height:470px;
    margin:0 auto;
    padding:82px 36px 70px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    color:#2f2118;
}

.small-title{
    margin-bottom:14px;

    color:#8b5e3c;
    font-size:13px;
    font-weight:900;
    letter-spacing:4px;
    text-transform:uppercase;
    text-shadow:none;
}

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

    font-family:Arial, Helvetica, sans-serif;
    font-size:52px;
    line-height:1.1;
    color:#2f2118;
    font-weight:900;
}

.divider{
    display:none;
}

.description{
    width:100%;
    max-width:510px;
    margin-bottom:30px;

    color:#59483d;
    font-size:16px;
    line-height:1.75;
}

.hero-buttons{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:46px;
    padding:13px 24px;
    border-radius:7px;

    text-decoration:none;
    font-size:14px;
    font-weight:800;

    transition:.2s ease;
}

.primary-btn{
    background:#8b5e3c;
    color:#ffffff;
    border:1px solid #8b5e3c;
}

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

.secondary-btn{
    background:#ffffff;
    color:#4a3527;
    border:1px solid #d8c6b6;
}

.secondary-btn:hover{
    border-color:#8b5e3c;
    color:#8b5e3c;
}

/* Feature Cards */
.features{
    width:100%;
    max-width:1350px;
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.feature-card{
    min-height:150px;
    padding:25px 24px;

    background:#ffffff;
    border:1px solid #eadfd5;
    border-radius:7px;

    box-shadow:0 7px 20px rgba(73,49,32,.06);
}

.feature-card h3{
    margin-bottom:9px;

    color:#35251b;
    font-size:17px;
    font-weight:900;
}

.feature-card p{
    color:#625147;
    font-size:13px;
    line-height:1.65;
}

/* Login Page */
.login-container{
    min-height:100vh;
    padding:50px 20px;

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

    background:#f8f3ed;
}

.login-card{
    width:500px;
    max-width:90%;
    min-height:555px;

    background:#ffffff;
    border:1px solid #e6d8ca;
    border-radius:18px;

    padding:40px;

    text-align:center;

    box-shadow:0 12px 30px rgba(73,49,32,.12);
}

.login-logo{
    width:62px;
    height:62px;

    object-fit:contain;

    background:#ffffff;
    border:2px solid #d8c6b6;
    border-radius:10px;

    padding:8px;
    margin:0 auto 18px;

    display:block;
}

.login-card h2{
    color:#2f2118;
    font-size:42px;
    font-weight:800;
    margin-bottom:8px;
}

.login-card p{
    color:#6d5544;
    margin-bottom:28px;
    font-size:15px;
}

.login-card input{
    width:100%;
    height:48px;

    padding:0 15px;
    margin-bottom:15px;

    border:1px solid #d8c6b6;
    border-radius:7px;

    background:#ffffff;
    color:#2f2118;

    font-size:15px;

    transition:.2s;
}

.login-card input:focus{
    outline:none;
    border-color:#8b5e3c;
    box-shadow:0 0 0 3px rgba(139,94,60,.12);
}

.login-card button{
    width:100%;
    height:48px;

    border:none;
    border-radius:7px;

    background:#8b5e3c;
    color:#ffffff;

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

    cursor:pointer;

    transition:.2s;
}

.login-card button:hover{
    background:#70472c;
}

.login-card a{
    color:#8b5e3c;
    text-decoration:none;
    font-weight:700;
}

.login-card a:hover{
    text-decoration:underline;
}

/* Menu Page */
.menu-page{
    min-height:100vh;
    background:#f8f3ed;
    padding:0;
}

.menu-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.menu-top h1{
    color:white;
    font-size:42px;
}

.menu-top p{
    color:#8B5E3C;
    margin-top:8px;
    font-size:17px;
}

.back-btn{
    text-decoration:none;
    background:#8B5E3C;
    color:#3A2A1D;
    padding:14px 22px;
    border-radius:10px;
    font-weight:800;
}

.menu-tabs{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin:25px 0 20px;
}

.menu-tabs a{
    text-decoration:none;
    background:rgba(45,38,32,0.90);
    border:1px solid rgba(217,168,95,0.55);
    color:#fff;
    padding:14px 25px;
    border-radius:10px;
    font-weight:800;
    transition:0.3s;
}

.menu-tabs a:hover{
    background:rgba(70,58,48,0.95);
}

.menu-section{
    margin-top:35px;
}

.menu-category{
    margin-bottom:45px;
}

.menu-category h2{
    color:#8B5E3C;
    font-size:32px;
    margin-top:25px;
    margin-bottom:20px;
}

.menu-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:34px;
    margin-bottom:0;
}

.menu-card{
    background:rgba(10,8,6,0.88);
    border:1px solid rgba(217,168,95,0.35);
    border-radius:18px;
    overflow:hidden;
}

.menu-image{
    height:230px;
    background:rgba(255,255,255,0.10);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#8B5E3C;
    font-size:20px;
    font-weight:700;
}

.menu-card p{
    color:white;
    font-size:20px;
    margin:0 28px 22px;
}

.menu-card button{
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;

    border:none;
    border-radius:10px;

    background:#C89B6D;
    color:#111;

    width:auto;
    min-width:140px;

    cursor:pointer;
}

.menu-card button:hover{
    background:#C89B6D;
}

.option-heading{
    color:#8B5E3C;
    margin:15px 0 8px;
    font-size:16px;
}

/* Modal */
.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.78);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-box{
    width:500px;
    max-width:90%;
    background:#120d0c;
    border:1px solid rgba(217,168,95,0.40);
    border-radius:18px;
    padding:28px;
    color:white;
}

.close-btn{
    float:right;
    background:none;
    border:none;
    color:white;
    font-size:28px;
    cursor:pointer;
}

.modal-subtitle{
    color:#d9c8b6;
    margin:8px 0 18px;
}

.size-option{
    display:block;
    background:rgba(255,255,255,0.08);
    padding:14px;
    border-radius:10px;
    margin-bottom:10px;
    cursor:pointer;
}

.size-option input{
    margin-right:10px;
}

.add-cart-btn{
    width:100%;
    margin-top:16px;
    padding:14px;
    background:#8B5E3C;
    color:#3A2A1D;
    border:none;
    border-radius:10px;
    font-weight:800;
    cursor:pointer;
}

/* System Navbar */
.system-navbar{
    width:100%;
    height:78px;

    margin:0;
    padding:0 40px;
    box-sizing:border-box;

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

    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:9999;

    background:linear-gradient(
        90deg,
        #5a3019 0%,
        #744522 55%,
        #5a3019 100%
    );

    border-bottom:1px solid #8f603b;
    box-shadow:0 3px 12px rgba(55,28,12,.18);

    font-family:Arial, Helvetica, sans-serif;
}

.system-navbar-spacer{
    width:100%;
    height:78px;
    flex-shrink:0;
}

.system-brand{
    display:flex;
    align-items:center;
    gap:16px;
    height:100%;
}

.system-brand img{
    width:55px;
    height:55px;
    object-fit:contain;
    background:white;
    border-radius:10px;
    padding:5px;
    box-sizing:border-box;
    display:block;
}

.system-brand h2{
    color:white;
    font-family:Arial, Helvetica, sans-serif;
    font-size:24px;
    margin:0;
    font-weight:900;
    line-height:1;
}

.system-links{
    display:flex;
    align-items:center;
    gap:28px;
    margin-left:auto;
    margin-right:0;
}

.system-links a{
    color:white;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration:none;
    font-size:16px;
    font-weight:800;
    line-height:1;
}

.system-links a:hover{
    color:#e8c7a7;
}

/* Centered Menu Header */
.centered-menu{
    display:flex;
    justify-content:center;
    text-align:center;
    margin-bottom:40px;
}

.centered-menu h1{
    font-size:48px;
    color:white;
    margin-bottom:10px;
    font-weight:700;
}

.centered-menu p{
    color:#8B5E3C;
    font-size:18px;
}

/* Customer Dashboard Final */
.customer-dashboard{
    min-height:100vh;
    background:#f8f3ed;

    display:flex;
    flex-direction:column;
}

.customer-dashboard .system-navbar{
    margin:0;
}

.customer-hero-area{
    padding:44px 60px;

    background:#f8f3ed;

    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:40px;
}

.dashboard-hero{
    flex:1 1 380px;
    max-width:640px;
    color:#2f2118;
}

.dashboard-hero h1{
    font-family: Georgia, serif;
    font-size:50px;
    font-weight:700;
    line-height:1.1;
    color:#2f2118;
}

.dashboard-hero .description{
    max-width:560px;
    color:#59483d;
    font-size:16px;
    line-height:1.6;
}

.dashboard-hero .small-title{
    color:#8b5e3c;
    font-size:14px;
    letter-spacing:7px;
}

.dashboard-hero .hero-buttons{
    display:flex;
    gap:18px;
}

.quick-card-grid{
    flex:0 0 auto;
    width:420px;
    max-width:100%;

    display:flex;
    flex-direction:column;
    gap:10px;
}

.quick-card{
    display:flex;
    align-items:center;
    gap:12px;

    padding:16px;

    background:#ffffff;
    border:1px solid #e5d4c4;
    border-radius:14px;
    box-shadow:0 6px 16px rgba(73,49,32,.07);

    text-decoration:none;
    color:inherit;

    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.quick-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 22px rgba(73,49,32,.13);
    border-color:#c89b6d;
}

.quick-card-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;

    width:38px;
    height:38px;

    background:#f3e5d7;
    color:#8b5e3c;
    border-radius:10px;

    font-size:16px;
}

.quick-card-text{
    min-width:0;
}

.quick-card-text h4{
    margin:0 0 2px;
    font-size:14.5px;
    font-weight:900;
    color:#2f2118;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.quick-card-text p{
    margin:0;
    font-size:11.5px;
    color:#6b5b52;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.customer-section{
    background:#f8f3ed;
    padding:70px 70px 90px;
}

.customer-section h2{
    color:#2f2118;
    text-align:center;
    font-size:36px;
    font-weight:800;
    margin-bottom:35px;
}

.customer-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

.customer-card{
    position:relative;

    display:flex;
    align-items:flex-start;
    gap:14px;

    background:#ffffff;
    border:1px solid #e5d4c4;
    border-radius:14px;

    padding:16px 18px;

    box-shadow:0 6px 16px rgba(73,49,32,.07);

    transition:.25s ease;
}

.customer-card .customer-card-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;

    width:34px;
    height:34px;

    background:#f3e5d7;
    color:#8b5e3c;
    border-radius:9px;

    font-size:14px;
}

.customer-card:hover{
    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(73,49,32,.12);

    border-color:#c89b6d;

    cursor:pointer;
}

.customer-card-body{
    flex:1;
    min-width:0;
}

.customer-card h3{
    color:#2f2118;
    font-size:15.5px;
    font-weight:900;
    margin-bottom:3px;
}

.customer-card p{
    color:#59483d;
    font-size:12.5px;
    line-height:1.4;
    margin-bottom:8px;
}

.customer-card a{
    display:inline-flex;
    align-items:center;
    gap:6px;

    padding:6px 14px;

    background:#8b5e3c;
    color:#ffffff;

    border-radius:999px;

    text-decoration:none;

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

    transition:.2s ease;
}
.customer-card a:hover{
    background:#70472c;
    transform:translateX(2px);
}

/* Responsive */
@media(max-width:1000px){
    .navbar{
        display:flex;
        flex-direction:column;
        height:auto;
        gap:18px;
        padding:22px;
    }

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

    .nav-buttons{
        justify-content:center;
        flex-wrap:wrap;
        gap:20px;
    }

    .nav-buttons-links{
        flex-wrap:wrap;
        justify-content:center;
    }

    .login-text-link{
        border-left:none;
        padding-left:0;
    }
    .hero-content{
        margin-left:25px;
        margin-right:25px;
    }

    .hero-content h1{
        font-size:58px;
    }

    .features{
        position:static;
        margin:55px 25px 0;
        grid-template-columns:1fr;
    }

    .menu-page{
        padding:25px;
    }

    .menu-top{
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
    }

    .menu-grid,
    .customer-grid{
        grid-template-columns:1fr;
    }

    .system-navbar{
        height:auto;
        flex-direction:column;
        gap:18px;
        padding:18px 25px;
    }

    .system-navbar-spacer{
        height:120px;
    }

    .system-links{
        margin:0;
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }

    .dashboard-hero{
        margin-left:0;
        margin-right:0;
    }

    .dashboard-hero h1{
        font-size:48px;
    }

    .customer-hero-area{
        padding:40px 25px;
    }

    .quick-card-grid{
        width:100%;
    }

    .customer-section{
        padding:70px 70px 60px;
    }
}

/* Menu card spacing like reference */
.menu-grid{
    max-width:1300px;
    margin:0 auto;
    gap:32px;
}

.menu-card{
    min-height:520px;
}

.menu-image{
    height:240px;
    background:#2b2926;
    border-radius:0;
}

.menu-card-img{
    width:100%;
    height:240px;
    object-fit:cover;
    object-position:center;
    display:block;
}

.menu-card h3{
    color:#8B5E3C;
    font-size:22px;
    margin:28px 28px 12px;
}

.menu-tag{
    display:inline-block;
    background:#C89B6D;
    color:#3A2A1D;
    font-size:13px;
    font-weight:800;
    padding:6px 14px;
    border-radius:20px;
    margin:0 28px 14px;
}

.menu-card p{
    color:white;
    font-size:18px;
    margin:0 28px 14px;
}

.menu-card .menu-desc{
    color:#ddd;
    font-size:14px;
    line-height:1.5;
    margin:0 28px 16px;
}

/* Cart Page */
.cart-page{
    min-height:calc(100vh - 78px);
    padding:48px 70px 80px;
    background:#f8f3ed;
    color:#2f2118;
}

.cart-page h1{
    margin:0 0 10px;
    text-align:center;
    color:#2f2118;
    font-size:52px;
    font-weight:900;
    line-height:1.1;
}

.cart-page > p{
    max-width:680px;
    margin:0 auto 34px;
    text-align:center;
    color:#6b5b52;
    font-size:18px;
    line-height:1.6;
}

.cart-box{
    width:100%;
    max-width:1100px;
    min-height:355px;
    margin:0 auto;
    padding:42px;
    background:#ffffff;
    border:1px solid #e5d4c4;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(73,49,32,.12);
}

.cart-empty{
    min-height:270px;
    padding:48px 20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.cart-empty h2{
    margin-bottom:12px;
    color:#2f2118;
    font-size:32px;
    font-weight:900;
    line-height:1.2;
}

.cart-empty p{
    max-width:520px;
    margin-bottom:25px;
    color:#6b5b52;
    font-size:17px;
    line-height:1.6;
}

.cart-empty a{
    display:inline-flex;
    min-height:46px;
    padding:13px 26px;
    align-items:center;
    justify-content:center;
    background:#8b5e3c;
    border:1px solid #8b5e3c;
    border-radius:12px;
    color:#ffffff;
    font-size:15px;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 7px 16px rgba(73,49,32,.14);
    transition:background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cart-empty a:hover{
    background:#70472c;
    border-color:#70472c;
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(73,49,32,.18);
}

/* Cart Items */
.cart-items{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.cart-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:22px;
    background:#ffffff;
    border:1px solid #e5d4c4;
    border-radius:16px;
    box-shadow:0 7px 18px rgba(73,49,32,.07);
}

.cart-img{
    width:120px;
    height:120px;
    flex-shrink:0;
    overflow:hidden;
    background:#f1e7de;
    border:1px solid #e5d4c4;
    border-radius:14px;
}

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

.cart-item-details{
    flex:1;
    min-width:0;
}

.cart-item-details h3{
    margin-bottom:8px;
    color:#2f2118;
    font-size:25px;
    font-weight:900;
}

.cart-item-details p{
    margin-bottom:7px;
    color:#6b5b52;
    font-size:15px;
    line-height:1.5;
}

.cart-actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:15px;
}

.cart-actions button{
    width:36px;
    height:36px;
    border:1px solid #8b5e3c;
    border-radius:10px;
    background:#8b5e3c;
    color:#ffffff;
    font-size:17px;
    font-weight:900;
    cursor:pointer;
    transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.cart-actions button:hover{
    background:#70472c;
    border-color:#70472c;
    transform:translateY(-1px);
}

.cart-actions span{
    min-width:28px;
    color:#2f2118;
    font-size:17px;
    font-weight:900;
    text-align:center;
}

.remove-btn{
    padding:12px 18px;
    border:1px solid #c94a4a;
    border-radius:10px;
    background:#ffffff;
    color:#b93636;
    font-size:14px;
    font-weight:800;
    cursor:pointer;
    transition:background .2s ease, color .2s ease, transform .2s ease;
}

.remove-btn:hover{
    background:#c94a4a;
    color:#ffffff;
    transform:translateY(-1px);
}

.cart-summary{
    margin-top:28px;
    padding:24px 26px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:#fbf7f3;
    border:1px solid #e5d4c4;
    border-radius:16px;
}

.cart-summary h2{
    color:#2f2118;
    font-size:28px;
    font-weight:900;
}

.cart-summary div{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:12px;
}

.cart-summary a,
.cart-summary button{
    min-height:44px;
    padding:12px 22px;
    border:1px solid #8b5e3c;
    border-radius:11px;
    background:#8b5e3c;
    color:#ffffff;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
    transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.cart-summary a:hover,
.cart-summary button:hover{
    background:#70472c;
    border-color:#70472c;
    transform:translateY(-1px);
}

.cart-image-soon{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f1e7de;
    color:#8b5e3c;
    font-size:14px;
    font-weight:800;
    text-align:center;
}

@media(max-width:800px){
    .cart-page{
        padding:38px 22px 60px;
    }

    .cart-page h1{
        font-size:40px;
    }

    .cart-page > p{
        font-size:16px;
        margin-bottom:26px;
    }

    .cart-box{
        padding:24px;
    }

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

    .cart-summary{
        align-items:flex-start;
        flex-direction:column;
    }

    .cart-summary div{
        width:100%;
        justify-content:flex-start;
    }
}

@media(max-width:520px){
    .cart-page{
        padding:32px 16px 50px;
    }

    .cart-page h1{
        font-size:34px;
    }

    .cart-box{
        min-height:320px;
        padding:18px;
        border-radius:16px;
    }

    .cart-empty{
        min-height:250px;
        padding:35px 10px;
    }

    .cart-empty h2{
        font-size:26px;
    }

    .cart-item{
        padding:16px;
    }

    .cart-img{
        width:100%;
        height:190px;
    }

    .remove-btn{
        width:100%;
    }

    .cart-summary a,
    .cart-summary button{
        width:100%;
        text-align:center;
    }
}

/* Checkout Page */

.checkout-page{
    padding:50px 70px;
    color:white;
}

.checkout-page h1{
    text-align:center;
    font-size:52px;
    margin-bottom:10px;
}

.checkout-page > p{
    text-align:center;
    color:#8B5E3C;
    margin-bottom:40px;
}

.checkout-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:35px;
}

.checkout-left,
.checkout-right{
    background:rgba(10,8,6,0.88);
    border:1px solid rgba(217,168,95,0.35);
    border-radius:18px;
    padding:30px;
}

.checkout-left h2,
.checkout-right h2{
    color:#8B5E3C;
    margin-bottom:18px;
}

.checkout-left input,
.checkout-left select{
    width:100%;
    padding:14px;
    margin-bottom:18px;
    border:none;
    border-radius:8px;
}

.checkout-item{
    padding:15px 0;
    border-bottom:1px solid rgba(255,255,255,0.10);
}

.checkout-item h4{
    color:#8B5E3C;
    margin-bottom:5px;
}

.checkout-total{
    margin-top:25px;
}

.checkout-total h3{
    color:white;
    font-size:28px;
}

.place-order-btn{
    width:220px;
    padding:14px 28px;
    display:block;
    margin-top:25px;
    border:none;
    border-radius:10px;
    background:#d9b382;
    color:#3A2A1D;
    font-weight:700;
    cursor:pointer;
}

.single-checkout{
    display:flex;
    justify-content:center;
}

.full-checkout{
    width:900px;
    max-width:100%;
}

.checkout-right select{
    width:100%;
    padding:14px;
    margin-top:10px;
    border:none;
    border-radius:8px;
}

.order-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.75);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.order-modal-box{
    width:520px;
    max-width:90%;
    background:#111;
    border:1px solid rgba(217,168,95,0.55);
    border-radius:16px;
    padding:32px;
    text-align:center;
    color:white;
    box-shadow:0 20px 50px rgba(0,0,0,0.5);
}

.order-modal-box h2{
    color:#8B5E3C;
    margin-bottom:15px;
}

.order-modal-box p{
    line-height:1.6;
    margin-bottom:25px;
}

.order-modal-buttons{
    display:flex;
    justify-content:center;
    gap:14px;
    margin-top:25px;
}

.order-modal-buttons button,
.order-modal-buttons a{
    min-width:170px;
    padding:12px 18px;

    background:#d9b382;
    color:#3A2A1D;

    border:none;
    border-radius:10px;

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

    text-decoration:none;
    text-align:center;

    cursor:pointer;
}

.order-modal-buttons button:hover,
.order-modal-buttons a:hover{
    background:#8B5E3C;
    transform:translateY(-2px);
}

.checkout-section-box select{
    width:100%;
    padding:15px 18px;
    border:none;
    border-radius:8px;
    font-size:16px;
    margin-bottom:25px;
}

.checkout-section-box{
    max-width:1050px;
    margin:0 auto 30px;
    background:rgba(18,12,10,0.88);
    border:1px solid rgba(217,168,95,0.25);
    border-radius:20px;
    padding:35px;
    backdrop-filter:blur(8px);
}

.checkout-section-box h2{
    color:#8B5E3C;
    margin-bottom:20px;
    font-size:2rem;
}

.checkout-total h3{
    color:#8B5E3C;
    font-size:2.2rem;
}

#paymentMethod{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#f5f1ec;
    color:#3A2A1D;
    font-size:16px;
    margin-top:10px;
    margin-bottom:25px;
}

.place-order-btn{
    width:auto;
    min-width:150px;
    padding:14px 28px;
    display:inline-block;
    margin-top:25px;
}

.checkout-section-box .place-order-btn{
    float:left;
}

.custom-alert{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.75);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.custom-alert-box{
    width:450px;
    max-width:90%;
    background:rgba(18,12,10,0.98);
    border:1px solid rgba(217,168,95,0.45);
    border-radius:18px;
    padding:30px;
    text-align:center;
}

.custom-alert-box h2{
    color:#8B5E3C;
    margin-bottom:15px;
}

.custom-alert-box p{
    color:white;
    line-height:1.6;
    margin-bottom:20px;
}

.custom-alert-box button{
    border:none;
    background:#C89B6D;
    color:#111;
    padding:12px 25px;
    border-radius:10px;
    font-weight:700;
    cursor:pointer;
}

.custom-alert-box button:hover{
    background:#8B5E3C;
}

/* Notification Badge */

.notification-link{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:36px !important;
    height:36px !important;
    padding:0 !important;
}

.notification-link i{
    font-size:20px !important;
    color:white !important;
    line-height:1 !important;
}

.notification-badge{
    position:absolute !important;
    top:-5px !important;
    right:-7px !important;

    min-width:20px !important;
    height:20px !important;
    padding:0 5px !important;

    border-radius:999px !important;
    background:#e63946 !important;
    color:white !important;

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

    font-size:11px !important;
    font-weight:900 !important;
    line-height:1 !important;

    border:2px solid #0a0806 !important;
}

.hidden-badge{
    display:none !important;
}

/* LOGIN LINKS */

.forgot-password-center{
    text-align:center;
    margin-top:15px;
}

.forgot-password-center a{
    color:#8B5E3C;
    text-decoration:none;
    font-size:15px;
}

.forgot-password-center a:hover{
    text-decoration:underline;
}

.register-link{
    text-align:center;
    margin-top:10px;
}

.register-link a{
    color:#8B5E3C;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
}

.register-link a:hover{
    text-decoration:underline;
}

.resend-link{
    color:#8B5E3C;
    text-decoration:none;
    font-weight:700;
}

.resend-link:hover{
    text-decoration:underline;
}

/* ERROR MESSAGE */

.error-message{
    background:#e53935;
    color:white;
    padding:12px;
    border-radius:8px;
    text-align:center;
    margin-bottom:15px;
    font-weight:700;
    font-size:14px;
}

/* OTP PAGE FIX */
.otp-boxes{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:22px 0;
}

.otp-input{
    width:42px !important;
    height:48px;
    padding:0 !important;

    text-align:center;
    font-size:22px;
    font-weight:800;

    border:none;
    border-radius:8px;

    background:white;
    color:#111;
}

.otp-input:focus{
    outline:2px solid #8B5E3C;
}

/* TERMS CHECKBOX */

.terms-check{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 0 18px;
    color:white;
    font-size:14px;
    text-align:left;
}

.terms-check input{
    width:auto !important;
    height:auto !important;
    margin:0 !important;
}

.terms-check label{
    color:#d9c8b6;
}

.terms-check a{
    color:#8B5E3C;
    text-decoration:none;
    font-weight:700;
}

.terms-check a:hover{
    text-decoration:underline;
}

/* CUSTOMER FOOTER */
.customer-footer{
    background:#f8f3ed;
    text-align:center;
    padding:30px 0 25px;
}

.customer-footer p{
    margin-bottom:14px;
    font-size:14px;
    color:#6d5544;
}

.footer-links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
}

.footer-links a{
    color:#744522;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    transition:.25s ease;
}

.footer-links a:hover{
    color:#5a3019;
    text-decoration:none;
}

.footer-links span{
    color:#c9b29c;
}

.login-error{
    background:rgba(220,53,69,.15);
    color:#ffb3b3;
    border:1px solid rgba(220,53,69,.45);
    padding:12px 14px;
    border-radius:10px;
    margin:14px 0 18px;
    text-align:center;
    font-weight:800;
    font-size:14px;
}

/* MENU PAGE NAVBAR ONLY */
.menu-page .system-navbar{
    width:100%;
    margin:0;
    border-radius:0;
}

.menu-page .centered-menu{
    margin-top:45px;
}

.menu-page .menu-category{
    padding:0 70px;
}

/* Scroll To Top Button */

#scrollTopBtn{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:9999;

    width:46px;
    height:46px;

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

    border:none;
    border-radius:50%;

    background:#8b5e3c;
    color:#fff;

    cursor:pointer;

    box-shadow:0 8px 18px rgba(73,49,32,.22);

    transition:.25s;
}

#scrollTopBtn i{
    font-size:18px;
    color:#fff;
}

#scrollTopBtn:hover{
    background:#70472c;
    transform:translateY(-3px);
}

#scrollTopBtn:active{
    transform:scale(.96);
}

@media (max-width:768px){

    #scrollTopBtn{
        width:44px;
        height:44px;
        right:18px;
        bottom:18px;
    }

    #scrollTopBtn i{
        font-size:17px;
    }

}

@media(max-width:480px){
    #scrollTopBtn{
        right:16px;
        bottom:18px;
        width:44px;
        height:44px;
    }

}

/* Customer Reviews */
.testimonials{
    padding:70px 55px;
    background:#f8f3ed;
}

.testimonials-panel{
    max-width:1100px;
    margin:0 auto;
    padding:48px 40px 30px;

    background:#ffffff;
    border-radius:20px;
    box-shadow:0 12px 32px rgba(73,49,32,.10);
}

.testimonials-title{
    margin:0 0 70px;
    text-align:center;
    color:#111111;
    font-size:32px;
    font-weight:900;
}

.testimonial-slider{
    display:grid;
}

.testimonial-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:30px;
}

.testimonial-dot{
    width:8px;
    height:8px;
    padding:0;

    background:#d9cbbd;
    border:none;
    border-radius:50%;
    cursor:pointer;

    transition:background .2s ease, transform .2s ease;
}

.testimonial-dot.active{
    background:#8b5e3c;
    transform:scale(1.2);
}

/* Home Responsive */
@media(max-width:1000px){
    .hero-content::after{
        right:40px;
        font-size:130px;
        opacity:.35;
    }

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

}

@media(max-width:700px){
    .hero{
        padding:0 18px 35px;
    }

    .hero-content{
        min-height:420px;
        padding:50px 10px 40px;
    }

    .hero-content h1{
        font-size:43px;
    }

    .hero-content::after{
        display:none;
    }

    .testimonials{
        padding:50px 20px;
    }
}

/* DESKTOP */
.testimonial-grid{
    grid-area:1 / 1;

    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;

    opacity:0;
    visibility:hidden;
    transition:opacity .5s ease, visibility .5s ease;
}

.testimonial-grid.active{
    opacity:1;
    visibility:visible;
}

.testimonial-card{
    position:relative;

    display:flex;
    flex-direction:column;
    align-items:center;

    padding:52px 24px 26px;

    background:#ffffff;
    border:1px solid #efe6dd;
    border-radius:12px;
    box-shadow:0 8px 22px rgba(73,49,32,.10);

    text-align:center;

    transition:transform .3s ease, box-shadow .3s ease;
}

.testimonial-card:hover{
    transform:translateY(-5px);
    box-shadow:0 14px 28px rgba(73,49,32,.16);
}

.stars{
    color:#e8a33d;
    font-size:16px;
    letter-spacing:2px;
    margin-bottom:12px;
}

.testimonial-avatar{
    position:absolute;
    top:-32px;
    left:50%;
    transform:translateX(-50%);

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

    width:64px;
    height:64px;

    background:#f3e5d7;
    color:#8b5e3c;
    border:4px solid #ffffff;
    border-radius:50%;
    box-shadow:0 4px 12px rgba(0,0,0,.15);

    font-weight:900;
    font-size:22px;
}

.testimonial-quote{
    margin-bottom:14px;
    color:#d9cbbd;
    font-size:26px;
}

.testimonial-card p{
    flex:1;
    margin:0 0 18px;
    color:#6b5a4e;
    font-size:13.5px;
    line-height:1.7;
}

.testimonial-card h4{
    margin:0;
    color:#2f2118;
    font-size:13.5px;
    font-weight:800;
}

/* TABLET */
@media(max-width:1000px){

    .testimonials{
        padding:60px 30px;
    }

    .testimonial-grid{
        grid-template-columns:1fr;
        row-gap:50px;
    }

}

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

    .testimonials{
        padding:50px 16px;
    }

    .testimonials-panel{
        padding:36px 18px 24px;
    }

    .testimonials-title{
        font-size:26px;
        margin-bottom:56px;
    }

}

/* =========================================================
   NOTIFICATIONS PAGE
   UI/CSS ONLY — no EJS, routes, database, or functions changed
   ========================================================= */

.notification-box{
    width:calc(100% - 40px);
    max-width:950px;
    margin:48px auto 60px;
    padding:34px;

    background:#ffffff;
    border:1px solid #e5d4c4;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(73,49,32,.12);
}

.notification-box h2{
    position:relative;

    margin:0 0 28px;
    padding-bottom:14px;

    color:#2f2118;
    font-size:36px;
    line-height:1.2;
    font-weight:900;
}

.notification-box h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;

    width:64px;
    height:4px;

    background:#8b5e3c;
    border-radius:999px;
}

.notification-card{
    position:relative;
    overflow:hidden;

    margin-bottom:16px;
    padding:22px 24px;

    background:#ffffff;
    border:1px solid #e5d4c4;
    border-radius:16px;
    box-shadow:0 7px 20px rgba(73,49,32,.07);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.notification-card:last-child{
    margin-bottom:0;
}

.notification-card:hover{
    transform:translateY(-3px);
    border-color:#cfb393;
    box-shadow:0 12px 26px rgba(73,49,32,.12);
}

.notification-card.unread{
    background:#fffaf6;
    border-color:#d2b08f;
    box-shadow:0 8px 22px rgba(73,49,32,.11);
}

.notification-card.unread::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    bottom:0;

    width:5px;
    background:#8b5e3c;
}

.notification-card h3{
    margin:0 0 10px;

    color:#2f2118;
    font-size:21px;
    line-height:1.35;
    font-weight:900;
}

.notification-card p{
    margin:0;

    color:#6b5b52;
    font-size:15px;
    line-height:1.7;
}

.notification-type{
    display:inline-flex;
    align-items:center;

    margin-bottom:12px;
    padding:6px 12px;

    background:#f3e5d7;
    color:#8b5e3c;
    border:1px solid #dfc5ac;
    border-radius:999px;

    font-size:11px;
    line-height:1;
    font-weight:900;
    letter-spacing:.5px;
    text-transform:uppercase;
}

.notification-card.unread .notification-type{
    background:#8b5e3c;
    color:#ffffff;
    border-color:#8b5e3c;
}

.notification-date{
    display:flex;
    align-items:center;
    gap:7px;

    margin-top:14px;

    color:#8a776c;
    font-size:13px;
    line-height:1.4;
    font-weight:700;
}

.notification-date::before{
    content:"\f017";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    color:#8b5e3c;
}

.empty-notification{
    min-height:280px;
    padding:50px 24px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;

    background:#fbf7f3;
    border:1px dashed #d8bda5;
    border-radius:16px;
}

.empty-notification::before{
    content:"\f0f3";

    width:64px;
    height:64px;
    margin-bottom:18px;

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

    background:#f1e2d4;
    color:#8b5e3c;
    border:1px solid #dec2a8;
    border-radius:50%;

    font-family:"Font Awesome 6 Free";
    font-size:26px;
    font-weight:900;
}

.empty-notification h3{
    margin:0 0 10px;

    color:#2f2118;
    font-size:24px;
    line-height:1.3;
    font-weight:900;
}

.empty-notification p{
    max-width:540px;
    margin:0;

    color:#6b5b52;
    font-size:15px;
    line-height:1.7;
}

@media(max-width:700px){
    .notification-box{
        width:calc(100% - 28px);
        margin:30px auto 45px;
        padding:22px;
        border-radius:16px;
    }

    .notification-box h2{
        margin-bottom:22px;
        font-size:30px;
    }

    .notification-card{
        padding:19px 18px;
        border-radius:14px;
    }

    .notification-card h3{
        font-size:19px;
    }

    .notification-card p{
        font-size:14px;
    }

    .empty-notification{
        min-height:250px;
        padding:38px 18px;
    }

    .empty-notification h3{
        font-size:21px;
    }
}

@media(max-width:420px){
    .notification-box{
        width:calc(100% - 20px);
        padding:17px;
    }

    .notification-box h2{
        font-size:27px;
    }

    .notification-card{
        padding:17px 15px;
    }

    .notification-type{
        font-size:10px;
    }

    .notification-date{
        align-items:flex-start;
        font-size:12px;
    }
}
