.bodp-button-wrap {
	margin-top: 14px;
	width: 100%;
}

.bodp-open-popup.button {
	align-items: center;
	background: var(--bodp-button-bg);
	border-color: var(--bodp-button-bg);
	border-radius: 6px;
	color: var(--bodp-button-text);
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0;
	min-height: 44px;
	padding: 0 20px;
	text-align: center;
	white-space: normal;
}

.bodp-open-popup.button:hover,
.bodp-open-popup.button:focus {
	background: var(--bodp-accent);
	border-color: var(--bodp-accent);
	color: #fff;
}

.bodp-modal {
	display: none;
	inset: 0;
	position: fixed;
	z-index: 99999;
}

.bodp-modal.is-open {
	display: block;
}

.bodp-modal-open {
	overflow: hidden;
}

.bodp-modal__backdrop {
	background: rgba(15, 23, 42, 0.64);
	inset: 0;
	position: absolute;
}

.bodp-modal__dialog {
	background: var(--bodp-popup-bg);
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.32);
	color: var(--bodp-popup-text);
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
	left: 50%;
	max-height: calc(100vh - 40px);
	max-width: 860px;
	overflow: auto;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.bodp-modal__close {
	align-items: center;
	background: #fff;
	border: 1px solid #d9e0ea;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font-size: 24px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 38px;
	z-index: 2;
}

.bodp-modal__media {
	background: #f3f7fb;
	display: flex;
	min-height: 100%;
	overflow: hidden;
}

.bodp-gallery {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	position: relative;
	width: 100%;
}

.bodp-gallery__viewport {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
	min-height: 520px;
	padding: 16px;
}

.bodp-product-image {
	display: block;
	height: auto;
	max-height: min(620px, calc(100vh - 172px));
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.bodp-gallery__nav {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid #d9e0ea;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: none;
	font-size: 30px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	z-index: 2;
}

.bodp-gallery.has-multiple .bodp-gallery__nav {
	display: flex;
}

.bodp-gallery__nav:hover,
.bodp-gallery__nav:focus {
	background: #fff;
	border-color: var(--bodp-accent);
	color: var(--bodp-accent);
}

.bodp-gallery__nav:disabled {
	cursor: default;
	opacity: 0.35;
}

.bodp-gallery__nav--prev {
	left: 14px;
}

.bodp-gallery__nav--next {
	right: 14px;
}

.bodp-gallery__thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 0 14px 14px;
	scrollbar-width: thin;
}

.bodp-gallery__thumb {
	background: #fff;
	border: 2px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	flex: 0 0 58px;
	height: 58px;
	overflow: hidden;
	padding: 0;
	width: 58px;
}

.bodp-gallery__thumb.is-active {
	border-color: var(--bodp-accent);
}

.bodp-gallery__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bodp-modal__content {
	padding: 38px;
}

.bodp-modal__eyebrow {
	color: var(--bodp-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.bodp-modal h2 {
	color: inherit;
	font-size: 28px;
	line-height: 1.15;
	margin: 0 42px 10px 0;
}

.bodp-product-name {
	color: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 22px;
}

.bodp-price-line {
	align-items: center;
	border-bottom: 1px solid #e5eaf1;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 12px;
	padding-bottom: 12px;
}

.bodp-product-price del {
	color: #6b7280;
	font-weight: 600;
	margin-right: 6px;
}

.bodp-product-price ins {
	color: var(--bodp-popup-text);
	font-weight: 800;
	text-decoration: none;
}

.bodp-price-note {
	background: #eef7ff;
	border-left: 3px solid var(--bodp-accent);
	color: #1f2937;
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 16px;
	padding: 10px 12px;
}

.bodp-variation-line {
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid #e5eaf1;
	border-radius: 6px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: 0 0 16px;
	padding: 10px 12px;
}

.bodp-variation-line[hidden] {
	display: none;
}

.bodp-variation-line span {
	color: #4b5563;
	font-size: 13px;
	font-weight: 700;
	min-width: 118px;
}

.bodp-variation-line strong {
	color: #111827;
	font-size: 13px;
	line-height: 1.45;
	text-align: right;
}

.bodp-quantity-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin: 18px 0 8px;
}

.bodp-quantity {
	border: 1px solid #cfd8e3;
	border-radius: 6px;
	font-size: 18px;
	font-weight: 700;
	height: 46px;
	max-width: 150px;
	padding: 0 12px;
	width: 100%;
}

.bodp-breakdown {
	background: #f8fafc;
	border: 1px solid #e5eaf1;
	border-radius: 8px;
	margin-top: 22px;
	overflow: hidden;
}

.bodp-breakdown > div {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 12px 14px;
}

.bodp-breakdown > div + div {
	border-top: 1px solid #e5eaf1;
}

.bodp-breakdown span {
	color: #4b5563;
	font-size: 13px;
	font-weight: 600;
}

.bodp-breakdown strong {
	color: #111827;
	font-size: 14px;
	text-align: right;
}

.bodp-breakdown__total {
	background: #111827;
}

.bodp-breakdown__total span,
.bodp-breakdown__total strong {
	color: #fff;
	font-size: 16px;
}

.bodp-modal-add-to-cart.button {
	background: var(--bodp-button-bg);
	border-color: var(--bodp-button-bg);
	border-radius: 6px;
	color: var(--bodp-button-text);
	display: flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1.25;
	margin-top: 18px;
	min-height: 46px;
	padding: 12px 18px;
	text-align: center;
	white-space: normal;
	width: 100%;
}

.bodp-modal-add-to-cart.button:hover,
.bodp-modal-add-to-cart.button:focus {
	background: var(--bodp-accent);
	border-color: var(--bodp-accent);
	color: #fff;
}

.bodp-modal-add-to-cart.button:disabled,
.bodp-modal-add-to-cart.button.is-loading {
	cursor: not-allowed;
	opacity: 0.62;
}

.bodp-inquiry-form {
	margin-top: 22px;
}

.bodp-inquiry-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bodp-inquiry-form label {
	display: block;
}

.bodp-inquiry-form span {
	color: #374151;
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
}

.bodp-inquiry-form small {
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
}

.bodp-inquiry-form input,
.bodp-inquiry-form textarea {
	background: #fff;
	border: 1px solid #cfd8e3;
	border-radius: 6px;
	box-shadow: none;
	box-sizing: border-box;
	color: #111827;
	font-size: 14px;
	line-height: 1.45;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.bodp-inquiry-form textarea {
	min-height: 112px;
	resize: vertical;
}

.bodp-inquiry-message {
	margin-top: 14px;
}

.bodp-inquiry-submit.button {
	background: var(--bodp-button-bg);
	border-color: var(--bodp-button-bg);
	border-radius: 6px;
	color: var(--bodp-button-text);
	display: flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1.25;
	margin-top: 18px;
	min-height: 46px;
	padding: 12px 18px;
	text-align: center;
	white-space: normal;
	width: 100%;
}

.bodp-inquiry-submit.button:hover,
.bodp-inquiry-submit.button:focus {
	background: var(--bodp-accent);
	border-color: var(--bodp-accent);
	color: #fff;
}

.bodp-inquiry-submit.button:disabled,
.bodp-inquiry-submit.button.is-loading {
	cursor: not-allowed;
	opacity: 0.62;
}

.bodp-cart-message {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	margin: 10px 0 0;
	min-height: 19px;
}

.bodp-cart-message.is-error {
	color: #b91c1c;
}

.bodp-cart-message.is-success {
	color: #047857;
}

@media (max-width: 720px) {
	.bodp-modal__dialog {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 24px);
		width: calc(100% - 20px);
	}

	.bodp-modal__media {
		max-height: 360px;
	}

	.bodp-gallery__viewport {
		min-height: 280px;
		padding: 12px;
	}

	.bodp-product-image {
		max-height: 280px;
	}

	.bodp-modal__content {
		padding: 26px 20px;
	}

	.bodp-modal h2 {
		font-size: 24px;
	}

	.bodp-inquiry-grid {
		grid-template-columns: 1fr;
	}
}
