.jfbd-store-shell {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
}

.jfbd-store-shell .jfbd-studio {
    width: 100%;
    margin-left: 0;
}

.jfbd-store-shell .jfbd-nav-link::after {
    transform: scaleX(1) !important;
}

.jfbd-studio,
.jfbd-studio * {
    box-sizing: border-box;
}

.jfbd-studio {
    --jfbd-ink: #161513;
    --jfbd-muted: #756f67;
    --jfbd-line: #dfdcd6;
    --jfbd-ivory: #f5f3ee;
    --jfbd-paper: #fbfaf7;
    --jfbd-gold: #9b7740;
    width: 100vw;
    max-width: none;
    margin: 0 0 0 calc(50% - 50vw);
    color: var(--jfbd-ink);
    background: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    overflow: hidden;
}

.jfbd-studio [hidden] {
    display: none !important;
}

.jfbd-studio button,
.jfbd-studio input,
.jfbd-studio select,
.jfbd-studio textarea {
    font: inherit;
}

.jfbd-intro {
    min-height: 620px;
    padding: clamp(80px, 9vw, 150px) max(5vw, calc((100vw - 1320px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .58fr);
    align-items: center;
    gap: 8vw;
    background:
        linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.87)),
        radial-gradient(circle at 78% 45%, rgba(155,119,64,.18), transparent 36%);
    border-bottom: 1px solid var(--jfbd-line);
}

.jfbd-kicker,
.jfbd-panel-heading p,
.jfbd-result-details > span,
.jfbd-review-object > span,
.jfbd-review-note > span {
    margin: 0;
    color: var(--jfbd-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.jfbd-intro h1 {
    max-width: 780px;
    margin: 22px 0 26px;
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(58px, 7.7vw, 118px);
    font-weight: 400;
    line-height: .86;
    letter-spacing: -.04em;
}

.jfbd-intro h1 em {
    color: var(--jfbd-gold);
    font-weight: 400;
}

.jfbd-intro-copy > p {
    max-width: 680px;
    margin: 0;
    color: #5f5a53;
    font-family: Georgia, serif;
    font-size: clamp(17px, 1.55vw, 23px);
    line-height: 1.65;
}

.jfbd-intro-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 38px;
}

.jfbd-intro-notes span {
    color: var(--jfbd-muted);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.jfbd-intro-notes span::before {
    content: "◆";
    margin-right: 9px;
    color: var(--jfbd-gold);
    font-size: 7px;
}

.jfbd-intro-mark {
    position: relative;
    width: min(31vw, 390px);
    aspect-ratio: 1;
    justify-self: center;
    display: grid;
    place-content: center;
    border: 1px solid rgba(155,119,64,.38);
    border-radius: 50%;
}

.jfbd-intro-mark::before,
.jfbd-intro-mark::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(155,119,64,.2);
    border-radius: 50%;
    inset: 9%;
}

.jfbd-intro-mark::after {
    inset: -4%;
    border-style: dashed;
}

.jfbd-intro-mark span {
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(66px, 8vw, 108px);
    line-height: 1;
}

.jfbd-intro-mark small {
    margin-top: 12px;
    color: var(--jfbd-gold);
    font-size: 10px;
    letter-spacing: .35em;
    text-align: center;
    text-transform: uppercase;
}

.jfbd-login-gate {
    max-width: 720px;
    margin: 110px auto;
    padding: 70px;
    text-align: center;
    border: 1px solid var(--jfbd-line);
    background: var(--jfbd-paper);
}

.jfbd-login-gate h2 {
    margin: 18px 0 12px;
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 400;
    line-height: 1;
}

.jfbd-login-gate p {
    color: var(--jfbd-muted);
}

.jfbd-step-number {
    color: var(--jfbd-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.jfbd-primary-button,
.jfbd-text-link {
    display: table;
    margin: 26px auto 0;
}

.jfbd-primary-button {
    padding: 15px 24px;
    color: #fff !important;
    background: var(--jfbd-ink);
    text-decoration: none !important;
}

.jfbd-primary-button span {
    margin-left: 22px;
}

.jfbd-saved {
    max-width: 1320px;
    margin: 0 auto;
    padding: 70px 34px 62px;
    border-bottom: 1px solid var(--jfbd-line);
}

.jfbd-saved-heading {
    margin-bottom: 28px;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.jfbd-saved-heading h2 {
    margin: 0;
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(35px, 4vw, 54px);
    font-weight: 400;
}

.jfbd-saved-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.jfbd-saved-card {
    min-width: 0;
}

.jfbd-saved-card > div {
    aspect-ratio: 1.18;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--jfbd-paper);
}

.jfbd-saved-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jfbd-saved-placeholder {
    width: 65px;
    height: 65px;
    color: #a48c63;
}

.jfbd-saved-placeholder svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.jfbd-saved-card > span {
    display: block;
    margin-top: 12px;
    color: var(--jfbd-gold);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.jfbd-saved-card h3 {
    margin: 4px 0 0;
    overflow: hidden;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jfbd-saved-card p {
    margin: 2px 0 0;
    color: var(--jfbd-muted);
    font-size: 10px;
}

.jfbd-saved-card a {
    margin-top: 9px;
    display: flex;
    justify-content: space-between;
    color: var(--jfbd-ink) !important;
    border-bottom: 1px solid var(--jfbd-line);
    font-size: 10px;
    text-decoration: none !important;
}

.jfbd-text-link {
    color: var(--jfbd-ink) !important;
    font-size: 12px;
    text-underline-offset: 5px;
}

.jfbd-progress {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 34px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 1px solid var(--jfbd-line);
}

.jfbd-progress button {
    position: relative;
    padding: 24px 6px 20px;
    color: #8a857e;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.jfbd-progress button::after {
    position: absolute;
    right: -3px;
    top: 30px;
    content: "";
    width: 6px;
    height: 6px;
    border: 1px solid #c4beb4;
    border-radius: 50%;
    background: #fff;
}

.jfbd-progress button:last-child::after {
    display: none;
}

.jfbd-progress button span {
    display: block;
    margin-bottom: 4px;
    color: #aaa49b;
    font-size: 9px;
}

.jfbd-progress button.is-active {
    color: var(--jfbd-ink);
    border-color: var(--jfbd-gold);
}

.jfbd-progress button.is-active span,
.jfbd-progress button.is-complete span {
    color: var(--jfbd-gold);
}

.jfbd-workspace {
    max-width: 1320px;
    margin: 0 auto;
    padding: 72px 34px 120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(45px, 7vw, 108px);
    align-items: start;
}

.jfbd-panel {
    display: none;
    animation: jfbd-fade .42s ease both;
}

.jfbd-panel.is-active {
    display: block;
}

@keyframes jfbd-fade {
    from { opacity: 0; transform: translateY(12px); }
}

.jfbd-panel-heading {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.jfbd-panel-heading > span {
    padding-top: 9px;
    color: #a5a097;
    font-family: Georgia, serif;
    font-size: 13px;
}

.jfbd-panel-heading h2 {
    margin: 5px 0 0;
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.025em;
}

.jfbd-type-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--jfbd-line);
    border-left: 1px solid var(--jfbd-line);
}

.jfbd-type-card {
    position: relative;
    min-height: 150px;
    padding: 20px 14px 17px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-right: 1px solid var(--jfbd-line);
    border-bottom: 1px solid var(--jfbd-line);
    background: #fff;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.jfbd-type-card:hover {
    background: var(--jfbd-paper);
}

.jfbd-type-card:has(input:checked) {
    color: #fff;
    background: var(--jfbd-ink);
}

.jfbd-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jfbd-type-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
}

.jfbd-type-icon svg,
.jfbd-brief-object svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jfbd-type-card strong {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .07em;
    text-align: center;
    text-transform: uppercase;
}

.jfbd-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
}

.jfbd-field {
    display: grid;
    gap: 9px;
    margin-top: 25px;
}

.jfbd-fields .jfbd-field {
    margin: 0;
}

.jfbd-field.is-wide {
    grid-column: 1 / -1;
}

.jfbd-field[hidden] {
    display: none;
}

.jfbd-field label,
.jfbd-choice-section h3,
.jfbd-refine label {
    color: #4b4741;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.jfbd-field label span {
    float: right;
    color: #9b958d;
    font-weight: 400;
    letter-spacing: .03em;
    text-transform: none;
}

.jfbd-field input,
.jfbd-field select,
.jfbd-field textarea,
.jfbd-refine textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 4px;
    color: var(--jfbd-ink);
    border: 0;
    border-bottom: 1px solid #bbb5ac;
    border-radius: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.jfbd-field textarea {
    min-height: 112px;
    resize: vertical;
}

.jfbd-field input:focus,
.jfbd-field select:focus,
.jfbd-field textarea:focus,
.jfbd-refine textarea:focus {
    border-color: var(--jfbd-ink);
}

.jfbd-choice-section {
    margin-bottom: 40px;
}

.jfbd-swatch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 14px;
    background: var(--jfbd-line);
    border: 1px solid var(--jfbd-line);
}

.jfbd-swatch {
    position: relative;
    min-height: 90px;
    padding: 15px 8px;
    display: grid;
    justify-items: center;
    gap: 8px;
    background: #fff;
    cursor: pointer;
}

.jfbd-swatch input {
    position: absolute;
    opacity: 0;
}

.jfbd-swatch i {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: inset 4px 4px 8px rgba(255,255,255,.45);
}

.jfbd-swatch span {
    font-size: 10px;
    text-align: center;
}

.jfbd-swatch:has(input:checked) {
    outline: 1px solid var(--jfbd-ink);
    outline-offset: -1px;
}

.jfbd-upload {
    position: relative;
    min-height: 150px;
    display: grid;
    place-items: center;
    border: 1px dashed #aaa39a;
    background: var(--jfbd-paper);
}

.jfbd-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.jfbd-upload div {
    display: grid;
    gap: 5px;
    text-align: center;
}

.jfbd-upload div b {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 400;
}

.jfbd-upload div span {
    color: var(--jfbd-muted);
    font-size: 12px;
}

.jfbd-upload-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.jfbd-upload-preview figure {
    min-width: 0;
    margin: 0;
}

.jfbd-upload-preview img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.jfbd-upload-preview figcaption {
    margin-top: 4px;
    overflow: hidden;
    color: var(--jfbd-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jfbd-step-actions {
    margin-top: 46px;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--jfbd-line);
}

.jfbd-next,
.jfbd-back,
.jfbd-render-button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.jfbd-next,
.jfbd-render-button {
    min-height: 50px;
    padding: 0 22px;
    color: #fff;
    background: var(--jfbd-ink);
    font-size: 12px;
    letter-spacing: .05em;
}

.jfbd-next b {
    margin-left: 24px;
}

.jfbd-back {
    padding: 10px 0;
    color: var(--jfbd-muted);
    font-size: 12px;
}

.jfbd-render-button {
    min-width: 230px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jfbd-render-button b {
    color: #d2b178;
}

.jfbd-brief {
    position: sticky;
    top: 34px;
    padding: 24px;
    border: 1px solid var(--jfbd-line);
    background: var(--jfbd-paper);
}

.jfbd-brief::before {
    position: absolute;
    content: "";
    inset: 8px;
    pointer-events: none;
    border: 1px solid rgba(155,119,64,.17);
}

.jfbd-brief-top {
    position: relative;
    display: flex;
    justify-content: space-between;
    color: var(--jfbd-muted);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.jfbd-brief-top b {
    color: var(--jfbd-gold);
    font-weight: 500;
}

.jfbd-brief-object {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 38px auto 16px;
    color: var(--jfbd-gold);
}

.jfbd-brief h3 {
    position: relative;
    margin: 0 0 24px;
    font-family: "Italiana", Georgia, serif;
    font-size: 31px;
    font-weight: 400;
    text-align: center;
}

.jfbd-brief dl,
.jfbd-result-details dl,
.jfbd-review dl {
    position: relative;
    margin: 0;
}

.jfbd-brief dl > div,
.jfbd-result-details dl > div {
    padding: 8px 0;
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 10px;
    border-bottom: 1px solid #e4e0d9;
}

.jfbd-brief dt,
.jfbd-result-details dt,
.jfbd-review dt {
    color: #8b857d;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jfbd-brief dd,
.jfbd-result-details dd,
.jfbd-review dd {
    margin: 0;
    color: #393631;
    font-size: 11px;
}

.jfbd-brief > p {
    position: relative;
    margin: 24px 0 6px;
    color: var(--jfbd-muted);
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
}

.jfbd-review {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 38px;
    padding: 34px;
    border: 1px solid var(--jfbd-line);
    background: var(--jfbd-paper);
}

.jfbd-review-object h3 {
    margin: 8px 0 13px;
    font-family: "Italiana", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
}

.jfbd-review-object p,
.jfbd-review-note p {
    color: var(--jfbd-muted);
    font-family: Georgia, serif;
    font-size: 14px;
}

.jfbd-review dl > div {
    padding: 7px 0;
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 10px;
    border-bottom: 1px solid #e1ddd6;
}

.jfbd-review-note {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--jfbd-line);
}

.jfbd-consent {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 17px 1fr;
    gap: 11px;
    align-items: start;
    color: var(--jfbd-muted);
    font-size: 11px;
}

.jfbd-consent input {
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: var(--jfbd-ink);
}

.jfbd-generating {
    min-height: 650px;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--jfbd-paper);
}

.jfbd-generating h2 {
    margin: 28px 0 10px;
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 400;
}

.jfbd-generating p {
    color: var(--jfbd-muted);
    font-family: Georgia, serif;
    font-size: 17px;
}

.jfbd-generating small {
    margin-top: 22px;
    color: #969087;
    font-size: 10px;
    letter-spacing: .05em;
}

.jfbd-orbit {
    position: relative;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
}

.jfbd-orbit span {
    font-family: "Italiana", Georgia, serif;
    font-size: 36px;
}

.jfbd-orbit i {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(155,119,64,.4);
    border-radius: 50%;
    animation: jfbd-orbit 4s linear infinite;
}

.jfbd-orbit i:nth-child(2) {
    inset: 0 32px;
    animation-duration: 3.2s;
}

.jfbd-orbit i:nth-child(3) {
    inset: 32px 0;
    animation-direction: reverse;
    animation-duration: 4.8s;
}

@keyframes jfbd-orbit {
    to { transform: rotate(360deg); }
}

.jfbd-generation-line {
    width: min(380px, 80vw);
    height: 1px;
    margin-top: 30px;
    overflow: hidden;
    background: #d9d4cc;
}

.jfbd-generation-line i {
    display: block;
    width: 32%;
    height: 100%;
    background: var(--jfbd-gold);
    animation: jfbd-line 1.8s ease-in-out infinite;
}

@keyframes jfbd-line {
    from { transform: translateX(-110%); }
    to { transform: translateX(320%); }
}

.jfbd-result {
    padding: clamp(70px, 8vw, 120px) max(3vw, calc((100vw - 1320px) / 2));
    background: #fff;
}

.jfbd-result-heading {
    margin-bottom: 38px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.jfbd-result-heading h2 {
    margin: 7px 0 0;
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 400;
    line-height: 1;
}

.jfbd-result-code {
    padding-bottom: 8px;
    color: var(--jfbd-muted);
    font-size: 11px;
    letter-spacing: .13em;
}

.jfbd-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(340px, .75fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

.jfbd-result-media {
    position: relative;
    overflow: hidden;
    background: var(--jfbd-paper);
}

.jfbd-result-media > img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: contain;
}

.jfbd-result-media > small {
    display: block;
    padding: 12px 16px;
    color: #888178;
    font-size: 9px;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.jfbd-zoom-button {
    position: absolute;
    z-index: 2;
    right: 16px;
    top: 16px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--jfbd-ink);
    border: 1px solid rgba(22,21,19,.15);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    cursor: zoom-in;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jfbd-zoom-button span {
    font-size: 17px;
}

.jfbd-result-details {
    padding-top: 3px;
}

.jfbd-result-details > dl {
    margin-top: 18px;
    border-top: 1px solid var(--jfbd-line);
}

.jfbd-result-details dl > div {
    padding: 10px 0;
}

.jfbd-refine {
    margin-top: 32px;
    padding: 23px;
    background: var(--jfbd-paper);
}

.jfbd-refine textarea {
    min-height: 86px;
    margin-top: 8px;
    resize: vertical;
}

.jfbd-refine button {
    width: 100%;
    margin-top: 13px;
    padding: 11px 0;
    display: flex;
    justify-content: space-between;
    color: var(--jfbd-ink);
    border: 0;
    border-bottom: 1px solid var(--jfbd-ink);
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.jfbd-consent.is-result {
    margin: 25px 0;
}

.jfbd-purchase {
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 16px;
    align-items: stretch;
    border-top: 1px solid var(--jfbd-line);
}

.jfbd-purchase > div {
    display: grid;
    align-content: center;
}

.jfbd-purchase small {
    color: var(--jfbd-muted);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jfbd-purchase strong {
    margin-top: 3px;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 400;
}

.jfbd-purchase button {
    min-height: 58px;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    border: 1px solid var(--jfbd-ink);
    background: var(--jfbd-ink);
    cursor: pointer;
    font-size: 12px;
}

.jfbd-purchase button:disabled {
    color: #99938b;
    border-color: #ddd9d2;
    background: #eeece8;
    cursor: not-allowed;
}

.jfbd-purchase button.is-loading span {
    opacity: .5;
}

.jfbd-purchase-note {
    margin: 13px 0 0;
    color: #8d867d;
    font-size: 10px;
}

.jfbd-lightbox {
    width: min(95vw, 1400px);
    height: min(92vh, 950px);
    padding: 52px 26px 20px;
    color: #fff;
    border: 0;
    background: #111;
}

.jfbd-lightbox::backdrop {
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(4px);
}

.jfbd-lightbox > button {
    position: absolute;
    right: 17px;
    top: 10px;
    color: #fff;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 31px;
    font-weight: 200;
}

.jfbd-lightbox-stage {
    height: calc(100% - 35px);
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: zoom-in;
}

.jfbd-lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
    transform-origin: center;
    transition: transform .12s ease-out;
}

.jfbd-lightbox p {
    margin: 8px 0 0;
    color: #aaa;
    font-size: 10px;
    letter-spacing: .05em;
    text-align: center;
}

.jfbd-toast {
    position: fixed;
    z-index: 999999;
    left: 50%;
    bottom: 26px;
    max-width: min(90vw, 600px);
    padding: 13px 18px;
    color: #fff;
    background: var(--jfbd-ink);
    box-shadow: 0 16px 50px rgba(0,0,0,.2);
    opacity: 0;
    transform: translate(-50%, 18px);
    pointer-events: none;
    transition: .25s ease;
    font-size: 12px;
}

.jfbd-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.jfbd-toast.is-error {
    background: #6c2525;
}

.jfbd-unavailable {
    max-width: 760px;
    margin: 80px auto;
    padding: 30px;
    text-align: center;
    border: 1px solid #ddd;
}

.jfbd-nav-link span {
    color: #a8864d;
}

@media (max-width: 1080px) {
    .jfbd-saved-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .jfbd-type-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jfbd-workspace {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 38px;
    }

    .jfbd-result-grid {
        grid-template-columns: minmax(0, 1.35fr) 340px;
    }
}

@media (max-width: 820px) {
    .jfbd-intro {
        min-height: 560px;
        grid-template-columns: 1fr;
    }

    .jfbd-intro-mark {
        position: absolute;
        right: -70px;
        width: 240px;
        opacity: .23;
    }

    .jfbd-intro-copy {
        position: relative;
        z-index: 1;
    }

    .jfbd-progress {
        padding: 0 16px;
    }

    .jfbd-saved-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jfbd-progress button {
        font-size: 9px;
        letter-spacing: .03em;
    }

    .jfbd-workspace {
        padding: 54px 20px 85px;
        grid-template-columns: 1fr;
    }

    .jfbd-brief {
        position: static;
        grid-row: 1;
    }

    .jfbd-result-grid {
        grid-template-columns: 1fr;
    }

    .jfbd-result-details {
        max-width: 620px;
    }
}

@media (max-width: 560px) {
    .jfbd-intro {
        min-height: 520px;
        padding: 72px 20px;
    }

    .jfbd-intro h1 {
        font-size: 58px;
    }

    .jfbd-intro-notes {
        gap: 10px 18px;
    }

    .jfbd-progress {
        overflow-x: auto;
        grid-template-columns: repeat(5, minmax(72px, 1fr));
    }

    .jfbd-saved {
        padding: 55px 18px;
    }

    .jfbd-saved-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .jfbd-saved-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jfbd-progress button::after {
        display: none;
    }

    .jfbd-workspace {
        padding-top: 42px;
    }

    .jfbd-panel-heading {
        gap: 13px;
    }

    .jfbd-panel-heading h2 {
        font-size: 42px;
    }

    .jfbd-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jfbd-type-card {
        min-height: 124px;
    }

    .jfbd-fields,
    .jfbd-review {
        grid-template-columns: 1fr;
    }

    .jfbd-review {
        padding: 23px;
        gap: 22px;
    }

    .jfbd-review-note {
        grid-column: auto;
    }

    .jfbd-swatch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jfbd-step-actions {
        gap: 15px;
    }

    .jfbd-next,
    .jfbd-render-button {
        min-width: 0;
    }

    .jfbd-result {
        padding: 65px 18px;
    }

    .jfbd-result-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .jfbd-result-media > img {
        min-height: 250px;
    }

    .jfbd-purchase {
        grid-template-columns: 1fr;
    }

    .jfbd-login-gate {
        margin: 60px 18px;
        padding: 48px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jfbd-studio *,
    .jfbd-studio *::before,
    .jfbd-studio *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
