@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

:root {
    --kudo-primary: var(--theme-color-1);
    --kudo-secondary: var(--theme-color-1, #cc0000);
    --kudo-bg: #f9f9f9;
    --kudo-text: #191919;
    --kudo-muted: #7f7f7f;
    --kudo-border: #ececec;
    --kudo-card: #ffffff;
    --kudo-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--kudo-bg);
    color: var(--kudo-text);
    font-family: 'Almarai', sans-serif;
}

body.noscroll {
    overflow: hidden;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    outline: 0;
}

.none {
    display: none;
}

.preloading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--kudo-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloading-spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.15);
    border-top-color: var(--kudo-secondary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.kudo-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: #fff;
    border-bottom: 1px solid var(--kudo-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.kudo-header-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.kudo-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--kudo-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.kudo-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kudo-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kudo-icon-btn {
    border: 0;
    outline: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f2f2f2;
    color: #303030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.kudo-icon-btn i {
    font-size: 18px;
}

.kudo-lang-btn {
    width: auto;
    min-width: 46px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
}

.kudo-cart-btn {
    border: 0;
    outline: 0;
    background: var(--kudo-secondary);
    color: #fff;
    border-radius: 12px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(204, 0, 0, 0.2);
}

.kudo-cart-btn i {
    font-size: 16px;
}

.cart-badge {
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 99px;
    background: #fff;
    color: var(--kudo-secondary);
    font-size: 12px;
    font-weight: 800;
    padding: 0 6px;
    text-align: center;
}

.kudo-main {
    padding: 14px 12px 90px;
}

.kudo-container {
    max-width: 880px;
    margin: 0 auto;
}

.kudo-hero-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--kudo-shadow);
    margin-bottom: 14px;
}

.kudo-hero-image {
    height: 215px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.kudo-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.kudo-hero-content {
    position: absolute;
    inset: auto 0 0 0;
    color: #fff;
    padding: 14px;
}

.kudo-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.kudo-hero-top h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

.kudo-hero-subtitle {
    margin: 5px 0 8px;
    font-size: 14px;
    opacity: 0.9;
}

.kudo-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 13px;
}

.kudo-hero-meta span,
.kudo-hero-meta a {
    color: #fff;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.kudo-secondary-btn {
    border: 0;
    outline: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.kudo-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.kudo-categories::-webkit-scrollbar {
    height: 0;
}

.menu-category {
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--kudo-border);
    border-radius: 999px;
    color: #404040;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.menu-category.active {
    border-color: transparent;
    background: var(--kudo-secondary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(204, 0, 0, 0.25);
}

.kudo-menu-list {
    display: grid;
    gap: 12px;
}

.section-menu {
    background: var(--kudo-card);
    border-radius: 16px;
    padding: 12px;
    border: 1px solid var(--kudo-border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.menu-item.list {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.menu-image {
    width: 94px;
    height: 94px;
    border-radius: 14px;
    overflow: hidden;
    flex: 0 0 94px;
    background: #f1f1f1;
    border: 1px solid var(--kudo-border);
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 8px;
    flex: 0 0 10px;
}

.badge .fa {
    font-size: 9px;
}

.badge.nonveg,
.badge.non-veg {
    color: #d32f2f;
}

.badge.veg {
    color: #2e7d32;
}

.menu-content {
    flex: 1;
    min-width: 0;
}

.menu-detail {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.menu-title {
    flex: 1;
}

.menu-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #202020;
}

.menu-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--kudo-secondary);
}

.menu-recipe {
    margin-top: 4px;
    font-size: 13px;
    color: var(--kudo-muted);
    line-height: 1.5;
}

.add-menu {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.add-btn.add-item-to-order {
    min-width: 84px;
    height: 34px;
    border-radius: 10px;
    background: var(--kudo-secondary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.add-btn.add-item-to-order i {
    font-size: 15px;
}

.customize {
    font-size: 11px;
    color: #7d7d7d;
}

.menu-category-item {
    margin-bottom: 10px;
}

.accordion .card {
    border: 1px solid var(--kudo-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion .card-header {
    border: 0;
    background: #fff;
    padding: 10px 12px;
}

.accordion .card-header .card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #222;
}

.accordion .card-body {
    padding: 10px;
    background: #fcfcfc;
}

.footer#view-order-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 10px 12px;
    background: linear-gradient(180deg, rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 0.95) 25%);
}

.order-footer {
    max-width: 880px;
    margin: 0 auto;
}

.view-order {
    background: #fff;
    border: 1px solid var(--kudo-border);
    border-radius: 14px;
    min-height: 56px;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.view-order .item {
    display: none !important;
}

.view-order .price {
    display: none !important;
}

.order-btn {
    width: 100%;
    border: 0;
    outline: 0;
    height: 56px;
    border-radius: 13px;
    padding: 0 20px;
    background: var(--kudo-secondary);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: rtl;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.26);
}

.order-btn .order-btn-label {
    line-height: 1;
}

.order-btn .order-btn-total {
    font-size: 0.88em;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0.96;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 1150;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.kudo-panel {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1200;
}

.kudo-panel-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 94vh;
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: translateY(105%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kudo-panel.active {
    pointer-events: auto;
}

.kudo-panel.active .kudo-panel-sheet {
    transform: translateY(0);
}

.kudo-panel-header {
    border-bottom: 1px solid var(--kudo-border);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kudo-panel-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.kudo-panel-header .kudo-icon-btn {
    width: 34px;
    height: 34px;
}

.kudo-panel-header .order-title-checkout {
    display: none;
}

.kudo-panel.checkout-step .order-title-cart {
    display: none;
}

.kudo-panel.checkout-step .order-title-checkout {
    display: block;
}

.your-order-content {
    padding: 12px;
    overflow-y: auto;
}

.order-step {
    display: none;
}

.order-step-cart {
    display: block;
}

.kudo-panel.checkout-step .order-step-cart {
    display: none;
}

.kudo-panel.checkout-step .order-step-checkout {
    display: block;
}

.your-order-items .section-menu {
    margin-bottom: 10px;
    padding: 10px;
}

.your-order-items .menu-detail {
    align-items: center;
}

.your-order-items .menu_title h4,
.your-order-items .menu-title h4 {
    font-size: 15px;
}

.item-extra-delete {
    color: var(--kudo-secondary);
}

.kudo-sheet {
    background: #fff6f6;
    border: 1px solid #ffdada;
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sheet-key {
    margin: 0;
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

.sheet-value {
    margin: 0;
    color: var(--kudo-secondary);
    font-size: 16px;
    font-weight: 800;
}

.kudo-primary-btn,
.kudo-link-btn {
    border: 0;
    outline: 0;
    width: 100%;
    height: 46px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.kudo-primary-btn {
    background: var(--kudo-secondary);
    color: #fff;
}

.kudo-primary-btn[disabled] {
    opacity: 0.45;
    cursor: default;
}

.kudo-link-btn {
    width: auto;
    height: auto;
    background: transparent;
    color: #4f4f4f;
    padding: 0;
    margin-bottom: 12px;
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.kudo-field-group {
    margin-bottom: 12px;
}

.kudo-field-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
    font-weight: 700;
}

.kudo-field-group .form-control {
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    height: 44px;
    box-shadow: none;
    font-size: 14px;
}

.kudo-field-group select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: left 12px center;
    padding-inline-start: 12px;
    padding-inline-end: 40px;
    line-height: 44px;
}

.kudo-field-group select.form-control::-ms-expand {
    display: none;
}

.kudo-field-group textarea.form-control {
    height: auto;
    min-height: 78px;
    resize: vertical;
}

.form-error {
    color: #d32f2f;
    font-size: 12px;
    margin-bottom: 8px;
    display: none;
}

.order-success-message {
    padding: 34px 18px;
    text-align: center;
}

.qr-success-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #e8fff0;
    color: #19a463;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.order-success-message h4 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 800;
}

.kudo-customize-body {
    padding: 12px;
    overflow-y: auto;
}

.customize-item-description {
    margin-bottom: 12px;
    color: #666;
    font-size: 13px;
}

.extras-heading .title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 2px;
}

.extras-heading small {
    color: #757575;
}

.menu-extra-item {
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 10px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.extra-item-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.extra-item-price {
    color: var(--kudo-secondary);
    font-size: 13px;
    font-weight: 700;
}

.kudo-panel-footer {
    padding: 12px;
    border-top: 1px solid var(--kudo-border);
    background: #fff;
}

.customize-quantity {
    margin-bottom: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.customize-quantity button {
    border: 0;
    background: #f3f3f3;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.customize-quantity .num {
    font-size: 16px;
    font-weight: 800;
}

.button-progress {
    animation: flash 1.2s infinite;
}

@keyframes flash {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.65;
    }
    100% {
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .kudo-main {
        padding: 18px 18px 100px;
    }

    .kudo-hero-image {
        height: 280px;
    }

    .kudo-hero-top h1 {
        font-size: 26px;
    }

    .kudo-panel {
        display: flex;
        align-items: stretch;
        justify-content: flex-end;
    }

    .kudo-panel-sheet {
        left: auto;
        top: 0;
        bottom: 0;
        max-height: none;
        width: 460px;
        border-radius: 0;
        transform: translateX(105%);
    }

    .kudo-panel.active .kudo-panel-sheet {
        transform: translateX(0);
    }
}

/* ===== Prime Menu Theme UI Refinements ===== */
.kudo-header {
    border-bottom: 1px solid #ececec;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.kudo-header-inner {
    max-width: 880px;
    min-height: 70px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: minmax(46px, 1fr) auto minmax(46px, 1fr);
    align-items: center;
    gap: 10px;
}

.kudo-header-spacer {
    width: 100%;
    height: 40px;
}

.kudo-logo {
    justify-self: center;
    width: 86px;
    height: 52px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.kudo-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kudo-header-actions {
    justify-self: end;
    gap: 8px;
    min-height: 40px;
}

.kudo-header-actions .dropdown {
    margin: 0;
}

.kudo-badge-root {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.kudo-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    background: transparent;
    color: var(--kudo-secondary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease;
}

.kudo-cart-link:hover,
.kudo-cart-link:focus {
    background: #fff2f2;
    color: var(--kudo-secondary);
}

.kudo-cart-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.kudo-touch-ripple {
    display: none;
}

.kudo-badge-badge {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--kudo-primary);
    color: #211a00;
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    padding: 0 5px;
    transform: scale(1);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.kudo-badge-badge.is-empty {
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
}

.kudo-main {
    padding: 12px 12px 90px;
}

.kudo-hero-card {
    border-radius: 14px;
    border: 1px solid #ececec;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.08);
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.kudo-hero-slider {
    width: 100%;
}

.kudo-hero-slide {
    width: 100%;
}

.kudo-hero-slide img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.kudo-branch-info {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}

.kudo-branch-info-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.kudo-branch-info h1 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
}

.kudo-secondary-btn {
    background: #f6f6f6;
    border: 1px solid #ececec;
    color: #1f2937;
}

.kudo-hero-subtitle {
    margin: 8px 0 10px;
    font-size: 14px;
    color: #5c5c5c;
}

.kudo-hero-meta {
    gap: 8px 14px;
    font-size: 13px;
}

.kudo-hero-meta span,
.kudo-hero-meta a {
    color: #555;
    opacity: 1;
}

.kudo-categories {
    margin-bottom: 12px;
    padding: 0;
    overflow: hidden;
}

.kudo-tabs-scroller {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid #ececec;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
    scrollbar-width: none;
}

.kudo-tabs-scroller::-webkit-scrollbar {
    height: 0;
}

.kudo-tabs-flex {
    display: flex;
    align-items: center;
    width: max-content;
    min-height: 50px;
    padding: 0 6px;
}

.menu-category {
    flex: 0 0 auto;
    height: 50px;
    line-height: 50px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #505050;
    font-size: 15px;
    font-weight: 700;
    padding: 0 14px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.menu-category.active {
    background: transparent;
    border: 0;
    color: #1b1b1b;
    box-shadow: none;
}

.kudo-tabs-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--kudo-secondary);
    transition: left 0.22s ease, width 0.22s ease;
}

.kudo-menu-list {
    gap: 12px;
}

.section-menu {
    border-radius: 16px;
    border: 1px solid #ececec;
    padding: 12px;
    box-shadow: 0 3px 12px rgba(17, 24, 39, 0.06);
}

.menu-item.list {
    gap: 12px;
    align-items: stretch;
}

.menu-image {
    position: relative;
    width: 102px;
    height: 102px;
    flex: 0 0 102px;
    border-radius: 12px;
    overflow: hidden;
}

.menu-image .badge.abs {
    position: absolute;
    bottom: 8px;
    inset-inline-start: 8px;
    margin: 0;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
}

.menu-item.list > .badge.only {
    margin-top: 8px;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.menu-lightbox-image {
    cursor: zoom-in;
}

.menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 102px;
}

.menu-detail {
    align-items: flex-start;
    gap: 10px;
}

.menu-title h4 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
}

.menu-price {
    font-size: 16px;
    color: #181818;
}

.menu-recipe {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #6a6a6a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.menu-recipe:empty {
    display: none;
}

.add-menu {
    gap: 6px;
}

.add-btn.add-item-to-order {
    min-width: 86px;
    height: 34px;
    border-radius: 999px;
    background: var(--kudo-secondary);
    box-shadow: none;
}

.customize {
    font-size: 11px;
    line-height: 1;
}

.your-order-items .add-menu {
    min-width: 122px;
    align-items: flex-end;
}

.your-order-items .add-btn.add-item-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    height: 36px;
    padding: 0 4px;
}

.your-order-items .add-btn.add-item-btn .wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 100%;
}

.your-order-items .add-btn.add-item-btn .addition {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #dddddd;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.your-order-items .add-btn.add-item-btn .count {
    width: 34px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.your-order-items .add-btn.add-item-btn .count .num {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.your-order-items .add-menu .menu_price {
    font-size: 13px;
    font-weight: 800;
    color: var(--kudo-secondary);
}

.kudo-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 14px;
    background: rgba(0, 0, 0, 0.86);
}

.kudo-image-viewer.active {
    display: flex;
}

.kudo-image-viewer img {
    width: auto;
    max-width: 94vw;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.kudo-image-viewer-close {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.kudo-menu-list.most-ordered-mode .collapse {
    display: block !important;
    height: auto !important;
}

@media (min-width: 992px) {
    .kudo-header-inner {
        padding: 10px 8px;
        min-height: 74px;
    }

    .kudo-logo {
        width: 96px;
        height: 56px;
    }

    .kudo-main {
        padding: 16px 8px 100px;
    }

    .kudo-hero-slide img {
        height: 280px;
    }

    .menu-image {
        width: 110px;
        height: 110px;
        flex-basis: 110px;
    }

    .menu-content {
        min-height: 110px;
    }
}

/* ===== Flipbook Final Match ===== */
:root {
    --kudo-gold: #ffc700;
    --kudo-danger: var(--theme-color-1, #cc0000);
}

.kudo-header {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    padding-bottom: 6px;
}

.kudo-header-inner {
    max-width: 920px;
    min-height: 86px;
    padding: 14px 16px;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.1);
    grid-template-columns: minmax(116px, 1fr) auto minmax(116px, 1fr);
}

.kudo-header-social {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
}

.kudo-social-link {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #ececec;
    background: #fff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kudo-social-link i {
    font-size: 18px;
}

.kudo-social-link.whatsapp {
    color: #25d366;
}

.kudo-social-link.whatsapp i {
    font-size: 20px;
}

.kudo-social-link:hover,
.kudo-social-link:focus {
    background: #fafafa;
    color: var(--kudo-danger);
    border-color: #e5e5e5;
}

.kudo-social-link.whatsapp:hover,
.kudo-social-link.whatsapp:focus {
    color: #25d366;
    background: #f2fff7;
    border-color: #d8f5e4;
}

.kudo-logo {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid #efefef;
    background: #fff;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.1);
}

.kudo-logo img {
    border-radius: 50%;
    object-fit: cover;
}

.kudo-header-actions {
    justify-self: end;
}

.kudo-cart-link {
    color: var(--kudo-danger);
}

.kudo-cart-link:hover,
.kudo-cart-link:focus {
    color: var(--kudo-danger);
    background: #fff3f3;
}

.kudo-badge-badge {
    background: var(--kudo-gold);
    color: #2a2100;
    box-shadow: 0 4px 10px rgba(255, 199, 0, 0.5);
}

.kudo-hero-card {
    border-radius: 12px;
}

.kudo-hero-slider {
    position: relative;
    height: 246px;
    overflow: hidden;
    border-radius: 12px;
}

.kudo-hero-slide {
    position: absolute;
    inset: 0;
    display: none;
}

.kudo-hero-slide.is-active {
    display: block;
}

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

.kudo-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.kudo-hero-slide-title {
    position: absolute;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    bottom: 24px;
    z-index: 2;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.38);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kudo-hero-order-cta {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: rgba(204, 0, 0, 0.9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.kudo-hero-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kudo-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.kudo-hero-dot.active {
    width: 18px;
    background: #fff;
}

.kudo-branch-info {
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
    margin-bottom: 14px;
}

.kudo-tabs-scroller {
    border-radius: 0;
    box-shadow: none;
}

.kudo-tabs-indicator {
    display: none !important;
    width: 0 !important;
    opacity: 0 !important;
}

.kudo-tabs-flex .menu-category {
    position: relative;
}

.kudo-tabs-flex .menu-category.active::after {
    content: "";
    position: absolute;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--kudo-danger);
}

.kudo-menu-list .section-menu {
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    padding: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.08);
    margin: 0 0 8px;
}

.kudo-menu-list .section-menu:last-child {
    margin-bottom: 0;
}

.kudo-menu-list .menu-category-item {
    margin: 0;
    padding: 0;
}

.kudo-menu-list .menu-item.list {
    display: block;
}

.kudo-menu-list .menu-item.list > .menu-content {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-areas:
        "image title"
        "image desc"
        "image footer";
    gap: 8px 12px;
    align-items: start;
}

.kudo-menu-list .menu-image {
    grid-area: image;
    width: 132px;
    height: 132px;
    border-radius: 12px;
    border: 1px solid #ececec;
    overflow: hidden;
    background: #f4f4f4;
}

.kudo-menu-list .menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kudo-menu-list .menu-image-placeholder {
    background: linear-gradient(135deg, #f4f4f4 0%, #ececec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kudo-menu-list .menu-image-placeholder-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #808080;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.kudo-menu-list .menu-image .badge.abs {
    display: none !important;
}

.kudo-menu-list .menu-title {
    grid-area: title;
    min-width: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.kudo-menu-list .menu-title h4 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    color: #131313;
    flex: 1;
    min-width: 0;
}

.kudo-menu-list .menu-price {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 800;
    color: #161616;
    white-space: nowrap;
}

.kudo-menu-list .menu-recipe {
    grid-area: desc;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #606060;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kudo-menu-list .menu-recipe:empty {
    display: none;
}

.kudo-menu-list .section-menu.no-recipe .menu-item.list > .menu-content {
    grid-template-areas:
        "image title"
        "image footer";
    gap: 6px 12px;
    align-content: start;
}

.kudo-menu-list .section-menu.no-recipe .menu-card-footer {
    margin-top: 0;
}

.kudo-menu-list .menu-card-footer {
    grid-area: footer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.kudo-menu-list .add-menu {
    align-items: center;
    gap: 4px;
}

.kudo-menu-list .menu-qty-control {
    display: grid !important;
    grid-template-columns: 40px minmax(70px, 1fr) 40px;
    align-items: center;
    gap: 6px;
    width: min(100%, 260px);
    margin-inline: auto;
    padding: 4px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #f7f7f7;
}

.kudo-menu-list .menu-qty-control .qty-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.kudo-menu-list .menu-qty-control .qty-btn:hover {
    transform: translateY(-1px);
}

.kudo-menu-list .menu-qty-control .qty-btn i {
    font-size: 16px;
}

.kudo-menu-list .menu-qty-control .menu-qty-plus {
    background: var(--kudo-danger);
    color: #fff;
}

.kudo-menu-list .menu-qty-control .menu-qty-minus {
    background: #fff;
    color: #2c2c2c;
    border: 1px solid #dddddd;
}

.kudo-menu-list .menu-qty-control .menu-qty-input {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #111;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    padding: 0 8px;
    direction: ltr;
    -moz-appearance: textfield;
}

.kudo-menu-list .menu-qty-control .menu-qty-input:focus {
    outline: none;
}

.kudo-menu-list .menu-qty-control .menu-qty-input::-webkit-outer-spin-button,
.kudo-menu-list .menu-qty-control .menu-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kudo-menu-list .customize {
    color: #6b7280;
}

.kudo-menu-list .menu-status {
    margin: 0 0 2px;
    color: #168f44;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    display: none !important;
}

/* Browse-only mode (ordering disabled) */
body.kudo-view-only .kudo-menu-list .menu-card-footer:empty {
    display: none;
}

body.kudo-view-only .kudo-menu-list .menu-item.list > .menu-content {
    grid-template-areas:
        "image title"
        "image desc";
    gap: 10px 14px;
    align-items: center;
}

body.kudo-view-only .kudo-menu-list .menu-title {
    align-items: center;
    align-self: end;
}

body.kudo-view-only .kudo-menu-list .section-menu.no-recipe .menu-item.list > .menu-content {
    grid-template-areas: "image title";
    gap: 0 14px;
    align-items: center;
}

body.kudo-view-only .kudo-menu-list .section-menu.no-recipe .menu-title {
    align-self: center;
}

body.kudo-view-only .kudo-menu-list .section-menu.no-recipe .menu-title h4 {
    font-size: 21px;
    line-height: 1.3;
}

body.kudo-view-only .kudo-menu-list .section-menu.no-recipe .menu-price {
    font-size: 20px;
}

.kudo-menu-list.most-ordered-mode {
    display: block;
}

.kudo-menu-list.most-ordered-mode .menu-category-item,
.kudo-menu-list.most-ordered-mode .card,
.kudo-menu-list.most-ordered-mode .card-body,
.kudo-menu-list.most-ordered-mode .accordion {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.kudo-menu-list.most-ordered-mode .section-menu {
    margin-bottom: 8px;
}

.your-order-items .add-btn.add-item-btn .wrapper {
    gap: 6px;
}

.your-order-items .add-btn.add-item-btn .count {
    width: 36px;
}

.your-order-items .add-btn.add-item-btn .count .num {
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .kudo-header-inner {
        min-height: 82px;
        padding: 12px 10px;
        grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
    }

    .kudo-logo {
        width: 58px;
        height: 58px;
    }

    .kudo-cart-link {
        padding: 0 8px;
        font-size: 13px;
    }

    .kudo-hero-slider {
        height: 220px;
    }

    .kudo-menu-list .menu-item.list > .menu-content {
        grid-template-columns: 114px minmax(0, 1fr);
    }

    .kudo-menu-list .menu-image {
        width: 114px;
        height: 114px;
    }

    .kudo-menu-list .menu-title h4 {
        font-size: 17px;
    }

    .kudo-menu-list .menu-price {
        font-size: 16px;
    }

    .kudo-menu-list .menu-card-footer {
        margin-top: 0;
    }

    .view-order {
        min-height: 52px;
        max-width: 460px;
        padding: 0;
    }

    .order-btn {
        width: 100%;
        min-width: 0;
        height: 52px;
        font-size: 16px;
        padding: 0 14px;
    }
}
