.product-image-notice {
  position: relative;
  display: inline-block;
  --primary-color: #1caaaa;
  --secondary-color: #434242;
  --white: #fff;
  --light-gray: #F9F9F9;
  z-index: 1;
}

.notice-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
  outline: none;
}

.notice-indicator:hover,
.notice-indicator:focus {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.notice-tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(320px, 90vw);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notice-tooltip h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.notice-tooltip p {
  margin: 0;
  color: var(--secondary-color);
}

.notice-indicator:hover + .notice-tooltip,
.notice-indicator:focus + .notice-tooltip,
.notice-indicator.active + .notice-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .notice-indicator {
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .notice-tooltip {
    width: min(280px, 85vw);
    padding: 0.75rem;
  }
}

@media (prefers-color-scheme: dark) {
  .product-image-notice {
    --secondary-color: #f0f0f0;
    --light-gray: #555;
  }

  .notice-tooltip {
    background: #434242;
    border-color: var(--light-gray);
  }

  .notice-tooltip h3,
  .notice-tooltip p {
    color: var(--white);
  }
}
