/* Customizer — "Create your own neon" (design.php) */

.cz-head { padding: 64px var(--gutter) 44px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; background: radial-gradient(ellipse 40% 90% at 20% 0%, rgba(55,230,255,.08), transparent 70%); }
.crumbs { color: var(--muted-2); font-size: 11px; }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: #fff; }
.cz-head h1 { margin-top: 20px; font-size: clamp(56px, 8.4vw, 120px); line-height: .84; }
.cz-head p { margin-top: 20px; max-width: 620px; font-size: 18px; }
.journey { margin: 0 0 12px; padding: 0; list-style: none; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.journey li { display: flex; align-items: center; gap: 10px; }
.journey .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.journey .now { color: #fff; }
.journey .now .n { background: var(--cyan); border-color: var(--cyan); color: #03161C; box-shadow: 0 0 16px rgba(55,230,255,.6); }
.journey .sep { width: 40px; height: 1px; background: rgba(255,255,255,.2); }

.builder { padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 28px; align-items: start; }
.preview-col { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; }

/* Stage = the element captured for PNG download / WhatsApp image share */
.stage {
  position: relative; height: 640px; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 50px 100px rgba(0,0,0,.5);
  background: #0c0c11;
}
.stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: opacity .35s ease; }
.stage__bg.is-loading { opacity: .35; }
/* dims the room a little so the neon reads like it does in a real room at night */
.stage__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(5,5,9,.38); transition: background .4s; }
.stage.is-off .stage__shade { background: rgba(5,5,9,.1); }
.stage__spill { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: background .5s; }

/* sign, centred in the upper part of the wall */
.sign-wrap { position: absolute; left: 50%; top: 36%; z-index: 2; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.neon-text {
  position: relative; font-weight: bold; text-align: center; white-space: pre; line-height: 1.1;
  transition: color .4s, text-shadow .4s;
}

.stage-ui { position: absolute; z-index: 3; display: flex; gap: 8px; }
.stage-ui--tr { right: 20px; top: 20px; }
.stage-tools { left: 20px; top: 20px; flex-direction: column; gap: 4px; padding: 5px; border-radius: 12px; background: rgba(9,9,14,.65); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tool { width: 38px; height: 38px; border-radius: 9px; border: 0; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, color .25s; }
.tool:hover { background: rgba(255,255,255,.08); color: var(--cyan); }
.tool[aria-pressed="true"] { color: var(--cyan); }
#litToggle[aria-pressed="true"] { color: var(--lime); filter: drop-shadow(0 0 6px rgba(157,255,46,.6)); }
.chip-tag { height: 34px; padding: 0 12px; border-radius: 9px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 8px; font-size: 10px; color: #fff; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

.hd { margin: 0; display: flex; align-items: center; gap: 12px; font: 700 17px var(--f-body); }
.hd--sm { font-size: 15px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.note { font-size: 12px; color: var(--muted-2); }
.req { color: var(--magenta); }
.field-err { margin: 0; color: #FF8FA3; font-size: 13px; }

/* background photos */
.scenes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.scene-btn { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); cursor: pointer; padding: 0; background: #0c0c11; color: var(--paper); transition: .3s; }
.scene-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .3s, transform .5s var(--ease); }
.scene-btn span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 4px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.9)); font: 600 10.5px var(--f-body); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-btn:hover { border-color: rgba(55,230,255,.5); }
.scene-btn:hover img { opacity: 1; transform: scale(1.06); }
.scene-btn.active { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 18px rgba(55,230,255,.3); }
.scene-btn.active img { opacity: 1; }

/* control blocks */
.controls { display: flex; flex-direction: column; gap: 14px; }
.blk { padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.blk .hd .m { color: var(--cyan); }
.lbl { font-size: 13px; color: var(--muted); }
.ta { width: 100%; min-height: 92px; resize: vertical; padding: 16px; border-radius: 12px; background: #0A0A10; border: 1px solid var(--line-2); color: #fff; font: 600 18px var(--f-body); line-height: 1.4; outline: none; transition: border-color .3s, box-shadow .3s; }
.ta--sm { min-height: 80px; font: 500 15px var(--f-body); }
.ta:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(55,230,255,.15); }
.ta.bad { border-color: #FF5C7A; box-shadow: 0 0 0 3px rgba(255,92,122,.15); }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #0A0A10; border: 1px solid rgba(255,255,255,.08); }
.tab { flex-grow: 1; min-height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: 700 14px var(--f-body); cursor: pointer; }
.tab.on { background: var(--raised); color: #fff; box-shadow: inset 0 0 0 1px rgba(55,230,255,.5); }

.opt { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.02); color: var(--paper); font: 600 14px var(--f-body); cursor: pointer; text-align: left; transition: border-color .3s, background .3s, box-shadow .3s; overflow: hidden; }
.opt:hover { border-color: rgba(55,230,255,.5); }
.opt.on, .opt.selected { border-color: var(--cyan); background: rgba(55,230,255,.08); box-shadow: inset 0 0 0 1px var(--cyan), 0 0 22px rgba(55,230,255,.2); }
.opt small { font-weight: 500; font-size: 12px; color: var(--muted); font-family: var(--f-body); }
.opt--c { align-items: center; text-align: center; }

/* fonts */
.font-cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.font-cats .pill { min-height: 36px; padding: 0 12px; font-size: 13px; }
.font-grid { max-height: 380px; overflow-y: auto; padding-right: 6px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; scrollbar-color: #2a2a38 transparent; }
.font-category-title { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--cyan); margin-bottom: 8px; }
.font-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.font-option { height: 58px; }
.font-option .sample { font-size: 20px; line-height: 1.15; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }

/* sliders */
.range { display: flex; flex-direction: column; gap: 10px; }
.range__top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.range__top output { color: #fff; font-weight: 700; font-family: var(--f-mono); font-size: 12px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan) var(--fill, 50%), rgba(255,255,255,.12) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--cyan); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #E6FCFF; border: 0; box-shadow: 0 0 0 4px rgba(55,230,255,.25), 0 0 14px var(--cyan); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #E6FCFF; border: 0; box-shadow: 0 0 0 4px rgba(55,230,255,.25), 0 0 14px var(--cyan); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(55,230,255,.45), 0 0 14px var(--cyan); }

/* colour swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.color-btn { position: relative; width: 44px; height: 44px; border-radius: 10px; border: 2px solid transparent; background: var(--sw); cursor: pointer; transition: transform .25s, box-shadow .25s; box-shadow: 0 0 12px color-mix(in srgb, var(--sw) 45%, transparent); padding: 0; }
.color-btn:hover { transform: translateY(-2px); }
.color-btn.active { border-color: #fff; box-shadow: 0 0 0 3px var(--magenta), 0 0 18px var(--sw); }
.color-btn.active::after { content: ''; position: absolute; right: -7px; top: -7px; width: 18px; height: 18px; border-radius: 50%; background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }


/* quote card */
.quote { position: relative; padding: 30px 26px; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #122028, #0E0E16 55%); border: 1px solid rgba(55,230,255,.35); box-shadow: 0 0 50px rgba(55,230,255,.1); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 104px; }
.summary { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; }
.summary dt { color: var(--muted-2); }
.summary dd { margin: 0; text-align: right; font-weight: 600; word-break: break-word; }
.quote__rule { height: 1px; background: rgba(255,255,255,.1); margin: 4px 0; }
.quote h2 { font-size: 40px; line-height: 1; }
.quote p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.status { min-height: 20px; margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.status.err { color: #FF8FA3; }

/* after-builder */
.next-steps { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.next-steps > div { position: relative; padding: 34px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.next-steps .num { font-size: 56px; }
.next-steps h3 { margin-top: 16px; font-size: 40px; }
.next-steps p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.mini-footer { margin-top: 120px; padding: 40px var(--gutter); border-top: 1px solid var(--line); background: var(--night-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted-2); font-size: 13px; }
.mini-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.mini-footer .lk { font-size: 13px; }

/* sticky mobile CTA */
.cz-cta { display: none; }

@media (max-width: 1279px) {
  .builder { grid-template-columns: minmax(0, 1fr) 400px; }
  .stage { height: 560px; }
  .scenes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Customizer ≤1023: preview sticks on top */
@media (max-width: 1023px) {
  .cz-head { padding-top: 40px; }
  .journey { display: none; }
  .builder { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; }
  .preview-col { top: 84px; z-index: 20; gap: 0; background: var(--night); }
  .stage { height: 340px; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .stage-tools { left: 10px; top: 10px; flex-direction: row; }
  .tool { width: 34px; height: 34px; }
  .stage-ui--tr { right: 10px; top: 10px; }
  .scenes-wrap { padding: 10px var(--gutter); border-bottom: 1px solid var(--line); }
  .scenes-wrap .hd { font-size: 13px; }
  .scenes-wrap .row-between { margin-bottom: 8px !important; }
  .scenes { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .scenes::-webkit-scrollbar { display: none; }
  .scene-btn { flex-shrink: 0; width: 96px; }
  .controls { padding: 16px var(--gutter) 0; }
  .next-steps { grid-template-columns: 1fr; }
  .fab-wa--always { display: none; }
  .cz-cta { display: flex; position: sticky; bottom: 0; z-index: 30; flex-direction: column; gap: 6px; padding: 12px var(--gutter) 16px; background: linear-gradient(180deg, rgba(9,9,14,0), rgba(9,9,14,.95) 30%); }
  .cz-cta .btn { box-shadow: 0 0 28px rgba(37,211,102,.35); }
  .cz-cta span { text-align: center; font-size: 12px; color: var(--muted-2); }
}
@media (max-width: 767px) {
  .preview-col { top: 68px; }
  .stage { height: 280px; }
  .blk { padding: 20px 16px; }
  .font-grid { max-height: 300px; }
  .color-btn { width: 40px; height: 40px; }
  .stage-ui--tr { display: none; }
  .scene-btn { width: 76px; }
  .scenes-wrap .row-between { display: none; }
  .mini-footer { margin-top: 80px; padding-bottom: 30px; }
}
