.m-modal {
    z-index: 99999 !important;
}
.m-by {
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    text-align: center;
	height: 100%;
	overflow: scroll;
}
.modal:target {
    opacity: 1;
    pointer-events: auto;
}
.modal > div {
    max-width: 1200px;
    width: 80%;
    position: relative;
    margin: 10vh auto;
    background: #fff;
	padding: 1em;
	border-radius: .5em;
}
.modal .modal-title {
	margin-bottom: .75em;
	color: var(--color-primary-500);
}
.modal .close {
    background: transparent;
    color: black;
    font-weight: bold;
}
.modal .background-close {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.modal-product-addons {
    display: grid;
    grid-template-columns: repeat(auto-fit ,minmax(222px,1fr));
    grid-auto-rows: 1fr;
    grid-gap: 1.5em;
	margin: auto;
}
.modal-product-addon {
}
.modal-product-addon > img {
	max-width: 200px !important;
	margin-left: auto;
	margin-right: auto;
}
.modal-product-addon > img,
.modal-product-addon > h3,
.modal-product-addon > p {
    margin-bottom: .5em;
}
a.modal-product-addon-toggle::after {
    content: '';
    background: url('/wp-content/uploads/info.svg') no-repeat scroll 50% 50% / 1em 1em;
    width: 1em;
    height: 1em;
    display: inline-flex;
    position: absolute;
    top: 0;
    right: 0;
}
a.modal-product-addon-toggle {
    position: relative;
}
.zaddon-type-container > h3 + p {position: absolute;top: 0;right: 0;}
.zaddon-type-container {
    position: relative;
}
.zaddon-type-container > .modal + p {
	display: none;
}

.product-addons-message {
	font-weight: bold;
}