/**
* Theme Name: Medibazar Child
* Description: This is a child theme of Medibazar, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: medibazar
* Version: 1.9.5
*/

.coa-details-table .button {
	background: #e4573d;
	padding: 10px 20px;
	color: #fff;
	border-radius: 20px;
}

.coa-details-table tr {
	height: 60px;
}

.coa-search-wrap {
	max-width: 1100px;
	margin: 0 auto;
}

.coa-search-input {
	width: 100%;
	padding: 12px 16px;
	margin-bottom: 24px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

.coa-search-notice-wrap {
	margin-top: 16px;
}

.coa-search-notice-wrap:empty {
	display: none;
	margin-top: 0;
}

.coa-search-results {
	margin-top: 28px;
}

.coa-search-results--below {
	width: 100%;
	max-width: 1100px;
	margin: 40px auto 0;
	padding: 0 15px;
	box-sizing: border-box;
	scroll-margin-top: 24px;
}

.coa-search-notice {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

.coa-search-notice::before {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
}

.coa-search-notice--success {
	background: #edf7ed;
	color: #1b5e20;
	border: 1px solid #c8e6c9;
}

.coa-search-notice--success::before {
	content: "✓";
	background: #2e7d32;
	color: #fff;
}

.coa-search-notice--error {
	background: #fdf0ee;
	color: #b71c1c;
	border: 1px solid #f5c6cb;
}

.coa-search-notice--error::before {
	content: "!";
	background: #e4573d;
	color: #fff;
}

.coa-search-card {
	overflow: hidden;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.coa-search-card__body {
	display: flex;
	align-items: stretch;
}

.coa-search-card__header {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 0 45%;
	align-items: stretch;
	width: 45%;
	max-width: 45%;
	padding: 0;
	overflow: hidden;
	border-right: 1px solid #eee;
	background: #f5f5f5;
}

.coa-search-card__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 520px;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	background: #f5f5f5;
}

.coa-search-card__image--placeholder {
	flex: 1;
	background:
		linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 25%, #e8e8e8 50%, #f0f0f0 50%, #f0f0f0 75%, #e8e8e8 75%);
	background-size: 16px 16px;
}

.coa-search-card__meta {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	padding: 48px 20px 20px;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
}

.coa-search-card__title {
	display: block;
	margin: 0 0 8px;
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.coa-search-card__title:hover {
	color: #ffb3a6;
}

.coa-search-card__batch {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
	line-height: 1.4;
}

.coa-search-card__batch span {
	display: inline-block;
	margin-right: 6px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.coa-search-pdf {
	display: flex;
	flex: 0 0 55%;
	flex-direction: column;
	width: 55%;
	max-width: 55%;
	min-width: 0;
}

.coa-search-pdf__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: #2b2b2b;
	color: #fff;
}

.coa-search-pdf__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.coa-search-pdf__download {
	background: #e4573d !important;
	padding: 8px 16px !important;
	border: 0 !important;
	border-radius: 20px !important;
	color: #fff !important;
	font-size: 13px !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
}

.coa-search-pdf__download:hover {
	background: #d14a32 !important;
	color: #fff !important;
}

.coa-search-pdf__frame {
	flex: 1;
	min-height: 520px;
	height: 520px;
	background: #f3f3f3;
}

.coa-search-pdf__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

@media (max-width: 767px) {
	.coa-search-wrap {
		max-width: 100%;
	}

	.coa-search-card__body {
		flex-direction: column;
	}

	.coa-search-card__header {
		flex: 1 1 auto;
		width: 100%;
		max-width: 100%;
		padding: 0;
		border-right: 0;
		border-bottom: 1px solid #eee;
	}

	.coa-search-pdf {
		flex: 1 1 auto;
		width: 100%;
		max-width: 100%;
		min-height: 70vh;
	}

	.coa-search-card__image {
		width: 100%;
		height: auto;
		min-height: 240px;
	}

	.coa-search-card__meta {
		padding: 36px 16px 16px;
	}

	.coa-search-card__title {
		font-size: 18px;
	}

	.coa-search-pdf__frame {
		min-height: 420px;
		height: 420px;
	}
}

a.mobile-header-cart {
	display: none;
	margin-right: 20px;
}

@media (max-width: 991px) {
	#sticky-header .col-12 {
		position: relative;
	}

	a.mobile-header-cart {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 0;
		right: 56px;
		z-index: 1000;
		width: 40px;
		height: 40px;
		margin-top: -68px;
		border-radius: 50%;
		background: #4e97fd;
		color: #fff;
		text-decoration: none;
	}

	a.mobile-header-cart:hover,
	a.mobile-header-cart:focus {
		color: #fff;
	}

	a.mobile-header-cart i {
		font-size: 16px;
		line-height: 1;
		color: #fff;
	}

	a.mobile-header-cart .cart-count {
		position: absolute;
		top: -4px;
		right: -4px;
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
		border-radius: 50px;
		background: #fff;
		color: #0f6cb2;
		font-size: 11px;
		font-weight: 600;
		line-height: 18px;
		text-align: center;
	}
}

@media (max-width: 767.98px) {
	a.mobile-header-cart {
		margin-top: -54px;
	}
}

.bakix-details-tab ul li.active a:before {
    width: 60px;
}

.bakix-details-tab ul li a {
    padding-right: 40px;
}

.bakix-details-tab ul li a {
    font-size: 22px;
}

/* Keep form wishlist hidden; icon sits on the product image instead. */
.product-details-wrapper form .tinv-wraper.tinv-wishlist {
	display: none;
}

.single-product .shop-banner-area .row > [class*="col-"]:first-child {
	position: relative;
}

.single-product-wishlist-icon {
	position: absolute;
	top: 15px;
	right: 15px;
	left: auto;
	z-index: 20;
}

/* Beat TI simple-flow rules that force remove/already text to display:inline !important. */
.single-product-wishlist-icon span.tinvwl_add_to_wishlist-text,
.single-product-wishlist-icon span.tinvwl_remove_from_wishlist-text,
.single-product-wishlist-icon span.tinvwl_already_on_wishlist-text {
	display: none !important;
}

.single-product-wishlist-icon a.tinvwl_add_to_wishlist_button {
	position: relative;
	display: inline-block;
	height: 45px !important;
	width: 45px !important;
	background: #4e97fd;
	border-radius: 50%;
	color: #fff;
	line-height: 45px;
	text-align: center;
	vertical-align: bottom;
	transition: 0.3s;
	overflow: hidden;
}

.single-product-wishlist-icon a.tinvwl_add_to_wishlist_button:before {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin-right: 0;
	margin-top: 0;
	margin-left: 0;
	vertical-align: middle;
}

.single-product-wishlist-icon a.tinvwl_add_to_wishlist_button:hover,
.single-product-wishlist-icon a.tinvwl_add_to_wishlist_button.tinvwl-product-in-list {
	background: #e4573d;
	color: #fff;
}

/* -------------------------------------------------------------------------
   Mobile / tablet off-canvas shop filters
   ------------------------------------------------------------------------- */

.shop-filter-toggle {
	display: none;
}

.shop-toolbar-filters {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 10px;
	width: 100%;
	float: none;
	position: relative;
}

.shop-toolbar-filters.pro-filter::before {
	display: none;
}

.shop-toolbar-filters .woocommerce-ordering {
	position: relative;
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
}

.shop-toolbar-filters .woocommerce-ordering::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid #747691;
	border-bottom: 1.5px solid #747691;
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.shop-toolbar-filters .woocommerce-ordering .orderby,
.shop-toolbar-filters.pro-filter select.orderby {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: middle;
	width: auto;
	min-width: 160px;
	max-width: min(240px, 58vw);
	height: 40px !important;
	margin: 0;
	/* Zero vertical padding — native selects clip with height + padding. */
	padding: 0 36px 0 14px !important;
	border: 1px solid #eaedff;
	border-radius: 4px;
	background-color: #fff !important;
	color: #1c2224 !important;
	-webkit-text-fill-color: #1c2224;
	font-size: 14px !important;
	font-weight: 500;
	line-height: 38px !important;
	text-transform: none;
	text-indent: 0;
	overflow: visible;
	cursor: pointer;
	box-shadow: none;
	outline: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.shop-toolbar-filters .woocommerce-ordering .orderby:hover,
.shop-toolbar-filters .woocommerce-ordering .orderby:focus {
	border-color: #4e97fd;
	color: #1c2224 !important;
	-webkit-text-fill-color: #1c2224;
}

.shop-toolbar-filters .woocommerce-ordering .orderby option {
	color: #1c2224;
	background-color: #fff;
	-webkit-text-fill-color: #1c2224;
	line-height: normal;
	padding: 8px;
}

.shop-filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: #4e97fd;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.shop-active-filters {
	margin: 0 0 16px;
}

.shop-active-filters ul.remove-filter {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.shop-active-filters ul.remove-filter li {
	float: none;
	margin: 0;
	flex: 0 0 auto;
}

.shop-active-filters a.remove-filter-element {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px 6px 28px;
	border: 1px solid #e3e8f5;
	border-radius: 20px;
	background: #f5f8ff;
	color: #1c2224 !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.shop-active-filters a.remove-filter-element:before,
.shop-active-filters a.remove-filter-element:after {
	left: 10px;
	top: 50%;
	margin-top: -1px;
	background-color: #747691;
}

.shop-active-filters a.remove-filter-element:hover {
	border-color: #4e97fd;
	background: #fff;
	color: #4e97fd !important;
}

.shop-active-filters a.remove-filter-element:hover:before,
.shop-active-filters a.remove-filter-element:hover:after {
	background-color: #4e97fd;
}

.shop-active-filters a.remove-filter-element.clear-all {
	padding-left: 12px;
	border: 0;
	background: transparent;
	color: #4e97fd !important;
	font-weight: 600;
}

.shop-active-filters a.remove-filter-element.clear-all:before,
.shop-active-filters a.remove-filter-element.clear-all:after {
	display: none;
}

.mobile-filter-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(28, 34, 36, 0.45);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

body.toggled {
	overflow: hidden;
}

body.toggled .mobile-filter-overlay {
	display: block;
	opacity: 1;
	pointer-events: auto;
}

.mobile-filter {
	z-index: 9999;
	display: flex;
	flex-direction: column;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.mobile-filter-header {
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 1;
}

.mobile-filter-header h5 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.mobile-filter-body {
	flex: 1 1 auto;
	height: auto;
	max-height: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	padding: 16px 18px 28px;
}

.mobile-filter .klb-sidebar.sidebar {
	padding: 0;
	margin: 0;
	background: transparent;
}

@media (max-width: 991.98px) {
	.shop1-sidebar {
		display: none !important;
	}

	.shop-toolbar-filters.has-shop-filters {
		justify-content: space-between;
	}

	.shop-toolbar-filters.has-shop-filters .woocommerce-ordering {
		margin-left: auto;
	}

	.shop-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 40px;
		padding: 0 14px;
		border: 1px solid #eaedff;
		border-radius: 4px;
		background: #fff;
		color: #1c2224;
		font-size: 14px;
		font-weight: 500;
		line-height: 1.2;
		text-decoration: none;
		white-space: nowrap;
		transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
	}

	.shop-filter-toggle:hover,
	.shop-filter-toggle:focus {
		color: #4e97fd;
		border-color: #4e97fd;
		background: #fff;
		text-decoration: none;
	}

	.shop-filter-toggle i {
		font-size: 13px;
	}

	/* Prefer the toolbar Filters control over the legacy grid-list icon. */
	ul.klbgridlist li.klb-mobile-filter {
		display: none !important;
	}

	.shop-active-filters ul.remove-filter {
		flex-wrap: wrap;
		padding-bottom: 2px;
	}
}

@media (max-width: 575.98px) {
	.mobile-filter {
		width: 320px;
		max-width: 88vw;
	}

	.shop-toolbar-filters .woocommerce-ordering .orderby,
	.shop-toolbar-filters.pro-filter select.orderby {
		min-width: 140px;
		max-width: min(200px, 55vw);
		font-size: 13px !important;
		line-height: 38px !important;
		padding: 0 32px 0 12px !important;
	}

	.shop-active-filters ul.remove-filter {
		flex-wrap: nowrap;
	}
}

@media (min-width: 576px) and (max-width: 991.98px) {
	.mobile-filter {
		width: 380px;
	}
}

@media (min-width: 992px) {
	.shop-filter-toggle,
	.mobile-filter,
	.mobile-filter-overlay {
		display: none !important;
	}

	.shop-toolbar-filters {
		justify-content: flex-end;
	}

	.shop-active-filters ul.remove-filter {
		flex-wrap: wrap;
	}

	body.toggled {
		overflow: visible;
	}
}

/* TI Wishlist page: compact product cards on mobile */
@media (max-width: 768px) {
	.tinv-wishlist table.tinvwl-table-manage-list {
		display: block;
		width: 100%;
		margin-bottom: 20px;
		border: 0;
	}

	/* Slim select-all bar only (hide other header cells) */
	.tinv-wishlist table.tinvwl-table-manage-list thead {
		display: block;
	}

	.tinv-wishlist table.tinvwl-table-manage-list thead tr {
		display: flex;
		align-items: center;
		margin: 0 0 10px;
		padding: 10px 14px;
		border: 1px solid #e9e9e9;
		border-radius: 8px;
		background: #fff;
	}

	.tinv-wishlist table.tinvwl-table-manage-list thead th {
		display: none !important;
		padding: 0;
		border: 0;
	}

	.tinv-wishlist table.tinvwl-table-manage-list thead th.product-cb {
		display: flex !important;
		align-items: center;
		gap: 8px;
		width: auto !important;
		text-align: left;
	}

	.tinv-wishlist table.tinvwl-table-manage-list thead th.product-cb::after {
		content: "Select all";
		font-size: 13px;
		font-weight: 500;
		color: #666;
	}

	.tinv-wishlist table.tinvwl-table-manage-list thead th.product-cb input {
		width: 18px;
		height: 18px;
		margin: 0;
		flex-shrink: 0;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody {
		display: block;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody tr.wishlist_item {
		display: grid;
		grid-template-columns: 28px 72px 1fr 32px;
		grid-template-areas:
			"cb thumb name remove"
			"cb thumb price remove"
			"action action action action";
		align-items: start;
		gap: 6px 12px;
		position: relative;
		width: 100%;
		box-sizing: border-box;
		margin: 0 0 14px;
		padding: 14px;
		border: 1px solid #e9e9e9;
		border-radius: 8px;
		background: #fff;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td {
		display: block !important;
		width: auto !important;
		max-width: 100%;
		padding: 0 !important;
		border: 0 !important;
		text-align: left !important;
		vertical-align: top;
		min-width: 0;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-date,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-stock {
		display: none !important;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-cb {
		grid-area: cb;
		display: flex !important;
		align-items: flex-start;
		justify-content: center;
		width: 28px !important;
		padding-top: 2px !important;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-cb input {
		width: 18px;
		height: 18px;
		margin: 0;
		flex-shrink: 0;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-thumbnail {
		grid-area: thumb;
		width: 72px !important;
		min-width: 0 !important;
		max-width: 72px;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-thumbnail a,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-thumbnail img {
		display: block;
		width: 72px;
		max-width: 72px !important;
		height: auto;
		margin: 0 !important;
		border-radius: 4px;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-name {
		grid-area: name;
		padding-right: 4px !important;
		line-height: 1.35;
		font-weight: 600;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-name a {
		color: inherit;
		text-decoration: none;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-price {
		grid-area: price;
		font-size: 14px;
		line-height: 1.3;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-remove {
		grid-area: remove;
		justify-self: end;
		align-self: start;
		width: 32px !important;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-remove button {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #f7f7f7;
		color: #333;
		cursor: pointer;
		min-height: 0;
		box-shadow: none;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action {
		grid-area: action;
		width: 100% !important;
		margin-top: 6px;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action .button,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action button.button {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: 100%;
		margin: 0;
		padding: 12px 16px;
		border: 0;
		border-radius: 30px;
		background: #4e97fd;
		color: #fff;
		font-size: 13px;
		font-weight: 700;
		line-height: 1.2;
		text-transform: uppercase;
		text-align: center;
		box-shadow: none;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action .button:hover,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action button.button:hover {
		background: #e4573d;
		color: #fff;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action .button > i,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td.product-action button.button > i {
		display: inline-block;
		margin: 0;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot {
		display: block;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot tr,
	.tinv-wishlist table.tinvwl-table-manage-list tfoot td {
		display: block;
		width: 100%;
		padding: 0;
		border: 0;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-left,
	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-right {
		float: none;
		display: block;
		width: 100% !important;
		margin: 0;
		text-align: left;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-left:not(:empty) {
		float: none;
		width: 100% !important;
		margin: 0 0 12px;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-left .tinvwl-input-group {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		gap: 8px;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-left select,
	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-left .form-control {
		display: block;
		float: none;
		width: 100% !important;
		max-width: 100%;
		height: 48px;
		margin: 0;
		box-sizing: border-box;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-left .tinvwl-input-group-btn {
		display: block;
		width: 100%;
		padding: 0;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-left .tinvwl-input-group-btn .button,
	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-left .tinvwl-input-group-btn button {
		width: 100%;
		margin: 0;
	}

	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-right .button,
	.tinv-wishlist table.tinvwl-table-manage-list tfoot .tinvwl-to-right button {
		width: 100%;
		margin: 8px 0 0;
	}
}
