.has-yc-dialog { overflow: hidden; }
.yc-customizer {
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  color: #2d2630;
  background: #fff;
  box-shadow: 0 30px 90px rgb(34 19 36 / 30%); width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 12px;
}
.yc-customizer::backdrop {
  background: rgb(25 15 27 / 64%);
  backdrop-filter: blur(7px);
}
.yc-customizer[open] { animation: yc-dialog-in .24s ease-out both; }
@keyframes yc-dialog-in {
  from { transform: translateY(18px) scale(.985); opacity: 0; }
}
.yc-customizer-shell {
  position: relative; padding: clamp(18px, 3vw, 28px); border-top: 3px solid #7a2b81; border-image: none;
}
.yc-customizer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #e4dfe5;
  border-radius: 50%;
  color: #4a404c;
  background: #fff;
  font: 300 26px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.yc-customizer-close:is(:hover,:focus-visible) { background: #f5f1f6; transform: rotate(4deg); }
.yc-customizer-close:focus-visible { outline: 2px solid #762780; outline-offset: 3px; }
.yc-customizer-intro { padding-right: 54px; }
.yc-customizer-kicker {
  margin: 0 0 8px;
  color: #762780;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.yc-customizer-intro h2 {
  margin: 0;
  color: #352938;
  font-weight: 600;
  letter-spacing: -.035em; max-width: none; font-size: 20px; line-height: 1.2;
}
.yc-customizer-intro > p:last-child {
  margin: 12px 0 0;
  color: #706772;
  font-weight: 550; margin-top: 5px; white-space: normal; font-size: 14px;
}
.yc-customizer-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none; margin: 17px 0 20px;
}
.yc-customizer-progress[hidden] { display: none; }
.yc-customizer-progress::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 16.666%;
  left: 16.666%;
  height: 1px;
  background: #e5dee6;
}
.yc-customizer-progress li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 32px auto;
  justify-items: center;
  gap: 6px;
  color: #8a818c;
  font-size: 12px;
  font-weight: 600;
}
.yc-customizer-progress li span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #ded5df;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
}
.yc-customizer-progress li[aria-current='step'],
.yc-customizer-progress li.is-complete { color: #6f2b76; }
.yc-customizer-progress li[aria-current='step'] span,
.yc-customizer-progress li.is-complete span {
  border-color: #762780;
  color: #fff;
  background: #762780;
}
.yc-customizer-form {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.yc-customizer-step[hidden],
.yc-customizer-form[hidden],
.yc-customizer-actions button[hidden] { display: none !important; }
.yc-customizer-step { animation: yc-step-in .22s ease-out both; }
@keyframes yc-step-in {
  from { transform: translateX(12px); opacity: 0; }
}
.yc-customizer-step-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px; margin-bottom: 12px;
}
.yc-customizer-step-heading > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  color: #762780;
  background: #f1eaf2;
  font-size: 12px;
  font-weight: 700;
}
.yc-customizer-step-heading h3 {
  margin: 0;
  color: #332a35;
  font-size: 20px;
  line-height: 1.25;
}
.yc-customizer-step-heading p {
  margin: 5px 0 0;
  color: #756d77;
  font-size: 13px;
}
.yc-customizer-field {
  display: grid;
  gap: 8px;
  color: #4c424e;
  font-size: 13px;
  font-weight: 600;
}
.yc-customizer :is(.yc-customizer-field, .yc-placeholder-field) input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 13px;
  border: 1px solid #d9d2da;
  border-radius: 10px;
  color: #312a33;
  background: #fff;
  font: inherit;
  font-size: 15px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.yc-customizer :is(.yc-customizer-field, .yc-placeholder-field) input:focus {
  border-color: #813589;
  box-shadow: 0 0 0 4px rgb(118 39 128 / 10%);
}
.yc-customizer-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0; display: block; margin: 12px 0 0;
}
.yc-customizer-options legend {
  grid-column: 1 / -1;
  color: #4c424e;
  font-size: 13px;
  font-weight: 600; margin-bottom: 8px;
}
.yc-customizer-options label { position: relative; cursor: pointer; }
.yc-customizer-options .wpcf7-form-control-wrap,
.yc-customizer-options :is(.wpcf7-radio, .wpcf7-checkbox) { display: block; }
.yc-customizer-options .wpcf7-list-item { display: inline-block; margin: 0; }
.yc-customizer-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.yc-customizer-options label > span {
  display: grid;
  box-sizing: border-box;
  place-items: center;
  border: 1px solid #ddd6de;
  color: #554b57;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease; min-height: 40px; padding: 8px 12px; border-radius: 7px;
}
.yc-customizer-options input:checked + span {
  border-color: #762780;
  color: #64236b;
  background: #f4edf5;
  box-shadow: inset 0 0 0 1px #762780;
}
.yc-customizer-options input:focus-visible + span { outline: 2px solid #762780; outline-offset: 3px; }
.yc-customizer-options label:hover > span { transform: translateY(-1px); border-color: #bda9bf; }
.yc-customizer-options .wpcf7-list-item-label { display: grid; box-sizing: border-box; place-items: center; border: 1px solid #ddd6de; background: #fff; text-align: center; min-height: 40px; padding: 8px 12px; border-radius: 7px; }
.yc-customizer-options input:checked + .wpcf7-list-item-label { border-color: #762780; color: #64236b; background: #f4edf5; }
.yc-customizer-contact-grid > p,
.yc-customizer-actions > p { display: contents; }
.yc-customizer-contact-grid > br,
.yc-customizer-contact-grid > p > br,
.yc-customizer-actions br { display: none; }
.yc-customizer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.yc-customizer-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #ece7ed; margin-top: 18px; padding-top: 14px;
}
.yc-customizer-actions .wpcf7-spinner { display: none; }
.yc-customizer-form.submitting .yc-customizer-actions .wpcf7-spinner { display: inline-block; margin-inline: 10px 0; }
.yc-customizer-actions .yc-customizer-submit[hidden] { display: none !important; }
.yc-customizer-actions .yc-customizer-submit input[type="submit"] { width: auto; min-height: 44px; margin: 0; border-radius: 999px; background: #762780; color: #fff; }
.yc-customizer-form .yc-customizer-actions button {
  min-height: 44px;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid #762780;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.yc-customizer-form .yc-customizer-actions .yc-customizer-back { margin-right: auto; color: #5c4f5e; background: #fff; border-color: #d8cfd9; }
.yc-customizer-actions .yc-customizer-next,
.yc-customizer-actions button.yc-customizer-submit { color: #fff; background: #762780; }
.yc-customizer-actions span.yc-customizer-submit { display: inline-flex; align-items: center; background: transparent; }
.yc-customizer-form .yc-customizer-actions .yc-customizer-skip { color: #762780; background: transparent; border: 0; padding-inline: 4px; text-decoration: underline; text-underline-offset: 3px; }
.yc-customizer-form .yc-customizer-actions .yc-customizer-skip:is(:hover,:focus-visible) { font-weight: 700; background: transparent; box-shadow: none; }
.yc-customizer-actions button:not(.yc-customizer-skip):is(:hover,:focus-visible) { box-shadow: 0 7px 18px rgb(74 28 80 / 18%); }
.yc-customizer-summary {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-block: 8px;
  color: #382f3a;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.yc-customizer-form .yc-customizer-summary p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; }
.yc-customizer-form .yc-customizer-summary p:last-child { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yc-customizer-summary p > span { min-width: 0; }
.yc-customizer-summary strong { font-weight: 600; }
.yc-customizer-form .yc-customizer-privacy { margin: 24px 0 0; color: #766d78; font-size: 12px; line-height: 1.55; }
.yc-customizer-privacy a { color: #6d2774; }
.yc-policy-popup {
  width: min(760px, calc(100% - 32px));
  max-height: min(780px, calc(100dvh - 40px));
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  color: #332b35;
  background: #fff;
  box-shadow: 0 32px 90px rgb(24 14 26 / 38%);
}
.yc-policy-popup::backdrop {
  background: rgb(24 14 26 / 42%);
  backdrop-filter: blur(3px);
}
.yc-policy-popup-shell { position: relative; padding: clamp(28px, 5vw, 52px); }
.yc-customizer-options :is(.wpcf7-radio, .wpcf7-checkbox) { display: flex; flex-wrap: wrap; gap: 8px; }
.yc-customizer-form .hidden-fields-container { display: none; }
.yc-customizer-form p { margin-block: 0 12px; }
.yc-customizer-form .yc-customizer-step > p:empty { display: none; }
.yc-customizer-form fieldset { margin-block: 12px; }

@media (max-width: 520px) {
  .yc-customizer-contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .yc-customizer-progress { gap: 4px; }
  .yc-customizer-progress li { font-size: 11px; }
  .yc-customizer-options :is(.wpcf7-radio, .wpcf7-checkbox) { gap: 6px; }
}
.yc-policy-popup-content.yc-policy,
.yc-policy-popup-content .yc-policy {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
.yc-policy-popup-content h1 {
  max-width: 20ch;
  margin: 0 48px 28px 0;
  color: #432449;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}
.yc-policy-popup-content h2 { margin: 28px 0 8px; color: #4d3450; font-size: 19px; }
.yc-policy-popup-content p { margin: 0; color: #5f5661; font-size: 14px; line-height: 1.7; }
.yc-policy-popup-content a { color: #762780; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .yc-customizer {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }
  .yc-customizer-shell { padding: 18px 14px 14px; }
  .yc-customizer-close { top: 14px; right: 14px; }
  .yc-customizer-intro { padding-right: 46px; }
  .yc-customizer-kicker { margin-bottom: 5px; font-size: 9px; }
  .yc-customizer-intro h2 { font-size: 20px; line-height: 1.25; }
  .yc-customizer-intro > p:last-child { margin-top: 7px; font-size: 13px; }
  .yc-customizer-progress { margin: 15px 0 18px; }
  .yc-customizer-progress::before { top: 14px; }
  .yc-customizer-progress li { font-size: 0; gap: 0; }
  .yc-customizer-progress li span { width: 28px; height: 28px; font-size: 11px; }
  .yc-customizer-step-heading { gap: 10px; margin-bottom: 14px; }
  .yc-customizer-step-heading > span { width: 30px; height: 30px; border-radius: 9px; font-size: 10px; }
  .yc-customizer-step-heading h3 { font-size: 20px; }
  .yc-customizer-step-heading p { margin-top: 2px; font-size: 11px; }
  .yc-customizer-field { gap: 5px; font-size: 11px; }
  .yc-customizer :is(.yc-customizer-field, .yc-placeholder-field) input { min-height: 41px; padding: 7px 10px; font-size: 13px; }
  .yc-customizer-contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .yc-customizer-options { gap: 8px; }
  .yc-customizer-options { margin-top: 14px; }
  .yc-customizer-options .wpcf7-list-item-label { min-height: 40px; padding: 7px 5px; font-size: 11px; }
  .yc-customizer-actions { margin-top: 16px; padding-top: 12px; }
  .yc-customizer-actions button { min-height: 39px; padding: 8px 13px; font-size: 11px; }
  .yc-customizer-privacy { margin-top: 12px; font-size: 10px; }
  .yc-policy-popup {
    width: 100%;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
  }
  .yc-policy-popup-shell { padding: 24px 18px; }
  .yc-policy-popup-content h1 { font-size: 28px; }
  .yc-policy-popup-content h2 { margin-top: 22px; font-size: 17px; }
  .yc-policy-popup-content p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .yc-customizer[open], .yc-customizer-step { animation: none; }
}

@media (max-width: 600px) {
 .yc-customizer-shell { padding: 16px 14px; }
 .yc-customizer-progress { margin: 12px 0; }
 .yc-customizer-step-heading { margin-bottom: 10px; }
 .yc-customizer-form .yc-customizer-options { margin: 10px 0; }
 .yc-customizer-form .yc-customizer-options { padding: 0; }
 .yc-customizer-options legend { margin: 0 0 6px; padding: 0; }
 .yc-customizer-options > p { margin: 0; padding: 0; }
 .yc-customizer-options > br, .yc-customizer-options > p > br { display: none; }
 .yc-customizer-options .wpcf7-form-control-wrap { padding: 0; min-height: 0; }
 .yc-customizer-options .wpcf7-checkbox { padding: 0; min-height: 0; }
 .yc-customizer-options .wpcf7-list-item { padding: 0; min-height: 0; }
 .yc-customizer-options + .yc-customizer-options { margin-top: 14px; }
 .yc-customizer-options .wpcf7-checkbox { display: flex; flex-wrap: nowrap; gap: 5px; }
 .yc-customizer-options .wpcf7-list-item { flex: 1; min-width: 0; margin: 0; }
 .yc-customizer-options .wpcf7-list-item label { display: block; }
 .yc-customizer-options .wpcf7-list-item-label { min-height: 40px; padding: 7px 4px; font-size: 11px; white-space: nowrap; }
 .yc-customizer-form p { margin-block: 0 8px; }
 .yc-customizer-actions { margin-top: 12px; padding-top: 10px; }
}

.yc-customizer-summary { display: grid; gap: 10px; }
.yc-customizer-summary { grid-template-columns: 1fr; }
.yc-customizer-summary > .yc-summary-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0; border: 0; background: transparent; }
.yc-customizer-summary > .yc-summary-row-course { grid-template-columns: repeat(3,minmax(0,1fr)); }
.yc-summary-card { padding: 12px; border: 1px solid rgba(122,43,129,.12); border-radius: 8px; background: #fff; font-size: 13px; overflow-wrap: anywhere; }
.yc-summary-card strong { display: block; margin-bottom: 4px; color: #655c67; font-size: 11px; }
@media(max-width:600px) { .yc-customizer-summary { grid-template-columns: 1fr; gap: 8px; } .yc-customizer-summary > .yc-summary-row { gap: 8px; } .yc-customizer-summary > .yc-summary-row-course { display: none; } }
.yc-customizer-form .wpcf7-response-output:empty { display: none; }
.yc-privacy-error { margin: 6px 0 0; color: #9b253d; font-size: 12px; line-height: 1.5; }
