:root {
    --app-bg: #ffffff;
    --app-surface: #f7f7f7;
    --app-card: #ebebeb;
    --app-panel: #f3f3f3;
    --app-line: #dddddd;
    --app-text: #151515;
    --app-muted: #6f6f6f;
    --app-red: #d51e2d;
    --app-accent: #ffcb2d;
    --app-success: #0c8a48;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --shadow-soft: 0 10px 26px rgba(10, 10, 10, 0.07);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body.webapp-body {
    font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--app-bg);
    color: var(--app-text);
    line-height: 1.45;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

button,
input {
    font: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.webapp-stage {
    width: min(1420px, calc(100% - 2rem));
    margin: 0 auto;
    padding: max(10px, env(safe-area-inset-top)) 0 max(10px, env(safe-area-inset-bottom));
}

.device {
    border-radius: var(--radius-lg);
    border: 1px solid #ececec;
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.device-screen {
    min-height: calc(100dvh - 44px);
    background: #ffffff;
}

.main-panel {
    background: var(--app-surface);
    padding: clamp(16px, 2.2vw, 28px);
    padding-bottom: calc(clamp(16px, 2.2vw, 28px) + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.03rem;
}

.brand-mark img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.locale-pill,
.install-chip,
.cart-chip {
    border-radius: 999px;
    border: 1px solid var(--app-line);
    background: #ffffff;
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2c2c2c;
}

.locale-toggle,
.install-chip,
.cart-chip {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.locale-toggle:hover,
.install-chip:hover,
.cart-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.cart-chip {
    min-width: 44px;
    padding: 0 10px;
}

.cart-chip.is-empty-click {
    animation: cartBump 0.26s ease;
}

.cart-icon {
    font-size: 1rem;
    line-height: 1;
}

.cart-count {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--app-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0 4px;
}

.app-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 4px;
}

.app-tab {
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid var(--app-line);
    background: #ffffff;
    padding: 8px 13px;
    font-size: 0.79rem;
    font-weight: 700;
    color: #3c3c3c;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.app-tab-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-left: 4px;
}

.app-subtab {
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid #d7d7d7;
    background: #f4f4f4;
    padding: 6px 11px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4a4a4a;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.app-tab.active,
.app-tab:hover,
.app-tab-group.is-active > .app-tab {
    background: #151515;
    border-color: #151515;
    color: #ffffff;
    transform: translateY(-1px);
}

.app-subtab.active,
.app-subtab:hover {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: #111111;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(17, 17, 17, 0.08);
}

.page-heading {
    padding-top: 2px;
}

.page-heading h1 {
    font-size: clamp(1.95rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.page-heading h1 span {
    font-weight: 500;
}

.page-heading p {
    margin-top: 8px;
    color: var(--app-muted);
    max-width: 70ch;
    font-size: 0.92rem;
}

.section-title {
    font-size: clamp(1.38rem, 2.6vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-panel {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: clamp(14px, 2vw, 18px);
    content-visibility: auto;
    contain-intrinsic-size: 420px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    min-height: 200px;
    border-radius: 26px;
    border: 1px solid #d7d7d7;
    background: #dedede;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.category-card.is-focus:not(.hot) {
    border-color: #cfcfcf;
    box-shadow: 0 0 0 2px rgba(213, 30, 45, 0.1);
    transform: translateY(-2px);
}

.category-card.hot {
    background: linear-gradient(145deg, #df1128 0%, #cb1024 100%);
    border-color: transparent;
    color: #ffffff;
    animation: hotPulse 3s ease-in-out infinite;
}

.category-thumb {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.category-card h3 {
    font-size: clamp(1rem, 1.8vw, 1.02rem);
    line-height: 1.1;
    font-weight: 800;
}

.category-card small {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.72rem;
    font-weight: 700;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pop-item {
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    padding: 10px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pop-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.pop-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.pop-item h4 {
    font-size: 0.74rem;
    line-height: 1.2;
    font-weight: 700;
}

.pop-item p {
    font-size: 0.73rem;
    font-weight: 800;
    color: #d39b00;
}

.menu-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.filter-chip {
    border: 1px solid var(--app-line);
    background: #f6f6f6;
    color: #3a3a3a;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
    background: #121212;
    border-color: #121212;
    color: #ffffff;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.menu-item-card {
    border-radius: 16px;
    border: 1px solid #e7e7e7;
    background: #ffffff;
    padding: 10px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.menu-item-card[hidden] {
    display: none;
}

.menu-item-card img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.menu-copy h3 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.menu-copy p {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--app-muted);
    line-height: 1.35;
}

.menu-meta {
    margin-top: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.price-tag {
    font-size: 0.82rem;
    font-weight: 800;
    color: #111111;
}

.add-btn {
    border: 1px solid #131313;
    border-radius: 999px;
    background: #131313;
    color: #ffffff;
    padding: 5px 11px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.add-btn:hover {
    transform: translateY(-1px);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.info-card {
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    padding: 12px;
}

.info-card h3 {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 4px;
}

.info-card p,
.info-card li {
    color: #5f5f5f;
    font-size: 0.83rem;
    line-height: 1.45;
}

.info-card ul {
    margin: 8px 0 0 18px;
}

.info-card a {
    color: #0b0b0b;
    font-weight: 700;
}

.map-wrap {
    border-radius: 16px;
    border: 1px solid #e7e7e7;
    overflow: hidden;
    margin-top: 10px;
}

.map-wrap iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 14px;
    position: relative;
    padding-right: 38px;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    border-top: 1px solid #efefef;
    padding: 10px 14px 12px;
    color: #616161;
    font-size: 0.83rem;
    line-height: 1.45;
}

.order-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(400px, 100vw);
    height: 100dvh;
    background: var(--app-panel);
    border-left: 1px solid #dcdcdc;
    box-shadow: -18px 0 44px rgba(0, 0, 0, 0.18);
    padding: 18px 14px 16px;
    display: flex;
    flex-direction: column;
    z-index: 1002;
    transform: translateX(105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.order-panel.is-visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.order-panel.is-empty {
    display: none;
}

.order-close {
    align-self: flex-end;
    width: 42px;
    height: 42px;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.order-head h2 {
    font-size: 1.42rem;
    line-height: 1.02;
    font-weight: 800;
}

.order-head p {
    margin-top: 3px;
    font-size: 0.72rem;
    color: var(--app-muted);
}

.order-list {
    margin-top: 14px;
    list-style: none;
    display: grid;
    gap: 9px;
    overflow: auto;
    padding-right: 2px;
}

.order-item {
    border-radius: 14px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    padding: 10px;
    display: grid;
    gap: 7px;
}

.order-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.order-item-head strong {
    font-size: 0.8rem;
    font-weight: 700;
}

.order-item-head span {
    font-size: 0.8rem;
    font-weight: 700;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    padding: 2px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 0;
    background: #f1f1f1;
    cursor: pointer;
    font-weight: 800;
}

.qty-btn.plus {
    background: var(--app-accent);
}

.qty-value {
    width: 18px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.order-note {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #dddddd;
    color: #686868;
    font-size: 0.74rem;
    line-height: 1.4;
}

.order-total {
    margin-top: auto;
    border-top: 1px solid #d9d9d9;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-total span {
    font-size: 0.78rem;
    color: #676767;
}

.order-total strong {
    font-size: 1.28rem;
    line-height: 1;
    font-weight: 800;
}

.done-btn {
    margin-top: 10px;
    border-radius: 19px;
    background: var(--app-accent);
    color: #151515;
    font-weight: 700;
    text-align: center;
    padding: 14px 12px;
    border: 1px solid #e8ba2b;
    transition: transform 0.2s ease;
}

.done-btn:hover {
    transform: translateY(-2px);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.34);
    border: 0;
    padding: 0;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

body.cart-open {
    overflow: hidden;
}

body.cart-open .cart-overlay {
    opacity: 1;
    pointer-events: auto;
}

.product-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(8, 8, 8, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.product-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    width: min(640px, calc(100vw - 14px));
    max-height: 84dvh;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.16);
    z-index: 1101;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.product-sheet.is-open {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.product-sheet-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #efefef;
}

.sheet-close {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #dddddd;
    background: #ffffff;
    cursor: pointer;
    font-weight: 800;
}

.sheet-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #5e5e5e;
}

.sheet-body {
    padding: 14px;
    overflow: auto;
    max-height: calc(84dvh - 64px);
}

.sheet-product {
    text-align: center;
    margin-bottom: 12px;
}

.sheet-product img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin: 0 auto;
}

.sheet-product h3 {
    margin-top: 6px;
    font-size: 1.55rem;
    line-height: 1.05;
    font-weight: 800;
}

.sheet-product p {
    margin-top: 4px;
    color: #ddb128;
    font-weight: 800;
}

.sheet-options {
    list-style: none;
    display: grid;
    gap: 8px;
}

.sheet-option {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 12px;
    border: 1px solid #ededed;
}

.sheet-option img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.sheet-option-copy strong {
    display: block;
    font-size: 0.78rem;
}

.sheet-option-copy span {
    display: block;
    font-size: 0.7rem;
    color: #7b7b7b;
}

.sheet-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sheet-stepper button {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    background: #fafafa;
    cursor: pointer;
    font-weight: 800;
}

.sheet-stepper button.plus {
    background: var(--app-accent);
    border-color: #edbe2a;
}

.sheet-stepper span {
    min-width: 20px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.sheet-actions {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.sheet-apply {
    border: 1px solid #edbe2a;
    background: var(--app-accent);
    color: #191919;
    border-radius: 16px;
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.sheet-apply:hover {
    transform: translateY(-1px);
}

.page-foot {
    margin-top: 8px;
    color: #777777;
    font-size: 0.72rem;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.locale-pill,
.install-chip,
.cart-chip,
.app-tab,
.filter-chip,
.add-btn,
.sheet-close,
.sheet-apply,
.done-btn {
    min-height: 44px;
}

@keyframes hotPulse {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes cartBump {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px) scale(1.04);
    }
}

html[dir="rtl"] .main-top,
html[dir="rtl"] .order-item-head,
html[dir="rtl"] .order-total,
html[dir="rtl"] .menu-meta,
html[dir="rtl"] .top-actions {
    flex-direction: row-reverse;
}

html[dir="rtl"] .app-tabs {
    direction: rtl;
}

html[dir="rtl"] .app-subtabs {
    padding-left: 0;
    padding-right: 4px;
}

html[dir="rtl"] .page-heading,
html[dir="rtl"] .order-head,
html[dir="rtl"] .order-note,
html[dir="rtl"] .page-foot,
html[dir="rtl"] .menu-copy,
html[dir="rtl"] .info-card,
html[dir="rtl"] .faq-item summary,
html[dir="rtl"] .faq-item p {
    text-align: right;
}

html[dir="rtl"] .menu-item-card {
    grid-template-columns: minmax(0, 1fr) 68px;
}

html[dir="rtl"] .sheet-option {
    grid-template-columns: auto minmax(0, 1fr) 34px;
}

html[dir="rtl"] .sheet-option-copy {
    text-align: right;
}

html[dir="rtl"] .order-panel {
    right: auto;
    left: 0;
    border-left: 0;
    border-right: 1px solid #dcdcdc;
    box-shadow: 18px 0 44px rgba(0, 0, 0, 0.18);
    transform: translateX(-105%);
}

html[dir="rtl"] .order-panel.is-visible {
    transform: translateX(0);
}

@media (max-width: 1180px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .webapp-stage {
        width: min(100%, calc(100% - 1rem));
    }

    .device-screen {
        min-height: calc(100dvh - 16px);
    }

    .menu-grid,
    .info-grid,
    .order-list {
        grid-template-columns: 1fr;
    }

    .order-panel {
        width: min(460px, 100vw);
    }

    .product-sheet {
        width: calc(100vw - 8px);
        max-height: 88dvh;
    }
}

@media (max-width: 640px) {
    .webapp-stage {
        width: 100%;
        padding: 0;
    }

    .device {
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }

    .device-screen {
        min-height: 100dvh;
    }

    .main-panel {
        padding: 14px 12px calc(18px + env(safe-area-inset-bottom));
    }

    .app-tabs {
        position: sticky;
        top: 0;
        z-index: 15;
        background: var(--app-surface);
        padding-top: 4px;
        margin-inline: -2px;
    }

    .category-grid,
    .popular-grid,
    .menu-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 170px;
        border-radius: 20px;
    }

    .app-tab {
        font-size: 0.75rem;
        padding: 7px 11px;
    }

    .order-panel {
        width: 100vw;
        border-radius: 0;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .product-sheet {
        width: 100vw;
        border-radius: 20px 20px 0 0;
        max-height: 90dvh;
    }
}

@media (pointer: coarse) {
    .category-card:hover,
    .pop-item:hover,
    .menu-item-card:hover,
    .locale-toggle:hover,
    .install-chip:hover,
    .cart-chip:hover,
    .sheet-apply:hover,
    .done-btn:hover,
    .add-btn:hover {
        transform: none;
        box-shadow: none;
    }

    .reveal {
        transition-duration: 0.34s;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Image Lightbox ── */
.img-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    cursor: zoom-out;
}

.img-lightbox-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.img-lightbox-img {
    max-width: min(480px, 88vw);
    max-height: 60dvh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    transform: scale(0.88);
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5));
}

.img-lightbox-overlay.is-open .img-lightbox-img {
    transform: scale(1);
}

.img-lightbox-info {
    text-align: center;
    color: #ffffff;
}

.img-lightbox-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.img-lightbox-info p {
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 700;
    color: #f4c640;
}

.img-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
    line-height: 1;
}

.img-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Cursor hint on product images */
.menu-item-card img,
.pop-item img,
.category-card .category-thumb {
    cursor: zoom-in;
}

