.donuts-selection .text-box-large {
  margin: 0 auto;
  max-height: max-content;
}

.donuts-categories {
  position: relative;
  margin-top: 100px;
  overflow: hidden;
  padding-bottom: 100px;
  margin-bottom: 50px;
}

.donuts-categories a {
  position: relative;
  display: flex;
  width: 270px;
  height: 103px;
  font-size: 25px;
  font-weight: 700;
  border-radius: 52px;
  background: #f1c5a9;
  color: #592700;
  text-align: center;
  padding: 30px;
  transition: 0.3s;
  align-items: center;
  justify-content: center;
}

img.main-image-clouds.clouds_products {
  bottom: 0 !important;
}

@media only screen and (min-width: 768px) {
  .donuts-categories a:before {
    content: "";
    background-image: url(/img/products/chocolate-melting.png);
    position: absolute;
    width: 115px;
    height: 100px;
    bottom: -51px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s;
    opacity: 0;
  }
}

.donuts-categories a:hover,
.donuts-categories a.active {
  background: #592700;
  color: white;
}

/* .donuts-categories a:hover:before, */
.donuts-categories a.active:before {
  opacity: 1;
}

.donuts-categories a:hover,
.donuts-categories a.active .donuts-categories .d-flex {
  gap: 50px;
}

.donuts-preview {
  width: 24%;
  /* max-width: 430px; */
  text-align: center;
  border-radius: 15px;
}

.donuts-preview-container {
  display: flex;
  width: 100%;
  margin-bottom: 50px;
  gap: 1.2%;
  row-gap: 80px !important;
  justify-content: flex-start;
}

.donut-preview-border {
  position: relative;
  border: 2px solid #c8a78e;
  border-radius: 15px;
  min-width: 240px;
  max-width: 290px;
  height: 280px;
  margin: 0 auto;
}

.donut-preview-bg {
  content: "";
  display: flex;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 202px;
  height: 231px;
  background: linear-gradient(169deg, #ffffff, #f4ddc9);
  border-radius: 15px;
  transition: 0.5s;
  padding-top: 30px;
  flex-direction: column;
  align-items: center;
  row-gap: 15px;
}

.donut-preview-bg h4 {
  width: 100%;
  padding: 0 22px;
  min-height: 45px;
  font-size: 18px;
  color: var(--chocolate-color);
}

.donut-preview-bg a {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 175px;
}

.donut-preview-border img {
  position: absolute;
  bottom: -85px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 190px;
  object-fit: contain;
  z-index: 1;
}

span.donut-unit {
  background: #592700;
  display: flex;
  color: white;
  width: 100%;
  height: 100%;
  max-width: 110px;
  max-height: 45px;
  font-size: 17px;
  font-weight: 500;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.category-products {
  margin-bottom: 100px;
}

@media only screen and (min-width: 781px) {
  .category-dropdown-wrapper {
    position: absolute;
    top: 6px;
    z-index: 3;
    right: 10px;
    margin-bottom: 0;
  }
}

.category-dropdown {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 38px;
  border: 2px solid #7b3f00;
  background: #fff;
  cursor: pointer;
  appearance: none;
}

.category-title {
  display: block;
  position: relative;
  font-size: 20px;
  background: #592700;
  color: white;
  width: 100%;
  padding: 18px;
  margin-bottom: 1rem;
  text-align: center;
  border-radius: 40px;
}

h3.category-title:before {
  content: "";
  bottom: -52px;
  position: absolute;
  width: 115px;
  height: 101px;
  background-image: url(/img/products/chocolate-melting.png);
}

.category-dropdown-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  text-align: center;
}

.custom-select {
  position: relative;
  width: 250px;
  user-select: none;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border: 2px solid #7b3f00;
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  color: #7b3f00;
  transition:
    background 0.2s,
    color 0.2s;
}

.custom-select__trigger:hover {
  background: #7b3f00;
  color: #fff;
}

.custom-select__arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__options {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid #7b3f00;
  border-radius: 10px;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 8px 20px rgba(123, 63, 0, 0.15);
}

.custom-select.open .custom-select__options {
  display: block;
}

.custom-option {
  padding: 11px 20px;
  cursor: pointer;
  color: #7b3f00;
  font-size: 0.95rem;
  transition:
    background 0.15s,
    color 0.15s;
}

.custom-option:hover,
.custom-option.active {
  background: #7b3f00;
  color: #fff;
}

/*Responsive*/

@media only screen and (max-width: 1100px) {
  .donuts-categories a {
    font-size: 20px;
  }
}

@media only screen and (max-width: 1020px) {
  .donuts-preview {
    width: 32.333333%;
  }
}

@media only screen and (max-width: 915px) {
  .donuts-categories a {
    font-size: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .donut-preview-border {
    position: relative;
    border: 2px solid #c8a78e;
    border-radius: 15px;
    min-width: 190px;
    max-width: 190px;
    height: 270px;
    margin: 0 auto;
  }
  .donut-preview-bg {
    width: 150px;
    height: 230px;
  }

  .donut-preview-bg h4 {
    min-height: 65px;
  }

  .donuts-categories a {
    height: 61px;
    padding: 21px;
    margin: 0 10px;
  }
}

@media only screen and (max-width: 690px) {
  .donuts-preview-container {
    row-gap: 80px !important;
  }

  .donut-preview-border {
    max-width: 240px;
  }

  /* .donut-preview-border img {
    left: -20px;
    bottom: -80px;
    max-width: 300px;
  } */
}

@media only screen and (max-width: 630px) {
  .donuts-preview {
    width: 49%;
  }
  .donut-preview-bg {
    width: 200px;
    height: 230px;
  }
  .donuts-preview-container {
    justify-content: space-between;
  }
}

@media only screen and (max-width: 545px) {
  .donut-preview-border {
    min-width: 180px;
    max-width: 180px;
  }

  .donut-preview-bg {
    width: 145px;
  }

  /* .donut-preview-border img {
    left: -20px;
    bottom: -60px;
    max-width: 230px;
  } */
}

@media only screen and (max-width: 460px) {
  .donuts-preview {
    width: 48%;
  }
  .donuts-categories a {
    height: 61px;
    display: inline-flex !important;
    padding: 0 15px;
    margin: 0 10px;
    align-items: center;
  }
  /* .donut-preview-border img {
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px;
    width: 100%;
    max-width: 230px;
  } */

  .donut-preview-bg h4 {
    width: 100%;
    font-size: 14px;
    padding: 0 10px;
    color: var(--chocolate-color);
  }

  span.price-display {
    max-width: 60px;
    max-height: 30px;
    font-size: 11px;
  }
  /* .donut-preview-border img {
    left: -20px;
    bottom: -52px;
    max-width: 170px;
  } */

  .donuts-preview-container {
    column-gap: 0;
  }

  .donuts-categories {
    margin-top: 100px;
    overflow: hidden;
    padding-bottom: 70px;
    margin-bottom: 150px;
  }
}

@media only screen and (max-width: 410px) {
  .donut-preview-border {
    min-width: 170px;
    max-width: 130px;
    height: 215px;
  }

  .donut-preview-bg h4 {
    min-height: 50px;
  }

  .donut-preview-bg {
    width: 142px;
    height: 190px;
    top: 10px;
    padding-top: 20px;
  }
  span.donut-unit {
    max-width: 100px;
    max-height: 35px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
  }
  .donuts-preview-container {
    row-gap: 50px !important;
  }
}

@media only screen and (max-width: 375px) {
  .donut-preview-border {
    min-width: 150px;
    max-width: 150px;
    height: 215px;
  }
  .donut-preview-bg {
    width: 122px;
    height: 190px;
    top: 10px;
    padding-top: 20px;
  }
}
