* {
  box-sizing: border-box;
}

:host {
  display: block;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  max-width: 600px;
  width: 100%;
}

.product-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: var(--space-16);
}

.product-image,
.placeholder-image {
  width: 80px;
  height: 80px;
  background-color: #f2f2f2;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-black);

  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-info p {
  margin: 0;
  color: #666;
  font-size: 0.875rem;
}

.info-box {
  background-color: #fffaeb;
  border-radius: 8px;
  border: 1px solid #ffe7a3;
  padding: 16px;
  margin-bottom: 20px;
}

.info-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.warning-icon {
  margin-right: 8px;
  font-size: 18px;
}

.info-box h3 {
  margin: 0;
  color: #9a6700;
  font-size: 0.875rem;
  font-weight: 500;
}

.info-box p {
  margin: 8px 0;
  color: #333;
  font-size: 0.875rem;
}

.info-box ul {
  margin: 8px 0;
  padding-left: 20px;
}

.info-box li {
  margin-bottom: 6px;
  color: #333;
  font-size: 0.875rem;
}

.reason-section h3 {
  margin: 0 0 12px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-black);
}

.reason-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

button {
  flex: 1;
  border-radius: 8px;
  padding: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: var(--ism-primary-font-family);
}

.reason-button {
  background-color: white;
  border: 1px solid #e0e0e0;
  padding: var(--space-8) var(--space-16);
  text-align: left;
  color: var(--primary-black);
  transition: all 0.2s;
}

.reason-button:hover {
  background-color: #f7f7f7;
}

.reason-button.selected {
  border-color: var(--primary-blue);
  background-color: #f0f7ff;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.back-button {
  background-color: white;
  border: 1px solid #e0e0e0;
  color: var(--primary-black);
}

.continue-button {
  background-color: var(--primary-blue);
  border: none;
  color: white;
}

.continue-button.disabled {
  background-color: #b3c4e6;
  cursor: not-allowed;
}

.back-button:hover {
  background-color: #f2f2f2;
}

.continue-button:not(.disabled):hover {
  background-color: #2855b0;
}
