/* Global shell: header, drawer, inner pages, expanded footer
   (tokens mirror shop `AppColors` + `ResponsiveBreakpoints` ~480 / 768 / 992).
   Shared design tokens live in `home.css` `:root` (loaded before this file). */

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* --- Header shell: wraps bar + drawer (backdrop must not be under `backdrop-filter`). --- */
.site-header-shell {
  flex-shrink: 0;
  position: relative;
  z-index: 40;
}

/* --- Header bar (glass) — drawer/backdrop are siblings, see `header.dart`. --- */
.site-header {
  flex-shrink: 0;
  background: var(--color-surface, #fff);
  border-bottom: 1px solid var(--color-border-muted, #e8f0ed);
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.76);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom-color: rgba(232, 240, 237, 0.85);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
  }
}

.site-header__bar {
  max-width: var(--shop-layout-max);
  margin: 0 auto;
  /* Same vertical padding at all breakpoints so total header height stays stable. */
  padding: 14px 16px;
}

@media (min-width: 992px) {
  .site-header__bar {
    padding: 14px 24px;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  /* One row height for logo, nav pills, CTA, and menu — avoids layout shift on active/hover. */
  min-height: 48px;
}

.site-header__logo {
  display: block;
  flex-shrink: 0;
}

/* Flutter `Header._buildLogo`: landscape logo, constrained width */
.site-header__logo-img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  min-width: var(--shop-header-logo-min-w);
  object-fit: contain;
}

@media (min-width: 992px) {
  .site-header__logo-img {
    height: 32px;
    max-width: 176px;
    min-width: var(--shop-header-logo-min-w);
  }
}

/* Flutter `Header` desktop row: [logo][Gap 40][nav…][Spacer][actions] — nav is not centered in the bar */
.site-header__nav--desktop {
  display: none;
  flex: 0 1 auto;
  justify-content: flex-start;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

/* Compact toolbar nav — tighter type, pill hover (desktop). */
.site-header__nav-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-ink-muted, #4b665f);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}

.site-header__nav-link:hover {
  color: var(--color-primary, #2da884);
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
}

.site-header__nav-link.is-active {
  color: var(--color-primary, #2da884);
  /* Same weight as default so cap height / line box match (no bar jump). */
  font-weight: 500;
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Compact primary CTA in header — omit `display` here so `.site-header__contact { display: none }`
   wins over `.home-btn { display: inline-flex }` from home.css (combined selector was forcing visible). */
.site-header__contact.home-btn--filled,
a.site-header__contact.home-btn--filled {
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04)), 0 4px 16px rgba(45, 168, 132, 0.28);
}

.site-header__contact {
  display: none;
}

.site-header__menu {
  box-sizing: border-box;
  border: none;
  background: transparent;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  color: #142a25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header__menu:hover {
  background: rgba(45, 168, 132, 0.12);
  color: #2da884;
}

.site-header__menu:focus-visible {
  outline: 2px solid #2da884;
  outline-offset: 2px;
}

.site-header__menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 16px;
}

.site-header__menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 0 0.5px rgba(20, 42, 37, 0.06);
  transition: transform 0.22s ease, opacity 0.22s ease, width 0.22s ease;
}

.site-header__menu:not(.is-active):hover .site-header__menu-bar:nth-child(1) {
  width: 100%;
}

.site-header__menu:not(.is-active):hover .site-header__menu-bar:nth-child(2) {
  width: 85%;
}

.site-header__menu:not(.is-active):hover .site-header__menu-bar:nth-child(3) {
  width: 70%;
  align-self: flex-end;
}

.site-header__menu.is-active .site-header__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 100%;
  align-self: center;
}

.site-header__menu.is-active .site-header__menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header__menu.is-active .site-header__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 100%;
  align-self: center;
}

.site-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 42, 37, 0.45);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.site-drawer__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--color-surface, #fff);
  z-index: 50;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md, 0 12px 32px rgba(20, 42, 37, 0.1));
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.site-drawer.is-open {
  transform: translateX(0);
}

.site-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #d9e9e5;
}

.site-drawer__logo-img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.site-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
  cursor: pointer;
  color: var(--color-ink-muted, #4b665f);
  transition: background 0.18s ease, color 0.18s ease;
}

.site-drawer__close:hover {
  background: rgba(45, 168, 132, 0.2);
  color: var(--color-primary, #2da884);
}

.site-drawer__close:focus-visible {
  outline: 2px solid var(--color-primary, #2da884);
  outline-offset: 2px;
}

.site-drawer__close-icon {
  font-size: 22px !important;
  line-height: 1;
}

.site-drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-drawer__nav-label {
  margin: 0 0 10px 4px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-caption, #7f8c8d);
}

a.site-drawer__link {
  display: block;
  padding: 14px 16px;
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-ink, #142a25);
  text-decoration: none;
  border-radius: 12px;
  border-bottom: none;
  transition: background 0.18s ease, color 0.18s ease;
}

a.site-drawer__link:hover {
  background: var(--color-bg-page, #f3f7f5);
  color: var(--color-primary, #2da884);
}

a.site-drawer__link.is-active {
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
  color: var(--color-primary, #2da884);
  font-weight: 600;
}

.site-drawer__footer {
  padding: 20px;
  border-top: 1px solid #d9e9e5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Desktop nav, hide hamburger, show header Liên hệ — aligned at 992px with the rest of the shop shell. */
@media (min-width: 992px) {
  .site-header__nav--desktop {
    display: flex;
    margin-left: 20px;
  }

  .site-header__menu {
    display: none;
  }

  .site-header__contact.home-btn--filled,
  a.site-header__contact.home-btn--filled {
    display: inline-flex;
  }

  .site-header__contact {
    display: inline-flex;
  }
}

/* --- Page shell --- */
.page-container {
  max-width: var(--shop-layout-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Shop `ServicesHeroSection` / `AboutHeroSection` / `ContactHeroSection`:
   primary bg, vertical 80/100/120 mobile/tablet/desktop, Plus Jakarta Sans 36/40/48/56,
   Be Vietnam Pro 16/18/20, 800px max width, center aligned. */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-primary, #2da884) 0%, #248f70 48%, #1e7a63 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(255, 255, 255, 0.22), transparent 50%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, transparent 40%);
  z-index: 0;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.page-hero__subtitle {
  margin: 16px 0 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.12);
}

@media (min-width: 480px) {
  .page-hero__title {
    font-size: 40px;
  }
}

@media (min-width: 768px) {
  .page-hero {
    padding: 100px 24px;
  }

  .page-hero__title {
    font-size: 48px;
  }

  .page-hero__subtitle {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .page-hero {
    padding: 120px 24px;
  }

  .page-hero__title {
    font-size: 56px;
  }

  .page-hero__subtitle {
    font-size: 20px;
  }
}

/* --- About --- */
.about-story-wrap {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--color-surface, #fff) 0%, var(--color-bg-page, #f3f7f5) 100%);
}

.about-story__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}

.about-block__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-ink, #142a25);
  letter-spacing: -0.02em;
}

.about-block__text {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink-muted, #4b665f);
}

.about-story__media {
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
}

.about-story__img {
  width: 100%;
  height: auto;
  display: block;
}

.about-mv-wrap {
  background: linear-gradient(180deg, var(--color-bg-tint, #f7fcfa) 0%, var(--color-bg-page, #f3f7f5) 100%);
  padding: 60px 0;
}

.about-mv__grid {
  display: grid;
  gap: 24px;
}

.about-mv__card {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-lg, 16px);
  padding: 40px;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

/* Shop `_MissionCard`/`_VisionCard` icon box: primary/10% bg, 12px radius, 40px icon. */
.about-mv__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
  color: var(--color-primary, #2da884);
  border-radius: var(--radius-md, 12px);
  font-size: 40px !important;
  margin-bottom: 24px;
}

.about-mv__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #142a25;
}

.about-mv__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #637a75;
}

.about-values {
  padding: 60px 0;
}

.about-values__heading {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: #142a25;
}

.about-values__lead {
  margin: 16px auto 40px;
  text-align: center;
  max-width: 640px;
  font-size: 16px;
  color: #637a75;
  line-height: 1.6;
}

.about-values__grid {
  display: grid;
  gap: 20px;
}

/* Shop `_ValueCard`: neutral100 bg, neutral400 border, 32 pad, centered content, circle icon. */
.about-value {
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-md, 12px);
  padding: 32px;
  background: var(--color-surface, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(20, 42, 37, 0.1));
}

.about-value__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(45, 168, 132, 0.1);
  margin-bottom: 24px;
}

.about-value__icon {
  font-size: 40px !important;
  color: var(--color-primary, #2da884);
}

.about-value__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #142a25;
}

.about-value__body {
  margin: 0;
  font-size: 16px;
  color: #637a75;
  line-height: 1.6;
}

@media (min-width: 768px) {

  /* Shop `AboutStorySection` desktop+tablet: Row([Image, Gap, Content]). */
  .about-story__grid {
    flex-direction: row-reverse;
    align-items: center;
    gap: 60px;
  }

  .about-story__content,
  .about-story__media {
    flex: 1;
  }

  .about-mv__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .about-values__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Services ---
   Shop `ServiceDetailsSection`: vertical 60/80/100 + `_ServiceCard` gap 60/80. */
.services-details-wrap {
  padding: 60px 0px;
  max-width: var(--shop-layout-max);
  margin: 0 auto;
  box-sizing: border-box;
}

.services-card-gap {
  height: 60px;
}

/* DOM order = [content, image]. Mobile: column = content first, image second
   (matches shop Column). Desktop default (not reversed): row-reverse → visual
   image LEFT, content RIGHT. `.is-reversed` (shop reversed:true): row → visual
   content LEFT, image RIGHT. */
.services-detail__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}

/* Shop `_ImageSection`: primary/10% bg, 16 radius, 60-80 padding, SVG tinted primary. */
.services-detail__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
  border-radius: var(--radius-lg, 16px);
  box-sizing: border-box;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

.services-detail__icon {
  width: 150px;
  height: 150px;
  display: block;
  background-color: #2da884;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.services-detail__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #142a25;
}

.services-detail__desc {
  margin: 0 0 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: #637a75;
}

.services-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-detail__li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: #4b665f;
}

.services-detail__li::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2da884 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') center / 16px no-repeat;
}

.services-benefits {
  background: linear-gradient(180deg, var(--color-bg-tint, #f7fcfa) 0%, var(--color-bg-page, #f3f7f5) 100%);
  padding: 60px 0px;
}

.services-benefits__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #142a25;
}

.services-benefits__lead {
  margin: 16px auto 40px;
  text-align: center;
  max-width: 640px;
  color: #637a75;
  font-size: 16px;
  line-height: 1.6;
}

.services-benefits__grid {
  display: grid;
  gap: 16px;
}

/* Shop `_BenefitCard`: neutral100 bg, neutral400 border, 32 pad, centered
   column (circle icon 80×80 primary/10% → Plus Jakarta Sans 24 title → Be Vietnam Pro 16 body). */
.services-benefit {
  background: var(--color-surface, #fff);
  border-radius: var(--radius-md, 12px);
  padding: 32px;
  border: 1px solid var(--color-border-muted, #e8f0ed);
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.services-benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(20, 42, 37, 0.1));
}

.services-benefit__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(45, 168, 132, 0.1);
  margin-bottom: 24px;
}

.services-benefit__icon {
  font-size: 40px !important;
  color: #2da884;
}

.services-benefit__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #142a25;
}

.services-benefit__body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: #637a75;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .services-details-wrap {
    padding: 80px 24px;
  }

  /* Shop desktop+tablet: Row([image|content]) per `isReversed`. */
  .services-detail__grid {
    flex-direction: row-reverse;
    align-items: center;
    gap: 60px;
  }

  .services-detail__grid.is-reversed {
    flex-direction: row;
  }

  .services-detail__grid>* {
    flex: 1;
  }

  .services-detail__title {
    font-size: 36px;
  }

  .services-detail__desc {
    font-size: 16px;
  }

  .services-card-gap {
    height: 60px;
  }

  .services-benefits {
    padding: 80px 32px;
  }

  .services-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-details-wrap {
    padding: 100px 24px;
  }

  .services-detail__title {
    font-size: 40px;
  }

  .services-detail__desc {
    font-size: 18px;
  }

  .services-detail__media {
    padding: 80px;
  }

  .services-detail__icon {
    width: 200px;
    height: 200px;
  }

  .services-card-gap {
    height: 80px;
  }

  .services-benefits {
    padding: 100px 24px;
  }

  .services-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Contact — mirrors shop `ContactFormSection` (2-col info/form). --- */
.contact {
  padding: 60px 0px;
  background: linear-gradient(180deg, var(--color-bg-page, #f3f7f5) 0%, var(--color-surface, #fff) 45%, var(--color-bg-tint, #f7fcfa) 100%);
}

.contact__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--shop-layout-max);
  margin: 0 auto;
}

/* Info column — same surface language as `.contact__form-wrap`. */
.contact__info {
  padding: 32px;
  background: linear-gradient(165deg, var(--color-bg-tint, #f7fcfa) 0%, var(--color-surface, #fff) 60%);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-lg, 16px);
  box-sizing: border-box;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
  min-width: 0;
}

.contact__info--skeleton {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 240px;
}

.contact-skeleton-inner {
  width: 100%;
}

.contact__title {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-muted, #e8f0ed);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #142a25;
}

.contact__lead {
  margin: 0 0 28px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: #637a75;
  line-height: 1.6;
}

/* Shop `_ContactInfoItem`: primary/10% icon box 48px + Plus Jakarta Sans 18 title + Be Vietnam Pro 16
   content (underlined primary when clickable). */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact__info .contact-info:last-child {
  margin-bottom: 0;
}

.contact-info__icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(45, 168, 132, 0.1);
  border-radius: 8px;
}

.contact-info__icon {
  font-size: 24px !important;
  color: #2da884;
}

.contact-info__text {
  flex: 1;
  min-width: 0;
}

.contact-info__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #142a25;
}

.contact-info__content {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: #637a75;
}

.contact-info__content--link {
  color: #2da884;
  text-decoration: underline;
  cursor: pointer;
}

/* Shop `_ContactForm` card. */
.contact__form-wrap {
  padding: 32px;
  background: linear-gradient(165deg, var(--color-bg-tint, #f7fcfa) 0%, var(--color-surface, #fff) 60%);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-lg, 16px);
  box-sizing: border-box;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
}

.contact-form__heading {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #142a25;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: #142a25;
}

.contact-form__control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-sm, 8px);
  background: var(--color-surface, #fff);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-ink, #142a25);
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form__control:focus {
  outline: none;
  border-color: var(--color-primary, #2da884);
  box-shadow: 0 0 0 3px var(--color-primary-faint, rgba(45, 168, 132, 0.12));
}

.contact-form__control:focus-visible {
  outline: 2px solid var(--color-primary, #2da884);
  outline-offset: 2px;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 144px;
  font-family: var(--font-sans);
}

.contact-form__error {
  margin: 0;
  padding: 10px 14px;
  color: #b00020;
  background: rgba(176, 0, 32, 0.08);
  border-radius: 8px;
  font-size: 14px;
}

.contact__form-wrap--success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.contact-form__success-icon {
  font-size: 52px !important;
  color: var(--color-primary, #2da884);
  line-height: 1;
}

.contact-form__success {
  margin: 0;
  max-width: 360px;
  font-family: var(--font-sans);
  color: #142a25;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
}

.contact-form__compose-again {
  margin-top: 8px;
  width: 100%;
  max-width: 280px;
}

.contact-form__submit {
  width: 100%;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .contact {
    padding: 80px 32px;
  }

  .contact__title {
    font-size: 36px;
  }

  .contact__lead {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .contact {
    padding: 100px 24px;
  }

  .contact__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .contact__info,
  .contact__form-wrap {
    flex: 1;
  }

  /* Balance with form heading (~24px); avoid oversized H2 inside the card. */
  .contact__info > .contact__title {
    font-size: 32px;
  }
}

/* --- Shop listing (hero + `.shop-catalog` grid) — tokens aligned w/ PDP reference --- */
.shop-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #e4f5ef 0%, #f2faf7 45%, #eaf6f2 100%);
  /* Extra bottom padding so title descenders stay inside the overflow clip. */
  padding: 60px 0 72px;
  text-align: center;
  border-bottom: none;
  box-shadow: inset 0 -1px 0 rgba(45, 168, 132, 0.15);
}

.shop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% -20%, rgba(45, 168, 132, 0.2), transparent 55%);
  z-index: 0;
}

.shop-hero .page-container {
  position: relative;
  z-index: 1;
}

.shop-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-ink, #142a25);
  letter-spacing: -0.03em;
  /* Room for stacked tones + descenders; tight lh + `background-clip: text` clips glyphs. */
  line-height: 1.35;
  padding: 0.15em 0 0.22em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .shop-hero__title {
    background-image: linear-gradient(105deg, #142a25 0%, #1a5c4a 38%, var(--color-primary, #2da884) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.shop-hero__subtitle {
  margin: 20px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-ink-soft, #637a75);
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .shop-hero {
    padding: 80px 0 92px;
  }

  .shop-hero__title {
    font-size: 48px;
  }

  .shop-hero__subtitle {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .shop-hero {
    padding: 100px 0 112px;
  }

  .shop-hero__title {
    font-size: 56px;
  }

  .shop-hero__subtitle {
    font-size: 18px;
  }
}

.shop {
  padding: 48px 0 80px;
  background: transparent;
}

@media (min-width: 768px) {
  .shop {
    padding: 64px 0 80px;
  }
}

@media (min-width: 992px) {
  .shop {
    padding: 80px 0 80px;
  }
}

.shop-controls {
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .shop-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .shop-filters {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
  }

  .shop-toolbar {
    flex: 0 0 auto;
    flex-shrink: 0;
  }
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.shop-chip {
  border: 1px solid var(--color-border, #dfe9e5);
  background: var(--color-surface, #fff);
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-caption, #7f8c8d);
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.shop-chip:focus-visible {
  outline: 2px solid #48a88c;
  outline-offset: 2px;
}

.shop-chip:not(.is-selected):hover {
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
  border-color: var(--color-primary-soft, #48a88c);
  color: var(--color-primary-hover, #248f70);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
}

.shop-chip:not(.is-selected):active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(72, 168, 140, 0.12);
  transition-duration: 0.1s;
}

.shop-chip.is-selected {
  background: var(--color-primary, #2da884);
  border-color: var(--color-primary, #2da884);
  color: #fff;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

.shop-chip.is-selected:hover {
  background: var(--color-primary-hover, #248f70);
  border-color: var(--color-primary-hover, #248f70);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
}

.shop-chip.is-selected:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(45, 52, 54, 0.1);
  transition-duration: 0.1s;
}

@keyframes shop-chip-spin {
  to {
    transform: rotate(360deg);
  }
}

.shop-chip.is-loading {
  position: relative;
  padding-right: 42px;
}

.shop-chip.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  opacity: 0.9;
  animation: shop-chip-spin 0.7s linear infinite;
}

.shop-chip:not(.is-selected).is-loading::after {
  color: var(--color-primary, #2da884);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.shop-count {
  font-size: 14px;
  color: #7f8c8d;
}

/* Native `<select>` removed — `.shop-sort` styles the [SelectMenu] trigger. */
.shop-sort {
  border: 1px solid var(--color-border, #dfe9e5);
  border-radius: var(--radius-sm, 8px);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--color-ink, #142a25);
  background: var(--color-surface, #fff);
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

/* --- Themed select / dropdown (replaces OS native select popup) --- */
.ui-dropdown {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.ui-dropdown.is-open {
  isolation: isolate;
  z-index: 55;
}

.ui-dropdown__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: transparent;
  cursor: default;
}

.ui-dropdown__trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: var(--shop-ui-dropdown-trigger-min-w);
  max-width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.35;
  border: none;
  box-sizing: border-box;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.ui-dropdown__trigger:focus-visible {
  outline: 2px solid var(--color-primary, #2da884);
  outline-offset: 2px;
}

.ui-dropdown__trigger-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.ui-dropdown__chevron {
  flex-shrink: 0;
  font-size: 22px !important;
  line-height: 1;
  color: var(--color-ink-muted, #4b665f);
  transition: transform 0.2s ease;
}

.ui-dropdown.is-open .ui-dropdown__chevron {
  transform: rotate(180deg);
}

.ui-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 2;
  min-width: 100%;
  width: max-content;
  max-width: min(288px, 92vw);
  padding: 6px;
  margin: 0;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(20, 42, 37, 0.1));
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.ui-dropdown.is-open .ui-dropdown__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .ui-dropdown__panel,
  .ui-dropdown__chevron {
    transition: none;
  }

  .ui-dropdown.is-open .ui-dropdown__panel {
    opacity: 1;
    transform: none;
  }
}

.ui-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  margin: 0;
  border: none;
  border-radius: var(--radius-sm, 8px);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink, #142a25);
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.ui-dropdown__item:hover {
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
  color: var(--color-primary-hover, #248f70);
}

.ui-dropdown__item.is-selected {
  background: rgba(45, 168, 132, 0.1);
  color: var(--color-primary, #2da884);
}

.ui-dropdown__item:focus-visible {
  outline: 2px solid var(--color-primary, #2da884);
  outline-offset: 0;
}

.ui-dropdown__item-text {
  flex: 1 1 auto;
  min-width: 0;
}

.ui-dropdown__check {
  font-size: 20px !important;
  line-height: 1;
  color: var(--color-primary, #2da884);
}

.ui-dropdown__item:not(.is-selected) .ui-dropdown__check {
  display: none;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shop-catalog .shop-controls {
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .shop-catalog .shop-controls {
    margin-bottom: 40px;
  }
}

.shop-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  background: var(--color-surface, #fff);
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

.shop-card:hover {
  box-shadow: var(--shadow-lg, 0 20px 50px rgba(20, 42, 37, 0.12)), var(--shadow-glow, 0 0 0 1px rgba(45, 168, 132, 0.12));
  transform: translateY(-4px) scale(1.015);
  border-color: var(--color-primary-soft, #48a88c);
}

.shop-card__image {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-page, #f3f7f5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shop-card__body {
  padding: 16px;
}

.shop-card__badge {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-primary-soft, #48a88c);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.shop-card__name {
  margin: 8px 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-ink, #142a25);
  letter-spacing: -0.01em;
}

.shop-card__price {
  margin: 0;
  font-size: 15px;
  color: var(--color-caption, #7f8c8d);
}

.shop-card__cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-primary, #2da884);
  font-weight: 600;
}

.shop-state,
.shop-empty {
  text-align: center;
  padding: 48px 16px;
}

.shop-page .shop-state--error {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 36px 24px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(20, 42, 37, 0.1));
}

.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 24px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
}

.shop-empty__icon {
  font-size: 80px !important;
  line-height: 1;
  color: var(--color-border, #dfe9e5);
  margin-bottom: 16px;
}

.shop-state__title,
.shop-empty__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink, #142a25);
  font-family: var(--font-display);
}

.shop-state__msg,
.shop-empty__msg {
  margin: 0 0 16px;
  color: var(--color-caption, #7f8c8d);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Product detail --- */
/* PDP error / empty — elevated panel on page mesh */
.product-page .product-state--center {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 28px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(20, 42, 37, 0.1));
}

.product-state {
  padding: 48px 24px;
}

.product-state__hint,
.shop-state__hint,
.legal-state__hint {
  margin: 0;
  font-size: 15px;
  color: #637a75;
}

.product-state__icon {
  font-size: 64px;
  line-height: 1;
}

.product-state__icon--error {
  color: #c62828;
}

.product-state--center {
  text-align: center;
}

.product-state__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-ink, #142a25);
  letter-spacing: -0.02em;
}

.product-state__msg {
  color: var(--color-ink-soft, #637a75);
  margin: 12px 0 20px;
  line-height: 1.55;
}

/* Product detail — parity w/ shop `product_detail_screen.dart` (AppColors + gaps + 5/7 row). */
.product-detail {
  background: linear-gradient(180deg, var(--color-surface, #fff) 0%, var(--color-bg-tint, #f7fcfa) 55%, var(--color-bg-page, #f3f7f5) 100%);
  padding: 40px 0;
}

@media (min-width: 768px) {
  .product-detail {
    padding: 60px 0;
  }
}

@media (min-width: 992px) {
  .product-detail {
    padding: 80px 0;
  }
}

.product-detail__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-detail__image {
  border-radius: 20px;
  border: 1px solid var(--color-border-muted, #e8f0ed);
  background: linear-gradient(160deg, #f7fcfa 0%, #eef8f4 100%);
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07)), var(--shadow-glow, 0 0 0 1px rgba(45, 168, 132, 0.12));
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__image img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-detail__header {
  margin-bottom: 32px;
}

.product-detail__cat {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-soft, #48a88c);
}

.product-detail__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink, #142a25);
  letter-spacing: -0.03em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .product-detail__name {
    background-image: linear-gradient(105deg, #142a25 0%, #1a5c4a 45%, var(--color-primary, #2da884) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.product-detail__price {
  margin: 16px 0 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.product-detail__price-icon {
  font-size: 22px !important;
  line-height: 1;
  color: var(--color-primary-soft, #48a88c);
}

.product-detail__price-label {
  font-weight: 400;
  color: #637a75;
  margin-right: 0;
}

.product-detail__price-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary, #2da884);
  letter-spacing: -0.02em;
}

@media (min-width: 480px) {
  .product-detail__name {
    font-size: 32px;
  }
}

@media (min-width: 768px) {
  .product-detail__name {
    font-size: 36px;
  }
}

@media (min-width: 992px) {
  .product-detail__name {
    font-size: 42px;
  }
}

.product-detail__block .section-title {
  display: block;
  margin-bottom: 16px;
}

.product-detail__block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 22px 20px;
  gap: 16px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

.product-detail__features {
  display: flex;
  flex-direction: column;
}

.product-detail__features .icon-text-item {
  margin-bottom: 0;
  align-items: center;
  gap: 12px;
}

.product-detail__features .icon-text-item:last-child {
  margin-bottom: 0;
}

.product-detail__features .icon-text-item__icon {
  flex-shrink: 0;
  font-size: 20px !important;
  line-height: 1.5 !important;
  color: var(--color-primary, #2da884) !important;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: inline-block !important;
}

.product-detail__features .icon-text-item__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-ink-soft, #637a75);
}

.product-detail__h2 {
  margin: 24px 0 12px;
  font-size: 20px;
  color: #142a25;
}

.product-detail__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink-muted, #4b665f);
}

.product-detail__ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.product-detail__li {
  margin-bottom: 8px;
  color: #4b665f;
}

.product-spec-wrap {
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

.product-spec {
  width: 100%;
  border-collapse: collapse;
  border: none;
  font-family: var(--font-sans);
}

.product-spec td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border-muted, #e8f0ed);
  vertical-align: top;
}

.product-spec tr:last-child td {
  border-bottom: none;
}

.product-spec__k {
  width: 40%;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-muted, #4b665f);
}

.product-spec__v {
  width: 60%;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-ink-soft, #637a75);
}

.product-detail__actions {
  margin-top: 8px;
  padding: 22px 20px;
  background: linear-gradient(135deg, var(--color-primary-faint, rgba(45, 168, 132, 0.12)) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

.product-detail__actions-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .product-detail__actions-inner {
    flex-direction: row;
    gap: 16px;
    align-items: center;
  }

  .product-detail__actions-inner>.home-btn,
  .product-detail__actions-inner>a.home-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

a.home-btn.is-disabled,
button.home-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.product-related {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg-tint, #f7fcfa) 0%, var(--color-bg-page, #f3f7f5) 100%);
  padding: 40px 0;
}

.product-related::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 640px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 168, 132, 0.3), transparent);
  pointer-events: none;
}

@media (min-width: 768px) {
  .product-related {
    padding: 60px 0;
  }
}

@media (min-width: 992px) {
  .product-related {
    padding: 80px 0;
  }
}

.product-related__title {
  position: relative;
  z-index: 1;
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink, #142a25);
  text-align: center;
  letter-spacing: -0.03em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .product-related__title {
    background-image: linear-gradient(105deg, #142a25 0%, var(--color-primary, #2da884) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

@media (min-width: 768px) {
  .product-related__title {
    font-size: 32px;
    margin-bottom: 32px;
  }
}

@media (min-width: 992px) {
  .product-related__title {
    font-size: 36px;
    margin-bottom: 48px;
  }
}

.product-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .product-detail__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: flex-start;
  }

  .product-detail__image,
  .product-detail__info {
    min-width: 0;
  }

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

@media (min-width: 992px) {
  .product-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Legal --- */
.legal-wrap {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, var(--color-bg-page, #f3f7f5) 0%, var(--color-bg-tint, #f7fcfa) 100%);
}

.legal-wrap .page-container.legal {
  padding-top: 32px;
  padding-bottom: 40px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
}

.legal__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-ink, #142a25);
  letter-spacing: -0.03em;
}

.legal__updated {
  margin: 0 0 32px;
  color: var(--color-ink-soft, #637a75);
  font-size: 15px;
}

.legal__h2 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-ink, #142a25);
}

.legal__p {
  margin: 0 0 16px;
  line-height: 1.8;
  color: var(--color-ink-muted, #4b665f);
  white-space: pre-line;
}

.legal-state {
  text-align: center;
  color: var(--color-ink-soft, #637a75);
}

/* --- Not found --- Shop `NotFoundScreen`: dark neutral800 bg, scattered leaves, tall. */
.not-found {
  position: relative;
  min-height: 101vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #142a25;
  color: #fff;
  overflow: hidden;
}

.not-found__leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.not-found__leaf--1 {
  width: 35vw;
  left: -4%;
  top: 27%;
  opacity: 0.41;
}

.not-found__leaf--2 {
  width: 40vw;
  right: -45px;
  top: -5px;
  opacity: 0.44;
  transform: rotate(-63deg);
}

.not-found__leaf--3 {
  width: 25vw;
  right: -20px;
  bottom: 0;
  opacity: 1;
}

.not-found__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 16px;
  max-width: 640px;
  margin: 0 auto;
}

.not-found__code {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 100px;
  line-height: 1;
  color: #fff;
}

.not-found__title {
  margin: 16px 0 16px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.not-found__desc {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 34px;
  color: #fff;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

a.not-found__btn {
  display: inline-flex;
}

/* Flutter `Button` normal + `isDarkBackground: true` + .primary: neutral100 border, white text,
   white bg + dark text on hover. */
.home-btn--outlined-dark,
a.home-btn--outlined-dark {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.home-btn--outlined-dark:hover,
a.home-btn--outlined-dark:hover {
  background: #fff;
  color: #142a25;
  border-color: #fff;
}

@media (min-width: 480px) {
  .not-found__code {
    font-size: 136px;
  }
}

@media (min-width: 768px) {
  .not-found__code {
    font-size: 150px;
  }

  .not-found__title {
    font-size: 35px;
  }
}

@media (min-width: 992px) {
  .not-found__code {
    font-size: 180px;
  }
}

/* --- Shared primitives (mirror shop/lib/components/common) --- */

/* Shop `SocialIconButton`: bordered square, primary icon, cursor pointer. */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #d9e9e5;
  border-radius: 8px;
  background: transparent;
  color: #2da884;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-icon-btn:hover {
  border-color: #2da884;
  background: rgba(45, 168, 132, 0.1);
}

.social-icon-btn__icon {
  font-size: 20px !important;
  line-height: 1;
}

/* Shop `IconTextItem`: primary Material icon + Be Vietnam Pro 15 / 1.5 neutral600 text. */
.icon-text-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.icon-text-item__icon {
  flex-shrink: 0;
  font-size: 18px !important;
  color: #2da884;
  line-height: 1.5;
}

.icon-text-item__text {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: #637a75;
}

/* Shop `HoverAnimatedCard`: scale(1.05) 200ms easeInOut on hover. */
.hover-animated-card {
  display: block;
  transform: scale(1);
  transform-origin: center;
  transition: transform 200ms ease-in-out;
}

.hover-animated-card:hover {
  transform: scale(1.05);
}

/* Shop `ClickableText`: Be Vietnam Pro neutral600 → primary on hover, cursor pointer. */
.clickable-text {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: #637a75;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.clickable-text:hover {
  color: #2da884;
}

/* --- Footer (expanded) — neutral panel + teal accents (marketing reference) --- */
.site-footer__main {
  background: var(--color-bg-tint, #f7fcfa);
  border-top: 1px solid var(--color-border-muted, #e8f0ed);
  padding: 48px 20px 40px;
}

@media (min-width: 768px) {
  .site-footer__main {
    padding: 56px 32px 48px;
  }
}

@media (min-width: 992px) {
  .site-footer__main {
    padding: 64px 40px 56px;
  }
}

.site-footer__grid {
  max-width: var(--shop-layout-max);
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

/* Grid items default to min-width: auto — wide logo/tagline can overflow into adjacent columns. */
.site-footer__col {
  min-width: 0;
}

.site-footer__heading {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #2d3436;
}

.site-footer__brand {
  display: block;
  max-width: 100%;
}

.site-footer__brand img {
  max-width: min(220px, 100%);
  width: auto;
  height: auto;
  display: block;
}

.site-footer__tagline {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #7f8c8d;
  max-width: 100%;
  overflow-wrap: break-word;
}

.site-footer__social-row {
  margin-top: 16px;
}

.site-footer .social-icon-btn {
  background: #e9ecef;
  border-color: #dee2e6;
  color: #48a88c;
}

.site-footer .social-icon-btn:hover {
  border-color: #48a88c;
  background: #dee2e6;
  color: #3d9180;
}

.site-footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

a.site-footer__nav-link {
  display: block;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #7f8c8d;
  text-decoration: none;
}

a.site-footer__nav-link:hover {
  color: #48a88c;
}

.site-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer__contact-icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 18px !important;
  line-height: 1.35;
  color: #48a88c;
}

.site-footer__contact-icon--muted {
  color: #7f8c8d;
}

.site-footer__contact-body {
  min-width: 0;
}

.site-footer__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #7f8c8d;
}

a.site-footer__link {
  color: #48a88c;
  text-decoration: none;
}

a.site-footer__link:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid var(--color-border-muted, #e8f0ed);
  background: var(--color-bg-page, #f3f7f5);
  padding: 20px 20px 24px;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    padding: 20px 32px 28px;
  }
}

@media (min-width: 992px) {
  .site-footer__bottom {
    padding: 22px 40px 28px;
  }
}

.site-footer__bottom-inner {
  max-width: var(--shop-layout-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer__copy {
  margin: 0;
  font-size: 14px;
  color: #7f8c8d;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

a.site-footer__legal-link {
  font-size: 14px;
  color: #7f8c8d;
  text-decoration: none;
}

a.site-footer__legal-link:hover {
  color: #48a88c;
}

@media (min-width: 425px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 40px;
  }
}

/* --- Shop toast (global, fixed) — glass surface + soft depth --- */
@keyframes shop-toast-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

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

.shop-toast-host {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  display: flex;
  justify-content: center;
  padding: 16px 20px max(16px, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.shop-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(460px, calc(100vw - 40px));
  padding: 14px 14px 14px 16px;
  border-radius: 20px;
  font-family: var(--font-sans, 'Be Vietnam Pro', system-ui, sans-serif);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(20, 42, 37, 0.05),
    0 10px 24px rgba(20, 42, 37, 0.07),
    0 32px 64px rgba(20, 42, 37, 0.14);
  animation: shop-toast-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .shop-toast {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border-muted, #e8f0ed);
  }
}

.shop-toast--success {
  box-shadow:
    0 0 0 1px rgba(20, 42, 37, 0.05),
    0 0 0 1px rgba(45, 168, 132, 0.12) inset,
    0 10px 24px rgba(20, 42, 37, 0.07),
    0 28px 56px rgba(45, 168, 132, 0.1),
    0 32px 64px rgba(20, 42, 37, 0.12);
}

.shop-toast--error {
  box-shadow:
    0 0 0 1px rgba(20, 42, 37, 0.05),
    0 0 0 1px rgba(201, 84, 84, 0.14) inset,
    0 10px 24px rgba(20, 42, 37, 0.07),
    0 28px 48px rgba(201, 84, 84, 0.12),
    0 32px 64px rgba(20, 42, 37, 0.12);
}

.shop-toast__icon-bubble {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.shop-toast--success .shop-toast__icon-bubble {
  background: linear-gradient(155deg, rgba(45, 168, 132, 0.22) 0%, rgba(45, 168, 132, 0.06) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.shop-toast--error .shop-toast__icon-bubble {
  background: linear-gradient(155deg, rgba(201, 84, 84, 0.2) 0%, rgba(201, 84, 84, 0.07) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.shop-toast__icon {
  font-size: 24px;
  line-height: 1;
}

.shop-toast--success .shop-toast__icon {
  color: var(--color-primary-hover, #248f70);
}

.shop-toast--error .shop-toast__icon {
  color: #b54747;
}

.shop-toast__text {
  flex: 1;
  margin: 0;
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-ink, #142a25);
}

.shop-toast__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -6px -6px -6px 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(20, 42, 37, 0.05);
  color: var(--color-ink-muted, #4b665f);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.shop-toast__close:hover {
  background: rgba(20, 42, 37, 0.1);
  color: var(--color-ink, #142a25);
}

.shop-toast__close:active {
  transform: scale(0.94);
}

.shop-toast__close-ico {
  font-size: 20px;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .shop-toast {
    animation: none;
  }

  .shop-toast__close:active {
    transform: none;
  }
}