@charset "UTF-8";
.leat-modal .leat-auth-modal__form, .leat-modal .leat-auth-modal__success {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.leat-modal .leat-auth-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leat-modal .leat-auth-modal__field label {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin: 0;
}
.leat-modal .leat-auth-modal__field input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  background: #fff;
  color: #111;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.leat-modal .leat-auth-modal__field input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.leat-modal .leat-auth-modal__field input[readonly] {
  background: #f3f4f6;
  color: #6b7280;
  cursor: default;
}
.leat-modal .leat-auth-modal__field input[readonly]:focus {
  border-color: #d1d5db;
  box-shadow: none;
}
.leat-modal .leat-auth-modal__field [role=alert] {
  font-size: 12px;
  color: #ef4444;
}
.leat-modal .leat-auth-modal__note {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}
.leat-modal .leat-auth-modal__submit-error {
  font-size: 13px;
  color: #ef4444;
  padding: 10px 12px;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
}
.leat-modal .leat-auth-modal__flip-link, .leat-modal .leat-auth-modal__back-link, .leat-modal .leat-auth-modal__forgot {
  align-self: flex-start;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.leat-modal .leat-auth-modal__flip-link:hover, .leat-modal .leat-auth-modal__flip-link:focus-visible, .leat-modal .leat-auth-modal__back-link:hover, .leat-modal .leat-auth-modal__back-link:focus-visible, .leat-modal .leat-auth-modal__forgot:hover, .leat-modal .leat-auth-modal__forgot:focus-visible {
  opacity: 0.75;
}
.leat-modal .leat-auth-modal__countdown {
  font-size: 12px;
  color: #6b7280;
}
.leat-modal .leat-auth-modal__success {
  align-items: center;
  text-align: center;
  padding: 8px 0;
}
.leat-modal .leat-auth-modal__success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.leat-modal .leat-auth-modal__success-title {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0;
}
.leat-modal .leat-auth-modal__success-message {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.leat-modal .leat-auth-modal__field,
.leat-modal form > .leat-auth-modal__field {
  margin: 0;
}

.leat-modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.leat-modal .leat-auth-modal__submit.leat-block-components-button {
  width: 100%;
  margin-top: 4px;
}

.leat-block-components-button:not(.is-link) {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  height: auto;
  justify-content: center;
  text-align: center;
  position: relative;
  transition: box-shadow 0.1s linear;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.leat-block-components-button:not(.is-link):focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.leat-block-components-button:not(.is-link) .leat-block-components-button__text {
  display: block;
  text-wrap: balance;
  text-wrap: pretty;
}
.leat-block-components-button:not(.is-link) .leat-block-components-button__text > svg {
  fill: currentColor;
}
.leat-block-components-button:not(.is-link).text:not(.wp-block-button__link) {
  background: transparent;
  color: currentColor;
  padding: 0.5rem 1rem;
}
.leat-block-components-button:not(.is-link).text:not(.wp-block-button__link):hover {
  opacity: 0.9;
}
.leat-block-components-button:not(.is-link).outlined, .leat-block-components-button:not(.is-link).is-style-outline {
  background: transparent;
  color: currentColor;
}
.leat-block-components-button:not(.is-link).outlined:not(:focus), .leat-block-components-button:not(.is-link).is-style-outline:not(:focus) {
  box-shadow: inset 0 0 0 1px currentColor;
}
.leat-block-components-button:not(.is-link).outlined:hover, .leat-block-components-button:not(.is-link).is-style-outline:hover {
  opacity: 0.9;
}
.leat-block-components-button:not(.is-link).contained.wp-block-button__link:hover:not(:disabled) {
  opacity: 0.9;
}
.leat-block-components-button:not(.is-link).contained:not(.wp-block-button__link) {
  background-color: var(--leat-button-bg, #1e1e1e);
  color: var(--leat-button-text, #ffffff);
}
.leat-block-components-button:not(.is-link).contained:not(.wp-block-button__link):hover:not(:disabled) {
  opacity: 0.9;
}
.leat-block-components-button:not(.is-link):disabled {
  cursor: not-allowed;
}
.leat-block-components-button:not(.is-link):disabled .leat-block-components-button__text {
  opacity: 0.5;
}
.leat-block-components-button:not(.is-link).leat-button--pill {
  box-sizing: border-box;
  background: var(--leat-pill-bg, #000);
  color: var(--leat-pill-color, #fff);
  border: none;
  border-radius: 24px;
  padding: 14px 24px;
  min-height: 48px;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.28px;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.leat-block-components-button:not(.is-link).leat-button--pill:hover:not([disabled]) {
  background: var(--leat-pill-bg, #000);
  color: var(--leat-pill-color, #fff);
  opacity: 0.9;
}
.leat-block-components-button:not(.is-link).leat-button--pill[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.leat-block-components-button:not(.is-link).leat-button--pill-outline {
  box-sizing: border-box;
  background: transparent;
  color: var(--leat-pill-bg, #000);
  border: none;
  border-radius: 24px;
  padding: 14px 24px;
  min-height: 48px;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.28px;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.leat-block-components-button:not(.is-link).leat-button--pill-outline:not(:focus) {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.leat-block-components-button:not(.is-link).leat-button--pill-outline:hover:not([disabled]) {
  opacity: 0.9;
}
.leat-block-components-button:not(.is-link).leat-button--pill-outline[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.leat-block-components-button:not(.is-link).leat-button--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  gap: 0.375rem;
}
.leat-block-components-button:not(.is-link).leat-button--small.text {
  padding: 0.375rem 0.75rem;
}
.leat-block-components-button:not(.is-link).leat-button--claimed.is-display-only {
  color: var(--leat-success-color, #00a32a) !important;
  background: var(--leat-success-bg, #f0f6fc) !important;
  cursor: default;
}
.leat-block-components-button:not(.is-link).leat-button--claimed.is-display-only:hover {
  opacity: 1;
}
.leat-block-components-button:not(.is-link).leat-button--automatic.is-display-only {
  color: var(--leat-info-color, #757575) !important;
  background: var(--leat-info-bg, #f0f0f0) !important;
  cursor: default;
}
.leat-block-components-button:not(.is-link).leat-button--automatic.is-display-only:hover {
  opacity: 1;
}
.leat-block-components-button:not(.is-link).leat-button--location.is-display-only {
  color: var(--leat-location-color, #92400e) !important;
  background: var(--leat-location-bg, #fef3c7) !important;
  cursor: default;
}
.leat-block-components-button:not(.is-link).leat-button--location.is-display-only:hover {
  opacity: 1;
}

/**
 * Cart Integration - Shared Styles
 *
 * Styles for the shared post-action modal body (`CartResultBody`), rendered
 * inside the `.leat-redeem-modal` container from both the spend-rules-list
 * and coupons-list blocks. Moved here from spend-rules-list/style.scss so
 * both blocks get consistent styling without duplicating markup or CSS.
 */
.leat-redeem-modal__reward-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.leat-redeem-modal__reward-media {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.leat-redeem-modal__reward-media img,
.leat-redeem-modal__reward-media svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.leat-redeem-modal__reward-title {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: #000;
  word-break: break-word;
}
.leat-redeem-modal__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 16px 24px;
  background: #f5f5f5;
  border-radius: 8px;
}
.leat-redeem-modal__code-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.leat-redeem-modal__code-label {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #000;
}
.leat-redeem-modal__code-value {
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 18px;
  color: #000;
  background: transparent;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.leat-redeem-modal__copy-button.leat-block-components-button {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
}
.leat-redeem-modal__success {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
}
.leat-redeem-modal__notice {
  margin: 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #7a4f01;
  background: #fdf6e7;
  border: 1px solid #f2d9a0;
  border-radius: 8px;
}
.leat-redeem-modal__cta.leat-block-components-button {
  width: 100%;
}
.leat-redeem-modal__cart-actions {
  display: flex;
  gap: 12px;
}
.leat-redeem-modal__cart-actions .leat-block-components-button {
  flex: 1 1 0;
  justify-content: center;
  text-align: center;
}

/**
 * Product Choice Picker - Styles
 *
 * Rendered inside the `.leat-redeem-modal` (and equivalent checkout modal)
 * containers, so it borrows the same visual language as the rest of the
 * redeem modal (rounded 8px surfaces, #f5f5f5 neutral background).
 */
.leat-product-choice-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.leat-product-choice-picker__heading {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
}
.leat-product-choice-picker__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leat-product-choice-picker__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}
.leat-product-choice-picker__option:has(input:checked) {
  border-color: #000;
  background: #fff;
}
.leat-product-choice-picker__option:has(input:focus-visible) {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.leat-product-choice-picker__input {
  flex: 0 0 auto;
  margin: 0;
}
.leat-product-choice-picker__media {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.leat-product-choice-picker__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.leat-product-choice-picker__name {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
  word-break: break-word;
}

/**
 * CouponCode Component Styles
 */
.leat-coupon-code {
  display: flex;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  border: 1px dashed var(--leat-code-border, #ddd);
  pointer-events: auto;
}
.leat-coupon-code .leat-coupon-code__code-section {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  background-color: var(--leat-code-bg, #f5f5f5);
  border-right: 1px dashed var(--leat-code-border, #ddd);
}
.leat-coupon-code .leat-coupon-code__value {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  font-family: monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--leat-code-value-text, #333);
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}
.leat-coupon-code .leat-block-components-button {
  flex: 0 0 auto;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  font-size: 0.75rem;
  white-space: nowrap;
}

.leat-coupon-code--apply-mode .leat-coupon-code__split-button {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}
.leat-coupon-code--apply-mode .leat-coupon-code__split-button .leat-coupon-code__applied-button {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  cursor: not-allowed;
  opacity: 1;
}
.leat-coupon-code--apply-mode .leat-coupon-code__split-button .leat-coupon-code__applied-button svg {
  width: 16px;
  height: 16px;
}
.leat-coupon-code--apply-mode .leat-coupon-code__split-button .leat-coupon-code__remove-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--leat-color-primary, var(--wp--preset--color--contrast, #007cba));
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  width: 30px;
  padding: 0;
  transition: background-color 0.2s;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin: 0;
}
.leat-coupon-code--apply-mode .leat-coupon-code__split-button .leat-coupon-code__remove-button:hover:not(:disabled) {
  background-color: var(--leat-color-primary-dark, #0069a8);
}
.leat-coupon-code--apply-mode .leat-coupon-code__split-button .leat-coupon-code__remove-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.leat-coupon-code--apply-mode .leat-coupon-code__split-button .leat-coupon-code__remove-button svg {
  width: 14px;
  height: 14px;
}

.leat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/**
 * RewardGiftcard Component Styles
 */
.leat-reward-giftcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.leat-reward-giftcard p {
  margin: 0;
}
.leat-reward-giftcard .leat-reward-giftcard__kind {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}
.leat-reward-giftcard .leat-reward-giftcard__title {
  font-weight: 600;
}
.leat-reward-giftcard .leat-reward-giftcard__amount {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.leat-reward-giftcard .leat-reward-giftcard__hint,
.leat-reward-giftcard .leat-reward-giftcard__expiry {
  font-size: 0.875rem;
  opacity: 0.8;
}

/**
 * Modal Component Styles
 */
.leat-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 16px;
  animation: leat-modal-fade-in 0.15s ease-out;
}

.leat-modal {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: leat-modal-pop-in 0.18s ease-out;
}
.leat-modal:focus {
  outline: none;
}

.leat-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.leat-modal__title {
  margin: 0;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.48px;
  color: #000;
  word-break: break-word;
}

.leat-modal__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -6px -6px -6px 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: #000;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.leat-modal__close:hover, .leat-modal__close:focus-visible {
  background: rgba(0, 0, 0, 0.06);
}
.leat-modal__close:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.leat-modal__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@keyframes leat-modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes leat-modal-pop-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/**
 * Item Component Styles
 *
 * Flexible card component for rule lists and similar layouts.
 * Based on earn-rules-list card design with enhanced flexibility.
 */
.leat-item {
  background: var(--leat-card-background, #fff);
  border: 1px solid var(--leat-card-border, #ddd);
  border-radius: 8px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 0 transparent;
  transition: all 0.15s ease-out;
}
.leat-item:not(.leat-item--disabled):hover {
  border-color: var(--leat-card-border-hover, #949494);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.leat-item--disabled {
  pointer-events: none;
}
.leat-item--disabled:hover {
  transform: none;
  box-shadow: none;
}
.leat-item--compact {
  min-height: 220px;
}
.leat-item--compact .leat-item__content {
  padding: 16px 16px 12px;
}
.leat-item--compact .leat-item__media {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.leat-item--compact .leat-item__label {
  font-size: 13px;
  min-height: 32px;
}
.leat-item--compact .leat-item__meta {
  font-size: 16px;
}
.leat-item--compact .leat-item__actions {
  padding: 10px 12px;
  min-height: 48px;
}

.leat-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 16px;
  text-align: center;
}

.leat-item__media {
  width: 48px;
  height: 48px;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leat-icon-color, #1e1e1e);
}
.leat-item__media svg {
  width: 100%;
  height: 100%;
}
.leat-item__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.leat-item__label {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px 0;
  color: var(--leat-text-primary, #1e1e1e);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-leat-earn-rules-list .leat-item__label, .wp-block-leat-spend-rules-list .leat-item__label {
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  text-transform: inherit;
  text-decoration: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0 0 8px 0;
  color: var(--leat-text-primary, #1e1e1e);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leat-item__meta {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  margin: 4px 0 0 0;
}
.leat-item__meta--default {
  color: var(--leat-primary-color, #2271b1);
}
.leat-item__meta--credits {
  color: var(--leat-primary-color, #2271b1);
}
.leat-item__meta--cost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--leat-success-color, #059669);
  background: var(--leat-success-bg, #d1fae5);
  border-radius: 0.25rem;
}
.leat-item__meta--coupon-code {
  margin-top: 12px;
  pointer-events: auto;
}

.leat-item__description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--leat-text-secondary, #666);
  margin: 8px 0 0 0;
  text-align: center;
}
.wp-block-leat-earn-rules-list .leat-item__description, .wp-block-leat-spend-rules-list .leat-item__description {
  font-family: inherit;
  font-style: inherit;
  text-transform: inherit;
  text-decoration: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  font-size: 0.875em;
  color: var(--leat-text-secondary, #666);
  margin: 8px 0 0 0;
  text-align: center;
}

.leat-item__actions {
  border-top: 1px solid var(--leat-card-border, #ddd);
  padding: 12px 16px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  background: var(--leat-card-footer-bg, #f9f9f9);
  border-radius: 0 0 8px 8px;
}
.leat-item__actions .leat-button,
.leat-item__actions .leat-block-components-button {
  min-width: 140px;
  width: auto;
  min-height: 36px;
}
.leat-item__actions .leat-button.is-display-only,
.leat-item__actions .leat-block-components-button.is-display-only {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  pointer-events: none;
}
.leat-item__actions .leat-button.is-display-only svg,
.leat-item__actions .leat-block-components-button.is-display-only svg {
  flex-shrink: 0;
}
.leat-item__actions .leat-button.leat-button--claimed,
.leat-item__actions .leat-block-components-button.leat-button--claimed {
  color: var(--leat-success-color, #00a32a);
  background: var(--leat-success-bg, #f0f6fc);
}
.leat-item__actions .leat-button.leat-button--claimed:hover,
.leat-item__actions .leat-block-components-button.leat-button--claimed:hover {
  opacity: 1;
}
.leat-item__actions .leat-button.leat-button--automatic,
.leat-item__actions .leat-block-components-button.leat-button--automatic {
  color: var(--leat-info-color, #757575);
  background: var(--leat-info-bg, #f0f0f0);
}
.leat-item__actions .leat-button.leat-button--automatic:hover,
.leat-item__actions .leat-block-components-button.leat-button--automatic:hover {
  opacity: 1;
}

.leat-item__error {
  color: var(--leat-error-color, #cc1818);
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
}

.leat-item__success {
  color: var(--leat-success-color, #00a32a);
  background: var(--leat-success-bg, #f0f6fc);
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  text-align: center;
  border-radius: 4px;
  font-weight: 500;
}

.leat-item__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 9999px;
  z-index: 1;
  color: var(--leat-badge-text, #fff);
  background: var(--leat-badge-background, #2271b1);
  transition: all 0.15s ease-out;
}

.leat-item__insufficient {
  font-size: 0.75rem;
  color: var(--leat-error-color, #dc2626);
  text-align: center;
  margin-top: 0.25rem;
}

.leat-item--skeleton {
  pointer-events: none;
}
.leat-item--skeleton .leat-block-components-skeleton__element {
  animation: leat-item-skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes leat-item-skeleton-loading {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@media (max-width: 768px) {
  .leat-item {
    min-height: auto;
  }
  .leat-item--compact {
    min-height: auto;
  }
}
/**
 * Skeleton Component Styles
 */
/**
 * Shared SCSS Mixins
 *
 * Common mixins used across Leat frontend blocks
 */
/**
 * Skeleton animation mixin
 *
 * Creates an animated shimmer effect for loading states
 */
/**
 * Skeleton animation fade mixin
 *
 * Adds smooth transitions for skeleton appearance/disappearance
 */
/**
 * Skeleton shimmer animation
 */
@keyframes leat-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}
.leat-block-components-skeleton {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.leat-block-components-skeleton__element {
  background: color-mix(in srgb, currentColor 5%, transparent);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  border: none;
}
.leat-block-components-skeleton__element::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  /* stylelint-disable declaration-colon-newline-after, function-parentheses-space-inside, function-comma-space-after */
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, currentColor 5%, transparent) 50%, transparent 100%);
  /* stylelint-enable */
  animation: leat-skeleton-shimmer 1.25s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .leat-block-components-skeleton__element::after {
    animation: none;
  }
}
.leat-block-components-skeleton__element--static::after {
  display: none;
}
.leat-block-components-skeleton__element {
  transition: background-color 0.2s ease;
}
.leat-block-components-skeleton__element::after {
  transition: background-color 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .leat-block-components-skeleton__element {
    transition: background-color 0.2s ease;
  }
  .leat-block-components-skeleton__element::after {
    transition: background-color 0.2s ease;
  }
}

/**
 * Product Points Display Block Styles
 * Matches the original ProductPointsDisplay styling
 */
.wp-block-leat-product-points,
.leat-product-points {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.wp-block-leat-product-points__content,
.leat-product-points__content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wp-block-leat-product-points__icon,
.leat-product-points__icon {
  flex-shrink: 0;
  color: #ff6900;
}
.wp-block-leat-product-points__text,
.leat-product-points__text {
  margin: 0;
  color: inherit;
}
.wp-block-leat-product-points__text strong,
.leat-product-points__text strong {
  font-weight: 600;
}
.wp-block-leat-product-points__join-link,
.leat-product-points__join-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}
.wp-block-leat-product-points__join-link:hover, .wp-block-leat-product-points__join-link:focus,
.leat-product-points__join-link:hover,
.leat-product-points__join-link:focus {
  opacity: 0.8;
  text-decoration: underline;
}
.wp-block-leat-product-points__preview-note,
.leat-product-points__preview-note {
  margin: 0.5em 0 0;
  font-size: 0.85em;
  color: inherit;
  opacity: 0.7;
  font-style: italic;
}
.wp-block-leat-product-points.has-text-color .leat-product-points__icon,
.leat-product-points.has-text-color .leat-product-points__icon {
  color: currentColor;
}
.wp-block-leat-product-points.has-link-color .leat-product-points__join-link,
.leat-product-points.has-link-color .leat-product-points__join-link {
  color: var(--wp--style--elements--link--color, inherit);
}
.wp-block-leat-product-points__join-button,
.leat-product-points__join-button {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.375rem 0.75rem;
  background-color: #ff6900;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
  flex-shrink: 0;
}
.wp-block-leat-product-points__join-button:hover:not(:disabled),
.leat-product-points__join-button:hover:not(:disabled) {
  background-color: #e55f00;
}
.wp-block-leat-product-points__join-button:disabled,
.leat-product-points__join-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wp-block-leat-product-points__error,
.leat-product-points__error {
  display: block;
  margin-top: 0.5rem;
  color: #d32f2f;
  font-size: 13px;
  font-weight: 600;
}

.woocommerce ul.products li.product .wp-block-leat-product-points,
.woocommerce ul.products li.product .leat-product-points {
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.75rem;
  font-size: 13px;
}

@media (max-width: 768px) {
  .wp-block-leat-product-points,
  .leat-product-points {
    padding: 0.625rem 0.875rem;
    font-size: 13px;
  }
}
.block-editor-block-list__block .leat-product-points,
.block-editor-block-list__block .wp-block-leat-product-points {
  border: 1px dashed #c3c4c7;
}
.block-editor-block-list__block .leat-product-points__preview-note,
.block-editor-block-list__block .wp-block-leat-product-points__preview-note {
  color: #949494;
  border-top: 1px dashed #ddd;
  padding-top: 0.5em;
  margin-top: 0.75em;
}

/**
 * Join Program Button Block Styles
 *
 * Minimal styles - most styling comes from WordPress core button styles.
 * This file only contains custom functionality styles (loading state, etc.)
 */
.wp-block-button button[data-leat-join-button]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wp-block-button button[data-leat-join-button].is-loading {
  position: relative;
  color: transparent;
}
.wp-block-button button[data-leat-join-button].is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: leat-spin 0.6s linear infinite;
}

@keyframes leat-spin {
  to {
    transform: rotate(360deg);
  }
}
.leat-modal .leat-enrollment-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.leat-modal .leat-enrollment-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leat-modal .leat-enrollment-modal__label {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}
.leat-modal .leat-enrollment-modal__input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  background: #fff;
  color: #111;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.leat-modal .leat-enrollment-modal__input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.leat-modal .leat-enrollment-modal__input--readonly {
  background: #f3f4f6;
  color: #6b7280;
  cursor: default;
}
.leat-modal .leat-enrollment-modal__input--readonly:focus {
  border-color: #d1d5db;
  box-shadow: none;
}
.leat-modal .leat-enrollment-modal__input--error {
  border-color: #ef4444;
}
.leat-modal .leat-enrollment-modal__input--error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.leat-modal .leat-enrollment-modal__field-error {
  font-size: 12px;
  color: #ef4444;
}
.leat-modal .leat-enrollment-modal__note {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  text-align: center;
}
.leat-modal .leat-enrollment-modal__submit-error {
  font-size: 13px;
  color: #ef4444;
  padding: 10px 12px;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
}
.leat-modal .leat-enrollment-modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 8px 0;
}
.leat-modal .leat-enrollment-modal__success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.leat-modal .leat-enrollment-modal__success-title {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0;
}
.leat-modal .leat-enrollment-modal__success-message {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/**
 * Add to Wallet Button Block Styles
 *
 * Button styling is inherited from WordPress core button styles.
 * These rules only cover the default "link" variant.
 */
.leat-add-to-wallet-button--link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: from-font;
  cursor: pointer;
}
.leat-add-to-wallet-button--link:hover, .leat-add-to-wallet-button--link:focus {
  color: #000;
}

/**
 * Loyalty Heading Block Styles
 *
 * Minimal styles - most styling comes from WordPress core heading styles.
 */
.wp-block-leat-loyalty-heading {
  min-height: 1em;
}
.wp-block-leat-loyalty-heading span {
  font-size: inherit;
  line-height: inherit;
}
.wp-block-leat-loyalty-heading .leat-block-components-skeleton__element {
  display: block;
}
.wp-block-leat-loyalty-heading .leat-credits {
  font-weight: inherit;
  color: inherit;
}

/**
 * Variable Autocomplete Styles
 */
.leat-variable-autocomplete {
  z-index: 1000000;
}
.leat-variable-autocomplete .components-popover__content {
  min-width: 280px;
  padding: 4px;
}

.leat-variable-autocomplete__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.leat-variable-autocomplete__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  text-align: left;
  transition: background-color 0.1s ease;
}
.leat-variable-autocomplete__item:hover, .leat-variable-autocomplete__item.is-selected {
  background-color: #f0f7ff;
}
.leat-variable-autocomplete__item:active {
  background-color: #e3f2ff;
}

.leat-variable-autocomplete__item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 2px;
}

.leat-variable-autocomplete__item-icon {
  font-size: 14px;
  line-height: 1;
}

.leat-variable-autocomplete__item-value {
  font-size: 13px;
  font-weight: 500;
  color: #1e1e1e;
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
}

.leat-variable-autocomplete__item-description {
  font-size: 12px;
  color: #757575;
  margin-left: 22px;
}

.leat-variable-autocomplete__empty {
  padding: 12px;
  color: #757575;
  font-size: 13px;
  text-align: center;
}

/**
 * Variable Badge Styles
 *
 * Used both in the editor (overlay) and on the frontend
 */
.leat-variable-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background-color: #f0f7ff;
  border: 1px solid #b8daff;
  border-radius: 4px;
  transition: all 0.15s ease;
  font-size: inherit;
  line-height: inherit;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  vertical-align: baseline;
  font-weight: 600;
  color: #0073aa;
}
.leat-variable-badge:hover {
  background-color: #e3f2ff;
  border-color: #9fc5f8;
  box-shadow: 0 1px 3px rgba(0, 100, 200, 0.1);
}

.leat-variable-badge__icon {
  font-size: 0.85em;
  line-height: 1;
  opacity: 0.8;
}

.leat-variable-badge__value {
  font-size: inherit;
  line-height: 1;
  white-space: nowrap;
}

h1 .leat-variable-badge,
h2 .leat-variable-badge,
h3 .leat-variable-badge,
h4 .leat-variable-badge,
h5 .leat-variable-badge,
h6 .leat-variable-badge {
  vertical-align: middle;
}

/**
 * Variable RichText Styles
 *
 * No special styling needed - it's just a plain RichText now
 */
/**
 * Variable Format Styles
 *
 * CSS-only approach to style {{variable}} patterns as badges.
 * Unfortunately, CSS cannot detect text patterns, so we need a JavaScript solution instead.
 * This file is a placeholder for the proper implementation.
 */
/**
 * Loyalty Paragraph Block Styles
 *
 * Minimal styles - most styling comes from WordPress core paragraph styles.
 */
.wp-block-leat-loyalty-paragraph {
  min-height: 1em;
  margin-bottom: 1em;
}
.wp-block-leat-loyalty-paragraph:last-child {
  margin-bottom: 0;
}
.wp-block-leat-loyalty-paragraph .leat-block-components-skeleton__element {
  display: block;
}
.wp-block-leat-loyalty-paragraph .leat-credits {
  font-weight: inherit;
  color: inherit;
}

/**
 * Earn Rules List Block - Editor Styles
 *
 * Minimal editor-only adjustments. Layout is owned by style.scss
 * and shared with the frontend so the editor preview matches.
 */
.editor-styles-wrapper .leat-earn-rules-list {
  margin: 1rem 0;
}
.editor-styles-wrapper .leat-earn-rules-list__grid {
  max-width: 100%;
}
.editor-styles-wrapper .leat-earn-rules-list__grid .leat-item__actions button[disabled] {
  cursor: not-allowed;
}

/**
 * Earn Rules List Block - Styles
 * Applied to both editor and frontend.
 *
 * Layout (per Figma):
 *   ┌──────────────────────────────────────────────────────────┐
 *   │  [icon]   Add a review                       ADD A REVIEW│
 *   │           100 points                                     │
 *   └──────────────────────────────────────────────────────────┘
 */
.leat-earn-rules-list {
  width: 100%;
}

.leat-earn-rules-list__grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .leat-earn-rules-list__grid {
    grid-template-columns: 1fr !important;
  }
}

.leat-earn-rules-list__grid .leat-item {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 20px 24px;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: none;
}
.leat-earn-rules-list__grid .leat-item [data-slot=item-media] {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leat-icon-color, #000);
}
.leat-earn-rules-list__grid .leat-item [data-slot=item-media] > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leat-earn-rules-list__grid .leat-item [data-slot=item-media] svg {
  width: 100%;
  height: 100%;
  display: block;
}
.leat-earn-rules-list__grid .leat-item [data-slot=item-media] svg.leat-earn-rule-icon {
  fill: currentColor;
}
.leat-earn-rules-list__grid .leat-item [data-slot=item-media] img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.leat-earn-rules-list__grid .leat-item [data-slot=item-content] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 2px;
}
.leat-earn-rules-list__grid .leat-item .leat-item__label {
  margin: 0;
  min-height: 0;
  display: block;
  text-align: left;
  font-weight: 400;
  text-transform: none;
  font-size: 14px;
  line-height: 1.2;
  color: #000;
}
.leat-earn-rules-list__grid .leat-item .leat-item__meta {
  margin: 0;
  padding: 0;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  display: block;
}
.leat-earn-rules-list__grid .leat-item [data-slot=item-actions] {
  flex: 0 0 auto;
  flex-direction: row;
  border-top: none;
  background: transparent;
  padding: 0;
  min-height: 0;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.leat-earn-rules-list__grid .leat-item__actions .leat-block-components-button {
  background: transparent;
  border: none;
  color: #000;
  padding: 0;
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  font-weight: 400;
  font-size: 12px;
  line-height: 21px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: from-font;
  white-space: nowrap;
  box-shadow: none;
}
.leat-earn-rules-list__grid .leat-item__actions .leat-block-components-button:hover:not([disabled]) {
  background: transparent;
  color: #000;
}
.leat-earn-rules-list__grid .leat-item__actions .leat-block-components-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  background: transparent;
}
.leat-earn-rules-list__grid .leat-item__actions .leat-block-components-button.leat-button--claimed {
  background-color: #ededed !important;
  color: #000 !important;
  text-decoration: none !important;
  padding: 6px 9px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16.8px;
}
.leat-earn-rules-list__grid .leat-item__actions .leat-block-components-button.leat-button--claimed svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.leat-earn-rules-list__grid .leat-item__actions .leat-block-components-button.leat-button--claimed:hover {
  background-color: #ededed !important;
  text-decoration: none !important;
}

.leat-earn-rules-list__loading,
.leat-earn-rules-list__error,
.leat-earn-rules-list__empty-state {
  padding: 2rem;
  text-align: center;
  color: #6b7280;
}
.leat-earn-rules-list__loading p,
.leat-earn-rules-list__error p,
.leat-earn-rules-list__empty-state p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.leat-earn-rules-list__error {
  color: #dc2626;
}

.leat-earn-rules-list__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

/**
 * Spend Rules List Block - Editor Styles
 *
 * Additional styles specific to the block editor.
 */
.editor-styles-wrapper .leat-spend-rules-list {
  margin: 1rem 0;
}
.editor-styles-wrapper .leat-spend-rules-list__grid {
  max-width: 100%;
}
.editor-styles-wrapper .leat-spend-rules-list__grid .leat-item__actions button[disabled] {
  cursor: not-allowed;
}
.editor-styles-wrapper .leat-spend-rules-list__empty-state {
  border: 1px dashed #cbd5e0;
  border-radius: 8px;
  background: #f9fafb;
}
.editor-styles-wrapper .leat-spend-rules-list__empty-state .components-notice {
  margin: 0 !important;
  box-shadow: none !important;
}

/**
 * Spend Rules List Block - Styles
 * Applied to both editor and frontend
 *
 * Layout (per Figma):
 *   ┌───────────────────────────┐
 *   │   image (rounded, tall)   │
 *   │                           │
 *   │ TITLE (bold, uppercase)   │
 *   │ 200 points                │
 *   │                           │
 *   │ ┌─ Redeem reward ──────┐  │  <- enough points
 *   │ └──────────────────────┘  │
 *   │     OR                    │
 *   │ Earn 182 more …      9%   │  <- not enough points
 *   │ ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔   │
 *   └───────────────────────────┘
 */
.leat-spend-rules-list {
  width: 100%;
}

.leat-spend-rules-list__grid {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
@media (max-width: 1100px) {
  .leat-spend-rules-list__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .leat-spend-rules-list__grid {
    grid-template-columns: 1fr !important;
  }
}

.leat-spend-rules-list__grid .leat-item {
  --leat-image-aspect-ratio: 1 / 1;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 24px;
  gap: 24px;
  min-height: 0;
  box-shadow: none;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.leat-spend-rules-list__grid .leat-item:not(.leat-item--disabled):hover {
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.leat-spend-rules-list__grid .leat-item [data-slot=item-media] {
  width: 100%;
  height: auto;
  aspect-ratio: var(--leat-image-aspect-ratio, 1/1);
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  display: block;
}
.leat-spend-rules-list__grid .leat-item [data-slot=item-media] img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px;
  box-shadow: none;
}
.leat-spend-rules-list__grid .leat-item [data-slot=item-media] svg {
  width: 100%;
  height: 100%;
}
.leat-spend-rules-list__grid .leat-item [data-slot=item-content] {
  flex: 0 0 auto;
  padding: 0;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
}
.leat-spend-rules-list__grid .leat-item .leat-item__label {
  margin: 0;
  min-height: 0;
  display: block;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1.1;
  color: #000;
}
.leat-spend-rules-list__grid .leat-item .leat-item__description {
  margin: 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  color: var(--leat-text-secondary, #666);
}
.leat-spend-rules-list__grid .leat-item .leat-spend-rule-card__cost {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #000;
}
.leat-spend-rules-list__grid .leat-item [data-slot=item-actions] {
  border-top: none;
  background: transparent;
  padding: 0;
  min-height: 0;
  width: 100%;
  align-items: stretch;
}

.leat-spend-rule-card__redeem-button.leat-block-components-button {
  width: 100%;
}

.leat-spend-rule-card__progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.leat-spend-rule-card__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.leat-spend-rule-card__progress-label {
  font-size: 12px;
  line-height: 1.4;
  color: #000;
}

.leat-spend-rule-card__progress-percentage {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: #000;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.leat-spend-rule-card__progress-bar {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #ededed;
  border-radius: 10px;
  overflow: hidden;
}

.leat-spend-rule-card__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #000;
  border-radius: 10px;
  transition: width 0.3s ease-out;
}

.leat-spend-rules-list__loading,
.leat-spend-rules-list__error,
.leat-spend-rules-list__empty {
  padding: 2rem;
  text-align: center;
  color: #6b7280;
}

.leat-spend-rules-list__error {
  color: #dc2626;
}

.leat-spend-rules-list__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  min-height: 300px;
  text-align: center;
}
.leat-spend-rules-list__empty-state p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #374151;
  max-width: 500px;
  line-height: 1.6;
}
.leat-spend-rules-list__empty-state .leat-block-components-button {
  min-width: 160px;
}

.leat-redeem-modal__preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}
.leat-redeem-modal__preview-media {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 7.273px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leat-redeem-modal__preview-media img,
.leat-redeem-modal__preview-media svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.leat-redeem-modal__preview-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.leat-redeem-modal__preview-title {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 16.8px;
  color: #000;
  word-break: break-word;
}
.leat-redeem-modal__preview-cost {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 18px;
  color: #000;
}
.leat-redeem-modal__terms {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.leat-redeem-modal__terms-label {
  margin: 0;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  color: #000;
}
.leat-redeem-modal__terms-body {
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: #000;
}
.leat-redeem-modal__error {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #dc2626;
}

/**
 * Coupons List Block - Editor Styles
 *
 * Minimal editor-only adjustments. Layout is owned by style.scss
 * and shared with the frontend so the editor preview matches.
 */
.editor-styles-wrapper .leat-coupons-list {
  margin: 1rem 0;
}
.editor-styles-wrapper .leat-coupons-list__grid {
  max-width: 100%;
}
.editor-styles-wrapper .leat-coupons-list__grid .leat-coupon-card__copy-button[disabled],
.editor-styles-wrapper .leat-coupons-list__grid .leat-coupon-card__terms-link[disabled] {
  cursor: not-allowed;
}

/**
 * Coupons List Block - Styles
 * Applied to both editor and frontend.
 *
 * Layout (per Figma):
 *   ┌──────────────────────────────────────────────────────────┐
 *   │  [icon]   Title                          Voucher terms   │
 *   │  ┌──────────────────────────────────────────────────┐   │
 *   │  │ Discount code                       [ Copy code ]│   │
 *   │  │ ASDFGHJ                                          │   │
 *   │  └──────────────────────────────────────────────────┘   │
 *   └──────────────────────────────────────────────────────────┘
 */
.leat-coupons-list {
  width: 100%;
}

.leat-coupons-list__grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .leat-coupons-list__grid {
    grid-template-columns: 1fr !important;
  }
}

.leat-coupons-list__grid .leat-item {
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  min-height: 0;
  transition: box-shadow 0.15s ease-out;
}
.leat-coupons-list__grid .leat-item:not(.leat-item--disabled):hover {
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.leat-coupons-list__grid .leat-item [data-slot=item-content] {
  width: 100%;
  padding: 0;
  gap: 20px;
  align-items: stretch;
  text-align: left;
}

.leat-coupon-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.leat-coupon-card__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
}
.leat-coupon-card__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.leat-coupon-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.leat-coupon-card__icon--placeholder {
  background: rgba(0, 0, 0, 0.04);
}

.leat-coupon-card__title-row {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.leat-coupon-card__title {
  margin: 0;
  min-height: 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 16.8px;
  color: #000;
  text-transform: none;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leat-coupon-card__terms-link {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 21px;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: from-font;
  cursor: pointer;
  white-space: nowrap;
}
.leat-coupon-card__terms-link:hover:not([disabled]) {
  color: #000;
  opacity: 0.7;
}
.leat-coupon-card__terms-link[disabled] {
  cursor: default;
}

.leat-coupon-terms-modal__body {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  word-break: break-word;
}

.leat-coupon-card__discount-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 16px 16px 24px;
  background: #f5f5f5;
  border-radius: 8px;
}

.leat-coupon-card__discount-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.leat-coupon-card__discount-label {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #000;
}

.leat-coupon-card__discount-code {
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: #000;
  background: transparent;
  padding: 0;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leat-coupon-card__discount-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.leat-coupons-list__grid .leat-coupon-card__copy-button.leat-block-components-button,
.leat-coupons-list__grid .leat-coupon-card__add-to-cart-button.leat-block-components-button {
  flex: 0 0 auto;
}

.leat-coupons-list__loading,
.leat-coupons-list__error,
.leat-coupons-list__empty,
.leat-coupons-list__empty-state {
  padding: 2rem;
  text-align: center;
  color: #6b7280;
}
.leat-coupons-list__loading p,
.leat-coupons-list__error p,
.leat-coupons-list__empty p,
.leat-coupons-list__empty-state p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.leat-coupons-list__error {
  color: #dc2626;
}

.leat-coupons-list__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.leat-coupon-card__giftcard-balance {
  margin: 0.5rem 0 0;
  font-weight: 700;
}

.leat-coupon-card__giftcard-hint {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

/**
 * Gift Card Balance Block - Styles
 * Applied to both editor and frontend.
 *
 * One row on the shared .leat-item card with the earn-rules row metrics, so
 * it lines up with those rows on a loyalty dashboard:
 *   ┌──────────────────────────────────────────────────────────────┐
 *   │  [icon]  Gift card balance        ┌ ─ ─ ─ ─ ─ ─ ┬──────────┐ │
 *   │          €25.00                   │ ABC123XYZ   │  Check   │ │
 *   │          Valid until …            └ ─ ─ ─ ─ ─ ─ ┴──────────┘ │
 *   └──────────────────────────────────────────────────────────────┘
 * The code entry reuses the .leat-coupon-code pill.
 */
.wp-block-leat-giftcard-balance {
  width: 100%;
}

.leat-giftcard-balance__card.leat-item {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  min-height: 84px;
  padding: 20px 24px;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  transition: box-shadow 0.15s ease-out;
}
.leat-giftcard-balance__card.leat-item:hover {
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.leat-giftcard-balance__card.leat-item [data-slot=item-media] {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0 -8px 0 0;
  color: var(--leat-icon-color, #000);
}
.leat-giftcard-balance__card.leat-item [data-slot=item-media] svg {
  display: block;
  width: 100%;
  height: 100%;
}
.leat-giftcard-balance__card.leat-item [data-slot=item-content] {
  flex: 1 1 140px;
  min-width: 0;
  padding: 0;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 2px;
}
.leat-giftcard-balance__card.leat-item .leat-item__label {
  margin: 0;
  min-height: 0;
  display: block;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #000;
  text-transform: none;
  text-align: left;
}

.leat-giftcard-balance__summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.leat-giftcard-balance__summary .leat-item__meta {
  margin: 0;
  padding: 0;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  font-variant-numeric: tabular-nums;
}
.leat-giftcard-balance__summary .leat-item__description {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  color: var(--leat-text-secondary, #666);
}
.leat-giftcard-balance__summary .leat-giftcard-balance__status {
  color: #000;
}

.leat-giftcard-balance__form {
  flex: 1 1 260px;
  max-width: 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.leat-giftcard-balance__form .leat-item__error {
  margin: 0 0 0 14px;
  text-align: left;
}
@media (max-width: 640px) {
  .leat-giftcard-balance__form {
    flex-basis: 100%;
    max-width: none;
  }
}

.leat-giftcard-balance__entry {
  width: 100%;
}
.leat-giftcard-balance__entry .leat-coupon-code__code-section {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}
.leat-giftcard-balance__entry .leat-giftcard-balance__input {
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0.875rem;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  line-height: 1.6;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}
.leat-giftcard-balance__entry .leat-giftcard-balance__input:-moz-placeholder {
  font-family: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}
.leat-giftcard-balance__entry .leat-giftcard-balance__input:placeholder-shown {
  font-family: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}
.leat-giftcard-balance__entry .leat-giftcard-balance__input::-moz-placeholder {
  color: var(--leat-text-secondary, #666);
  opacity: 1;
}
.leat-giftcard-balance__entry .leat-giftcard-balance__input::placeholder {
  color: var(--leat-text-secondary, #666);
  opacity: 1;
}
.leat-giftcard-balance__entry:focus-within {
  border-style: solid;
  border-color: currentColor;
}
.leat-giftcard-balance__entry.leat-coupon-code .leat-block-components-button {
  font-size: 0.75rem;
  white-space: nowrap;
  padding-inline: 1.125rem;
}
.leat-giftcard-balance__entry .leat-block-components-button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.leat-giftcard-balance__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/**
 * Referral Rewards Block - Editor Styles
 *
 * Editor-specific tweaks layered on top of the shared frontend styles.
 */
.editor-styles-wrapper .leat-referral-rewards__share-toggle[disabled], .editor-styles-wrapper .leat-referral-rewards__pill[disabled] {
  cursor: default;
}

/**
 * Social Share Components Styles
 */
.leat-social-share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: white;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}
.leat-social-share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}
.leat-social-share-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.leat-social-share-button svg {
  width: 20px;
  height: 20px;
}
.leat-social-share-button--whatsapp:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}
.leat-social-share-button--facebook:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}
.leat-social-share-button--x:hover {
  background: #000000;
  color: white;
  border-color: #000000;
}
.leat-social-share-button--email:hover {
  background: #ea4335;
  color: white;
  border-color: #ea4335;
}
.leat-social-share-button--linkedin:hover {
  background: #0a66c2;
  color: white;
  border-color: #0a66c2;
}
.leat-social-share-button--pinterest:hover {
  background: #e60023;
  color: white;
  border-color: #e60023;
}

.leat-social-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
@media (min-width: 480px) {
  .leat-social-share-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/**
 * Referral Rewards Block - Styles
 *
 * Layout (per Figma):
 *   ┌──────────────────────────────────────────────────────────────┐
 *   │  [★]  Your friend gets 75 points     [◆]  You get 25% off    │
 *   │       Complete your first purchase        Receive 25% off    │
 *   │       to receive 75 points                when friends buy   │
 *   ├──────────────────────────────────────────────────────────────┤
 *   │  ┌────────────────────────────────────────────────────────┐  │
 *   │  │  Your referral link                                     │  │
 *   │  │  https://...                       [Share with friends] │  │
 *   │  └────────────────────────────────────────────────────────┘  │
 *   │   (expands inline to reveal social share icons)              │
 *   └──────────────────────────────────────────────────────────────┘
 */
.leat-referral-rewards {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
}
.leat-referral-rewards__benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .leat-referral-rewards__benefits {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
.leat-referral-rewards__benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: transparent;
}
.leat-referral-rewards__benefit-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.leat-referral-rewards__benefit-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.leat-referral-rewards__benefit-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.leat-referral-rewards__benefit-heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #000;
  font-weight: 400;
}
.leat-referral-rewards__benefit-heading-label {
  display: block;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: -0.36px;
  font-weight: 400;
}
.leat-referral-rewards__benefit-heading-value {
  display: block;
  font-size: 19px;
  line-height: 21px;
  letter-spacing: -0.38px;
  font-weight: 600;
}
.leat-referral-rewards__benefit-description {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: #000;
}
.leat-referral-rewards__panel {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 16px;
  overflow: hidden;
}
.leat-referral-rewards__panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 560px) {
  .leat-referral-rewards__panel-row {
    flex-direction: column;
    align-items: stretch;
  }
}
.leat-referral-rewards__link-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #000;
}
.leat-referral-rewards__link-label {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  color: #000;
}
.leat-referral-rewards__link-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  color: #000;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.leat-referral-rewards__link-value:hover .leat-referral-rewards__link-icon {
  color: #000;
}
.leat-referral-rewards__link-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.leat-referral-rewards__link-icon {
  flex-shrink: 0;
  display: inline-flex;
  color: #6b6b6b;
  transition: color 0.2s ease;
}
.leat-referral-rewards__link-icon svg {
  display: block;
}
.leat-referral-rewards__pill.leat-block-components-button {
  flex-shrink: 0;
  min-width: 168px;
}
.leat-referral-rewards__cta {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.leat-referral-rewards__share-row {
  overflow: hidden;
}
.leat-referral-rewards__share-row-inner {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.leat-referral-rewards__share-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

/**
 * Tiers List Block - Editor Styles
 */
/**
 * Tiers List Block - Frontend & Editor Styles
 *
 * Layout (per Figma):
 *  ┌──────────────────────────────────────────────┐
 *  │  ┌────────────────────────────────────────┐  │
 *  │  │           [tier image / icon]          │  │  ← media
 *  │  └────────────────────────────────────────┘  │
 *  │  Level 1                       [ ACHIEVED ]  │  ← header + badge
 *  │  Unlock 500 points                           │
 *  │  ─────────────────────────────────────────   │  ← separator
 *  │  ✓ Premium giveaways                         │
 *  │  ✓ Early access                              │  ← perks
 *  └──────────────────────────────────────────────┘
 */
.leat-tiers-list__grid,
.wp-block-leat-tiers-list__grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
  min-width: 0;
  grid-auto-columns: minmax(0, 1fr);
}
.leat-tiers-list__grid > *,
.wp-block-leat-tiers-list__grid > * {
  min-width: 0;
}
@media (max-width: 768px) {
  .leat-tiers-list__grid,
  .wp-block-leat-tiers-list__grid {
    grid-template-columns: 1fr !important;
  }
}
.leat-tiers-list__cta, .leat-tiers-list__empty-state,
.wp-block-leat-tiers-list__cta,
.wp-block-leat-tiers-list__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem;
  text-align: center;
}
.leat-tiers-list__cta p, .leat-tiers-list__empty-state p,
.wp-block-leat-tiers-list__cta p,
.wp-block-leat-tiers-list__empty-state p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #1e1e1e;
}
.leat-tiers-list__cta,
.wp-block-leat-tiers-list__cta {
  padding: 1rem 0 2rem;
}
.leat-tiers-list__error, .leat-tiers-list__error-text,
.wp-block-leat-tiers-list__error,
.wp-block-leat-tiers-list__error-text {
  text-align: center;
  color: #dc2626;
}
.leat-tiers-list__error,
.wp-block-leat-tiers-list__error {
  padding: 2rem;
}
.leat-tiers-list__error p,
.wp-block-leat-tiers-list__error p {
  margin: 0 0 1rem;
}

.leat-tier-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.leat-tier-card__media {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: var(--leat-tier-image-height, 200px);
  border-radius: 4px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.leat-tier-card__media-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  -o-object-fit: var(--leat-tier-image-fit, cover);
     object-fit: var(--leat-tier-image-fit, cover);
  -o-object-position: center;
     object-position: center;
}
.leat-tier-card__media-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leat-tier-card__media-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.leat-tier-card__media-fallback, .leat-tier-card__media-emoji {
  font-size: 64px;
  line-height: 1;
}
.leat-tier-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.leat-tier-card__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.leat-tier-card__name {
  margin: 0;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.19px;
  color: #000000;
}
.leat-tier-card__subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.36px;
  color: #000000;
}
.leat-tier-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px 6px 8px;
  border-radius: 48px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.leat-tier-card__badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.leat-tier-card__badge--active {
  background-color: #000000;
  color: #ffffff;
}
.leat-tier-card__badge--achieved {
  background-color: rgba(244, 216, 224, 0.8);
  color: #000000;
}
.leat-tier-card__separator {
  width: 100%;
  height: 1px;
  background-color: #ededed;
}
.leat-tier-card__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.leat-tier-card__perk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #000000;
  font-weight: 400;
}
.leat-tier-card__perk svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #000000;
}
.leat-tier-card__perk span {
  min-width: 0;
}

.wp-block-leat-tiers-list .leat-tier-card__name,
.wp-block-leat-tiers-list .leat-tier-card__subtitle {
  font-family: inherit;
}