:root {
  --jade: #1f4d38;
  --deep: #14281f;
  --leaf: #3f6b45;
  --lime: #c6b07a;
  --gold: #9a6b32;
  --cream: #f3ead7;
  --paper: #f7f1e4;
  --ink: #1c2820;
  --muted: #4e493f;
  --line: rgba(70, 52, 28, 0.18);
  --wood: #3a2416;
  --cinnabar: #8c2f2a;
  --serif: "Source Serif 4", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", Arial, sans-serif;
  --script: "Charm", "Times New Roman", serif;
  --rise: cubic-bezier(0.22, 0.7, 0.25, 1);
}

body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0 0, rgba(140, 47, 42, 0.05), transparent 34%),
    radial-gradient(ellipse at 100% 8%, rgba(31, 77, 56, 0.07), transparent 32%),
    var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

a,
button,
summary,
[role="tab"],
.care-paths__grid > a {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
}

.topbar {
  color: #f4ead6;
  background: linear-gradient(90deg, #1a120c, #3d2a1c 48%, #1a120c);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.site-header {
  background: rgba(247, 241, 228, 0.94);
  border-bottom: 1px solid rgba(154, 107, 50, 0.35);
  box-shadow: 0 10px 28px rgba(36, 24, 12, 0.06);
}

.brand strong {
  color: var(--cinnabar);
}

.nav-links a {
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cinnabar);
}

.button,
.research-button {
  min-height: 48px;
  padding: 0 22px;
  color: #fffdf8;
  background: var(--cinnabar);
  border: 1px solid #6f221e;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button:hover,
.research-button:hover,
.nav-order:hover {
  color: #fffdf8;
  background: #6f221e;
  transform: translateY(-2px);
}

.research-kicker,
.research-kicker--dark {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.research-heading h2,
.research-process h2,
.research-hero h1,
.hero-institute {
  font-family: var(--serif);
}

.product-introduction .research-heading {
  display: block;
  container-type: inline-size;
}

.product-introduction .research-heading > div {
  width: 100%;
  max-width: none;
}

.product-introduction .product-title {
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-size: 8cqi;
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.research-hero {
  background:
    linear-gradient(100deg, rgba(16, 28, 22, 0.88), rgba(20, 40, 31, 0.55) 54%, rgba(20, 28, 18, 0.28)),
    var(--deep);
}

.research-hero:after {
  border-color: rgba(198, 176, 122, 0.45);
}

.hero-seal span,
.product-gallery__stamp,
.research-journey__seal {
  color: var(--cinnabar);
  border-color: rgba(140, 47, 42, 0.45);
}

.care-paths__grid {
  background: #fffaf1;
  border: 1px solid rgba(154, 107, 50, 0.28);
  box-shadow: 0 18px 40px rgba(42, 28, 14, 0.08);
}

.care-paths__grid > a {
  min-height: 112px;
  background: transparent;
  transition: background 180ms var(--rise), color 180ms var(--rise);
}

.care-paths__grid > a:hover,
.care-paths__grid > a:focus-visible {
  background: #f3e7cf;
}

.care-paths__grid > a span {
  color: var(--cinnabar);
}

.product-introduction,
.research-overview {
  background-color: transparent;
}

.product-showcase,
.herb-card,
.research-article,
.research-study {
  background: #fffaf1;
  border-color: rgba(154, 107, 50, 0.24);
  box-shadow: 0 16px 40px rgba(48, 32, 16, 0.06);
}

.product-showcase__visual {
  background:
    radial-gradient(circle at 50% 38%, #f8f1df 0%, #e4d2aa 46%, #8ea06a 100%);
}

.product-badges span,
.product-facts,
.formula-card,
.condition-card,
.research-category-card {
  border-color: rgba(154, 107, 50, 0.22);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.digestive-conditions,
.research-process,
.usage-consultation {
  background-color: #efe4cc;
}

.online-order {
  background:
    radial-gradient(circle at 12% 0, rgba(198, 176, 122, 0.16), transparent 32%),
    linear-gradient(145deg, #14281f, #24352a 58%, #2b2118);
}

.research-footer {
  color: #f6efe2;
  background: #1a120c;
}

.footer-information__brand p,
.footer-legal-list dd,
.footer-contact-list p,
.footer-contact-list a,
.footer-copyright p {
  color: #e7decc;
  font-size: 14px;
}

.footer-legal-list dt,
.footer-contact-list span {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-contact-list p + p {
  margin-top: 8px;
}

.production-step__marker span {
  background: var(--jade);
  border-color: #efe4cc;
}

.production-step__media,
.production-step__media:has(img[src*="vung-khai-thac"]),
.production-step__media--landscape,
.production-step__media--package {
  width: min(100%, 320px);
  height: auto;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  justify-self: center;
  align-self: center;
  padding: 0;
  overflow: hidden;
  background: #efe6d4;
}

.production-step__media img,
.production-step__media img[src*="vung-khai-thac"],
.production-step__media--landscape img,
.production-step__media--package img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #efe6d4;
}

.production-step__media > span {
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px 12px 8px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: none;
  background: linear-gradient(transparent, rgba(18, 14, 10, 0.78));
}

.product-showcase__label {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.product-showcase {
  align-items: start;
}

.product-showcase__visual {
  height: auto;
  min-height: 0;
}

.product-gallery__stage {
  height: 430px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  margin-top: 18px;
}

.product-detail-grid > section {
  margin: 0;
  padding: 22px 22px 18px;
  background: #fffaf1;
  border: 1px solid rgba(154, 107, 50, 0.24);
}

.product-detail-grid h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}

.product-detail-grid .product-benefits {
  grid-template-columns: 1fr;
}

.product-users {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-users li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
}

.product-users span {
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
}

.product-users strong {
  color: var(--ink);
  font-weight: 600;
}

.product-users p {
  margin: 4px 0 0;
}

.research-hero__content > * {
    animation: dy-rise 1s var(--rise) both;
  }

  .research-hero__content > *:nth-child(1) { animation-delay: 80ms; }
  .research-hero__content > *:nth-child(2) { animation-delay: 200ms; }
  .research-hero__content > *:nth-child(3) { animation-delay: 340ms; }
  .research-hero__content > *:nth-child(4) { animation-delay: 480ms; }
  .research-hero__content > *:nth-child(5) { animation-delay: 620ms; }
  .research-hero__content > *:nth-child(6) { animation-delay: 760ms; }

  .research-hero .research-kicker:before {
    transform-origin: left center;
    animation: dy-line 800ms 220ms var(--rise) both;
  }

  .hero-lab-card {
    animation: dy-fade 1s var(--rise) both;
  }

  .hero-lab-card--process { animation-delay: 280ms; }
  .hero-lab-card--medical { animation-delay: 480ms; }
  .hero-lab-card--research { animation-delay: 680ms; }

  .reveal {
    opacity: 0;
    transform: translateY(56px);
    filter: blur(8px);
  }

  .reveal.is-shown {
    animation: dy-rise 900ms var(--rise) forwards;
    animation-delay: var(--reveal-delay, 0ms);
  }

  .reveal.is-shown-done {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

@keyframes dy-rise {
  from {
    opacity: 0;
    transform: translateY(56px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes dy-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dy-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.retail-catalog {
  margin-top: 0;
  scroll-margin-top: 105px;
  background: transparent;
}

.care-paths {
  margin-top: 0;
  z-index: 1;
}

.retail-catalog .research-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 650;
  line-height: 1.15;
}

.retail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.retail-card {
  display: flex;
  flex-direction: column;
  background: #fffaf1;
  border: 1px solid rgba(154, 107, 50, 0.28);
  box-shadow: 0 16px 36px rgba(48, 32, 16, 0.06);
}

.retail-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.retail-card > img.retail-card__photo--box {
  object-fit: contain;
  background: #f4f1e6;
}

.retail-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 16px 16px 18px;
}

.retail-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
}

.retail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.retail-card table,
.retail-price-board table {
  width: 100%;
  border-collapse: collapse;
}

.retail-card th,
.retail-card td,
.retail-price-board th,
.retail-price-board td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
}

.retail-card td:last-child,
.retail-card th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.retail-card .button {
  width: 100%;
  margin-top: auto;
}

.retail-price-board {
  margin-top: 28px;
  overflow-x: auto;
  background: #fffaf1;
  border: 1px solid rgba(154, 107, 50, 0.28);
}

.retail-price-board table {
  min-width: 680px;
}

.retail-price-board caption {
  padding: 18px 18px 8px;
  font-family: var(--serif);
  font-size: 28px;
  text-align: left;
}

.retail-price-board th,
.retail-price-board td {
  padding: 14px 18px;
}

.retail-price-board td:nth-child(3) {
  color: var(--cinnabar);
  font-family: var(--serif);
  font-size: 22px;
}

.retail-price-board button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--cinnabar);
  background: transparent;
  border: 1px solid rgba(140, 47, 42, 0.45);
  border-radius: 999px;
  cursor: pointer;
}

.retail-price-board button:hover,
.retail-price-board button:focus-visible {
  color: #fffdf8;
  background: var(--cinnabar);
}

.online-order__form select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: #fffaf1;
  border: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .retail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .button,
  .research-button,
  .hero-consult {
    min-height: 48px;
  }

  .retail-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery__stage {
    height: 360px;
  }

  .retail-catalog {
    margin-top: 56px;
  }

  .retail-price-board table {
    min-width: 0;
  }

  .retail-price-board th,
  .retail-price-board td {
    padding: 12px 10px;
  }

  .retail-price-board td:nth-child(3) {
    font-size: 18px;
  }
}

/* Phone layout: readable type, reachable controls, no clipped panels. */
@media (max-width: 1100px) {
  .nav {
    position: relative;
    gap: 8px;
    min-height: 64px;
  }

  .brand {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 56px;
    max-width: calc(100% - 168px);
    margin-right: auto;
  }

  .brand img {
    width: 46px;
    height: 34px;
    flex: 0 0 auto;
    object-fit: cover;
    object-position: center 12%;
  }

  .site-header .brand .brand__descriptor {
    display: flex;
    min-width: 0;
    padding-left: 8px;
    border-left: 0;
  }

  .brand__descriptor strong {
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.01em;
    white-space: normal;
  }

  .brand__descriptor small {
    display: none;
  }

  .nav-order {
    display: none;
  }

  .language-switcher {
    position: static;
    height: 40px;
    margin-left: 0;
    padding-inline: 6px;
  }

  .language-switcher button {
    min-width: 36px;
    height: 32px;
  }

  .menu-toggle {
    position: static;
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(112, 76, 37, 0.35);
  }

  .site-header {
    backdrop-filter: none;
  }

  .nav-links {
    position: fixed;
    z-index: 80;
    top: var(--mobile-menu-top, 108px);
    right: 0;
    left: 0;
    display: none;
    height: calc(100dvh - var(--mobile-menu-top, 108px));
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 12px calc(92px + env(safe-area-inset-bottom));
    background: #f7f1e4;
    box-shadow: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-dropdown__toggle {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown__menu {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 8px 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.open .nav-dropdown__menu {
    display: block;
  }

  .nav-dropdown__menu a {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 16px;
  }

  section[id],
  .retail-catalog,
  .usage-consultation {
    scroll-margin-top: 116px;
  }
}

@media (max-width: 780px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 70;
  }

  .topbar-inner {
    min-height: 44px;
  }

  .topbar a {
    min-height: 44px;
    padding: 8px 4px;
  }

  .language-switcher {
    height: 44px;
  }

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

  .footer-contact-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-header {
    top: 44px;
  }

  .site-header .container {
    width: min(100% - 28px, 1360px);
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 52px 0;
  }

  .research-hero,
  .research-hero__layout {
    min-height: 0;
  }

  .research-hero__layout {
    padding: 28px 0 40px;
    gap: 22px;
  }

  .research-hero .research-kicker {
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 1.55;
  }

  .research-hero__content {
    display: flex;
    flex-direction: column;
  }

  .research-hero .hero-actions {
    order: 2;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 8px;
  }

  .research-hero__content > p:not(.research-kicker) {
    order: 3;
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.75;
  }

  .hero-seal {
    order: 4;
  }

  .research-hero h1 {
    font-size: clamp(30px, 8.2vw, 40px);
    line-height: 1.32;
    letter-spacing: -0.02em;
  }

  .research-hero h1 br {
    display: inline;
  }

  .research-hero h1 br::after {
    content: " ";
  }

  .hero-consult {
    width: 100%;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .research-button,
  .hero-consult {
    width: 100%;
  }

  .hero-laboratory:before,
  .hero-steam,
  .hero-research-mark {
    display: none;
  }

  .hero-laboratory {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 148px;
    gap: 8px;
    margin-top: 4px;
  }

  .hero-lab-card--process {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .hero-lab-card--medical {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-lab-card--research {
    grid-column: 2;
    grid-row: 2;
  }

  .hero-lab-card figcaption {
    right: 6px;
    bottom: 6px;
    left: 6px;
    gap: 8px;
    padding: 8px;
  }

  .hero-lab-card figcaption strong,
  .hero-seal strong {
    font-size: 14px;
  }

  .hero-seal small,
  .hero-lab-card figcaption small {
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .product-introduction {
    padding-top: 52px;
  }

  .product-introduction .product-title {
    width: auto;
    font-size: clamp(32px, 9vw, 46px);
    white-space: normal;
    text-wrap: balance;
  }

  .product-gallery__heading > span {
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 1.45;
  }

  .product-gallery__stamp {
    display: none;
  }

  .product-gallery__stage {
    height: 340px;
    align-content: start;
  }

  .product-gallery__stage > img {
    height: 74%;
    max-height: 74%;
    margin-top: 12px;
    align-self: start;
    justify-self: center;
  }

  .product-gallery__arrow {
    top: 42%;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .product-gallery__arrow--prev {
    left: 8px;
  }

  .product-gallery__arrow--next {
    right: 8px;
  }

  .product-gallery__caption {
    right: 12px;
    bottom: 10px;
    left: 12px;
    min-width: 0;
    max-width: none;
  }

  .product-gallery__thumbs {
    gap: 8px;
  }

  .product-gallery__thumbs button {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    min-height: 44px;
    padding: 6px;
  }

  .product-gallery__thumbs img {
    width: 100%;
    height: 64px;
  }

  .product-gallery__thumbs span {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-gallery__thumbs strong {
    font-size: 13px;
    text-align: center;
    white-space: normal;
  }

  .product-gallery__thumbs small {
    display: none;
  }

  .product-showcase__information {
    padding: 28px 18px 24px;
  }

  .product-showcase__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .product-showcase__actions .button,
  .usage-consultation__intro .button,
  .order-submit,
  .retail-card .button {
    width: 100%;
  }

  .product-detail-grid > section {
    padding: 18px 16px 14px;
  }

  .product-detail-grid h3 {
    font-size: 24px;
  }

  .production-timeline:before {
    left: 21px;
  }

  .production-step {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-height: 0;
    margin-bottom: 28px;
  }

  .production-step__marker {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .production-step__marker span {
    width: 42px;
    height: 42px;
  }

  .production-step__content {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding: 16px 16px 14px;
  }

  .production-step__content:before {
    display: none;
  }

  .production-step__content h3 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .production-step__media,
  .production-step__assurance,
  .production-step__final-number {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }

  .production-step__media,
  .production-step__media:has(img[src*="vung-khai-thac"]),
  .production-step__media--landscape,
  .production-step__media--package {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    justify-self: stretch;
  }

  .production-step__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .production-step__assurance {
    height: auto;
    min-height: 0;
    padding: 24px 18px;
  }

  .process-commitment {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 14px;
    margin-top: 36px;
    padding: 18px;
  }

  .process-commitment__meta {
    grid-column: 1 / -1;
  }

  .research-journey {
    margin-right: 0;
    margin-left: 0;
    padding: 28px 16px 22px;
  }

  .retail-price-board thead {
    display: none;
  }

  .retail-price-board table,
  .retail-price-board tbody,
  .retail-price-board tr,
  .retail-price-board td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .retail-price-board tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .retail-price-board td {
    padding: 0;
    border: 0;
    text-align: left;
  }

  .retail-price-board td:nth-child(1) {
    font-weight: 700;
  }

  .retail-price-board td:nth-child(2) {
    color: var(--muted);
  }

  .retail-price-board td:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 20px;
  }

  .retail-price-board td:nth-child(4) {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .retail-price-board button {
    width: 100%;
  }

  .condition-catalog {
    grid-template-columns: 1fr;
  }

  .condition-profile__tabs {
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
    border-bottom: 0;
  }

  .condition-profile__tabs button {
    flex: none;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    border: 1px solid var(--line);
  }

  .condition-warning {
    grid-template-columns: 1fr;
  }

  .condition-warning a {
    grid-column: 1;
    justify-self: stretch;
    min-height: 48px;
  }

  .order-form__fields,
  .order-contact-list {
    grid-template-columns: 1fr;
  }

  .order-field input,
  .order-field textarea,
  .online-order__form select {
    font-size: 16px;
  }

  .order-quantity {
    height: 52px;
    grid-template-columns: 52px 1fr 52px;
  }

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

  .order-contact .phone-number,
  .floating-contact .phone-number {
    font-size: 16px !important;
    letter-spacing: 0.03em !important;
  }

  .floating-contact {
    right: 0;
    bottom: 0;
    left: 0;
    gap: 0;
    filter: none;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .floating-contact a {
    flex: 1;
    min-height: 60px;
  }

  .floating-contact__call {
    flex: 1.35;
  }

  body:has(input:focus, textarea:focus, select:focus) .floating-contact {
    display: none;
  }

  .footer-information {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-information__brand {
    grid-column: 1;
    flex-direction: column;
  }

  .footer-copyright .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .footer-copyright p:last-child {
    text-align: left;
  }
}

/* Journey milestones: keep every card in normal flow so text is not covered. */
@media (min-width: 781px) {
  .research-journey__map {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    margin-top: 36px;
  }

  .research-journey__route {
    display: none;
  }

  .journey-milestone,
  .journey-milestone--1,
  .journey-milestone--2,
  .journey-milestone--3,
  .journey-milestone--4,
  .journey-milestone--5,
  .journey-milestone--6 {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    opacity: 1;
    transform: none;
  }

  .journey-milestone__pin,
  .journey-milestone--1 .journey-milestone__pin,
  .journey-milestone--2 .journey-milestone__pin,
  .journey-milestone--3 .journey-milestone__pin,
  .journey-milestone--4 .journey-milestone__pin,
  .journey-milestone--5 .journey-milestone__pin,
  .journey-milestone--6 .journey-milestone__pin {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 0 0 12px;
  }

  .journey-milestone__card {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .journey-milestone__card h4,
  .journey-milestone__card p {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 1180px) {
  .research-journey__map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Digestive conditions: a short list beside the full reading, with no extra shortcut bar. */
.digestive-conditions .condition-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.digestive-conditions .condition-catalog {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 116px;
}

.digestive-conditions .condition-card {
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 2px;
  padding: 12px 14px;
  text-align: left;
  color: var(--ink);
  background: #fffaf1;
  border: 1px solid rgba(154, 107, 50, 0.28);
  box-shadow: none;
  transform: none;
}

.digestive-conditions .condition-card:hover {
  transform: none;
  background: #f3e7cf;
}

.digestive-conditions .condition-card svg {
  display: none;
}

.digestive-conditions .condition-card > span {
  position: static;
  flex: 0 0 auto;
  color: var(--cinnabar);
  font-size: 15px;
  line-height: 1.4;
}

.digestive-conditions .condition-card strong {
  flex: 1 1 auto;
  max-width: none;
  font-size: 18px;
  line-height: 1.35;
}

.digestive-conditions .condition-card small {
  flex: 1 1 100%;
  min-width: 0;
  margin: 0;
  padding-left: 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
}

.digestive-conditions .condition-card.active {
  color: #fffdf8;
  background: var(--jade);
  border-color: var(--jade);
}

.digestive-conditions .condition-card.active > span,
.digestive-conditions .condition-card.active small {
  color: #e7d7a8;
}

.digestive-conditions .condition-profile {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 28px 32px 18px;
  background: #fffaf1;
  border: 1px solid rgba(154, 107, 50, 0.24);
  box-shadow: none;
}

.digestive-conditions .condition-profile__content {
  padding: 0;
}

.digestive-conditions .condition-profile__content h3 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 3vw, 40px);
}

.digestive-conditions .condition-profile__content header > p {
  max-width: 68ch;
  margin: 0 0 8px;
}

.digestive-conditions .condition-profile__panel {
  display: grid;
  gap: 0;
  padding-top: 6px;
}

.digestive-conditions .condition-profile__panel section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.digestive-conditions .condition-profile__panel h4 {
  margin: 0 0 12px;
  font-size: 24px;
}

.digestive-conditions .condition-profile__panel ul {
  gap: 8px;
}

.digestive-conditions .condition-profile__panel li {
  padding: 12px 14px 12px 34px;
  font-size: 17px;
  line-height: 1.75;
}

.digestive-conditions .condition-warning {
  margin-top: 22px;
}

@media (max-width: 780px) {
  .digestive-conditions .condition-layout {
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 100%;
  }

  .digestive-conditions .condition-catalog {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
  }

  .digestive-conditions .condition-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 4px;
    justify-items: start;
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .digestive-conditions .condition-card > span {
    grid-column: 1;
    grid-row: 1;
  }

  .digestive-conditions .condition-card strong {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
  }

  .digestive-conditions .condition-card small {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    max-width: 100%;
    padding-left: 0;
  }

  .digestive-conditions .condition-profile {
    padding: 20px 16px 8px;
  }
}

.online-order .research-kicker {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
}

.product-showcase__actions .button {
  font-size: 18px;
}

.online-order__form .order-form__heading span {
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.online-order__form .order-field > span,
.online-order__form .order-field > span b {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0;
}

.online-order__form .order-field > input,
.online-order__form .order-field textarea,
.online-order__form select {
  min-height: 56px;
  padding: 14px 16px;
  font-size: 20px;
  line-height: 1.5;
}

.online-order__form .order-quantity {
  height: 56px;
  grid-template-columns: 56px 1fr 56px;
}

.online-order__form .order-quantity button {
  font-size: 28px;
}

.online-order__form .order-quantity input {
  font-size: 22px;
}

.online-order__form .order-consent {
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  font-size: 18px;
  line-height: 1.55;
}

.online-order__form .order-consent input {
  width: 28px;
  height: 28px;
}

.online-order__form .order-submit {
  min-height: 64px;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.online-order__form .order-message {
  font-size: 18px;
  line-height: 1.6;
}

.online-order__layout {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 22px;
}

.online-order__intro {
  position: static;
  text-align: center;
}

.online-order .online-order__intro h2 {
  width: auto;
  max-width: 100%;
  margin: 0 auto 12px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  text-align: center;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.online-order__intro > p:not(.research-kicker) {
  max-width: 62ch;
  margin: 0 auto;
}

.online-order__form {
  padding: 28px 28px 24px;
}

.order-form__heading {
  margin-bottom: 22px;
  padding-bottom: 14px;
}

.online-order__form .order-form__fields {
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr);
}

.order-contact-list {
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}

@media (max-width: 780px) {
  .online-order__layout,
  .order-contact-list,
  .online-order__form .order-form__fields {
    grid-template-columns: 1fr;
  }

  .online-order__form {
    padding: 22px 16px 18px;
  }
}

/* Production steps follow the written sequence: number, text, then a compact photo. */
.research-process .production-timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-process .production-timeline:before {
  display: none;
}

.research-process .production-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(200px, 280px);
  gap: 8px 18px;
  align-items: center;
  min-height: 0;
  margin: 0;
  padding: 16px 18px;
  background: #fffaf1;
  border: 1px solid rgba(154, 107, 50, 0.22);
}

.research-process .production-step__marker {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  align-self: start;
}

.research-process .production-step__marker span {
  width: 44px;
  height: 44px;
  border-width: 4px;
  font-size: 15px;
}

.research-process .production-step__content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.research-process .production-step:nth-child(odd) .production-step__content:before,
.research-process .production-step:nth-child(even) .production-step__content:before {
  display: none;
}

.research-process .production-step--final .production-step__content,
.research-process .production-step--final .production-step__content h3,
.research-process .production-step--final .production-step__content p,
.research-process .production-step--final .production-step__content li {
  color: inherit;
  background: transparent;
  border: 0;
}

.research-process .production-step--final .production-step__content h3 {
  color: var(--jade);
}

.research-process .production-step--final .production-step__content p {
  color: var(--muted);
}

.research-process .production-step__content h3 {
  margin: 4px 0 8px;
  font-size: 26px;
}

.research-process .production-step__media,
.research-process .production-step__media:has(img[src*="vung-khai-thac"]),
.research-process .production-step__media--landscape,
.research-process .production-step__media--package,
.research-process .production-step__assurance {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: none;
  justify-self: stretch;
  align-self: center;
  margin: 0;
}

.research-process .production-step__assurance {
  height: auto;
  min-height: 0;
  padding: 18px 14px;
}

.research-process .production-step__media img {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 780px) {
  .research-process .production-step {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px 12px;
  }

  .research-process .production-step__media,
  .research-process .production-step__media:has(img[src*="vung-khai-thac"]),
  .research-process .production-step__media--landscape,
  .research-process .production-step__media--package,
  .research-process .production-step__assurance {
    grid-column: 1 / -1;
    grid-row: 2;
    aspect-ratio: 16 / 9;
  }
}

/* Shared fit: no sideways scroll, images stay inside the screen, controls stay easy to tap. */
:root {
  --serif: "Source Serif 4", Georgia, serif;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

img,
svg,
video {
  max-width: 100%;
}

.container,
.section,
.retail-grid,
.retail-card,
.product-showcase,
.condition-layout,
.production-step,
.online-order__layout,
.research-journey,
.research-heading,
.process-heading {
  min-width: 0;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
}

.section {
  padding: clamp(52px, 7vw, 96px) 0;
}

.section h2 {
  font-size: clamp(30px, 4vw, 52px);
  overflow-wrap: anywhere;
}

.button,
.order-submit,
.retail-card .button,
.menu-toggle,
.floating-contact a,
a.nav-order,
a.hero-consult,
a.phone-number,
.condition-warning a {
  min-height: 48px;
}

a.nav-order,
a.phone-number,
.condition-warning a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
}

.research-hero {
  overflow: hidden;
}

.floating-contact {
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
}

.floating-contact a,
.floating-contact strong,
.floating-contact .phone-number {
  min-width: 0;
}

@media (max-width: 1100px) {
  a.nav-order {
    display: none;
  }

  body.menu-open .topbar,
  body.menu-open .site-header {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 90;
  }

  body.menu-open .topbar {
    top: 0;
  }

  body.menu-open .site-header {
    top: var(--mobile-topbar-height, 44px);
    background: #f7f1e4;
  }

  .reveal,
  .reveal.is-shown,
  .reveal.is-shown-done {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  [id] {
    scroll-margin-top: 112px;
  }

  .floating-contact {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    gap: 0;
  }

  .floating-contact a {
    flex: 1 1 0;
    min-height: 56px;
    padding-inline: 12px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 767px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .section {
    padding: 48px 0;
  }

  .section h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .section h3 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .retail-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .retail-card > img.retail-card__photo--box {
    object-fit: contain;
    background: #f4f1e6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-shown,
  .reveal.is-shown-done,
  .research-hero__content > *,
  .hero-lab-card {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

@media (min-width: 1101px) {
  .brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    height: auto;
    overflow: visible;
    padding: 0;
    background: transparent;
  }
}

/* Phone reading: the year mark and the call bar stay large enough to read. */
.research-journey__heading > div > span {
  font-size: 14px;
  letter-spacing: 0.08em;
}

@media (max-width: 1100px) {
  .floating-contact__call span,
  .floating-contact__zalo {
    font-size: 13px;
    letter-spacing: 0.04em;
  }
}

/* Keep each production photo fully inside its frame. */
.research-process .production-step__media img {
  object-fit: contain;
  background: #f6f1e4;
}
