/* Shared deduplicated styles. Keep this before component/page CSS files. */

.main_header .acc_btn {
  border-radius: 50%;
  padding: 4px;
  border: none;
  background-color: var(--primary-color);
  filter: brightness(20%);
}

.main_header .wishlist-icon {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_header .wishlist-icon button {
  border: none;
  background-color: transparent;
  padding-top: 5px;
}

.main_header .icon-heart-mask {
  background-color: var(--white-color);
}

.main_header .search-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.main_header .search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.main_header .search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.main_header .icon-search {
  font-size: 32px;
}

.main_header .btn-link:hover {
  text-decoration: none;
}

.main_header .search-box {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: var(--white-color);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  padding: 10px 20px;
  transform: translateY(-20px);
  transition: transform 0.4s ease;
}

.main_header .search-overlay.active .search-box {
  transform: translateY(0);
}

.main_header .search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
  background: transparent;
}

.main_header .close-search {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.main_header .close-search:hover {
  color: var(--black-color);
}

.main_header .wishlist-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.main_header .modal-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--backGround-color);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.4s;
}

.main_header .modal-custom.active {
  opacity: 1;
  transform: translateY(0);
}

.main_header .modal-dialog-custom {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  border-radius: 0;
  box-shadow: none;
}

.main_header .modal-body-custom {
  padding: 10px 0;
}

.main_header .modal-content-custom {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.main_header .modal-header-custom {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main_header .modal-title-custom {
  margin: 0;
  font-size: 1.5rem;
}

.main_header .close-btn-custom {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.products-details-page .product-summary-panel .border-product,
.products-details-page .product-buttons .add-to-wishlist {
  display: none;
}

.products-details-page .select-quantity-div > div.form-group {
  width: auto;
  margin: 0;
}

.products-details-page .select-quantity-div > div.form-group > div:after {
  display: none;
}

.products-details-page .quantity-step {
  cursor: pointer;
  font-size: 18px;
}

.products-details-page .quantity-step:last-child {
  border-left: 0;
}

.products-details-page .btn-add-to-cart,
.products-details-page .btn-buy-now {
  width: 100%;
  height: 48px;
  margin: 0 !important;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
}

.products-details-page .btn-add-to-cart .add-to-cart-icon,
.products-details-page .btn-buy-now .buy-now-icon {
  width: 16px;
  height: 16px;
  /* background-color: currentColor; */
}

.products-details-page .product-icon {
  display: flex;
  justify-content: flex-end;
}

.products-details-page .product-social {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
  margin: 0;
}

@media only screen and (max-width: 768px) {
  .products-details-page .product-summary-panel,
  .products-details-page .product-summary-panel > section {
    align-items: stretch;
    text-align: right;
  }

  .products-details-page .product-summary-panel h1 {
    font-size: 20px;
  }

  .products-details-page .text-short-description {
    font-size: 15px;
  }

  .products-details-page .select-quantity-div {
    width: 100%;
  }
}
