﻿:root {
    --db-brown-900: #4a2f22;
    --db-brown-800: #5f3a2a;
    --db-brown-700: #7a4a34;
    --db-brown-600: #9b6444;
    --db-brown-100: #f6eee9;
    --db-cream-100: #fffaf5;
    --db-cream-200: #f8f0e8;
    --db-text-dark: #3c2418;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--db-cream-100);
    color: var(--db-text-dark);
}

a, .btn-link {
    color: var(--db-brown-700);
}

.btn-primary {
    color: #fff;
    background-color: var(--db-brown-700);
    border-color: var(--db-brown-800);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--db-brown-800);
    border-color: var(--db-brown-900);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(155, 100, 68, 0.35);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4y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zg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.home-slide {
    position: relative;
    min-height: 430px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 22px;
    overflow: hidden;
}

.home-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(74, 47, 34, 0.36) 0%, rgba(74, 47, 34, 0.16) 45%, rgba(74, 47, 34, 0.08) 100%);
}

.home-slide .container,
.home-slide .row,
.home-slide .detail-box {
    position: relative;
    z-index: 1;
}

.home-slide .detail-box h1,
.home-slide .detail-box p {
    color: #fff;
}

.slider_section .carousel-item {
    min-height: 460px;
}

.home-slide .container-fluid {
    height: 100%;
    padding: clamp(16px, 2.2vw, 28px);
}

.home-slide .row {
    min-height: calc(460px - (2 * clamp(16px, 2.2vw, 28px)));
    align-items: center;
}

.home-slide .detail-box {
    max-width: 620px;
    background: rgba(255, 245, 237, 0.16);
    border: 1px solid rgba(255, 239, 226, 0.5);
    border-radius: 18px;
    padding: 20px 22px;
    backdrop-filter: blur(2px);
}

.home-slide .detail-box p {
    color: #fff2e8;
}

.slider_section .detail-box .btn-box .btn1 {
    background: #fff2e6 !important;
    color: #6b4330 !important;
    border: 1px solid #f3dccb;
}

.slider_section .detail-box .btn-box .btn1:hover {
    background: #ffffff !important;
    color: #4a2f22 !important;
}

.home-slide-1 {
    background-image: url('/Images/slider/Slider1.jpg');
}

.home-slide-2 {
    background-image: url('/Images/slider/Slider2.jpg');
}

.home-slide-3 {
    background-image: url('/Images/slider/Slider3.jpg');
}

.db-fixed-header {
    background: rgba(74, 47, 34, 0.95);
    backdrop-filter: blur(2px);
}

.db-public-content {
    padding-top: 0;
    background: linear-gradient(180deg, var(--db-cream-100) 0%, var(--db-cream-200) 100%);
}

.menu-qty-control,
.menu-qty-control span,
.menu-qty-control i {
    color: #212529 !important;
}

.db-stat-card .card-body {
    padding: 1rem 1.15rem;
}

.bo-content .card {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.bo-content .card-header {
    border-bottom: 1px solid #edf2f7;
    padding: 0.95rem 1.15rem;
}

.bo-content .table {
    --bs-table-bg: transparent;
}

.bo-content .table > :not(caption) > * > * {
    padding: 0.78rem 0.7rem;
}

.db-stat-title {
    color: #8a6a55;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.db-stat-value {
    font-size: 1.6rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--db-text-dark);
}

.bo-content .btn {
    border-radius: 10px;
}

.bo-panel {
    border-radius: 14px;
    overflow: hidden;
}

.bo-alert {
    border-radius: 10px;
}

.bo-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #efe1d5;
    color: #5f3a2a;
    padding: 0.24rem 0.58rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.bo-chip-payment {
    min-width: 66px;
    justify-content: center;
}

.bo-chip-success {
    background: #ead9cb;
    color: #5f3a2a;
}

.bo-chip-warning {
    background: #f4e4d3;
    color: #7a4a34;
}

.bo-chip-muted {
    background: #e5e7eb;
    color: #4b5563;
}

.bo-perm-check {
    width: 1.05rem;
    height: 1.05rem;
}

.bo-upload-preview-wrap {
    border: 1px dashed #d7c0af;
    border-radius: 10px;
    padding: 0.55rem;
    background: #fff8f1;
    min-height: 124px;
}

.bo-upload-preview-wrap-compact {
    min-height: 88px;
    max-width: 190px;
}

.bo-upload-preview-fixed {
    min-height: 170px;
    height: 100%;
}

.bo-upload-preview {
    width: 100%;
    max-height: 105px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e6d4c7;
}

.bo-upload-empty {
    border: 1px dashed #d7c0af;
    border-radius: 8px;
    color: #8a6a55;
    font-size: 0.82rem;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffaf5;
}

.bo-upload-preview-fixed .bo-upload-preview {
    max-height: 128px;
}

.bo-upload-preview-fixed .bo-upload-empty {
    min-height: 110px;
}

.bo-brand-logo {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    border-radius: 50% !important;
    background: #fff !important;
}

.bo-sidebar a,
.bo-sidebar .btn-link,
.bo-sidebar .bo-link {
    color: #fff3e8 !important;
}

.bo-sidebar .bo-link:hover,
.bo-sidebar .bo-link.active,
.bo-sidebar a:hover,
.bo-sidebar .btn-link:hover {
    color: #ffffff !important;
}

.header_section .navbar-brand span,
.custom_nav-container .navbar-nav .nav-item .nav-link {
    color: #fff;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link,
.custom_nav-container .navbar-nav .nav-item.active .nav-link {
    color: #f9ddc8;
}

.user_option .order_online {
    background-color: var(--db-brown-700) !important;
    border-color: var(--db-brown-800) !important;
    color: #fff !important;
}

.user_option .order_online:hover {
    background-color: var(--db-brown-800) !important;
}

.food_section .filters_menu li.active {
    background-color: var(--db-brown-700) !important;
}

.food_section .box .detail-box h5,
.food_section .box .detail-box p,
.food_section .box .detail-box h6 {
    color: #fff;
}

.footer_section {
    background: linear-gradient(180deg, #5f3a2a 0%, #4a2f22 100%) !important;
}

.footer_section h4,
.footer_section p,
.footer_section .footer_contact .contact_link_box a,
.footer_section .footer-logo {
    color: #fff7ef !important;
}

.footer_section .footer_contact .contact_link_box a:hover {
    color: #f6d8c2 !important;
}

.offer_section .box {
    border: 1px solid #e2cdbf;
    border-radius: 18px;
    background: linear-gradient(165deg, var(--db-brown-700) 0%, var(--db-brown-900) 100%);
    box-shadow: 0 12px 26px rgba(74, 47, 34, 0.12);
    overflow: hidden;
    min-height: 238px;
    display: flex;
    align-items: center;
}

/*.offer_section .box .img-box {
    background: transparent !important;
    border-right: 1px solid rgba(255, 239, 226, 0.22);
}

.offer_section .box .img-box img {
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}
*/
    .offer_section .box .img-box {
        background: #fff7f2 !important;
        border-right: 1px solid rgba(255, 239, 226, 0.22);
        width: 200px; /* added */
        height: 200px; /* added */
        border-radius: 50%; /* added */
        overflow: hidden; /* added */
        display: flex; /* added */
        align-items: center; /* added */
        justify-content: center; /* added */
    }

        .offer_section .box .img-box img {
            max-height: 100%; /* modified */
            width: 100%; /* added */
            height: 100%; /* added */
            object-fit: contain;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
        }
.offer_section .box .detail-box {
    background: transparent;
    padding: 18px 16px;
}

.offer_section .box .detail-box h5,
.offer_section .box .detail-box h6,
.offer_section .box .detail-box h6 span {
    color: #fff7ef !important;
}

.offer_section .box .detail-box a {
    color: #fffaf5 !important;
}

.offer_section .box .detail-box a {
    display: inline-block;
    margin-top: 8px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 600;
}

.offer_section .box .detail-box a:hover {
    background: rgba(255, 255, 255, 0.24);
}

.offer_section .box:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 16px 30px rgba(74, 47, 34, 0.18);
}

.food_section .filters_menu li {
    color: var(--db-brown-800) !important;
    border: 1px solid #dfc8b7;
    background: #fff8f1;
}

.food_section .filters_menu li.active,
.food_section .filters_menu li:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--db-brown-700) 0%, var(--db-brown-800) 100%) !important;
    border-color: var(--db-brown-800) !important;
}

.food_section .box {
    border: 1px solid #e6d4c7;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(74, 47, 34, 0.11);
    overflow: hidden;
}

.food_section .box .img-box {
    background: #fff8f1 !important;
    border-bottom: 1px solid #ecded3;
}

.food_section .box .detail-box {
    background: linear-gradient(180deg, #7a4a34 0%, #5f3a2a 100%) !important;
}

.food_section .box .detail-box h5,
.food_section .box .detail-box p,
.food_section .box .detail-box h6 {
    color: #fff7ef !important;
}

.food_section .box .detail-box p {
    color: #f4dfcf !important;
}

.food_section .box .detail-box .db-product-desc {
    min-height: 72px;
}

.food_section .box .detail-box .db-view-more-link {
    color: #fff4e6 !important;
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.86rem;
}

.food_section .box .detail-box .db-view-more-link:hover {
    color: #ffffff !important;
}

.food_section .box .options h6 {
    font-weight: 700;
}

.food_section .box .btn-success {
    background-color: #fffaf5 !important;
    border-color: #fffaf5 !important;
}

.food_section .box .btn-success i {
    color: var(--db-brown-700) !important;
}

.food_section .box .menu-qty-control {
    border: 1px solid #d8c1b0 !important;
    background: #fffaf5 !important;
}

.food_section .btn-box a {
    background: linear-gradient(135deg, var(--db-brown-700) 0%, var(--db-brown-800) 100%) !important;
}

.food_section .btn-box a:hover {
    background: var(--db-brown-900) !important;
}

.about_section {
    background: linear-gradient(165deg, var(--db-brown-700) 0%, var(--db-brown-900) 100%) !important;
    border-radius: 16px;
    padding-top: 26px;
    padding-bottom: 26px;
    margin-bottom: 24px;
}

.about_section .detail-box {
    background: rgba(255, 250, 245, 0.08);
    border: 1px solid rgba(255, 239, 226, 0.35);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 10px 24px rgba(40, 22, 13, 0.2);
}

.about_section .detail-box .heading_container h2,
.about_section .detail-box p {
    color: #fff7ef !important;
}

.about_section .detail-box a {
    display: inline-block;
    margin-top: 6px;
    color: #4a2f22 !important;
    background: #fff2e6;
    border: 1px solid #f1d9c7;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
}

.about_section .detail-box a:hover {
    background: #fff8f2 !important;
}

.client_section .box {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(74, 47, 34, 0.12);
    background: transparent !important;
    border: none;
}

.client_section .box .detail-box {
    background: linear-gradient(165deg, var(--db-brown-700) 0%, var(--db-brown-900) 100%) !important;
    border-radius: 12px;
    border: 1px solid #d9c1b1;
}

.client_section .box .detail-box p,
.client_section .box .detail-box h6 {
    color: #fff7ef !important;
}

.client_section .box .img-box {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0d8c6;
    background: #fff;
}

.client_section .box .img-box .box-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*Category SLider*/
.category_slider_section {
    padding: 40px 0;
}

/* Owl fix for Blazor */
.owl-carousel {
    display: block !important;
}

/* Each slide */
.category-slider .item {
    display: flex;
    justify-content: center;
}

/* Content box */
.cat-item {
    text-align: center;
    width: 140px;
}

/* Circular image */
.cat-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform .3s ease;
}

    .cat-img:hover {
        transform: scale(1.06);
    }

/* Title */
.cat-title {
    margin-top: 12px;
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

/* Arrow buttons */
.cat-prev,
.cat-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
}


/*Cart Page*/
/* ===== CART TABLE ===== */

.cart-table {
    width: 100%;
    background: #fff;
}

    .cart-table th {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 14px;
        color: #555;
        border-bottom: 2px solid #eee;
    }

    .cart-table td {
        vertical-align: middle;
    }

/* Product image */
.cart-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

/* Quantity input */
.qty-input {
    width: 80px;
}

/* Total price color */
.cart-table td.text-danger {
    font-size: 16px;
}

/* Remove button */
.cart-table .btn-link {
    font-size: 20px;
    text-decoration: none;
}

/* ===== FOOTER (TOTAL + BUTTONS) ===== */

.cart-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grand-total {
    font-size: 20px;
    font-weight: 600;
}

    .grand-total span {
        color: #ff5722;
        margin-left: 8px;
    }

.cart-buttons {
    display: flex;
    gap: 12px;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {

    /* Table → stacked cards */
    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

        .cart-table tr {
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 15px;
            background: #fff;
        }

        .cart-table td {
            border: none;
            display: flex;
            justify-content: space-between;
            padding: 6px 0;
        }

    .cart-img {
        width: 60px;
        height: 60px;
    }

    .qty-input {
        width: 70px;
    }

    /* Footer stacked */
    .cart-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cart-buttons {
        width: 100%;
        flex-direction: column;
    }

        .cart-buttons .btn {
            width: 100%;
        }
}