.sharokina-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	width: min(420px, 90vw);
	height: 100vh;
	height: 100dvh;
	box-sizing: border-box;
	background: #fff;
	transform: translate3d(100%, 0, 0);
	transition: transform 0.25s ease;
	will-change: transform;
	font-size: var(--small-fontsize);
}

body.sharokina-cart-open .sharokina-cart-drawer {
	transform: translate3d(0, 0, 0);
}

.sharokina-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.65);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

body.sharokina-cart-open .sharokina-cart-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.25s ease, visibility 0s linear 0s;
}

body.sharokina-cart-open {
	overflow: hidden;
}

.sharokina-cart-header {
	display: grid;
	grid-template-columns: 24px 1fr 24px;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #eee;
}

.sharokina-cart-header h2 {
	grid-column: 2;
	margin: 0;
	text-align: center;
	font-size: var(--h4-fontsize);
	font-weight: 400;
	line-height: 1.2;
}

.sharokina-cart-close {
	grid-column: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.sharokina-cart-close:hover {
	color: inherit;
	background: none;
}

.sharokina-cart-close::before {
	font-family: "icomoon";
	content: "\e010";
	font-size: 15px;
	line-height: 1;
}

.sharokina-cart-items {
	flex: 1;
	overflow: auto;
	padding: 0 20px;
}

.sharokina-cart-item {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 18px;
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

.sharokina-cart-item-image {
	display: block;
	background: #f7f7f7;
}

.sharokina-cart-item-image img {
	display: block;
	width: 100%;
	height: auto;
}

.sharokina-cart-item-content {
	min-width: 0;
}

.sharokina-cart-item-title {
	display: block;
	margin: 0 0 8px;
	color: #000;
	font-weight: 600;
	text-decoration: none;
}

.sharokina-cart-item-content p {
	margin: 0 0 8px;
}

.sharokina-cart-empty {
	margin: 30px 0;
	text-align: center;
}

.sharokina-cart-footer {
	padding: 14px 20px 20px;
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
	background: #fff;
}

.sharokina-cart-total {
	margin: 0 0 16px;
	text-align: center;
	font-weight: 600;
	color: #000;
}

.sharokina-cart-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	margin: 0 0 12px;
	padding: 10px 16px;
	box-sizing: border-box;
	background: #000;
	color: #fff;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: var(--mini-fontsize);
}

.sharokina-cart-button:hover {
	background: #000;
	color: #fff;
}

.sharokina-cart-button:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 480px) {
	.sharokina-cart-drawer {
		width: 90vw;
	}

	.sharokina-cart-item {
		grid-template-columns: 75px 1fr;
		gap: 14px;
	}
}