/* ---------- Global layout ---------- */
body {
  background-image: url("pkdots.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Georgia, serif;
  margin: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

h1 {
  font-size: 32px;
  color: #6b2c2c;
  margin: 20px 0;
}

/* Closet layout */
.closet-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Outfit viewers */
.outfit-viewer, .viewer.dresses {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 260px;
  height: 400px;
  background: transparent;
  overflow: hidden;
}

.outfit-viewer img,
.viewer.dresses img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

/* Cutout buttons */
.clothing-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  z-index: 10;
}

.clothing-btn img {
  width: 50px; /* size of your cutout */
  height: auto;
  display: block;
}

/* Positioning */
.shirt-left  { left: -60px; top: 30%; }
.shirt-right { right: -60px; top: 30%; }

.pants-left  { left: -60px; bottom: 30%; }
.pants-right { right: -60px; bottom: 30%; }

.dresses-left  { left: -60px; top: 40%; }
.dresses-right { right: -60px; top: 40%; }

/* Responsive tweaks */
@media (max-width: 600px) {
  .closet-area {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .outfit-viewer, .viewer.dresses {
    width: 200px;
    height: 300px;
  }
  .clothing-btn img {
    width: 40px;
  }
}