/* Switcher person type */
body.woocommerce-cart .switcher-wrapper, body.woocommerce-checkout .switcher-wrapper {
  display: none;
}

.switcher-wrapper {
  display: flex;
  position: relative;
  background: #f6f6f6;
  border-radius: 10px;
  overflow: hidden;
}

.switcher-wrapper:hover {
  cursor: pointer;
}

.switcher-option {
  padding: 4px 8px;
	color: #333333;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	transition: .3s;
	z-index: 2;
}

.switcher-option.active {
  color: white;
}

.switcher-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: #4C8306;
  border-radius: 10px;
  transition: .3s;
  z-index: 1;
}

@media(max-width: 768px) {
  .switcher-option {
    padding: 6px 12px;
  }
}

/* Discount amount (percentage) */
.discount-info {
  display: inline-block;
  padding-left: 5px;
  color: red;
  font-size: 20px;
}

/* Discount table */
.pqd-table th, .pqd-table td {
	padding: 10px;
	border: none;
	text-align: center;
	font-size: 16px;
}

.pqd-table th {
	font-weight: 600;
}

.pqd-table .price-with-discount {
  font-size: 15px;
}

/* Popup tip persoana */
.pqd-popup-container {
  display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(5px);
	background: rgba(0, 0, 0, .5);
	align-items: center;
	justify-content: center;
	z-index: 1000;
	animation: popupFadeIn 0.4s ease-in-out;
}

.pqd-popup-modal {
  position: relative;
	flex-direction: column;
	padding: 30px 50px 40px;
	background: #ffffff;
	backdrop-filter: blur(10px);
	border-radius: 10px;
	text-align: center;
	animation: popupSlideIn 0.5s ease-out;
}

.pqd-popup-message .pqd-popup-modal {
  max-width: 50%;
}

.pqd-popup-modal h2 {
	padding-bottom: 8px;
	font-size: 24px !important;
	color: #000000;
}

.pqd-popup-modal button {
	margin: 0 8px;
	padding: 10px 20px !important;
	border: none;
	font-size: 15px;
}

.pqd-popup-modal .popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.pqd-popup-modal .popup-close:hover {
  cursor: pointer;
}

@keyframes popupFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes popupSlideIn {
	from { transform: translateY(-30px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@media(max-width: 991px) {
  .pqd-popup-message .pqd-popup-modal {
    max-width: 100%;
  }
}

@media(max-width: 768px) {
	.pqd-popup-container {
		padding: 0 20px;	
	}
	
	.pqd-popup-modal {
		padding: 20px;
	}

	.pqd-popup-modal button {
		margin: 8px 0;
		padding: 10px 20px;
	}
}