.eb-promo-message {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 7px;
  padding: 7px 10px;
  border: 1px solid var(--eb-promo-message-border, #f2c48d);
  border-radius: 6px;
  background: var(--eb-promo-message-bg, #fff4e6);
  color: var(--eb-promo-message-color, #8a3d00);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.eb-promo-badge.onsale,
.woocommerce span.onsale.eb-promo-badge {
  min-height: auto;
  min-width: auto;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--eb-promo-message-bg, #fff4e6);
  color: var(--eb-promo-message-color, #8a3d00);
  border: 1px solid var(--eb-promo-message-border, #f2c48d);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.eb-promotions-grid {
  display: grid;
  grid-template-columns: repeat(var(--eb-promotions-columns, 3), minmax(0, 1fr));
  gap: 18px;
}

.eb-promotion-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e2e4e7;
  border-radius: 8px;
  background: #fff;
}

.eb-promotion-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.eb-promotion-card-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.eb-promotion-card-title a {
  color: inherit;
  text-decoration: none;
}

.eb-promotion-card-price {
  font-size: 16px;
  font-weight: 700;
}

.eb-promotion-card-price del {
  opacity: 0.65;
  font-weight: 500;
}

.eb-promotion-card-price ins {
  color: #b44100;
  text-decoration: none;
}

.eb-promotion-card-button.button {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.eb-dynamic-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.eb-dynamic-price--badge {
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  gap: 13px;
  font-size: 20px;
}

.eb-price-badge,
.eb-dynamic-price a.eb-price-badge.add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  gap: clamp(10px, 1.2vw, 18px);
  min-height: auto !important;
  min-width: auto !important;
  padding: clamp(12px, 1.35vw, 16px) clamp(24px, 2.8vw, 38px) !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fac83f !important;
  color: #050505 !important;
  font-size: clamp(32px, 3.15vw, 48px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(111, 71, 0, 0.13);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.eb-dynamic-price .eb-price-badge,
.eb-dynamic-price .eb-price-badge:visited,
.eb-dynamic-price .eb-price-badge:hover,
.eb-dynamic-price .eb-price-badge:focus,
.eb-dynamic-price .eb-price-badge:hover *,
.eb-dynamic-price .eb-price-badge:focus * {
  color: #050505 !important;
}

.eb-price-badge:hover,
.eb-price-badge:focus,
.eb-dynamic-price a.eb-price-badge.add_to_cart_button:hover,
.eb-dynamic-price a.eb-price-badge.add_to_cart_button:focus {
  background: #f6bf2c !important;
  color: #050505 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(111, 71, 0, 0.18);
  transform: translateY(-1px);
}

.eb-price-badge:focus-visible {
  outline: 3px solid rgba(44, 99, 53, 0.35);
  outline-offset: 3px;
}

.eb-price-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(19px, 1.65vw, 25px);
  height: clamp(19px, 1.65vw, 25px);
  background-color: #050505 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.2 18.8a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6Zm10 0a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6ZM3.1 2.5a1 1 0 0 0 0 2h1.6l2.6 10.2a3 3 0 0 0 2.9 2.3h7.1a3 3 0 0 0 2.8-2l1.9-5.3A2 2 0 0 0 20.1 7H7.5l-.6-2.2A3 3 0 0 0 4 2.5H3.1Zm5 7.5h11.4l-1.4 4a1 1 0 0 1-.9.7h-7.1a1 1 0 0 1-1-.8L8.1 10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.2 18.8a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6Zm10 0a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6ZM3.1 2.5a1 1 0 0 0 0 2h1.6l2.6 10.2a3 3 0 0 0 2.9 2.3h7.1a3 3 0 0 0 2.8-2l1.9-5.3A2 2 0 0 0 20.1 7H7.5l-.6-2.2A3 3 0 0 0 4 2.5H3.1Zm5 7.5h11.4l-1.4 4a1 1 0 0 1-.9.7h-7.1a1 1 0 0 1-1-.8L8.1 10Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eb-price-badge__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.eb-price-badge__current {
  display: inline-flex;
  align-items: baseline;
  color: #050505 !important;
  font-size: 1em !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0;
  white-space: nowrap;
}

.eb-price-badge__current .woocommerce-Price-currencySymbol {
  margin-left: 0.16em;
}

.eb-price-old-new {
  display: inline-flex;
  align-items: center;
  color: #050505 !important;
  font-size: clamp(17px, 1.38vw, 22px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  opacity: 0.9;
}

.eb-price-old-new__value {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 0 3px;
  white-space: nowrap;
}

.eb-price-old-new__value::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-13deg);
  transform-origin: center;
}

.eb-dynamic-price del {
  color: #6b7280;
  font-size: 0.78em;
  font-weight: 600;
  opacity: 0.8;
}

.eb-dynamic-price ins {
  color: #1f2933;
  text-decoration: none;
}

.eb-dynamic-price.is-on-sale ins {
  color: #b44100;
}

.eb-dynamic-price--badge.is-on-sale ins {
  color: #050505;
}

.eb-dynamic-price .eb-promo-message {
  flex-basis: auto;
  justify-content: center;
  width: 100%;
  max-width: min(100%, 470px);
  margin-top: 0;
  padding: 10px 18px;
  border: 1px solid #d86f12;
  border-radius: 6px;
  background: #df7b18;
  color: #fff;
  font-size: clamp(13px, 1.12vw, 16px);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 3px 8px rgba(111, 71, 0, 0.11);
  transform: rotate(-1.4deg);
  transform-origin: center;
}

.eb-dynamic-price--missing {
  padding: 8px 10px;
  border: 1px solid #d63638;
  border-radius: 6px;
  color: #8a2424;
  background: #fcf0f1;
  font-size: 13px;
  font-weight: 700;
}

.eb-loop-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  line-height: 1.1;
}

.eb-loop-price-block__price {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: #2c6335;
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.eb-loop-price-block__amount .woocommerce-Price-currencySymbol {
  margin-left: 0.16em;
}

.eb-loop-price-block__tax {
  font-size: 0.9em;
  font-weight: 800;
}

.eb-loop-price-block__message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(92%, 340px);
  padding: 9px 18px;
  border-radius: 5px;
  background: #df7b18;
  color: #fff;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-3deg);
  transform-origin: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.eb-loop-price-block.is-on-sale .eb-loop-price-block__message {
  background: #c95e10;
}

.eb-inline-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: #2c6335;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: 0;
  white-space: nowrap;
}

.eb-inline-price__current .woocommerce-Price-currencySymbol {
  margin-left: 0.16em;
}

.eb-inline-price__old {
  position: relative;
  display: inline-block;
  color: #1f2933;
  font-size: 0.62em;
  font-weight: 700;
  line-height: 1;
  padding: 0 3px;
  opacity: 0.9;
}

.eb-inline-price__old::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: rotate(-14deg);
  transform-origin: center;
}

.eb-inline-price__tax {
  font-size: 0.9em;
  font-weight: inherit;
}

@media (max-width: 900px) {
  .eb-promotions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .eb-promotions-grid {
    grid-template-columns: 1fr;
  }

  .eb-price-badge {
    gap: 9px;
    padding: 10px 16px !important;
    font-size: 25px !important;
  }

  .eb-price-old-new {
    font-size: 15px;
  }

  .eb-dynamic-price .eb-promo-message {
    max-width: 96%;
    padding: 8px 13px;
    font-size: 13px;
  }

  .eb-loop-price-block__message {
    max-width: 96%;
    padding: 8px 14px;
  }
}
