#catalog-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 clamp(0.5rem, 0.8vw, 1rem);
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  -webkit-transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    padding 0.3s ease;

  border-radius: 18px;
  box-shadow: 5px 4px 16px 1px rgba(0, 0, 0, 0.33);
}

#catalog-dropdown.open {
  opacity: 1;
}

#dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  display: inline-block;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #00939d;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

#dropdown-trigger:hover .dropdown-arrow {
  color: #22c6c9;
}

#dropdown-trigger.open .dropdown-arrow {
  transform: rotate(-90deg);
}

#dropdown-content {
  display: flex;
  flex: 1 1 33%;
  justify-content: space-between;
  padding-top: clamp(0.5rem, 1vw, 1rem);
  padding-bottom: clamp(0.5rem, 1vw, 1rem);
}

.dropdown-categories-wrapper {
  width: 33%;
  display: flex;
}
.dropdown-categories {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.52vw, 10px);
  width: 100%;
}
.dropdown-categories > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: clamp(6px, 0.52vw, 10px) clamp(6px, 0.52vw, 10px);
}

.dropdown-categories > a:hover {
  cursor: pointer;
  background-color: #dff2f6;
}
.dropdown-categories > a > div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(10px, 1.04vw, 20px);
}

.dropdown-categories > a > div > img {
  width: clamp(30px, 2.6vw, 50px);
  height: clamp(30px, 2.6vw, 50px);
  padding: 0 5px;
}

.dropdown-categories > a p {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 23px);
  color: #02646a;
}

.vert-br {
  border-left: solid 1px #a9aaaf;
  margin: 0 2%;
}

.dropdown-subcategories {
  display: flex;
  flex-direction: column;
  width: 33%;
  list-style: none;
}
.dropdown-subentry {
  padding: clamp(6px, 0.52vw, 10px) 0;
}
.dropdown-subentry > li {
  display: flex;
  align-items: flex-start;
  font-family: "Inter";
  font-weight: 600;
  font-size: clamp(13px, 1.1vw, 21px);
  color: #02646a;
  padding: clamp(5px, 0.42vw, 8px) clamp(7px, 0.625vw, 12px);
}
.dropdown-subentry > li::before {
  content: "•";
  color: #00939d;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  flex-shrink: 0;
}
.dropdown-subentry > p {
  font-family: "Inter";
  font-weight: 500;
  font-size: clamp(10px, 0.83vw, 16px);
  color: #a9aaaf;
  margin: clamp(3px, 0.26vw, 5px) 0 0 2.8em;
}
.dropdown-subentry + .dropdown-subentry {
  border-top: 1px solid #a9aaaf;
}

.dropdown-subentry:hover {
  cursor: pointer;
  background-color: #dff2f6;
}

#dropdown-banner {
  position: relative;
  width: 30%;
  padding: 0 2%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#dropdown-banner > h4 {
  margin-top: clamp(20px, 1.88vw, 36px);
  color: #445455;
  font-family: "Inter";
  font-size: clamp(19px, 1.67vw, 32px);
  font-weight: 600;
}

#dropdown-banner > p {
  color: #445455;
  font-family: "Inter";
  font-size: clamp(11px, 0.94vw, 18px);
  font-weight: 400;
  margin-top: clamp(10px, 0.83vw, 16px);
}

#specialBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: clamp(150px, 13vw, 250px);
  max-width: 250px;
  height: clamp(36px, 3.125vw, 60px);
  border: 1px solid #71aaad;
  box-shadow:
    0 0 0 2px #71aaad,
    2px 4px 5px rgba(0, 0, 0, 0.5);
  border-radius: clamp(10px, 0.83vw, 16px);
  text-decoration: none;

  display: flex;
  justify-content: space-evenly;
  align-items: center;

  background-color: #71aaad;
}
#specialBtn > p {
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.15vw, 22px) !important;
  font-weight: 800;
  color: white;
  margin: 0;
}
#specialBtn:hover {
  cursor: pointer;
  filter: brightness(0.9);
}

@media (max-width: 1150px) {
  #dropdown-banner {
    display: none;
  }

  .dropdown-categories-wrapper {
    width: 42%;
  }

  .dropdown-subcategories {
    width: 55%;
  }

  .dropdown-categories > a {
    padding: clamp(8px, 1.2vw, 12px) clamp(8px, 1.2vw, 12px);
  }

  .dropdown-categories > a > div > img {
    /* 45px @1150  →  35px @901 */
    width: clamp(35px, 3.91vw, 45px);
    height: clamp(35px, 3.91vw, 45px);
    padding: 0 4px;
  }

  .dropdown-categories > a p {
    /* 20px @1150  →  16px @901 */
    font-size: clamp(16px, 1.74vw, 20px);
  }

  .dropdown-categories > a > div {
    gap: clamp(8px, 1vw, 16px);
  }

  .dropdown-subentry {
    padding: clamp(8px, 1vw, 12px) 0;
  }

  .dropdown-subentry > li {
    /* 19px @1150  →  16px @901 */
    font-size: clamp(16px, 1.65vw, 19px);
    padding: clamp(6px, 0.6vw, 10px) clamp(8px, 0.8vw, 12px);
  }

  .dropdown-subentry > p {
    /* 14px @1150  →  12px @901 */
    font-size: clamp(12px, 1.22vw, 14px);
    margin: clamp(4px, 0.4vw, 6px) 0 0 2.8em;
  }

  .vert-br {
    margin: 0 1.5%;
  }
}

@media (max-width: 900px) {
  .dropdown-arrow {
    display: none;
  }

  #dropdown-trigger {
    width: 100%;
  }
  #dropdown-trigger > div {
    width: 100%;
  }
}
