
:root {
    --red: #e21820;

    --top-bar: #202020;
    --footer-bg: #4a4a4a;
    --footer-divider: #5f5f5f;
    --cart-bg: #555252;
    --cart-text: #e0e0e0;

    --side-bg: #eeeeee;
    --side-border: #d5d5d5;
    --side-text: #4f4f4f;

    --btn-blue: #088394;
    --btn-yellow: #ffce00;
    --btn-yellow-tx: #1a1a1a;

    --text: #1f1f1f;
    --text-mute: #999;

    --font-kr:
        "Pretendard", "Pretendard Variable", "Noto Sans KR",
        "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

html,
body {
    height: 100%;
}

body {
    font-family: var(--font-kr);
    background: #b8b8b8;
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.device {
    display: contents;
}

.device.framed {
    display: block;
    position: relative;
    height: 100%;
    max-height: 1000px;
    aspect-ratio: 4215 / 9864;
    background: url("../images/ui/kiosk_.png") center / 100% 100% no-repeat;

    --slot-cx: 75.9%;
    --slot-y: 72%;
    --card-w: 16%;

    --scan-cx: 17.4%;
    --scan-top: 87%;
    --phone-w: 18%;
}

.pay-card-slot {
    display: none;
}
.device.card-ready .pay-card-slot {
    display: block;
    animation: cardSlotIn 0.22s ease both;
    position: absolute;
    left: var(--slot-cx);
    top: var(
        --slot-y
    );
    height: 18%;
    width: var(--card-w);
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
}
.reader-card {
    position: absolute;
    left: 0;
    top: 20px;
    width: 100%;
    display: block;
    cursor: pointer;
    pointer-events: auto;
    transform: translateY(0);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
    transition: transform 0.12s ease;
}
.reader-card:active {
    transform: translateY(-2%) scale(0.99);
}
.reader-card.inserting {
    animation: cardInsert 0.85s ease-in forwards;
    pointer-events: none;
    cursor: default;
}
@keyframes cardInsert {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-112%);
    }
}
@keyframes cardSlotIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.phone-tap {
    display: none;
}
.device.phone-ready .phone-tap {
    display: block;
    position: absolute;
    left: var(--scan-cx);
    top: var(--scan-top);
    width: var(--phone-w);
    transform: translate(-50%, -100%);
    z-index: 6;
    cursor: pointer;
    animation: cardSlotIn 0.22s ease both;
}
.device.phone-ready .phone-tap.tapping {
    animation: phoneTap 0.72s ease forwards;
    pointer-events: none;
    cursor: default;
}
@keyframes phoneTap {
    0%   { transform: translate(-50%, -100%); }
    50%  { transform: translate(-50%, -55%); }
    64%  { transform: translate(-50%, -62%); }
    100% { transform: translate(-50%, -55%); }
}
.phone-body {
    width: 100%;
    aspect-ratio: 88 / 172;
    background: #0f0f0f;
    border-radius: 16% / 8%;
    padding: 7%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 6% / 3%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.phone-barcode {
    width: 76%;
    height: 42%;
    background: repeating-linear-gradient(
        90deg,
        #111 0 2px,
        #fff 2px 4px,
        #111 4px 7px,
        #fff 7px 9px,
        #111 9px 12px,
        #fff 12px 13px
    );
}

.kiosk {
    width: 562px;
    height: 1000px;
    flex-shrink: 0;
    transform: scale(var(--fit, 1));
    transform-origin: center center;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}

.btn-exit {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(20, 20, 20, 0.72);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 7px 14px 7px 11px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.3px;
    cursor: pointer;
}
.btn-exit-x {
    font-size: 15px;
    line-height: 1;
}

.exit-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.exit-popup-overlay[hidden] {
    display: none;
}
.exit-popup {
    background: #fff;
    border: 3px solid #6aa9e6;
    border-radius: 18px;
    width: 94%;
    max-width: 460px;
    padding: 22px 20px 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    text-align: center;
}
.ex-title {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}
.ex-preview {
    margin-bottom: 18px;
}
.ex-preview img {
    display: block;
    width: 70%;
    height: auto;
    margin: 0 auto;
}
.ex-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.ex-btn {
    min-width: 120px;
    padding: 15px 0;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}
.ex-ok {
    background: #3d7fd6;
    color: #fff;
}
.ex-cancel {
    background: #e8e8e8;
    color: #333;
}
.ex-btn:active {
    opacity: 0.85;
}

.device.framed .kiosk {
    position: absolute;
    top: 0;
    left: 0;
    width: 562px;
    height: 1000px;
    max-width: none;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    transform-origin: top left;
    transform: translate(var(--fx, 0), var(--fy, 0)) scale(var(--fk, 1));
}

.top-bar {
    background: var(--top-bar);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    font-size: 12px;
    flex-shrink: 0;
    height: 36px;
}

.btn-home {
    background: transparent;
    border: none;
    color: #fff;
    padding: 4px 6px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-home .ic-home {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.timer {
    font-size: 12px;
    min-width: 42px;
    letter-spacing: 0.5px;
    color: #fff;
    font-weight: 500;
}

.lang {
    display: flex;
    margin-left: auto;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #bfbfbf;
    font-size: 12px;
    padding: 3px 7px;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    position: relative;
    font-weight: 500;
}

.lang-btn + .lang-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, 0.22);
}

.lang-btn.active {
    color: #fff;
    font-weight: 700;
}

.steps {
    display: flex;
    background: #fff;
    flex-shrink: 0;
    position: relative;
}

.step {
    flex: 1;
    padding: 12px 4px 14px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    position: relative;
    letter-spacing: -0.4px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.2;
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #bfbfbf;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.step-label {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 3px;
    white-space: nowrap;
}

.step:not(:last-child)::after {
    content: "••••";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    color: #bfbfbf;
    font-size: 6px;
    line-height: 1;
    letter-spacing: 3px;
    font-weight: 900;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

.step.done:has(+ .step.done)::after {
    color: var(--red);
}

.step.active {
    color: #1f1f1f;
    font-weight: 700;
}

.step.done .step-num {
    background: var(--red);
    color: transparent;
}

.step.done .step-num::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
}

.steps-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #f0f0f0;
}

.steps-progress-bar {
    height: 100%;
    width: 0;
    background: var(--red);
    transition: width 0.4s ease;
}

.view-intro,
.view-menu,
.view-confirm,
.view-payment,
.view-coupon,
.view-complete {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.view-intro[hidden],
.view-menu[hidden],
.view-confirm[hidden],
.view-payment[hidden],
.view-coupon[hidden],
.view-complete[hidden] {
    display: none;
}

.kiosk:has(.view-intro:not([hidden])) .top-bar,
.kiosk:has(.view-intro:not([hidden])) .steps {
    display: none;
}

.main {
    display: flex;
    flex: 1;
    min-height: 0;
    background: #fff;
}

.categories {
    width: 130px;
    background: var(--side-bg);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0 8px 8px;
    border-right: 1px solid var(--side-border);
    overflow-y: auto;
    flex-shrink: 0;
}

.cat-btn {
    background: #fff;
    border: none;
    padding: 18px 4px;
    font-size: 13px;
    color: var(--side-text);
    cursor: pointer;
    text-align: left;
    text-indent: 8px;
    line-height: 1.25;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: -0.5px;
    min-height: 57px;
    border-radius: 8px 0 0 8px;
}

.cat-btn.active {
    background: var(--red);
    color: #fff;
    font-weight: 900;
    min-height: 90px;
}

.menu-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 8px;
    padding: 12px 10px;
    overflow-y: auto;
    background: #f5f5f5;
    align-content: start;
}

.menu-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-mute);
    padding: 70px 0;
    font-size: 14px;
    font-weight: 500;
}

.menu-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.08s ease;
    background: #fff;
    border-radius: 6px;
    padding: 8px 8px 8px;
}

.menu-item:active {
    transform: scale(0.96);
}

.menu-item-img {
    width: 70%;
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

.menu-item-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.menu-item-img img.loaded {
    opacity: 1;
}

.img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #bdbdbd;
    background: #fff;
    text-align: center;
    padding: 3px;
    border: 1px dashed #fff;
    border-radius: 5px;
    line-height: 1.2;
    font-weight: 500;
}

.menu-item.soldout {
    cursor: not-allowed;
}

.menu-item.soldout .menu-item-img::after {
    content: "SOLD\AOUT";
    white-space: pre;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    width: 62px;
    height: 62px;
    border: 3px solid rgb(203 203 203 / 85%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255 255 255 / 90%);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.8px;
    line-height: 1.05;
    text-align: center;
    font-family: "Arial Black", sans-serif;
    background: #696763;
}

.menu-item-name {
    font-size: 15px;
    margin-top: 6px;
    text-align: center;
    color: var(--text);
    line-height: 1.25;
    min-height: 28px;
    font-weight: 500;
    letter-spacing: -0.4px;
    padding: 0 2px;
}

.menu-item-price {
    font-size: 15px;
    color: var(--red);
    font-weight: 900;
    margin-top: 2px;
    text-align: center;
    letter-spacing: -0.3px;
}

.menu-item-price .won {
    font-size: 13px;
    margin-left: 1px;
    font-weight: 700;
}

.menu-item-price .tilde {
    font-size: 14px;
    margin-left: 3px;
    font-weight: 700;
}

.menu-badge {
    position: absolute;
    top: 0;
    left: 8px;
    z-index: 2;
    padding: 4px 6px;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    background: #29c4d6;
    color: #10252a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.menu-item-note {
    margin-top: 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.3px;
}

.menu-item-note + .menu-item-name {
    margin-top: 2px;
}

.cart-summary {
    background: var(--cart-bg);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 16px;
    font-size: 13px;
    flex-shrink: 0;
    font-weight: 500;
    position: relative;
}

.cart-summary em {
    font-style: normal;
    font-weight: 400;
    margin-left: 6px;
    font-size: 14px;
    color: var(--btn-yellow);
}

.cart-toggle {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--cart-bg);
    color: #fff;
    border: none;
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.3px;
    cursor: pointer;
    padding: 5px 26px 4px;
    border-top-right-radius: 14px;
    border-top-left-radius: 14px;
}

.cart-toggle:active {
    filter: brightness(1.2);
}

.cart {
    transition:
        max-height 0.25s ease,
        min-height 0.25s ease,
        padding 0.25s ease;
}

.cart.collapsed {
    max-height: 0 !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}

.cart {
    background: var(--cart-bg);
    color: var(--cart-text);
    min-height: 110px;
    max-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    overflow-y: auto;
    flex-shrink: 0;
}
.cart:has(.cart-items) {
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #c8c8c8;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.cart-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #404141;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}

.cart-icon img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.cart-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
}

.cart-item {
    width: 30%;
    background: #fff;
    border-radius: 8px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #222;
}

.cart-item-top {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    position: relative;
}

.cart-item-img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
    padding-right: 16px;
}
.cart-item-name {
    font-size: 11px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}
.cart-item-price {
    font-size: 12px;
    font-weight: 900;
    color: var(--red);
    margin-top: 3px;
}

.cart-item-remove {
    position: absolute;
    top: -1px;
    right: -2px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 2px 4px;
}
.cart-item-remove::before {
    content: "";
    position: absolute;
    inset: -10px;
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

.cart-item-options {
    background: #202020;
    border: none;
    color: #fff;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
.cart-item-qty .qty-btn {
    background: #fff;
    border: none;
    width: 22px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
    color: #333;
    font-family: inherit;
    font-weight: 700;
    line-height: 1;
}
.cart-item-qty .qty-btn:active {
    background: #f0f0f0;
}
.cart-item-qty .qty-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}
.cart-item-qty .qty-val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 700;
    color: #222;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 0 4px;
}

.actions {
    display: flex;
    gap: 6px;
    padding: 7px;
    background: var(--cart-bg);
    flex-shrink: 0;
}

.btn-action {
    flex: 1;
    padding: 10px 6px;
    border: none;
    border-radius: 8px;
    color: #1e2526;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-barcode {
    background: var(--btn-blue);
}

.btn-barcode .ic-barcode {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
.btn-coupon {
    background: #eeeeee;
    color: var(--btn-yellow-tx);
}
.btn-pay {
    background: var(--red);
    color: #fef8f8;
}

.footer {
    display: flex;
    background: var(--footer-bg);
    flex-shrink: 0;
    border-top: 1px solid #2a2a2a;
}

.footer button {
    flex: 1;
    padding: 11px 2px;
    background: transparent;
    border: none;
    color: #d5d5d5;
    font-size: 11.5px;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: -0.4px;
    font-weight: 500;
}

.footer button + button {
    border-left: 1px solid var(--footer-divider);
}

.footer button:active {
    background: rgba(255, 255, 255, 0.08);
}

::-webkit-scrollbar {
    width: 1px;
    height: 1px;
}
::-webkit-scrollbar-button,
::-webkit-scrollbar-button:single-button,
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    -webkit-appearance: none !important;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid transparent;
    background-clip: padding-box;
    border-radius: 2px;
}
::-webkit-scrollbar-corner {
    background: transparent;
}

.cart::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid transparent;
    background-clip: padding-box;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
}
.cart {
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.option-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100;
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.option-modal-overlay[hidden] {
    display: none;
}

.option-modal {
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.om-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 14px;
    border-bottom: 1px solid #eee;
    position: relative;
    flex-shrink: 0;
}
.om-title {
    font-size: 16px;
    font-weight: 900;
    color: #111;
}
.om-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    color: #888;
    cursor: pointer;
    font-size: 16px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.om-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.om-product {
    display: flex;
    gap: 10px;
    padding: 4px 4px 12px;
    border-bottom: 1px solid #eee;
}
.om-product-thumb {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}
.om-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.om-product-info {
    flex: 1;
    min-width: 0;
}
.om-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.om-product-name {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.3px;
}
.om-nutrition {
    background: #202020;
    border: 1px solid #e0e0e0;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}
.om-product-price {
    color: var(--red);
    font-weight: 900;
    font-size: 18px;
    margin-top: 4px;
    line-height: 1;
}
.om-product-price .tilde {
    font-size: 14px;
    margin-left: 1px;
    font-weight: 700;
}
.om-product-desc {
    font-size: 11px;
    color: #888;
    margin-top: 5px;
    line-height: 1.4;
}

.om-sections {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.om-section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 4px;
}
.om-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #222;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.om-section-title::before {
    content: "✓";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d5d5d5;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.15s;
}
.om-section:has(.om-option.selected) .om-section-title::before {
    background: #222;
}
.om-section-hint {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}
.om-section-hint.required {
    background: var(--red);
    color: #fff;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 9px;
    line-height: 1.3;
}
.om-section-hint.optional {
    background: #777;
    color: #fff;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 9px;
    line-height: 1.3;
}

.om-option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
}
.om-option {
    position: relative;
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 2px 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: inherit;
    transition: background 0.15s;
    width: 90px;
}

.om-option-badge {
    position: absolute;
    top: 4px;
    left: 6px;
    z-index: 2;
    padding: 1px 7px;
    border-radius: 5px;
    background: #29c4d6;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.om-option-note {
    font-size: 9px;
    font-weight: 700;
    color: #444;
    letter-spacing: -0.3px;
    margin-top: 2px;
}
.om-option.selected {
    background: #fff;
    outline: 2px solid #000;
    outline-offset: -2px;
}
.om-option-img {
    width: 68px;
    height: 68px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    margin-top: 10px;
}
.om-option-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.om-option-name {
    font-size: 13px;
    color: #222;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: -0.3px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}
.om-option-price {
    font-size: 12px;
    color: var(--red);
    font-weight: 700;
    margin-top: auto;
    margin-bottom: 8px;
}

.om-selected {
    background: var(--cart-bg);
    color: #fff;
    flex-shrink: 0;
}
.om-selected-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 9px 16px;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    position: relative;
}
.om-selected-bar em {
    font-style: normal;
    font-weight: 900;
    color: var(--btn-yellow);
    margin: 0 3px;
    font-size: 14px;
}
.om-selected-bar .dot {
    color: rgba(255, 255, 255, 0.4);
}
.om-selected-label {
    margin-left: auto;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
}

.om-selected-toggle {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--cart-bg);
    color: #fff;
    border: none;
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.3px;
    cursor: pointer;
    padding: 5px 26px 4px;
    border-top-right-radius: 14px;
    border-top-left-radius: 14px;
}
.om-selected-toggle:active {
    filter: brightness(1.2);
}

.om-selected-list {
    display: flex;
    gap: 8px;
    padding: 6px 16px 14px;
    overflow-x: auto;
    min-height: 84px;
    transition:
        max-height 0.25s ease,
        padding 0.25s ease;
}
.om-selected-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255);
    border: none;
    border-radius: 10px;
    padding: 6px 22px 6px 6px;
    font-size: 13px;
    flex-shrink: 0;
    min-height: 70px;
    position: relative;
}
.om-selected-item img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.om-selected-item .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-right: 4px;
}
.om-selected-item .name {
    font-weight: 500;
    color: #222;
    line-height: 1.1;
}
.om-selected-item .price {
    color: var(--red);
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
}
.om-selected-item .remove {
    position: absolute;
    top: 3px;
    right: 5px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.om-selected-item .remove::before {
    content: "";
    position: absolute;
    inset: -12px;
}

.om-selected.collapsed .om-selected-list {
    max-height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.om-footer {
    background: var(--cart-bg);
    color: #fff;
    padding: 8px 10px 10px;
    flex-shrink: 0;
}
.om-total {
    text-align: right;
    font-size: 13px;
    padding: 0 4px 8px;
    font-weight: 500;
}
.om-total strong {
    color: var(--btn-yellow);
    font-size: 20px;
    font-weight: 900;
    margin-left: 6px;
}
.om-buttons {
    display: flex;
    gap: 6px;
}
.om-btn {
    flex: 1;
    padding: 13px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: -0.3px;
}
.om-btn-cancel {
    background: #202020;
    color: #fff;
}
.om-btn-confirm {
    background: var(--red);
    color: #fff;
}

.view-confirm {
    background: #fff;
}

.confirm-title {
    text-align: center;
    padding: 22px 0 14px;
    font-size: 18px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.5px;
}

.confirm-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.confirm-empty {
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-size: 13px;
}

.confirm-item {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    gap: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.confirm-item-img {
    width: 78px;
    height: 78px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.confirm-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.confirm-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.confirm-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.confirm-item-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.3px;
}
.confirm-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.confirm-item-qty .c-qty-btn {
    width: 22px;
    height: 22px;
    border: none;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    color: #333;
    font-weight: 700;
    line-height: 1;
}
.confirm-item-qty .c-qty-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}
.confirm-item-qty .c-qty-val {
    min-width: 22px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #222;
}
.confirm-item-price {
    font-size: 14px;
    font-weight: 900;
    color: #111;
    min-width: 50px;
    text-align: right;
}
.confirm-item-remove {
    background: transparent;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 0 2px;
    position: relative;
}
.confirm-item-remove::before {
    content: "";
    position: absolute;
    inset: -10px;
}

.confirm-options {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.confirm-option-row {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #555;
}
.confirm-option-row .name {
    flex: 1;
}
.confirm-option-row .qty {
    width: 40px;
    text-align: center;
    font-weight: 700;
    color: #333;
}
.confirm-option-row .price {
    width: 60px;
    text-align: right;
    font-weight: 700;
    color: #333;
}

.confirm-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2px;
}
.confirm-nutrition {
    background: #202020;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 5px 12px;
    font-size: 11px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
}
.confirm-item-total {
    font-size: 17px;
    font-weight: 900;
    color: var(--red);
}

.confirm-total-bar {
    background: var(--cart-bg);
    color: #fff;
    padding: 12px 18px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}
.confirm-total-bar strong {
    color: var(--btn-yellow);
    font-size: 20px;
    font-weight: 900;
}

.confirm-pay {
    display: flex;
    gap: 5px;
    padding: 7px;
    background: var(--cart-bg);
    flex-shrink: 0;
}
.pay-btn {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    color: #222;
    padding: 13px 4px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    letter-spacing: -0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.pay-btn.pay-card,
.pay-btn.pay-checkout {
    background: var(--red);
    color: #fff;
    border: none;
    flex: 1.3;
}
.pay-btn[hidden] {
    display: none;
}
.pay-btn:disabled {
    background: #eaeaea;
    color: #b3b3b3;
    border-color: #e2e2e2;
    cursor: default;
}
.pay-btn .ml-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00c9a7;
    color: #fff;
    border-radius: 4px;
    width: 18px;
    height: 16px;
    font-size: 9px;
    font-weight: 900;
}

.view-payment {
    background: #fff;
    padding: 0 16px;
}

.pay-title {
    text-align: center;
    padding: 60px 0 28px;
    font-size: 22px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.5px;
}

.coupon-screen {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    padding: 24px 0;
}
.coupon-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.voucher-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
}
.voucher-popup-overlay[hidden] {
    display: none;
}
.voucher-popup {
    background: #fff;
    border-radius: 14px;
    width: 86%;
    max-width: 400px;
    padding: 22px 20px 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.vp-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    margin-bottom: 18px;
}
.vp-info-i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #b9b9b9;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
}
.vp-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.vp-card {
    position: relative;
    flex: 1;
    min-height: 150px;
    background: #fff;
    border: 1.6px solid #e3e3e3;
    border-radius: 10px;
    padding: 30px 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
}
.vp-card.selected {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red) inset;
}
.vp-card-name {
    margin-top: auto;
    padding-top: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.vp-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6a00;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2px;
    clip-path: polygon(
        100% 50%, 88% 61%, 96% 74%, 81% 77%, 82% 92%, 68% 85%, 62% 99%,
        50% 89%, 38% 99%, 32% 85%, 18% 92%, 19% 77%, 4% 74%, 12% 61%,
        0% 50%, 12% 39%, 4% 26%, 19% 23%, 18% 8%, 32% 15%, 38% 1%,
        50% 11%, 62% 1%, 68% 15%, 82% 8%, 81% 23%, 96% 26%, 88% 39%
    );
}
.vp-coin {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #ffd94f, #efa500);
    border: 2px solid #dd9500;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a4a00;
    font-size: 24px;
    font-weight: 900;
}
.vp-buttons {
    display: flex;
    gap: 10px;
}
.vp-btn {
    flex: 1;
    padding: 15px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.vp-cancel {
    background: #1a1a1a;
    color: #fff;
}
.vp-ok {
    background: var(--red);
    color: #fff;
}

.receipt-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
}
.receipt-popup-overlay[hidden] {
    display: none;
}
.receipt-popup {
    background: #fff;
    border-radius: 16px;
    width: 88%;
    max-width: 420px;
    max-height: 94%;
    overflow-y: auto;
    padding: 22px 20px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.rc-title {
    text-align: center;
    font-size: 19px;
    font-weight: 900;
    color: #1a1a1a;
    padding: 4px 0 18px;
    letter-spacing: -0.4px;
}
.rc-table {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.rc-row {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #eee;
}
.rc-row:first-child {
    border-top: none;
}
.rc-row > span {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 0;
    font-size: 15px;
    color: #333;
}
.rc-head {
    background: #f6f6f6;
}
.rc-head > span {
    font-weight: 700;
    color: #666;
    font-size: 14px;
}
.rc-row > span:first-child {
    border-right: 1px solid #eee;
}
.rc-check {
    width: 22px;
    height: 22px;
    border: 1.5px solid #bbb;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    padding: 0;
}
.rc-check.checked {
    border-color: var(--red);
}
.rc-check.checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid var(--red);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.rc-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12.5px;
    color: #555;
    margin-bottom: 12px;
    text-align: center;
}
.rc-info-i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #b9b9b9;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-style: italic;
    flex-shrink: 0;
}

.pay-info-box {
    background: #555252;
    color: #fff;
    width: 80%;
    align-self: center;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}
.pay-info-box .label {
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}
.pay-info-box .value {
    font-size: 18px;
    font-weight: 900;
    color: var(--btn-yellow);
}
.pay-info-box .sub {
    font-size: 13px;
    color: #ddd;
    text-align: right;
    flex: 1;
    line-height: 1.4;
    font-weight: 500;
}

.pay-toggle {
    width: 60px;
    height: 26px;
    background: #888;
    border: none;
    border-radius: 11px;
    position: relative;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s;
}
.pay-toggle.on {
    background: var(--btn-yellow);
}
.pay-toggle .toggle-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    left: 6px;
}
.pay-toggle.on .toggle-text {
    left: 6px;
}
.pay-toggle:not(.on) .toggle-text {
    left: auto;
    right: 6px;
}
.pay-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition:
        right 0.2s,
        left 0.2s;
    right: 2px;
}
.pay-toggle:not(.on)::after {
    right: auto;
    left: 2px;
}

.pay-note {
    text-align: right;
    font-size: 12px;
    color: #444;
    font-weight: 600;
    margin: 2px 4px 18px;
    width: 80%;
    align-self: center;
}

.card-reader {
    background: #f0f0f0;
    border-radius: 10px;
    width: 75%;
    max-width: 280px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-reader img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pay-instruction {
    text-align: center;
    font-size: 13px;
    color: #444;
    margin: 22px 0 24px;
    line-height: 1.4;
}

.pay-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 10px;
    padding-top: 14px;
}
.pay-action-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: -0.3px;
}
.pay-action-btn.pay-cancel {
    background: #202020;
    color: #fff;
}
.pay-action-btn.pay-keypad {
    background: #d8d8d8;
    color: #333;
}

.point-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.point-popup-overlay[hidden] {
    display: none;
}

.point-popup {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 430px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.pp-title {
    text-align: center;
    padding: 20px 16px 10px;
    font-size: 20px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.4px;
}

.pp-sub {
    text-align: center;
    padding: 0 16px 14px;
    font-size: 20px;
    color: #1a1a1a;
    line-height: 1.6;
    font-weight: 700;
}

.pp-image {
    margin: 0 auto 14px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pp-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.pp-info {
    margin: 0 18px 14px;
    padding: 10px 12px;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}
.pp-info-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
}
.pp-info p {
    margin: 0;
}

.pp-question {
    text-align: center;
    font-size: 15px;
    color: #333;
    padding: 17px 0;
    font-weight: 600;
    background: #f6f6f6;
    margin-bottom: 30px;
}

.pp-buttons {
    display: flex;
    gap: 10px;
    padding: 12px;
}
.pp-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 21px;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: -0.3px;
}
.pp-btn.pp-no {
    background: #202020;
    color: #fff;
}
.pp-btn.pp-yes {
    background: var(--red);
    color: #fff;
}

.phone-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.phone-popup-overlay[hidden] {
    display: none;
}

.phone-popup {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 360px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ph-title {
    text-align: center;
    font-size: 17px;
    font-weight: 900;
    color: #1a1a1a;
    padding: 6px 0 16px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}

.ph-input {
    border: 1.5px solid #ddd;
    border-radius: 28px;
    padding: 14px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    min-height: 48px;
}

.ph-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.ph-key {
    padding: 16px 0;
    background: #f3f3f3;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    cursor: pointer;
    font-family: inherit;
}
.ph-key.ph-clear,
.ph-key.ph-delete {
    font-size: 13px;
    color: #444;
    font-weight: 600;
}
.ph-key:active {
    background: #e6e6e6;
}

.ph-buttons {
    display: flex;
    gap: 10px;
}
.ph-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: -0.3px;
}
.ph-btn.ph-cancel {
    background: #202020;
    color: #fff;
}
.ph-btn.ph-ok {
    background: var(--red);
    color: #fff;
}

.view-complete {
    background: #fff;
    padding: 0 20px;
}

.cp-title {
    text-align: center;
    padding: 60px 0 40px;
    font-size: 26px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.cp-order {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}
.cp-order-label {
    background: #202020;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 22px;
    border-radius: 16px;
    letter-spacing: -0.3px;
}
.cp-order-num {
    font-size: 100px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    letter-spacing: -4px;
}

.cp-info {
    text-align: center;
    font-size: 14px;
    color: #222;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cp-info-i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #555;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    font-family: serif;
    font-style: italic;
}

.cp-receipt-area {
    margin-top: auto;
    margin-bottom: 170px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}
.cp-receipt {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-family: inherit;
    padding: 12px 18px;
}
.cp-receipt-icon {
    position: relative;
    display: inline-block;
}
.cp-receipt-badge {
    position: absolute;
    bottom: -4px;
    right: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.cp-yes-badge {
    background: #1ba0d6;
}
.cp-no-badge {
    background: var(--red);
}
.cp-receipt-label {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.3px;
}

.view-intro {
    background: #fff;
}

.intro-promo {
    height: 38%;
    background: linear-gradient(135deg, #9ed084, #66a553);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.intro-promo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-choice {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 20px;
}
.intro-title {
    font-size: 24px;
    font-weight: 900;
    color: #222;
    margin-bottom: 34px;
    letter-spacing: -0.4px;
}
.intro-cards {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 380px;
    justify-content: center;
}
.intro-card {
    flex: 1;
    max-width: 170px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 46px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.08s,
        box-shadow 0.15s;
}
.intro-card:active {
    transform: scale(0.97);
}
.intro-card:hover {
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
}
.intro-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.intro-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.intro-card-label {
    font-size: 19px;
    font-weight: 900;
    color: #222;
    letter-spacing: -0.3px;
}

.intro-lang {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0 16px 28px;
    flex-wrap: wrap;
}
.intro-lang-btn {
    background: #fff;
    border: 1px solid #d8d8d8;
    color: #444;
    padding: 15px 17px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}
.intro-lang-btn.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    font-weight: 700;
}
