#product-dialog .detail-options[hidden] {
	display: none;
}

#product-dialog [hidden] { display: none !important; }

.purchase-page { min-width: 0; padding: 24px; }
.purchase-page-title { margin: 12px 0 18px; font-size: 26px; line-height: 1.4; overflow-wrap: anywhere; }
.purchase-page-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 0; border-block: 1px solid #414141; }
.purchase-page-nav a { color: #ddd; font-size: 14px; }
.purchase-page-nav a:hover { color: var(--mint); }
#product-dialog[data-page-product]:not([data-page-product=""]) {
	position: static;
	width: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	overflow: visible;
	scrollbar-gutter: auto;
	background: transparent;
}
#product-dialog[data-page-product]:not([data-page-product=""]) .detail-toolbar { position: static; justify-content: flex-end; background: transparent; }
#product-dialog[data-page-product]:not([data-page-product=""]) .detail-toolbar > span,
#product-dialog[data-page-product]:not([data-page-product=""]) .dialog-eyebrow,
#product-dialog[data-page-product]:not([data-page-product=""]) #dialog-title,
#product-dialog[data-page-product]:not([data-page-product=""]) .dialog-close { display: none; }
.purchase-page-section { padding: 28px 0; border-top: 1px solid #414141; scroll-margin-top: 100px; }
.purchase-page-section h2 { margin: 0 0 18px; font-size: 20px; }
.purchase-description { max-width: 100%; line-height: 1.8; overflow-wrap: anywhere; }
.purchase-description img, .purchase-description video { max-width: 100%; height: auto; }
.purchase-description iframe { max-width: 100%; }
.purchase-description table { display: block; max-width: 100%; overflow-x: auto; }
.purchase-packaging { margin: 0; }
.purchase-packaging > div { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 3fr); gap: 16px; padding: 12px; border-bottom: 1px solid #393939; }
.purchase-packaging dt { color: #aaa; }
.purchase-packaging dd { margin: 0; overflow-wrap: anywhere; }
.detail-destination-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.detail-destination-fields > label, .detail-destination-fields > div { display: grid; gap: 6px; font-size: 12px; color: #bbb; }
#product-dialog .detail-destination-fields select, #product-dialog .detail-destination-fields input { width: 100%; min-width: 0; min-height: 42px; border: 1px solid #555; border-radius: 4px; padding: 8px; color: #eee; background: #262626; font: inherit; }
.detail-subtotal { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px; border-block: 1px solid #414141; }
.detail-subtotal small { display: block; margin-top: 4px; color: #aaa; font-size: 11px; }
.detail-subtotal strong { color: var(--mint); font-size: 21px; overflow-wrap: anywhere; text-align: right; }
.detail-quantity-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(85px, 1fr)); gap: 8px; margin-top: 14px; }
.detail-quantity-tiers > button { display: grid; align-content: center; min-width: 0; min-height: 64px; gap: 5px; padding: 9px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-raised); color: var(--text); font: inherit; text-align: center; cursor: pointer; }
.detail-quantity-tiers span { color: #bbb; font-size: 11px; }
.detail-quantity-tiers strong { font-size: 14px; overflow-wrap: anywhere; }
.detail-quantity-tiers .active { border-color: var(--mint); color: var(--mint); }
.detail-quantity-tiers > button:hover { border-color: var(--mint); }
.detail-quantity-tiers > button.active { box-shadow: inset 0 0 0 1px var(--mint); }
.detail-quantity-tiers > button:disabled { opacity: .55; cursor: not-allowed; }
.detail-quantity-tiers > button:focus-visible, .detail-stepper:focus-within { outline: 2px solid var(--mint); outline-offset: 2px; }
.detail-price-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-bulk-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 0; border: 0; background: transparent; color: #eee; font: inherit; font-size: 15px; cursor: pointer; white-space: nowrap; }
.detail-bulk-toggle span { color: var(--mint); font-size: 22px; }
.detail-bulk-toggle:hover { color: var(--mint); }
.detail-bulk-modal[hidden] { display: none !important; }
.detail-bulk-modal { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 24px; }
.detail-bulk-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .76); }
.detail-bulk-card { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, .82fr) minmax(360px, 1.18fr); width: min(900px, 100%); max-height: min(720px, 100%); overflow: auto; border: 1px solid #414141; border-radius: 12px; background: #fff; color: #242424; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); }
.detail-bulk-close { position: absolute; z-index: 2; top: 14px; right: 16px; width: 36px; height: 36px; border: 0; background: transparent; color: #777; font-size: 30px; line-height: 1; cursor: pointer; }
.detail-bulk-reasons { display: flex; flex-direction: column; padding: 44px 34px 30px; background: #111827; color: #f8fafc; }
.detail-bulk-reasons h2, .detail-bulk-form-panel h2 { margin: 0; font-size: 28px; line-height: 1.25; }
.detail-bulk-kicker { margin: 0 0 8px; color: #27ddd5; font-size: 13px; font-weight: 700; }
.detail-bulk-reasons ul { display: grid; gap: 23px; margin: 34px 0; padding: 0; list-style: none; }
.detail-bulk-reasons li { position: relative; display: grid; gap: 4px; padding-left: 28px; }
.detail-bulk-reasons li::before { content: '✓'; display: grid; place-items: center; position: absolute; width: 21px; height: 21px; margin-left: -28px; border-radius: 4px; background: #ff8a19; color: #fff; font-weight: 700; }
.detail-bulk-reasons li strong { font-size: 14px; }
.detail-bulk-reasons li span { color: #cbd5e1; font-size: 12px; line-height: 1.5; }
.detail-bulk-slogan { margin-top: auto; color: #cbd5e1; font-size: 13px; }
.detail-bulk-form-panel { padding: 44px 34px 30px; }
.detail-bulk-description { margin: 8px 0 22px !important; color: #6b7280; font-size: 13px; }
.detail-bulk-form-panel form { display: grid; gap: 13px; }
.detail-bulk-form-panel label { display: grid; gap: 6px; color: #4b5563; font-size: 12px; }
.detail-bulk-form-panel input, .detail-bulk-form-panel textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #d1d5db; border-radius: 5px; background: #fff; color: #1f2937; font: inherit; }
.detail-bulk-form-panel input:focus, .detail-bulk-form-panel textarea:focus { border-color: #ff7a00; outline: 2px solid rgba(255, 122, 0, .18); }
.detail-bulk-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.detail-bulk-slider { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding: 11px; border-radius: 5px; background: #f3f4f6; }
.detail-bulk-slider label { grid-column: 1 / -1; }
.detail-bulk-slider input { padding: 0; accent-color: #ff7a00; }
.detail-bulk-slider span { color: #9ca3af; font-size: 11px; white-space: nowrap; }
.detail-bulk-form-panel form > button { min-height: 42px; border: 0; border-radius: 5px; background: #e5e7eb; color: #9ca3af; font: inherit; cursor: not-allowed; }
.detail-bulk-form-panel form > button:not(:disabled) { background: #ff7a00; color: #fff; cursor: pointer; }
.detail-bulk-form-panel .dialog-feedback { color: #168477; }
.detail-product-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
#product-dialog .detail-product-actions button, #product-dialog .detail-product-actions a, #product-dialog .detail-bulk-purchase button { min-height: 32px; padding: 5px 9px; border: 1px solid #4a4a4a; border-radius: 4px; background: #242424; color: #ddd; font: inherit; font-size: 12px; text-decoration: none; cursor: pointer; }
#product-dialog .detail-product-actions button:hover, #product-dialog .detail-product-actions a:hover, #product-dialog .detail-bulk-purchase button:hover { border-color: var(--mint); color: var(--mint); }
#product-dialog .detail-product-actions button[aria-pressed="true"] { border-color: var(--mint); color: var(--mint); }
.detail-product-actions button span:first-child, .detail-product-actions a span:first-child { margin-right: 5px; color: var(--mint); }
.detail-share-panel, .detail-bulk-panel { margin-top: 10px; padding: 13px; border: 1px solid #414141; border-radius: 4px; background: #232323; }
.detail-share-panel form { display: grid; gap: 9px; }
.detail-share-panel label { display: grid; gap: 4px; color: #bbb; font-size: 11px; }
#product-dialog .detail-share-panel input, #product-dialog .detail-share-panel textarea, #product-dialog .detail-bulk-panel input, #product-dialog .detail-bulk-panel select { width: 100%; min-width: 0; padding: 8px; border: 1px solid #555; border-radius: 4px; background: #1c1c1c; color: #eee; font: inherit; }
.detail-share-panel p, .detail-bulk-panel p { margin: 0; color: #aaa; font-size: 11px; }
.detail-share-feedback, #dialog-bulk-feedback { color: var(--mint) !important; }
.detail-bulk-purchase { margin-top: 16px; padding-top: 15px; border-top: 1px solid #363636; }
.detail-bulk-purchase .detail-option-heading h3 { margin: 0; }
.detail-bulk-purchase .detail-option-heading button { color: var(--mint) !important; }
.detail-bulk-brand { display: grid; gap: 5px; margin: 10px 0; color: #bbb; font-size: 11px; }
.detail-bulk-model-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #393939; color: #ddd; font-size: 12px; }
.detail-bulk-model-row input { text-align: right; }
.detail-bulk-panel > button { margin-top: 10px; color: var(--mint) !important; }
.product-detail .detail-delivery-compact { margin: 0; padding: 0; border: 0; background: transparent; }
.detail-shipping-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 11px; line-height: 1.6; }
.detail-country-inline { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1 1 145px; white-space: nowrap; }
#product-dialog .detail-country-inline select { width: 105px; flex: 1 1 80px; min-width: 70px; min-height: 36px; padding: 5px 3px; border: 1px solid #555; border-radius: 4px; color: #eee; background: #262626; font: inherit; }
.detail-freight-inline { white-space: nowrap; }
.detail-freight-inline strong { color: var(--mint); }
.detail-carrier-inline { flex: 0 1 auto; overflow-wrap: anywhere; }
#product-dialog .detail-shipping-toggle { display: inline-flex; align-items: center; gap: 3px; min-height: 36px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--mint); font: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.detail-shipping-toggle .dashicons { width: 16px; height: 16px; font-size: 16px; text-decoration: none; }
.detail-shipping-panel { margin-top: 12px; padding: 14px; border: 1px solid #414141; border-radius: 4px; background: #232323; }
.detail-shipping-panel .detail-delivery-note { margin-top: 8px !important; }
@media (max-width: 600px) {
	.purchase-page { padding: 16px 12px; }
	.purchase-page-title { font-size: 22px; }
	.purchase-page-nav { gap: 12px 18px; }
	.product-detail .detail-toolbar { flex-wrap: wrap; gap: 8px; }
	.product-detail .detail-toolbar > div { flex-wrap: wrap; }
	.detail-subtotal strong { font-size: 18px; }
	.detail-product-actions { gap: 6px; }
	.detail-bulk-model-row { grid-template-columns: minmax(0, 1fr) 78px; }
	.detail-price-heading { gap: 8px; }
	.detail-bulk-toggle { font-size: 13px; }
	.detail-bulk-card { grid-template-columns: 1fr; max-height: calc(100dvh - 24px); }
	.detail-bulk-reasons { display: none; }
	.detail-bulk-form-panel { padding: 42px 20px 22px; }
	.detail-bulk-form-row { grid-template-columns: 1fr; }
}

#dialog-variation-options label {
	display: grid;
	gap: 10px;
	min-width: 0;
}

#dialog-variation-options select {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #555;
	border-radius: 6px;
	background: #202020;
	color: #fff;
}

.accessory-product-choice {
	text-decoration: none;
}

#product-dialog.product-detail {
	width: min(1180px, calc(100% - 32px));
	height: auto;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	border: 1px solid #414141;
	border-radius: 8px;
	background: #1b1b1b;
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 0;
}

#product-dialog.product-detail[open] {
	display: block;
}

#product-dialog.product-detail h2,
#product-dialog.product-detail h3,
#product-dialog.product-detail p {
	margin: 0;
	overflow-wrap: anywhere;
}

#product-dialog.product-detail h3 {
	font-size: 14px;
}

#product-dialog.product-detail a:focus-visible,
#product-dialog.product-detail button:focus-visible,
#product-dialog.product-detail input:focus-visible,
#product-dialog.product-detail select:focus-visible {
	outline: 2px solid var(--mint);
	outline-offset: 3px;
}

.product-detail .detail-toolbar {
	position: sticky;
	top: 0;
	z-index: 21;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: 6px 16px 6px 22px;
	border-bottom: 1px solid #383838;
	background: #202020;
	font-weight: 700;
}

.product-detail .detail-toolbar > div,
.product-detail .detail-toolbar a {
	display: flex;
	align-items: center;
	gap: 10px;
}

.product-detail .detail-toolbar a {
	margin-right: 12px;
	font-size: 12px;
	font-weight: 400;
}

#product-dialog.product-detail .dialog-close {
	position: static;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #525252;
	border-radius: 4px;
	background: #292929;
	font-size: 24px;
	line-height: 1;
}

.product-detail .detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
	align-items: start;
}

.product-detail .detail-gallery-column,
.product-detail .detail-content {
	min-width: 0;
	padding: 20px;
}

.product-detail .detail-gallery-column {
	display: grid;
	gap: 18px;
	background: #171717;
}

.product-detail .detail-media {
	display: grid;
	min-width: 0;
	gap: 10px;
}

#product-dialog.product-detail .gallery-main {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: 440px;
	aspect-ratio: 4 / 3;
	border-radius: 4px;
	background: #111;
}

#product-dialog.product-detail .gallery-main > img,
#product-dialog.product-detail .gallery-main > video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#product-dialog.product-detail .gallery-thumbnails {
	display: flex;
	flex: none;
	height: auto;
	gap: 8px;
	padding: 2px;
	overflow-x: auto;
	overflow-y: hidden;
}

#product-dialog.product-detail .gallery-thumbnail {
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
}

#product-dialog.product-detail .gallery-thumbnail img {
	object-fit: contain;
}

.product-detail .detail-information {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	padding-top: 18px;
	border-top: 1px solid #363636;
}

#product-dialog.product-detail .detail-information h3 {
	margin-bottom: 12px;
}

#product-dialog.product-detail .detail-packaging-table {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	align-items: start;
	gap: 18px;
}

#product-dialog.product-detail .detail-packaging-group {
	min-width: 0;
	border-top: 1px solid var(--line);
	padding-top: 12px;
}

#product-dialog.product-detail .detail-packaging-group h4 {
	margin: 0 0 9px;
	color: #ddd;
	font-size: 12px;
	font-weight: 600;
}

#product-dialog.product-detail #dialog-copy {
	color: #bababa;
	font-size: 12px;
	line-height: 1.8;
	white-space: pre-line;
}

.product-detail .detail-specs {
	display: grid;
	gap: 4px;
	margin: 0;
	font-size: 12px;
}

.product-detail .detail-specs > div {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 10px;
	padding: 4px 0;
}

.product-detail .detail-specs > .detail-specs-empty { grid-template-columns: minmax(0, 1fr); color: var(--muted); line-height: 1.8; }

.product-detail .detail-specs dt {
	color: #aaa;
}

.product-detail .detail-specs dd {
	margin: 0;
	overflow-wrap: anywhere;
	white-space: pre-line;
}

.product-detail .detail-custom-service {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

.product-detail .detail-process-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	max-width: 100%;
	padding: 6px 10px;
	border: 1px solid var(--mint);
	border-radius: 4px;
	color: var(--mint);
	background: transparent;
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}

.product-detail .detail-process-link:hover { background: var(--soft-highlight); }
.product-detail .detail-process-link:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.product-detail .detail-service {
	padding-top: 18px;
	border-top: 1px solid #363636;
}

.product-detail .detail-service-heading,
.product-detail .detail-section-heading,
.product-detail .detail-option-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.product-detail .detail-service-heading > div > span {
	color: var(--mint);
	font-size: 11px;
}

.product-detail .detail-service-heading a,
.product-detail .detail-section-heading a {
	color: var(--mint);
	font-size: 12px;
}

.product-detail .detail-sales-email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin: 12px 0;
	color: #bbb;
	font-size: 12px;
	overflow-wrap: anywhere;
}

.product-detail .detail-process {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 12px;
	margin: 2px 0 0;
	padding: 0;
	counter-reset: detail-step;
	list-style: none;
	font-size: 11px;
	color: #bababa;
}

.product-detail .detail-process li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.product-detail .detail-process li::before {
	counter-increment: detail-step;
	content: counter(detail-step, decimal-leading-zero);
	color: var(--mint);
	font-size: 10px;
}

.product-detail .detail-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
	gap: 14px;
	border-left: 1px solid #343434;
}

.product-detail .detail-content > * { min-width: 0; }

#product-dialog.product-detail .dialog-eyebrow {
	margin-bottom: 5px;
	color: var(--mint);
	font-size: 11px;
}

#product-dialog.product-detail #dialog-title {
	margin-bottom: 9px;
	font-size: 24px;
	line-height: 1.3;
}

#product-dialog.product-detail .dialog-tags {
	margin: 0 0 9px;
}

#product-dialog.product-detail .dialog-tags > * {
	min-height: 0;
	padding: 3px 8px;
	font-size: 11px;
}

#product-dialog.product-detail .detail-product-code {
	color: #999;
	font-size: 11px;
}

.product-detail .detail-product-code strong {
	margin-left: 8px;
	color: #ccc;
	font-weight: 400;
}

.product-detail .detail-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.product-detail .detail-price > strong {
	color: var(--mint);
	font-size: 24px;
	line-height: 1.2;
}

.product-detail .detail-price > del,
.product-detail .detail-price > span {
	color: #aaa;
	font-size: 11px;
}

.product-detail .detail-tier-prices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 13px;
	border: 1px solid #3b3b3b;
	border-radius: 4px;
	overflow: hidden;
	background: #3b3b3b;
}

.product-detail .detail-tier-prices > span {
	display: grid;
	align-content: center;
	min-height: 48px;
	padding: 9px 6px;
	background: #242424;
	text-align: center;
	font-size: 11px;
	overflow-wrap: anywhere;
}

.product-detail .detail-tier-prices > span:only-child {
	grid-column: 1 / -1;
	min-height: 36px;
	color: #bbb;
	text-align: left;
	padding-left: 12px;
}

#product-dialog.product-detail .detail-price-section > p,
#product-dialog.product-detail .detail-delivery-note {
	margin-top: 7px;
	color: #999;
	font-size: 11px;
}

.product-detail .detail-delivery {
	padding: 14px 0;
	border-top: 1px solid #383838;
	border-bottom: 1px solid #383838;
}

.product-detail .detail-section-heading h3 {
	display: flex;
	align-items: center;
	gap: 6px;
}

#product-dialog.product-detail .detail-address {
	margin: 8px 0 12px;
	color: #b5b5b5;
	font-size: 12px;
}

.product-detail .detail-shipping-field {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
}

.product-detail .detail-shipping-field select {
	width: 100%;
	min-width: 0;
	min-height: 36px;
	padding: 5px 9px;
	border: 1px solid #4b4b4b;
	border-radius: 4px;
	color: #f2f2f2;
	background: #252525;
	font-size: 12px;
}

.product-detail .detail-delivery-estimates {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 18px;
	margin-top: 11px;
	color: #999;
	font-size: 11px;
}

.product-detail .detail-delivery-estimates strong {
	margin-left: 5px;
	color: #ccc;
	font-weight: 400;
}

.product-detail .detail-options {
	display: grid;
	gap: 15px;
}

.product-detail .detail-option-heading {
	margin-bottom: 8px;
	font-size: 12px;
}

.product-detail .detail-option-heading > span {
	color: #aaa;
}

.product-detail .detail-option-heading > strong {
	overflow-wrap: anywhere;
}

#product-dialog.product-detail .dialog-color-options,
#product-dialog.product-detail .dialog-size-options {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

#product-dialog.product-detail .dialog-color-button {
	display: flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
	min-height: 40px;
	gap: 7px;
	padding: 4px 9px 4px 4px;
	border-radius: 4px;
	font-size: 12px;
	white-space: normal;
}

#product-dialog.product-detail .dialog-color-preview,
#product-dialog.product-detail .dialog-color-preview.dialog-color-swatch {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
}

#product-dialog.product-detail .dialog-color-preview img {
	object-fit: contain;
}

#product-dialog.product-detail .dialog-size-button {
	min-height: 34px;
	max-width: 100%;
	padding: 5px 10px;
	font-size: 12px;
	white-space: normal;
	overflow-wrap: anywhere;
}

.product-detail .detail-selection {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 13px 0;
	border-top: 1px solid #383838;
	border-bottom: 1px solid #383838;
}

.product-detail .detail-selection-product {
	display: flex;
	align-items: center;
	flex: 1 1 160px;
	gap: 10px;
	min-width: 0;
}

.product-detail .detail-selection-product img {
	width: 38px;
	height: 46px;
	flex: 0 0 38px;
	object-fit: contain;
	border-radius: 3px;
	background: #111;
}

.product-detail .detail-selection-product span,
.product-detail .detail-selection-product strong {
	display: block;
	font-size: 11px;
	overflow-wrap: anywhere;
}

.product-detail .detail-selection-product span,
.product-detail .detail-quantity label {
	color: #999;
	font-size: 11px;
}

.product-detail .detail-stepper {
	display: grid;
	grid-template-columns: 40px 64px 40px;
	height: 42px;
	margin-top: 4px;
	border: 1px solid #4b4b4b;
	border-radius: 4px;
	overflow: hidden;
}

.product-detail .detail-stepper > * {
	width: 100%;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	color: #f5f5f5;
	background: #252525;
	text-align: center;
}

.product-detail .detail-stepper input {
	appearance: textfield;
	-moz-appearance: textfield;
	border-left: 1px solid #3c3c3c;
	border-right: 1px solid #3c3c3c;
	font-size: 16px;
}

.product-detail .detail-stepper input::-webkit-inner-spin-button,
.product-detail .detail-stepper input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-detail .detail-stepper button:disabled {
	color: #666;
	cursor: not-allowed;
}

.product-detail .detail-purchase-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.product-detail .detail-purchase-actions button,
.product-detail .detail-quote {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--mint);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.product-detail #dialog-buy {
	color: var(--mint);
	background: transparent;
}

.product-detail #dialog-add {
	color: #10201f;
	background: var(--mint);
}

.product-detail .detail-purchase-actions button:hover {
	filter: brightness(1.12);
}

.product-detail .detail-purchase-actions button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.product-detail .detail-quote {
	min-height: 38px;
	margin-top: -8px;
	border-color: #4a4a4a;
	color: #ddd;
	background: #252525;
	font-size: 12px;
	font-weight: 400;
}

#product-dialog.product-detail .dialog-feedback {
	display: block;
	min-height: 0;
	margin: 0;
	color: var(--mint);
	font-size: 12px;
}

#product-dialog.product-detail .dialog-feedback:empty {
	display: none;
}

.product-detail .detail-support {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 12px;
	color: #999;
	font-size: 10px;
}

.product-detail .detail-related {
	padding: 22px 24px 26px;
	border-top: 1px solid #383838;
	background: #191919;
}

.product-detail .detail-related-heading {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #383838;
}

.product-detail .detail-related-heading > span {
	color: #999;
	font-size: 12px;
}

.product-detail .detail-related-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 16px;
}

.product-detail .detail-related-item {
	min-width: 0;
	border: 1px solid #373737;
	border-radius: 5px;
	background: #202020;
	overflow: hidden;
}

.product-detail .detail-related-item:hover,
.product-detail .detail-related-item:focus-within {
	border-color: var(--mint);
}

.product-detail .detail-related-preview {
	display: grid;
	gap: 10px;
	padding: 9px;
}

.product-detail .detail-related-image {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 3px;
	color: #aaa;
	background: #151515;
	overflow: hidden;
}

.product-detail .detail-related-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product-detail .detail-related-eye {
	position: absolute;
	z-index: 1;
	top: 8px;
	right: 8px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fffffff2;
	color: #222;
	cursor: pointer;
}

.product-detail .detail-related-eye:hover,
.product-detail .detail-related-eye:focus-visible { background: var(--mint); border-color: var(--mint); }

.product-detail .detail-related-copy {
	display: grid;
	gap: 5px;
	min-width: 0;
	text-align: left;
}

.product-detail .detail-related-copy strong {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.product-detail .detail-related-copy small {
	color: var(--mint);
	font-size: 13px;
}

.product-detail .detail-related-purchase {
	margin: 0;
}

.product-detail .detail-related-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 2px 9px 12px;
}

.product-detail .detail-related-options label {
	display: grid;
	gap: 4px;
	min-width: 0;
	color: #bbb;
	font-size: 12px;
}

.product-detail .detail-related-options select,
.product-detail .detail-related-options input {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 36px;
	padding: 7px 8px;
	border: 1px solid #555;
	border-radius: 4px;
	background: #171717;
	color: #f4f4f4;
	font: inherit;
}

.product-detail .detail-related-options :focus-visible {
	outline: 2px solid var(--mint);
	outline-offset: 2px;
}

.product-detail .detail-related-buy-row { display: grid; grid-template-columns: minmax(50px, .7fr) minmax(0, 1.3fr); gap: 8px; margin: 0 9px 10px; }
.product-detail .detail-related-quantity { min-width: 0; }
.product-detail .detail-related-quantity > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.product-detail .detail-related-quantity input { box-sizing: border-box; width: 100%; height: 38px; padding: 7px; border: 1px solid #555; border-radius: 4px; background: #171717; color: #eee; font: inherit; text-align: center; }

.product-detail .detail-related-action {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--mint);
	border-radius: 4px;
	background: var(--mint);
	color: #102824;
	font: inherit;
	font-size: 12px;
	text-align: center;
	cursor: pointer;
}

.product-detail .detail-related-action:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.product-detail .detail-related-feedback {
	margin: 0 9px 10px;
	color: #b9c4c1;
	font-size: 12px;
	line-height: 1.6;
}

.product-detail .detail-related-feedback:empty {
	display: none;
}

.product-detail .detail-related-feedback a {
	display: inline-block;
	color: var(--mint);
}

.product-detail .detail-related-empty {
	grid-column: 1 / -1;
	color: #999;
	font-size: 12px;
}

@media (min-width: 901px) and (max-height: 820px) {
	.product-detail .detail-content {
		gap: 12px;
	}

	#product-dialog.product-detail .gallery-main {
		max-height: 360px;
	}
}

@media (max-width: 900px) {
	.product-detail .detail-layout {
		display: flex;
		flex-direction: column;
	}

	.product-detail .detail-gallery-column {
		display: contents;
	}

	.product-detail .detail-media {
		order: 0;
		width: 100%;
		padding: 18px;
	}

	.product-detail .detail-content {
		order: 1;
		width: 100%;
		border: 0;
		padding: 0 18px 24px;
	}

	.product-detail .detail-information {
		order: 2;
		width: calc(100% - 36px);
		margin: 0 18px;
		padding: 20px 0;
	}

	#product-dialog.product-detail .detail-gallery-column > .sales-contact {
		order: 3;
		width: calc(100% - 36px);
		margin: 0 18px 20px;
	}

	.product-detail .detail-service {
		order: 3;
		width: calc(100% - 36px);
		margin: 0 18px;
		padding: 20px 0;
	}

	.product-detail .detail-related-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	#product-dialog.product-detail .dialog-color-button,
	#product-dialog.product-detail .dialog-size-button {
		min-height: 44px;
	}
}

@media (max-width: 480px) {
	.product-detail .detail-quantity-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-detail .detail-price-heading { flex-wrap: wrap; }
	.product-detail .detail-bulk-toggle { margin-left: auto; }
	#product-dialog.product-detail {
		width: calc(100% - 12px);
		max-height: calc(100vh - 12px);
		max-height: calc(100dvh - 12px);
		scrollbar-gutter: auto;
	}

	.product-detail .detail-toolbar {
		padding-left: 14px;
		padding-right: 10px;
	}

	.product-detail .detail-media {
		padding: 12px;
	}

	#product-dialog.product-detail #dialog-title {
		font-size: 22px;
	}

	.product-detail .detail-content {
		padding: 4px 14px 24px;
	}

	.product-detail .detail-information {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.product-detail .detail-related {
		padding: 18px 12px 22px;
	}

	.product-detail .detail-related-products {
		gap: 8px;
	}
	.product-detail .detail-related-options { grid-template-columns: minmax(0, 1fr); }

	.product-detail .detail-related-preview {
		padding: 6px;
	}

	.product-detail .detail-related-copy strong,
	.product-detail .detail-related-copy small {
		font-size: 12px;
	}
}
.related-quick-view {
	box-sizing: border-box;
	width: min(1200px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: #262626;
	overflow: auto;
	overscroll-behavior: contain;
	box-shadow: 0 20px 80px #0008;
}
.related-quick-view::backdrop { background: #0009; }
.related-quick-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid #e6e6e6; color: #666; font-size: 13px; }
.related-quick-header button, .related-cart-toast header button { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #555; font-size: 28px; cursor: pointer; }
.related-quick-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 24px; padding: 24px; }
.related-quick-gallery { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-content: start; gap: 12px; min-width: 0; }
.related-quick-gallery > p { grid-column: 1 / -1; margin: 6px 0; font-size: 13px; overflow-wrap: anywhere; }
.related-quick-thumbs { display: grid; align-content: start; gap: 8px; max-height: 450px; overflow-y: auto; }
.related-quick-thumbs button { padding: 2px; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; }
.related-quick-thumbs button[aria-pressed="true"] { border: 2px solid #137f79; }
.related-quick-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.related-quick-image { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; background: #f7f7f7; }
.related-quick-image img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.related-quick-content { min-width: 0; }
.related-quick-content h2 { margin: 0 0 18px; color: #222; font-size: 22px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.related-quick-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.related-quick-filters label { display: grid; gap: 6px; font-size: 13px; }
.related-quick-filters select { max-width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid #bbb; border-radius: 4px; background: #fff; color: #222; font: inherit; }
.related-quick-table-wrap { overflow-x: auto; }
.related-quick-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.related-quick-table th, .related-quick-table td { padding: 10px 8px; border: 1px solid #ddd; text-align: center; }
.related-quick-table th { background: #f3f4f4; color: #555; font-weight: 500; }
.related-quick-table td:nth-child(2), .related-quick-table td:last-child { white-space: nowrap; }
.related-quick-table td:nth-child(2) { color: #137f79; }
.related-row-preview { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #333; font: inherit; text-align: left; cursor: pointer; }
.related-row-preview img { width: 44px; height: 48px; object-fit: contain; }
.related-quick-stepper { display: inline-grid; grid-template-columns: 28px 44px 28px; border: 1px solid #bbb; border-radius: 4px; overflow: hidden; }
.related-quick-stepper button, .related-quick-stepper input { box-sizing: border-box; width: 100%; min-width: 0; height: 34px; padding: 2px; border: 0; border-radius: 0; background: #fff; color: #222; font: inherit; text-align: center; }
.related-quick-stepper button { cursor: pointer; font-size: 20px; }
.related-quick-stepper input { border-inline: 1px solid #ddd; appearance: textfield; -moz-appearance: textfield; }
.related-quick-stepper input::-webkit-inner-spin-button, .related-quick-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.related-quick-table small { display: block; margin-top: 5px; color: #777; font-size: 11px; }
.related-quick-view :disabled { opacity: .5; cursor: not-allowed; }
.related-quick-view :focus-visible, .related-cart-toast :focus-visible { outline: 2px solid #137f79; outline-offset: 2px; }
#related-quick-feedback { margin: 12px 0; color: #626262; font-size: 13px; line-height: 1.6; }
#related-quick-retry { padding: 8px 12px; border: 1px solid #bbb; border-radius: 4px; background: #fff; color: #333; cursor: pointer; }
.related-quick-footer { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px 24px; border-top: 1px solid #ddd; background: #fff; }
.related-quick-footer strong { display: block; color: #222; font-size: 18px; }
.related-quick-footer small { display: block; margin-top: 5px; color: #777; font-size: 11px; }
#related-quick-add { min-height: 44px; padding: 10px 22px; border: 0; border-radius: 5px; background: var(--mint, #42dbd5); color: #102824; font: inherit; cursor: pointer; }
.related-cart-toast { box-sizing: border-box; position: fixed; inset: auto 24px 24px auto; z-index: 10000; width: min(430px, calc(100vw - 32px)); margin: 0; padding: 0 0 20px; border: 1px solid #88cfc4; border-radius: 8px; background: #fff; color: #262626; box-shadow: 0 12px 48px #0004; text-align: center; }
.related-cart-toast header { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; background: #e0f6ed; color: #18644f; }
.related-cart-toast .related-cart-summary { margin: 22px 20px; font-size: 15px; line-height: 1.8; }
.related-cart-summary strong { color: #137f79; }
.related-cart-toast > a { display: inline-block; padding: 9px 18px; border-radius: 4px; background: #137f79; color: #fff; text-decoration: none; }
@media (max-width: 760px) {
	.related-quick-view { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
	.related-quick-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 14px; }
	.related-quick-gallery { grid-template-columns: 48px minmax(0, 1fr); }
	.related-quick-image { aspect-ratio: auto; height: 260px; }
	.related-quick-thumbs { max-height: 260px; }
	.related-quick-content h2 { font-size: 18px; }
	.related-quick-table { min-width: 440px; }
	.related-quick-footer { gap: 10px; padding: 14px; }
	.related-quick-footer strong { font-size: 16px; }
	.related-cart-toast { right: 16px; bottom: 16px; }
}
.product-detail .detail-model-options { margin: 20px 0; }
.product-detail .model-option-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.product-detail .model-option-toolbar button { min-height: 40px; padding: 8px 14px; border: 1px solid #666; border-radius: 4px; background: transparent; color: #eee; font: inherit; cursor: pointer; }
.product-detail .model-option-toolbar strong { margin-left: auto; font-size: 13px; }
.product-detail .model-option-toolbar .model-primary-button { background: #64dac8; color: #122724; border-color: #64dac8; font-weight: 700; }
.product-detail .detail-model-options .dialog-size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-detail .detail-model-options .dialog-size-button { padding: 10px 14px; }
.product-detail .model-purchase-dialog { box-sizing: border-box; inset: 0; margin: auto; padding: 0; width: min(1280px, calc(100vw - 40px)); max-width: none; max-height: 90vh; max-height: 90dvh; border: 1px solid #ddd; border-radius: 12px; background: #fff; color: #272d32; box-shadow: 0 24px 80px #0006; overflow: hidden; font-size: 15px; text-align: left; }
.product-detail .model-purchase-dialog[open] { display: flex; flex-direction: column; }
.product-detail .model-purchase-dialog::backdrop { background: #0009; }
.product-detail .model-purchase-dialog * { box-sizing: border-box; }
.product-detail .model-purchase-dialog h2, .product-detail .model-purchase-dialog h3 { margin: 0; color: #272d32; }
.product-detail .model-purchase-dialog button, .product-detail .model-purchase-dialog input, .product-detail .model-purchase-dialog select { font: inherit; }
.product-detail .model-purchase-dialog button { cursor: pointer; }
.product-detail .model-purchase-dialog button:disabled, .product-detail .model-purchase-dialog input:disabled { opacity: .45; cursor: not-allowed; }
.product-detail .model-purchase-dialog button:focus-visible, .product-detail .model-purchase-dialog input:focus-visible, .product-detail .model-purchase-dialog select:focus-visible { outline: 3px solid #238b7a; outline-offset: 2px; }
.product-detail .model-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid #e1e4e6; flex-shrink: 0; }
.product-detail .model-dialog-header h2 { font-size: 22px; }
.product-detail .model-dialog-header button { border: 0; background: transparent; color: #697078; font-size: 30px; line-height: 1; width: 40px; height: 40px; padding: 0; }
.product-detail .model-purchase-dialog .model-primary-button { border: 0; border-radius: 5px; background: #146d60; color: white; padding: 12px 20px; font-weight: 700; white-space: nowrap; }
.product-detail .model-picker-dialog { width: min(680px, calc(100vw - 32px)); }
.product-detail .model-picker-tools { display: flex; align-items: center; gap: 10px; padding: 20px 24px; flex-shrink: 0; }
.product-detail .model-picker-tools input { flex: 1; width: 0; min-width: 100px; }
.product-detail .model-picker-tools input, .product-detail .model-picker-tools select, .product-detail #model-batch-brand { height: 44px; padding: 8px 10px; border: 1px solid #b9c1c6; border-radius: 4px; background: white; color: #272d32; }
.product-detail .model-picker-list { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.product-detail .model-picker-list h3 { padding: 14px 24px; background: #eff2f3; font-size: 17px; }
.product-detail .model-picker-list button { width: 100%; text-align: left; padding: 18px 24px; border: 0; border-bottom: 1px solid #e1e4e6; border-radius: 0; background: white; color: #353e43; }
.product-detail .model-picker-list button:hover, .product-detail .model-picker-list button[aria-pressed="true"] { background: #e4f8f4; color: #125e53; }
.product-detail .model-empty { padding: 24px; color: #677278; }
.product-detail .model-batch-layout { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 24px; padding: 24px; min-height: 0; overflow-y: auto; }
.product-detail .model-batch-gallery { display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-height: 250px; max-height: 540px; }
.product-detail .model-batch-thumbnails { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.product-detail .model-batch-thumbnails button { padding: 3px; border: 1px solid #d9dfe0; border-radius: 5px; background: white; flex-shrink: 0; }
.product-detail .model-batch-thumbnails button:hover { border-color: #146d60; }
.product-detail .model-batch-thumbnails img { display: block; width: 52px; height: 60px; object-fit: contain; }
.product-detail .model-batch-preview { display: flex; align-items: center; justify-content: center; min-width: 0; background: #f7f9f9; border-radius: 6px; }
.product-detail .model-batch-preview img { width: 100%; max-height: 480px; object-fit: contain; }
.product-detail .model-batch-code { grid-column: 1 / -1; font-size: 13px; padding: 6px 0; }
.product-detail .model-batch-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.product-detail .model-batch-content h3 { font-size: 19px; line-height: 1.5; }
.product-detail #model-batch-selection { margin: 6px 0 16px; color: #677278; }
.product-detail .model-batch-color-field { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 16px; }
.product-detail .model-batch-color-field label { font-weight: 700; color: var(--text); }
.product-detail #model-batch-color { min-width: 140px; max-width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text); font: inherit; }
.product-detail .model-batch-color-field small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.product-detail .model-batch-retry { align-self: flex-start; margin: 0 24px 16px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); background: var(--surface); cursor: pointer; }
.product-detail .model-batch-color-field[hidden], .product-detail .model-batch-retry[hidden] { display: none; }
.product-detail #model-batch-color:focus-visible, .product-detail .model-batch-retry:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.product-detail .model-batch-table-wrap { overflow: auto; max-height: 470px; overscroll-behavior: contain; }
.product-detail .model-batch-table { width: 100%; min-width: 530px; margin: 0; border-collapse: collapse; font-size: 14px; }
.product-detail .model-batch-table th { position: sticky; top: 0; background: #f1f3f4; z-index: 1; }
.product-detail .model-batch-table td, .product-detail .model-batch-table th { padding: 8px; border: 1px solid #d8dddf; vertical-align: middle; color: #343c42; text-align: center; }
.product-detail .model-batch-table td:first-child { text-align: left; min-width: 190px; }
.product-detail .model-batch-table td:nth-child(2), .product-detail .model-batch-table td:last-child { white-space: nowrap; }
.product-detail .model-batch-table tr.is-selected { background: #e0f7f2; }
.product-detail #model-batch-brand { width: 100%; }
.product-detail .model-row-preview { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.product-detail .model-row-preview img { width: 42px; height: 58px; object-fit: contain; border-radius: 3px; }
.product-detail .model-batch-table small { display: block; color: #a23535; margin-top: 4px; }
.product-detail .model-stepper { display: flex; width: 118px; height: 38px; margin: auto; border: 1px solid #b9c1c6; border-radius: 4px; overflow: hidden; background: #fff; }
.product-detail .model-stepper button { width: 32px; padding: 0; flex-shrink: 0; border: 0; border-radius: 0; background: transparent; color: #364047; font-size: 20px; }
.product-detail .model-stepper input { width: 52px; min-width: 0; padding: 0 2px; border: 0; border-left: 1px solid #d8dddf; border-right: 1px solid #d8dddf; border-radius: 0; background: #fff; color: #272d32; text-align: center; appearance: textfield; }
.product-detail .model-stepper input::-webkit-inner-spin-button { appearance: none; }
.product-detail .model-batch-footer { display: flex; align-items: center; gap: 18px; padding: 16px 24px; border-top: 1px solid #e1e4e6; flex-shrink: 0; }
.product-detail .model-batch-footer > div { margin-right: auto; }
.product-detail .model-batch-footer strong { display: block; font-size: 18px; color: #146d60; }
.product-detail .model-batch-footer small { display: block; margin-top: 6px; color: #677278; font-size: 11px; }
.product-detail .model-batch-footer a { color: #146d60; white-space: nowrap; }
.product-detail .model-batch-feedback { padding: 0 24px 16px; margin: 0; color: #5e6870; font-size: 13px; flex-shrink: 0; }
body:has(.model-purchase-dialog[open]), #product-dialog:has(.model-purchase-dialog[open]) { overflow: hidden; }
@media (max-width: 760px) {
	.product-detail .model-purchase-dialog { width: calc(100vw - 16px); max-height: 96vh; max-height: 96dvh; }
	.product-detail .model-dialog-header { padding: 10px 14px; }
	.product-detail .model-picker-tools { flex-wrap: wrap; padding: 14px; }
	.product-detail .model-picker-tools input { flex-basis: 100%; width: 100%; }
	.product-detail .model-batch-layout { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
	.product-detail .model-batch-gallery { height: 190px; min-height: 0; grid-template-columns: 54px minmax(0, 1fr); }
	.product-detail .model-batch-thumbnails img { width: 42px; height: 46px; }
	.product-detail .model-batch-preview img { height: 150px; }
	.product-detail .model-batch-content { min-height: 180px; }
	.product-detail .model-batch-table { display: block; min-width: 0; }
	.product-detail .model-batch-table thead, .product-detail .model-batch-table tbody { display: block; }
	.product-detail .model-batch-table thead tr { display: flex; align-items: center; background: #f1f3f4; }
	.product-detail .model-batch-table th { position: static; border: 0; }
	.product-detail .model-batch-table th:first-child { flex: 1; min-width: 0; }
	.product-detail .model-batch-table th:nth-child(2), .product-detail .model-batch-table th:last-child { display: none; }
	.product-detail .model-batch-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 8px; border: 1px solid #d8dddf; border-top: 0; }
	.product-detail .model-batch-table td { display: block; border: 0; padding: 4px; text-align: left; }
	.product-detail .model-batch-table td:first-child { grid-column: 1 / -1; min-width: 0; }
	.product-detail .model-batch-table td:nth-child(3) { grid-column: 2; grid-row: 2 / 4; align-self: center; }
	.product-detail .model-batch-table td:nth-child(2)::before { content: '单价：'; color: #677278; }
	.product-detail .model-batch-table td:last-child::before { content: '金额：'; color: #677278; }
	.product-detail .model-batch-footer { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
	.product-detail .model-batch-footer > div { flex-basis: 100%; }
	.product-detail .model-batch-footer .model-primary-button { margin-left: auto; }
	.product-detail .model-batch-feedback { padding: 0 14px 12px; }
}
#product-dialog .destination-country-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 120px; max-width: 240px; flex: 1; min-height: 38px; padding: 5px 9px; border: 1px solid #62676b; border-radius: 4px; background: #262626; color: #eee; font: inherit; cursor: pointer; }
#destination-country-value { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.destination-flag { display: inline-flex; position: relative; align-items: center; justify-content: center; width: 25px; height: 19px; flex: 0 0 25px; overflow: hidden; border-radius: 2px; background: #e5e9eb; color: #526069; font: 10px sans-serif; box-shadow: 0 0 0 1px #0002; }
.destination-flag img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
#product-dialog .destination-country-menu { position: fixed; inset: auto; margin: 0; padding: 0; border: 1px solid #bbc3c8; border-radius: 5px; background: #fff; color: #303b43; box-shadow: 0 12px 32px #0004; z-index: 80; overflow: hidden; font: 15px/1.4 Arial, sans-serif; }
#product-dialog .destination-country-menu:popover-open, #product-dialog .destination-country-menu:not([popover]):not([hidden]) { display: flex; flex-direction: column; }
#product-dialog .destination-country-search { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid #e3e6e8; flex-shrink: 0; }
#product-dialog #destination-country-search { width: 100%; min-width: 0; height: 40px; border: 1px solid #aab4bb; padding: 7px 10px; border-radius: 3px; color: #303b43; background: #fff; font: inherit; }
#product-dialog #destination-country-close { width: 30px; padding: 0; border: 0; background: #fff; color: #737b82; font-size: 25px; cursor: pointer; }
.destination-country-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#product-dialog .destination-country-list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 10px 12px; border: 0; border-bottom: 1px solid #f0f1f2; border-radius: 0; background: white; color: #303b43; font: inherit; text-align: left; cursor: pointer; }
#product-dialog .destination-country-list button:hover, #product-dialog .destination-country-list button[aria-pressed="true"] { background: #e2f6f1; color: #146d60; }
.destination-country-list small { display: block; font-size: 12px; color: #7b848a; }
#destination-country-empty { padding: 16px; margin: 0; }
#product-dialog .shipping-method-dialog { position: fixed; box-sizing: border-box; inset: 0; width: min(820px, calc(100vw - 32px)); max-width: none; max-height: 90vh; max-height: 90dvh; margin: auto; padding: 0; border: 1px solid #bfc7cc; border-radius: 9px; background: #fff; color: #303b43; box-shadow: 0 24px 72px #0006; overflow: hidden; font: 15px/1.5 Arial, sans-serif; }
#product-dialog .shipping-method-dialog[open] { display: flex; flex-direction: column; }
.shipping-method-dialog::backdrop { background: #0008; }
.shipping-method-dialog * { box-sizing: border-box; }
.shipping-method-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; border-bottom: 1px solid #e1e5e7; flex-shrink: 0; }
#product-dialog .shipping-method-header h2 { margin: 0; font-size: 22px; color: #303b43; }
#product-dialog .shipping-method-header p { margin: 6px 0 0; color: #63717a; font-size: 13px; }
#product-dialog #shipping-method-close { width: 36px; height: 36px; border: 0; background: transparent; color: #75808a; font-size: 28px; cursor: pointer; }
#product-dialog #shipping-change-country { margin-left: 8px; border: 0; padding: 3px 0; background: transparent; color: #146d60; text-decoration: underline; font: inherit; cursor: pointer; }
.shipping-method-body { min-height: 0; padding: 16px 22px; overflow-y: auto; overscroll-behavior: contain; }
#product-dialog .shipping-method-note { margin: 0 0 12px; color: #677780; font-size: 12px; }
.shipping-method-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.shipping-method-table th { padding: 12px; background: #f0f2f4; text-align: left; color: #36434b; font-size: 15px; }
.shipping-method-table th:first-child { width: 54%; }
.shipping-method-table td { padding: 14px 12px; border-bottom: 1px solid #e1e5e7; color: #53636e; cursor: pointer; }
.shipping-method-table tr.is-selected { background: #e2f6f1; }
.shipping-method-table label { display: flex; align-items: center; gap: 12px; color: #303b43; cursor: pointer; }
.shipping-method-table input { width: 17px; height: 17px; margin: 0; accent-color: #146d60; flex-shrink: 0; }
.shipping-carrier-mark { position: relative; display: inline-flex; justify-content: center; align-items: center; box-sizing: border-box; width: 64px; height: 40px; flex: 0 0 64px; border: 1px solid #c6d7d4; border-radius: 4px; background: #edf5f3; color: #146d60; font-size: 12px; font-weight: 700; overflow: hidden; }
.shipping-carrier-mark img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.shipping-carrier-mark.has-logo { border-color: transparent; background: #fff; }
.shipping-address-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 20px; font-size: 13px; }
.shipping-method-dialog a { color: #146d60; }
#product-dialog .shipping-method-dialog .detail-destination-fields > label, #product-dialog .shipping-method-dialog .detail-destination-fields > div { color: #52636e; }
#product-dialog .shipping-method-dialog .detail-destination-fields input, #product-dialog .shipping-method-dialog .detail-destination-fields select { color: #303b43; background: white; border-color: #bcc7ce; }
.shipping-method-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-top: 1px solid #e1e5e7; flex-shrink: 0; }
.shipping-method-footer > span { color: #7a858d; font-size: 12px; }
#product-dialog #shipping-cost-calculate, #product-dialog #shipping-cost-inquiry { display: inline-block; padding: 11px 20px; border: 0; border-radius: 5px; background: #146d60; color: white; font: inherit; cursor: pointer; text-decoration: none; }
.shipping-cost-result { margin: 16px 0 0; padding: 16px; border: 1px solid #c3dcd5; border-radius: 5px; background: #f1faf7; font-size: 13px; }
#product-dialog .shipping-cost-result strong { color: #146d60; }
#product-dialog .shipping-cost-result p { margin: 8px 0 12px; color: #53636e; }
#product-dialog .shipping-method-dialog button:focus-visible, #product-dialog .shipping-method-dialog input:focus-visible, #product-dialog .destination-country-menu button:focus-visible { outline: 2px solid #238b7a; outline-offset: 2px; }
body:has(.shipping-method-dialog[open]), #product-dialog:has(.shipping-method-dialog[open]) { overflow: hidden; }
@media (max-width: 600px) {
	#product-dialog .shipping-method-dialog { width: calc(100vw - 16px); max-height: 96vh; max-height: 96dvh; }
	.shipping-method-header, .shipping-method-body, .shipping-method-footer { padding: 12px; }
	.shipping-method-table { font-size: 12px; }
	.shipping-method-table th { font-size: 12px; padding: 10px 6px; }
	.shipping-method-table th:first-child { width: 52%; }
	.shipping-method-table td { padding: 12px 6px; }
	.shipping-method-table label { gap: 6px; overflow-wrap: anywhere; }
	.shipping-method-table label { display: grid; grid-template-columns: 17px minmax(0, 1fr); }
	.shipping-method-table .shipping-carrier-mark { grid-column: 2; width: 56px; height: 35px; }
	.shipping-method-table label > span:last-child { grid-column: 2; min-width: 0; }
	.shipping-method-footer { flex-wrap: wrap; }
	.shipping-method-footer > span { flex: 1; }
	#product-dialog #shipping-cost-calculate { padding: 10px 12px; font-size: 13px; }
}
