@import url("../../nutrition/style.css");

.en-site {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.en-site .brand span {
  font-size: 14px;
}

.en-site .hero h1 {
  max-width: 430px;
  font-size: 29px;
  line-height: 1.12;
}

.en-site .hero span,
.en-site .section p,
.en-site .section li {
  line-height: 1.58;
}

.en-site .field {
  letter-spacing: 0;
}

.en-site .product-card strong {
  line-height: 1.25;
}

.en-site .primary,
.en-site .secondary,
.en-site .phone {
  padding: 10px 14px;
  text-align: center;
  line-height: 1.35;
}

@media (max-width: 420px) {
  .en-site .page {
    padding-inline: 10px;
  }

  .en-site .brand span {
    max-width: 190px;
    font-size: 12px;
  }

  .en-site .hero {
    padding: 20px;
  }

  .en-site .hero h1 {
    font-size: 26px;
  }

  .en-site .product-card {
    grid-template-columns: 72px 1fr;
  }

  .en-site .product-card img {
    width: 72px;
    height: 72px;
  }
}

/* Dedicated mobile layout for longer English recommendations. */
@media (max-width: 520px) {
  .en-site .page {
    max-width: none;
    padding: 10px 10px 30px;
  }

  .en-site .top {
    min-height: 44px;
    gap: 8px;
  }

  .en-site .brand {
    min-width: 0;
    gap: 8px;
  }

  .en-site .brand img {
    width: 36px;
    height: 36px;
  }

  .en-site .brand span {
    max-width: 205px;
    white-space: normal;
    font-size: 12px;
    line-height: 1.22;
  }

  .en-site .language-switch select {
    min-width: 62px;
    padding: 7px 24px 7px 8px;
    font-size: 12px;
  }

  .en-site .hero {
    margin-top: 8px;
    padding: 20px 18px;
  }

  .en-site .hero p {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .en-site .hero h1 {
    max-width: 320px;
    margin-top: 8px;
    font-size: 24px;
    line-height: 1.18;
  }

  .en-site .hero span {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
  }

  .en-site .card {
    padding: 16px 14px;
  }

  .en-site .card h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .en-site .field {
    font-size: 13px;
  }

  .en-site select {
    padding: 11px;
    font-size: 14px;
  }

  .en-site .result-head {
    padding: 16px 14px;
  }

  .en-site .result-head h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .en-site .section {
    padding: 14px 13px;
  }

  .en-site .section h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .en-site .section p,
  .en-site .section li {
    font-size: 14px;
    line-height: 1.62;
  }

  .en-site .section ul {
    padding-left: 18px;
  }

  .en-site .product-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .en-site .product-card img {
    width: 64px;
    height: 64px;
  }

  .en-site .product-card strong {
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .en-site .product-card span {
    font-size: 12px;
    line-height: 1.5;
  }

  .en-site .primary,
  .en-site .secondary,
  .en-site .phone {
    min-height: 44px;
    font-size: 13px;
  }

  .en-site .phone {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .en-site .brand span {
    max-width: 160px;
    font-size: 11px;
  }

  .en-site .hero {
    padding: 18px 15px;
  }

  .en-site .hero h1 {
    font-size: 22px;
  }

  .en-site .hero span,
  .en-site .section p,
  .en-site .section li {
    font-size: 13px;
  }
}
