.mini-sizeChart-btn {
  width: auto;
  color: #161616;
  background-color: transparent;
  padding: 8px 10px 5px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #161616;
  font-family: Hatton, Arial, sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.mini-sizeChart-btn:hover {
  background-color: #161616;
  color: #fff;
}

.mini-sizeChart-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.sizechart-modal-window {
  position: fixed;
  inset: 0;
  display: none;
  padding: 0.7rem;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(1px);
  z-index: 100;
}

.sizechart-modal {
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  background-color: #FCFAF6;
  transform-origin: center;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sizechart-modal h2 {
  margin-top: 0;
  font-family: Hatton, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.close-modal-btn {
  position: sticky;
  top: 0;
  float: right;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  color: #242424;
  z-index: 10;
}

.sizechart-modal img {
  width: 100%;
  height: auto;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .sizechart-modal {
    padding: 1.5rem 1rem 1rem;
    border-radius: 12px;
  }

  .sizechart-modal h2 {
    font-size: 1.25rem;
  }

  .close-modal-btn {
    font-size: 1.1rem;
  }
}
