/* Modal backdrop */
.ewl_modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.3);
}

/* Modal content box */
.ewl_modal-content-lg {
  max-width: 1000px;
}
.ewl_modal-content-sm {
  max-width: 480px;
}

.ewl_modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease-in-out;
}

/* modal effect */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ewl_modal-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e1dfed;
  padding-bottom: 15px;
  margin-bottom: 1rem;
  align-items: center;
}
.ewl_modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: normal;
}

.ewl-t-lg {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.ewl_modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.ewl-light-btn {
  border: 1px solid #c1c1c1;
  color: #090909;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  padding: 12px 30px;
  text-decoration: none;
  transition: all 0.3s;
}
.ewl-light-btn:hover {
  background: #eee;
  color: #000;
  border: 1px solid #c1c1c1;
}

.ewl-dark-btn {
  background: #090909;
  border: 1px solid #090909;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  padding: 12px 30px;
  text-decoration: none;
  transition: all 0.3s;
}

.ewl-dark-btn:hover {
  background: #3f3f3f;
  border-color: #3f3f3f;
  color: #fff;
}

/* Close button */
.ewl_close-btn {
  color: #aaa;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.ewl_close-btn:hover {
  color: #000;
}

.ewl-product-list,
.ewl-created-w-list {
  display: flex;
  justify-content: baseline;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid #e1dfed;
  padding-bottom: 15px;
  margin-bottom: 1rem;
}

.ewl-created-w-list {
  padding-bottom: 0;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.ewl-product-list img {
  width: 50px;
  height: auto;
}
.ewl-product-title {
  font-size: 16px;
  font-weight: bold;
}

.ewl-created-w-list-title {
  font-size: 14px;
  font-weight: bold;
}

.ewl-created-w-list {
  border: none;
}

.ewl-created-w-list-img {
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ewl-created-w-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ewl-created-w-info {
  display: flex;
  justify-content: baseline;
  gap: 1rem;
  align-items: center;
}

/* checkbox */
input.ewl-checkbox[type="checkbox"] {
  position: relative;
  border: 2px solid #000;
  border-radius: 2px;
  background: none;
  cursor: pointer;
  line-height: 0;
  margin: 0 0.6em 0 0;
  outline: 0;
  padding: 0 !important;
  vertical-align: text-top;
  height: 18px;
  width: 18px;
  -webkit-appearance: none;
  opacity: 0.5;
}

input.ewl-checkbox[type="checkbox"]:hover {
  opacity: 1;
}

input.ewl-checkbox[type="checkbox"]:checked {
  background-color: #000;
  opacity: 1;
}

input.ewl-checkbox[type="checkbox"]:before {
  content: "";
  position: absolute;
  right: 50%;
  top: 50%;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  margin: -1px -2px 0 -1px;
  transform: rotate(45deg) translate(-50%, -50%);
  z-index: 2;
}

/* create wishlist field */
.ewl-nw {
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background: #090909;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.ewl-created-w-info input {
  border: 1px solid #c1c1c1;
  border-radius: 6px;
  height: 40px;
  padding: 10px;
  display: block;
  width: calc(100% - 40px);
}

.ewl-new-create-w {
  width: 100%;
}

.ewl-created-w-list-new-entry {
  width: 30px;
}
/* notification */
.ewl_w-notification {
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 6px;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: #fff;
}
.ewl_w-notification-text {
  font-size: 14px;
  color: #808080;
  line-height: 1.6;
}

.ewl_w-notification-text span {
  font-weight: bold;
  color: #000;
}

.ewl_w-thumb {
  width: 50px;
  height: auto;
}
.ewl_notification-sign {
  width: 30px;
  height: auto;
  right: 10px;
  position: relative;
}

.ewl_w-notification-position {
  position: absolute;
  left: 50px;
  bottom: 50px;
  animation: slideRight 0.5s ease-out forwards;
}

.ewl_w-notification-position-disappear {
  position: absolute;
  left: -330px;
  bottom: 50px;
  animation: slideLeft 0.5s ease-out forwards;
}

/* notification effect */

@keyframes slideRight {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* socail share */

.ewl-social-share-icon {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.ewl_social-share-text {
  position: relative;
  width: 100%;
}

.ewl_social-share-text input[type="text"] {
  width: 100%;
  padding: 15px 90px 15px 15px;
  font-size: 14px;
  border: 1px solid #e1dfed;
  border-radius: 30px;
  outline: none;
}

.ewl_social-share-text button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #090909;
  border: none;
  font-size: 14px;
  cursor: pointer;
  border-radius: 30px;
  color: #fff;
  padding: 10px 20px;
  transition: all 0.3s;
}

.ewl_social-share-text button:hover {
  background: #3f3f3f;
}

/* wishlist collection */

.ewl_wc-header {
  display: block;
  margin-bottom: 1.5rem;
}

@media only screen and (min-width: 768px) {
  .ewl_wc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
}

.ewl_wc-header-title {
}

.ewl_wc-action {
  display: flex;
  gap: 10px;
}

.ewl_rv-btn,
.ewl_cnc-btn {
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.ewl_rv-btn {
  border: 1px solid #c1c1c1;
  color: #808080;
  background: #eeeeee;
}

.ewl_cnc-btn {
  border: 1px solid #007aff;
  color: #007aff;
  background: #fff;
}

@media only screen and (max-width: 480px) {
  .ewl_rv-btn,
  .ewl_cnc-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  .ewl_cc-dropdown-content {
    min-width: 260px !important;
    transform: translateX(-50%);
    left: 50%;
  }
  .ewl_wc-action {
    justify-content: center;
  }
  .ewl_wc-header {
    text-align: center;
  }
}

/* wishlist grid */

.ewl_wl-grid {
  display: grid;
  column-gap: 30px;
  row-gap: 30px;
  /* grid-template-columns: auto auto; */
}

@media only screen and (min-width: 480px) {
  .ewl_wl-grid {
    grid-template-columns: auto auto;
  }
}

@media only screen and (min-width: 768px) {
  .ewl_wl-grid {
    grid-template-columns: auto auto auto;
  }
}

.ewl_wl-grid .ewl_wl-grid-item {
  border: 1px solid #ececec;
  border-radius: 10px;
  overflow: hidden;
}

.ewl_wl-grid-item-header {
  font-size: 16px;
  font-weight: bold;
  color: #141b34;
  margin-bottom: 1rem;
  padding: 20px;
}

.ewl_wl-grid-item-thumb {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.ewl_wl-grid-item-thumb img {
  width: auto;
  height: 150px;
}

.ewl_wl-grid-item-header span {
  font-size: 14px;
  font-weight: normal;
  color: #808080;
}

.ewl_wl-item-action {
  display: flex;
  background: #f3f3f3;
  padding: 10px;
}

.ewl_wl-item-action a {
  position: relative;
  flex: 1;
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  transition: background-color 0.2s ease;
  color: #000;
  border-radius: 6px;
}

.ewl_wl-item-action a:hover {
  background: #d8d8d8;
}

/* Tooltip styles */
.ewl_wl-item-action a::after,
.ewl_product-view-cart-action a::after,
.ewl_product-share-remove-action a::after,
.ewl_product-view-cart-action-responsive a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  white-space: nowrap;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}

.ewl_wl-item-action a:hover::after,
.ewl_product-view-cart-action a:hover::after,
.ewl_product-share-remove-action a:hover::after,
.ewl_product-view-cart-action-responsive a:hover::after {
  opacity: 1;
}

/* Dropdown wrapper */
.ewl_cc-dropdown {
  position: relative;
  display: inline-block;
}

.ewl_cc-dropdown-content {
  display: none;
  position: absolute;
  right: 0; /* right align */
  background-color: #fff;
  min-width: 320px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.2);
  z-index: 1;
  margin-top: 1px;
  border: 1px solid #e1dfed;
}

/* Show on hover */

/* .ewl_cc-dropdown:hover .ewl_cc-dropdown-content {
  display: block;
} */

/* Show class to toggle dropdown */
.ewl_cc-dropdown-content.show {
  display: block;
}

.ewl_cc-dropdown-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}

.ewl_cc-dropdown-content input[type="text"] {
  width: 100%;
  padding: 12px 10px;
  margin-bottom: 12px;
  border: 1px solid #c1c1c1;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 14px;
}

.ewl_cc-dropdown-submit {
  display: block;
  margin: 0 auto;
  padding: 12px 25px;
  font-size: 14px;
  background-color: #090909;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.ewl_cc-dropdown-submit:hover {
  background-color: #3f3f3f;
}

/* group title */

.ewl-group-title {
  display: flex;
  justify-content: baseline;
  align-items: center;
  gap: 1rem;
}

.ewl-group-title a {
  color: #000;
}

.ewl-group-title a svg {
  width: 25px;
  height: 25px;
}

/* collection list */
.ewl_collection-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e1dfed;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.ewl_product-info {
  gap: 1.5rem;
}

.ewl_product-info img {
  width: 100px;
  height: auto;
}

.ewl_product-info-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.ewl_product-info-title a {
  color: #000;
  text-decoration: none;
}

.ewl_product-info-price {
  font-size: 16px;
  display: flex;
  gap: 0.5rem;
}

.ewl_product-info-price del {
  color: #808080;
}
.ewl_product-info-price span {
  color: #fe5757;
}

.ewl_product-info,
.ewl_product-view-cart-action,
.ewl_product-share-remove-action,
.ewl_product-view-cart-action-responsive {
  display: flex;
  align-items: center;
}

.ewl_product-view-cart-action,
.ewl_product-share-remove-action,
.ewl_product-view-cart-action-responsive {
  gap: 0.5rem;
}

.ewl_product-view-cart-action a,
.ewl_product-share-remove-action a,
.ewl_product-view-cart-action-responsive a {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  border: 1px solid #c1c1c1;
  justify-content: center;
  align-items: center;
  color: #000;
  transition: all 0.3s;
  position: relative;
}

.ewl_product-view-cart-action-responsive {
  margin-top: 1rem;
}
.ewl_product-view-cart-action-responsive a {
  width: 30px;
  height: 30px;
}

.ewl_product-view-cart-action-responsive a svg {
  width: 15px;
  height: 15px;
}

.ewl_product-share-remove-action a {
  background: #ececec;
  justify-content: center;
  align-items: center;
  border-color: #ececec;
}

.ewl_product-view-cart-action a:hover,
.ewl_product-share-remove-action a:hover,
.ewl_product-view-cart-action-responsive a:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.ewl_product-view-cart-action-responsive {
  display: none;
}

.ewl_cld-dropdown .ewl_cnc-btn {
  border-color: #e1e1e1;
  color: #141b34;
  padding: 5px 10px;
  min-width: 260px;
  position: relative;
}

.ewl_cld-dropdown .ewl_cc-dropdown-content {
  min-width: 260px;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
}

.ewl_c-drop-btn-info {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ewl_c-drop-btn-info-thumb {
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 30px;
}

.ewl_c-drop-btn-info img {
  width: 32px;
  height: 32px;
  border-radius: 50px;
}

.ewl_c-drop-btn-info-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ewl_c-drop-btn-info span {
  font-weight: 500;
}

.ewl_c-drop-btn-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.ewl-collection-list-option {
  overflow-y: auto;
  height: 300px;
}

.ewl-collection-list-option .ewl_c-drop-btn-info {
  padding: 0.5rem;
  cursor: pointer;
}
.ewl-collection-list-option .ewl_c-drop-btn-info:hover {
  background: #ececec;
}

.ewl-cl-lft {
  width: 380px;
}

.ewl-cl-rgt {
  width: 50%;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

@media only screen and (max-width: 991px) {
  .ewl-cl-rgt,
  .ewl-cl-lft {
    width: auto;
  }
}

@media only screen and (max-width: 767px) {
  .ewl_product-view-cart-action,
  .ewl_product-share-remove-action {
    display: none;
  }
  .ewl_product-info img {
    width: 80px;
  }
  .ewl_product-info {
    gap: 1rem;
  }

  .ewl_product-view-cart-action-responsive {
    display: flex;
  }
  .ewl-group-title,
  .ewl-w-c-d-action {
    justify-content: center;
  }
  /* .ewl_wc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-around;
  } */
}

/* add to wishlist button */

.ewl_add-to-wishlist-btn {
  width: 15rem;
  background: #fff;
  border: 1px solid #c1c1c1;
  padding: 15px 30px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #090909;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: normal;
  transition: all 0.3s;
}

.ewl_add-to-wishlist-btn:hover,
.ewl-w-added-btn {
  background: #000;
  border-color: transparent;
  color: #fff;
}

/* sidebar wishlist */

.ewl_sidebar .ewl_modal-content {
  max-width: 400px;
  margin: 10px;
  padding: 20px;
  border-radius: 10px;
  position: fixed;
  right: 0;
  height: calc(100vh - 60px);
  animation: slideLeft 0.3s ease-out forwards;
}

.ewl_sidebar.ewl-sidebar-disappear .ewl_modal-content {
  right: -500px;
  animation: slideRight 0.3s ease-out forwards;
}
.ewl_sidebar.ewl-sidebar-disappear {
  background-color: transparent;
}
.ewl_sidebar .ewl_modal-content .ewl-cl-lft {
  width: auto;
}

.ewl_sidebar .ewl_modal-content .ewl_product-view-cart-action-responsive {
  display: flex;
}

.ewl_sidebar .ewl_modal-content .ewl_product-info img {
  width: 70px;
  height: auto;
}
.ewl_sidebar .ewl_modal-content .ewl_product-info-title {
  font-size: 16px;
}
.ewl_sidebar .ewl_modal-content .ewl_wc-header {
  margin-bottom: 2rem;
}
.ewl_vd-link {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  color: #141b34;
  font-size: 16px;
}
.ewl_vd-link:hover {
  text-decoration: none;
}

.ewl_q-action {
  position: relative;
  display: inline-block;
}
.ewl_q-action-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #090909;
  /* border: 1px solid #e1e1e1; */
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.3s;
}

.ewl_q-action-button:hover {
  /* border: 1px solid #e1e1e1; */
  background: #f3f4f5;
}

.ewl_q-action-button:hover {
  color: #000;
}

.ewl_q-action-menu {
  display: none;
  position: absolute;
  top: 45px;
  right: 0;
  background-color: white;
  border: 1px solid #e1dfed;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  min-width: 150px;
  z-index: 1000;
  overflow: hidden;
}
.ewl_q-action-menu.show {
  display: block;
}
.ewl_q-action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  color: #141b34;
}
.ewl_q-action-item:hover {
  background-color: #f3f4f5;
}

.ewl_sidebar .ewl_modal-content .ewl_collection-wrap {
  height: calc(100vh - 205px);
  overflow-y: auto;
}

.ewl_wl-grid .ewl_wl-grid-item {
  position: relative;
}
.ewl_collection-rename-wrap {
  position: absolute;
  left: 0;
  top: 0;
  padding: 20px;
  width: 100%;
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  background: #fff;
}

.ewl_collection-rename-wrap input {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #c1c1c1;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 14px;
}

.ewl_rnm-btn {
  padding: 6px 15px;
  font-size: 12px;
  background-color: #090909;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.ewl_rnm-btn:hover {
  background-color: #3f3f3f;
}
/* create new collection btn for dropdown */

.ews_cnc-wrap .ewl_cnc-btn {
  padding: 12px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: normal;
  text-decoration: none;
  cursor: pointer;
  min-width: 100%;
}

.ews_cnc-wrap .ewl_cnc-btn {
  border: 1px solid #007aff;
  color: #007aff;
  background: #fff;
}

.ews_cnc-wrap {
  padding: 10px;
}
