.custom-menu-item {
    padding: 14px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.custom-menu-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.custom-menu-item:first-child {
    padding-top: 0;
}

.custom-menu-item-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-menu-item-title {
    min-width: 0;
    flex: 1;
}

.custom-menu-item-title h5 {
    margin-bottom: 0;
    word-break: break-word;
}

.custom-menu-item-line {
    flex: 1;
    border-bottom: 1px dotted #cfcfcf;
    min-width: 20px;
}

.custom-menu-item-price {
    white-space: nowrap;
    flex-shrink: 0;
}

.custom-menu-item-desc p {
    margin: 8px 0 0 0;
    word-break: break-word;
}

.custom-menu-item-meta {
    margin-top: 8px;
}

.custom-menu-item-meta p {
    margin: 0 0 5px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6c757d;
}

.custom-menu-item-meta strong {
    color: #343a40;
    font-weight: 600;
}

.custom-menu-item-badges {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-menu-item-badges .badge {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 16px;
    color: #fff !important;
}

.menu-group-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.table-badge-light {
    display: inline-block;
    margin-top: 14px;
    padding: 7px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.custom-order-btn-wrap {
    margin-top: 12px;
}

.custom-order-btn-wrap {
    display: flex;
    justify-content: flex-end;
}

.btn-order-product-light {
    background: #c49b63;
    border: 0;
    color: #fff;
    padding: 9px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

.btn-order-product-light:hover {
    background: #222;
    color: #fff;
}

.cart-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1055;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: #c49b63;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    font-size: 24px;
}

.cart-fab-count {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    background: #fff;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1058;
    display: none;
}

.cart-drawer-overlay.show {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #111;
    color: #fff;
    z-index: 1059;
    transition: right .25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,.25);
}

.cart-drawer.show {
    right: 0;
}

.cart-drawer-header {
    padding: 20px 20px 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h4 {
    margin: 0;
    color: #fff;
}

.cart-close-btn {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.cart-drawer-body {
    padding: 18px 20px;
    overflow-y: auto;
    flex: 1;
}

.cart-empty {
    color: rgba(255,255,255,.7);
    text-align: center;
    padding: 50px 10px;
}

.cart-item {
    padding: 14px 0;
    border-bottom: 1px dashed rgba(255,255,255,.12);
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.cart-item-name {
    font-weight: 600;
    color: #fff;
}

.cart-item-price {
    white-space: nowrap;
    color: #c49b63;
    font-weight: 700;
}

.cart-item-meta {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.72);
}

.cart-item-actions {
    margin-top: 10px;
}

.cart-remove-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
}

.cart-drawer-footer {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 20px 20px 20px;
    background: #111;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 600;
}

.cart-footer-actions {
    display: flex;
    gap: 10px;
}

.btn-cart-clear,
.btn-cart-complete {
    flex: 1;
    border: 0;
    border-radius: 30px;
    padding: 11px 14px;
    font-weight: 600;
}

.btn-cart-clear {
    background: #2b2b2b;
    color: #fff;
}

.btn-cart-complete {
    background: #c49b63;
    color: #fff;
}

.qr-order-modal {
    padding: 0 !important;
}

.qr-order-modal .modal-dialog {
    max-width: 560px;
    width: calc(100% - 32px);
    margin: 24px auto;
}

.qr-order-modal .modal-content {
    border-radius: 18px;
    border: 0;
    background: #fff !important;
    color: #222 !important;
    overflow: hidden;
    max-height: calc(100vh - 48px);
}

.qr-order-modal .modal-header,
.qr-order-modal .modal-body,
.qr-order-modal .modal-footer {
    background: #fff !important;
}

.qr-order-modal .modal-title,
.qr-order-modal label,
.qr-order-modal .close {
    color: #222 !important;
}

.qr-order-modal .form-group {
    margin-bottom: 16px !important;
}

.qr-order-modal .form-control {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 44px;
    background: #fff !important;
    color: #222 !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.qr-order-modal textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.qr-order-modal .form-control:focus {
    border-color: #c49b63 !important;
    box-shadow: 0 0 0 0.15rem rgba(196, 155, 99, 0.18) !important;
    color: #222 !important;
    background: #fff !important;
}

.qr-order-modal .form-control[readonly] {
    background: #f8f9fa !important;
    color: #222 !important;
    opacity: 1 !important;
}

.qr-order-modal .form-control::placeholder,
.qr-order-modal textarea::placeholder {
    color: #7a7a7a !important;
    opacity: 1 !important;
}

.qr-order-modal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.qr-order-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #e9ecef !important;
}

.qr-order-modal .modal-footer .btn {
    min-width: 120px;
    height: 44px;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 14px;
    box-shadow: none !important;
    text-transform: none !important;
}

.qr-order-modal .modal-footer .btn-light {
    background: #f3f4f6 !important;
    border: 1px solid #dcdfe3 !important;
    color: #444 !important;
}

.qr-order-modal .modal-footer .btn-light:hover {
    background: #e9ecef !important;
    border-color: #cfd4da !important;
    color: #222 !important;
}

.qr-order-modal .btn-add-cart {
    min-width: 140px;
    height: 44px;
    background: #c49b63 !important;
    border: 1px solid #c49b63 !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 14px;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qr-order-modal .btn-add-cart:hover {
    background: #b3884f !important;
    border-color: #b3884f !important;
    color: #fff !important;
}

.qr-order-modal .btn-add-cart:focus,
.qr-order-modal .modal-footer .btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.15rem rgba(196, 155, 99, 0.18) !important;
}

.qr-order-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qr-order-modal .qr-modal-close {
    margin: 0 !important;
    padding: 0 !important;
    width: 34px;
    height: 34px;
    border: 1px solid #d9d9d9 !important;
    border-radius: 10px;
    background: #f8f9fa !important;
    color: #666 !important;
    font-size: 24px;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    box-shadow: none !important;
    outline: none !important;
    position: static !important;
    float: none !important;
}

.qr-order-modal .qr-modal-close span {
    display: inline-block;
    line-height: 1;
    margin-top: -2px;
}

.qr-order-modal .qr-modal-close:hover {
    background: #eceff1 !important;
    color: #222 !important;
    border-color: #cfd4da !important;
}

.qr-order-modal .qr-modal-close:focus {
    box-shadow: 0 0 0 0.15rem rgba(196, 155, 99, 0.18) !important;
}

@media (max-width: 767.98px) {
    .qr-order-modal .qr-modal-close {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }
}

@media (max-width: 991.98px) {
    .custom-negative-margin-top-1 {
        margin-top: 0 !important;
    }

    .menu-group-image {
        max-height: 280px;
    }
}

@media (max-width: 767.98px) {
    .cart-drawer {
        max-width: 100%;
        width: 100%;
    }

    .cart-drawer-body {
        padding-bottom: 90px;
    }

    .cart-drawer-footer {
        position: sticky;
        bottom: 0;
    }

    .qr-order-modal {
        padding: 8px !important;
    }

    .qr-order-modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        min-height: calc(100vh - 16px);
        display: flex;
        align-items: center;
    }

    .qr-order-modal .modal-content {
        width: 100% !important;
        max-height: calc(100vh - 16px);
        border-radius: 14px !important;
    }

    .qr-order-modal .modal-header {
        padding: 14px 16px;
    }

    .qr-order-modal .modal-body {
        padding: 14px 16px;
        max-height: calc(100vh - 165px);
    }

    .qr-order-modal .modal-footer {
        padding: 12px 16px 16px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .qr-order-modal .modal-footer .btn,
    .qr-order-modal .modal-footer .btn-add-cart {
        background: #c49b63;
    border: 0;
    color: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    }

    .cart-fab {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 76px;
        font-size: 20px;
    }

    .cart-fab-count {
        top: -3px;
        right: -3px;
    }

    .modal-open .cart-fab {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .card-body {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .custom-order-btn-wrap {
        text-align: left;
        margin-top: 15px;
    }

    .btn-order-product-light {
        max-width: 100%;
        white-space: nowrap;
    }
}

#menu .custom-negative-margin-top-1 {
    margin-top: -220px !important;
}

#menu .menu-group-image {
    position: relative;
    z-index: 1;
}

#menu .card {
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    #menu .custom-negative-margin-top-1 {
        margin-top: 24px !important;
    }

    #menu .menu-group-image {
        margin-bottom: 0 !important;
    }

    #menu .card {
        margin-top: 0 !important;
    }
}

.qr-category-navigation {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
    border: 1px solid rgba(31, 38, 48, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 32px rgba(31, 38, 48, .10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.qr-category-sticky-shell {
    position: sticky;
    z-index: 1030;
    top: 0;
    padding: 8px 0;
}

.qr-category-scroll {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    width: 100%;
    overflow-x: auto;
    padding: 12px 55px 18px;

    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.qr-category-scroll::-webkit-scrollbar {
    display: none;
}

.qr-category-pill {
    flex: 0 0 auto;
    padding: 11px 20px;

    border-radius: 50px;
    background: #c99c5d;

    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;

    box-shadow: 0 7px 18px rgba(201, 156, 93, 0.22);

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

.qr-category-pill:hover {
    color: #fff !important;
    background: #b98b4f;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(201, 156, 93, 0.32);
}

.qr-category-pill.is-active,
.qr-category-pill[aria-selected="true"] {
    color: #fff !important;
    background: #252a31;
    box-shadow: 0 8px 20px rgba(37, 42, 49, .24);
}

.qr-menu-category-section[hidden] {
    display: none !important;
}

.qr-menu-category-section.is-active-category .appear-animation {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}


/* Sağ-sol kategori okları */

.qr-category-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

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

    width: 42px;
    height: 42px;

    border: 1px solid #eee;
    border-radius: 50%;

    background: #fff;
    color: #c99c5d;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .12);

    transform: translateY(-55%);
    transition: all .2s ease;
}

.qr-category-arrow:hover {
    background: #c99c5d;
    color: #fff;
}

.qr-category-arrow-left {
    left: 0;
}

.qr-category-arrow-right {
    right: 0;
}


/* İlgili kategoriye giderken header altında kalmasın */

.qr-menu-category-section {
    scroll-margin-top: 130px;
}


/* Mobil */

@media (max-width: 991px) {

    .qr-category-navigation {
        margin-bottom: 0;
        border-radius: 15px;
    }

    .qr-category-sticky-shell {
        padding: 6px 10px;
    }

    .qr-category-scroll {
        justify-content: flex-start;
        padding: 10px 2px 14px;
    }

    .qr-category-pill {
        padding: 9px 15px;
        font-size: 13px;
    }

    /* Mobilde parmakla kaydırmak daha kullanışlı */
    .qr-category-arrow {
        display: none;
    }

    .qr-menu-category-section {
        scroll-margin-top: 90px;
    }
}
