/* Yannoo — configurateur (t-shirts DTF…) */
.cf-section { padding-top: 28px; }
.cf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .cf { grid-template-columns: 1fr; } }
.cf-stage { position: sticky; top: 90px; }
@media (max-width: 900px) { .cf-stage { position: static; } }
.cf-views { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.cf-views button { padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 700; font-size: .88rem; cursor: pointer; }
.cf-views button[aria-selected="true"] { color: var(--text); background: var(--surface-2); border-color: var(--muted); }
.cf-views button span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border-radius: 999px; background: var(--magenta); color: #fff; font-size: .72rem; }
.cf-canvas { border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, #2a2a33, #121216 70%); border: 1px solid var(--line); padding: 10px; touch-action: none; user-select: none; }
.cf-svg { display: block; width: 100%; height: auto; max-height: 72vh; }
.cf-zone { fill: rgba(18, 181, 255, .05); stroke: #12b5ff; stroke-width: 1.5; stroke-dasharray: 6 5; pointer-events: none; }
.cf-sel { fill: none; stroke: #ff2d95; stroke-width: 1.6; stroke-dasharray: 5 4; pointer-events: none; }
.cf-h { fill: #fff; stroke: #ff2d95; stroke-width: 2.5; cursor: nwse-resize; }
.cf-rot { cursor: grab; }
.cf-hint { color: var(--muted); font-size: .8rem; margin: 10px 2px 0; }

.cf-panel { display: grid; gap: 14px; }
.cf-panel section { padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.cf-panel h3 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cf-panel h3 small { text-transform: none; letter-spacing: 0; color: var(--text); font-weight: 700; font-size: .85rem; }
.cf-panel select, .cf-panel textarea { width: 100%; padding: .65em .8em; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.cf-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-sw { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid var(--line); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }
.cf-sw[aria-pressed="true"] { outline: 3px solid var(--magenta); outline-offset: 2px; }
.cf-sw.small { width: 24px; height: 24px; }
.cf-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.cf-size { min-width: 48px; padding: .45em .7em; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 700; cursor: pointer; display: grid; justify-items: center; }
.cf-size small { font-size: .65rem; color: var(--muted); font-weight: 600; }
.cf-size[aria-pressed="true"] { border-color: var(--magenta); background: rgba(255, 45, 149, .12); }
.cf-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); gap: 8px; }
.cf-addbtn { display: grid; gap: 2px; padding: 12px; border-radius: 12px; border: 1px dashed var(--muted); background: var(--bg); color: var(--text); text-align: center; cursor: pointer; transition: border-color .2s, transform .2s; }
.cf-addbtn:hover { border-color: var(--cyan); transform: translateY(-1px); }
.cf-addbtn small { color: var(--muted); font-size: .75rem; }
.cf-zonecount { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.cf-edit { border-color: var(--magenta) !important; display: grid; gap: 10px; }
.cf-edit[hidden] { display: none; }
.cf-edit h3 { margin: 0; }
.cf-l { display: grid; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.cf-l input[type=range] { width: 100%; accent-color: var(--magenta); }
.cf-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cf-tg { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; font-size: 1rem; }
.cf-tg[aria-pressed="true"] { border-color: var(--magenta); background: rgba(255, 45, 149, .15); }
.cf-color { width: 40px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.cf-measure { margin: 0; font-size: .8rem; color: var(--cyan); }
.cf-dpi { margin: 0; font-size: .8rem; color: var(--green); }
.cf-dpi.bad { color: var(--yellow); }
.cf-qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cf-qty button { width: 40px; border: 0; background: var(--bg); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.cf-qty input { width: 64px; text-align: center; border: 0; background: var(--bg); color: var(--text); font: inherit; font-weight: 700; }
.cf-tiers { margin: 8px 0 0; font-size: .8rem; color: var(--green); }
.cf-price table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.cf-price td { padding: 4px 0; color: var(--muted); }
.cf-price td:last-child { text-align: right; color: var(--text); white-space: nowrap; padding-left: 10px; }
.cf-disc td { color: var(--green) !important; }
.cf-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.cf-total b { font-size: 1.6rem; }
.cf-total span { color: var(--muted); }
.cf-note { margin: 0; font-size: .8rem; color: var(--muted); }

.cf-modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.65); display: grid; place-items: center; padding: 16px; }
.cf-modal[hidden] { display: none; }
.cf-modal-box { position: relative; width: min(900px, 100%); max-height: 88vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.cf-modal-box h3 { margin: 0 0 12px; }
.cf-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; }
.cf-modal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cf-modal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cf-dz { display: grid; gap: 4px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; text-align: center; }
.cf-dz:hover { border-color: var(--cyan); }
.cf-dz img { width: 100%; aspect-ratio: 1; object-fit: contain; background: repeating-conic-gradient(#2a2a30 0% 25%, #1e1e23 0% 50%) 50% / 16px 16px; border-radius: 8px; }
.cf-dz small { color: var(--muted); }

/* Page T-shirts */
.tsh-start { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; }
.tsh-start h2 { margin: 0 0 6px; }
.tsh-start p { margin: 0; color: var(--muted); max-width: 620px; }
.tsh-start-cta { display: grid; gap: 6px; justify-items: center; }
.tsh-start-cta span { color: var(--muted); font-size: .85rem; }
.tsh-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tsh-theme { display: grid; gap: 4px; text-align: left; padding: 0 0 14px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: transform .2s, border-color .2s; }
.tsh-theme:hover { transform: translateY(-3px); border-color: var(--muted); }
.tsh-theme[aria-pressed="true"] { border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta); }
.tsh-theme-img { aspect-ratio: 4/3; display: grid; place-items: center; background: linear-gradient(135deg, rgba(18,181,255,.18), rgba(255,45,149,.18)); margin-bottom: 8px; overflow: hidden; }
.tsh-theme-img img { width: 100%; height: 100%; object-fit: cover; }
.tsh-ph { font-family: var(--display, sans-serif); font-weight: 800; font-size: 3.4rem; color: rgba(255,255,255,.55); }
.tsh-theme b, .tsh-theme small, .tsh-theme em { padding: 0 14px; }
.tsh-theme b { font-size: 1.05rem; }
.tsh-theme small { color: var(--muted); font-size: .82rem; }
.tsh-theme em { font-style: normal; font-size: .75rem; font-weight: 800; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }
.tsh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tsh-design { display: grid; gap: 4px; padding-bottom: 14px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .2s; }
.tsh-design:hover { transform: translateY(-3px); }
.tsh-mock { display: block; background: radial-gradient(circle at 50% 40%, #2a2a33, #121216 70%); padding: 8px; }
.tsh-design b, .tsh-design small, .tsh-design em { padding: 0 14px; }
.tsh-design small { color: var(--muted); }
.tsh-design em { font-style: normal; color: var(--cyan); font-weight: 700; font-size: .85rem; }

/* Visionneuse (commandes) */
.cf-viewer p { margin: 0 0 10px; }
.cf-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; border: 1px solid rgba(128,128,128,.5); }
.cf-viewer-views { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cf-viewer-views figure { margin: 0; padding: 6px; border-radius: 12px; background: #1a1a20; text-align: center; }
.cf-viewer-views figcaption { font-size: .8rem; color: #aaa; }
.cf-viewer-list { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: .9rem; }
.cf-viewer-list small { color: var(--muted); }
.cf-link { color: var(--cyan); font-size: .85rem; }
.cf-pop { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.cf-pop-box { position: relative; width: min(820px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.cf-panel .mini, .cf-viewer .mini { padding: .4em .75em; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 700; font-size: .8rem; cursor: pointer; }
.cf-panel .mini:hover { border-color: var(--muted); }
.cf-panel .mini.danger { color: #ff7ab8; }
/* Stock */
.cf-size em { font-style: normal; font-size: .6rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.cf-size.is-low em { color: var(--orange); }
.cf-size.is-out { opacity: .55; }
.cf-size.is-out em { color: var(--magenta); }
.cf-size:disabled { cursor: not-allowed; text-decoration: line-through; text-decoration-color: var(--magenta); }
.cf-size:disabled em { text-decoration: none; }
.cf-sw.is-out { position: relative; opacity: .55; }
.cf-sw.is-out::after { content: ""; position: absolute; inset: 45% -3px auto; height: 2px; background: var(--magenta); transform: rotate(-40deg); }
.cf-stock { margin-top: 8px; font-size: .82rem; font-weight: 600; }
.cf-stock.ok { color: #3ddc97; }
.cf-stock.low { color: var(--orange); }
.cf-stock.out { color: var(--magenta); }

/* ---- Configurateur pro (2026) ---- */
.cf-products { grid-column: 1 / -1; display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.cf-prod { flex: 0 0 auto; display: grid; grid-template-columns: 54px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 8px 16px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .2s, transform .2s; }
.cf-prod:hover { transform: translateY(-2px); border-color: var(--muted); }
.cf-prod[aria-pressed="true"] { border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta); }
.cf-prod-ic { grid-row: 1 / 3; width: 54px; height: 58px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #f3f6ff, #d9dfeb); display: block; padding: 3px; }
.cf-prod-ic svg { width: 100%; height: 100%; display: block; }
.cf-prod b { font-size: .9rem; white-space: nowrap; }
.cf-prod small { font-size: .75rem; color: var(--muted); }
.cf-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.cf-tools { display: flex; gap: 6px; margin-bottom: 12px; }
.cf-tool { min-width: 38px; height: 36px; padding: 0 .8em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; font-size: .85rem; cursor: pointer; }
.cf-tool:disabled { opacity: .35; cursor: default; }
.cf-tool[aria-pressed="true"] { border-color: var(--cyan); background: color-mix(in srgb, var(--cyan) 16%, transparent); }
.cf-canvas { background: radial-gradient(circle at 50% 38%, #2b3550, #0d1222 72%); }
.cf-canvas.is-preview { background: radial-gradient(circle at 50% 38%, #f4f6fb, #d6dce8 75%); }
.cf-tg { width: auto; min-width: 36px; padding: 0 .55em; }
.cf-outline .cf-tg { font-size: .78rem; font-weight: 700; }
.cf-stroke { width: 40px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.cf-l small { color: var(--text); font-weight: 600; }
.cf-layers-box[hidden] { display: none; }
.cf-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cf-layers li { display: flex; align-items: center; gap: 6px; border-radius: 10px; border: 1px solid transparent; padding: 2px; }
.cf-layers li.is-sel { border-color: var(--magenta); background: color-mix(in srgb, var(--magenta) 8%, transparent); }
.cf-ly { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 8px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; font-size: .86rem; }
.cf-ly span:last-child { display: grid; min-width: 0; } .cf-ly span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-ly small { color: var(--muted); font-size: .72rem; }
.cf-ly-ic { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); font-weight: 800; font-size: .8rem; color: var(--cyan); }
.cf-ly-act { display: flex; gap: 2px; }
.cf-ly-act button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; font-size: .8rem; }
.cf-ly-act button:disabled { opacity: .3; cursor: default; }
.cf-print { margin-top: 14px; padding: 12px; border-radius: 12px; border: 1px dashed var(--cyan); }
.cf-print p { margin: 0 0 8px; } .cf-print small { color: var(--muted); }
.tsh-mock { background: radial-gradient(circle at 50% 40%, #2b3550, #0d1222 70%); }
.tsh-start { margin-top: 34px; }

/* ---- Commande d'équipe, noms & numéros, guide des tailles ---- */
.cf-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.cf-mode button { padding: .6em .5em; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font-weight: 700; font-size: .82rem; cursor: pointer; }
.cf-mode button[aria-pressed="true"] { color: var(--text); border-color: var(--magenta); background: color-mix(in srgb, var(--magenta) 12%, transparent); }
.cf-team[hidden], .cf-single[hidden], .cf-size-box[hidden] { display: none; }
.cf-team { display: grid; gap: 10px; }
.cf-team-help { margin: 0; font-size: .82rem; color: var(--muted); }
.cf-roster-wrap { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.cf-roster { width: 100%; border-collapse: collapse; font-size: .85rem; }
.cf-roster th { position: sticky; top: 0; background: var(--surface-2); text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 6px 6px; }
.cf-roster td { padding: 4px; border-top: 1px solid var(--line); }
.cf-roster input, .cf-roster select { width: 100%; min-width: 0; padding: .45em .5em; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.cf-roster input[data-f="qty"] { width: 64px; }
.cf-roster .cf-num { width: 58px; text-align: center; font-weight: 700; }
.cf-rm { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; }
.cf-rm:disabled { opacity: .3; cursor: default; }
.cf-paste[hidden] { display: none; }
.cf-paste { display: grid; gap: 8px; }
.cf-paste textarea { width: 100%; padding: .65em .8em; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: .85rem; }
.cf-team-sum { margin: 0; font-size: .9rem; color: var(--cyan); }
.cf-var { margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--cyan) 10%, transparent); font-size: .82rem; }
.cf-guide-btn { margin-left: auto; padding: 0; border: 0; background: none; color: var(--cyan); font: inherit; font-weight: 700; font-size: .78rem; text-transform: none; letter-spacing: 0; text-decoration: underline; cursor: pointer; }
.cf-sizenote { margin: -4px 2px 0; font-size: .82rem; color: var(--muted); }
.cf-guide-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.cf-guide-fig { border-radius: 12px; background: #f6f3ee; padding: 6px; }
.cf-guide-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cf-guide-t th, .cf-guide-t td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cf-guide-t thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cf-guide-t tr.is-cur { background: color-mix(in srgb, var(--magenta) 12%, transparent); }
@media (max-width: 560px) { .cf-guide-grid { grid-template-columns: 1fr; } .cf-guide-fig { max-width: 200px; } }
.cf-roster-view { margin-top: 14px; }
.cf-roster-view p { margin: 0 0 8px; }
.li-team { font-size: .85rem; color: var(--muted); }

/* ---- Boutique d'équipe (club.html) ---- */
.club-section { padding-top: 36px; }
.club-head { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.club-logo { width: 120px; height: 120px; object-fit: contain; border-radius: 22px; background: #fff; padding: 10px; box-shadow: var(--shadow); }
.club-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 8px 0 10px; }
.club-head .lead { margin: 0 0 14px; }
.club-facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.club-facts li { display: grid; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; }
.club-facts li b { font-size: .92rem; }
.club-facts li span { color: var(--muted); }
.club-facts li.hot { border-color: var(--orange); } .club-facts li.hot b { color: var(--orange); }
.club-closed { padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--magenta) 14%, transparent); border: 1px solid var(--magenta); margin: 0 0 22px; }
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.club-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.club-mock { aspect-ratio: 6/6.4; padding: 12px 18px 0; background: radial-gradient(circle at 50% 38%, #f3f6ff 0%, #dfe5f1 70%); }
.club-mock svg { width: 100%; height: 100%; display: block; }
.club-views { display: flex; gap: 6px; justify-content: center; padding: 8px; background: #dfe5f1; }
.club-views button { padding: .35em .9em; border-radius: 999px; border: 1px solid #c3cada; background: #fff; color: #0b1226; font-weight: 700; font-size: .78rem; cursor: pointer; }
.club-views button[aria-pressed="true"] { background: #0b1226; color: #fff; border-color: #0b1226; }
.club-body { display: grid; gap: 10px; padding: 16px 18px 18px; }
.club-body h3 { margin: 0; font-size: 1.2rem; }
.club-body p { margin: 0; }
.club-price { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.club-body input, .club-body select { width: 100%; padding: .6em .8em; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.club-lock { max-width: 460px; margin: 40px auto; text-align: center; display: grid; gap: 12px; justify-items: center; }
.club-code { display: grid; gap: 8px; width: 100%; text-align: left; }
.club-code input { flex: 1; padding: .7em .9em; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
@media (max-width: 620px) { .club-head { grid-template-columns: 1fr; } .club-logo { width: 88px; height: 88px; } }
