/* Product image polish: blend legacy white-background cutouts into the page. */
:root {
  --green: #80c342;
  --lime: #d8e625;
  --dark: #13281d;
  --cream: #f5f8df;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
main, .site-header, .site-footer, .page-hero, .section {
  max-width: 100%;
}
.hero-visual {
  border-radius: 34px;
  background: transparent;
  isolation: isolate;
}
.hero-visual img {
  mix-blend-mode: multiply;
  filter: contrast(1.08) saturate(1.08) drop-shadow(0 25px 25px rgba(20,45,25,.18));
  transform: scale(1.04);
  -webkit-mask-image: radial-gradient(ellipse 84% 86% at 50% 50%, #000 68%, rgba(0,0,0,.92) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 86% at 50% 50%, #000 68%, rgba(0,0,0,.92) 82%, transparent 100%);
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, rgba(216,230,37,.72), rgba(128,195,66,.34) 50%, rgba(128,195,66,0) 74%);
  filter: blur(4px);
  z-index: -1;
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(128,195,66,.28);
  border-radius: 50%;
  z-index: -1;
}
.orb { opacity: .18; filter: blur(3px); }
.floating-card { background: rgba(255,255,255,.94); }
.product-card img {
  mix-blend-mode: multiply;
  filter: contrast(1.06) saturate(1.04);
}
.product-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcf8;
  transition: transform .25s ease, box-shadow .25s ease;
}
.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(27, 61, 35, .12);
}
.catalog-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 14px 20px;
  mix-blend-mode: multiply;
  filter: contrast(1.06) saturate(1.04);
}
.catalog-card div {
  flex: 1;
  padding: 20px 22px 24px;
  border-top: 1px solid var(--line);
}
.catalog-card h2 {
  margin: 2px 0 8px;
  font-size: 25px;
}
.catalog-card p {
  min-height: 58px;
  color: var(--muted);
  font-size: 14px;
}
.catalog-card .btn {
  margin-top: 8px;
}
.catalog-card.featured {
  border-color: #9cbe4a;
  box-shadow: 0 12px 30px rgba(112, 145, 42, .10);
}
@media (max-width: 900px) {
  .product-catalog { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-catalog { grid-template-columns: 1fr; }
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.detail-image {
  position: sticky;
  top: 110px;
  padding: 26px;
  border-radius: 18px;
  background: #f4f8e9;
  text-align: center;
}
.detail-image img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.detail-image .btn { margin-top: 16px; }
.spec-image h2 { margin-top: 0; font-size: 30px; }
.spec-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20,45,25,.12);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcf8;
}
.spec-table th,
.spec-table td {
  padding: 11px 14px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.spec-table th {
  width: 52%;
  color: var(--muted);
  font-weight: 600;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-reference { margin-top: 18px; }
.spec-reference summary {
  cursor: pointer;
  color: #6c9922;
  font-size: 13px;
  font-weight: 700;
}
.spec-reference img {
  display: block;
  width: 100%;
  margin-top: 12px;
  border-radius: 12px;
}
.form-status {
  padding: 10px 14px;
  border-radius: 8px;
  background: #edf7d6;
  color: #456b16;
  font-size: 13px;
}
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.contact-grid,
.contact-grid > * {
  min-width: 0;
}
.contact-grid { grid-template-columns: 1.2fr .8fr; }
.contact-info p,
.contact-info a {
  overflow-wrap: anywhere;
}
.social-link::before {
  display: inline-block;
  width: 24px;
  margin-inline-end: 4px;
  color: var(--green);
  font-weight: 800;
}
.social-link.instagram::before { content: "◎"; }
.social-link.telegram::before { content: "➤"; }
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.social-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: var(--dark);
  color: #fff;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.social-icon:hover {
  transform: translateY(-2px);
  background: var(--green);
  color: var(--dark);
}
.site-footer .social-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.site-footer .social-icon:hover {
  background: var(--green);
  border-color: transparent;
  color: var(--dark);
}
.contact-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.contact-shell {
  width: min(680px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 34px;
  direction: inherit;
}
.contact-shell .contact-form,
.contact-shell .contact-info {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcf8;
}
.contact-shell .contact-form input,
.contact-shell .contact-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.contact-shell .contact-info p,
.contact-shell .contact-info a {
  overflow-wrap: anywhere;
}
.page-contact {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.page-contact .page-hero .container,
.page-contact .section > .container {
  box-sizing: border-box;
  width: min(1160px, calc(100% - 32px));
  max-width: 100%;
}
@media (max-width: 800px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
    margin-inline: 0;
  }
  .page-hero .container,
  .section > .container {
    overflow: hidden;
  }
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-form,
  .contact-info {
    width: 100%;
    max-width: 100%;
  }
  .contact-info { order: 2; }
  .contact-form { order: 1; }
  body { overflow-x: hidden; }
  .page-contact .page-hero .container,
  .page-contact .section > .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 20px;
    margin-inline: 0;
  }
  .page-contact .page-hero {
    padding-inline: 0;
  }
  .contact-shell {
    width: calc(100% - 32px);
    margin-inline: auto;
  }
  .contact-shell .contact-form,
  .contact-shell .contact-info {
    padding: 20px;
  }
}
@media (max-width: 800px) {
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-image { position: static; }
}

/* Hero: keep the source ratio and present it like the product cards. */
.hero-visual {
  min-height: 430px;
  height: auto;
  padding: 18px;
  overflow: visible;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20,45,25,.10);
}
.hero-visual img {
  width: min(500px, 100%);
  height: auto !important;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-visual::before,
.hero-visual::after,
.hero-visual .orb { display: none; }
.hero-visual .floating-card { bottom: 24px; right: 18px; }
.product-card:hover {
  transform: translateY(-3px);
  background: #2b4a38;
}
.product-card { transition: transform .18s ease, background .18s ease; }
.dark-section .product-card {
  background: #f7faef;
  color: var(--ink);
  border: 1px solid rgba(216,230,37,.55);
}
.dark-section .product-card:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0,0,0,.16);
}
.dark-section .product-card div { border-top-color: rgba(20,34,27,.13); }
.dark-section .product-card span { color: #6c9922; }
.dark-section .product-card b { color: #526056; }
.dark-section .product-card img {
  mix-blend-mode: multiply;
  filter: contrast(1.12) saturate(1.08);
}
@media (max-width: 800px) {
  .hero-copy { padding-top: 42px; }
  .hero h1 { font-size: 34px; line-height: 1.25; }
  .hero p { font-size: 15px; line-height: 1.9; }
  .hero { padding-bottom: 28px; }
  .hero-visual {
    min-height: 0;
    padding: 10px;
    margin: 28px auto 20px;
    width: min(100%, 440px);
  }
  .hero-visual img { width: 92%; }
  .hero-visual .floating-card { bottom: 12px; right: 10px; transform: scale(.88); transform-origin: bottom right; }
  .trust-row { gap: 12px; font-size: 11px; margin-top: 30px; }
}
