/* Note:- As the Figma file is designed on Desktop approach, so does the Website and the styles below are Desktop First Approach. */

.collection-section {
  display: flex;
  align-items: center;
  gap: 114px;
  width: 100%;
  max-width: 1327px;
  margin: 146px auto 0;
}
.section-heading {
  font-weight: 600;
  font-size: 36px;
  line-height: 100%;
  color: rgba(3, 46, 21, 1);
}
.collection-heading {
  margin-bottom: 33px;
}
.collection-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.collection-item {
  list-style: none;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(205, 205, 205, 1);
  border-radius: 8px;
  height: 78px;
  transition: all 0.3s ease-in-out;
}
.accordion-opened {
  height: fit-content;
}
.accordion-perfume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 78px;
  padding: 24px 32px;
}
.accordion-perfume-name {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: rgba(3, 46, 21, 1);
}
.accordion-toggle-icon-group {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 30px;
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s linear;
}
.accordion-toggle-icon-group:hover {
  background-color: #05673b21;
}
.accordion-toggle-icon {
  width: 14px;
  height: 2px;
  position: absolute;
  transition: all 0.3s ease-in-out;
}
.collection-item-info {
  font-weight: 300;
  font-size: 16px;
  line-height: 20.23px;
  padding: 24px;
}
.accordion-opened .rotatable-icon {
  rotate: 90deg;
  transition: all 0.3s ease-in-out;
}
.collection-image-container {
  width: 50%;
  overflow: hidden;
}
.collection-image {
  width: 100%;
  height: 100%;
}
/* ---------------Tablet Orientation---------------- */
@media (min-width: 426px) and (max-width: 768px) {
  .collection-section {
    flex-direction: column;
    gap: 50px;
    margin: 80px auto 0;
  }
  .section-heading {
    font-size: 24px;
  }
  .collection-heading {
    margin-bottom: 26px;
    text-align: center;
  }
  .collection-list {
    gap: 12px;
    max-width: 450px;
  }
  .collection-item {
    height: 50px;
  }
  .accordion-opened {
    height: fit-content;
  }
  .accordion-perfume {
    height: 50px;
    padding: 24px 18px;
  }
  .accordion-perfume-name {
    font-size: 16px;
  }
  .accordion-toggle-icon {
    width: 12px;
  }
  .collection-item-info {
    font-size: 14px;
    padding: 14px 18px;
  }
  .collection-image-container {
    width: 80%;
  }
}

/* ---------------Mobile Orientation---------------- */
@media (max-width: 426px) {
  .collection-section {
    flex-direction: column;
    gap: 50px;
    margin: 100px auto 0;
  }
  .section-heading {
    font-size: 28px;
  }
  .collection-heading {
    margin-bottom: 26px;
  }
  .collection-list {
    gap: 12px;
  }
  .collection-item {
    height: 50px;
  }
  .accordion-opened {
    height: fit-content;
  }
  .accordion-perfume {
    height: 50px;
    padding: 24px 18px;
  }
  .accordion-perfume-name {
    font-size: 16px;
  }
  .accordion-toggle-icon {
    width: 12px;
  }
  .collection-item-info {
    font-size: 14px;
    padding: 14px 18px;
  }
  .collection-image-container {
    width: 80%;
  }
}
