.sp-eab-post-accordion {
	margin: 0 auto;

	.sp-eab-accordion {
		width: 100%;
	}

	.sp-eab-accordion-body {
		width: auto;
	}
}

.sp-eab-accordion-heading:focus {
	outline: none;
	box-shadow: none;
}

.sp-eab-accordion-title-wrapper {
	word-break: break-all;

	.sp-eab-accordion-title-link {
		color: inherit;
	}
}

.sp-eab-taxonomy-button-filters .sp-eab-category-button {
	transition: 0.4s ease-in-out;
	pointer-events: painted;
	cursor: pointer;
}

.sp-eab-post-read-more-button {
	margin-top: 20px;

	.sp-eab-post-read-more-btn-link {
		transition: .4s ease-in-out;
		text-decoration: none !important;
		overflow: hidden;
		padding: 8px 18px 8px 18px;
		font-size: 16px;
		line-height: 1.2;
		letter-spacing: 0px;
		color: #2F2F2F;
		background: #FFFFFF;
		border-style: solid;
		border-color: #CCCCCC;
		border-width: 1px 1px 1px 1px;
		border-radius: 4px 4px 4px 4px;
		font-weight: 500;

		&:hover {
			color: #FFFFFF;
			background: #2F2F2F;
			border-color: #CCCCCC;
		}
	}
}

/* 40% Image */
.sp-eab-featured-image-wrapper {
	flex: 100%;
	max-width: 100%;
	overflow: hidden;

	img {
		width: 100%;
		height: auto;
	}
}

.sp-eab-product-accordion-one,
.sp-eab-post-accordion-one {
	.sp-eab-featured-image-wrapper {
		flex: 0 0 50%;
		max-width: 50%;
		overflow: hidden;
		position: relative;

		img {
			// width: auto;
			border-radius: 4px;
		}
	}
}

.eab-feature-image {
	display: contents;

	.sp-eab-featured-image-wrapper {
		flex: 0 0 40%;
		line-height: 0;

		img{
			border-radius: 4px;
		}
	}
}

.sp-eab-mode-vertical .sp-eab-featured-image-wrapper {
	max-width: fit-content;
	height: 100%;
}
.sp-eab-mode-horizontal .eab-feature-image .sp-eab-featured-image-wrapper {
	flex: none;
}

.sp-eab-post-accordion .sp-eab-accordion-header-start {
	gap: 20px;
}

.sp-eab-mode-horizontal .sp-eab-title-subtitle-wrapper .sp-eab-post-meta-icon {
	transform: rotate(270deg);
}

.sp-eab-mode-vertical .sp-eab-accordion-content-wrapper {
	overflow-x: hidden;
}

.sp-eab-post-details {
	flex-wrap: wrap;
	margin-top: 6px;
	color: #2F2F2F;
}

.sp-eab-post-meta a,
.sp-eab-post-meta {
	display: flex;
	align-items: center;
	gap: 4px;
}
// For theme style override.
.sp-eab-post-meta a {
	text-decoration: none !important;
	color: inherit !important;
}

.sp-eab-post-meta-icon {
	display: flex;
	align-items: center;

	svg {
		width: 16px;
		height: 16px;
	}
}

.sp-eab-post-details .sp-metadata-taxonomy .post-categories {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	gap: 4px;

	li {
		list-style: none;
		display: inline;
	}
}

.sp-eab-post-meta-text {
	display: inline-flex;
	flex-wrap: wrap;
	a:not(:first-child) {
		margin-left: 4px;
	}
}
.eab-product-attributes td,
.eab-product-attributes th {
	padding: 6px 0;
}
.eab-filter-data-attr.hidden {
	display: none;
}

// Product Accordion style.
.eab-product-attributes .woocommerce-variation-add-to-cart,
.eab-product-cart-wrapper {
	display: inline-flex;
	margin: 16px 0 0;
	padding: 0;
	gap: 10px;
	
	a.eab-add-to-cart,
	.eab-product-attributes.single_add_to_cart_button {
		text-decoration: none !important; // Override theme styles astra.
		transition: all 0.3s;
		font-family: inherit;
	}

	.added_to_cart {
		margin: auto;
	}
}

.eab-product-review {
	display: inline-flex;
	gap: 4px;
	align-items: center;

	.eab-stars {
		display: flex;
		gap: 2px;
		font-size: 14px;
		color: #FFC107;
	}

	.eab-review-text {
		font-weight: 400;
		font-style: Regular;
		font-size: 14px;
		line-height: 1.6;
		letter-spacing: 0;
		vertical-align: middle;
		color: #757575;
	}
}

.eab-product-price {
	.sale-price{
		display: block;
	}
	ins {
		text-decoration: none;
	}
}

.eab-product-attributes .quantity,
.eab-quantity {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	background: #F5F5F5;
	min-width: 60px;
}

.eab-qty-btn {
	width: 36px;
	height: 36px;
	border: none;
	cursor: pointer;
	font-size: 18px;
}

.eab-qty-btn:hover {
	background: #eaeaea;
}

.eab-product-attributes .quantity .input-text.qty,
input.eab-quantity-input {
	width: 60px !important;
	text-align: center;
	border: none;
	outline: none;
	background: #F5F5F5;
	padding: 0 !important;
	border-style: none !important;
}

.eab-meta-divider {
	width: 100%;
	border-top: 1px solid #ccc;
	margin: 24px auto;
}

.sp-eab-product-accordion .sp-eab-post-details {
	flex-direction: column;
	gap: 8px;
}

.sp-eab-product-accordion .sp-eab-post-content-wrapper {
	width: 100%;
}

.sp-eab-sale-badge {
	position: absolute;
	top: 10px;
	z-index: 111;
	left: 10px;
	right: auto;
	// padding: 2px 8px;
	background: #3D9E56;
	border-radius: 3px;
	font-weight: 500;
	font-style: Medium;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0px;
	color: #fff;
}

.eab-product-attributes {
	margin-top: 16px;
	.variations select {
		padding: 10px 10px;
		font-size: 15px;
		line-height: 1.2;
		border: 1px solid #444;
		border-radius: 3px;
		margin-left: 6px;
		display: inline-flex;
		align-items: center;
	}
}

.sp-eab-product-accordion .eab-image-effect{
	.sp-eab-featured-image-wrapper {
		position: relative;
		overflow: hidden; // prevents zoom overflow

		img {
			width: 100%;
			height: 100%;
			transition: transform 0.4s ease, filter 0.4s ease;
			will-change: transform, filter;
		}
	}

	.eab-zoom-out-normal img {
		transform: scale(1.3);
	}

	.eab-zoom-out-onhover:hover img,
	.eab-zoom-out-active img,
	.swiper-slide-active.eab-zoom-out-active img {
		transform: scale(1);
	}
}

.eab-product-slider-content.animated{
	animation-delay: 400ms;
}

@media only screen and (max-width: 599px) {

	.sp-eab-product-accordion-one,
	.sp-eab-post-accordion-one {
		.sp-eab-accordion-body {
			flex-direction: column;
		}
	}
}