:root {
    --mega-red: #e8331c;
    --mega-red-dark: #c62817;
    --mega-yellow: #f5b400;
    --line: #e2e2e2;
    --ink: #111;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    background: #f4f4f4;
    padding: 16px;
    color: var(--ink);
    word-break: keep-all;
    /* 한글은 음절이 아닌 단어(띄어쓰기) 단위로 줄바꿈 */
    height: 100vh;
    overflow: hidden;
    /* 페이지 스크롤 없이 한 화면에 — 넘치면 메뉴 영역만 내부 스크롤 */
}

/* ---------- 전체 레이아웃 ---------- */
.wrap {
    display: grid;
    grid-template-columns: 280px 620px;
    /* 키오스크를 실제처럼 세로로 긴 비율(포트레이트)로 고정 */
    gap: 20px;
    margin: 0 auto;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    /* body(100vh - padding) 안에 딱 맞춤 */
}

/* ---------- 왼쪽 컬럼 ---------- */
.side {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.side-spacer {
    flex: 1;
}

.btn-exit {
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 4px;
    margin-bottom: 18px;
    color: var(--ink);
    text-decoration: none;
}

.mission-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fdf4e3;
    border: 2px solid #d9a441;
    border-radius: 12px;
    padding: 16px 18px;
}

.mission-emoji {
    font-size: 28px;
}

.mission-text {
    font-size: 22px;
    font-weight: 700;
    color: #4a2f05;
    line-height: 1.35;
}



/* ---------- 오른쪽 키오스크 프레임 ---------- */
.kiosk {
    position: relative;
    /* tutorial-dim 오버레이를 키오스크 내부 기준으로 배치하기 위한 기준점 */
    border: 6px solid var(--ink);
    border-radius: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    /* 뷰포트 높이에 맞춰지고, 내부 메뉴 영역(.kiosk-menu)만 스크롤 */
}

/* ---------- 상단 카테고리 탭 ---------- */
.kiosk-tabs {
    display: flex;
    align-items: stretch;
    background: var(--mega-red);
    padding: 8px;
    gap: 6px;
}

.tab-nav {
    flex: 0 0 auto;
    width: 46px;
    border: none;
    border-radius: 8px;
    background: #1c1c1c;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

.tab-list {
    flex: 1;
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 12px 6px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    white-space: nowrap;
}

.tab-btn.active {
    background: #fff;
    color: var(--mega-red);
}

/* ---------- 메뉴 그리드 ---------- */
.kiosk-menu {
    position: relative;
    flex: 1;
    min-height: 0;
    /* flex 컬럼 안에서 넘칠 때 이 영역만 스크롤되도록 */
    padding: 16px;
    overflow-y: auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.menu-item {
    position: relative;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 14px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: border-color .12s;
}

.menu-item .m-thumb {
    width: 78px;
    height: 78px;
    border-radius: 10px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.menu-item .m-name {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    min-height: 2.5em;
    display: flex;
    align-items: center;
}

.menu-item .m-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--mega-red);
}

/* 선택된 카드: 빨간 테두리 + 체크 배지 */
.menu-item.selected {
    border-color: var(--mega-red);
}

.menu-item.selected::before {
    content: "✓";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 30px;
    height: 30px;
    background: var(--mega-red);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 12px 0;
}

/* ---------- 좌우 캐러셀 화살표 ---------- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 66px;
    border: none;
    background: var(--mega-yellow);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.carousel-arrow.left {
    left: 0;
    border-radius: 0 10px 10px 0;
}

.carousel-arrow.right {
    right: 0;
    border-radius: 10px 0 0 10px;
}

/* ---------- 하단: 장바구니 + 결제 ---------- */
.kiosk-cart {
    border-top: 3px solid var(--ink);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 16px;
    padding: 16px;
    background: #fff;
}

.cart-list {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    min-height: 140px;
    max-height: 190px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-empty {
    margin: auto;
    color: #999;
    font-size: 16px;
    font-weight: 700;
}

.cart-row {
    display: grid;
    grid-template-columns: 30px 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
}

.cart-x {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    background: #2b2b2b;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.cart-name {
    font-size: 16px;
    font-weight: 700;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: var(--mega-yellow);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.qty-num {
    font-size: 16px;
    font-weight: 700;
    min-width: 34px;
    text-align: center;
}

.cart-price {
    font-size: 16px;
    font-weight: 800;
    min-width: 66px;
    text-align: right;
}

/* ----- 오른쪽 요약/결제 ----- */
.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timer-box {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.timer-label {
    font-size: 16px;
    font-weight: 700;
}

.timer-value {
    font-size: 20px;
    font-weight: 700;
}

.timer-value strong {
    font-size: 40px;
    color: var(--mega-red);
    border-bottom: 3px solid var(--mega-red);
    padding: 0 4px;
}

.btn-clear {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: #2b2b2b;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
}

.summary-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.summary-count strong {
    font-size: 22px;
}

.btn-pay {
    display: flex;
    align-items: center;
    gap: 14px;
    border: none;
    border-radius: 12px;
    background: var(--mega-red);
    color: #fff;
    padding: 16px 20px;
    cursor: pointer;
    margin-top: auto;
}

.pay-icon {
    font-size: 26px;
}

.pay-body {
    font-size: 22px;
    font-weight: 800;
    text-align: left;
    line-height: 1.2;
}



@keyframes pulse {

    0%,
    100% {
        outline-color: var(--mega-yellow);
        box-shadow: 0 0 0 3px rgba(245, 180, 0, .35);
    }

    50% {
        outline-color: #ffe08a;
        box-shadow: 0 0 0 8px rgba(245, 180, 0, .12);
    }
}

/* 화면 안내 문구 (탭 아래 메뉴영역 위) */
.screen-guide {
    grid-column: 1 / -1;
    font-size: 17px;
    font-weight: 700;
    color: #444;
    text-align: center;
    margin-bottom: 6px;
}

/* ============================================================
   옵션/결제 팝업
============================================================ */
.modal-back {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-back[hidden] {
    display: none;
}

.modal {
    background: #fff;
    border-radius: 16px;
    width: min(440px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 2px solid var(--ink);
    font-size: 20px;
    font-weight: 800;
}

.modal-close {
    border: none;
    background: none;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.modal-cta {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    border: none;
    border-radius: 12px;
    background: var(--mega-red);
    color: #fff;
    padding: 18px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
}

/* 옵션 블록 */
.opt-block {
    margin-bottom: 18px;
}

.opt-label {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.opt-row {
    display: flex;
    gap: 10px;
}

.opt-btn {
    flex: 1;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.opt-btn.on {
    border-color: var(--mega-red);
    background: #fdecea;
    color: var(--mega-red-dark);
}

/* 아이스 전용 메뉴 온도 안내 */
.opt-fixed {
    padding: 14px;
    border: 2px dashed #9cc3e6;
    border-radius: 12px;
    background: #f2f8fd;
    color: #2f6ea5;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.opt-qty {
    display: flex;
    align-items: center;
    gap: 16px;
}

.opt-qty .qty-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
}

.opt-qty .qty-num {
    font-size: 24px;
}

/* 결제 방법 목록 */
.pay-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-method {
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: #fff;
    padding: 20px;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}



/* 결제하기 이후 이어지는 예/아니오 형태 팝업의 버튼 배치 (쿠폰/포인트/결제확인 공용) */
.ask-actions {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
}

.ask-actions .opt-btn {
    flex: 1;
}

/* 바코드 찍기 패널 — 키오스크 화면 바깥(오른쪽)에 있는 스캐너 장치 시뮬레이션 */
.barcode-panel {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 45;
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 16px;
    padding: 28px 24px 24px;
    width: 220px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.barcode-panel[hidden] {
    display: none;
}

.barcode-panel .modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
}

.barcode-panel .barcode-icon {
    font-size: 48px;
    margin: 6px 0 12px;
}

.barcode-panel p {
    font-size: 15px;
    font-weight: 700;
    color: #555;
    line-height: 1.4;
}

.barcode-panel .btn-barcode {
    width: 100%;
    margin-top: 16px;
    border: none;
    border-radius: 12px;
    background: var(--mega-red);
    color: #fff;
    padding: 16px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

/* 포인트 적립 화면 키패드 */
.keypad-display {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    border: 2px solid var(--ink);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    color: #555;
}

.keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.keypad-num,
.keypad-tool {
    border: 2px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 16px;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
}

.keypad-tool {
    background: #f2f2f2;
    font-size: 14px;
}

/* 결과 창 (practice 단계 결제 완료 후 판정 결과) */
.result-modal {
    text-align: center;
}

.result-emoji {
    font-size: 56px;
    margin: 8px 0 18px;
}

.result-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.result-checklist li {
    font-size: 16px;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f2f2f2;
    color: #555;
}

.result-checklist li.ok {
    background: #e9f8ee;
    color: #1a7a3c;
}

.result-checklist li.bad {
    background: #fdecea;
    color: #c62817;
}



.done-screen[hidden] {
    display: none;
}

.done-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.done-emoji {
    font-size: 84px;
    line-height: 1;
    margin-bottom: 8px;
}

.done-title {
    font-size: 44px;
    font-weight: 900;
    color: var(--mega-red);
}

.done-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
}

.done-sub {
    font-size: 20px;
    font-weight: 700;
    color: #666;
    margin-bottom: 28px;
}

.done-actions {
    display: flex;
    gap: 20px;
}

.done-btn {
    width: 180px;
    padding: 26px 16px;
    border-radius: 16px;
    border: 3px solid var(--ink);
    background: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}

.done-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.done-coupon {
    background: #fff3e0;
    border-color: #f0a020;
}

.done-point {
    background: #fdecea;
    border-color: var(--mega-red);
}

.done-home {
    margin-top: 26px;
    font-size: 18px;
    font-weight: 700;
    color: #888;
    text-decoration: underline;
}



.wrap[data-mode="practice"] .hl {
    outline: none;
    box-shadow: none;
    animation: none;
}

.practice-toast {
    position: fixed;
    top: 105px;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
    padding: 14px 24px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

/* 노인 사용자를 위한 자유 연습 확대 UI */
.wrap {
    grid-template-columns: 300px 820px;
    gap: 28px;
}

.btn-exit {
    font-size: 26px;
    padding: 12px 6px;
}

.kiosk-tabs {
    padding: 10px;
    gap: 8px;
}

.tab-nav {
    width: 56px;
    min-height: 60px;
    font-size: 26px;
}

.tab-list {
    gap: 8px;
}

.tab-btn {
    min-height: 60px;
    padding: 14px 10px;
    font-size: 21px;
}

.kiosk-menu {
    padding: 22px 26px;
}

.menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.menu-item {
    min-height: 178px;
    padding: 18px 12px 16px;
    gap: 9px;
}

.menu-item .m-thumb {
    width: 94px;
    height: 94px;
    font-size: 50px;
}

.menu-item .m-name {
    min-height: 2.4em;
    font-size: 20px;
}

.menu-item .m-price {
    font-size: 20px;
}

.carousel-arrow {
    width: 44px;
    height: 84px;
    font-size: 28px;
}

.kiosk-cart {
    grid-template-columns: 1fr 320px;
    padding: 18px;
}

.cart-list {
    min-height: 170px;
    max-height: 220px;
}

.cart-row {
    grid-template-columns: 38px 1fr auto auto;
    gap: 12px;
    padding: 9px 5px;
}

.cart-x {
    width: 34px;
    height: 34px;
    font-size: 17px;
}

.cart-name,
.cart-price,
.cart-empty {
    font-size: 19px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    font-size: 23px;
}

.qty-num,
.summary-count {
    font-size: 20px;
}

.timer-label {
    font-size: 18px;
}

.timer-value {
    font-size: 22px;
}

.timer-value strong {
    font-size: 46px;
}

.btn-clear {
    width: 74px;
    height: 74px;
    font-size: 17px;
}

.btn-pay {
    min-height: 92px;
    padding: 18px 22px;
}

.pay-icon {
    font-size: 34px;
}

.pay-body {
    font-size: 25px;
}

.modal {
    width: min(560px, 94vw);
}

.option-modal {
    transform: translateY(42px);
}

.modal-head {
    padding: 20px 24px;
    font-size: 25px;
}

.modal-close {
    width: 44px;
    height: 44px;
    font-size: 25px;
}

.modal-body {
    padding: 26px;
}

.opt-label,
.opt-fixed {
    font-size: 22px;
}

.opt-btn {
    min-height: 62px;
    padding: 16px;
    font-size: 21px;
}

.opt-qty .qty-btn {
    width: 58px;
    height: 58px;
    font-size: 30px;
}

.opt-qty .qty-num {
    font-size: 27px;
}

.modal-cta {
    min-height: 66px;
    font-size: 24px;
}

.pay-method {
    min-height: 72px;
    padding: 22px;
    font-size: 23px;
}

.practice-toast {
    width: min(760px, calc(100vw - 32px));
    padding: 18px 30px;
    font-size: 22px;
    text-align: center;
}

@media (max-width: 1200px) {
    .wrap {
        grid-template-columns: 220px minmax(0, 820px);
        gap: 18px;
    }
}

@media (max-width: 980px) {
    body {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .wrap {
        grid-template-columns: 1fr;
        height: auto;
    }

    .side {
        min-height: auto;
    }

    .kiosk {
        min-height: 850px;
    }

    .option-modal {
        transform: translateY(20px);
    }
}

/* 기존 심화 과정과 동일한 크기의 쿠폰·포인트 확인 창 */
#couponAskModal .modal,
#pointAskModal .modal,
#payConfirmModal .modal {
    width: min(440px, 92vw);
}

#couponAskModal .modal-head,
#pointAskModal .modal-head,
#payConfirmModal .modal-head {
    padding: 16px 20px;
    font-size: 20px;
}

#couponAskModal .modal-close,
#pointAskModal .modal-close,
#payConfirmModal .modal-close {
    width: auto;
    height: auto;
    font-size: 20px;
}

#couponAskModal .ask-actions,
#pointAskModal .ask-actions,
#payConfirmModal .ask-actions {
    gap: 12px;
    padding: 0 20px 20px;
}

#couponAskModal .modal-body,
#pointAskModal .modal-body,
#payConfirmModal .modal-body {
    padding: 20px;
}

#couponAskModal .opt-btn,
#pointAskModal .opt-btn,
#payConfirmModal .opt-btn {
    min-height: auto;
    padding: 14px;
    font-size: 18px;
}

/* 자유 연습 전용 키오스크 크기 조절 */
.kiosk-size-control {
    position: fixed;
    right: 52px;
    bottom: 96px;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid #e2e2e2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

.kiosk-size-control span {
    margin-right: 4px;
    font-size: 17px;
    font-weight: 900;
}

.kiosk-size-control button {
    min-width: 76px;
    min-height: 48px;
    padding: 8px 14px;
    border: 2px solid #d6d9df;
    border-radius: 11px;
    background: #fff;
    color: #171717;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.kiosk-size-control button.active {
    border-color: #f07a00;
    background: #f07a00;
    color: #fff;
}

/* 일반: Step 1·2·3 및 심화 과정과 같은 기본 크기 */
body.kiosk-size-normal .wrap {
    grid-template-columns: 280px 620px;
    gap: 20px;
}

body.kiosk-size-normal .btn-exit {
    padding: 6px 4px;
    font-size: 22px;
}

body.kiosk-size-normal .kiosk-tabs {
    padding: 8px;
    gap: 6px;
}

body.kiosk-size-normal .tab-nav {
    width: 46px;
    min-height: auto;
    font-size: 20px;
}

body.kiosk-size-normal .tab-list {
    gap: 6px;
}

body.kiosk-size-normal .tab-btn {
    min-height: auto;
    padding: 12px 6px;
    font-size: 18px;
}

body.kiosk-size-normal .kiosk-menu {
    padding: 16px;
}

body.kiosk-size-normal .menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

body.kiosk-size-normal .menu-item {
    min-height: auto;
    padding: 14px 8px 12px;
    gap: 6px;
}

body.kiosk-size-normal .menu-item .m-thumb {
    width: 78px;
    height: 78px;
    font-size: 40px;
}

body.kiosk-size-normal .menu-item .m-name {
    min-height: 2.5em;
    font-size: 15px;
}

body.kiosk-size-normal .menu-item .m-price {
    font-size: 16px;
}

body.kiosk-size-normal .carousel-arrow {
    width: 34px;
    height: 66px;
    font-size: 22px;
}

body.kiosk-size-normal .kiosk-cart {
    grid-template-columns: 1fr 300px;
    padding: 16px;
}

body.kiosk-size-normal .cart-list {
    min-height: 140px;
    max-height: 190px;
}

body.kiosk-size-normal .cart-row {
    grid-template-columns: 30px 1fr auto auto;
    gap: 10px;
    padding: 6px 4px;
}

body.kiosk-size-normal .cart-x {
    width: 26px;
    height: 26px;
    font-size: 14px;
}

body.kiosk-size-normal .cart-name,
body.kiosk-size-normal .cart-price,
body.kiosk-size-normal .cart-empty {
    font-size: 16px;
}

body.kiosk-size-normal .qty-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
}

body.kiosk-size-normal .qty-num {
    font-size: 16px;
}

body.kiosk-size-normal .summary-count {
    font-size: 17px;
}

body.kiosk-size-normal .timer-label {
    font-size: 16px;
}

body.kiosk-size-normal .timer-value {
    font-size: 20px;
}

body.kiosk-size-normal .timer-value strong {
    font-size: 40px;
}

body.kiosk-size-normal .btn-clear {
    width: 64px;
    height: 64px;
    font-size: 15px;
}

body.kiosk-size-normal .btn-pay {
    min-height: auto;
    padding: 16px 20px;
}

body.kiosk-size-normal .pay-icon {
    font-size: 26px;
}

body.kiosk-size-normal .pay-body {
    font-size: 22px;
}

body.kiosk-size-normal .modal {
    width: min(440px, 92vw);
}

body.kiosk-size-normal .modal-head {
    padding: 16px 20px;
    font-size: 20px;
}

body.kiosk-size-normal .modal-close {
    width: auto;
    height: auto;
    font-size: 20px;
}

body.kiosk-size-normal .modal-body {
    padding: 20px;
}

body.kiosk-size-normal .opt-label,
body.kiosk-size-normal .opt-fixed {
    font-size: 18px;
}

body.kiosk-size-normal .opt-btn {
    min-height: auto;
    padding: 14px;
    font-size: 18px;
}

body.kiosk-size-normal .opt-qty .qty-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
}

body.kiosk-size-normal .opt-qty .qty-num {
    font-size: 24px;
}

body.kiosk-size-normal .modal-cta {
    min-height: auto;
    font-size: 20px;
}

body.kiosk-size-normal .pay-method {
    min-height: auto;
    padding: 20px;
    font-size: 19px;
}

@media (max-width: 1080px) {
    .kiosk-size-control {
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 980px) {
    body.kiosk-size-normal .wrap,
    body.kiosk-size-large .wrap {
        grid-template-columns: 1fr;
        height: auto;
    }
}
