/* =========================================================
   Alchemy Beauty — Lead Wizard
   Brand: Warm terracotta-copper / dusty rose / Prata + Josefin Sans
   Tone: Elevated Austin medical spa — refined, warm, editorial

   SCOPING STRATEGY
   Every rule that touches an element the theme or Elementor kit can
   override (buttons, inputs, labels, headings, links, images, abbr, p)
   is prefixed with BOTH:
     .alw-wizard[data-alw-wizard]                    (local preview, 0,2,0+)
   This beats the kit's highest specificity (0,3,1) on interactive states
   when we also include the element type.
   ========================================================= */

:root {
    --alw-bg:        #F8F4F3;
    --alw-card:      #F8F4F3;
    --alw-card-sel:  #E0D3CC;
    --alw-field:     #ffffff;
    --alw-ink:       #333333;
    --alw-body:      #333333;
    --alw-muted:     #6B5B57;
    --alw-primary:   #C6A095;
    --alw-primary-h: #B88E83;
    --alw-copper:    #b2734f;
    --alw-copper-l:  #D4956E;
    --alw-deep:      #592416;
    --alw-deep-l:    rgba(89,36,22,0.12);
    --alw-back-btn:  #EDE8E5;
    --alw-border:    #E8DDD9;
    --alw-shadow-w:  rgba(178,115,79,0.10);
    --alw-shadow-sel:rgba(178,115,79,0.18);
    --alw-error:     #c0392b;
}

/* =========================================================
   LOCAL PREVIEW UTILITIES
   ========================================================= */
body.alw-local-get-started-preview .entry-title,
body.alw-local-get-started-preview .wp-block-post-title {
    display: none;
}

body.alw-local-get-started-preview .wp-block-spacer {
    display: none;
}

/* =========================================================
   LOCAL GET STARTED HEADER PREVIEW
   ========================================================= */
.alw-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(250, 247, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 221, 217, 0.9);
    margin-bottom: 12px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.alw-site-header__promo {
    background: var(--alw-deep);
    color: #faf7f5;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    padding: 11px 16px 10px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
}

.alw-site-header__bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    width: min(1440px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 18px 24px;
}

.alw-site-header__brand img {
    display: block;
    width: 165px;
    max-width: 100%;
    height: auto;
}

.alw-site-header__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.alw-site-header__nav a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--alw-body);
    transition: color 180ms ease;
}

.alw-site-header__nav a:hover,
.alw-site-header__nav a:focus-visible {
    color: var(--alw-copper);
}

.alw-site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.alw-site-header__button,
.alw-site-header__cart {
    text-decoration: none;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.alw-site-header__button {
    padding: 14px 18px 12px;
}

.alw-site-header__button--primary {
    background: var(--alw-primary);
    color: #fff;
}

.alw-site-header__button--primary:hover,
.alw-site-header__button--primary:focus-visible {
    background: var(--alw-primary-h);
    transform: translateY(-1px);
}

.alw-site-header__button--secondary {
    border-color: var(--alw-border);
    color: var(--alw-body);
    background: rgba(255, 255, 255, 0.6);
}

.alw-site-header__button--secondary:hover,
.alw-site-header__button--secondary:focus-visible {
    border-color: var(--alw-copper-l);
    color: var(--alw-copper);
}

.alw-site-header__cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0 12px;
    color: var(--alw-body);
}

.alw-site-header__cart-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    position: relative;
}

.alw-site-header__cart-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: -6px;
    height: 7px;
    border: 1.5px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

/* =========================================================
   THEME / ELEMENTOR KIT RESET OVERRIDES
   All rules that can be clobbered by the theme or kit go here,
   scoped with both prefixes so they win on live AND local.
   ========================================================= */

/* --- Paragraphs --- */
.alw-wizard[data-alw-wizard] p {
    margin-block-start: 0;
    margin-block-end: 0;
    font-family: "Josefin Sans", sans-serif;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
}

/* --- Headings --- */
.alw-wizard[data-alw-wizard] h1,
.alw-wizard[data-alw-wizard] h2,
.alw-wizard[data-alw-wizard] h3,
.alw-wizard[data-alw-wizard] h4,
.alw-wizard[data-alw-wizard] h5,
.alw-wizard[data-alw-wizard] h6 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    line-height: 1.15;
    margin-block-start: 0;
    margin-block-end: 0;
    color: var(--alw-ink);
    letter-spacing: normal;
    text-transform: none;
    font-size: inherit;
}

/* --- Links --- */
.alw-wizard[data-alw-wizard] a,
.alw-wizard[data-alw-wizard] a:hover {
    color: inherit;
    text-decoration: none;
}

/* --- Labels --- */
.alw-wizard[data-alw-wizard] label {
    display: block;
    font-family: "Josefin Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
    line-height: inherit;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--alw-copper);
    vertical-align: unset;
    cursor: pointer;
}

/* --- Images --- */
.alw-wizard[data-alw-wizard] img {
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.alw-wizard[data-alw-wizard] .alw-builder-heading__sunburst {
    max-width: none;
    width: auto;
    height: 1.4em;
    flex-shrink: 0;
}

/* --- Abbr --- */
.alw-wizard[data-alw-wizard] abbr,
.alw-wizard[data-alw-wizard] abbr[title] {
    text-decoration: none;
    border-bottom: 0;
    font-style: normal;
}

/* --- All buttons (base + hover/focus) --- */
.alw-wizard[data-alw-wizard] button,
.alw-wizard[data-alw-wizard] input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 0;
    background-color: var(--alw-primary);
    color: var(--alw-ink);
    font-family: "Josefin Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: normal;
    padding: 18px 40px;
    min-width: 160px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: background 180ms ease, transform 160ms ease;
    box-shadow: none;
    outline: none;
}

.alw-wizard[data-alw-wizard] button:hover,
.alw-wizard[data-alw-wizard] button:focus,
.alw-wizard[data-alw-wizard] button:active,
.alw-wizard[data-alw-wizard] input[type="submit"]:hover,
.alw-wizard[data-alw-wizard] input[type="submit"]:focus,
.alw-wizard[data-alw-wizard] input[type="submit"]:active {
    border: 0;
    border-radius: 0;
    background-color: var(--alw-primary-h);
    color: var(--alw-ink);
    text-decoration: none;
    transform: translateY(-1px);
}

/* --- Back button --- */
.alw-wizard[data-alw-wizard] [data-back],
.alw-wizard[data-alw-wizard] [data-back]:hover,
.alw-wizard[data-alw-wizard] [data-back]:focus,
.alw-wizard[data-alw-wizard] [data-back]:active {
    background: var(--alw-back-btn);
    color: var(--alw-body);
    border: 0;
    transform: none;
}

.alw-wizard[data-alw-wizard] [data-back]:hover {
    background: #E5DDD9;
}

/* --- Category tab buttons --- */
.alw-wizard[data-alw-wizard] .alw-category-tab {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #FFFFFF;
    color: var(--alw-ink);
    border: 1px solid var(--alw-border);
    border-left: 3px solid transparent;
    border-radius: 0;
    padding: 18px 20px 16px;
    min-width: 0;
    text-align: left;
    font-family: "Josefin Sans", sans-serif;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: normal;
    transition: box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
    transform: none;
    box-shadow: none;
    cursor: pointer;
}

.alw-wizard[data-alw-wizard] .alw-category-tab .alw-card-title,
.alw-wizard[data-alw-wizard] .alw-category-tab .alw-card-copy {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.alw-wizard[data-alw-wizard] .alw-category-tab:hover,
.alw-wizard[data-alw-wizard] .alw-category-tab:focus {
    background: #F2EAE6;
    color: var(--alw-ink);
    border-color: var(--alw-border);
    border-left-color: transparent;
    transform: none;
    box-shadow: none;
    outline: none;
}

.alw-wizard[data-alw-wizard] .alw-category-tab.is-active,
.alw-wizard[data-alw-wizard] .alw-category-tab.is-active:hover,
.alw-wizard[data-alw-wizard] .alw-category-tab.is-active:focus {
    border-left-color: var(--alw-copper);
    background: #E0D3CC;
    color: var(--alw-ink);
    transform: none;
    box-shadow: none;
}

/* --- Pill buttons --- */
.alw-wizard[data-alw-wizard] .alw-pill {
    background: transparent;
    border: 1px solid var(--alw-border);
    border-radius: 0;
    color: var(--alw-muted);
    padding: 6px 10px 6px 12px;
    min-width: 0;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 160ms ease, color 160ms ease;
    cursor: pointer;
}

.alw-wizard[data-alw-wizard] .alw-pill:hover,
.alw-wizard[data-alw-wizard] .alw-pill:focus {
    background: transparent;
    border-color: var(--alw-copper-l);
    color: var(--alw-body);
    transform: none;
}

/* --- Text inputs (base + focus) --- */
.alw-wizard[data-alw-wizard] input[type="text"],
.alw-wizard[data-alw-wizard] input[type="email"],
.alw-wizard[data-alw-wizard] input[type="tel"] {
    border: 0;
    border-bottom: 1px solid var(--alw-border);
    border-radius: 0;
    padding: 12px 2px;
    width: 100%;
    background: var(--alw-bg);
    background-color: var(--alw-bg);
    color: var(--alw-ink);
    font-family: "Josefin Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
    outline: none;
    box-shadow: none;
    transition: border-color 200ms ease;
}

.alw-wizard[data-alw-wizard] input[type="text"]:focus,
.alw-wizard[data-alw-wizard] input[type="email"]:focus,
.alw-wizard[data-alw-wizard] input[type="tel"]:focus {
    border: 0;
    border-bottom: 1px solid var(--alw-copper);
    outline: none;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
}

.alw-wizard[data-alw-wizard] input::placeholder {
    color: var(--alw-border);
    font-weight: 400;
    font-family: "Josefin Sans", sans-serif;
}

/* --- Checkboxes --- */
.alw-wizard[data-alw-wizard] input[type="checkbox"] {
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid var(--alw-copper-l);
    border-radius: 0;
    background: transparent;
    background-color: transparent;
    background-image: none;
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
    box-shadow: none;
    outline: none;
}

.alw-wizard[data-alw-wizard] input[type="checkbox"]:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--alw-copper);
}

.alw-wizard[data-alw-wizard] input[type="checkbox"]:checked {
    background-color: var(--alw-copper);
    border-color: var(--alw-copper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* Hidden card checkboxes — visually suppressed, card IS the control */
.alw-wizard[data-alw-wizard] .alw-card-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

/* =========================================================
   WIZARD SHELL
   ========================================================= */
.alw-wizard {
    width: min(1280px, calc(100vw - 48px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--alw-body);
    box-shadow: none;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    box-sizing: border-box;
    background: var(--alw-bg);
}

.entry-content > .alw-wizard,
.wp-block-post-content > .alw-wizard,
.page-content > .alw-wizard,
.page-content .alw-wizard,
.elementor-shortcode .alw-wizard,
.elementor-shortcode > .alw-wizard {
    max-width: none;
    width: min(1280px, calc(100vw - 48px));
    margin-left: auto;
    margin-right: auto;
}

.alw-wizard + .wp-block-spacer,
.wp-block-spacer + .alw-wizard {
    display: none;
}

.alw-wizard *,
.alw-wizard *::before,
.alw-wizard *::after {
    box-sizing: border-box;
}

/* ---- Page title (WordPress entry title above wizard) ---- */
.alw-wizard .wp-block-post-title,
.alw-wizard h1.entry-title {
    font-family: "Native Record Sans", serif;
    color: var(--alw-ink);
}

/* ---- Form wrapper ---- */
.alw-wizard > form {
    width: 100%;
    margin: 0 auto;
    padding: 40px 100px 56px 100px;
}

/* =========================================================
   HEADER & KICKER
   ========================================================= */
.alw-header {
    margin-bottom: 28px;
}

.alw-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--alw-copper);
    margin-bottom: 8px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
}

/* =========================================================
   PROGRESS BAR
   ========================================================= */
.alw-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--alw-muted);
    margin-bottom: 12px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
}

.alw-progress-track {
    height: 2px;
    border-radius: 0;
    background: var(--alw-border);
    overflow: hidden;
}

.alw-progress-fill {
    display: block;
    height: 100%;
    width: 33.33%;
    border-radius: 0;
    background: var(--alw-deep);
    transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   STEPS
   ========================================================= */
.alw-step {
    display: none;
}

.alw-step.is-active {
    display: block;
    animation: alw-step-in 280ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes alw-step-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step heading — brand serif (centered, used for step 2 contact form) */
.alw-wizard[data-alw-wizard] .alw-step h2:not(.alw-builder-heading) {
    margin: 0 0 24px;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--alw-ink);
    text-align: center;
    font-family: "Native Record Sans", serif;
    font-weight: 400;
    text-transform: none;
}

/* Builder heading — left-aligned, SEO h2 */
.alw-wizard[data-alw-wizard] .alw-builder-heading {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--alw-ink);
    text-align: left;
    font-family: "Native Record Sans", serif;
    font-weight: 400;
    text-transform: none;
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.alw-builder-heading__sunburst {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 1.4em;
    opacity: 0.7;
}

.alw-builder-subheading {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: var(--alw-muted);
    text-align: left;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    max-width: 60ch;
}

/* Step eyebrow tag */
.alw-step-tag {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--alw-copper);
    text-align: center;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
}

/* =========================================================
   SERVICE BUILDER
   ========================================================= */
.alw-multiselect-hint {
    display: block;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--alw-muted);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    margin-top: -14px;
    margin-bottom: 4px;
}

/* =========================================================
   PILL BAR
   ========================================================= */
.alw-pill-bar {
    min-height: 40px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 0 6px;
}

.alw-pill-bar__empty {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--alw-muted);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
}

.alw-pill-bar__empty[hidden] {
    display: none;
}

.alw-pill-bar__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alw-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 12px;
    border: 1px solid var(--alw-border);
    background: transparent;
    font-family: "Josefin Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--alw-muted);
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease;
    animation: alw-step-in 180ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.alw-pill:hover {
    border-color: var(--alw-copper-l);
    color: var(--alw-body);
}

.alw-pill__remove {
    font-size: 14px;
    line-height: 1;
    color: var(--alw-copper-l);
    pointer-events: none;
    padding-left: 4px;
    border-left: 1px solid var(--alw-border);
    margin-left: 4px;
}

/* =========================================================
   SERVICE BUILDER — two-column split
   ========================================================= */
.alw-service-builder {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    margin-top: 0;
    align-items: start;
}

.alw-category-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alw-category-tab {
    appearance: none;
    width: 100%;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18px 20px 16px;
    min-height: 0;
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: var(--alw-card);
    cursor: pointer;
    transition:
        box-shadow 200ms ease,
        border-color 200ms ease,
        background 200ms ease;
}

.alw-category-tab:hover,
.alw-category-tab:focus-visible,
.alw-category-tab:focus {
    background: #F2EAE6;
    outline: none;
}

.alw-category-tab.is-active,
.alw-category-tab.is-active:hover,
.alw-category-tab.is-active:focus-visible {
    border-left-color: var(--alw-copper);
    background: #E0D3CC;
    box-shadow: none;
    transform: none;
    outline: none;
}

.alw-category-tab.is-active .alw-card-icon {
    opacity: 1;
}

.alw-category-tab.is-active::after {
    content: none;
}

.alw-category-tab .alw-card-icon {
    display: none;
}

.alw-category-tab .alw-card-title {
    font-size: 14px;
    margin-bottom: 4px;
    letter-spacing: 0.12em;
}

.alw-category-tab .alw-card-copy {
    font-size: 12px;
    line-height: 1.45;
    max-width: none;
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 400;
    color: var(--alw-muted);
}

.alw-category-panel {
    padding-top: 18px;
    border-top: 1px solid rgba(178, 115, 79, 0.22);
    animation: alw-step-in 220ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.alw-service-panel-intro {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.alw-service-panel-kicker {
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--alw-copper);
}

.alw-wizard[data-alw-wizard] .alw-service-panel-intro h3 {
    margin: 0;
    font-family: "Native Record Sans", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--alw-ink);
    text-transform: none;
    letter-spacing: normal;
}

.alw-service-panel-copy {
    margin: 0;
    max-width: 55ch;
    font-size: 14px;
    line-height: 1.6;
    color: var(--alw-muted);
    font-weight: 400;
}

.alw-service-panel-area {
    min-width: 0;
}

.alw-service-panel-placeholder {
    display: grid;
    gap: 8px;
    padding: 40px 32px;
    border: 1px solid var(--alw-border);
    background: rgba(255, 255, 255, 0.35);
}

.alw-wizard[data-alw-wizard] .alw-service-panel-placeholder h3 {
    margin: 0;
    font-family: "Native Record Sans", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--alw-ink);
    text-transform: none;
    letter-spacing: normal;
}

/* Hide the old sidebar summary on desktop — replaced by pill bar */
.alw-selection-summary {
    display: none;
}

.alw-service-panel-placeholder[hidden],
.alw-category-panel[hidden] {
    display: none;
}

/* =========================================================
   CARD GRID
   ========================================================= */
.alw-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* =========================================================
   CARD OPTION
   ========================================================= */
.alw-card-option {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 18px 18px 18px;
    min-height: 110px;
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: var(--alw-card);
    cursor: pointer;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 200ms ease;
    overflow: hidden;
}

.alw-card-option:hover {
    background: #F2EAE6;
    box-shadow: 0 6px 16px rgba(178,115,79,0.07);
}

/* Selected state */
.alw-card-option.is-selected,
.alw-card-option.is-selected:hover {
    border-left-color: var(--alw-copper);
    background: #E0D3CC;
    box-shadow: none;
    transform: none;
}

.alw-card-option.is-selected::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.5' stroke='%23b2734f' stroke-width='1' fill='none'/%3E%3Cpath d='M4.5 8l2.5 2.5 4.5-5' stroke='%23b2734f' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.alw-card-option.is-selected .alw-card-icon {
    opacity: 1;
}

.alw-card-option.is-selected::after {
    content: none;
}

/* =========================================================
   CARD CONTENT
   ========================================================= */
.alw-card-icon {
    display: block;
    width: 68px;
    height: 28px;
    background: url("https://thealchemybeauty.com/wp-content/uploads/2025/07/Alchemy-Beauty-top-only.svg") no-repeat center / contain;
    margin-bottom: 16px;
    opacity: 0.55;
}

.alw-card-option:hover .alw-card-icon,
.alw-card-option.is-selected .alw-card-icon {
    opacity: 0.85;
}

.alw-option-grid .alw-card-icon {
    display: none;
}

.alw-option-grid .alw-card-title {
    font-size: 14px;
    line-height: 1.15;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    hyphens: auto;
    padding-right: 28px;
}

.alw-option-grid .alw-card-option:not(.is-selected) .alw-card-title {
    padding-right: 0;
}

.alw-option-grid .alw-card-copy {
    font-size: 12px;
    line-height: 1.45;
}

.alw-card-title {
    display: block;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    color: var(--alw-ink);
    font-family: "Josefin Sans", sans-serif;
    text-transform: uppercase;
}

.alw-card-copy {
    display: block;
    font-size: 15px;
    color: var(--alw-muted);
    line-height: 1.5;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* =========================================================
   FORM FIELDS (Step 2)
   ========================================================= */
.alw-field {
    display: block;
    margin: 20px 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--alw-copper);
    font-weight: 700;
    font-family: "Josefin Sans", sans-serif;
}

.alw-field input[type="text"],
.alw-field input[type="email"],
.alw-field input[type="tel"] {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--alw-border);
    border-radius: 0;
    padding: 12px 2px;
    margin-top: 8px;
    font-size: 17px;
    background: var(--alw-bg);
    color: var(--alw-ink);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    outline: none;
    transition: border-color 200ms ease;
}

.alw-field input[type="text"]:focus,
.alw-field input[type="email"]:focus,
.alw-field input[type="tel"]:focus {
    border-bottom-color: var(--alw-copper);
    background: transparent;
}

.alw-field input::placeholder {
    color: var(--alw-border);
    font-weight: 400;
    font-family: "Josefin Sans", sans-serif;
}

/* =========================================================
   SELECTED SERVICES SUMMARY (sidebar — hidden on desktop)
   ========================================================= */
.alw-selection-summary {
    position: sticky;
    top: 24px;
    width: 100%;
    padding: 24px;
    border: 1px solid var(--alw-border);
    background: var(--alw-card);
    box-shadow: 0 12px 32px rgba(44, 36, 32, 0.06);
    display: none;
}

.alw-selection-summary__eyebrow {
    margin: 0 0 10px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--alw-copper);
}

.alw-selection-summary__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.alw-wizard[data-alw-wizard] .alw-selection-summary__header h3 {
    margin: 0;
    font-family: "Native Record Sans", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--alw-ink);
    text-transform: none;
    letter-spacing: normal;
}

.alw-selection-summary__count {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--alw-muted);
}

.alw-selection-summary__empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--alw-muted);
    font-weight: 400;
}

.alw-selected-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.alw-selected-chip {
    appearance: none;
    width: 100%;
    border: 1px solid var(--alw-border);
    background: var(--alw-card);
    padding: 14px 16px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: border-color 180ms ease, transform 160ms ease, box-shadow 180ms ease;
}

.alw-selected-chip:hover,
.alw-selected-chip:focus-visible {
    border-color: var(--alw-copper-l);
    box-shadow: 0 8px 22px var(--alw-shadow-w);
    transform: translateY(-1px);
    outline: none;
}

.alw-selected-chip__label {
    font-size: 14px;
    line-height: 1.5;
    color: var(--alw-ink);
    text-transform: none;
}

.alw-selected-chip__remove {
    flex-shrink: 0;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--alw-copper);
}

/* =========================================================
   NAVIGATION BUTTONS
   ========================================================= */
.alw-nav {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.alw-nav button,
.alw-nav input[type="submit"] {
    appearance: none;
    border: 0;
    border-radius: 0;
    padding: 18px 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    min-width: 160px;
    background: var(--alw-primary);
    color: var(--alw-ink);
    font-family: "Josefin Sans", sans-serif;
    transition: background 180ms ease, transform 160ms ease;
}

.alw-nav button:hover,
.alw-nav input[type="submit"]:hover {
    background: var(--alw-primary-h);
    transform: translateY(-1px);
}

.alw-nav button:active,
.alw-nav input[type="submit"]:active {
    transform: translateY(0);
}

.alw-nav [data-back] {
    background: var(--alw-back-btn);
    color: var(--alw-body);
}

.alw-nav [data-back]:hover {
    background: #E5DDD9;
    color: var(--alw-body);
}

/* =========================================================
   SMS CONSENT
   ========================================================= */
.alw-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: var(--alw-muted);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    cursor: default;
}

.alw-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid var(--alw-copper-l);
    border-radius: 0;
    background: transparent;
    margin-top: 2px;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.alw-consent input[type="checkbox"]:checked {
    background: var(--alw-copper);
    border-color: var(--alw-copper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* =========================================================
   ERROR STATE
   ========================================================= */
.alw-step.has-errors {
    /* error display is handled by inline message, not step outline */
}

.alw-step-error {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--alw-error);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    text-align: center;
}

.alw-field-error {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--alw-error);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
}

.alw-field input[aria-invalid="true"] {
    border-bottom-color: var(--alw-error);
}

.alw-required {
    text-decoration: none;
    margin-left: 3px;
    color: var(--alw-copper);
    font-style: normal;
}

/* =========================================================
   STEP 2 — constrained width
   ========================================================= */
.alw-step[data-step="2"] {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   THANK YOU STATE
   ========================================================= */
.alw-thankyou {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 40px 80px;
    border: 0;
    border-radius: 0;
    text-align: center;
    background: transparent;
    font-family: "Josefin Sans", sans-serif;
    color: var(--alw-body);
    animation: alw-step-in 360ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.alw-thankyou::before {
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    background: var(--alw-copper);
    margin: 0 auto 36px;
}

.alw-thankyou-kicker {
    margin: 0 0 12px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--alw-copper);
}

.alw-wizard[data-alw-wizard] .alw-thankyou h2 {
    margin: 0 0 20px;
    font-family: "Native Record Sans", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--alw-ink);
    text-transform: none;
}

.alw-thankyou p {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--alw-muted);
    line-height: 1.6;
}

.alw-thankyou a {
    color: var(--alw-copper);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
   THANK-YOU PAGE — hide WordPress page title & spacers
   ========================================================= */
.alw-thanks-state .wp-block-spacer {
    display: none;
}

.alw-thanks-state .wp-block-post-title,
.alw-thanks-state h1.entry-title {
    display: none;
}

/* =========================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ========================================================= */
@media (max-width: 1024px) {
    .alw-site-header__bar {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
    }

    .alw-site-header__actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .alw-pill-bar {
        padding: 8px 0 4px;
        margin-bottom: 16px;
    }

    .alw-service-builder {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .alw-category-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .alw-category-tab {
        flex: 1 1 calc(50% - 5px);
        border-left-width: 1px;
        border-bottom: 3px solid transparent;
    }

    .alw-category-tab.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--alw-copper);
    }

    .alw-selection-summary {
        display: none;
    }

    .alw-option-grid,
    .alw-option-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alw-wizard > form {
        padding: 48px 60px 56px;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ========================================================= */
@media (max-width: 640px) {
    .alw-site-header {
        position: static;
    }

    .alw-site-header__promo {
        font-size: 10px;
        padding: 10px 14px 9px;
    }

    .alw-site-header__bar {
        width: min(100vw - 20px, 100%);
        padding: 16px 6px 18px;
    }

    .alw-site-header__brand img {
        width: 143px;
    }

    .alw-site-header__nav {
        gap: 14px;
    }

    .alw-site-header__nav a,
    .alw-site-header__button,
    .alw-site-header__cart {
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .alw-site-header__actions {
        gap: 10px;
    }

    .alw-wizard {
        width: calc(100vw - 24px);
    }

    .entry-content > .alw-wizard,
    .wp-block-post-content > .alw-wizard {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .alw-wizard > form {
        padding: 28px 10px 40px;
    }

    .alw-wizard[data-alw-wizard] .alw-step h2:not(.alw-builder-heading) {
        font-size: 28px;
    }

    .alw-wizard[data-alw-wizard] .alw-builder-heading {
        font-size: 30px;
    }

    .alw-builder-subheading {
        font-size: 13px;
        max-width: none;
    }

    .alw-step-tag {
        font-size: 10px;
    }

    .alw-service-builder {
        gap: 16px;
        margin-top: 20px;
    }

    .alw-category-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 0;
    }

    .alw-category-tab {
        flex: 1 1 calc(50% - 5px);
        min-height: 0;
        padding: 14px 14px 12px;
    }

    .alw-category-tab .alw-card-title {
        font-size: 12px;
    }

    .alw-wizard[data-alw-wizard] .alw-service-panel-intro h3 {
        font-size: 20px;
    }

    .alw-pill-bar {
        padding: 6px 0 2px;
        margin-bottom: 12px;
        gap: 8px;
    }

    .alw-option-grid,
    .alw-option-grid-3 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .alw-card-option {
        min-height: 0;
        padding: 18px 16px 14px;
    }

    .alw-option-grid .alw-card-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .alw-option-grid .alw-card-copy {
        font-size: 11px;
    }

    .alw-selected-list {
        gap: 8px;
    }

    .alw-selected-chip {
        padding: 12px 14px;
    }

    .alw-nav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .alw-nav button,
    .alw-nav input[type="submit"] {
        padding: 18px 24px;
    }

    .alw-thankyou {
        padding: 40px 20px 60px;
    }

    .alw-wizard[data-alw-wizard] .alw-thankyou h2 {
        font-size: 28px;
    }
}
