/**
 * TES Bags — single product summary (Figma).
 */

.single-product .product-info .price-wrapper {
	margin-bottom: 0;
}

.tesbags-product-subtitle {
	margin: 18px 0;
	padding: 0;
	color: #0a0a0a;
	text-align: right;
	font-family: Assistant, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	direction: rtl;
}

.single-product .product-info {
	padding-top: 0 !important;
}

.single-product .product-info .product-title {
	font-size: 23px;
}

.tesbags-product-price-row {
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 16px;
	flex-wrap: wrap;
	direction: rtl;
}

.tesbags-product-price-row .price.product-page-price {
	margin: 0;
}

.tesbags-product-payment-badge {
	display: inline-flex;
	padding: 0 8px 2px 16px;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	background: rgba(204, 251, 239, 0.5);
	color: #125d56;
	text-align: right;
	font-family: Assistant, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	line-height: 25.6px;
	white-space: nowrap;
}

.tesbags-product-payment-badge__icon {
	flex-shrink: 0;
	display: block;
}

.single-product form.cart {
	margin-bottom: 20px;
}

.tesbags-product-trust {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	direction: rtl;
}

.tesbags-product-trust li {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1 1 0;
	min-width: 0;
	color: #0a0a0a;
	text-align: right;
	font-family: Assistant, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 25.6px;
	margin: 0 !important;
}

.tesbags-product-trust svg {
	flex-shrink: 0;
}

.tesbags-product-trust span {
	min-width: 0;
}

.tesbags-product-accordion {
	margin-top: 4px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	direction: rtl;
}

.tesbags-product-accordion .accordion-item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tesbags-product-accordion .accordion-title {
	display: flex;
	padding: 16px 0;
	justify-content: space-between;
	align-items: center;
	align-self: stretch;
	gap: 16px;
	color: #0a0a0a;
	text-align: right;
	font-family: Assistant, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	text-decoration: none;
}

.tesbags-product-accordion__label {
	flex: 1 1 auto;
	min-width: 0;
}

.tesbags-product-accordion .accordion-title .toggle {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	line-height: 1;
	flex-shrink: 0;
	left: 0;
	right: inherit;
}

.tesbags-product-accordion .accordion-title .toggle i {
	transition: transform 0.2s ease;
}

.tesbags-product-accordion .accordion-title.active .toggle i {
	transform: rotate(180deg);
}

.tesbags-product-accordion__content {
	padding: 0 0 16px;
}

.tesbags-product-accordion__body {
	color: #0a0a0a;
	text-align: right;
	font-family: Assistant, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
}

.tesbags-product-accordion__body p:last-child {
	margin-bottom: 0;
}

.tesbags-product-accordion__body--empty {
	color: rgba(10, 10, 10, 0.55);
}

@media only screen and (max-width: 849px) {
	.tesbags-product-price-row {
		align-items: flex-start;
	}

	.tesbags-product-trust {
		flex-direction: column;
		gap: 10px;
	}

	.tesbags-product-trust li {
		flex: none;
	}
}

/* Sticky add-to-cart bar */
.tesbags-sticky-cart-sentinel {
	display: block;
	width: 100%;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	pointer-events: none;
	visibility: hidden;
}

.tesbags-sticky-cart {
	position: fixed;
	right: 15px;
	bottom: 15px;
	left: 15px;
	z-index: 9999;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.tesbags-sticky-cart.is-visible {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tesbags-sticky-cart__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 80px;
	padding: 0 16px;
	background: #fff;
	border-radius: 0;
	box-shadow: 0 2px 50px 0 rgba(0, 0, 0, 0.12);
	direction: rtl;
}

.tesbags-sticky-cart__product {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1 1 auto;
}

.tesbags-sticky-cart__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}

.tesbags-sticky-cart__image {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	object-fit: cover;
	object-position: center;
}

.tesbags-sticky-cart__title {
	color: #0a0a0a;
	text-align: right;
	font-family: Assistant, sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tesbags-sticky-cart__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.tesbags-sticky-cart__actions .quantity {
	margin: 0;
}

.tesbags-sticky-cart__actions .single_add_to_cart_button {
	margin: 0;
	white-space: nowrap;
}

.tesbags-sticky-cart__price {
	color: #0a0a0a;
	text-align: right;
	font-family: Assistant, sans-serif;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: -0.234px;
	white-space: nowrap;
}

.tesbags-sticky-cart__price .price {
	margin: 0;
}

.tesbags-sticky-cart__price del,
.tesbags-sticky-cart__price ins {
	text-decoration: none;
}

.tesbags-sticky-cart__price del {
	opacity: 0.55;
	font-size: 0.85em;
	margin-left: 6px;
}

.tesbags-sticky-cart__price--meta {
	display: none;
}

.mfp-bg.mfp-ready {
    z-index: 99999;
}

body.body-scroll-lock--active .mfp-wrap ,
.mfp-wrap.mfp-auto-cursor.off-canvas.undefined.off-canvas-right.mfp-ready {
	z-index: 9999999999999;
}

@media only screen and (max-width: 549px) {
	.tesbags-sticky-cart {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 999999999;
	}
	.tesbags-sticky-cart__inner {
		padding: 0 10px;
		gap: 10px;
	}

	.tesbags-sticky-cart__product {
		gap: 10px;
	}

	.tesbags-sticky-cart__info {
		gap: 4px;
	}

	.tesbags-sticky-cart__title {
		font-size: 14px;
		font-weight: 600;
		line-height: 14px;
		-webkit-line-clamp: 2;
	}

	.tesbags-sticky-cart__price--meta {
		display: block;
		font-size: 15px;
		font-weight: 700;
		line-height: 18px;
		letter-spacing: 0;
	}

	.tesbags-sticky-cart__price--actions {
		display: none;
	}

	.tesbags-sticky-cart__actions {
		gap: 8px;
	}

	.tesbags-sticky-cart__actions .single_add_to_cart_button {
		width: 96px;
		min-width: 96px;
		height: 40px;
		min-height: 40px;
		padding: 0 8px;
		color: #fff;
		text-align: center;
		font-family: Assistant, sans-serif;
		font-size: 14px;
		font-style: normal;
		font-weight: 700;
		line-height: 18px;
		letter-spacing: 0.48px;
		text-transform: uppercase;
		white-space: normal;
	}

	.tesbags-sticky-cart__actions .quantity {
		width: 67px;
		height: 40px;
		margin: 0;
		border: 1px solid #000;
	}

	.tesbags-sticky-cart__actions .quantity .minus,
	.tesbags-sticky-cart__actions .quantity .plus {
        width: 22px;
        height: 38px;
        min-height: 38px;
        padding: 0;
        line-height: 38px;
        border: none !important; 
        padding: 0 !important;
	}

	.tesbags-sticky-cart__actions .quantity input[type='number'] {
		width: 23px;
		height: 38px;
		min-height: 38px;
		font-size: 14px;
		line-height: 38px;
		border: none !important; 
	}
}
