/* The Cassette Club — Gift Studio builder. Colours follow the site theme tokens when present. */
.tcc-gs {
  --g-bg: var(--tcc-surface, #1A2D24);
  --g-bg-2: var(--tcc-surface-2, #22382E);
  --g-bg-3: var(--tcc-surface-3, #2B4338);
  --g-line: var(--tcc-line, rgba(255, 255, 255, .12));
  --g-line-2: var(--tcc-line-strong, rgba(255, 255, 255, .24));
  --g-ink: var(--tcc-cream, #FFFFFF);
  --g-muted: var(--tcc-muted, #B4C0B9);
  --g-accent: var(--tcc-brass, #DBDE52);
  --g-accent-2: var(--tcc-brass-light, #E9EB8A);
  --g-blue: var(--tcc-blue, #0027FF);
  --g-sky: var(--tcc-sky, #A9B6FF);
  --g-on-accent: var(--tcc-ink, #13221B);
  --g-red: var(--tcc-tape-red, #FF6B57);
  --g-ok: #8fbf9a;
  --g-radius: 14px;
  --g-display: var(--tcc-font-display, "Fahkwang", Georgia, serif);
  --g-body: var(--tcc-font-body, "Jost", system-ui, sans-serif);
  --g-mono: var(--tcc-font-mono, "Jost", system-ui, sans-serif);
  clear: both;
  width: 100%;
  margin: 8px 0 24px;
  color: var(--g-ink);
  font-family: var(--g-body);
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.tcc-gs *, .tcc-gs *::before, .tcc-gs *::after { box-sizing: border-box; }

/* Hide WooCommerce's own quantity + button; the builder triggers them. */
form.cart.tcc-gs-form { display: block !important; }
form.cart.tcc-gs-form > .quantity,
form.cart.tcc-gs-form .single_add_to_cart_button { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; opacity: 0 !important; pointer-events: none !important; }

.tcc-gs__loading, .tcc-gs__noscript { padding: 24px; border: 1px dashed var(--g-line-2); border-radius: var(--g-radius); color: var(--g-muted); }

.tcc-gs__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 1024px) { .tcc-gs__layout { grid-template-columns: minmax(0, 1fr); } }
.tcc-gs__main, .tcc-gs__preview, .tcc-gs__step, .tcc-gs__song, .tcc-gs__panel { min-width: 0; }
.tcc-gs__steps, .tcc-gs__songs { grid-template-columns: minmax(0, 1fr); }

/* ----- Steps ----- */
.tcc-gs__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tcc-gs__step { margin: 0; background: var(--g-bg); border: 1px solid var(--g-line); border-radius: var(--g-radius); transition: border-color .2s; scroll-margin-top: 90px; }
.tcc-gs__step.is-open { border-color: var(--g-line-2); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .7); }
.tcc-gs .tcc-gs__head { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; cursor: pointer; border-radius: var(--g-radius); }
.tcc-gs .tcc-gs__head:focus-visible { outline: 2px solid var(--g-accent); outline-offset: 2px; }
.tcc-gs__num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--g-line-2); font-family: var(--g-mono); font-size: 13px; color: var(--g-muted); }
.tcc-gs__step.is-open .tcc-gs__num { background: var(--g-accent); border-color: var(--g-accent); color: var(--g-on-accent); }
.tcc-gs__step.is-done .tcc-gs__num { color: transparent; border-color: var(--g-accent); position: relative; }
.tcc-gs__step.is-done .tcc-gs__num::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--g-accent); font-family: var(--g-body); }
.tcc-gs__titles { display: flex; flex-direction: column; min-width: 0; }
.tcc-gs__title { font-family: var(--g-display); font-size: 19px; font-weight: 500; letter-spacing: -.01em; color: var(--g-ink); }
.tcc-gs__peek { font-size: 13px; color: var(--g-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcc-gs__panel { display: none; padding: 0 18px 18px 62px; }
.tcc-gs__step.is-open .tcc-gs__panel { display: block; animation: tccIn .25s ease; }
@media (max-width: 600px) { .tcc-gs__panel { padding: 0 14px 16px; } .tcc-gs__head { padding: 14px; } }
@keyframes tccIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.tcc-gs__sub { margin: -4px 0 14px; color: var(--g-muted); font-size: 14px; }

.tcc-gs__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; }
.tcc-gs__errors { margin: 14px 0 0; padding: 12px 14px 12px 32px; border-radius: 10px; background: rgba(208, 96, 74, .12); border: 1px solid rgba(208, 96, 74, .4); color: #f3c2b6; font-size: 14px; }
.tcc-gs__errors:focus { outline: none; }

/* ----- Buttons & inputs ----- */
.tcc-gs .tcc-gs__btn { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--g-accent); border-radius: 999px; background: var(--g-accent); color: var(--g-on-accent); font: 600 14px/1 var(--g-body); letter-spacing: .02em; cursor: pointer; transition: background .15s, transform .15s, color .15s; text-transform: none; box-shadow: none; }
.tcc-gs .tcc-gs__btn:hover { background: var(--g-accent-2); border-color: var(--g-accent-2); }
.tcc-gs .tcc-gs__btn:active { transform: translateY(1px); }
.tcc-gs .tcc-gs__btn:focus-visible, .tcc-gs__chip:focus-visible, .tcc-gs__opt:focus-visible, .tcc-gs__icon:focus-visible, .tcc-gs__link:focus-visible { outline: 2px solid var(--g-accent-2); outline-offset: 2px; }
.tcc-gs .tcc-gs__btn[disabled] { opacity: .45; cursor: not-allowed; }
.tcc-gs .tcc-gs__btn--ghost { background: transparent; color: var(--g-ink); border-color: var(--g-line-2); }
.tcc-gs .tcc-gs__btn--ghost:hover { background: var(--g-bg-2); border-color: var(--g-accent); color: var(--g-ink); }
.tcc-gs .tcc-gs__btn--cta { padding: 14px 26px; font-size: 15px; }
.tcc-gs .tcc-gs__btn.is-busy { opacity: .7; pointer-events: none; }
.tcc-gs .tcc-gs__link { appearance: none; background: none; border: 0; padding: 4px 0; color: var(--g-accent-2); font: 500 13px var(--g-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tcc-gs .tcc-gs__icon { appearance: none; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--g-line); background: transparent; color: var(--g-muted); cursor: pointer; font-size: 13px; padding: 0; }
.tcc-gs .tcc-gs__icon:hover:not([disabled]) { color: var(--g-ink); border-color: var(--g-line-2); }
.tcc-gs .tcc-gs__icon[disabled] { opacity: .3; cursor: default; }

.tcc-gs .tcc-gs__input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--g-line-2); border-radius: 10px; background: var(--g-bg-2); color: var(--g-ink); font: 15px var(--g-body); box-shadow: none; margin: 0; }
.tcc-gs .tcc-gs__input::placeholder { color: var(--g-muted); opacity: .75; }
.tcc-gs .tcc-gs__input:focus { outline: none; border-color: var(--g-accent); box-shadow: 0 0 0 3px rgba(0, 39, 255, .35); }
.tcc-gs .tcc-gs__input--time { width: 78px; text-align: center; font-family: var(--g-mono); }
.tcc-gs .tcc-gs__textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.tcc-gs .tcc-gs__input[type="date"] { color-scheme: dark; }
.tcc-gs__field { position: relative; display: grid; gap: 6px; margin: 12px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--g-muted); }
.tcc-gs__count { position: absolute; right: 10px; bottom: 10px; font: 11px var(--g-mono); color: var(--g-muted); pointer-events: none; }
.tcc-gs__field textarea + .tcc-gs__count { bottom: 8px; }
.tcc-gs__hint { margin: 0 0 8px; color: var(--g-muted); font-size: 14px; }
.tcc-gs__hint--small { font-size: 12.5px; color: var(--g-muted); }
.tcc-gs__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tcc-gs__grid3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
@media (max-width: 600px) { .tcc-gs__grid2 { grid-template-columns: 1fr; } .tcc-gs__grid3 { grid-template-columns: 1fr 1fr; } .tcc-gs__grid3 .tcc-gs__mini { grid-column: 1 / -1; } }
.tcc-gs__mini { display: grid; gap: 4px; font-size: 11px; color: var(--g-muted); text-transform: uppercase; letter-spacing: .08em; }

.tcc-gs__check { font-weight: 400; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--g-ink); cursor: pointer; }
.tcc-gs__check input { width: 18px; height: 18px; accent-color: var(--g-accent); margin: 0; }
.tcc-gs__confirm { margin-top: 18px; padding: 14px; border: 1px solid var(--g-line-2); border-radius: 12px; background: var(--g-bg-2); align-items: flex-start; }

/* ----- Chips ----- */
.tcc-gs__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.tcc-gs__chips--occ { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tcc-gs .tcc-gs__chip { appearance: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--g-line-2); border-radius: 12px; background: var(--g-bg-2); color: var(--g-ink); font: 500 14px var(--g-body); cursor: pointer; text-align: left; transition: border-color .15s, background .15s; text-transform: none; letter-spacing: 0; }
.tcc-gs .tcc-gs__chip:hover { border-color: var(--g-accent); background: var(--g-bg-3); color: var(--g-ink); }
.tcc-gs .tcc-gs__chip.is-on { border-color: var(--g-accent); background: rgba(219, 222, 82, .14); box-shadow: inset 0 0 0 1px var(--g-accent); }
.tcc-gs__chip-icon { width: 22px; text-align: center; color: var(--g-accent); font-size: 16px; }
.tcc-gs .tcc-gs__chip--text { font-family: var(--g-display); font-style: italic; font-size: 15px; }

/* ----- Songs ----- */
.tcc-gs__songs { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.tcc-gs__song { margin: 0; padding: 12px 14px; border: 1px solid var(--g-line); border-radius: 12px; background: var(--g-bg-2); }
.tcc-gs__song.is-custom { border-color: rgba(169, 182, 255, .45); }
.tcc-gs__song-head { display: flex; align-items: center; gap: 12px; }
.tcc-gs__song-n { flex: none; width: 22px; font: 12px var(--g-mono); color: var(--g-muted); }
.tcc-gs__song-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tcc-gs__song-name strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcc-gs__song-name span { font-size: 13px; color: var(--g-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcc-gs__song-time { flex: none; font: 13px var(--g-mono); color: var(--g-muted); }
.tcc-gs__song-actions { flex: none; display: flex; gap: 4px; }
.tcc-gs__song-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 8px 0 0 34px; }
.tcc-gs__song-fields { display: grid; gap: 8px; margin: 10px 0 0 34px; }
@media (max-width: 600px) { .tcc-gs__song-row, .tcc-gs__song-fields { margin-left: 0; } .tcc-gs__song-actions .tcc-gs__icon { width: 30px; } }
.tcc-gs__song-url { display: grid; gap: 4px; }
.tcc-gs__cut { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--g-muted); }
.tcc-gs__cut[hidden] { display: none; }
.tcc-gs__lookup { min-height: 16px; font-size: 12.5px; color: var(--g-muted); }
.tcc-gs__lookup.is-ok { color: var(--g-ok); }
.tcc-gs__lookup.is-bad { color: #f3a28f; }
.tcc-gs__lookup.is-busy::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 2px solid var(--g-muted); border-top-color: transparent; border-radius: 50%; animation: tccSpin .8s linear infinite; vertical-align: -1px; }
@keyframes tccSpin { to { transform: rotate(360deg); } }
.tcc-gs__song-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 14px; }

/* ----- Voice ----- */
.tcc-gs__voice { padding: 14px; border: 1px dashed var(--g-line-2); border-radius: 12px; display: grid; gap: 10px; }
.tcc-gs__voice-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.tcc-gs__voice-actions, .tcc-gs__voice-ready { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tcc-gs__voice-ready audio { height: 36px; max-width: 260px; }
.tcc-gs__rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--g-red); animation: tccPulse 1.2s ease-in-out infinite; }
.tcc-gs__rec-dot.is-idle { animation: none; }
@keyframes tccPulse { 50% { opacity: .35; } }
.tcc-gs__rec-time { font: 600 15px var(--g-mono); }
.tcc-gs__pill { padding: 6px 12px; border-radius: 999px; background: var(--g-bg-3); font-size: 13px; }
.tcc-gs__progress { height: 6px; border-radius: 3px; background: var(--g-bg-3); overflow: hidden; }
.tcc-gs__progress i { display: block; height: 100%; width: 0; background: var(--g-accent); transition: width .2s; }

/* ----- Design options ----- */
.tcc-gs__fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.tcc-gs__fieldset legend { padding: 0; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g-muted); }
.tcc-gs__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.tcc-gs .tcc-gs__opt { appearance: none; position: relative; display: grid; justify-items: center; gap: 8px; padding: 12px 8px; border: 1px solid var(--g-line); border-radius: 12px; background: var(--g-bg-2); color: var(--g-ink); cursor: pointer; font: 13px var(--g-body); text-transform: none; letter-spacing: 0; }
.tcc-gs .tcc-gs__opt:hover { border-color: var(--g-line-2); background: var(--g-bg-3); color: var(--g-ink); }
.tcc-gs .tcc-gs__opt.is-on { border-color: var(--g-accent); box-shadow: inset 0 0 0 1px var(--g-accent); }
.tcc-gs .tcc-gs__opt.is-on::after { content: "✓"; position: absolute; top: 6px; right: 8px; color: var(--g-accent); font-size: 12px; }
.tcc-gs__swatch { width: 54px; height: 54px; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tcc-gs__swatch--shell { width: 64px; height: 42px; border-radius: 7px; background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,0) 55%), var(--c); position: relative; }
.tcc-gs__swatch--shell::after { content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 12px; border-radius: 6px; background: rgba(0, 0, 0, .55); }
.tcc-gs__thumb { width: 100%; max-width: 92px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.tcc-gs__opt-label { line-height: 1.25; text-align: center; }
.tcc-gs__tag { position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 4px; background: var(--g-bg-3); font: 600 10px var(--g-mono); color: var(--g-muted); }

/* ----- Add-ons & review ----- */
.tcc-gs__addons { display: grid; gap: 8px; }
.tcc-gs__addon { color: var(--g-ink); font-size: 15px; font-weight: 400; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--g-line); border-radius: 12px; background: var(--g-bg-2); cursor: pointer; }
.tcc-gs__addon:has(input:checked) { border-color: var(--g-accent); }
.tcc-gs__addon input { width: 18px; height: 18px; accent-color: var(--g-accent); margin: 0; }
.tcc-gs__addon-text { display: grid; }
.tcc-gs__addon-text span { font-size: 13px; color: var(--g-muted); }
.tcc-gs__addon-price { font: 600 14px var(--g-mono); color: var(--g-accent-2); }
.tcc-gs__review { margin: 20px 0 0; padding: 16px; border-radius: 12px; background: var(--g-bg-2); border: 1px solid var(--g-line); display: grid; gap: 12px; }
.tcc-gs__rv-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; margin: 0; }
.tcc-gs__rv-row dt { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); padding-top: 3px; }
.tcc-gs__rv-row dd { margin: 0; }
@media (max-width: 600px) { .tcc-gs__rv-row { grid-template-columns: 1fr; gap: 2px; } }
.tcc-gs__rv-tracks { margin: 0 0 4px; padding-left: 18px; font-size: 14px; }
.tcc-gs__rv-tracks li { margin: 2px 0; }
.tcc-gs__rv-tracks .is-voice { display: block; list-style: none; margin-left: -18px; color: var(--g-accent-2); }
.tcc-gs__rv-tracks .is-empty { display: block; list-style: none; margin-left: -18px; color: var(--g-muted); }

/* ----- Preview panel ----- */
.tcc-gs__preview { position: sticky; top: 96px; display: grid; gap: 16px; padding: 20px; border-radius: 18px; background: var(--g-blue); border: 0; }
@media (max-width: 1024px) { .tcc-gs__preview { position: static; order: -1; grid-template-columns: 1fr 1fr; align-items: center; } .tcc-gs__price, .tcc-gs__help { display: none; } }
@media (max-width: 600px) { .tcc-gs__preview { grid-template-columns: 1fr; padding: 14px; } .tcc-gs__jcard { display: none !important; } .tcc-gs__meter { display: none; } }

.tcc-gs__cassette { --shell: #1C1C1C; --label: #F7F5EC; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); }
.tcc-gs__cassette svg { display: block; width: 100%; height: auto; }
.tcc-gs__cassette .shell { fill: var(--shell); stroke: rgba(255, 255, 255, .08); transition: fill .3s; }
.tcc-gs__cassette.is-clear .shell { fill-opacity: .82; }
.tcc-gs__cassette .screw { fill: rgba(0, 0, 0, .35); stroke: rgba(255, 255, 255, .15); }
.tcc-gs__cassette .label { fill: var(--label); transition: fill .3s; }
.tcc-gs__cassette .label-band { fill: rgba(0, 0, 0, .08); }
.tcc-gs__cassette .side { font: 700 12px var(--g-mono); fill: #3a332c; }
.tcc-gs__cassette .num { font: 500 9px var(--g-mono); fill: #6b6157; letter-spacing: .06em; }
.tcc-gs__cassette .title { font-family: var(--g-display); font-style: italic; fill: #13221B; }
.tcc-gs__cassette .title.is-placeholder { fill: #a69a8b; }
.tcc-gs__cassette .window { fill: #13221B; stroke: rgba(0, 0, 0, .3); }
.tcc-gs__cassette .hub { fill: #F7F5EC; }
.tcc-gs__cassette .spokes { stroke: #13221B; stroke-width: 3; stroke-linecap: round; }
.tcc-gs__cassette .reel { transform-box: fill-box; transform-origin: center; animation: tccReel 4s linear infinite; }
.tcc-gs__cassette .foot { fill: rgba(0, 0, 0, .22); }
.tcc-gs__cassette .hole { fill: rgba(0, 0, 0, .45); }
@keyframes tccReel { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .tcc-gs__cassette .reel { animation: none; } .tcc-gs__step.is-open .tcc-gs__panel { animation: none; } }

.tcc-gs__jcard { --jc-bg: #13221B; --jc-ink: #FFFFFF; display: grid; grid-template-columns: 22px 1fr; min-height: 150px; border-radius: 6px; overflow: hidden; background: var(--jc-bg); color: var(--jc-ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.tcc-gs__jc-spine { writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 0; border-left: 1px dashed currentColor; opacity: .85; font: italic 11px var(--g-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: grid; place-items: center; }
.tcc-gs__jc-front { padding: 12px 14px; display: grid; align-content: start; gap: 6px; }
.tcc-gs__jc-title { font: italic 500 17px/1.2 var(--g-display); }
.tcc-gs__jc-tracks { margin: 0; padding-left: 16px; font: 10.5px/1.5 var(--g-mono); opacity: .85; columns: 2; column-gap: 14px; }
.tcc-gs__jc-tracks li { break-inside: avoid; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcc-gs__jc-tracks .more { list-style: none; opacity: .7; }
.tcc-gs__jc-tofrom { font: 11px var(--g-mono); opacity: .75; }
.tcc-gs__jcard.is-diy .tcc-gs__jc-title, .tcc-gs__jcard.is-diy .tcc-gs__jc-tracks, .tcc-gs__jcard.is-diy .tcc-gs__jc-spine { opacity: .25; }

.tcc-gs__meter { display: grid; gap: 8px; }
.tcc-gs__mrow { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 10px; font: 12px var(--g-mono); color: var(--g-muted); }
.tcc-gs__mtrack, .tcc-gs__bar-track { position: relative; height: 8px; border-radius: 4px; background: var(--g-bg-3); overflow: hidden; }
.tcc-gs__mtrack i, .tcc-gs__bar-track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--g-accent); border-radius: 4px; transition: width .35s ease, background .2s; }
.tcc-gs__mrow.is-full i { background: var(--g-accent-2); }
.tcc-gs__mrow.is-over i, .tcc-gs__bar-track.is-over i { background: var(--g-red); }
.tcc-gs__mrow.is-over .tcc-gs__mtime { color: #f3a28f; }
.tcc-gs__meter-note { margin: 2px 0 0; font-size: 12.5px; color: var(--g-muted); }
.tcc-gs__meter-note.is-over { color: #f3a28f; }

.tcc-gs__price { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--g-line); }
.tcc-gs__price-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--g-muted); }
.tcc-gs__total { font: 500 26px var(--g-display); color: var(--g-ink); }
.tcc-gs__was { color: var(--g-muted); font-size: 15px; }
.tcc-gs__help { font-size: 13px; color: var(--g-accent-2); text-align: center; }

/* Mobile sticky bar */
.tcc-gs__bar { display: none; }
@media (max-width: 1024px) {
  .tcc-gs__bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 14px; margin: 14px -4px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(14, 25, 19, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--g-line); border-radius: 14px; }
  .tcc-gs__bar-meter { flex: 1; display: grid; gap: 4px; font: 11px var(--g-mono); color: var(--g-muted); }
  .tcc-gs__bar-total { font: 500 18px var(--g-display); }
}

.tcc-gs__banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: rgba(0, 39, 255, .3); border: 1px solid rgba(169, 182, 255, .5); color: var(--g-ink); font-size: 14px; }
.tcc-gs__banner-actions { display: flex; gap: 8px; }
.tcc-gs__banner .tcc-gs__btn { min-height: 36px; padding: 8px 16px; }
.tcc-gs-status { margin: 4px 0 0; }

/* Inside the electric-blue preview panel */
.tcc-gs__preview { color: #FFFFFF; }
.tcc-gs__preview .tcc-gs__mtrack { background: rgba(255, 255, 255, .22); }
.tcc-gs__preview .tcc-gs__mrow, .tcc-gs__preview .tcc-gs__meter-note, .tcc-gs__preview .tcc-gs__price-label, .tcc-gs__preview .tcc-gs__was { color: rgba(255, 255, 255, .85); }
.tcc-gs__preview .tcc-gs__mrow.is-full i { background: #FFFFFF; }
.tcc-gs__preview .tcc-gs__mrow.is-over .tcc-gs__mtime, .tcc-gs__preview .tcc-gs__meter-note.is-over { color: #FFD1C9; }
.tcc-gs__preview .tcc-gs__price { border-top-color: rgba(255, 255, 255, .25); }
.tcc-gs__preview .tcc-gs__total { color: #FFFFFF; }
.tcc-gs__preview .tcc-gs__help { color: var(--g-accent); }
/* Blue touches in the steps */
.tcc-gs__chip-icon { color: var(--g-sky); }
.tcc-gs__fieldset legend, .tcc-gs__rv-row dt { color: var(--g-sky); }
.tcc-gs__rv-tracks .is-voice { color: var(--g-sky); }
.tcc-gs .tcc-gs__link { color: var(--g-sky); }
.tcc-gs__addon-price { color: var(--g-accent); }
.tcc-gs__tag { background: var(--g-blue); color: #FFFFFF; }
.tcc-gs__song.is-custom { border-color: rgba(169, 182, 255, .45); }
.tcc-gs__lookup.is-ok { color: #9BE3B4; }

/* ----- v2.1: full-width placement, progress, photos, examples ----- */
.tcc-gs { max-width: 1240px; margin: 32px auto 48px; padding: 0 16px; }
.tcc-gs-description { margin: 18px 0 8px; color: var(--tcc-cream, #FFFFFF); }
.tcc-gs__progress-top { display: grid; gap: 8px; margin: 0 0 14px; }
.tcc-gs__progress-text { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--g-sky); }
.tcc-gs__progress-track { height: 6px; border-radius: 3px; background: var(--g-bg-3); overflow: hidden; }
.tcc-gs__progress-track i { display: block; height: 100%; width: 0; background: var(--g-accent); border-radius: 3px; transition: width .35s ease; }
.tcc-gs__chips--occ { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tcc-gs .tcc-gs__chips--occ .tcc-gs__chip { align-items: flex-start; min-height: 74px; padding: 14px 16px; }
.tcc-gs__chip-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tcc-gs__chip-text strong { font-weight: 600; font-size: 15px; }
.tcc-gs__chip-text small { font-size: 12.5px; line-height: 1.35; color: var(--g-muted); font-weight: 400; }
.tcc-gs__chips--occ .tcc-gs__chip-icon { margin-top: 2px; }
.tcc-gs__tagline { margin: 12px 0 0; font-family: var(--g-display); font-style: italic; font-size: 16px; color: var(--g-sky); }
.tcc-gs__example { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; padding: 12px; border-radius: 12px; background: var(--g-bg-2); border: 1px dashed var(--g-line-2); }
.tcc-gs__example img { width: 74px; height: 74px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.tcc-gs__example figcaption { font-size: 13px; color: var(--g-muted); }
.tcc-gs__voice-prompt { margin: 0; font-size: 13.5px; color: var(--g-ink); opacity: .85; }
.tcc-gs__thumb { background: transparent; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.tcc-gs__thumb--shell { max-width: 110px; aspect-ratio: 900 / 560; background: transparent; }
.tcc-gs__opts { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
/* Real-photo preview */
.tcc-gs__stage { position: relative; }
.tcc-gs__shot { position: relative; width: 84%; margin: 14px auto 10px; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); transform: rotate(-4deg); }
.tcc-gs__shot[hidden] { display: none !important; }
.tcc-gs__photo { display: block; width: 100%; height: auto; transition: opacity .2s; }
/* Label sticker laid on the cassette, with the reel window cut out so the reels show through */
.tcc-gs__label-on { position: absolute; left: 10.9%; top: 15.2%; width: 79%; height: 54%; background: center / 100% 100% no-repeat; border-radius: 1.5%; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); container-type: size; }
.tcc-gs__label-on[hidden] { display: none !important; }
.tcc-gs__label-title { position: absolute; left: 21%; right: 9%; top: 9%; height: 22%; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: italic 500 16px/1 var(--g-display); font-size: 15cqh; color: #13221B; }
.tcc-gs__label-title.is-placeholder { opacity: .45; }
.tcc-gs__stage.has-label .tcc-gs__photo-title { display: none !important; }
.tcc-gs__photo-title { display: none; }
.tcc-gs__stage.has-photo .tcc-gs__photo-title { display: block; margin: 10px auto 0; max-width: 92%; text-align: center; font: italic 500 18px/1.25 var(--g-display); color: #FFFFFF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcc-gs__photo-title.is-placeholder { opacity: .6; }
.tcc-gs__design-row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 10px; align-items: stretch; }
.tcc-gs__design-row > [hidden] { display: none !important; }
.tcc-gs__dmini { align-content: center; }
/* J-Card seen through the clear case */
.tcc-gs__case { position: relative; width: 100%; max-width: 150px; margin: 0 auto; aspect-ratio: 561 / 879; isolation: isolate; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); }
.tcc-gs__case-jc { position: absolute; inset: 2.4% 2.8%; background: right center / auto 100% no-repeat; }
.tcc-gs .tcc-gs__case-img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: fill; mix-blend-mode: multiply; opacity: .62; background: transparent; filter: none; border-radius: 0; }
.tcc-gs__dmini { margin: 0; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: grid; gap: 6px; }
.tcc-gs__dmini img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: transparent; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); }
.tcc-gs__dmini figcaption { font-size: 12px; text-align: center; color: rgba(255, 255, 255, .85); }
.tcc-gs__express { margin-top: 16px; display: grid; gap: 8px; }
.tcc-gs__express[hidden] { display: none !important; }
.tcc-gs__express::before { content: "Or pay instantly"; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--g-muted); }
/* Hide express-pay buttons anywhere else on the gift box page until the builder places them */
body.tcc-gs-product form.cart .wcpay-express-checkout-wrapper,
body.tcc-gs-product form.cart #wcpay-express-checkout-wrapper,
body.tcc-gs-product form.cart .wcpay-payment-request-wrapper,
body.tcc-gs-product form.cart #wc-stripe-payment-request-wrapper,
body.tcc-gs-product form.cart .wc-stripe-product-checkout-container,
body.tcc-gs-product form.cart .ppc-button-wrapper { display: none !important; }
body.tcc-gs-product .tcc-gs__express .wcpay-express-checkout-wrapper,
body.tcc-gs-product .tcc-gs__express #wcpay-express-checkout-wrapper,
body.tcc-gs-product .tcc-gs__express .wcpay-payment-request-wrapper,
body.tcc-gs-product .tcc-gs__express #wc-stripe-payment-request-wrapper,
body.tcc-gs-product .tcc-gs__express .wc-stripe-product-checkout-container,
body.tcc-gs-product .tcc-gs__express .ppc-button-wrapper { display: block !important; }
/* The summary's own button & quantity are replaced by "Create my gift" */
body.tcc-gs-product form.cart .quantity,
body.tcc-gs-product form.cart .single_add_to_cart_button { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; opacity: 0 !important; pointer-events: none !important; }
body.tcc-gs-product form.cart::after { content: "Personalise your cassette below ↓"; display: block; margin-top: 12px; font: 600 14px var(--tcc-font-body, "Jost", sans-serif); color: var(--tcc-sky, #A9B6FF); }
@media (max-width: 1024px) { .tcc-gs__preview { grid-template-columns: 1fr; } .tcc-gs__design-row { display: none; } }
@media (max-width: 600px) { .tcc-gs { padding: 0; } .tcc-gs__photo { max-width: 260px; margin: 0 auto; } }
.tcc-gs [hidden] { display: none !important; }

/* Voice-note recording tip */
.tcc-gs__voice-tip { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(169, 182, 255, .12); border-left: 3px solid var(--g-sky); font-size: 13px; line-height: 1.45; color: var(--g-ink); }
.tcc-gs__voice-tip strong { color: var(--g-sky); font-weight: 600; }
/* "Add 2 more songs" upgrade */
.tcc-gs__upsell { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--g-accent); background: rgba(219, 222, 82, .07); }
.tcc-gs__upsell.is-on { border-style: solid; background: rgba(219, 222, 82, .12); }
.tcc-gs__upsell-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--g-accent); color: var(--g-on-accent); font: 700 14px/1 var(--g-body); }
.tcc-gs__upsell-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tcc-gs__upsell-copy strong { font-size: 15px; font-weight: 600; }
.tcc-gs__upsell-copy span { font-size: 13px; color: var(--g-muted); }
.tcc-gs__upsell .tcc-gs__btn { flex: none; }
@media (max-width: 520px) {
  .tcc-gs__upsell { flex-wrap: wrap; }
  .tcc-gs__upsell .tcc-gs__btn { width: 100%; justify-content: center; }
}

/* "Every gift set comes with" */
.tcc-gs__included { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); }
.tcc-gs__included-title { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g-accent); }
.tcc-gs__included ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tcc-gs__included li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.35; color: #FFFFFF; }
.tcc-gs__included li svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--g-accent); }
.tcc-gs__included--review { margin: 16px 0 4px; background: var(--g-bg-2); border: 1px solid var(--g-line); }
.tcc-gs__included--review ul { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tcc-gs__included--review li { color: var(--g-ink); }

.tcc-gs__date-hint { line-height: 1.4; }
.tcc-gs__date-hint.is-warn { color: var(--g-accent); }

/* ---------------------------------------------------------------------------
   Theme-proofing. Elementor kits and themes style every <button> (solid blue
   blocks, uppercase, shadows), including on hover/focus. These rules keep the
   builder's own look whatever the theme does.
--------------------------------------------------------------------------- */
.tcc-gs button { text-transform: none !important; letter-spacing: normal !important; text-shadow: none !important; box-shadow: none; min-width: 0; line-height: 1.3; }
.tcc-gs button.tcc-gs__head, .tcc-gs button.tcc-gs__head:hover, .tcc-gs button.tcc-gs__head:focus, .tcc-gs button.tcc-gs__head:active {
  background: transparent !important; color: var(--g-ink) !important; border: 0 !important; box-shadow: none !important; padding: 16px 18px !important; margin: 0 !important; font: inherit !important; text-align: left !important; width: 100% !important; border-radius: var(--g-radius) !important; }
.tcc-gs button.tcc-gs__head:hover .tcc-gs__title { color: var(--g-accent-2); }
@media (max-width: 600px) { .tcc-gs button.tcc-gs__head { padding: 14px !important; } }
.tcc-gs button.tcc-gs__chip, .tcc-gs button.tcc-gs__chip:focus, .tcc-gs button.tcc-gs__chip:active { background: var(--g-bg-2) !important; color: var(--g-ink) !important; border: 1px solid var(--g-line-2) !important; box-shadow: none !important; }
.tcc-gs button.tcc-gs__chip:hover { background: var(--g-bg-3) !important; border-color: var(--g-accent) !important; }
.tcc-gs button.tcc-gs__chip.is-on, .tcc-gs button.tcc-gs__chip.is-on:hover, .tcc-gs button.tcc-gs__chip.is-on:focus { background: rgba(219, 222, 82, .14) !important; border-color: var(--g-accent) !important; box-shadow: inset 0 0 0 1px var(--g-accent) !important; }
.tcc-gs button.tcc-gs__opt, .tcc-gs button.tcc-gs__opt:focus, .tcc-gs button.tcc-gs__opt:active { background: var(--g-bg-2) !important; color: var(--g-ink) !important; border: 1px solid var(--g-line) !important; box-shadow: none !important; }
.tcc-gs button.tcc-gs__opt:hover { background: var(--g-bg-3) !important; border-color: var(--g-line-2) !important; }
.tcc-gs button.tcc-gs__opt.is-on, .tcc-gs button.tcc-gs__opt.is-on:hover, .tcc-gs button.tcc-gs__opt.is-on:focus { border-color: var(--g-accent) !important; box-shadow: inset 0 0 0 1px var(--g-accent) !important; }
.tcc-gs button.tcc-gs__icon, .tcc-gs button.tcc-gs__icon:focus, .tcc-gs button.tcc-gs__icon:active { background: transparent !important; color: var(--g-muted) !important; border: 1px solid var(--g-line) !important; box-shadow: none !important; padding: 0 !important; }
.tcc-gs button.tcc-gs__icon:hover:not([disabled]) { color: var(--g-ink) !important; border-color: var(--g-line-2) !important; background: transparent !important; }
.tcc-gs button.tcc-gs__link, .tcc-gs button.tcc-gs__link:hover, .tcc-gs button.tcc-gs__link:focus, .tcc-gs button.tcc-gs__link:active { background: none !important; border: 0 !important; box-shadow: none !important; padding: 4px 0 !important; color: var(--g-sky) !important; font: 500 13px var(--g-body) !important; text-decoration: underline !important; }
.tcc-gs button.tcc-gs__btn, .tcc-gs button.tcc-gs__btn:focus, .tcc-gs button.tcc-gs__btn:active { background: var(--g-accent) !important; color: var(--g-on-accent) !important; border: 1px solid var(--g-accent) !important; box-shadow: none !important; }
.tcc-gs button.tcc-gs__btn:hover { background: var(--g-accent-2) !important; border-color: var(--g-accent-2) !important; color: var(--g-on-accent) !important; }
.tcc-gs button.tcc-gs__btn--ghost, .tcc-gs button.tcc-gs__btn--ghost:focus, .tcc-gs button.tcc-gs__btn--ghost:active { background: transparent !important; color: var(--g-ink) !important; border-color: var(--g-line-2) !important; }
.tcc-gs button.tcc-gs__btn--ghost:hover { background: var(--g-bg-2) !important; border-color: var(--g-accent) !important; color: var(--g-ink) !important; }
.tcc-gs .tcc-gs__banner button.tcc-gs__btn--ghost { color: var(--g-ink) !important; }

/* ---------- Tidy product page ---------- */
.tcc-gs-intro { margin: 14px 0 18px; display: grid; gap: 12px; font-family: var(--tcc-font-body, "Jost", system-ui, sans-serif); }
.tcc-gs-intro ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tcc-gs-intro li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--tcc-cream, #FFFFFF); }
.tcc-gs-intro li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid #DBDE52; border-bottom: 2px solid #DBDE52; transform: rotate(-45deg); }
.tcc-gs-intro a.tcc-gs-intro__cta { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: #DBDE52 !important; color: #13221B !important; font: 600 16px var(--tcc-font-body, "Jost", system-ui, sans-serif); text-decoration: none !important; border: 0; box-shadow: none; }
.tcc-gs-intro a.tcc-gs-intro__cta:hover { background: #E9EB8A !important; color: #13221B !important; }
.tcc-gs-intro__note { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .65); }
details.tcc-gs-more { margin: 8px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
details.tcc-gs-more > summary { list-style: none; cursor: pointer; padding: 14px 28px 14px 0; position: relative; font: 600 15px var(--tcc-font-body, "Jost", system-ui, sans-serif); color: var(--tcc-cream, #FFFFFF); }
details.tcc-gs-more > summary::-webkit-details-marker { display: none; }
details.tcc-gs-more > summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; color: #DBDE52; }
details.tcc-gs-more[open] > summary::after { content: "–"; }
details.tcc-gs-more > summary:focus-visible { outline: 2px solid #DBDE52; outline-offset: 2px; }
.tcc-gs-more__body { padding: 0 0 14px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.tcc-gs-more__body h1, .tcc-gs-more__body h2, .tcc-gs-more__body h3 { font-size: 16px; margin: 14px 0 6px; }
.tcc-gs-more__body ul { margin: 0 0 10px; padding-left: 18px; }
.tcc-gs-more__body li { margin: 0 0 4px; }
html { scroll-padding-top: 90px; }

/* The tidy summary has its own "Start personalising" button, so drop the older hint under the hidden cart form. */
body.tcc-gs-product .summary:has(.tcc-gs-intro) form.cart::after, body.tcc-gs-tidy form.cart::after { content: none; display: none; }
@media (max-width: 600px) { .tcc-gs__preview .tcc-gs__included { display: none; } }
