/* ==========================================================================
   pages.scss — Hero, продукты, about, статьи, адаптив (@media)
   Объединяет: home.css + article.css + responsive.css
   ========================================================================== */

/* home.css — part of NAOMI TOFU design system */

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-block: 2rem 1rem;
}
@media (min-width: 768px) {
  .hero { padding-block: 3rem 2rem; }
}
@media (min-width: 1024px) {
  .hero { padding-block: 4rem 2rem; }
}

.hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74,124,89,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(216,112,147,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
  text-wrap: balance;
}
@media (min-width: 640px) { .hero__title { font-size: 3rem; } }
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4.5rem; } }

.hero__lead { margin-bottom: 2rem; max-width: 36rem; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .hero__stats { gap: 2rem; } }
.hero__stat dt {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) { .hero__stat dt { font-size: 1.875rem; } }
@media (min-width: 768px) { .hero__stat dt { font-size: 2.25rem; } }
.hero__stat dd {
  font-size: 0.75rem;
  color: var(--mute);
  margin-top: 0.375rem;
  line-height: 1.4;
}
@media (min-width: 640px) { .hero__stat dd { font-size: 0.875rem; } }

.hero__visual { position: relative; }
.hero__main-img {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.2);
  display: block;
}
.hero__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero__main-img:hover img { transform: scale(1.03); }

/* Label for the main hero image (so user knows which product it is).
   - On MOBILE: positioned at BOTTOM-LEFT (thumbnails are hidden on mobile, no conflict)
   - On DESKTOP: positioned at TOP-LEFT (so it never collides with the thumbnail strip at the bottom) */
.hero__main-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.25);
  z-index: 10;
  pointer-events: none;
}
@media (min-width: 768px) {
  /* On desktop: move label to TOP so it doesn't collide with the thumbnail strip */
  .hero__main-label {
    top: 1rem;
    bottom: auto;
    left: 1rem;
    font-size: 0.875rem;
    padding: 0.625rem 1.125rem;
  }
}

.hero__thumbs {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  position: absolute;
  bottom: -2.5rem;
  left: -2rem;
  right: 2rem;
  z-index: 5;
}
@media (min-width: 768px) {
  .hero__thumbs { display: grid; }
}
.hero__thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 10px 25px -10px rgba(0,0,0,0.2);
  transition: transform 0.25s ease;
}
.hero__thumb:hover { transform: scale(1.05); }
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero__thumb-label {
  position: absolute;
  bottom: 0.375rem;
  left: 0.375rem;
  right: 0.375rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.625rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.hero__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}
@media (min-width: 768px) {
  .hero__badge { top: 1.5rem; right: 1.5rem; }
}
.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--naomi-greentea);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__badge-dot { animation: none; }
}


/* --------------------------------------------------------------------------
   15. Wholesale banner + pricing
   -------------------------------------------------------------------------- */

.wholesale-banner {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--cream);
}
@media (min-width: 1024px) {
  .wholesale-banner {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    padding: 2.5rem;
    margin-top: 4rem;
  }
}
.wholesale-banner__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .wholesale-banner__title { font-size: 1.875rem; }
}
.wholesale-banner__text {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.wholesale-banner__note {
  font-size: 0.875rem;
  color: var(--mute);
}
.wholesale-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Wholesale price grid */
.wholesale-intro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}
.price-card {
  background: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .price-card { padding: 1.75rem; }
}
.price-card__tag {
  align-self: flex-start;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.price-card__qty {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 0.375rem;
}
.price-card__val {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) {
  .price-card__val { font-size: 3rem; }
}
.price-card__val span {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--mute);
}
.price-card__desc {
  font-size: 0.75rem;
  color: var(--mute);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 1rem;
}

.price-note {
  font-size: 0.75rem;
  color: var(--mute);
  line-height: 1.6;
  margin-top: 1rem;
  padding: 0 1.25rem;
}


/* --------------------------------------------------------------------------
   16. Step cards (production)
   -------------------------------------------------------------------------- */

.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
  backdrop-filter: blur(4px);
}
.step-card__num {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.75rem;
}
.step-card h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  line-height: 1.6;
}

.visit-cta {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
  .visit-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    margin-top: 3rem;
  }
}
.visit-cta h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .visit-cta h3 { font-size: 1.5rem; }
}
.visit-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  max-width: 36rem;
}


/* --------------------------------------------------------------------------
   18. News cards
   -------------------------------------------------------------------------- */

.news-featured {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.news-featured:hover {
  border-color: #d4d4d4;
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
@media (min-width: 1024px) {
  .news-featured { grid-template-columns: 1fr 1fr; }
}

.news-featured__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .news-featured__image { aspect-ratio: 4 / 3; }
}
.news-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.news-featured:hover .news-featured__image img { transform: scale(1.04); }

.news-featured__date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
}

.news-featured__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .news-featured__body { padding: 2.5rem; }
}

.news-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.news-featured__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .news-featured__title { font-size: 2rem; }
}

.news-featured__excerpt {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.news-featured__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  padding: 0;
}

/* News grid */
.news-grid { margin-top: 1.25rem; }

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.news-card:hover {
  border-color: #d4d4d4;
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.news-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.04); }
.news-card__date {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
}

.news-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__tags {
  font-size: 0.6875rem;
  color: var(--mute);
  margin-bottom: 0.75rem;
}
.news-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--mute);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__more {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* VK CTA */
.vk-cta {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
@media (min-width: 768px) {
  .vk-cta { padding: 2.5rem; margin-top: 4rem; }
}
.vk-cta h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .vk-cta h3 { font-size: 1.875rem; }
}
.vk-cta p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-inline: auto;
}


/* --------------------------------------------------------------------------
   27. Marketplace shop section + contacts CTA
   -------------------------------------------------------------------------- */

/* Marketplace store cards grid */
.mp-grid { margin-top: 0; }

.mp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  height: 100%;
}
.mp-card:hover {
  border-color: var(--mp-accent, var(--ink));
  box-shadow: 0 12px 36px -16px rgba(0,0,0,0.18);
  transform: translateY(-3px);
}
.mp-card--soon {
  background: color-mix(in srgb, var(--mp-soft) 40%, #fff);
  border-style: dashed;
  cursor: default;
}
.mp-card--soon:hover {
  border-color: var(--mp-accent);
  box-shadow: none;
  transform: none;
}

.mp-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: var(--radius-xs);
  background: var(--mp-soft);
  color: var(--mp-text);
  margin-bottom: 1rem;
  align-self: flex-start;
}
.mp-card__logo svg { width: auto; height: 22px; display: block; }
.mp-card__logo--ozon { background: #005bff; color: #fff; }
.mp-card__logo--wb   { background: #cb11ab; color: #fff; }
.mp-card__logo--ym   { background: #ffcc00; color: #1a1a1a; }

.mp-card__body { flex: 1; }
.mp-card__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.375rem;
  color: var(--ink);
}
.mp-card__sub {
  font-size: 0.8125rem;
  color: var(--mute);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.mp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--mp-text, var(--ink));
  margin-top: auto;
}
.mp-card__cta svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.mp-card:hover .mp-card__cta svg { transform: translateX(3px); }

.mp-card__badge {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  background: var(--mp-soft);
  color: var(--mp-text);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  border: 1px dashed var(--mp-accent);
}

/* Product → marketplace mapping table */
.mp-mapping {
  margin-top: 3.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .mp-mapping { padding: 2rem; margin-top: 4rem; }
}
.mp-mapping__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .mp-mapping__title { font-size: 1.5rem; } }
.mp-mapping__sub {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 60rem;
}

.mp-mapping__table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.mp-mapping__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.mp-mapping__row:last-child { border-bottom: 0; }
.mp-mapping__row--head {
  background: var(--cream);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
@media (min-width: 900px) {
  .mp-mapping__row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }
  .mp-mapping__row--head { font-size: 0.6875rem; }
}

/* On mobile, show column headers inline with each cell via data-label-like approach.
   We use a simpler stacked layout: each cell shows its value with a small label above. */
.mp-mapping__cell {
  font-size: 0.875rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
}
.mp-mapping__cell--product {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--ink);
  gap: 0.5rem;
}
.mp-mapping__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--ink);
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.mp-link:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--cream);
}
.mp-link--soon {
  color: var(--mute);
  background: var(--cream);
  border-style: dashed;
  cursor: default;
}
.mp-link--soon:hover { background: var(--cream); border-color: var(--line); }

.mp-mapping__note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--mute);
  line-height: 1.65;
}
.mp-mapping__note a { color: var(--naomi-greentea-text); text-decoration: underline; }
.mp-mapping__note a:hover { color: var(--ink); }

/* Contacts CTA block (replaces lead form) */
.contacts-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
@media (min-width: 768px) { .contacts-cta { padding: 2rem; } }
.contacts-cta__title {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.contacts-cta__sub {
  font-size: 0.875rem;
  color: var(--mute);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.contacts-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.contacts-cta__mp {
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line);
  margin-bottom: 1rem;
}
.contacts-cta__mp-label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.75rem;
}
.contacts-cta__mp-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contacts-cta__mp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contacts-cta__mp-link::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.contacts-cta__mp-link--ozon::before { background: #005bff; }
.contacts-cta__mp-link--wb::before   { background: #cb11ab; }
.contacts-cta__mp-link--soon::before { background: #ffcc00; }
.contacts-cta__mp-link:hover {
  border-color: var(--ink);
  background: var(--cream);
}
.contacts-cta__mp-link--soon {
  color: var(--mute);
  cursor: default;
  border-style: dashed;
}
.contacts-cta__mp-link--soon:hover {
  border-color: var(--line);
  background: #fff;
}
.contacts-cta__note {
  font-size: 0.75rem;
  color: var(--mute);
  line-height: 1.6;
  text-align: center;
}

/* Footer marketplace platforms — clickable variants */
.footer__platform--link {
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer__platform--link:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.footer__platform--soon {
  background: rgba(255,255,255,0.04);
  border-style: dashed;
  color: rgba(255,255,255,0.55);
  cursor: default;
}


/* --------------------------------------------------------------------------
   29.7 Wholesale banner, prices, contacts on small screens
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
  .wholesale-banner {
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .wholesale-banner__title {
    font-size: 1.25rem;
  }

  .price-card {
    padding: 1.25rem;
  }
  .price-card__val {
    font-size: 1.875rem;
  }
  .price-card__val span {
    font-size: 1rem;
  }

  .contact-block {
    padding: 1.25rem;
  }
  .contact-block__phone {
    font-size: 1.25rem;
  }

  .contacts-cta {
    padding: 1.25rem;
  }
  .contacts-cta__title {
    font-size: 1.25rem;
  }

  .news-featured__body {
    padding: 1.25rem;
  }
  .news-featured__title {
    font-size: 1.25rem;
  }
  .news-featured__excerpt {
    font-size: 0.9375rem;
  }

  .vk-cta {
    padding: 1.5rem;
  }
  .vk-cta h3 {
    font-size: 1.25rem;
  }

  .visit-cta {
    padding: 1.25rem;
  }
  .visit-cta h3 {
    font-size: 1.125rem;
  }
}


/* --------------------------------------------------------------------------
   29.15 Hero stats — single column on very small, keep 3-col on 381px+
   -------------------------------------------------------------------------- */

@media (min-width: 381px) and (max-width: 639px) {
  .hero__stats {
    gap: 0.75rem;
  }
  .hero__stat dt {
    font-size: 1.375rem;
  }
  .hero__stat dd {
    font-size: 0.75rem;
  }
}


/* --------------------------------------------------------------------------
   29.16 Choice guide section — ensure cards don't overflow on mobile
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
  .benefit-card {
    padding: 1.25rem;
  }
  .benefit-card h3 {
    font-size: 0.9375rem;
  }
  .benefit-card p {
    font-size: 0.8125rem;
  }
  .why-card {
    padding: 1.25rem;
  }
  .why-card h3 {
    font-size: 1rem;
  }
  .why-card p {
    font-size: 0.8125rem;
  }
  .step-card {
    padding: 1rem;
  }
  .step-card__num {
    font-size: 1.5rem;
  }
  .step-card h3 {
    font-size: 0.9375rem;
  }
  .step-card p {
    font-size: 0.75rem;
  }
}


/* Hero 2x2 grid */
.hero__grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 400px;
  margin-inline: auto;
}
.hero__grid-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid #ebebeb;
  background: #fff;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: block;
}
.hero__grid-item:hover {
  border-color: #4A7C59;
  transform: translateY(-2px);
}
.hero__grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__grid-label {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a1a1a;
}


/* ====== ARTICLE ====== */

/* article.css — part of NAOMI TOFU design system */

/* --------------------------------------------------------------------------
   25. News article page
   -------------------------------------------------------------------------- */

.article {
  max-width: 48rem;
  margin-inline: auto;
}

.article__hero {
  position: relative;
  /* Center the image and limit its size so it doesn't dominate the screen.
     The image keeps its natural aspect ratio (no cropping), but is capped
     at max-width: 32rem and max-height: 60vh for a balanced layout. */
  text-align: center;
  margin-bottom: 2rem;
}
.article__hero img {
  max-width: 100%;
  max-height: 60vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  display: inline-block;
}
@media (min-width: 768px) {
  .article__hero img {
    max-width: 32rem;
  }
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--mute);
}

.article__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .article__title { font-size: 2.5rem; }
}

.article__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .article__body { font-size: 1.125rem; line-height: 1.8; }
}
.article__body p { white-space: pre-line; }

/* Gallery grid for multi-image articles */
.article__gallery-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.article__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .article__gallery { grid-template-columns: repeat(2, 1fr); }
}

.article__gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
}
.article__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* For portrait photos of people, focus on the top (faces) so we don't
     crop heads when the container is slightly narrower than the image. */
  object-position: center 20%;
  transition: transform 0.5s ease;
}
.article__gallery-item:hover img { transform: scale(1.03); }

.article__source {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--mute);
  margin-bottom: 2rem;
}
.article__source a {
  color: var(--naomi-greentea-text);
  word-break: break-all;
}
.article__source a:hover { text-decoration: underline; }

.article__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .article__cta { flex-direction: row; padding: 2rem; }
}
.article__cta-text {
  flex: 1;
}
.article__cta-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.article__cta-text p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.article__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 14rem;
}
@media (min-width: 640px) {
  .article__cta-buttons { min-width: 16rem; }
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--mute);
  transition: color 0.2s ease;
  margin-bottom: 1.5rem;
}
.article__back:hover { color: var(--ink); }
.article__back svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}
.article__back:hover svg { transform: translateX(-3px); }

/* Other news section on article page */
.other-news { margin-top: 3rem; }
@media (min-width: 768px) { .other-news { margin-top: 4rem; } }
.other-news__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .other-news__title { font-size: 1.875rem; }
}


/* --------------------------------------------------------------------------
   29.9 News article page on small screens
   -------------------------------------------------------------------------- */

@media (max-width: 639px) {
  .article__title {
    font-size: 1.5rem;
  }
  .article__body {
    font-size: 1rem;
    line-height: 1.7;
  }
  .article__cta {
    padding: 1.25rem;
  }
  .article__cta-text h3 {
    font-size: 1.125rem;
  }
  .article__hero img {
    max-height: 50vh;
  }
  .article__gallery {
    gap: 0.625rem;
  }
}



/* ====== RESPONSIVE ====== */


/* ====== RESPONSIVE RULES ====== */
html, body { max-width: 100% !important; overflow-x: hidden !important; }

/* HEADER */
.header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  max-width: 100% !important;
}

.logo {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}
.logo__img {
  flex-shrink: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  overflow: visible !important;
}
.logo__img img {
  width: 120px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
@media (min-width: 768px) {
  .logo__img img { width: 160px !important; }
}

/* Navigation — hidden below 1280px */
.nav { display: none !important; }
@media (min-width: 1280px) {
  .nav {
    display: flex !important;
    gap: 0.75rem !important;
  }
  .nav__link {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.6rem !important;
  }
}

/* Header actions */
.header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-shrink: 0 !important;
}

/* Marketplaces button — hidden below 768px */
.header__marketplaces { display: none !important; }
@media (min-width: 768px) {
  .header__marketplaces { display: inline-flex !important; }
}

/* Phone — hidden below 1366px */
.header__phone { display: none !important; }
@media (min-width: 1366px) {
  .header__phone { display: inline-flex !important; }
}

/* Burger — shown below 1280px */
.burger { display: flex !important; flex-shrink: 0 !important; }
@media (min-width: 1280px) {
  .burger { display: none !important; }
}

/* Container */
.container { padding-inline: 1rem !important; }
@media (min-width: 768px) { .container { padding-inline: 1.5rem !important; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem !important; } }

/* Grids */
.grid { gap: 1rem !important; }
.grid--4, .grid--3 { grid-template-columns: 1fr !important; }
@media (min-width: 640px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid--3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr) !important; }
  .grid--3 { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Images */
img { max-width: 100% !important; height: auto !important; }

/* Titles */
.section__title { font-size: 1.5rem !important; line-height: 1.3 !important; }
@media (min-width: 768px) { .section__title { font-size: 2rem !important; } }
@media (min-width: 1024px) { .section__title { font-size: 2.5rem !important; } }

.hero__title { font-size: 1.5rem !important; line-height: 1.3 !important; }
@media (min-width: 768px) { .hero__title { font-size: 2rem !important; } }
@media (min-width: 1024px) { .hero__title { font-size: 2.5rem !important; } }

/* Article */
.article__body { font-size: 0.95rem !important; line-height: 1.7 !important; }
.article__body h2 { font-size: 1.25rem !important; margin-top: 2rem !important; }
@media (min-width: 768px) {
  .article__body { font-size: 1rem !important; }
  .article__body h2 { font-size: 1.5rem !important; }
}

/* Footer */
.footer__grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr !important; gap: 1.5rem !important; align-items: start !important; }
}

/* FAQ */
.faq-trigger { font-size: 0.95rem !important; padding: 1rem !important; }
.faq-panel__content { font-size: 0.9rem !important; padding: 0 1rem 1rem !important; }

/* Buttons */
.btn { padding: 0.6rem 1.2rem !important; font-size: 0.9rem !important; }
.btn--sm { padding: 0.4rem 0.8rem !important; font-size: 0.8rem !important; }

/* Product detail */
.product-detail { grid-template-columns: 1fr !important; }
@media (min-width: 768px) { .product-detail { grid-template-columns: 1fr 1fr !important; } }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.8rem !important; flex-wrap: wrap !important; gap: 0.25rem !important; }

/* Sections */
.section { padding-block: 3rem !important; }
@media (min-width: 768px) { .section { padding-block: 4rem !important; } }
@media (min-width: 1024px) { .section { padding-block: 5rem !important; } }

/* Floating */
.floating { bottom: 0.75rem !important; right: 0.75rem !important; }
@media (min-width: 640px) { .floating { bottom: 1.5rem !important; right: 1.5rem !important; } }

/* About blocks */
.about-block { margin-top: 2.5rem !important; }
.about-block:first-of-type { margin-top: 1.5rem !important; }

/* Images < 1023px */
@media (max-width: 1023px) {
  .hero__main-img { max-width: 400px; margin-inline: auto; aspect-ratio: 5 / 6; }
  .hero__visual { max-width: 500px; margin-inline: auto; }
  .product-compact__image { max-height: 280px; aspect-ratio: 4 / 3; }
  .product-detail__image-wrap { max-width: 400px; margin-inline: auto; }
  .news-card__image { max-height: 200px; }
  .article__hero { max-width: 600px; margin-inline: auto; }
  .article__hero img { max-height: 350px; object-fit: cover; }
  .article__gallery-item { max-height: 250px; }
  .article__gallery-item img { max-height: 250px; object-fit: cover; }
}
@media (max-width: 640px) {
  .hero__main-img { max-width: 100%; }
  .product-compact__image { max-height: 220px; }
  .article__hero img { max-height: 250px; }
}

/* Floating fix */
.floating {
  transform: none !important;
  transition: opacity 0.4s ease !important;
  position: fixed !important;
}
.floating.is-visible { transform: none !important; }
.floating__expanded { transform: none !important; transition: opacity 0.3s ease !important; }
.floating__expanded.is-open { transform: none !important; }
.floating__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.floating__icon--close { width: 1.25rem; height: 1.25rem; }
.floating__btn--main.is-open .floating__icon--close { transform: translate(-50%, -50%); }
@media (max-width: 640px) { .floating__btn:hover { transform: none !important; } }

/* Header — centered */
.header__inner {
  max-width: 1280px !important;
  margin-inline: auto !important;
}

