.rexnl-bag {
	max-width: 1440px;
	margin: 0 auto;
	padding: 28px 28px 72px;
	box-sizing: border-box;
}

.rexnl-bag__empty {
	margin: 24px 0;
	font-size: 18px;
	font-weight: 650;
}

.rexnl-bag__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 36px;
	align-items: start;
}

.rexnl-bag__table {
	width: 100%;
	border: 1px solid #e4e4e4;
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.rexnl-bag__table th,
.rexnl-bag__table td {
	padding: 14px 12px;
	border-right: 1px solid #e4e4e4;
	border-bottom: 1px solid #e4e4e4;
	vertical-align: middle;
}

.rexnl-bag__table th:last-child,
.rexnl-bag__table td:last-child {
	border-right: 0;
}

.rexnl-bag__table tr:last-child td {
	border-bottom: 0;
}

.rexnl-bag__table th {
	color: #8a8a8a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: left;
	text-transform: uppercase;
	background: #fafafa;
}

.rexnl-bag__table th:nth-child(n + 3) {
	text-align: right;
}

.rexnl-bag__product {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 280px;
	max-width: 280px;
}

.rexnl-bag__thumb {
	display: block;
	flex: 0 0 auto;
}

.rexnl-bag__thumb img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 10px;
	background: #f6f6f6;
}

.rexnl-bag__name {
	display: -webkit-box;
	overflow: hidden;
	color: #141414;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.rexnl-bag__options {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	color: #666;
	font-size: 13px;
	line-height: 1.4;
}

.rexnl-bag__select {
	position: relative;
	display: inline-flex;
}

.rexnl-bag__select select {
	width: 72px;
	height: 44px;
	padding: 0 28px 0 12px;
	border: 1.5px solid #e4e4e4;
	border-radius: 10px;
	background: #fff;
	color: #141414;
	font: inherit;
	font-size: 15px;
	font-weight: 650;
	appearance: none;
}

.rexnl-bag__select select:focus {
	border-color: #141414;
	outline: none;
}

.rexnl-bag__chevron {
	position: absolute;
	top: 50%;
	right: 8px;
	display: flex;
	pointer-events: none;
	transform: translateY(-50%);
}

.rexnl-bag__money {
	font-weight: 650;
	text-align: right;
	white-space: nowrap;
}

.rexnl-bag__line {
	font-weight: 750;
}

.rexnl-bag__remove a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	color: #141414;
	text-decoration: none;
}

.rexnl-bag__remove a:hover {
	background: #f6f6f6;
}

.rexnl-bag__side {
	position: sticky;
	top: 16px;
}

.rexnl-bag__card {
	padding: 20px;
	border-radius: 16px;
	background: #f6f6f6;
}

.rexnl-bag__sum {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	font-size: 16px;
	font-weight: 650;
}

.rexnl-bag__sum strong {
	font-size: 22px;
	font-weight: 750;
}

.rexnl-bag__incl {
	margin: 4px 0 0;
	color: #6f6f6f;
	font-size: 13px;
}

.rexnl-bag__go {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	margin-top: 16px;
	border-radius: 12px;
	background: #bb8600;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.rexnl-bag__go:hover {
	background: #a37400;
	color: #fff;
}

.rexnl-bag__reviews {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: #141414;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.rexnl-bag__reviews .rexnl-stars,
.rexnl-bag__reviews .rexnl-stars__empty,
.rexnl-bag__reviews .rexnl-stars__full > span {
	display: inline-flex;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.rexnl-bag__reviews .rexnl-stars__empty {
	color: transparent;
}

.rexnl-bag__reviews .rexnl-stars__full,
.rexnl-bag__reviews .rexnl-stars__full svg {
	color: #ffc107;
}

.rexnl-bag__reviews span:last-child {
	color: #6f6f6f;
	font-weight: 550;
}

@media (max-width: 980px) {
	.rexnl-bag {
		padding: 20px 16px 56px;
	}

	.rexnl-bag__layout {
		grid-template-columns: 1fr;
	}

	.rexnl-bag__side {
		position: static;
	}

	.rexnl-bag__table {
		display: block;
		border: 0;
	}

	.rexnl-bag__table thead {
		display: none;
	}

	.rexnl-bag__table tbody,
	.rexnl-bag__table tr,
	.rexnl-bag__table td {
		display: block;
	}

	.rexnl-bag__product {
		width: auto;
		max-width: none;
	}

	.rexnl-bag__name {
		display: block;
		-webkit-line-clamp: unset;
	}

	.rexnl-bag__table tr {
		position: relative;
		margin-bottom: 12px;
		padding: 8px 40px 16px 12px;
		border: 1px solid #e4e4e4;
		border-radius: 12px;
	}

	.rexnl-bag__table td {
		padding: 6px 0;
		border: 0;
		text-align: left;
	}

	.rexnl-bag__money::before {
		content: attr(data-title) ": ";
		color: #8a8a8a;
		font-weight: 650;
	}

	.rexnl-bag__remove {
		position: absolute;
		top: 12px;
		right: 0;
	}
}
