/**
 * The editor.
 *
 * The design is the only saturated thing on screen. Panel, buttons and
 * labels stay on cream and indigo so the customer's own
 * artwork is what the eye lands on.
 */

.ldc-editor {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
	font-family: var(--ldc-font);
	color: var(--ldc-text);
	font-size: 15px;
	line-height: 1.55;
}

@media (max-width: 860px) {
	.ldc-editor {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ---- Stage ---- */

.ldc-stage-wrap {
	background: var(--ldc-bg);
	border-radius: var(--ldc-radius-lg);
	padding: 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ldc-stage {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	background: #fff;
	box-shadow: var(--ldc-shadow);
	touch-action: none;
	max-width: 100%;
}

.ldc-bg {
	position: absolute;
	inset: 0;
	/* The weave inside multiplies. Without isolation it would reach through to
	   whatever the theme paints behind the stage. */
	isolation: isolate;
}

/* The fabric weave, over the chosen colour and under everything else. A
   greyscale tile multiplied over the colour, so one file per fabric covers the
   whole palette. Never part of the print file. */
.ldc-bg-weave {
	position: absolute;
	inset: 0;
	display: block;
	background-repeat: repeat;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.ldc-bg-weave[hidden] {
	display: none;
}

.ldc-stage.is-over {
	outline: 2px dashed var(--ldc-accent);
	outline-offset: -6px;
}

.ldc-layer {
	position: absolute;
	inset: 0;
}

/* The boundary of what survives sewing. Dashed because it is a limit,
   not an object in the design. */
.ldc-safe {
	position: absolute;
	pointer-events: none;
	border: 1px dashed rgba(68, 64, 148, .45);
}
.ldc-empty {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: none;
	background: var(--ldc-surface);
	color: var(--ldc-muted);
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
}

.ldc-empty-mark {
	font-size: 32px;
	line-height: 1;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ldc-accent-soft);
	color: var(--ldc-accent);
	display: grid;
	place-items: center;
}

.ldc-empty.is-over {
	background: var(--ldc-accent-soft);
	color: var(--ldc-accent);
}

/* Resolution warning. Only appears when there is something to say. */
.ldc-quality {
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: var(--ldc-radius-sm);
	background: var(--ldc-yellow-soft);
	color: #6b5600;
	font-size: 14px;
}

.ldc-quality.is-bad {
	background: var(--ldc-peach);
	color: #6d2a10;
}

/* ---- Panel ---- */

.ldc-group {
	border-bottom: 1px solid var(--ldc-border);
}

.ldc-group > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 14px 2px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.ldc-group > summary::-webkit-details-marker {
	display: none;
}

/* A chevron drawn in CSS rather than an icon: it has to rotate with the
   open state, and the browser gives us that for free on the parent. */
.ldc-group > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--ldc-accent);
	border-bottom: 2px solid var(--ldc-accent);
	transform: rotate(45deg);
	margin-right: 4px;
	transition: transform .15s;
	flex: 0 0 auto;
}

.ldc-group[open] > summary::after {
	transform: rotate(-135deg);
}

.ldc-group > summary:hover {
	color: var(--ldc-accent);
}

.ldc-group-body {
	padding: 0 2px 18px;
}

.ldc-sizes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
	gap: 8px;
}

.ldc-size {
	padding: 10px 8px;
	border: 1px solid var(--ldc-border);
	border-radius: var(--ldc-radius-sm);
	background: var(--ldc-surface);
	font-family: inherit;
	font-size: 14px;
	color: var(--ldc-text);
	cursor: pointer;
	text-align: center;
}

.ldc-size:hover {
	border-color: var(--ldc-accent-soft);
}

.ldc-size[aria-pressed="true"] {
	border-color: var(--ldc-accent);
	background: var(--ldc-accent-soft);
	font-weight: 600;
}

.ldc-size small {
	display: block;
	font-size: 12px;
	color: var(--ldc-muted);
	font-weight: 400;
}

.ldc-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.ldc-swatch {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid transparent;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
	cursor: pointer;
	padding: 0;
}

.ldc-swatch[aria-pressed="true"] {
	border-color: var(--ldc-accent);
}

.ldc-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--ldc-border);
	border-radius: var(--ldc-radius-sm);
	font-family: inherit;
	font-size: 15px;
	margin-bottom: 12px;
	background: var(--ldc-surface);
	color: var(--ldc-text);
}

.ldc-btn {
	width: 100%;
	padding: 11px 16px;
	border: 1px solid var(--ldc-accent);
	border-radius: var(--ldc-radius-sm);
	background: var(--ldc-surface);
	color: var(--ldc-accent);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.ldc-btn:hover {
	background: var(--ldc-accent-soft);
}

.ldc-btn-primary {
	background: var(--ldc-accent);
	color: var(--ldc-on-accent);
	padding: 14px 16px;
	font-size: 16px;
}

.ldc-btn-primary:hover {
	background: #383470;
}

.ldc-btn:disabled {
	opacity: .4;
	cursor: not-allowed;
}

.ldc-slider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	font-size: 14px;
	color: var(--ldc-muted);
}

.ldc-slider input {
	flex: 1;
	accent-color: var(--ldc-accent);
}

/* Pinned: the whole point is that Remove and Size are reachable without
   scrolling back down the panel. */
.ldc-selected {
	position: sticky;
	top: 12px;
	z-index: 5;
	background: var(--ldc-accent-soft);
	border: 1px solid var(--ldc-accent);
	border-radius: var(--ldc-radius);
	padding: 14px;
	margin-bottom: 16px;
}

.ldc .ldc-selected h3 {
	margin: 0 0 10px !important;
	font-family: var(--ldc-font) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--ldc-accent) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.ldc-selected .ldc-slider span {
	color: var(--ldc-accent);
}

.ldc-actions {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-top: 12px;
}

.ldc .ldc-action {
	display: grid !important;
	place-items: center !important;
	width: auto !important;
	min-height: 44px !important;
	padding: 0 !important;
	border: 1px solid var(--ldc-accent) !important;
	border-radius: var(--ldc-radius-sm) !important;
	background: var(--ldc-surface) !important;
	background-image: none !important;
	color: var(--ldc-accent) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.ldc .ldc-action:hover {
	background: var(--ldc-accent) !important;
	color: var(--ldc-on-accent) !important;
}

.ldc .ldc-action .ldc-icon {
	margin: 0 !important;
	width: 20px !important;
	height: 20px !important;
}

.ldc .ldc-action-danger {
	border-color: #d9b3b3 !important;
	color: #a3282a !important;
}

.ldc .ldc-action-danger:hover {
	background: #a3282a !important;
	color: #fff !important;
}

.ldc-checkout {
	padding-top: 18px;
}

.ldc-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 14px;
}

.ldc-total-label {
	color: var(--ldc-muted);
}

.ldc-total-value {
	font-size: 24px;
	font-weight: 600;
}

.ldc-status {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--ldc-muted);
	min-height: 1.4em;
}

.ldc-status.is-error {
	color: #a3282a;
}

/* Placed elements */

.ldc-el {
	position: absolute;
	cursor: grab;
	user-select: none;
	touch-action: none;
	outline: 1px dashed transparent;
	outline-offset: 3px;
}

.ldc-el:active {
	cursor: grabbing;
}

.ldc-el.is-selected {
	outline-color: var(--ldc-accent);
}

.ldc-el-photo img {
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
}

.ldc-el-text {
	font-weight: 600;
	white-space: nowrap;
	line-height: 1.2;
}

.ldc-note {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--ldc-muted);
}

.ldc-selected-actions {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}

.ldc-btn-quiet {
	border-color: var(--ldc-border);
	color: var(--ldc-muted);
}

.ldc-btn-quiet:hover {
	border-color: #c98a8a;
	background: #fff;
	color: #a3282a;
}

/* ---- Cut-out dialog ---- */

.ldc-cut {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(42, 40, 54, .55);
	display: grid;
	place-items: center;
	padding: 20px;
	font-family: var(--ldc-font);
	color: var(--ldc-text);
}

.ldc-cut-box {
	background: var(--ldc-surface);
	border-radius: var(--ldc-radius-lg);
	padding: 20px;
	max-width: 100%;
	max-height: 100%;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Checkerboard shows through wherever the customer has cut, so it is
   obvious what is transparent and what is still white paper. */
.ldc-cut-stage {
	background-image:
		linear-gradient(45deg, #e4e0ea 25%, transparent 25%),
		linear-gradient(-45deg, #e4e0ea 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #e4e0ea 75%),
		linear-gradient(-45deg, transparent 75%, #e4e0ea 75%);
	background-size: 16px 16px;
	background-position: 0 0, 0 8px, 8px -8px, -8px 0;
	border-radius: var(--ldc-radius-sm);
	overflow: hidden;
	display: grid;
	place-items: center;
}

.ldc-cut-stage canvas {
	display: block;
	max-width: 100%;
	height: auto;
	cursor: crosshair;
	touch-action: none;
}

.ldc-cut-hint {
	margin: 0;
	font-size: 14px;
	color: var(--ldc-muted);
	max-width: 60ch;
}

.ldc-cut-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.ldc-cut-actions .ldc-btn {
	width: auto;
	flex: 1;
	min-width: 110px;
}

/* Text controls on the selected element */

.ldc-text-controls {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}

.ldc-btn-toggle[aria-pressed="true"] {
	background: var(--ldc-accent);
	color: var(--ldc-on-accent);
}

select.ldc-input {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--ldc-accent) 50%),
		linear-gradient(135deg, var(--ldc-accent) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 36px;
	cursor: pointer;
}

/* ------------------------------------------------------------------
 * Theme armour
 *
 * This plugin drops into whatever theme the shop is running, and themes
 * style bare `button`, `input` and `h3` globally, often with !important,
 * often in a brand colour that happens to match ours. When that happened
 * on the live site the result was indigo text on an indigo button: the
 * theme won the background, this stylesheet won the colour, and the label
 * disappeared.
 *
 * So every visible property is restated here, scoped under .ldc and
 * forced. Ugly, but a plugin cannot know what it is landing in, and a
 * button nobody can read is worse than a heavy-handed stylesheet.
 * ---------------------------------------------------------------- */

.ldc .ldc-btn,
.ldc .ldc-btn:hover,
.ldc .ldc-btn:focus {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 44px !important;
	padding: 11px 16px !important;
	border: 1px solid var(--ldc-accent) !important;
	border-radius: var(--ldc-radius-sm) !important;
	background: var(--ldc-surface) !important;
	background-image: none !important;
	color: var(--ldc-accent) !important;
	font-family: var(--ldc-font) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.ldc .ldc-btn:hover {
	background: var(--ldc-accent-soft) !important;
}

.ldc .ldc-btn-primary,
.ldc .ldc-btn-primary:hover {
	background: var(--ldc-accent) !important;
	color: var(--ldc-on-accent) !important;
	font-size: 16px !important;
	padding: 14px 16px !important;
}

.ldc .ldc-btn-primary:hover {
	background: #383470 !important;
}

.ldc .ldc-btn-toggle[aria-pressed="true"] {
	background: var(--ldc-accent) !important;
	color: var(--ldc-on-accent) !important;
}

.ldc .ldc-btn-quiet {
	border-color: var(--ldc-border) !important;
	color: var(--ldc-muted) !important;
}

.ldc .ldc-btn:disabled {
	opacity: .4 !important;
	cursor: not-allowed !important;
}

/* Size buttons are a different shape and must not inherit the above. */
.ldc .ldc-size {
	display: block !important;
	width: 100% !important;
	padding: 10px 8px !important;
	border: 1px solid var(--ldc-border) !important;
	border-radius: var(--ldc-radius-sm) !important;
	background: var(--ldc-surface) !important;
	background-image: none !important;
	color: var(--ldc-text) !important;
	font-family: var(--ldc-font) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.ldc .ldc-size[aria-pressed="true"] {
	border-color: var(--ldc-accent) !important;
	background: var(--ldc-accent-soft) !important;
}

.ldc .ldc-size small {
	color: var(--ldc-muted) !important;
	font-size: 12px !important;
	font-weight: 400 !important;
}

.ldc .ldc-swatch {
	display: block !important;
	width: 30px !important;
	height: 30px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background-image: none !important;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08) !important;
	cursor: pointer !important;
}

.ldc .ldc-input {
	display: block !important;
	width: 100% !important;
	padding: 10px 12px !important;
	border: 1px solid var(--ldc-border) !important;
	border-radius: var(--ldc-radius-sm) !important;
	background: var(--ldc-surface) !important;
	color: var(--ldc-text) !important;
	font-family: var(--ldc-font) !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	margin-bottom: 12px !important;
	box-shadow: none !important;
	text-transform: none !important;
}

/* Headings: themes give h3 a display face at 2rem, which swamps a
   side panel. Keep them at panel scale. */
.ldc .ldc-group h3 {
	margin: 0 0 10px !important;
	padding: 0 !important;
	font-family: var(--ldc-font) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: var(--ldc-text) !important;
}

.ldc .ldc-empty {
	background: var(--ldc-surface) !important;
	color: var(--ldc-muted) !important;
	border: none !important;
	box-shadow: none !important;
	font-family: var(--ldc-font) !important;
	font-size: 14px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	min-height: 0 !important;
}

.ldc .ldc-empty-mark {
	background: var(--ldc-accent-soft) !important;
	color: var(--ldc-accent) !important;
	font-size: 32px !important;
}

.ldc .ldc-el-text {
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* Size: slider for feel, number for precision. Some people want to nudge,
   others want to type 24 and be done. */

.ldc .ldc-number {
	width: 64px !important;
	flex: 0 0 auto !important;
	padding: 6px 8px !important;
	border: 1px solid var(--ldc-border) !important;
	border-radius: 6px !important;
	background: var(--ldc-surface) !important;
	color: var(--ldc-text) !important;
	font-family: var(--ldc-font) !important;
	font-size: 14px !important;
	text-align: center !important;
	margin: 0 !important;
}

.ldc-style-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

/* Icons sit inside the button label, sized to the text rather than fixed,
   so they stay in proportion when a theme changes the font size. */

.ldc .ldc-icon {
	width: 1.15em !important;
	height: 1.15em !important;
	flex: 0 0 auto !important;
	margin-right: 8px !important;
	stroke: currentColor !important;
	fill: none !important;
	vertical-align: middle !important;
}

.ldc .ldc-empty-mark .ldc-icon {
	width: 26px !important;
	height: 26px !important;
	margin: 0 !important;
}

.ldc-icon-source {
	display: none;
}

/* Frame picker */

.ldc-frame-list {
	display: grid;
	gap: 6px;
	margin-bottom: 12px;
}

.ldc .ldc-frame-btn {
	display: block !important;
	width: 100% !important;
	padding: 9px 12px !important;
	border: 1px solid var(--ldc-border) !important;
	border-radius: var(--ldc-radius-sm) !important;
	background: var(--ldc-surface) !important;
	background-image: none !important;
	color: var(--ldc-text) !important;
	font-family: var(--ldc-font) !important;
	font-size: 14px !important;
	line-height: 1.3 !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.ldc .ldc-frame-btn[aria-pressed="true"] {
	border-color: var(--ldc-accent) !important;
	background: var(--ldc-accent-soft) !important;
	font-weight: 600 !important;
}

/* Above the artwork, below the hem guide: the frame is printed, the dashed
   line is only advice. */
.ldc-frame {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}

.ldc-safe {
	z-index: 3;
}

/* B and I are single glyphs, so the button is sized to the letter rather
   than to a word that is no longer there. */
.ldc .ldc-btn-letter {
	font-size: 18px !important;
	line-height: 1 !important;
	padding: 10px !important;
}

/* Shape palette */

.ldc-shape-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	margin-bottom: 8px;
}

.ldc .ldc-shape {
	display: grid !important;
	place-items: center !important;
	aspect-ratio: 1 !important;
	width: auto !important;
	min-height: 0 !important;
	padding: 5px !important;
	border: 1px solid var(--ldc-border) !important;
	border-radius: var(--ldc-radius-sm) !important;
	background: var(--ldc-surface) !important;
	background-image: none !important;
	color: var(--ldc-accent) !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.ldc .ldc-shape:hover {
	background: var(--ldc-accent-soft) !important;
}

.ldc .ldc-shape svg {
	width: 100%;
	height: 100%;
}

.ldc-el-shape img {
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
}

.ldc-shape-controls {
	margin-top: 12px;
}

/* Angle slider gets a straighten button rather than a number: nobody wants
   to type 0 to undo a nudge. */
.ldc .ldc-reset-angle {
	flex: 0 0 auto !important;
	width: 32px !important;
	height: 32px !important;
	min-height: 0 !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 !important;
	border: 1px solid var(--ldc-border) !important;
	border-radius: 6px !important;
	background: var(--ldc-surface) !important;
	color: var(--ldc-muted) !important;
	cursor: pointer !important;
}

.ldc .ldc-reset-angle:hover {
	color: var(--ldc-accent) !important;
	border-color: var(--ldc-accent) !important;
}

.ldc .ldc-reset-angle .ldc-icon {
	margin: 0 !important;
	width: 16px !important;
	height: 16px !important;
}

/* Cut dialog: tool row is back, now for outline and eraser. */
.ldc-cut-tools {
	display: flex;
	gap: 8px;
}

.ldc .ldc-cut-tools .ldc-btn {
	width: auto !important;
	flex: 1 !important;
}

.ldc .ldc-cut-tool .ldc-icon {
	margin-right: 6px !important;
}

.ldc-cut-brush {
	margin-top: 4px;
}

/* Brush ring.
 *
 * Shows where the eraser will land and how wide it is. A cursor image could
 * do the first but not the second, and brush width is the thing people
 * actually need to judge before they start rubbing something out.
 */

.ldc-cut-stage {
	position: relative;
}

.ldc-brush-ring {
	position: absolute;
	/* The script sets the position through transform, including the centring
	   offset, so that following the pointer costs one property instead of
	   three and never triggers a re-layout. */
	top: 0;
	left: 0;
	pointer-events: none;
	border-radius: 50%;
	/* Two rings, light over dark, so it stays visible on white paper and on
	   the dark parts of a drawing alike. */
	border: 1px solid #fff;
	box-shadow: 0 0 0 1px rgba(42, 40, 54, .75), inset 0 0 0 1px rgba(42, 40, 54, .75);
}

/* ------------------------------------------------------------------
 * Materials
 *
 * A swatch is the weave over the colour the customer has already chosen,
 * because the two are bought together: silk in cream and silk in mustard are
 * not the same decision. The colour is set on the tile from the script and
 * follows the background palette.
 * ---------------------------------------------------------------- */

/* auto-fill, not auto-fit: auto-fit collapses the empty tracks, so a shop that
   offers a single fabric got one swatch stretched across the whole panel and
   half a screen tall. Keeping the tracks holds every tile at its own size,
   however many there are. */
.ldc-material-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 8px;
}

.ldc .ldc-material {
	display: block !important;
	width: 100% !important;
	min-height: 0 !important;
	padding: 6px 6px 8px !important;
	border: 1px solid var(--ldc-border) !important;
	border-radius: var(--ldc-radius-sm) !important;
	background: var(--ldc-surface) !important;
	background-image: none !important;
	color: var(--ldc-text) !important;
	font-family: var(--ldc-font) !important;
	font-size: 13px !important;
	line-height: 1.3 !important;
	text-align: center !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer !important;
}

.ldc .ldc-material:hover {
	border-color: var(--ldc-accent-soft) !important;
}

.ldc .ldc-material[aria-pressed="true"] {
	border-color: var(--ldc-accent) !important;
	background: var(--ldc-accent-soft) !important;
}

.ldc-material-tile {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: 4px;
	overflow: hidden;
	/* The same hairline the colour swatches use, so a pale fabric on a pale
	   background still reads as a tile rather than a hole. */
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.ldc-material-weave {
	position: absolute;
	inset: 0;
	display: block;
	background-repeat: repeat;
	mix-blend-mode: multiply;
}

.ldc-material-name {
	display: block;
	margin-top: 6px;
	font-weight: 500;
}

.ldc .ldc-material[aria-pressed="true"] .ldc-material-name {
	font-weight: 600 !important;
}
