.rental-cart {
	--rc-primary: #119be3;
	--rc-primary-dark: #087dc0;
	--rc-navy: #16345a;
	--rc-text: #1d2733;
	--rc-muted: #6c7785;
	--rc-line: #dce3ea;
	--rc-soft: #f5f8fb;
	padding: 1rem 0 0;
	color: var(--rc-text);
}

.rc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 34rem;
	align-items: start;
	gap: 3rem;
}

.rc-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 6rem;
	margin-bottom: 1.6rem;
	padding: 0 0.4rem 1.6rem;
	border-bottom: 1px solid #cfd7df;
}

.rc-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.7rem;
	line-height: 1.4;
	color: #222;
	cursor: pointer;
}

.rc-checkbox input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.rc-checkmark {
	position: relative;
	flex: 0 0 auto;
	width: 2.2rem;
	height: 2.2rem;
	border: 1px solid #aeb8c4;
	border-radius: 0.5rem;
	background: #fff;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.rc-checkbox input:checked + .rc-checkmark {
	border-color: var(--rc-primary);
	background: var(--rc-primary);
}

.rc-checkbox input:checked + .rc-checkmark::after {
	position: absolute;
	top: 0.18rem;
	left: 0.7rem;
	width: 0.55rem;
	height: 1rem;
	border: solid #fff;
	border-width: 0 0.2rem 0.2rem 0;
	content: '';
	transform: rotate(45deg);
}

.rc-checkbox input:focus-visible + .rc-checkmark {
	outline: 3px solid rgba(17, 155, 227, 0.22);
	outline-offset: 2px;
}

.rc-delete-selected,
.rc-item-delete {
	border: 1px solid #e0a2a2;
	border-radius: 0.6rem;
	background: #fff;
	color: #d84b4b;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.rc-delete-selected {
	min-width: 8.8rem;
	height: 3.8rem;
	padding: 0 1.5rem;
	font-size: 1.5rem;
}

.rc-delete-selected:hover,
.rc-item-delete:hover {
	background: #d84b4b;
	color: #fff;
}

.rc-delete-selected:disabled,
.rc-summary button:disabled {
	opacity: 0.45;
	cursor: default;
}

.rc-list {
	display: grid;
	gap: 1.6rem;
}

.rc-card {
	position: relative;
	display: grid;
	grid-template-columns: 2.4rem 13rem minmax(0, 1fr) 16rem;
	align-items: center;
	gap: 1.8rem;
	min-height: 17rem;
	padding: 2rem;
	border: 1px solid var(--rc-line);
	border-radius: 1.4rem;
	background: #fff;
	box-shadow: 0 0.8rem 2.4rem rgba(26, 53, 82, 0.055);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rc-card:hover {
	border-color: #bdcfdf;
	box-shadow: 0 1.2rem 3rem rgba(26, 53, 82, 0.09);
}

.rc-item-check {
	grid-row: 1 / span 2;
	align-self: start;
	margin-top: 0.4rem;
}

.rc-item-check .blind {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.rc-thumb {
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 13rem;
	height: 13rem;
	padding: 1rem;
	border: 1px solid #e4e9ef;
	border-radius: 1rem;
	background: #fff;
}

.rc-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.rc-info {
	grid-column: 3;
	align-self: end;
	min-width: 0;
	padding-right: 1rem;
}

.rc-product-name {
	display: block;
	padding-right: 3rem;
	font-size: 2.1rem;
	line-height: 1.45;
	font-weight: 700;
	color: #15191e;
}

.rc-product-name:hover {
	color: var(--rc-primary-dark);
}

.rc-model {
	margin-top: 0.6rem;
	font-size: 1.45rem;
	color: #83909e;
}

.rc-conditions {
	grid-column: 3;
	align-self: start;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem 1.8rem;
	margin-top: 1.2rem;
	padding: 1.2rem 1.4rem;
	border-radius: 1rem;
	background: var(--rc-soft);
}

.rc-conditions > div {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	gap: 1rem;
	font-size: 1.55rem;
	line-height: 1.45;
}

.rc-conditions dt {
	color: var(--rc-muted);
}

.rc-conditions dd {
	min-width: 0;
	font-weight: 600;
	color: #273645;
}

.rc-care-condition dd {
	color: #087dc0;
}

.rc-care-condition {
	grid-column: 1 / -1;
}

.rc-price {
	grid-column: 4;
	grid-row: 1 / span 2;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	padding: 3.4rem 0 0 1.8rem;
	border-left: 1px solid var(--rc-line);
	text-align: right;
}

.rc-price-value > span {
	font-size: 1.5rem;
	color: var(--rc-muted);
}

.rc-price-value p {
	margin-top: 0.6rem;
	font-size: 1.55rem;
	color: #222;
}

.rc-price-value strong {
	margin: 0 0.25rem 0 0.4rem;
	font-size: 2.7rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: #0b84c8;
}

.rc-quantity {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.7rem;
	margin-top: 1.2rem;
}

.rc-quantity > span {
	font-size: 1.4rem;
	color: var(--rc-muted);
}

.rc-quantity-control {
	display: inline-grid;
	grid-template-columns: 3.4rem 4.2rem 3.4rem;
	height: 3.6rem;
	overflow: hidden;
	border: 1px solid #cbd6e0;
	border-radius: 0.6rem;
	background: #fff;
}

.rc-quantity-control button,
.rc-quantity-control input {
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
	font-size: 1.5rem;
	text-align: center;
	color: #273645;
}

.rc-quantity-control button {
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.rc-quantity-control button:first-child {
	border-right: 1px solid #e0e6ec;
}

.rc-quantity-control button:last-child {
	border-left: 1px solid #e0e6ec;
}

.rc-quantity-control input {
	padding: 0;
	font-weight: 600;
	-moz-appearance: textfield;
}

.rc-quantity-control input::-webkit-outer-spin-button,
.rc-quantity-control input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.rc-quantity-control button:disabled,
.rc-quantity-control input:disabled {
	background: #f3f6f8;
	cursor: wait;
}

.rc-item-delete {
	position: absolute;
	top: 1.4rem;
	right: 1.5rem;
	width: 5rem;
	height: 3rem;
	font-size: 1.25rem;
}

.rc-summary {
	position: sticky;
	top: 2rem;
	padding: 2.8rem;
	border: 1px solid #d6dee6;
	border-radius: 1.4rem;
	background: #fff;
	box-shadow: 0 1rem 3rem rgba(26, 53, 82, 0.07);
}

.rc-summary h2 {
	font-size: 2.2rem;
	line-height: 1.4;
	font-weight: 700;
	color: #17202a;
}

.rc-summary-guide {
	margin-top: 0.5rem;
	font-size: 1.5rem;
	line-height: 1.5;
	color: var(--rc-muted);
}

.rc-summary-count {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 2.4rem;
	padding: 1.7rem 0;
	border-top: 1px solid #e2e7ec;
	font-size: 1.55rem;
}

.rc-summary-count span {
	color: var(--rc-muted);
}

.rc-summary-count strong {
	font-size: 1.7rem;
	font-weight: 600;
}

.rc-summary-count em {
	font-style: normal;
}

.rc-total-price {
	padding: 2.4rem 0 2.6rem;
	border-top: 1px solid #e2e7ec;
}

.rc-total-price > span {
	display: block;
	font-size: 1.55rem;
	color: var(--rc-muted);
}

.rc-total-price p {
	margin-top: 1rem;
	font-size: 1.5rem;
	text-align: right;
	color: #111;
}

.rc-total-price strong {
	margin: 0 0.3rem 0 0.5rem;
	font-size: 3rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.05em;
}

.rc-summary-actions {
	display: grid;
	gap: 1rem;
}

.rc-summary-actions button {
	width: 100%;
	height: 5.2rem;
	border-radius: 0.8rem;
	font-size: 1.7rem;
	font-weight: 700;
	cursor: pointer;
}

.rc-apply-selected {
	border: 1px solid #273645;
	background: #fff;
	color: #273645;
}

.rc-apply-all {
	border: 1px solid var(--rc-primary);
	background: var(--rc-primary);
	color: #fff;
}

.rc-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 38rem;
	padding: 5rem 2rem;
	border: 1px solid var(--rc-line);
	border-radius: 1.4rem;
	background: #fff;
	text-align: center;
}

.rc-empty-icon {
	position: relative;
	width: 6rem;
	height: 5.5rem;
	margin-bottom: 2rem;
	border: 0.25rem solid #a9b8c7;
	border-top: 0;
	transform: skew(-8deg);
}

.rc-empty-icon::before,
.rc-empty-icon::after {
	position: absolute;
	bottom: -1.4rem;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: #a9b8c7;
	content: '';
}

.rc-empty-icon::before {
	left: 1rem;
}

.rc-empty-icon::after {
	right: 1rem;
}

.rc-empty strong {
	font-size: 2rem;
	color: #263442;
}

.rc-empty p {
	margin-top: 0.8rem;
	font-size: 1.45rem;
	color: var(--rc-muted);
}

.rc-empty a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 14rem;
	height: 4.6rem;
	margin-top: 2.4rem;
	border-radius: 0.7rem;
	background: var(--rc-primary);
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
}

@media (min-width: 641px) {
	.rc-card {
		grid-template-columns: 2.4rem 16rem minmax(0, 1fr) 16rem;
		min-height: 20rem;
	}

	.rc-item-check {
		position: static;
		grid-column: 1;
		grid-row: 1 / span 2;
		align-self: start;
		margin-top: 0.4rem;
	}

	.rc-thumb {
		grid-column: 2;
		width: 16rem;
		height: 16rem;
		padding: 1.2rem;
	}

	.rc-info,
	.rc-conditions {
		grid-column: 3;
	}

	.rc-price {
		grid-column: 4;
	}
}

@media (max-width: 1200px) {
	.rc-layout {
		grid-template-columns: minmax(0, 1fr) 30rem;
		gap: 2rem;
	}
}

@media (max-width: 1100px) {
	.rental-cart {
		padding-bottom: 0;
	}

	.rc-layout {
		grid-template-columns: 1fr;
	}

	.rc-summary {
		position: static;
	}

	.rc-summary-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rental-cart {
		padding: 0;
		font-size: 1.9rem;
	}

	.rc-toolbar {
		min-height: 5.4rem;
		margin-bottom: 1.2rem;
		padding-bottom: 1.2rem;
	}

	.rc-checkbox {
		font-size: 1.85rem;
	}

	.rc-delete-selected {
		height: 4rem;
		font-size: 1.6rem;
	}

	.rc-card {
		grid-template-columns: 2.3rem 11rem minmax(0, 1fr);
		align-items: start;
		gap: 1.4rem;
		min-height: 0;
		padding: 2rem 1.5rem;
		border-radius: 1rem;
	}

	.rc-item-check,
	.rc-thumb {
		grid-row: 1;
	}

	.rc-info {
		grid-column: 3;
		grid-row: 1;
	}

	.rc-thumb {
		width: 11rem;
		height: 11rem;
		padding: 0.8rem;
	}

	.rc-info {
		padding-right: 0;
	}

	.rc-product-name {
		padding-right: 2.8rem;
		font-size: 2.2rem;
		line-height: 1.4;
	}

	.rc-model {
		font-size: 1.65rem;
	}

	.rc-conditions {
		grid-column: 1 / -1;
		grid-row: 2;
		grid-template-columns: 1fr;
		gap: 0.8rem;
		margin-top: 1.3rem;
		padding: 1.3rem;
	}

	.rc-conditions > div {
		grid-template-columns: 7.8rem minmax(0, 1fr);
		font-size: 1.85rem;
		line-height: 1.5;
	}

	.rc-price {
		grid-column: 1 / -1;
		grid-row: 3;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 1.5rem 0 0;
		border-top: 1px solid var(--rc-line);
		border-left: 0;
		text-align: right;
	}

	.rc-price-value > span {
		font-size: 1.65rem;
	}

	.rc-price-value p {
		margin-top: 0;
		font-size: 1.7rem;
	}

	.rc-price-value strong {
		font-size: 2.9rem;
	}

	.rc-quantity {
		align-items: flex-end;
		gap: 0.5rem;
		margin-top: 0;
	}

	.rc-quantity > span {
		font-size: 1.55rem;
	}

	.rc-quantity-control {
		grid-template-columns: 3.8rem 4.6rem 3.8rem;
		height: 4rem;
	}

	.rc-quantity-control button,
	.rc-quantity-control input {
		font-size: 1.7rem;
	}

	.rc-quantity-control button {
		font-size: 2.2rem;
	}

	.rc-item-delete {
		top: 1.2rem;
		right: 1.2rem;
		width: 5rem;
		height: 3.4rem;
		font-size: 1.45rem;
	}

	.rc-summary {
		padding: 2.2rem 1.8rem;
		border-radius: 1rem;
	}

	.rc-summary h2 {
		font-size: 2.4rem;
	}

	.rc-summary-guide,
	.rc-summary-count,
	.rc-total-price > span {
		font-size: 1.7rem;
	}

	.rc-total-price strong {
		font-size: 3.2rem;
	}

	.rc-summary-actions {
		gap: 0.8rem;
	}

	.rc-summary-actions button {
		height: 5rem;
		font-size: 1.9rem;
	}

	.rc-empty {
		min-height: 32rem;
	}
}
