#modal-sections {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(39, 42, 70, 0.5);
  justify-content: center;
  align-items: center;
}

#modal-sections .modal-content {
  background-color: #fefefe;
  margin: auto;
  border: 1px solid #888;
  width: auto;
  border-radius: 12px;
  box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1),
    0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
}

#modal-sections .modal-content hr {
  margin: 0;
}

.modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 24px;
  right: 32px;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-modal-header {
  padding: 24px 32px;
  gap: 16px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
}

.whatsapp-modal-header h3 {
  color: #101828;
  margin: 0;
  font-family: "Poppins-Regular";
}

.whatsapp-modal-header span {
  color: #667085;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  font-family: "Poppins-Regular";
}

.whatsapp-modal-header img {
  width: 64px;
  height: 64px;
}

.whatsapp-modal-header div {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.whatsapp-modal-body {
  padding: 32px;
  gap: 20px;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
}

.whatsapp-modal-body div {
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  padding: 16px;
  width: 298px;
}

.whatsapp-modal-body div img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 4px;
}

.whatsapp-modal-body div h4 {
  font-family: "Poppins-Regular";
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.whatsapp-modal-body div a {
  color: #004fe5;
  font-family: "Poppins-Regular";
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
#whatsapp_storage > div {
  gap: 4px;
}

#whatsapp-button-shop > div {
  gap: 4px;
}

@media (max-width: 959px) {
  #whatsapp-button-shop > div {
    gap: 0px;
  }

  #whatsapp-button-shop .wphide {
    display: none;
  }
}

@media (max-width: 768px) {
  .whatsapp-modal-body {
    padding-inline: 14px;
    padding-block: 14px;
    gap: 14px;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
  }
  .whatsapp-modal-header {
    padding: 14px;
    gap: 10px;
    border-radius: 12px 12px 0 0;
  }
  .whatsapp-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
  }
  .whatsapp-modal-header span {
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -0.75px;
  }

  .whatsapp-modal-body div {
    padding: 14px;
  }

  .whatsapp-modal-body div h4 {
    font-size: 14px;
    line-height: 20px;
    margin: 0px;
  }

  .whatsapp-modal-body div a {
    font-size: 12px;
    line-height: 18px;
  }
  .whatsapp-modal-header span {
    font-size: 14px;
    line-height: 20px;
  }
  .whatsapp-modal-header img {
    width: 40px;
    height: 40px;
  }
  #modal-sections .modal-content {
    max-width: 90vw;
  }
  .modal-close {
    top: 10px;
    right: 16px;
  }
  .whatsapp-modal-body div img {
    max-height: 135px;
    margin-bottom: 12px;
    border-radius: 4px;
  }
}
