/* -----------------------  tww-popup wishlist notification */
.tww-modal-notification {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 10000;
  text-align: center;
}

.theme-cepatlakoo .tww-modal-notification {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 10000;
  text-align: center;
}

.tww-popup {
  padding: 30px;
  background: #fff;
  border-radius: 5px;
  width: 40%;
  max-width: 400px;
  min-width: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tww-popup .footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.tww-popup .footer .btn-secondary {
  background-color: #6C757D;
  border: none;
  color: #fafafa;
}

.tww-popup h2 {
  margin: 30px 0 30px 0 !important;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
}

.tww-popup p {
  font-size: 80px;
  line-height: 80px;
  margin: 0;
  color: #06D85F;
}

.tww-popup .close {
  position: absolute;
  display: none;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.tww-popup .close:hover {
  color: #06D85F;
}

.tww-popup .content {
  max-height: 30%;
  overflow: auto;
}

.tww-popup .fa-lock {
  color: #DC3545;
}

.tww-popup .content .wc-forward {
  background-color: #399e5a !important;
}

/* ---------------------- icon pop up color */

.icon-check {
  fill: #06D85F !important;
}

.icon-alert {
  fill: #FF8F77 !important;
}

/* -----------------------  wishlist menu */
.wishlist .product-remove {
  gap: 12px;
  align-items: center;
  height: 100%;
}

.wishlist .product-remove .tww-wishlist-remove {
  text-align: center;
  line-height: 120%;
}

/* .woocommerce ul.products li.product .tww-wishlist-remove svg {
  display: none;
  transition: 0.5s all;
}

.woocommerce ul.products li.product .tww-wishlist-remove:hover svg {
  display: block;
}

.woocommerce ul.products li.product .tww-wishlist-button svg {
  transition: 0.5s all;
  display: block;
}

.woocommerce ul.products li.product .tww-wishlist-button:hover svg {
  display: none;
} */

.shop_table .product-remove {
  gap: 10px !important;
  display: flex;
  flex-wrap: wrap;
}

.shop_table .woocommerce-orders-table__row .product-remove {
  gap: 10px !important;
  display: flex;
  flex-wrap: wrap;
}

/* -----------------------  card product button wishlist */
.tww-wishlist-container {
  clear: both;
}

.tww-wishlist-container .tww-wishlist-remove,
.tww-wishlist-button {
  width: 100%;
  text-align: center;
  transition: 0.5s all;
}

.tww-modal-login-notification {
  opacity: 1 !important;
}

.woocommerce ul.products li.product .button {
  margin-bottom: 0;
  width: 100% !important;
  text-align: center;
  /* padding: 10px 0 !important; */
  text-decoration: none !important;
}

/* ----------------------- modal position */
.modal.show .modal-dialog {
  margin-top: 25vh;
}

/* generate press */
.woocommerce div.product form.cart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* twenty twenty */

a.button {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.tww-wishlist-container {
  width: 100% !important;
}

/* astra */

.woocommerce-js div.product form.cart div.quantity {
  margin: 0 !important;
}

.woocommerce-js div.product form.cart .button {
  margin-bottom: 0 !important;
  text-decoration: none !important;
}

/* oceanwp */
.woocommerce ul.products li.owp-content-center .product-inner {
  margin-bottom: 8px;
}

/* twenty-twenty four */
.woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* twenty-twenty three */
.woocommerce a.button,
.woocommerce button.single_add_to_cart_button,
.woocommerce button[name=add-to-cart],
.woocommerce button[type=submit]:not(.wp-block-search__button),
.woocommerce input[name=submit] {
  margin-top: 0 !important;
  text-decoration: none !important;
}

/* twenty-twenty one */

.site .button:hover,
.site .button:active,
button:hover,
button:active,
input[type=submit]:hover,
input[type=submit]:active,
input[type=reset]:hover,
input[type=reset]:active,
.wp-block-search .wp-block-search__button:hover,
.wp-block-search .wp-block-search__button:active,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:active,
.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:active {
  text-decoration: none !important;
}

/* kadance */

.woocommerce div.product .button.single_add_to_cart_button {
  height: auto !important;
}

/* storefront */
.woocommerce ul .status-publish .add_to_cart_button,
.product_type_grouped,
.product_type_external {
  margin-bottom: 12px !important;
}

/*------------------------ twenty twenty two */

.woocommerce a.button,
.woocommerce button.single_add_to_cart_button,
.woocommerce button[name=add-to-cart],
.woocommerce button[type=submit]:not(.wp-block-search__button),
.woocommerce input[name=submit] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 12px !important;
  justify-content: center;
}

.woocommerce .wp-block-post a.button {
  padding: 12px 0 !important;
  text-decoration: none !important;
}

.woocommerce .wp-block-add-to-cart-form a.button {
  padding: 12px 0 !important;
  text-decoration: none !important;
}

.woocommerce .tww-popup .modal-footer a.button {
  padding: 12px 0px !important;
  text-decoration: none !important;
}

/* twenty twenty */

.woocommerce a.button:hover,
a.button:visited {
  text-decoration: none !important;
}

.twfp-preview-spinner {
  animation: rotate 2s linear infinite;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  width: 50px;
  height: 50px;

  & .path {
    stroke: #ccc;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
  }

}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }

  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}


/* update january */

.twfp-container {
  padding-top: 10px !important;
  width: 100%;
  background-color: unset !important;
  position: relative;
}

.twfp-container h3 {
  width: 100% !important;
}

.twfp-preview-controller-input {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.twfp-container .twfp-preview-controller select,
.twfp-container .twfp-preview-controller input {
  width: 35%;
  margin-bottom: 0 !important;
}

.font-size-select {
  width: fit-content !important;
  display: flex;
  justify-content: start;
  gap: 20px;
}

/* //input */

.twfp-container input {
  padding: 8px 24px !important;
  color: #131313 !important;
  border: 1px solid #ebebeb !important;
  box-shadow: unset !important;

}

.twfp-container select {
  color: #131313 !important;
  border: 1px solid #ebebeb !important;
  transition: none !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 12px 0 12px 12px !important;
  /* Arrow */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 4% top 50% !important;
  background-size: 0.50rem auto !important;

}

.twfp-container select:focus {
  border: 1px solid #ebebeb !important;
  box-shadow: 4px 4px 4px 0px rgba(55, 131, 245, 0.10), -4px -4px 4px 0px rgba(55, 131, 245, 0.10) !important;
}

.twfp-container input::placeholder {
  color: #8f8f8f !important;
  font-size: 14px !important;
}

.twfp-container input:focus {
  border: 1px solid #E5EFFF !important;
  box-shadow: 4px 4px 4px 0px rgba(55, 131, 245, 0.10), -4px -4px 4px 0px rgba(55, 131, 245, 0.10) !important;
}

/* //input */
.twfp-preview-controller {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.twfp-preview-controller .twfp-preview-text-size {
  min-width: 55px;
  background-color: unset !important;
  font-size: 12px !important;
  color: #555 !important;
  text-transform: lowercase !important;
  border: 1px solid #ebebeb !important;
  opacity: .6;
}

.twfp-preview-controller .twfp-preview-text-size:hover,
.twfp-preview-controller .selected {
  background-color: unset !important;
  font-weight: normal;
  cursor: pointer;
  border-color: #ccc !important;
  opacity: 1;
}

.twfp-preview-render {
  position: relative;
}

.twfp-preview-loading {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
}

/* .twfp-preview-controller .twfp-preview-text-size:nth-child(2) {
  font-size: 14px !important;
}

.twfp-preview-controller .twfp-preview-text-size:nth-child(3) {
  font-size: 16px !important;
}

.twfp-preview-controller .twfp-preview-text-size:nth-child(4) {
  font-size: 18px !important;
} */

.twfp-preview-controller .input::placeholder {
  color: #a9a9a9 !important;
}

.twfp-preview-container h4.font-label,
#twfp-preview-glyphs h4 {
  font-size: 16px !important;
  font-weight: 600;
  margin-bottom: 8px !important;
  position: relative;
  z-index: 100;
}

.twfp-preview-container img {
  margin-bottom: 16px;
  height: 100% !important;
  max-width: fit-content !important;
}

.twfp-preview-container label {
  width: 100%;
  position: relative;
  z-index: 999;
}

.twfp-preview-container h4.font-label {
  margin-bottom: 1rem !important;
}

.twfp-preview-container h4.font-label span {
  font-weight: normal;
  font-size: 11px;
  text-transform: uppercase;
  margin-left: 10px;
}

#twfp-preview-glyphs .pagination span {
  background-color: #e4e4e4;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s all;
}

#twfp-preview-glyphs .pagination span:hover {
  background-color: #131313;
  color: #fafafa;
}

#twfp-preview-glyphs .pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#twfp-preview-glyphs .pagination .page-selected {
  background-color: #131313 !important;
  color: #fafafa;
}

#twfp-preview-glyphs hr {
  margin: 20px 0 !important;
}

/* canvas */

#twfp-preview-glyphs canvas {
  width: 100% !important;
  height: auto !important;
  padding: 4px;
  border: 1px solid #d7d7d7;
}

#twfp-preview-glyphs .glyph-list {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  border: 1px solid #d7d7d7;
}

/* overlay */

.twfp-overlay {
  position: relative;
  overflow: hidden;
}


.twfp-overlay .overlay-light {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, #FFF 3.34%, rgba(255, 255, 255, 0.00) 20.69%);
}

#twfp-preview-glyphs {
  max-width: 800px;
  padding: 0 2em 2em 2em;
  margin: 24px;
  background-color: white;
  position: relative;
  z-index: 10;
  overflow: scroll;
  min-height: 20vh;
  max-height: 95vh;
}

#twfp-preview-glyphs > div {
  display:none;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.lightbox:target {
  display: none;
}

.lightbox #twfp-preview-glyphs .close {
  position: relative;
  display: block;
  top: 24px;
  float: right;
  cursor: pointer;
  height: auto;
  z-index: 9999;
}

.lightbox #twfp-preview-glyphs .close a {
  font-size: 24px;
  color: #000;
  text-decoration: none;
}

@media only screen and (max-width: 980px) {
  .twfp-preview-controller-input {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 768px) {

  .box {
    width: 80%;
  }

  .tww-popup {
    width: 90%;
  }

  .woocommerce table.shop_table_responsive tr td.product-thumbnail,
  .woocommerce-page table.shop_table_responsive tr td.product-thumbnail {
    position: relative;
    padding: 10px 0;
  }

  .woocommerce-cart table.cart td.product-name,
  .woocommerce-page table.shop_table_responsive tr td.product-price {
    padding: 0;
    font-weight: 600;
  }

  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dadada;
  }

  table>thead>tr>td,
  table>thead>tr>th,
  table>tbody>tr>td,
  table>tbody>tr>th,
  table>tfoot>tr>td,
  table>tfoot>tr>th {
    border: none;
  }

  #twfp-preview-glyphs {
    margin-top: 0;
  }

  .tww-popup .footer {
    flex-wrap: wrap;
  }

  #twfp-preview-glyphs .glyph-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(20, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }

  .twfp-container select,
  .twfp-container input,
  .font-size-select {
    width: 100% !important;
  }

  .twfp-preview-controller {
    gap: 16px;
  }

  /* glyph */
}