/**** General ****/
.text-center{
	text-align: center !important;
}

.text-danger{
	color: red !important;
}



/***** Wishlist *****/
.expsc-wishlist__container a:hover, .expsc-wishlist__container a:active, .expsc-wishlist__container a:focus{
	text-decoration: none !important;
	border: none !important;
	outline: none !important;
}

.expsc-wishlist a, .expsc-wishlist button{
	display: inline-block;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}


/*****  Cart Change Modal  ****/

#cart-change-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.expsc__popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.expsc__popup-content {
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	position: relative;
	z-index: 100;
}
.scm__modal button{
	border: none;
	cursor: pointer;
	padding: 10px;
	text-align: center;
	display: inline-block;
}
.expsc__popup-content button {
	margin: 10px;
	padding: 10px 20px;
	background: #0073e6;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.expsc__popup-content button:hover {
	background: #005bb5;
}


/*****/
.scm__modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	background-color: var(--overlay-color);

}

.scm__modal-title{
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: normal;
	color: var(--popup-text-color);
}

.scm__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 998;
}
.scm__modal-content {
	position: relative;
	z-index: 999;
}

.scm__modal-content {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	width: 300px;
	position: relative;
	background-color: var(--popup-bg-color);
	color: var(--popup-text-color)!important;
}

.scm__close-btn {
	background-color: #ccc;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.close-cross {
	position: relative;
	width: 16px;
	height: 2px;
	background-color: #000;
	transform: rotate(45deg);
}

.close-cross::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 16px;
	height: 2px;
	background-color: #000;
	transform: rotate(90deg);
}


/* .scm__close-btn img{
	width: 30px;
	padding: 5px;
	cursor: pointer;
	height: 30px;
} */

.scm__modal-buttons {
	margin-top: 10px;
}

.scm__cancel-btn {
	background: #ccc;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
}

.scm__save-btn {
	color: var(--btn-text-color);
	background-color: var(--btn-bg-color);
}

.scm__share-icons{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
}
.scm__share-icons a, .scm__share-icons div{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	max-width: 33.3%;
	outline: none !important;
	text-decoration: none !important;
	transition: all .1s ease-in-out;
	user-select: none;
	width: 150px;
	cursor: pointer;

}
.scm__share-icons a img{
	width: 50px;
	height: 50px;
}

.scm__share-icons a span, .scm__share-icons div span{
	/* color: black; */
	font-size: 14px;
}

.scm__svg {
	width: 24px;
	height: 24px;
	fill: #555;
}

.scm__modal .scm__cart-field{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.scm__cart-label{
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

.scm__modal .scm__cart-input{
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	margin-bottom: 10px;
	box-shadow: none;
	background-color: transparent;
	-webkit-appearance: none;
	box-sizing: border-box;
	font-weight: 400;
}

.scm__modal .scm__cart-input:focus{
	outline: none;
	border: 1px solid #ccc;
	background-color: transparent;
}

.scm__modal-header{
	display: flex;
	justify-content: space-between;
	color: var(--popup-text-color);

}

.scm__cart_btn_pair{
	/* display: inline-flex; */
	/* gap: 5px; */
}

.scm__icon span{
	color: var(--popup-text-color) !important;

}

/**************/

.expsc-container {
}

.expsc-table {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
}

.expsc-table th, .expsc-table td {
	text-align: left;
	padding: 10px;
	border: 1px solid #ddd;
}



.expsc-table th {
	background-color: #f1f1f1;
}

.expsc-table img {
	max-width: 60px;
	height: auto;
}


.added-to-wishlist {
	cursor: pointer;
	transition: color 0.3s;
}

.added-to-wishlist.added .expsc-wishlist-heart {
	color: red;
}

.wishlist-page-link {
	display: block;
	margin-top: 10px;
	text-decoration: none;
}
.wishlist-page-link:hover {
	text-decoration: underline;
}

.expsc-wishlist-heart {
	display: inline-block;
	width: 24px;
	height: 24px;
	background-image: url('../icons/heart.svg');
	background-size: cover;
	background-position: center;
	margin-right: 5px;
	vertical-align: middle;
	cursor: pointer;
}

.added-to-wishlist.added .expsc-wishlist-heart {
	background-image: url('../icons/heart-fill.svg');
}

.expsc-wishlist-heart + span {
	font-size: 14px;
	color: #333;
	cursor: pointer;
}
#scm__share_cart, #scm__save_cart, #scm__print_cart, #scm__empty_cart , #scm__save_update_cart, .expsc-remove-to-wishlist, .expsc-add-to-cart{
	margin : 5px;
	cursor: pointer;
	padding: 10px;
	text-align: center;
	display: inline-block;
}

#scm__share_cart{
	color: var(--share-btn-text-color);
	background-color: var(--share-btn-bg-color);
}

#scm__save_cart{
	color: var(--save-btn-text-color);
	background-color: var(--save-btn-bg-color);
}

#scm__save_update_cart{
	color: var(--update-btn-text-color);
	background-color: var(--update-btn-bg-color);
}

#scm__print_cart{
	color: var(--print-btn-text-color);
	background-color: var(--print-btn-bg-color);
}

#scm__empty_cart{
	color: var(--empty-btn-text-color);
	background-color: var(--empty-btn-bg-color);
}

.expsc-success-message {
	background-color: #d4edda;
	color: #155724;
	padding: 10px;
	border: 1px solid #c3e6cb;
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	font-size: 16px;
	border-radius: 5px;
	display: none;
}

.expsc-fail-message {
	background-color: #f8d7da;
	color: #721c24;
	padding: 10px;
	border: 1px solid #f5c6cb;
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	font-size: 16px;
	border-radius: 5px;
	display: none;
}


/***********/
.expsc-container {
	margin: 20px;
}

.expsc-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	margin-bottom: 20px;
}

.expsc-table th,
.expsc-table td {
	padding: 10px;
	border: 1px solid #ddd;
}

.expsc-table th {
	background-color: #f9f9f9;
	font-weight: bold;
}

.action-menu {
	position: relative;
	display: inline-block;
}

.action-menu-trigger {
	cursor: pointer;
	font-weight: 900;
	text-align: center;
	display: flex;
	justify-content: center;
	width: 30px;
	line-height: normal;
	height: 30px;
	border: 1px solid;
	border-radius: 50%;
}

.action-menu-content {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	z-index: 10;
	min-width: 140px;
}

.action-menu-content a,
.action-menu-content div {
	padding: 10px;
	text-decoration: none !important;
	color: #333;
	display: block;
	cursor: pointer;
	text-align: left;
	border-bottom: 1px solid #ccc;
}

.action-menu-content a:hover,
.action-menu-content div:hover {
	background-color: #f0f0f0;
}

.action-menu a:hover{
	text-decoration: none !important;
}

/*Share Cart Icon */

.expsc-icon{
	width: 48px;
	height: 48px;
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}

.expsc-icon-facebook {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/facebook.svg');
}

.expsc-icon-twitter {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/twitter.svg');
}

.expsc-icon-whatsapp {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/whatsapp.svg');
}

.expsc-icon-linkedin {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/linkedin.svg');
}

.expsc-icon-skype {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/skype.svg');
}

.expsc-icon-email {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/email.svg');
}

.expsc-icon-messenger {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/messenger.svg');
}

.expsc-icon-telegram {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/telegram.svg');
}

.expsc-icon-print {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/print.svg');
}

.expsc-icon-copylink {
	background-image: url('/wp-content/plugins/save-share-cart-get-discount/assets/icons/copylink.svg');
}

.epsc_remove .woocommerce-info:has(.hide){
	display: none;
}
