/* User-approved Jewellery divergence: one navbar social icon and card-first modal. */
.kindly-header-social-icon {
  flex: 0 0 36px;
  isolation: isolate;
  margin-left: 6px;
  position: relative;
  z-index: 5;
}

.kindly-header-social-icon__button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #25211f;
  display: inline-flex;
  font-size: 18px;
  cursor: pointer;
  height: 32px;
  justify-content: center;
  padding: 0;
  transition: color 160ms ease, transform 160ms ease;
  line-height: 1;
  min-height: 32px;
  min-width: 36px;
  width: 36px;
}

.kindly-header-social-icon__button:hover,
.kindly-header-social-icon__button:focus-visible,
.kindly-header-social-icon__button[aria-expanded="true"] {
  color: #9b624d;
  transform: translateY(-1px);
}

.kindly-header-social-icon__button:focus-visible,
.kindly-share button:focus-visible,
.kindly-share input:focus-visible,
.kindly-share a:focus-visible {
  outline: 2px solid #9b624d;
  outline-offset: 3px;
}

.kindly-share[hidden],
.kindly-share [hidden] {
  display: none !important;
}

.kindly-share {
  inset: 0;
  position: fixed;
  z-index: 1200;
}

.kindly-share__backdrop {
  background: rgba(22, 19, 17, 0.48);
  inset: 0;
  position: absolute;
}

.kindly-share__panel {
  animation: kindly-social-modal-enter 190ms ease-out;
  background: #fffdfa;
  border-radius: 20px 0 0 20px;
  box-shadow: -20px 0 70px rgba(31, 25, 22, 0.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  margin-left: auto;
  max-width: 560px;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 38px);
  position: relative;
  width: min(100%, 560px);
}

.kindly-share__header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.kindly-share__eyebrow {
  color: #8a5744;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.kindly-share__header h2 {
  color: #25211f;
  font-family: var(--alt-font, sans-serif);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}

.kindly-share__header p {
  color: #706762;
  font-size: 13px;
  line-height: 1.45;
  margin: 7px 0 0;
}

.kindly-share__close {
  align-items: center;
  background: #f3ece7;
  border: 0;
  border-radius: 50%;
  color: #25211f;
  display: inline-flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.kindly-share__tabs {
  background: #f3ece7;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
}

.kindly-share__tabs button {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #5e5651;
  font-size: 12px;
  font-weight: 700;
  min-height: 42px;
  padding: 6px 10px;
}

.kindly-share__tabs button[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 4px 14px rgba(35, 29, 26, 0.09);
  color: #25211f;
}

.kindly-share__tab-panel {
  display: grid;
  gap: 14px;
}

.kindly-share__tools {
  display: grid;
  gap: 12px;
}

.kindly-share__search {
  align-items: center;
  background: #fff;
  border: 1px solid #ddd4ce;
  border-radius: 12px;
  color: #746b66;
  display: flex;
  gap: 9px;
  min-height: 46px;
  padding: 0 14px;
}

.kindly-share__search input {
  background: transparent;
  border: 0;
  color: #25211f;
  flex: 1;
  font-size: 13px;
  min-width: 0;
  outline: 0;
}

.kindly-share__filters {
  display: flex;
  gap: 8px;
  margin: 0 -2px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}

.kindly-share__filters::-webkit-scrollbar { display: none; }

.kindly-share__filters button {
  background: #f3ece7;
  border: 0;
  border-radius: 999px;
  color: #5e5651;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  min-height: 34px;
  padding: 0 14px;
}

.kindly-share__filters button.is-active {
  background: #25211f;
  color: #fff;
}

.kindly-share__loading,
.kindly-share__empty {
  align-items: center;
  background: #f7f2ee;
  border-radius: 16px;
  color: #746b66;
  display: flex;
  justify-content: center;
  min-height: 220px;
  padding: 28px;
  text-align: center;
}

.kindly-share__library {
  display: grid;
  gap: 14px;
}

.kindly-share__viewer {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
}

.kindly-share__card {
  aspect-ratio: 4 / 5;
  background: #f3ece7;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(35, 29, 26, 0.13);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.kindly-share__card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.kindly-share__card img[hidden] {
  display: none;
}

.kindly-share__image-state {
  align-items: center;
  background: linear-gradient(110deg, #f3ece7 28%, #fffaf6 45%, #f3ece7 62%);
  background-size: 220% 100%;
  color: #746b66;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 12px;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: absolute;
  text-align: center;
}

.kindly-share__image-state[hidden] {
  display: none;
}

.kindly-share__card[data-kindly-social-image-state="loading"] .kindly-share__image-state {
  animation: kindly-social-card-loading 1.35s ease-in-out infinite;
}

.kindly-share__card[data-kindly-social-image-state="error"] .kindly-share__image-state {
  animation: none;
  background: #f7f2ee;
}

.kindly-share__image-state-spinner {
  border: 2px solid rgba(155, 98, 77, 0.2);
  border-radius: 50%;
  border-top-color: #9b624d;
  height: 25px;
  width: 25px;
}

.kindly-share__card[data-kindly-social-image-state="loading"] .kindly-share__image-state-spinner {
  animation: kindly-social-card-spinner 700ms linear infinite;
}

.kindly-share__card[data-kindly-social-image-state="error"] .kindly-share__image-state-spinner {
  display: none;
}

.kindly-share__image-state button {
  background: #25211f;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-height: 38px;
  padding: 0 18px;
}

.kindly-share__nav {
  align-items: center;
  background: #fff;
  border: 1px solid #ded5cf;
  border-radius: 50%;
  color: #25211f;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.kindly-share__nav:hover {
  background: #25211f;
  border-color: #25211f;
  color: #fff;
}

.kindly-share__card-copy {
  display: grid;
  gap: 7px;
}

.kindly-share__card-copy > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.kindly-share__card-copy span {
  color: #9b624d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kindly-share__card-copy strong {
  color: #827974;
  font-size: 11px;
  font-weight: 600;
}

.kindly-share__card-copy p {
  color: #4d4642;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kindly-share__primary-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.kindly-share__primary-actions button {
  align-items: center;
  border: 0;
  border-radius: 11px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 47px;
  padding: 0 14px;
}

.kindly-share__primary {
  background: #25211f;
  color: #fff;
}

.kindly-share__primary:hover {
  background: #9b624d;
  color: #fff;
}

.kindly-share__secondary {
  background: #f3ece7;
  color: #4d4642;
}

.kindly-share__page-share {
  align-content: start;
}

.kindly-share__qr {
  align-items: center;
  background: #f7f2ee;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-height: 288px;
  padding: 20px;
  text-align: center;
}

.kindly-share__qr img {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(35, 29, 26, 0.1);
  height: 220px;
  width: 220px;
}

.kindly-share__qr > div {
  align-items: center;
  color: #746b66;
  display: flex;
  flex: 1;
  font-size: 13px;
  justify-content: center;
  min-height: 220px;
}

.kindly-share__qr p {
  color: #746b66;
  font-size: 12px;
  line-height: 1.45;
  margin: 10px 0 0;
}

.kindly-share__actions {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kindly-share__action {
  align-items: center;
  background: #f3ece7;
  border: 0;
  border-radius: 11px;
  color: #25211f;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  min-height: 72px;
  padding: 10px 8px;
  text-align: center;
}

.kindly-share__action i {
  font-size: 20px;
}

.kindly-share__action:hover,
.kindly-share__action:focus-visible {
  background: #ead8ce;
  color: #25211f;
}

.kindly-share__action--whatsapp {
  background: #e9f8ef;
  color: #14743a;
}

.kindly-share__action--facebook {
  background: #edf3ff;
  color: #1b5bbf;
}

.kindly-share__native:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.kindly-share__privacy {
  color: #827974;
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.kindly-share__status {
  color: #315718;
  font-size: 12px;
  font-weight: 600;
  margin: -8px 0 0;
  min-height: 18px;
  text-align: center;
}

@keyframes kindly-social-modal-enter {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes kindly-social-card-loading {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes kindly-social-card-spinner {
  to { transform: rotate(360deg); }
}

@media (max-width: 575px) {
  .kindly-header-social-icon {
    flex-basis: 40px;
    margin-left: 2px;
  }

  .kindly-header-social-icon__button {
    height: 40px;
    min-height: 40px;
    min-width: 40px;
    width: 40px;
  }

  .kindly-share__panel {
    border-radius: 0;
    gap: 14px;
    max-width: none;
    padding: 18px 14px max(18px, env(safe-area-inset-bottom));
    width: 100%;
  }

  .kindly-share__header { padding-inline: 2px; }
  .kindly-share__header h2 { font-size: 25px; }

  .kindly-share__viewer {
    gap: 7px;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .kindly-share__nav { height: 34px; width: 34px; }
  .kindly-share__primary-actions { grid-template-columns: 1fr 46px 46px; }
  .kindly-share__secondary { padding: 0 !important; }
  .kindly-share__secondary span { display: none; }
  .kindly-share__qr { min-height: 246px; }
  .kindly-share__qr img,
  .kindly-share__qr > div {
    height: 180px;
    min-height: 180px;
    width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kindly-share__panel { animation: none; }
  .kindly-share__card[data-kindly-social-image-state="loading"] .kindly-share__image-state,
  .kindly-share__card[data-kindly-social-image-state="loading"] .kindly-share__image-state-spinner {
    animation: none;
  }
}
