@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root {
    --main-color: #8c532b;
    --content-color: #fff;
    --black-color: #000;
    --border-radius: 95% 4% 97% 2% / 4% 94% 3% 95%;
    --border-radius-hover: 4% 95% 6% 95% / 95% 4% 92% 5%;
    --border: .2rem solid var(--main-color);
    --border-dashboard: .2rem solid var(--content-color);
    --border-content: .2rem solid var(--main-color);
    --border-content-hover: .2rem dashed var(--content-color);
    --border-hover: .2rem dashed var(--main-color);
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

section {
    padding: 2rem 9%;
}

.heading {
    font-size: 9rem;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: .08rem var(--main-color);
    letter-spacing: .2rem;
    text-align: center;
    pointer-events: none;
    position: relative;
}

.heading span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: var(--content-color);
    font-size: 3rem;
}

.btn {
    display: inline-block;
    padding: .9rem 1.5rem;
    border: var(--border);
    border-color: #fff;
    border-radius: var(--border-radius);
    color: #fff;
    background: none;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1.7rem;
}

.btn:hover {
    border-radius: var(--border-radius-hover);
    border-color: #fff;
    color: #fff;
    border: var(--border-content-hover);
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: #8c532b;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    padding: 2rem 9%;
}

.header .logo {
    color: #fff;
    font-size: 2.3rem;
}

.header .logo i {
    padding-left: .5rem;
}

.header .navbar a {
    margin: 0 1rem;
    font-size: 2.2rem;
    color: #fff;
}

.header .btn {
    margin-top: 0;
}

#menu-btn {
    width: 70px;
    height: 70 px;
    cursor: pointer;
    display: block;
}

/* HOME */

.home {
    min-height: 100vh;
    padding-top: 12rem;
    background: url(../image/home-bg.png) no-repeat;
    background-position: center;
    background-size: cover;
}

.home .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home .row .content {
    flex: 1 1 42rem;
}

.home .row .image {
    flex: 1 1 42rem;
    padding-top: 10rem;
    text-align: center;
}

.home .row .image img {
    height: 35rem;
    animation: float 4s linear infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-7rem);
    }
}

.home .row .content h3 {
    font-size: 6.5rem;
    color: var(--content-color);
    text-transform: uppercase;
}

.home .image-slider {
    text-align: center;
    padding: 3rem 0;
}

.home .image-slider img {
    height: 10rem;
    margin: 0 .5rem;
    cursor: pointer;
    margin-top: -5rem;
}

.home .image-slider img:hover {
    transform: translateY(-2rem);
}

/* ABOUT */

.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about .row .image {
    flex: 1 1 42rem;
}

.about .row .image img {
    width: 100%;
    animation: aboutImage 4s linear infinite;
}

@keyframes aboutImage {

    0%,
    100% {
        transform: scale(.9);
        border-radius: var(--border-radius-hover);
    }

    50% {
        transform: scale(.8);
        border-radius: var(--border-radius);
    }
}

.about .row .content {
    flex: 1 1 42rem;
}

.about .row .content .title {
    color: var(--main-color);
    font-size: 3rem;
    line-height: 1.8;
}

.about .row .content p {
    color: var(--main-color);
    font-size: 1.5rem;
    line-height: 1.8;
    padding: 1rem 0;
}

.about .row .content .icons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 3rem;
}

.about .row .content .icons-container .icons {
    flex: 1 1 15rem;
    padding: 1.5rem;
    text-align: center;
    border: var(--border);
    border-radius: var(--border-radius);
}

.about .row .content .icons-container .icons img {
    height: 5rem;
}

.about .row .content .icons-container .icons h3 {
    font-size: 1.7rem;
    padding-top: 1rem;
    color: var(--main-color);
}

/* MENU */

.menu {
    background: url(../image/menu-bg.png) no-repeat;
    background-position: center;
    background-size: cover;
}

.menu .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.menu .box-container .menu-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu .box-container .menu-category {
    width: 100%;
    text-align: center;
    font-size: 3.5rem;
    color: var(--content-color);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: .2rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.menu .box-container .menu-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: .3rem;
    background: var(--content-color);
    border-radius: 5rem;
}

.menu .box-container .box {
    flex: 1 1 1.5rem;
    padding: 2rem;
    color: var(--content-color);
    border-color:  var(--content-color);
    border: var(--border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 6rem;
}

.menu .box-container .box:hover {
    border: var(--border-hover);
    border-radius: var(--border-radius-hover);
}

.menu .box-container .box img {
    height: 8rem;
    margin-left: -6rem;
}

.menu .box-container .box .content h3 {
    font-size: 2.2rem;
    color: var(--main-color);
    line-height: 1.8;
}

.menu .box-container .box .content p {
    font-size: 1.6rem;
    color: var(--main-color);
    line-height: 1.8;
    padding: 1rem 0;
}

.menu .box-container .box .content span {
    font-size: 2rem;
    color: var(--main-color);
    line-height: 1.8;
}

/* REVIEW */

.review .review-slider {
    padding: 7rem 0;
}

.review .review-slider .box {
    border: var(--border);
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    z-index: 0;
    padding: 2rem;
}

.review .review-slider .box .fa-quote-left {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    font-size: 6rem;
    color: #ccc;
    z-index: -1;
}

.review .review-slider .box .fa-quote-right {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    font-size: 6rem;
    color: #ccc;
    z-index: -1;
}

.review .review-slider .box:hover .fa-quote-left {
    top: -6.5rem;
}

.review .review-slider .box:hover .fa-quote-right {
    bottom: -6.5rem;
}

.review .review-slider .box img {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    margin-bottom: .7rem;
}

.review .review-slider .box .stars {
    padding: .5rem 0
}

.review .review-slider .box .stars i {
    font-size: 1.7rem;
    color: var(--main-color);
}

.review .review-slider .box p {
    font-size: 1.6rem;
    color: var(--main-color);
    padding: 1rem 0;
    line-height: 1.8;
}

.review .review-slider .box h3 {
    font-size: 2.2rem;
    color: var(--main-color);
    line-height: 1.8;
}

.review .review-slider .box span {
    font-size: 1.5rem;
    color: var(--main-color);
}

.swiper-pagination-bullet {
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background: var(--main-color);
}

/* BOOK */

.book {
    background: url(../image/book-bg.png);
    background-position: center;
    background-size: cover;
}

.book form {
    margin: 0 auto 2rem auto;
    max-width: 60rem;
    border-radius: var(--border-radius-hover);
    padding: 3rem;
    border: var(--border-content);
}

.book form .box {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: .5rem;
    font-size: 1.6rem;
    background: none;
    text-transform: none;
    color: var(--content-color);
    border: var(--border-content);
    margin: .7rem 0;
}

.book form .box::placeholder {
    color: #fff;
    opacity: 0.8;
}

.book form .box:focus {
    border: var(--border-content-hover);
}

.book form textarea {
    height: 15rem;
    resize: none;
}

.book form select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: .5rem;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--content-color);
    border: var(--border-content);
    margin: .7rem 0;
    cursor: pointer;
    text-transform: none;
}

.book form select option {
    background: #8c532b;
    color: #fff;
    padding: 0.5rem;
}

.book form select option:first-child {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.book form select option:first-child.hidden {
    display: none;
}

.book form select:focus {
    border: var(--border-content-hover);
    background: rgba(255, 255, 255, 0.15);
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    gap: 1.5rem;
}

.footer .box-container .box h3 {
    font-size: 2.5rem;
    padding: 1rem 0;
    color: var(--main-color);
}

.footer .box-container .box a {
    display: block;
    font-size: 1.5rem;
    padding: 1rem 0;
    color: var(--main-color);
}

.footer .box-container .box a i {
    padding-right: .5rem;
}

.footer .box-container .box a:hover i {
    padding-right: 2rem;
}

.footer .credit {
    text-align: center;
    font-size: 2rem;
    padding: 2rem 1rem;
    margin-top: 1rem;
    color: var(--main-color);
}

.footer .credit span {
    border-bottom: var(--border-hover);
}












/* LOGIN MODAL */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 0;
}

.modal-dialog {
    position: relative;
    max-width: 44rem;
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--main-color);
    padding: 3rem 2.8rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(140, 83, 43, 0.1) inset;
    max-height: 85vh;
    overflow: auto;
    z-index: 1;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-dialog h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--main-color);
    font-weight: 700;
}

.modal-dialog p {
    color: #666;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 3.6rem;
    height: 3.6rem;
    background: rgba(140, 83, 43, 0.1);
    color: var(--main-color);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(140, 83, 43, 0.2);
    transform: rotate(90deg);
}

.login-form .box {
    width: 100%;
    padding: 1.2rem 1.4rem;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-transform: none;
    color: var(--main-color);
    border: 2px solid rgba(140, 83, 43, 0.15);
    margin: .8rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.login-form .box::placeholder {
    color: rgba(140, 83, 43, 0.5);
}

.login-form .box:focus {
    border: 2px solid var(--main-color);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(140, 83, 43, 0.15);
    outline: none;
}

.login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.3rem;
    margin: 1rem 0 1.5rem 0;
    color: #666;
}

.login-actions a {
    color: var(--main-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-actions a:hover {
    text-decoration: underline;
    color: #6d3d1f;
}

.modal-dialog .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--main-color), #6d3d1f);
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(140, 83, 43, 0.3);
}

.modal-dialog .btn:hover {
    background: linear-gradient(135deg, #6d3d1f, var(--main-color));
    box-shadow: 0 6px 20px rgba(140, 83, 43, 0.4);
    transform: translateY(-2px);
}

.form-msg {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(140, 83, 43, 0.08);
    border-radius: 0.6rem;
    border-left: 3px solid var(--main-color);
    color: #666;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-msg.show {
    display: block;
}

.form-msg.error {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #dc3545;
}

.form-msg.success {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: #28a745;
    color: #28a745;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-msg a {
    color: var(--main-color);
    font-weight: 600;
    text-decoration: underline;
}

/* Header points badge */
.points-badge {
    display: inline-block;
    padding: .6rem 1rem;
    margin-right: 1rem;
    color: #fff;
    border: var(--border-content);
    border-radius: var(--border-radius);
    font-size: 1.3rem;
}

.header .header-actions { display: flex; align-items: center; gap: 1rem; }

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: .5rem;
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }
}

/* MEMBER DASHBOARD */
.member-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 9%;
    position: relative;
}

.member-sidebar {
    flex: 0 0 35%;
    background: var(--main-color);
    border: var(--border);
    border-radius: 0;
    color: #fff;
    padding: 1.6rem;
    height: auto;
    position: relative;
    transition: all 0.3s ease;
    max-height: calc(100vh - 12rem);
    overflow-y: auto;
    display: block !important;
}

.member-sidebar.hidden {
    display: none;
}

.member-brand {
    text-align: center;
}

.member-brand img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: .6rem;
}

.member-brand h3 {
    font-size: 2rem;
    margin-bottom: .2rem;
    color: #fff;
}

.member-brand p {
    font-size: 1.3rem;
    color: #fff;
}

.member-nav {
    display: flex;
    flex-direction: column;
    margin-top: 1.2rem;
}

.member-nav a {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font-size: 1.5rem;
    padding: .9rem 1.2rem;
    border-radius: 0;
}

.member-nav a i {
    width: 1.6rem;
    text-align: center;
}

.member-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.member-nav a.active {
    background: rgba(255, 255, 255, 0.28);
    font-weight: 600;
}

.member-content {
    flex: 1 1 auto;
}

.member-title {
    font-size: 3rem;
    color: var(--sidebar-fg);
}

.member-subtitle {
    font-size: 1.6rem;
    color: var(--sidebar-fg);
    text-transform: none;
    margin: .6rem 0 1.6rem 0;
}

.member-hero {
    background: var(--sidebar-bg);
    border-radius: 0;
    padding: 2rem;
    scroll-margin-top: 2rem;
    display: none;
}

.member-hero[style*="display: block"] {
    display: block !important;
}

.stats-grid {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.stat-card {
    background: var(--sidebar-fg);
    border: var(--border);
    border-radius: 0;
    padding: 1.6rem;
    text-align: center;
}

.stat-label {
    font-size: 1.4rem;
    color: var(--sidebar-bg);
}

.stat-value {
    font-size: 2.6rem;
    color: var(--sidebar-bg);
}

.member-section {
    margin-top: 2.4rem;
    background: var(--sidebar-bg);
    border: var(--border);
    padding: 1.6rem;
    scroll-margin-top: 2rem;
    display: none;
    border-radius: 0;
}

.member-section[style*="display: block"] {
    display: block !important;
}

.section-title {
    font-size: 2rem;
    color: var(--sidebar-fg);
}

.section-desc {
    font-size: 1.4rem;
    color: var(--sidebar-fg);
    text-transform: none;
    margin-top: .6rem;
}

.points-display {
    margin-top: 1rem;
}

.points-number {
    font-size: 3.6rem;
    color: var(--sidebar-bg) !important;
}

.points-suffix {
    font-size: 1.6rem;
    color: var(--sidebar-bg) !important;
    margin-left: .6rem;
}

.points-panel {
    color: var(--main-color);
    background: var(--sidebar-bg);
}
.table-wrap {
    overflow-x: auto;
}

.member-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.member-table th,
.member-table td {
    border: var(--border);
    padding: .8rem 1rem;
    font-size: 1.4rem;
    color: var(--sidebar-fg);
}

.member-table th {
    background: rgba(255,255,255,.06);
    font-weight: 600;
}

.member-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,.03);
}

.empty {
    font-size: 1.4rem;
    color: var(--sidebar-fg);
    margin-top: 1rem;
}

.wallet-box {
    display: grid;
    gap: 1rem;
    align-items: center;
}

.wallet-balance {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--sidebar-fg);
}

.inline-form {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.order-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
    color: var(--sidebar-fg);
}

.order-form label {
    color: var(--sidebar-fg);
    font-size: 1.4rem;
    display: block;
}

.order-form label input,
.order-form label select {
    margin-top: .4rem;
}

.order-form .box {
    width: 100%;
    color: var(--sidebar-fg);
    border: var(--border);
    background: none;
    text-transform: none;
    padding: 1rem 1.2rem;
    border-radius: 0;
    font-size: 1.6rem;
    margin: .7rem 0;
}

.order-form .box:focus {
    border: var(--border-hover);
}

/* ===== ORDER MENU GRID ===== */
.order-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.order-menu-category {
    width: 100%;
}

.order-category-title {
    color: var(--sidebar-fg);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--sidebar-fg);
    padding-bottom: .5rem;
}

.order-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.order-menu-item {
    border: var(--border);
    border-radius: 0;
    padding: 1.5rem;
    background: rgba(140, 83, 43, 0.1);
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
}

.order-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1.5rem rgba(140, 83, 43, .2);
    border: var(--border-hover);
}


.order-menu-item.selected {
    border: 3px solid var(--sidebar-bg);
    background: var(--main-color);
}

.order-menu-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 1rem;
}

.order-item-content {
    text-align: center;
}

.order-item-content h5 {
    color: var(--sidebar-fg);
    font-size: 1.8rem;
    margin-bottom: .5rem;
    text-transform: none;
}

.order-item-content p {
    color: var(--sidebar-fg);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-transform: none;
    min-height: 4rem;
}

.order-select-btn {
    background: var(--sidebar-bg);
    color: #fff;
    border: none;
    padding: .8rem 2rem;
    border-radius: 0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all .3s ease;
    width: 100%;
}

.order-select-btn:hover {
    background: #6d3d1f;
    transform: scale(1.05);
}

.order-menu-item.selected .order-select-btn {
    background: #27ae60;
}

.order-menu-item.selected .order-select-btn:hover {
    background: #229954;
}

/* ===== ORDER SUMMARY ===== */
.order-summary {
    background: rgba(140, 83, 43, 0.3);
    border: var(--border);
    border-radius: 0;
    padding: 2rem;
    margin-top: 3rem;
}

.order-summary h4 {
    color: var(--sidebar-bg);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.order-selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(140, 83, 43, 0.3);
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.selected-item-name {
    color: var(--sidebar-bg);
    font-size: 1.6rem;
    font-weight: 500;
}

.selected-item-price {
    color: var(--sidebar-bg);
    font-size: 1.8rem;
    font-weight: 600;
}

.order-quantity-control {
    margin-bottom: 1.5rem;
}

.order-quantity-control label {
    display: block;
    color: var(--sidebar-fg);
    font-size: 1.5rem;
    margin-bottom: .8rem;
}

.qty-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    background: var(--main-color);
    color: #fff;
    border: none;
    width: 4rem;
    height: 4rem;
    border-radius: 0;
    font-size: 2rem;
    cursor: pointer;
    transition: all .3s ease;
}

.qty-btn:hover {
    background: #6d3d1f;
}

.qty-input {
    flex: 1;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--main-color);
    border: var(--border);
    padding: 1rem;
    border-radius: 0;
    background: rgba(140, 83, 43, 0.3);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: .5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--main-color);
}

.total-price {
    font-size: 2.2rem;
}

.btn-secondary {
    display: inline-block;
    padding: .9rem 1.5rem;
    border: var(--border);
    border-radius: 0;
    color: var(--main-color);
    background: rgba(140, 83, 43, 0.3);
    cursor: pointer;
    margin-top: .5rem;
    margin-left: 1rem;
    font-size: 1.7rem;
    transition: all .3s ease;
}

.btn-secondary:hover {
    background: #f9f9f9;
    border: var(--border-hover);
}

.member-content .btn,
.member-section .btn {
    background: var(--main-color);
    border: none;
    color: #fff;
    margin-top: .8rem;
}

.member-content .btn:hover,
.member-section .btn:hover {
    background: #6d3d1f;
    border: none;
}

/* ===== SIDEBAR WRAPPER ===== */
:root {
    --sidebar-width: 30rem;
    --sidebar-width-icon: 2rem;
    --transition-duration: 200ms;
    --sidebar-bg: var(--main-color);
    --sidebar-fg: #fff;
}

.sidebar-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    background-image: url('../image/menu-bg.png');
    margin-top: 9rem;
    min-height: calc(100vh - 9rem);
}

.sidebar-container {
    position: relative;
    width: var(--sidebar-width);
    flex-shrink: 0;
}

.sidebar {
    background: var(--sidebar-bg);
    color: var(--sidebar-fg);
    display: flex;
    flex-direction: column;
    width: var(--sidebar-width);
    height: 100%;
    position: fixed;
    z-index: 40;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-duration) ease-in-out;
}

.sidebar[data-state="collapsed"] {
    width: var(--sidebar-width-icon);
}

.sidebar-header {
    padding-top: 6rem;
    padding-bottom: 2rem;
    padding-left: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    object-fit: cover;
    transition: transform var(--transition-duration) ease-in-out;
}

.sidebar[data-state="collapsed"] .sidebar-logo {
    margin: 0 auto;
}

.sidebar-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    transition: opacity var(--transition-duration) ease-in-out;
}

.sidebar[data-state="collapsed"] .sidebar-title {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar-subtitle {
    font-size: 1.75rem;
    opacity: 0.8;
    margin: 0;
    white-space: nowrap;
    transition: opacity var(--transition-duration) ease-in-out;
}

.sidebar[data-state="collapsed"] .sidebar-subtitle {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-menu-group {
    padding: 0.5rem 0;
}

.sidebar-menu-group-label {
    padding: 1.5rem 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity var(--transition-duration) ease-in-out;
}

.sidebar[data-state="collapsed"] .sidebar-menu-group-label {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.sidebar-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.5rem;
}

.sidebar-menu-item {
    position: relative;
}

.sidebar-menu-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 2.55rem;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--sidebar-fg);
    cursor: pointer;
    transition: all var(--transition-duration) ease-in-out;
    font-size: 1.95rem;
    border: none;
    text-align: left;
}

.sidebar-menu-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu-button[data-section] {
    text-decoration: none;
}

.sidebar-menu-button.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.sidebar[data-state="collapsed"] .sidebar-menu-button {
    justify-content: center;
    padding: 0.75rem;
}

.sidebar[data-state="collapsed"] .sidebar-menu-button span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar-menu-button i {
    font-size: 1.1rem;
    min-width: 1.1rem;
    transition: transform var(--transition-duration) ease-in-out;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.sidebar-logout {
    width: 100%;
}

.sidebar-inset {
    flex: 1;
    margin-left: 50px;
    margin-top: 0;
    padding-top: 5rem;
    transition: margin-left var(--transition-duration) ease-in-out;
    overflow-y: auto;
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url(../image/menu-bg.png);
    background-size: cover;
    background-image: url(../image/menu-bg.png);
    background-position: center;
    background-attachment: fixed;
}

.sidebar[data-state="collapsed"] ~ .sidebar-inset {
    margin-left: var(--sidebar-width-icon);
}

.sidebar-trigger {
    display: none;
    background: none;
    border: none;
    color: var(--sidebar-fg);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .sidebar-trigger {
        display: block;
    }
    
    .sidebar {
        width: var(--sidebar-width);
        height: 100%;
        top: 0;
        transform: translateX(-100%);
        transition: transform var(--transition-duration) ease-in-out;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-inset {
        margin-left: 0;
        margin-top: 0;
    }

    .member-layout {
        padding: 2rem;
    }
}

/* MEDIA QUERIES */

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 3rem;
    }

    section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .heading {
        font-size: 6rem;
    }

    .heading span {
        font-size: 2.3rem;
    }

    #menu-btn {
        display: initial;
    }

    #menu-btn.fa-times {
        transform: rotate(180deg);
    }

    .header .navbar {
        position: absolute;
        transform: translateX(-50%);
        top: 99%;
        left: 0;
        right: 0;
        background: rgba(140, 83, 43, 0.3);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a {
        display: block;
        font-size: 2.2rem;
        margin: 0;
        padding: 1.5rem 2rem;
    }

    .home {
        text-align: center;
    }

    .home .row .content h3 {
        font-size: 4rem;
    }

    .menu .box-container {
        flex-direction: column;
    }

    .menu .box-container .menu-group {
        flex: 1 1 100%;
    }

    .menu .box-container .box {
        margin-left: 0;
        margin-top: 6rem;
        flex-flow: column;
        text-align: center;
    }

    .menu .box-container .box img {
        margin-left: 0;
        margin-top: -6rem;
    }

    /* Order Menu Responsive */
    .order-items-grid {
        grid-template-columns: 1fr;
    }

    .order-category-title {
        font-size: 2rem;
    }

    .order-menu-item img {
        height: 200px;
    }

    .order-summary {
        padding: 1.5rem;
    }

    .btn-secondary {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
    }

    .member-section .btn {
        width: 100%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .home .row .image img {
        height: auto;
        width: 100%;
    }
}
