.blocker {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	width: 100%; height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	z-index: 50000;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.75);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	}
	.blocker.behind {
	background-color: transparent;
	}
	.modal {
	display: none;
	position: relative;
	z-index: 2;
	max-width: 900px;
	box-sizing: border-box;
	width: 90%;
	margin: auto;
	background: #fff;
	padding: 15px 30px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 0 10px #000;
	-moz-box-shadow: 0 0 10px #000;
	-o-box-shadow: 0 0 10px #000;
	-ms-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
	text-align: left;
	}

	.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==');

	}

	.modal-spinner {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	padding: 12px 16px;
	border-radius: 5px;
	background-color: #111;
	height: 20px;
	}

	.modal-spinner > div {
	border-radius: 100px;
	background-color: #fff;
	height: 20px;
	width: 2px;
	margin: 0 1px;
	display: inline-block;

	-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
	animation: sk-stretchdelay 1.2s infinite ease-in-out;
	}

	.modal-spinner .rect2 {
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s;
	}

	.modal-spinner .rect3 {
	-webkit-animation-delay: -1.0s;
	animation-delay: -1.0s;
	}

	.modal-spinner .rect4 {
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s;
	}

	@-webkit-keyframes sk-stretchdelay {
	0%, 40%, 100% { -webkit-transform: scaleY(0.5) }
	20% { -webkit-transform: scaleY(1.0) }
	}

	@keyframes sk-stretchdelay {
	0%, 40%, 100% {
		transform: scaleY(0.5);
		-webkit-transform: scaleY(0.5);
	}  20% {
		transform: scaleY(1.0);
		-webkit-transform: scaleY(1.0);
	}
}

/* Doko Product Modal — follows WooCommerce single product layout */
.modal.doko_modal {
	max-width: 900px;
	width: 90vw;
	padding: 0 !important;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.doko_modal_content {
	padding: 0;
	max-height: 85vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

/* WooCommerce-style two-column product layout */
.doko_modal_product {
	display: flex;
	flex-wrap: wrap;
}

/* Image gallery — left column (WC default ~48%) */
.doko_modal_product_gallery {
	flex: 0 0 48%;
	max-width: 48%;
	padding: 24px;
	box-sizing: border-box;
	background: #f7f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
}

.doko_modal_product_img {
	width: 100%;
	text-align: center;
}

.doko_modal_product_img img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	display: block;
	margin: 0 auto;
}

/* Summary — right column (WC default ~52%) */
.doko_modal_product_summary {
	flex: 0 0 52%;
	max-width: 52%;
	padding: 28px 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Product title — matches WC .product_title */
.doko_modal_product_title h2 {
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
	word-break: break-word;
	color: #333;
}

/* Price — matches WC .price styling */
.doko_modal_product_price {
	margin-bottom: 12px;
}

.doko_modal_product_price .doko-price-section {
	font-size: 1.25em;
	font-weight: 700;
	color: #77a464;
	margin: 0;
}

/* Description */
.doko_modal_product_desc {
	font-size: 0.938em;
	line-height: 1.7;
	color: #555;
	word-wrap: break-word;
	overflow-wrap: break-word;
	padding-bottom: 16px;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 8px;
	max-height: 30vh;
	overflow-y: auto;
}

/* Add to box button area */
.doko_modal_product_actions {
	padding: 20px 0 8px;
	margin-top: auto;
}

.doko_modal_product_actions .doko-add-to-box {
	display: inline-block;
	/* width: 100%; */
	padding: 14px 24px;
	font-size: 1em;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
	text-align: center;
}

/* Tablet — stack at 768px like WC does */
@media (max-width: 768px) {
	.modal.doko_modal {
		width: 95vw;
		max-width: 95vw;
	}

	.doko_modal_product {
		flex-direction: column;
	}

	.doko_modal_product_gallery,
	.doko_modal_product_summary {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.doko_modal_product_gallery {
		padding: 20px;
		max-height: 40vh;
	}

	.doko_modal_product_summary {
		padding: 20px;
	}
}

/* Mobile */
@media (max-width: 480px) {
	.modal.doko_modal {
		width: 100vw;
		max-width: 100vw;
		border-radius: 0;
	}

	.doko_modal_product_gallery {
		padding: 16px;
		max-height: 35vh;
	}

	.doko_modal_product_summary {
		padding: 16px;
	}

	.doko_modal_product_title h2 {
		font-size: 1.2em;
	}

	.doko_modal_product_price .doko-price-section {
		font-size: 1.1em;
	}

	.doko_modal_product_desc {
		font-size: 0.875em;
	}
}