/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.quick-add-to-cart-modal {
	background-color: #fff;
	font-size: inherit;
	font-family: inherit;
	width: calc(95% - 2rem);
	max-width: calc(var(--wp--style--global--wide-size, 1200px) - 2rem);
	height: 85vh;
	padding-top: 2rem;
	padding-right: 2rem;
	padding-left: 2rem;
	padding-bottom: 0;
	border: none;
}

.quick-add-to-cart-modal[open] {
	display: flex;
}

.quick-add-to-cart-modal::backdrop {
	background-color: black;
	opacity: 0.75;
}

.quick-add-to-cart-modal__open,
.quick-add-to-cart-modal__filter-clear {
	font-size: inherit;
	font-family: inherit;
	background: none;
	border: none;
	padding: 0;
	text-decoration: underline;
	cursor: pointer;
}

.quick-add-to-cart-modal__filter-label {
	display: block;
	margin-bottom: 5px;
}

.quick-add-to-cart-modal__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.quick-add-to-cart-modal__filter-group {
	flex: auto;
}

.quick-add-to-cart-modal__filter-clear {
	float: right;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.quick-add-to-cart-modal__open:hover,
.quick-add-to-cart-modal__filter-clear:hover {
	text-decoration: none;
	background: inherit;
	filter: brightness(200%);
}

.quick-add-to-cart-modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.quick-add-to-cart-modal__header h2 {
	margin-bottom: 0;
}

.quick-add-to-cart-modal__close {
	background-color: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 42px;
	height: 42px;
	transition: background-color 0.3s ease;
	position: relative;
}

.quick-add-to-cart-modal__close::before {
	content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');
	width: 100%;
    height: 100%;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.quick-add-to-cart-modal__close:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

.quick-add-to-cart-modal__content {
	flex-grow: 1;
}

.quick-add-to-cart-modal__table-row td {
	vertical-align: middle;
}

.quick-add-to-cart-modal__form {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	margin: 0;
	width: 100%;
}

.quick-add-to-cart-modal__message {
	display: none;
	text-align: center;
	padding: 1rem 0.5rem;
}

.quick-add-to-cart-modal__footer {
	display: flex;
	justify-content: flex-end;
	position: sticky;
	bottom: 0;
	background-color: #fff;
	border-top: 1px solid #ccc;
	z-index: 1055;
	padding: 0.5rem;
}

.quick-add-to-cart-modal__submit {
	width: 100%;
	margin: 1rem auto;
}

.quick-add-to-cart-modal .select2-search__field:placeholder-shown {
	width: 100% !important;
}

.screen-reader-text {
	word-wrap: normal !important;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

@media (min-width: 768px) {
	.quick-add-to-cart-modal__submit {
		width: auto;
		margin: unset;
	}
}
