/* Chunri Colour Studio */
.cs-days { margin: 14px 0 0; font-weight: 700; font-size: 14px; }
.cs-pick { padding-top: 56px; }
.cs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 28px; max-width: 1000px; }
.cs-card { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; color: inherit; text-decoration: none; }
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(40,20,10,.5); border-color: var(--accent); }
.cs-card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--canvas); }
.cs-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cs-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.cs-card-body b { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.cs-card-body small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.cs-card-go { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }
.cs-card-other { justify-content: center; background: var(--canvas); border-style: dashed; min-height: 220px; }

.cs-studio { padding-top: 28px; }
.cs-studio[hidden], .cs-pick[hidden] { display: none; }
.cs-back { background: none; border: 0; padding: 6px 0; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.cs-back:hover { color: var(--accent); }
.cs-grid { display: grid; grid-template-columns: minmax(280px, 520px) 1fr; gap: 56px; align-items: start; }
.cs-stage { position: sticky; top: 90px; }
.cs-canvas-wrap { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px -22px rgba(40,20,10,.5); background: #eee; }
.cs-canvas-wrap canvas { display: block; width: 100%; height: auto; cursor: pointer; }
.cs-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; }
.cs-loading[hidden] { display: none; }
.cs-stage-tools { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cs-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }

.cs-controls { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.cs-controls h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 500; margin: 6px 0 18px; line-height: 1.1; }
.cs-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cs-tab { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 10px; border-radius: 40px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; }
.cs-tab i { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.2); display: block; }
.cs-tab.is-on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.cs-hint { margin: 0 0 20px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.cs-label { font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.cs-label b { color: var(--accent); }
.cs-palette { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; align-items: center; }
.cs-swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px rgba(0,0,0,.18); padding: 0; transition: transform .15s ease; }
.cs-swatch.is-light { box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.cs-swatch:hover { transform: scale(1.1); }
.cs-swatch.is-on { box-shadow: 0 0 0 3px var(--accent); transform: scale(1.08); }
.cs-chip { padding: 0 16px; height: 38px; border-radius: 30px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; }
.cs-chip.is-on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.cs-custom { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 13px; font-weight: 600; }
.cs-custom input[type="color"] { width: 48px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }

.cs-ai { padding: 18px; margin-bottom: 24px; background: var(--canvas); border: 1px dashed var(--line); border-radius: 10px; }
.cs-ai[hidden] { display: none; }
.cs-ai-form { display: flex; gap: 10px; }
.cs-ai-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; background: #fff; }
.cs-ai-reply { margin: 10px 0 0; min-height: 20px; font-size: 13px; font-weight: 600; color: var(--accent); line-height: 1.5; }

.cs-order { border-top: 1px solid var(--line); padding-top: 22px; }
.cs-summary { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.cs-summary li { display: flex; align-items: center; gap: 10px; }
.cs-summary i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.2); flex: none; }
.cs-days-note { margin: 0 0 16px; font-size: 13px; font-weight: 700; color: var(--accent); }
.cs-help { font-size: 12.5px; line-height: 1.7; color: var(--muted); margin: 14px 0 0; }
.cs-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cs-row .cs-btn { flex: 1 1 160px; }

.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 40px; border: 1.5px solid transparent; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; transition: transform .15s ease, opacity .2s ease; }
.cs-btn:hover:not(:disabled) { transform: translateY(-2px); }
.cs-btn:disabled { opacity: .5; cursor: wait; }
.cs-btn-wide { width: 100%; margin-bottom: 10px; }
.cs-btn-dark { background: #1e1b1a; color: #fff; }
.cs-btn-ghost { background: #fff; border-color: var(--line); color: var(--brand-ink, #33292b); min-height: 42px; }
.cs-btn-wa { background: #25d366; color: #0b3d1e; }

@media (max-width: 900px) {
	.cs-grid { grid-template-columns: 1fr; gap: 24px; }
	.cs-stage { position: static; max-width: 460px; width: 100%; margin: 0 auto; }
	.cs-controls { padding: 22px 18px; }
	.cs-swatch { width: 40px; height: 40px; }
	.cs-ai-form { flex-direction: column; }
}
