@font-face {
  font-family: Pacifico;
  src: url("pacifico-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("nunito-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("nunito-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fbf7f8;
  --white: #fffcfd;
  --ink: #30282c;
  --muted: #66555f;
  --accent: #714756;
  --matcha: #52633b;
  --line: #e0ced4;
  --brand-pink: #ceb3b9;
  --pink: #f2e7eb;
  --button-radius: 12px;
  --button-min-width: 104px;
  --script: Pacifico, "Brush Script MT", cursive;
  --sans: Nunito, system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.symbols, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.shell { width: min(1152px, calc(100% - 72px)); margin-inline: auto; }
.zh { display: block; margin-top: .25em; color: var(--muted); font: 400 .84em/1.5 system-ui, sans-serif; letter-spacing: normal; }
.top {
  width: 100%;
  padding: 14px clamp(18px, 4.3vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(7px, 1.1vw, 14px);
  font: 400 clamp(22px, 2.6vw, 36px)/1.12 var(--script);
  white-space: nowrap;
}
.brand-mark {
  width: clamp(46px, 5.1vw, 65px);
  aspect-ratio: 1;
  flex-shrink: 0;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}
.brand-name small {
  display: block;
  margin-top: 7px;
  font: 700 9px/1.1 var(--sans);
  letter-spacing: .22em;
}
.shop-social { display: flex; align-items: center; gap: 4px; color: var(--accent); }
.top > .shop-social { margin-inline-start: auto; }
.shop-social .contact-note { margin: 0 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; text-align: end; }
.shop-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
}
.shop-social a:hover { background: var(--pink); }
.shop-social svg { width: 23px; height: 23px; }
.home-social { display: none; }
.post-link:hover { text-decoration: underline; }
.primary, .outline, .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
  text-align: center;
  line-height: 1.25;
}
.primary, .outline { min-inline-size: var(--button-min-width); max-inline-size: 100%; }
.outline:hover, .icon:hover { background: var(--pink); }
.primary { background: var(--brand-pink); border-color: var(--brand-pink); color: var(--ink); }
.primary:hover { background: #d9c2ca; }
.primary .zh { color: #49353e; }
.matcha-order .primary { background: var(--matcha); border-color: var(--matcha); color: #fff; }
.matcha-order .primary .zh { color: inherit; }
.matcha-order .primary:hover { background: #465632; border-color: #465632; }
.chevron-right {
  width: 8px;
  height: 8px;
  flex: none;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
#bag { flex-shrink: 0; min-inline-size: 108px; gap: 8px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.mobile-nav { display: none; }
.menu-icon {
  width: 18px;
  height: 14px;
  display: block;
  color: var(--accent);
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
#mobile-nav-links {
  position: absolute;
  inset: calc(100% + 4px) 12px auto auto;
  width: min(220px, calc(100% - 24px));
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  box-shadow: 0 8px 24px #30282c1f;
}
#mobile-nav-links a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 700; }
#mobile-nav-links a:hover, #mobile-nav-links a:focus-visible { background: var(--pink); }
.cart-icon { flex: none; width: 23px; height: 23px; color: var(--accent); }
#count {
  min-width: 22px;
  padding: 3px 5px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--pink);
  text-align: center;
}
.page-stage { position: relative; min-height: 0; }
.slides { height: 100%; }
.slide {
  height: 100%;
  padding-right: clamp(92px, 10vw, 154px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior-y: contain;
  touch-action: pan-y pinch-zoom;
}
.slide:focus { outline: none; }
.slide-content { padding-block: clamp(32px, 6vh, 72px); }
:is(#ordering, #terms) .slide-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-block-end: 24px;
}
:is(#ordering, #terms) .bottom { margin-block-start: auto; }
.cover { background: var(--pink); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  min-height: 100%;
  padding-block: clamp(24px, 5vh, 56px);
}
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 700; }
h1 { font-family: var(--script); font-weight: 400; font-size: clamp(43px, 5.75vw, 86px); line-height: 1.19; letter-spacing: -.025em; }
.hero .intro { container-type: inline-size; }
#hero-title em { color: var(--accent); font-style: normal; font-size: min(.82em, 10cqi); white-space: nowrap; }
h2 { font-size: clamp(37px, 5.3vw, 70px); line-height: 1.05; letter-spacing: -.035em; }
h2 > .zh { font-size: clamp(15px, 2vw, 21px); margin-top: 11px; }
h3 > .zh { font-size: 13px; }
.intro p { max-width: 31ch; color: var(--muted); line-height: 1.55; margin: 22px 0; }
.intro .primary { padding-inline: 19px; }
.hero-art {
  display: block;
  width: min(100%, 51dvh, 480px);
  aspect-ratio: 8 / 9;
  object-fit: cover;
  object-position: 50% 77%;
  justify-self: center;
  border-radius: 48% 48% 5px 5px / 31% 31% 5px 5px;
}
.section-title { margin-bottom: 28px; }
#menu-title { text-wrap: balance; }
.menu-tagline { margin: 8px 0 0; color: var(--accent); font-size: 14px; }
.menu-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 5px 5px 10px;
  margin: 0 -5px 16px;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  scrollbar-width: thin;
}
#menu { touch-action: auto; }
.menu-filters button {
  flex: none;
  min-height: 44px;
  padding: 6px 15px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.menu-filters button:hover { background: var(--pink); }
.menu-filters button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.menu-filters button[aria-pressed="true"] .zh { color: var(--white); }
.menu-filters button[data-category="matcha"][aria-pressed="true"] {
  border-color: var(--matcha);
  background: var(--matcha);
}
.menu-filters button:disabled, .card .outline:disabled {
  background: var(--white);
  opacity: .62;
  cursor: not-allowed;
}
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.3vw, 33px); }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.card-art { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 62%; background: var(--pink); }
.card-photo { position: relative; overflow: hidden; }
.card-photo[data-photo="tiramisu"] .card-art { filter: saturate(.76) contrast(.93) brightness(1.08); }
.card[data-menu-category="snowflake-crisp"] .card-photo .card-art { object-position: 50% 70%; }
.card-logo { display: grid; place-items: center; }
.card-logo img { width: min(46%, 144px); height: auto; }
.brand-mark img, .card-logo img { mix-blend-mode: multiply; }
.card[data-menu-category="matcha"] .card-logo { background: #eef2e5; }
.post-link { align-self: flex-start; color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 15px; }
.product-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
}
.card-photo-christmas .product-tag { background: #23513c; }
.card-photo-christmas .product-tag svg { color: #f1d394; }
.product-tag svg { width: 13px; height: 13px; }
.card .offer { color: var(--accent); }
.matcha-tasting { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 8px; }
.matcha-tasting div { background: #f0f1e8; color: #465237; border-radius: 7px; padding: 7px 4px; text-align: center; }
.matcha-tasting dt { font-size: 11px; }
.matcha-tasting dd { display: flex; justify-content: center; gap: 2px; margin: 5px 0 0; }
.taste-leaf { width: min(13px, 18%); height: 13px; color: var(--matcha); fill: currentColor; }
.taste-leaf-empty { color: #879375; fill: none; }
.card .coming-soon { color: var(--accent); font-weight: 700; }
.card h3 { font-size: clamp(21px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -.025em; }
.card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.card .price { margin-top: auto; padding-top: 3px; font-weight: 700; color: var(--ink); }
.card button { width: 100%; margin-top: 3px; background: transparent; }
.card button:hover { background: var(--pink); }
#ordering { background: var(--pink); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  padding: 0;
  margin: clamp(24px, 6vh, 60px) 0 clamp(24px, 4vw, 48px);
}
.steps li { background: var(--white); padding: clamp(17px, 2.4vw, 32px); border-radius: 9px; }
.steps li > span { display: block; color: var(--accent); margin-bottom: 14px; font: 400 31px/1.1 var(--script); }
.steps strong { display: block; font: 700 clamp(20px, 2.2vw, 29px)/1.15 var(--sans); }
.steps p, .muted { color: var(--muted); line-height: 1.52; }
.steps p { margin: 12px 0 0; }
.notice { padding: 12px 15px; border-left: 2px solid var(--brand-pink); background: var(--pink); line-height: 1.5; }
.terms-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 21px; }
.terms-nav a { flex-direction: column; gap: 0; text-align: center; }
.terms-nav a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.terms-nav a[aria-current="true"] .zh { color: inherit; }
.terms-card { border-top: 1px solid var(--line); padding: 20px 0; }
.terms-card h3 { font-size: 30px; line-height: 1; margin-bottom: 13px; }
.terms-card ul { padding-left: 18px; margin: 0; display: grid; gap: 12px; }
.terms-card li::marker { color: var(--accent); }
.terms-card li p { margin: 0; line-height: 1.55; }
.terms-card li .zh { margin-top: 4px; }
.bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.catalog + .bottom { margin-top: clamp(24px, 4vw, 48px); }
.page-rail {
  position: absolute;
  top: 50%;
  right: clamp(9px, 2.5vw, 38px);
  transform: translateY(-50%);
  height: min(230px, calc(100% - 52px));
  display: flex;
  align-items: stretch;
  z-index: 1;
}
.rail-track { position: relative; width: 44px; }
.rail-track::before {
  content: "";
  position: absolute;
  left: 50%;
  inset-block: 0;
  width: 1px;
  background: var(--brand-pink);
}
.rail-control {
  position: absolute;
  inset: -22px 0;
  touch-action: none;
  cursor: grab;
  border-radius: 999px;
}
.rail-control:active { cursor: grabbing; }
.cake-thumb {
  position: absolute;
  left: 50%;
  top: var(--page-progress, 0%);
  transform: translate(-50%, -50%);
  width: 31px;
  height: 31px;
  padding: 5px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--white);
  color: var(--accent);
  pointer-events: none;
}
.rail-stops {
  position: relative;
  width: 39px;
  height: 100%;
}
.rail-stops a {
  position: absolute;
  left: 0;
  top: var(--stop, 0%);
  transform: translateY(-50%);
  display: grid;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 11px;
}
.rail-stops a:nth-child(2) { --stop: 33.333%; }
.rail-stops a:nth-child(3) { --stop: 66.667%; }
.rail-stops a:nth-child(4) { --stop: 100%; }
.rail-stops a:hover, .rail-stops a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
dialog {
  width: min(550px, calc(100% - 24px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: #31201e88; }
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 { font-size: 32px; }
.dialog-head h2 .zh { font-size: 14px; margin-top: 5px; }
.icon { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; font-size: 23px; }
#panel { padding: 18px; }
#panel p:first-child { margin-top: 0; }
.stack { display: grid; gap: 13px; }
.stack label { display: grid; gap: 5px; font-weight: 620; font-size: 14px; }
.stack label .zh { margin: 0; }
.product-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.product-photos img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.gift-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  min-width: 0;
  padding: 0;
  border: 0;
}
.gift-picker legend { margin-bottom: 8px; font-weight: 700; }
.gift-option { position: relative; grid-template-rows: auto 1fr; padding: 6px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.gift-option img { width: 100%; display: block; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 5px; }
.gift-option input[type="radio"] { position: absolute; top: 10px; right: 10px; width: 18px; min-height: 18px; margin: 0; accent-color: var(--accent); }
.gift-option:has(input:checked) { border-color: var(--accent); background: var(--pink); }
.cake-addons { display: grid; min-width: 0; gap: 10px; border: 1px solid var(--line); border-radius: var(--button-radius); }
.cake-addons legend { padding-inline: 5px; }
.stack .flavour-quantity { grid-template-columns: 1fr 5rem; align-items: center; }
.flavour-quantity input { min-width: 0; }
.flavour-star { color: var(--accent); font-size: .78em; margin-inline-start: .15em; }
.stack .addon-checkbox { display: flex; align-items: center; }
.addon-checkbox input:is([type="checkbox"], [type="radio"]) { flex: none; width: 18px; min-height: 18px; margin: 0 4px 0 0; accent-color: var(--accent); }
.option-checkboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--button-radius); }
.option-checkboxes legend { font-size: 14px; }
.option-checkboxes .addon-checkbox:has(input:disabled) { opacity: .6; }
.option-note { grid-column: 1 / -1; margin: 0; }
.bag-subtotal { font-weight: 700; }
.stack input, .stack select, .stack textarea {
  width: 100%;
  min-height: 44px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid #bca99f;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
}
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
#order-form .pair label { min-inline-size: 0; }
#order-form input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  max-inline-size: 100%;
}
#order-form input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: start;
}
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
#panel .actions:not(.bag-list .actions) > button { flex: 1 1 184px; }
.paired-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.paired-actions > :is(button, a) { min-inline-size: 0; padding-inline: 8px; }
.bag-list .actions > button { inline-size: var(--button-min-width); }
.dual { flex-direction: column; gap: 0; }
.bag-list { list-style: none; padding: 0; margin: 0 0 15px; display: grid; gap: 10px; }
.bag-list li { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.bag-list p { margin: 4px 0; overflow-wrap: anywhere; }
.summary { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--white); padding: 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.payment { border-top: 1px solid var(--line); padding-top: 13px; }
@media (max-width: 800px) {
  html { --header-offset: 82px; scroll-padding-top: var(--header-offset); }
  body { display: block; height: auto; overflow: visible; }
  .shell { width: calc(100% - 34px); }
  #order-form .pair { grid-template-columns: 1fr; }
  .top { position: sticky; top: 0; z-index: 2; background: var(--paper); }
  .mobile-nav { display: flex; align-self: stretch; }
  #mobile-nav-toggle { height: auto; }
  .slides { height: auto; }
  .slide {
    height: auto;
    padding-right: 0;
    overflow: visible;
    overscroll-behavior-y: auto;
    touch-action: auto;
  }
  :is(#menu, #ordering) .bottom { display: none; }
  #ordering .slide-content { min-height: 0; padding-block-end: clamp(32px, 6vh, 72px); }
  #ordering .steps { margin-block-end: 0; }
  #terms .slide-content {
    min-height: calc(100dvh - var(--header-offset));
    padding-block-end: 16px;
  }
  .page-rail { display: none; }
  .shell.hero {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: clamp(16px, 3.2dvh, 30px);
    padding-block: clamp(23px, 4dvh, 40px) 0;
  }
  .hero .intro {
    width: min(calc(100% - 26px), 20rem);
    text-align: center;
  }
  .hero .intro > p { margin-inline: auto; }
  .hero-art {
    width: 100%;
    aspect-ratio: 6 / 5;
    object-position: center 58.5%;
    border-radius: 0;
  }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  html { --header-offset: 64px; }
  .top { width: 100%; padding: 8px 12px; gap: 8px; }
  #bag { min-inline-size: 0; gap: 6px; padding-inline: 8px; }
  .cart-icon { width: 19px; height: 19px; }
  .top .shop-social { display: none; }
  .home-social { display: flex; justify-content: center; margin-block-start: 6px; }
  h1 { font-size: clamp(32px, 9vw, 54px); }
  .hero .intro > p { margin-block: 13px 15px; font-size: 14px; }
  .section-title { margin-bottom: 20px; }
  .catalog, .steps { grid-template-columns: 1fr; gap: 22px; }
  .card-no-photo { align-self: start; }
  .card-logo { display: none; }
  .steps li > span { margin-bottom: 8px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 26px); }
  .top { width: 100%; }
  .top .brand { font-size: 20px; }
  .pair { grid-template-columns: 1fr; }
  .terms-nav a { padding-inline: 10px; }
}
