.content-configurator { max-width: var(--container, 1200px); }
.aj-configurator { width: 100%; max-width: none; margin: 0; padding: 0; }
.aj-configurator__intro { max-width: 760px; margin-bottom: 50px; }
.aj-configurator__intro h2 { margin-bottom: 18px; }
.aj-configurator__intro > p:last-child { color: var(--muted, #66736c); font-size: 1.05rem; }
.aj-configurator__layout { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(340px, 370px); align-items: start; gap: clamp(38px, 4.5vw, 55px); }
.aj-configurator__steps { min-width: 0; }
.aj-configurator fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.aj-step { padding: 0 0 55px !important; }
.aj-step + .aj-step { padding-top: 50px !important; border-top: 1px solid var(--line, #ddd); }
.aj-step legend { display: flex; width: 100%; align-items: center; gap: 15px; margin-bottom: 28px; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 600; }
.aj-step legend > span { display: inline-grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--green, #1f4b3a); color: #fff; font-family: Inter, sans-serif; font-size: .78rem; }
.aj-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.aj-choice { position: relative; display: grid; min-width: 0; grid-template-columns: 150px 1fr; grid-template-rows: 1fr 1fr; align-items: end; overflow: hidden; border: 1px solid var(--line, #ddd); background: #fff; cursor: pointer; }
.aj-choice input { position: absolute; opacity: 0; }
.aj-choice img { width: 150px; height: 150px; grid-row: 1 / 3; object-fit: contain; padding: 8px; background: #fff; transform: rotate(90deg); }
.aj-choice:has(input[value="atlapo"]) img { transform: rotate(-90deg); }
.aj-choice strong { align-self: end; padding: 12px 12px 0; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: 1rem; line-height: 1.2; }
.aj-choice small { align-self: start; padding: 3px 12px 10px; color: var(--burgundy, #7a2e35); font-weight: 750; }
.aj-choice:has(input:checked) { border-color: var(--green, #1f4b3a); box-shadow: inset 0 0 0 2px var(--green, #1f4b3a); }
.aj-title-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.aj-title-grid label { position: relative; cursor: pointer; }
.aj-title-grid input { position: absolute; opacity: 0; }
.aj-title-grid span { display: flex; min-height: 54px; align-items: center; justify-content: center; padding: 9px 10px; overflow-wrap: anywhere; border: 1px solid var(--line, #ddd); background: #fff; font-size: .82rem; font-weight: 700; line-height: 1.25; text-align: center; }
.aj-title-grid input:checked + span { border-color: var(--green, #1f4b3a); background: var(--green, #1f4b3a); color: #fff; }
.aj-title-grid.is-disabled, .aj-custom-text.is-disabled { opacity: .45; pointer-events: none; }
.aj-custom-text { position: relative; display: block; margin-top: 28px; }
.aj-custom-text > span, .aj-fields label > span { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 800; }
.aj-custom-text small { color: var(--burgundy, #7a2e35); }
.aj-custom-text input, .aj-fields input, .aj-fields textarea { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--line, #ddd); border-radius: 0; background: #fff; color: inherit; font: inherit; }
.aj-fields label { min-width: 0; }
.aj-fields input { min-width: 0; max-width: 100%; }
.aj-date-picker { position: relative; display: block !important; margin: 0 !important; font-size: inherit !important; font-weight: inherit !important; }
.aj-date-picker input { padding-right: 52px; }
.aj-date-picker__toggle { position: absolute; z-index: 2; top: 0; right: 0; display: grid; width: 50px; height: 52px; place-items: center; padding: 0; border: 0; border-left: 1px solid var(--line, #ddd); background: transparent; color: var(--green, #29a000); cursor: pointer; }
.aj-date-picker__toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.aj-date-calendar { position: absolute; z-index: 20; top: calc(100% + 7px); left: 0; display: block; width: min(330px, calc(100vw - 48px)); padding: 14px; border: 1px solid var(--line, #ddd); background: #fff; box-shadow: 0 14px 35px rgba(33, 40, 46, .2); }
.aj-date-calendar[hidden] { display: none; }
.aj-date-calendar__header { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; margin-bottom: 10px; }
.aj-date-calendar__header strong { text-align: center; font-size: .9rem; }
.aj-date-calendar__header button { width: 36px; height: 36px; padding: 0; border: 0; background: var(--cream, #eee); color: inherit; font-size: 1.4rem; cursor: pointer; }
.aj-date-calendar__weekdays, .aj-date-calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.aj-date-calendar__weekdays b { padding: 5px 0; color: var(--muted, #66736c); font-size: .68rem; text-align: center; }
.aj-date-calendar__days i, .aj-date-calendar__days button { aspect-ratio: 1; }
.aj-date-calendar__days button { display: grid; min-height: 0; place-items: center; padding: 0; border: 0; background: transparent; color: inherit; font: 700 .78rem/1 Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.aj-date-calendar__days button:hover:not(:disabled), .aj-date-calendar__days button.is-selected { background: var(--green, #29a000); color: #fff; }
.aj-date-calendar__days button:disabled { color: #b6b9b7; cursor: not-allowed; }
.aj-custom-text em { position: absolute; right: 12px; bottom: 13px; color: var(--muted, #66736c); font-size: .72rem; font-style: normal; }
.aj-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aj-fields textarea { min-height: 120px; resize: vertical; }
.aj-field-note { display: block; margin-top: 7px; color: var(--muted, #66736c); font-size: .72rem; font-weight: 500; line-height: 1.4; }
.aj-field-note a { color: inherit; font-weight: 750; }
.aj-summary { position: sticky; top: 22px; padding: 26px; border: 1px solid var(--line, #ddd); background: var(--cream, #f7f3e9); box-shadow: 0 18px 50px rgba(31, 45, 37, .1); }
.admin-bar .aj-summary { top: 54px; }
.aj-summary__preview { margin-bottom: 24px; padding: 15px; background: #fff; }
.aj-summary__preview img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transform: rotate(90deg); }
.aj-summary__preview img.is-atlapo { transform: rotate(-90deg); }
.aj-summary dl { margin: 0; }
.aj-summary dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line, #ddd); }
.aj-summary dt { color: var(--muted, #66736c); font-size: .75rem; }
.aj-summary dd { margin: 0; font-size: .8rem; font-weight: 750; text-align: right; }
.aj-summary__total { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 0; }
.aj-summary__total span { font-size: .82rem; font-weight: 800; }
.aj-summary__total strong { color: var(--burgundy, #7a2e35); font-family: Georgia, serif; font-size: 1.8rem; }
.aj-submit { width: 100%; }
.aj-summary__note { margin: 13px 0 0; color: var(--muted, #66736c); font-size: .68rem; line-height: 1.4; text-align: center; }

@media (max-width: 950px) {
  .aj-configurator__layout { grid-template-columns: 1fr; }
  .aj-summary { position: relative; top: auto; width: min(100%, 640px); }
}
@media (max-width: 650px) {
  .aj-choice-grid, .aj-fields { grid-template-columns: 1fr; }
  .aj-title-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aj-step legend { font-size: 1.45rem; }
  .aj-fields input, .aj-fields textarea { width: 100%; max-width: 100%; font-size: 16px; }
}
