/* Design tokens — shared by home.css + site.css (index loads home then site). */
:root {
  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Be Vietnam Pro', system-ui, sans-serif;

  --color-primary: #2da884;
  --color-primary-hover: #248f70;
  --color-primary-soft: #48a88c;
  --color-primary-faint: rgba(45, 168, 132, 0.12);

  --color-ink: #142a25;
  --color-ink-muted: #4b665f;
  --color-ink-soft: #637a75;
  --color-caption: #7f8c8d;

  --color-surface: #ffffff;
  --color-bg-page: #f3f7f5;
  --color-bg-tint: #f7fcfa;
  --color-border: #dfe9e5;
  --color-border-muted: #e8f0ed;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-btn: 10px;

  --shadow-xs: 0 1px 2px rgba(20, 42, 37, 0.04);
  --shadow-sm: 0 4px 14px rgba(20, 42, 37, 0.07);
  --shadow-md: 0 12px 32px rgba(20, 42, 37, 0.1);
  --shadow-lg: 0 20px 50px rgba(20, 42, 37, 0.12);
  --shadow-glow: 0 0 0 1px rgba(45, 168, 132, 0.12), 0 8px 40px rgba(45, 168, 132, 0.18);

  --skeleton-base: #e8f0ed;
  --skeleton-highlight: rgba(255, 255, 255, 0.72);

  /*
   * Viewport breakpoints (shop shell). Use for clamp()/min()/max() — NOT inside @media
   * (browsers resolve @media before var()). Every `@media (min-width: …)` literal in
   * shop/web/*.css MUST match these names; Dart mirror: `shop/lib/constants/shop_breakpoints.dart`.
   */
  --shop-bp-xs: 425px;
  --shop-bp-sm: 480px;
  --shop-bp-md: 768px;
  --shop-bp-lg: 992px;
  --shop-layout-max: 1268px;
  --shop-header-logo-min-w: 120px;
  --shop-ui-dropdown-trigger-min-w: 168px;
  --shop-pdp-skeleton-btn-min-w: 140px;
}

/* --- Skeleton loading (shimmer + reduced motion) --- */
@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.skeleton {
  display: block;
  border-radius: var(--radius-sm, 8px);
  background: linear-gradient(
    105deg,
    var(--skeleton-base) 0%,
    var(--skeleton-base) 38%,
    var(--skeleton-highlight) 50%,
    var(--skeleton-base) 62%,
    var(--skeleton-base) 100%
  );
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: var(--skeleton-base);
  }
}

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

.loading-region {
  display: block;
}

.sk-line {
  height: 14px;
  margin-bottom: 12px;
}

.sk-line:last-child {
  margin-bottom: 0;
}

.sk-line--xs {
  width: 28%;
  max-width: 120px;
}

.sk-line--sm {
  width: 45%;
}

.sk-line--md {
  width: 72%;
}

.sk-line--lg {
  width: 92%;
}

.sk-line--full {
  width: 100%;
}

.sk-line--tight {
  margin-bottom: 8px;
}

.sk-block {
  height: 48px;
  border-radius: var(--radius-btn, 10px);
}

.sk-block--sm {
  height: 40px;
}

.sk-gap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Legal document skeleton */
.legal-skeleton {
  text-align: left;
  padding: 8px 0 24px;
}

.legal-skeleton__title {
  height: 40px;
  max-width: 85%;
  margin-bottom: 20px;
  border-radius: var(--radius-md, 12px);
}

.legal-skeleton__meta {
  height: 16px;
  width: 200px;
  margin-bottom: 28px;
}

.legal-skeleton__h {
  height: 22px;
  width: 55%;
  margin: 24px 0 12px;
}

.legal-skeleton__p {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.legal-skeleton__p--short {
  width: 70%;
}

.legal-skeleton__p--mid {
  width: 88%;
}

.legal-skeleton__p--long {
  width: 100%;
}

/* Shop catalog skeleton */
.shop-skeleton {
  padding: 8px 0 32px;
}

.shop-skeleton__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.shop-skeleton__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-skeleton__chip {
  width: 96px;
  height: 38px;
  border-radius: 9999px;
}

.shop-skeleton__chip--wide {
  width: 120px;
}

.shop-skeleton__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shop-skeleton__count {
  width: 140px;
  height: 18px;
  border-radius: 6px;
}

.shop-skeleton__sort {
  width: 160px;
  height: 40px;
  border-radius: var(--radius-sm, 8px);
}

/* Product card placeholder (shop + home grids) */
.product-card-skeleton {
  display: flex;
  flex-direction: column;
  background: var(--color-surface, #fff);
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  overflow: hidden;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

.product-card-skeleton--shop .product-card-skeleton__media {
  height: 240px;
}

.product-card-skeleton--related .product-card-skeleton__media {
  height: 200px;
}

.product-card-skeleton__media {
  position: relative;
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.08));
}

.product-card-skeleton__media-inner {
  position: absolute;
  inset: 20px;
  border-radius: var(--radius-md, 12px);
}

.product-card-skeleton__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-skeleton__line {
  height: 16px;
  border-radius: 6px;
}

.product-card-skeleton__line--title {
  height: 22px;
  width: 88%;
}

.product-card-skeleton__line--sub {
  width: 55%;
}

.product-card-skeleton__line--price {
  width: 42%;
  margin-top: 6px;
}

.product-card-skeleton__line--cta {
  width: 130px;
  height: 42px;
  margin-top: 12px;
  border-radius: var(--radius-btn, 10px);
}

/* PDP skeleton */
.pdp-skeleton__photo {
  width: min(220px, 78%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 18px;
}

.pdp-skeleton__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pdp-skeleton__btn {
  flex: 1 1 160px;
  min-width: var(--shop-pdp-skeleton-btn-min-w);
  height: 48px;
  border-radius: var(--radius-btn, 10px);
}

/* Contact info column skeleton */
.contact-skeleton__row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-skeleton__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm, 8px);
  flex-shrink: 0;
}

.contact-skeleton__lines {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg-page);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient mesh — sits behind content (fixed, non-interactive). */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 0% -30%, rgba(45, 168, 132, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 10%, rgba(30, 122, 99, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(45, 168, 132, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 30% at 85% 60%, rgba(20, 42, 37, 0.04), transparent 45%);
}

/* Shell: header + scrollable main (matches Flutter CustomScaffold column). */
.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main > main.page-scroll,
.main > main.home {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  width: 100%;
}

/* Home page — mirrors Flutter shop home sections (max-width 1268, breakpoints ~768 / 992px). */

.home {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

.home h1,
.home h2,
.home h3 {
  font-family: var(--font-display);
}

.home-container {
  max-width: var(--shop-layout-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* --- Hero --- */
.home-hero {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(45, 168, 132, 0.08), transparent 55%);
  z-index: 0;
}

.home-hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: stretch;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.home-hero__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.home-hero__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  max-width: 560px;
}

.home-hero__media {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-primary-faint);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: cover;
}

/* --- Button — mirrors shop `components/button/view/button.dart` ---
   Types: primary | secondary | filled | outlined (+ `--dark` isDarkBackground swap)
   Sizes: small (default) | normal | large
   Shared: Be Vietnam Pro, line-height 1.1, radius 8, 200ms transitions, no text-decoration. */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: var(--font-sans);
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius-btn);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  /* Size: small (shop default). Type primary uses 24px horizontal (see below). */
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
}

.home-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --- Types --- */

/* primary: filled primary bg, white text, w400; on hover outlined neutral800. */
.home-btn--primary,
a.home-btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  font-weight: 400;
  box-shadow: var(--shadow-xs);
}
.home-btn--primary:hover,
a.home-btn--primary:hover {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
  box-shadow: none;
}
/* primary small padding: 24 horizontal (vs 32 for others) — shop `_ResponsivePadding`. */
.home-btn--primary:not(.home-btn--normal):not(.home-btn--large) {
  padding: 14px 24px;
}

/* secondary: transparent bg, neutral800 text + border; hover neutral800 bg / white text. */
.home-btn--secondary,
a.home-btn--secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
  font-weight: 500;
}
.home-btn--secondary:hover,
a.home-btn--secondary:hover {
  background: var(--color-ink);
  color: #fff;
}

/* filled: gradient fill — no border (1px transparent from `.home-btn` fringes on gradients). */
.home-btn--filled,
a.home-btn--filled {
  background: linear-gradient(135deg, #34b892 0%, var(--color-primary) 45%, #248f70 100%);
  color: #fff;
  border: none;
  font-weight: 500;
  box-shadow: var(--shadow-xs), 0 4px 20px rgba(45, 168, 132, 0.35);
}
.home-btn--filled:hover,
a.home-btn--filled:hover {
  background: linear-gradient(135deg, #3bc49a 0%, #2da884 50%, #1e7a63 100%);
  border: none;
  box-shadow: var(--shadow-md), 0 8px 28px rgba(45, 168, 132, 0.4);
  transform: translateY(-2px);
}

.home-btn--filled:active,
a.home-btn--filled:active {
  border: none;
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

/* outlined: transparent bg, primary text, neutral800 border; hover primary bg white text. */
.home-btn--outlined,
a.home-btn--outlined {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
  font-weight: 500;
}
.home-btn--outlined:hover,
a.home-btn--outlined:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xs);
}

/* Dark-background variant (shop `isDarkBackground: true`): swaps neutral800 for neutral100
   on borders used by primary hover + secondary/outlined defaults. */
.home-btn--dark.home-btn--primary:hover,
a.home-btn--dark.home-btn--primary:hover,
.home-btn--dark.home-btn--secondary,
a.home-btn--dark.home-btn--secondary,
.home-btn--dark.home-btn--outlined,
a.home-btn--dark.home-btn--outlined {
  color: #fff;
  border-color: #fff;
}
.home-btn--dark.home-btn--secondary:hover,
a.home-btn--dark.home-btn--secondary:hover {
  background: #fff;
  color: #142a25;
}

/* Shop `CtaSection` uses outlined+isDarkBackground+customColors:
   default white text/border on primary; hover white bg + primary text. */
.home-btn--dark.home-btn--outlined:hover,
a.home-btn--dark.home-btn--outlined:hover {
  background: #fff;
  color: #2da884;
  border-color: #fff;
}

/* Backwards-compat alias: legacy `home-btn--outlined-dark` used by NotFound. */
.home-btn--outlined-dark,
a.home-btn--outlined-dark {
  background: transparent;
  color: #fff;
  border-color: #fff;
  font-weight: 500;
}
.home-btn--outlined-dark:hover,
a.home-btn--outlined-dark:hover {
  background: #fff;
  color: #142a25;
  border-color: #fff;
}

/* --- Sizes (override padding + font) --- */

/* normal: Be Vietnam Pro 18 / 1.1; padding 20×35 mobile, 22×35 tablet, 26×46 desktop. */
.home-btn--normal {
  font-size: 18px;
  padding: 20px 35px;
}
@media (min-width: 768px) {
  .home-btn--normal {
    padding: 22px 35px;
  }
}
@media (min-width: 992px) {
  .home-btn--normal {
    padding: 26px 46px;
  }
}

/* large: Be Vietnam Pro 22 / 1.1; padding 28×68 mobile/tablet, 26×68 desktop. */
.home-btn--large {
  font-size: 22px;
  padding: 28px 68px;
}
@media (min-width: 992px) {
  .home-btn--large {
    padding: 26px 68px;
  }
}

@media (min-width: 768px) {
  .home-hero {
    padding: 60px 0;
  }
  .home-hero__layout {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .home-hero__content {
    flex: 5 1 0;
    align-items: flex-start;
    text-align: left;
  }
  .home-hero__media {
    flex: 5 1 0;
  }
  .home-hero__title {
    font-size: 48px;
  }
  .home-hero__subtitle {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .home-hero {
    padding: 80px 0;
  }
  .home-hero__title {
    font-size: 56px;
  }
  .home-hero__subtitle {
    font-size: 20px;
  }
}

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

.home-services__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.home-services__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #142a25;
}

.home-services__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #637a75;
}

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

.home-service-card {
  padding: 32px;
  background: var(--color-surface, #fff);
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  box-sizing: border-box;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.home-service-card:hover {
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(20, 42, 37, 0.07));
  transform: translateY(-2px);
}

.home-service-card__icon-wrap {
  display: inline-flex;
  padding: 16px;
  background: rgba(45, 168, 132, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
}

.home-service-card__icon {
  display: block;
  width: 40px;
  height: 40px;
  background-color: #2da884;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.home-service-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: #142a25;
}

.home-service-card__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #637a75;
}

@media (min-width: 768px) {
  .home-services {
    padding: 80px 0;
  }
  .home-services__title {
    font-size: 40px;
  }
  .home-services__subtitle {
    font-size: 16px;
  }
  .home-services__head {
    margin-bottom: 60px;
  }
  .home-services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .home-services {
    padding: 100px 0;
  }
  .home-services__title {
    font-size: 48px;
  }
  .home-services__subtitle {
    font-size: 18px;
  }
  .home-services__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* --- Products --- */
.home-products {
  position: relative;
  background: linear-gradient(180deg, #f0faf6 0%, var(--color-bg-tint) 35%, #eef6f3 100%);
  padding: 60px 0;
}

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

.home-products__inner {
  max-width: var(--shop-layout-max);
  margin: 0 auto;
  padding: 0 24px;
}

.home-products__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.home-products__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-products__title {
    background-image: linear-gradient(105deg, #142a25 0%, #1a4d3f 40%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.home-products__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #637a75;
}

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

.home-products__grid--skeleton {
  min-height: 220px;
}

.home-products__state {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #637a75;
  font-size: 15px;
}

/* Product card — mirrors shop `ProductCard` (related + shop variants).
   Related: image 200h, category text, no price, outlined CTA. Shop: image 240h,
   category badge overlay, price row, same hover states. */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface, #fff);
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--color-border-muted, #e8f0ed);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-ink, #142a25);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

a.product-card:hover {
  border-color: var(--color-primary-soft, #48a88c);
  box-shadow: var(--shadow-lg, 0 20px 50px rgba(20, 42, 37, 0.12)), var(--shadow-glow);
  transform: translateY(-4px) scale(1.01);
}

.product-card__image {
  position: relative;
  height: 200px;
  background: var(--color-primary-faint, rgba(45, 168, 132, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card--shop .product-card__image {
  height: 240px;
}

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

.product-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
}

/* related variant: category text (Be Vietnam Pro 14 w500 primary), above name */
.product-card__category {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary-soft, #48a88c);
  margin-bottom: 8px;
}

/* shop variant: category badge (chip on image top-left) */
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: var(--color-primary, #2da884);
  color: #fff;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(20, 42, 37, 0.04));
}

.product-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  color: var(--color-ink, #142a25);
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--shop .product-card__name {
  font-size: 22px;
}

.product-card__desc {
  margin: 12px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-ink-soft, #637a75);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  margin: 16px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary, #2da884);
}

.product-card__price::before {
  content: '';
  width: 18px;
  height: 18px;
  background-color: var(--color-primary, #2da884);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 14.59V18h-2v-1.41c-1.8-.29-3.11-1.5-3.41-3.59h1.61c.14 1.16 1.07 2 2.81 2 1.7 0 2.18-.78 2.18-1.62 0-.98-.62-1.78-2.84-2.31-2.46-.59-4.18-1.6-4.18-3.64 0-1.7 1.37-2.81 3.04-3.18V3h2v1.28c1.82.36 2.72 1.62 2.78 3.22h-1.61c-.1-1.1-.78-1.82-2.18-1.82s-2.23.63-2.23 1.54c0 .79.61 1.31 2.62 1.83 2.01.52 4.4 1.4 4.4 4.13 0 2.03-1.53 3.07-3.19 3.41z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 14.59V18h-2v-1.41c-1.8-.29-3.11-1.5-3.41-3.59h1.61c.14 1.16 1.07 2 2.81 2 1.7 0 2.18-.78 2.18-1.62 0-.98-.62-1.78-2.84-2.31-2.46-.59-4.18-1.6-4.18-3.64 0-1.7 1.37-2.81 3.04-3.18V3h2v1.28c1.82.36 2.72 1.62 2.78 3.22h-1.61c-.1-1.1-.78-1.82-2.18-1.82s-2.23.63-2.23 1.54c0 .79.61 1.31 2.62 1.83 2.01.52 4.4 1.4 4.4 4.13 0 2.03-1.53 3.07-3.19 3.41z"/></svg>') center / contain no-repeat;
}

/* CTA button: outlined default, fills primary on card hover. */
.product-card__cta.home-btn {
  align-self: flex-start;
  margin-top: 20px;
  padding: 14px 32px;
}

a.product-card:hover .product-card__cta.home-btn {
  background: var(--color-primary, #2da884);
  color: #fff;
  border-color: var(--color-primary, #2da884);
}

@media (min-width: 768px) {
  .home-products {
    padding: 80px 0;
  }
  .home-products__title {
    font-size: 40px;
  }
  .home-products__subtitle {
    font-size: 16px;
  }
  .home-products__head {
    margin-bottom: 60px;
  }
  .home-products__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .home-products {
    padding: 100px 0;
  }
  .home-products__title {
    font-size: 48px;
  }
  .home-products__subtitle {
    font-size: 18px;
  }
  .home-products__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* --- Why us --- */
.home-why {
  padding: 60px 0;
}

.home-why__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.home-why__image {
  border-radius: 16px;
  overflow: hidden;
  background: #eff6f5;
  aspect-ratio: 1;
}

.home-why__image img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: cover;
  display: block;
}

.home-why__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.home-why__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #142a25;
}

.home-why__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #637a75;
  max-width: 640px;
}

.home-why__features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 640px;
}

.home-why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}

.home-why-feature__mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2da884;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.home-why-feature__text {
  flex: 1 1 0;
  min-width: 0;
}

.home-why-feature__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #142a25;
}

.home-why-feature__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #637a75;
}

@media (min-width: 768px) {
  .home-why {
    padding: 80px 0;
  }
  .home-why__layout {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .home-why__image {
    flex: 5 1 0;
    order: 1;
  }
  .home-why__content {
    flex: 5 1 0;
    order: 2;
    align-items: flex-start;
    text-align: left;
  }
  .home-why__title {
    font-size: 40px;
  }
  .home-why__lead {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .home-why {
    padding: 100px 0;
  }
  .home-why__title {
    font-size: 48px;
  }
  .home-why__lead {
    font-size: 18px;
  }
}

/* --- CTA --- */
.home-cta {
  background: #2da884;
  padding: 60px 0;
}

.home-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.home-cta__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.home-cta__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  max-width: 560px;
}

a.home-btn--outline-light {
  margin-top: 16px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

a.home-btn--outline-light:hover {
  background: #fff;
  color: #2da884;
}

@media (min-width: 768px) {
  .home-cta {
    padding: 80px 0;
  }
  .home-cta__title {
    font-size: 40px;
  }
  .home-cta__body {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .home-cta {
    padding: 100px 0;
  }
  .home-cta__title {
    font-size: 48px;
  }
  .home-cta__body {
    font-size: 18px;
  }
}

/* Site footer: see web/site.css (margin mirrors Flutter `Footer` ResponsiveBuilder). */
.site-footer {
  margin-top: 64px;
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: 80px;
  }
}

@media (min-width: 992px) {
  .site-footer {
    margin-top: 110px;
  }
}
