.jf-ai-page-shell {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    background: #fff;
}

.jf-ai-page-shell,
.jf-ai-page-shell * {
    box-sizing: border-box;
}

.jf-ai-page-content {
    width: 100%;
    min-height: calc(100vh - 82px);
    background: #fff;
}

.jf-ai-page-shell .flbp-main-nav a.is-current {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .8), 0 0 0 4px rgba(44, 25, 55, .16);
}

.afvt-page-studio {
    min-height: calc(100vh - 82px);
    padding: clamp(42px, 6vw, 88px) max(18px, calc((100vw - 1280px) / 2));
    background:
        radial-gradient(circle at 90% 8%, rgba(155, 119, 64, .11), transparent 32%),
        linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
    color: #161513;
    font-family: Manrope, Arial, sans-serif;
}

.afvt-page-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin: 0 0 34px;
}

.afvt-page-hero span,
.afvt-product-picker-head span {
    color: #9b7740;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.afvt-page-hero h1,
.afvt-product-picker-head h1 {
    margin: 10px 0 12px;
    font: 400 clamp(44px, 6vw, 84px)/.98 Italiana, Georgia, serif;
}

.afvt-page-hero p,
.afvt-product-picker-head p {
    max-width: 660px;
    margin: 0;
    color: #756f67;
    font-size: 14px;
    line-height: 1.7;
}

.afvt-page-back {
    flex: 0 0 auto;
    color: #161513;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.afvt-page-modal.afvt-modal {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    border: 1px solid #e4e0d9;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(38, 31, 24, .08);
}

.afvt-page-modal .afvt-close {
    display: none;
}

.afvt-product-picker {
    min-height: calc(100vh - 82px);
    padding: clamp(52px, 7vw, 100px) max(18px, calc((100vw - 1280px) / 2));
    background: #fff;
}

.afvt-product-picker-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.afvt-product-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 24px);
}

.afvt-product-choice {
    display: grid;
    gap: 12px;
    color: #161513;
    text-decoration: none;
}

.afvt-product-choice img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 2px;
    background: #f4f2ed;
    object-fit: cover;
    transition: transform .28s ease;
}

.afvt-product-choice:hover img {
    transform: translateY(-4px);
}

.afvt-product-choice strong {
    font: 400 19px/1.2 Italiana, Georgia, serif;
}

.afvt-product-choice small {
    margin-top: -7px;
    color: #756f67;
    font-size: 10px;
}

@media (max-width: 900px) {
    .afvt-product-picker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .jf-ai-page-content {
        min-height: calc(100vh - 64px);
    }

    .afvt-page-studio,
    .afvt-product-picker {
        min-height: calc(100vh - 64px);
        padding: 34px 15px 52px;
    }

    .afvt-page-hero {
        display: block;
        margin-bottom: 24px;
    }

    .afvt-page-hero h1,
    .afvt-product-picker-head h1 {
        font-size: 44px;
    }

    .afvt-page-back {
        display: inline-block;
        margin-top: 18px;
    }

    .afvt-page-modal.afvt-modal {
        inset: auto;
        transform: none;
        max-height: none;
        padding: 20px 14px 26px;
        border-radius: 20px;
    }

    .afvt-product-picker-grid {
        gap: 18px 10px;
    }

    .afvt-product-choice {
        gap: 8px;
    }

    .afvt-product-choice img {
        border-radius: 0;
    }

    .afvt-product-choice strong {
        font-size: 16px;
    }
}
