:root {
  color-scheme: light;
  --yellow: #ffca18;
  --red: #c91b30;
  --pink: #f0394c;
  --ink: #231c19;
  background: var(--yellow);
  color: var(--ink);
  font: 16px/1.5 Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible + span { outline: 3px solid #72162b; outline-offset: 4px; }
[hidden] { display: none !important; }
.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 46px) clamp(24px, 6vw, 110px);
}
.brand {
  display: inline-block;
  padding: 9px 10px 7px;
  border: 3px solid currentColor;
  color: var(--red);
  font: 900 19px/.88 "Arial Black", Arial, sans-serif;
  letter-spacing: -.045em;
  text-align: center;
  text-decoration: none;
}
.cart-trigger {
  border: 2px solid var(--red);
  border-radius: 99px;
  padding: 7px 8px 7px 15px;
  background: transparent;
  color: #8c1023;
  font-weight: 800;
}
.cart-trigger span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-left: 6px; border-radius: 99px; color: white; background: var(--red); }
main { min-height: 100svh; display: grid; grid-template-rows: minmax(340px, 64svh) 1fr; grid-template-columns: minmax(0, 1fr); background: #fff; }
.hero {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  padding: clamp(84px, 13vh, 145px) clamp(27px, 12vw, 220px) 56px;
  background: var(--yellow);
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 1; }
.korean { color: #8c1023; margin: 0 0 8px; font-weight: 800; font-size: clamp(18px, 2.3vw, 29px); }
h1, h2, p, figure { margin: 0; }
h1 { font: 900 clamp(48px, 8.1vw, 124px)/.84 "Arial Black", Arial, sans-serif; letter-spacing: -.09em; color: #211713; }
.hero-photo { display: grid; place-items: center; min-height: 0; align-self: stretch; }
.hero-photo img { display: block; width: min(100%, 48vh, 590px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 20px 22px #641f193d); }
.menu {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  transform: translateY(calc(100% - var(--circle) / 2));
  display: flex;
  gap: clamp(14px, 3.3vw, 46px);
  position: relative;
  z-index: 1;
  --circle: clamp(54px, 8.5vh, 76px);
}
.menu button { min-width: 92px; display: grid; justify-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: .875rem; }
.menu-image { display: block; width: var(--circle); height: var(--circle); padding: 3px; border: 2px solid #fff; border-radius: 50%; background: white; box-shadow: 0 3px 11px #44241526; }
.menu button[aria-pressed="true"] { color: #a91027; }
.menu button[aria-pressed="true"] .menu-image { border-color: var(--red); }
.menu-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.order { grid-area: 2 / 1; align-self: start; text-align: center; padding: clamp(80px, 13vh, 120px) 24px 28px; }
.order p { margin: 0 0 16px; }
#product-form, .sizes { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.sizes { margin: 0; border: 0; padding: 0; }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sizes span { display: block; border: 1px solid #d1c6c2; border-radius: 99px; padding: 8px 13px; }
.sizes input:checked + span { border-color: var(--red); background: #fff0f1; color: #981127; }
.sizes strong { margin-left: 5px; }
.primary { min-height: 44px; padding: 9px 20px; border: 0; border-radius: 99px; background: var(--red); color: white; font-weight: 800; }
dialog { inset: 0 0 0 auto; margin: 0; width: min(420px, 100%); max-width: none; max-height: none; height: 100%; border: 0; padding: 0; color: white; background: #c81e36; }
dialog[open] { display: grid; grid-template-rows: auto 1fr auto; }
dialog::backdrop { background: #241a16a1; }
.drawer-head, .drawer-foot { padding: 22px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ffffff62; }
.drawer-head h2 { font-size: 2.15rem; line-height: 1; letter-spacing: -.05em; }
.drawer-head button { border: 0; background: transparent; color: white; font-size: 34px; line-height: 1; padding: 4px 8px; }
.cart-items { overflow: auto; padding: 20px 22px; }
.cart-items article { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.cart-items article p { font-size: .9rem; }
.cart-items article p:first-child { font-size: 1rem; font-weight: 800; }
.quantity { display: flex; align-items: center; gap: 10px; }
.quantity button { background: #fff2f3; border: 1px solid #f7c4ca; color: #7d1323; border-radius: 50%; width: 31px; height: 31px; padding: 0; font-weight: 800; }
.drawer-foot { border-top: 1px solid #ffffff62; }
.total { display: flex; justify-content: space-between; font-size: 1.2rem; }
#checkout-note { font-size: .9rem; margin: 12px 0; }
#keep-shopping { width: 100%; padding: 12px; border: 0; border-radius: 99px; background: var(--yellow); color: var(--ink); font-weight: 800; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  main { grid-template-rows: minmax(420px, 64svh) 1fr; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr; justify-items: center; text-align: center; padding: 90px 15px 38px; gap: 10px; }
  h1 { font-size: clamp(42px, 10vw, 68px); }
  .korean { margin-bottom: 4px; }
  .hero-photo img { width: min(55vw, 25svh, 245px); }
  .menu { gap: 4px; }
  .menu button { min-width: 95px; font-size: .8125rem; }
  .order { padding-top: 80px; }
}
