@font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-Thin.woff2") format("woff2");
      font-weight: 100;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-ExtraLight.woff2") format("woff2");
      font-weight: 200;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-Light.woff2") format("woff2");
      font-weight: 300;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-Regular.woff2") format("woff2");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-Medium.woff2") format("woff2");
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-DemiBold.woff2") format("woff2");
      font-weight: 600;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-Bold.woff2") format("woff2");
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-ExtraBold.woff2") format("woff2");
      font-weight: 800;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "TT Firs Neue";
      src: url("https://cubemoments.at/wp-content/uploads/2026/04/TTFirsNeue-Black.woff2") format("woff2");
      font-weight: 900;
      font-style: normal;
      font-display: swap;
    }

    .wz-photo-constructor {
      --bg: #121212;
      --surface: #1a1a1c;
      --border: #333333;
      --text: #ffffff;
      --muted: #a3a3a3;
      --accent: #ffffff;
      --accent-text: #2a2a2e;
      --radius: 999px;
      --form-control-radius: 14px;
      --pad: clamp(16px, 3vw, 28px);
      --panel-gap: 20px;
      --panel-padding: clamp(16px, 4vw, 30px);
      --preview-max: 498px;
    }

    .wz-photo-constructor, .wz-photo-constructor *, .wz-photo-constructor *::before, .wz-photo-constructor *::after {
      box-sizing: border-box;
    }

    

    .wz-photo-constructor {
      margin: 0;
      min-height: 100vh;
      background: var(--bg);
      color: var(--text);
      font-family: "TT Firs Neue", system-ui, sans-serif;
      font-weight: 400;
      line-height: 1.45;
      overflow-x: clip;
    }

    .mobile-sticky {
      display: none;
    }

    .mobile-only-heading {
      display: none;
    }

    .preview-caption--mobile {
      display: none;
    }

    .app {
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      display: grid;
      /* пропорції 30% : 36% : 30%, відступи між колонками 20px */
      grid-template-columns: minmax(0, 30fr) minmax(0, 36fr) minmax(0, 30fr);
      gap: var(--panel-gap);
      align-items: stretch;
    }

    .panel {
      background: var(--surface);
      border-radius: 12px;
      padding: var(--panel-padding);
      width: 100%;
      min-width: 0;
      justify-self: stretch;
      box-sizing: border-box;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .panel--selection {
      min-height: 0;
    }

    .panel--order #orderList {
      flex: 1 1 auto;
      min-height: 0;
    }

    .panel--order .order-total,
    .panel--order .order-form,
    .panel--order .cta {
      flex-shrink: 0;
    }

    /* Full HD і ширше: контент не розтягується на всю ширину, прев’ю та відступи збільшені */
    @media (min-width: 1920px) {
      .wz-photo-constructor {
        --preview-max: 620px;
        --panel-gap: 28px;
        --panel-padding: 36px;
      }

      .app {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
      }

      .preview-frame {
        border-radius: 24px;
      }

      .section-label {
        font-size: 18px;
      }

      .sub-label {
        font-size: 16px;
      }

      .order-title {
        font-size: 18px;
      }

      .order-list li {
        font-size: 18px;
      }

      .order-total span:first-child,
      .order-total .sum {
        font-size: 18px;
      }

      .order-field label {
        font-size: 15px;
      }

      .wz-contact-heading {
        font-size: 15px;
      }

      .order-input {
        font-size: 16px;
        padding: 14px 16px;
        border-radius: var(--form-control-radius);
      }

      .wz-contact-seg {
        font-size: 16px;
        padding: 12px 10px;
      }

      .order-field--phone .iti input.iti__tel-input[type="tel"] {
        font-size: 16px;
        min-height: 48px;
      }

      .pill {
        font-size: 16px;
        padding: 11px 22px;
      }

      .cta {
        font-size: 18px;
        padding: 16px 24px;
      }
    }

    /* Десктоп: три колонки залишаються за замовчуванням у .app */

    /* Планшет і мобільна: прев’ю → налаштування → замовлення; фіксована панель; сітка кнопок */
    @media (max-width: 1279px) {
      .wz-photo-constructor {
        padding-bottom: 0;
        transition: padding-bottom 0.3s ease;
      }

      .wz-photo-constructor.wz--constructor-started {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
      }

      .mobile-only-heading {
        display: block;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.45);
        margin: 0 0 16px;
      }

      .mobile-sticky {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        pointer-events: none;
        transform: translateY(calc(100% + 20px));
        opacity: 0;
        visibility: hidden;
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease,
          visibility 0.32s;
      }

      .wz-photo-constructor.wz--constructor-started .mobile-sticky {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
      }

      .mobile-sticky__inner {
        pointer-events: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 20px 12px;
        padding: 12px 14px;
        background: rgba(26, 26, 28, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
      }

      .mobile-sticky__total {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
      }

      .mobile-sticky__label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
      }

      .mobile-sticky__sum {
        font-size: 22px;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: -0.02em;
        line-height: 1.1;
      }

      .mobile-sticky__btn {
        flex-shrink: 0;
        min-height: 48px;
        padding: 0 18px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: transparent;
        color: #ffffff;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.04em;
        cursor: pointer;
        touch-action: manipulation;
        transition: background 0.15s ease, border-color 0.15s ease;
      }

      .mobile-sticky__btn:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.55);
      }

      .mobile-sticky__btn:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
      }

      .wz-photo-constructor:not(.wz--constructor-started) .mobile-sticky__inner {
        pointer-events: none;
      }

      .app {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 14px;
        column-gap: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: max(10px, env(safe-area-inset-top, 0px));
        padding-bottom: 8px;
      }

      .preview-wrap {
        order: 1;
        position: static;
        top: auto;
        width: 100%;
        max-width: none;
        margin-inline: 0;
        align-self: stretch;
        transform: none;
      }

      .panel--selection {
        order: 2;
      }

      .panel--order {
        order: 3;
        scroll-margin-top: 16px;
      }

      .wz-order-panel {
        scroll-margin-bottom: 100px;
      }

      .panel {
        height: auto;
        align-self: stretch;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        padding: 18px 16px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
      }

      .panel--order #orderList {
        flex: 0 1 auto;
      }

      .panel--order .order-total {
        display: none;
      }

      .section-label {
        font-size: 17px;
        letter-spacing: 0.06em;
        margin-bottom: 10px;
      }

      .section-label:not(:first-child) {
        margin-top: 22px;
      }

      .sub-label {
        font-size: 14px;
        margin-top: 12px;
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.78);
        font-weight: 500;
      }

      .sub-label--with-hint {
        margin-bottom: 6px;
      }

      .option-hint {
        display: block;
        margin-top: 4px;
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 0.02em;
        text-transform: none;
        line-height: 1.35;
        color: rgba(255, 255, 255, 0.42);
      }

      .btn-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        min-width: 0;
      }

      .btn-row[data-group="flowers"] .pill:nth-child(3) {
        grid-column: 1 / -1;
      }

      .btn-row[data-group="balloons"] .pill:nth-child(5) {
        grid-column: 1 / -1;
      }

      .pill {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 15px;
        touch-action: manipulation;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.25;
      }

      .preview-frame {
        border-radius: 14px;
        width: 100%;
        max-width: min(var(--preview-max), 100%);
        margin-inline: auto;
        transform: none;
      }

      .preview-caption--desktop {
        display: none;
      }

      .preview-caption--mobile {
        display: block;
        text-align: center;
        margin-top: 16px;
        margin-bottom: 0;
        font-size: 12px;
        line-height: 1.45;
        padding: 0 6px;
        color: rgba(255, 255, 255, 0.42);
      }

      .order-title {
        font-size: 17px;
        letter-spacing: 0.08em;
        margin-bottom: 14px;
      }

      .order-list li {
        padding: 10px 0;
        font-size: 15px;
        line-height: 1.35;
      }

      .order-form {
        margin-top: 16px;
        gap: 12px;
      }

      .order-field label {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.65);
      }

      .order-input:not(textarea) {
        min-height: 48px;
        padding: 14px 14px;
      }

      .order-input.order-input--textarea {
        min-height: 100px;
        padding: 14px 14px;
      }

      .order-field--phone .iti input.iti__tel-input[type="tel"] {
        min-height: 48px;
      }

      .order-field--phone .iti {
        border-radius: var(--form-control-radius);
      }

      .order-field--phone .iti__country-list {
        z-index: 120;
      }

      /* Канал зв'язку: 2 колонки × 2 ряди (ті самі padding/gap усередині сегментів) */
      .wz-contact-shell {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 0;
      }

      .wz-contact-seg {
        flex: unset;
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
      }

      .wz-contact-seg:nth-child(2n) {
        border-right: none;
      }

      .wz-contact-seg:nth-child(n + 3) {
        border-bottom: none;
      }

      .cta {
        min-height: 52px;
        margin-top: 4px;
        padding: 14px 20px;
        font-size: 16px;
        touch-action: manipulation;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    .section-label {
      font-size: clamp(15px, 2.8vw, 18px);
      text-transform: uppercase;
      color: #ffffff;
      margin: 0 0 12px;
      font-weight: 300;
    }

    .section-label:not(:first-child) {
      margin-top: 28px;
    }

    .btn-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      min-width: 0;
    }

    .pill {
      appearance: none;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text);
      font-family: inherit;
      font-size: 15px;
      font-weight: 400;
      padding: 10px 20px;
      border-radius: var(--radius);
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, font-weight 0.15s ease;
    }

    .pill:hover:not(.active) {
      background: rgba(255, 255, 255, 0.06);
      border-color: #555;
    }

    .pill.active {
      background: #ffffff;
      color: #2a2a2e;
      border-color: #ffffff;
      font-weight: 500;
    }

    .pill:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 2px;
    }

    .sub-label {
      font-size: clamp(14px, 2.5vw, 16px);
      font-weight: 400;
      color: rgba(255, 255, 255, 0.72);
      margin: 14px 0 8px;
    }

    /* Preview: без sticky — інакше це правило йшло після @media і знову вмикало sticky на мобілці */
    .preview-wrap {
      position: static;
      top: auto;
      min-width: 0;
      width: 100%;
      max-width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-self: center;
      align-self: start;
      transform: none;
    }

    .preview-frame {
      position: relative;
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      aspect-ratio: 1;
      border-radius: 20px;
      overflow: hidden;
      background: var(--bg);
    }

    @media (min-width: 1280px) {
      .preview-wrap {
        position: sticky;
        top: 0;
        align-self: start;
      }

      .preview-frame {
        width: min(var(--preview-max), 100%);
      }
    }

    /* Стек шарів: один канвас, усі зображення по центру одне над одним */
    .preview-stack {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .preview-layer {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      transition: opacity 0.2s ease;
    }

    .preview-layer img {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .preview-layer--z1 {
      z-index: 1;
    }

    .preview-layer--z2 {
      z-index: 2;
      opacity: 0;
    }

    .state-front-black .preview-layer--z2 {
      opacity: 1;
    }

    .preview-layer--z3 {
      z-index: 3;
      opacity: 0;
    }

    .state-sequins-none .preview-layer--seq-silver,
    .state-sequins-none .preview-layer--seq-gold,
    .state-sequins-none .preview-layer--seq-white,
    .state-sequins-none .preview-layer--seq-black {
      opacity: 0;
    }

    .state-sequins-silver .preview-layer--seq-silver {
      opacity: 1;
    }

    .state-sequins-gold .preview-layer--seq-gold {
      opacity: 1;
    }

    .state-sequins-white .preview-layer--seq-white {
      opacity: 1;
    }

    .state-sequins-black .preview-layer--seq-black {
      opacity: 1;
    }

    .preview-layer--z4 {
      z-index: 4;
      opacity: 0;
    }

    .state-balloons-none .preview-layer--bal-silver,
    .state-balloons-none .preview-layer--bal-gold,
    .state-balloons-none .preview-layer--bal-black,
    .state-balloons-none .preview-layer--bal-white {
      opacity: 0;
    }

    .state-balloons-silver .preview-layer--bal-silver {
      opacity: 1;
    }

    .state-balloons-gold .preview-layer--bal-gold {
      opacity: 1;
    }

    .state-balloons-black .preview-layer--bal-black {
      opacity: 1;
    }

    .state-balloons-white .preview-layer--bal-white {
      opacity: 1;
    }

    .preview-layer--z5 {
      z-index: 5;
    }

    .preview-layer--z6 {
      z-index: 6;
      opacity: 0;
    }

    .state-text-black .preview-layer--text-black {
      opacity: 1;
    }

    .state-text-white .preview-layer--text-white {
      opacity: 1;
    }

    /* Order */
    .order-title {
      font-size: clamp(15px, 2.8vw, 18px);
      text-transform: uppercase;
      color: #ffffff;
      margin: 0 0 20px;
      font-weight: 300;
    }

    .order-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .order-list li {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      font-size: clamp(14px, 2.8vw, 18px);
      font-weight: 400;
    }

    .order-list li span:first-child {
      color: var(--muted);
      min-width: 0;
      flex: 1 1 auto;
      padding-right: 8px;
      word-break: break-word;
      hyphens: auto;
    }

    .order-list li span:last-child {
      flex-shrink: 0;
      white-space: nowrap;
    }

    .order-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
      min-width: 0;
    }

    .order-total span:first-child {
      font-size: clamp(15px, 2.8vw, 18px);
      text-transform: uppercase;
      font-weight: 300;
      color: #ffffff;
    }

    .order-total .sum {
      font-size: clamp(15px, 2.8vw, 18px);
      font-weight: 700;
    }

    .order-form {
      margin-top: 20px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      width: 100%;
    }

    .order-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 0;
    }

    .order-field label {
      font-size: 14px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.72);
    }

    .order-field--contact {
      min-width: 0;
    }

    .wz-contact-heading {
      margin: 0 0 6px;
      font-size: 14px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.72);
    }

    /* Один «короб» як у intl-tel-input: та сама рамка, фон і скруглення */
    .wz-contact-shell {
      display: flex;
      width: 100%;
      min-height: 48px;
      border-radius: var(--form-control-radius);
      border: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.28);
      box-sizing: border-box;
      overflow: hidden;
    }

    .wz-contact-seg {
      position: relative;
      flex: 1 1 0;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin: 0;
      padding: 10px 8px;
      cursor: pointer;
      font-family: inherit;
      font-size: clamp(12px, 2.8vw, 15px);
      font-weight: 400;
      color: rgba(255, 255, 255, 0.88);
      border-right: 1px solid var(--border);
      transition: background 0.15s ease, color 0.15s ease;
    }

    .wz-contact-seg:last-of-type {
      border-right: none;
    }

    .wz-contact-seg:hover {
      background: rgba(255, 255, 255, 0.04);
    }

    .wz-contact-seg:has(input:checked) {
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
    }

    .wz-contact-seg__text {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }

    .wz-contact-seg input[type="radio"] {
      appearance: none;
      -webkit-appearance: none;
      margin: 0;
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.38);
      background: transparent;
      cursor: pointer;
      transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    }

    .wz-contact-seg input[type="radio"]:checked {
      border-color: #ffffff;
      background-color: #ffffff;
      box-shadow: inset 0 0 0 4px rgba(18, 18, 18, 0.92);
    }

    .wz-contact-seg input[type="radio"]:focus {
      outline: none;
    }

    .wz-contact-seg:has(input:focus-visible) {
      outline: 2px solid rgba(255, 255, 255, 0.45);
      outline-offset: -2px;
      z-index: 1;
    }

    .order-input {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: var(--form-control-radius);
      background: rgba(0, 0, 0, 0.28);
      color: #ffffff;
      font-family: inherit;
      font-size: 15px;
      font-weight: 400;
      line-height: 1.35;
      box-sizing: border-box;
      transition: border-color 0.15s ease, background 0.15s ease;
    }

    .order-input:not(textarea) {
      min-height: 48px;
    }

    .order-input::placeholder {
      color: rgba(255, 255, 255, 0.35);
    }

    .order-input:hover {
      border-color: #4a4a4e;
    }

    .order-input:focus {
      outline: none;
      border-color: rgba(255, 255, 255, 0.45);
      background: rgba(0, 0, 0, 0.4);
    }

    textarea.order-input {
      min-height: 100px;
      resize: vertical;
      line-height: 1.45;
    }

    .order-input--date {
      color-scheme: dark;
      min-height: 48px;
      border-radius: var(--form-control-radius);
      appearance: none;
      -webkit-appearance: none;
    }

    .order-input--date::-webkit-calendar-picker-indicator {
      filter: invert(1);
      opacity: 0.55;
    }

    /* intl-tel-input: не перекривати padding з бібліотеки (прапор + код країни); лише кольори й рамка */
    .order-field--phone .iti {
      position: relative;
      width: 100%;
      display: inline-block;
      vertical-align: top;
      border-radius: var(--form-control-radius);
      border: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.28);
      overflow: hidden;
    }

    .order-field--phone .iti__flag-container {
      border-right: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.35);
    }

    .order-field--phone .iti__selected-flag {
      padding: 0 10px 0 12px;
    }

    .order-field--phone .iti__selected-flag:hover,
    .order-field--phone .iti__selected-flag:focus {
      background: rgba(255, 255, 255, 0.06);
    }

    .order-field--phone .iti__arrow {
      border-top-color: rgba(255, 255, 255, 0.55);
    }

    .order-field--phone .iti__country-list {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--form-control-radius);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
      max-height: 220px;
      z-index: 50;
    }

    .order-field--phone .iti__country-list .iti__country {
      color: #fff;
    }

    .order-field--phone .iti__country-list .iti__country.iti__highlight {
      background: rgba(255, 255, 255, 0.08);
    }

    .order-field--phone .iti__country-name,
    .order-field--phone .iti__dial-code {
      color: rgba(255, 255, 255, 0.88);
    }

    .order-field--phone .iti__divider {
      border-color: var(--border);
    }

    .order-field--phone .iti input.iti__tel-input[type="tel"] {
      margin: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      color: #ffffff;
      font-family: inherit;
      font-size: 15px;
      font-weight: 400;
      line-height: 1.35;
      min-height: 48px;
      box-sizing: border-box;
    }

    .order-field--phone .iti input.iti__tel-input[type="tel"]:focus {
      outline: none;
    }

    .cta {
      width: 100%;
      max-width: 100%;
      margin-top: 16px;
      padding: clamp(12px, 2.2vw, 15px) clamp(14px, 3vw, 20px);
      border: 1px solid #ffffff;
      border-radius: var(--radius);
      background: #ffffff;
      color: #2a2a2e;
      font-family: inherit;
      font-size: clamp(14px, 2.8vw, 18px);
      font-weight: 500;
      box-sizing: border-box;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .cta:hover {
      background: transparent;
      color: #ffffff;
      border-color: #ffffff;
      box-shadow: none;
    }

    .cta:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 3px;
    }

    .preview-caption {
      text-align: center;
      margin-top: 12px;
      font-size: 14px;
      font-weight: 400;
      color: var(--muted);
    }

    /* Вузький екран: після базових правил, щоб перекрити відступи секцій */
    @media (max-width: 480px) {
      .app {
        row-gap: 12px;
      }

      .wz-photo-constructor {
        --panel-padding: 16px;
      }

      .section-label:not(:first-child) {
        margin-top: 22px;
      }
    }

    /* Скруглення полів форми на вузькому екрані (після базового .order-input, інакше перекривається) */
    @media (max-width: 1279px) {
      .order-input {
        border-radius: var(--form-control-radius);
      }

      .order-field--phone .iti {
        border-radius: var(--form-control-radius);
      }
    }

    @media screen and (max-width: 1279px) {
      html body .wz-photo-constructor .app > main.preview-wrap,
      html body .wz-photo-constructor .app main.preview-wrap,
      .wz-photo-constructor .preview-wrap {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        inset: auto !important;
        transform: none !important;
        -webkit-transform: none !important;
        will-change: auto !important;
      }

      html body .wz-photo-constructor .wz-preview.preview-frame,
      .wz-photo-constructor .preview-frame.wz-preview {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
      }
    }

    /* Вища специфічність: скруглення полів форми не збиваються стилями теми */
    .wz-photo-constructor .panel--order .order-input,
    .wz-photo-constructor .panel--order textarea.order-input,
    .wz-photo-constructor .panel--order input.order-input--date {
      border-radius: var(--form-control-radius);
    }

    .wz-photo-constructor .panel--order .order-field--phone .iti {
      border-radius: var(--form-control-radius);
      overflow: hidden;
    }

    .wz-photo-constructor .panel--order .order-field--phone .iti input.iti__tel-input[type="tel"] {
      border-radius: 0;
    }

    .wz-photo-constructor .panel--order .wz-contact-shell {
      border-radius: var(--form-control-radius);
      border: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.28);
    }

    .wz-photo-constructor .panel--order .order-input:not(textarea) {
      min-height: 48px;
    }

    .wz-photo-constructor .panel--order .order-field--phone .iti__country-list {
      border-radius: var(--form-control-radius);
    }

    .wz-photo-constructor .wz-pc-success {
      position: fixed;
      inset: 0;
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
      background: rgba(18, 18, 18, 0.72);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .wz-photo-constructor .wz-pc-success.wz-pc-success--visible {
      opacity: 1;
      visibility: visible;
    }

    .wz-photo-constructor .wz-pc-success__dialog {
      width: 100%;
      max-width: 340px;
      padding: 28px 24px 22px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
      transform: translateY(12px) scale(0.98);
      opacity: 0;
      transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease;
    }

    .wz-photo-constructor .wz-pc-success.wz-pc-success--visible .wz-pc-success__dialog {
      transform: translateY(0) scale(1);
      opacity: 1;
    }

    .wz-photo-constructor .wz-pc-success__title {
      margin: 0 0 12px;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.25;
      color: var(--text);
      text-align: center;
    }

    .wz-photo-constructor .wz-pc-success__text {
      margin: 0 0 22px;
      font-size: 15px;
      font-weight: 400;
      line-height: 1.45;
      color: var(--muted);
      text-align: center;
    }

    .wz-photo-constructor .wz-pc-success__btn {
      min-height: 48px;
      width: 100%;
      padding: 0 18px;
      border-radius: var(--radius);
      border: 1px solid rgba(255, 255, 255, 0.35);
      background: var(--accent);
      color: var(--accent-text);
      font-family: inherit;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.04em;
      cursor: pointer;
      touch-action: manipulation;
      transition: opacity 0.15s ease, border-color 0.15s ease;
    }

    .wz-photo-constructor .wz-pc-success__btn:hover {
      opacity: 0.92;
    }

    .wz-photo-constructor .wz-pc-success__btn:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }
