@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700;900&family=Nunito:wght@600;800;900&display=swap");

:root {
  --ink: #24160f;
  --brown: #4a2b1b;
  --muted: #7c675a;
  --paper: #fff9ef;
  --cream: #f7ead8;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(77, 44, 28, 0.14);
  --accent: #bd9368;
  --accent-dark: #2a170f;
  --honey: #d79a3b;
  --caramel: #b87128;
  --cocoa: #3a1f14;
  --berry: #c4553b;
  --gold: #edc78d;
  --shadow: 0 18px 48px rgba(65, 35, 20, 0.12);
  --soft-title: "Noto Serif SC", "Songti SC", "STSong", "Microsoft YaHei UI", "PingFang SC", serif;
  --warm-title: "Noto Serif SC", "Songti SC", "STSong", "Microsoft YaHei UI", "PingFang SC", serif;
  --hand-title: "Nunito", "PingFang SC", "Microsoft YaHei UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 90px;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 189, 117, 0.36), transparent 18rem),
    linear-gradient(180deg, #fffaf2 0%, #fff3e6 48%, #fffaf2 100%);
  color: var(--ink);
  font-family: "Nunito", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(255, 249, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  position: relative;
  width: 250px;
  height: 78px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: none;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/bomi-logo-cropped.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  mix-blend-mode: multiply;
}

.nav-links {
  display: none;
}

.language-banner {
  z-index: 29;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.language-banner > div {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(77, 44, 28, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.language-banner button {
  min-height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--brown);
  font-size: 12px;
  font-weight: 900;
}

.language-banner button.is-active {
  background: linear-gradient(135deg, #fff7e8, #edc78d);
  box-shadow: 0 8px 18px rgba(65, 35, 20, 0.1);
}

.hero {
  order: 1;
  display: grid;
  gap: 26px;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 34px 16px 30px;
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-inline: clamp(24px, 5vw, 72px);
  }

  .hero-stage {
    width: 100%;
    min-height: min(72vh, 760px);
  }
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--soft-title);
  font-weight: 400;
  letter-spacing: 0.015em;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 13vw, 70px);
  line-height: 1.18;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1.26;
  text-wrap: balance;
}

.hero-copy h1,
.product-section .section-heading h2 {
  background: linear-gradient(135deg, #5a2f1d 0%, var(--caramel) 42%, #e3a64a 72%, #d66a50 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 24px rgba(184, 113, 40, 0.1);
  filter: drop-shadow(0 7px 0 rgba(255, 239, 213, 0.34));
}

.hero-copy h1 {
  font-weight: 400;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 8px 0 rgba(255, 239, 213, 0.38));
  transform: scaleX(0.9);
  transform-origin: left center;
}

.hero-copy h1::after {
  content: "Fresh baked daily";
  display: block;
  margin-top: 12px;
  color: var(--caramel);
  font-family: var(--hand-title);
  font-size: clamp(24px, 7vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-shadow: none;
}

.section-heading h2 {
  font-family: var(--warm-title);
  color: var(--cocoa);
  font-weight: 400;
  letter-spacing: 0.01em;
}

h3 {
  margin-bottom: 8px;
  line-height: 1.28;
}

.zh,
.en,
.section-heading p,
.signature-card p,
.product-card p,
.contact-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
  font-weight: 400;
}

.en {
  margin-top: -4px;
  font-size: 14px;
  letter-spacing: 0;
}

.hero-copy .zh {
  font-size: 17px;
  font-weight: 500;
}

.hero-actions,
.mobile-quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hero-actions {
  margin-top: 24px;
  max-width: 560px;
}

.primary-btn,
.secondary-btn,
.add-btn {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
}

.primary-btn,
.add-btn {
  border: 0;
  background: linear-gradient(135deg, #f5d7a3 0%, #d99b51 100%);
  color: #3a1f14;
  box-shadow: 0 12px 24px rgba(184, 113, 40, 0.16);
}

.secondary-btn {
  border: 1px solid rgba(189, 147, 104, 0.55);
  background: linear-gradient(135deg, rgba(255, 249, 239, 0.94), rgba(246, 226, 201, 0.9));
  color: var(--accent-dark);
  box-shadow: 0 12px 26px rgba(77, 44, 28, 0.08);
}

.primary-btn span,
.secondary-btn span,
.add-btn span {
  font-size: 16px;
  letter-spacing: 0;
}

.primary-btn small,
.secondary-btn small,
.add-btn small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.74;
}

.primary-btn:hover,
.add-btn:hover {
  background: linear-gradient(135deg, #f8dfb5 0%, #c98840 100%);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 76% 22%, rgba(160, 96, 44, 0.22), transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(255, 201, 150, 0.12), transparent 48%),
    #fff3dc;
  box-shadow: 0 28px 60px rgba(38, 19, 9, 0.24);
  overflow: hidden;
}

.warm-light {
  position: absolute;
  z-index: 1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 122, 56, 0.2), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.42;
}

.warm-light-one {
  top: -70px;
  right: -52px;
  animation: warmSweepOne 7s ease-in-out infinite;
}

.warm-light-two {
  bottom: -86px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 189, 128, 0.12), transparent 70%);
  animation: warmSweepTwo 8s ease-in-out infinite;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 234, 216, 0.08);
  border-radius: 20px;
}

.hero-card-stack {
  position: absolute;
  inset: 24px;
  z-index: 4;
  overflow: hidden;
  border-radius: 34px;
  background: #fff3dc;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.22);
}

.hero-panel {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  place-items: center;
  opacity: 0;
  transform: translateX(18px) scale(0.98);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-position: center;
}

.hero-panel-mascot {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 249, 235, 0.95), transparent 38%),
    linear-gradient(180deg, #fff3dc 0%, #f4d6aa 100%);
  animation: heroPanelMascot 9s ease-in-out infinite;
}

.hero-panel-mascot img {
  padding: 22px 20px 96px;
  object-fit: contain;
}

.hero-panel-mascot .mascot-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #fff3dc;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.hero-panel-mascot .mascot-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-panel-cake {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 245, 226, 0.92), transparent 44%),
    linear-gradient(145deg, #fff4de, #f4cfb5);
  animation: heroPanelCake 9s ease-in-out infinite;
}

.hero-panel-cake img {
  padding: 0;
  object-fit: cover;
}

.hero-panel figcaption {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  background: rgba(255, 250, 245, 0.86);
  color: var(--brown);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.hero-panel figcaption span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel figcaption strong {
  font-size: clamp(19px, 4vw, 28px);
  line-height: 1.1;
}

.hero-mascot {
  position: absolute;
  right: 2%;
  top: 18px;
  bottom: auto;
  z-index: 4;
  width: min(96%, 520px);
  aspect-ratio: 0.78;
  margin-block: auto;
  background: #050302;
  border-radius: 44px;
  cursor: pointer;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.22));
  pointer-events: auto;
}

.hero-mascot img,
.mascot-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.mascot-video {
  z-index: 4;
  opacity: 1;
  border: 0;
  background: #120b08;
  border-radius: 44px;
  transform: scale(1.04);
  transition: opacity 260ms ease;
}

.video-sound-toggle {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 8;
  min-width: 58px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(8, 5, 3, 0.54);
  color: rgba(255, 247, 234, 0.9);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.video-sound-toggle.is-on {
  background: rgba(255, 245, 224, 0.88);
  color: var(--brown);
}

body.video-ready .mascot-video {
  opacity: 1;
}

.mascot-base,
body.video-ready .mascot-base {
  opacity: 0;
}

.mascot-base {
  z-index: 1;
  animation: none;
}

.mascot-arm {
  z-index: 2;
  clip-path: polygon(0 29%, 48% 24%, 53% 77%, 0 82%);
  transform-origin: 37% 58%;
  display: none;
  opacity: 0;
}

.mascot-eye-glint,
.mascot-smile-pop {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  display: none;
  opacity: 0;
}

.mascot-eye-glint {
  top: 28%;
  right: 28%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 62%);
}

.mascot-smile-pop {
  right: 18%;
  bottom: 34%;
  width: 42px;
  height: 28px;
  border-bottom: 4px solid rgba(255, 228, 178, 0.8);
  border-radius: 50%;
}

.hero-cake-row {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 250, 245, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.hero-cake-row img {
  width: 100%;
  aspect-ratio: 1.08;
  border-radius: 16px;
  object-fit: cover;
}

body.hero-hook .hero-copy h1 {
  animation: titleRise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.hero-hook .hero-copy .zh {
  animation: titleRise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 160ms both;
}

body.hero-hook .mascot-base {
  animation: none;
}

body.hero-hook .mascot-arm {
  animation: none;
}

body.hero-hook .mascot-eye-glint {
  animation: none;
}

body.hero-hook .mascot-smile-pop {
  animation: none;
}

body.hero-hook .hero-cake-row {
  animation: titleRise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 680ms both;
}

body.hero-hook .warm-light-one {
  animation: openingGlowOne 3s ease-out both, warmSweepOne 7s ease-in-out 3s infinite;
}

body.hero-hook .warm-light-two {
  animation: openingGlowTwo 3s ease-out both, warmSweepTwo 8s ease-in-out 3s infinite;
}

@keyframes heroPanelMascot {
  0%,
  42%,
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  50%,
  92% {
    opacity: 0;
    transform: translateX(-22px) scale(0.98);
  }
}

@keyframes heroPanelCake {
  0%,
  42%,
  100% {
    opacity: 0;
    transform: translateX(22px) scale(0.98);
  }

  50%,
  92% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes mascotEnter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mascotBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.008);
  }
}

@keyframes breadWave {
  0% {
    opacity: 0;
    transform: rotate(-8deg) translate(-4px, 12px);
  }
  18% {
    opacity: 1;
  }
  30% {
    transform: rotate(8deg) translate(4px, -8px);
  }
  48% {
    transform: rotate(-5deg) translate(-2px, 4px);
  }
  66% {
    transform: rotate(6deg) translate(3px, -6px);
  }
  84% {
    transform: rotate(-2deg) translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: rotate(0deg) translate(0, 0);
  }
}

@keyframes eyeWink {
  0%,
  36%,
  78%,
  100% {
    opacity: 0;
    transform: scale(0.6);
  }
  48%,
  62% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes smileFlash {
  0%,
  40%,
  100% {
    opacity: 0;
    transform: translateY(6px) scale(0.8);
  }
  58%,
  76% {
    opacity: 0.9;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardPop {
  0% {
    opacity: 0;
    transform: translate(-18px, 18px) rotate(-3deg) scale(0.9);
  }
  42% {
    opacity: 1;
    transform: translate(0, -8px) rotate(1.2deg) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes productFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.7deg);
  }
}

@keyframes titleRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes openingGlowOne {
  0% {
    opacity: 0;
    transform: translate(72px, -34px) scale(0.7);
  }
  42% {
    opacity: 0.95;
  }
  100% {
    opacity: 0.78;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes openingGlowTwo {
  0% {
    opacity: 0;
    transform: translate(-60px, 50px) scale(0.7);
  }
  100% {
    opacity: 0.72;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes warmSweepOne {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-26px, 34px) scale(1.12);
  }
}

@keyframes warmSweepTwo {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -26px) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.mobile-quick {
  order: 2;
  position: sticky;
  top: 69px;
  z-index: 24;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 16px;
  background: rgba(255, 249, 239, 0.86);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.mobile-quick a {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: white;
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(65, 35, 20, 0.08);
}

.mobile-cake-teasers {
  display: none;
}

.section {
  padding: 62px 16px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.stores-section {
  order: 5;
  background: rgba(255, 255, 255, 0.36);
  border-block: 1px solid var(--line);
}

.store-grid {
  display: grid;
  gap: 18px;
  max-width: 1280px;
  margin-inline: auto;
}

.store-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.store-card img {
  width: 100%;
  aspect-ratio: 1.06;
  object-fit: cover;
}

.coming-store img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(237, 199, 141, 0.2)),
    #fff9ef;
}

.store-card div {
  padding: 20px;
}

.store-card h3 {
  font-size: 26px;
  font-weight: 850;
}

.store-card p {
  color: var(--muted);
  line-height: 1.7;
}

.store-card strong {
  color: var(--accent-dark);
}

.coming-store {
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.9), rgba(237, 199, 141, 0.22)),
    var(--card);
}

.store-expansion {
  display: grid;
  gap: 18px;
  max-width: 1280px;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid rgba(77, 44, 28, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(42, 23, 15, 0.96), rgba(77, 44, 28, 0.9)),
    var(--ink);
  color: #fff8ed;
  box-shadow: var(--shadow);
}

.store-expansion img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(237, 199, 141, 0.18)),
    #fff9ef;
}

.store-expansion > div {
  padding: 22px;
}

.store-expansion h3 {
  font-size: 28px;
  font-weight: 850;
}

.store-expansion p {
  color: rgba(255, 248, 237, 0.74);
  line-height: 1.7;
}

.expansion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.expansion-points span {
  padding: 9px 12px;
  border: 1px solid rgba(237, 199, 141, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ed;
  font-size: 13px;
  font-weight: 850;
}

.groupbuy-section {
  order: 4;
  padding: 62px 16px;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.96), rgba(237, 199, 141, 0.3)),
    var(--paper);
}

.groupbuy-grid {
  display: grid;
  gap: 14px;
  max-width: 1280px;
  margin-inline: auto;
}

.groupbuy-card {
  padding: 20px;
  border: 1px solid rgba(189, 147, 104, 0.3);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(65, 35, 20, 0.08);
}

.groupbuy-card.featured {
  background: linear-gradient(135deg, #6f3d23, #c88a3d);
  color: #fff8ed;
}

.groupbuy-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.groupbuy-card.featured span,
.groupbuy-card.featured p {
  color: rgba(255, 248, 237, 0.76);
}

.groupbuy-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.next-group-date {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 248, 237, 0.22);
  color: #edc78d;
  font-size: 15px;
}

.groupbuy-cta {
  width: 100%;
  margin-top: 18px;
}

.signature-section {
  display: grid;
  gap: 28px;
}

.signature-grid,
.product-grid {
  display: grid;
  gap: 16px;
  max-width: 1320px;
  margin-inline: auto;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 22px;
}

.product-section {
  order: 3;
}

.product-promises {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 1320px;
  margin: 0 auto 18px;
}

.product-promises div {
  display: grid;
  gap: 3px;
  min-height: 64px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(189, 147, 104, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(65, 35, 20, 0.07);
}

.product-promises strong {
  font-size: 16px;
  font-weight: 900;
}

.product-promises span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tab-btn {
  min-height: 46px;
  border: 1px solid rgba(189, 147, 104, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 900;
}

.tab-btn.active {
  background: linear-gradient(135deg, #f5d7a3, #d99b51);
  color: #3a1f14;
  box-shadow: 0 12px 24px rgba(184, 113, 40, 0.14);
}

.signature-card,
.product-card,
.order-panel,
.summary-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signature-card img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
}

.signature-card div {
  padding: 20px;
}

.signature-card span,
.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(217, 98, 70, 0.12);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.menu-section {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid var(--line);
}

.product-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 188px;
  padding: 10px;
}

.product-card[data-category="cake"] {
  grid-template-columns: 1fr;
  min-height: auto;
}

.product-card[hidden] {
  display: none;
}

.product-card > img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.product-card[data-category="cake"] > img {
  height: auto;
  aspect-ratio: 1.08;
}

.product-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px 4px 4px;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-top h3 {
  min-width: 0;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.22;
}

.product-top small {
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.product-top strong {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 16px;
}

.product-card p {
  flex: 1;
  margin-bottom: 12px;
  font-size: 13px;
}

.featured-product {
  border-color: rgba(189, 147, 104, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 248, 237, 0.94), rgba(237, 199, 141, 0.18)),
    var(--card);
}

.cake-showcase {
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.96), rgba(255, 255, 255, 0.78)),
    var(--card);
}

.cake-showcase .product-body,
.featured-product .product-body {
  padding: 18px 8px 8px;
}

.cake-showcase .product-top h3 {
  font-size: 21px;
}

.cake-showcase .product-top strong {
  font-size: 19px;
}

.featured-product > img {
  object-position: center;
}

.featured-product .product-top h3 {
  font-size: 21px;
}

.featured-product .product-top strong {
  font-size: 19px;
}

.add-btn {
  width: 100%;
  min-height: 48px;
  padding: 9px 18px;
  border: 1px solid rgba(184, 113, 40, 0.24);
  background: rgba(255, 248, 237, 0.86);
  color: var(--caramel);
  box-shadow: none;
}

.add-btn:hover {
  background: rgba(245, 215, 163, 0.42);
  color: var(--cocoa);
}

.checkout-section,
.order-section {
  order: 6;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: 62px 16px;
}

.checkout-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-items: end;
  max-width: none;
  padding: 0;
  background: rgba(36, 22, 15, 0);
  pointer-events: none;
  opacity: 0;
  transition: background 180ms ease, opacity 180ms ease;
}

body.cart-open .checkout-drawer {
  background: rgba(36, 22, 15, 0.3);
  pointer-events: auto;
  opacity: 1;
}

.checkout-drawer .checkout-panel,
.checkout-drawer .summary-panel {
  transform: translateY(22px);
  transition: transform 220ms ease;
}

body.cart-open .checkout-drawer .checkout-panel,
body.cart-open .checkout-drawer .summary-panel {
  transform: translateY(0);
}

.checkout-drawer .checkout-panel {
  position: relative;
  max-height: min(88vh, 760px);
  overflow: auto;
  border-radius: 28px 28px 0 0;
}

.checkout-drawer .summary-panel {
  display: none;
}

.drawer-close {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(184, 113, 40, 0.22);
  border-radius: 50%;
  background: rgba(255, 248, 237, 0.96);
  color: var(--cocoa);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.checkout-panel,
.order-panel,
.summary-panel {
  padding: 20px;
}

.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.full-row {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(189, 147, 104, 0.16);
}

textarea {
  resize: vertical;
}

.summary-panel {
  position: relative;
}

.summary-mascot {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 92px;
  max-height: 130px;
  object-fit: contain;
  opacity: 0.94;
}

.summary-panel h3 {
  padding-right: 92px;
  font-size: 22px;
}

.summary-panel h3 small {
  color: var(--muted);
  font-size: 13px;
}

.cart-items {
  display: grid;
  gap: 10px;
  min-height: 82px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row span,
.empty-cart {
  color: var(--muted);
}

.cart-row span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.cart-control {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 8px;
  align-items: center;
}

.cart-control button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(189, 147, 104, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.cart-control strong {
  text-align: center;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid var(--line);
}

.summary-total strong {
  color: var(--accent-dark);
  font-size: 28px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.summary-line span {
  color: var(--muted);
}

.summary-line strong {
  color: var(--accent-dark);
}

.order-result {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(189, 147, 104, 0.13);
  color: var(--brown);
  line-height: 1.7;
}

.order-result:empty {
  display: none;
}

.contact-section {
  order: 7;
  padding: 62px 16px 72px;
}

.contact-card {
  display: grid;
  gap: 22px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 22px;
  border: 1px solid rgba(77, 44, 28, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.95), rgba(255, 224, 205, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(217, 98, 70, 0.22), transparent 18rem);
  box-shadow: var(--shadow);
}

.contact-meta {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.contact-meta span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-meta strong {
  margin-bottom: 8px;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(65, 35, 20, 0.12);
}

.qr-card img {
  width: min(72vw, 220px);
  border-radius: 14px;
}

.qr-card strong {
  font-size: 20px;
}

.qr-card span {
  color: var(--muted);
  font-size: 14px;
}

.sticky-mobile-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 22px;
  background: rgba(36, 22, 15, 0.9);
  box-shadow: 0 18px 54px rgba(36, 22, 15, 0.26);
  backdrop-filter: blur(16px);
}

.mobile-lang-floating {
  display: none;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 45;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-radius: 999px;
  background: #8ad8ad;
  color: #17452f;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(72, 150, 104, 0.2);
}

.whatsapp-float span {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.whatsapp-float span::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: #8ad8ad;
  content: "";
  transform: skewY(26deg);
}

.whatsapp-float {
  border: 0;
  background: #8ad8ad !important;
  color: #17452f !important;
}

.sticky-mobile-bar,
.whatsapp-float {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 240ms ease, transform 240ms ease;
}

body.nav-visible .sticky-mobile-bar,
body.nav-visible .whatsapp-float {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-mobile-bar a {
  display: grid;
  min-height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.sticky-mobile-bar a:nth-child(2) {
  background: linear-gradient(135deg, #edc78d, #bd9368);
  color: #24160f;
}

.sticky-mobile-bar a.mobile-cart-link {
  position: relative;
  background: linear-gradient(135deg, #fff8ed, #edc78d);
  color: #24160f;
}

.sticky-mobile-bar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.sticky-mobile-bar a:nth-child(2) span,
.sticky-mobile-bar a.mobile-cart-link span {
  color: rgba(36, 22, 15, 0.7);
}

.mobile-cart-link b {
  position: absolute;
  top: -6px;
  right: -4px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding-inline: 6px;
  border: 2px solid #24160f;
  border-radius: 999px;
  background: #fff8ed;
  color: #24160f;
  font-size: 11px;
  font-weight: 900;
}

.site-footer {
  display: grid;
  gap: 16px;
  padding: 30px 16px 116px;
  background: var(--ink);
  color: #fff;
}

.site-footer img {
  width: 142px;
  border-radius: 14px;
}

.site-footer p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  color: #ffdca7;
  font-weight: 900;
}

@media (max-width: 639px) {
  body {
    padding-bottom: 96px;
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 242, 230, 0.92) 48%, rgba(255, 250, 244, 0.98));
  }

  .site-header {
    justify-content: center;
    padding: 8px 14px 6px;
  }

  .language-banner {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    z-index: 999 !important;
    display: inline-flex;
    width: 68px;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 3px;
    border: 1px solid rgba(77, 44, 28, 0.12);
    border-radius: 999px;
    background: rgba(36, 22, 15, 0.78);
    box-shadow: 0 10px 24px rgba(20, 10, 5, 0.18);
    backdrop-filter: blur(12px);
  }

  .language-banner > span {
    display: none;
  }

  .language-banner > div {
    gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .language-banner button {
    display: grid;
    min-width: 30px;
    min-height: 30px;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    color: #fff8ed;
    font-size: 12px;
  }

  .language-banner button.is-active {
    background: #f3cf91;
    color: #24160f;
  }

  .brand {
    width: min(46vw, 180px);
    height: 44px;
    transform: none;
  }

  .brand-logo {
    background-size: contain;
    background-position: center;
  }

  .nav-links,
  .mobile-quick {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 18px;
  }

  .hero-stage {
    order: 1;
    height: calc(100svh - 72px);
    min-height: 460px;
    max-height: 720px;
    margin-inline: 14px;
    border: 0;
    border-radius: 22px;
  }

  .hero-stage::before {
    inset: 14px;
    border-radius: 0;
  }

  .hero-card-stack {
    inset: 0;
    border-radius: 22px;
  }

  .hero-panel-mascot img,
  .hero-panel-cake img {
    padding: 16px 14px 86px;
  }

  .hero-panel-cake img {
    padding: 0;
  }

  .hero-panel figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .hero-copy {
    order: 2;
    max-width: 100%;
    text-align: center;
  }

  .hero-copy h1 {
    margin: 0 auto 12px;
    max-width: 100%;
    font-size: clamp(28px, 8.4vw, 34px);
    line-height: 1.18;
    letter-spacing: 0;
    transform: none;
    overflow-wrap: anywhere;
  }

  .hero-copy h1::after {
    margin-top: 8px;
    font-size: clamp(20px, 6vw, 28px);
  }

  .hero-copy .zh {
    max-width: 92vw;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.62;
  }

  .mobile-cake-teasers {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 14px 18px;
  }

  .mobile-cake-teasers article {
    display: grid;
    grid-template-rows: minmax(0, 1fr) 42px;
    overflow: hidden;
    height: 190px;
    min-height: 0;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 24px rgba(65, 35, 20, 0.08);
  }

  .mobile-cake-teasers img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-cake-teasers span {
    display: flex;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: var(--brown);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
  }

  .hero-mascot {
    right: 0;
    top: 14px;
    width: min(96%, 430px);
  }

  .hero-cake-row {
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  .section,
  .groupbuy-section,
  .contact-section {
    padding: 42px 14px;
  }

  .product-section {
    padding-top: 34px;
  }

  .section-heading {
    margin-bottom: 18px;
    text-align: left;
  }

  .section-heading h2 {
    margin-bottom: 8px;
    font-size: clamp(23px, 6.7vw, 28px);
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  .section-heading p {
    font-size: 14px;
    line-height: 1.62;
  }

  .product-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    overflow: visible;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    min-width: 0;
    min-height: 40px;
    padding-inline: 4px;
    font-size: 12px;
    white-space: nowrap;
  }

  .product-promises {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }

  .product-promises div {
    min-width: 0;
    min-height: 54px;
    padding: 9px 8px;
    border-radius: 14px;
    text-align: center;
  }

  .product-promises strong {
    font-size: 12px;
    line-height: 1.18;
  }

  .product-promises span {
    font-size: 9px;
    line-height: 1.2;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card,
  .product-card[data-category="cake"] {
    display: flex;
    min-height: 0;
    padding: 7px;
    flex-direction: column;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(65, 35, 20, 0.08);
  }

  .product-card.featured-product {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4px;
    align-items: stretch;
    padding: 8px;
    background:
      linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(244, 209, 162, 0.42)),
      rgba(255, 255, 255, 0.9);
  }

  .product-card > img,
  .product-card[data-category="cake"] > img {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    object-fit: cover;
  }

  .product-card.featured-product > img {
    height: 100%;
    min-height: 172px;
    aspect-ratio: auto;
  }

  .product-body,
  .cake-showcase .product-body,
  .featured-product .product-body {
    flex: 1;
    padding: 10px 3px 2px;
  }

  .featured-product .product-body {
    padding: 10px 6px 2px;
  }

  .tag {
    margin-bottom: 7px;
    padding: 4px 8px;
    font-size: 10px;
    line-height: 1.1;
  }

  .product-top {
    display: grid;
    gap: 6px;
  }

  .product-top h3,
  .cake-showcase .product-top h3,
  .featured-product .product-top h3 {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.2;
  }

  .featured-product .product-top h3 {
    font-size: 18px;
  }

  .product-top small {
    font-size: 10px;
  }

  .product-top strong,
  .cake-showcase .product-top strong,
  .featured-product .product-top strong {
    width: max-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(237, 199, 141, 0.32);
    color: var(--cocoa);
    font-size: 14px;
    line-height: 1;
  }

  .product-card p {
    display: none;
  }

  .featured-product p {
    display: block;
    margin: 8px 0 10px;
    font-size: 12px;
    line-height: 1.48;
  }

  .add-btn {
    min-height: 39px;
    margin-top: auto;
    padding: 7px 8px;
    border-radius: 13px;
    background: linear-gradient(135deg, #fff6e4, #f0c889);
    color: #3a1f14;
  }

  .add-btn span {
    font-size: 13px;
  }

  .add-btn small {
    display: none;
  }

  .store-card,
  .store-expansion,
  .groupbuy-card,
  .contact-card,
  .qr-card {
    border-radius: 18px;
  }

  .sticky-mobile-bar {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 6px;
    padding: 7px;
    border-radius: 18px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 88px;
    min-height: 38px;
    padding-inline: 12px;
    font-size: 12px;
    box-shadow: 0 10px 22px rgba(72, 150, 104, 0.18);
  }

  .sticky-mobile-bar a {
    min-height: 48px;
    border-radius: 13px;
    font-size: 12px;
  }

  .site-header .language-banner {
    display: none;
  }

  .mobile-lang-floating {
    position: absolute;
    top: 50%;
    right: 14px;
    flex: 0 0 auto;
    margin: 0;
    display: inline-flex;
    transform: translateY(-50%);
    gap: 2px;
    padding: 2px;
    border: 1px solid rgba(77, 44, 28, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.2);
    box-shadow: 0 6px 14px rgba(20, 10, 5, 0.06);
    opacity: 0.72;
    backdrop-filter: blur(8px);
  }

  .mobile-lang-floating button {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #5a2f1d;
    font-size: 10px;
    font-weight: 900;
  }

  .mobile-lang-floating button.is-active {
    background: rgba(243, 207, 145, 0.54);
    color: #24160f;
  }
}

@media (max-width: 390px) {
  .brand {
    width: min(44vw, 168px);
    height: 42px;
  }

  .mobile-cake-teasers {
    gap: 10px;
    padding-inline: 14px;
  }

  .mobile-cake-teasers article {
    height: 176px;
    border-radius: 17px;
  }

  h1 {
    font-size: clamp(27px, 8vw, 32px);
  }

  .hero {
    padding-top: 22px;
  }

  .hero-stage {
    height: calc(100svh - 68px);
    min-height: 430px;
  }

  .hero-mascot {
    right: 0;
    top: 14px;
    bottom: auto;
    width: min(96%, 380px);
    aspect-ratio: 0.78;
  }

  .hero-cake-row {
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 8px;
    padding: 8px;
  }

  .product-grid {
    gap: 8px;
  }

  .product-card,
  .product-card[data-category="cake"] {
    padding: 6px;
    border-radius: 16px;
  }

  .product-card.featured-product {
    grid-template-columns: 1fr;
  }

  .product-card.featured-product > img {
    min-height: 0;
    aspect-ratio: 1.14;
  }

  .product-top h3,
  .cake-showcase .product-top h3,
  .featured-product .product-top h3 {
    font-size: 14px;
  }

  .featured-product .product-top h3 {
    font-size: 17px;
  }
}

@media (min-width: 640px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    padding: 14px clamp(24px, 5vw, 72px);
  }

  .language-banner {
    position: static;
    justify-content: flex-end;
    padding-inline: 0;
  }

  .brand {
    width: 260px;
    height: 82px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
  }

  .hero {
    padding: 58px clamp(24px, 5vw, 72px) 54px;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(210px, max-content));
  }

  .mobile-quick,
  .sticky-mobile-bar {
    display: none;
  }

  .section,
  .groupbuy-section,
  .checkout-section,
  .order-section,
  .contact-section {
    padding-inline: clamp(24px, 5vw, 72px);
  }

  .store-grid,
  .groupbuy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .groupbuy-grid {
    grid-template-columns: 1.1fr repeat(2, 0.95fr);
  }

  .store-expansion {
    grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
    align-items: center;
  }

  .store-expansion img {
    height: auto;
    min-height: 0;
    max-height: min(72vh, 680px);
    aspect-ratio: 3 / 4;
  }

  .store-expansion > div {
    padding: clamp(28px, 5vw, 54px);
  }

  .groupbuy-cta {
    width: max-content;
    min-width: 260px;
  }

  .product-tabs {
    display: flex;
    justify-content: center;
  }

  .product-promises {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab-btn {
    min-width: 128px;
    padding-inline: 18px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .product-card[data-category="cake"] {
    grid-template-columns: 1fr;
  }

  .featured-product {
    grid-template-columns: minmax(210px, 0.92fr) minmax(0, 1fr);
    grid-column: 1 / -1;
  }

  .cart-row {
    grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
    align-items: center;
  }

  form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  label:has(textarea),
  .form-btn {
    grid-column: 1 / -1;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    padding: clamp(28px, 5vw, 52px);
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 30px clamp(24px, 5vw, 72px);
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 86px);
    align-items: center;
  }

  .hero-stage {
    min-height: 620px;
    border-radius: 40px;
  }

  .hero-stage::before {
    inset: 32px;
    border-radius: 30px;
  }

  .hero-mascot {
    right: 3%;
    top: 24px;
    bottom: auto;
    width: min(94%, 620px);
  }

  .hero-cake-row {
    right: 34px;
    bottom: 30px;
    left: 34px;
    max-width: 520px;
    margin-inline: auto;
  }

  .signature-section {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
  }

  .signature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signature-card.large {
    grid-row: span 2;
  }

  .signature-card.large img {
    aspect-ratio: 0.88;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
  }

  .featured-product {
    display: grid;
    min-height: 100%;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .cake-showcase {
    display: flex;
    flex-direction: column;
  }

  .product-card > img {
    width: 100%;
    aspect-ratio: 1.04;
    height: auto;
  }

  .product-card[data-category="cake"] > img {
    aspect-ratio: 1.08;
  }

  .featured-product > img {
    height: 100%;
    aspect-ratio: auto;
  }

  .product-body {
    flex: 1;
    padding: 18px 8px 8px;
  }

  .checkout-section,
  .order-section {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
  }

  .checkout-drawer {
    align-items: center;
    padding: 32px;
  }

  .checkout-drawer .checkout-panel {
    max-height: min(88vh, 820px);
    border-radius: 28px;
  }

  .checkout-drawer .summary-panel {
    display: block;
    max-height: min(88vh, 820px);
    overflow: auto;
    border-radius: 28px;
  }

  .summary-panel {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

@media (min-width: 1240px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .store-card {
    grid-template-rows: auto 1fr;
  }
}
