/* Zelax Custom — /custom/ configurator. Every selector lives under .zc-app. Solution-B look: cream ground, 2px ink borders, hard offset shadows, yellow pills. */

.z-content:has(.zc-app) { max-width: none; padding: 0; }
.z-content:has(.zc-app) > article > h1 { display: none; }
.zc-app { max-width: var(--z-max, 1200px); margin: 0 auto; padding: 44px 24px 80px; }
.zc-app *, .zc-app *::before, .zc-app *::after { box-sizing: border-box; }
.zc-app h1, .zc-app h2, .zc-app h3 { margin: 0; letter-spacing: -.02em; }
.zc-app button { font: inherit; }
.zc-app [hidden] { display: none !important; }

/* hero */
.zc-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-bottom: 44px; }
.zc-hero h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 900; line-height: 1.12; margin-bottom: 16px; }
.zc-hero .zh-stick { display: inline-block; background: var(--z-accent, #FFDE59); border: 2px solid var(--z-ink, #111114); border-radius: 999px; padding: 0 18px; transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--z-ink, #111114); }
.zc-lead { font-size: 19px; font-weight: 600; color: #55555e; margin: 0 0 18px; }
.zc-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zc-facts li { background: #fff; border: 2px solid var(--z-ink, #111114); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700; box-shadow: 3px 3px 0 var(--z-ink, #111114); }
.zc-facts li b { font-weight: 900; }
.zc-hero-art { position: relative; height: 380px; }
.zc-hero-card { position: absolute; width: 230px; height: 290px; background: #fff; border: 2px solid var(--z-ink, #111114); border-radius: 18px; box-shadow: 8px 8px 0 var(--z-ink, #111114); overflow: hidden; }
.zc-hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zc-hc1 { left: 4%; top: 40px; transform: rotate(-8deg); z-index: 1; }
.zc-hc2 { left: 32%; top: 0; transform: rotate(2deg); z-index: 3; }
.zc-hc3 { right: 2%; top: 56px; transform: rotate(9deg); z-index: 2; }
.zc-hero-card .zh-new { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--z-accent, #FFDE59); border: 2px solid var(--z-ink, #111114); border-radius: 999px; padding: 3px 14px; font-weight: 800; font-size: 13.5px; transform: rotate(6deg); box-shadow: 3px 3px 0 var(--z-ink, #111114); }

/* steps */
.zc-step { background: #fff; border: 2px solid var(--z-ink, #111114); border-radius: 18px; box-shadow: 6px 6px 0 var(--z-ink, #111114); margin-bottom: 26px; overflow: hidden; }
.zc-step-head { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 2px solid transparent; }
.zc-step.is-open .zc-step-head { border-bottom-color: var(--z-ink, #111114); }
.zc-step-head h2 { font-size: 22px; font-weight: 900; flex: 1; }
.zc-num { width: 34px; height: 34px; border-radius: 50%; background: var(--z-accent, #FFDE59); border: 2px solid var(--z-ink, #111114); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; box-shadow: 2px 2px 0 var(--z-ink, #111114); flex: none; }
.zc-step.is-done .zc-num { background: #fff; }
.zc-step.is-locked { opacity: .55; }
.zc-step-state { font-size: 13.5px; font-weight: 700; color: #55555e; }
.zc-step-body { display: none; padding: 22px; }
.zc-step.is-open .zc-step-body { display: block; }
.zc-step.is-open .zc-step-body.zc-preview-grid, .zc-step.is-open .zc-step-body.zc-pairs-grid { display: grid; }
.zc-hint { display: block; font-size: 13.5px; color: #55555e; line-height: 1.5; }
.zc-lbl { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.zc-error { color: var(--z-red, #e51c21); font-weight: 700; margin: 12px 0 0; }

/* step 1 */
.zc-signin { background: var(--z-cream, #FFF9E8); border: 2px dashed var(--z-ink, #111114); border-radius: 14px; padding: 22px; margin-bottom: 16px; }
.zc-signin b { font-size: 18px; }
.zc-signin p { margin: 6px 0 14px; color: #55555e; }
.zc-drop { position: relative; border: 2px dashed var(--z-ink, #111114); border-radius: 14px; padding: 40px 22px; text-align: center; cursor: pointer; background: var(--z-cream, #FFF9E8); transition: transform .12s ease, box-shadow .12s ease; }
.zc-drop:hover, .zc-drop.is-over, .zc-drop:focus-visible { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--z-ink, #111114); outline: none; }
.zc-drop.is-disabled { pointer-events: none; opacity: .5; }
.zc-drop-in { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.zc-drop-ic { font-size: 34px; line-height: 1; }
.zc-drop-in b { font-size: 18px; }
.zc-drop-note { font-size: 13.5px; color: #55555e; max-width: 560px; line-height: 1.5; }
.zc-drop-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; background: rgba(255,249,232,.92); border-radius: 12px; font-weight: 800; }
.zc-spin { width: 22px; height: 22px; border: 3px solid var(--z-ink, #111114); border-right-color: var(--z-accent, #FFDE59); border-radius: 50%; animation: zc-spin .8s linear infinite; }
@keyframes zc-spin { to { transform: rotate(360deg); } }
.zc-mine { margin-top: 18px; }
.zc-mine-label { display: block; font-size: 13.5px; font-weight: 700; color: #55555e; margin-bottom: 8px; }
.zc-mine-row { display: flex; gap: 10px; flex-wrap: wrap; }
.zc-mine-row button { border: 2px solid var(--z-ink, #111114); border-radius: 12px; background: #fff; padding: 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 92px; box-shadow: 3px 3px 0 var(--z-ink, #111114); }
.zc-mine-row button img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; display: block; }
.zc-mine-row button span { font-size: 11.5px; font-weight: 700; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* step 2 */
.zc-preview-grid { grid-template-columns: 1.4fr 1fr; gap: 26px; }
.zc-preview-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.zc-ptab, .zc-pill { border: 2px solid var(--z-ink, #111114); border-radius: 999px; background: #fff; padding: 6px 14px; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: 3px 3px 0 var(--z-ink, #111114); }
.zc-ptab.on, .zc-pill.on { background: var(--z-accent, #FFDE59); }
.zc-preview-frame { position: relative; border: 2px solid var(--z-ink, #111114); border-radius: 16px; overflow: hidden; background: #fff; aspect-ratio: 1 / 1; }
.zc-preview-frame img, .zc-preview-frame video { width: 100%; height: 100%; object-fit: contain; display: block; }
.zc-preview-busy { flex-direction: column; gap: 10px; font-weight: 800; color: #55555e; }
.zc-preview-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.55); }
.zc-preview-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.zc-pthumb { border: 2px solid var(--z-ink, #111114); border-radius: 12px; background: #fff; padding: 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 3px 3px 0 var(--z-ink, #111114); }
.zc-pthumb.on { background: var(--z-cream, #FFF9E8); }
.zc-pthumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; border-radius: 8px; background: #fff; }
.zc-pthumb span { font-size: 12.5px; font-weight: 800; }
.zc-preview-note { font-size: 13px; color: #55555e; margin: 12px 0 0; line-height: 1.5; }
.zc-controls { display: flex; flex-direction: column; gap: 18px; }
.zc-art { display: flex; gap: 12px; align-items: center; }
.zc-art img { width: 72px; height: 72px; border-radius: 12px; border: 2px solid var(--z-ink, #111114); object-fit: cover; flex: none; }
.zc-art-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.zc-name { font: inherit; font-weight: 800; border: 2px solid var(--z-ink, #111114); border-radius: 10px; padding: 6px 10px; width: 100%; }
.zc-art-meta { font-size: 12.5px; color: #55555e; }
.zc-quality { font-size: 13.5px; font-weight: 700; border-radius: 10px; padding: 8px 12px; border: 2px solid var(--z-ink, #111114); }
.zc-quality.q-sharp, .zc-quality.q-good { background: #e9f7ea; }
.zc-quality.q-soft { background: #fff3d6; }
.zc-quality.q-low { background: #fde3e3; }
.zc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.zc-ctl input[type="range"] { width: 100%; accent-color: var(--z-ink, #111114); margin: 6px 0 8px; }
.zc-next { align-self: flex-start; }
.zh-btn:disabled, .zc-app button:disabled { opacity: .45; cursor: not-allowed; }

/* step 3 */
.zc-pairs-grid { grid-template-columns: 1.4fr 1fr; gap: 26px; }
.zc-pair-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--z-line, #e6e6ea); }
.zc-pair-row img { width: 64px; height: 64px; border-radius: 10px; border: 2px solid var(--z-ink, #111114); object-fit: contain; background: #fff; flex: none; }
.zc-pair-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.zc-pair-info b { font-size: 17px; }
.zc-pair-info span { font-size: 13.5px; color: #55555e; }
.zc-stepper { display: inline-flex; border: 2px solid var(--z-ink, #111114); border-radius: 999px; overflow: hidden; box-shadow: 3px 3px 0 var(--z-ink, #111114); background: #fff; }
.zc-stepper button { width: 40px; border: 0; background: var(--z-accent, #FFDE59); font-weight: 900; font-size: 18px; cursor: pointer; }
.zc-stepper input { width: 64px; border: 0; text-align: center; font: inherit; font-weight: 800; -moz-appearance: textfield; }
.zc-stepper input::-webkit-outer-spin-button, .zc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zc-min-hint { margin-top: 12px; }
.zc-min-hint.is-short { color: var(--z-red, #e51c21); font-weight: 700; }
.zc-price { background: var(--z-cream, #FFF9E8); border: 2px solid var(--z-ink, #111114); border-radius: 14px; padding: 18px; align-self: start; }
.zc-price-lines { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.zc-price-lines div { display: flex; justify-content: space-between; gap: 10px; }
.zc-price-lines .zc-disc { color: #1f7a2e; font-weight: 800; }
.zc-price-lines .zc-empty { color: #55555e; }
.zc-price-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--z-ink, #111114); margin-top: 12px; padding-top: 12px; font-weight: 900; font-size: 15px; }
.zc-price-total b { font-size: 26px; }
.zc-price-ship { font-size: 12.5px; color: #55555e; margin: 10px 0 14px; line-height: 1.5; }
.zc-price .zc-next { width: 100%; }

/* step 4 */
.zc-confirm { flex-direction: column; gap: 14px; max-width: 720px; }
.zc-step.is-open .zc-step-body.zc-confirm { display: flex; }
.zc-summary { background: var(--z-cream, #FFF9E8); border: 2px solid var(--z-ink, #111114); border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.zc-summary img { width: 96px; height: 96px; border-radius: 12px; border: 2px solid var(--z-ink, #111114); object-fit: contain; background: #fff; }
.zc-summary b { font-size: 18px; display: block; }
.zc-summary span { display: block; font-size: 14px; color: #55555e; }
.zc-summary .zc-summary-total { font-size: 22px; font-weight: 900; color: var(--z-ink, #111114); margin-top: 4px; }
.zc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.zc-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--z-ink, #111114); flex: none; }
.zc-check a { text-decoration: underline; }
.zc-confirm textarea { font: inherit; border: 2px solid var(--z-ink, #111114); border-radius: 12px; padding: 10px 12px; width: 100%; resize: vertical; }
.zc-addcart { align-self: flex-start; font-size: 17px; padding: 14px 32px; }

/* faq */
.zc-faq { margin-top: 56px; }
.zc-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; }
.zc-faq-item { background: #fff; border: 2px solid var(--z-ink, #111114); border-radius: 16px; box-shadow: 5px 5px 0 var(--z-ink, #111114); padding: 20px 22px; }
.zc-faq-item:nth-child(odd) { transform: rotate(-.6deg); }
.zc-faq-item:nth-child(even) { transform: rotate(.5deg); }
.zc-faq-item h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.zc-faq-item p { margin: 0; font-size: 15px; line-height: 1.6; color: #33333a; }
.zc-faq-item a { text-decoration: underline; }

/* responsive */
@media (max-width: 900px) {
  .zc-hero { grid-template-columns: 1fr; gap: 24px; }
  .zc-hero-art { height: 300px; }
  .zc-hero-card { width: 170px; height: 215px; }
  .zc-preview-grid, .zc-pairs-grid { grid-template-columns: 1fr; }
  .zc-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .zc-app { padding: 28px 16px 60px; }
  .zc-step-body { padding: 16px; }
  .zc-step-head { padding: 14px 16px; }
  .zc-step-head h2 { font-size: 19px; }
  .zc-hero-art { height: 240px; }
  .zc-hero-card { width: 132px; height: 168px; }
  .zc-hc2 { left: 30%; }
  .zc-preview-thumbs { gap: 6px; }
  .zc-pair-row { flex-wrap: wrap; }
  .zc-summary { grid-template-columns: 72px 1fr; }
  .zc-summary img { width: 72px; height: 72px; }
}
