.wp-cart {
	--wp-cart-width: 460px;
	--wp-cart-accent: #00ad6f;
	position: fixed;
	inset: 0;
	z-index: 999999;
	pointer-events: none;
	font-family: inherit;
	color: #282a31;
	line-height: 1.4;
}

.wp-cart *,
.wp-cart *::before,
.wp-cart *::after {
	box-sizing: border-box;
}

.wp-cart__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: rgba(0, 0, 0, .35);
	opacity: 0;
	cursor: default;
	transition: opacity .25s ease;
}

.wp-cart__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(var(--wp-cart-width), 100vw);
	max-width: 100%;
	background: #fff;
	display: flex;
	flex-direction: column;
	outline: 0;
	box-shadow: 0 0 28px rgba(0, 0, 0, .12);
	transition: transform .3s cubic-bezier(.22, 1, .36, 1);
	overflow: hidden;
}

.wp-cart--right .wp-cart__panel {
	right: 0;
	transform: translateX(105%);
}

.wp-cart--left .wp-cart__panel {
	left: 0;
	transform: translateX(-105%);
}

.wp-cart.is-open {
	pointer-events: auto;
}

.wp-cart.is-open .wp-cart__overlay {
	opacity: 1;
}

.wp-cart.is-open .wp-cart__panel {
	transform: translateX(0);
}

html.wp-cart-open,
html.wp-cart-open body {
	overflow: hidden !important;
}

.wp-cart__content {
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
}

.wp-cart__header {
	min-height: 62px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 22px;
	border-bottom: 1px solid #eeeeef;
	flex: 0 0 auto;
}

.wp-cart__header h2 {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #282a31;
}

.wp-cart__header h2 span {
	font-weight: 600;
}

.wp-cart__close {
	position: relative;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #282a31;
	cursor: pointer;
}

.wp-cart__close span::before,
.wp-cart__close span::after {
	content: "";
	position: absolute;
	top: 16px;
	left: 5px;
	width: 25px;
	height: 2px;
	background: currentColor;
	transform: rotate(45deg);
}

.wp-cart__close span::after {
	transform: rotate(-45deg);
}

.wp-cart__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 2px 22px 12px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.wp-cart__items {
	padding: 0;
	margin: 0;
	list-style: none;
}

.wp-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr) auto;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #eeeeef;
}

.wp-cart-item__image {
	position: relative;
	align-self: start;
}

.wp-cart-item__image > a,
.wp-cart-item__image > img {
	display: block;
}

.wp-cart-item__image img {
	display: block;
	width: 68px;
	height: 68px;
	margin: 0;
	object-fit: contain;
	border: 1px solid #e3e4e8;
	border-radius: 8px;
	background: #fff;
}

.wp-cart-item__remove {
	position: absolute;
	top: -7px;
	left: -7px;
	width: 23px;
	height: 23px;
	padding: 0 0 2px;
	border: 0;
	border-radius: 50%;
	background: #f0f1f5;
	color: #383a42;
	font: 300 20px/21px Arial, sans-serif;
	cursor: pointer;
}

.wp-cart-item__details {
	min-width: 0;
}

.wp-cart-item__name {
	display: block;
	margin: 0 0 4px;
	color: #282a31;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	text-decoration: none;
}

.wp-cart-item__name:hover {
	color: var(--wp-cart-accent);
}

.wp-cart-item__details dl.variation {
	margin: 0 0 3px;
	font-size: 12px;
}

.wp-cart-item__details dl.variation dt,
.wp-cart-item__details dl.variation dd,
.wp-cart-item__details dl.variation p {
	display: inline;
	float: none;
	margin: 0;
	padding: 0;
}

.wp-cart-item__details dl.variation dd::after {
	content: "";
	display: block;
}

.wp-cart-item__price,
.wp-cart-item__single {
	margin: 0;
	font-weight: 600;
	font-size: 13px;
}

.wp-cart-item__line-total {
	padding-top: 1px;
	font-size: 15px;
	white-space: nowrap;
}

.wp-cart-item__buy {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.wp-cart-quantity {
	display: inline-grid;
	grid-template-columns: 30px 38px 30px;
	height: 32px;
	border: 1px solid #e1e2e5;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.wp-cart-quantity button,
.wp-cart-quantity input {
	width: 100%;
	min-width: 0;
	height: 30px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #282a31;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
	text-align: center;
	box-shadow: none;
}

.wp-cart-quantity button {
	cursor: pointer;
}

.wp-cart-quantity button:hover {
	background: #f5f5f6;
	color: #282a31;
}

.wp-cart-quantity input {
	border-right: 1px solid #e1e2e5;
	border-left: 1px solid #e1e2e5;
	appearance: textfield;
	-moz-appearance: textfield;
}

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

.wp-cart-coupon {
	border-bottom: 1px solid #eeeeef;
}

.wp-cart-coupon__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 11px 0;
	border: 0;
	background: transparent;
	color: #282a31;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.wp-cart-coupon__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	padding: 0 0 18px;
}

.wp-cart-coupon__form[hidden] {
	display: none;
}

.wp-cart-coupon__form input {
	min-width: 0;
	height: 44px;
	padding: 0 13px;
	border: 1px solid #d8d9dc;
	border-radius: 7px;
	font: inherit;
}

.wp-cart-coupon__form button {
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 7px;
	background: #282a31;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.wp-cart-coupon__message {
	padding: 0 0 12px;
	color: #238636;
	font-size: 13px;
}

.wp-cart-coupon__message.is-error {
	color: #b42318;
}

.wp-cart__footer {
	flex: 0 0 auto;
	padding: 13px 22px 16px;
	border-top: 1px solid #eeeeef;
	background: #fff;
}

.wp-cart__subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 11px;
	font-size: 15px;
	font-weight: 700;
}

.wp-cart__checkout,
.wp-cart__shop-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	padding: 7px 16px;
	border: 0;
	border-radius: 8px;
	background: var(--wp-cart-accent);
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: filter .15s ease;
}

.wp-cart__checkout:hover,
.wp-cart__checkout:focus,
.wp-cart__shop-button:hover,
.wp-cart__shop-button:focus {
	color: #fff !important;
	filter: brightness(.92);
}

.wp-cart__continue {
	display: block;
	width: 100%;
	padding: 9px 10px 0;
	border: 0;
	background: transparent;
	color: #606168;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.wp-cart__empty {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 34px;
	text-align: center;
}

.wp-cart__empty-icon {
	display: grid;
	place-items: center;
	width: 100px;
	height: 100px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: #f1f2f4;
	color: #75767d;
}

.wp-cart__empty-icon svg {
	width: 48px;
	height: 48px;
}

.wp-cart__empty h3 {
	margin: 0 0 24px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.wp-cart__shop-button {
	max-width: 320px;
	font-size: 18px;
}

.wp-cart__loading {
	position: absolute;
	z-index: 8;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .58);
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s ease;
}

.wp-cart.is-loading .wp-cart__loading {
	opacity: 1;
	pointer-events: auto;
}

.wp-cart__spinner {
	width: 38px;
	height: 38px;
	border: 3px solid #dedfe2;
	border-top-color: var(--wp-cart-accent);
	border-radius: 50%;
	animation: wp-cart-spin .7s linear infinite;
}

@keyframes wp-cart-spin {
	to { transform: rotate(360deg); }
}

.wp-cart__notice {
	position: absolute;
	right: 20px;
	bottom: 20px;
	left: 20px;
	z-index: 12;
	padding: 12px 15px;
	border-radius: 7px;
	background: #238636;
	color: #fff;
	font-size: 14px;
	text-align: center;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: .2s ease;
}

.wp-cart__notice.is-error {
	background: #b42318;
}

.wp-cart__notice.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.wp-cart-icon {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99990;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--wp-cart-accent, #00ad6f);
	color: #fff;
	box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
	cursor: pointer;
}

.wp-cart-icon__symbol {
	display: grid;
	place-items: center;
}

.wp-cart-count {
	display: grid;
	place-items: center;
	min-width: 25px;
	height: 25px;
	padding: 0 6px;
	border-radius: 20px;
	background: #ff6500;
	color: #fff;
	font: 700 13px/1 Arial, sans-serif;
}

.wp-cart-icon .wp-cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
}

.wp-cart button:focus-visible,
.wp-cart a:focus-visible,
.wp-cart input:focus-visible,
.wp-cart-icon:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--wp-cart-accent) 42%, white);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.wp-cart__panel {
		width: 100vw;
	}

	.wp-cart__header {
		min-height: 60px;
		padding: 11px 16px;
	}

	.wp-cart__header h2 {
		font-size: 20px;
	}

	.wp-cart__body {
		padding: 2px 16px 10px;
	}

	.wp-cart-item {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 12px;
		padding: 11px 0;
	}

	.wp-cart-item__image img {
		width: 64px;
		height: 64px;
		border-radius: 9px;
	}

	.wp-cart-item__line-total {
		display: none;
	}

	.wp-cart-item__name {
		margin-top: 0;
		font-size: 16px;
	}

	.wp-cart-quantity {
		grid-template-columns: 29px 36px 29px;
		height: 31px;
	}

	.wp-cart-quantity button,
	.wp-cart-quantity input {
		height: 29px;
		line-height: 29px;
	}

	.wp-cart__footer {
		padding: 12px 16px 14px;
	}

	.wp-cart__subtotal {
		margin-bottom: 10px;
		font-size: 15px;
	}

	.wp-cart__checkout {
		min-height: 44px;
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-cart__panel,
	.wp-cart__overlay,
	.wp-cart__notice,
	.wp-cart__spinner {
		transition: none;
		animation-duration: .01ms;
	}
}
