.ag-mix {
    --mix-green: #10482f;
    --mix-cream: #f0f3e8;
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(240px,1fr);
    gap: clamp(16px,3.2vw,38px);
    align-items: start;
    margin: 16px 0 42px;
}

.ag-mix fieldset {
    min-width: 0;
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid #d7dfd1;
    border-radius: 18px;
    background: #fff;
}

.ag-mix legend {
    font-size: clamp(1.08rem,2vw,1.35rem);
    font-weight: 800;
    color: var(--mix-green);
    padding: 0 10px;
}

.ag-fruits,.ag-formats {
    display: grid;
    gap: 9px;
}

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

.ag-formats {
    grid-template-columns: repeat(auto-fit,minmax(110px,1fr));
}

.ag-choice {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 8px;
    border: 1px solid #d7dfd1;
    border-radius: 11px;
    min-height: 48px;
    word-break: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
    font-weight: 650;
}

.ag-choice input {
    flex: none;
    accent-color: var(--mix-green);
    margin: 0;
    width: 16px;
    height: 16px;
}

.ag-choice small {
    display: block;
    font-weight: 600;
}

.ag-choice:has(input:checked) {
    background: var(--mix-cream);
    border-color: var(--mix-green);
}

.ag-choice:has(input:disabled) {
    opacity: .55;
    cursor: default;
}

.ag-mix-summary {
    position: sticky;
    top: 42px;
    border-radius: 22px;
    background: var(--mix-green);
    color: #fff;
    padding: clamp(16px,3vw,28px);
    font-size: 1.04rem;
}

.ag-mix-summary p {
    margin: 0 0 7px;
}

.ag-mix-summary .ag-mix-label {
    font-size: 1.55rem;
    font-weight: 830;
}

.ag-mix-summary .ag-summary-price {
    font-size: 1.9rem;
    font-weight: 850;
    margin: 10px 0;
    color: #ffda5a;
}

.ag-mix-summary button {
    display: block;
    background: #ffda5a;
    color: #143622;
    padding: .8em 1.1em;
    border: 0;
    border-radius: 24px;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    width: 100%;
}

.ag-mix-summary .ag-mix-feedback:not(:empty) {
    font-size: .9rem;
    margin-top: 10px;
}

@media (max-width: 800px) {
    .ag-mix {
        grid-template-columns: 1fr;
    }
    .ag-mix-summary {
        position: static;
    }
}

@media (max-width: 480px) {
    .ag-fruits {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .ag-mix fieldset {
        padding: 12px;
    }
}
