/* Create Album V3 — task-first form overlay + 3 template choices */
.wu-create-workflow .wu-page-hero {
    padding: 32px 0;
    background: #fff;
}

.wu-create-workflow .wu-section-head {
    max-width: unset;
    margin-bottom: 26px;
}

.wu-create-workflow .wu-section-head .wu-lead {
    max-width: unset;
}

.wu-create-overlay-stage {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: 32px;
    background: #29342f;
    box-shadow: var(--wu-shadow-md);
}

.wu-create-overlay-stage__media {
    position: absolute;
    inset: 0;
}

.wu-create-overlay-stage__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(19, 26, 23, .64), rgba(19, 26, 23, .18) 56%, rgba(19, 26, 23, .28));
}

.wu-create-overlay-stage__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 54% center;
    display: block;
}

.wu-create-overlay-stage__inner {
    position: relative;
    z-index: 1;
    min-height: 480px;
    padding: clamp(24px, 4vw, 54px);
    display: grid;
    grid-template-columns: minmax(420px, 590px) minmax(260px, 1fr);
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
}

.wu-create-overlay-stage .wu-form-card {
    margin: 0;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 70px rgba(16, 22, 19, .25);
}

.wu-create-overlay-stage__context {
    color: #fff;
    max-width: 440px;
    align-self: end;
    padding-bottom: 12px;
}

.wu-create-overlay-stage__context .wu-kicker {
    color: rgba(255, 255, 255, .68);
}

.wu-create-overlay-stage__context h2 {
    margin: 10px 0 12px;
    font-family: var(--wu-font-display);
    font-size: clamp(38px, 4.8vw, 68px);
    line-height: .92;
    letter-spacing: -.045em;
}

.wu-create-overlay-stage__context p {
    max-width: 370px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 11px;
    line-height: 1.65;
}

.wu-template-choice {
    margin-top: 4px;
}

.wu-template-choice__label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    color: var(--wu-ink);
}

.wu-template-choice__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.wu-template-choice__option {
    position: relative;
    cursor: pointer;
}

.wu-template-choice__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wu-template-choice__card {
    min-height: 82px;
    padding: 12px;
    border: 1px solid var(--wu-line);
    border-radius: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    transition: .18s ease;
}

.wu-template-choice__card strong {
    font-size: 10px;
    line-height: 1.2;
}

.wu-template-choice__card small {
    font-size: 8px;
    line-height: 1.35;
    color: var(--wu-ink-muted);
}

.wu-template-choice__swatch {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 3px;
    height: 22px;
}

.wu-template-choice__swatch i {
    display: block;
    border-radius: 5px;
    background: var(--wu-ivory);
}

.wu-template-choice__option:nth-child(1) .wu-template-choice__swatch i:first-child {
    background: #fbf6ef;
    border: 1px solid #b58a62;
}

.wu-template-choice__option:nth-child(1) .wu-template-choice__swatch i:last-child {
    background: #6c735e;
}

.wu-template-choice__option:nth-child(2) .wu-template-choice__swatch i:first-child {
    background: #29312d;
}

.wu-template-choice__option:nth-child(2) .wu-template-choice__swatch i:last-child {
    background: #a89178;
}

.wu-template-choice__option:nth-child(3) .wu-template-choice__swatch i:first-child {
    background: #f6f1e8;
}

.wu-template-choice__option:nth-child(3) .wu-template-choice__swatch i:last-child {
    background: #536457;
}

.wu-template-choice__option input:checked+.wu-template-choice__card {
    border-color: var(--wu-gold-500);
    box-shadow: 0 0 0 3px rgba(182, 139, 104, .13);
    transform: translateY(-1px);
}

.wu-create-preview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.wu-create-preview-links a {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 9px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.wu-create-preview-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.album-context .wu-container{
    max-width: unset;
    padding: 12px 24px;
}

.album-context .wu-page-hero .wu-container{
    width: 90%;
}

.album-context .wu-header{
    border-bottom: none !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}
.album-context .wu-header .wu-brand img{
    width: 240px;
}

.album-context .wu-navbar{
    grid-template-columns: 1fr auto 1fr;
}

.album-context .wu-nav-actions.back{
    justify-self: start;
}

.wu-form-footer {
    margin-top: 12px;
}

@media (max-width: 1199.98px) {
  .wu-create-overlay-stage__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .album-context .wu-navbar{
    grid-template-columns: 1fr auto 1fr !important;
}
.album-context .wu-page-hero .wu-container{
    padding: 12px 0px;
}
.wu-create-workflow .wu-page-hero {
    padding: 12px 0 32px 0;
}

  .wu-create-overlay-stage__inner > .wu-section-head {
    order: 1;
  }

  .wu-create-overlay-stage__inner > .wu-form-card {
    order: 2;
  }
  body[data-page] .wu-section-head {
    gap: clamp(2rem, 5vw, 4rem);
    margin-bottom: 0 !important;
    }
    .wu-button{
        width: fit-content !important;
    }
}

@media (max-width:991.98px) {
    .wu-create-overlay-stage__inner {
        grid-template-columns: 1fr;
        align-items: end;
    }

    .wu-create-overlay-stage__context {
        align-self: start;
        order: -1;
        padding: 10px 0 0;
    }
}

@media (max-width:767.98px) {
    .wu-create-overlay-stage {
        border-radius: 22px;
        min-height: 0;
    }
    .wu-create-workflow .wu-page-hero {
        padding: 0 0 32px 0;
        background: #fff;
    }
    .wu-header .wu-brand {
        max-width: unset;
    }
    .album-context .wu-header .wu-brand img {
        width: 200px;
    }
    .wu-container {
        padding: 0;
    }
        .wu-button {
        width: 100% !important;
    }

    .wu-create-overlay-stage__inner {
        min-height: 0;
        padding: 12px;
        gap: 18px;
    }

    .wu-create-overlay-stage__media::after {
        background: linear-gradient(180deg, rgba(19, 26, 23, .25), rgba(19, 26, 23, .58));
    }

    .wu-create-overlay-stage__context {
        padding: 34px 8px 0;
    }

    .wu-create-overlay-stage__context h2 {
        font-size: 44px;
    }

    .wu-create-overlay-stage .wu-form-card {
        padding: 22px 12px;
    }

    .wu-template-choice__grid {
        grid-template-columns: 1fr;
    }

    .wu-template-choice__card {
        min-height: 70px;
        flex-direction: row;
        align-items: center;
    }

    .wu-template-choice__swatch {
        width: 78px;
        flex: 0 0 auto;
    }
    .wu-section-head{
        padding: 12px;
        margin-bottom: 0 !important;
    }
}