.sgdc-product-share {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 24px 0 0;
  padding: 16px;
  border: 1px solid var(--line, rgba(23, 20, 19, 0.14));
  border-radius: var(--radius, 8px);
  background: var(--rice, #fffaf0);
  color: var(--ink, #171413);
}

.sgdc-product-share-heading {
  margin: 0 0 12px;
  color: var(--ink, #171413);
  font-size: 16px;
  line-height: 1.4;
}

.sgdc-product-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.sgdc-product-share-button {
  min-width: 132px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid var(--line, rgba(23, 20, 19, 0.14));
  border-radius: var(--radius, 8px);
  background: var(--rice, #fffaf0);
  color: var(--ink, #171413);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sgdc-product-share-button:hover,
.sgdc-product-share-button:focus-visible {
  border-color: var(--vermilion, #b6252a);
}

.sgdc-product-share-button:focus-visible {
  outline: 2px solid var(--vermilion, #b6252a);
  outline-offset: 2px;
}

.sgdc-product-share-button-primary {
  border-color: var(--vermilion, #b6252a);
  background: var(--vermilion, #b6252a);
  color: var(--rice, #fffaf0);
}

.sgdc-product-share-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.sgdc-product-share-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--ink-soft, #3a302c);
  font-size: 13px;
  line-height: 1.5;
}

.sgdc-product-share-fallback,
.sgdc-product-share-noscript {
  max-width: 100%;
  margin-top: 10px;
}

.sgdc-product-share-fallback[hidden] {
  display: none;
}

.sgdc-product-share-fallback input,
.sgdc-product-share-noscript input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 10px;
  border: 1px solid var(--line, rgba(23, 20, 19, 0.14));
  border-radius: 4px;
  background: #fff;
  color: var(--ink, #171413);
  font: inherit;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sgdc-product-share-noscript label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-soft, #3a302c);
  font-size: 13px;
  font-weight: 700;
}

.sgdc-product-share-noscript p {
  margin: 6px 0 0;
  color: var(--ink-soft, #3a302c);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 767px), (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .sgdc-product-share {
    margin-top: 20px;
    padding: 14px;
  }

  .sgdc-product-share-button {
    flex: 1 1 140px;
  }
}
