.pwups-wrapper {
  margin: 1.35rem 0 0;
}

.pwups-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pwups-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.7rem;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
}

.pwups-card {
  flex: 0 0 170px;
  border: 1px solid #dbe1e8;
  border-radius: 0.4rem;
  padding: 0.5rem;
  background: #fafbfd;
}

.pwups-card.is-disabled {
  opacity: 0.65;
}

.pwups-card.is-current-product {
  border-color: #c9d7e6;
  background: #f4f8fc;
}

.pwups-select-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
}

.pwups-media {
  position: relative;
}

.pwups-media img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  border-radius: 0.3rem;
  margin-bottom: 0.3rem;
}

.pwups-warning {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  right: 0.3rem;
  z-index: 2;
  background: #fff2d8;
  color: #8a4d00;
  border: 1px solid #ffd59c;
  border-radius: 0.3rem;
  padding: 0.2rem 0.35rem;
  font-size: 0.72rem;
}

.pwups-info {
  margin-top: 0.35rem;
}

.pwups-title-link {
  font-weight: 600;
  color: #222;
  text-decoration: none;
  display: block;
  line-height: 1.2;
  font-size: 0.82rem;
}

.pwups-title-link:hover {
  color: #0a66c2;
}

.pwups-price {
  margin-top: 0.2rem;
  font-weight: 700;
  font-size: 0.84rem;
}

.pwups-variant-group {
  margin-top: 0.35rem;
}

.pwups-variant-label {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #4c5665;
}

.pwups-variant-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.pwups-swatch,
.pwups-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.08s ease;
}

.pwups-swatch {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid #c7ced8;
}

.pwups-box {
  border: 1px solid #ced4de;
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.74rem;
  background: #fff;
}

.pwups-swatch.active,
.pwups-box.active {
  box-shadow: inset 0 0 0 1px #0a66c2;
  border-color: #0a66c2;
}

.pwups-swatch.disabled,
.pwups-box.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pwups-select-variant {
  width: 100%;
  border: 1px solid #ced4de;
  border-radius: 0.25rem;
  padding: 0.2rem 0.35rem;
  font-size: 0.78rem;
}

.pwups-summary {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.2rem;
}

.pwups-total {
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .pwups-card {
    flex-basis: 150px;
  }

  .pwups-media img {
    height: 82px;
  }
}
