/**
 * Site-wide mobile layout (all public pages).
 * Load after royal-cafe-theme.css — fixes header, hero, sections, footer on phone/tablet.
 */

@media (max-width: 991px) {
    body {
        font-size: 16px;
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
    }

    .w-container,
    .container-default,
    .container-2,
    .container-3,
    .kacchibhai---container-default,
    .kacchibhai---container-default-2,
    .kacchibhai---container-default-3,
    .kacchibhai---container-default-6,
    .kacchibhai---container-default-9,
    .kacchi-bhai---container-default-6,
    .delivery---container-default-4,
    .discount-container,
    .kacchibhai-branch--container,
    .f-container-regular {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    /* —— Sticky header —— */
    .kacchibhai-navigation {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
        overflow: visible !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 0 !important;
    }

    .kacchibhai-navigation-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        min-height: 40px;
        padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)) !important;
        box-sizing: border-box;
    }

    .kacchibhai-navigation-link-wrapper {
        flex: 0 1 auto;
        min-width: 0;
    }

    .kb-nav-search {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        margin: 0 8px 0 6px;
        z-index: 60;
    }

    .kb-nav-search-field {
        height: 34px;
        padding: 0 10px;
    }

    .kb-nav-search-input {
        font-size: 12px;
    }

    .kb-nav-search-results {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 52px;
        min-width: 0;
        width: auto;
        max-height: min(70vh, 380px);
    }

    .kacchibhai-navigation-content {
        flex: 0 0 auto;
        display: flex !important;
        align-items: center !important;
        gap: 8px;
        margin-left: auto;
        position: static !important;
    }

    .kacchibhai-navigation.w-nav[data-collapse="medium"] .kacchibhai-navigation-menu.w-nav-menu {
        display: none !important;
    }

    .kacchibhai-navigation.w-nav[data-collapse="medium"] .kacchibhai-navigation-menu.w-nav-menu.w--open,
    .kacchibhai-navigation.w-nav.w--open .kacchibhai-navigation-menu.w-nav-menu,
    .kacchibhai-navigation-menu.w-nav-menu[data-nav-menu-open] {
        display: flex !important;
    }

    .kacchibhai-navigation-menu.w-nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        background: #fff !important;
        color: #171717 !important;
        border-top: 1px solid #ececec;
        border-radius: 0;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
        padding: 8px 16px 20px !important;
        max-height: min(calc(100dvh - 72px), 520px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1001;
    }

    .kacchibhai-navigation-menu.w-nav-menu.w--open,
    .kacchibhai-navigation-menu.w-nav-menu[data-nav-menu-open] {
        background: #fff !important;
        color: #171717 !important;
    }

    .kacchibhai-navigation .w-nav-overlay {
        display: none !important;
    }

    .kacchibhai-navigation-link.w-nav-link {
        color: #171717 !important;
        width: 100% !important;
        white-space: normal !important;
        padding: 12px 10px !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        border-radius: 10px;
        text-align: left;
    }

    .kacchibhai-navigation-link.w-nav-link.w--current {
        color: #fe0000 !important;
        background: rgba(212, 175, 55, 0.12);
    }

    .kb-nav-dropdown {
        width: 100% !important;
        display: block !important;
    }

    .kb-nav-dropdown-menu {
        position: static !important;
        display: block !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 0 4px 12px !important;
    }

    .kb-nav-dropdown-link {
        padding: 10px 8px !important;
        font-size: 15px !important;
        white-space: normal !important;
        color: #404040 !important;
    }

    .kb-nav-hotline,
    .kacchibhai-navigation-button.corporate {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        margin: 6px 0 0 !important;
        padding: 12px 16px !important;
        justify-content: center;
        align-items: center;
        border-radius: 12px !important;
        font-size: 15px !important;
        white-space: normal !important;
        box-sizing: border-box;
        position: static !important;
        inset: auto !important;
    }

    .kacchibhai-navigation-menu-button.w-nav-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0 !important;
        margin: 0;
        border-radius: 10px !important;
        background: #f5f5f5 !important;
        border: 1px solid #e5e5e5 !important;
        position: relative;
        z-index: 1002;
        cursor: pointer;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: transparent;
        float: none !important;
    }

    .kacchibhai-navigation-menu-button.w--open {
        background: rgba(212, 175, 55, 0.15) !important;
        border-color: #d4af37 !important;
    }

    /* —— Hero (home) —— */
    .hero-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: auto !important;
        height: auto !important;
        padding: 12px 16px 18px !important;
        text-align: center !important;
        background-position: center !important;
        background-size: cover !important;
    }

    .hero-section .header-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .hero-section .heading-2,
    .hero-section .heading-3,
    .header-container .heading-2,
    .header-container .heading-3 {
        padding: 0 !important;
        margin: 0 auto 2px !important;
        text-align: center !important;
        font-size: clamp(1.35rem, 6.5vw, 2rem) !important;
        line-height: 1.1 !important;
    }

    .hero-section .heading-3 {
        font-size: clamp(1.5rem, 7.5vw, 2.25rem) !important;
        margin-bottom: 4px !important;
    }

    .hero-section .header-container {
        margin-bottom: 0 !important;
    }

    .hero-section .button-2.w-button {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 10px auto 0 !important;
        margin-top: 10px !important;
        padding: 10px 22px !important;
        font-size: 15px !important;
        max-width: min(100%, 260px);
        min-width: 150px;
        justify-content: center;
        align-items: center;
    }

    /* —— Footer (mobile premium layout) —— */
    .kb-footer-wave {
        margin-top: 32px;
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .kb-footer-wave-top {
        height: clamp(28px, 8vw, 44px);
    }

    .kb-footer-shell {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .kb-footer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        padding: 20px 0 18px !important;
    }

    .kb-footer-brand-col {
        grid-column: 1 / -1;
        text-align: center;
        padding: 18px 16px 16px;
        border-radius: 18px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    }

    .kb-footer-brand {
        margin: 0 auto 8px;
    }

    .kb-footer-brand-logo {
        width: 72px !important;
        max-height: 72px !important;
        margin: 0 auto;
    }

    .kb-footer-brand-name {
        max-width: none;
        margin: 0 auto 6px;
        font-size: 1.05rem !important;
        line-height: 1.35 !important;
    }

    .kb-footer-brand-location {
        max-width: 18rem;
        margin: 0 auto 12px;
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
        color: rgba(248, 250, 252, 0.62) !important;
    }

    .kb-footer-socials {
        justify-content: center;
        gap: 10px;
    }

    .kb-footer-social {
        width: 40px;
        height: 40px;
    }

    .kb-footer-col:not(.kb-footer-brand-col):not(.kb-footer-contact-col) {
        padding: 14px 12px 12px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.08);
        min-width: 0;
    }

    .kb-footer-grid > .kb-footer-col:nth-child(4) {
        grid-column: 1 / -1;
    }

    .kb-footer-contact-col {
        grid-column: 1 / -1;
        padding-left: 0 !important;
    }

    .kb-footer-heading {
        margin-bottom: 0.7rem;
        font-size: 0.68rem !important;
        letter-spacing: 0.14em;
    }

    .kb-footer-heading::after {
        width: 18px;
        margin-top: 0.45rem;
    }

    .kb-footer-list li + li {
        margin-top: 0.35rem;
    }

    .kb-footer-link,
    .kb-footer-text {
        display: block;
        padding: 5px 0;
        font-size: 0.9rem !important;
        line-height: 1.45 !important;
    }

    .kb-footer-link:hover {
        transform: none;
        color: #fff;
    }

    .kb-footer-contact-card {
        padding: 16px 14px 14px;
        border-radius: 18px;
        background:
            linear-gradient(165deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    }

    .kb-footer-contact-card .kb-footer-heading {
        text-align: center;
    }

    .kb-footer-contact-card .kb-footer-heading::after {
        margin-left: auto;
        margin-right: auto;
    }

    .kb-footer-address {
        text-align: center;
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
        margin-bottom: 12px !important;
    }

    .kb-footer-contact-lines {
        gap: 0;
        margin-bottom: 14px;
    }

    .kb-footer-contact-item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
    }

    .kb-footer-contact-label {
        flex: 0 0 auto;
        font-size: 0.62rem !important;
    }

    .kb-footer-contact-value {
        text-align: right;
        font-size: 0.92rem !important;
        word-break: break-word;
    }

    .kb-footer-cta {
        display: flex !important;
        width: 100%;
        justify-content: center;
        align-items: center;
        min-height: 44px;
        padding: 12px 18px !important;
        border-radius: 999px !important;
        font-size: 0.92rem !important;
        box-sizing: border-box;
    }

    .kb-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding-top: 16px;
        margin-top: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .kb-footer-copy {
        font-size: 0.78rem !important;
        line-height: 1.55 !important;
        color: rgba(248, 250, 252, 0.55) !important;
    }

    .kb-footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .kb-footer-legal-link {
        padding: 4px 2px;
        font-size: 0.82rem !important;
    }

    .kb-fb-float {
        right: 14px;
        bottom: max(18px, env(safe-area-inset-bottom));
        z-index: 40;
    }

    .kb-fb-float-btn {
        width: 52px;
        height: 52px;
    }

    .kb-fb-float-icon {
        width: 34px;
        height: 34px;
    }

    .kb-fb-float-bubble {
        max-width: min(200px, calc(100vw - 96px));
        font-size: 0.78rem;
        white-space: normal;
    }

    .kb-fb-float-bubble::after {
        right: 18px;
    }

    .kacchibhai---paragraph-default-4 {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .button-2.join {
        display: inline-flex !important;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        padding: 12px 20px !important;
    }

    /* —— Shared page sections —— */
    .section-heading,
    .kacchi-bhai---heading-h2-size-7,
    .kacchibhai---heading-h2-size-2,
    .kacchibhai-testimonial-top-heading {
        font-size: clamp(1.25rem, 5.5vw, 1.75rem) !important;
        line-height: 1.3 !important;
    }

    .order-process-section,
    .kacchi-bhai---section-5,
    .discount-section,
    .kacchibhai---branch---section,
    .menu-section,
    .section-small,
    .kacchibhai-testimonial-section-4,
    .kacchibhai---section-position-relative-2 {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .kacchi-bhai---grid-2-columns---gap-row-72px {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .kacchi-bhai---card-link-img-bg {
        min-height: 160px;
        padding: 18px !important;
        border-radius: 16px !important;
        overflow: hidden;
    }

    .kacchi-bhai---heading-h3-size-5 {
        font-size: 1.1rem !important;
        line-height: 1.35 !important;
    }

    .kacchi-bhai---paragraph-default-8 {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .discount-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .discount-section .kacchibhai---color-neutral-300,
    .discount-section img.kacchibhai---color-neutral-300 {
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .discount-card-container {
        padding: 14px !important;
    }

    .location-label {
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    /* Branch detail */
    .kacchibhai-branch-hero-section {
        padding: 20px 0 !important;
    }

    .kacchibhai-branch--grid-two-column {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .kacchibhai-branch--block-hero-large,
    .div-block-12 {
        text-align: center;
    }

    .udesly-display-large,
    .udesly-display-large.udesly-text-extrabold {
        font-size: clamp(1.4rem, 6vw, 1.85rem) !important;
        line-height: 1.25 !important;
        text-align: center;
    }

    .branch-navigation .grid-9 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .branch-navigation .div-block-3 {
        padding: 12px 8px !important;
        text-align: center;
    }

    .branch-navigation .heading-24 {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .f-section-large {
        padding: 28px 0 !important;
    }

    .f-gallery-two-column-s,
    .f-gallery-two-column {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .f-gallery-image-x-tall,
    .f-gallery-image-x-small-square {
        min-height: 180px;
    }

    .f-image-cover {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .branch-section {
        padding: 24px 16px !important;
    }

    .heading-26 {
        font-size: clamp(1.25rem, 5vw, 1.5rem) !important;
        text-align: center;
    }

    .grid-10 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        text-align: center;
    }

    .paragraph-6 {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    /* About — keep desktop collage hidden on phone/tablet */
    .uui-section_testimonial08 {
        display: none !important;
    }

    .uui-section_testimonial08 .uui-container-large {
        max-height: none !important;
        max-width: 100% !important;
    }

    .uui-section_testimonial08 .uui-page-padding {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .uui-section_testimonial08 .uui-padding-vertical-xhuge {
        padding-top: 8px !important;
        padding-bottom: 10px !important;
    }

    .uui-section_testimonial08 .uui-testimonial08_component {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        align-items: stretch !important;
    }

    .uui-section_testimonial08 .uui-testimonial08_image-wrapper {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        grid-template-rows: minmax(96px, 24vw) minmax(88px, 21vw) minmax(100px, 25vw) !important;
        grid-column-gap: 7px !important;
        grid-row-gap: 7px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        justify-self: stretch;
    }

    .uui-section_testimonial08 .uui-testimonial08_image {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    #w-node-b3350950-c75f-2fbe-b4ce-f788cd7e4d55-e15d9c07 {
        grid-area: 1 / 1 / 3 / 4 !important;
    }

    #w-node-b3350950-c75f-2fbe-b4ce-f788cd7e4d59-e15d9c07 {
        grid-area: 1 / 4 / 3 / 7 !important;
    }

    #w-node-b3350950-c75f-2fbe-b4ce-f788cd7e4d56-e15d9c07 {
        grid-area: 3 / 1 / 4 / 3 !important;
    }

    #w-node-b3350950-c75f-2fbe-b4ce-f788cd7e4d57-e15d9c07 {
        grid-area: 3 / 3 / 4 / 5 !important;
    }

    #w-node-b3350950-c75f-2fbe-b4ce-f788cd7e4d58-e15d9c07 {
        grid-area: 3 / 5 / 4 / 7 !important;
    }

    .uui-section_testimonial08 .uui-testimonial08_content,
    #w-node-b3350950-c75f-2fbe-b4ce-f788cd7e4d5a-e15d9c07 {
        order: 0 !important;
        width: 100% !important;
        max-width: none !important;
        padding: 2px 2px 0 14px !important;
        border-left: 4px solid #b91c1c !important;
        box-sizing: border-box;
    }

    .uui-section_testimonial08 .kb-about-headline {
        font-size: clamp(1.45rem, 6.4vw, 1.85rem) !important;
        line-height: 1.28 !important;
        margin: 0 0 0.55rem !important;
    }

    .uui-section_testimonial08 .kb-about-headline-sub {
        font-size: 0.68rem !important;
        letter-spacing: 0.12em !important;
        line-height: 1.55 !important;
    }

    .story-section,
    .story-section-founder-speech {
        padding: 16px 16px 28px !important;
    }

    .story-section .our-story-card .paragraph-2 {
        text-align: left !important;
    }

    .kb-owner-grid,
    .kb-owner-grid--count-2,
    .kb-owner-grid--count-3 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 10px !important;
        max-width: 100%;
        margin-inline: 0;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .kb-owner-grid--count-1 {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 240px;
        margin-inline: auto;
        padding: 0 12px;
    }

    .kb-owner-grid--count-2 .kb-owner-card:last-child:nth-child(odd),
    .kb-owner-grid--count-3 .kb-owner-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
        justify-self: center;
    }

    .kb-owner-card {
        flex: none;
        width: auto;
        max-width: none;
        min-width: 0;
        border-radius: 12px;
    }

    .kb-owner-card-body {
        padding: 0.7rem 0.5rem 0.55rem !important;
    }

    .kb-owner-card-name {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.2rem !important;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .kb-owner-card-role {
        font-size: 0.58rem !important;
        letter-spacing: 0.06em !important;
        line-height: 1.3 !important;
    }

    .kb-owner-card-footer {
        padding: 0.45rem 0.4rem 0.55rem !important;
        gap: 0.35rem !important;
    }

    .kb-owner-social-link {
        width: 28px;
        height: 28px;
    }

    .kb-owner-social-link svg {
        width: 14px;
        height: 14px;
    }

    .kb-owner-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .kb-owner-detail-media {
        max-width: none;
    }

    .kb-owner-detail-copy {
        border-left-width: 3px;
    }

    .story-section .grid-col-2,
    .story-section-founder-speech .grid-col-2 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .our-story-card {
        padding: 0 !important;
    }

    .paragraph-2,
    .paragraph-2-copy {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .image-4,
    .founder-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center;
        border-radius: 12px;
    }

    .story-section .image-block {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }

    .story-section-founder-speech .founder-image {
        max-width: 280px;
        margin-inline: auto;
        aspect-ratio: 4 / 5;
    }

    /* Contact + booking */
    .kacchibhai--form-grid-2-columns {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .kacchibhai--card-form-v2 {
        padding: 16px !important;
    }

    .kacchibhai---heading-h1-size-3 {
        font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
        line-height: 1.25 !important;
    }

    .kb-booking-shell {
        margin: 20px auto 40px !important;
        padding: 0 16px !important;
    }

    .kb-booking-card {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    .kb-booking-card h1 {
        font-size: 1.45rem !important;
    }

    .kb-booking-card .lead {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .kb-booking-grid,
    .kb-booking-card form .grid,
    .kb-booking-card .grid-2 {
        grid-template-columns: 1fr !important;
    }

    /* Reviews slider */
    .kacchibhai-testimonial-slider {
        min-height: auto !important;
    }

    .kacchibhai-testimonial-slide {
        padding: 8px 0 !important;
    }

    .kacchibhai-testimonial-text-wrapper .kacchibhai-text-block._24-px {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .kacchibhai-testimonial-slider-left-arrow,
    .kacchibhai-testimonial-slider-right-arrow {
        width: 36px !important;
        height: 36px !important;
    }

    /* Delivery partners strip */
    .delivery---grid-2-logo-strip-v5,
    .delivery--grid-logo-strip-v5 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        text-align: center;
    }

    .delivery---logo-strip-v5-card {
        padding: 16px !important;
    }

    .delivery---logo-strip-image-03 {
        max-height: 44px;
        width: auto !important;
        margin: 0 auto;
        display: block;
    }

    /* Branch listing cards */
    .kacchibhai---grid-3-columns,
    .w-layout-grid.kacchibhai---grid-3-columns,
    .kacchibhai---branch---section .kacchibhai---grid-3-columns,
    .kb-branch-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    /* Home Our Branches — original 2-col size, no shrink */
    .kacchibhai---branch---section .kb-home-branch-cards {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        justify-content: stretch;
        gap: 12px !important;
    }

    .kacchibhai---branch---section .kb-home-branch-cards > .kacchibhai---card-link {
        flex: unset;
        width: auto;
        max-width: none;
        height: auto;
        display: flex !important;
        flex-direction: column;
    }

    .kacchibhai---image-wrapper---br-top,
    .kacchibhai---branch---section .kb-home-branch-cards .kacchibhai---image-wrapper---br-top {
        height: 120px !important;
        flex: 0 0 120px !important;
        padding: 12px 8px 4px 8px !important;
    }

    .kacchibhai---image-wrapper---br-top .kacchibhai---image-width-100,
    .kacchibhai---image-wrapper---br-top img,
    .kacchibhai---branch---section .kb-home-branch-cards .kacchibhai---image-wrapper---br-top img {
        width: 92px !important;
        height: 92px !important;
        max-width: 92px !important;
        max-height: 92px !important;
        min-width: 92px !important;
        min-height: 92px !important;
    }

    .kacchibhai---content-inside-card {
        padding: 16px !important;
    }

    .kacchibhai---heading-h3-size {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 479px) {
    .kacchibhai-logo {
        width: 52px !important;
        max-height: 34px !important;
        height: auto !important;
    }

    .hero-section {
        min-height: auto !important;
        padding: 10px 12px 14px !important;
    }

    .hero-section .heading-2,
    .hero-section .heading-3 {
        font-size: clamp(1.2rem, 6vw, 1.75rem) !important;
    }

    .hero-section .heading-3 {
        font-size: clamp(1.35rem, 7vw, 2rem) !important;
    }

    .hero-section .button-2.w-button {
        width: calc(100% - 24px);
        max-width: 260px;
    }

    .branch-navigation .grid-9 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ===== Mobile polish v3 — all sections (desktop ≥992px unchanged) ===== */
@media (max-width: 991px) {
    html,
    body {
        overflow-x: clip;
    }

    img,
    video,
    svg,
    iframe {
        max-width: 100%;
        height: auto;
    }

    .section-naming,
    .kacchi-bhai---text-center-5,
    .kacchibhai---text-center {
        text-align: center;
    }

    /* —— Hero item slider (mobile: larger photo + readable white card) —— */
    .kb-hero {
        --hero-photo-w: min(92vw, 420px);
        --hero-photo-h: min(58vw, 280px);
        --hero-stage-h: auto;
        min-height: 0;
        padding: 8px 0 16px;
        overflow: hidden;
    }

    .kb-hero-inner.w-container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
        gap: 8px;
    }

    .kb-hero-brand {
        margin-bottom: 2px;
        gap: 0.15rem 0.4rem;
    }

    .kb-hero-brand-line--1,
    .kb-hero-brand-line--3 {
        font-size: 0.78rem !important;
        letter-spacing: 0.12em;
    }

    .kb-hero-brand-line--2 {
        font-size: 1.35rem !important;
    }

    .kb-hero-slide,
    .kb-hero-slide.is-active {
        position: relative;
        inset: auto;
        display: none;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .kb-hero-slide.is-active {
        display: flex;
    }

    .kb-hero-stage {
        height: auto;
        min-height: 0;
    }

    .kb-hero-photo {
        order: -1 !important;
        flex: none !important;
        width: min(100%, 420px) !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto 8px !important;
        align-self: center;
    }

    .kb-hero-photo-shell {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: min(58vw, 280px);
    }

    .kb-hero-photo-frame,
    .kb-hero-photo-image {
        width: 100%;
        height: 100%;
    }

    .kb-hero-photo-image {
        object-fit: contain;
    }

    .kb-hero-copy {
        order: 0;
        flex: none;
        width: 100%;
        max-width: none;
        text-align: center;
    }

    .kb-hero-copy-inner,
    .kb-hero[data-hero-tone="dark"] .kb-hero-copy-inner,
    .kb-hero[data-hero-tone="light"] .kb-hero-copy-inner {
        padding: 16px 16px 14px;
        border-left: 0;
        border-top: 3px solid #c41e3a;
        border-radius: 18px;
        background: #fff !important;
        box-shadow: 0 12px 30px rgba(11, 46, 78, 0.12);
        backdrop-filter: none;
        max-width: none;
        text-align: center;
        color: #171717;
    }

    .kb-hero .kb-hero-item-name,
    .kb-hero[data-hero-tone="dark"] .kb-hero-item-name,
    .kb-hero[data-hero-tone="dark"] .kb-hero-fact-value {
        color: #171717 !important;
    }

    .kb-hero .kb-hero-item-desc,
    .kb-hero .kb-hero-eyebrow,
    .kb-hero .kb-hero-fact-text,
    .kb-hero[data-hero-tone="dark"] .kb-hero-item-desc,
    .kb-hero[data-hero-tone="dark"] .kb-hero-eyebrow,
    .kb-hero[data-hero-tone="dark"] .kb-hero-fact-text {
        color: #4b5563 !important;
    }

    .kb-hero-copy-top {
        justify-content: center;
        margin-bottom: 8px;
        gap: 8px;
    }

    .kb-hero-eyebrow {
        font-size: 10px !important;
        letter-spacing: 0.16em;
        width: 100%;
    }

    .kb-hero-badges {
        justify-content: center;
    }

    .kb-hero-badges .kb-hero-category,
    .kb-hero[data-hero-tone="dark"] .kb-hero-badges .kb-hero-category {
        font-size: 10px !important;
        padding: 5px 10px !important;
        background: #fff5f5 !important;
        border-color: rgba(196, 30, 58, 0.22) !important;
        color: #c41e3a !important;
    }

    .kb-hero-item-name {
        font-size: clamp(1.45rem, 6.4vw, 1.9rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 8px !important;
    }

    .kb-hero-item-desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        margin-bottom: 10px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .kb-hero-facts {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }

    .kb-hero-fact,
    .kb-hero[data-hero-tone="dark"] .kb-hero-fact {
        flex: 0 1 auto;
        min-width: 0;
        min-height: 36px;
        padding: 0 12px;
        background: #f8fafc !important;
        border-color: rgba(11, 46, 78, 0.1) !important;
        color: #171717;
    }

    .kb-hero-fact-text {
        font-size: 0.8rem;
    }

    .kb-hero-fact-value {
        font-size: 0.95rem !important;
    }

    .kb-hero-highlights {
        display: none !important;
    }

    .kb-hero-item-link,
    .kb-hero[data-hero-tone="dark"] .kb-hero-item-link {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        min-height: 44px;
        padding: 0 18px;
        font-size: 12px !important;
        letter-spacing: 0.1em;
        justify-content: center;
        box-sizing: border-box;
        color: #fff !important;
        background: #c41e3a !important;
        border-color: #c41e3a !important;
    }

    .kb-hero-slider {
        position: relative;
        touch-action: pan-y;
    }

    .kb-hero-slider::after {
        display: none;
    }

    .kb-hero-dots {
        justify-content: center;
        margin-top: 10px;
        gap: 6px;
    }

    .kb-hero-dot {
        width: 8px;
        height: 8px;
    }

    .kb-hero-dot.is-active {
        width: 24px;
    }

    .kb-hero-cta.button-2.w-button {
        display: inline-flex !important;
        width: auto;
        max-width: calc(100% - 32px);
        min-height: 46px;
        margin: 8px auto 4px !important;
        justify-content: center;
        align-items: center;
        padding: 12px 28px !important;
        font-size: 15px !important;
        box-sizing: border-box;
        border-radius: 999px !important;
    }

    /* —— Popular items strip —— */
    .kb-popular-items-section {
        padding: 28px 0 32px;
        overflow: hidden;
    }

    .kb-popular-items-inner {
        position: relative;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .kb-popular-items-inner::after {
        content: "";
        position: absolute;
        top: 52px;
        right: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(270deg, #fff 18%, rgba(255, 255, 255, 0));
        pointer-events: none;
        z-index: 1;
    }

    .kb-popular-items-head {
        margin-bottom: 14px;
    }

    .kb-popular-items-title {
        font-size: clamp(1.25rem, 5.5vw, 1.65rem) !important;
    }

    .kb-popular-items-accent {
        display: none;
    }

    .kb-popular-items-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        margin: 0 -16px;
        padding: 8px 20px 14px;
        gap: 0;
    }

    .kb-popular-items-track::-webkit-scrollbar {
        display: none;
    }

    .kb-popular-item {
        flex: 0 0 auto !important;
        width: 44vw;
        max-width: 176px;
        margin-left: 0;
        scroll-snap-align: start;
    }

    .kb-popular-item + .kb-popular-item {
        margin-left: -18px;
    }

    .kb-popular-item-image {
        max-width: 160px !important;
        max-height: 132px !important;
    }

    /* —— Menu (home + menu page) —— */
    .menu-section {
        padding: 10px 0 20px !important;
        overflow-x: clip;
    }

    .menu-section .menu-card {
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .menu-section .container-2 {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .menu-section .section-naming {
        padding: 0 16px;
        margin-bottom: 0;
    }

    .menu-section .section-heading {
        margin-bottom: 4px !important;
        font-size: clamp(1.15rem, 5vw, 1.45rem) !important;
    }

    .menu-section .line {
        margin: 0 auto 10px !important;
    }

    .menu-section .w-tab-content .w-layout-grid.kacchibhai---grid-3-columns-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-column-gap: 12px !important;
        grid-row-gap: 14px !important;
    }

    .menu-section .kacchibhai---card,
    .menu-section a.kb-menu-item-card,
    .menu-section div.kb-menu-item-card {
        border-radius: 16px !important;
        overflow: hidden;
        box-shadow: 0 8px 22px rgba(11, 46, 78, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        background: #fff !important;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .menu-section .kacchibhai---image-wrapper---br-top-3,
    .menu-section .kb-menu-item-card-media {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto !important;
        max-height: none;
        overflow: hidden !important;
        background: #fff;
        border-radius: 16px 16px 0 0;
    }

    .menu-section .kacchibhai---image-wrapper---br-top-3 .kacchibhai---image-width-100-3,
    .menu-section .kb-menu-item-card-image {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center !important;
        padding: 8px;
        box-sizing: border-box;
        transform: none !important;
    }

    .menu-section .kacchibhai---content-inside-card-v9 {
        padding: 10px 10px 12px !important;
        overflow: hidden !important;
    }

    .menu-section .kb-menu-item-card-title-wrap,
    .menu-section .kacchibhai---text-uppercase,
    .menu-section .kacchibhai---color-accent-3,
    .menu-section .kacchibhai---text-center-3 {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .menu-section .heading-28,
    .menu-section .kb-menu-item-card-title {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        min-height: calc(2 * 1.25em) !important;
        height: auto !important;
        max-width: 100%;
        margin: 0 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal !important;
        word-break: break-word;
        text-align: center;
        padding: 0 4px;
        box-sizing: border-box;
    }

    .menu-section .kb-menu-prices-stacks {
        padding: 0 4px;
        overflow: hidden !important;
        justify-content: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1px;
    }

    .menu-section .kb-menu-price-stack-value {
        font-size: 0.78rem !important;
        white-space: nowrap;
    }

    .menu-section .kb-menu-tabs-shell {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 12px;
        overflow: hidden;
    }

    .menu-section:not(.menu-section--all-menu-scroll) .kb-menu-tabs-shell::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 36px;
        height: calc(100% - 6px);
        background: linear-gradient(270deg, #fff 22%, rgba(255, 255, 255, 0));
        pointer-events: none;
        z-index: 1;
    }

    .menu-section:not(.menu-section--all-menu-scroll) .kb-menu-tabs-slider {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        touch-action: pan-x;
        padding-bottom: 4px;
    }

    .menu-section:not(.menu-section--all-menu-scroll) .kb-menu-tabs-slider::-webkit-scrollbar {
        display: none;
    }

    .menu-section:not(.menu-section--all-menu-scroll) .kb-menu-tabs-shell .tabs-menu.w-tab-menu {
        display: flex !important;
        flex-flow: row nowrap !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: max-content !important;
        max-width: none !important;
        min-width: max-content !important;
        margin: 0 !important;
        padding: 0 4px 6px !important;
        gap: 8px;
    }

    .menu-section:not(.menu-section--all-menu-scroll) .kb-menu-tabs-shell .tab-link.w-inline-block,
    .menu-section:not(.menu-section--all-menu-scroll) .kb-menu-tabs-shell .tab-link.w-tab-link {
        flex: 0 0 auto !important;
        scroll-snap-align: start;
        font-size: 13px !important;
        padding: 7px 14px !important;
    }

    .menu-section--all-menu-scroll .kb-menu-tabs-rail {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 32px;
        padding: 6px 8px;
        box-sizing: border-box;
    }

    .menu-section--all-menu-scroll .kb-menu-tabs-track .tab-link.w-inline-block,
    .menu-section--all-menu-scroll .kb-menu-tabs-track .tab-link.w-tab-link {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }

    .menu-section .lynx-subtitle-3 {
        font-size: 11px !important;
        line-height: 1.5 !important;
        padding: 10px 16px 0;
        text-align: center;
    }

    /* —— Menu item detail —— */
    .kb-menu-item-detail {
        padding: 12px 0 36px;
    }

    .kb-menu-item-detail-inner {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .kb-menu-item-breadcrumb {
        font-size: 0.66rem;
        margin-bottom: 14px;
    }

    .kb-menu-item-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .kb-menu-item-gallery-stage {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .kb-menu-item-detail-main.is-zooming .kb-menu-item-detail-photo {
        transform: none !important;
        transform-origin: center center !important;
    }

    .kb-menu-item-detail-thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .kb-menu-item-detail-thumbs::-webkit-scrollbar {
        display: none;
    }

    .kb-menu-item-detail-copy {
        position: static;
        top: auto;
        max-width: none;
    }

    .kb-menu-item-detail-name {
        font-size: clamp(1.55rem, 6.5vw, 2rem) !important;
    }

    .kb-menu-item-price-current {
        font-size: 1.25rem !important;
    }

    .kb-menu-item-detail-lead {
        font-size: 0.92rem !important;
    }

    .kb-menu-item-detail-price-options {
        gap: 8px;
    }

    .kb-menu-item-purchase-actions {
        grid-template-columns: 1fr 1fr 52px !important;
    }

    .kb-menu-item-trust {
        grid-template-columns: 1fr !important;
    }

    .kb-menu-item-reviews-layout {
        grid-template-columns: 1fr !important;
    }

    .kb-menu-item-accordions {
        margin-top: 24px;
    }

    .kb-menu-item-checkout-panel {
        width: 100%;
        max-width: 100%;
        height: 100%;
        border-radius: 0;
        padding: 1.15rem 1rem 1rem;
    }

    .kb-menu-item-related {
        padding: 28px 16px 48px;
    }

    .kb-menu-item-related-track {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .kb-menu-item-related-track::-webkit-scrollbar {
        display: none;
    }

    .kb-menu-item-related-card {
        flex: 0 0 clamp(148px, 42vw, 180px);
        scroll-snap-align: start;
    }

    /* —— Contact page —— */
    .kb-contact-page {
        padding: 28px 0 40px;
    }

    .kb-contact-shell {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .kb-contact-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .kb-contact-title {
        font-size: clamp(1.55rem, 6.5vw, 2rem) !important;
    }

    .kb-contact-intro,
    .kb-contact-note {
        max-width: none;
    }

    .kb-contact-form-card {
        padding: 18px 16px;
    }

    .kb-contact-form-grid {
        grid-template-columns: 1fr !important;
    }

    .kb-contact-socials {
        flex-wrap: wrap;
        gap: 8px;
    }

    .kb-contact-submit {
        width: 100%;
    }

    /* —— Cart —— */
    .kb-cart-drawer-panel {
        width: 100%;
        max-width: 100%;
    }

    .kb-cart-drawer-field-row {
        grid-template-columns: 1fr !important;
    }

    .kb-floating-cart {
        top: auto;
        bottom: max(96px, calc(env(safe-area-inset-bottom) + 84px));
        right: max(14px, env(safe-area-inset-right));
    }

    /* —— Branch detail (dynamic) —— */
    .kb-branch-detail {
        padding: 24px 0 48px;
    }

    .kb-branch-detail-inner {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .kb-branch-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .kb-branch-detail-media img {
        max-height: 280px;
    }

    /* —— Order process / partners —— */
    .kacchi-bhai---section-5 .kacchi-bhai---grid-2-columns---gap-row-72px {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .kacchi-bhai---card-link-img-bg {
        min-height: 150px;
        padding: 16px !important;
    }

    /* —— Offers —— */
    .discount-section .kacchibhai---color-neutral-300,
    .discount-section img.kacchibhai---color-neutral-300 {
        width: 100% !important;
        height: auto !important;
    }

    /* —— Owner pages —— */
    .kb-owner-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .kb-owner-detail-copy {
        padding: 16px 0 0 14px;
    }
}

@media (max-width: 767px) {
    .kb-hero-photo-shell {
        max-height: min(62vw, 270px);
    }

    .kb-hero-copy-inner,
    .kb-hero[data-hero-tone="dark"] .kb-hero-copy-inner,
    .kb-hero[data-hero-tone="light"] .kb-hero-copy-inner {
        padding: 14px 14px 12px;
    }

    .menu-section .kacchibhai---image-wrapper---br-top-3 {
        max-height: 150px;
    }

    .menu-section .w-tab-content .w-layout-grid.kacchibhai---grid-3-columns-2 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-auto-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 12px !important;
    }

    .menu-section .heading-28,
    .menu-section .kb-menu-item-card-title {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
    }

    .menu-section .kb-menu-price-stack-value {
        font-size: 0.76rem !important;
    }

    .menu-section .kb-menu-price-stack-portion,
    .menu-section .kb-menu-price-stack-close {
        font-size: 10px !important;
    }

    .kb-menu-item-detail-price-options {
        grid-template-columns: 1fr !important;
    }

    .kb-floating-cart {
        bottom: max(92px, calc(env(safe-area-inset-bottom) + 80px));
    }

    .kb-fb-float {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 479px) {
    .kb-hero {
        padding: 6px 0 14px;
    }

    .kb-hero-photo {
        width: min(100%, 100%) !important;
        margin-bottom: 8px !important;
    }

    .kb-hero-photo-shell {
        max-height: min(56vw, 240px);
    }

    .kb-hero-copy-inner,
    .kb-hero[data-hero-tone="dark"] .kb-hero-copy-inner,
    .kb-hero[data-hero-tone="light"] .kb-hero-copy-inner {
        padding: 14px 14px 12px;
        border-radius: 16px;
    }

    .kb-hero-item-name {
        font-size: clamp(1.3rem, 6.6vw, 1.6rem) !important;
    }

    .kb-hero-brand-line--1,
    .kb-hero-brand-line--3 {
        font-size: 0.72rem !important;
        letter-spacing: 0.12em;
    }

    .kb-hero-brand-line--2 {
        font-size: 1.22rem !important;
    }

    .menu-section .w-tab-content .w-layout-grid.kacchibhai---grid-3-columns-2 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-auto-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 10px !important;
    }

    .menu-section .kacchibhai---image-wrapper---br-top-3,
    .menu-section .kb-menu-item-card-media {
        height: auto !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
        flex: none;
    }

    .menu-section .kacchibhai---content-inside-card-v9 {
        padding: 8px 8px 12px !important;
    }

    .menu-section .heading-28,
    .menu-section .kb-menu-item-card-title {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        min-height: 2.5em !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        white-space: normal !important;
    }

    .w-layout-grid.kacchibhai---grid-3-columns,
    .kacchibhai---branch---section .kacchibhai---grid-3-columns,
    .kacchibhai---grid-3-columns,
    .kb-branch-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .menu-section--all-menu-scroll .kb-menu-tabs-track .tab-link.w-inline-block,
    .menu-section--all-menu-scroll .kb-menu-tabs-track .tab-link.w-tab-link {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }

    .menu-section .kb-menu-tabs-shell .tab-link.w-inline-block,
    .menu-section .kb-menu-tabs-shell .tab-link.w-tab-link {
        font-size: 13px !important;
        padding: 7px 12px !important;
    }

    .kb-contact-form-card {
        padding: 16px 14px;
    }

    .kb-popular-item {
        flex: 0 0 clamp(118px, 32vw, 142px);
    }

    .kb-footer-col:not(.kb-footer-brand-col):not(.kb-footer-contact-col) {
        grid-column: 1 / -1;
    }

    .kb-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .kb-footer-contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .kb-footer-contact-value {
        text-align: left;
    }
}

@media (max-width: 991px) and (hover: none) {
    .kb-popular-item:hover,
    .kb-popular-item:hover .kb-popular-item-image,
    .menu-section a.kb-menu-item-card:hover,
    .menu-section a.kb-menu-item-card:hover .kacchibhai---image-wrapper---br-top-3 img {
        transform: none !important;
    }
}

/* Phone menu cards — 2 per row, desktop-style */
@media (max-width: 767px) {
    .menu-section .container-2.w-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
        overflow-x: clip !important;
        overflow-y: visible !important;
        box-sizing: border-box !important;
    }

    .menu-section .w-tab-content,
    .menu-section .w-tab-pane {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .menu-section .w-layout-grid.kacchibhai---grid-3-columns-2:not(.kb-menu-stacked-grid),
    .menu-section .w-tab-content .w-layout-grid.kacchibhai---grid-3-columns-2:not(.kb-menu-stacked-grid) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        grid-auto-columns: minmax(0, 1fr) !important;
        gap: 18px 14px !important;
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .menu-section a.kb-menu-item-card,
    .menu-section div.kb-menu-item-card,
    .menu-section .kacchibhai---card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
    }

    .menu-section .kacchibhai---image-wrapper---br-top-3,
    .menu-section .kb-menu-item-card-media {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden !important;
        flex: 0 0 auto !important;
        background: #fff;
    }

    .menu-section .kacchibhai---image-width-100-3,
    .menu-section .kb-menu-item-card-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        padding: 6px !important;
        box-sizing: border-box !important;
    }

    .menu-section .kacchibhai---content-inside-card-v9 {
        padding: 10px 8px 14px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .menu-section .heading-28,
    .menu-section .kb-menu-item-card-title {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        min-height: 2.5em !important;
        height: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 2px !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .menu-section .kb-menu-price-stack-value {
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    .kacchibhai-logo {
        width: 56px !important;
        max-height: 36px !important;
        height: auto !important;
    }

    .kacchibhai-navigation.w-nav {
        min-height: 0 !important;
        padding: 0 !important;
    }

    .menu-section,
    .menu-section.order-process-section {
        padding-top: 6px !important;
        padding-bottom: 16px !important;
    }

    .kb-popular-items-section {
        padding: 12px 0 8px !important;
    }

    .kb-popular-items-head {
        margin-bottom: 6px;
    }

    .menu-section .section-heading {
        margin-bottom: 2px !important;
    }

    .menu-section .line {
        margin: 0 auto 8px !important;
    }

    .menu-section .kb-menu-tabs-shell {
        margin: 0 auto 8px !important;
    }

    .menu-section--all-menu-scroll .kb-menu-tabs-rail {
        margin: 0 auto 8px !important;
        padding: 0 4px !important;
    }
}

@media (max-width: 479px) {
    .kacchibhai-logo {
        width: 52px !important;
        max-height: 34px !important;
        height: auto !important;
    }
}

@media (max-width: 991px) {
    .menu-section .w-tabs,
    .menu-section .kb-menu-tabs-shell,
    .menu-section .kb-menu-tabs-rail {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        align-self: stretch;
        box-sizing: border-box;
    }

    .menu-section .kb-menu-tabs-slider,
    .menu-section .kb-menu-tabs-track {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: none !important;
        -webkit-overflow-scrolling: touch;
    }

    .menu-section .tabs-menu.w-tab-menu {
        display: flex !important;
        flex-flow: row nowrap !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: max-content !important;
        max-width: none !important;
        min-width: max-content !important;
        margin: 0 !important;
    }

    .menu-section .tab-link.w-inline-block,
    .menu-section .tab-link.w-tab-link {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        color: #fe0000 !important;
        background: #fff !important;
        border: 1px solid #fe0000 !important;
        scroll-snap-align: none !important;
    }

    .menu-section .tab-link.w--current,
    .menu-section .tab-link.w--current.w-inline-block,
    .menu-section .tab-link.w--current.w-tab-link,
    .menu-section .tab-link[aria-selected="true"] {
        color: #fff !important;
        background: #fe0000 !important;
        border-color: #fe0000 !important;
    }

    .menu-section .tab-link.w--current div,
    .menu-section .tab-link[aria-selected="true"] div {
        color: #fff !important;
    }

    .uui-section_testimonial08 {
        display: none !important;
    }

    /* Home only: wrap tabs, no horizontal scroll */
    .menu-section--home-tabs .kb-menu-tabs-shell {
        overflow: visible !important;
    }

    .menu-section--home-tabs .kb-menu-tabs-shell::after {
        display: none !important;
    }

    .menu-section--home-tabs .kb-menu-tabs-slider {
        overflow: visible !important;
        touch-action: auto !important;
    }

    .menu-section--home-tabs .tabs-menu.w-tab-menu,
    .menu-section--home-tabs .kb-menu-tabs-shell .tabs-menu.w-tab-menu {
        flex-wrap: wrap !important;
        flex-flow: row wrap !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .menu-section--all-menu-scroll .kb-menu-tabs-track {
        display: flex !important;
        justify-content: center !important;
        overflow-x: hidden !important;
        cursor: default !important;
    }

    .menu-section--all-menu-scroll .kb-menu-tabs-rail.has-scroll .kb-menu-tabs-track {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        cursor: grab !important;
    }

    .menu-section--stacked .kb-menu-stacked-block {
        margin-bottom: 36px;
    }

    .menu-section--stacked .kb-menu-stacked-head {
        gap: 12px;
        margin-bottom: 18px;
    }

    .menu-section--stacked .kb-menu-stacked-title {
        font-size: 1.05rem;
        letter-spacing: 0.06em;
        white-space: normal;
        text-align: center;
    }

    .menu-section.menu-section--stacked .w-layout-grid.kb-menu-stacked-grid,
    .menu-section.menu-section--stacked .w-layout-grid.kb-menu-stacked-grid--extra {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center !important;
        align-items: stretch;
        gap: 18px 14px !important;
        max-width: 340px !important;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: none !important;
    }

    .menu-section--stacked .kb-menu-stacked-block:not(.is-expanded) .kb-menu-stacked-grid--extra {
        display: none !important;
    }

    .menu-section--stacked .kb-menu-stacked-card,
    .menu-section--stacked .kb-menu-stacked-grid--extra .kb-menu-stacked-card {
        flex: 0 0 calc((100% - 14px) / 2);
        width: calc((100% - 14px) / 2);
        max-width: calc((100% - 14px) / 2);
    }

    .menu-section--stacked .kb-menu-stacked-more-wrap,
    .menu-section--tab-more .kb-menu-stacked-more-wrap {
        margin-top: 16px;
    }

    .menu-section--stacked .kb-menu-stacked-more,
    .menu-section--tab-more .kb-menu-stacked-more {
        width: min(100%, 280px);
        gap: 10px;
    }

    .menu-section--stacked .kb-menu-stacked-more-core,
    .menu-section--tab-more .kb-menu-stacked-more-core {
        font-size: 11px;
        letter-spacing: 0.18em;
    }
}
