* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #1c1c1c;
}

button {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}


/* HEADER */

.header {
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
    font-size: 28px;
}


/* ЗАВТРАК / ОБЕД / УЖИН */

.menu-sections {
    display: flex;
    gap: 12px;
    overflow-x: auto;

    padding-bottom: 10px;
    margin-bottom: 18px;

    border-bottom: 1px solid #dddddd;
}

.section-btn {
    flex-shrink: 0;

    border: 0;
    background: transparent;

    padding: 10px 5px;

    font-size: 16px;

    cursor: pointer;

    color: #555;
}

.section-btn.active {
    color: #111;
    font-weight: 700;

    border-bottom: 3px solid #111;
}


/* КАТЕГОРИЯЛАР */

.categories {
    display: flex;
    gap: 8px;

    overflow-x: auto;

    margin-bottom: 25px;
}

.category-btn {
    flex-shrink: 0;

    border: 1px solid #e0e0e0;

    background: #f5f5f5;

    padding: 9px 15px;

    border-radius: 20px;

    cursor: pointer;

    font-size: 14px;
}


/* PRODUCTS */

.products-section h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.product-card {
    min-width: 0;
}

.product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1.15 / 1;

    overflow: hidden;

    border-radius: 16px;

    background: #f2f2f2;
}

.product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.add-btn {
    position: absolute;

    right: 8px;
    bottom: 8px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    border: 1px solid #ddd;

    background: white;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;
}

.product-info {
    padding-top: 9px;
}

.product-name {
    font-size: 16px;
    line-height: 1.3;

    margin-bottom: 7px;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
}


/* TABLET */

@media (max-width: 900px) {

    .products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* PHONE */

@media (max-width: 600px) {

    .container {
        padding: 14px;
    }

    .header h1 {
        font-size: 24px;
    }

    .menu-sections {
        gap: 18px;
    }

    .section-btn {
        font-size: 15px;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .product-image {
        border-radius: 14px;
    }

    .add-btn {
        width: 38px;
        height: 38px;

        font-size: 25px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-price {
        font-size: 15px;
    }

}
.category-btn.active {
    background: #1d1d1d;
    color: #ffffff;
    border-color: #1d1d1d;
}

.no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #888;
    font-size: 14px;
}

/* ============================= */
/* PRODUCT MODAL */
/* ============================= */

.product-modal {
    position: fixed;
    inset: 0;

    z-index: 1000;

    display: none;
}

.product-modal.open {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);
}

.modal-box {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: calc(100% - 30px);
    max-width: 480px;

    background: #ffffff;

    border-radius: 22px;

    padding: 22px;
}

.modal-handle {
    display: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 22px;
}

.modal-header h2 {
    margin: 0 0 5px;

    font-size: 24px;
}

.modal-base-price {
    font-size: 17px;
    color: #666;
}

.modal-close {
    width: 40px;
    height: 40px;

    border: 0;

    border-radius: 50%;

    background: #f1f1f1;

    font-size: 28px;

    cursor: pointer;
}


/* GARнир */

.garnish-section {
    margin-bottom: 24px;
}

.garnish-section h3 {
    margin: 0 0 12px;

    font-size: 17px;
}

.garnish-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 13px 0;

    border-bottom: 1px solid #eeeeee;

    cursor: pointer;
}

.garnish-left {
    display: flex;
    align-items: center;

    gap: 10px;
}

.garnish-item input {
    width: 20px;
    height: 20px;
}

.garnish-price {
    font-weight: 600;
}


/* QUANTITY */

.quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.quantity-title {
    font-size: 17px;
    font-weight: 600;
}

.quantity-control {
    display: flex;
    align-items: center;

    border: 1px solid #dddddd;

    border-radius: 24px;

    overflow: hidden;
}

.quantity-control button {
    width: 43px;
    height: 43px;

    border: 0;

    background: #f5f5f5;

    font-size: 23px;

    cursor: pointer;
}

.quantity-control span {
    min-width: 40px;

    text-align: center;

    font-size: 17px;
    font-weight: 700;
}


/* TOTAL */

.modal-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 0;

    font-size: 20px;
}

.modal-total-row strong {
    font-size: 23px;
}


/* ADD BUTTON */

.add-to-order {
    width: 100%;

    border: 0;

    border-radius: 14px;

    padding: 16px;

    background: #111111;

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;
}


/* PHONE */

@media (max-width: 600px) {

    .modal-box {
        top: auto;
        bottom: 0;
        left: 0;

        transform: none;

        width: 100%;
        max-width: none;

        border-radius: 22px 22px 0 0;

        padding:
            10px
            18px
            22px;
    }

    .modal-handle {
        display: block;

        width: 45px;
        height: 5px;

        border-radius: 5px;

        background: #dddddd;

        margin: 0 auto 15px;
    }

}

.cart-bar {
    position: fixed;

    left: 50%;
    bottom: 20px;

    transform:
        translateX(-50%)
        translateY(120px);

    width: calc(100% - 30px);
    max-width: 500px;

    padding: 16px 20px;

    border-radius: 16px;

    background: #111;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    z-index: 900;

    transition: 0.25s;
}

.cart-bar.show {
    transform:
        translateX(-50%)
        translateY(0);
}

.cart-count {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 25px;

    margin-left: 7px;

    padding: 0 7px;

    border-radius: 20px;

    background: #fff;
    color: #111;

    font-size: 13px;
}

.cart-page-list {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-top: 25px;
}

.cart-page-item {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 16px;

    border: 1px solid #e5e5e5;

    border-radius: 14px;
}

.cart-page-item > div > div {
    margin-top: 5px;

    color: #666;
}

.cart-page-total {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-top: 25px;

    font-size: 22px;
}

.checkout-btn {
    display: block;

    margin-top: 20px;

    padding: 17px;

    border-radius: 14px;

    background: #111;
    color: #fff;

    text-align: center;
    text-decoration: none;

    font-size: 17px;
    font-weight: 700;
}


/* =========================================
   CART PAGE
========================================= */

.cart-page-list {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin-top: 25px;
}


.cart-page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 16px;

    border: 1px solid #e2e2e2;
    border-radius: 16px;

    background: #ffffff;
}


.cart-item-info {
    flex: 1;
    min-width: 0;
}


.cart-item-name {
    display: block;

    font-size: 17px;
    line-height: 1.3;
}


.cart-garnish {
    margin-top: 5px;

    font-size: 14px;

    color: #666666;
}


.cart-price {
    margin-top: 6px;

    font-size: 14px;

    color: #666666;
}


/* =========================================
   QUANTITY
========================================= */

.cart-quantity {
    display: flex;
    align-items: center;

    width: fit-content;

    margin-top: 12px;

    border: 1px solid #dddddd;

    border-radius: 24px;

    overflow: hidden;
}


.cart-quantity button {
    width: 40px;
    height: 40px;

    border: 0;

    background: #f4f4f4;

    font-size: 22px;

    cursor: pointer;
}


.cart-quantity button:active {
    background: #e7e7e7;
}


.cart-quantity-value {
    min-width: 42px;

    text-align: center;

    font-size: 16px;
    font-weight: 700;
}


/* =========================================
   RIGHT SIDE
========================================= */

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 18px;

    flex-shrink: 0;
}


.cart-item-total {
    font-size: 17px;
    white-space: nowrap;
}


.cart-remove {
    border: 0;

    padding: 0;

    background: transparent;

    color: #d10000;

    font-size: 14px;

    cursor: pointer;
}


/* =========================================
   TOTAL
========================================= */

.cart-page-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 25px;

    font-size: 21px;
}


.cart-page-total strong {
    font-size: 23px;
}


/* =========================================
   CHECKOUT
========================================= */

.checkout-btn {
    display: block;

    width: 100%;

    margin-top: 20px;

    padding: 17px;

    border-radius: 14px;

    background: #111111;

    color: #ffffff;

    text-align: center;
    text-decoration: none;

    font-size: 17px;
    font-weight: 700;
}


.cart-continue-btn {
    display: block;

    margin-top: 14px;

    padding: 14px;

    text-align: center;

    color: #111111;

    text-decoration: none;

    font-weight: 600;
}


/* =========================================
   EMPTY CART
========================================= */

.cart-empty {
    margin-top: 30px;
}


.cart-back-btn {
    display: inline-block;

    margin-top: 10px;

    padding: 12px 18px;

    border-radius: 12px;

    background: #111111;

    color: #ffffff;

    text-decoration: none;
}


/* =========================================
   PHONE
========================================= */

@media (max-width: 600px) {

    .cart-page-item {
        padding: 14px;
    }


    .cart-item-name {
        font-size: 16px;
    }


    .cart-item-total {
        font-size: 16px;
    }


    .cart-page-total {
        font-size: 20px;
    }


    .cart-page-total strong {
        font-size: 22px;
    }

}


/* =========================================
   CUSTOMER AUTH
========================================= */

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #f5f5f5;
}

.auth-box {
    width: 100%;
    max-width: 460px;

    padding: 28px;

    background: #ffffff;

    border-radius: 20px;
}

.auth-box h1 {
    margin: 0 0 8px;

    font-size: 30px;
}

.auth-description {
    margin: 0 0 25px;

    color: #666666;

    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #dcdcdc;

    border-radius: 12px;

    background: #ffffff;

    font: inherit;

    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #111111;
}

.form-group textarea {
    resize: vertical;
}

.auth-submit {
    width: 100%;

    padding: 15px;

    border: 0;

    border-radius: 13px;

    background: #111111;
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
}

.auth-error {
    margin-bottom: 18px;

    padding: 12px 14px;

    border-radius: 10px;

    background: #fff0f0;

    color: #b00000;
}

.auth-bottom {
    margin-top: 20px;

    text-align: center;

    color: #555555;
}

.auth-bottom a {
    color: #111111;

    font-weight: 700;
}


@media (max-width: 600px) {

    .auth-page {
        align-items: flex-start;

        padding: 12px;
    }

    .auth-box {
        padding: 22px 18px;

        border-radius: 16px;
    }

}


/* =========================================
   CHECKOUT
========================================= */

.checkout-page {
    max-width: 700px;
    margin: 0 auto;
}

.checkout-page h1 {
    margin-bottom: 25px;
}

.checkout-customer,
.checkout-order {
    padding: 20px;

    border: 1px solid #e2e2e2;
    border-radius: 16px;

    background: #ffffff;

    margin-bottom: 18px;
}

.checkout-customer h2,
.checkout-order h2 {
    margin: 0 0 18px;

    font-size: 20px;
}

.checkout-info-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    border-bottom: 1px solid #eeeeee;
}

.checkout-info-row span,
.checkout-comment span {
    color: #666666;
}

.checkout-comment {
    padding-top: 12px;
}

.checkout-comment div {
    margin-top: 7px;

    font-weight: 600;
    line-height: 1.5;
}

.checkout-order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #eeeeee;
}

.checkout-order-item:last-child {
    border-bottom: 0;
}

.checkout-garnish,
.checkout-quantity {
    margin-top: 5px;

    color: #666666;

    font-size: 14px;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 25px 0;

    font-size: 22px;
}

.checkout-total strong {
    font-size: 24px;
}

.checkout-submit {
    width: 100%;

    padding: 17px;

    border: 0;
    border-radius: 14px;

    background: #111111;
    color: #ffffff;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;
}

.checkout-back {
    display: block;

    margin-top: 15px;

    text-align: center;

    color: #111111;
    text-decoration: none;

    font-weight: 600;
}


@media (max-width: 600px) {

    .checkout-customer,
    .checkout-order {
        padding: 16px;
    }

    .checkout-info-row {
        flex-direction: column;
        gap: 4px;
    }

}
/* =========================================
   ORDER SUCCESS
========================================= */

.order-success {
    max-width: 650px;
    margin: 40px auto;

    text-align: center;
}

.success-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111;
    color: #fff;

    font-size: 35px;
    font-weight: 700;
}

.order-success h1 {
    margin-bottom: 8px;
}

.success-number {
    margin-bottom: 25px;

    color: #666;
}

.success-info,
.success-order-list {
    padding: 20px;

    border: 1px solid #e2e2e2;
    border-radius: 16px;

    text-align: left;

    margin-bottom: 18px;
}

.success-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    border-bottom: 1px solid #eee;
}

.success-comment {
    padding-top: 12px;
}

.success-comment span {
    display: block;

    margin-bottom: 6px;

    color: #666;
}

.success-order-list h2 {
    margin-top: 0;

    font-size: 20px;
}

.success-order-item {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #eee;
}

.success-order-item:last-child {
    border-bottom: 0;
}

.success-garnish,
.success-quantity {
    margin-top: 5px;

    color: #666;

    font-size: 14px;
}

.success-total {
    display: flex;
    justify-content: space-between;

    margin: 25px 0;

    font-size: 22px;
}

.success-total strong {
    font-size: 24px;
}

.success-status {
    margin-bottom: 12px;
}

.success-text {
    color: #666;

    line-height: 1.5;
}

.success-menu-btn {
    display: block;

    margin-top: 22px;

    padding: 16px;

    border-radius: 14px;

    background: #111;
    color: #fff;

    text-decoration: none;

    font-weight: 700;
}


/* =========================================
   ADMIN
========================================= */

.admin-menu {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 25px;
}

.admin-menu a {
    padding: 20px;

    border: 1px solid #e2e2e2;
    border-radius: 14px;

    color: #111;
    text-decoration: none;

    font-weight: 700;
}


.admin-orders {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-top: 20px;
}

.admin-order-card {
    display: block;

    padding: 18px;

    border: 1px solid #e2e2e2;
    border-radius: 16px;

    color: #111;
    text-decoration: none;

    background: #fff;
}

.admin-order-top,
.admin-order-bottom {
    display: flex;
    justify-content: space-between;

    gap: 15px;
}

.admin-order-top {
    font-size: 17px;
}

.admin-order-customer {
    margin-top: 12px;

    font-weight: 700;
}

.admin-order-phone,
.admin-order-comment {
    margin-top: 5px;

    color: #666;
}

.admin-order-bottom {
    margin-top: 15px;

    font-size: 14px;

    color: #666;
}

.order-status {
    font-weight: 700;
    color: #111;
}


@media (max-width: 600px) {

    .admin-menu {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   ADMIN ORDER DETAIL
========================================= */

.admin-order-page {
    max-width: 800px;
    margin: 0 auto;
}

.admin-back {
    display: inline-block;

    margin-bottom: 20px;

    color: #111;
    text-decoration: none;

    font-weight: 600;
}

.admin-order-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.admin-order-title h1 {
    margin: 0 0 5px;
}

.admin-order-number {
    color: #666;
}

.admin-order-big-total {
    font-size: 24px;

    white-space: nowrap;
}

.admin-detail-card {
    padding: 20px;

    margin-bottom: 16px;

    border: 1px solid #e2e2e2;
    border-radius: 16px;

    background: #fff;
}

.admin-detail-card h2 {
    margin: 0 0 16px;

    font-size: 20px;
}

.admin-detail-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    border-bottom: 1px solid #eee;
}

.admin-detail-comment {
    padding-top: 12px;
}

.admin-detail-comment span {
    display: block;

    margin-bottom: 6px;

    color: #666;
}

.admin-order-item {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #eee;
}

.admin-order-garnish,
.admin-order-quantity {
    margin-top: 5px;

    color: #666;

    font-size: 14px;
}

.admin-detail-total {
    display: flex;
    justify-content: space-between;

    margin-top: 18px;

    font-size: 20px;
}

.admin-current-status {
    margin-bottom: 18px;
}

.admin-status-select {
    width: 100%;

    padding: 13px;

    border: 1px solid #ddd;
    border-radius: 12px;

    background: #fff;

    font-size: 16px;
}

.admin-status-save {
    width: 100%;

    padding: 15px;

    border: 0;
    border-radius: 13px;

    background: #111;
    color: #fff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
}

.admin-success-message {
    padding: 12px 15px;

    margin-bottom: 18px;

    border-radius: 12px;

    background: #edf9ee;

    color: #147b24;
}


@media (max-width: 600px) {

    .admin-order-title {
        flex-direction: column;
    }

    .admin-detail-row {
        flex-direction: column;

        gap: 4px;
    }

}

.admin-waiter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #eeeeee;
}

.admin-waiter-row:last-child {
    border-bottom: 0;
}

.admin-waiter-row div div {
    margin-top: 4px;

    color: #666666;

    font-size: 14px;
}

.waiter-section-title {
    margin-top: 40px;
}

.waiter-accept-btn {
    width: 100%;

    padding: 16px;

    border: 0;
    border-radius: 14px;

    background: #111111;
    color: #ffffff;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;
}
/* =========================================
   MY ORDERS
========================================= */

.my-orders-page {
    max-width: 800px;
    margin: 0 auto;
}


.my-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}


.my-orders-header h1 {
    margin: 0 0 5px;
}


.my-orders-customer {
    color: #666666;
}


.my-orders-menu-link {
    padding: 10px 16px;

    border: 1px solid #dddddd;
    border-radius: 12px;

    color: #111111;

    text-decoration: none;

    font-weight: 600;
}


/* LIST */

.my-orders-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.my-order-card {
    display: block;

    padding: 18px;

    border: 1px solid #e2e2e2;
    border-radius: 16px;

    background: #ffffff;

    color: #111111;

    text-decoration: none;
}


.my-order-top {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.my-order-number {
    font-size: 16px;
}


.my-order-price {
    font-size: 18px;

    white-space: nowrap;
}


.my-order-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 12px 0;

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}


.my-order-status-row span {
    color: #666666;
}


.my-order-status {
    font-size: 15px;
}


/* STATUS */

.status-new {
    color: #b46b00;
}

.status-accepted {
    color: #2066b0;
}

.status-cooking {
    color: #8859a8;
}

.status-delivery {
    color: #006f89;
}

.status-delivered {
    color: #207a35;
}

.status-paid {
    color: #16742c;
}

.status-cancelled {
    color: #c00000;
}


/* BOTTOM */

.my-order-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 13px;

    color: #777777;

    font-size: 14px;
}


/* EMPTY */

.my-orders-empty {
    padding: 35px 20px;

    border: 1px solid #e2e2e2;
    border-radius: 18px;

    text-align: center;
}


.my-orders-empty h2 {
    margin-top: 0;
}


.my-orders-empty p {
    color: #666666;
}


.my-orders-empty-btn {
    display: inline-block;

    margin-top: 15px;

    padding: 14px 20px;

    border-radius: 13px;

    background: #111111;
    color: #ffffff;

    text-decoration: none;

    font-weight: 700;
}


@media (max-width: 600px) {

    .my-orders-header {
        align-items: flex-start;
    }


    .my-orders-header h1 {
        font-size: 26px;
    }


    .my-order-top {
        align-items: flex-start;
    }


    .my-order-number {
        font-size: 14px;
    }

}
/* =========================================
   ADMIN PRODUCTS
========================================= */

.admin-products-list {
    display: flex;
    flex-direction: column;
}

.admin-product-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid #eeeeee;
}

.admin-product-row:last-child {
    border-bottom: 0;
}

.admin-product-main {
    flex: 1;
    min-width: 0;
}

.admin-product-name {
    display: block;

    font-size: 17px;
}

.admin-product-category {
    margin-top: 5px;

    color: #666666;

    font-size: 14px;
}

.admin-product-description {
    margin-top: 5px;

    color: #777777;

    font-size: 13px;
}

.admin-product-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 7px;

    flex-shrink: 0;
}

.admin-product-price {
    font-size: 17px;

    white-space: nowrap;
}

.admin-product-active {
    color: #188333;

    font-size: 13px;
}

.admin-product-inactive {
    color: #999999;

    font-size: 13px;
}

.admin-product-disable {
    color: #c00000;

    text-decoration: none;

    font-size: 14px;
}

.admin-product-enable {
    color: #16752e;

    text-decoration: none;

    font-size: 14px;
}


@media (max-width: 600px) {

    .admin-product-row {
        gap: 12px;
    }

    .admin-product-name {
        font-size: 15px;
    }

}
/* =========================================
   MY ORDER DETAIL
========================================= */

.my-order-page {
    max-width: 750px;
    margin: 0 auto;
}

.my-order-back {
    display: inline-block;

    margin-bottom: 20px;

    color: #111111;
    text-decoration: none;

    font-weight: 600;
}

.my-order-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}

.my-order-header h1 {
    margin: 0 0 5px;
}

.my-order-number-detail {
    color: #666666;
}

.my-order-total-top {
    font-size: 25px;
    white-space: nowrap;
}


/* STATUS */

.my-order-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 20px;

    margin-bottom: 16px;

    border: 1px solid #e2e2e2;
    border-radius: 16px;

    background: #ffffff;
}

.my-order-status-card span {
    color: #666666;
}

.my-order-status-big {
    font-size: 17px;
}


/* CARD */

.my-order-detail-card {
    padding: 20px;

    margin-bottom: 16px;

    border: 1px solid #e2e2e2;
    border-radius: 16px;

    background: #ffffff;
}

.my-order-detail-card h2 {
    margin: 0 0 16px;

    font-size: 20px;
}

.my-order-detail-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    border-bottom: 1px solid #eeeeee;
}

.my-order-detail-row:last-child {
    border-bottom: 0;
}

.my-order-detail-row span,
.my-order-comment span {
    color: #666666;
}


/* COMMENT */

.my-order-comment {
    padding-top: 12px;
}

.my-order-comment span {
    display: block;

    margin-bottom: 6px;
}

.my-order-comment strong {
    display: block;

    line-height: 1.5;
}


/* PRODUCTS */

.my-order-product {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #eeeeee;
}

.my-order-product:last-of-type {
    border-bottom: 0;
}

.my-order-product-name {
    display: block;
}

.my-order-garnish,
.my-order-product-quantity {
    margin-top: 5px;

    color: #666666;

    font-size: 14px;
}

.my-order-product-total {
    white-space: nowrap;
}


/* TOTAL */

.my-order-grand-total {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid #eeeeee;

    font-size: 20px;
}

.my-order-grand-total strong {
    font-size: 22px;
}


/* WAITER */

.my-order-waiting {
    padding: 12px;

    border-radius: 10px;

    background: #f5f5f5;

    color: #666666;
}


/* MENU BUTTON */

.my-order-menu-btn {
    display: block;

    padding: 16px;

    margin-top: 20px;

    border-radius: 14px;

    background: #111111;
    color: #ffffff;

    text-align: center;
    text-decoration: none;

    font-weight: 700;
}


@media (max-width: 600px) {

    .my-order-header {
        flex-direction: column;
    }

    .my-order-detail-row {
        flex-direction: column;

        gap: 4px;
    }

    .my-order-status-card {
        align-items: flex-start;
        flex-direction: column;

        gap: 7px;
    }

}
/* =========================================
   ADMIN CATEGORY
========================================= */

.admin-category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid #eeeeee;
}

.admin-category-row:last-child {
    border-bottom: 0;
}

.admin-category-meta {
    margin-top: 5px;

    color: #777777;

    font-size: 14px;
}

.admin-category-actions {
    display: flex;
    gap: 14px;

    flex-shrink: 0;
}

.admin-category-actions a {
    color: #111111;

    text-decoration: none;
}

.admin-category-actions .danger-link {
    color: #cc0000;
}

.admin-category-actions .success-link {
    color: #198038;
}


/* =========================================
   PRODUCT EDIT
========================================= */

.admin-product-row {
    display: flex;
    align-items: flex-start;

    gap: 15px;
}

.admin-product-image-small {
    width: 80px;
    height: 80px;

    flex: 0 0 80px;

    overflow: hidden;

    border-radius: 12px;

    background: #f2f2f2;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #888888;

    font-size: 11px;

    text-align: center;
}

.admin-product-image-small img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.admin-product-edit {
    color: #111111;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.admin-current-image {
    margin-bottom: 18px;
}

.admin-current-image span {
    display: block;

    margin-bottom: 8px;
}

.admin-current-image img {
    width: 130px;
    height: 130px;

    object-fit: cover;

    border-radius: 14px;
}

.admin-cancel-link {
    display: block;

    margin-top: 14px;

    text-align: center;

    color: #555555;

    text-decoration: none;
}


@media (max-width: 600px) {

    .admin-category-row {
        align-items: flex-start;
    }

    .admin-category-actions {
        flex-direction: column;

        gap: 8px;
    }

    .admin-product-image-small {
        width: 65px;
        height: 65px;

        flex-basis: 65px;
    }

}