.zrp-wrap {
  --zrp-purple: #6726f4;
  --zrp-ink: #5e22d6;
  --zrp-columns: 4;
  width: 100%;
  min-width: 0;
  color: var(--zrp-ink);
}

.zrp-wrap,
.zrp-wrap * {
  box-sizing: border-box;
}

.zrp-products {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--zrp-columns), minmax(0, 1fr));
  gap: clamp(12px, 1.15vw, 22px);
}

.zrp-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.zrp-product-visual {
  position: relative;
  height: clamp(265px, 29vw, 435px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(16px, 2vw, 30px);
}

.zrp-image-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-decoration: none;
}

.zrp-product-visual .zrp-product-image,
.zrp-product-visual img {
  display: block;
  width: auto;
/*   height: 88%;
  max-width: 74%; */
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgb(66 41 138 / 13%));
}

.zrp-stock {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 5%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: clamp(9px, .72vw, 12px);
  line-height: 1;
  white-space: nowrap;
}

.zrp-stock-in {
  color: #fff;
  background: var(--zrp-purple);
	display: none;
}

.zrp-stock-in i {
  width: 4px;
  height: 4px;
  margin-right: 7px;
  border-radius: 50%;
  background: #fff;
}

.zrp-stock-out {
  color: #111;
  border: 1px solid #111;
  background: #fff;
}

.zrp-product-info {
  min-height: clamp(118px, 10.15vw, 120px);
  padding: clamp(18px, 1.55vw, 24px) clamp(16px, 1.35vw, 22px);
  border-radius: 24px;
  background: linear-gradient(181deg, #E5E5E5 0%, #943CFF 100%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 70%);
}

.zrp-title {
  margin: 0 0 clamp(15px, 1.4vw, 22px);
  padding: 0;
  font-size: clamp(18px, 1.46vw, 20px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
/* 	font-family: 'neuropol'; */
	text-transform: uppercase;
}

.zrp-title a {
  color: inherit;
  text-decoration: none;
}

.zrp-title span {
/*   font-size: .7em; */
  color: #1f1529;
}

.zrp-product-buy {
  display: grid;
  grid-template-columns: minmax(58px, 1fr) minmax(120px, 1.42fr);
  gap: 12px;
  align-items: center;
}

.zrp-price {
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.2;
}

.zrp-price .amount,
.zrp-price ins {
  color: inherit;
	font-family: 'Outfit';
}

.zrp-price ins {
  text-decoration: none;
}

.zrp-price del {
  opacity: .68;
  font-size: .82em;
}

.zrp-button, .zrp-wrap a.zrp-button, .zrp-wrap .button.zrp-button {
    min-height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 5px;
    margin: 0;
    border: 0;
    border-radius: 9px;
    color: #6f20e8;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    font-family: 'neuropol';
    font-size: 12px;
}

.zrp-wrap a.zrp-button:hover,
.zrp-wrap .button.zrp-button:hover {
  color: #6f20e8;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(58 10 112 / 22%);
}

.zrp-wrap a.zrp-button:focus-visible,
.zrp-wrap .button.zrp-button:focus-visible {
  outline: 3px solid #1f1529;
  outline-offset: 3px;
}

.zrp-button-disabled {
  cursor: not-allowed;
  opacity: .68;
}

.zrp-button.loading {
  opacity: .72;
  pointer-events: none;
}

.zrp-button.added::after {
  content: "✓";
  margin-left: 7px;
}

.zrp-toast {
  position: fixed;
  z-index: 999999;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  background: #24113a;
  box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.zrp-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.zrp-message {
  margin: 0;
}

@media (max-width: 980px) {
  .zrp-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 18px;
  }

  .zrp-product-visual {
    height: clamp(290px, 49vw, 400px);
  }

  .zrp-product-visual .zrp-product-image,
  .zrp-product-visual img {
    height: 90%;
  }
}

@media (max-width: 560px) {
  .zrp-products {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .zrp-product-card {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .zrp-product-visual {
    height: clamp(300px, 95vw, 410px);
  }

  .zrp-product-info {
    border-radius: 20px;
  }

  .zrp-product-buy {
    grid-template-columns: 1fr 1.35fr;
  }

  .zrp-stock {
    left: 3%;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zrp-wrap *,
  .zrp-wrap *::before,
  .zrp-wrap *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
