.ingeo-purchase-tabs {
	--ingeo-tabs-accent: var(--e-global-color-accent, #ff176b);
	--ingeo-tabs-accent-soft: #fff0f6;
	clear: both;
	margin: 26px 0 22px;
}

.ingeo-purchase-tabs__nav {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 4px;
	padding: 4px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.single-product .ingeo-purchase-tabs__tab {
	min-width: 0;
	min-height: 44px;
	margin: 0 !important;
	padding: 10px 12px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #4b5563 !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	transform: none !important;
	transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
	cursor: pointer;
}

.single-product .ingeo-purchase-tabs__tab::before,
.single-product .ingeo-purchase-tabs__tab::after {
	display: none !important;
	content: none !important;
}

.single-product .ingeo-purchase-tabs__tab:hover:not(.is-active) {
	background: var(--ingeo-tabs-accent-soft) !important;
	color: var(--ingeo-tabs-accent) !important;
}

.single-product .ingeo-purchase-tabs__tab.is-active,
.single-product .ingeo-purchase-tabs__tab.is-active:hover,
.single-product .ingeo-purchase-tabs__tab.is-active:focus {
	background: var(--ingeo-tabs-accent) !important;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
	color: #fff !important;
}

.single-product .ingeo-purchase-tabs__tab:focus-visible {
	outline: 2px solid var(--ingeo-tabs-accent) !important;
	outline-offset: 2px;
}

.ingeo-purchase-tabs__panel {
	margin-top: 12px;
	padding: 22px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(17, 24, 39, 0.05);
}

.ingeo-purchase-tabs__panel[hidden] {
	display: none !important;
}

.ingeo-purchase-tabs__panel > h5 {
	margin: 0 0 8px;
}

.ingeo-purchase-tabs__panel > p {
	margin: 0 0 16px;
}

.ingeo-purchase-tabs__cta {
	display: inline-block;
}

.ingeo-purchase-tabs__form {
	margin-top: 16px;
}

.ingeo-purchase-tabs__form .wpcf7-form > p {
	margin: 0 0 14px;
}

.ingeo-purchase-tabs__form .wpcf7-form label {
	display: block;
	font-weight: 600;
}

.ingeo-purchase-tabs__form input:not([type="submit"]):not([type="hidden"]),
.ingeo-purchase-tabs__form textarea,
.ingeo-purchase-tabs__form select {
	box-sizing: border-box;
	width: 100%;
	margin-top: 6px;
}

.ingeo-purchase-tabs__form input[type="submit"] {
	min-width: 130px;
}

.ingeo-purchase-tabs__form .wpcf7-spinner {
	vertical-align: middle;
}

.ingeo-purchase-tabs__form .wpcf7-response-output {
	margin-right: 0;
	margin-left: 0;
}

.ingeo-linked-products {
	clear: both;
	margin: 0 0 22px;
}

.ingeo-linked-products > h5 {
	margin: 0 0 4px;
}

.ingeo-linked-products__help {
	margin: 0 0 12px;
	font-size: 13px;
	color: #666;
}

.ingeo-linked-products__scroll {
	overflow: hidden;
	border: 1px solid #e4e4e4;
	border-radius: 4px;
}

.ingeo-linked-products__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.ingeo-linked-products__table th,
.ingeo-linked-products__table td {
	box-sizing: border-box;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid #e9e9e9;
	vertical-align: middle;
}

.ingeo-linked-products__table thead th {
	background: #f7f7f7;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.ingeo-linked-products__table thead th:last-child {
	width: 126px;
}

.ingeo-linked-products__table tbody tr:last-child td {
	border-bottom: 0;
}

.ingeo-linked-products__table tbody tr.is-selected td {
	background: #f2f8f3;
}

.ingeo-linked-products__product {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ingeo-linked-products__image {
	flex: 0 0 54px;
}

.ingeo-linked-products__image img {
	display: block;
	width: 54px;
	height: 54px;
	margin: 0;
	object-fit: cover;
	border-radius: 3px;
}

.ingeo-linked-products__details {
	min-width: 0;
	flex: 1 1 auto;
}

.ingeo-linked-products__name {
	display: block;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: normal;
	word-break: normal;
}

.ingeo-linked-products__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 5px;
	margin-top: 5px;
	font-size: 14px;
	line-height: 1.35;
}

.ingeo-linked-products__action {
	width: 126px;
	text-align: right;
}

.ingeo-linked-products__toggle {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0 !important;
	padding: 8px 14px !important;
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
}

.ingeo-linked-products__toggle:disabled {
	width: 100%;
	padding-right: 8px !important;
	padding-left: 8px !important;
	font-size: 12px;
}

.single-product .ingeo-linked-products__toggle.is-selected,
.single-product .ingeo-linked-products__toggle.is-selected:hover,
.single-product .ingeo-linked-products__toggle.is-selected:focus,
.single-product .ingeo-linked-products__toggle.is-selected:active {
	background: transparent !important;
	color: #b32d2e !important;
	border-color: #b32d2e !important;
	box-shadow: none !important;
}

.single-product .ingeo-linked-products__toggle.is-selected::before,
.single-product .ingeo-linked-products__toggle.is-selected::after {
	display: none !important;
	content: none !important;
}

.ingeo-linked-products__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 10px;
	padding: 12px;
	background: #f7f7f7;
	border-radius: 4px;
}

.ingeo-linked-products__total-value {
	font-size: 18px;
}

@media (max-width: 600px) {
	.ingeo-purchase-tabs {
		margin-top: 20px;
	}

	.ingeo-purchase-tabs__nav {
		gap: 2px;
		padding: 3px;
		border-radius: 10px;
	}

	.single-product .ingeo-purchase-tabs__tab {
		min-height: 42px;
		padding: 9px 5px !important;
		border-radius: 7px !important;
		font-size: 13px;
	}

	.ingeo-purchase-tabs__panel {
		margin-top: 10px;
		padding: 17px;
		border-radius: 10px;
	}

	.ingeo-linked-products__table thead {
		display: none;
	}

	.ingeo-linked-products__table tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 112px;
		align-items: center;
		padding: 10px;
		border-bottom: 1px solid #e9e9e9;
	}

	.ingeo-linked-products__table td {
		padding: 4px;
		border: 0;
	}

	.ingeo-linked-products__action {
		width: auto;
		text-align: right;
	}

	.ingeo-linked-products__toggle {
		min-width: 0 !important;
		padding-right: 10px !important;
		padding-left: 10px !important;
	}
}

@media (max-width: 420px) {
	.ingeo-linked-products__table tr {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.ingeo-linked-products__action,
	.ingeo-linked-products__toggle {
		width: 100%;
	}
}
