.sagrista-points-redeem {
  background: #f7fbf8;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  margin: 1rem 0;
  padding: 1rem;
}

.sagrista-loyalty-banner {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(31, 91, 56, 0.95), rgba(42, 115, 72, 0.9)),
    linear-gradient(90deg, #1f5b38, #c48a2b);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(28, 55, 40, 0.14);
  color: #ffffff;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.85fr) auto;
  margin: 1.25rem 0;
  overflow: hidden;
  padding: 1.2rem;
  position: relative;
}

.sagrista-loyalty-banner::before {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  content: "";
  height: 8rem;
  position: absolute;
  right: -2.5rem;
  top: -3rem;
  width: 8rem;
}

.sagrista-loyalty-banner__content,
.sagrista-loyalty-banner__perks,
.sagrista-loyalty-banner__button {
  position: relative;
  z-index: 1;
}

.sagrista-loyalty-banner__eyebrow {
  color: #f9d98f;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.sagrista-loyalty-banner strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.15;
}

.sagrista-loyalty-banner p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0.45rem 0 0;
}

.sagrista-loyalty-banner__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sagrista-loyalty-banner__perks span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  white-space: nowrap;
}

.sagrista-loyalty-banner__button {
  background: #ffffff;
  border-radius: 999px;
  color: #1f5b38;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  padding: 0.65rem 1rem;
  text-decoration: none;
  white-space: nowrap;
}

.sagrista-loyalty-banner__button:hover,
.sagrista-loyalty-banner__button:focus {
  color: #143d25;
  text-decoration: none;
}

.sagrista-loyalty-banner--product {
  grid-template-columns: minmax(0, 1fr);
  margin: 1rem 0;
  padding: 1rem;
}

.sagrista-loyalty-banner--product .sagrista-loyalty-banner__perks {
  display: none;
}

.sagrista-loyalty-banner--product .sagrista-loyalty-banner__button {
  justify-self: flex-start;
}

.sagrista-loyalty-banner--checkout,
.sagrista-loyalty-banner--confirmation {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
  padding: 1rem;
}

.sagrista-loyalty-banner--checkout .sagrista-loyalty-banner__perks,
.sagrista-loyalty-banner--confirmation .sagrista-loyalty-banner__perks {
  display: none;
}

.sagrista-loyalty-banner--checkout .sagrista-loyalty-banner__button,
.sagrista-loyalty-banner--confirmation .sagrista-loyalty-banner__button {
  justify-self: stretch;
}

.sagrista-points-redeem__promo {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  display: grid;
  gap: 0.35rem 0.85rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 0.85rem;
  padding: 0.85rem;
}

.sagrista-points-redeem__promo strong,
.sagrista-points-redeem__promo span {
  display: block;
}

.sagrista-points-redeem__promo strong {
  color: #1f5b38;
  font-size: 1rem;
}

.sagrista-points-redeem__promo span {
  color: #51645a;
  font-size: 0.875rem;
}

.sagrista-points-redeem__promo .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

.sagrista-points-redeem__head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.sagrista-points-redeem__head strong,
.sagrista-points-redeem__head span {
  display: block;
}

.sagrista-points-redeem__head strong {
  color: #1f5b38;
  font-size: 1rem;
}

.sagrista-points-redeem__head span {
  color: #51645a;
  font-size: 0.875rem;
}

.sagrista-points-redeem__active {
  background: #ffffff;
  border: 1px solid #d9eadf;
  border-radius: 999px;
  color: #1f5b38;
  padding: 0.25rem 0.65rem;
  white-space: nowrap;
}

.sagrista-points-redeem__form {
  margin-top: 0.85rem;
}

.sagrista-points-redeem__form label {
  color: #25382e;
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.sagrista-points-redeem__controls {
  display: flex;
  gap: 0.5rem;
}

.sagrista-points-redeem__controls input {
  border: 1px solid #c8d9ce;
  border-radius: 6px;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  width: 100%;
}

.sagrista-points-redeem__empty {
  color: #5f6d65;
  margin: 0.75rem 0 0;
}

.sagrista-points-account {
  color: #25382e;
}

.sagrista-points-referral-notice {
  align-items: center;
  background: #fff8f4;
  border: 1px solid #f2d6c9;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(47, 51, 45, 0.14);
  color: #2f332d;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 520px;
  padding: 0.9rem 1rem;
  position: fixed;
  right: 1rem;
  top: 6.25rem;
  z-index: 1040;
}

.sagrista-points-referral-notice span,
.sagrista-points-pending span {
  color: #9a5b47;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sagrista-points-referral-notice strong,
.sagrista-points-pending strong {
  color: #2f332d;
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.sagrista-points-referral-notice p,
.sagrista-points-pending p {
  color: #6c625c;
  font-size: 0.86rem;
  margin: 0.25rem 0 0;
}

.sagrista-points-referral-notice a {
  background: #2f332d;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}

.sagrista-points-pending {
  background: #fff8f4;
  border: 1px solid #f2d6c9;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.sagrista-points-copy-link {
  background: #2f332d;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  justify-content: center;
  margin-top: 0.8rem;
  padding: 0.62rem 0.95rem;
}

.sagrista-points-copy-link:hover,
.sagrista-points-copy-link:focus {
  background: #1f241f;
}

.sagrista-points-copy-link__status {
  color: #1f7a44;
  display: block;
  font-weight: 700;
  margin-top: 0.45rem;
}

.sagrista-points-verify {
  background: #ffffff;
  margin: 0 auto;
  max-width: 760px;
  padding: 2rem 0;
}

.sagrista-points-verify__card {
  background: #fff8f4;
  border: 1px solid #f2d6c9;
  border-radius: 8px;
  padding: 1.5rem;
}

.sagrista-points-verify__card > span {
  color: #9a5b47;
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sagrista-points-verify__card h1 {
  color: #2f332d;
  font-size: 1.65rem;
  line-height: 1.15;
  margin: 0.35rem 0 0.75rem;
}

.sagrista-points-verify__card p {
  color: #5e625a;
}

.sagrista-points-verify__form {
  background: #ffffff;
  border: 1px solid #f0dfd7;
  border-radius: 8px;
  margin-top: 1rem;
  padding: 1rem;
}

.sagrista-points-verify__form label {
  color: #2f332d;
  font-weight: 700;
}

.sagrista-points-verify__form small {
  color: #766b65;
  display: block;
  margin-top: 0.35rem;
}

.sagrista-points-share-rewards {
  align-items: center;
  background: #fff8f4;
  border: 1px solid #f2d6c9;
  border-radius: 8px;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0.85rem 0 0;
  padding: 0.9rem;
}

.sagrista-points-share-rewards span,
.sagrista-points-referral span {
  color: #9a5b47;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sagrista-points-share-rewards strong {
  color: #2f332d;
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.sagrista-points-share-rewards p {
  color: #6c625c;
  font-size: 0.86rem;
  margin: 0.25rem 0 0;
}

.sagrista-points-share-rewards__actions {
  display: flex;
  gap: 0.45rem;
}

.sagrista-points-share-rewards__btn,
.sagrista-points-share-rewards__login {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}

.sagrista-points-share-rewards__btn--whatsapp {
  background: #e6f7ee;
  color: #0d6b37;
}

.sagrista-points-share-rewards__btn--linkedin {
  background: #e8f0fa;
  color: #0a5c9c;
}

.sagrista-points-share-rewards__login {
  background: #2f332d;
  color: #ffffff;
}

.sagrista-points-share-rewards__btn:hover,
.sagrista-points-share-rewards__login:hover {
  opacity: 0.82;
  text-decoration: none;
}

.sagrista-points-hero {
  background: linear-gradient(135deg, #f2faf5 0%, #fff7ea 100%);
  border: 1px solid #d9eadf;
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.75fr);
  margin-bottom: 1.25rem;
  padding: 1.25rem;
}

.sagrista-points-referral__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
}

.sagrista-points-referral__grid article {
  background: #ffffff;
  border: 1px solid #e4ece7;
  border-radius: 8px;
  padding: 1rem;
}

.sagrista-points-referral__grid strong {
  color: #1f5b38;
  display: block;
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 0.35rem 0;
}

.sagrista-points-referral__grid p {
  color: #5e6d65;
  margin: 0;
}

.sagrista-points-referral__grid input {
  border: 1px solid #d6e1db;
  border-radius: 6px;
  color: #2f3b34;
  font-size: 0.86rem;
  margin-top: 0.75rem;
  padding: 0.55rem 0.65rem;
  width: 100%;
}

.sagrista-points-hero__content > span,
.sagrista-points-hero__level > span,
.sagrista-points-section__head span,
.sagrista-points-cards span {
  color: #6a7a71;
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sagrista-points-hero__content strong {
  color: #1f5b38;
  display: block;
  font-size: 3rem;
  line-height: 1;
  margin: 0.35rem 0;
}

.sagrista-points-hero__content small,
.sagrista-points-hero__level small {
  color: #51645a;
  display: block;
}

.sagrista-points-hero__content p {
  margin: 0.9rem 0 0;
}

.sagrista-points-hero__content a {
  color: #9a5f16;
  font-weight: 700;
  text-decoration: underline;
}

.sagrista-points-hero__level {
  background: #ffffff;
  border: 1px solid #e6dccb;
  border-radius: 8px;
  padding: 1rem;
}

.sagrista-points-hero__level strong {
  color: #734c13;
  display: block;
  font-size: 1.65rem;
  margin: 0.35rem 0;
}

.sagrista-points-section {
  border-top: 1px solid #e5ece8;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.sagrista-points-section__head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sagrista-points-section__head h2 {
  font-size: 1.3rem;
  margin: 0.15rem 0 0;
}

.sagrista-points-progress {
  background: #ffffff;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  padding: 1rem;
}

.sagrista-points-progress__bar {
  background: #edf1ee;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.sagrista-points-progress__bar span {
  background: linear-gradient(90deg, #2f7d4b, #c48a2b);
  display: block;
  height: 100%;
}

.sagrista-points-progress p {
  margin: 0.75rem 0 0;
}

.sagrista-points-maintenance {
  margin-top: 1.25rem;
}

.sagrista-points-cards,
.sagrista-points-steps {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.85rem;
}

.sagrista-points-cards article,
.sagrista-points-steps article {
  background: #ffffff;
  border: 1px solid #e1e8e4;
  border-radius: 8px;
  padding: 1rem;
}

.sagrista-points-cards strong {
  color: #1f5b38;
  display: block;
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.sagrista-points-maintenance .sagrista-points-cards strong {
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sagrista-points-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sagrista-points-steps strong {
  align-items: center;
  background: #1f5b38;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  margin-bottom: 0.75rem;
  width: 2rem;
}

.sagrista-points-steps h3 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.sagrista-points-steps p,
.sagrista-points-note {
  color: #5f6d65;
  margin-bottom: 0;
}

.sagrista-points-account__current {
  background: #f7fbf8;
}

@media (max-width: 991px) {
  .sagrista-loyalty-banner {
    grid-template-columns: 1fr;
  }

  .sagrista-loyalty-banner__button {
    justify-self: flex-start;
  }

  .sagrista-points-hero,
  .sagrista-points-cards,
  .sagrista-points-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sagrista-points-account__summary {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.sagrista-points-account__summary > div,
.sagrista-points-account__rules {
  background: #f7fbf8;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  padding: 1rem;
}

.sagrista-points-account__summary span,
.sagrista-points-account__summary small {
  color: #51645a;
  display: block;
}

.sagrista-points-account__summary strong {
  color: #1f5b38;
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  margin: 0.35rem 0;
}

.sagrista-points-account__rules {
  margin-bottom: 1.5rem;
}

.sagrista-points-account__rules p {
  margin-bottom: 0.4rem;
}

.sagrista-points-account__rules .btn {
  margin-top: 0.75rem;
}

.sagrista-points-account h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem;
}

.sagrista-points-account__positive {
  color: #1f7a44;
  font-weight: 700;
}

.sagrista-points-account__negative {
  color: #b63c33;
  font-weight: 700;
}

@media (max-width: 575px) {
  .sagrista-loyalty-banner {
    padding: 1rem;
  }

  .sagrista-loyalty-banner strong {
    font-size: 1.18rem;
  }

  .sagrista-loyalty-banner__button {
    width: 100%;
  }

  .sagrista-loyalty-banner__perks span {
    white-space: normal;
  }

  .sagrista-points-redeem__promo {
    display: block;
  }

  .sagrista-points-redeem__promo .btn {
    margin-top: 0.65rem;
    width: 100%;
  }

  .sagrista-points-redeem__head,
  .sagrista-points-redeem__controls {
    display: block;
  }

  .sagrista-points-redeem__controls .btn {
    margin-top: 0.5rem;
    width: 100%;
  }

  .sagrista-points-account__summary {
    grid-template-columns: 1fr;
  }

  .sagrista-points-referral-notice {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    top: auto;
    grid-template-columns: 1fr;
  }

  .sagrista-points-referral-notice a {
    text-align: center;
  }

  .sagrista-points-hero,
  .sagrista-points-cards,
  .sagrista-points-steps,
  .sagrista-points-referral__grid {
    grid-template-columns: 1fr;
  }

  .sagrista-points-share-rewards {
    grid-template-columns: 1fr;
  }

  .sagrista-points-share-rewards__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sagrista-points-section__head {
    align-items: stretch;
    display: block;
  }

  .sagrista-points-section__head .btn {
    margin-top: 0.75rem;
    width: 100%;
  }
}
