/* YUMMY EYE 전시 소개 — Taste Test(Jippuraki/yummy_eye_test_2026) 디자인 규칙을 따른다.
   구형 Safari 호환: CSS 변수·flex·grid 기본만, 최신 문법(:has, gap 의존 레이아웃 등) 피함. */

/* 서체: 채이 활짝 · 770 Balsa — 이 페이지에 쓰는 글자만 남긴 서브셋 (tools/subset-fonts.sh) */
@font-face { font-family: "YE Display"; font-weight: 500; font-display: swap; src: url("../fonts/display-500.woff?v=1126f") format("woff"); }
@font-face { font-family: "YE Display"; font-weight: 900; font-display: swap; src: url("../fonts/display-900.woff?v=1126f") format("woff"); }
/* 팜플렛 영문 서체 대체(무료, 영문만): Cherry Bomb One(OFL) 둥근 제목 · Yellowtail(Apache) 필기체 — 테스트 웹과 같은 파일 */
@font-face { font-family: "YE Round"; font-display: swap; src: url("../fonts/CherryBombOne.woff") format("woff"); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-201D, U+2022, U+2026; }
@font-face { font-family: "YE Hand"; font-display: swap; src: url("../fonts/Yellowtail.woff") format("woff"); unicode-range: U+0041-005A, U+0061-007A, U+0020-0040, U+005B-0060, U+007B-007E, U+2013-201D; }
@font-face { font-family: "YE Body"; font-weight: 500; font-display: swap; src: url("../fonts/GmarketSansMedium.woff") format("woff"); }
@font-face { font-family: "YE Script"; font-display: swap; src: url("../fonts/script.woff?v=1126f") format("woff"); }

:root {
  --ketchup: #C3302A; --red: #C23228; --cream: #FFF8EC; --plate: #FFFDF8;
  --tile: #5499D3; --yolk: #FFCC4D; --fresh: #009245; --demi: #5A1A14; --ink: #2B140F; --pink: #FFD3D0;
  --cat: #C23228;
  --f-display: "YE Display", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-script: "YE Script", "YE Display", "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--cream); color: var(--demi); font-family: "YE Body", var(--f-display); font-weight: 500; word-break: keep-all; -webkit-font-smoothing: antialiased; }
/* 본문은 G마켓 산스 미디움, 제목·굵은 글씨는 채이 활짝 그대로 */
h1, h2, h3, h4, b, strong, dt, summary, button, .tabs a, .title, .when, .pill, .chip, .badge, .sec-no, .sec-title, .pg-dots span, .swipe-hint, .chef-name, .sh-name { font-family: var(--f-display); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.hidden { display: none !important; }
section[id] { scroll-margin-top: 58px; }

/* ── 상단: 타원 간판 + 차양 (테스트 웹 메뉴판 상단과 같은 구성) */
.top { position: relative; background: linear-gradient(180deg, #F4EEE3 0%, #EDE5D6 100%); }
.top-hang { position: relative; height: 150px; }
.sign { position: absolute; left: 50%; top: 6px; z-index: 3; width: 168px; margin-left: -84px; text-decoration: none; text-align: center; }
.sign img { width: 168px; height: auto; -webkit-filter: drop-shadow(3px 6px 0 rgba(90,26,20,.22)); filter: drop-shadow(3px 6px 0 rgba(90,26,20,.22)); }
.sign small { position: absolute; left: 0; right: 0; bottom: -10px; font-family: var(--f-script); font-size: 22px; line-height: 26px; color: #fff; white-space: nowrap; -webkit-transform: rotate(-4deg); transform: rotate(-4deg);
  text-shadow: 2px 2px 0 var(--ketchup), -2px 2px 0 var(--ketchup), 2px -2px 0 var(--ketchup), -2px -2px 0 var(--ketchup), 3px 4px 0 rgba(90,26,20,.35); }
.awning { position: absolute; left: 0; right: 0; top: 62px; height: 88px; -webkit-filter: drop-shadow(0 6px 5px rgba(0,0,0,.16)); filter: drop-shadow(0 6px 5px rgba(0,0,0,.16)); }
.awning i { position: absolute; display: block; }
.aw-cap { left: 7%; right: 7%; top: 0; height: 12px; border-radius: 8px 8px 3px 3px; background: #A9261F; }
.aw-stripes { left: 0; right: 0; top: 8px; height: 58px; background: repeating-linear-gradient(90deg, var(--ketchup) 0 40px, var(--cream) 40px 80px); -webkit-clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }
.aw-stripes::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(0,0,0,0) 40%, rgba(0,0,0,.08)); }
.aw-scallop { left: 0; right: 0; top: 66px; height: 20px; background: radial-gradient(circle at 20px 0, var(--ketchup) 19px, transparent 20px) 0 0 / 80px 20px repeat-x, radial-gradient(circle at 20px 0, var(--cream) 19px, transparent 20px) 40px 0 / 80px 20px repeat-x; }
.tabs { position: -webkit-sticky; position: sticky; top: 0; z-index: 20; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; background: var(--cream); border-bottom: 3px solid var(--ketchup); padding: 8px 6px; }
.tabs a { margin: 0 3px; padding: 8px 12px; border-radius: 30px; text-decoration: none; font-weight: 900; font-size: 15px; color: var(--ketchup); white-space: nowrap; }
.tabs a.on { background: var(--ketchup); color: var(--plate); }

/* ── 히어로 */
.hero { position: relative; overflow: hidden; background: #fff url("../assets/bg-gingham-red.jpg") center / cover; padding: 30px 16px 120px; }
.plate { position: relative; width: 100%; max-width: 640px; margin: 0 auto; }
.plate > img { width: 100%; height: auto; -webkit-filter: drop-shadow(6px 10px 12px rgba(0,0,0,.3)); filter: drop-shadow(6px 10px 12px rgba(0,0,0,.3)); }
.plate-in { position: absolute; left: 17%; right: 17%; top: 17%; bottom: 19%; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; text-align: center; }
.plate-in .logo { width: 44%; max-width: 200px; }
.tagline { margin-top: 6px; font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .06em; color: var(--ketchup); }
.title { margin-top: 6px; font-weight: 900; font-size: 11vw; line-height: .95; color: var(--red); letter-spacing: -.01em; }
.sub { margin-top: 2px; font-family: var(--f-script); font-size: 4.4vw; color: var(--red); }
.basket { position: absolute; left: -10px; bottom: 30px; width: 110px; -webkit-transform: rotate(-8deg); transform: rotate(-8deg); }
.cutlery { position: absolute; right: -14px; bottom: 4px; width: 130px; }
.when { position: relative; z-index: 2; display: table; margin: 18px auto 0; padding: 7px 16px; border-radius: 30px; background: var(--plate); border: 3px solid var(--ketchup); color: var(--ketchup); font-weight: 900; font-size: 14px; text-align: center; }
.btns { position: relative; z-index: 2; margin-top: 14px; text-align: center; }
.pill { display: inline-block; margin: 6px 4px; padding: 15px 22px; border-radius: 60px; border: 3px solid #fff; box-shadow: 4px 6px 3px rgba(0,0,0,.25); font-weight: 900; font-size: 17px; line-height: 1; text-decoration: none; white-space: nowrap; }
.pill-red { background: var(--red); color: var(--plate); }
.pill-pink { background: var(--pink); color: var(--ink); }
.pill-sm { padding: 10px 16px; font-size: 14px; box-shadow: 3px 4px 2px rgba(0,0,0,.18); border-color: var(--ketchup); background: #fff; color: var(--ketchup); }
.is-off { opacity: .55; box-shadow: none; }

/* ── 한 줄 정의 카드 */
.intro { max-width: 720px; margin: -70px auto 0; padding: 0 16px; position: relative; z-index: 3; }
.card { background: var(--plate); border: 4px solid var(--ketchup); border-radius: 18px; padding: 26px 22px; box-shadow: 5px 7px 0 rgba(90,26,20,.14); }
.card h2 { font-weight: 900; font-size: 24px; line-height: 1.35; color: var(--ketchup); }
.card p { margin-top: 12px; font-size: 16px; line-height: 1.75; }
.stamps { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; margin-top: 20px; }
.stamps img { width: 30%; max-width: 120px; margin: 0 4px; }

/* ── 섹션 공통 */
.sec { max-width: 720px; margin: 0 auto; padding: 56px 16px 8px; }
.sec-no { display: table; margin: 0 auto; padding: 5px 12px 4px; border-radius: 20px; background: var(--ketchup); color: #fff; font: 700 11px/1 Arial, sans-serif; letter-spacing: .14em; text-align: center; }
.sec-title { margin-top: 8px; font-weight: 900; font-size: 34px; color: var(--ketchup); text-align: center; }
.sec-lead { margin-top: 8px; font-size: 15px; line-height: 1.6; text-align: center; opacity: .85; }
.h3 { display: -webkit-flex; display: flex; -webkit-align-items: baseline; align-items: baseline; margin: 34px 0 12px; font-family: var(--f-script); font-style: italic; font-weight: 400; font-size: 24px; color: var(--ketchup); }
.h3::after { content: ""; -webkit-flex: 1; flex: 1; height: 2px; margin-left: 10px; background: var(--ketchup); opacity: .6; }
.h3-lead { margin: -4px 0 12px; font-size: 14px; line-height: 1.6; opacity: .85; }

/* 전시 정보 (주문서 느낌) */
.info { margin-top: 22px; background: #fff; border: 3px dashed var(--ketchup); border-radius: 14px; padding: 6px 18px; }
.info dl > div { display: -webkit-flex; display: flex; padding: 11px 0; border-bottom: 1px dashed rgba(195,48,42,.35); font-size: 15px; line-height: 1.5; }
.info dl > div:last-child { border-bottom: 0; }
.info dt { -webkit-flex: none; flex: none; width: 74px; font-weight: 900; color: var(--ketchup); }
.info dd { -webkit-flex: 1; flex: 1; }

/* 즐기는 순서 */
.steps { list-style: none; counter-reset: s; }
.steps li { position: relative; counter-increment: s; margin-top: 10px; padding: 14px 16px 14px 62px; background: #fff; border: 3px solid var(--ketchup); border-radius: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--ketchup); color: var(--plate); font-weight: 900; font-size: 17px; line-height: 34px; text-align: center; }
.steps b { display: block; font-weight: 900; font-size: 17px; color: var(--ink); }
.steps span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.6; }

/* 6가지 맛 */
.tastes { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -5px; }
.taste { width: 50%; padding: 5px; }
.taste > div { height: 100%; padding: 12px 14px; background: var(--plate); border: 2px solid rgba(195,48,42,.4); border-radius: 12px; }
.taste b { display: block; font-weight: 900; font-size: 16px; color: var(--ketchup); }
.taste span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; }

/* 자주 묻는 질문 */
.faq details { margin-top: 8px; background: #fff; border: 2px solid rgba(195,48,42,.4); border-radius: 12px; }
.faq summary { list-style: none; padding: 14px 40px 14px 16px; font-weight: 900; font-size: 16px; color: var(--ink); cursor: pointer; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 11px; font-size: 22px; color: var(--ketchup); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 16px; font-size: 14px; line-height: 1.7; }
.faq a { color: var(--ketchup); font-weight: 900; }

/* ── 메뉴판: 테스트 웹 메뉴판 리스킨과 같은 진열 (Deli Kitchen · Fresh Picks · Beverage Fridge) */
.cat-tabs { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; margin-top: 34px; }
.cat-tab { --c: #C23228; position: relative; -webkit-flex: 1; flex: 1; max-width: 220px; margin: 0 5px; padding: 9px 4px 7px; border-radius: 12px; background: #fff; border: 3px solid var(--c); color: var(--c); text-align: center; box-shadow: 3px 5px 0 rgba(0,0,0,.14); -webkit-transition: -webkit-transform .2s; transition: transform .2s; }
.cat-tab::before, .cat-tab::after { content: ""; position: absolute; top: -19px; width: 2px; height: 16px; background: #3A3A3A; }
.cat-tab::before { left: 18%; } .cat-tab::after { right: 18%; }
.cat-tab b { display: block; font-weight: 900; font-size: 19px; letter-spacing: .03em; line-height: 1.1; }
.cat-tab small { display: block; margin-top: 2px; font-size: 11px; opacity: .85; }
.cat-tab.on { background: var(--c); color: #fff; -webkit-transform: rotate(-2deg); transform: rotate(-2deg); }
.cat-tab.c-fresh { --c: #009245; } .cat-tab.c-beverage { --c: #5499D3; }
.filters { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-top: 16px; }
.chips { -webkit-flex: 1; flex: 1; display: -webkit-flex; display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.chip { -webkit-flex: none; flex: none; margin-right: 6px; padding: 7px 12px; border-radius: 30px; border: 2px solid var(--cat); color: var(--cat); background: #fff; font-weight: 900; font-size: 13px; white-space: nowrap; }
.chip.on { background: var(--cat); color: #fff; }
.chip-atc { margin: 0 0 4px 6px; border-color: var(--demi); color: var(--demi); }
.chip-atc.on { background: var(--demi); color: #fff; }
.board-sub { margin-top: 12px; text-align: center; font-size: 13px; opacity: .85; }
.board { margin: 10px -16px 0; padding: 18px 12px 24px; }
.board-name { margin: 2px 0 6px; text-align: center; font-family: var(--f-script); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--ketchup);
  text-shadow: -2px -2px 0 #FFF8EC, 2px -2px 0 #FFF8EC, -2px 2px 0 #FFF8EC, 2px 2px 0 #FFF8EC, 4px 5px 0 rgba(90,26,20,.35); }
.ln { position: relative; margin: 18px 0 8px; }
.ln h3 { display: inline-block; margin: 0 0 12px; padding: 5px 16px 4px; border-radius: 30px; background: var(--ketchup); color: #fff; font-weight: 900; font-size: 18px; line-height: 1.3; box-shadow: 3px 4px 0 rgba(0,0,0,.15); }
.ln h3 span { margin-left: 6px; font-weight: 500; font-size: 12px; }
.row { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -6px; }
.itm { position: relative; width: 50%; padding: 6px; text-align: center; color: var(--demi); }
.itm-img { width: 100%; height: auto; -webkit-filter: drop-shadow(2px 5px 4px rgba(0,0,0,.2)); filter: drop-shadow(2px 5px 4px rgba(0,0,0,.2)); -webkit-transition: -webkit-transform .2s; transition: transform .2s; }
.itm:hover .itm-img { -webkit-transform: translateY(-4px) scale(1.04); transform: translateY(-4px) scale(1.04); }
.lv { letter-spacing: -1px; margin-left: 3px; color: var(--ketchup); }
.empty { padding: 30px 0; text-align: center; font-size: 14px; }

/* Deli: 레드 깅엄 테두리 + 크림 메뉴판 + 이탤릭 라인 제목 */
.theme-deli { background: #fff; background-image: repeating-linear-gradient(0deg, rgba(229,38,44,.5) 0 14px, transparent 14px 28px), repeating-linear-gradient(90deg, rgba(229,38,44,.5) 0 14px, transparent 14px 28px); }
.theme-deli .board-in { background: #FBF1DE; border: 4px solid var(--ketchup); border-radius: 8px; padding: 16px 12px 14px; }
.theme-deli .ln h3 { display: -webkit-flex; display: flex; -webkit-align-items: baseline; align-items: baseline; padding: 0; background: none; box-shadow: none; border-radius: 0; font-family: var(--f-script); font-style: italic; font-weight: 400; font-size: 23px; color: var(--ketchup); white-space: nowrap; }
.theme-deli .ln h3::after { content: ""; -webkit-flex: 1; flex: 1; height: 2px; margin-left: 8px; background: var(--ketchup); }
.theme-deli .ln h3 span { font-family: var(--f-display); font-style: normal; color: var(--demi); white-space: normal; }
.itm-deli .itm-img { width: 92%; margin: 0 auto; }
.d-label { display: block; margin-top: 6px; text-align: left; background: #fff; border: 2px solid var(--ketchup); border-radius: 9px; padding: 6px 8px; box-shadow: 2px 3px 0 rgba(195,48,42,.18); }
.d-label b { display: block; font-weight: 900; font-size: 15px; line-height: 1.25; color: var(--ketchup); }
.d-label small { display: block; font-size: 11px; line-height: 1.4; }
.d-label i { display: inline-block; margin-top: 4px; padding: 1px 6px; border: 1.5px solid var(--demi); border-radius: 5px; font-style: normal; font-weight: 700; font-size: 11px; white-space: nowrap; }
.itm-fold { position: absolute; right: -2px; top: -4px; width: 44px; -webkit-transform: rotate(6deg); transform: rotate(6deg); -webkit-filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.itm-fold-t { position: absolute; right: 0; top: 26px; padding: 1px 6px; border-radius: 6px; background: var(--ketchup); color: #fff; font-weight: 900; font-size: 10px; -webkit-transform: rotate(6deg); transform: rotate(6deg); }

/* Fresh: 노란 매대 + 투명 트레이 + 초록 가격 스티커 + 버스트 */
.theme-fresh { background: linear-gradient(180deg, #FFF06E 0%, #FFF06E 78%, #C9E7F6 100%); }
.theme-fresh .ln { margin-bottom: 22px; }
.theme-fresh .ln h3 { margin-right: 58px; }
.burst { position: absolute; right: -4px; top: -16px; width: 72px; height: 72px; -webkit-transform: rotate(-10deg); transform: rotate(-10deg); pointer-events: none; }
.burst img { width: 100%; height: 100%; }
.itm-fresh { padding-bottom: 10px; }
.tray { position: relative; display: block; height: 0; padding-bottom: 66%; border-radius: 16px; background: rgba(255,255,255,.4); border: 2px solid rgba(255,255,255,.95);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), inset 0 0 0 8px rgba(150,160,170,.32), 0 6px 8px rgba(0,0,0,.14); }
.tray .itm-img { position: absolute; left: 9%; top: 12%; width: 82%; }
.tray-lid { position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: 14px; background: linear-gradient(115deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,.45) 32%, rgba(255,255,255,0) 55%, rgba(255,255,255,.3) 100%); }
.f-label { position: absolute; right: -4px; bottom: -14px; z-index: 2; width: 70%; text-align: left; background: #fff; border: 2px solid #2E8B3A; border-radius: 6px; overflow: hidden; box-shadow: 2px 3px 0 rgba(0,0,0,.15); -webkit-transform: rotate(-3deg); transform: rotate(-3deg); }
.f-label b { display: block; padding: 3px 6px 0; font-weight: 900; font-size: 13px; line-height: 1.3; color: #1F5F28; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-label small { display: block; padding: 0 6px 2px; font-size: 10px; line-height: 1.3; }
.f-label i { display: block; padding: 1px 6px; background: #2E8B3A; color: #fff; font-style: normal; font-weight: 700; font-size: 10px; line-height: 1.5; white-space: nowrap; }
.f-label .lv { color: #FFE418; }
.itm-code { display: block; margin-top: 22px; font-family: var(--f-script); font-style: italic; font-size: 15px; line-height: 1.2; color: #FFB52E;
  text-shadow: -1.5px -1.5px 0 #C3302A, 1.5px -1.5px 0 #C3302A, -1.5px 1.5px 0 #C3302A, 1.5px 1.5px 0 #C3302A; }

/* Beverage: 파란 타일 벽 + 냉장고 칸 + 유리 선반 */
.theme-beverage { background-color: #2E62AD; background-image: linear-gradient(rgba(255,255,255,.22) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.22) 2px, transparent 2px); background-size: 40px 40px; }
.theme-beverage .board-name { color: #fff; text-shadow: -2px -2px 0 var(--ketchup), 2px -2px 0 var(--ketchup), -2px 2px 0 var(--ketchup), 2px 2px 0 var(--ketchup), 4px 5px 0 rgba(0,0,0,.25); }
.fridge { margin: 16px 0 0; padding: 14px 12px 44px; border-radius: 22px; background: linear-gradient(180deg, #F2FAFF 0%, #CFE6F8 100%); border: 8px solid #E3F1FD;
  box-shadow: inset 0 0 30px rgba(255,255,255,.95), inset 0 0 0 2px #9CC6EA, 0 10px 18px rgba(0,0,0,.28); }
.fridge h3 { background: #2E62AD; }
.fridge .row { display: block; margin: 0; }
.itm-bev { width: 100%; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 10px 2px; border-bottom: 6px solid rgba(255,255,255,.85); box-shadow: 0 5px 5px -4px rgba(60,110,160,.35); text-align: left; }
.itm-bev .itm-img { -webkit-flex: none; flex: none; width: 50%; margin-right: 12px; }
.b-label { -webkit-flex: 1; flex: 1; min-width: 0; background: #fff; border: 2px solid #2E62AD; border-radius: 7px; overflow: hidden; }
.b-label b { display: block; padding: 4px 8px 0; font-weight: 900; font-size: 15px; line-height: 1.3; color: #1F3F7A; }
.b-label small { display: block; padding: 0 8px; font-size: 11px; }
.b-label i { display: block; padding: 0 8px 3px; font-style: normal; font-size: 11px; color: #2E62AD; font-weight: 700; white-space: nowrap; }
.b-label em { display: block; padding: 2px 8px; background: #2E62AD; color: #fff; font: 700 11px/1.5 Arial, sans-serif; letter-spacing: .04em; }
.fridge-name { position: absolute; right: 18px; bottom: 4px; font-family: var(--f-script); font-style: italic; font-size: 30px; line-height: 38px; color: #1F3F7A; }
.badge { position: absolute; right: 2px; top: 0; z-index: 3; width: 44px; height: 44px; line-height: 44px; text-align: center; color: #fff; font-weight: 900; font-size: 12px; background: var(--ketchup); border-radius: 50%; -webkit-transform: rotate(14deg); transform: rotate(14deg); box-shadow: 0 0 0 3px #fff; }

/* 모델 상세 시트 */
.sheet { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 50; }
.sheet-bg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(43,20,15,.55); }
.sheet-in { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88%; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--plate); border-top: 6px solid var(--cat); border-radius: 20px 20px 0 0; padding: 22px 18px 30px; }
.sheet-x { position: absolute; right: 14px; top: 14px; padding: 7px 14px; border-radius: 30px; background: var(--pink); color: var(--ink); font-weight: 900; font-size: 14px; }
.sh-code { font: 700 11px/1 Arial, sans-serif; letter-spacing: .1em; color: var(--cat); }
.sh-name { margin-top: 8px; padding-right: 70px; font-weight: 900; font-size: 26px; color: var(--cat); line-height: 1.25; }
.sh-en { font-size: 14px; opacity: .75; }
.sh-img { margin: 16px auto 4px; max-height: 260px; width: auto; }
.sh-line { margin-top: 12px; font-size: 15px; line-height: 1.6; }
.sh-tastes { margin-top: 12px; }
.sh-tastes span { display: inline-block; margin: 0 6px 6px 0; padding: 5px 11px; border-radius: 20px; background: var(--cat); color: #fff; font-weight: 900; font-size: 13px; }
.sh-tastes span + span { background: #fff; color: var(--cat); border: 2px solid var(--cat); padding: 3px 9px; }
.sh-kw { margin-top: 2px; font-size: 13px; opacity: .8; }
.sh-spec { margin-top: 14px; border-top: 2px dashed rgba(90,26,20,.25); }
.sh-spec div { display: -webkit-flex; display: flex; padding: 9px 0; border-bottom: 1px dashed rgba(90,26,20,.2); font-size: 14px; }
.sh-spec dt { width: 92px; -webkit-flex: none; flex: none; font-weight: 900; color: var(--cat); }
.sh-atc { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #FFF1C9; font-size: 14px; font-weight: 900; }

.sh-head { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-top: 8px; padding-right: 70px; }
.sh-emoji { -webkit-flex: none; flex: none; width: 64px; height: 64px; margin-right: 12px; -o-object-fit: contain; object-fit: contain; -webkit-transform: rotate(-6deg); transform: rotate(-6deg); }
.sh-head .sh-name { margin-top: 0; padding-right: 0; }
.sh-fold { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-top: 6px; padding: 8px 12px; border-radius: 12px; background: #FBF1DE; font-weight: 900; font-size: 13px; color: var(--cat); }
.sh-fold img { width: 76px; margin-right: 12px; }
/* ── 셰프 */
.chef { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-top: 22px; padding: 18px; background: #fff; border: 3px solid var(--ketchup); border-radius: 16px; }
.chef-photo { -webkit-flex: none; flex: none; width: 104px; height: 104px; border-radius: 50%; background: var(--pink); color: var(--ketchup); font-size: 12px; font-weight: 900; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; text-align: center; overflow: hidden; }
.chef-txt { margin-left: 16px; }
.chef-name { font-weight: 900; font-size: 22px; color: var(--ink); }
.chef-dept { margin-top: 2px; font-size: 14px; }
.chef-links { margin-top: 6px; }
.chef-links .pill { margin: 6px 6px 0 0; }
.todo { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--yolk); vertical-align: middle; }
.notes { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -5px; }
.note { width: 100%; padding: 5px; }
.note b { display: block; padding: 14px 16px 0; background: var(--plate); border: 2px solid rgba(195,48,42,.4); border-bottom: 0; border-radius: 12px 12px 0 0; font-weight: 900; font-size: 16px; color: var(--ketchup); }
.note p { padding: 6px 16px 14px; background: var(--plate); border: 2px solid rgba(195,48,42,.4); border-top: 0; border-radius: 0 0 12px 12px; font-size: 14px; line-height: 1.7; }

/* 빈자리 박스: 자료를 받기 전까지 무엇이 들어갈지 적어둔다 */
.slots { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 12px -5px 0; }
.slot { width: 100%; padding: 5px; }
a.slot { display: block; color: inherit; text-decoration: none; }
.slots-4 .slot, .slots-g .slot { width: 50%; }
.slot > * { display: block; }
.slot b, .slot span { background: rgba(255,255,255,.6); }
.slot b { padding: 14px 14px 0; border: 2px dashed rgba(195,48,42,.55); border-bottom: 0; border-radius: 12px 12px 0 0; font-weight: 900; font-size: 15px; color: var(--ketchup); }
.slot span { padding: 4px 14px 14px; border: 2px dashed rgba(195,48,42,.55); border-top: 0; border-radius: 0 0 12px 12px; font-size: 13px; line-height: 1.55; opacity: .85; }
.slots-g .slot span, .slots-4 .slot span { min-height: 96px; }
.slot-ln { position: relative; }
.slot-st { position: absolute; right: 2px; top: -6px; width: 54px; height: 54px; -webkit-transform: rotate(-10deg); transform: rotate(-10deg); }
.slot-ln b { padding-right: 52px; }
.chef-role { font: 700 11px/1 Arial, sans-serif; letter-spacing: .14em; color: var(--ketchup); }
.chef-photo { background: #FFE9A6; }
.chef-photo img { width: auto; height: 88%; margin-top: 10%; -o-object-fit: contain; object-fit: contain; }
/* ── 화보 */
.soon-box { margin-top: 22px; padding: 34px 16px; border: 3px dashed var(--ketchup); border-radius: 16px; text-align: center; background: #fff; }
.soon-box b { display: block; font-family: var(--f-script); font-size: 28px; color: var(--ketchup); }
.soon-box span { display: block; margin-top: 6px; font-size: 14px; }

.counter { padding-bottom: 40px; text-align: center; }
.counter .pill-pink { border-color: var(--pink); }
footer { border-top: 3px dashed rgba(90,26,20,.3); max-width: 720px; margin: 20px auto 0; padding: 20px 16px 36px; font-size: 13px; line-height: 1.7; text-align: center; opacity: .8; }

@media (min-width: 720px) {
  .title { font-size: 78px; } .sub { font-size: 30px; } .tagline { font-size: 12px; }
  .basket { width: 190px; left: 6%; } .cutlery { width: 220px; right: 6%; }
  .pill { font-size: 19px; padding: 18px 30px; }
  .hero { padding-top: 40px; }
  .tabs a { font-size: 17px; padding: 9px 18px; }
  .taste { width: 33.333%; }
  .itm { width: 25%; }
  .board { margin: 14px 0 0; padding: 26px 22px 30px; border-radius: 6px; }
  .board-name { font-size: 40px; }
  .theme-deli .board-in { padding: 20px 22px 18px; }
  .theme-deli .ln h3 { font-size: 28px; }
  .ln h3 { font-size: 21px; } .ln h3 span { font-size: 13px; }
  .burst { width: 96px; height: 96px; right: 0; top: -24px; }
  .theme-beverage .board-in { overflow: hidden; }
  .fridge { float: left; width: 48.5%; } .fridge:nth-of-type(2n) { float: right; }
  .fridge:nth-of-type(2n+1) { clear: left; }
  .itm-fresh .f-label b { font-size: 14px; }
  .itm.itm-bev { width: 100%; }
  .fridge h3 { font-size: 18px; } .fridge h3 span { display: block; margin-left: 0; }
  .note { width: 50%; }
  .slots-g .slot { width: 33.333%; }
  .slots .slot { -webkit-flex: 1 1 0; }
  .slots-4 .slot { width: 25%; -webkit-flex: none; flex: none; }
  .slots-g .slot { -webkit-flex: none; flex: none; }
  .sheet-in { left: 50%; right: auto; width: 560px; margin-left: -280px; bottom: auto; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); border-radius: 20px; border: 6px solid var(--cat); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── 11/23 테스트 웹 팜플렛 디자인 맞춤: Grocerant 로고 간판 · 하늘색 체크 벽 · 제목 그림 · 영문 서체 */
:root { --f-round: "YE Round", "YE Display", "Apple SD Gothic Neo", sans-serif; --f-hand: "YE Hand", "YE Script", "YE Display", "Apple SD Gothic Neo", sans-serif; }
.top { background-color: #BFE0EE; background-image: linear-gradient(45deg, #A7D3E8 25%, transparent 25%, transparent 75%, #A7D3E8 75%), linear-gradient(45deg, #A7D3E8 25%, transparent 25%, transparent 75%, #A7D3E8 75%); background-size: 48px 48px; background-position: 0 0, 24px 24px; }
.sign { width: 200px; margin-left: -100px; top: 2px; }
.sign img { width: 200px; -webkit-transform: rotate(-3deg); transform: rotate(-3deg); -webkit-filter: drop-shadow(3px 5px 0 rgba(90,26,20,.25)); filter: drop-shadow(3px 5px 0 rgba(90,26,20,.25)); }
.board-name { line-height: 0; text-shadow: none; margin: 0 0 8px; }
.board-name img { display: inline-block; width: auto; height: 88px; max-width: 100%; }
.sec-img { display: block; width: 78%; max-width: 380px; margin: 14px auto 0; }
.cat-tab b, .theme-fresh .ln h3, .fridge h3, .itm-code, .pill { font-family: var(--f-round); }
.theme-deli .ln h3, .fridge-name { font-family: var(--f-hand); font-style: normal; }
.theme-deli .ln h3 { font-size: 26px; }
.itm-code { font-style: normal; letter-spacing: .02em; }
.badge { width: 48px; height: 48px; line-height: 1.05; padding-top: 11px; font-size: 11px; border-radius: 0; box-shadow: none; background: #FFE418; color: var(--ketchup); -webkit-transform: rotate(-12deg); transform: rotate(-12deg);
  -webkit-clip-path: polygon(100% 50%, 90.2% 58%, 96.2% 69.1%, 84.1% 72.8%, 85.4% 85.4%, 72.8% 84.1%, 69.1% 96.2%, 58% 90.2%, 50% 100%, 42% 90.2%, 30.9% 96.2%, 27.2% 84.1%, 14.6% 85.4%, 15.9% 72.8%, 3.8% 69.1%, 9.8% 58%, 0 50%, 9.8% 42%, 3.8% 30.9%, 15.9% 27.2%, 14.6% 14.6%, 27.2% 15.9%, 30.9% 3.8%, 42% 9.8%, 50% 0, 58% 9.8%, 69.1% 3.8%, 72.8% 15.9%, 85.4% 14.6%, 84.1% 27.2%, 96.2% 30.9%, 90.2% 42%);
  clip-path: polygon(100% 50%, 90.2% 58%, 96.2% 69.1%, 84.1% 72.8%, 85.4% 85.4%, 72.8% 84.1%, 69.1% 96.2%, 58% 90.2%, 50% 100%, 42% 90.2%, 30.9% 96.2%, 27.2% 84.1%, 14.6% 85.4%, 15.9% 72.8%, 3.8% 69.1%, 9.8% 58%, 0 50%, 9.8% 42%, 3.8% 30.9%, 15.9% 27.2%, 14.6% 14.6%, 27.2% 15.9%, 30.9% 3.8%, 42% 9.8%, 50% 0, 58% 9.8%, 69.1% 3.8%, 72.8% 15.9%, 85.4% 14.6%, 84.1% 27.2%, 96.2% 30.9%, 90.2% 42%); }
.itm-bev .badge { right: auto; left: 0; }
@media (min-width: 720px) {
  .sign { width: 260px; margin-left: -130px; } .sign img { width: 260px; }
  .top-hang { height: 170px; } .awning { top: 82px; }
  .board-name img { height: 130px; }
  .theme-deli .ln h3 { font-size: 32px; }
}
.has-fold .badge { right: auto; left: 0; }

/* ── 11/23 좌우로 넘기는 장(메뉴판 넘기듯): 상단 간판·탭은 고정, 장마다 세로 스크롤 */
html, body { height: 100%; }
body { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; overflow: hidden; }
.top { -webkit-flex: none; flex: none; z-index: 5; }
.tabs { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; -webkit-justify-content: flex-start; justify-content: flex-start; }
.tabs a { -webkit-flex: none; flex: none; }
.tabs a:first-child { margin-left: auto; } .tabs a:last-child { margin-right: auto; }
.pages { position: relative; -webkit-flex: 1; flex: 1; min-height: 0; overflow: hidden; background: #E9DFCC; -webkit-perspective: 2200px; perspective: 2200px; }
.page { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; visibility: hidden; z-index: 1;
  background: var(--cream); -webkit-transform-origin: 0 50%; transform-origin: 0 50%; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: inset 12px 0 16px -14px rgba(90,26,20,.45); }
.page.cur { visibility: visible; z-index: 2; }
.page.under { visibility: visible; z-index: 1; }
.page.turn-out { visibility: visible; z-index: 3; -webkit-animation: turnOut .75s cubic-bezier(.45,.05,.35,1) forwards; animation: turnOut .75s cubic-bezier(.45,.05,.35,1) forwards; }
.page.turn-in { visibility: visible; z-index: 3; -webkit-animation: turnIn .75s cubic-bezier(.45,.05,.35,1) forwards; animation: turnIn .75s cubic-bezier(.45,.05,.35,1) forwards; }
.page::after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(60,20,10,0) 40%, rgba(60,20,10,.35)); }
.page.turn-out::after { -webkit-animation: shade .75s forwards; animation: shade .75s forwards; }
.page.turn-in::after { -webkit-animation: shade .75s reverse forwards; animation: shade .75s reverse forwards; }
.page.under::after { opacity: 1; background: linear-gradient(90deg, rgba(60,20,10,.28), rgba(60,20,10,0) 35%); -webkit-transition: opacity .75s; transition: opacity .75s; }
@-webkit-keyframes turnOut { from { -webkit-transform: rotateY(0); } to { -webkit-transform: rotateY(-100deg); } }
@keyframes turnOut { from { transform: rotateY(0); } to { transform: rotateY(-100deg); } }
@-webkit-keyframes turnIn { from { -webkit-transform: rotateY(-100deg); } to { -webkit-transform: rotateY(0); } }
@keyframes turnIn { from { transform: rotateY(-100deg); } to { transform: rotateY(0); } }
@-webkit-keyframes shade { to { opacity: 1; } }
@keyframes shade { to { opacity: 1; } }
/* 한 화면 맞춤: .fit을 장 높이에 맞게 줄인다 (JS가 --s를 넣음) */
.fit { -webkit-transform-origin: 50% 0; transform-origin: 50% 0; }
.page.fitted { overflow: hidden; }
.page.fitted .fit { -webkit-transform: scale(var(--s)); transform: scale(var(--s)); }
.page[data-page="top"] { box-shadow: none; }
.page > .sec:first-child { padding-top: 34px; }
.swipe-hint { margin: 26px auto 0; text-align: center; font-weight: 900; font-size: 15px; color: var(--ketchup); }
.swipe-hint b { display: inline-block; -webkit-animation: nudge 1.4s ease-in-out infinite; animation: nudge 1.4s ease-in-out infinite; }
@-webkit-keyframes nudge { 50% { -webkit-transform: translateX(6px); } }
@keyframes nudge { 50% { transform: translateX(6px); } }
.pg-arrow { position: fixed; top: 55%; z-index: 30; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--plate); border: 3px solid var(--ketchup); color: var(--ketchup); font-weight: 900; font-size: 28px; line-height: 34px; box-shadow: 2px 4px 0 rgba(90,26,20,.2); }
.pg-prev { left: 8px; } .pg-next { right: 8px; }
.pg-arrow.off { opacity: 0; pointer-events: none; }
.pg-dots { position: fixed; left: 50%; bottom: 12px; z-index: 30; -webkit-transform: translateX(-50%); transform: translateX(-50%); padding: 8px 12px; border-radius: 30px; background: rgba(255,253,248,.92); border: 2px solid var(--ketchup); white-space: nowrap; box-shadow: 2px 3px 0 rgba(90,26,20,.15); }
.pg-dots button { display: inline-block; vertical-align: middle; width: 10px; height: 10px; margin: 0 4px; border-radius: 5px; background: rgba(195,48,42,.3); -webkit-transition: width .2s; transition: width .2s; }
.pg-dots button.on { width: 26px; background: var(--ketchup); }
.pg-dots span { display: inline-block; vertical-align: middle; margin: 0 4px 0 6px; font-weight: 900; font-size: 12px; color: var(--ketchup); }
/* 폰: 고정 상단을 낮게, 화살표는 작게 */
@media (max-width: 719px) {
  .top-hang { height: 104px; }
  .sign { width: 150px; margin-left: -75px; } .sign img { width: 150px; }
  .awning { top: 40px; height: 62px; }
  .aw-stripes { height: 40px; } .aw-scallop { top: 46px; height: 14px; background-size: 56px 14px, 56px 14px; background-position: 0 0, 28px 0;
    background-image: radial-gradient(circle at 14px 0, var(--ketchup) 13px, transparent 14px), radial-gradient(circle at 14px 0, var(--cream) 13px, transparent 14px); }
  .aw-stripes { background: repeating-linear-gradient(90deg, var(--ketchup) 0 28px, var(--cream) 28px 56px); }
  .tabs { padding: 6px 4px; } .tabs a { padding: 6px 9px; font-size: 14px; margin: 0 1px; }
  .pg-arrow { width: 36px; height: 36px; margin-top: -18px; font-size: 22px; line-height: 28px; top: auto; bottom: 10px; margin-top: 0; }
}
@media (min-width: 720px) { .top-hang { height: 140px; } .sign { width: 220px; margin-left: -110px; } .sign img { width: 220px; } .awning { top: 56px; } }

/* ── 데스크톱: 장마다 한 화면에 들어오게 촘촘한 배치 */
@media (min-width: 720px) {
  .top-hang { height: 92px; } .sign { width: 170px; margin-left: -85px; top: 0; } .sign img { width: 170px; }
  .awning { top: 30px; height: 62px; } .aw-stripes { height: 40px; } .aw-scallop { top: 46px; height: 14px; background-size: 56px 14px, 56px 14px; background-position: 0 0, 28px 0;
    background-image: radial-gradient(circle at 14px 0, var(--ketchup) 13px, transparent 14px), radial-gradient(circle at 14px 0, var(--cream) 13px, transparent 14px); }
  .aw-stripes { background: repeating-linear-gradient(90deg, var(--ketchup) 0 28px, var(--cream) 28px 56px); }
  .tabs { padding: 5px 6px; } .tabs a { font-size: 15px; padding: 6px 16px; }
  .page { padding-bottom: 0; }
  .fit { padding-bottom: 64px; }
  .page > .fit > .sec:first-child { padding-top: 20px; }
  .sec { max-width: 1180px; padding: 20px 70px 0; }
  .sec-title { font-size: 30px; margin-top: 6px; } .sec-lead { margin-top: 4px; }
  .h3 { margin: 18px 0 8px; font-size: 21px; }
  /* 표지: 접시 + 소개 카드를 나란히 */
  .page[data-page="top"] .fit { display: -webkit-flex; display: flex; -webkit-align-items: stretch; align-items: stretch; min-height: 100%; padding-bottom: 0; background: #fff url("../assets/bg-gingham-red.jpg") center / cover; }
  .page[data-page="top"] .hero { -webkit-flex: 1.5; flex: 1.5; background: none; padding: 26px 16px 70px; }
  .page[data-page="top"] .plate { max-width: 560px; }
  .page[data-page="top"] .intro { -webkit-flex: 1; flex: 1; max-width: 460px; margin: 0; padding: 0 60px 0 0; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
  .page[data-page="top"] .swipe-hint { display: none; }
  .title { font-size: 64px; } .sub { font-size: 26px; }
  /* 이용 안내: 세 칸 */
  #guide .cols { display: -webkit-flex; display: flex; margin: 0 -10px; }
  #guide .col { -webkit-flex: 1; flex: 1; padding: 0 10px; min-width: 0; }
  .info { margin-top: 12px; } .info dl > div { padding: 7px 0; font-size: 14px; }
  .steps li { margin-top: 7px; padding: 9px 12px 9px 52px; } .steps li::before { width: 28px; height: 28px; line-height: 28px; font-size: 15px; top: 10px; left: 12px; }
  .steps b { font-size: 15px; } .steps span { font-size: 13px; line-height: 1.5; }
  .taste { width: 50%; } .taste > div { padding: 9px 12px; } .taste b { font-size: 15px; } .taste span { font-size: 12px; }
  .faq details { margin-top: 6px; } .faq summary { padding: 10px 36px 10px 14px; font-size: 14px; } .faq details p { font-size: 13px; }
  /* 메뉴판: 라인 하나 = 한 줄 */
  #menu .sec-no, #menu .sec-img, #menu .sec-lead { display: none; }
  #menu .sec-title { display: none; }
  .cat-tabs { margin-top: 18px; } .cat-tab { padding: 6px 4px 5px; } .cat-tab b { font-size: 17px; }
  .filters { margin-top: 10px; } .board-sub { display: none; }
  .board { margin-top: 10px; padding: 14px 18px 16px; }
  .board-name img { height: 74px; }
  .ln { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin: 8px 0; }
  .ln h3 { -webkit-flex: none; flex: none; width: 170px; margin: 0 12px 0 0; font-size: 16px; white-space: normal; }
  .ln h3 span { display: block; margin: 2px 0 0; font-size: 11px; }
  .theme-deli .ln h3 { display: block; font-size: 24px; } .theme-deli .ln h3::after { display: none; }
  .theme-deli .ln h3 span { white-space: normal; }
  .ln .row { -webkit-flex: 1; flex: 1; -webkit-flex-wrap: nowrap; flex-wrap: nowrap; margin: 0; }
  .itm { width: 16.66%; -webkit-flex: none; flex: none; padding: 4px; }
  .itm-deli .itm-img, .itm-img { height: 52px; width: 100%; -o-object-fit: contain; object-fit: contain; }
  .d-label { margin-top: 2px; padding: 4px 6px; } .d-label b { font-size: 13px; } .d-label small { font-size: 10px; } .d-label i { font-size: 10px; margin-top: 2px; }
  .burst { position: static; -webkit-flex: none; flex: none; width: 62px; height: 62px; -webkit-order: 3; order: 3; margin-left: 6px; }
  .theme-fresh .ln { margin: 6px 0 20px; } .theme-fresh .ln h3 { margin-right: 12px; }
  .tray { padding-bottom: 0; height: 74px; } .tray .itm-img { height: 52px; top: 8%; }
  .f-label { width: 80%; bottom: -12px; } .f-label b { font-size: 12px !important; } .f-label small { display: none; }
  .itm-code { margin-top: 14px; font-size: 12px; }
  .fridge { padding: 10px 10px 34px; margin-top: 10px; }
  .fridge h3 { display: block; width: auto; margin: 0 0 4px; font-size: 15px !important; }
  .fridge .row { display: block; }
  .itm-bev { width: 100%; padding: 4px 2px; }
  .itm-bev .itm-img { width: 40%; height: 44px; }
  .b-label b { font-size: 13px; } .b-label i { padding-bottom: 1px; }
  .fridge-name { font-size: 24px; line-height: 30px; }
  .itm-fold { width: 34px; } .itm-fold-t { top: 18px; }
  /* 셰프: 두 칸 */
  #chef .cols { display: -webkit-flex; display: flex; margin: 0 -10px; } #chef .col { -webkit-flex: 1; flex: 1; padding: 0 10px; min-width: 0; }
  .chef { margin-top: 12px; padding: 12px; } .chef-photo { width: 84px; height: 84px; }
  .note b { padding: 10px 12px 0; font-size: 14px; } .note p { padding: 4px 12px 10px; font-size: 13px; line-height: 1.55; }
  .slot b { padding: 10px 12px 0; font-size: 14px; } .slot span { padding: 3px 12px 10px; font-size: 12px; }
  .slots-4 .slot span { min-height: 60px; }
  /* 화보: 다섯 칸 */
  .slots-g .slot { width: 20%; } .slots-g .slot span { min-height: 70px; }
}
@media (min-width: 720px) { .ln.fridge { display: block; } .fridge h3 { display: inline-block; } .fridge h3 span { display: inline; margin-left: 6px; } }

/* ── 11/23 진서: 장마다 테이블(레드 깅엄 식탁보) 사진 위에 크림 종이를 올린 모양 + 지붕이 아래 베이지 띠와 겹치게 */
.top-hang { z-index: 2; }
.tabs { z-index: 1; margin-top: -16px; padding-top: 20px; box-shadow: 0 3px 6px rgba(90,26,20,.12); }
.page { background: #E7E1D6 url("../assets/bg-gingham-red.jpg") center / cover; }
.page > .fit > .sec { position: relative; background: var(--cream); border-radius: 16px; box-shadow: 0 10px 24px rgba(60,20,10,.32), 0 0 0 6px rgba(255,253,248,.55); }
.page > .fit > .sec::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 10px; border-radius: 16px 16px 0 0; background: repeating-linear-gradient(90deg, var(--ketchup) 0 14px, transparent 14px 28px); opacity: .5; }
.page > .fit > .sec:first-child { margin-top: 18px; }
.page > .fit > .sec { margin-left: 12px; margin-right: 12px; padding-bottom: 24px; }
.page > .fit > footer { color: #fff; opacity: 1; border-top: 0; text-shadow: 0 1px 3px rgba(0,0,0,.6); font-weight: 900; }
@media (min-width: 720px) {
  .tabs { margin-top: -14px; padding-top: 18px; }
  .page > .fit > .sec { margin: 22px auto 0; padding: 22px 50px 26px; }
  .page > .fit > .sec.counter { max-width: 720px; }
}
@media (min-width: 1240px) { .page > .fit > .sec { max-width: 1180px; } }

/* 11/23 저녁: 이용 안내 넓게 + 부스 그림 순서 + 자주 묻는 질문 따로 한 장 */
.booth { margin: 4px 0 0; background: #FFF3DE; border: 3px solid var(--ketchup); border-radius: 16px; padding: 10px 10px 4px; }
.booth svg { display: block; width: 100%; height: auto; }
.bk-t { font-family: var(--f-round, inherit); font-size: 30px; font-weight: 900; }
.bk-s { font-family: var(--f-round, inherit); font-size: 15px; font-weight: 900; }
.bk-pin circle { fill: var(--ketchup); stroke: #fff; stroke-width: 4; }
.bk-pin text { fill: #fff; font-size: 24px; font-weight: 900; text-anchor: middle; font-family: var(--f-round, inherit); }
.faq-more { margin-top: 12px; text-align: right; }
.faq-more a { color: var(--ketchup); font-weight: 900; font-size: 15px; }
#faq .faq details p { display: block; }
#faq .faq summary { cursor: default; }
#faq .faq summary::after { display: none; }
@media (min-width: 720px) {
  .page > .fit > #guide.sec { max-width: 1500px; margin-left: 24px; margin-right: 24px; padding-left: 36px; padding-right: 36px; }
  #guide .col-main { -webkit-flex: 1.7; flex: 1.7; }
  #guide .col-side { -webkit-flex: 1; flex: 1; }
  #guide .col-side .info { margin-top: 18px; }
  #guide .steps { display: -webkit-flex; display: flex; margin: 4px -4px 0; }
  #guide .steps li { -webkit-flex: 1; flex: 1; margin: 8px 4px 0; padding: 44px 11px 11px; }
  #guide .steps li::before { left: 10px; top: 9px; }
  #guide .steps span { font-size: 12.5px; }
  #faq .faq { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 8px -6px 0; }
  #faq .faq details { width: calc(50% - 12px); margin: 6px; }
  #faq .faq summary { font-size: 16px; padding: 14px 16px 6px; }
  #faq .faq details p { font-size: 14px; }
  .page > .fit > #faq.sec { max-width: 1100px; }
}
@media (min-width: 1240px) {
  .page > .fit > #guide.sec { margin-left: auto; margin-right: auto; }
}

/* ===== 11/23 블루 리디자인: Taste Test 시작 화면 톤(파란 깅엄 식탁 · 파란 테 접시 · 파란 알약 버튼) ===== */
:root { --blue: #0B50EE; --blue-soft: #C8E6FF; --ketchup: #0B50EE; --red: #0B50EE; --pink: #C8E6FF; --ink: #14204A; }
/* 메뉴판 보드·모델 상세·실물 배지는 카테고리 색(델리 빨강) 그대로 */
.board, .cat-tabs, .sheet, .badge, .filters { --ketchup: #C3302A; --red: #C23228; --pink: #FFD3D0; --ink: #2B140F; }
body { background: #CFE6F6 url("../assets/bg-gingham-blue.jpg") center / cover; }
/* 머리: 차양 대신 깅엄 위에 떠 있는 흰 알약 바 */
.top.blue-top { background: transparent; padding: 12px 12px 6px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; max-width: 1240px; width: 100%; margin: 0 auto; }
.blue-top .brand { -webkit-flex: none; flex: none; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: center; align-items: center; padding: 8px 22px 7px; margin-right: 10px; background: #FFFDF8; border: 3px solid #fff; border-radius: 60px; box-shadow: 0 0 0 2px var(--blue), 4px 6px 6px rgba(10,40,120,.25); text-decoration: none; }
.blue-top .brand img { width: 120px; height: auto; display: block; }
.blue-top .brand span { margin-top: 2px; font: 700 8.5px/1 Arial, sans-serif; letter-spacing: .12em; color: var(--blue); white-space: nowrap; }
.blue-top .tabs { -webkit-flex: 1; flex: 1; min-width: 0; margin: 0; padding: 7px; background: #FFFDF8; border: 0; border-radius: 60px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue), 4px 6px 8px rgba(10,40,120,.25); }
.blue-top .tabs a { color: var(--blue); font-family: var(--f-display); }
.blue-top .tabs a.on { background: var(--blue); color: #fff; box-shadow: 2px 3px 0 rgba(10,40,120,.2); }
.pages { background: transparent; }
.page { background: #CFE6F6 url("../assets/bg-gingham-blue.jpg") center / cover; }
/* 장 종이 = 파란 테 두른 흰 접시 */
.page > .fit > .sec { background: #FFFEFA; border-radius: 38px; box-shadow: inset 0 0 0 9px #FFFEFA, inset 0 0 0 13px var(--blue), inset 0 0 0 17px #FFFEFA, inset 0 0 0 18.5px var(--blue), 0 0 0 5px rgba(255,255,255,.75), 0 16px 30px rgba(10,40,120,.3); padding: 34px 30px 34px; }
.page > .fit > .sec::before { display: none; }
.sec-no { background: var(--blue); }
.sec-title, .h3, .taste b, .info dt, .faq summary, .chef-name { color: var(--blue); }
.faq summary { color: var(--ink); }
.faq details, .taste > div { border-color: rgba(11,80,238,.35); }
.steps li { border-color: var(--blue); }
/* 표지: 실제 시작 화면처럼 */
.page[data-page="top"] .fit, .hero { background: none !important; }
.tagline { color: var(--blue); }
.title { color: var(--blue); text-shadow: 3px 4px 0 rgba(11,80,238,.12); }
.sub { color: var(--blue); }
.when { background: #FFFDF8; border-color: var(--blue); color: var(--blue); box-shadow: 3px 4px 0 rgba(10,40,120,.2); }
.pill { border-color: #fff; box-shadow: 0 0 0 2px var(--blue), 4px 7px 5px rgba(10,40,120,.28); }
.pill-red { background: var(--blue); color: #fff; }
.pill-pink { background: var(--blue-soft); color: var(--ink); }
.card { border-radius: 30px; border: 0; background: #FFFEFA; box-shadow: inset 0 0 0 8px #FFFEFA, inset 0 0 0 11px var(--blue), inset 0 0 0 14px #FFFEFA, inset 0 0 0 15.5px var(--blue), 0 14px 26px rgba(10,40,120,.3); padding: 34px 32px; }
.card h2 { color: var(--blue); }
.swipe-hint { color: #fff; text-shadow: 0 1px 3px rgba(10,40,120,.7); }
/* 장 넘기기 버튼 */
.pg-arrow { border-color: #fff; box-shadow: 0 0 0 2px var(--blue), 3px 5px 5px rgba(10,40,120,.28); }
.pg-dots { box-shadow: 0 0 0 2px var(--blue), 3px 5px 6px rgba(10,40,120,.25); }
/* 부스 그림 */
.booth { background: #EEF6FF; border-color: var(--blue); }
.page > .fit > footer { text-shadow: 0 1px 3px rgba(10,40,120,.8); }
@media (max-width: 719px) {
  .top.blue-top { -webkit-flex-direction: column; flex-direction: column; padding: 8px 8px 4px; }
  .blue-top .brand { margin: 0 0 8px; padding: 6px 18px 5px; }
  .blue-top .brand img { width: 96px; }
  .blue-top .tabs { width: 100%; padding: 5px; }
  .page > .fit > .sec { border-radius: 28px; padding: 28px 20px 28px; box-shadow: inset 0 0 0 7px #FFFEFA, inset 0 0 0 10px var(--blue), inset 0 0 0 13px #FFFEFA, inset 0 0 0 14px var(--blue), 0 12px 22px rgba(10,40,120,.3); }
}
@media (min-width: 720px) and (max-height: 820px) {
  .top.blue-top { padding-top: 8px; padding-bottom: 4px; }
  .blue-top .brand { padding: 6px 18px 5px; } .blue-top .brand img { width: 104px; }
}
@media (min-width: 720px) { .page > .fit > .sec { padding: 34px 48px 34px; } .page > .fit > #guide.sec { padding-left: 40px; padding-right: 40px; } }
/* 표지: 시작 화면처럼 가운데 큰 접시 + 아래 알약 버튼 + 바구니·수저 */
.plate-body { display: none; }
.pg-dots button { background: rgba(11,80,238,.25); }
@media (min-width: 720px) {
  .page[data-page="top"] .fit { display: block; min-height: 100%; }
  .page[data-page="top"] .intro, .page[data-page="top"] .swipe-hint { display: none; }
  .page[data-page="top"] .hero { --pw: calc((100vh - 250px) * 1.39); padding: 18px 16px 40px; min-height: 100%; }
  .page[data-page="top"] .plate { width: var(--pw); max-width: 940px; min-width: 620px; }
  .page[data-page="top"] .plate-in { left: 15%; right: 15%; top: 15%; bottom: 17%; }
  .page[data-page="top"] .plate-in .logo { width: 30%; max-width: 240px; }
  .page[data-page="top"] .tagline { font-size: 13px; letter-spacing: .14em; margin-top: 10px; }
  .page[data-page="top"] .title { font-size: 96px; margin-top: 14px; line-height: .9; white-space: nowrap; }
  .page[data-page="top"] .sub { font-family: var(--f-display); font-weight: 900; font-size: 30px; margin-top: 6px; }
  .page[data-page="top"] .plate-body { display: block; margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--demi); }
  .page[data-page="top"] .btns { margin-top: -46px; }
  .page[data-page="top"] .btns .pill { margin: 0 22px; font-size: 22px; padding: 20px 34px; }
  .page[data-page="top"] .when { position: absolute; left: 24px; top: 14px; margin: 0; }
  .page[data-page="top"] .basket { width: 230px; left: 50%; right: auto; bottom: 40px; margin-left: calc(var(--pw) * -0.58); -webkit-transform: rotate(-16deg); transform: rotate(-16deg); z-index: 1; }
  .page[data-page="top"] .cutlery { width: 300px; right: auto; left: 50%; bottom: 10px; margin-left: calc(var(--pw) * 0.30); z-index: 1; }
}
@media (min-width: 720px) and (max-height: 760px) {
  .page[data-page="top"] .title { font-size: 76px; } .page[data-page="top"] .sub { font-size: 24px; } .page[data-page="top"] .plate-body { font-size: 14px; margin-top: 10px; }
  .page[data-page="top"] .basket { width: 180px; } .page[data-page="top"] .cutlery { width: 230px; }
}
/* 머리 바를 장 위에 띄워서 깅엄이 끊기지 않게 */
.top.blue-top { position: absolute; left: 0; right: 0; top: 0; z-index: 25; }
.page { -webkit-box-sizing: border-box; box-sizing: border-box; padding-top: var(--hh, 80px); }
.page[data-page="top"] .fit { min-height: 0; }
@media (min-width: 720px) { .page[data-page="top"] .title { font-size: 84px; } }
@media (min-width: 720px) and (max-height: 760px) { .page[data-page="top"] .title { font-size: 70px; } }
.info dl > div { border-bottom-color: rgba(11,80,238,.3); }
.note b, .note p { border-color: rgba(11,80,238,.35); }
.slot b, .slot span { border-color: rgba(11,80,238,.45); }
.chef-photo { background: var(--blue-soft); }
/* 11/23 진서: 차양은 살리고, 로고는 메인 비주얼의 파란 타원 스티커(피그마 689:38720) */
.top.blue-top { display: block; max-width: none; padding: 0; }
.blue-top .top-hang { position: relative; height: 104px; z-index: 2; background: transparent; }
.blue-top .awning { top: 0; height: 84px; }
.blue-top .aw-cap { display: none; }
.blue-top .aw-stripes { top: 0; height: 64px; -webkit-clip-path: none; clip-path: none; }
.blue-top .aw-scallop { top: 64px; }
.blue-top .oval-sign { position: absolute; left: 50%; top: 4px; width: 210px; margin-left: -105px; z-index: 3; }
.blue-top .oval-sign img { width: 210px; height: auto; -webkit-transform: rotate(-3deg); transform: rotate(-3deg); -webkit-filter: drop-shadow(3px 6px 4px rgba(10,40,120,.3)); filter: drop-shadow(3px 6px 4px rgba(10,40,120,.3)); }
.blue-top .tabs { position: relative; z-index: 1; max-width: 900px; margin: -6px auto 0; width: calc(100% - 24px); }
@media (min-width: 720px) and (max-height: 820px) {
  .blue-top .top-hang { height: 86px; } .blue-top .awning { height: 70px; } .blue-top .aw-stripes { height: 52px; } .blue-top .aw-scallop { top: 52px; }
  .blue-top .oval-sign { width: 170px; margin-left: -85px; top: 2px; } .blue-top .oval-sign img { width: 170px; }
}
@media (max-width: 719px) {
  .blue-top .top-hang { height: 78px; } .blue-top .awning { height: 58px; } .blue-top .aw-stripes { height: 40px; } .blue-top .aw-scallop { top: 40px; }
  .blue-top .oval-sign { width: 136px; margin-left: -68px; top: 2px; } .blue-top .oval-sign img { width: 136px; }
  .blue-top .tabs { margin-top: -4px; }
}

/* ===== 11/23 밤: 예쁘게 다듬기 — 넓은 차양, 리본 탭(가운데 타원 로고), 표지 정리 ===== */
:root { --cream2: #FFF9EE; --navy: #1D3B8B; }
/* 넓은 차양: 줄 하나 64px, 끝은 같은 색 반원 */
.blue-top .top-hang { height: 92px; }
.blue-top .awning { height: 92px; -webkit-filter: drop-shadow(0 6px 6px rgba(10,40,120,.22)); filter: drop-shadow(0 6px 6px rgba(10,40,120,.22)); }
.blue-top .aw-stripes { height: 60px; background: repeating-linear-gradient(90deg, var(--blue) 0 64px, var(--cream2) 64px 128px); }
.blue-top .aw-stripes::after { background: linear-gradient(180deg, rgba(255,255,255,.18) 0, rgba(255,255,255,0) 35%, rgba(10,30,90,.12) 100%); }
.blue-top .aw-scallop { top: 59px; height: 32px; background: radial-gradient(circle at 32px 0, var(--blue) 31px, transparent 32px) 0 0 / 128px 32px repeat-x, radial-gradient(circle at 32px 0, var(--cream2) 31px, transparent 32px) 64px 0 / 128px 32px repeat-x; }
/* 타원 로고: 차양에 걸린 간판 */
.blue-top .oval-sign { top: 10px; width: 200px; margin-left: -100px; }
.blue-top .oval-sign img { width: 200px; -webkit-transform: rotate(-2deg); transform: rotate(-2deg); }
/* 탭: 접시 테 같은 두 줄 리본, 로고 양옆으로 나눔 */
.blue-top .tabs { max-width: 940px; width: calc(100% - 32px); margin: -2px auto 0; padding: 0 10px; height: 46px; -webkit-align-items: center; align-items: center; background: var(--cream2); border-radius: 16px; box-shadow: inset 0 0 0 3px var(--cream2), inset 0 0 0 4.5px rgba(11,80,238,.55), 0 8px 18px rgba(10,40,120,.22); }
.blue-top .tabs a { position: relative; margin: 0 4px; padding: 6px 10px; border-radius: 0; background: none !important; box-shadow: none !important; color: var(--navy); font-size: 16px; opacity: .78; }
.blue-top .tabs a.on { color: var(--blue); opacity: 1; }
.blue-top .tabs a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 4px; border-radius: 4px; background: var(--blue); }
.blue-top .tabs a:hover { opacity: 1; }
.tab-gap { -webkit-flex: none; flex: none; width: 200px; }
/* 표지 */
.page[data-page="top"] .when { display: none; }
.plate-when { display: none; }
.page[data-page="top"] .btns .pill { margin: 0 10px; font-size: 19px; padding: 17px 30px; }
.pill-pink { background: #fff; color: var(--blue); }
.pill { box-shadow: 0 0 0 2px var(--blue), 0 10px 18px rgba(10,40,120,.28); }
.pg-dots { background: rgba(255,249,238,.95); box-shadow: 0 6px 14px rgba(10,40,120,.25); }
.pg-arrow { box-shadow: 0 6px 14px rgba(10,40,120,.25); border: 3px solid var(--cream2); background: var(--cream2); }
@media (min-width: 720px) {
  .page[data-page="top"] .hero { --pw: calc((100vh - 240px) * 1.39); padding-top: 26px; }
  .page[data-page="top"] .plate-in { top: 17%; bottom: 19%; }
  .page[data-page="top"] .tagline { margin-top: 0; font-size: 12px; letter-spacing: .32em; }
  .page[data-page="top"] .title { font-size: 92px; margin-top: 12px; letter-spacing: .01em; text-shadow: 4px 5px 0 rgba(11,80,238,.14); }
  .page[data-page="top"] .sub { font-size: 26px; margin-top: 8px; color: var(--navy); }
  .page[data-page="top"] .plate-body { font-size: 16px; margin-top: 14px; }
  .plate-when { display: block; margin-top: 14px; font-size: 14px; font-weight: 900; color: var(--blue); letter-spacing: .02em; }
  .plate-when b { display: inline-block; margin-right: 8px; padding: 3px 10px 2px; border-radius: 8px; background: var(--blue); color: #fff; font-family: var(--f-round); font-weight: 400; }
  .page[data-page="top"] .btns { margin-top: -38px; }
  .page[data-page="top"] .basket { width: 210px; bottom: 54px; margin-left: calc(var(--pw) * -0.6); -webkit-transform: rotate(-14deg); transform: rotate(-14deg); }
  .page[data-page="top"] .cutlery { width: 270px; bottom: 18px; margin-left: calc(var(--pw) * 0.36); -webkit-transform: rotate(6deg); transform: rotate(6deg); }
}
@media (min-width: 720px) and (max-height: 820px) {
  .blue-top .top-hang { height: 80px; } .blue-top .awning { height: 80px; } .blue-top .aw-stripes { height: 50px; } .blue-top .aw-scallop { top: 49px; }
  .blue-top .oval-sign { width: 168px; margin-left: -84px; top: 6px; } .blue-top .oval-sign img { width: 168px; }
  .tab-gap { width: 170px; }
  .page[data-page="top"] .title { font-size: 80px; }
}
@media (min-width: 720px) and (max-height: 760px) {
  .page[data-page="top"] .title { font-size: 68px; } .page[data-page="top"] .sub { font-size: 21px; } .plate-when { margin-top: 8px; font-size: 12px; }
}
@media (max-width: 719px) {
  .blue-top .top-hang { height: 96px; } .blue-top .awning { height: 62px; }
  .blue-top .aw-stripes { height: 36px; background: repeating-linear-gradient(90deg, var(--blue) 0 44px, var(--cream2) 44px 88px); }
  .blue-top .aw-scallop { top: 35px; height: 22px; background: radial-gradient(circle at 22px 0, var(--blue) 21px, transparent 22px) 0 0 / 88px 22px repeat-x, radial-gradient(circle at 22px 0, var(--cream2) 21px, transparent 22px) 44px 0 / 88px 22px repeat-x; }
  .blue-top .oval-sign { width: 150px; margin-left: -75px; top: 6px; } .blue-top .oval-sign img { width: 150px; }
  .tab-gap { display: none; }
  .blue-top .tabs { height: 42px; margin-top: 0; width: calc(100% - 16px); }
  .blue-top .tabs a { font-size: 14px; padding: 6px 7px; margin: 0 2px; }
  .page[data-page="top"] .when { display: table; }
}
@media (min-width: 720px) {
  .blue-top .tabs { -webkit-justify-content: center; justify-content: center; }
  .blue-top .tabs a[href="#top"] { display: none; }
  .blue-top .tabs a { -webkit-flex: 1; flex: 1; text-align: center; margin: 0 !important; }
  .blue-top .tabs a.on::after { left: 50%; right: auto; width: 34px; margin-left: -17px; }
}
.blue-top .tabs { border-radius: 999px; padding: 0 22px; }
/* 간격 정리: 접시 테(안쪽 18.5px) 안으로 사방 같은 여백 */
.page > .fit > .sec { padding: 52px 56px 48px !important; }
.page > .fit > .sec:first-child { margin-top: 20px; }
.sec-no { margin-bottom: 4px; }
@media (max-width: 719px) {
  .page > .fit > .sec { padding: 40px 28px 36px !important; }
  .page > .fit > .sec:first-child { margin-top: 14px; }
}
/* 아래 장 넘김 바에 접시가 가리지 않게, 칸 사이 간격 통일(칸 32 · 카드 12) */
.page > .fit { padding-bottom: 84px; }
@media (min-width: 720px) {
  #guide .cols, #chef .cols { margin: 0 -16px; }
  #guide .col, #chef .col { padding: 0 16px; }
  #guide .steps { margin: 4px -6px 0; }
  #guide .steps li { margin: 12px 6px 0; }
  .tastes { margin: 0 -6px; } .taste { padding: 6px; }
  #faq .faq { margin: 8px -6px 0; } #faq .faq details { width: calc(50% - 12px); margin: 6px; }
}
@media (max-width: 719px) { .blue-top .tabs { width: calc(100% - 24px); padding: 0 16px; } }
@media (min-width: 720px) { .blue-top .tabs { width: calc(100% - 48px); } }
/* 같은 줄 카드는 높이 맞춤, 카드 사이 12px */
.note, .slot { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; padding: 6px; }
.note p, .slot span { -webkit-flex: 1; flex: 1; }
.notes, .slots { margin-left: -6px; margin-right: -6px; }

/* ===== 11/23 밤 2: 겹침 없는 표지·머리 (화면 높이에 맞춰 비율 계산) ===== */
/* 머리: 로고는 차양에만 걸리고 탭 리본과 겹치지 않게, 탭은 고르게 */
.tab-gap { display: none !important; }
.blue-top .tabs { margin-top: 33px; max-width: 760px; }
@media (min-width: 720px) and (max-height: 820px) { .blue-top .tabs { margin-top: 25px; } }
@media (max-width: 719px) { .blue-top .tabs { margin-top: 0; } }
/* 표지: 접시 높이 = 남는 높이 − 버튼 줄, 바구니·수저는 접시 옆 빈자리에만 */
@media (min-width: 720px) {
  .page[data-page="top"] .hero {
    --H: calc(100vh - var(--hh, 150px) - 76px);
    --pw: min(calc((var(--H) - 128px) * 1.39), calc(100vw - 440px), 900px);
    --side: min(210px, calc((100vw - var(--pw)) / 2 - 56px));
    padding: 28px 16px 0; min-height: 0;
  }
  .page[data-page="top"] .plate { width: var(--pw); min-width: 0; max-width: none; }
  .page[data-page="top"] .plate-in { left: 20%; right: 20%; top: 21%; bottom: 23%; }
  .page[data-page="top"] .tagline { font-size: calc(var(--pw) * .0145); letter-spacing: .3em; }
  .page[data-page="top"] .title { font-size: calc(var(--pw) * .082); margin-top: calc(var(--pw) * .012); }
  .page[data-page="top"] .sub { font-size: calc(var(--pw) * .028); margin-top: calc(var(--pw) * .008); }
  .page[data-page="top"] .plate-body { font-size: calc(var(--pw) * .0175); margin-top: calc(var(--pw) * .016); line-height: 1.6; }
  .plate-when { font-size: calc(var(--pw) * .0155); margin-top: calc(var(--pw) * .016); }
  .plate-when b { font-size: inherit; }
  .page[data-page="top"] .btns { margin-top: 32px; }
  .page[data-page="top"] .btns .pill { margin: 0 9px; font-size: 18px; padding: 16px 28px; }
  .page[data-page="top"] .basket { width: var(--side); left: 50%; bottom: auto; top: calc(28px + var(--pw) / 1.39 - var(--side) * 1.05); margin-left: calc(var(--pw) / -2 - var(--side) - 28px); -webkit-transform: rotate(-12deg); transform: rotate(-12deg); }
  .page[data-page="top"] .cutlery { width: var(--side); left: 50%; bottom: auto; top: calc(28px + var(--pw) / 1.39 - var(--side) * 1.25); margin-left: calc(var(--pw) / 2 + 28px); -webkit-transform: none; transform: none; }
}
.blue-top .tabs { margin-top: 40px; }
@media (min-width: 720px) and (max-height: 820px) { .blue-top .tabs { margin-top: 32px; } }
@media (max-width: 719px) { .blue-top .tabs { margin-top: 0; } }
@media (min-width: 720px) {
  .page[data-page="top"] .hero { --side: min(200px, calc((100vw - var(--pw)) / 2 - 80px)); }
  .page[data-page="top"] .basket { margin-left: calc(var(--pw) / -2 - var(--side) - 40px); }
  .page[data-page="top"] .cutlery { margin-left: calc(var(--pw) / 2 + 36px); }
}
/* 낮은 화면: 접시 안 글은 제목·한 줄·날짜만, 글씨는 키움 */
@media (min-width: 720px) and (max-height: 780px) {
  .page[data-page="top"] .plate-body { display: none; }
  .page[data-page="top"] .tagline { font-size: max(10px, calc(var(--pw) * .017)); }
  .page[data-page="top"] .title { font-size: calc(var(--pw) * .095); }
  .page[data-page="top"] .sub { font-size: calc(var(--pw) * .034); margin-top: calc(var(--pw) * .012); }
  .plate-when { font-size: max(11px, calc(var(--pw) * .02)); margin-top: calc(var(--pw) * .03); }
}
/* 폰: 제목 한 줄, 버튼 나란히, 바구니·수저는 겹치지 않게 뺌 */
@media (max-width: 719px) {
  .page[data-page="top"] .hero { padding: 20px 16px 28px; }
  .page[data-page="top"] .plate { max-width: 358px; }
  .page[data-page="top"] .plate-in { left: 18%; right: 18%; top: 20%; bottom: 22%; }
  .page[data-page="top"] .title { font-size: 9.4vw; white-space: nowrap; margin-top: 6px; }
  .page[data-page="top"] .sub { font-size: 3.8vw; margin-top: 4px; }
  .page[data-page="top"] .tagline { font-size: 2.3vw; letter-spacing: .14em; }
  .page[data-page="top"] .basket, .page[data-page="top"] .cutlery { display: none; }
  .page[data-page="top"] .when { margin-top: 22px; }
  .page[data-page="top"] .btns { margin-top: 16px; white-space: nowrap; }
  .page[data-page="top"] .btns .pill { margin: 0 4px; font-size: 14px; padding: 13px 17px; }
  .page[data-page="top"] .intro { margin-top: 8px; }
}
@media (min-width: 720px) { .page[data-page="top"] .hero { padding-bottom: 28px; } }
/* 장 넘김 바 자리는 확대·축소와 상관없이 비워 둠 */
.page { padding-bottom: 72px; }
.page > .fit { padding-bottom: 16px; }
.page[data-page="top"] { padding-bottom: 0; }
@media (max-width: 719px) { .page { padding-bottom: 76px; } }
/* 가운데 정렬: 로고 똑바로, 자간 뒤꼬리 보정, 두 버튼 같은 폭, 표지 덩어리를 탭과 넘김 점 사이 세로 가운데로 */
.blue-top .oval-sign img { -webkit-transform: none; transform: none; }
.tagline { text-indent: .3em; }
.page[data-page="top"] .btns { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; }
.page[data-page="top"] .btns .pill { width: 260px; text-align: center; -webkit-box-sizing: border-box; box-sizing: border-box; padding-left: 0; padding-right: 0; }
@media (min-width: 720px) {
  .page[data-page="top"] .hero { --pt: max(20px, calc((var(--H) - var(--pw) / 1.39 - 88px) / 2)); padding-top: var(--pt); }
  .page[data-page="top"] .basket { top: calc(var(--pt) + var(--pw) / 1.39 - var(--side) * 1.05); }
  .page[data-page="top"] .cutlery { top: calc(var(--pt) + var(--pw) / 1.39 - var(--side) * 1.25); }
}
@media (max-width: 719px) { .page[data-page="top"] .btns .pill { width: 46%; max-width: 180px; padding-left: 0; padding-right: 0; } }
@media (min-width: 720px) {
  .page[data-page="top"] .hero { --Hr: calc(100vh - var(--hh, 150px) - 53px); --pt: max(20px, calc((var(--Hr) - var(--pw) / 1.39 - 88px) / 2)); }
}
/* 장 접시도 탭과 넘김 점 사이 세로 가운데 */
.page:not([data-page="top"]) > .fit { -webkit-box-sizing: border-box; box-sizing: border-box; min-height: 100%; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-justify-content: center; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
.page:not([data-page="top"]) > .fit > .sec:first-child { margin-top: 0; }
.page:not([data-page="top"]) > .fit > .sec { -webkit-flex: none; flex: none; width: calc(100% - 24px); }
@media (min-width: 720px) { .page:not([data-page="top"]) > .fit > .sec { width: calc(100% - 48px); } }
.page:not([data-page="top"]) { padding-bottom: 53px; }
.page:not([data-page="top"]) > .fit { padding-top: 20px; padding-bottom: 20px; }
@media (min-width: 720px) {
  .page[data-page="top"] .basket { top: calc(var(--pt) + var(--pw) / 2.78 - var(--side) * .5); }
  .page[data-page="top"] .cutlery { top: calc(var(--pt) + var(--pw) / 2.78 - var(--side) * .595); }
}
@media (min-width: 720px) { .page[data-page="top"] .basket { margin-left: calc(var(--pw) / -2 - var(--side) - 54px); } }
@media (min-width: 720px) {
  .page[data-page="top"] .hero { --pw: min(calc((var(--H) - 128px) * 1.39), calc(100vw - 520px), 900px); --side: min(200px, calc((100vw - var(--pw)) / 2 - 116px)); }
}

/* 표지 접시 글씨: 접시가 비스듬히(아래 테가 두꺼운 원근) 그려져 있어 수치상 가운데면 위로 쏠려 보임 → 눈으로 보는 가운데로 살짝 내림 (진서 11/23) */
.page[data-page="top"] .plate-in { -webkit-transform: translateY(3%); transform: translateY(3%); }

/* ── 카탈로그: 레시피 카드 그리드 */
.cg { --c: #C23228; margin-top: 16px; }
.cg.c-fresh { --c: #009245; } .cg.c-beverage { --c: #5499D3; }
.cg-line { margin-top: 18px; }
.cg-line h3 { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 3px solid var(--c); color: var(--c); font-family: var(--f-round); font-size: 18px; }
.cg-line h3 span { display: block; margin-top: 2px; font-family: inherit; font-size: 12px; font-weight: 700; color: #5A1A14; opacity: .8; }
.cg-grid { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -5px; }
.cg-card { width: calc(50% - 10px); margin: 5px; padding: 0 0 10px; border: 2px solid var(--c); border-radius: 12px; background: #fff; text-align: left; overflow: hidden; color: #5A1A14; box-shadow: 2px 4px 0 rgba(0,0,0,.08); }
.cg-top { white-space: nowrap; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; padding: 5px 10px; background: var(--c); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .03em; }
.cg-top em { font-size: 10px; font-style: normal; padding: 0 6px; border-radius: 8px; background: #FFCC4D; color: #5A1A14; }
.cg-card img { display: block; width: 86%; height: 64px; margin: 8px auto 4px; object-fit: contain; }
.cg-card b { display: block; padding: 0 10px; font-family: var(--f-round); font-size: 16px; line-height: 1.15; color: var(--c); }
.cg-card small { display: block; padding: 0 10px; font-size: 12px; font-weight: 700; }
.cg-taste { display: block; margin: 6px 10px 0; font-size: 12px; font-weight: 900; }
.cg-taste i { font-style: normal; letter-spacing: 1px; color: var(--c); }
.cg-card dl { margin: 4px 10px 0; font-size: 11px; line-height: 1.45; }
.cg-card dl div { display: -webkit-flex; display: flex; }
.cg-card dt { -webkit-flex: none; flex: none; width: 40px; opacity: .65; }
.cg-card dd { margin: 0; }
.cg-kw { display: block; margin: 5px 10px 0; font-size: 11px; color: var(--c); font-weight: 700; word-break: keep-all; }
@media (min-width: 720px) { .cg-card { width: calc(33.333% - 10px); } }
@media (min-width: 1100px) { .cg-card { width: calc(25% - 10px); } .cg-card img { height: 80px; } }

/* 셰프 소개: 캐릭터 그림 대신 작가 본인 소개 한 줄 (11/26) */
.chef-hi { margin-top: 8px; font-size: 14px; line-height: 1.6; font-weight: 700; color: var(--demi, #5A1A14); }

/* 실제 부스 사진 · 작업 과정 사진 (11/26) */
.photos, .proc { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 14px -5px 0; }
.photos figure, .proc figure { width: calc(33.333% - 10px); margin: 5px; background: #fff; border: 3px solid var(--ketchup, #C3302A); border-radius: 12px; overflow: hidden; }
.photos img, .proc img { display: block; width: 100%; height: 160px; -o-object-fit: cover; object-fit: cover; }
.photos figcaption, .proc figcaption { padding: 6px 10px 8px; font-size: 12px; line-height: 1.45; font-weight: 700; color: var(--demi, #5A1A14); }
.proc figcaption b { display: block; color: var(--ketchup, #C3302A); font-size: 13px; }
@media (max-width: 640px) { .photos figure, .proc figure { width: calc(50% - 10px); } .photos img, .proc img { height: 130px; } }

/* 00 이야기: Q&A 카드 (사진 섞어서) */
.story { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 14px -6px 0; }
.st-card { width: calc(50% - 12px); margin: 6px; padding: 16px 18px; background: var(--plate, #FFF8EC); border: 2px solid rgba(11,80,238,.35); border-radius: 14px; }
.st-card b { display: block; margin-bottom: 6px; font-family: var(--f-display); font-weight: 900; font-size: 18px; color: var(--ketchup, #C3302A); }
.st-card p { font-size: 14px; line-height: 1.7; font-weight: 500; color: var(--demi, #5A1A14); }
.st-card img { display: block; width: 100%; height: 170px; margin-bottom: 12px; border-radius: 10px; -o-object-fit: cover; object-fit: cover; }
.st-wide { width: calc(100% - 12px); display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.st-wide img { -webkit-flex: none; flex: none; width: 42%; height: 200px; margin: 0 18px 0 0; }
@media (max-width: 720px) { .st-card { width: calc(100% - 12px); } .st-wide { display: block; } .st-wide img { width: 100%; margin: 0 0 12px; } }

/* 화보 10장: 포스터 비율 그대로, 누르면 시트에 크게 */
.slot.lb { border: 0; background: none; cursor: pointer; -webkit-appearance: none; }
.slot.lb img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 2px 8px rgba(43,20,15,.25); }
.lb-big { display: block; width: 100%; height: auto; border-radius: 10px; margin-top: 30px; }

/* 셰프 사진: 작가 본인 사진을 동그랗게 꽉 채움 */
.chef-me img { width: 100%; height: 100%; margin: 0; -o-object-fit: cover; object-fit: cover; }
.chef { -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.chef .chef-me { width: 120px; height: 120px; margin: 0 auto 12px; }
.chef .chef-me + .chef-txt { width: 100%; margin-left: 0; }
/* 영감 카드: 작가 작품 세 장, 아래 작가 표기 */
.inspo { display: -webkit-flex; display: flex; margin: 0 -4px 12px; }
.inspo figure { -webkit-flex: 1; flex: 1; margin: 0 4px; min-width: 0; }
.st-card .inspo img { height: 120px; margin: 0; background: #fff; -o-object-fit: cover; object-fit: cover; }
.inspo figcaption { margin-top: 4px; font-size: 11px; line-height: 1.3; text-align: center; opacity: .8; }
.st-next { margin-top: 18px; text-align: center; }
/* 폰 화면: 맛 칩 줄과 '실물 시식만'이 겹쳐 보이지 않게 두 줄로, 카탈로그 코드·실물 배지가 넘치지 않게 줄바꿈 */
@media (max-width: 560px) {
  .filters { -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .chips { -webkit-flex: none; flex: none; width: 100%; }
  .chip-atc { margin: 6px 0 0; }
  .cg-top { -webkit-flex-wrap: wrap; flex-wrap: wrap; white-space: normal; letter-spacing: 0; }
  .cg-top em { margin-top: 2px; }
}
/* 메뉴판 라벨: 맛 표시가 카드 밖으로 넘치지 않게 줄바꿈, 강도 점은 한 덩어리 */
.d-label i, .f-label i, .b-label i { white-space: normal; max-width: 100%; }
.d-label .lv, .f-label .lv, .b-label .lv { white-space: nowrap; display: inline-block; }
/* 방명록 장: 아이패드에서 손으로 쓰기 좋게 크게 */
.gb-frame { margin-top: 12px; border: 3px solid var(--blue, #2550E6); border-radius: 18px; overflow: hidden; background: #5499D3; }
.gb-frame iframe { display: block; width: 100%; height: 620px; border: 0; }
@media (max-width: 720px) { .gb-frame iframe { height: 1100px; } }
