@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --primary: #f76731;
}

* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.container {
  width: 100vw;
  height: 100vh;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  position: relative;
  width: 410px;
  height: 645px;
  background: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.2px solid rgba(27, 31, 35, 0.15);
  box-shadow: rgba(0, 0, 0, 0.02) 0px 2px 4px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1.2px;
  transition: 0.3s;
}

.card:hover {
  box-shadow: 7px 7px 0px rgba(0, 0, 0, 0.95);
  transform: translate(-5px, -5px);
  border: 1.2px solid rgba(0, 0, 0, 0.901);
  background-color: #ffffff;
}

.image-container {
  width: 60%;
  margin-left: 4.6rem;
  margin-top: 0.4rem;
  height: 55%;
  object-fit: cover;
  background-position: top;
  background-size: 100% auto;
  transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.image-container:hover {
  background-size: 110% auto;
}

.gradient {
  position: absolute;
  width: 100%;
  height: 65%;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.178) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  z-index: 5;
  pointer-events: none;
}

.data {
  margin-top: 1.6rem;
}

.row-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
}

.title {
  font-weight: 500;
  font-size: 30px;
}

.price {
  color: red;
  font-weight: 400;
  font-size: 24px;
}

.product-options {
  position: absolute;
  width: 100%;
  margin-top: 16px;
  padding: 5px 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #000;
  border: 1px solid #e9e7e7;
  cursor: pointer;
  background: background;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.096);
}

.more-options-container {
  width: 40px;
  position: absolute;
  right: 18px;
  top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.more-options-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgb(105, 159, 218);
  background: #333;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(86, 221, 255, 0.35);
  margin-bottom: 10px;
}

.more-options {
  width: 45px;
  padding: 18px 0;
  background: rgb(182, 255, 240);
  border-radius: 40px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  transform-origin: top;
  overflow: hidden;
}

.more-options i {
  text-align: center;
  cursor: pointer;
  font-size: 15px;
}

.more-options .bi-heart-fill {
  color: var(--primary);
}

.show-options {
  display: flex;
}

.row-2 {
  margin-top: 16px;
  display: flex;
  align-items: center;
  padding: 0 26px;
}

.color-text {
  margin-right: 10px;
  font-size: 18px;
}

.available-colors {
  display: flex;
  gap: 8px;
}

.color-item {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.row-3 {
  margin-top: 12px;
  margin-bottom: 16px;
  padding: 5px 24px;
}

.row-3 p {
  font-size: 14px;
  letter-spacing: 0.4px;
}

.btnflex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0rem 1rem;
}

.add-to-cart-btn {
  background-color: #333;
  border: 1.2px solid #333;
  color: white;
  margin: 0 5px;
  font-size: 16px;
  border-radius: 9px;
  font-weight: 500;
  width: 100%;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.add-to-cart-btn:hover {
  /* background-color: #fff; */
  background-color: #6a53ff;
  color: rgb(255, 255, 255);
  border: 1.2px solid #6a53ff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.btn1 {
  background-color: rgb(255, 255, 255);
  border: 1.2px solid rgb(82, 81, 81);
  color: rgb(0, 0, 0);
}

.btn1:hover {
  background-color: rgb(248, 45, 45);
  color: rgb(255, 255, 255);
  border: 1.2px solid rgb(248, 45, 45);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
