* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

body {
  height: 3000px;
  background-color: #f8f9fa;
  color: #333;
}

.exercise-container {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s,
    background-color 0.2s;
}

.close-button:hover {
  transform: scale(1.1);
  background-color: #333;
}

.fixed-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  height: 180px;
  background-color: #6c757d;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.clothing-card,
.clothing-card-overlay {
  position: relative;
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
}

.clothing-card img,
.clothing-card-overlay img {
  width: 100%;
  display: block;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: black;
  color: white;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
}

.bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.add-to-cart {
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.add-to-cart:hover {
  background-color: black;
  color: white;
  border-color: black;
}
