body { font-family: 'Poppins', sans-serif; background-color: #F5F5F5; } .navbar-brand { font-weight: 600; color: #7C4DFF !important; } .item-card { cursor: pointer; transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; } .item-card:hover { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); } .item-color-preview { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #eee; } .dressing-room-wrapper { position: sticky; top: 2rem; } .dressing-room { position: relative; width: 100%; max-width: 400px; /* Adjust as needed */ margin: auto; aspect-ratio: 2 / 3; background-color: #E0E0E0; border-radius: 0.5rem; overflow: hidden; } /* New Model Selector Styles */ .model-selector .model-thumbnail { width: 80px; height: 80px; object-fit: cover; cursor: pointer; border: 2px solid transparent; border-radius: 0.25rem; transition: border-color 0.2s ease; } .model-selector .model-thumbnail:hover { border-color: #AEAEAE; } .model-selector .model-thumbnail.active { border-color: #7C4DFF; box-shadow: 0 0 10px rgba(124, 77, 255, 0.5); } /* New Model Display Styles */ .model-display-container { position: relative; width: 100%; height: 100%; } #model-display { width: 100%; height: 100%; object-fit: cover; } .clothing-item { position: absolute; background-size: contain; background-repeat: no-repeat; mix-blend-mode: multiply; /* This helps blend the color with the model's clothes */ opacity: 0.8; } /* Repositioning the clothing items */ #cap-display { top: 2%; left: 38%; width: 24%; height: 15%; background-color: transparent; /* Initially no color */ } #shirt-display { top: 18%; left: 25%; width: 50%; height: 35%; background-color: transparent; } #pants-display { top: 50%; left: 25%; width: 50%; height: 50%; background-color: transparent; }