/* Dehumidifier selector visual polish, SEO content and reverse-link blocks */

.mj-product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(87, 68, 57, 0.14) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(65, 49, 40, 0.10) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mj-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 112, 72, 0.34) !important;
  box-shadow: 0 24px 58px rgba(65, 49, 40, 0.15) !important;
}

.mj-product-media {
  position: relative;
  display: grid !important;
  place-items: center !important;
  min-height: 360px !important;
  padding: 34px 30px 30px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.98) 0 30%, rgba(250,245,239,.92) 58%, rgba(241,232,223,.82) 100%) !important;
}

.mj-product-card[data-tone="blush"] .mj-product-media {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.98) 0 28%, rgba(252,242,243,.94) 58%, rgba(240,220,222,.84) 100%) !important;
}

.mj-product-card[data-tone="sand"] .mj-product-media {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.98) 0 28%, rgba(249,244,233,.95) 58%, rgba(227,214,190,.85) 100%) !important;
}

.mj-product-card[data-tone="white"] .mj-product-media {
  background:
    linear-gradient(145deg, rgba(251,248,244,.98), rgba(237,241,240,.94)) !important;
}

.mj-product-media::before {
  content: "";
  position: absolute;
  inset: 18% 13% 8%;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  filter: blur(16px);
  pointer-events: none;
}

.mj-product-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(82%, 360px) !important;
  height: auto !important;
  max-width: 360px !important;
  max-height: 315px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 22px 18px rgba(64, 51, 43, .20));
  transform: translateZ(0);
}

.mj-product-media .mj-official-image-note {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(87,68,57,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #5b4a40;
  font-size: 12px;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

.mj-capacity-stamp {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  min-width: 72px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(91, 63, 48, .12);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #4d392e;
  box-shadow: 0 10px 28px rgba(65,49,40,.10);
  text-align: center;
  font-weight: 800;
  line-height: 1.05;
}

.mj-capacity-stamp strong {
  display: block;
  font-size: 20px;
}

.mj-capacity-stamp small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}

.tool-seo-content {
  margin-top: 72px;
  padding: 70px 0 86px;
  border-top: 1px solid rgba(87,68,57,.12);
  background: linear-gradient(180deg, #fff 0%, #faf7f3 100%);
}

.tool-seo-content .tool-seo-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.tool-seo-content h2 {
  margin: 52px 0 16px;
  color: #241d19;
  font-size: clamp(27px, 3.1vw, 42px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.tool-seo-content h2:first-child {
  margin-top: 0;
}

.tool-seo-content h3 {
  margin: 30px 0 10px;
  color: #352b25;
  font-size: 22px;
  line-height: 1.35;
}

.tool-seo-content p,
.tool-seo-content li {
  color: #544840;
  font-size: 17px;
  line-height: 1.86;
}

.tool-seo-content a {
  color: #8d4f30;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.tool-capacity-table-wrap {
  margin: 24px 0 36px;
  overflow-x: auto;
  border: 1px solid rgba(87,68,57,.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(65,49,40,.07);
  -webkit-overflow-scrolling: touch;
}

.tool-capacity-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.tool-capacity-table th,
.tool-capacity-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(87,68,57,.10);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
}

.tool-capacity-table th {
  background: #4c3b32;
  color: #fff;
  font-weight: 800;
}

.tool-capacity-table tr:last-child td {
  border-bottom: 0;
}

.tool-capacity-table tbody tr:nth-child(even) td {
  background: #fbf8f5;
}

.tool-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.tool-link-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(87,68,57,.14);
  border-radius: 14px;
  background: #fff;
  color: #332821 !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tool-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(176,112,72,.34);
  box-shadow: 0 12px 28px rgba(65,49,40,.09);
}

.tool-link-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
}

.tool-link-card span {
  color: #75665c;
  font-size: 14px;
  line-height: 1.55;
}

.tool-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.tool-faq-list details {
  border: 1px solid rgba(87,68,57,.14);
  border-radius: 14px;
  background: #fff;
}

.tool-faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #332821;
  font-weight: 800;
}

.tool-faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
}

.tool-backlink-card {
  margin: 30px 0 34px;
  padding: 24px 26px;
  border: 1px solid rgba(176,112,72,.28);
  border-left: 5px solid #a8633e;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf5, #f5ede5);
  box-shadow: 0 12px 30px rgba(65,49,40,.08);
}

.tool-backlink-card h2 {
  margin: 0 0 9px !important;
  color: #2e241f;
  font-size: 24px !important;
  line-height: 1.3 !important;
}

.tool-backlink-card p {
  margin: 0 0 15px;
  color: #5a4a40;
}

.tool-backlink-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  background: #4c3b32;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}

.tool-backlink-card a:hover {
  background: #2f241f;
}

@media (max-width: 760px) {
  .mj-product-card {
    border-radius: 16px !important;
  }

  .mj-product-media {
    min-height: 292px !important;
    padding: 26px 18px 24px !important;
  }

  .mj-product-media img {
    width: min(86%, 280px) !important;
    max-width: 280px !important;
    max-height: 245px !important;
  }

  .mj-capacity-stamp {
    top: 13px;
    right: 13px;
    min-width: 62px;
    min-height: 62px;
  }

  .mj-capacity-stamp strong {
    font-size: 17px;
  }

  .mj-product-media .mj-official-image-note {
    right: 10px;
    bottom: 10px;
    font-size: 10px;
  }

  .tool-seo-content {
    margin-top: 52px;
    padding: 52px 0 62px;
  }

  .tool-seo-content .tool-seo-shell {
    width: min(100% - 28px, 1120px);
  }

  .tool-seo-content p,
  .tool-seo-content li {
    font-size: 16px;
  }

  .tool-link-grid {
    grid-template-columns: 1fr;
  }

  .tool-backlink-card {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mj-product-card,
  .tool-link-card {
    transition: none;
  }
}
