.flower-mp {
	--flower-accent: var(--mgk-merchant-accent, #9615db);
	--flower-danger: var(--mgk-merchant-danger, #c8002c);
	--flower-border: var(--mgk-merchant-border, #e9e6ef);
	--flower-muted: #8a8494;
}

.flower-mp__sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.flower-mp__intro { max-width: 760px; margin: -6px 0 16px; color: var(--flower-muted); font-size: 12.5px; line-height: 1.55; }
.flower-mp__intro a { color: var(--flower-accent); font-weight: 600; }
.flower-mp__search-form { display: contents; }

.flower-mp__product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.flower-mp__product-text { min-width: 0; }
.flower-mp__product-link { color: inherit; text-decoration: none; }
.flower-mp__product-link:hover { color: var(--flower-accent); text-decoration: underline; }
.flower-mp__gap { margin: 3px 0 0; color: #a1640f; font-size: 11px; font-weight: 600; white-space: normal; }
.flower-mp__occasions { max-width: 200px; white-space: normal !important; line-height: 1.45; }
.flower-mp__colour { display: inline-flex; align-items: center; gap: 7px; }
.flower-mp__muted { color: var(--flower-muted); }
.flower-mp__warn { color: #a12121; }
.flower-mp__list tr.is-just-saved td { background: #fbf5ff; }
.flower-mp__empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 20px; text-align: center; }
.flower-mp__empty .mgk-mdash__empty { margin: 0; }
.flower-mp .mgk-mord__view:focus-visible,
.flower-mp__product-link:focus-visible { outline: 2px solid var(--flower-accent); outline-offset: 2px; }

.flower-mp__dot {
	display: inline-block;
	flex: 0 0 auto;
	width: 14px; height: 14px;
	font-style: normal;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(27, 27, 31, .14);
}
.flower-mp__dot.is-empty { background: repeating-linear-gradient(45deg, #fff 0 3px, #e9e6ef 3px 6px); }
.flower-mp__dot--lg { width: 34px; height: 34px; }

.flower-mp__optional { font-weight: 500; text-transform: none; letter-spacing: 0; color: #8a8794; }
.flower-mp__note { margin: 0 0 14px; padding: 10px 12px; color: #4a4754; font-size: 12px; line-height: 1.5; background: #fbfafd; border: 1px solid #ece9f2; border-left: 3px solid var(--flower-accent); border-radius: 8px; }
.flower-mp__section-head { align-items: center; }
.flower-mp__section-head h2 { margin-bottom: 0 !important; }
.flower-mp__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.flower-mp__label-row .mgk-mp-form__group-label { margin: 0; color: #6e6a78; font-size: 11px; font-weight: 600; letter-spacing: .015em; text-transform: uppercase; }
.flower-mp__label-row a { color: var(--flower-accent); font-size: 11px; font-weight: 600; white-space: nowrap; }
.flower-mp__colour-choice { gap: 6px; }

.flower-mp-form .flower-mp__choice--radio span { border-radius: 50%; color: transparent; }
.flower-mp-form .flower-mp__choice--radio input:checked + span {
	color: transparent;
	background: radial-gradient(circle at center, var(--flower-accent) 0 3.5px, #fff 4.5px);
	border-color: var(--flower-accent);
}
.flower-mp__also { margin: 14px 0 0; }
.flower-mp__also .mgk-mp-form__group-label { display: block; margin-bottom: 6px; }
.flower-mp__hint-top { margin: -6px 0 12px; line-height: 1.5; }
.flower-mp-form .mgk-mp-form__tag-choice:focus-within { outline: 2px solid var(--flower-accent); outline-offset: 2px; }
.flower-mp__group--error { padding: 6px; border-radius: 10px; box-shadow: 0 0 0 1px var(--flower-danger), 0 0 0 4px rgba(200, 0, 44, .08); }
.flower-mp-form .mgk-mp__field-error { white-space: normal; }

.flower-mp__sizes-wrap { border: 1px solid var(--flower-border); border-radius: 10px; overflow: hidden; }
.flower-mp__sizes-wrap.flower-mp__group--error { padding: 0; }
.flower-mp__sizes { table-layout: fixed; }
.flower-mp__sizes th:nth-child(1) { width: 22%; }
.flower-mp__sizes th:nth-child(2) { width: 24%; }
.flower-mp__sizes th:nth-child(3) { width: 19%; }
.flower-mp__sizes th:nth-child(4) { width: 15%; }
.flower-mp__sizes th:nth-child(5) { width: 14%; }
.flower-mp__sizes th:nth-child(6) { width: 52px; }
.flower-mp__sizes th { white-space: normal !important; line-height: 1.3; }
.flower-mp__sizes td { padding: 10px 8px !important; vertical-align: top !important; white-space: normal !important; }
.flower-mp__sizes td:first-child, .flower-mp__sizes th:first-child { padding-left: 14px !important; }
.flower-mp__sizes td:last-child, .flower-mp__sizes th:last-child { padding-right: 12px !important; }
.flower-mp__sizes tr:last-child td { border-bottom: 0; }
.flower-mp-form .flower-mp__sizes .mgk-mp__input { min-width: 0; }
.flower-mp__num { text-align: right; }
.flower-mp__soldout { display: block; margin-top: 4px; color: #a12121; font-size: 10.5px; font-weight: 600; }
.flower-mp__soldout[hidden] { display: none; }
.flower-mp__sale { display: block; margin-top: 4px; color: #6e6a78; font-size: 10.5px; line-height: 1.35; }
.flower-mp-form .flower-mp__sizes select:disabled { color: #44404c; background-color: #f7f6fa; cursor: not-allowed; opacity: 1; }
.flower-mp__sizes-empty { border-radius: 0; }
.flower-mp__sizes-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.flower-mp__sizes-foot .mgk-mp-form__hint { margin: 0; }
.flower-mp__size-remove { text-align: right; }

.flower-mp__switch-wrap { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; }
.flower-mp__switch {
	position: relative;
	flex: 0 0 auto;
	width: 40px; height: 22px;
	padding: 0;
	background: #cfcada;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background .18s ease;
}
.flower-mp__switch span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .18s ease; }
.flower-mp__switch.is-on { background: #0e7c3f; }
.flower-mp__switch.is-on span { transform: translateX(18px); }
.flower-mp__switch:focus-visible { outline: 2px solid var(--flower-accent); outline-offset: 2px; }
.flower-mp__switch-label { color: #44404c; font-size: 12px; font-weight: 600; }

.flower-mp__icon-btn {
	display: inline-grid;
	place-items: center;
	width: 38px; height: 38px;
	padding: 0;
	color: #8a8494;
	background: #fff;
	border: 1px solid var(--flower-border);
	border-radius: 8px;
	cursor: pointer;
}
.flower-mp__icon-btn:hover { color: var(--flower-danger); border-color: #f3c2c2; background: #fff4f6; }
.flower-mp__icon-btn:focus-visible { outline: 2px solid var(--flower-accent); outline-offset: 2px; }

.flower-mp__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flower-mp__photos[hidden] { display: none; }
.flower-mp__photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1 / 1; background: #fbfafd; border: 1px solid var(--flower-border); border-radius: 10px; }
.flower-mp__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flower-mp__photo figcaption {
	position: absolute; top: 6px; left: 6px;
	padding: 2px 7px;
	color: #7e10bc; font-size: 10px; font-weight: 700;
	background: #f5ebfd;
	border: 1px solid #ddb3f8;
	border-radius: 4px;
}
.flower-mp__photo figcaption[hidden] { display: none; }
.flower-mp__photo-actions { position: absolute; right: 6px; bottom: 6px; left: 6px; display: flex; justify-content: flex-end; gap: 4px; }
.flower-mp__photo-btn {
	display: inline-grid; place-items: center;
	width: 30px; height: 30px;
	padding: 0;
	color: #44404c; font-size: 16px; line-height: 1;
	background: rgba(255, 255, 255, .94);
	border: 1px solid var(--flower-border);
	border-radius: 7px;
	cursor: pointer;
}
.flower-mp__photo-btn:disabled { opacity: .4; cursor: default; }
.flower-mp__photo-btn.is-danger { color: #b42121; }
.flower-mp__photo-btn:focus-visible { outline: 2px solid var(--flower-accent); outline-offset: 1px; }
.flower-mp__photos-add { width: 100%; margin-top: 10px; }
.flower-mp__photo-error { margin: 8px 0 0; color: var(--flower-danger); font-size: 11.5px; line-height: 1.45; }
.flower-mp__photo-error[hidden] { display: none; }
.flower-mp__photos.flower-mp__group--error { padding: 6px; }
.flower-mp__side-text { margin: 0 0 10px; line-height: 1.5; }
.flower-mp__side-link { width: 100%; }

.flower-mp__colours-card { max-width: 760px; }
.flower-mp__swatches { margin: 0; padding: 0; list-style: none; border: 1px solid var(--flower-border); border-radius: 10px; }
.flower-mp__swatch-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid #f1eff5; }
.flower-mp__swatch-row:last-child { border-bottom: 0; }
.flower-mp__swatch-name label { display: block; color: #1b1b1f; font-size: 13px; font-weight: 700; }
.flower-mp__swatch-name small { display: block; margin-top: 2px; color: var(--flower-muted); font-size: 11px; }
.flower-mp__swatch-inputs { display: flex; align-items: center; gap: 8px; }
.flower-mp__picker { width: 40px; height: 40px; padding: 2px; background: #fff; border: 1px solid var(--flower-border); border-radius: 8px; cursor: pointer; }
.flower-mp__picker:focus-visible { outline: 2px solid var(--flower-accent); outline-offset: 2px; }
.flower-mp-form .flower-mp__hex { width: 118px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: lowercase; }
.flower-mp__swatch-row .mgk-mp__field-error { grid-column: 2 / -1; margin-top: -6px; }

.flower-mp__sizes-card { container: flower-sizes / inline-size; }
@container flower-sizes (max-width: 640px) {
	.flower-mp__sizes-wrap { border: 0; border-radius: 0; overflow: visible; }
	.flower-mp__sizes thead { display: none; }
	.flower-mp__sizes,
	.flower-mp__sizes tbody { display: block; width: 100%; }
	.flower-mp__sizes tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; margin-bottom: 10px; padding: 12px; border: 1px solid var(--flower-border); border-radius: 10px; }
	.flower-mp__sizes td { display: block; width: auto !important; padding: 0 !important; border: 0 !important; }
	.flower-mp__sizes td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 5px; color: #6e6a78; font-size: 10.5px; font-weight: 600; letter-spacing: .015em; text-transform: uppercase; }
	.flower-mp__sizes td:first-child, .flower-mp__sizes td:last-child { padding: 0 !important; }
	.flower-mp__size-remove { display: flex !important; align-items: flex-end; justify-content: flex-end; }
	.flower-mp__sizes-wrap.flower-mp__group--error { padding: 6px; }

}

@media (max-width: 1180px) {
	.flower-mp__sizes th:nth-child(5), .flower-mp__sizes td:nth-child(5) { width: 16%; }
}

.flower-mp__meta { display: none; margin: 3px 0 0; color: var(--flower-muted); font-size: 11.5px; line-height: 1.4; }
.flower-mp__meta .flower-mp__colour { gap: 5px; vertical-align: middle; }
.flower-mp__meta .flower-mp__dot { width: 10px; height: 10px; }
@media (min-width: 761px) and (max-width: 1200px) {
	.flower-mp__list .flower-mp__col-type,
	.flower-mp__list .flower-mp__col-colour { display: none; }
	.flower-mp__list .flower-mp__meta { display: block; }
}

@media (max-width: 760px) {
	.flower-mp .mgk-mdash__head { flex-wrap: wrap; gap: 12px; }
	.flower-mp .mgk-mdash__head .mgk-mord-detail__actions { width: 100%; }
	.flower-mp .mgk-mdash__head .mgk-mord-detail__actions > * { flex: 1 1 auto; justify-content: center; min-height: 40px; }
	.flower-mp .mgk-mord__toolbar .mgk-mord__search { flex: 1 1 100%; }
	.flower-mp .mgk-mord__tab { min-height: 40px; }
	.flower-mp .mgk-mord__page-link { min-width: 40px; height: 40px; }
	.flower-mp .mgk-btn { min-height: 40px; }

	.flower-mp__list thead { display: none; }
	.flower-mp__list,
	.flower-mp__list tbody,
	.flower-mp__list tr,
	.flower-mp__list td { display: block; width: 100%; }
	.flower-mp__list tr { position: relative; padding: 12px 16px; border-bottom: 1px solid #f1eff5; }
	.flower-mp__list td { padding: 3px 0 !important; border: 0 !important; text-align: left !important; white-space: normal !important; }
	.flower-mp__list td[data-label]:not([data-label="Product"])::before { content: attr(data-label) " · "; color: var(--flower-muted); font-size: 11px; font-weight: 600; }
	.flower-mp__list td[data-label="Product"] { padding: 0 44px 6px 0 !important; }
	.flower-mp__list td br { display: none; }
	.flower-mp__list td small { margin-left: 6px; }
	.flower-mp__list .flower-mp__row-edit { position: absolute; top: 18px; right: 12px; width: auto; padding: 0 !important; }
	.flower-mp__list .mgk-mord__view { width: 40px; height: 40px; }
	.flower-mp__list .mgk-mp__product-name { max-width: none; white-space: normal; }
	.flower-mp__occasions { max-width: none; }

	.flower-mp__list .flower-mp__product-link::after { content: ""; position: absolute; inset: 0; }
	.flower-mp__list .flower-mp__row-edit { z-index: 1; }

	.flower-mp .mgk-mord-detail__back,
	.flower-mp__label-row a,
	.flower-mp__section-head a { display: inline-flex; align-items: center; min-height: 40px; }
	.flower-mp__label-row { margin-bottom: 0; }
	.flower-mp__switch::after { content: ""; position: absolute; inset: -9px -4px; }
	.flower-mp__icon-btn { width: 40px; height: 40px; }

	.flower-mp__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.flower-mp__photo-btn { width: 40px; height: 40px; }

	.flower-mp__swatch-row { grid-template-columns: 34px minmax(0, 1fr); }
	.flower-mp__swatch-inputs { grid-column: 1 / -1; }
	.flower-mp-form .flower-mp__hex { flex: 1 1 auto; width: auto; }
	.flower-mp__swatch-row .mgk-mp__field-error { grid-column: 1 / -1; margin-top: 0; }
	.flower-mp__label-row { flex-wrap: wrap; }
	.flower-mp__section-head { align-items: flex-start; }
	.flower-mp-form .mgk-mp-form__tag-choice { min-height: 40px; }
}

@media (max-width: 560px) {
	.flower-mp__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
	.flower-mp__photos { grid-template-columns: minmax(0, 1fr); }
}

.flower-mp-form textarea.mgk-mp__input { height: auto; min-height: 96px; line-height: 1.5; resize: vertical; }
.flower-mp__label-row a,
.flower-mp__section-head a,
.flower-mp__intro a { text-decoration: none; }
.flower-mp__label-row a:hover,
.flower-mp__section-head a:hover,
.flower-mp__intro a:hover { text-decoration: underline; }
