.ai-picker,
.ai-picker * {
    box-sizing: border-box;
}

.ai-picker {
    width: 100%;
    max-width: none;
    margin: clamp(42px, 6vw, 78px) auto;
    color: #111;
}

.ai-picker__inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
    border: 1.5px solid #111;
    background: #fff;
    padding: clamp(22px, 4vw, 46px);
}

.ai-picker__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-picker__kicker {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    opacity: .62;
}

.ai-picker__title {
    margin: 0;
    max-width: 620px;
    font-family: var(--font-display, "Bodoni Moda", serif);
    font-size: clamp(42px, 5.4vw, 76px);
    line-height: .9;
    font-weight: 500;
    letter-spacing: -.07em;
}

.ai-picker__text {
    max-width: 560px;
    margin: clamp(18px, 2vw, 26px) 0 0;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.7;
    color: rgba(17, 17, 17, .68);
}

.ai-picker__form {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-picker__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ai-picker__textarea {
    width: 100%;
    min-height: 148px;
    resize: vertical;
    border: 1.5px solid #111;
    background: #fff;
    padding: 16px 18px;
    font: inherit;
    font-size: 15px;
    line-height: 1.55;
    color: #111;
    outline: none;
}

.ai-picker__textarea:focus {
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .08);
}


.ai-picker .cf-turnstile {
    min-height: 65px;
}

.ai-picker__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ai-picker__limit {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(17, 17, 17, .62);
}

.ai-picker__button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.5px solid #111;
    background: #111;
    color: #fff;
    padding: 0 22px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.ai-picker__button:hover:not(:disabled) {
    background: #fff;
    color: #111;
}

.ai-picker__button:disabled {
    cursor: default;
    opacity: .7;
}

.ai-picker__spinner {
    width: 15px;
    height: 15px;
    display: none;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: aiPickerSpin .65s linear infinite;
}

.ai-picker__form.is-loading .ai-picker__spinner {
    display: block;
}

.ai-picker__error {
    margin: 2px 0 0;
    color: #b00020;
    font-size: 13px;
    line-height: 1.45;
}

.ai-picker__result {
    margin-top: clamp(22px, 3vw, 34px);
}

.ai-picker-result {
    border: 1.5px solid #111;
    padding: clamp(20px, 3vw, 34px);
    background: #fff;
}

.ai-picker-result__head {
    max-width: 760px;
    margin-bottom: 24px;
}

.ai-picker-result__title {
    margin: 0 0 8px;
    font-family: var(--font-display, "Bodoni Moda", serif);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.055em;
}

.ai-picker-result__message,
.ai-picker-result__empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(17, 17, 17, .68);
}

.ai-picker-result__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 26px);
}

.ai-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #111;
}

.ai-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 4.65;
    overflow: hidden;
    background: #fff;
    color: #111;
    text-decoration: none;
    isolation: isolate;
}

.ai-product-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    pointer-events: none;
}

.ai-product-card__media img,
.ai-product-card__placeholder {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}

.ai-product-card__media img {
    object-fit: cover;
    object-position: center;
    padding: 0;
    background: #fff;
    transition: transform .35s ease;
}

.ai-product-card:hover .ai-product-card__media img {
    transform: scale(1.025);
}

.ai-product-card__placeholder {
    display: grid;
    place-items: center;
    font-size: 12px;
    opacity: .5;
}

.ai-product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 22px 24px 24px;
}

.ai-product-card__brand {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .58;
}

.ai-product-card__name {
    margin: 0;
    font-family: var(--font-display, "Bodoni Moda", serif);
    font-size: clamp(24px, 2.25vw, 31px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.05em;
}

.ai-product-card__name a {
    color: inherit;
    text-decoration: none;
}

.ai-product-card__meta {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(17, 17, 17, .58);
}

.ai-product-card__reason {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(17, 17, 17, .72);
}

.ai-product-card__price {
    margin-top: auto;
    padding-top: 18px;
    font-size: 15px;
    font-weight: 800;
}

@keyframes aiPickerSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 860px) {
    .ai-picker__inner {
        grid-template-columns: 1fr;
    }

    .ai-picker-result__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .ai-picker {
        width: 100%;
        max-width: none;
        margin: 34px auto;
    }

    .ai-picker__inner,
    .ai-picker-result {
        padding: 18px;
    }

    
.ai-picker .cf-turnstile {
    min-height: 65px;
}

.ai-picker__bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-picker__button {
        width: 100%;
    }

    .ai-picker-result__grid {
        grid-template-columns: 1fr;
    }
}