.velora-home-stats {
  position: relative;
  background: #fff;
  color: #18181b;
}

.velora-home-stats__inner.velora-container {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

body.velora-design-active .velora-home-stats__inner.velora-container {
  padding-bottom: clamp(3rem, 5vw, 4rem);
}

.velora-home-stats__list {
  border-top: 1px solid #e4e4e7;
}

.velora-home-stats__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3.5vw, 3rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.35rem) 0;
  border-bottom: 1px solid #e4e4e7;
}

body.velora-design-active .velora-home-stats__row {
  padding-right: 2.25rem;
}

.velora-home-stats__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.5em;
  min-width: 0;
}

.velora-home-stats__value {
  margin: 0;
  font-size: clamp(2.35rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #18181b;
}

.velora-home-stats__label {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: #18181b;
}

.velora-home-stats__body {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  color: #71717a;
}

@media (max-width: 767px) {
  .velora-home-stats__row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .velora-home-stats__body {
    max-width: none;
  }
}

body.velora-design-active .velora-home-stats__body .velora-design-text-edit-input,
body.velora-design-active .velora-home-stats__body .velora-design-text-edit-input--multiline {
  color: #71717a;
}

.velora-home-stats__item-remove {
  position: absolute;
  top: clamp(1.75rem, 3vw, 2.35rem);
  right: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #71717a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.velora-home-stats__item-remove:hover {
  background: rgba(24, 24, 27, 0.06);
  color: #18181b;
}

.velora-home-stats__item-remove-icon {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(0.5px);
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M19 6l-1 14H6L5 6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M19 6l-1 14H6L5 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.velora-home-stats__design-actions {
  margin-top: 0.5rem;
}

.velora-home-stats__add {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.65rem 1rem;
  border: 1px dashed #d4d4d8;
  border-radius: 8px;
  background: #fafafa;
  color: #18181b;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.velora-home-stats__add:hover {
  border-color: #a1a1aa;
  background: #f4f4f5;
}

.velora-home-stats__add-icon {
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 500;
}

body:not(.velora-design-active) .velora-home-stats__item-remove,
body:not(.velora-design-active) .velora-home-stats__design-actions,
body:not(.velora-design-active) .velora-home-stats__row-insert {
  display: none;
}

.velora-home-stats__row-insert {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin: -0.35rem 0;
  pointer-events: none;
}

.velora-home-stats__row-insert-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed #d4d4d8;
  pointer-events: none;
}

.velora-home-stats__row-insert-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: #fff;
  color: #18181b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.velora-home-stats__row-insert-btn:hover {
  border-color: #a1a1aa;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.velora-home-stats__row-insert-icon {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.velora-design-active .velora-home-block--block-height-set .velora-home-stats__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
