/*
	Theme Name:     Propharm Child
	Theme URI:      http://www.enovathemes.com/propharm
	Description:    Propharm - Pharmacy Medical WooCommerce WordPress Theme
	Author:         Enovathemes
	Author URI:     https://enovathemes.com
	Version:        1.0
	Template:       propharm
	Text Domain: propharm-child
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

body.admin-bar .layout-sidebar.active.active,
body.admin-bar .mobile-container {
	padding-top: 60px !important;
}
.woocommerce-form-row {
	max-width: unset;
}
.child-vendor-info {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	max-width: 400px;
	margin-top: 30px;
	border: 1px solid #ededed;
	border-radius: 5px;
	padding: 10px;
}
.child-vendor-info .profile-img {
	width: 100px;
}
.child-vendor-info .profile-img img {
	border-radius: 50%;
}
.child-vendor-info .child-vendor-info-details {
	width: calc(100% - 110px);
}
.child-vendor-info a.child-profile-link {
	display: block;
}
.child-vendor-info .child-vendor-info-details .store-name {
	margin: 0 0 10px 0;
	line-height: 100%;
	font-size: 20px;
	text-transform: capitalize;
}
.bm-lc-button,
.child-vendor-info .bm-lc-button {
	line-height: 100%;
	min-width: unset;
	padding: 10px 20px;
	font-size: 16px;
	border-radius: 50px;
}
.menu-item .bpbmuc {
	position: absolute;
	top: -5px;
	right: -15px;
	margin-right: 0;
	padding-right: 0;
}
.bp-messages-wrap .threads-list .empty .bpbm-empty-link,
.bp-messages-wrap .thread-not-selected .empty .bpbm-empty-or,
.bp-messages-wrap .thread-not-selected .empty .bpbm-empty-link {
	display: none !important;
}
.bp-messages-wrap .chat-header .new-message,
.bp-messages-wrap .chat-footer .new-message {
	display: none;
}
.bp-messages-wrap .chat-header.side-header .new-message + .bpbm-search {
	width: 100%;
	padding: 0 10px;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info .bm-lc-button {
	order: 8;
}
body.logged-in .become-a-vendor-menu {
	display: none;
}
.dokan-btn.dokan-btn-theme {
	background-color: #15a9e3 !important;
	border-color: #15a9e3 !important;
}
.dokan-btn:hover {
	background-color: #1693c5 !important;
	border-color: #1693c5 !important;
}
.woocommerce-currency-switcher-form {
	max-width: 200px;
}
input.trigger[type="button"] {
	display: none;
}
.header-currency-switcher {
	display: inline-block;
	float: left;
}
.password-input {
	position: relative;
	display: block;
}
.show-password-input {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translate(0, -50%);
	padding: 2px 8px 3px 8px !important;
	font-size: 14px;
	line-height: 1;
}

.show-password-input::after {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	-webkit-font-smoothing: antialiased;
}
.show-password-input.display-password::after {
	content: "\f070";
}
.show-password-input:not(.display-password)::after {
	content: "\f06e";
}

/* mycred integration */
.candycoin-balance {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.candycoin-balance .candycoin-balance-details,
.candycoin-balance .candycoin-purchase {
	width: 100%;
}
.candycoin-balance table {
	font-size: 16px;
	text-align: left;
	font-weight: 400;
	display: inline-block;
	padding: 10px 20px;
	background-color: #eee;
	width: auto;
	margin: 0;
	clear: both;
	border-radius: 5px;
}
.candycoin-balance table tr td:first-child {
	max-width: 220px !important;
	font-weight: 600;
	color: #333333;
}
.candycoin-balance table tr td:nth-child(2n) {
	width: calc(100% - 220px) !important;
	max-width: 300px !important;
	min-width: 220px;
	padding-left: 20px;
}
.candycoin-balance table tr td {
	padding: 0 0 5px 0;
	border: none;
}
.candycoin-balance table .mycred-user-rank img {
	width: 25px !important;
	display: inline-block;
	margin-right: 3px;
}
.candycoin-balance table .mycred-user-rank span {
	display: inline-block;
	line-height: 1;
}

li.wc_payment_method.payment_method_mycred_mycred_default img {
	width: 30px !important;
	height: auto;
	display: inline-block !important;
	margin-bottom: 0;
}
li.wc_payment_method.payment_method_mycred_mycred_default label {
	line-height: 2;
	margin-bottom: 5px;
}
.cart-collaterals #mycred-partial-payment-woo {
	width: 100% !important;
	margin-top: 40px;
}
.header-mini-cart {
	display: inline-block;
	float: right;
	height: 64px;
	line-height: 64px;
}
.header-mini-cart .cart_menu_li {
	padding-top: 5px;
}
.whmc-mini-cart .cart-item-data-field dl.variation,
.whmc-mini-cart .cart-item-data-field dl.variation p {
	display: none;
}

.header-currency-switcher .selectron23-option-title {
	line-height: 1.7;
}
.header-join-telegram .wpb_wrapper {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}
.header-join-telegram .wpb_wrapper .et-icon-box-title {
	margin-bottom: 0;
}
.dokan-store .wishlist-title,
.dokan-store .compare-title {
	display: none;
}
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info i {
	float: unset;
}
.dokan-single-store .profile-frame .profile-info-box.profile-layout-default .profile-info-summery-wrapper .profile-info-summery .profile-info {
	text-align: center;
}
.checkout-candycoin-top-up {
	font-weight: 600;
	font-size: 16px;
	color: #333333;
}
.checkout-candycoin-top-up a {
	display: inline-block;
	padding: 5px 20px;
	border: 2px solid #ee48ae;
	background-color: transparent;
	color: #ee48ae;
	border-radius: 50px;
	font-size: 14px;
	margin-left: 5px;
	transition: all 0.1s ease;
}
.checkout-candycoin-top-up a:hover {
	background-color: #ee48ae;
	color: #f5f5f5;
}

.home-2-categories .post-media {
	padding-top: 20px;
}
.home-2-categories .post-media img {
	height: 50px !important;
	width: auto;
}
.all-categories-dropdown .sub-menu {
	max-width: 250px !important;
	background-color: #ffffff;
}
.all-categories-dropdown .sub-menu nav.et-menu-container > #et-menu-626404.et-menu > .menu-item.depth-0 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.all-categories-dropdown .sub-menu nav.et-menu-container > #et-menu-626404.et-menu > .menu-item.depth-0 > a {
	padding: 15px 20px;
}
.all-categories-dropdown .sub-menu nav.et-menu-container > #et-menu-626404.et-menu > .menu-item.depth-0:first-child > a {
	padding-top: 30px;
}
.all-categories-dropdown .sub-menu nav.et-menu-container > #et-menu-626404.et-menu > .menu-item.depth-0:last-child > a {
	padding-bottom: 30px;
}
.wishlist-title,
span.compare-title {
	display: none;
}
.woopspro-product-slider-wrap .loop-products {
	display: block !important;
}

.recently-viewed-products {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #eee;
}

.recently-viewed-products .section-title {
	font-size: 1.8em;
	font-weight: 600;
	margin-bottom: 25px;
	text-align: left;
}

.recently-viewed-carousel .item {
	padding: 10px;
}
.recently-viewed-products {
	padding-top: 60px !important;
}
.product-delivery-time span {
	color: #184363;
	font-weight: 400;
}

/* ===============================
   WooCommerce Sale Countdown
   =============================== */
.wc-sale-countdown {
	margin: 18px 0 8px;
	text-align: left;
}
.product .summary .wc-sale-countdown {
	margin-bottom: 15px;
}
.wc-sale-countdown__title {
	font-weight: 600;
	color: #184363;
	font-size: 20px;
	margin-bottom: 10px;
}
.wc-sale-countdown__grid {
	display: inline-flex;
	gap: 10px;
	text-align: center;
}
.wc-sale-countdown__box {
	background: #eef6fb;
	border-radius: 8px;
	padding: 10px 14px;
	min-width: 70px;
}
.wc-sale-countdown__box .num {
	font-size: 22px;
	font-weight: 700;
	color: #184363;
}
.wc-sale-countdown__box .lbl {
	font-size: 12px;
	color: #6b8aa0;
	margin-top: 4px;
}

/* Card overlay adjustments for responsiveness */
.wc-sale-countdown--card {
	position: absolute;
	left: 6px;
	right: 6px;
	bottom: 6px;
	z-index: 20;
	max-width: calc(100% - 12px);
	background-color: rgba(0, 0, 0, 0.5);
	padding: 0 5px 5px 5px;
	border-radius: 10px;
}
.wc-sale-countdown--card .wc-sale-countdown__title {
	/* display: none; */
	text-align: center;
	font-size: 14px;
	margin-bottom: 0;
	color: #f5f5f5;
}
.wc-sale-countdown--card .wc-sale-countdown__grid {
	gap: clamp(4px, 1.6vw, 3px);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	align-items: stretch;
	overflow: hidden;
	flex-wrap: wrap;
}
.wc-sale-countdown--card .wc-sale-countdown__box {
	flex: 1 1 0;
	min-width: 0;
	padding: 2px 6px;
	background: rgba(255, 255, 255, 0.95);
}
.wc-sale-countdown--card .wc-sale-countdown__box .num {
	font-size: clamp(12px, 2.6vw, 16px);
	line-height: 1;
}
.wc-sale-countdown--card .wc-sale-countdown__box .lbl {
	font-size: clamp(9px, 2vw, 11px);
	margin-top: 0;
}
.single-product-wrapper .onsale,
.loop-products .product .onsale,
ul.products .product .onsale {
	background: #e02424 !important;
}

.product .summary .price del,
.product .summary .price del ins .woocommerce-Price-amount,
.product .summary .price del ins .woocommerce-Price-currencySymbol {
	font-size: 16px !important;
	line-height: 24px !important;
	text-decoration: line-through;
	color: #184363 !important;
}

/* discount rules table */
.awdr-discounts {
	display: inline-block;
	margin-right: 15px;
	vertical-align: middle;
	margin-bottom: 7px;
}
.awdr-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999999999;
}
.awdr-modal-overlay.active {
	display: flex;
}
.awdr-modal {
	position: relative;
	background: #fff;
	max-width: 600px;
	width: 90%;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	padding: 20px;
	z-index: 9999999999;
}
.awdr-modal-close {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: #184363;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.awdr-modal-close:before {
	content: "\00d7";
	font-size: 20px;
	line-height: 1;
}
.awdr-discounts-trigger {
	display: inline-block;
	padding: 0 !important;
	border-radius: 6px;
	background: transparent !important;
	color: #184363 !important;
	cursor: pointer;
	border: none;
	font-weight: 400;
	text-decoration: underline;
	font-size: 13px;
}
.awdr-discounts-trigger i,
.awdr-discounts-trigger:hover {
	color: #29c7d4 !important;
}
.awdr-discounts-trigger i {
	display: inline-block;
	margin-right: 10px;
	font-size: 16px;
}
.awdr-bulk-customizable-table .wdr_bulk_table_msg {
	width: 100% !important;
}

@media all and (min-width: 769px) {
	.woocommerce-MyAccount-navigation {
		width: 300px;
		float: left;
	}
	.woocommerce-MyAccount-content {
		width: calc(100% - 315px);
		margin-left: 15px;
		float: left;
	}
	.woocommerce-MyAccount-navigation ul {
		display: block;
	}
	.woocommerce-MyAccount-navigation ul li {
		display: block;
		width: 100%;
		margin-bottom: 3px;
	}
	.woocommerce-MyAccount-navigation ul li:last-child {
		margin-bottom: 0;
	}
	.woocommerce-MyAccount-navigation ul li.is-active a {
		background-color: rgb(var(--main-bm-color));
		color: rgb(var(--bm-button-color));
		text-decoration: none;
	}

	.candycoin-balance {
		flex-wrap: nowrap;
	}
	.candycoin-balance .candycoin-balance-details,
	.candycoin-balance .candycoin-purchase {
		width: calc(50% - 10px);
	}
	.footer-currency-switcher {
		display: none;
	}
}

@media only screen and (min-width: 1280px) {
	.woocommerce-cart-form {
		width: 60%;
	}
	.cart-collaterals {
		width: calc(40% - 40px);
	}
	form[name="checkout"] .col2-set {
		float: left;
		width: 60%;
	}
	form[name="checkout"] #order_review_heading,
	form[name="checkout"] #order_review {
		float: right;
		width: calc(40% - 40px);
	}
}

@media (max-width: 1279px) {
	.header-topbar-mobile {
		z-index: 9 !important;
	}
}

@media all and (max-width: 768px) {
	.mobile-header-currency-switcher {
		display: inline-block;
		float: right;
		margin-bottom: 0;
		padding-top: 10px;
	}
	.mobile-header-currency-switcher .selectron23-container .selectron23-option[data-selected="1"] {
		text-align: right;
		margin-right: 5px;
		background: transparent !important;
	}
	.mobile-header-currency-switcher .selectron23-container div {
		float: right;
	}
	.mobile-header-currency-switcher .selectron23-container {
		background: transparent !important;
		border: none;
	}
	.mobile-header-currency-switcher .selectron23-option-title {
		line-height: 1.8;
	}
}
