/* The Modal (background) */
.gifted-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  align-items: center;
  justify-content: center;
  visibility: visible;
  opacity: 1;
}

#myGiftedModal.modal.minimal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  align-items: center;
  justify-content: center;
}

/* Modal Content */
.gifted-modal .modal-content {
  background-color: #fefefe;
  margin: auto;
  z-index: 100000000001;
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  height: max-content;
  max-height: 95%;
  overflow-y: auto;
  background-color: #fff;
}
#instructions p {
  width: 100%;
  font-size: 1em;
  display: flex;
  align-items: center;
  height: 30px;
  gap: 10px;
  margin: 0;
}
/* The Close Button */
.gifted-modal .close {
  width: 20px;
  display: block;
  margin-left: calc(100% - 40px);
  text-align: right;
  padding: 10px 10px 0 10px;
  font-size: 30px;
  line-height: 23px;
}

#recipientModal .close {
  width: 20px;
  display: block;
  margin-left: calc(100% - 40px);
  text-align: right;
  padding: 10px 10px 0 10px;
  font-size: 30px;
  line-height: 23px;
}

.gifted-modal .close:hover,
#recipientModal .close:hover,
#recipientModal .close:focus,
.gifted-mdoal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.form {
  margin-top: 50px;
}
.gifted-modal svg {
  width: 23px;
  height: 23px;
  margin-top: 2px;
  float: left;
}
.gifted-modal .btn {
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 100px;
  width: max-content;
  background-color: #000;
  color: #fff;
  height: 40px;
  min-width: 100px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid transparent;
  outline: none;
}
.gifted-modal .btn-minimal {
  border-radius: 0;
}

#gifted-checkout-btn,
#gifted-checkout-minimal,
#gifted-update-cart {
  width: 100%;
}

.gifted-modal .btn:hover {
  transform: scale(1.07);
}
/* Style the tab */
.tab {
  overflow: hidden;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 90%;
  max-width: 420px;
  margin: 0 auto 20px auto;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  /* float: left; */
  border: none;
  outline: none;
  /* cursor: pointer; */
  /* padding: 14px 16px; */
  /* width: 33%; */
  /* transition: 0.3s; */
  /* padding-top: 0; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Change background color of buttons on hover */

/* Create an active/current tablink class */

/* Style the tab content */
#myGiftedModal.minimal .tabcontent {
  display: block;
}
#myGiftedModal.minimal #gifted-checkout-tab {
  display: none;
}

.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
}
.copyright {
  text-align: center;
  clear: both;
  margin-bottom: 10px;
}
.tabcontent {
  width: 90%;
  margin: 0 auto;
}
.form-fields {
  display: flex;
  gap: 10px;
  width: 100%;
  height: 35px;
  margin-bottom: 0.7em;
}
.form-fields.textarea {
  height: 100px;
}
.form-area label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95em;
  color: #000000;
  font-weight: bold;
}
.input-fields {
  width: 100%;
  font-size: 0.85em;
  border: 1px solid;
  padding-left: 5px;
  font-family: inherit;
  border-color: rgb(0, 0, 0);
}

.btn-left {
  display: inline-block;
}
.btn-right {
  display: inline-block;
}
.btn-no-background {
  background: none !important;
  border: 1px solid #000000;
  color: #000000 !important;
}
.count {
  width: 27px;
  height: 27px;
  border-radius: 20px;
  font-size: 0.85em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3px;
  background-color: #fff;
  margin: 3px auto;
}
.count svg {
  margin-left: 5px;
  margin-right: 5px;
}

.flatpickr-input {
  display: none;
}
.remove_button {
  margin: 0 auto;
}
#instructions {
  width: max-content;
  margin: 0 auto;
}
#instructions .btn {
  margin: 10px auto;
}
#recipientModal {
  z-index: 100000000000;
  font-size: 18px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
}
#recipientModal .modal-content {
  max-width: 500px;
  z-index: 100000000001;
  display: flex;
  flex-direction: column;
  width: 90%;
  border-radius: 8px;
  height: max-content;
  max-height: 95%;
  overflow-y: auto;
  background-color: #fff;
}

.gifted-link-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.gifted-link {
  cursor: pointer;
  position: relative;
  margin-left: 10px;
}
.gifted-link:hover::after {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
.gifted-link::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  height: 1px;
  background-color: #000;
}
.gifted-link-icon {
  max-width: 20px;
}
.gifted-link-icon svg {
  width: 20px;
  height: 20px;
  margin-top: 0;
  float: left;
}

.gifted-cart-block {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#myGiftedModal #gifted-checkout-tab .input-fields {
  padding: 16px;
  margin-bottom: 20px;
}

.gifted-modal-featured-image {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.gifted-modal-top-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gifted-modal-top-header h3 {
  text-transform: uppercase;
  margin: 0;
}

.gifted-total-price-block {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
}

.gifted-total-price-block p {
  text-transform: uppercase;
  font-weight: bold;
}
.gifted-total-price-block-price {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}
.gifted-total-price {
  font-weight: bold;
}
.gifted-total-price-extra-info {
  text-transform: uppercase;
  font-size: small;
}

.gifted-bottom-buttons {
  display: flex;
  flex-direction: row;
}
.gifted-bottom-buttons .btn-left {
  flex: 1 0 30%;
  padding-right: 10px;
}
.gifted-bottom-buttons .btn-right {
  flex: 1 0 70%;
}
.gifted-bottom-buttons .add_to_cart_minimal {
}

.gifted-bottom-buttons #gifted-edit-btn {
}
.gifted-bottom-buttons .btn {
  width: 100%;
  border-radius: 0;
  min-height: 60px;
}

.gifted-bottom-buttons .btn:hover {
  transform: scale(1);
}

#gifted-checkout-btn {
  min-height: 60px;
}
#gifted-checkout-btn:hover {
  transform: scale(1);
}
