.woocommerce ul.products li.product {
  position: relative;
}

.tw-points-price {
  color: #8e44ad !important;
  font-weight: bold !important;
  font-size: 1.1em;
}

.tw-points-price-container {
  margin: 20px 0;
}

.tw-points-price-container .price {
  font-size: 1.5em !important;
  color: #8e44ad !important;
  font-weight: bold !important;
  margin: 0 !important;
}

.tw-user-points-status {
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
  font-size: 0.9em;
}

.tw-login-notice {
  margin-top: 10px;
  padding: 10px;
  background: #fff3cd;
  border-radius: 5px;
  font-size: 0.9em;
  color: #856404;
}

.tw-points-cart-notice {
  background: #f8f9fa;
  border: 2px solid #8e44ad;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.tw-points-cart-notice h4 {
  margin: 0 0 10px 0;
  color: #8e44ad;
}

.tw-role-badge,
.tw-points-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: bold;
  z-index: 10;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tw-role-badge {
  background: linear-gradient(45deg, #f7941d, #ff6b35);
  box-shadow: 0 2px 4px rgba(247, 148, 29, 0.3);
}

.tw-points-badge {
  background: linear-gradient(45deg, #8e44ad, #9b59b6);
  box-shadow: 0 2px 4px rgba(142, 68, 173, 0.3);
}

.tw-product-notice {
  padding: 8px 16px;
  margin: 10px 0;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  position: relative;
  font-size: 13px;
  border: 1px solid;
}

.tw-product-notice span {
  line-height: 1.3;
  z-index: 1;
  position: relative;
}

.tw-product-notice.role-exclusive {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffcc80;
}

.tw-product-notice.points-only {
  background: #2c3e50;
  color: #ecf0f1;
  border-color: #34495e;
}

.woocommerce .button.alt.disabled,
.woocommerce .button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .tw-role-badge,
  .tw-points-badge {
    font-size: 8px;
    padding: 3px 6px;
    top: 5px;
    right: 5px;
  }

  .tw-product-notice {
    padding: 6px 12px;
    margin: 8px 0;
    min-height: 32px;
    font-size: 12px;
  }

  .tw-product-notice span {
    font-size: 12px;
  }
}

.tw-role-badge,
.tw-points-badge {
  transition: all 0.3s ease;
}

.tw-role-badge:hover,
.tw-points-badge:hover {
  transform: scale(1.1);
}

.single-product .tw-product-notice {
  margin: 20px 0;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
