/* JTS Tee Shop — public */

.jts-ts-wrap {
	--jts-red: #e11d2e;
	--jts-ink: #141414;
	--jts-muted: #6b6b6b;
	--jts-line: #2a2a2a;
	--jts-panel: #161616;
	--jts-panel-2: #1e1e1e;
	--jts-cream: #f3f1ec;
	max-width: 100%;
	margin: 0 auto 2.5rem;
	color: var(--jts-ink);
	font-size: 1rem;
	line-height: 1.5;
	box-sizing: border-box;
}

.jts-ts-wrap *,
.jts-ts-wrap *::before,
.jts-ts-wrap *::after {
	box-sizing: border-box;
}

.jts-ts-kicker {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--jts-red);
}

.jts-ts-heading {
	margin: 0 0 0.5rem;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1.15;
	letter-spacing: 0.01em;
}

.jts-ts-lede {
	margin: 0 0 1.4rem;
	color: #444;
	max-width: 42rem;
}

.jts-ts-studio {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: var(--jts-panel);
	color: var(--jts-cream);
	border-radius: 16px;
	padding: 0.85rem;
}

.jts-ts-stage {
	background: #2a2a2c;
	border-radius: 12px;
	padding: 0.35rem;
}

#jts-ts-canvas {
	display: block;
	width: 100%;
	height: auto;
	touch-action: none;
	cursor: grab;
	border-radius: 8px;
	background: #3a3a3c;
	user-select: none;
	-webkit-user-select: none;
}

.jts-ts-stage-hint {
	margin: 0.55rem 0 0;
	font-size: 0.82rem;
	color: #b9b9b9;
	text-align: center;
}

.jts-ts-form {
	background: #f4f4f5;
	color: #111;
	border-radius: 12px;
	padding: 1rem 1.1rem 1.15rem;
}

.jts-ts-wrap .jts-ts-form label,
.jts-ts-wrap .jts-ts-label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
	font-size: 0.92rem;
	color: #111 !important;
}

.jts-ts-opt {
	font-weight: 500;
	color: #5c5c5c;
}

.jts-ts-field {
	margin-bottom: 0.95rem;
}

.jts-ts-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 0.75rem;
}

.jts-ts-wrap .jts-ts-form input[type="text"],
.jts-ts-wrap .jts-ts-form select {
	width: 100%;
	max-width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #b7b7b7 !important;
	border-radius: 8px;
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	caret-color: #111111 !important;
	opacity: 1 !important;
	font: inherit;
	font-size: 1.05rem;
	line-height: 1.3;
	box-shadow: none !important;
}

.jts-ts-wrap .jts-ts-form input:focus,
.jts-ts-wrap .jts-ts-form select:focus {
	outline: 2px solid rgba(225, 29, 46, 0.45);
	border-color: var(--jts-red) !important;
}

.jts-ts-wrap .jts-ts-form input::placeholder {
	color: #767676 !important;
	-webkit-text-fill-color: #767676 !important;
	opacity: 1 !important;
}

.jts-ts-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	overflow: hidden !important;
}

.jts-ts-storefront {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 0.75rem 0.85rem 0.8rem;
	margin-bottom: 1rem;
}

.jts-ts-price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.45rem 0.7rem;
}

.jts-ts-price {
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111;
}

.jts-ts-stars {
	color: #e11d2e;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
}

.jts-ts-reviews {
	color: #666;
	font-size: 0.86rem;
}

.jts-ts-sold {
	margin: 0.35rem 0 0;
	font-size: 0.92rem;
	color: #222;
}

.jts-ts-sold strong {
	color: var(--jts-red);
}

.jts-ts-viewing {
	margin: 0.15rem 0 0;
	font-size: 0.8rem;
	color: #6a6a6a;
}

.jts-ts-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.jts-ts-swatch {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #b7b7b7;
	padding: 0;
	cursor: pointer;
	appearance: none;
	background: #111;
}

.jts-ts-swatch.is-on {
	box-shadow: 0 0 0 2px #e11d2e;
}

.jts-ts-swatch-custom {
	position: relative;
	overflow: hidden;
	background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
}

.jts-ts-swatch-custom input {
	position: absolute;
	inset: -8px;
	width: 48px;
	height: 48px;
	border: 0;
	padding: 0;
	cursor: pointer;
	opacity: 0.01;
}

.jts-ts-trail-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.jts-ts-chip {
	appearance: none;
	border: 1px solid #c5c5c5;
	background: #fff;
	color: #222;
	border-radius: 999px;
	padding: 0.38rem 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
}

.jts-ts-chip:hover,
.jts-ts-chip:focus {
	border-color: #888;
}

.jts-ts-chip-ghost {
	background: #ececec;
	color: #333;
}

.jts-ts-width label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.75rem;
}

.jts-ts-wrap .jts-ts-form input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	margin: 0.35rem 0 0;
	padding: 0 !important;
	border: none !important;
	border-radius: 999px;
	background: #d5d5d5 !important;
	background-color: #d5d5d5 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.jts-ts-wrap .jts-ts-form input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e11d2e;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #b7b7b7;
	cursor: pointer;
}

.jts-ts-wrap .jts-ts-form input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e11d2e;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #b7b7b7;
	cursor: pointer;
}

.jts-ts-upload-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	margin-bottom: 0.55rem;
}

.jts-ts-file-btn {
	position: relative;
	overflow: hidden;
}

.jts-ts-file-btn input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.jts-ts-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.jts-ts-size {
	min-width: 2.5rem;
	padding: 0.4rem 0.55rem;
	border-radius: 8px;
	border: 1px solid #c5c5c5;
	background: #fff;
	font-weight: 700;
	cursor: pointer;
}

.jts-ts-size.is-on {
	background: #111;
	color: #fff;
	border-color: #111;
}

.jts-ts-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.4rem;
}

.jts-ts-btn {
	display: inline-block;
	background: var(--jts-red);
	color: #fff !important;
	border: none;
	border-radius: 999px;
	padding: 0.7rem 1.2rem;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1.2;
}

.jts-ts-btn:hover,
.jts-ts-btn:focus {
	filter: brightness(1.05);
	color: #fff !important;
}

.jts-ts-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}

.jts-ts-btn-outline {
	background: transparent;
	color: #111 !important;
	box-shadow: inset 0 0 0 2px #111;
}

.jts-ts-form .jts-ts-btn-outline {
	color: #111 !important;
}

.jts-ts-btn-ghost {
	background: #2c2c2c;
	color: #eee !important;
}

.jts-ts-status {
	margin: 0.75rem 0 0;
	padding: 0.65rem 0.75rem;
	border-radius: 8px;
	font-weight: 600;
}

.jts-ts-status.is-ok {
	background: #1d3a24;
	color: #d4f0dc;
}

.jts-ts-status.is-err {
	background: #3a1a1a;
	color: #ffd0d0;
}

.jts-ts-legal {
	margin: 0.9rem 0 0;
	font-size: 0.78rem;
	color: #5c5c5c;
	line-height: 1.4;
}

.jts-ts-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.jts-ts-modal[hidden] {
	display: none !important;
}

.jts-ts-modal-card {
	background: #161616;
	color: #f3f1ec;
	border-radius: 16px;
	padding: 1.3rem 1.35rem 1.4rem;
	max-width: 26rem;
	width: 100%;
	box-shadow: 0 0 0 2px #e11d2e;
}

.jts-ts-modal-card h3 {
	margin: 0 0 0.5rem;
	color: #fff;
	font-size: 1.25rem;
}

.jts-ts-modal-card p {
	margin: 0 0 1rem;
	color: #d0d0d0;
}

.jts-ts-wall-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.jts-ts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.jts-ts-card {
	background: #f7f7f8;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #ececec;
}

.jts-ts-card.is-featured {
	box-shadow: 0 0 0 2px var(--jts-red);
}

.jts-ts-card-img-link {
	display: block;
	background: #2a2a2c;
}

.jts-ts-card-img,
.jts-ts-single-img {
	display: block;
	width: 100%;
	height: auto;
}

.jts-ts-card-body {
	padding: 0.7rem 0.8rem 0.9rem;
}

.jts-ts-card-title {
	margin: 0 0 0.2rem;
	font-size: 1.02rem;
	line-height: 1.25;
}

.jts-ts-card-title a {
	color: inherit;
	text-decoration: none;
}

.jts-ts-card-title a:hover {
	color: var(--jts-red);
}

.jts-ts-card-meta,
.jts-ts-single-meta,
.jts-ts-nick {
	margin: 0;
	color: var(--jts-muted);
	font-size: 0.9rem;
}

.jts-ts-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 1.2rem;
}

.jts-ts-pages a {
	display: inline-block;
	min-width: 2rem;
	text-align: center;
	padding: 0.3rem 0.5rem;
	border-radius: 6px;
	border: 1px solid #ddd;
	text-decoration: none;
	color: inherit;
}

.jts-ts-pages a.is-current {
	background: var(--jts-red);
	border-color: var(--jts-red);
	color: #fff;
}

.jts-ts-empty {
	color: #555;
}

.jts-ts-cta {
	margin: 1.1rem 0 0;
}

.jts-ts-featured {
	margin-bottom: 2rem;
}

.jts-ts-single-img {
	border-radius: 12px;
	background: #2a2a2c;
}

.jts-ts-single-meta {
	margin-top: 0.8rem;
}

.jts-ts-single-meta strong {
	color: var(--jts-ink);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
