/* TriShops Core front-end styles. Works with any theme; matches the TriShops theme. */
.tsc-box, .tsc-dash, .tsc-studio { --tsc-line: #DDDDDD; --tsc-muted: #565959; --tsc-amber: #F59E0B; --tsc-navy: #0F1B2D; }
.tsc-box { max-width: 720px; }
.tsc-note, .tsc-muted { color: #565959; }
.tsc-form p { margin: 0 0 14px; }
.tsc-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.tsc-form input[type="text"], .tsc-form input[type="tel"], .tsc-form input[type="number"], .tsc-form select, .tsc-form textarea {
	width: 100%; max-width: 560px; min-height: 44px; padding: 8px 12px; border: 1px solid #A6A6A6; border-radius: 6px; background: #fff; box-sizing: border-box;
}
.tsc-form fieldset { border: 1px solid var(--tsc-line); border-radius: 8px; padding: 12px 16px; margin: 0 0 14px; }
.tsc-form legend { font-weight: 700; padding: 0 6px; }
.tsc-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 16px; max-width: 760px; }

/* Print Studio steps */
.tsc-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; margin: 0 0 28px; }
.tsc-steps li { counter-increment: s; background: #F0FDFA; border-radius: 12px; padding: 20px 20px 20px 64px; position: relative; font-size: 14px; color: #44403C; }
.tsc-steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: #0F766E; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.tsc-steps strong { display: block; color: #0F1111; font-size: 16px; margin-bottom: 2px; }

/* Designer */
.tsc-pod { flex-basis: 100%; width: 100%; border: 1px solid #DDDDDD; border-radius: 10px; padding: 16px; margin: 0 0 16px; background: #FAFAF9; }
.tsc-pod__title { font-size: 18px; margin: 0 0 12px; }
.tsc-pod__stage { background: #fff; border-radius: 8px; overflow: hidden; }
.tsc-pod__canvas { display: block; width: 100%; height: auto; max-width: 600px; margin: 0 auto; cursor: grab; }
.tsc-pod__canvas:active { cursor: grabbing; }
.tsc-pod__hint { font-size: 12px; color: #565959; margin: 8px 0 12px; }
.tsc-pod__tools { display: flex; flex-direction: column; gap: 10px; }
.tsc-pod__upload { position: relative; display: flex; align-items: center; justify-content: center; min-height: 46px; border: 2px dashed #0F766E; border-radius: 8px; background: #F0FDFA; color: #134E4A; font-weight: 700; cursor: pointer; }
.tsc-pod__upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tsc-pod__upload:focus-within { outline: 3px solid #F59E0B; }
.tsc-pod__text, .tsc-pod__layer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tsc-pod__text input[type="text"] { flex: 1 1 160px; min-height: 42px; padding: 0 10px; border: 1px solid #A6A6A6; border-radius: 6px; }
.tsc-pod__text select { min-height: 42px; border: 1px solid #A6A6A6; border-radius: 6px; }
.tsc-pod__text input[type="color"] { width: 44px; height: 42px; padding: 2px; border: 1px solid #A6A6A6; border-radius: 6px; background: #fff; }
.tsc-pod__layer label { font-size: 13px; font-weight: 600; }
.tsc-pod__layer input[type="range"] { width: 120px; }
.tsc-pod__colors { border: 0; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tsc-pod__colors legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.tsc-swatch { position: relative; cursor: pointer; }
.tsc-swatch input { position: absolute; opacity: 0; }
.tsc-swatch span:not(.screen-reader-text) { display: block; width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #A6A6A6; }
.tsc-swatch input:checked + span { box-shadow: 0 0 0 2px #0F1111; }
.tsc-swatch input:focus-visible + span { outline: 3px solid #F59E0B; outline-offset: 2px; }
.tsc-pod__error { color: #B12704; font-weight: 600; margin: 10px 0 0; }

/* Seller dashboard */
.tsc-dash { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.tsc-dash__nav { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; border: 1px solid var(--tsc-line); border-radius: 8px; overflow: hidden; background: #fff; }
.tsc-dash__shop { padding: 14px 16px; background: var(--tsc-navy); color: #fff; }
.tsc-dash__nav a { padding: 12px 16px; border-top: 1px solid var(--tsc-line); color: #0F1111; text-decoration: none; }
.tsc-dash__nav a:hover { background: #F7F8F8; }
.tsc-dash__nav a.is-active { background: #FFFBEB; font-weight: 700; box-shadow: inset 3px 0 0 var(--tsc-amber); }
.tsc-dash__main { flex: 999 1 520px; min-width: 0; }
.tsc-dash__main h2 { margin-top: 0; }
.tsc-dash__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tsc-dash__head h2 { margin: 0; }
.tsc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 20px; }
.tsc-stat { border: 1px solid var(--tsc-line); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 4px; background: #fff; }
.tsc-stat span { font-size: 13px; color: #565959; }
.tsc-stat strong { font-size: 24px; }
.tsc-stat--dark { background: var(--tsc-navy); border-color: var(--tsc-navy); color: #fff; }
.tsc-stat--dark span { color: #CBD5E1; }
.tsc-stat--dark a { color: #FCD34D; font-size: 13px; font-weight: 600; }
.tsc-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.tsc-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; background: #fff; }
.tsc-table th, .tsc-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--tsc-line); vertical-align: middle; }
.tsc-table th { font-size: 13px; color: #565959; }
.tsc-prod { display: flex; gap: 10px; align-items: center; }
.tsc-prod img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.tsc-inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.tsc-inline input { min-height: 36px; padding: 0 8px; border: 1px solid #A6A6A6; border-radius: 6px; }
.tsc-actions { white-space: nowrap; }
.tsc-actions > * + * { margin-left: 10px; }
.tsc-link { background: none; border: 0; padding: 0; color: #B12704; cursor: pointer; text-decoration: underline; font: inherit; }
.tsc-soldby { font-size: 14px; margin: 0 0 8px; }
