/* 
Theme Name:		 Supermarket Child
Theme URI:		 https://themes.workdo.io/wordpress/toaster/supermarket/
Description:	 Supermarket-Child is a child theme of supermarket.
Author:			   WorkDo
Author URI:		 https://www.templatemonster.com/authors/workdo/
Template:		   supermarket
Version:		   4.0
Text Domain:	 supermarket-child
*/

/* Offer Coupon Code */
.popup-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 450px;
  width: 90%;
  background-color: #fff;
  box-shadow: 5px 5px 20px 5px #0000004d;
  border-radius: 10px;
  display: none;
  z-index: 999;
  padding: 10px;
}
.popup-card .copy-text {
  position: relative;
  padding: 3px;
  background: #fff;
  border: 1px dashed #013d29;
  border-radius: 20px;
  display: flex;
}
.popup-card .copy-text input.text {
  padding: 8px;
  font-size: 16px !important;
  color: #013d29;
  border: none;
  outline: none;
  max-width: 120px;
  width: 100%;
  font-weight: 500;
  line-height: 19px;
  border-radius: 20px;
}
.popup-card .copy-text button {
  padding: 4px 10px;
  background: #6fd943;
  color: #fff;
  font-size: 14px !important;
  border: none;
  outline: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: none !important;
}
.popup-card .copy-text button:active {
  background: #60b93a;
}
.popup-card .copy-text button:before {
  content: "Copied";
  position: absolute;
  top: -45px;
  right: 0px;
  background: #6fd943;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 15px;
  display: none;
}
.popup-card .copy-text button:after {
  content: "";
  position: absolute;
  top: -20px;
  right: 25px;
  width: 10px;
  height: 10px;
  background: #6fd943;
  transform: rotate(45deg);
  display: none;
}
.popup-card .copy-text.active button:before,
.popup-card .copy-text.active button:after {
  display: block;
}
.popup-card-bottom {
  padding: 15px 10px;
}
.popup-card p {
  margin-bottom: 25px;
  margin-top: 0;
  font-size: 15px;
  color: #013d29 !important;
  font-weight: 400;
}
.popup-card p a {
  color: #013d29 !important;
}
.popup-card p span {
  font-weight: 700;
}
.popup-card h3 {
  font-weight: 700;
  font-size: 20px;
  color: #013d29 !important;
}
.popup-card .popup-btn {
  padding: 14px 26px;
  background-color: #013d29;
  box-shadow: 2px 2px 10px 0px #0000004d !important;
  text-decoration: none;
  border-radius: 10px;
  font-size: 15px !important;
  color: #fff;
  line-height: 1;
  border-radius: 20px;
  transition: 500ms all ease-in-out;
}
.popup-card .popup-btn:hover,
.popup-card .popup-btn:focus {
  box-shadow: 0px 3px 7px 0px rgb(1 61 41 / 50%) !important;
}
.popup-card .btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.popup-card .popup-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
  border-radius: 15px 15px 0 0;
  display: block;
}
.popup-card .close-btn {
  position: absolute;
  right: -10px;
  top: -10px;
  background-color: #ff3c3c;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
}
.popup-card .close-btn svg {
  width: 20px;
  height: 20px;
}
.popup-card .logo-img {
  position: absolute;
  top: -45px;
  left: 50%;
  padding: 8px;
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 2px 2px 20px 5px #00000014;
  background-color: #fff;
}
div.blue::after {
  content: " ";
  z-index: 3;
  background: rgb(0 0 0 / 70%);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
}
body.no-scroll {
  overflow: hidden;
  position: relative;
}

@media (max-width: 580px) {
  .popup-card-bottom {
    padding: 15px 10px;
  }
  .popup-card p {
    margin-bottom: 15px;
  }
}
