.price-offers {
	font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.offer-last-update {
	display: block;
	margin-top: 7px;
	color: #71808c;
	font-size: 11px;
	line-height: 1.35;
	text-align: center;
}

body#dark .offer-last-update {
	color: #aeb8c1;
}

.price-offers .price-offer-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 12px;
	padding: 6px;
	border: 1px solid #e3e8ed;
	border-radius: 12px;
	background: #f5f7f9;
}

.price-offer-tabs .nav-item,
.price-offer-tabs .nav-item:hover {
	float: none;
	min-width: 0;
	margin: 0;
}

.price-offer-tabs .nav-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 58px;
	padding: 9px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #59636e;
	transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.price-offer-tabs .nav-link:hover,
.price-offer-tabs .nav-link:focus {
	background: rgba(255, 255, 255, .72);
	color: #222c36;
	text-decoration: none;
}

.price-offer-tabs .nav-link:focus-visible {
	outline: 2px solid var(--main-color);
	outline-offset: 2px;
}

.price-offer-tabs .nav-link.active {
	position: relative;
	background: #fff;
	box-shadow: 0 3px 12px rgba(25, 39, 52, .1);
	color: #202a34;
	font-weight: 400;
}

.price-offer-tabs .nav-link.active::after {
	position: absolute;
	right: 12px;
	bottom: 0;
	left: 12px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--main-color);
	content: "";
}

.price-offer-tabs .nav-link.active::before {
	display: none;
}

.offer-tab__text,
.offer-tab__title,
.offer-tab__detail {
	display: block;
}

.offer-tab__text {
	min-width: 0;
}

.offer-tab__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.offer-tab__detail {
	margin-top: 3px;
	overflow: hidden;
	color: #7d8791;
	font-size: 11px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.offer-tab__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 25px;
	height: 25px;
	padding: 0 7px;
	border-radius: 999px;
	background: #e5e9ed;
	color: #58636d;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.price-offer-tabs .nav-link.active .offer-tab__count {
	background: var(--main-color);
	color: #fff;
}

.price-offers .tab-content .table-responsive {
	margin-bottom: 14px;
	overflow: hidden;
	border: 1px solid #e1e6eb;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(30, 45, 58, .07);
}

.price-offers .tab-content .table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	background: transparent;
}

.price-offers .tab-content .table > thead > tr > th {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid #e7ebef;
	background: #f7f9fa;
	color: #68737e;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .035em;
	text-transform: uppercase;
	vertical-align: middle;
}

.price-offers .tab-content .table > tbody > tr > td {
	padding: 14px;
	border: 0;
	border-bottom: 1px solid #edf0f2;
	background: #fff;
	vertical-align: middle;
	transition: background-color .18s ease;
}

.price-offers .tab-content .table > tbody > tr:last-child > td {
	border-bottom: 0;
}

.price-offers .tab-content .table-hover > tbody > tr:hover > td {
	background: #fbfcfd;
}

.price-offers .tab-content td.merchant {
	min-width: 145px;
}

.price-offers .tab-content .offers-merchant {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
}

.price-offers .tab-content .offers-merchant img {
	max-width: 92px;
	max-height: 36px;
	object-fit: contain;
}

.price-offers .tab-content td.merchant > span {
	display: inline-block;
	margin-top: 5px;
	color: #5e6974;
	font-size: 13px;
	font-weight: 500;
}

.price-offers .tab-content td.availability {
	color: #4f5963;
	font-size: 15px;
}

.price-offers .tab-content .status {
	top: 1px;
	width: 9px;
	height: 9px;
	margin-right: 6px;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(120, 130, 140, .1);
}

.price-offers .tab-content .productOffers-listItemOfferShippingDetailsRightItem {
	margin: 3px 3px 0 0;
	border-radius: 4px;
}

.price-offers .tab-content td.availability .productOffers-listItemOfferShippingDetailsRightItem {
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 19px;
	padding: 2px 6px;
	overflow: visible;
	font-size: 11px;
	line-height: 14px;
	text-overflow: clip;
	white-space: nowrap;
}

.price-offers .tab-content td.prices {
	min-width: 132px;
	text-align: right;
}

.price-offers .tab-content .total-price {
	color: #e86632;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
}

.price-offers .tab-content .sell-price,
.price-offers .tab-content .delivery-price {
	color: #68737e;
	font-size: 14px;
}

.price-offers .tab-content .delivery-free {
	display: inline-block;
	margin-top: 3px;
	color: #18864b;
	font-size: 14px;
	font-weight: 600;
}

.price-offers .offer-shipping-note {
	margin: 4px 0 20px;
	padding: 0 14px;
	color: #717b85;
	font-size: 14px;
	line-height: 1.5;
}

.price-offers .offer-shipping-note p {
	margin: 0;
}

.price-offers .tab-content td:last-child {
	min-width: 142px;
}

.price-offers .tab-content td:last-child .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 118px;
	height: auto;
	padding: 9px 13px;
	border: 1px solid #1791ca;
	border-radius: 8px;
	background: #1aa1e1;
	box-shadow: 0 3px 8px rgba(26, 161, 225, .18);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.price-offers .tab-content td:last-child .btn-primary:hover,
.price-offers .tab-content td:last-child .btn-primary:focus {
	border-color: #117bad;
	background: #1489c0;
	box-shadow: 0 5px 12px rgba(26, 161, 225, .24);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.price-offers .tab-content .offer-empty-state {
	padding: 42px 20px;
	color: #7c8791;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

body#dark .price-offer-tabs {
	border-color: #383d43;
	background: #202327;
}

body#dark .price-offer-tabs .nav-link {
	color: #bcc3ca;
}

body#dark .price-offer-tabs .nav-link:hover,
body#dark .price-offer-tabs .nav-link:focus {
	background: #2b2f34;
	color: #fff;
}

body#dark .price-offer-tabs .nav-link.active {
	background: #30343a;
	color: #fff;
}

body#dark .offer-tab__detail {
	color: #929ba4;
}

body#dark .offer-tab__count {
	background: #424850;
	color: #e3e7ea;
}

body#dark .price-offers .tab-content .table-responsive,
body#dark .price-offers .tab-content .table,
body#dark .price-offers .tab-content .table > tbody > tr > td {
	border-color: #3a3f45;
	background: #282c31;
}

body#dark .price-offers .tab-content .table > thead > tr > th {
	border-color: #3a3f45;
	background: #22262a;
	color: #aab2ba;
}

body#dark .price-offers .tab-content .table-hover > tbody > tr:hover > td {
	background: #30353a;
}

body#dark .price-offers .tab-content td.merchant > span,
body#dark .price-offers .tab-content td.availability,
body#dark .price-offers .tab-content .sell-price,
body#dark .price-offers .tab-content .delivery-price,
body#dark .price-offers .offer-shipping-note {
	color: #c0c6cc;
}

@media only screen and (min-width: 768px) {
	.price-offers .tab-content .table-cell {
		text-align: right;
	}
}

@media only screen and (max-width: 767px) {
	.price-offers .price-offer-tabs {
		display: flex;
		gap: 7px;
		overflow-x: auto;
		margin-right: -15px;
		margin-left: -15px;
		padding: 6px 15px 8px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		scroll-padding-left: 15px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}

	.price-offer-tabs::-webkit-scrollbar {
		display: none;
	}

	.price-offer-tabs .nav-item {
		flex: 0 0 158px;
		scroll-snap-align: start;
	}

	.price-offer-tabs .nav-link {
		min-height: 55px;
		padding: 8px 10px;
	}

	.offer-tab__detail {
		font-size: 10px;
	}

	.price-offers .tab-content .table-responsive {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.price-offers .tab-content .table,
	.price-offers .tab-content .table > tbody {
		display: block;
		background: transparent;
	}

	.price-offers .tab-content .table > thead {
		display: block;
	}

	.price-offers .tab-content .table > thead > tr {
		display: block;
	}

	.price-offers .tab-content .table > thead > tr > th:not(.offer-empty-state) {
		display: none;
	}

	.price-offers .tab-content .table > tbody > tr {
		display: grid;
		grid-template-areas:
			"merchant price"
			"availability price"
			"action action";
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 14px;
		margin-bottom: 12px;
		padding: 14px;
		border: 1px solid #e2e7eb;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(30, 45, 58, .07);
	}

	.price-offers .tab-content .table > tbody > tr > td {
		display: block;
		min-width: 0;
		padding: 0;
		border: 0;
		background: transparent;
		white-space: normal;
	}

	.price-offers .tab-content .table > tbody > tr:hover > td {
		background: transparent;
	}

	.price-offers .tab-content td.merchant {
		grid-area: merchant;
		align-self: start;
		text-align: left;
	}

	.price-offers .tab-content .offers-merchant {
		justify-content: flex-start;
		min-height: 32px;
	}

	.price-offers .tab-content .offers-merchant img {
		max-width: 82px;
		max-height: 30px;
	}

	.price-offers .tab-content td.availability.designation {
		display: block;
		grid-area: availability;
		align-self: end;
		font-size: 13px;
		line-height: 1.55;
		text-align: left;
		white-space: normal;
	}

	.price-offers .tab-content td.availability .table-row {
		display: none;
	}

	.price-offers .tab-content td.prices {
		grid-area: price;
		align-self: center;
		min-width: 105px;
		text-align: right;
	}

	.price-offers .tab-content .total-price {
		font-size: 23px;
	}

	.price-offers .tab-content td.designation:not(.availability) {
		display: none;
	}

	.price-offers .tab-content td:last-child {
		grid-area: action;
		margin-top: 3px;
	}

	.price-offers .tab-content td:last-child .btn-primary {
		width: 100%;
		min-width: 0;
		padding: 10px 14px;
	}

	.price-offers .tab-content .offer-empty-state {
		display: block;
		padding: 32px 18px;
		border: 1px solid #e2e7eb;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(30, 45, 58, .07);
	}

	body#dark .price-offers .tab-content .table > tbody > tr,
	body#dark .price-offers .tab-content .offer-empty-state {
		border-color: #3a3f45;
		background: #282c31;
	}

	body#dark .price-offers .tab-content .table > tbody > tr > td {
		background: transparent;
	}
}
