:root {
  --gold: #b29970;
  --ink: #141414;
  --muted: #8B8B8F;
  --panel: #F8F8F7;
  --hairline: rgba(20, 20, 20, 0.06);
  --header-height: 92px;
  --side-width: 92px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

button {
  border: 0;
  font: inherit;
}

.wechat-required-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: max(58px, env(safe-area-inset-top)) 28px 36px;
  background: #fff;
}

.wechat-required-panel {
  position: relative;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.wechat-required-logo {
  display: block;
  width: min(58vw, 220px);
  height: auto;
  margin: 0 auto 42px;
}

.wechat-required-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  background: rgba(178, 153, 112, 0.12);
  border: 1px solid rgba(178, 153, 112, 0.28);
  border-radius: 50%;
}

.wechat-required-mark span {
  position: relative;
  display: block;
  width: 34px;
  height: 24px;
  border: 3px solid var(--gold);
  border-radius: 14px;
}

.wechat-required-mark span::before,
.wechat-required-mark span::after {
  position: absolute;
  content: "";
  background: var(--gold);
}

.wechat-required-mark span::before {
  left: 6px;
  bottom: -9px;
  width: 10px;
  height: 10px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.wechat-required-mark span::after {
  right: -14px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: -18px 0 0 var(--gold);
}

.wechat-required-panel h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 22px;
  font-weight: normal;
  line-height: 1.35;
}

.wechat-required-panel p {
  margin: 0;
  color: #777;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.wechat-required-body.has-latest-pickup .wechat-required-page {
  padding-bottom: 36px;
}

.wechat-required-body.is-pickup-code .placed-screen {
  transform: translateX(-50%);
}

.wechat-required-body.is-pickup-code .latest-pickup-bar {
  display: none;
}

.wechat-required-panel .latest-pickup-bar {
  position: static;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 26px auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.wechat-required-panel .latest-pickup-button {
  width: min(100%, 216px);
  height: 46px;
  padding: 0 22px;
  color: #111;
  font-size: 16px;
  font-weight: normal;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 999px;
}

.wechat-required-panel .latest-pickup-button:active {
  background: #F3F3F2;
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  min-height: 620px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.phone-shell.is-detail-open .app-header,
.phone-shell.is-detail-open .menu-layout {
  transform: translateX(calc(-50% - 100vw));
}

.phone-shell.is-detail-open .detail-screen {
  transform: translateX(-50%);
}

.phone-shell.is-order-placed .app-header,
.phone-shell.is-order-placed .menu-layout {
  transform: translateX(calc(-50% - 200vw));
}

.phone-shell.is-order-placed .detail-screen {
  transform: translateX(calc(-50% - 100vw));
}

.phone-shell.is-order-placed .placed-screen {
  transform: translateX(-50%);
}

.phone-shell.is-order-placed .latest-pickup-bar {
  display: none;
}

.phone-shell.is-pickup-code .app-header,
.phone-shell.is-pickup-code .menu-layout {
  transform: translateX(calc(-50% - 300vw));
}

.phone-shell.is-pickup-code .detail-screen {
  transform: translateX(calc(-50% - 200vw));
}

.phone-shell.is-pickup-code .placed-screen {
  transform: translateX(calc(-50% - 100vw));
}

.phone-shell.is-pickup-code .order-screen {
  transform: translateX(-50%);
}

.app-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: 100%;
  max-width: 480px;
  height: var(--header-height);
  transform: translateX(-50%);
  background: #fff;
  border-bottom: 3px solid var(--gold);
  transition: transform 0.34s ease;
}

.brand-row {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 4px 8px 0 18px;
}

.brand-logo {
  display: block;
  width: min(60vw, 250px);
  height: auto;
  object-fit: contain;
}

.store-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 24px;
}

.store-row h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  font-weight: normal;
  line-height: 1;
}

.language {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: #8D8D8F;
  font-size: 14px;
  line-height: 1;
}

.language button {
  padding: 0;
  color: #8D8D8F;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  background: transparent;
  cursor: pointer;
}

.language button.is-active {
  color: #111;
  font-size: 16px;
  font-weight: normal;
}

.menu-layout {
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 50%;
  display: flex;
  width: 100%;
  max-width: 480px;
  transform: translateX(-50%);
  background: var(--panel);
  transition: transform 0.34s ease;
}

.category-pane {
  flex: 0 0 var(--side-width);
  width: var(--side-width);
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.category-list {
  height: 100%;
  padding: 14px 0 28px;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-list::-webkit-scrollbar,
.product-pane::-webkit-scrollbar {
  display: none;
}

.category-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 9px 8px 9px 12px;
  color: #7D7D80;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.28;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.category-button::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 25px;
  content: "";
  background: transparent;
  border-radius: 0 3px 3px 0;
  transform: translateY(-50%);
}

.category-button.is-active {
  color: var(--gold);
  background: transparent;
}

.category-button.is-active::before {
  background: var(--gold);
}

.product-pane {
  flex: 1;
  height: 100%;
  padding: 8px 8px 34px 10px;
  overflow-y: auto;
  background: var(--panel);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.product-list {
  min-height: 100%;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: var(--muted);
  font-size: 15px;
}

.product-section {
  margin-bottom: 10px;
  padding: 16px 0 0;
  background: #fff;
  border-radius: 12px 12px 0 0;
}

.section-title {
  margin: 0;
  padding: 0 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
}

.section-title::after {
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 14px;
  content: "";
  background: var(--gold);
  border-radius: 2px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: start;
  min-height: 112px;
  padding: 12px 10px 12px 12px;
  background: #fff;
  border-bottom: 1px solid var(--hairline);
}

.product-card:last-child {
  border-bottom: 0;
}

.product-photo {
  position: relative;
  align-self: center;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  overflow: hidden;
  background: #E9DECE;
  border-radius: 50%;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drink {
  position: relative;
  width: 44px;
  height: 76px;
  background:
    radial-gradient(circle at 56% 18%, rgba(255, 255, 255, 0.55) 0 4px, transparent 5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 18% 78%, rgba(255, 255, 255, 0.28)),
    linear-gradient(180deg, var(--drink-start), var(--drink-end));
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 17px 17px 13px 13px;
  box-shadow:
    inset -5px 0 12px rgba(255, 255, 255, 0.28),
    inset 4px 0 10px rgba(0, 0, 0, 0.06),
    0 8px 14px rgba(105, 83, 54, 0.16);
}

.drink::before {
  position: absolute;
  left: 3px;
  right: 3px;
  top: -4px;
  height: 14px;
  content: "";
  background:
    radial-gradient(circle at 28% 45%, rgba(255, 255, 255, 0.7) 0 3px, transparent 4px),
    radial-gradient(circle at 58% 42%, rgba(255, 255, 255, 0.45) 0 4px, transparent 5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 72%),
    linear-gradient(90deg, var(--drink-start), var(--drink-end));
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  box-shadow: inset 0 1px 3px rgba(94, 57, 20, 0.14);
}

.drink::after {
  position: absolute;
  left: 10px;
  top: 11px;
  width: 9px;
  height: 54px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05));
  border-radius: 999px;
}

.drink-piece {
  position: absolute;
  width: 9px;
  height: 17px;
  background: var(--piece-color, rgba(255, 255, 255, 0.45));
  border-radius: 7px;
  opacity: 0.5;
  transform: rotate(-12deg);
}

.drink-piece:nth-child(2) {
  right: 9px;
  top: 22px;
}

.drink-piece:nth-child(3) {
  right: 12px;
  bottom: 20px;
  transform: rotate(18deg);
}

.drink-piece:nth-child(4) {
  left: 13px;
  bottom: 15px;
  transform: rotate(-28deg);
}

.product-info {
  align-self: stretch;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.product-name {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.16;
}

.product-en {
  margin: 0;
  overflow: hidden;
  color: #8D8D8F;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-tag {
  align-self: flex-start;
  max-width: 100%;
  margin-top: 8px;
  padding: 3px 10px 4px;
  overflow: hidden;
  color: var(--gold);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #F7F3EC;
  border-radius: 999px;
}

.price-row {
  display: flex;
  align-items: baseline;
  min-height: 24px;
  margin-top: 10px;
}

.price {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.price.is-sale {
  color: #FF1717;
}

.original-price {
  margin-left: 6px;
  color: #8D8D8F;
  font-size: 13px;
  font-weight: 300;
  text-decoration: line-through;
}

.cart-button {
  align-self: center;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
}

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

.detail-screen {
  position: fixed;
  inset: 0 auto 0 50%;
  z-index: 40;
  display: flex;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  transform: translateX(calc(-50% + 100vw));
  transition: transform 0.34s ease;
}

.placed-screen,
.order-screen {
  position: fixed;
  inset: 0 auto 0 50%;
  display: flex;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  overflow: hidden;
  flex-direction: column;
  background: #F7F7F6;
  transform: translateX(calc(-50% + 100vw));
  transition: transform 0.34s ease;
}

.placed-screen {
  z-index: 55;
}

.order-screen {
  z-index: 60;
}

.detail-back {
  position: absolute;
  top: 26px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  cursor: pointer;
}

.detail-back span {
  width: 14px;
  height: 14px;
  border: solid rgba(20, 20, 20, 0.72);
  border-width: 0 0 3px 3px;
  transform: translateX(3px) rotate(45deg);
}

.detail-scroll {
  height: 100%;
  overflow-y: auto;
  padding-bottom: 184px;
  background: #fff;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.detail-scroll::-webkit-scrollbar {
  display: none;
}

.detail-hero {
  position: relative;
  height: min(46vh, 360px);
  min-height: 292px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.45), transparent 20%),
    linear-gradient(145deg, rgba(70, 66, 61, 0.78), rgba(158, 149, 135, 0.48) 48%, rgba(230, 228, 221, 0.75)),
    repeating-linear-gradient(98deg, #73685d 0 22px, #8b8175 22px 44px);
}

.detail-hero.has-image {
  background: #EEE;
}

.detail-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 78%, rgba(46, 34, 24, 0.34), transparent 30%),
    linear-gradient(160deg, transparent 0 54%, rgba(255, 255, 255, 0.62) 55% 100%);
}

.detail-hero.has-image::before {
  display: none;
}

.detail-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero.has-image .detail-hero-image {
  display: block;
}

.detail-hero.has-image .detail-board,
.detail-hero.has-image .detail-big-drink {
  display: none;
}

.detail-board {
  position: absolute;
  left: -9%;
  right: -9%;
  bottom: -34px;
  height: 128px;
  background:
    linear-gradient(7deg, rgba(96, 55, 23, 0.16), transparent 40%),
    repeating-linear-gradient(5deg, #d7a864 0 30px, #efc986 30px 63px);
  border-radius: 6px;
  box-shadow: 0 -18px 36px rgba(55, 37, 22, 0.2);
  transform: rotate(-9deg);
}

.detail-big-drink {
  --detail-start: #d8b06f;
  --detail-end: #8b5a2e;
  position: absolute;
  left: 50%;
  bottom: 46px;
  width: 128px;
  height: 210px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52), transparent 22% 78%, rgba(255, 255, 255, 0.36)),
    linear-gradient(180deg, #fff 0 24%, var(--detail-start) 25% 64%, rgba(255, 255, 255, 0.92) 91%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 45px 45px 26px 26px;
  box-shadow:
    inset 8px 0 14px rgba(255, 255, 255, 0.38),
    inset -8px 0 18px rgba(82, 53, 31, 0.18),
    0 20px 34px rgba(55, 36, 20, 0.28);
  transform: translateX(-50%);
}

.detail-foam {
  position: absolute;
  inset: 0 0 auto;
  height: 58px;
  background:
    radial-gradient(circle at 35% 70%, rgba(255, 255, 255, 0.98) 0 16px, transparent 17px),
    radial-gradient(circle at 58% 74%, rgba(255, 255, 255, 0.96) 0 20px, transparent 21px),
    linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.9));
  border-radius: 50%;
}

.detail-liquid {
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  height: 92px;
  background:
    radial-gradient(circle at 35% 38%, rgba(255, 255, 255, 0.16) 0 16px, transparent 17px),
    radial-gradient(circle at 63% 66%, rgba(92, 51, 24, 0.26) 0 22px, transparent 23px),
    linear-gradient(135deg, rgba(255, 235, 175, 0.32), var(--detail-end));
  opacity: 0.9;
}

.detail-milk {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), #fff);
}

.detail-pager {
  position: absolute;
  left: 50%;
  bottom: 13px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.detail-pager span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}

.detail-pager .is-active {
  width: 20px;
  background: #fff;
}

.detail-summary,
.detail-options,
.detail-description {
  padding: 22px 18px;
  background: #fff;
}

.detail-summary {
  min-height: 164px;
}

.detail-summary h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.12;
}

.detail-summary p {
  margin: 0;
  color: #8D8D8F;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
}

.detail-tag {
  display: inline-flex;
  margin-top: 18px;
  padding: 5px 10px 6px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  background: #F7F3EC;
  border-radius: 999px;
}

.detail-base-price {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.detail-options {
  border-top: 12px solid #F7F7F6;
}

.detail-options.is-empty {
  display: none;
}

.option-group + .option-group {
  margin-top: 28px;
}

.option-group h3,
.detail-description h3 {
  margin: 0 0 14px;
  color: #777;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.option-button {
  min-height: 34px;
  padding: 6px 12px;
  color: #111;
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  background: #fff;
  border: 1px solid #DDD;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.option-button span {
  color: var(--gold);
}

.option-button.is-selected {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.option-button.is-selected span {
  color: #fff;
}

.detail-description {
  border-top: 12px solid #F7F7F6;
}

.detail-description h3 {
  color: #111;
}

.detail-description p {
  margin: 0;
  color: #777;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
}

.detail-description p + p {
  margin-top: 4px;
}

.detail-description-body {
  color: #777;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
}

.detail-description-body:empty::before {
  content: "暂无商品详情";
}

.detail-description-body p {
  margin: 0;
}

.detail-description-body p + p {
  margin-top: 4px;
}

.detail-description-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}

.detail-order-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  padding: 16px 18px 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.detail-total strong {
  display: block;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

.detail-selections {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 9px;
}

.detail-selections span {
  padding: 4px 9px 5px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  background: #F7F3EC;
  border-radius: 999px;
}

.detail-quantity {
  display: flex;
  align-items: center;
  gap: 18px;
  align-self: center;
  font-size: 22px;
  font-weight: 300;
}

.quantity-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 25px;
  font-weight: 300;
  line-height: 28px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
}

.quantity-button:first-of-type {
  padding-bottom: 3px;
}

.quantity-button:last-of-type {
  padding-bottom: 2px;
}

.quantity-button:disabled {
  color: rgba(255, 255, 255, 0.72);
  background: #D3C7B5;
  cursor: default;
}

.detail-cart-submit {
  grid-column: 1 / -1;
  height: 54px;
  color: #111;
  font-size: 20px;
  font-weight: normal;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
}

.detail-cart-submit:disabled {
  color: #777;
  background: #F5F2EC;
  cursor: default;
}

.phone-shell.has-latest-pickup .product-pane {
  padding-bottom: 86px;
}

.phone-shell.has-latest-pickup .category-list {
  padding-bottom: 86px;
}

.latest-pickup-bar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  min-height: 66px;
  padding: 10px 24px max(12px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #E6E6E6;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.05);
  transform: translateX(-50%);
}

.latest-pickup-bar[aria-hidden="true"] {
  display: none;
}

.latest-pickup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 148px;
  height: 40px;
  padding: 0 22px;
  color: #111;
  font-size: 16px;
  font-weight: normal;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.latest-pickup-button:active {
  background: #F3F3F2;
  border-radius: 999px;
}

.latest-pickup-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.latest-pickup-button:disabled {
  color: #777;
  cursor: default;
}

.latest-pickup-button:disabled .latest-pickup-icon {
  opacity: 0.58;
}

.confirm-layer {
  position: fixed;
  inset: 0 auto 0 50%;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  background: rgba(20, 20, 20, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
}

.confirm-layer[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.confirm-panel {
  width: 100%;
  max-width: 340px;
  padding: 26px 22px 20px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.confirm-panel h2 {
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: normal;
  line-height: 1.25;
}

.confirm-panel p {
  margin: 12px auto 24px;
  color: #777;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.confirm-button {
  height: 48px;
  font-size: 18px;
  font-weight: normal;
  border-radius: 999px;
  cursor: pointer;
}

.confirm-button.is-secondary {
  color: #777;
  background: #F7F7F6;
  border: 1px solid #E2E2E2;
}

.confirm-button.is-primary {
  color: #111;
  background: #fff;
  border: 1px solid var(--gold);
}

.placed-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 100%;
  padding: 28px 28px 46px;
  flex-direction: column;
  text-align: center;
}

.flow-logo-row {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 34px;
}

.flow-logo {
  display: block;
  width: min(60vw, 250px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.placed-content h2 {
  margin: 0;
  color: #111;
  font-size: 26px;
  font-weight: normal;
  line-height: 1.2;
}

.placed-content p {
  max-width: 280px;
  margin: 12px 0 28px;
  color: #8D8D8F;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

.placed-card {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 34px;
  text-align: left;
}

.placed-card .order-meta {
  grid-template-columns: minmax(0, 1fr);
}

.placed-card .order-meta > div:last-child {
  text-align: left;
}

.placed-content .placed-card-message {
  max-width: none;
  margin: 14px 0 0;
  text-align: center;
}

.placed-card .placed-pickup-code {
  color: #3f3328;
}

.order-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 28px 28px 48px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.order-scroll::-webkit-scrollbar {
  display: none;
}

.pickup-card {
  position: relative;
  overflow: visible;
  background: #fff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.pickup-card-title {
  height: 60px;
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 60px;
  text-align: center;
  background: var(--gold);
}

.pickup-card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 150px;
  padding: 24px 18px;
}

.pickup-code {
  margin: 0;
  color: #3f3328;
  font-family: "SF Mono", "Roboto Mono", "Menlo", "Consolas", monospace;
  font-size: 46px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ticket-cutline {
  position: relative;
  border-top: 1px dashed #D6D6D6;
}

.ticket-cutline::before,
.ticket-cutline::after {
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  content: "";
  background: #F7F7F6;
  border-radius: 50%;
}

.ticket-cutline::before {
  left: -10px;
}

.ticket-cutline::after {
  right: -10px;
}

.order-meta,
.order-goods {
  display: grid;
  gap: 18px;
  padding: 24px 22px 0;
}

.order-meta {
  grid-template-columns: minmax(0, 1fr) auto;
}

.order-goods {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 26px;
}

.order-meta span,
.order-goods span {
  display: block;
  margin-bottom: 8px;
  color: #969696;
  font-size: 14px;
  font-weight: 300;
}

.order-meta strong,
.order-goods strong {
  display: block;
  color: #111;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
}

.order-meta > div:last-child,
.order-goods > div:last-child {
  text-align: right;
}

.order-goods p {
  margin: 6px 0 0;
  color: #333;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.35;
}

@media (max-width: 380px) {
  :root {
    --side-width: 86px;
  }

  .store-row {
    padding-right: 18px;
    padding-left: 20px;
  }

  .brand-logo {
    width: 58vw;
  }

  .category-button {
    font-size: 15px;
  }

  .product-pane {
    padding-right: 8px;
    padding-left: 8px;
  }

  .product-card {
    grid-template-columns: 80px minmax(0, 1fr) 30px;
    gap: 11px;
    padding-left: 12px;
    padding-right: 10px;
  }

  .product-photo {
    width: 78px;
    height: 78px;
  }

  .drink {
    width: 41px;
    height: 70px;
  }

  .product-name {
    font-size: 16px;
  }

  .product-en {
    font-size: 14px;
  }

  .product-tag {
    font-size: 12px;
  }

  .detail-hero {
    min-height: 260px;
  }

  .detail-big-drink {
    width: 112px;
    height: 186px;
  }

  .detail-description p {
    font-size: 16px;
  }

  .detail-total strong {
    font-size: 32px;
  }

  .order-scroll {
    padding-right: 20px;
    padding-left: 20px;
  }

  .placed-pickup-code {
    font-size: 48px;
  }

  .pickup-code {
    font-size: 42px;
  }

}
