.visit-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.visit-locations {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: none;
}

.visit-location {
  display: flex;
  flex-direction: column;
}

.visit-card .visit-badge {
  align-self: flex-start;
}

.visit-location-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin-top: 22px;
}

.visit-location-media figure {
  min-width: 0;
  margin: 0;
}

.visit-card .visit-location-media img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(18, 47, 91, 0.34);
}

.visit-card .visit-address-link {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 3px;
}

.visit-card .visit-address-link:hover {
  text-decoration-color: currentColor;
}

.visit-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.visit-card .visit-contact-label {
  font-size: 0.86rem;
}

.visit-card .visit-contact a {
  padding: 16px 22px;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.visit-location-media figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .visit-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 901px) {
  .visit-location {
    width: calc(100% + 18px);
    margin-left: -18px;
    padding-left: 36px;
  }
}

@media (max-width: 640px) {
  .visit-location {
    padding: 15px 14px;
  }

  .visit-location-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
  }

  .visit-card .visit-location-media img {
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 8px;
  }

  .visit-contact {
    display: grid;
    gap: 8px;
  }

  .visit-card .visit-contact a {
    padding: 13px 15px;
    font-size: 1rem;
  }
}
.nav-links {
  align-items: center;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(36px, auto));
  gap: 2px;
  margin-left: 6px;
  padding: 2px;
  border: 1px solid rgba(0, 88, 168, 0.18);
  border-radius: 8px;
  background: rgba(255, 254, 249, 0.9);
}

.language-switch button {
  min-height: 32px;
  padding: 6px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.language-switch button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
}

.language-switch button:hover:not([aria-pressed="true"]) {
  background: var(--yellow-soft);
  color: var(--blue);
}

.language-switch button:focus-visible {
  outline-color: var(--blue);
}

html[lang="zh-CN"] body,
html[lang="zh-CN"] button {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] .craft-process-copy h3,
html[lang="zh-CN"] .visit-card h2 {
  font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  font-weight: 700;
  line-height: 1.14;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] .craft-process-copy h3 {
  text-wrap: balance;
}

html[lang="zh-CN"] .product-row h3,
html[lang="zh-CN"] .ingredient-card h3 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-weight: 700;
}

html[lang="zh-CN"] .hero h1 {
  line-height: 1.14;
}

html[lang="en"] .hero h1 {
  font-size: clamp(2.65rem, 3.85vw, 3.85rem);
}

@media (min-width: 760px) {
  html[lang="en"] .hero h1 span {
    white-space: nowrap;
  }
}

html[lang="zh-CN"] .brand-heading .eyebrow,
html[lang="zh-CN"] .ingredient-intro .eyebrow,
html[lang="zh-CN"] .craft-intro .eyebrow,
html[lang="zh-CN"] .products-head .eyebrow {
  font-weight: 700;
  line-height: 1.2;
}

.ingredient-intro,
.products-head {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  max-width: 1080px;
}

.ingredient-intro .eyebrow,
.craft-intro .eyebrow,
.products-head .eyebrow {
  margin-bottom: 10px;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.ingredient-intro h2,
.products-head h2 {
  max-width: 900px;
}

.ingredient-intro-copy {
  max-width: 900px;
  padding-top: 0;
}

.craft-process-copy h3 {
  font-size: clamp(2.15rem, 3.65vw, 3.85rem);
  line-height: 1.08;
}

html[lang="zh-CN"] .brand-copy,
html[lang="zh-CN"] .ingredient-intro-copy p,
html[lang="zh-CN"] .craft-intro p:not(.eyebrow),
html[lang="zh-CN"] .craft-process-copy p,
html[lang="zh-CN"] .product-row p,
html[lang="zh-CN"] .accessibility-copy {
  line-height: 1.9;
}

html[lang="zh-CN"] .ingredient-tags span,
html[lang="zh-CN"] .ingredient-card span,
html[lang="zh-CN"] .craft-process-copy span {
  text-transform: none;
}

@media (max-width: 1020px) {
  .nav-links {
    align-items: stretch;
  }

  .language-switch {
    width: 100%;
    margin: 4px 0 0;
  }

  .language-switch button {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(2rem, 8vw, 2.66rem);
  }

  html[lang="zh-CN"] .hero-copy p:not(.eyebrow) {
    line-height: 1.72;
  }

  .ingredient-intro .eyebrow,
  .craft-intro .eyebrow,
  .products-head .eyebrow {
    margin-bottom: 8px;
    font-size: 1rem;
  }

  .ingredient-intro h2,
  .products-head h2 {
    max-width: 19rem;
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.12;
  }

  .craft-process-copy h3 {
    margin-top: 12px;
    font-size: clamp(1.9rem, 8vw, 2.45rem);
    line-height: 1.12;
  }

  .product-row h3 {
    font-size: 1.16rem;
  }

  .product-row p {
    font-size: 0.9rem;
    line-height: 1.68;
  }
}
