/* Elementor outputs full description under the title — keep it in tabs only. */
.single-product .elementor-widget-woocommerce-product-content {
	display: none !important;
}

.para-product-short-description,
.para-product-usage-tips {
	font-size: 15px;
	line-height: 1.8;
	color: #374151;
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
	-webkit-hyphens: auto;
}

.para-product-short-description p,
.para-product-usage-tips p {
	margin: 0 0 1.1em;
	text-align: justify;
	text-justify: inter-word;
}

.para-product-short-description p:last-child,
.para-product-usage-tips p:last-child {
	margin-bottom: 0;
}

.woocommerce-tabs .para_usage_tips_tab a {
	font-weight: 600;
}

table.para-product-details {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

table.para-product-details th,
table.para-product-details td {
	padding: 14px 0;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
	text-align: left;
}

table.para-product-details tr:last-child th,
table.para-product-details tr:last-child td {
	border-bottom: 0;
}

table.para-product-details th {
	width: 38%;
	font-weight: 600;
	color: #111827;
}

table.para-product-details td {
	color: #4b5563;
}

.woocommerce-tabs .para_product_details_tab a,
.woocommerce-tabs .additional_information_tab a {
	font-weight: 600;
}

/* Single product layout spacing */
.single-product .singular-shop.content,
.single-product #main.singular-shop {
	padding-top: 36px !important;
}

.single-product .single-main-content {
	padding-top: 28px;
}

.single-product .single-main-content > .row {
	--para-single-gap: 44px;
}

@media (min-width: 992px) {
	.single-product .singular-shop.content,
	.single-product #main.singular-shop {
		padding-top: 52px !important;
	}

	.single-product .single-main-content {
		padding-top: 36px;
	}

	.single-product .single-main-content .image-mains {
		padding-right: var(--para-single-gap);
	}

	.single-product .single-main-content .information {
		padding-left: var(--para-single-gap);
	}
}

@media (max-width: 991px) {
	.single-product .single-main-content .image-mains {
		margin-bottom: 32px;
	}
}

.single-product .top-single-product .product_title,
.single-product .summary .product_title {
	margin-top: 16px;
	margin-bottom: 24px;
}

.single-product .woocommerce-tabs,
.single-product #woocommerce-tabs {
	margin-top: 40px;
	padding-top: 12px;
}

.single-product .woocommerce-tabs ul.tabs.wc-tabs {
	margin-top: 0;
	margin-bottom: 22px;
}

.single-product .woocommerce-tabs ul.tabs.wc-tabs li a {
	padding-top: 14px;
	padding-bottom: 14px;
}

/* Product actions: quantity + cart + buy now */
.single-product div.product form.cart {
	--para-buy-now-bg: #3f4543;
	--para-buy-now-bg-hover: #2f3432;
}

.single-product div.product #shop-now.has-buy-now {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	margin-top: 4px;
}

.single-product div.product #shop-now.has-buy-now::after {
	display: none !important;
}

.single-product div.product #shop-now.has-buy-now .quantity {
	margin: 0 !important;
	flex: 0 0 auto;
}

.single-product div.product #shop-now.has-buy-now .quantity .qty {
	height: 48px;
	min-height: 48px;
	border: 1px solid #e5e7eb;
	border-radius: 3px;
}

.single-product div.product #shop-now.has-buy-now .single_add_to_cart_button,
.single-product div.product #shop-now.has-buy-now .tbay-buy-now {
	position: static !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	float: none !important;
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	max-width: none !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0;
	border-radius: 3px;
	font-family: var(--tb-text-primary-font, Inter, sans-serif);
	font-size: 15px;
	font-weight: 500;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
}

.single-product div.product #shop-now.has-buy-now .single_add_to_cart_button::before,
.single-product div.product #shop-now.has-buy-now .tbay-buy-now::before {
	font-family: "tb-icon";
	font-size: 18px;
	line-height: 1;
	font-weight: 400;
	speak: never;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
}

.single-product div.product #shop-now.has-buy-now .single_add_to_cart_button::before {
	content: "\E08B";
}

.single-product div.product #shop-now.has-buy-now .tbay-buy-now::before {
	content: "\E08B";
}

.single-product div.product #shop-now.has-buy-now .single_add_to_cart_button {
	background: var(--tb-theme-color, #507f72) !important;
	color: #fff !important;
}

.single-product div.product #shop-now.has-buy-now .single_add_to_cart_button:hover,
.single-product div.product #shop-now.has-buy-now .single_add_to_cart_button:focus {
	background: var(--tb-theme-color-hover, #4c786c) !important;
	color: #fff !important;
}

.single-product div.product #shop-now.has-buy-now .tbay-buy-now {
	background: var(--para-buy-now-bg) !important;
	color: #fff !important;
}

.single-product div.product #shop-now.has-buy-now .tbay-buy-now:hover,
.single-product div.product #shop-now.has-buy-now .tbay-buy-now:focus {
	background: var(--para-buy-now-bg-hover) !important;
	color: #fff !important;
}

.single-product div.product #shop-now.has-buy-now .tbay-buy-now.disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.single-product div.product #shop-now.has-buy-now .group-button {
	width: 100%;
	padding-top: 10px;
	margin: 0;
}

/* Delivery perks */
.para-delivery-perks {
	margin-top: 18px;
	padding-top: 0;
	border-top: 0;
	display: grid;
	gap: 14px;
}

.para-delivery-perks__item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.para-delivery-perks__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--tb-theme-color, #507f72);
	font-size: 24px;
	line-height: 1;
}

.para-delivery-perks__icon::before {
	font-family: "tb-icon";
	font-style: normal;
	font-weight: 400;
	speak: never;
	-webkit-font-smoothing: antialiased;
}

.para-delivery-perks__icon--truck::before {
	content: "\E0A2";
}

.para-delivery-perks__icon--clock::before {
	content: "\E025";
}

.para-delivery-perks__text {
	margin: 0;
	font-family: var(--tb-text-primary-font, Inter, sans-serif);
	font-size: 15px;
	line-height: 1.45;
	color: #6b7280;
}

.para-delivery-perks__text strong {
	color: var(--tb-theme-color, #507f72);
	font-weight: 700;
}

@media (max-width: 767px) {
	.single-product div.product #shop-now.has-buy-now {
		gap: 8px;
	}

	.single-product div.product #shop-now.has-buy-now .single_add_to_cart_button,
	.single-product div.product #shop-now.has-buy-now .tbay-buy-now {
		font-size: 14px;
		padding: 0 12px !important;
	}
}

@media (max-width: 575px) {
	.single-product div.product #shop-now.has-buy-now .quantity {
		width: 100%;
	}

	.single-product div.product #shop-now.has-buy-now .single_add_to_cart_button,
	.single-product div.product #shop-now.has-buy-now .tbay-buy-now {
		flex: 1 1 calc(50% - 4px);
	}
}
