body {
    background-image: url("https://blinkies.cafe/purple-stars-bg.gif");
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.main-container {
    display: flex;
    gap: 20px;
    max-width: 1000px;
}

/* Containers de Bordas */
.box-container {
    border: 2px solid black;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    margin-bottom: 10px;
}

.box-header {
    background-image: url("https://dividers.crd.co/assets/images/gallery04/937bcf07.gif?v=05d33f91");
    border-bottom: 2px solid black;
    padding: 5px;
    text-align: center;
    letter-spacing: 1px;
        display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.left-column { width: 300px; }
.right-column { width: 650px; display: flex; flex-direction: column; gap: 10px; }

.doll-display {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("https://dividers.crd.co/assets/images/gallery04/937bcf07.gif?v=05d33f91");
}

.doll {
    position: relative;
    width: 200px;
    height: 350px;
    background: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.options-grid {
    display: grid;
    gap: 5px;
    padding: 10px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.img-slot {
    width: 100%;
    border: 1px solid black;
    border-radius: 5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-slot img { width: 90%; height: 90%; object-fit: contain; }

.option-item span {
    font-size: 8px;
    line-height: 1;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Arial", sans-serif;

  color: #333;
  background: linear-gradient(180deg, #f8c8d8, #f2a7c0);
  border: 2px solid #c98aa0;
  border-radius: 12px;

  box-shadow: 
    0 4px 0 #c98aa0,
    0 6px 10px rgba(0, 0, 0, 0.1);

  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.btn-action:hover {
  background: linear-gradient(180deg, #ffd6e2, #f5b3cc);
  transform: translateY(-1px);
  box-shadow: 
    0 5px 0 #c98aa0,
    0 8px 12px rgba(0, 0, 0, 0.12);
}

.btn-action:active {
  transform: translateY(3px);
  box-shadow: 
    0 2px 0 #c98aa0,
    0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-save {
    width: 100%;
    margin-top: 10px;
    background: #ffc0cb; 
    border: 2px solid black;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}

.option-item:hover .img-slot {
    background: #f0f0f0;
}

.carousel {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
}

.carousel button {
    background: #ffc0cb; 
    border: 2px solid black;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.options-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    gap: 8px;
    width: 100%;
}

.options-grid::-webkit-scrollbar {
    display: none;
}

.option-item {
    flex: 0 0 auto;
    width: 70px;
}


#hair { z-index: 1; }
#bottom { z-index: 2; }

#shoes { z-index: 4; }