/* Love Mandalas — Size Guide Modal */

.sg-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gray-500, #999);
  background: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500, #999);
  cursor: pointer;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}
.sg-trigger:hover {
  border-color: var(--green, #1B5E3B);
  color: var(--green, #1B5E3B);
}

/* Overlay */
.sg-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10,10,10,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.sg-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal */
.sg-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.sg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid #E8E8E8;
  position: sticky;
  top: 0;
  background: #fff;
}
.sg-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #0A0A0A;
}
.sg-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #999;
  padding: 8px;
  line-height: 1;
}
.sg-close:hover { color: #0A0A0A; }
.sg-body {
  padding: 24px 28px 28px;
}
.sg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sg-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0A0A0A;
  margin-bottom: 4px;
}
.sg-item p {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}
.sg-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #E8E8E8;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .sg-overlay { padding: 12px; align-items: flex-end; }
  .sg-modal { max-height: 88vh; border-radius: 12px 12px 0 0; }
  .sg-header { padding: 18px 20px 16px; }
  .sg-body { padding: 18px 20px 24px; }
}
