.jm-sharebar {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #d8d0c1;
}

.jm-sharebar__title {
  margin: 0 0 0.7rem;
  color: #8e7650;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jm-sharebar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.jm-sharebar__button,
.jm-sharebar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid #ccb790;
  border-radius: 12px;
  background: #fffdf9;
  color: #8e7650;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jm-sharebar__button:hover,
.jm-sharebar__button:focus,
.jm-sharebar__link:hover,
.jm-sharebar__link:focus {
  background: #f7efe0;
  color: #7b6542;
  text-decoration: none;
}

.jm-sharebar__status {
  flex-basis: 100%;
  min-height: 1.2rem;
  color: #6c5638;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.jm-sharebar__status.is-visible {
  opacity: 1;
}

@media (max-width: 640px) {
  .jm-sharebar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jm-sharebar__button,
  .jm-sharebar__link {
    width: 100%;
  }
}

.jm-sharebar [data-share-native] {
  display: none;
}

@media (max-width: 640px) {
  .jm-sharebar [data-share-native] {
    display: inline-flex;
  }
}