.ms-scs-solopress-product {
	--ms-scs-accent: #ffc700;
	--ms-scs-ink: #000;
	--ms-scs-text: #525252;
	--ms-scs-line: #d8d8d8;
	--ms-scs-soft: #fff8dc;
}

.ms-scs-solopress-product .tiered-pricing-wrapper,
.ms-scs-solopress-product .tpt__tiered-pricing,
.ms-scs-solopress-product .related.products,
.ms-scs-solopress-product form.cart > .quantity {
	display: none !important;
}

.ms-scs-solopress-product form.cart .single_add_to_cart_button {
	flex: 0 0 auto !important;
	align-self: center;
	justify-content: center;
	width: auto !important;
	min-width: 180px;
	max-width: 100%;
	height: 50px !important;
	min-height: 50px !important;
	padding: .65rem 1.5rem !important;
	line-height: 1.2 !important;
}

.ms-scs-solopress-builder {
	clear: both;
	margin: 2rem 0 1.25rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
}

.ms-scs-solopress-builder h3 {
	margin: 0 0 .5rem;
	color: var(--ms-scs-ink);
}

.ms-scs-solopress-help,
.ms-scs-solopress-job-note {
	margin: .35rem 0 1.5rem;
	color: var(--ms-scs-text);
	line-height: 1.55;
}

.ms-scs-solopress-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.15rem;
}

.ms-scs-solopress-field {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.ms-scs-solopress-field > span,
.ms-scs-solopress-field legend {
	color: var(--ms-scs-text);
	font-size: .9rem;
	font-weight: 600;
	text-transform: uppercase;
}

.ms-scs-solopress-field select,
.ms-scs-solopress-field input[type="number"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: .7rem 1rem;
	border: 1px solid #c8c8c8;
	border-radius: 0;
	background-color: #f1f1f1;
	box-shadow: none;
	color: var(--ms-scs-text);
}

.ms-scs-solopress-field select[data-locked="true"] {
	color: #8b8b8b;
	cursor: default;
}

.ms-scs-solopress-field select[multiple] {
	min-height: 120px;
}

.ms-scs-solopress-field small {
	color: #6b6b6b;
	line-height: 1.4;
}

.ms-scs-solopress-swatch-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ms-scs-solopress-swatch-grid label {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.ms-scs-solopress-swatch-grid input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.ms-scs-solopress-swatch {
	display: block;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 50%;
	background: var(--ms-scs-swatch);
	box-shadow: none;
}

.ms-scs-solopress-swatch-grid label:hover .ms-scs-solopress-swatch,
.ms-scs-solopress-swatch-grid input:focus-visible + .ms-scs-solopress-swatch,
.ms-scs-solopress-swatch-grid input:checked + .ms-scs-solopress-swatch {
	box-shadow: inset 0 0 0 1px var(--ms-scs-accent), 0 0 0 4px #fff inset;
}

.ms-scs-solopress-styles {
	clear: both;
	margin: 1rem 0 1.5rem;
}

.ms-scs-solopress-styles h3 {
	margin: 0 0 .65rem;
	color: var(--ms-scs-ink);
	font-size: 1rem;
	text-transform: uppercase;
}

.ms-scs-solopress-style-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .65rem;
}

.ms-scs-solopress-style-card {
	position: relative;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: .6rem;
	align-items: center;
	min-height: 68px;
	padding: .45rem;
	border: 1px solid var(--ms-scs-line);
	border-radius: 0;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.ms-scs-solopress-style-card:hover {
	border-color: var(--ms-scs-ink);
	color: var(--ms-scs-ink);
}

.ms-scs-solopress-style-card.is-active {
	border-color: var(--ms-scs-accent);
	background: var(--ms-scs-accent);
	color: var(--ms-scs-ink);
}

.ms-scs-solopress-style-card img,
.ms-scs-solopress-style-placeholder {
	grid-row: 1 / span 2;
	width: 58px;
	height: 58px;
	object-fit: contain;
	background: #f4f4f4;
}

.ms-scs-solopress-style-card > span:not(.ms-scs-solopress-style-check):not(.ms-scs-solopress-style-placeholder) {
	font-weight: 600;
	line-height: 1.25;
}

.ms-scs-solopress-style-card small {
	color: inherit;
}

.ms-scs-solopress-style-check {
	position: absolute;
	right: .55rem;
	bottom: .3rem;
	font-size: 1.25rem;
	font-weight: 900;
}

.ms-scs-solopress-artwork,
.ms-scs-solopress-matrix,
.ms-scs-solopress-templates {
	margin: 1.8rem 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.ms-scs-solopress-artwork legend,
.ms-scs-solopress-matrix h4 {
	margin: 0;
	color: var(--ms-scs-ink);
	font-size: 1.05rem;
	font-weight: 700;
}

.ms-scs-solopress-choice-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .7rem;
	margin-top: .75rem;
}

.ms-scs-solopress-choice-grid label {
	display: flex;
	gap: .55rem;
	align-items: center;
	min-height: 48px;
	margin: 0;
	padding: .65rem .8rem;
	border: 1px solid #c8c8c8;
	border-radius: 0;
	background: #fff;
	cursor: pointer;
}

.ms-scs-solopress-choice-grid label:has(input:checked) {
	border-color: var(--ms-scs-ink);
	background: var(--ms-scs-accent);
	color: var(--ms-scs-ink);
}

.ms-scs-solopress-choice-grid input {
	margin: 0;
}

.ms-scs-solopress-matrix > p {
	margin: .4rem 0 .85rem;
	color: var(--ms-scs-text);
	font-size: .9em;
}

.ms-scs-solopress-matrix-scroll {
	overflow-x: auto;
	border: 1px solid var(--ms-scs-line);
}

.ms-scs-solopress-matrix table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.ms-scs-solopress-matrix th,
.ms-scs-solopress-matrix td {
	height: 50px;
	padding: 0;
	border: 0;
	border-right: 1px solid var(--ms-scs-line);
	border-bottom: 1px solid var(--ms-scs-line);
	text-align: center;
	white-space: nowrap;
}

.ms-scs-solopress-matrix thead th {
	padding: .55rem .7rem;
	background: var(--ms-scs-accent);
	color: var(--ms-scs-ink);
	font-weight: 700;
}

.ms-scs-solopress-matrix thead .ms-scs-solopress-quantity-heading,
.ms-scs-solopress-matrix tbody th {
	background: #fff;
	color: var(--ms-scs-text);
}

.ms-scs-solopress-matrix tbody td {
	background: var(--ms-scs-soft);
}

.ms-scs-solopress-matrix tbody tr.is-selected > th,
.ms-scs-solopress-matrix tbody td.is-selected {
	background: var(--ms-scs-accent);
	color: var(--ms-scs-ink);
	font-weight: 700;
}

.ms-scs-solopress-matrix-choice {
	width: 100%;
	height: 100%;
	padding: .55rem .7rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.ms-scs-solopress-matrix-choice:hover,
.ms-scs-solopress-matrix-choice.is-selected {
	background: var(--ms-scs-accent);
	color: var(--ms-scs-ink);
}

.ms-scs-solopress-result {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .45rem .8rem;
	margin-top: 1rem;
	padding: .9rem 0;
	border-top: 1px solid var(--ms-scs-line);
	border-bottom: 1px solid var(--ms-scs-line);
	background: transparent;
}

.ms-scs-solopress-price {
	color: var(--ms-scs-ink);
	font-size: 1.35em;
}

.ms-scs-solopress-delivery {
	flex-basis: 100%;
}

.ms-scs-solopress-builder.is-loading {
	opacity: .72;
}

.ms-scs-solopress-job-note {
	margin: .8rem 0 0;
	font-size: .85em;
}

.ms-scs-solopress-templates summary {
	cursor: pointer;
	color: var(--ms-scs-ink);
	font-weight: 700;
}

.ms-scs-solopress-templates ul {
	margin: .75rem 0 0 1.1rem;
}

@media (max-width: 767px) {
	.ms-scs-solopress-choice-grid {
		grid-template-columns: 1fr;
	}

	.ms-scs-solopress-style-grid {
		grid-template-columns: 1fr;
	}

	.ms-scs-solopress-matrix th,
	.ms-scs-solopress-matrix td {
		min-width: 105px;
	}
}
