.wewl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wewl-button-gap, .4em);
  min-height: 2.4em;
  padding: var(--wewl-button-padding-y, .55em) var(--wewl-button-padding-x, .9em);
  border: var(--wewl-button-border-width, 1px) solid var(--wewl-button-inactive-border, currentColor);
  border-radius: var(--wewl-button-radius, 3px);
  background: var(--wewl-button-inactive-bg, transparent);
  color: var(--wewl-button-inactive-color, inherit);
  font: inherit;
  font-size: var(--wewl-button-font-size, 1em);
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
}

.wewl-button:hover,
.wewl-button:focus {
  border-color: var(--wewl-button-hover-border, var(--wewl-button-inactive-border, currentColor));
  background: var(--wewl-button-hover-bg, var(--wewl-button-inactive-bg, transparent));
  color: var(--wewl-button-hover-color, var(--wewl-button-inactive-color, inherit));
  text-decoration: none;
}

.wewl-button.is-active {
  border-color: var(--wewl-button-active-border, var(--wewl-button-inactive-border, currentColor));
  background: var(--wewl-button-active-bg, var(--wewl-button-inactive-bg, transparent));
  color: var(--wewl-button-active-color, var(--wewl-button-inactive-color, inherit));
}

.wewl-button.is-active:hover,
.wewl-button.is-active:focus {
  border-color: var(--wewl-button-hover-border, var(--wewl-button-active-border, currentColor));
  background: var(--wewl-button-hover-bg, var(--wewl-button-active-bg, transparent));
  color: var(--wewl-button-hover-color, var(--wewl-button-active-color, inherit));
}

.wewl-button.is-loading,
.wewl-remove.is-loading {
  opacity: .65;
  pointer-events: none;
}

.wewl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--wewl-button-icon-size, 1.12em);
  line-height: 1;
}

.wewl-label {
  line-height: 1.2;
}

.wewl-button--display-icon .wewl-label,
.wewl-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wewl-button--display-text .wewl-icon {
  display: none;
}

.wewl-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  min-height: 1.5em;
  padding: .1em .35em;
  border-radius: 999px;
  font-size: .85em;
  line-height: 1;
}

.wewl-single-product-button,
.wewl-loop-product-button {
  margin-top: .75em;
}

.wewl-elementor-button-wrap {
  display: block;
}

.wewl-wishlist {
  width: 100%;
}

.wewl-empty,
.wewl-wishlist-count {
  margin: 0 0 1rem;
}

.wewl-shared-notice {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 4px;
}

.wewl-share-box {
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 4px;
}

.wewl-share-title {
  margin: 0 0 .75rem;
  font-weight: 700;
}

.wewl-share-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}

.wewl-share-url {
  flex: 1 1 260px;
  min-width: 0;
  padding: .55em .65em;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 3px;
  font: inherit;
}

.wewl-copy-link,
.wewl-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35em;
  padding: .5em .75em;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.wewl-copy-link:hover,
.wewl-copy-link:focus,
.wewl-share-button:hover,
.wewl-share-button:focus {
  text-decoration: none;
}

.wewl-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.wewl-copy-feedback {
  font-size: .9em;
  opacity: .8;
}

.wewl-wishlist-items {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wewl-wishlist-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.wewl-item-thumb img {
  display: block;
  width: 96px;
  height: auto;
}

.wewl-item-title {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
}

.wewl-item-price,
.wewl-item-stock {
  margin-top: .35rem;
}

.wewl-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

.wewl-remove {
  display: inline-flex;
  align-items: center;
  min-height: 2.4em;
  padding: .55em .8em;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.wewl-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}

.wewl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2em;
  min-height: 2.2em;
  padding: .25em .55em;
  border: 1px solid currentColor;
  border-radius: 3px;
  text-decoration: none;
}

.wewl-pagination .current {
  font-weight: 700;
}

@media (max-width: 640px) {
  .wewl-wishlist-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .wewl-item-thumb img {
    width: 72px;
  }

  .wewl-item-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

.wewl-share-expiry {
  margin: -.25rem 0 .75rem;
  font-size: .9em;
  opacity: .75;
}

.wewl-share-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.wewl-share-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35em;
  padding: .5em .75em;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.wewl-share-control--danger {
  color: #b32d2e;
}

.wewl-share-control.is-loading {
  opacity: .65;
  pointer-events: none;
}

.wewl-share-box--disabled .wewl-share-controls {
  border-top: 0;
  padding-top: 0;
}

.wewl-share-disabled {
  margin: .25rem 0 .75rem;
}
