/* KOREA GLOW 발주 앱 — 대표님 11/16 «와인 화면처럼 매력적으로»: 크림 바탕 · 명조 제목 · 색 알약 단추 · 사진 위 유리 숫자 칸 · 번호 단계 · 색 블록
   동작 단추 4색 약속은 그대로(남색=앞으로 · 골드=홈 · 회색=뒤로 · 크림슨=경고). 꾸밈 알약만 여러 색 */
:root {
  --navy: #0D1B3E; --navy2: #1B2D5C; --gold: #C9923A; --gold2: #E2B866; --cream: #FBF1E3; --paper: #FBF7F0; --crim: #C8102E;
  --wine: #7A1F3D; --olive: #5E8B4E; --sky: #3E6E99; --terra: #B5573A; --plum: #8E3B5C; --ink: #1d1d22; --gray: #6b7385; --line: #e6dccb; --ok: #2E7D4F;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'Batang', serif; --latin: 'Cormorant Garamond', 'Noto Serif KR', serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
a { color: var(--sky); }
.hide { display: none !important; }

/* 머리 */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(251,247,240,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 10px 16px; }
header.top .brand { flex: 1; min-width: 0; font-family: var(--latin); font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--wine); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; }
header.top .brand small { display: block; font-family: 'Noto Sans KR', sans-serif; color: #7A5410; font-size: 14px; white-space: normal; font-weight: 700; letter-spacing: 1.5px; margin-top: 3px; }
.hbtn { background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; min-height: 44px; font-size: 14px; font-weight: 700; }
.lang { display: flex; gap: 4px; }
.lang button { background: transparent; border: 1px solid transparent; color: var(--ink); padding: 6px 11px; min-height: 44px; font-size: 14px; border-radius: 999px; }
.lang button i { display: none; font-style: normal; font-size: 14px; color: var(--gray); margin-right: 4px; font-weight: 700; }
.lang button.on { border-color: var(--gold); background: #fff; font-weight: 700; color: var(--wine); }

/* 탭 = 색 알약 */
nav.tabs { position: sticky; top: 63px; z-index: 19; display: flex; gap: 8px; overflow-x: auto; background: var(--paper); padding: 10px 16px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
nav.tabs::-webkit-scrollbar { display: none; }
nav.tabs button { flex: none; border: 0; padding: 9px 16px; border-radius: 999px; min-height: 42px; color: #fff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 7px; opacity: .55; transition: .15s; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
nav.tabs button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85); }
nav.tabs button.on { opacity: 1; transform: translateY(-1px); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px currentColor, 0 4px 12px rgba(0,0,0,.15); }
nav.tabs button[data-tab=order] { background: var(--wine); } nav.tabs button[data-tab=order].on { color: var(--wine); background: var(--wine); }
nav.tabs button[data-tab=log] { background: var(--gold); } nav.tabs button[data-tab=log].on { color: var(--gold); }
nav.tabs button[data-tab=ship] { background: var(--sky); } nav.tabs button[data-tab=ship].on { color: var(--sky); }
nav.tabs button[data-tab=users] { background: var(--olive); } nav.tabs button[data-tab=users].on { color: var(--olive); }
nav.tabs button.on { color: #fff !important; }

main { max-width: 1100px; margin: 0 auto; padding: 0 0 130px; }
.wrap { padding: 0 16px; }

/* 히어로 — 사진 + 짙은 덮개 + 유리 숫자 칸 */
.hero { position: relative; color: #fff; padding: 26px 18px 22px; overflow: hidden; background: linear-gradient(135deg, #2A1520, var(--wine) 60%, #3b1424); }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.1); opacity: .5; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,21,32,.35), rgba(42,21,32,.86)); }
.hero > * { position: relative; z-index: 1; }
.hero .kick { color: var(--gold2); font-size: 14px; font-weight: 700; letter-spacing: 2px; }
.hero h1 { font-family: var(--serif); font-size: 30px; line-height: 1.25; margin: 6px 0 8px; font-weight: 700; word-break: keep-all; }
.hero p { margin: 0 0 16px; color: rgba(255,255,255,.88); font-size: 15.5px; word-break: keep-all; }
.hero.navy { background: linear-gradient(135deg, #0a1430, var(--navy2)); }
.hero.navy::after { background: linear-gradient(180deg, rgba(10,20,48,.3), rgba(10,20,48,.85)); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); border-radius: 14px; padding: 12px 14px; backdrop-filter: blur(6px); }
.stat b { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold2); line-height: 1.15; }
.stat span { font-size: 14px; color: rgba(255,255,255,.9); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } .hero { padding: 40px 32px 30px; } .hero h1 { font-size: 38px; } }

/* 번호 단계 제목 */
.sec { display: flex; align-items: center; gap: 12px; margin: 26px 0 10px; }
.sec .n { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--sky); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.sec h2 { font-family: var(--serif); font-size: 22px; color: var(--wine); margin: 0; font-weight: 700; }
.sec.c2 .n { background: var(--gold); } .sec.c3 .n { background: var(--olive); } .sec.c4 .n { background: var(--wine); }
.sec p { margin: 0; }
h2 { font-family: var(--serif); font-size: 21px; color: var(--wine); margin: 18px 0 8px; }
.guide { background: #fff; border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 0 12px 12px 0; margin: 14px 0 12px; font-size: 15px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }

.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1; min-width: 0; }
input[type=text], input[type=password], input[type=number], input[type=search], select, textarea { border: 1.5px solid #dcd2c0; border-radius: 12px; padding: 9px 12px; min-height: 46px; background: #fff; width: 100%; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,146,58,.18); }
textarea { min-height: 72px; }
.sm { font-size: 14px; color: var(--gray); }

/* 거르기 알약 */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; background: #fff; border-radius: 999px; padding: 8px 15px; min-height: 42px; font-size: 14.5px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--gold)); }
.chip.on { background: var(--c, var(--wine)); color: #fff; }
.chip.on::before { background: rgba(255,255,255,.85); }
.chip:nth-child(1) { --c: var(--wine); } .chip:nth-child(2) { --c: var(--olive); } .chip:nth-child(3) { --c: var(--sky); }
.chip:nth-child(4) { --c: var(--crim); } .chip:nth-child(5) { --c: var(--gold); } .chip:nth-child(6) { --c: var(--navy); }

/* 동작 단추(4색 약속) */
.btn { border: 0; border-radius: 999px; padding: 10px 20px; min-height: 48px; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .1s; }
.btn:active { transform: scale(.97); }
.btn.go { background: linear-gradient(180deg, var(--navy2), var(--navy)); color: #fff; }
.btn.home { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #fff; }
.btn.back { background: #ece7de; color: #333; box-shadow: none; }
.btn.warn { background: var(--crim); color: #fff; }
.btn.line { background: #fff; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.btn.big { min-height: 58px; font-size: 18px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.wide { width: 100%; }
.tools { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 6px 0 4px; }
.tool { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; border: 0; text-align: left; box-shadow: 0 1px 4px rgba(0,0,0,.08); min-height: 64px; color: var(--ink); cursor: pointer; }
.tool .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; background: var(--terra); }
.tool b { display: block; font-size: 15.5px; color: var(--wine); }
.tool span { font-size: 14px; color: var(--gray); }
.tool.t2 .ic { background: var(--plum); }
@media (min-width: 720px) { .tools { grid-template-columns: 1fr 1fr; } }

/* 상품 카드 */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
.card { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(60,30,20,.08); transition: .15s; }
.card.on { box-shadow: 0 0 0 3px var(--wine), 0 6px 18px rgba(122,31,61,.25); }
.card .ph { aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 4px solid var(--gold); }
.card.on .ph { border-bottom-color: var(--wine); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph .no { color: #b9b0a0; font-size: 28px; }
.card .ph .tag { position: absolute; left: 8px; top: 8px; background: var(--sky); color: #fff; font-size: 14px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.card .ph .qb { position: absolute; right: 8px; top: 8px; background: var(--wine); color: #fff; font-weight: 700; border-radius: 999px; min-width: 32px; height: 32px; padding: 0 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.card .bd { padding: 10px 12px 4px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.card .nm { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .cost { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--wine); }
.card .cost.none { color: var(--crim); font-family: inherit; font-size: 14px; }
.step { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px 12px; }
.step button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #f1ebe0; color: var(--wine); font-size: 24px; font-weight: 700; line-height: 1; }
.step button.plus { background: var(--wine); color: #fff; box-shadow: 0 3px 8px rgba(122,31,61,.35); }
.step input { width: 56px; text-align: center; min-height: 44px; padding: 4px; font-weight: 700; font-size: 18px; border-radius: 12px; }

/* 떠 있는 바구니 막대 */
.bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; background: linear-gradient(135deg, #2A1520, var(--wine)); color: #fff; padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 10px; border-radius: 999px; box-shadow: 0 10px 30px rgba(42,21,32,.45); max-width: 760px; margin: 0 auto; }
.bar .sum { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.bar .sum b { color: var(--gold2); font-size: 19px; font-family: var(--serif); }

/* 바구니 = 짙은 판 */
.dark { background: linear-gradient(160deg, #2A1520, #4a1a2e); padding: 4px 16px 22px; margin-top: 24px; }
.dark .sec h2 { color: #fff; }
.dark .sec .n { background: var(--gold); }
.dark .sm { color: rgba(255,255,255,.75); }
.panel { background: #fff; border-radius: 18px; padding: 14px; margin: 10px 0; box-shadow: 0 2px 10px rgba(60,30,20,.08); }
.bl { display: grid; grid-template-columns: 60px 1fr; gap: 8px 12px; padding: 12px 0; border-bottom: 1px dashed #e7dfd0; }
.bl:last-of-type { border-bottom: 0; }
.bl img, .bl .nimg { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; background: #f6f1e8; }
.bl .nm { font-weight: 700; color: var(--ink); font-size: 15px; }
.bl .meta { font-size: 14px; color: var(--gray); }
.bl .ctrl { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bl .ctrl label { font-size: 14px; color: var(--gray); display: block; }
.bl .ctrl .sub { grid-column: 1 / -1; text-align: right; font-weight: 700; font-family: var(--serif); color: var(--wine); font-size: 17px; }
.bl .x { background: none; border: 0; color: var(--crim); font-size: 14px; padding: 6px 0; min-height: 40px; text-align: left; font-weight: 700; }
.tot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 17px; font-weight: 700; color: var(--ink); padding: 14px 0 4px; border-top: 2px solid var(--wine); margin-top: 6px; }
.tot span:last-child { font-family: var(--serif); font-size: 26px; color: var(--wine); }
.chk { font-size: 14.5px; padding: 9px 12px; border-radius: 12px; margin-top: 8px; }
.chk.ok { background: #e8f3ec; color: var(--ok); }
.chk.bad { background: #fde8eb; color: var(--crim); font-weight: 700; }
.radio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio label { border-radius: 16px; padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; min-height: 76px; background: #f6f1e8; font-weight: 700; cursor: pointer; border: 2px solid transparent; }
.radio label small { font-weight: 400; font-size: 14px; color: var(--gray); }
.radio label .e { font-size: 24px; }
.radio label.on { background: #fff; border-color: var(--wine); box-shadow: 0 4px 14px rgba(122,31,61,.18); color: var(--wine); }
.radio input { position: absolute; opacity: 0; pointer-events: none; }

/* 배 일정 = 색 블록 */
.sails { display: grid; gap: 8px; margin-top: 10px; }
.sail { display: block; text-align: left; border: 0; border-radius: 14px; padding: 11px 14px; color: #fff; background: var(--sky); min-height: 58px; box-shadow: 0 2px 8px rgba(0,0,0,.12); width: 100%; }
.sail small { display: block; font-size: 14px; opacity: .9; }
.sail b { font-size: 16px; }
.sail:nth-child(5n+2) { background: var(--olive); } .sail:nth-child(5n+3) { background: var(--gold); } .sail:nth-child(5n+4) { background: var(--plum); } .sail:nth-child(5n+5) { background: var(--terra); }
.sail.on { outline: 3px solid var(--wine); outline-offset: 2px; }
.sail.on b::after { content: '  ✓'; }
.sail.past { opacity: .45; }

.msg { padding: 10px 14px; border-radius: 12px; margin: 8px 0; font-size: 15px; }
.msg.err { background: #fde8eb; color: var(--crim); }
.msg.ok { background: #e8f3ec; color: var(--ok); }
.done { background: linear-gradient(135deg, #0f3b27, var(--ok)); color: #fff; border-radius: 20px; padding: 18px; margin: 16px 0; box-shadow: 0 8px 24px rgba(46,125,79,.3); }
.done .sm { color: rgba(255,255,255,.85); }
.done .big { font-family: var(--serif); font-size: 28px; font-weight: 700; color: #fff; }
.done .chk.ok { background: rgba(255,255,255,.15); color: #fff; }

/* 상태 알약 */
.st { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px; font-size: 14px; font-weight: 700; background: #ece7de; color: #333; white-space: nowrap; }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.confirmed { background: #fff1d6; color: #8a5a00; }
.st.seen, .st.buying { background: #e3ebf7; color: var(--sky); }
.st.bought { background: #e8f3ec; color: var(--ok); }
.st.shipped, .st.arrived { background: var(--navy); color: #fff; }
.st.cancel { background: #fde8eb; color: var(--crim); }
.po { background: #fff; border-radius: 18px; padding: 14px 16px; margin: 10px 0; box-shadow: 0 2px 10px rgba(60,30,20,.08); border-left: 6px solid var(--gold); }
.po.s-seen, .po.s-buying { border-left-color: var(--sky); } .po.s-bought { border-left-color: var(--ok); } .po.s-shipped, .po.s-arrived { border-left-color: var(--navy); } .po.s-cancel { border-left-color: var(--crim); opacity: .75; }
.po .h { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.po .no { font-family: var(--serif); font-weight: 700; color: var(--wine); font-size: 20px; }
.po .amt { font-family: var(--serif); font-weight: 700; color: var(--wine); font-size: 18px; }
.po .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.po .acts .btn { min-height: 44px; padding: 8px 16px; font-size: 14.5px; }
.prog { height: 8px; background: #efe8dc; border-radius: 99px; overflow: hidden; margin: 8px 0 2px; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--olive), var(--ok)); border-radius: 99px; }
.ev { font-size: 14px; color: #444; border-left: 3px solid var(--gold); padding: 3px 0 3px 10px; margin: 5px 0; }
table.t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
table.t th { background: var(--navy); color: #fff; padding: 8px; text-align: left; }
table.t td { padding: 8px; border-bottom: 1px solid #f0e9dd; }
table.t tr:nth-child(even) td { background: var(--cream); }
.r { text-align: right; }

/* 로그인 */
.login-wrap { min-height: calc(100vh - 64px); background: linear-gradient(160deg, #2A1520, var(--wine) 55%, #3b1424); padding: 34px 16px; }
.login-wrap .kick { color: var(--gold2); font-weight: 700; letter-spacing: 2px; font-size: 14px; text-align: center; }
.login-wrap h1.big { font-family: var(--serif); color: #fff; text-align: center; font-size: 30px; margin: 6px 0 20px; word-break: keep-all; }
.login { max-width: 400px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.login h1 { font-family: var(--serif); font-size: 21px; color: var(--wine); margin: 0 0 4px; }
.login p { color: var(--gray); margin: 0 0 14px; font-size: 15px; }
.login .f { margin-bottom: 12px; }
.login label { font-size: 15px; color: #444; display: flex; align-items: flex-end; min-height: 44px; padding-bottom: 4px; font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: #2A1520; color: #fff; padding: 11px 18px; border-radius: 999px; z-index: 50; font-size: 15px; max-width: 90vw; box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* 분류 타일 */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 4px; }
@media (max-width: 359px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { border: 0; border-radius: 18px; background: var(--c); color: #fff; padding: 14px 6px 12px; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 3px 10px rgba(0,0,0,.14); text-align: center; transition: transform .1s; }
.tile:active { transform: scale(.96); }
.tile .ti { font-size: 30px; line-height: 1.1; }
.tile b { font-size: 15px; line-height: 1.25; word-break: keep-all; }
.tile span:last-child { font-size: 14px; opacity: .92; }
.tile.light { background: #fff; color: var(--ink); border-top: 6px solid var(--c); }
.tile.light span:last-child { color: var(--gray); }
.sub-h { font-weight: 700; color: var(--gray); margin: 18px 0 2px; font-size: 15px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 6px; }
.crumb button { border: 0; background: #fff; border-radius: 999px; padding: 8px 14px; min-height: 44px; font-weight: 700; color: var(--wine); box-shadow: 0 1px 4px rgba(0,0,0,.08); font-size: 15px; }
.crumb button:last-child { background: var(--wine); color: #fff; }
.crumb span { color: var(--gray); }
#q { margin-top: 4px; }
.tool.t3 .ic { background: var(--sky); }
a.tool { text-decoration: none; }
.preview { position: sticky; top: 63px; z-index: 18; background: var(--gold); color: #fff; font-weight: 700; padding: 10px 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.preview .btn { min-height: 44px; background: #fff; color: var(--wine); padding: 6px 14px; font-size: 15px; }
.fun { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.fun div { background: var(--cream); border-radius: 12px; padding: 10px; text-align: center; }
.fun b { display: block; font-family: var(--serif); font-size: 22px; color: var(--wine); }
.fun span { font-size: 14px; color: var(--gray); }

/* 메가리안 줄 */
.mline { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #e7dfd0; align-items: start; }
.mline img, .mline .nimg { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: #f6f1e8; }
.mline .nm { font-weight: 700; color: var(--ink); }
.mline .meta { font-size: 14px; color: #555; }
.mline label.buy { display: flex; align-items: center; gap: 10px; margin-top: 8px; min-height: 46px; font-weight: 700; border-radius: 999px; padding: 6px 16px; background: #f1ebe0; color: var(--wine); cursor: pointer; }
.mline label.buy.on { background: var(--ok); color: #fff; }
.mline input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--ok); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; }
@media (max-width: 480px) { header.top { padding: 8px 10px; gap: 4px; } header.top .brand { font-size: 18px; letter-spacing: 1px; } .lang button { padding: 6px 8px; } .hbtn { padding: 6px 10px; } }
@media (min-width: 720px) {
  .bl { grid-template-columns: 64px 1fr 320px; align-items: center; }
  .bl img, .bl .nimg { width: 64px; height: 64px; }
  .bl .ctrl { grid-column: auto; grid-template-columns: 1fr 1fr 1fr; }
  .bl .ctrl .sub { grid-column: auto; align-self: end; }
  .wrap { padding: 0 24px; } .dark { padding: 4px 24px 26px; border-radius: 24px; margin: 24px 16px 0; }
}
