.hpsp-product-list-promotions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  margin-top: .45rem;
  min-height: 1.5rem;
  text-align: center;
}

.hpsp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: #d9363e;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.hpsp-badge--large {
  padding: .4rem .75rem;
  font-size: .78rem;
}

.hpsp-list-summary {
  display: block;
  max-width: 100%;
  color: #4a4a4a;
  font-size: .78rem;
  line-height: 1.3;
}

.hpsp-product-promotions {
  display: grid;
  gap: .75rem;
  margin: 1rem 0;
}

.hpsp-product-promotion,
.hpsp-cart-promotion {
  position: relative;
  overflow: hidden;
  border: 1px solid #ead7a2;
  border-radius: .65rem;
  background: linear-gradient(135deg, #fffdf5 0%, #fff 70%);
  box-shadow: 0 .18rem .55rem rgba(0, 0, 0, .06);
}

.hpsp-product-promotion {
  padding: 1rem;
}

.hpsp-product-promotion::before,
.hpsp-cart-promotion::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: .28rem;
  background: #e5aa16;
  content: "";
}

.hpsp-product-promotion__head,
.hpsp-cart-promotion__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.hpsp-product-promotion__title,
.hpsp-cart-promotion__title {
  margin: .6rem 0 .35rem;
  color: #222;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.hpsp-product-promotion__description {
  color: #555;
  font-size: .92rem;
  line-height: 1.45;
}

.hpsp-product-promotion__description p:last-child {
  margin-bottom: 0;
}

.hpsp-product-promotion__benefit {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .65rem;
  color: #242424;
}

.hpsp-product-promotion__date {
  margin-top: .5rem;
  color: #6b6b6b;
  font-size: .82rem;
}

.hpsp-countdown {
  flex: 0 0 auto;
  padding: .3rem .55rem;
  border-radius: .35rem;
  background: rgba(0, 0, 0, .055);
  color: #444;
  font-size: .75rem;
  line-height: 1.2;
  white-space: nowrap;
}

.hpsp-quantity-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .8rem;
}

.hpsp-quantity-shortcut {
  padding: .42rem .65rem;
  border: 1px solid #d9363e;
  border-radius: .35rem;
  background: #fff;
  color: #b4212a;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.hpsp-quantity-shortcut:hover,
.hpsp-quantity-shortcut:focus {
  background: #d9363e;
  color: #fff;
  transform: translateY(-1px);
}

.hpsp-cart-promotions {
  display: grid;
  gap: .75rem;
  margin: 1rem 0;
}

.hpsp-cart-promotions--empty {
  display: none;
}

.hpsp-cart-promotions--checkout {
  margin-top: 0;
}

.hpsp-cart-promotion {
  padding: 1rem 1rem 1rem 1.15rem;
}

.hpsp-cart-promotion--applied {
  border-color: #b9dcc3;
  background: linear-gradient(135deg, #f5fff8 0%, #fff 70%);
}

.hpsp-cart-promotion--applied::before {
  background: #2e9c55;
}

.hpsp-cart-promotion__header > div {
  min-width: 0;
}

.hpsp-cart-promotion__title {
  margin-top: .45rem;
  margin-bottom: 0;
}

.hpsp-cart-promotion__status,
.hpsp-cart-promotion__progress-copy {
  margin-top: .75rem;
  color: #333;
  font-size: .9rem;
  line-height: 1.4;
}

.hpsp-cart-promotion__status {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-weight: 600;
}

.hpsp-progress {
  position: relative;
  height: .55rem;
  margin-top: .75rem;
  overflow: hidden;
  border-radius: 999px;
  background: #ececec;
}

.hpsp-progress__bar {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: #e5aa16;
  transition: width .3s ease;
}

.hpsp-progress__values {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .35rem;
  color: #707070;
  font-size: .75rem;
}

.hpsp-cart-promotion__actions {
  margin-top: .8rem;
}

.hpsp-cart-promotion__actions .btn {
  white-space: normal;
}

.hpsp-gift-modal[hidden] {
  display: none !important;
}

.hpsp-gift-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hpsp-gift-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.hpsp-gift-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(58rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.25rem;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .25);
}

.hpsp-gift-modal__dialog h3 {
  margin: 0 2rem .35rem 0;
}

.hpsp-gift-modal__close {
  position: absolute;
  top: .65rem;
  right: .75rem;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.hpsp-gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}

.hpsp-gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  padding: .85rem;
  border: 1px solid #ddd;
  border-radius: .6rem;
  background: #fff;
  color: #222;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.hpsp-gift-card:hover,
.hpsp-gift-card:focus,
.hpsp-gift-card--recommended {
  border-color: #e5aa16;
  box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .09);
  transform: translateY(-2px);
}

.hpsp-gift-card[disabled] {
  opacity: .65;
  cursor: wait;
}

.hpsp-gift-card img {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
}

.hpsp-gift-card__recommended {
  position: absolute;
  top: .45rem;
  left: .45rem;
  padding: .2rem .4rem;
  border-radius: .25rem;
  background: #e5aa16;
  color: #1d1d1d;
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hpsp-gift-card__name {
  font-weight: 700;
  line-height: 1.3;
}

.hpsp-gift-card__combination {
  color: #6e6e6e;
  font-size: .75rem;
}

.hpsp-gift-card__price {
  color: #555;
}

.hpsp-gift-card__price strong {
  color: #2e9c55;
}

.hpsp-gift-card__choose {
  margin-top: auto;
  padding-top: .25rem;
  color: #b4212a;
  font-weight: 700;
}

.hpsp-decline-gift {
  display: block;
  margin: 1rem auto 0;
  padding: .35rem;
  border: 0;
  background: transparent;
  color: #777;
  font-size: .82rem;
  text-decoration: underline;
  cursor: pointer;
}

body.hpsp-modal-open {
  overflow: hidden;
}

.hpsp-is-loading {
  opacity: .65;
  pointer-events: none;
}

@media (max-width: 575px) {
  .hpsp-product-promotion__head,
  .hpsp-cart-promotion__header {
    flex-direction: column;
  }

  .hpsp-countdown {
    white-space: normal;
  }

  .hpsp-gift-modal {
    padding: .5rem;
  }

  .hpsp-gift-modal__dialog {
    max-height: calc(100vh - 1rem);
    padding: 1rem;
  }

  .hpsp-gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpsp-gift-card {
    padding: .65rem;
  }

  .hpsp-gift-card img {
    width: 5rem;
    height: 5rem;
  }
}

.hpsp-price-promotion {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  width: fit-content;
  max-width: 100%;
  margin-top: .5rem;
  padding: .42rem .55rem;
  border-left: .2rem solid #d9363e;
  border-radius: .25rem;
  background: #fff6f6;
  color: #7e151c;
  font-size: .82rem;
  line-height: 1.35;
  text-decoration: none;
}

.hpsp-price-promotion strong {
  white-space: nowrap;
}

.hpsp-price-promotion:hover,
.hpsp-price-promotion:focus {
  background: #ffeded;
  color: #651015;
  text-decoration: none;
}

/* Order confirmation and customer order details */
.hpsp-order-promotions {
  margin: 1.25rem 0;
  padding: 1.15rem;
  border: 1px solid #b7dfc1;
  border-left: 4px solid #2fb344;
  border-radius: 8px;
  background: #f6fff8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.hpsp-order-promotions__header {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: .9rem;
}
.hpsp-order-promotions__header h3 {
  margin: 0 0 .2rem;
  font-size: 1.05rem;
}
.hpsp-order-promotions__header p {
  margin: 0;
  color: #4b5c50;
}
.hpsp-order-promotions__icon {
  font-size: 1.65rem;
  line-height: 1;
}
.hpsp-order-promotions__items {
  border-top: 1px solid #dceee0;
}
.hpsp-order-promotions__item,
.hpsp-order-promotions__total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid #dceee0;
}
.hpsp-order-promotions__item span {
  display: block;
  margin-top: .15rem;
  color: #68756b;
}
.hpsp-order-promotions__value {
  min-width: 105px;
  text-align: right;
}
.hpsp-order-promotions__value span {
  color: #268c39;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hpsp-order-promotions__total {
  border-bottom: 0;
  padding-bottom: 0;
  font-size: 1rem;
}
@media (max-width: 575px) {
  .hpsp-order-promotions__item,
  .hpsp-order-promotions__total {
    align-items: flex-start;
  }
}

.hpsp-promotion-link,
.hpsp-cart-promotion__more a,
.hpsp-list-summary[href] {
  color: #b4212a;
  font-weight: 600;
  text-decoration: none;
}

.hpsp-promotion-link {
  display: inline-block;
  margin-top: .8rem;
}

.hpsp-promotion-link:hover,
.hpsp-cart-promotion__more a:hover,
.hpsp-list-summary[href]:hover {
  text-decoration: underline;
}

.hpsp-cart-promotion__more {
  margin-top: .65rem;
  font-size: .82rem;
}

.hpsp-next-tier-label {
  display: inline-block;
  margin-top: .65rem;
  padding: .22rem .48rem;
  border-radius: .3rem;
  background: #eef5ff;
  color: #225b9b;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hpsp-landing {
  width: 100%;
}

.hpsp-landing-intro {
  margin-bottom: 1.2rem;
  color: #555;
  font-size: 1rem;
}

.hpsp-landing-hero {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid #ead7a2;
  border-radius: .75rem;
  background: linear-gradient(135deg, #fffdf5 0%, #fff 75%);
  box-shadow: 0 .25rem .9rem rgba(0, 0, 0, .06);
}

.hpsp-landing-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: .32rem;
  background: #e5aa16;
  content: "";
}

.hpsp-landing-hero__top,
.hpsp-landing-section__head,
.hpsp-promotion-landing-card__head,
.hpsp-promotion-landing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.hpsp-landing-hero__summary {
  margin: 1rem 0 .45rem;
  color: #222;
  font-size: 1.1rem;
  font-weight: 700;
}

.hpsp-landing-hero__description {
  color: #555;
  line-height: 1.55;
}

.hpsp-landing-hero__benefit {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .8rem;
}

.hpsp-landing-hero__date {
  margin: .65rem 0 0;
  color: #666;
  font-size: .85rem;
}

.hpsp-landing-section {
  margin-top: 2rem;
}

.hpsp-landing-section h2 {
  margin: 0 0 1rem;
}

.hpsp-landing-section__head > span {
  color: #777;
  font-size: .85rem;
}

.hpsp-landing-products,
.hpsp-promotion-landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1rem;
}

.hpsp-landing-product,
.hpsp-promotion-landing-card {
  position: relative;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e4e4e4;
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 .18rem .65rem rgba(0, 0, 0, .05);
}

.hpsp-landing-product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.hpsp-landing-product__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10rem;
  margin-bottom: .7rem;
}

.hpsp-landing-product img {
  max-width: 100%;
  max-height: 10rem;
  object-fit: contain;
}

.hpsp-landing-product h3,
.hpsp-promotion-landing-card h2 {
  margin: .35rem 0;
  font-size: 1rem;
  line-height: 1.35;
}

.hpsp-landing-product h3 a,
.hpsp-promotion-landing-card h2 a {
  color: #222;
  text-decoration: none;
}

.hpsp-landing-product__price {
  margin: auto 0 .8rem;
  color: #222;
  font-weight: 700;
}

.hpsp-landing-product__price strong {
  color: #2e9c55;
}

.hpsp-landing-product--gift {
  padding-top: 2rem;
}

.hpsp-promotion-landing-grid {
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}

.hpsp-promotion-landing-card {
  display: flex;
  flex-direction: column;
}

.hpsp-promotion-landing-card__date {
  color: #777;
  font-size: .78rem;
}

.hpsp-promotion-landing-card > p {
  color: #555;
  line-height: 1.45;
}

.hpsp-promotion-landing-card__images {
  display: flex;
  gap: .4rem;
  margin: .5rem 0 1rem;
}

.hpsp-promotion-landing-card__images img {
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid #eee;
  border-radius: .35rem;
  object-fit: contain;
}

.hpsp-promotion-landing-card__footer {
  margin-top: auto;
}

.hpsp-promotion-landing-card__footer > span {
  color: #777;
  font-size: .8rem;
}

.hpsp-landing-back {
  margin-top: 1.5rem;
}

@media (max-width: 575px) {
  .hpsp-landing-hero__top,
  .hpsp-landing-section__head,
  .hpsp-promotion-landing-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hpsp-landing-products,
  .hpsp-promotion-landing-grid {
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
  }

  .hpsp-landing-product,
  .hpsp-promotion-landing-card {
    padding: .75rem;
  }
}


@media (max-width: 479px) {
  .hpsp-promotion-landing-grid,
  .hpsp-landing-products,
  .hpsp-landing-products--gifts {
    grid-template-columns: 1fr;
  }

  .hpsp-landing-section__head,
  .hpsp-promotion-landing-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


.hpsp-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.5rem;
}

.hpsp-pagination__link,
.hpsp-pagination__ellipsis {
  display: inline-flex;
  min-width: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  padding: .4rem .65rem;
  border: 1px solid #ddd;
  border-radius: .35rem;
  background: #fff;
}

.hpsp-pagination__link--current {
  border-color: #d9363e;
  background: #d9363e;
  color: #fff;
  font-weight: 700;
}

.hpsp-landing-product__combination {
  margin: -.15rem 0 .55rem;
  color: #6a6a6a;
  font-size: .82rem;
}
