.new-description {
  box-sizing: border-box;
  width: 100%;
  margin: 20px 0 32px 0; /* under pagination, aligned with product grid */
  padding: clamp(14px, 2.5vw, 24px) clamp(16px, 3vw, 24px);
  background: var(--card, #ffffff);
  border-radius: clamp(12px, 2vw, 20px);
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.65;
  color: var(--muted, #333);
  box-shadow: var(--shadow, 0 2px 0 rgba(0, 0, 0, 0.02));
  max-height: 515px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease-out;
}

.new-description.expanded {
  max-height: 3500px; /* Достатньо велике число для повного тексту */
  padding-bottom: 50px;
}

.new-description.has-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 90%
  );
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.new-description.expanded.has-more::after {
  opacity: 0;
}

.new-description-toggle {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  border: none;
  color: var(--primary, #d8a07e);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
  padding: 5px 15px;
}

.new-description-toggle:hover {
  text-decoration: underline;
}

.new-description p {
  margin: 0 0 clamp(10px, 2vw, 16px) 0;
}

.new-description p:last-child {
  margin-bottom: 0;
}

.new-description a {
  color: var(--primary, #d8a07e);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.new-description a:hover {
  color: #bfa18f;
  text-decoration-color: #bfa18f;
}

/* Remove top gap for H2 inside the description block */
.new-description h2 {
  margin-top: 0;
}
