/* KOL Advanced Menu Suite quick cart */

body.kol-ams-header-enabled {
	--kol-ams-quick-cart-fallback-top: var(--kol-ams-active-header-height, var(--kol-ams-header-height, 55px));
	--kol-ams-quick-cart-bottom: 0px;
	--kol-ams-quick-cart-bg: var(--kol-ams-header-background, #e4e4e4);
	--kol-ams-quick-cart-text: #003b56;
	--kol-ams-quick-cart-muted: rgba(0, 59, 86, 0.72);
	--kol-ams-quick-cart-border: rgba(0, 0, 0, 0.1);
	--kol-ams-quick-cart-soft: rgba(255, 255, 255, 0.42);
	--kol-ams-quick-cart-card-bg: rgba(255, 255, 255, 0.42);
	--kol-ams-quick-cart-card-border: rgba(0, 0, 0, 0.1);
	--kol-ams-quick-cart-blue: #2d7c2d;
	--kol-ams-quick-cart-green: #2d7c2d;
}

body.admin-bar.kol-ams-header-enabled {
	--kol-ams-quick-cart-fallback-top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--kol-ams-active-header-height, var(--kol-ams-header-height, 55px)));
}

html.light-mode body.kol-ams-header-enabled,
body.light-mode.kol-ams-header-enabled,
[data-theme="light"] body.kol-ams-header-enabled,
body[data-theme="light"].kol-ams-header-enabled {
	--kol-ams-quick-cart-bg: var(--kol-ams-header-background, #e4e4e4);
	--kol-ams-quick-cart-text: #003b56;
	--kol-ams-quick-cart-muted: rgba(0, 59, 86, 0.72);
	--kol-ams-quick-cart-border: rgba(0, 0, 0, 0.1);
	--kol-ams-quick-cart-soft: rgba(255, 255, 255, 0.42);
	--kol-ams-quick-cart-card-bg: rgba(255, 255, 255, 0.42);
	--kol-ams-quick-cart-card-border: rgba(0, 0, 0, 0.1);
	--kol-ams-quick-cart-blue: #2d7c2d;
	--kol-ams-quick-cart-green: #2d7c2d;
	--kol-ams-quick-cart-green-bright: #35a346;
	--kol-ams-quick-cart-control: rgba(255, 255, 255, 0.42);
	--kol-ams-quick-cart-control-hover: rgba(255, 255, 255, 0.58);
}

body.kol-ams-quick-cart-open {
	overflow: hidden;
}

.kol-ams-quick-cart,
.kol-ams-quick-cart *,
.kol-ams-quick-cart-backdrop {
	box-sizing: border-box;
}

.kol-ams-quick-cart-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99989;
	background: rgba(15, 23, 42, 0.38);
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity 180ms ease, visibility 180ms ease;
}

.kol-ams-quick-cart {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	display: grid;
	grid-template-rows: var(--kol-ams-quick-cart-top, var(--kol-ams-quick-cart-fallback-top)) auto minmax(0, 1fr) var(--kol-ams-quick-cart-bottom, 0px);
	width: min(var(--kol-ams-quick-cart-width, 420px), 100vw);
	max-width: 100vw;
	height: auto;
	min-height: 240px;
	border-left: 1px solid var(--kol-ams-quick-cart-border);
	background: var(--kol-ams-quick-cart-bg);
	box-shadow: -18px 0 42px rgba(15, 23, 42, 0.18);
	color: var(--kol-ams-quick-cart-text);
	opacity: 0;
	outline: 0;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 220ms ease, opacity 180ms ease, visibility 220ms ease;
}

.kol-ams-quick-cart::before,
.kol-ams-quick-cart::after {
	content: "";
	display: block;
	min-height: 0;
}

.kol-ams-quick-cart::before {
	grid-row: 1;
}

.kol-ams-quick-cart::after {
	grid-row: 4;
}

body.kol-ams-quick-cart-open .kol-ams-quick-cart {
	opacity: 1;
	transform: translateX(0);
	visibility: visible;
}

body.kol-ams-quick-cart-open .kol-ams-quick-cart-backdrop {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

html.light-mode .kol-ams-quick-cart-backdrop,
body.light-mode .kol-ams-quick-cart-backdrop,
[data-theme="light"] .kol-ams-quick-cart-backdrop {
	background: rgba(15, 23, 42, 0.24);
}

html.light-mode .kol-ams-quick-cart,
body.light-mode .kol-ams-quick-cart,
[data-theme="light"] .kol-ams-quick-cart {
	box-shadow:
		inset 1px 0 0 rgba(255, 255, 255, 0.72),
		-18px 0 42px rgba(15, 23, 42, 0.16);
	overflow: hidden;
}

html.light-mode .kol-ams-quick-cart::before,
body.light-mode .kol-ams-quick-cart::before,
[data-theme="light"] .kol-ams-quick-cart::before {
	display: block;
}

.kol-ams-quick-cart__header {
	grid-row: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 58px;
	padding: 0 14px 0 16px;
	border-bottom: 1px solid var(--kol-ams-quick-cart-border);
	background: var(--kol-ams-quick-cart-bg);
}

.kol-ams-quick-cart__header h2 {
	margin: 0;
	color: var(--kol-ams-quick-cart-text);
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.2;
}

.kol-ams-quick-cart__close {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--kol-ams-quick-cart-border);
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: var(--kol-ams-quick-cart-text);
	cursor: pointer;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.kol-ams-quick-cart__close:hover,
.kol-ams-quick-cart__close:focus-visible {
	background: var(--kol-ams-quick-cart-soft);
	color: var(--kol-ams-quick-cart-text);
}

.kol-ams-quick-cart__close:focus-visible {
	outline: 2px solid rgba(13, 110, 253, 0.42);
	outline-offset: 2px;
}

html.light-mode .kol-ams-quick-cart__header,
body.light-mode .kol-ams-quick-cart__header,
[data-theme="light"] .kol-ams-quick-cart__header {
	background: var(--kol-ams-quick-cart-bg);
	box-shadow: none;
}

html.light-mode .kol-ams-quick-cart__header h2,
body.light-mode .kol-ams-quick-cart__header h2,
[data-theme="light"] .kol-ams-quick-cart__header h2 {
	text-shadow: none;
}

html.light-mode .kol-ams-quick-cart__close,
body.light-mode .kol-ams-quick-cart__close,
[data-theme="light"] .kol-ams-quick-cart__close {
	background: var(--kol-ams-quick-cart-control);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 1px 3px rgba(15, 23, 42, 0.1);
}

html.light-mode .kol-ams-quick-cart__close:hover,
html.light-mode .kol-ams-quick-cart__close:focus-visible,
body.light-mode .kol-ams-quick-cart__close:hover,
body.light-mode .kol-ams-quick-cart__close:focus-visible,
[data-theme="light"] .kol-ams-quick-cart__close:hover,
[data-theme="light"] .kol-ams-quick-cart__close:focus-visible {
	background: var(--kol-ams-quick-cart-control-hover);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.28),
		0 0 12px rgba(15, 23, 42, 0.12);
}

html.light-mode .kol-ams-quick-cart__close:focus-visible,
body.light-mode .kol-ams-quick-cart__close:focus-visible,
[data-theme="light"] .kol-ams-quick-cart__close:focus-visible {
	outline-color: rgba(15, 23, 42, 0.16);
}

.kol-ams-quick-cart__content {
	grid-row: 3;
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: rgba(127, 127, 127, 0.035);
}

.kol-ams-quick-cart__content.is-loading {
	cursor: progress;
}

html.light-mode .kol-ams-quick-cart__content,
body.light-mode .kol-ams-quick-cart__content,
[data-theme="light"] .kol-ams-quick-cart__content {
	background: var(--kol-ams-quick-cart-bg);
}

.kol-ams-quick-cart__notice {
	margin: 12px 12px 0;
	padding: 10px 12px;
	border: 1px solid rgba(220, 38, 38, 0.28);
	border-radius: 8px;
	background: rgba(220, 38, 38, 0.08);
	color: #b91c1c;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.3;
}

.kol-ams-quick-cart__items {
	display: grid;
	align-content: start;
	gap: 10px;
	min-height: 0;
	padding: 12px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.kol-ams-quick-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 12px;
	min-width: 0;
	padding: 10px 38px 10px 10px;
	border: 1px solid var(--kol-ams-quick-cart-card-border);
	border-radius: 8px;
	background: var(--kol-ams-quick-cart-card-bg);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.kol-ams-quick-cart-item.is-removing {
	opacity: 0.55;
	pointer-events: none;
}

html.light-mode .kol-ams-quick-cart-item,
body.light-mode .kol-ams-quick-cart-item,
[data-theme="light"] .kol-ams-quick-cart-item {
	background: var(--kol-ams-quick-cart-card-bg);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.18),
		0 6px 16px rgba(15, 23, 42, 0.08);
}

.kol-ams-quick-cart-item__remove {
	appearance: none;
	position: absolute;
	top: 7px;
	right: 7px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 2px solid #ffffff;
	border-radius: 999px;
	background: #dc2626;
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
	color: #ffffff;
	cursor: pointer;
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
	transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.kol-ams-quick-cart-item__remove:hover,
.kol-ams-quick-cart-item__remove:focus-visible {
	background: #b91c1c;
	color: #ffffff;
	transform: scale(1.04);
}

.kol-ams-quick-cart-item__remove:focus-visible {
	outline: 2px solid rgba(220, 38, 38, 0.35);
	outline-offset: 2px;
}

.kol-ams-quick-cart-item__media {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 86px;
	height: 86px;
	overflow: hidden;
	border: 1px solid var(--kol-ams-quick-cart-border);
	border-radius: 8px;
	background: rgba(127, 127, 127, 0.06);
	color: inherit;
	text-decoration: none;
}

html.light-mode .kol-ams-quick-cart-item__media,
body.light-mode .kol-ams-quick-cart-item__media,
[data-theme="light"] .kol-ams-quick-cart-item__media {
	background: var(--kol-ams-quick-cart-soft);
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.kol-ams-quick-cart-item__image,
.kol-ams-quick-cart-item__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kol-ams-quick-cart-item__qty {
	position: absolute;
	top: 6px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--kol-ams-quick-cart-green);
	color: #ffffff;
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
}

.kol-ams-quick-cart-item__body {
	display: grid;
	align-content: start;
	gap: 6px;
	min-width: 0;
	padding-top: 2px;
}

.kol-ams-quick-cart-item__name {
	display: -webkit-box;
	max-width: 100%;
	overflow: hidden;
	color: var(--kol-ams-quick-cart-text) !important;
	font-size: 14px;
	font-weight: 850;
	line-height: 1.25;
	text-decoration: none !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.kol-ams-quick-cart-item__name:hover,
.kol-ams-quick-cart-item__name:focus-visible {
	color: var(--kol-ams-quick-cart-blue) !important;
}

.kol-ams-quick-cart-item__meta {
	max-width: 100%;
	color: var(--kol-ams-quick-cart-muted);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.3;
}

.kol-ams-quick-cart-item__meta dl,
.kol-ams-quick-cart-item__meta p {
	margin: 0;
}

.kol-ams-quick-cart-item__price {
	color: var(--kol-ams-quick-cart-text);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.15;
}

.kol-ams-quick-cart-item__points {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	max-width: 100%;
	padding: 5px 8px;
	border: 1px solid rgba(100, 168, 59, 0.28);
	border-radius: 999px;
	background: rgba(100, 168, 59, 0.12);
	color: var(--kol-ams-quick-cart-green);
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
}

.kol-ams-quick-cart-item__points i {
	color: #d9a400;
	font-size: 12px;
	line-height: 1;
}

.kol-ams-quick-cart__summary {
	display: grid;
	gap: 0;
	margin-top: auto;
	padding: 14px;
	border-top: 1px solid var(--kol-ams-quick-cart-border);
	background: var(--kol-ams-quick-cart-bg);
}

html.light-mode .kol-ams-quick-cart__summary,
body.light-mode .kol-ams-quick-cart__summary,
[data-theme="light"] .kol-ams-quick-cart__summary {
	background: var(--kol-ams-quick-cart-bg);
	box-shadow: none;
}

.kol-ams-quick-cart__summary-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
	border-bottom: 1px solid var(--kol-ams-quick-cart-border);
	color: var(--kol-ams-quick-cart-muted);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.kol-ams-quick-cart__summary-row strong {
	color: var(--kol-ams-quick-cart-text);
	font-size: 15px;
	font-weight: 900;
	text-align: right;
}

.kol-ams-quick-cart__summary-row--total {
	border-bottom: 0;
	color: var(--kol-ams-quick-cart-text);
}

.kol-ams-quick-cart__summary-row--total strong {
	font-size: 18px;
}

.kol-ams-quick-cart__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.kol-ams-quick-cart__buttons:has(.kol-ams-quick-cart__button:only-child) {
	grid-template-columns: minmax(0, 1fr);
}

.kol-ams-quick-cart__button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	min-height: 42px;
	padding: 0 12px !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	font-size: 14px !important;
	font-weight: 850 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.kol-ams-quick-cart__button i {
	flex: 0 0 auto;
	font-size: 14px;
	line-height: 1;
}

.kol-ams-quick-cart__button--secondary {
	border: 1px solid var(--kol-ams-quick-cart-border) !important;
	background: var(--kol-ams-quick-cart-bg) !important;
	color: var(--kol-ams-quick-cart-text) !important;
}

.kol-ams-quick-cart__button--primary {
	border: 1px solid var(--kol-ams-quick-cart-blue) !important;
	background: var(--kol-ams-quick-cart-blue) !important;
	color: #ffffff !important;
}

.kol-ams-quick-cart__button:hover,
.kol-ams-quick-cart__button:focus-visible {
	transform: translateY(-1px);
}

.kol-ams-quick-cart__button:focus-visible {
	outline: 2px solid rgba(13, 110, 253, 0.42);
	outline-offset: 2px;
}

html.light-mode .kol-ams-quick-cart__button,
body.light-mode .kol-ams-quick-cart__button,
[data-theme="light"] .kol-ams-quick-cart__button {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.24),
		0 4px 12px rgba(15, 23, 42, 0.1) !important;
}

html.light-mode .kol-ams-quick-cart__button--secondary,
body.light-mode .kol-ams-quick-cart__button--secondary,
[data-theme="light"] .kol-ams-quick-cart__button--secondary {
	border-color: var(--kol-ams-quick-cart-border) !important;
	background: var(--kol-ams-quick-cart-control) !important;
	color: var(--kol-ams-quick-cart-text) !important;
	text-shadow: none;
}

html.light-mode .kol-ams-quick-cart__button--secondary:hover,
html.light-mode .kol-ams-quick-cart__button--secondary:focus-visible,
body.light-mode .kol-ams-quick-cart__button--secondary:hover,
body.light-mode .kol-ams-quick-cart__button--secondary:focus-visible,
[data-theme="light"] .kol-ams-quick-cart__button--secondary:hover,
[data-theme="light"] .kol-ams-quick-cart__button--secondary:focus-visible {
	background: var(--kol-ams-quick-cart-control-hover) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.28),
		0 0 12px rgba(15, 23, 42, 0.12) !important;
}

html.light-mode .kol-ams-quick-cart__button--primary,
body.light-mode .kol-ams-quick-cart__button--primary,
[data-theme="light"] .kol-ams-quick-cart__button--primary {
	border-color: #237128 !important;
	background: linear-gradient(180deg, #39a547, #237128) !important;
	color: #ffffff !important;
	box-shadow:
		inset 1px 0 0 rgba(255, 255, 255, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		0 7px 16px rgba(45, 124, 45, 0.24) !important;
}

html.light-mode .kol-ams-quick-cart__button--primary:hover,
html.light-mode .kol-ams-quick-cart__button--primary:focus-visible,
body.light-mode .kol-ams-quick-cart__button--primary:hover,
body.light-mode .kol-ams-quick-cart__button--primary:focus-visible,
[data-theme="light"] .kol-ams-quick-cart__button--primary:hover,
[data-theme="light"] .kol-ams-quick-cart__button--primary:focus-visible {
	border-color: #2a8430 !important;
	background: linear-gradient(180deg, #45bc53, #2a8430) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.24),
		0 0 14px rgba(45, 124, 45, 0.28) !important;
}

html.light-mode .kol-ams-quick-cart__button:focus-visible,
body.light-mode .kol-ams-quick-cart__button:focus-visible,
[data-theme="light"] .kol-ams-quick-cart__button:focus-visible {
	outline-color: rgba(15, 23, 42, 0.16);
}

.kol-ams-quick-cart__empty {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 8px;
	min-height: 100%;
	padding: 32px 22px;
	color: var(--kol-ams-quick-cart-muted);
	text-align: center;
}

.kol-ams-quick-cart__empty i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: var(--kol-ams-quick-cart-soft);
	color: var(--kol-ams-quick-cart-blue);
	font-size: 22px;
	line-height: 1;
}

html.light-mode .kol-ams-quick-cart__empty i,
body.light-mode .kol-ams-quick-cart__empty i,
[data-theme="light"] .kol-ams-quick-cart__empty i {
	background: var(--kol-ams-quick-cart-control);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 1px 3px rgba(15, 23, 42, 0.1);
	color: var(--kol-ams-quick-cart-green);
}

.kol-ams-quick-cart__empty strong {
	color: var(--kol-ams-quick-cart-text);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.2;
}

.kol-ams-quick-cart__empty span {
	max-width: 260px;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.35;
}

html.dark-mode body.kol-ams-header-enabled,
body.dark-mode.kol-ams-header-enabled,
[data-theme="dark"] body.kol-ams-header-enabled,
body[data-theme="dark"].kol-ams-header-enabled {
	--kol-ams-quick-cart-bg: var(--color-theme-white-box, #121512);
	--kol-ams-quick-cart-text: var(--global-font-color, #eef4eb);
	--kol-ams-quick-cart-muted: #a8b6a2;
	--kol-ams-quick-cart-border: rgba(210, 235, 205, 0.16);
	--kol-ams-quick-cart-soft: rgba(77, 163, 255, 0.12);
	--kol-ams-quick-cart-card-bg: rgba(255, 255, 255, 0.045);
	--kol-ams-quick-cart-card-border: rgba(210, 235, 205, 0.16);
	--kol-ams-quick-cart-blue: #6ee7b7;
	--kol-ams-quick-cart-green: #35a346;
	--kol-ams-quick-cart-green-bright: #55d66a;
	--kol-ams-quick-cart-control: rgba(255, 255, 255, 0.075);
	--kol-ams-quick-cart-control-hover: rgba(255, 255, 255, 0.12);
}

html.dark-mode .kol-ams-quick-cart-backdrop,
body.dark-mode .kol-ams-quick-cart-backdrop,
[data-theme="dark"] .kol-ams-quick-cart-backdrop {
	background: rgba(0, 0, 0, 0.62);
}

html.dark-mode .kol-ams-quick-cart,
body.dark-mode .kol-ams-quick-cart,
[data-theme="dark"] .kol-ams-quick-cart {
	background: var(--kol-ams-quick-cart-bg);
	border-left-color: var(--kol-ams-quick-cart-border);
	color: var(--kol-ams-quick-cart-text);
	box-shadow: -18px 0 42px rgba(0, 0, 0, 0.48);
}

html.dark-mode .kol-ams-quick-cart__header,
html.dark-mode .kol-ams-quick-cart__content,
html.dark-mode .kol-ams-quick-cart__summary,
body.dark-mode .kol-ams-quick-cart__header,
body.dark-mode .kol-ams-quick-cart__content,
body.dark-mode .kol-ams-quick-cart__summary,
[data-theme="dark"] .kol-ams-quick-cart__header,
[data-theme="dark"] .kol-ams-quick-cart__content,
[data-theme="dark"] .kol-ams-quick-cart__summary {
	background: var(--kol-ams-quick-cart-bg);
	color: var(--kol-ams-quick-cart-text);
}

html.dark-mode .kol-ams-quick-cart__header,
html.dark-mode .kol-ams-quick-cart__summary,
body.dark-mode .kol-ams-quick-cart__header,
body.dark-mode .kol-ams-quick-cart__summary,
[data-theme="dark"] .kol-ams-quick-cart__header,
[data-theme="dark"] .kol-ams-quick-cart__summary {
	border-color: var(--kol-ams-quick-cart-border);
}

html.dark-mode .kol-ams-quick-cart__close,
body.dark-mode .kol-ams-quick-cart__close,
[data-theme="dark"] .kol-ams-quick-cart__close {
	background: var(--kol-ams-quick-cart-control);
	border-color: var(--kol-ams-quick-cart-border);
	color: var(--kol-ams-quick-cart-text);
}

html.dark-mode .kol-ams-quick-cart__close:hover,
html.dark-mode .kol-ams-quick-cart__close:focus-visible,
body.dark-mode .kol-ams-quick-cart__close:hover,
body.dark-mode .kol-ams-quick-cart__close:focus-visible,
[data-theme="dark"] .kol-ams-quick-cart__close:hover,
[data-theme="dark"] .kol-ams-quick-cart__close:focus-visible {
	background: var(--kol-ams-quick-cart-control-hover);
}

html.dark-mode .kol-ams-quick-cart-item,
body.dark-mode .kol-ams-quick-cart-item,
[data-theme="dark"] .kol-ams-quick-cart-item {
	background: var(--kol-ams-quick-cart-card-bg);
	border-color: var(--kol-ams-quick-cart-card-border);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

html.dark-mode .kol-ams-quick-cart-item__media,
body.dark-mode .kol-ams-quick-cart-item__media,
[data-theme="dark"] .kol-ams-quick-cart-item__media {
	background: rgba(255, 255, 255, 0.055);
	border-color: var(--kol-ams-quick-cart-border);
}

html.dark-mode .kol-ams-quick-cart__button--secondary,
body.dark-mode .kol-ams-quick-cart__button--secondary,
[data-theme="dark"] .kol-ams-quick-cart__button--secondary {
	background: var(--kol-ams-quick-cart-control) !important;
	border-color: var(--kol-ams-quick-cart-border) !important;
	color: var(--kol-ams-quick-cart-text) !important;
}

html.dark-mode .kol-ams-quick-cart__button--secondary:hover,
html.dark-mode .kol-ams-quick-cart__button--secondary:focus-visible,
body.dark-mode .kol-ams-quick-cart__button--secondary:hover,
body.dark-mode .kol-ams-quick-cart__button--secondary:focus-visible,
[data-theme="dark"] .kol-ams-quick-cart__button--secondary:hover,
[data-theme="dark"] .kol-ams-quick-cart__button--secondary:focus-visible {
	background: var(--kol-ams-quick-cart-control-hover) !important;
}

html.dark-mode .kol-ams-quick-cart__button--primary,
body.dark-mode .kol-ams-quick-cart__button--primary,
[data-theme="dark"] .kol-ams-quick-cart__button--primary {
	border-color: #27863a !important;
	background: linear-gradient(180deg, #3eb854, #237a35) !important;
	color: #ffffff !important;
}

html.dark-mode .kol-ams-quick-cart__empty i,
body.dark-mode .kol-ams-quick-cart__empty i,
[data-theme="dark"] .kol-ams-quick-cart__empty i {
	background: var(--kol-ams-quick-cart-control);
	color: var(--kol-ams-quick-cart-blue);
}

@media (max-width: 782px) {
	body.admin-bar.kol-ams-header-enabled {
		--kol-ams-quick-cart-fallback-top: calc(var(--wp-admin--admin-bar--height, 46px) + var(--kol-ams-active-header-height, var(--kol-ams-mobile-header-height, 56px)));
	}

	.kol-ams-quick-cart {
		width: min(var(--kol-ams-quick-cart-width, 420px), 92vw);
	}
}

@media (max-width: 420px) {
	.kol-ams-quick-cart {
		width: 100vw;
	}

	.kol-ams-quick-cart-item {
		grid-template-columns: 74px minmax(0, 1fr);
		gap: 10px;
	}

	.kol-ams-quick-cart-item__media {
		width: 74px;
		height: 74px;
	}

	.kol-ams-quick-cart__buttons {
		grid-template-columns: minmax(0, 1fr);
	}
}
