@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap");
:root {
  font-family: "Noto Sans KR", sans-serif;
  color: #071c4b;
  background: #f2f5fb;
  font-synthesis: none;
  --blue: #123dff;
  --navy: #071c4b;
  --yellow: #ffdf22;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 20px;
  color: var(--navy);
  background: #e9eef9;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
:focus-visible {
  outline: 4px solid #e19c00;
  outline-offset: 4px;
}
a {
  color: #1236c9;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.3;
  letter-spacing: -2px;
}
h2 {
  font-size: 26px;
  letter-spacing: -1px;
}
.demo {
  background: var(--yellow);
  text-align: center;
  font-size: 12px;
  padding: 8px;
  font-weight: 700;
}
header {
  max-width: 1120px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 22px 28px;
}
.brand {
  background: none;
  padding: 0;
  font-size: 26px;
  font-weight: 900;
  white-space: nowrap;
}
.brand > span:first-child {
  font-size: 38px;
  color: var(--blue);
}
.dot {
  color: var(--blue);
  font-size: 12px;
  margin-left: 5px;
}
nav {
  display: flex;
  gap: 6px;
}
nav button {
  background: transparent;
  font-size: 14px;
  padding: 10px;
}
nav b {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  min-width: 24px;
  height: 24px;
}
main {
  max-width: 1064px;
  margin: 10px auto 48px;
  min-height: 55vh;
}
.hero {
  background: var(--navy);
  border-radius: 28px;
  padding: 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow {
  color: var(--yellow);
}
.eyebrow {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.hero p {
  color: #dce5fc;
  line-height: 1.8;
}
.hero h1 {
  max-width: 700px;
}
.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}
.mode {
  display: flex;
  align-items: center;
  text-align: left;
  justify-content: space-between;
  border-radius: 20px;
  padding: 28px;
  background: var(--blue);
  color: white;
  min-height: 140px;
  font-size: 24px;
}
.mode small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}
.mode.voice {
  background: var(--yellow);
  color: var(--navy);
}
.intro-note {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 28px 0;
  flex-wrap: wrap;
}
.intro-note p {
  margin: 0;
  color: #435272;
}
.pill {
  display: inline-block;
  background: #e7edff;
  color: #1232c9;
  border-radius: 30px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
}
.shop-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.shop-title h1 {
  font-size: 38px;
  margin: 8px 0;
}
.primary {
  background: var(--blue);
  color: white;
}
.yellow {
  background: var(--yellow);
}
.secondary {
  background: white;
  border: 1.5px solid #b9c7e3;
}
.wide {
  width: 100%;
}
.voicebar {
  background: var(--navy);
  color: white;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.voicebar p {
  margin: 0;
  flex: 1;
  font-size: 14px;
}
.voicebar button {
  background: var(--yellow);
}
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product {
  background: white;
  border: 1px solid #dbe2f1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.art {
  height: 180px;
  background: #e8efff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 85px;
}
.art.food {
  background: #ffedda;
}
.art small {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  color: #5d6780;
}
.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product h2 {
  font-size: 19px;
  margin: 12px 0 6px;
}
.muted {
  color: #53617b;
  line-height: 1.7;
  font-size: 14px;
}
.price {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 8px 0 16px;
  color: var(--blue);
}
.product .buttons {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.empty-card {
  border: 1px dashed #b9c6df;
  border-radius: 20px;
  padding: 25px;
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 300px;
}
.empty-card span {
  font-size: 32px;
}
.panel {
  background: white;
  padding: 32px;
  border: 1px solid #dbe2f1;
  border-radius: 22px;
  max-width: 760px;
  margin: 20px auto;
}
.panel h1 {
  font-size: 32px;
}
.panel p {
  line-height: 1.7;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 6px;
}
input,
select,
#ship-zones {
  width: 100%;
  border: 1px solid #9daecc;
  border-radius: 10px;
  min-height: 48px;
  padding: 12px;
  background: white;
  color: var(--navy);
}
.stack {
  display: grid;
  gap: 12px;
}
.divider {
  border-top: 1px solid #dbe2f1;
  margin: 24px 0;
}
.line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
}
.line strong {
  font-size: 18px;
}
.qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty button {
  padding: 8px 15px;
}
.qty input {
  width: 78px;
  text-align: center;
}
.total {
  font-size: 28px;
  font-weight: 900;
  color: var(--blue);
}
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pay-grid button {
  text-align: left;
  padding: 24px;
}
.pay-grid small {
  display: block;
  margin-top: 10px;
  font-weight: 400;
}
.hint {
  background: #edf2ff;
  padding: 16px;
  border-radius: 12px;
  line-height: 1.7;
  font-size: 14px;
  margin: 18px 0;
}
.success {
  text-align: center;
  padding: 20px;
}
.success .tick {
  font-size: 64px;
  color: var(--blue);
}
footer {
  border-top: 1px solid #dae2f1;
  padding: 30px max(24px, calc((100vw - 1064px) / 2));
  font-size: 13px;
  color: #485773;
  background: #eaf0fa;
}
footer strong {
  font-size: 17px;
  color: var(--navy);
}
footer p {
  margin: 12px 0;
}
dialog {
  border: 0;
  border-radius: 22px;
  max-width: 600px;
  width: calc(100% - 32px);
  padding: 32px;
  color: var(--navy);
}
dialog::backdrop {
  background: #071c4bad;
}
.close {
  float: right;
  background: #edf2ff;
  font-size: 24px;
  padding: 4px 16px;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 10px;
  background: white;
  padding: 16px;
  z-index: 10;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 16px 24px;
  max-width: 90%;
  z-index: 20;
  display: none;
}
.admin-list {
  margin-top: 24px;
}
.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e0e6f0;
  padding: 14px 0;
}
.danger {
  color: #a41726;
}
.step {
  font-size: 12px;
  font-weight: 700;
  color: #53617b;
  margin: 0 0 20px;
}
.back {
  margin: 12px 0;
}
.readout {
  border-left: 4px solid var(--blue);
  padding: 12px 18px;
  background: #edf2ff;
  margin: 18px 0;
  line-height: 1.8;
}
.hidden {
  display: none !important;
}
@media (max-width: 900px) {
  main {
    margin: 0 24px 36px;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .empty-card {
    display: none;
  }
}
@media (max-width: 540px) {
  header {
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 23px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
  }
  nav button {
    padding: 6px 10px;
    font-size: 13px;
  }
  main {
    margin: 0 14px 28px;
  }
  .hero {
    padding: 30px 22px;
    border-radius: 22px;
  }
  .mode-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .mode {
    min-height: 105px;
    padding: 22px;
    font-size: 22px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .intro-note {
    gap: 12px;
    font-size: 13px;
  }
  .shop-title h1 {
    font-size: 28px;
  }
  .products {
    gap: 10px;
  }
  .art {
    height: 120px;
    font-size: 62px;
  }
  .product-body {
    padding: 12px;
  }
  .product h2 {
    font-size: 16px;
  }
  .price {
    font-size: 22px;
    margin: 6px 0 12px;
  }
  .product button {
    font-size: 14px;
    padding: 10px 6px;
  }
  .product .muted {
    font-size: 12px;
  }
  .pill {
    font-size: 10px;
    padding: 5px 8px;
  }
  .voicebar {
    padding: 14px;
    flex-wrap: wrap;
  }
  .voicebar p {
    flex-basis: 100%;
  }
  .voicebar button {
    flex: 1;
  }
  .panel {
    padding: 22px 18px;
  }
  .form-grid,
  .pay-grid {
    grid-template-columns: 1fr;
  }
  .line {
    flex-wrap: wrap;
  }
  .panel h1 {
    font-size: 27px;
  }
  .qty input {
    width: 65px;
  }
  .total {
    font-size: 26px;
  }
  dialog {
    padding: 24px 20px;
  }
}

.welcome {
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.welcome h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 64px);
}
.welcome .welcome-tagline {
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
  color: white;
}
.welcome-enter {
  margin-top: 24px;
  min-height: 64px;
  width: min(100%, 320px);
  font-size: 24px;
}

.access-modes {
  border: 0;
  padding: 0;
  margin: 8px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.access-modes legend {
  width: 100%;
  margin-bottom: 14px;
  font-size: 18px;
}
.access-modes button {
  min-height: 64px;
  font-size: 20px;
}
.access-modes button[aria-pressed="true"] {
  background: #ffdf22;
  color: #071c4b;
  outline: 3px solid white;
  outline-offset: 3px;
}
.hero .mode-note {
  font-size: 14px;
  margin: 0;
  max-width: 500px;
}
.welcome {
  gap: 18px;
}
nav {
  flex-wrap: wrap;
}
.warn {
  background: #fff1f1;
  color: #a41726;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  margin: 4px 0 12px;
  font-size: 14px;
}
.admin-item .buttons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.admin-item .buttons button {
  white-space: nowrap;
  padding: 12px 16px;
}
.admin-link {
  background: none;
  min-height: 44px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: #435272;
  text-decoration: underline;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.admin-top h1 {
  margin-bottom: 12px;
}
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 24px;
  border-bottom: 1px solid #e0e6f0;
  padding-bottom: 12px;
}
.admin-tabs button {
  background: #eef2fa;
  font-size: 15px;
  padding: 10px 14px;
}
.admin-tabs button.on {
  background: var(--navy);
  color: white;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.stat {
  background: #f4f7fd;
  border-radius: 14px;
  padding: 16px;
}
.stat span {
  display: block;
  font-size: 13px;
  color: #435272;
  margin-bottom: 6px;
}
.stat strong {
  font-size: 22px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 15px;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e0e6f0;
  vertical-align: top;
}
.admin-table thead th {
  font-size: 13px;
  color: #435272;
}
.admin-table td {
  white-space: nowrap;
}
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.order-card {
  border: 1.5px solid #dbe3f2;
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
}
.order-card p {
  margin: 6px 0;
}
.order-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.order-card.status-cancelled {
  opacity: 0.6;
}
.order-card.status-done {
  background: #f6fbf6;
}
.pill.off {
  background: #fde8ea;
  color: #a41726;
}
@media (max-width: 700px) {
  .admin-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat strong {
    font-size: 19px;
  }
  .admin-item {
    flex-wrap: wrap;
  }
}
.likes {
  color: #e0245e;
  font-weight: 800;
  font-size: 17px;
  margin: 4px 0 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.review-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.review-item {
  border: 1.5px solid #dbe3f2;
  border-radius: 16px;
  overflow: hidden;
  background: white;
}
.review-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: white;
  border-radius: 0;
  padding: 14px 16px;
}
.thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 12px;
  background: #eef2fa;
  font-size: 30px;
}
.review-sum {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  font-weight: 500;
  font-size: 14px;
  color: #435272;
}
.review-sum strong {
  font-size: 17px;
  color: var(--navy);
}
.review-sum small {
  font-size: 13px;
}
.stars {
  color: #f5a400;
  letter-spacing: 1px;
}
.chev {
  font-size: 18px;
  color: #435272;
}
.thread {
  border-top: 1px solid #e0e6f0;
  padding: 14px 16px;
  background: #f7f9fd;
}
.chat {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
}
.msg .bubble {
  background: white;
  border: 1px solid #e0e6f0;
  border-radius: 4px 16px 16px 16px;
  padding: 10px 14px;
  max-width: 88%;
}
.msg p {
  margin: 0;
}
.msg-head {
  font-size: 14px;
}
.msg-text {
  margin: 4px 0 !important;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg-meta {
  font-size: 12px;
  color: #6a7894;
}
.quote {
  font-size: 12px;
  color: #6a7894;
  border-left: 3px solid #c9d4ea;
  padding-left: 8px;
  margin-bottom: 6px !important;
}
.empty-chat {
  padding: 8px 0;
}
button.link {
  background: none;
  min-height: 32px;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1236c9;
}
button.link.danger {
  color: #a41726;
}
.rate {
  border: 0;
  padding: 0;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.rate legend {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  padding: 0;
}
.rate button {
  background: none;
  font-size: 30px;
  color: #f5a400;
  min-height: 48px;
  min-width: 44px;
  padding: 0 4px;
}
.replying {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}
.send {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.send textarea {
  flex: 1;
  font: inherit;
  border: 1.5px solid #b9c7e3;
  border-radius: 12px;
  padding: 10px 12px;
  resize: vertical;
  min-height: 48px;
}
.send button {
  flex: none;
}
#ship-zones {
  font: inherit;
  resize: vertical;
}
.ship-result,
.sim-result {
  background: #eef6ff;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.sim-result p {
  margin: 0;
}
.sim-zone {
  border: 0;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.sim-zone legend {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.sim-zone label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
}
.sim-zone input {
  width: auto;
  min-height: 24px;
}
.backup-btn {
  font-size: 20px;
  min-height: 60px;
  margin: 8px 0 4px;
}
.faq {
  margin-bottom: 28px;
}
.faq h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.faq details {
  border-top: 1px solid #d6deee;
  padding: 4px 0;
}
.faq details:last-of-type {
  border-bottom: 1px solid #d6deee;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style-position: inside;
}
.faq details p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: #435272;
}
.made-by{font-size:14px;color:#435272;margin:14px 0 0}.made-by a{font-weight:700}
