:root {
    --kg-maroon: #7b0006;
    --kg-maroon-dark: #540004;
    --kg-gold: #f6b400;
    --kg-gold-soft: #ffd45f;
    --kg-accent: #8c0000;
    --kg-ink: #1e1e1e;
    --kg-cream: #fff9ef;
    --kg-surface: #ffffff;
    --kg-border: #f1e3bd;
    --kg-muted: #6f6b64;
    --kg-success: #0f8b4c;
    --kg-shadow: 0 16px 40px rgba(123, 0, 6, 0.12);
    --kg-radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #fffdf9 0%, #fff7e8 100%);
    color: var(--kg-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.app-shell {
    min-height: 100vh;
}

.kg-navbar {
    background: rgba(123, 0, 6, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 212, 95, 0.25);
}

.kg-brand {
    display: flex;
    align-items: center;
    gap: .85rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
}

.kg-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.kg-brand small {
    display: block;
    color: rgba(255,255,255,.72);
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .68rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.86);
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--kg-gold-soft);
}

.btn-danger,
.btn-kg-primary {
    background: linear-gradient(135deg, var(--kg-maroon) 0%, var(--kg-accent) 100%);
    border: none;
    color: #fff;
    border-radius: 999px;
    padding: .8rem 1.2rem;
    box-shadow: 0 12px 25px rgba(123, 0, 6, .18);
}

.btn-danger:hover,
.btn-danger:focus,
.btn-kg-primary:hover,
.btn-kg-primary:focus {
    background: linear-gradient(135deg, var(--kg-maroon-dark) 0%, var(--kg-maroon) 100%);
    color: #fff;
}

.btn-kg-accent,
.btn-warning {
    background: linear-gradient(135deg, var(--kg-gold) 0%, var(--kg-gold-soft) 100%);
    color: var(--kg-ink);
    border: 1px solid rgba(123, 0, 6, 0.12);
    border-radius: 999px;
    font-weight: 700;
}

.btn-kg-accent:hover,
.btn-warning:hover {
    color: var(--kg-ink);
    transform: translateY(-1px);
}

.btn-outline-dark,
.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-danger {
    border-radius: 999px;
}

.section-title {
    font-weight: 900;
    letter-spacing: -.02em;
}

.section-subtitle {
    color: var(--kg-muted);
    max-width: 700px;
}

.hero-card {
    background:
        radial-gradient(circle at top right, rgba(246, 180, 0, .28), transparent 34%),
        linear-gradient(135deg, rgba(123,0,6,1) 0%, rgba(98,0,5,1) 48%, rgba(40,12,12,1) 100%);
    border-radius: 34px;
    color: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 60px rgba(63, 10, 10, 0.28);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,212,95,.35) 0%, rgba(255,212,95,0) 70%);
}

.hero-logo-wrap {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    padding: 1rem;
    backdrop-filter: blur(12px);
}

.hero-logo {
    width: 100%;
    border-radius: 22px;
    background: #fff;
    padding: .75rem;
}

.hero-stat {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    padding: 1rem;
}

.hero-feature-card {
    background: white;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.16);
}

.hero-feature-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background: rgba(255,255,255,0.08);
}

.hero-feature-body {
    padding: 1.15rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,248,234,0.96) 100%);
}

@media (max-width: 767.98px) {
    .hero-feature-image {
        height: 190px;
        object-fit: cover;
    }

    .hero-feature-body {
        padding: 1rem;
    }
}

.glass-card,
.card {
    border: 1px solid rgba(123, 0, 6, 0.06);
    border-radius: var(--kg-radius);
    box-shadow: var(--kg-shadow);
    background: rgba(255,255,255,.95);
}

.card-hover:hover {
    transform: translateY(-4px);
    transition: .2s ease;
}

.deal-strip {
    background: linear-gradient(90deg, rgba(246,180,0,.2), rgba(255,255,255,.8));
    border: 1px solid var(--kg-border);
    border-radius: 999px;
    color: var(--kg-maroon);
    font-weight: 700;
    padding: .8rem 1rem;
}

.category-chip-row {
    display: flex;
    flex-wrap: nowrap;
    gap: .75rem;
    overflow-x: auto;
    padding-bottom: .35rem;
}

.category-chip {
    background: #fff;
    border: 1px solid var(--kg-border);
    color: var(--kg-ink);
    border-radius: 999px;
    padding: .72rem 1rem;
    white-space: nowrap;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(123,0,6,.08);
}

.category-chip:hover,
.category-chip.active {
    background: linear-gradient(135deg, var(--kg-gold-soft), var(--kg-gold));
    color: var(--kg-ink);
}

.deal-card {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(246,180,0,.35);
    background: linear-gradient(180deg, #fff 0%, #fff8ea 100%);
}

.deal-image,
.menu-thumb,
.category-thumb {
    width: 100%;
    object-fit: cover;
    display: block;
}

.deal-image {
    height: 220px;
}

.category-thumb {
    height: 120px;
}

.menu-thumb {
    height: 180px;
    background: linear-gradient(135deg, #fff1d3, #fff8ea);
}

.category-card .card-body,
.menu-card .card-body,
.deal-card .card-body {
    padding: 1.1rem;
}

.badge-soft {
    background: rgba(123,0,6,.08);
    color: var(--kg-maroon);
    border-radius: 999px;
    padding: .45rem .7rem;
    font-weight: 700;
}

.price-pill {
    background: linear-gradient(135deg, var(--kg-gold), var(--kg-gold-soft));
    color: var(--kg-ink);
    border-radius: 999px;
    padding: .5rem .85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.menu-card {
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: "";
    position: absolute;
    inset: auto -18px -18px auto;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(246,180,0,.24) 0%, rgba(246,180,0,0) 70%);
}

.variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.variant-pill {
    background: #fff5da;
    border: 1px solid rgba(246,180,0,.5);
    color: #6e5400;
    border-radius: 999px;
    padding: .35rem .6rem;
    font-size: .8rem;
    font-weight: 700;
}

.floating-cart {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    border-radius: 18px;
    box-shadow: 0 20px 38px rgba(123,0,6,.28);
}

.cart-pill-count {
    min-width: 24px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--kg-maroon);
    font-size: .78rem;
    font-weight: 800;
}

.kg-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #320003 0%, #520006 55%, #6c0208 100%);
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.08);
}

.kg-sidebar .nav-link {
    color: rgba(255,255,255,.82);
    padding: .85rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

.kg-sidebar .nav-link:hover,
.kg-sidebar .nav-link.active {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.kg-admin-header {
    background: linear-gradient(135deg, rgba(123,0,6,.08), rgba(246,180,0,.12));
    border: 1px solid rgba(123,0,6,.08);
    border-radius: 28px;
    padding: 1.35rem;
}

.stat-card {
    background: linear-gradient(180deg, #fff 0%, #fff9ef 100%);
}

.table thead th {
    border-bottom-width: 1px;
    color: #6c6660;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

.form-control,
.form-select,
textarea {
    border-radius: 16px;
    border-color: #eadcb6;
    padding: .85rem 1rem;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: rgba(123,0,6,.4);
    box-shadow: 0 0 0 .25rem rgba(123,0,6,.08);
}

.alert {
    border: none;
    border-radius: 18px;
}

.text-kg-muted {
    color: var(--kg-muted);
}

.toast-cart {
    position: fixed;
    left: 50%;
    bottom: 92px;
    transform: translateX(-50%);
    background: #1d1d1d;
    color: #fff;
    border-radius: 999px;
    padding: .85rem 1rem;
    z-index: 1055;
    box-shadow: 0 16px 30px rgba(0,0,0,.25);
    display: none;
}

.footer-band {
    background: #2a0002;
    color: rgba(255,255,255,.72);
    border-top: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 991.98px) {
    .hero-card {
        border-radius: 28px;
    }

    .kg-brand img {
        width: 48px;
        height: 48px;
    }
}


.kg-brand img, .hero-logo, .admin-brand-logo { object-fit: contain !important; }
.kg-brand img { width: 64px; height: 64px; border-radius: 16px; padding: 6px; }
.hero-logo-wrap { display:flex; align-items:center; justify-content:center; min-height:280px; }
.hero-logo { max-height: 260px; width: auto; }
.menu-thumb, .category-thumb, .deal-image { background: linear-gradient(135deg, #fff1d3, #fff8ea); }
.menu-thumb.broken-image, .category-thumb.broken-image, .deal-image.broken-image { object-fit: contain; padding: 1rem; }
.variant-action-grid { display:flex; flex-wrap:wrap; gap:.5rem; }
.variant-action-btn { flex:1 1 calc(50% - .5rem); min-width:140px; border:none; border-radius:999px; padding:.72rem .9rem; background:#fff5da; color:#6e5400; font-weight:800; box-shadow:0 8px 18px rgba(123,0,6,.08); }
.variant-action-btn:hover { background: linear-gradient(135deg, var(--kg-gold-soft), var(--kg-gold)); color: var(--kg-ink); }
.menu-card .btn-disabled-look { background:#f7f1df; color:#7f786e; border:1px solid #d9caa0; }
@media (max-width: 767.98px) { .kg-brand span { font-size: 1rem; } .kg-brand small { font-size:.62rem; } .hero-logo-wrap { min-height: 200px; } .hero-logo { max-height: 180px; } }

.kg-navbar {
    background: linear-gradient(135deg, #7f0909 0%, #980b0b 55%, #6f0808 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    padding: 0;
}

.kg-navbar-wrap {
    min-height: 86px;
}

.kg-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 10px 0;
    max-width: 320px;
}

.kg-brand-logo {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
    overflow: hidden;
    flex-shrink: 0;
    padding: 8px;
}

.kg-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.kg-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.kg-brand-text strong {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Kaushan Script', cursive;
    line-height: 1;
}

.kg-brand-text small {
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-top: 6px;
    font-weight: 600;
}

.kg-nav-list {
    gap: 8px;
}

.kg-navbar .nav-link {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 600;
    padding: 10px 16px !important;
    border-radius: 999px;
    transition: all 0.22s ease;
    position: relative;
}

.kg-navbar .nav-link:hover,
.kg-navbar .nav-link:focus {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08);
}

.kg-navbar .nav-link.active {
    color: #2a1400 !important;
    background: #f2bd00;
    box-shadow: 0 8px 20px rgba(242,189,0,0.28);
}

.kg-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f2bd00;
    color: #2a1400;
    text-decoration: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(242,189,0,0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kg-cart-btn:hover {
    color: #2a1400;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(242,189,0,0.3);
}

.kg-cart-count {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #7f0909;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0 8px;
    line-height: 1;
}

.kg-install-btn {
    border: 1px solid rgba(255,255,255,0.28);
    background: transparent;
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    transition: all 0.22s ease;
}

.kg-install-btn:hover {
    background: rgba(255,255,255,0.09);
    color: #ffffff;
}

.kg-navbar-toggler {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    padding: 8px 12px;
    box-shadow: none !important;
}

.kg-navbar-toggler:focus {
    box-shadow: none;
    border-color: rgba(255,255,255,0.35);
}

@media (max-width: 991.98px) {
    .kg-navbar-wrap {
        min-height: 78px;
    }

    .kg-brand {
        max-width: 240px;
        gap: 12px;
    }

    .kg-brand-logo {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        padding: 7px;
    }

    .kg-brand-text strong {
       font-size: 1.65rem;
    }

    .kg-brand-text small {
        font-size: 0.8rem;
        letter-spacing: 0.18em;
        margin-top: 5px;
    }

    .kg-navbar .navbar-collapse {
        margin-top: 14px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 22px;
        padding: 14px;
    }

    .kg-nav-list {
        align-items: stretch !important;
        gap: 6px;
    }

    .kg-navbar .nav-link {
        padding: 12px 14px !important;
        border-radius: 14px;
    }

    .kg-cart-btn,
    .kg-install-btn {
        width: 100%;
        justify-content: center;
    }
}

.kg-mobile-cart-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1055;
}

.kg-mobile-cart-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    background: linear-gradient(135deg, #8b0a0a 0%, #b30b00 100%);
    color: #fff;
    border-radius: 20px;
    padding: 14px 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.kg-mobile-cart-link:hover,
.kg-mobile-cart-link:focus {
    color: #fff;
}

.kg-mobile-cart-label {
    font-size: 1.05rem;
    font-weight: 700;
}

.kg-mobile-cart-meta {
    font-size: 0.95rem;
    opacity: 0.92;
}

.kg-mobile-cart-badge {
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    color: #8b0a0a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    padding: 0 10px;
}

@media (min-width: 992px) {
    .kg-mobile-cart-bar {
        display: none !important;
    }
}


.kg-menu-tabs-wrap {
    position: sticky;
    top: 86px;
    z-index: 1025;
    margin-bottom: 18px;
    padding: 10px 0 8px;
    background: linear-gradient(180deg, rgba(255,249,239,0.96) 0%, rgba(255,249,239,0.88) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(123, 0, 6, 0.06);
}

.kg-menu-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
}

.kg-menu-tabs::-webkit-scrollbar {
    display: none;
}

.kg-menu-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    text-decoration: none;
    color: #2a1a12;
    background: #ffffff;
    border: 1px solid rgba(123, 0, 6, 0.08);
    border-radius: 999px;
    padding: 10px 15px;
    box-shadow: 0 10px 20px rgba(123, 0, 6, 0.06);
    transition: all 0.22s ease;
    flex-shrink: 0;
    font-weight: 800;
    min-height: 48px;
}

.kg-menu-tab img {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.kg-menu-tab span {
    font-size: 0.95rem;
    line-height: 1;
}

.kg-menu-tab:hover {
    color: #7f0909;
    transform: translateY(-1px);
}

.kg-menu-tab.active {
    background: linear-gradient(135deg, #f2bd00 0%, #ffcf29 100%);
    color: #2a1400;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(242, 189, 0, 0.22);
}

.kg-menu-section {
    scroll-margin-top: 170px;
}

@media (max-width: 991.98px) {
    .kg-menu-tabs-wrap {
        top: 96px;
        margin-left: -4px;
        margin-right: -4px;
    }

    .kg-menu-tab {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .kg-menu-section {
        scroll-margin-top: 175px;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 92px;
    }
}


@media (max-width: 767.98px) {
    .kg-menu-section .card {
        border-radius: 20px;
        overflow: hidden;
    }

    .kg-menu-section .card .row.g-0.h-100 {
        flex-wrap: nowrap;
    }

    .kg-menu-section .card .col-4 {
        width: 34%;
    }

    .kg-menu-section .card .col-8 {
        width: 66%;
    }

    .kg-menu-section .card img.w-100.h-100 {
        min-height: 100%;
        height: 100%;
        object-fit: cover !important;
    }

    .kg-menu-section .card-body {
        padding: 0.9rem;
    }

    .kg-menu-section h3.h5 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.3rem !important;
    }

    .kg-menu-section .text-kg-muted.small {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .price-pill {
        padding: 0.42rem 0.72rem;
        font-size: 0.82rem;
    }

    .kg-menu-section .form-select,
    .kg-menu-section .form-control {
        padding: 0.72rem 0.85rem;
        font-size: 0.95rem;
    }

    .kg-menu-section .btn.btn-danger.flex-grow-1 {
        min-height: 46px;
        font-weight: 800;
    }

    .kg-menu-section input[type="number"][name="quantity"] {
        max-width: 74px !important;
        text-align: center;
        font-weight: 700;
    }

    .kg-menu-section .badge.text-bg-light {
        font-size: 0.78rem;
        border-radius: 12px;
        padding: 0.55rem 0.7rem !important;
    }
}

@media (max-width: 767.98px) {
    .kg-menu-section > .d-flex.align-items-center.gap-3.mb-3 {
        gap: 0.85rem !important;
        margin-bottom: 0.9rem !important;
    }

    .kg-menu-section > .d-flex.align-items-center.gap-3.mb-3 img {
        width: 58px !important;
        height: 58px !important;
        border-radius: 16px !important;
    }

    .kg-menu-section > .d-flex.align-items-center.gap-3.mb-3 h2 {
        font-size: 1.28rem;
    }
}

.kg-menu-item-card {
    border-radius: 22px;
}

.kg-menu-item-media {
    background: linear-gradient(135deg, #fff1d3, #fff8ea);
}

.menu-item-photo {
    width: 100%;
    height: 100%;
    min-height: 160px;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.kg-menu-item-content .card-body {
    padding: 1rem 1rem 1rem 0.95rem;
}

@media (max-width: 767.98px) {
    .kg-menu-item-card {
        border-radius: 18px;
    }

    .kg-menu-item-media {
        width: 96px;
        flex: 0 0 96px;
        max-width: 96px;
    }

    .kg-menu-item-content {
        width: calc(100% - 110px);
        flex: 0 0 calc(100% - 110px);
        max-width: calc(100% - 110px);
    }

    .menu-item-photo {
        height: 100%;
        min-height: 120px;
        max-height: 140px;
        object-fit: contain;
        padding: 10px;
        background: linear-gradient(135deg, #fff1d3, #fff8ea);
    }

    .kg-menu-item-content .card-body {
        padding: 0.85rem 0.85rem 0.85rem 0.75rem;
    }

    .kg-menu-item-content h3.h5 {
        font-size: 1rem;
        margin-bottom: 0.2rem !important;
    }

    .kg-menu-item-content .text-kg-muted.small {
        font-size: 0.76rem;
        line-height: 1.25;
        margin-bottom: 0.45rem;
    }

    .kg-menu-item-content .form-label.small {
        margin-bottom: 0.25rem;
        font-size: 0.78rem;
    }

    .kg-menu-item-content .mb-3 {
        margin-bottom: 0.65rem !important;
    }

    .kg-menu-item-content .form-select {
        min-height: 42px;
        padding: 0.6rem 0.8rem;
        font-size: 0.92rem;
    }

    .kg-menu-item-content .badge.text-bg-light {
        font-size: 0.74rem;
        padding: 0.45rem 0.55rem !important;
        border-radius: 10px;
    }

    .kg-menu-item-content .kg-qty-box {
        min-height: 42px;
        border-radius: 14px;
    }
    
    .kg-menu-item-content .kg-qty-btn {
        width: 32px;
        min-width: 32px;
        font-size: 1rem;
    }
    
    .kg-menu-item-content .kg-qty-input {
        width: 38px;
        min-width: 38px;
        font-size: 0.92rem;
        padding: 0.45rem 0.2rem !important;
    }

    .kg-menu-item-content .btn.btn-danger.flex-grow-1 {
        min-height: 42px;
        padding: 0.55rem 0.85rem;
        font-size: 0.92rem;
    }
}


.kg-add-row {
    align-items: stretch !important;
}

.kg-qty-box {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--kg-border);
    border-radius: 18px;
    overflow: hidden;
    min-height: 46px;
    flex-shrink: 0;
}

.kg-qty-btn {
    width: 38px;
    min-width: 38px;
    border: none;
    background: transparent;
    color: var(--kg-maroon);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    height: 100%;
}

.kg-qty-btn:hover {
    background: rgba(123, 0, 6, 0.05);
}

.kg-qty-input {
    width: 46px;
    min-width: 46px;
    text-align: center;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.55rem 0.2rem !important;
    font-weight: 700;
    background: transparent;
}

.kg-qty-input::-webkit-outer-spin-button,
.kg-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kg-qty-input[type=number] {
    -moz-appearance: textfield;
}


@media (max-width: 991.98px) {
    .kg-navbar .navbar-collapse.show {
        margin-bottom: 12px;
    }

    .kg-menu-tabs-wrap {
        z-index: 1010;
    }

    .kg-navbar {
        z-index: 1035;
    }
}

.kg-deals-slider-wrap {
    position: relative;
}

.kg-deals-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 10px;
    scrollbar-width: none;
}

.kg-deals-slider::-webkit-scrollbar {
    display: none;
}

.kg-deal-slide {
    flex: 0 0 calc(33.333% - 11px);
    min-width: calc(33.333% - 11px);
    scroll-snap-align: start;
}

.kg-slider-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: var(--kg-maroon);
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    line-height: 1;
    z-index: 2;
}

.kg-slider-arrow-left {
    left: -8px;
}

.kg-slider-arrow-right {
    right: -8px;
}

.kg-slider-arrow:hover {
    background: var(--kg-gold-soft);
    color: var(--kg-ink);
}

@media (max-width: 1199.98px) {
    .kg-deal-slide {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 767.98px) {
    .kg-deal-slide {
        flex: 0 0 84%;
        min-width: 84%;
    }

    .kg-deals-slider {
        gap: 12px;
        padding-bottom: 6px;
    }

    .kg-deal-slide .deal-card .card-body {
        padding: 0.95rem;
    }

    .kg-deal-slide .deal-image {
        height: 190px;
    }
}

.kg-categories-slider-wrap {
    position: relative;
}

.kg-categories-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 10px;
    scrollbar-width: none;
}

.kg-categories-slider::-webkit-scrollbar {
    display: none;
}

.kg-category-slide {
    flex: 0 0 calc(25% - 12px);
    min-width: calc(25% - 12px);
    scroll-snap-align: start;
}

.kg-category-slide .category-card {
    overflow: hidden;
}

.kg-category-slide .category-thumb {
    height: 140px;
}

@media (max-width: 1199.98px) {
    .kg-category-slide {
        flex: 0 0 calc(33.333% - 11px);
        min-width: calc(33.333% - 11px);
    }
}

@media (max-width: 767.98px) {
    .kg-category-slide {
        flex: 0 0 62%;
        min-width: 62%;
    }

    .kg-categories-slider {
        gap: 12px;
        padding-bottom: 6px;
    }

    .kg-category-slide .category-thumb {
        height: 120px;
    }

    .kg-category-slide .card-body {
        padding: 0.95rem;
    }
}

.kg-cart-item-card {
    border-radius: 22px;
    overflow: hidden;
}

.kg-cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.kg-cart-item-main {
    flex: 1 1 auto;
    min-width: 0;
}

.kg-cart-line-total {
    flex-shrink: 0;
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--kg-maroon);
    background: linear-gradient(135deg, #fff3cf, #fff9eb);
    border: 1px solid rgba(246,180,0,.28);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    line-height: 1;
}

.kg-cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.kg-cart-qty-box {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--kg-border);
    border-radius: 18px;
    overflow: hidden;
    min-height: 46px;
}

.kg-cart-qty-btn {
    width: 38px;
    min-width: 38px;
    border: none;
    background: transparent;
    color: var(--kg-maroon);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    height: 100%;
}

.kg-cart-qty-btn:hover {
    background: rgba(123, 0, 6, 0.05);
}

.kg-cart-qty-input {
    width: 48px;
    min-width: 48px;
    text-align: center;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.55rem 0.2rem !important;
    font-weight: 700;
    background: transparent;
}

.kg-cart-qty-input::-webkit-outer-spin-button,
.kg-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kg-cart-qty-input[type=number] {
    -moz-appearance: textfield;
}

.kg-cart-remove-form {
    margin: 0;
}

.kg-cart-summary-card {
    border-radius: 24px;
}

.kg-cart-checkout-btn {
    min-height: 50px;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .kg-cart-item-card {
        border-radius: 18px;
    }

    .kg-cart-item-top {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }

    .kg-cart-line-total {
        align-self: flex-start;
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }

    .kg-cart-item-actions {
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .kg-cart-qty-box {
        min-height: 42px;
        border-radius: 14px;
    }

    .kg-cart-qty-btn {
        width: 34px;
        min-width: 34px;
        font-size: 1rem;
    }

    .kg-cart-qty-input {
        width: 42px;
        min-width: 42px;
        font-size: 0.92rem;
    }

    .kg-cart-remove-form .btn {
        min-height: 42px;
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .kg-cart-summary-card {
        position: static !important;
        top: auto !important;
    }

    .kg-cart-checkout-btn {
        min-height: 46px;
    }
}

.kg-clear-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(123, 0, 6, 0.18);
    background: linear-gradient(180deg, #fff 0%, #fff8f1 100%);
    color: var(--kg-maroon);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 22px rgba(123, 0, 6, 0.06);
    transition: all 0.2s ease;
}

.kg-clear-cart-btn:hover {
    background: linear-gradient(135deg, #fff0f0 0%, #fff7f2 100%);
    color: var(--kg-maroon);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(123, 0, 6, 0.10);
}

.kg-clear-cart-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(123, 0, 6, 0.10);
}

.kg-clear-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(123, 0, 6, 0.08);
    font-size: 0.9rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .kg-clear-cart-btn {
        padding: 0.58rem 0.9rem;
        font-size: 0.88rem;
    }

    .kg-clear-cart-icon {
        width: 20px;
        height: 20px;
        font-size: 0.82rem;
    }
}

#locationStatusBox {
    border-radius: 18px;
}

#locationStatusText {
    font-weight: 700;
}

#locationBranchInfo {
    line-height: 1.45;
}

.kg-site-footer {
    background: linear-gradient(180deg, #fff7ea 0%, #fff1db 100%);
    border-top: 1px solid rgba(123, 0, 6, 0.08);
    margin-top: 60px;
}

.kg-footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 10px 20px rgba(123, 0, 6, 0.08);
}

.kg-footer-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--kg-maroon);
    line-height: 1.1;
}

.kg-footer-tag {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--kg-muted);
    margin-top: 4px;
}

.kg-footer-heading {
    font-size: 1rem;
    font-weight: 800;
    color: var(--kg-ink);
    margin-bottom: 1rem;
}

.kg-footer-text,
.kg-footer-contact li,
.kg-footer-links li a {
    color: var(--kg-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.kg-footer-links li {
    margin-bottom: 0.45rem;
}

.kg-footer-links li a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.kg-footer-links li a:hover {
    color: var(--kg-maroon);
}

.kg-footer-contact li {
    margin-bottom: 0.45rem;
}

.kg-footer-bottom {
    border-top: 1px solid rgba(123, 0, 6, 0.08);
    background: rgba(255,255,255,0.45);
    color: var(--kg-muted);
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .kg-site-footer {
        margin-top: 40px;
    }

    .kg-footer-logo {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .kg-footer-title {
        font-size: 1.2rem;
    }

    .kg-footer-tag {
        font-size: 0.75rem;
    }
}

.kg-site-footer {
    background:
        radial-gradient(circle at top right, rgba(246,180,0,.12), transparent 28%),
        linear-gradient(180deg, #fff8eb 0%, #fff1dc 100%);
    border-top: 1px solid rgba(123, 0, 6, 0.08);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.kg-site-footer::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(123,0,6,.08) 0%, rgba(123,0,6,0) 70%);
    pointer-events: none;
}

.kg-footer-brand-card {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(123,0,6,.08);
    border-radius: 28px;
    padding: 1.4rem;
    box-shadow: 0 18px 36px rgba(123,0,6,.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.kg-footer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #fff;
    border-radius: 20px;
    padding: 7px;
    box-shadow: 0 12px 24px rgba(123, 0, 6, 0.10);
}

.kg-footer-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--kg-maroon);
    line-height: 1.1;
}

.kg-footer-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--kg-muted);
    margin-top: 5px;
}

.kg-footer-text {
    color: var(--kg-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.kg-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kg-footer-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fff7df, #fff1c2);
    color: #6f5200;
    border: 1px solid rgba(246,180,0,.35);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.kg-footer-heading {
    font-size: 1rem;
    font-weight: 800;
    color: var(--kg-ink);
    margin-bottom: 1rem;
    position: relative;
}

.kg-footer-heading::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--kg-gold), var(--kg-gold-soft));
    margin-top: 8px;
}

.kg-footer-links li {
    margin-bottom: 0.6rem;
}

.kg-footer-links li a,
.kg-footer-contact li a {
    color: var(--kg-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kg-footer-links li a:hover,
.kg-footer-contact li a:hover,
.kg-footer-bottom-links a:hover {
    color: var(--kg-maroon);
}

.kg-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.75rem;
    color: var(--kg-muted);
    line-height: 1.55;
}

.kg-footer-icon {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.2;
}

.kg-footer-service-card {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(123,0,6,.08);
    border-radius: 24px;
    padding: 1.1rem 1rem;
    box-shadow: 0 14px 30px rgba(123,0,6,.06);
}

.kg-footer-service-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(123,0,6,.10);
    color: var(--kg-muted);
}

.kg-footer-service-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.kg-footer-service-row:first-child {
    padding-top: 0;
}

.kg-footer-service-label {
    color: var(--kg-muted);
    font-size: 0.92rem;
}

.kg-footer-service-row strong {
    color: var(--kg-ink);
    text-align: right;
    font-size: 0.94rem;
}

.kg-footer-bottom {
    border-top: 1px solid rgba(123, 0, 6, 0.08);
    background: rgba(255,255,255,0.45);
    color: var(--kg-muted);
    font-size: 0.9rem;
}

.kg-footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.kg-footer-bottom-links a {
    color: var(--kg-muted);
    text-decoration: none;
}

.kg-footer-title {
    font-family: 'Kaushan Script', cursive;
    font-weight: 400;
    font-size: 1.8rem;
}

@media (max-width: 767.98px) {
    .kg-site-footer {
        margin-top: 40px;
    }

    .kg-footer-brand-card,
    .kg-footer-service-card {
        border-radius: 22px;
    }

    .kg-footer-logo {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .kg-footer-title {
        font-size: 1.2rem;
    }

    .kg-footer-tag {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }

    .kg-footer-service-row {
        flex-direction: column;
        gap: 4px;
    }

    .kg-footer-service-row strong {
        text-align: left;
    }
}

.kg-site-footer {
    background: linear-gradient(180deg, #fff7ea 0%, #fdf0d8 100%);
    border-top: 1px solid rgba(123, 0, 6, 0.08);
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.kg-site-footer::before {
    content: "";
    position: absolute;
    right: -60px;
    top: 20px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(246,180,0,.16) 0%, rgba(246,180,0,0) 70%);
    pointer-events: none;
}

.kg-footer-brand-card,
.kg-footer-service-card,
.kg-footer-branch-card {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(123,0,6,.07);
    border-radius: 22px;
    padding: 1.2rem;
    box-shadow: 0 14px 28px rgba(123,0,6,.06);
}

.kg-footer-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 8px 18px rgba(123, 0, 6, 0.08);
}

.kg-footer-title {
    font-family: 'Kaushan Script', cursive;
    font-weight: 400;
    font-size: 1.7rem;
    color: var(--kg-maroon);
    line-height: 1;
}

.kg-footer-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--kg-muted);
    margin-top: 6px;
}

.kg-footer-text,
.kg-footer-links li a,
.kg-footer-contact li,
.kg-footer-contact li a {
    color: var(--kg-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.kg-footer-heading {
    font-size: 1rem;
    font-weight: 800;
    color: var(--kg-ink);
    margin-bottom: 0.9rem;
}

.kg-footer-heading::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--kg-gold), var(--kg-gold-soft));
    margin-top: 8px;
}

.kg-footer-links li {
    margin-bottom: 0.55rem;
}

.kg-footer-links li a {
    text-decoration: none;
    transition: all 0.2s ease;
}

.kg-footer-links li a:hover,
.kg-footer-contact li a:hover,
.kg-footer-bottom-links a:hover {
    color: var(--kg-maroon);
}

.kg-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.4rem;
}

.kg-footer-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fff8e4, #fff2c6);
    color: #6f5200;
    border: 1px solid rgba(246,180,0,.32);
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-size: 0.81rem;
    font-weight: 700;
}

.kg-footer-contact {
    margin: 0;
}

.kg-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.kg-footer-icon {
    width: 20px;
    min-width: 20px;
    display: inline-flex;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.2;
    margin-top: 1px;
}

.kg-footer-service-card {
    padding: 1rem 1rem;
}

.kg-footer-service-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px dashed rgba(123,0,6,.10);
}

.kg-footer-service-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.kg-footer-service-row:first-child {
    padding-top: 0;
}

.kg-footer-service-label {
    color: var(--kg-muted);
    font-size: 0.92rem;
}

.kg-footer-service-row strong {
    color: var(--kg-ink);
    text-align: right;
    font-size: 0.95rem;
}

.kg-footer-bottom {
    border-top: 1px solid rgba(123, 0, 6, 0.08);
    background: rgba(255,255,255,0.45);
    color: var(--kg-muted);
    font-size: 0.88rem;
}

.kg-footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.kg-footer-bottom-links a {
    color: var(--kg-muted);
    text-decoration: none;
}

.kg-whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1060;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff !important;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kg-whatsapp-float:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.34);
}

.kg-whatsapp-float-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.kg-whatsapp-float-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

@media (max-width: 991.98px) {
    .kg-site-footer .row > [class*="col-"] {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 767.98px) {
    .kg-site-footer {
        margin-top: 36px;
    }

    .kg-footer-brand-card,
    .kg-footer-service-card,
    .kg-footer-branch-card {
        border-radius: 18px;
        padding: 1rem;
    }

    .kg-footer-logo {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .kg-footer-title {
        font-size: 1.45rem;
    }

    .kg-footer-tag {
        font-size: 0.7rem;
        letter-spacing: 0.14em;
    }

    .kg-footer-service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .kg-footer-service-row strong {
        text-align: left;
    }

    .kg-whatsapp-float {
        right: 14px;
        bottom: 96px;
        width: 54px;
        height: 54px;
    }

    .kg-whatsapp-float-icon svg {
        width: 22px;
        height: 22px;
    }
}

.kg-install-banner {
    position: sticky;
    top: 86px;
    z-index: 1030;
    background: linear-gradient(135deg, #fff7df 0%, #fff1c7 100%);
    border-bottom: 1px solid rgba(123, 0, 6, 0.08);
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.kg-install-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
}

.kg-install-banner-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kg-install-banner-text strong {
    color: var(--kg-maroon);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.1;
}

.kg-install-banner-text span {
    color: #6b6257;
    font-size: 0.88rem;
    line-height: 1.3;
}

.kg-install-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.kg-install-banner-btn {
    border: none;
    background: linear-gradient(135deg, var(--kg-maroon), var(--kg-accent));
    color: #fff;
    border-radius: 999px;
    padding: 0.62rem 1rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(123,0,6,.16);
}

.kg-install-banner-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: rgba(123,0,6,.08);
    color: var(--kg-maroon);
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .kg-install-banner {
        top: 78px;
    }
}

@media (max-width: 767.98px) {
    .kg-install-banner-inner {
        padding: 9px 0;
        gap: 10px;
    }

    .kg-install-banner-text strong {
        font-size: 0.92rem;
    }

    .kg-install-banner-text span {
        font-size: 0.78rem;
    }

    .kg-install-banner-btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.88rem;
    }

    .kg-install-banner-close {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}


.kg-install-banner {
    position: sticky;
    top: 86px;
    z-index: 1030;
    background: linear-gradient(135deg, #fff7df 0%, #fff1c7 100%);
    border-bottom: 1px solid rgba(123, 0, 6, 0.08);
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.kg-install-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
}

.kg-install-banner-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kg-install-banner-text strong {
    color: var(--kg-maroon);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.1;
}

.kg-install-banner-text span {
    color: #6b6257;
    font-size: 0.88rem;
    line-height: 1.3;
}

.kg-install-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.kg-install-banner-btn {
    border: none;
    background: linear-gradient(135deg, var(--kg-maroon), var(--kg-accent));
    color: #fff;
    border-radius: 999px;
    padding: 0.62rem 1rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(123,0,6,.16);
}

.kg-install-banner-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: rgba(123,0,6,.08);
    color: var(--kg-maroon);
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .kg-install-banner {
        top: 78px;
    }
}

@media (max-width: 767.98px) {
    .kg-install-banner-inner {
        padding: 9px 0;
        gap: 10px;
    }

    .kg-install-banner-text strong {
        font-size: 0.92rem;
    }

    .kg-install-banner-text span {
        font-size: 0.78rem;
    }

    .kg-install-banner-btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.88rem;
    }

    .kg-install-banner-close {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

.kg-deal-items-box {
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #eadcb6;
    border-radius: 16px;
    padding: 0.75rem;
    background: #fffdf9;
}

.kg-deal-item-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.55rem 0.35rem;
    border-bottom: 1px dashed rgba(123,0,6,.08);
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--kg-ink);
}

.kg-deal-item-option:last-child {
    border-bottom: none;
}

.kg-deal-item-option input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}